/** Generated: Tuesday, 1st of July 2025, 06:22:16 AM // Powered by AIOM+ (All In One Minify) created by FlipZoom Media Inc. - David Karich (flipzoom.de) **/
/*@font-face { font-family: 'Open Sans'; src:  url('/files/fonts/OpenSans-Regular.woff2') format('woff2'), url('/files/fonts/OpenSans-Regular.woff') format('woff'); }*/

/*
@font-face {
	font-family: 'Avenir Next Bold';
	src:
		url('/files/fonts/AvenirNextLTPro-Bold.woff2') format('woff2'),
		url('/files/fonts/AvenirNextLTPro-Bold.woff')  format('woff')
}

@font-face {
	font-family: 'Avenir Next Light';
	src:
		url('/files/fonts/HKGrotesk-Light.woff2') format('woff2'),
		url('/files/fonts/HKGrotesk-Light.woff')  format('woff')
}*/


@import url('https://fonts.googleapis.com/css2?family=Chonburi&family=EB+Garamond:wght@400..800&display=swap');
* {
	text-decoration: none;
	margin: 0;
	padding: 0;
}

*,
:after,
:before { box-sizing: border-box }

textarea,
select,
input:not([type=checkbox]):not([type=radio]),
button {
	-webkit-appearance: none;
	outline: none;
}

a:hover { transition: all .3s ease }

body {
	width: 100vw;
	overflow-x: hidden;
}

.up { text-transform: uppercase }

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

html,
body,
.h-100 { height: 100% }

#wrap {
	min-height: 100%;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	width: 100vw;
}

header,
main,
footer { flex-shrink: 0 }

main { flex-grow: 1 }

#hero,
.rel,
.video { position: relative }

.abs,
.video iframe,
.video video { position: absolute }

.btn,
.tc { text-align: center }

.tr { text-align: right }

.tl { text-align: left }

.text-white { color: #fff }

html { -ms-overflow-style: scrollbar }

#menu-toggler,
.hidden,
.tab-content,
[hidden],
input.hidden:not([type=checkbox]):not([type=radio]){ display: none }

#logo,
.block,
.nav-item a,
input:not([type=checkbox]):not([type=radio]),
label,
select,
textarea,
.panel.show { display: block }

.inl,
.btn,
.nav-item {
	display: inline-block;
	position: relative
}

.mid { vertical-align: middle }

strong { font-weight: bolder }
.vh-100 { min-height: 100vh }
.vw-100 { width: 100vw }

h1,
h2 { line-height: 1.15em }

#details .item,
h1,
h2,
h3,
main ul,
ol,
p,
table { margin-bottom: 15px }

header .ui-title,
header ul,
main ul:last-child,
ol:last-child,
p:last-child,
.mb-0 { margin-bottom: 0 }

main ul,
ol { margin-left: 18px }

.clear { clear: both }

.w-100,
input[type=submit].btn-block,
input[type=reset].btn-block,
input[type=button].btn-block { width: 100% }

.w-50 { width: 50% }

#menu-toggler {
	border: none;
	z-index: 1500
}
a,
#menu-toggler,
.point,
button { cursor: pointer }

select.custom {
	background-image: url(data:image/svg+xml;charset=utf-8,%3Csvg%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20x%3D%220px%22%20y%3D%220px%22%20fill%3D%22%23555555%22%20%0A%09%20width%3D%2224px%22%20height%3D%2224px%22%20viewBox%3D%22-261%20145.2%2024%2024%22%20style%3D%22enable-background%3Anew%20-261%20145.2%2024%2024%3B%22%20xml%3Aspace%3D%22preserve%22%3E%0A%3Cpath%20d%3D%22M-245.3%2C156.1l-3.6-6.5l-3.7%2C6.5%20M-252.7%2C159l3.7%2C6.5l3.6-6.5%22%2F%3E%0A%3C%2Fsvg%3E);
	padding-right: 25px;
	background-repeat: no-repeat;
	background-position: right center;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none
}

input:not([type=checkbox]):not([type=radio]),
select,
textarea {
	width: 100%;
	font-size: 1rem;
	padding: .375rem .75rem;
	color: #495057;
	background-color: #fff;
	border: 1px solid #ced4da;
	border-radius: 5px;
	line-height: 1.4rem
}

label { margin-bottom: 4px }

.container {
	width: 95%;
	max-width: 1200px;
	padding-right: 15px;
	padding-left: 15px;
	margin-right: auto;
	margin-left: auto;
	position: relative
}

.flex,
.cell,
.row {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
}

.cell {
	-webkit-flex-direction: column;
	-moz-flex-direction: column;
	-ms-flex-direction: column;
	-o-flex-direction: column;
	flex-direction: column;
	justify-content: center;
	width: 100%;
	height: 100%;
}

.jr {
	justify-content: flex-end;
	flex-grow: 1
}

.row {
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	margin-right: -15px;
	margin-left: -15px
}

.rr { flex-direction: row-reverse }

.col,
.col-2,
.col-3,
.col-4,
.col-5,
.col-6,
.col-7,
.col-8,
.col-9 {
	position: relative;
	width: 100%;
	min-height: 1px;
	padding-right: 15px;
	padding-left: 15px;
	-webkit-box-flex: 0
}

.col {
	-ms-flex-preferred-size: 0;
	flex-basis: 0;
	-ms-flex-positive: 1;
	flex-grow: 1;
	max-width: 100%;
}

.col-9 {
	-ms-flex: 0 0 75%;
	flex: 0 0 75%;
	max-width: 75%
}

.col-8 {
	-ms-flex: 0 0 66.6666%;
	flex: 0 0 66.6666%;
	max-width: 66.6666%
}

.col-7 {
	flex: 0 0 58,333333%;
	max-width: 58.333333%
}

.col-6 {
	-ms-flex: 0 0 50%;
	flex: 0 0 50%;
	max-width: 50%
}

.col-5 {
	-ms-flex: 0 0 41.666666%;
	flex: 0 0 41.666666%;
	max-width: 41.666666%
}

.col-4 {
	-ms-flex: 0 0 33.3333%;
	flex: 0 0 33.3333%;
	max-width: 33.3333%
}

.col-3 {
	-ms-flex: 0 0 25%;
	flex: 0 0 25%;
	max-width: 25%
}

.col-2 {
	-ms-flex: 0 0 16.666666%;
	flex: 0 0 16.666666%;
	max-width: 16.666666%
}

.p-2 { padding: .6rem }

.pt-2,
.py-2 { padding-top: .6rem }

.pr-2,
.px-2 { padding-right: .6rem }

.pb-2,
.py-2 { padding-bottom: .6rem }

.pl-2,
.px-2 { padding-left: .6rem }

.p-3 { padding: 1rem }

.pt-3,
.py-3 { padding-top: 1rem }

.pr-3,
.px-3 { padding-right: 1rem }

.pb-3,
.py-3 { padding-bottom: 1rem }

.pl-3,
.px-3 { padding-left: 1rem }

.p-4 { padding: 1.5rem }

.pt-4,
.py-4 { padding-top: 1.5rem }

.pr-4,
.px-4 { padding-right: 1.5rem }

.pb-4,
.py-4,
.py-54 { padding-bottom: 1.5rem }

.pl-4,
.px-4 { padding-left: 1.5rem }

.p-5 {
	padding: 3rem
}

.pt-5,
.py-5,
.py-54 {
	padding-top: 3rem
}

.pr-5,
.px-5 {
	padding-right: 3rem
}

.pb-5,
.py-5 {
	padding-bottom: 3rem
}

.pl-5,
.px-5 {
	padding-left: 3rem
}

.p-0,
.px-0,
.pl-0 {
	padding-left: 0;
}

.p-0,
.px-0,
.pr-0 {
	padding-right: 0;
}

.p-0,
.py-0,
.pt-0 {
	padding-top: 0;
}

.p-0,
.py-0,
.pb-0 {
	padding-bottom: 0;
}

.m-2,
.my-2,
.mt-2 { margin-top: .6rem }

.m-2,
.my-2,
.mb-2 { margin-bottom: .6rem }

.m-2,
.mx-2,
.ml-2 { margin-left: .6rem }

.m-2,
.mx-2,
.mr-2 { margin-right: .6rem }

.m-3,
.mt-3,
.my-3 {
	margin-top: 1rem
}

.m-3,
.mr-3,
.mx-3 {
	margin-right: 1rem
}

.m-3,
.mb-3,
.my-3 {
	margin-bottom: 1rem
}

.m-3,
.ml-3,
.mx-3 {
	margin-left: 1rem
}

.m-4,
.mt-4,
.my-4 {
	margin-top: 1.5rem
}

.m-4,
.mr-4,
.mx-4 {
	margin-right: 1.5rem
}

.m-4,
.mb-4,
.my-4 {
	margin-bottom: 1.5rem
}

.m-4,
.ml-4,
.mx-4 {
	margin-left: 1.5rem
}

.m-5,
.mt-5,
.my-5 {
	margin-top: 3rem
}

.m-5,
.mr-5,
.mx-5 {
	margin-right: 3rem
}

.m-5,
.mb-5,
.my-5 {
	margin-bottom: 3rem
}

.m-5,
.ml-5,
.mx-5 {
	margin-left: 3rem
}

.mx-auto {
	margin-left: auto;
	margin-right: auto
}

.m-0,
.my-0,
.mt-0 {
	margin-top: 0;
}

.m-0,
.my-0,
.mb-0 {
	margin-bottom: 0;
}

.m-0,
.mx-0,
.ml-0 {
	margin-left: 0;
}

.m-0,
.mx-0,
.mr-0 {
	margin-right: 0;
}

.video {
	padding-bottom: 56.25%;
	max-width: 100%;
}

.video iframe,
.video video {
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: none
}

@media screen and (max-width:1200px) {
	.r2 {
		-ms-flex: 0 0 100%;
		flex: 0 0 100%;
		max-width: 100%
	}
	.r22 {
		-ms-flex: 0 0 50%;
		flex: 0 0 50%;
		max-width: 50%
	}
	.r23 {
		-ms-flex: 0 0 33.3333%;
		flex: 0 0 33.3333%;
		max-width: 33.3333%
	}
	.rh2 { display: none }
}

@media screen and (max-width:1000px) {
	.r1 {
		-ms-flex: 0 0 100%;
		flex: 0 0 100%;
		max-width: 100%
	}
	.r12 {
		-ms-flex: 0 0 50%;
		flex: 0 0 50%;
		max-width: 50%
	}
	.r13 {
		-ms-flex: 0 0 33.3333%;
		flex: 0 0 33.3333%;
		max-width: 33.3333%
	}
	.rh1 { display: none }
}

@media screen and (max-width:750px) {
	.r7 {
		-ms-flex: 0 0 100%;
		flex: 0 0 100%;
		max-width: 100%
	}
	.r72 {
		-ms-flex: 0 0 50%;
		flex: 0 0 50%;
		max-width: 50%
	}
	.rh7 {
		display: none
	}
}

@media screen and (max-width:550px) {
	.r5 {
		-ms-flex: 0 0 100%;
		flex: 0 0 100%;
		max-width: 100%
	}
	.r52 {
		-ms-flex: 0 0 50%;
		flex: 0 0 50%;
		max-width: 50%
	}
	.rh5 {
		display: none
	}
}

@media screen and (max-width:400px) {
	.r4 {
		-ms-flex: 0 0 100%;
		flex: 0 0 100%;
		max-width: 100%
	}
}

@media screen and (max-width:360px) {
	.r3 {
		-ms-flex: 0 0 100%;
		flex: 0 0 100%;
		max-width: 100%
	}
}

table { border-collapse: collapse }

td { padding: 8px 10px }
th { padding: 5px 10px }

.breadcrumb {
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 1rem;
	list-style: none
}

.breadcrumb-item+.breadcrumb-item:before {
	display: inline-block;
	padding-right: .5rem;
	padding-left: .5rem;
	color: #6c757d;
	content: "/"
}

#menu .open_menu {
	position: absolute;
	top: 0;
	right: 0;
	font-size: 1.4rem;
	height: 42px;
	width: 42px;
	z-index: 60;
	border: 0;
	background: transparent
}

@font-face {
	font-family: '39479377';
	src: url('/files/fonts/39479377.eot?54046653');
	src: url('/files/fonts/39479377.eot?54046653#iefix') format('embedded-opentype'),
		url('/files/fonts/39479377.woff2?54046653') format('woff2'),
		url('/files/fonts/39479377.woff?54046653') format('woff'),
		url('/files/fonts/39479377.ttf?54046653') format('truetype'),
		url('/files/fonts/39479377.svg?54046653#39479377') format('svg');
	font-weight: normal;
	font-style: normal;
}

[class^="icon-"]:before,
[class*=" icon-"]:before,
.slick-prev:before,
.slick-next:before {
	font-family: "39479377";
	font-style: normal;
	font-weight: normal;
	speak: none;
	display: inline-block;
	text-decoration: inherit;
	width: 1em;
	margin-right: .2em;
	text-align: center;
	font-variant: normal;
	text-transform: none;
	line-height: 1em;
	margin-left: .2em;
}
 
.icon-mail:before { content: '\e800'; } /* '' */
.icon-left-open:before,
.slick-prev:before { content: '\e801'; } /* '' */
.icon-right-open:before,
.slick-next:before { content: '\e802'; } /* '' */
.icon-phone:before { content: '\e803'; } /* '' */
.icon-music:before { content: '\e804'; } /* '' */
.icon-search:before { content: '\e805'; } /* '' */
.icon-check:before { content: '\e806'; } /* '' */
.icon-cancel:before { content: '\e807'; } /* '' */
.icon-basket:before { content: '\e808'; } /* '' */
.icon-down-open:before { content: '\e809'; } /* '' */
.icon-up-open:before { content: '\e80a'; } /* '' */
.icon-right-open-1:before { content: '\f006'; } /* '' */
.icon-left-open-1:before { content: '\f007'; } /* '' */
.icon-twitter:before { content: '\f099'; } /* '' */
.icon-facebook:before { content: '\f09a'; } /* '' */
.icon-left-circled:before { content: '\f0a8'; } /* '' */
.icon-right-circled:before { content: '\f0a9'; } /* '' */
.icon-menu:before { content: '\f0c9'; } /* '' */
.icon-pinterest-circled:before { content: '\f0d2'; } /* '' */
.icon-mail-alt:before { content: '\f0e0'; } /* '' */
.icon-linkedin:before { content: '\f0e1'; } /* '' */
.icon-mobile:before { content: '\f10b'; } /* '' */
.icon-youtube:before { content: '\f167'; } /* '' */
.icon-youtube-play:before { content: '\f16a'; } /* '' */
.icon-instagram:before { content: '\f16d'; } /* '' */
.icon-right-circled2:before { content: '\f18e'; } /* '' */
.icon-left-circled2:before { content: '\f190'; } /* '' */
.icon-spotify:before { content: '\f1bc'; } /* '' */
.icon-pinterest:before { content: '\f231'; } /* '' */
.icon-map:before { content: '\f279'; } /* '' */
.icon-facebook-squared:before { content: '\f308'; } /* '' */
.icon-linkedin-squared:before { content: '\f30c'; } /* '' */


.gr,
.nappi:hover {
    background: #688c46;
}

.bl,
.nappi {
    background: #005381;
}

body{
    font-family: "EB Garamond", serif;
    font-weight: 400;
    font-style: normal;
    line-height: 1.5;
    font-size: 20px;
    color:#242424;
}

.bg-white{
    background-color: #fff;
}

.text-black{
    color:#242424;
}

body,
.videot h2,
.box a.nappi,
.yhteys h3 {
    overflow-x: hidden;

}




nav a span,
nav a strong {
    line-height: 1em;
    font-size: 1.2em;
}


.videot h2 {
    color: #242424;
}

.video {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

a,
h1,
nav span {
    color: #005381;
}
.some{
    position: absolute;
    top: 15px;
    right: 30px;
}

/*header nav a.active{
        border-bottom: 2px solid #005381;
}*/
@media screen and (min-width: 1140px){
    header nav a.active,header nav a:hover,header.small nav a:hover  {

        border-bottom: 2px solid #005381;


    }
}

h2,h3,h4,h5,h6{
    color: #013d65;
}

.bl,
.gr,
.box h2,
#subbox h2,
.caption h1,
a.nappi,
.box a,.caption h3,.caption h2,.caption h4,.caption h5 {
    color: #efefec
}
/*
h1,
h2,
h3,
header,
.caption {
        text-transform: uppercase
}*/

.videot h2,
.news h3 {
    text-transform: none
}

.home h1 {
    margin-bottom: 5px;
    line-height: 40px;
}

.home .caption h1 {
    font-size: 2.8em;
    line-height: 1em;
}

#lang img {
    display: block;
    width: 100%
}

.caption {
    position: absolute;
    top:50px;
    right: 20px;
    display: inline-block;
    text-align: right;
}

#hero .container {
    max-width: 900px
}

.slide {
    animation : 350s linear .2s normal none infinite zoominout;
    width: 100%;
    height: 500px;
}

.slick-dots{
    bottom:30px !important;
}

.left{
    float:left;
}

.right{
    float:right;
}



header nav,
.caption,
.box a,strong {
    font-weight: 700;
}

h1{
    font-family: "Chonburi", serif;
    font-weight: 400;
    font-style: normal;
}

h2,h3,h4,h5,h6{
    /*font-family: Arial, sans-serif;*/
    font-weight: 700;
}

.home h1 {
    font-size: 2.4em;
    margin-bottom: 5px
}
.home h2 {
    font-size: 1.5em
}

h1,
h2,
h1 strong,
h2 strong {
    line-height: 1.2em
}

h1{
    font-size: 2.4em;
    margin-bottom: 30px;
}

h2,home .caption h3{
    font-size: 1.4em
}

.videot h2 {
    font-size: 1em;
    margin: 10px 0;
}

h2.title{
    font-size: 3rem;
    overflow: visible;
}

header nav a {
    display: inline-block;
    vertical-align: middle;
    border-bottom: 2px solid transparent;
}

.container {
    max-width: 1100px;
    width: 90%;
    margin: 0 auto;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 500;
    /* border-bottom: 1px solid #ccc;
     -webkit-box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.75);
     -moz-box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.75);
     box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.75);*/
    background: transparent;
}

header.small{
    background: #fff;
    box-shadow: 0 2px 2px -2px #000;
}

header #logo {
    background: url(/site/assets/files/1/logo_valk.png) no-repeat;
    background-size: auto;
    background-size: 100% 100%;
    width: 300px;
    height: 116px;
    margin: 10px 20px;
}

header.small #logo {
    background: url(/site/assets/files/1/logo_sininen.png) no-repeat;
    width: 300px;
    background-size: auto;
    background-size: 100% 100%;
    height: 116px;
}

.adminbar-loaded header {
    top: 40px
}
/*
main {
        margin-bottom: 40px
}*/

.home main,
.yhteys main {
    margin-bottom: 0
}
/*
#logo {
    width: 320px;
    padding: 10px 20px;
}*/

header nav {
    margin: 45px 20px 0 0
}

header nav .nav-item{
    padding:10px 15px;
}

header nav a,header nav .empty-link, header .some a  {

    color:#efefec;



}

header.small nav a,header.small nav .empty-link, header.small .some a{
    color:#005381;
}

.submenu,.open_menu{
    display: none;
}

.nav-item:hover .submenu{
    display: block;
}

.submenu{
    position: absolute;
    top:50px;
    background-color: #efefec;
    left: 5px;
    padding: 0.5rem 0.5rem;

}

.submenu a{
    color: #242424;
    padding:10px 10px;
    width: 220px;
    text-transform: none;
    font-size: 17px;
}

.cell {
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    -o-flex-direction: column;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    display: flex;
}

.caption h1,.caption h2,.caption h3{
    margin-bottom: 0px;
}

.caption h3,.caption .nappi{
    margin-top:30px;
}

.txt {
    width: 60%
}

main .right {
    width: 40%
}

#services {
    background: #d0d4d8;
}

.inner {
    padding: 20px 15px;
    padding-bottom: 100px;
}

.lift {
    margin-bottom: 20px
}

.air {
    padding: 60px 0;
}

#hero img,
#videos img,#hero video {
    width: 100%
}

#hero video{
    display: block;
    filter:brightness(70%);
    min-height: 350px;
    object-fit: cover;
}

/*
.home #hero img{
        height: 650px;
        object-fit: unset;
}*/

#services {
    background:#d0d4d8;
    border-top: 1px solid #ccc;
}

.home #info .two:first-child {
    width: 70%;
    margin-right: 5%
}

.home #info .two:last-child {
    width: 25%;
    background: #d0d4d8;
    padding: 3%;
}



#services .col-4 .inner{
    /*width: 31%;*/
    background: #efefec;
}

#services h3 {
    font-size: 1.2em;
    margin: 0;
    /*padding: 12px 5% 8px;*/
    /*width: 90%;*/
}

#services img {
    width: 100%
}




/*#hero { margin-top: 118px }*/

#hero p {
    display: block;
    margin: -0;
    line-height: 1em;
}

.clock-center{
    vertical-align: -2px;
}

lite-youtube{
    max-width: 800px !important;
}

.zoom-image-hover{
    .image-container{
        overflow: hidden;
        img{
            width: 100%;
            transition: 1.3s;
        }
    }
    &:hover {
        .image-container{
            img{
                transform: scale(1.1);
            }
        }
    }
}

.news,.events{
    .news-item,.event-item{
        color:#000;
        border:1px solid #EEE;
        &:hover{
            background-color: #EEE;
            color:#000;
        }

    }
}

.news-grid,.events-grid{
    display:grid;
    grid-template-columns: 1fr 300px;
    grid-gap:1rem;
    .newest-news,.newest-events{
        a{
            color:#000;
            border-bottom: 1px solid #013d65;
            &:hover{
                background-color:#013d65;
                color:#FFF;
            }
        }
    }
    ul.news-category-list{
        margin-left: 0px;
        li:last-child{
            margin-right: 0px;
        }
        .news-category-button{
            display: inline-block;
            padding: 5px 10px;
            background-color: #013d65;
            color:#FFF;
            margin-right: 5px;
            margin-top:15px;
            border-radius: 25px;
            border:unset;
            text-decoration: unset;
            font-weight: 400;
            text-transform: uppercase;
            font-size: 12px;
            &:hover{
                text-decoration: underline;
            }
            &.active,&:hover{
                background-color: #000;
            }
        }
    }
}

footer {
    padding: 25px 0;
    border-top: 1px solid #242424;
    background-color: #d0d4d8;
}

footer.air {
    padding: 25px 0
}
/*
footer img {
        width: 100px
}*/

.pad {
    margin-top: 35px;
}

#contact .inl {
    width: 32%;
    margin-right: 2%;
}

#contact .inl:nth-child(3n) {
    margin-right: 0
}

#contact .inl h2 {
    font-size: 1.1em;
    margin: 0;
}

#content {
    margin-bottom: 40px
}

.box {
    padding: 30px 30px;
    width: 90%;
    margin-bottom: 20px;
    border-radius: 5px;
    box-shadow: 0 0 2px 0px #d0d4d8; /* Musta box shadow */
}

.news h3 {
    margin: 10px 0;
}

.box a.nappi {
    border: 1px solid #efefec;
    background: none;
    margin-top: 20px;
}

.box a.nappi:hover {
    background: #005381;
}

.news:last-child {
    border: none;
    padding: 0;
    margin: 0;
}

#video.box,
.yhteys .box {
    padding: 0;
    width: 100%;
    background: none;
}

#video.box {
    border: 1px solid #ccc;
}

.sivu #video {
    margin-top: 20px
}

.sub {
    padding-top: 30px;
    margin-bottom: -20px;
}

.sub a,
.gallery a {
    color: #242424;
}

.gallery .plus{
    position: absolute;
    bottom:15px;
    right: 30px;
}

.plus svg{
    height: 1.5rem;
    width: 1.5rem;
}

.sub img,
.gallery img {
    width: 100%;
    margin-bottom: 8px;
    border: 1px solid #cfcfcf;
}

.sub .three {
    width: 31%;
}

a,
button {
    cursor: pointer 
}

#subscribe {
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,.4);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 888;
    display: none;
}

#close {
    background: url('/files/x.png') no-repeat center center / cover;
    width: 30px;
    height: 30px;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 900;
}

*:hover {
    transition: ease .5s all
}

.gallery img:hover,
.sub img:hover {
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
}

#map {
    margin-top: 30px
}

#map iframe {
    width: 100%;
    height: 300px
}

.right {
    clear: right
}
.picimg {
    width: 460px;
}

#videos img,
#sunmap img {
    width: 100%
}

.yhteys h3 {
    margin: 0
}



#lang {
    display: block;
    position: absolute;
    top: 5px;
    right: 40px;
    z-index: 200;
    background-color: #efefec;
    padding:5px 5px;
    border-radius: 3px;
}

header.small #lang{
    background-color: #005381;
    color: #efefec;
}

.yhteys td {
    width: 50%
}

.three, .four, .five, .six {
    margin: 0 2% 15px 0;
}

iframe,#hero img,#services img{
    display: block;
}

.nappi, button {
    display: inline-block;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 60px;
    color: #FFF;
}

.nappi.absolute{
    position: absolute;
    bottom:15px;
}

.four {
    width: 22.5%;
}

.close{
    display: none;
}


.two:nth-child(2n+1) {
    margin-right: 4%;
}
.two {
    width: 48%;
    margin-bottom: 25px;
}

.box{
    width: 100%;
}

#breadcrumb{
    background-color: #d0d4d8;
}

#breadcrumb .container{
    padding: 0px 0px;
}

#breadcrumb a{
    font-weight: 400;
    font-family: "EB Garamond", serif;
}

.grid-three{
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(20rem,1fr));
    grid-gap: 1rem;
}


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

.w-100 img{
    width: 100%;
}


.yhteys hr{
    background-color: #013d65;
    margin-top: 15px;
    margin-bottom: 15px;
    height: 1px;
    border: none;
}



@media screen and (max-width: 1140px){

    .nav-item:hover .submenu{
        display: none;
    }

    header {
        background-color: #fff;
        text-align: center;
        .some{
            right: 15px;
        }
        .some a{
            color:#005381;

        }
    }


    header nav .nav-item{
        padding: 0px 0px;
    }

    header nav i{
        display: none;
    }

    header #logo,header.small #logo {
        background: url(/site/assets/files/1/logo_sininen.png) no-repeat;
        background-size: contain;
        position: relative;
        width: 300px;
        left: 0;
        right: 0;
        margin: 5px auto;
    }

    header #lang{
        background:#005381;
        color:#efefec;
    }


    #logo {
        width: auto;
        max-width: 90%;
    }
    nav.right {
        width: 100%;
        margin: 0;
        padding: 0;
        position: absolute;
        top: 175px;
        left: 0;
        float: none;
        display: none;
        background: #fff;
        text-align: left;
    }

    header .container, #menu.show, #menu li,.nav-item .submenu.show, #logo img, #menu .open_menu,.sub .second_submenu.show{
        display: block
    }

    #toggle,
    header nav li,
    header nav li:first-child span,
    header nav a {
        display: block
    }
    header nav li,
    header nav a {
        margin: 0
    }
    header nav a,
    header nav a.active,
    header nav a:hover,header.small nav a,header.small nav .empty-link,header nav .empty-link {

        padding: 10px 15px;
        color: #005381;
        border-top: 1px solid #eee;
    }
    .slide {
        height: 400px
    }
    .home .caption h1 {
        font-size: 2.5em
    }
    .home #info .two:first-child,
    .home #info .two:last-child,
    .left,
    .right,
    main .right {
        width: 100%;
        margin: 0 auto;
        display: block;
        float: none;
    }
    .home #info .two:first-child {
        margin-bottom: 15px
    }

    .box {
        width: 100%;
        padding: 15px 15px;
        margin-top: 30px
    }
    h1 {
        margin-bottom: 10px
    }
    main,
    .home main {
        margin-top: 175px;
    }
    .pad {
        margin-top: 40px
    }
    #hero {
        margin-top: 0
    }
    .adminbar-loaded header {
        top: 0
    }
    #toggle {
        width: 100%;
        background: #005381 url("/files/menu.png") no-repeat right center;
        margin-bottom: -1px;
    }
    h1,
    .home .caption h1,
    .home h1 {
        font-size: 1.4em
    }
    h2 {
        font-size: 1.2em
    }
    h3 {
        font-size: 1em
    }
    .air {
        padding: 20px 0
    }
    .home #info .two:last-child {
        width: 90%;
        padding: 20px 5%;
    }

    .slick-dots {
        display: none !important;
    }

    #menu-toggler{
        width: 40px;
        height: 40px;
        background: transparent;
        position: absolute;
        top: 5px;
        right: 15px;
        z-index: 200;
        display: block;
    }

    #menu-toggler svg {
        fill: #000;
        padding: 0px 10px;
        border:1px solid #000;
        border-radius: 50%;
        display: block;
        margin: 0 auto;
    }

    .mobile_button{
        height: 50px;
        position: relative;
        background-color:#fff;
    }

    .nav-link,.empty-link {
        padding: 10px 15px;
        font-size: 1.0rem;
    }
    .open_menu,#menu-toggler{
        padding: 0px 0px;
    }

    .open_menu{
        display:block;
        color: #000;
    }

    #menu .open_menu{
        right: 15px;
    }

    .open_menu::after {
        content: "+";
    }

    .open_menu.open::after {
        content: "-";
    }

    .submenu{
        left:0px;
        width:100%;
        position: relative;
        padding: 0rem;
        top:0px;
        background-color:#fff;
    }

    #menu .submenu a, #menu .second_submenu a{
        color: #005381;
        padding: 10px 35px;
        width: 100%;
    }




    #menu.show ~ .mobile_button .open_menu{
        display: none;
    }

    #menu ~ .mobile_button .close_menu{
        display: none;
    }

    #menu.show ~ .mobile_button .close_menu{
        display: block;
    }
}

@media screen and (max-width: 1000px){
    #services .three:nth-child(n){
        width: 100%;
        max-width: 340px;
        margin: 0 auto 15px;
        display: block;
    }
    .yhteys .three:nth-child(n) {
        width: 50%;
        margin: 0 0 15px;
    }
    .three:nth-child(odd){
         margin-right: 4%
    }
    .three:nth-child(even){
         margin-right: 0
    }
}

@media screen and (max-width: 800px){
    main {
        .news-grid,.events-grid{
            grid-template-columns: minmax(0,1fr);
        }
    }
    .grid-two{
        grid-template-columns: minmax(0,1fr);
    }
}

@media screen and (max-width: 750px){
    .gallery a {
        width: 48%
    }
    .gallery .four:nth-child(odd){
        margin-right: 4%
    }
    .gallery .four:nth-child(even){
        margin-right: 0
    }
    .caption {
        position: relative;
        padding: 20px 5%;
        width: 100%;
        top: 0;
        left: 0;
        background: #fff;
        color:#000;
        text-align: center;
    }

    .caption h1,.caption h2,.caption h3,.caption h4,.caption h5{
        color: #005381;
    }



    .caption .nappi{
        background: #44793e;
    }

    .caption .nappi:hover{
        text-decoration: underline;
    }

    .yhteys .three:nth-child(n){
        width: 100%;
        margin: 0 auto 15px;
        display: block;
    }
    .slide {
        height: 250px
    }
    .two:nth-child(n){
        width: 100%;
        margin: 0 auto 20px;
    }
    /*
    .home #hero img {
            height: 400px;
            object-fit: cover;
    }
    */

    .yhteys .air{
        padding: 20px 15px;
    }

    .grid-two{
        grid-template-columns: minmax(0,1fr);
    }


}

@media screen and (max-width: 450px){
    .home h2 {
        word-wrap: break-word;
        font-size: 1.2rem;
    }

    .home .caption h1,h1{
        font-size: 1.3rem;
    }

    main h2{
        font-size: 1.4rem;
    }
}

@media screen and (max-width: 350px){
    .box h2 {
        word-wrap: break-word
    }

    .grid-three{
        grid-template-columns: minmax(0,1fr);
    }

    .home .caption h1,h1{
        font-size: 1.2rem;
    }
}

.slick-dots {
    bottom: 0
}
