/*
Theme Name: Navis Control
Theme URI: https://markkinointiukkonen.fi/kotisivut-hinta/
Author: Markkinointi Ukkonen Oy
Author URI: https://markkinointiukkonen.fi/
Description: WordPress theme made for Navis Control
Version: 1.0
Text Domain: naviscontrol
*/

:root {
	--musta: #000000;
	--valkoinen: #FFFFFF;
	--harmaa: #d0d0d0;
	--sininen: #005dab;
	--tummansininen: #12395a;
	--vihrea: #1e7a73;
	--vaaleansininen: #74c6eb;
	--ruskea: #b85a20;
}

html, body {
	margin: 0;
	font-size: 18px;
	font-family: "Sora", sans-serif;
	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;
}

h1, h2, h3, h4, h5, h6 {
    word-break: break-word;
    overflow-wrap: break-word;
	font-weight: 700;
    /*-webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;*/
}

img {
	max-width: 100%;
	height: auto;
}

blockquote {
	quotes: '"' '"' '"' '"';
	font-style: italic;
}

blockquote:before {
    content: open-quote;
}

blockquote:after {
    content: close-quote;
}

.alignleft {
    float: left;
    margin: 0.3em 2em 2em 0;
}

.aligncenter {
	display: block;
	margin: 2em auto;
}

.alignright {
    float: right;
    margin: 0.3em 0 2em 2em;
}

.wp-caption-text {
    font-size: 0.9em;
    font-style: italic;
    margin-top: 0.25em;
}

.noselect {
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome and Opera */
}

.embed-container {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
	max-width: 100%;
} 

.embed-container iframe,
.embed-container object,
.embed-container embed { 
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.kehys {
	width: 1400px;
	margin-left: auto;
	margin-right: auto;
	box-sizing: border-box;
	max-width: 100%;
}

.rivi {
	display: flex;
	flex-wrap: wrap;
	box-sizing: border-box;
}

.solu {
	display: block;
	box-sizing: border-box;
}

.solu12 {
	width: 100%;
}

.solu11 {
	width: calc(100% / 12 * 11);
}

.solu10 {
	width: calc(100% / 1.2);
}

.solu9 {
	width: 75%;
}

.solu8 {
	width: calc(100% / 1.5);
}

.solu7 {
	width: calc(100% / 12 * 7);
}

.solu6 {
	width: 50%;
}

.solu5 {
	width: calc(100% / 2.4);
}

.solu4 {
	width: calc(100% / 3);
}

.solu3 {
	width: 25%;
}

.solu2 {
	width: calc(100% / 6);
}

.solu1 {
	width: calc(100% / 12);
}

.ylahuomio {
    display: block;
    background: var(--sininen);
    color: var(--valkoinen);
    text-align: center;
    display: flex;
    justify-content: center;
    font-size: 0.9rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

.ylahuomio a {
    margin: 0;
    display: flex;
    color: var(--valkoinen);
    padding: 0.4rem 0.7rem 0.4rem 0rem;
    justify-content: center;
    align-items: center;
    background: url(images/ikoni_nuoli_oikea.png);
    background-position: center right;
    background-size: 0.35rem auto;
    background-repeat: no-repeat;
}

.ylahuomio p {
    margin: 0;
    padding: 0.4rem 0.7rem;
    line-height: inherit;
}

a {
    color: var(--sininen);
    text-decoration: none;
    transition: 0.25s color;
}

.ylahuomio a::before {
    display: block;
    content: '';
    background: url(images/ikoni_tahti.png);
    width: 20px;
    height: 20px;
    background-size: 100% auto;
    background-position: center;
    background-repeat: no-repeat;
    margin-right: 0.4rem;
}

.ylahuomio a:hover {
	text-decoration: underline;
}

.ylapalkki .kehys {
    width: 1780px;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
}

a.paalogo {
    display: block;
    width: 260px;
    max-width: 100%;
}

img {
    max-width: 100%;
    height: auto;
}

nav.paavalikko {
    display: block;
    width: 100%;
    border-top: 1px solid var(--harmaa);
}

.ylapalkki_oikea {
    display: flex;
    align-items: center;
    gap: 2rem;
    justify-content: flex-end;
}

@media screen and (min-width: 1001px) {
	.ylapalkki_oikea {
		display: flex !important;
	}
}

.headernostot {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    font-size: 0.65rem;
    text-transform: uppercase;
    text-align: center;
    padding: 1.5rem 0;
}

.headernostot > a {
    display: block;
    border-left: 1px solid var(--harmaa);
    padding: 0.7rem 0.8rem;
    opacity: 1.0;
    transition: 0.25s opacity;
}

.headernostot > a:hover {
    opacity: 0.6;
}

.headernostot > a img {
    display: block;
    margin: 0 auto;
    width: 30px;
    height: 30px;
    object-fit: contain;
    object-position: center;
    margin-bottom: 0.7rem;
}

nav.paavalikko ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
}

.ylapalkki_oikea form.hakupalkki {
    display: grid;
    grid-template-columns: 1fr 40px;
    gap: 5px;
    width: 350px;
    max-width: 50%;
}

.ylapalkki_oikea form.hakupalkki input[type="submit"] {
    width: 40px;
    height: 40px;
    display: block;
    border: 0;
    background-color: var(--sininen);
    background-image: url(images/ikoni_haku.png);
    background-position: center;
    background-size: 50% auto;
    background-repeat: no-repeat;
    text-indent: -9999px;
    cursor: pointer;
    transition: 0.25s background-color;
}

.ylapalkki_oikea form.hakupalkki input[type="text"] {
    display: block;
    height: 40px;
    border: 0;
    background: #e3e3e3;
    box-sizing: border-box;
    font-family: inherit;
    font-size: 0.9rem;
    padding: 0.5rem 0.7rem;
    width: 100%;
}

.ylapalkki_oikea form.hakupalkki input[type="submit"]:hover {
    background-color: var(--ruskea);
}

nav.paavalikko ul ul.sub-menu {
    display: block;
    position: absolute;
    top: 100%;
    left: 1rem;
    background: var(--sininen);
    min-width: calc(100% - 2rem);
    white-space: nowrap;
    transition: 0.25s transform;
    transform: scaleY(0);
    transform-origin: top center;
    z-index: 10;
}

nav.paavalikko ul > li > a {
    display: block;
    font-weight: 500;
    padding: 1.25rem 2.5rem;
}

nav.paavalikko ul > li:hover > a {
	color: var(--ruskea);
}

nav.paavalikko ul > li.menu-item-has-children > a {
    padding-right: 3.25rem;
    background: url(images/ikoni_nuoli_alas.png);
    background-position: center right 2rem;
    background-repeat: no-repeat;
    background-size: 0.75rem auto;
}

li.menu-item-has-children {
    position: relative;
}

nav.paavalikko ul.sub-menu > li > a {
    padding: 0.5rem 1.5rem;
    font-size: 0.9em;
    color: var(--valkoinen);
    background: var(--sininen);
    transition: 0.25s background;
}

nav.paavalikko ul.sub-menu > li > a:hover {
	background: var(--ruskea);
}

nav.paavalikko ul.sub-menu > li:first-child > a {
    padding-top: 1rem;
}

nav.paavalikko ul.sub-menu > li:last-child > a {
    padding-bottom: 1rem;
}

nav.paavalikko ul li:hover > ul.sub-menu {
    transform: scaleY(1.0);
    transition: 0.5s transform;
}

.isohero {
    display: block;
    background: var(--sininen);
    background-size: cover !important;
    background-position: center top 15% !important;
    margin-bottom: 4rem;
    padding-top: 16rem;
}

.hero_osio > .isohero {
    display: none;
}

.herolaatikko {
    display: block;
    position: relative;
    width: 420px;
    background: var(--tummansininen);
    color: var(--valkoinen);
    z-index: 1;
    padding: 0 10px 2rem 10px;
    box-sizing: border-box;
}

.herolaatikko > *:first-child {
    margin-top: 0;
}

.herolaatikko > *:last-child {
    margin-bottom: 0;
}

.herolaatikko::before {
    content: '';
    position: absolute;
    top: -5rem;
    left: -3.5rem;
    width: calc(100% + 7rem);
    bottom: -4rem;
    background: var(--tummansininen);
    z-index: 0;
}

.herolaatikko > * {
    z-index: 2;
    position: relative;
}

h1, h2 {
    font-size: 2.5rem;
}

.nappula {
    display: inline-block;
    background-color: var(--ruskea);
    color: var(--valkoinen);
    text-transform: uppercase;
    font-size: 1rem;
    padding: 1rem 4rem 1rem 1.5rem;
    background-image: url(images/ikoni_nuoli_oikea.png);
    background-position: center right 1rem;
    background-repeat: no-repeat;
    background-size: auto 40%;
    transition: 0.25s background;
    margin:0 0.25rem 0.25rem 0;
    cursor: pointer;
    border: 0;
}

.herolaatikko a.nappula {
    display: block;
    margin-top: 2rem;
}

p {
    font-size: inherit;
    line-height: 1.75em;
}

.herolaatikko p {
    width: 78%;
    display: block;
}

.nappula:hover {
    background-color: var(--musta);
}

.mittarit .nappula:hover,
.herolaatikko .nappula:hover {
    background-color: var(--vihrea);
}

.etusivusisalto {
    display: block;
    padding-right: 735px;
    padding-top: 4rem;
    padding-bottom: 1rem;
    background: url(images/navis_engineering_product_pic_main_1500_1272.png);
    background-position: top right !important;
    background-size: auto 93% !important;
    background-repeat: no-repeat !important;
    box-sizing: border-box;
    max-width: 100%;
}

.paasisalto_nappulat {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
    padding-right: 6rem;
    padding-top: 1rem;
    align-items: center;
}

.nosto {
    display: block;
    width: 1550px;
    max-width: 100%;
    margin: 6rem auto;
}

.nostokuvalla {
    display: flex;
    justify-content: flex-end;
    padding-top: 3rem;
    padding-bottom: 10rem;
    position: relative;
}

.nostokuvalla_data {
    display: block;
    background: var(--vihrea);
    color: var(--valkoinen);
    width: 500px;
    padding: 4.5rem 4rem;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
}

.nostokuvalla_data h2 {
    margin: 0;
}

.nostokuva_img {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 350px;
    bottom: 0;
    background-size: cover !important;
    background-position: center !important;
}

.mittarit {
    background: var(--tummansininen);
    color: var(--valkoinen);
    padding: 7rem 0;
}

.mittarit > .kehys {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.mittarit_ala {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 4rem;
}

.mittarit_vasen {
    display: block;
    width: 30%;
}

.mittarit_oikea {
    display: grid;
    width: 70%;
    grid-template-columns: 1fr 1fr 1fr;
    text-align: center;
    padding-left: 4rem;
    box-sizing: border-box;
}

.yksi_mittari {
    display: block;
    border-left: 1px solid var(--valkoinen);
    padding: 2rem;
}

.yksi_mittari:first-child {
    border: 0;
}

.yksi_mittari img {
    display: block;
    width: 100px;
    height: 100px;
    object-fit: contain;
    object-position: center;
    margin: 0 auto 2rem auto;
}

.yksi_mittari h3 {
    color: var(--vaaleansininen);
    font-size: 3rem;
    font-weight: 500;
    margin: 0;
}

.yksi_mittari p {
    margin: 1rem 0 0 0;
}

.mittarit_vasen > *:first-child,
.referenssit_vasen > *:first-child {
    margin-top: 0;
}

.mittarit_vasen > *:last-child,
.referenssit_vasen > *:last-child {
    margin-bottom: 0;
}

.vasen .nostokuva_img {
    left: 350px;
    right: 0;
}

.nostokuvalla.vasen {
    justify-content: flex-start;
}

/*
.puhekuplakehys {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
}
*/

.puhekupla_sisalto {
    display: block;
	padding: 6rem 2rem 1.5rem 2rem;
	font-size: 1rem;
	position: relative;
	border: 2px solid var(--sininen);
	border-radius: 10px;
	position: relative;
	padding-bottom: 170px;
	background: url(/wp-content/uploads/2026/09/quote.svg);
    background-repeat: repeat;
    background-size: auto;
	background-size: auto 3rem;
	background-position: left 2rem top 1.5rem;
	background-repeat: no-repeat;
}

.puhekupla_sisalto p {
    margin: 0;
}

.puhekupla_sisalto+p {
    text-align: center;
}

.puhekuplat {
    display: block;
    margin-bottom: 8rem;
}

.puhekupla_author {
	display: block;
	padding-top: 1rem;
	border-top: 1px solid var(--vaaleansininen);
	padding-bottom: 1.5rem;
	min-height: 130px;
	box-sizing: border-box;
	position: absolute;
	bottom: 0;
	left: 2rem;
	width: calc(100% - 4rem);
}

.puhekupla_author strong {
	font-size: 1.1em;
}

.referenssit {
    display: block;
    background: var(--tummansininen);
    color: var(--valkoinen);
    padding-top: 6rem;
	padding-bottom: 6rem;
}

.referenssit > .kehys {
    display: grid;
    grid-template-columns: 35% 65%;
    align-items: center;
}

.referenssit_vasen {
    display: block;
    padding-right: 5rem;
}

.referenssit_oikea {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

article.yksi_referenssi {
    display: block;
}

article.yksi_referenssi a {
    display: block;
    background: var(--ruskea);
    color: var(--valkoinen);
    transition: 0.25s background;
}

article.yksi_referenssi img {
    display: block;
    width: 100%;
    height: auto;
    opacity: 1.0;
    transition: 0.25s opacity;
}

article.yksi_referenssi h3 {
    color: var(--valkoinen);
    font-weight: 400;
    font-size: 1rem;
    padding: 1.75rem 6rem 1.75rem 2rem;
    margin: 0;
}

article.yksi_referenssi a:hover {
    background: var(--musta);
}

article.yksi_referenssi a:hover img {
    opacity: 0.7;
}

.kiinnostuitko {
    display: block;
    background: var(--vihrea);
    color: var(--valkoinen);
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.kiinnostuitko > .kehys {
    display: grid;
    grid-template-columns: 40% 60%;
    align-items: center;
}

.kiinnostuitko_oikea {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

.kiinnostuitko_oikea > * {
    border-left: 1px solid var(--valkoinen);
    padding: 2rem;
    text-align: center;
    color: var(--valkoinen);
    opacity: 1.0;
    transition: 0.25s opacity;
}

.kiinnostuitko_oikea > *:first-child {
    border: 0;
}

.kiinnostuitko_oikea img {
    display: block;
    width: 60px;
    height: 60px;
    object-fit: contain;
    object-position: center;
    margin: 0 auto 1.5rem auto;
}

.kiinnostuitko_oikea > *:hover {
    opacity: 0.5;
}

.kiinnostuitko_vasen h2 {
    margin: 0;
}

footer.alapalkki {
    display: block;
    margin-top: 7rem;
    margin-bottom: 10rem;
}

.alapalkki_vasen img {
    display: block;
    width: 200px;
    margin-bottom: 3rem;
    max-width: 100%;
}

footer.alapalkki > .kehys {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.alapalkki_vasen {
    display: block;
    padding-right: 4rem;
}

.alapalkki_oikea {
    display: block;
    padding-left: 12rem;
}

.alapalkki_oikea ul {
    list-style: none;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid var(--harmaa);
}

.alapalkki_oikea ul li {
    display: block;
    border-top: 1px solid var(--harmaa);
    padding: 1rem;
}

.alapalkki_oikea ul li a {
    padding-right: 1rem;
    background: url(images/ikoni_nuoli_oikea_harmaa.png);
    background-position: center right;
    background-repeat: no-repeat;
    background-size: 0.6rem auto;
}

.alapalkki_oikea ul li a:hover {
    color: var(--ruskea);
}


.alasivu_hero {
    display: block;
    padding-top: 25%;
    background-position: center !important;
    background-size: cover !important;
}

main.alasivu_paasisalto {
    display: block;
    padding-top: 4rem;
    padding-bottom: 5rem;
    background: var(--tummansininen);
    color: var(--valkoinen);
}

.breadcrumbs p {
    margin: 0;
    display: block;
}

.breadcrumbs a {
    color: var(--vaaleansininen);
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs {
    display: block;
    margin-bottom: 3rem;
    font-size: 1rem;
}

.teksti_ja_kuva {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.teksti_ja_kuva_teksti > *:first-child {
    margin-top: 0;
}

.teksti_ja_kuva_teksti > *:last-child {
    margin-bottom: 0;
}

.teksti_ja_kuva_teksti {
    display: block;
    padding: 2rem 8rem 2rem 0;
}

.teksti_ja_kuva_kuva {
    position: relative;
    display: block;
}

.kuvataytto {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-size: contain !important;
    background-position: center !important;
	background-repeat: no-repeat !important;
}

.nostot_wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
    margin-top: 3rem;
}

.sivunostot h2 {
    font-size: 1.4rem;
    text-transform: uppercase;
    margin-bottom: 0;
    margin-top: 0;
}

.sivunostot h2 + p {
    margin-top: 0.4rem;
}

.sivunostot p {
    width: 550px;
    max-width: 100%;
}

.sivunostot {
    display: block;
    padding-top: 5rem;
    padding-bottom: 6rem;
}

.nostot_wrapper h3 {
    margin: 0;
    display: block;
    padding: 1.2rem 3rem 1.2rem 1.5rem;
    font-weight: 400;
    background-color: var(--ruskea);
    color: var(--valkoinen);
    line-height: 1em;
    background-image: url(images/ikoni_nuoli_oikea.png);
    background-position: center right 1rem;
    background-repeat: no-repeat;
    background-size: auto 40%;
    transition: 0.25s background;
}

.nostot_wrapper img {
    display: block;
    opacity: 1.0;
    transition: 0.25s opacity;
    width: 100%;
    height: auto;
}

.nostot_wrapper a:hover img {
    opacity: 0.8;
}

.nostot_wrapper a:hover h3 {
    background-color: var(--musta);
}

.benefits > .kehys,
.features > .kehys,
.technical > .kehys {
    display: grid;
    grid-template-columns: 0.5fr 1.5fr;
    gap: 4rem;
}

.benefits > .kehys {
	align-items: flex-start;
}

.benefits h2,
.features h2,
.technical h2 {
    text-transform: uppercase;
    font-size: 1.1rem;
    margin: 2rem 0 0.75rem 0;
}

.benefits h2+*,
.features h2+*,
.technical h2+* {
    margin-top: 0;
}

.benefits {
    display: block;
    padding-top: 5rem;
    padding-bottom: 6rem;
}

.benefits_oikea {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
}

.benefit {
    display: block;
    background: #ededed;
    padding: 1rem 2rem;
    font-weight: 700;
}

.benefit_number {
    display: block;
    width: 50%;
    border-bottom: 1px solid var(--vihrea);
    font-size: 4rem;
    color: var(--vihrea);
    padding-top: 1rem;
}

.features {
    display: block;
    background: var(--vihrea);
    color: var(--valkoinen);
    padding-top: 5rem;
    padding-bottom: 6rem;
}

.feature {
    display: block;
    margin-bottom: 1rem;
}

.feature_heading {
    display: block;
    background-color: var(--ruskea);
    font-weight: 700;
    padding: 1rem 4rem 1rem 1.5rem;
    position: relative;
    cursor: pointer;
}

.feature_heading::after {
    content: '+';
    position: absolute;
    top: 0;
    right: 1.5rem;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    font-weight: 300;
}

.feature_content {
    background: var(--valkoinen);
    padding: 1rem 1.5rem;
    color: var(--musta);
    display: none;
}

.feature_heading.auki::after {
    content: '-';
}

.technical {
    display: block;
    padding-top: 5rem;
    padding-bottom: 6rem;
}

.single_technical {
    background: #ededed;
    padding: 2rem 2rem;
    margin-bottom: 1rem;
}

.single_technical > *:first-child {
	margin-top: 0;
}

.single_technical > *:last-child {
	margin-bottom: 0;
}

.technical_heading {
    display: block;
    width: 400px;
    text-transform: uppercase;
    max-width: 100%;
    position: relative;
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
}

.technical_heading::after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    width: 100px;
    height: 1px;
    background: var(--vihrea);
}

.lisateksti {
    display: block;
    padding-top: 5rem;
    padding-bottom: 6rem;
}

.lisateksti+.benefits {
    padding-top: 0;
}

.features_vasen > h2:first-child {
    margin-top: 0;
}

.lisateksti ul,
.single_technical ul,
.feature_content ul {
    list-style-position: inside;
    padding: 0;
    margin: 0 0 1em 0;
}

.lisateksti ul li,
.single_technical ul li,
.feature_content ul li {
    line-height: 1.2em;
    margin: 0.5rem 0;
} 

.benefits_vasen > h2:first-child {
    margin-top: 0;
}

.lisateksti + .technical,
.technical + .lisateksti {
    padding-top: 0;
}

.navismap {
    display: block;
    position: relative;
    padding-top: 40%;
}

.navismap > iframe {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}

.linkkipalkki {
    background: var(--tummansininen);
    color: var(--valkoinen);
    padding: 0.3rem 0;
}

.linkkipalkki > .kehys {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 2rem;
}

.linkkipalkki p {
    margin: 0;
    display: block;
}

.linkkipalkki a {
    color: var(--valkoinen);
    text-decoration: none;
    font-weight: 700;
}

.linkkipalkki a:hover {
    color: var(--vaaleansininen);
}

.wpcf7-text, .wpcf7-email, .wpcf7-textarea {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 13px;
    font-size: 1rem;
    padding: 0.75em 1.05em;
    border: 0;
    font-family: inherit;
    font-weight: 400;
    border-radius: 0;
    border: 1px solid var(--tummansininen);
    color: var(--tummansininen);
    background: var(--valkoinen);
    border-radius: 0px;
}

.wpcf7-text::placeholder,
.wpcf7-email::placeholder,
.wpcf7-textarea::placeholder {
    color: var(--sininen);
}

span.radio_label {
    display: block;
    margin: 1.5em 0 1em 0;
}

span.wpcf7-form-control.wpcf7-radio {
    display: flex;
    margin-bottom: 1.5rem;
    gap: 2rem;
    flex-wrap: wrap;
}

.wpcf7-radio input {
    display: inline-block;
    font-size: 1em;
    width: 1em;
    height: 1em;
    margin: 0;
    cursor: pointer;
}

.wpcf7-radio label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.wpcf7-submit.nappula {
    margin-top: 1.5rem;
    cursor: pointer;
}

span.wpcf7-list-item-label a {
    color: var(--tummansininen);
    font-weight: 600;
    text-decoration: none;
    transition: 0.25s color;
}

span.wpcf7-list-item-label a:hover {
    color: var(--musta);
}

span.wpcf7-form-control.wpcf7-acceptance {
    margin-top: 1.773rem;
    display: block;
    margin-bottom: 1.364rem;
    font-size: 1rem;
}

.wpcf7 input[type="checkbox"] {
    font-size: 21px;
    width: 24px;
    height: 24px;
    margin: 0px 0 2px 0;
    border: none;
    cursor: pointer;
}

.wpcf7-acceptance label {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 0.818rem;
    cursor: pointer;
    text-align: left;
    font-weight: inherit;
}

.wpcf7-not-valid-tip {
    background: #8d0000;
    margin-top: -13px;
    padding: 0.5em 1.05em;
    margin-bottom: 18px;
    color: var(--valkoinen);
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
    background: #8d0000;
    border: 0;
    margin: 3rem 0;
    padding: 5rem 2rem;
    text-align: center;
    color: var(--valkoinen);
    font-size: 1.25rem;
}

.wpcf7 form.sent .wpcf7-response-output {
    background: #338d00;
    border: 0;
    margin: 3rem 0;
    padding: 2rem 2rem;
    text-align: center;
    color: var(--valkoinen);
    font-size: 1.25rem;
}

.date + h1 {
    margin-top: 0.25rem;
}

.date a {
    color: inherit;
}

.date a:hover {
    color: var(--vaaleansininen);
}

.category {
    display: block;
    font-size: 0.7em;
    font-style: italic;
}

nav.paavalikko > ul > li > a {
	text-transform: uppercase;
}

#pagination {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 2rem;
}

#pagination > * {
	display: block;
	padding: 0.75rem 1.4rem;
	text-align: center;
	background: var(--ruskea);
	color: var(--valkoinen);
	font-size: 1.5rem;
	transition: 0.25s background, 0.25s color;
}

#pagination > .page-numbers.current {
	background: var(--sininen);
}

#pagination > a:hover {
	background: var(--musta);
}

.features + .features {
	padding-top: 0;
}

.alapalkki_vasen a[href^="http://linkedin.com"],
.alapalkki_vasen a[href^="https://linkedin.com"],
.alapalkki_vasen a[href^="http://www.linkedin.com"],
.alapalkki_vasen a[href^="https://www.linkedin.com"] {
	display: inline-block;
	padding-left: 2rem;
	background: url(https://navisincontrol.ukkonenkotisivut.fi/wp-content/uploads/2026/09/linkedin.svg);
	background-size: 1.5rem 1.5rem;
	background-position: center left;
	background-repeat: no-repeat;
	min-height: 1.5rem;
}

.puhekuplat_esittely {
	display: grid;
	grid-template-columns: 63% 37%;
	gap: 0;
	align-items: center;
}

.puhekuplat_esittely h2 {
	padding-right: 4rem;
}

.puhekuplat_esittely p {
	font-size: 0.8rem;
}

.puhekupla_wrapper {
	display: block;
	padding: 0.5rem;
}

.footervideo {
	display: block;
	width: 100%;
	padding: 3rem 0;
}

.teksti_ja_kuva_teksti.eikuvaa {
	grid-column: 1 / -1;
}

.features_vasen:empty {
	display: none;
}

.features_vasen:empty+.features_oikea {
	grid-column: 1 / -1;
}

.mittarit + .puhekuplat {
	margin-top: 4rem;
}

.slick-prev, .slick-next {
    width: 38px;
    height: 59px;
    z-index: 10;
    transition: 0.25s background !important;
    background-size: contain !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    opacity: 1.0 !important;
}

.slick-prev,
.slick-prev:focus {
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="38.085" height="61.676" viewBox="0 0 38.085 61.676"><path id="Path_40" data-name="Path 40" d="M46.085,13.247,38.838,6,8,36.838,38.838,67.676l7.247-7.247L22.545,36.838Z" transform="translate(-8 -6)" fill="%23fff"/></svg>');
}

.slick-next,
.slick-next:focus {
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="38.085" height="61.676" viewBox="0 0 38.085 61.676"><path id="Path_42" data-name="Path 42" d="M15.837,6,8.59,13.247,32.129,36.838,8.59,60.429l7.247,7.247L46.675,36.838Z" transform="translate(-8.59 -6)" fill="%23fff"/></svg>');
}

.puhekuplat .slick-prev:hover,
.slick-prev:hover {
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="38.085" height="61.676" viewBox="0 0 38.085 61.676"><path id="Path_40" data-name="Path 40" d="M46.085,13.247,38.838,6,8,36.838,38.838,67.676l7.247-7.247L22.545,36.838Z" transform="translate(-8 -6)" fill="%23b85a20"/></svg>');
}

.puhekuplat .slick-next:hover,
.slick-next:hover {
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="38.085" height="61.676" viewBox="0 0 38.085 61.676"><path id="Path_42" data-name="Path 42" d="M15.837,6,8.59,13.247,32.129,36.838,8.59,60.429l7.247,7.247L46.675,36.838Z" transform="translate(-8.59 -6)" fill="%23b85a20"/></svg>');
}

.slick-next:before,
.slick-prev:before {
    display: none !important;
}

.slick-next {
    right: 50px;
}

.slick-prev {
    left: 50px;
}

.puhekuplat .slick-next {
  right: -100px;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="38.085" height="61.676" viewBox="0 0 38.085 61.676"><path id="Path_42" data-name="Path 42" d="M15.837,6,8.59,13.247,32.129,36.838,8.59,60.429l7.247,7.247L46.675,36.838Z" transform="translate(-8.59 -6)" fill="%23005dab"/></svg>');
}

.puhekuplat .slick-prev {
  left: -100px;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="38.085" height="61.676" viewBox="0 0 38.085 61.676"><path id="Path_40" data-name="Path 40" d="M46.085,13.247,38.838,6,8,36.838,38.838,67.676l7.247-7.247L22.545,36.838Z" transform="translate(-8 -6)" fill="%23005dab"/></svg>');
}

.gallery {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
}

.gallery-icon {
	display: block;
	padding-top: 100%;
	position: relative;
}

.gallery-icon > img {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

blockquote {
	position: relative;
	padding: 2rem 1.5rem 2rem 3rem;
	margin: 0;
	font-size: 1.2rem;
}

blockquote p {
	margin: 0;
}

blockquote::before {
	display: block;
	position: absolute;
	top: 2.1rem;
	left: 0;
	font-size: 4rem;
	line-height: 1em;
	width: 3rem;
	height: auto;
	text-align: left;
}


blockquote::after {
	display: none;
}

.lisateksti table {
	width: auto;
	text-align: left;
}

.lisateksti table th {
	padding-right: 1rem;
}

@media screen and (min-width: 4001px) {
    .alasivu_hero {
        padding: 0;
        height: 1000px;
    }
}


@media screen and (max-width: 1850px) {
	.isohero .kehys {
		padding-left: 100px;
	}
}

@media screen and (max-width: 1700px) {
	.puhekuplat .kehys {
		padding: 0 100px;
	}
	.puhekuplat_esittely {
		margin-left: -100px;
		width: calc(100% + 200px);
	}
}

@media screen and (max-width: 1600px) {
    html, body {
	    font-size: 17px;
    }

	.slick-next {
		right: 25px;
	}

	.slick-prev {
		left: 25px;
	}
}

@media screen and (max-width: 1500px) {
    html, body {
        font-size: 16px;
    }

    nav.paavalikko ul > li > a {
        padding-left: 2rem;
        padding-right: 2rem
    }

    nav.paavalikko ul > li.menu-item-has-children > a {
        padding-right: 3.25rem;
    }

    .herolaatikko::before {
        left: 0;
    }

    .herolaatikko {
        padding-left: 3rem;
    }

    .kehys {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    nav.paavalikko ul > li > a {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    nav.paavalikko ul > li.menu-item-has-children > a {
        padding-right: 1.75rem;
        background-position: center right 0.75rem;
    }

    .teksti_ja_kuva {
        grid-template-columns: 1.3fr 0.7fr;
    }

    .sivunostot p {
        width: 50%;
    }

	.puhekuplat .kehys {
    	padding: 0 80px;
  	}
	
	.puhekuplat_esittely {
		margin-left: 0px;
		width: 100%;
	}

	.puhekuplat .slick-next {
		right: -60px;
		top: 40%;
	}
	
	.puhekuplat .slick-prev {
		left: -60px;
		top: 40%;
	}
}

@media screen and (max-width: 1300px) {
    .mittarit_vasen {
        width: 40%;
    }

    .mittarit_oikea {
        width: 60%;
        padding-left: 2rem;
    }

    .yksi_mittari {
        padding: 1rem;
    }

    .referenssit > .kehys {
        grid-template-columns: 45% 55%;
    }

	.puhekuplat_esittely {
		display: block;
		padding-bottom: 2rem;
	}

	.puhekuplat_esittely h2 {
		padding-right: 0;
	}

	.puhekuplat_esittely p {
		font-size: 0.9rem;
	}
}

@media screen and (max-width: 1200px) {
    .ylapalkki_oikea form.hakupalkki {
        max-width: 40%;
        box-sizing: border-box;
    }

    .etusivusisalto {
        padding-right: 40%;
        background-size: 30% auto !important;
        background-position: center right !important;
    }

    nav.paavalikko {
        font-size: 0.8rem;
    }

    .yksi_mittari h3 {
        font-size: 2rem;
    }

    .puhekupla_sisalto {
        padding-bottom: 10rem;
    }

    .puhekupla_sisalto::after {
        bottom: 10rem;
    }

    .teksti_ja_kuva {
        grid-template-columns: 1.1fr 0.9fr;
    }

    .teksti_ja_kuva_teksti {
        padding-right: 5rem;
    }
}

@media screen and (max-width: 1000px) {
    .ylapalkki .kehys {
        display: block;
    }

    a.paalogo {
        margin: 2rem auto;
    }

    .ylapalkki_oikea {
        display: none;
    }

    .ylapalkki_oikea form.hakupalkki {
        width: 500px;
        max-width: 80%;
        margin: 0 auto;
    }

    .headernostot {
        justify-content: center;
    }

    .headernostot > a {
        width: 140px;
        max-width: calc(100% / 3);
    }

    nav.paavalikko ul {
        display: block;
    }

    nav.paavalikko ul ul.sub-menu {
        position: relative;
        transform: none;
        left: 0;
        display: none;
    }

    .herolaatikko {
        width: 100%;
        box-sizing: border-box;
        padding-right: 3rem;
    }

    .herolaatikko::before {
        left: 0;
        width: 100%;
    }

    .isohero {
        padding-top: 50vh;
    }

    .etusivusisalto {
        padding-right: 0;
        padding-top: 30%;
        background-position: top center !important;
        margin-top: 8rem;
    }

    .paasisalto_nappulat, .paasisalto_nappulat > a.nappula {
        display: block;
    }

    .paasisalto_nappulat > a.nappula {
        margin: 0.5rem 0;
    }

    .paasisalto_nappulat {
        padding: 0;
    }

    .nostokuvalla_data {
        max-width: 90%;
        margin: 0 auto;
    }

    .nostokuvalla {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }

    .nostokuva_img, .vasen .nostokuva_img {
        right: 0;
        left: 0;
    }

    .mittarit > .kehys {
        display: block;
    }

    .mittarit_vasen {
        width: 100%;
        text-align: center;
    }

    .mittarit_oikea {
        padding-left: 0;
        margin-top: 3rem;
        width: 100%;
    }

	/*
    .puhekuplakehys {
        display: block;
    }
	*/

    .puhekupla {
        display: block;
        width: 400px;
        max-width: 100%;
        margin: 0 auto 3rem auto;
    }

    .referenssit > .kehys {
        display: block;
    }

    .referenssit_vasen {
        text-align: center;
        padding: 0 0 4rem 0;
    }

    .referenssit_oikea {
        display: block;
    }

    article.yksi_referenssi {
        width: 500px;
        max-width: 100%;
        margin: 0 auto 2rem auto;
    }

    .kiinnostuitko > .kehys {
        display: block;
    }

    .kiinnostuitko_vasen {
        display: block;
        text-align: center;
        margin-bottom: 2rem;
    }

    footer.alapalkki > .kehys {
        display: block;
    }

    .alapalkki_vasen {
        padding: 0 0 2rem 0;
        text-align: center;
    }

    .alapalkki_vasen img {
        margin-left: auto;
        margin-right: auto;
    }

    .alapalkki_oikea {
        width: 500px;
        padding: 0;
        margin: 0 auto;
        text-align: center;
        max-width: 100%;
    }

    .headernostot > a:first-child {
        border: 0;
    }

    .mobile_nav_toggle {
		display: block;
		width: 40px;
		box-sizing: border-box;
		cursor: pointer;
		padding: 0;
        margin: 0 auto 2rem;
	}

	.viiva1, .viiva2, .viiva3 {
		width: 40px;
		height: 6px;
		background-color: var(--sininen);
		margin: 6px 0;
		transition: 0.4s;
	}

	.avattu .viiva1 {
		-webkit-transform: rotate(-45deg) translate(-8px, 8px);
		transform: rotate(-45deg) translate(-8px, 8px);
	}

	.avattu .viiva2 {
		opacity: 0;
	}

	.avattu .viiva3 {
		-webkit-transform: rotate(45deg) translate(-9px, -8px);
		transform: rotate(45deg) translate(-9px, -8px);
	}

    nav.paavalikko {
        display: none;
    }
        
    .teksti_ja_kuva {
        display: flex;
        flex-direction: column-reverse;
    }

    .teksti_ja_kuva_kuva {
        padding-top: 50%;
    }

    .teksti_ja_kuva_teksti {
        padding-right: 0;
        padding-top: 3rem;
    }

    .nostot_wrapper {
        display: block;
    }

    .nostot_wrapper > a {
        display: block;
        width: 500px;
        max-width: 100%;
        margin: 2rem auto;
        text-align: left;
    }

    .sivunostot {
        text-align: center;
    }

    .sivunostot p {
        width: 100%;
    }

    .benefits > .kehys, .features > .kehys, .technical > .kehys {
        display: block;
    }

    .benefits_vasen, .features_vasen, .technical_vasen {
        display: block;
        margin-bottom: 2rem;
    }

    .linkkipalkki > .kehys {
        justify-content: center;
        font-size: 0.8rem;
        gap: 1.25rem;
    }
	
	.puhekuplat_esittely {
		text-align: center;
	}

	.slick-prev, .slick-next {
		width: 19px;
		height: 30px;
		top: 25%;
	}

	.isohero .kehys {
		padding-left: 2rem;
	}

	.puhekuplat .slick-next {
		right: -50px;
		top: 40%;
	}

	.puhekuplat .slick-prev {
		left: -50px;
		top: 40%;
	}
	
	.isohero {
        background-image: var(--bg-mobile) !important;
		background-position: center !important;
    }

}

@media screen and (max-width: 800px) {
    .kiinnostuitko_oikea,
    .mittarit_oikea {
        display: block;
    }

    .kiinnostuitko_oikea > *,
    .yksi_mittari {
        border-left: 0;
        border-top: 1px solid var(--harmaa);
    }

    .kiinnostuitko_oikea > * {
        display: block;
    }

    .benefits_oikea {
        display: block;
    }
    
    .benefit {
        margin-bottom: 1rem;
    }
}

@media screen and (max-width: 600px) {
    h1, h2 {
        font-size: 2rem;
    }

    .herolaatikko {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .nostokuvalla_data {
        padding: 2rem;
    }

    .linkkipalkki > .kehys {
        flex-wrap: wrap;
        gap: 0 1.25rem;
    }

    .linkkipalkki > .kehys > p:first-child {
        width: 100%;
        text-align: center;
    }
}

@media screen and (max-width: 400px) {
    .linkkipalkki > .kehys {
        font-size: 0.6rem;
    }
	
	.ylapalkki .kehys {
		padding-left: 1rem;
		padding-right: 1rem;
	}
}

@media screen and (min-width: 300px) and (max-width: 370px) {
	.headernostot {
		font-size: 0.5rem;
	}
	
	.headernostot > a {
  		padding: 0.7rem 0.5rem;
	}
}


@media screen and (max-width: 300px) {
	.headernostot {
        display: block;
    }

    .headernostot > a {
        width: 100%;
        max-width: 100%;
        border-left: 0;
        border-top: 1px solid var(--harmaa);
        box-sizing: border-box;
    }
}
