/* Vanhat selaimet: hidden-attribuutti ja template-elementti piiloon myös ilman selaimen omaa tukea */
.tk [hidden],
.tk template {
	display: none !important;
}
/* ==========================================================================
   TYÖPAIKKAKARTTA (tyopaikkakartta/kartta.php)
   Ei ulkoisia palveluja: Suomen kartta on SVG ja logot tulevat omasta datasta.
   ========================================================================== */
.tk {
	padding: 40px 0 56px;
	background-color: #ffffff;
}
/* Hakukoneesta tultaessa (#tyopaikat) otsikko jää kiinteän yläpalkin alle näkyviin */
#tyopaikat {
	scroll-margin-top: 100px;
}

/* Iso kartta keskellä, otsikko vasemmassa yläkulmassa meren päällä */
.tk-kartta {
	position: relative;
}
.tk-yla {
	/* Leveällä näytöllä kartan oikealla puolella. Pysyy näkyvissä yläpalkin alla, kun karttaa vieritetään. */
	position: relative; /* IE11 */
	position: -webkit-sticky;
	position: sticky;
	top: 130px;
	z-index: 2;
	-ms-flex: 0 0 270px;
	flex: 0 0 270px;
	width: 270px;
	margin-left: 30px;
	padding: 18px 20px 20px;
	border-radius: 18px;
	background-color: #ffffff;
	background-color: rgba(255, 255, 255, .94);
	box-shadow: 0 4px 16px rgba(51, 51, 51, .12);
	pointer-events: none;
}
.tk #tk-otsikko {
	display: block;
	margin: 0 0 10px;
	padding-bottom: 0;
	color: #02a682;
	font-size: 23px !important; /* sivuston h2 on 25-30px: paneeliin pienempi, jotta "Uramahdollisuuksia" mahtuu */
	line-height: 1.2;
}
.tk-maara {
	font-size: 18px;
	line-height: 1.45;
	margin: 0 0 8px;
	color: #333333;
}
.tk-maara strong {
	color: #02a682;
	font-weight: 900;
}
.tk-ohje {
	margin: 0;
	color: #333333;
	font-size: 15px;
	line-height: 1.55;
}
/* Tarkempi profiili -valikko */
.tk-suodatin {
	margin-top: 18px;
	pointer-events: auto;
}
.tk-suodatin label {
	display: block;
	margin: 0 0 6px;
	color: #333333;
	font-size: 15px;
	font-weight: 800;
}
.tk-suodatin select {
	display: block;
	width: 100%;
	max-width: 290px;
	height: 44px;
	padding: 0 12px;
	border: 2px solid #0bc08f;
	border-radius: 10px;
	background-color: #ffffff;
	color: #333333;
	font-family: "Mulish", Arial, sans-serif;
	font-size: 15px;
	cursor: pointer;
}
.tk-suodatin select:focus {
	outline: 3px solid #ffcc56;
	outline-offset: 1px;
}
.tk-alue {
	/* Leveällä näytöllä kartta ja suodatinlaatikko vierekkäin, ryhmänä keskellä:
	   kartta vasemmalla, laatikko oikealla (HTML:ssä laatikko on ensin, jotta puhelimessa se on kartan yläpuolella) */
	position: relative;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-direction: row-reverse;
	flex-direction: row-reverse;
	-ms-flex-pack: center;
	justify-content: center;
	-ms-flex-align: start;
	align-items: flex-start;
}
.tk-pohja {
	/* Kartta ja suurennusnapit; napit kartan oikeaan yläkulmaan */
	position: relative;
	-ms-flex: 0 1 auto;
	flex: 0 1 auto;
	min-width: 0;
	max-width: calc(100% - 300px);
}
.tk-svg {
	display: block;
	touch-action: pan-y; /* sivu vierii pystyyn, nipistys on kartan oma */
	-ms-touch-action: pan-y;
	/* Kartta 2 x näkyvä alue yläpalkin alapuolella (näkymän koko ratkaisee, ei selaimen).
	   Leveys tulee kartan mittasuhteista, enintään sisältöalueen levyinen.
	   Suuremmaksi tai pienemmäksi: muuta kerrointa 2. */
	height: calc((100vh - 110px) * 2); /* IE11 */
	width: auto;
	max-width: 100%;
	margin: 0 auto;
	overflow: hidden;
}
.tk-maa,
.tk-rajat {
	vector-effect: non-scaling-stroke; /* viivat pysyvät ohuina suurennettaessa */
}
.tk-maa {
	fill: #0bc08f;
	fill-opacity: 0.2;
	stroke: #0bc08f;
	stroke-width: 0.8;
	stroke-opacity: 0.6;
	stroke-linejoin: round;
}
/* Hyvinvointialueiden rajat */
.tk-rajat {
	fill: none;
	stroke: #ffffff;
	stroke-width: 1.3;
	stroke-linejoin: round;
	stroke-linecap: round;
	pointer-events: none;
}

/* Logot */
/* Isäntä-CSS värittää linkit (a:link) keltaisiksi: logon väri annetaan tarkemmalla valitsimella */
.tk .tk-piste,
.tk .tk-piste:link,
.tk .tk-piste:visited {
	cursor: pointer;
	outline: none;
	color: #02a682;
}
.tk-osuma {
	fill: transparent;
}
/* Valkoinen pallo logon alla: kapea valkoinen reunus logon ympärillä (kuten karttapalveluiden merkeissä) */
.tk-logo-pohja {
	fill: #ffffff;
}
/* Pieni varjo valkoisen pallon alla: kaksi hieman alemmas siirrettyä läpikuultavaa ympyrää
   (toimii kaikissa selaimissa, myös IE11:ssä, toisin kuin SVG-suodattimet) */
.tk-logo-varjo {
	fill: #333333;
}
.tk-logo-sydan {
	fill: currentColor;
	stroke: #ffffff;
	stroke-width: 1.4;
	stroke-linejoin: round;
	transition: fill .12s ease;
}
.tk-logo-stetoskooppi {
	fill: none;
	stroke: #ffffff;
	stroke-width: 1.3;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.tk-piste use {
	transition: transform .12s ease;
}
/* Isäntä-CSS:ssä a:hover { color: #e2e2e2 !important }, joten tässä tarvitaan !important */
.tk .tk-piste:hover,
.tk .tk-piste.is-active {
	color: #ffcc56 !important;
}
/* Erillinen sääntö: vanhat selaimet eivät tunne :focus-visible-valitsinta */
.tk .tk-piste:focus-visible {
	color: #ffcc56 !important;
}
.tk-piste:hover use,
.tk-piste.is-active use {
	transform: scale(1.18);
}
/* Erillinen sääntö: vanhat selaimet eivät tunne :focus-visible-valitsinta */
.tk-piste:focus-visible .tk-osuma {
	fill: none;
	stroke: #333333;
	stroke-width: 1.5;
}
.tk-maara-pohja {
	fill: #ffcc56;
	stroke: #ffffff;
	stroke-width: 1.2;
}
.tk-piste:hover .tk-maara-pohja,
.tk-piste.is-active .tk-maara-pohja {
	fill: #02a682;
}
.tk-maara-luku {
	font-family: "Mulish", Arial, sans-serif;
	font-size: 6.4px;
	font-weight: 900;
	fill: #333333;
	text-anchor: middle;
	pointer-events: none;
}
.tk-piste:hover .tk-maara-luku,
.tk-piste.is-active .tk-maara-luku {
	fill: #ffffff;
}

/* Tietokupla logon vieressä (paikka asetetaan skriptillä) */
.tk-kortti {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 5;
	width: 380px;
	max-width: 46vw;
	background-color: #ffffff;
	border: 2px solid #0bc08f;
	border-radius: 18px;
	/* Sama varjo kuin sivun otsikkopalkissa (index.php: #myHeader box-shadow 0 0 5px rgba(0,0,0,.9)),
	   siirrettynä niin, että se näkyy vain oikealla ja alhaalla: siirto 3px = sumennus 5px + levitys -2px */
	box-shadow: 3px 3px 5px -2px rgba(0, 0, 0, .45); /* 50 % vaaleampi kuin palkin .9 */
}
.tk-kortti.is-open {
	display: block;
}
/* Avautuminen: kupla kasvaa sydämestä täyteen kokoonsa (jQuery lisää luokan tk-avautuu hetkeksi).
   Kasvu alkaa nuolen kärjestä eli sydämen vierestä; keskelle avautuva kupla kasvaa yläreunastaan. */
@-webkit-keyframes tk-kasvaa {
	from { -webkit-transform: scale(.12); opacity: 0; }
	to { -webkit-transform: scale(1); opacity: 1; }
}
@keyframes tk-kasvaa {
	from { transform: scale(.12); opacity: 0; }
	to { transform: scale(1); opacity: 1; }
}
@-webkit-keyframes tk-nousee {
	from { -webkit-transform: translateY(100%); }
	to { -webkit-transform: translateY(0); }
}
@keyframes tk-nousee {
	from { transform: translateY(100%); }
	to { transform: translateY(0); }
}
.tk-kortti.tk-avautuu {
	-webkit-animation: tk-kasvaa .42s cubic-bezier(.2, .9, .3, 1.12);
	animation: tk-kasvaa .42s cubic-bezier(.2, .9, .3, 1.12);
}
@media (min-width: 768px) {
	.tk-kortti {
		-webkit-transform-origin: -12px 40px;
		-ms-transform-origin: -12px 40px;
		transform-origin: -12px 40px;
		transform-origin: -12px var(--tk-nuoli, 40px); /* nuolen kärki; vanhat selaimet: 40px */
	}
	.tk-kortti.tk-vasemmalle {
		-webkit-transform-origin: 100% 40px;
		-ms-transform-origin: 100% 40px;
		transform-origin: 100% 40px;
		transform-origin: calc(100% + 12px) var(--tk-nuoli, 40px);
	}
	.tk-kortti.tk-keskella {
		-webkit-transform-origin: 50% 0;
		-ms-transform-origin: 50% 0;
		transform-origin: 50% 0;
	}
}
/* Puhelimessa kupla nousee alareunasta */
@media (max-width: 767px) {
	.tk-kortti.tk-avautuu {
		-webkit-animation: tk-nousee .32s ease-out;
		animation: tk-nousee .32s ease-out;
	}
}
@media (prefers-reduced-motion: reduce) {
	.tk-kortti.tk-avautuu { -webkit-animation: none; animation: none; }
}
.tk-kahva {
	display: none; /* vain puhelimessa */
}
.tk-kortti-sisalto {
	max-height: 520px;
	overflow-y: auto;
	padding: 22px 24px 20px;
	border-radius: 16px;
}
/* Kuplan nuoli osoittaa logoon */
.tk-kortti::before {
	content: "";
	position: absolute;
	top: 40px; /* IE11 */
	top: var(--tk-nuoli, 40px);
	left: -9px;
	width: 16px;
	height: 16px;
	margin-top: -8px;
	background-color: #ffffff;
	border-left: 2px solid #0bc08f;
	border-bottom: 2px solid #0bc08f;
	transform: rotate(45deg);
}
.tk-kortti.tk-vasemmalle::before {
	left: auto;
	right: -9px;
	transform: rotate(-135deg);
}
.tk-kortti.tk-ei-nuolta::before,
.tk-kortti.tk-keskella::before {
	display: none;
}
.tk-sulje {
	position: absolute;
	top: 6px;
	right: 8px;
	width: 36px;
	height: 36px;
	border: 0;
	background: transparent;
	color: #02a682;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
}
.tk-sulje:hover {
	color: #333333;
}
/* Google Maps -linkki toimipaikan nimen alla */
.tk .tk-google,
.tk .tk-google:link,
.tk .tk-google:visited {
	display: inline-block;
	margin: 0 0 6px;
	color: #02a682 !important;
	font-size: 13px;
	font-weight: 700;
	text-decoration: underline !important;
	text-underline-offset: 3px;
}
.tk .tk-google:hover {
	color: #333333 !important;
}
/* Erillinen sääntö: vanhat selaimet eivät tunne :focus-visible-valitsinta */
.tk .tk-google:focus-visible {
	color: #333333 !important;
}
.tk-asiakas {
	display: block;
	margin: 0 0 4px;
	padding: 0 32px 0 0;
	color: #02a682;
	font-size: 20px !important;
	font-weight: 900;
	line-height: 1.25;
}
.tk-tp + .tk-tp {
	border-top: 1px solid #b9e6d6;
	margin-top: 14px;
	padding-top: 14px;
}
/* Ylläpidon pääkuva: logot ja valokuvat näkyvät kokonaan, ei rajausta */
.tk-kuva {
	margin: 4px 0 10px;
	padding: 8px;
	background: #eafff9;
	border-radius: 10px;
	text-align: center;
	line-height: 0;
}
.tk-kuva img {
	display: inline-block;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 150px;
	border-radius: 6px;
}
.tk-kuva video {
	display: block;
	width: 100%;
	height: auto;
	max-height: 200px;
	border-radius: 6px;
	background: #eafff9;
	object-fit: contain;
}
@media (max-width: 767px) {
	.tk-kuva img { max-height: 110px; }
	.tk-kuva video { max-height: 160px; }
}
.tk-tp-otsikko {
	margin: 8px 0 10px;
	padding: 0;
	color: #333333;
	font-size: 16px;
	font-weight: 800;
	line-height: 1.35;
}
.tk-tiedot {
	display: grid;
	grid-template-columns: 96px minmax(0, 1fr);
	grid-gap: 4px 12px; /* vanhemmat selaimet */
	gap: 4px 12px;
	margin: 0 0 10px;
	font-size: 14px;
	line-height: 1.5;
	color: #333333;
}
.tk-tiedot dt {
	font-weight: 800;
	float: left; /* IE11: otsikko vasemmalle, gridiä tukevissa selaimissa float ei vaikuta */
	clear: left;
	width: 96px;
}
.tk-tiedot dd {
	margin: 0 0 4px 108px;
}
@supports (display: grid) {
	.tk-tiedot dd {
		margin: 0;
	}
}
/* Työnkuva: "+ N muuta" / "Näytä vähemmän" tekstilinkin näköisenä */
.tk .tk-tk-nappi {
	display: inline;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	color: #02a682;
	font: inherit;
	font-weight: 800;
	text-decoration: underline;
	cursor: pointer;
	white-space: nowrap;
}
.tk .tk-tk-nappi:hover {
	color: #333333;
}
/* Erillinen sääntö: vanhat selaimet eivät tunne :focus-visible-valitsinta */
.tk .tk-tk-nappi:focus-visible {
	color: #333333;
	outline: 2px solid #ffcc56;
	outline-offset: 2px;
}
/* Lue lisää kuplan sisällä */
.tk .tk-lisaa-nappi,
.tk .tk-lisaa-nappi:link,
.tk .tk-lisaa-nappi:visited {
	display: inline-block;
	cursor: pointer;
	padding: 6px 16px;
	border: 2px solid #02a682;
	border-radius: 10px;
	color: #02a682 !important;
	text-decoration: none !important;
	font-size: 14px;
	font-weight: 800;
}
/* Isäntä-CSS:ssä a:hover { color: #e2e2e2 !important } */
.tk .tk-lisaa-nappi:hover {
	background-color: #ffcc56;
	border-color: #ffcc56;
	color: #333333 !important;
}
/* Erillinen sääntö: vanhat selaimet eivät tunne :focus-visible-valitsinta */
.tk .tk-lisaa-nappi:focus-visible {
	background-color: #ffcc56;
	border-color: #ffcc56;
	color: #333333 !important;
}
.tk-lisaa .tk-lisaa-kiinni,
.tk-lisaa.is-open .tk-lisaa-auki {
	display: none;
}
.tk-lisaa.is-open .tk-lisaa-kiinni {
	display: inline;
}
.tk-lisaa.is-open .tk-lisaa-nappi {
	margin-top: 10px; /* "Näytä vähemmän" avautuneen tekstin alla */
}
/* Kiinnostaako? -nappi ja rekrytoijan yhteystiedot */
.tk-kiinnostaa {
	margin-top: 10px;
}
.tk .tk-kiinnostaa-nappi {
	display: inline-block;
	cursor: pointer;
	padding: 8px 18px;
	border: 2px solid #ffcc56;
	border-radius: 10px;
	background-color: #ffcc56;
	color: #333333;
	font-family: inherit;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.3;
}
.tk .tk-kiinnostaa-nappi:hover,
.tk-kiinnostaa.is-open .tk-kiinnostaa-nappi {
	background-color: #02a682;
	border-color: #02a682;
	color: #ffffff;
}
/* Erillinen sääntö: vanhat selaimet eivät tunne :focus-visible-valitsinta */
.tk .tk-kiinnostaa-nappi:focus-visible {
	background-color: #02a682;
	border-color: #02a682;
	color: #ffffff;
}
.tk-yhteys {
	display: flex;
	align-items: center;
	margin-top: 10px;
	padding: 12px 14px;
	border-radius: 12px;
	background-color: #eafff9;
}
.tk-yhteys[hidden] {
	display: none;
}
.tk-yhteys-kuva {
	flex: 0 0 auto;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid #0bc08f;
	background-color: #ffffff;
	margin-right: 14px;
}
.tk-yhteys-tiedot {
	display: flex;
	flex-direction: column;
	min-width: 0;
	font-size: 14px;
	line-height: 1.45;
	color: #333333;
}
.tk-yhteys-otsikko {
	color: #02a682;
	font-size: 13px;
	font-weight: 800;
}
.tk-yhteys-nimi {
	font-weight: 800;
}
.tk-yhteys-linkit a,
.tk-yhteys-linkit a:link,
.tk-yhteys-linkit a:visited {
	display: block;
	color: #02a682 !important;
	font-weight: 700;
	text-decoration: underline !important;
	overflow-wrap: anywhere;
}
.tk-yhteys-linkit a:hover {
	color: #333333 !important;
}
.tk-ehdot-otsikko {
	margin: 12px 0 4px;
	padding: 0;
	color: #02a682;
	font-size: 15px;
	font-weight: 800;
}
.tk-ehdot-otsikko:first-child {
	margin-top: 0;
}
.tk-ehdot {
	font-size: 14px;
	line-height: 1.55;
	color: #333333;
}
.tk-ehdot p {
	margin: 0 0 6px;
}
.tk-ehdot ul {
	margin: 0;
	padding-left: 18px;
}
/* Useampi toimipaikka samassa logossa */
.tk-paikka + .tk-paikka {
	border-top: 2px solid #0bc08f;
	margin-top: 18px;
	padding-top: 16px;
}

/* Lista kaikista työpaikoista kartan alla (kiinni oletuksena) */
.tk-lista {
	margin-top: 28px;
	text-align: center;
}
.tk-lista summary {
	display: inline-block;
	cursor: pointer;
	font-weight: 800;
	color: #02a682;
	text-decoration: underline;
	text-underline-offset: 3px;
}
.tk-lista summary:hover {
	color: #333333;
}
.tk-lista ul {
	list-style: none;
	margin: 22px 0 0;
	padding: 0;
	text-align: left;
	columns: 3 280px;
	column-gap: 40px;
}
.tk-lista li {
	break-inside: avoid;
	padding: 8px 0;
	border-bottom: 1px solid #eafff9;
	font-size: 14px;
	line-height: 1.4;
}
.tk-lista a {
	display: block;
	color: #02a682 !important;
	font-weight: 800;
	text-decoration: underline;
	text-underline-offset: 3px;
}
.tk-lista a:hover {
	color: #333333 !important;
}
.tk-lista span {
	color: #333333;
}

/* Kapeampi näyttö: otsikko kartan yläpuolelle */
@media (max-width: 991px) {
	.tk-alue {
		display: block;
	}
	.tk-pohja {
		max-width: none;
	}
	.tk-yla {
		position: static;
		width: auto;
		max-width: none;
		margin: 0 0 18px;
		padding: 0;
		background: none;
		box-shadow: none;
	}
	.tk-kortti {
		width: 340px;
	}
}

/* Kartta skaalautuu aina mittasuhteet säilyttäen: leveys lasketaan näkymän korkeudesta
   (2 x näkyvä alue, kartan mittasuhde 400 : 776,5 -> kerroin 1.0302) ja korkeus seuraa leveyttä.
   Kun selaimen korkeus tai leveys muuttuu, koko kartta (ja suodatinlaatikon paikka) muuttuu samassa suhteessa. */
@supports (display: grid) {
	.tk-svg {
		width: calc((100vh - 110px) * 1.0302);
		max-width: 100%;
		height: auto;
	}
}

/* Suurennusnapit */
.tk-zoom {
	position: absolute;
	top: 8px;
	right: 8px;
	z-index: 3;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
}
.tk .tk-zoom button {
	display: block;
	min-width: 44px;
	height: 44px;
	margin: 0 0 6px;
	padding: 0 12px;
	border: 2px solid #0bc08f;
	border-radius: 12px;
	background-color: #ffffff;
	color: #02a682;
	font-family: inherit;
	font-size: 24px;
	font-weight: 800;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 2px 6px rgba(51, 51, 51, .15);
}
.tk .tk-zoom .tk-zoom-koko {
	font-size: 13px;
}
.tk .tk-zoom button:hover {
	background-color: #ffcc56;
	border-color: #ffcc56;
	color: #333333;
}
/* Erillinen sääntö: vanhat selaimet eivät tunne :focus-visible-valitsinta */
.tk .tk-zoom button:focus-visible {
	background-color: #ffcc56;
	border-color: #ffcc56;
	color: #333333;
}
.tk .tk-zoom button[disabled] {
	opacity: .4;
	cursor: default;
	background-color: #ffffff;
	border-color: #0bc08f;
	color: #02a682;
}
.tk .tk-zoom .tk-zoom-koko[disabled] {
	display: none; /* koko Suomi -nappi vain suurennettuna */
}
.tk-zoomattu .tk-svg {
	touch-action: none; /* suurennettua karttaa vedetään sormella */
	-ms-touch-action: none;
	cursor: grab;
}

/* Puhelin: kartta koko leveydelle, kupla alareunasta nousevana */
@media (max-width: 767px) {
	.tk {
		padding: 32px 0 44px;
	}
	.tk-kartta {
		padding: 0 20px; /* Bootstrapin pienin koko: sama vasen reuna kuin heron sisällöllä (.main_image, padding 20px) */
	}
	.tk-svg {
		width: 100%;
		height: auto;
		min-height: 0;
	}
	.tk-kortti {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		top: auto !important;
		left: 0 !important;
		width: auto;
		max-width: none; /* puhelimessa koko näkymän levyinen */
		z-index: 200;
		border: 0;
		border-top: 3px solid #0bc08f;
		border-radius: 18px 18px 0 0;
		box-shadow: 0 -6px 24px rgba(0, 0, 0, .18);
	}
	.tk-kortti::before {
		display: none;
	}
	.tk-kortti {
		transition: transform .2s ease;
		touch-action: pan-y;
	}
	/* Vetokahva: vedä ylös = kaikki tiedot, alas = pienennä / sulje */
	/* Kahva on oma palkkinsa kuplan yläreunassa, joten vieritettävä teksti ei jää sen tai ×:n alle */
	.tk-kahva {
		display: block;
		position: relative;
		height: 48px;
		border-radius: 18px 18px 0 0;
		background-color: #ffffff;
		cursor: grab;
	}
	.tk-kahva::after {
		content: "";
		position: absolute;
		top: 10px;
		left: 50%;
		width: 44px;
		height: 5px;
		margin-left: -22px;
		border-radius: 3px;
		background-color: #0bc08f;
		opacity: .55;
	}
	.tk-kortti-sisalto {
		max-height: 62vh;
		padding: 0 20px 26px;
		overscroll-behavior: contain;
		transition: max-height .25s ease;
	}
	.tk-kortti.tk-taysi .tk-kortti-sisalto {
		max-height: calc(100vh - 110px);
		max-height: calc(100dvh - 110px);
	}
	.tk-sulje {
		top: 8px;
		right: 10px;
		width: 40px;
		height: 40px;
		font-size: 30px;
	}
	.tk-lista {
		text-align: left;
	}
}

/* ==========================================================================
   ETUSIVU: UUSIMMAT TYÖPAIKAT (kartan sijaan, nostojen alla)
   ========================================================================== */
.tk-uusimmat h2 {
	margin: 0 0 18px;
	color: #02a682;
	font-size: 28px;
	font-weight: 900;
	text-transform: none;
}
.tk-uusimmat-lista {
	display: -ms-flexbox; /* IE11 */
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	margin: 0 -10px;
}
.tk-uusin {
	-ms-flex: 1 1 280px;
	flex: 1 1 280px;
	min-width: 0;
	margin: 0 10px 20px;
	padding: 22px 24px 20px;
	border: 2px solid #0bc08f;
	border-radius: 18px;
	background: #ffffff;
	box-shadow: 0 2px 6px rgba(51, 51, 51, .14), 0 14px 36px rgba(2, 166, 130, .12); /* pieni varjo + pehmeä vihreä */
}
/* Hiiren alla kortti suurenee hieman (jQuery lisää luokan tk-iso) */
.tk-uusin {
	position: relative;
	-webkit-transition: -webkit-transform .25s ease, box-shadow .25s ease;
	transition: transform .25s ease, box-shadow .25s ease;
}
.tk-uusin.tk-iso {
	z-index: 2; /* suurennettu kortti naapureiden päälle */
	-webkit-transform: scale(1.03);
	-ms-transform: scale(1.03);
	transform: scale(1.03);
	box-shadow: 0 3px 8px rgba(51, 51, 51, .16), 0 18px 44px rgba(2, 166, 130, .22);
}
/* Käyttäjä on pyytänyt vähemmän liikettä: ei animaatiota eikä suurennusta */
@media (prefers-reduced-motion: reduce) {
	.tk-uusin { -webkit-transition: none; transition: none; }
	.tk-uusin.tk-iso { -webkit-transform: none; -ms-transform: none; transform: none; }
}
/* Vihreä otsikko linkkinä työpaikan omaan osoitteeseen karttasivulla */
.tk .tk-uusin .tk-asiakas {
	padding-right: 0; /* kortissa ei sulje-ruksia */
}
.tk .tk-uusin .tk-asiakas a,
.tk .tk-uusin .tk-asiakas a:link,
.tk .tk-uusin .tk-asiakas a:visited {
	color: #02a682 !important;
	font-weight: inherit; /* isäntä-CSS ohentaa linkin tekstin */
	text-decoration: none !important;
}
.tk .tk-uusin .tk-asiakas a:hover,
.tk .tk-uusin .tk-asiakas a:focus {
	color: #333333 !important;
	text-decoration: underline !important;
}
/* Korttien kuva kortin reunasta reunaan (kuplassa kuva pysyy ennallaan) */
.tk .tk-uusin .tk-kuva {
	margin: 10px -24px 14px; /* kortin sivujen 24px:n täyte pois */
	padding: 0;
	background: none;
	border-radius: 0;
}
.tk .tk-uusin .tk-kuva img,
.tk .tk-uusin .tk-kuva video {
	display: block;
	width: 100%;
	max-width: none;
	height: auto; /* IE11: koko kuva, korkeus kuvan mukaan */
	max-height: none;
	border-radius: 0;
}
/* Uudemmat selaimet: kaikissa korteissa yhtä korkea kuva, rajattu keskeltä */
@supports (object-fit: cover) {
	.tk .tk-uusin .tk-kuva img,
	.tk .tk-uusin .tk-kuva video {
		height: 190px;
		object-fit: cover;
	}
}
.tk-uusimmat-kaikki {
	margin: 4px 0 0;
	text-align: center;
}
/* Sivuston oma .read_more-nappi (rollover ja .mask templaten index.php:stä). Pohjana on valkoinen versio
   heron päälle, joten korteissa sama vihreä versio kuin .main_container .read_more. */
.tk .tk-read-more {
	margin-top: 14px;
	border-color: #0bc08f;
}
.tk .tk-read-more a,
.tk .tk-read-more a:link,
.tk .tk-read-more a:visited {
	color: #0bc08f !important;
	font-weight: normal !important;
}
.tk .tk-read-more:hover a {
	color: #000000 !important;
	font-weight: bold !important; /* kuten sivuston muut .read_more-napit hiiren alla */
}
/* Pidempi teksti: nappi venyy tekstin mukaan (vähintään 140px), keskellä */
.tk .tk-read-more-auto {
	display: inline-block;
	width: auto !important;
	min-width: 140px;
	margin-top: 0;
}
.tk .tk-read-more-auto a,
.tk .tk-read-more-auto a:link,
.tk .tk-read-more-auto a:visited {
	padding: 6px 18px !important;
}
/* Rollover-raita (.mask) on 200px leveä ja liukuu oman leveytensä verran: pitkässä napissa se jäisi
   napin oikeaan reunaan. Leveämpi raita liukuu kokonaan napin yli ja pois. */
.tk .tk-read-more-auto .mask {
	width: 500px;
}
/* "Näytä kaikki" heti keltaisena kuten Kiinnostaako?, hiiren alla vihreä (rollover-raita säilyy) */
.tk .tk-read-more-auto {
	border-color: #ffcc56;
	background-color: #ffcc56;
}
.tk .tk-read-more-auto a,
.tk .tk-read-more-auto a:link,
.tk .tk-read-more-auto a:visited {
	color: #333333 !important;
	font-weight: 800 !important;
}
.tk .tk-read-more-auto:hover {
	border-color: #02a682;
	background-color: #02a682;
}
.tk .tk-read-more-auto:hover a {
	color: #ffffff !important;
	font-weight: 800 !important;
}
.tk .tk-uusin .tk-kiinnostaa {
	margin-top: 10px;
}
/* Isolla näytöllä (pc) samaan linjaan etusivun tekstin ja Ota yhteyttä -napin kanssa.
   Teksti on sivun style.css:ssä .row-elementissä: Bootstrapin -15px marginaali + style.css:n 30px täyte
   = 15px containerin täytteen sisäpuolella (container-täyte vaihtelee näytön leveyden mukaan). */
@media (min-width: 992px) {
	.tk-uusimmat h2 {
		margin-left: 15px;
		margin-right: 15px;
	}
	.tk-uusimmat-lista {
		margin-left: 5px;  /* korttien oma -10px + 15px */
		margin-right: 5px;
	}
}
/* Pienimmällä näytöllä samaan linjaan heron kanssa (kuten kartta): containerin 15px + 20px */
@media (max-width: 767px) {
	.tk-uusimmat .container {
		padding-left: 35px;
		padding-right: 35px;
	}
}