/*
Theme Name: Mari Välkki 2026
Theme URI: https://markkinointiukkonen.fi/kotisivut-hinta/
Author: Markkinointi Ukkonen Oy
Author URI: https://markkinointiukkonen.fi/
Description: Marille tehty WordPress-teema
Version: 1.0
Text Domain: mari2026
*/

:root {
	--musta: #000000;
	--valkoinen: #FFFFFF;
	--violetti: #7D009B;
	--vaaleanvioletti: #F4ECF9;
}

html, body {
	margin: 0;
	font-family: "Poppins", sans-serif;
	font-weight: 400;
	font-style: normal;
	font-size: 21px;
}

h1, h2, h3, h4, h5, h6 {
    word-break: break-word;
    overflow-wrap: break-word;
    /*-webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;*/
    line-height: 1em;
}

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%;
}

a.sahkopostiosoite > i {
    display: none !important;
}

.kehys {
	width: 1000px;
	max-width: 100%;
	margin-left: auto;
	margin-right: auto;
	box-sizing: border-box;
	padding-left: 3.667rem;
	padding-right: 3.667rem;
}

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

.solu {
	display: block;
	box-sizing: border-box;
	padding: 2rem 3rem;
}

.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);
}

header.etusivu_ylapalkki {
    display: block;
    background-color: var(--musta);
    color: var(--valkoinen);
    background-image: url(images/headerkuva.jpg);
    background-size: auto 100% !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

.ylapalkki_absolute_wrapper {
    position: relative;
    padding-top: 49.6%;
}

nav.paavalikko {
    position: absolute;
    top: 0;
    width: 100%;
    left: 0;
    box-sizing: border-box;
    padding-top: 20px;
}

a.paalogo {
    position: absolute;
    bottom: 20%;
    height: calc(60% - 59px);
    width: 60%;
    left: 20%;
}

a.paalogo span {
    display: none;
}

a.paalogo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

nav.paavalikko ul {
    display: flex;
    list-style: none;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    gap: 2.381rem;
}

nav.paavalikko a {
    display: block;
    text-decoration: none;
    color: var(--valkoinen);
    font-weight: 900;
    border-bottom: 3px solid rgba(0,0,0,0);
    transition: 0.25s border;
}

.kehys.fhd {
    width: 1920px;
}

.nopadding_right {
    padding-right: 0;
}

.nopadding_left {
    padding-left: 0;
}

.kehys.fhd.esittelyteksti {
    padding: 0;
    display: flex;
    gap: 6.667rem;
    margin-top: 10rem;
    margin-bottom: 8.143rem;
    padding-right: 6.667rem;
}

.kehys.fhd.esittelyteksti.tekstiensin {
    padding-right: 0;
    padding-left: 6.667rem;
}

.esittelyteksti_kuva {
    display: block;
    width: 820px;
    max-width: calc(54% - 6.667rem);
    margin-top: 10px;
}

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

.esittelyteksti_teksti {
    flex-grow: 1;
    max-width: 46%;
}

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

a:hover {
    color: var(--musta);
}

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

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

p {
    margin: 1.75em 0;
    line-height: 1.810em;
}

.ylapalkki_wrapper > h1,
h2 {
    font-size: 4.286rem;
    color: var(--violetti);
}

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

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

h3 {
    font-size: 1.667em;
    color: var(--violetti);
}

img+h3 {
    margin-top: 2rem;
}

img.palvelu_ikoni {
    display: block;
}

.rivi > .solu:first-child > h2:first-child {
    margin-bottom: 1.5rem;
}

.bg_violetti {
    background: var(--violetti);
    color: var(--valkoinen);
}

.bg_violetti > .kehys,
.cv_wrapper {
    padding-top: 4.667rem;
    padding-bottom: 4.667rem;
    margin-top: 6.286rem;
}

.bg_musta h1, .bg_musta h2, .bg_musta h3, .bg_musta h4, .bg_musta h5,
.bg_violetti h1, .bg_violetti h2, .bg_violetti h3, .bg_violetti h4, .bg_violetti h5 {
    color: var(--valkoinen);
}

.rivi > .solu.solu6:first-child > h2:first-child {
    margin-bottom: 2.5rem;
}

.hinnasto {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    font-size: 20px;
}

.hinnasto_kohta {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
    border-bottom: 2px solid #fff;
    font-size: 1rem;
}

.laatikko {
    display: flex;
    padding: 0;
    box-sizing: border-box;
    width: calc(100% - 6rem);
    margin: 6.667rem auto;
    background: var(--vaaleanvioletti);
}

.laatikko > * {
    display: block;
    width: 50%;
    box-sizing: border-box;
}

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

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

.laatikko_data {
    padding: 5.048rem 4.048rem 6.143rem 6.048rem;
}

h2, h3 {
    font-weight: 900;
}

.nappula {
    display: inline-block;
    background: var(--violetti);
    color: var(--valkoinen);
    font-size: 1rem;
    font-weight: 900;
    padding: 0.67em 1.7em;
    cursor: pointer;
    transition: 0.25s background;
}

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

.bg_musta {
    background: var(--musta);
    color: var(--valkoinen);
}

footer.alapalkki {
    display: flex;
    padding: 6rem 6.667rem;
    box-sizing: border-box;
    width: 1920px;
    max-width: 100%;
    gap: 4rem;
    margin: 0 auto;
}

.alapalkki_vasen {
    width: calc(50% - 4em);
    position: relative;
    padding-bottom: 100px;
}

.alapalkki_oikea {
    width: 50%;
    padding-top: 1.2rem;
}

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

span.wpcf7-form-control-wrap {
    display: block;
    width: 100%;
    box-sizing: border-box;
}

input.wpcf7-form-control, textarea.wpcf7-form-control {
    display: block;
    width: 100%;
    box-sizing: border-box;
    border: 0;
    font-size: 0.905em;
    font-family: inherit;
    margin-bottom: 0.75rem;
    padding: 0.5rem 0.7rem;
}


textarea.wpcf7-form-control {
    min-height: 300px;
}

.footer_some {
    display: flex;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    gap: 1.238rem;
}

.footer_some > * {
    display: block;
    width: 60px;
    height: 60px;
    background: red;
    position: relative;
}

.footer_some > *::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: 0.25s opacity;
}

.footer_some > *:hover::after {
    opacity: 1.0;
}

a.some_ig {
    background: url(images/ikoni_ig.svg);
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
}

a.some_ig::after {
    background: url(images/ikoni_ig_hover.svg);
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
}

a.some_fb {
    background: url(images/ikoni_fb.svg);
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
}

a.some_fb::after {
    background: url(images/ikoni_fb_hover.svg);
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
}

input.wpcf7-form-control.wpcf7-submit.has-spinner {
    margin-bottom: 0;
    display: inline-block;
    width: auto;
    font-weight: 900;
    background: var(--valkoinen);
    color: var(--musta);
    padding: 0.76rem 1.65rem;
    margin-top: 2.381em;
    cursor: pointer;
    transition: 0.25s background, 0.25s color;
}

input.wpcf7-form-control.wpcf7-submit.has-spinner:hover {
    background: var(--violetti);
    color: var(--valkoinen);
}

.laatikko_kuva {
    background-position: center !important;
    background-size: cover !important;
}

.rivi.pystykeskitys {
    align-items: center;
}

nav.paavalikko a:hover {
    border-color: var(--valkoinen);
}

.laatikko_data > h2 {
    margin-bottom: 2.5rem;
    line-height: 1em;
}

.laatikko_data > .nappula {
    margin-top: 1.2rem;
}

.alapalkki_vasen h2 {
    margin-bottom: 3rem;
}

header.ylapalkki {
    display: block;
    background: var(--musta);
}

.ylapalkki_wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    width: 1920px;
    max-width: 100%;
    margin: 0 auto;
    padding: 20px 2.286rem;
    box-sizing: border-box;
}

.ylapalkki_wrapper > h1 {
    display: block;
    width: 100%;
    color: var(--valkoinen);
    text-align: center;
    margin-top: 5.000rem;
    margin-bottom: 4rem;
    line-height: 1em;
    font-weight: 900;
}

.ylapalkki_wrapper > nav.paavalikko {
    position: relative;
    top: unset;
    left: unset;
    width: auto;
    width: 70%;
    padding-top: 0;
}

a.ylalogo {
    display: block;
    width: 448px;
    max-width: 30%;
}

.ylapalkki nav.paavalikko ul {
    justify-content: flex-end;
}

a.ylalogo > img {
    display: block;
}

figure.slider > div {
    display: flex;
    margin: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 800px;
    overflow: hidden;
    padding-top: 0;
    padding-bottom: 0;
    box-sizing: border-box;
    position: relative;
}

figure.slider > div > img {
    display: block;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    margin: 0 auto;
    max-width: calc(100% - 200px);
    max-height: 100%;
}

figure.slider > div > p {
    display: block;
    text-align: center;
    margin: 0 auto;
    /* position: absolute; */
    top: calc(100% - 150px);
    bottom: auto;
    left: 0;
    right: 0;
    width: 100%;
    max-width: calc(100% - 150px);
    max-height: 200px;
    overflow: hidden;
    padding-top: 20px;
    box-sizing: border-box;
}

figure.slider a {
    color: inherit;
    text-decoration: underline;
}

figure.slider {
    display: block;
    margin: 0;
}

.slick-slider {
    padding-left: 0;
    padding-right: 0;
}

.slick-prev, .slick-next {
    width: 26px;
    height: 45px;
    z-index: 10;
    transition: 0.25s opacity;
    opacity: 1.0 !important;
    /* background: rgba(0,0,0,0.15) !important; */
}

.slick-prev,
.slick-prev:focus {
    background: url(images/slider_prev.svg) !important;
    background-position: center !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
}

.slick-next,
.slick-next:focus {
    background: url('images/slider_next.svg') !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
}

.slick-prev:hover {
    opacity: 0.5 !important;
}

.slick-next:hover {opacity: 0.5 !important;}

.slick-next:before,
.slick-prev:before {
    display: none;
    position: absolute;
    top: 15px;
    left: 15px;
    width: 30px;
    height: 30px;
    background: #fff;
    content: '' !important;
}

.slick-next {
    right: 140px;
}

.slick-prev {
    left: 140px;
}

.bg_violetti a {
    color: inherit;
    text-decoration: underline;
}

.bg_vaaleanvioletti {
    background: var(--vaaleanvioletti);
}

.taideslider .slick-prev {
    left: 0px;
}

.taideslider .slick-next {
    right: 0px;
}

.taideslider {
    padding-top: 7.190rem;
    padding-bottom: 7.190rem;
}

.bg_vaaleanvioletti+.kehys {
    margin-top: 5.190rem;
}

.solu p+h3 {
    margin-top: 3.5rem;
}

.referenssiteksti {
    display: block;
    text-align: center;
    padding: 50px 25px 100px 25px;
    box-sizing: border-box;
}

.referenssiteksti > p {
    margin: 0;
}

.referenssiteksti a {
    color: inherit;
    text-decoration: underline;
}

.referenssit .slick-dots {
    position: relative;
}

.referenssit .slick-dots li button:before {
    color: #9f9f9f;
    font-size: 10px;
    line-height: 30px;
    width: 30px;
    height: 30px;
}

.taideslider figure.slider > div > img {
    max-height: calc(100% - 120px);
}

.taideslider figure.slider > div {
    height: 900px;
}

.wpcf7-not-valid-tip {
	background: #740a0a;
	color: var(--valkoinen);
	margin-top: -0.75rem;
	margin-bottom: 0.75rem;
	padding: 0.25rem 0.7rem;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
	background: #740a0a;
	border: 0;
	margin: 2rem 0;
	padding: 2rem;
}

.wpcf7 form.sent .wpcf7-response-output {
	background: var(--violetti);
	border: 0;
	margin: 2rem 0;
	padding: 2rem;
}

#sb_instagram {
  	padding-top: 3.5rem;
	padding-left: 3rem;
  	padding-right: 3rem;
}

.wpcf7-spinner {
  	display: none;
}

form.submitting .wpcf7-spinner {
	visibility: visible;
	display: block;
	margin: 2rem auto;
}

@media screen and (min-width: 2400px) {
    header.etusivu_ylapalkki {
        background-image: url(images/headerkuva-wide.jpg);
    }

    .ylapalkki_absolute_wrapper {
        padding-top: 0;
        height: 1182px;
    }
}

@media screen and (min-width: 2000px) {
    .slick-prev {
        left: calc(50% - 854px);
    }

    .slick-next {
        right: calc(50% - 854px);
    }
}

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

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

    h2 {
        font-size: 3.5rem;
    }

    .laatikko_data {
        padding: 5.048rem 2.048rem 6.143rem 3.048rem;
    }

    .footer_some {
        height: 58px;
    }

    .footer_some > * {
        width: 58px;
        height: 58px;
    }
}

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

    .footer_some {
        height: 51px;
    }

    .footer_some > * {
        width: 51px;
        height: 51px;
    }

    figure.slider > div {
        height: 700px;
    }

    .taideslider figure.slider > div {
        height: 800px;
    }

	.slick-next {
	    right: 50px;
	}
	
	.slick-prev {
	    left: 50px;
	}
}

@media screen and (max-width: 1500px) {
    .kehys {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .solu {
        padding: 2rem;
    }

    .kehys.fhd.esittelyteksti {
        padding-right: 4rem;
    }

    .kehys.fhd.esittelyteksti.tekstiensin {
        padding-right: 0;
        padding-left: 4rem;
    }

    .laatikko {
        width: calc(100% - 4rem);
    }

    footer.alapalkki {
        padding: 6rem 4rem;
    }
}

@media screen and (max-width: 1400px) {
    a.ylalogo {
        width: 20%;
    }

    .ylapalkki_wrapper > nav.paavalikko {
        width: 80%;
    }
}

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

    h2 {
        font-size: 3rem;
    }

    .esittelyteksti_kuva {
        max-width: calc(54% - 4rem);
    }

    .kehys.fhd.esittelyteksti,
    .kehys.fhd.esittelyteksti.tekstiensin {
        gap: 4rem;
    }

    .kehys.fhd.esittelyteksti,
    .kehys.fhd.esittelyteksti.tekstiensin {
        margin-top: 8rem;
        margin-bottom: 6rem;
    }

    nav.paavalikko ul {
        gap: 1.5rem;
    }

    .footer_some {
        height: 49px;
    }

    .footer_some > * {
        width: 49px;
        height: 49px;
    }
	
	#sb_instagram {
		padding-left: 2rem;
		padding-right: 2rem;
	}
}

@media screen and (max-width: 1200px) {
    .ylapalkki_absolute_wrapper {
        padding-top: 60%;
    }
}

@media screen and (max-width: 1100px) {
    a.ylalogo {
        width: 17%;
    }

    .ylapalkki_wrapper > nav.paavalikko {
        width: 83%;
    }
}

@media screen and (max-width: 1000px) {
    .ylapalkki_wrapper {
        padding: 10px;
    }

    .kehys.fhd.esittelyteksti {
        padding-left: 2rem;
        padding-right: 2rem;
        flex-direction: column;
    }

    .kehys.fhd.esittelyteksti.tekstiensin {
        padding-left: 2rem;
        padding-right: 2rem;
        flex-direction: column-reverse;
    }

    .esittelyteksti_kuva {
        order: 0;
        width: 500px;
        max-width: 100%;
        margin: 0 auto;
    }

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

    .palvelut .solu12 {
        text-align: center;
        padding-left: 0;
        padding-right: 0;
    }

    .palvelut .solu6 {
        width: 500px;
        margin: 0 auto;
        text-align: center;
        padding-left: 0;
        padding-right: 0;
    }

    img.palvelu_ikoni {
        margin: 0 auto;
    }

    .hinnasto_wrapper .rivi {
        display: block;
    }

    .hinnasto_wrapper .rivi > .solu6 {
        width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    .laatikko {
        flex-direction: column;
        width: 100%;
    }

    .laatikko_kuva {
        order: 0;
        padding-top: 60%;
        width: 100%;
    }

    .laatikko_data {
        order: 1;
        width: 100%;
        padding: 5rem 2rem;
        text-align: center;
    }

    footer.alapalkki {
        display: block;
        padding: 5rem 2rem;
    }

    .alapalkki_vasen {
        width: 100%;
        margin-bottom: 4rem;
        text-align: center;
        padding-bottom: 0;
    }

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

    .footer_some {
        position: relative;
        justify-content: center;
        margin-top: 2rem;
    }
        
    nav.paavalikko {
        background: var(--valkoinen);
        border-bottom: 5px solid var(--musta);
        padding-top: 60px;
        transform: scaleY(0);
        transform-origin: top;
        transition: 0.5s transform;
        z-index: 5;
        padding-left: 0;
    }

    nav.paavalikko ul {
        flex-direction: column;
        padding-left: 0;
        margin: 0;
        padding: 1rem 0 3rem 0;
        justify-content: flex-start;
        align-items: flex-start;
    }

    .mobile_nav_toggle {
        display: block;
        width: 48px;
        box-sizing: border-box;
        cursor: pointer;
        padding: 5px 10px;
        background: var(--vihrea);
        z-index: 100;
        position: absolute;
        top: 0;
        right: 0;
        background: var(--valkoinen);
    }

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

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

    .avattu .viiva2 {
        opacity: 0;
    }

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

    .mobile_nav_toggle.avattu+.paavalikko {
        transform: scaleY(1.0);
    }
        
    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    .hinnasto_kohta {
        display: block;
        padding: 10px 0;
        font-size: 1rem;
    }
    
    .hinnasto_kohta span {
        display: block;
    }
    
    span.hinnasto_otsikko {
        font-weight: 700;
    }

    nav.paavalikko a {
        color: var(--musta);
        padding-left: 3rem;
        padding-right: 3rem;
        width: 100%;
        box-sizing: border-box;
        border: 0 !important;
    }

    nav.paavalikko a:hover {
        color: var(--musta);
    }

    nav.paavalikko ul li {
        display: block;
        width: 100%;
    }

    .footer_some > * {
        width: 49px;
        height: 49px;
    }

    .ylapalkki_wrapper > nav.paavalikko {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        padding-top: 60px;
    }

    a.ylalogo {
        width: 448px;
        max-width: calc(100% - 100px);
    }

    .ylapalkki_wrapper > h1 {
        font-size: 3rem;
    }

    figure.slider > div {
        height: 400px;
        box-sizing: border-box;
    }

    .taideslider figure.slider > div {
        height: 500px;
        padding-top: 0;
    }

	.referenssiteksti {
	    padding-bottom: 50px;
	    font-size: 0.9em;
	}

    .slick-prev,
    .slick-next {
        bottom: -10px;
        width: 20px;
    }

    .solu12 {
        width: 100%;
    }

    .solu11,
    .solu10,
    .solu9,
    .solu8,
    .solu7,
    .solu6,
    .solu5 {
        width: calc(50%);
    }

    .solu4,
    .solu3,
    .solu2,
    .solu1 {
        width: calc(100% / 3);
    }

    .slick-slider {
        padding-left: 0;
        padding-right: 0;
    }

    .slick-next {
        right: 15px;
    }

    .slick-prev {
        left: 15px;
    }

    figure.slider > div > p {
        position: relative;
        top: unset;
        bottom: unset;
        left: unset;
        right: unset;
    }

	.cv .solu {
		padding-left: 0;
		padding-right: 0;
	}

    figure.slider > div > p {
        max-width: 100%;
    }

	.taideslider {
	    padding-top: 3rem;
	    padding-bottom: 3rem;
	}
	
	#sb_instagram {
		padding-left: 0rem;
		padding-right: 0rem;
	}
}


@media screen and (max-width: 800px) {
    header.etusivu_ylapalkki {
        background-image: url(images/headerkuva-mobiili.jpg);
    }

    .ylapalkki_absolute_wrapper {
        /*padding-top: 168%;*/
		padding-top: 0;
		height: 95vh;
		min-height: -moz-available;
		min-height: -webkit-fill-available;
		min-height: fill-available;
    }

    a.paalogo {
        height: 60%;
        bottom: 21%;
    }

    .solu11,
    .solu10,
    .solu9,
    .solu8,
    .solu7,
    .solu6,
    .solu5 {
        width: 100%;
    }

    .solu4,
    .solu3,
    .solu2,
    .solu1 {
        width: 50%;
    }

	figure.slider > div > img {
	    max-width: 100%;
	}

    .taideslider figure.slider > div > img {
        max-width: calc(100% - 2px);
    }
	
	html, body {
    	font-size: 16px;
  	}
}

@media screen and (max-width: 500px) {
    .ylapalkki_wrapper > h1 {
        font-size: 2.5rem;
    }
}

@media screen and (max-width: 400px) {
    .ylapalkki_wrapper > h1 {
        font-size: 2rem;
    }
}