* {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
  font-family: system-ui, sans-serif !important;
}

body {
  font-family: system-ui, sans-serif;
}

a {
	color: #e94b3c;
}

.blogpost__header {
	font-weight: normal;
	font-size: 1.5rem;
	padding-bottom: 0.5rem;
}

.blogpost__header a {
	text-decoration: none;
}

/* Get rid of stupid inline css whiteout that appears on some posts */
.feedburnerFeedBlock * {
	background-color: transparent !important;
}

.feedburnerFeedBlock img {
	margin: 1.5rem 0 !important;
}

/* 2024 */
.feedburnerFeedBlock div a img {
	height: auto !important;
	max-width: 100% !important;
}
.feedburnerFeedBlock div a {
	margin-left: initial !important;
	margin-right: initial !important;
}

img[src="https://1.bp.blogspot.com/-dwqA_3y3_40/XdrKInEgZ4I/AAAAAAAAFb0/a0cjoxNG6EInT6ETe7PMqrbvOSK-A44zACKgBGAsYHg/s640/Kokkolan%2BKipin%25C3%25A4%2B2020%2Blogo.jpg"]
{
	width: 50% !important;
}

#Tekstiruutu_x0020_1 {
	display: none !important;
}

.content__body-linkit .feedburnerFeedBlock .headline,
.content__body-linkit .feedburnerFeedBlock .date,
.content__body-ohjeet .feedburnerFeedBlock .headline,
.content__body-ohjeet .feedburnerFeedBlock .date,
.content__body-yhteystiedot .feedburnerFeedBlock .headline,
.content__body-yhteystiedot .feedburnerFeedBlock .date {
	display: none;
}

.content {
	margin: 0 auto;
	margin-top: 5em;
	width: 60%;
}
@media screen and (max-width: 1100px) {
	.content {
		width: 80%;
	}
}
@media screen and (max-width: 840px) {
	.content {
		width: 98%;
	}
}
.content__header {
	padding: 0.5em;
	background-color: rgba(0, 0, 0, 0.8);
	color: #e94b3c;
	font-size: 2em;
	font-weight: 800;
  text-transform:uppercase;
}
.content__body {
	font-weight: 400;
	background-color: rgba(255, 255, 255, 0.932);
	height: fit-content;
	width: 100%;
	padding: 2em 2.5em;
}
@media screen and (max-width: 840px) {
	.content__body {
		padding: 1.5em 1.625em;
	}
}
.content__body-gallery {
	height: 50vmin;
	width: 100%;
}
.content__body-image {
	display: block;
	margin: 0 auto;
	text-align: center;
	width: 80%;
	height: auto;
	padding: 1em;
}
.content__body-video {
	display: block;
	margin: 0 auto;
	width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  padding: 1rem 0;
}
.content__body-h3 {
	font-size: 1.6em;
	font-weight: 500;
	padding: 0.3em;
	padding-left: 0;
	line-height: 1.5em;
}
.content__body-p {
	padding: 0.5em;
	padding-left: 0;
}
.content__body-load-more {
  text-align: center;
  font-weight: bold;
  font-size: 1.5rem;
  text-transform: uppercase;
  background-color: #e94b3c;
  border-radius: 2rem;
  margin: 1.5rem auto;
  width: fit-content;
  padding: .75rem 3rem;
}
.content__body-load-more a {
  color: white;
  text-decoration: none;
}
.content__body-ul {
	margin-left: 2em;
	padding: 0.5em;
	padding-left: 0;
}
.content__body-ul li {
	list-style: square outside !important;
}
.content__body-address {
	padding: 0.5em;
}

.content__body-yhteystiedot {
	height: 100%;
}
.content__body-yhteystiedot-content {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	justify-content: center;
	height: fit-content;
	width: 100%;
}
@media screen and (max-width: 840px) {
	.content__body-yhteystiedot-content {
		flex-direction: column;
	}
}
.content__body-yhteystiedot-kartta {
	margin: 2em;
	height: 300px;
	width: 50%;
	border: 0.1em solid #2d2926;
}
@media screen and (max-width: 840px) {
	.content__body-yhteystiedot-kartta {
		margin: 2em auto;
		width: 80%;
	}
}
.content__body-yhteystiedot-addresses {
	flex: 1;
}

.content__body-ohjeet-lukkari {
	width: 100%;
	padding: 1em 0;
}

.content__body-tulokset {
	padding-bottom: 0;
}

.content-container > :first-child {
	margin-top: 0;
}

.nav {
	z-index: 2;
	display: flex;
	flex-direction: row;
	position: fixed;
	top: 0;
	width: 100vw;
	align-items: center;
	justify-content: center;
	background-color: #000;
	flex-wrap: wrap;
}
@media screen and (max-width: 1000px) {
	.nav {
		flex-direction: column;
	}
}
/* Mobile landscape -> un-sticky nav bar */
@media screen and (max-height: 576px) {
  .nav {
    position: static;
  }
}
.nav__head {
	cursor: pointer;
	height: fit-content;
}
@media screen and (max-width: 1000px) {
	.nav__head {
		width: 100%;
		display: flex;
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}
}
.nav__hamburger {
	user-select: none;
	display: none;
}
@media screen and (max-width: 1000px) {
	.nav__hamburger {
		cursor: pointer;
		display: block;
    width: 2.3rem;
    height: 2.3rem;
		margin: .8rem 2rem;
	}
}
.nav__hamburger img {
  filter: invert();
  width: 100%;
  height: 100%;
}
.nav__logo {
	user-select: none;
	margin: 0.5rem 0.9rem;
	height: 2.5rem;
	width: auto;
}
@media screen and (max-width: 1000px) {
	.nav__logo {
		margin: 0.5rem 2rem;
	}
}
.nav__menu {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	width: fit-content;
	height: fit-content;
}
@media screen and (max-width: 1000px) {
	.nav__menu {
		flex-direction: column;
		height: fit-content;
		width: 100%;
		display: none;
	}
}
.nav__menu--visible {
	display: flex;
}
.nav__menu-item {
	cursor: pointer;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 100%;
	list-style: none;
	padding: 1rem;
	text-align: center;
}
@media screen and (max-width: 1100px) {
	.nav__menu-item {
		padding: 0.7rem;
	}
}
@media screen and (max-width: 1000px) {
	.nav__menu-item {
		width: 100%;
	}
}
@media screen and (max-width: 840px) and (orientation: landscape) {
	.nav__menu-item {
		padding: 0.3rem;
	}
}
.nav__menu-item:hover {
	background-color: rgba(255, 255, 255, 0.05);
}
.nav__menu-item:hover a {
	color: #e94b3c;
}
.nav__menu-item-link {
	font-size: 1.15rem;
	color: #ffffff;
	font-weight: 700;
	text-decoration: none;
}
@media screen and (max-width: 1200px) {
	.nav__menu-item-link {
		font-size: 1.1rem;
	}
}
@media screen and (max-width: 1100px) {
	.nav__menu-item-link {
		font-size: 1.1rem;
	}
}
@media screen and (max-width: 1000px) {
	.nav__menu-item-link {
		font-size: 1rem;
	}
}
.nav__menu-item-link-img {
	margin-top: 0.35rem;
	height: 2rem;
	width: auto;
}
.nav__menu-socialmedia {
	height: 120%;
	display: none;
  padding-bottom: 2rem;
}
.nav__menu-socialmedia:hover {
  background-color: inherit;
  cursor:auto;
}
@media screen and (max-width: 1000px) {
	.nav__menu-socialmedia {
		display: flex;
		flex-flow: row nowrap;
		align-items: center;
		justify-content: center;
	}
	.nav__menu-socialmedia .nav__menu-item-link-img {
		flex: 1 1 auto;
		margin: 0 0.5em;
	}
}

.intro {
	width: 100%;
	height: 95vh;
	margin-top: 5vh;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
}
.intro__video {
	width: 70.8vh;
	height: 40vh;
}
@media screen and (max-width: 840px) {
	.intro__video {
		width: 80vw;
		height: 47vw;
	}
}
@media screen and (max-width: 840px) and (orientation: landscape) {
	.intro__video {
		margin-top: 20vh;
		width: 80vh;
		height: 47vh;
	}
}
.intro__logo {
	height: min(50vh, 80vw);
  width: auto;
	/* max-width: 100%; */
	padding: 1.5vmin;
}
.intro__text {
	padding: 1.5vmin;
	color: #ffffff;
	text-align: center;
	height: fit-content;
}
.intro__text-head {
	font-size: 5rem;
  line-height: 4rem;
  margin-bottom: 1rem;
  letter-spacing: .05rem;
}
@media screen and (max-width: 840px) {
	.intro__text-head {
		font-size: 4rem;
	}
}
.intro__text-body {
	font-size: 1.6rem;
	font-style: italic;
}
@media screen and (max-width: 840px) {
	.intro__text-body {
		font-size: 1.2rem;
	}
}

.social-media {
	display: flex;
	flex-flow: column nowrap;
	align-items: center;
	justify-items: center;
	position: fixed;
	right: 1rem;
	top: 10%;
	width: 2.5rem;
	height: 12rem;
}
.social-media__link {
	flex: 1 1 auto;
	transition: transform 0.2s;
}
.social-media__link:nth-of-type(even):hover {
	transform: rotate(15deg);
}
.social-media__link:nth-of-type(odd):hover {
	transform: rotate(-15deg);
}
.social-media__icon {
	width: 100%;
	height: auto;
}
@media screen and (max-width: 1000px) {
	.social-media {
		display: none;
	}
}

.sponsors {
	margin-top: 2rem;
	width: 100%;
	display: flex;
	flex-flow: row wrap;
	justify-content: flex-start;
	align-items: center;
}
.sponsors__link {
	text-align: center;
	height: 100%;
  width: auto;
  padding: .5rem;
}
.sponsors__image {
	max-height: 5rem;
  max-width: 100%;
  width: auto;
}

.kuvat .content__body {
	padding: 0;
	background-color: #2d2926;
}

.gallery {
	width: 100%;
	height: 100%;
	text-align: center;
	position: relative;
}
.gallery:hover .gallery__icon {
	transform: scale(1.1);
}
.gallery:hover .gallery__title {
	text-decoration: underline;
}
.gallery:hover .gallery__background {
	filter: blur(4px) saturate(30%) brightness(70%);
}

.gallery__icon {
	transition: transform 0.2s;
	height: 25%;
	position: relative;
	z-index: 1;
	filter: invert(100%);
	margin: 0.5rem;
}

.gallery__link {
	text-decoration: none;
}

.gallery__content {
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	display: flex;
	flex-flow: column nowrap;
	align-items: center;
	justify-content: center;
}

.gallery__title {
	transition: 0.2s;
	position: relative;
	z-index: 1;
	font-family: inherit;
	font-size: 1.4rem;
	color: white;
	margin: 0.5rem;
	user-select: none;
}

.gallery__background {
	transition: filter 0.2s;
	z-index: 0;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: url("../images/painikuva.jpg");
	filter: blur(6px) saturate(20%) brightness(70%);
	background-size: cover;
	background-position: center;
}

#background {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  background-image: url("../images/painikuva_molski_xsmall.jpg");
  filter: blur(2px);
  box-shadow: 0 0 17rem 5rem inset;
  background-size: cover;
  background-position: center center;
}
@media (min-width:576px) {
  #background {
    background-image: url("../images/painikuva_molski_small.jpg");
  }
}
@media (min-width:768px) {
  #background {
    background-image: url("../images/painikuva_molski_medium.jpg");
  }
}
@media (min-width:992px) {
  #background {
    background-image: url("../images/painikuva_molski_large.jpg");
  }
}
@media (min-width:1200px) {
  #background {
    background-image: url("../images/painikuva_molski_max.jpg");
  }
}

.post-date {
  font-style: italic;
  position: relative;
  top: -.2rem;
  display: block;
  padding-bottom: .8rem;
  color: rgba(0, 0, 0, 0.8);
}

body {
	background-color: #2d2926;
	font-size: 1rem;
}

