html {
	height:100%;
	background:#fff;
}

body {
	color:#010101;
	font:normal normal 18px 'Open Sans', sans-serif;
	line-height:1.6em;
	font-weight:400;
	background-color:#fff;
	overflow:hidden;
	background-image: url(/media/tiedostot/bg.jpg);
 	background-repeat: no-repeat;
	background-attachment: fixed;
  	background-position: center; 
}




h1, h2, h3, h4, #nav ul li.level1 a span {font-family: 'Yanone Kaffeesatz', sans-serif;}

h1 { font-size: 40px; line-height:1.15em;  margin:0 0 20px; text-transform: uppercase;}
h2 { font-size: 35px; line-height:1.25em;  margin:0 0 20px; text-transform: uppercase;}
h3 { font-size: 30px; line-height:1.15em;  margin:0 0 20px; text-transform: uppercase;}
h4 { font-size: 28px; line-height:1.25em;  margin:0 0 20px; text-transform: uppercase;}
h5 { font-size: 18px; font-weight:400; }
h6 { font-size: 12px; font-weight:400; }

.scase-hedis h2 {
	font-size: 72px;
    line-height: 1.15em;
    margin: 0;
    color: #ffffff;
    text-shadow: 1px 2px 5px #00000096;
    width: 100%;
    text-align: center;
    font-weight: normal;
    text-transform: uppercase;
}
.scase-hedis h3 {font-size:32px; line-height: 1.15em; font-weight:400; margin:0; color: #ffffff;
    text-shadow: 1px 2px 5px #00000096;     width: 55%;
    float: right;}

h1+h3 {margin-bottom:20px;}


/* värit */
h1 {color:#0072d1;}
h2 {color:#0072d1;}
h3 {color:#0072d1;}
h4 {color:#0072d1;}


/* yleiset */
a {
	color:#0372d1;
	font-weight:700;
	text-decoration:none !important;
}
a:hover {
	color:#000;
}
a.nappi {
	
    display: inline-block;
    margin: 10px 0;
    font-size: 22px;
    background: #04419a !important;
    text-decoration: none;
    text-shadow: none;
    color: #ffffff;
    padding: 15px 25px 15px 25px;
	text-transform: uppercase;
    
	
}
	a.nappi:hover {
		background:#eee !important;
		color:#04419a;
		text-decoration:none;
	}

a.nabbi {
    font-size: 22px;
    background: white;
    text-decoration: none;
    text-shadow: none;
    color: #04419a;
        padding: 20px 25px 18px 25px;
    
	
}

a.nabbi:hover {
    background: #04419a;
    color: #fff;
}

strong,
b {
	font-weight:700;
}

#top a {
color:#fff;
text-decoration:none !important;
}

.arkki {
	max-width:100% !important;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;	
	padding:0 20px;
}

h4.trigger {
	    font-size: 22px!important;
}

/* sisalto palstat */
.pad-vas .palsta-sisalto {
	padding-left:60px;
}
.pad-oik .palsta-sisalto {
	padding-right:60px;
	
}

.editor.some {
    max-height: 590px;
}



/* ======== LOMAKE ======== */
.lomake input,
.lomake textarea,
.googlemaps #reittiAlku {
	background:#fdfdfd;
	border:1px solid #aaa;
	color:#333;
}
.lomake select,
.lomake option {
	background:#fff;
	border:1px solid #aaa;
	color:#333;
}
.lomake input:focus,
.lomake textarea:focus,
.lomake input:active,
.lomake textarea:active,
.googlemaps #reittiAlku:focus,
.googlemaps #reittiAlku:active {
	border:1px solid #444;
	background:#fff;
}

.lomake h2 {
	text-transform: uppercase;
	color:#fff;
	font-size:70px;
	line-height:70px;
	text-align:Center;
}

.lomake .lomake-rivi {
	background:none;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}
.lomake-rivi.laheta .label {display:none;}
.lomake-rivi.laheta .kentta {width:100% !important; text-align:center;padding:0;}
.lomake-rivi.laheta {
	background:none !important;
	
}
.lomake-rivi input, .lomake-rivi textarea {
	background:rgba(0,0,0,0.1);
	border:0;
	border-radius:5px;
	text-indent:10px;
	margin:-10px 0 !important;
	height:auto !important;
}
.lomake-rivi textarea {
	margin-top:-5px !important;
	min-height: 150px;
}
.lomake-rivi input[type="text"],
.lomake-rivi input[type="tel"],
.lomake-rivi input[type="email"] {height:40px !important;}
.lomake-rivi.laheta button {
	background:#8ec44d;
	color:#fff;
	border:0;
	display:block;
	width:100%;
	border-radius:7px;
	padding:20px 0px 19px 0;
	font-size:14px;
	text-transform: uppercase;
	font-weight:900;
}
	
	/* ota yhteyttä -vl */
	body.sivu69 .grid_6 > .editor {
		padding-right:60px;
	}
	table.lomsku {
		width:100%;
	}
	table.lomsku h2 {
		text-align:left;
	}
	table.lomsku td {
		padding:0 0 15px;
	}
	table.lomsku td.formLabelHolder {
		width:35% !important;
		padding-right:20px;
	}
	table.lomsku td.formFieldHolder {
		width:65% !important;
	}
	table.lomsku .formTextinput,
	table.lomsku .formTelinput,
	table.lomsku .formEmailinput,
	table.lomsku textarea.formTextarea {
		width:99%;
		background:#fdfdfd;
		border:1px solid #aaa;
		color:#333;
	} 
	body.sivu69 tr.formField-plaintext td {
		padding-bottom:40px;

	}
	.lomsku button.formSubmit {
		display:inline-block;
		border:0;
		cursor:pointer;
		transition:all 300ms;	
		margin: 10px 0;
		font-size: 22px;
		background: #04419a !important;
		text-decoration: none;
		text-shadow: none;
		color: #ffffff;
		padding: 15px 25px 15px 25px;
		text-transform: uppercase;
		font-family:'Yanone Kaffeesatz', sans-serif;
	}
	.lomsku button.formSubmit:hover {
		background:#000;
	}




/* ======== KUVABOXI ======== */
.boxit { }
.boxi {
	
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	    margin-top: 2px;
}
.boxi-wrap {
	position:relative;
	padding:0px;
	overflow:hidden;
	background:#fff;
	background-size: 100% auto;
	background-position: top center;
	background-repeat:no-repeat;
}
.boxi-kuva {
	height:180px;
	background-size:auto;
	background-position: center;
	background-repeat:no-repeat;
	overflow:hidden;
}
.boxi-otsikko {
	position:relative;
}
.boxi-linkit {
	text-align:Center;
}
.boxi-linkit a {
	display:inline-block;
	margin:0px;
	text-transform:uppercase;
	font-weight:700;
	color:#fff;
	text-align:center;
	padding:5px 15px;
	font-size:17px;
	margin:10px auto 0 auto;
	background:rgba(0,0,0,0.2);
}
.boxi-linkit a:hover {
	text-decoration:none;
}
.boxi-sisalto {
	text-align:Center;
	color:#fff;
	line-height:20px;
	margin-top:15px;
}
.boxi-otsikko {
	margin-top:0px;
	margin-bottom:20px;
}
.boxi-otsikko h3 {
	color:#fff;
	font-weight:400;
	font-size:18px;
	margin:0;
	text-align:center;
	line-height:30px;
}
.boxi-otsikko h3 span {
	color:#fff;
}
.boxi .meega {
	position: absolute;
    left: 0;
    top: 0;
    right: 0;
    background: #00000047;
    height: 100%;
}


.boxi .meega:hover {
	background:rgba(0,0,0,0.5);
}
	
	.boxi.fullbox .boxi-wrap {
		background-size:cover;
		background-position:center center;
		border: 4px solid #fff;
	}
	.boxi.fullbox .boxi-kuva {
		display:none;
	}
	.boxi.fullbox .boxi-otsikko {
		position:absolute;
		bottom:0;
		margin:0;
		left:0;
		right:0;
	}
	.boxi.fullbox .boxi-otsikko h3 {
		font-size: 35px;
		line-height: 1.3em;
		color: #fff;
		display: block;
		width: 85%;
		margin: 0 auto 20px;
		transition: all 300ms;
		padding: 15px 15px;
		position: relative;
		z-index: 100;
		background: #00000042;
		
	}
	.boxi.fullbox .boxi-otsikko a {
		text-decoration:none;
	}
	/* hover */
	.boxi.fullbox .boxi-wrap:hover .boxi-otsikko h3 {
		background:#fff;
		color:#0072d1;
	}
	.boxi.fullbox .meega:hover {
		background:transparent;
	}
	.boxi.fullbox .boxi-wrap:before {
    	content: '';
    	padding-top: 100%;
		display: block;
	}
	





/* ======== MOBI-LINKIT ======== */
.mobi-linkit {
    display: none;
}
.mobi-linkit {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 50000;
}
.mobi-linkit ul li {
	list-style-type: none;
    margin: 0;
    float: left;
    width: 50%;
    display: inline-block;
}
.mobi-linkit ul li a {
    display: block;
    padding: 20px 0;
    text-align: Center;
}
.mobi-linkit ul li:first-child a {
	background:#0374d2;
	color:#fff;
	text-decoration:none;
}
.mobi-linkit ul li:last-child a {
	background:#fff;
	color:#0374d2 !important;
	text-decoration:none;
}




/* ======== TOP ======== */
#top {
	
	background:transparent;
	margin-bottom:0px;
	position:absolute;
	top:0;
	left:0;
	right:0;
	margin-bottom:0px;
	z-index:9999;
	border-top:0;
	background: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,212,255,0) 100%);
}
#top #top-wrap {
	max-width:100%;
	margin:0 auto;
	position:relative;
}
#top p {margin:0;}




/* ======== HEADER ========*/
#yhteystiedot {
	display: block;
    background: #04419a;
    padding: 18px 0 14px;
    color: #fff;
    font-size: 17px;
	
}
	#yhteystiedot a {
		font-weight:normal;
		font-family:'Yanone Kaffeesatz', sans-serif;
	}
	#yhteystiedot ul {
		list-style:none;
		margin:0;
	}
	#yhteystiedot ul li {
		margin:0;
		display:inline-block;
		float:left;
		padding:0;
		color:#fff;
	}
	#yhteystiedot .palsta:first-child ul {
	}
		#yhteystiedot .palsta:first-child ul li {
			padding:0 15px 0 0;
		}
		#yhteystiedot .palsta:first-child img {
			height:20px;
			width:auto;
		}
	#yhteystiedot .palsta:last-child ul {
		float:right;
	}	
		#yhteystiedot .palsta:last-child ul li {
			padding:0 0 0 40px; 
		}

		
#header,
#nav {
	display:inline-block;
	float:left;
	margin:0;
}
#header {
	width:30%;
	line-height:1;
	margin-top:0;
	margin-bottom:0;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	display: none;
}
	#header .editor p {
		margin:0;
		padding:25px 10px 5px 20px;
		color:#000;
	}
	#header img {
		max-height:100px;
		width:auto;
	}



/* ======== NAV ========*/
#nav {
	width:100%;
	background:none;
	position: relative;
    z-index: 9999;
}
#nav .arkki {
	margin:10px 0px;
}
#nav ul.menu {
	margin:30px 20px 0 0;
	text-align:right;
}
#nav ul li.level1 {
	display:inline-block;
	width:auto;
	margin:2px 0;
	transition:all 400ms;
} 
#nav ul li.level1 a {
	color: #ffffff;
    font-weight: normal;
    font-size: 20px;
    line-height: 1.2em;
    position: relative;
    text-decoration: none;
    padding: 15px 10px;
    text-shadow: none;
	text-transform:uppercase;
}

	/* hover */
	#nav ul li.level1:hover {
		background:#0f4eab;
    	
		
	}
	#nav ul li.level1:hover a {
		color:#fff;
		text-decoration:none;
		text-shadow: none;
	}

	/* current */
	#nav ul li.level1.current {
		
    color: #ffffff;
    border-bottom: 3px solid #fff;
	background:#0f4eab;
		
	}
	#nav ul li.level1.current a {
		color:#fff;
	}


/* sub nav */
.avaaSubnav {
	display:none;
}
#subnav {
	margin-bottom:0px;
}
#subnav li a {
	padding:0 5px;
	margin:0 5px;
	text-align:center;
	line-height:24px;
	font-size:12px;
	font-weight:bold;
}
#subnav li a:hover {
	background:rgba(0,0,0,0.05);
	text-decoration:none;
}
#subnav li.current a {
	font-weight:bold;
}
#nav .submenu ul,
#nav .submenu li {
	margin:0px;
	padding:0px;
}
#nav .submenu li a {
	padding:5px 8px;
	font-size:16px !important;
	text-shadow:none;
}
#nav ul li.level1 .submenu li a:before {
	display:none !important;
}
#nav ul li.level1 .submenu {
	background: #ffffff;
    
}
#nav ul li.level1 .submenu a {
	color:#0f4eab;
	padding:10px;
	
}


.hr {
    border-bottom: 1px solid #d6d6d6;
    margin: 20px 0 40px 0;
}

/* ======== SHOWCASE + SLIDER ======== */
#showcase {
	min-height:300px;
	padding:0 ;
	position:relative;
	/*background-image:url(../images/showcase.jpg);*/
	background-color:#f0f0f0;
	color:#fff;
	background-position:top center;
	background-repeat:no-repeat; 
	background-size: cover;
}
#showcase .arkki {
	height:100%;
	max-width:100% !important;
	position:relative;
	padding:0;
}



#showcase {
	padding:0px;
	margin-top:0px;
	margin-bottom:0px;
	background-size:100% auto;
	overflow:hidden;
	
}
.sivu84 #showcase .boxi.picbox .boxi-wrap {
    background-position: 50% 40%;
}

body:not(.sivu1) #showcase .boxi.picbox .boxi-wrap {
    background-position: center center;
}
body:not(.sivu1) #showcase {padding:0;}

#showcase:before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    z-index: 5000;
    height: 150px;
    /*background: -moz-linear-gradient(top, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
    background: -webkit-linear-gradient(top, rgba(0,0,0,1) 0%,rgba(0,0,0,0) 100%);
    background: linear-gradient(to bottom, rgba(0,0,0,1) 0%,rgba(0,0,0,0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#000000', endColorstr='#00000000',GradientType=0 );*/
}
#showcase h1, body:not(.sivu1) #showcase h1 {
	font-size:40px;
	line-height:60px;
	color:#fff;
	text-shadow: 0px 0px 20px rgba(0,0,0,0.5);
	font-weight:300;
}
#showcase h1 strong, body:not(.sivu1) #showcase h1 {font-weight:900;font-size:100px;line-height:80px;display:block;color:#dbf500;
	text-transform:uppercase;}

body:not(.sivu1) #showcase h1 {
	font-size:60px;
	line-height:70px;
	margin-top:100px;
}

body:not(.sivu1) #showcase {position:relative;text-align:center;}

body:not(.sivu1) #showcase h3 {
	color:#fff;
	
	text-align:Center;
	font-weight:400;
	text-shadow:0 0 10px #000;
	z-index:1000;
	font-size:28px;
	line-height:36px;
}

#showcase .editor {
    width: 100%;
    text-align: center;
    color: #fff;
    margin-top: 50px;
    position: absolute;
    left: 0;
    right: 0;
    top: 60%;
    -moz-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    z-index: 2;
}
#showcase .editor h2 {
	    text-shadow: 2px 2px 2px #fff;
    font-size: 44px;
}



/*showcase taustakuva */
#showcase .arkki {padding:0; max-width:100% !important;}
#showcase .boxit {height:500px;}
#showcase .boxi.picbox {width:100%;}

.sivu93 #showcase .boxi.picbox .boxi-wrap {
    background-position: 50% 70%;
	}

.form {
    padding: 30px;
    
	margin-top: 60px;
}
table.lomsku .formTextinput, table.lomsku .formTelinput, table.lomsku .formEmailinput, table.lomsku textarea.formTextarea {
    width: 99%;
    background: #fdfdfd;
    border: 1px solid #e0e0e0;
    color: #333;
    padding: 10px 5px;
}

/* ======== CONTENT-TOP ======== */
#content-top {
	background:#fff;
	
} 

#content-top .arkki {
    max-width: 100% !important;
	padding:0;
}


/* ======== MAIN-CONTENT ======== */
#main-content {
	padding:0;
}
	#main-content .boxit {
		position:relative;
    	box-sizing: border-box;
   		margin: 50px 0px;
	}
	#main-content .palstat {
		margin:110px 0 40px;
	}	
	body:not(.sivu1) #main-content .palstat {
		margin:80px 0 10px;
	}
	.sivu95 #main-content {
    	max-width: 1300px;
    	margin: auto;
	}
	.sivu95 #main-content .arkki {
		max-width: 1200px;
    	margin: auto;
    	    padding: 0px 50px 50px;
			}
	.sivu95 #main-content img {
		border: none;
    border-radius: 30px 0;
    max-height: 298px!important;
    width: auto;
	}
	.sivu95 #main-content h2 {
    	padding-top: 50px;
	}
	.sivu96 #main-content .arkki {
		max-width: 1200px;
    	margin: auto;
    	    padding: 0px 50px 50px;
			}
	.sivu97 #main-content .arkki {
		max-width: 1200px;
    	margin: auto;
    	padding: 50px;
	}
	.sivu86 #main-content .arkki {
		max-width: 1200px;
    	margin: auto;
    	padding: 50px;
	}
	
#main-content img {
    border: 5px solid gainsboro;
	border-radius: 30px 0;
}

div#main-content .arkki {
    padding: 0;
}

/* ======== BLUE AREA (GRID 50/50) ======== */
#bluearea {
	background-color:#175a9c;
	color:#000;
}
#bluearea .arkki {
	max-width:100% !important;
	padding:0;
}
#bluearea .boxit {
	position:relative;
}

	/* 50/50 grid */
	.boxi.txtbox {
		padding: 0;
		margin: 0px 0 0px 50%;
		position: relative;
		z-index: 1;
		box-shadow: none;
	}
		.boxi.txtbox .boxi-wrap {
			border-radius:0;
			background:transparent;
			max-width:100%;
			float:left;
		}
		.boxi.txtbox .boxi-kuva {
			display:none;
		}
		.boxi.txtbox .boxi-otsikko {
			display:none;
		}
		.boxi.txtbox .boxi-wrap .boxi-content {
			padding:80px 80px 60px 80px;
			background:#fff;
		}
	/* kuva */
	.boxi.picbox {
		padding:0;
		line-height: 0;
		height: 100%;
		position: absolute;
		left: 0;
		padding: 0;
	}
		.boxi.picbox .boxi-wrap {
			border-radius:0;
			width:100%;
			height:100%;
			background-position:center center;
			background-size:cover;
			color:#000;
			
		}
		.boxi.picbox .boxi-kuva {
			display:none;
		}
		.boxi.picbox .boxi-otsikko {
			display:none;
		}


.boxi.txtbox1 {
padding:0;
margin-left:0%;
}

.boxi.picbox1 {
line-height: 0;
    width: 50%;
    height: 100%;
    position: absolute;
    left: 50%;
    padding: 0;
}


.boxi.grid_12.txtbox.yht {
    width: 100% !important;
    margin: 0;
}


	#bluearea h2 {
		color:#0072d1;
	}
	#bluearea a {
		color:#fff;
	}
	#bluearea .nappi {
		background:#fff;
		color:#fff;
	}
	#bluearea .nappi:hover {
		background:#c1e5f4;
		color:#0072d1;
	}
	


#bottom .nappi {
	background:#fff;     
	color: #003966;
}
.pal .nappi {
	background:#fff;     
	color: #003966;
}


/* ======== BOTTOM ======== */
#bottom {
	background: #f9f9f9;
}
	#bottom .arkki {
		padding:0;
		display:none;
	}

	
.cta {
		text-align:center;
		padding: 20px 10% 60px;
	}
	.cta ul {
		list-style:none;
		overflow:auto;
	}
	.cta ul li {
		margin:0;
		width:25%;
		display:inline-block;
	}
	.cta ul li img {
		height:80px;
		width:auto;
	}

#bottom .boxit {
	margin:80px 0;
}
	#bottom .boxit .boxi {
		padding:0 20px;
	}
	.boxi.perusloota .boxi-wrap {
		border-radius:50px 0;
	}
	#bottom .boxit .boxi .outer {
		box-shadow: 0 0 10px #ccc;
		border-radius:50px 0;
	}





/* ======== FOOTER ======== */
#footer {
	background-image:url(/media/tiedostot/hemmon-kuljetus-10.jpg);
	background-position:center center;
	background-repeat:no-repeat; 
	background-size: cover;
	background-color:#0374d2;
	/*padding:80px 0 30px;*/
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	color:#fff;
	text-align:left;
}
#footer .arkki {
	max-width:100% !important;	
	background: #002d52c7;
    padding: 120px 0 60px 0;
}
#footer .palstat {
	max-width:1400px;
	margin:0 auto;
}
	#footer .palstat img {
		max-height:150px;
		width:auto;
		padding-bottom:5px;
	} 
	#footer .palstat a {
		color:#fff;
		text-decoration: none;
	}
	#footer .palstat a:hover {
		text-decoration:underline;
	}
	#footer .palstat ul {
		list-style:none;
		width:100%;
		text-align:center;
		margin:32px 0 20px;
	}
	#footer .palstat ul li {
		display:inline-block;
		padding:0 10px;
		margin:0;
	}
	#footer .palstat ul li img {
		padding:0;
		width:10%;
	}
	


/* ======== COPY ======== */
#copy {
	background:#04419a;
	overflow:auto;
	padding:10px 0 8px;
}
#copy .arkki {
	max-width:1400px;
}
#copy a,
#copy {
	color:#fff;
	font-weight:400;
}

.sitemap,
.copyright {
	font-size:12px !important;
}






/* ETU */
.sivu1 #showcase {
	height:95vh;
	background-position:top center;
}
body.sivu1 #showcase .arkki {
	padding:0;
	max-width:100% !important;
}
	.scase-hedis {
		z-index:10;
		position:absolute;
		bottom:30%;
		left:0;
		right:0;
	}
	.scase-hedis > div {
		max-width:1400px;
		margin:0 auto;
		-moz-box-sizing: border-box;
		-webkit-box-sizing: border-box;
		box-sizing: border-box;
		padding:15px 20px 15px 50px;
		
	}
	.scase-hedis h3 span {
		display:inline-block;
		padding:0 0 25px;
		color:#fff;
		font-family:inherit;
	} 
	.scase-hedis h2 span {
		display:inline-block;
		padding:0;
		color:#fff;
		font-family:inherit;
	} 
	/* slider */
	.caro-slide {
		position:absolute !important;
		top:0;
		right:0;
		left:0;
		bottom:0;
	}
	.slide,
	.scase-palsta {
		height:100%;
	}
	.slick-list,
	.slick-track {
		height:100%;
	}
	.slick-list div {
		height:100%;
	}
	.slick-slide .scase-palsta {
		background-size:cover;
		background-position:center center;
	}
	.slick-list .editor {
		height:auto;
		max-width:1400px;
		margin:0 auto;
		position:absolute;
		left:0;
		right:0;
		bottom:200px;
	}
#bottom .palstat {
	background:0;
	margin:0 20px 80px;
}
	body:not(.sivu1) #bottom .palstat {
    	margin:80px 20px 80px;
	}
	.palsta.greybox .palsta-sisalto {
		padding:0 0 0 ;
	}
	.palsta.greybox .palsta-sisalto p {
		margin:0;
	}
	.palsta.greybox:not(:first-child) {
		text-align:center;
	}
	.palsta.greybox h4 {
		margin:20px 0 0 0;
	}
	.palsta.greybox img {
		max-height:100px;
		width:auto;
	}
	
	


.kotiapuyht {
    background: white;
    padding: 50px 0;
	text-align:center;
}

/* OTA YHT */

body.sivu69 #bottom .arkki {
	max-width:100% !important;
	padding:0;
}
.mappis p {
	margin:0;
	line-height:0;
}
.mappis iframe {
	margin:0;
	width:100%;
	height:400px;
}



/* GALLERIA */
.galleria .galleria-kuva a {
	background-color:#f5f5f5;
	display:block;
	background-size:100% auto;
}
.galleria-kuva {padding:10px;
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
	box-sizing:border-box;}

.galleria .galleria-kuva a:before {
	content:'';
	display:block;
	padding-top:100%;
}


/* =============================================== */
/* ==================== RESPO ==================== */ 
/* ====================       ==================== */ 
/* ==================== RESPO ==================== */ 
/* =============================================== */



/* 1400px */
@media (max-width:1400px) {
	.scase-hedis > div {
		padding: 15px 20px 15px 40px;
		margin-left:20px;
	}
	#header {
    	width: 23%;
	}
	#header img {
		max-height:85px;
		width:auto;
	}
	#nav {
		width:100%;
	}
	
}


/* 1200px */
@media (max-width:1200px) {
	h3 {font-size: 36px;}

	.scase-hedis h3 {font-size: 28px;}
	.scase-hedis h3 span {padding: 0 0 20px;}
	.scase-hedis h2 {font-size: 64px;}
}





/* 1024px */
@media (max-width:1024px) {	
	body {font-size:16px !important;}
	
	h2 { }
	h3 { font-size:28px;}
	h4 { font-size:18px;}

	.scase-hedis h3 {font-size: 24px;}
	.scase-hedis h2 {font-size: 52px;}
	.boxi.fullbox .boxi-otsikko h3 {
		font-size: 18px;
		width: 80%;
	}
	
	/*top+nav*/
	#yhteystiedot .palsta:last-child ul li {
		padding:0 0 0 25px;
	}
	
	#top-wrap {
		position:relative;
	}
	#header,
	#nav {
		text-align:left;
	}
	#header {
		width:30%;
		margin:0 0;
	}
	#header .editor p {
		background:transparent;
		padding:20px 10px 20px 20px;
	}
	#nav {
		width:70%;
		float:right;
		margin:0;
	}
	.valikko {
		background: #fff;
		margin: 0px;
		position: absolute;
		top: 97px;
		left: 0;
		right: 0;
		z-index:1000;
	}
	.valikko-avaa {
		position:absolute;
		top: -77px;
		right:5px;
		width:50px;
		z-index:15000;
		background:#0374d2;
		padding:0 5px;
		border-radius:5px;
		transition:all 300ms;
	}
	.valikko-koti,
	.valikko-avaa {	
		background-position: center;
		background-repeat:repeat-x;
		margin-bottom:6px;
	}
	.valikko-koti a,
	.valikko-avaa a {
		color:#fff;
		font-size:16px; 
		text-align:center;
		padding:10px;
	}
	.valikko-avaa.avattu .icon-th-list {
		background-image: url("../../../images/glyphicons-halflings.png") !important; 
	}
	.valikko-avaa.avattu a {
		color:#000 !important;
	}
	.valikko-lista {
		display: none;
		margin: 0;
		padding: 0;
		position: fixed;
		top: 0;
		lefT: 0;
		right: 0;
		bottom: 0;
		padding-bottom: ;
		overflow: scroll;
		background-color: #fff;
	}
	.line {
		background:#fff;
		display:block;
		margin:5px 0;
		height:5px;
		border-radius:3px;
	}
		.valikko-avaa.avattu {
			background:#999;
		}
		.valikko-avaa.avattu .line {
			background:#fff;
		}
	.submenu {
		display:none;
	}
	.avaaSubnav {background:rgba(0,0,0,0.3); position:absolute; right:3px; 
		padding:0px;
		text-align:center;
		width:45px;
		height:44px;
		top:1px;
		line-height:44px;
		display:inline-block;
		z-index:2000;
		cursor:default;
		color:#fff;
		font-weight:700;
	}
	.avaaSubnav:hover {
		background:rgba(0,0,0,0.6);
	}
	#nav ul.menu {
		margin:0 0;
		/*box-shadow:0px 10px 10px 0px rgba(0,0,0,0.5);*/
	}
	#nav ul li.level1 {
		display:block;
		width: 100%;
   		margin: 0;
		border-bottom:1px solid rgba(0,0,0,0.1) !important;
	}
	#nav ul li.level1:last-child a {
		border-radius:0px;
	}
	#nav ul li.level1 a {
		color:#000;
		text-align:left;
		font-size:16px !important;
		padding:15px 20px;
	}
	#nav ul li.level1 .submenu {
		background:#eee;
	}
	#nav ul li.level1 .submenu a {
		padding:14px 0;
		color:#000;
	}
	/* hover / focus */
	#nav li.level1 > a:hover,
	#nav .submenu li a:hover,
	#nav li.level1 > a:focus,
	#nav .submenu li a:focus,
	#nav li.level1.viimeinen > a:hover, 
	#nav li.level1.viimeinen > a:focus {
		background:rgba(0,0,0,0.1) !important;
		text-decoration:none;
		text-indent:0px;
	}
/*	.avaaNavi {
		height:50px; 
		width:50px; 
		position:fixed; top:10px; right:10px;
		border-radius:5px;
		-moz-box-shadow:0px 0px 10px rgba(0,0,0,0.5);
		-webkit-box-shadow:0px 0px 10px rgba(0,0,0,0.5);
		box-shadow:0px 0px 10px rgba(0,0,0,0.5);
		z-index:5000;
		opacity:0;
		-webkit-transition: all 0.5s ease;
		-moz-transition: all 0.5s ease;
		-o-transition: all 0.5s ease;
		transition: all 0.5s ease;
		background:#00903E url(../images/valikko.png) center no-repeat;
		background-size:70% Auto;
	}
	.avaaNavi.show {
		opacity:1;
		-webkit-transition: all 0.5s ease;
		-moz-transition: all 0.5s ease;
		-o-transition: all 0.5s ease;
		transition: all 0.5s ease;
	} */
	#nav .logo {
		position:Relative;
		top:50px;
		left:auto;
		-moz-transform: translateX(0);
		-webkit-transform: translateX(0);
		transform: translateX(0);
		margin-top:5px;
		width:auto;
	}
	#top.fixed .logo {
		displaY:none;
	}
	#top.fixed {
		background:#fff;
		padding:0;
	}
	#top.fixed #top-wrap {
		padding:0;
	}
	
	
	/* scase */
	#showcase {
		min-height:500px;
		background-position: top left;
	}
	/* main content */
	#main-content {
		padding:0;
	}
	.boxi.txtbox {
		width: 50%;
		margin: 0px 0 0px 50%;
	}
	.boxi.txtbox1 {
		padding: 0;
		margin-left: 0%;
		width: 50%;
		right: 0%;
	}
	.boxi.txtbox .boxi-wrap .boxi-content {
    	padding: 30px 20px 10px 30px;
	}
	#main-content .palstat {
    	margin: 60px 0 10px;
	}
	#main-content .palstat .palsta img {
		-moz-box-sizing: border-box;
		-webkit-box-sizing: border-box;
		box-sizing: border-box;
		padding:0;
	}
	/* bottom */
	body:not(.sivu1) #bottom .palstat {
		margin:60px 0 60px;
	}
	#bottom .palsta.greybox {
		width:33.33%;
	}
	body:not(.sivu1) #bottom .palsta.greybox .palsta-sisalto {
		padding:0 20px;
	}
	.palsta.greybox h4 {
		margin:0;
	}
	.palsta.greybox img {
    	max-height: 75px;
	}
	/* footer */
	#footer {
		padding:0;
	}
	#footer .palstat img {
    	max-height: 100px;
	}
	
	
	/* ETU */
	.scase-hedis > div {
    	
	}
	#bottom .arkki {
		padding:0 10px;
	}
	#bottom .boxit {
   		margin: 60px 0;
	}
	#bottom .boxit .boxi {
		padding:0 10px;
	}
	.boxi.perusloota .boxi-kuva {
		height:225px;
	}
	.sivu1 #bottom .palstat {
		margin:0 10px 60px;
	}
	.scase-hedis h2 {
		font-size: 50px;
		
		width: 100%;
	}
	.scase-hedis {
		
		bottom: 5%;
		
	}
	.scase-hedis h2 span {
		margin-top: 20px;
	}
	a.nabbi {
		font-size: 22px;
		background: white;
		text-decoration: none;
		text-shadow: none;
		color: #0072d1;
		padding: 15px 20px;
		border-radius: 10px 0;
	}
}


/* 800px */
@media (max-width:800px) {
	.piiloon {
		display:none!important;
	} 
	.pad-vas .palsta-sisalto {
		padding-left:0;
	}
	.pad-oik .palsta-sisalto {
		padding-right:0;
	}
	
	/* mobi-linkit */
	.mobi-linkit {
		display:block;
	}
	/* yhteystiedot */
	#yhteystiedot .palsta:last-child {
		display:none;
	}
	/* main */
	#main-content {
    	padding:0;
	}
	
	
/*boxit etuisuv*/
.boxi.picbox {
    	position: relative;
		display:block;
}
.boxi.picbox .boxi-kuva {
 display: block !important;
}
.boxi.picbox1 {
 	left: 0;
}	

.boxi-kuva {
    height: 300px;
}


	
	.boxi.txtbox {
		margin:0;
		
	}
	.boxi.txtbox .boxi-wrap {
		max-width:100%;
		float:none;
	}
	.boxi.txtbox .boxi-wrap .boxi-content {
		padding:25px 20px 5px;
	}
	body:not(.sivu1) #main-content .palstat {
    	margin: 40px 0 0px;
	}
	#main-content .palstat .palsta img {
    	padding: 0;
	}
	
	
	
	/* bottom */
	body:not(.sivu1) #bottom .palstat {
    	margin: 40px 0;
	}
	.palsta.greybox h4 {
		text-align: center;
   		margin: 0 0 30px;
	}
	/* footer */
	#footer {
    	padding: 0;
	}

	
	/*ETU*/
	#bottom .boxit {
		margin:60px 0 40px;
	}
	#bottom .boxit .boxi {
		padding:0 10px 20px
	}
	.sivu1 #bottom .palstat {
    	margin: 0 10px 40px;
	}


	/* OTA YHT */
	body.sivu69 .grid_6 > .editor {
		padding:0 0 20px;
	}
	
	
}



/* 600px */
@media (max-width:600px) {
	body {font-size:14px !important;}
	h1 {font-size:24px;}
	h2 {font-size:;}
	h3 {font-size:22px;}
	h4 {font-size:16px;}
	
	.scase-hedis h3 {font-size: 21px;}
	.scase-hedis h2 {font-size: 32px;}

	a.nabbi {
		font-size: 18px;
		background: white;
		text-decoration: none;
		text-shadow: none;
		color: #0072d1;
		padding: 10px 15px;
		border-radius: 10px 0;
	}
	/* scase*/ 
	#showcase {
		min-height:350px;
		background-position: top left;
	}
	/* main content */
	#main-content {
		padding:0;
	}
	#main-content .palstat .palsta img {
    	padding: 0;
	}
	.sivu95 #main-content .arkki {
    padding: 50px 10px;
	}
	.sivu96 #main-content .arkki {
    padding: 50px 10px;
	}
	.sivu97 #main-content .arkki {
    padding: 50px 10px;
	}
	/* bottom */
	body:not(.sivu1) #bottom .palstat {
    	margin: 40px 0 20px;
	}
	.palsta.greybox h4 {
    	margin: 0 0 20px;
	}
	/* footer */
	#footer .palstat img {
    	max-height: 80px;
	}
	
	/* ETU */
	body.sivu1 #showcase {
		height:500px !important;
	}
	.scase-hedis {
		bottom:80px;
	}
	.scase-hedis h3 span {
    	padding: 0 0 10px;
	}
	.slick-slide .scase-palsta {
		background-position:center center;
	}
	.sivu1 #main-content .palstat {
    	margin: 50px 0 0px;
	}
	.boxi.perusloota .boxi-kuva {
    	height: 180px;
	}
	.boxi.perusloota .boxi-otsikko h3 {
    	padding: 10px 10px;
	}
	.valikko-avaa {
		top: -120px;
	}

}


/* 480px */
@media (max-width:480px) {
	h1 {font-size:;}
	h2 {font-size:;}
	h3 {font-size:20px;}
	h4 {font-size:;}


	/* yhteystiedot */
	#yhteystiedot .palsta:first-child {
		display:none;
	}
	#yhteystiedot .palsta:last-child {
		width:100% !important;
		clear:both;
		float:none !important;
	}
	#yhteystiedot ul {
		float:none;
		width:100%;
	}
	#yhteystiedot .palsta:last-child ul li {
		padding:0;
		width:100%;
		float:none;
		text-align:center;	
	}
	#header {
		width:50%;
	}
	#header .editor p {
		padding:20px 10px 20px 15px;
	}
	#header img {
    	max-height: 65px;
	}
	/* nav */
	#nav {
		width:50%;
	}
	#nav .valikko-koti a,
	#nav .valikko-avaa a {
		padding:10px !important;
	}
	/* main */
	.boxi.txtbox {
    	box-shadow:none; 
	}
	.boxi.txtbox .boxi-wrap .boxi-content {
    	padding: 0 10px;
	}
	body:not(.sivu1) #main-content .palstat {
    	margin: 10px 0 0;
	}
	#main-content .palstat .palsta img {
		
	}
	/* bottom */
	body:not(.sivu1) #bottom .palstat {
    	margin: 40px 0 30px;
	}
	.palsta.greybox img {
    	max-height: 60px;
	}


	/*ETU*/
	body.sivu1 #showcase {
		height:420px !important;
	}
	.scase-hedis {
		bottom:40px;
	}
	.scase-hedis > div {
    	padding:15px 20px 15px 20px;
	}
	.sivu1 #main-content .palstat {
    	margin: 10px 0 0;
	}
	.boxi.perusloota .boxi-kuva {
    	height: 160px;
	}
	.boxi.perusloota .boxi-otsikko h3 {
    	padding: 8px 5px;
	}
	#bottom .boxit {
    	margin: 60px 0 25px;
	}
	

	/* OTA YHT */
	body.sivu69 tr.formField-plaintext td {
		padding-bottom:15px;
	}
	table.lomsku td.formLabelHolder,
	table.lomsku td.formFieldHolder {
		width:100% !important; 
		padding:0 0 5px;
		display:block;
	}
	table.lomsku td.formFieldHolder {
		padding:0 0 15px;
	}
	table.lomsku tfoot td:first-child {
		display:none;
	}
	.mappis iframe {
		height:300px;
	}
}

/*MILLA 03-2023*/
.sivu109 .boxi-wrap {
    background-size: contain;
}
.sivu109 #main-content .boxi.picbox .boxi-wrap {
    background-size: contain;
    background-position: top;
    margin-top: 80px;
}
.contact-list .row-wrap {
    flex-wrap: wrap !important;
    display: flex;
	margin-right: 65px;
    margin-left: 65px;
}
.contact-card {
    width: calc(33.33% - 30px);
	padding-right: 15px !important;
    padding-left: 15px !important;
	margin-top: 15px;
}
.contact-list-card {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    flex-direction: row;
    flex-wrap: wrap;
    margin: 1rem 0;
    height: calc(100% - 2rem);
    align-content: flex-start;
    display: flex;
	background: #fff;
}
.contact-list-image {
    position: relative;
    height: 370px;
    width: 100%;
    -webkit-box-flex: 0;
    flex: 0 0 100%;
}
.contact-list-card img:not(.kielet img) {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    -o-object-position: center center;
    object-position: center center;
    -o-object-fit: cover;
    object-fit: cover;
    font-family: "object-fit: cover";
}
.contact-list-content {
    width: calc(100% - 4rem);
    flex: 0 0 calc(100% - 4rem);
    padding: 2rem;
}
.contact-list-card a[href*="mailto"] {
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}
.contact-card a {
    font-weight: 500;
}
.contact-card p {
    font-weight: 600;
}
.contact-card h3 {
    margin-bottom: 0;
}
.kontaktialue-otsikko {
    width: 100%;
	margin-left: 15px;
}
.sivu69 #bluearea {
    background: #fff;
    color: #000;
}
.sivu69 #bluearea a {
   color: #0372d1;
   font-size: 1.05rem;
}
a.phone-icon {
    position: relative;
    padding-left: 25px;
	color: #000 !important;
	font-size: 1.15rem !important;
	font-weight: 400;
}
a.phone-icon:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    background-image: url(/media/tiedostot/phone-icon.png);
    width: 25px;
    height: 25px;
    background-repeat: no-repeat;
    background-size: 20px auto;
}
a.mail-icon {
    position: relative;
    padding-left: 25px;
	color: #000 !important;
	font-size: 1.15rem !important;
	font-weight: 400;
}
a.mail-icon:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    background-image: url(/media/tiedostot/mail-icon.png);
    width: 25px;
    height: 25px;
    background-repeat: no-repeat;
    background-size: 20px auto;
}
.container.contact-list {
    padding-top: 3rem;
	background: #f2f2f2;
}
.container.contact-list:last-child {
    padding-bottom: 4rem;
}
.kontaktialue-otsikko h2 {
    margin-bottom: 0.5rem;
}
.palsta.grid_12.yht-kartta {
    text-align: center;
    padding-top: 4rem;
    background: #f2f2f2;
}
.kielet img {
	height:15px; 
	width:auto; 
	display:inline-block; 
	margin:4px;
	border: 0.5px solid #d6d6d6;
}
@media (min-width: 1200px) {
.sivu69 iframe {height:500px;}
}
@media (min-width: 1700px) {
	.contact-card {
    	width: calc(25% - 30px);
	}
	.contact-list-image {
		height: 420px;
	}
}
@media (max-width: 1024px) {
	.contact-list .row-wrap {
		margin-right: 30px;
		margin-left: 30px;
	}
	.sivu109 #main-content .boxi.picbox .boxi-wrap {
		margin-top: 30px;
	}
}
@media (min-width: 769px) and (max-width: 1200px) {
	.contact-card {
		width: calc(33.33% - 30px);
	}
}
@media (max-width: 800px) {
	.contact-list .row-wrap {
		margin-right: 20px;
		margin-left: 20px;
	}
	.contact-card {
		width: calc(50% - 30px);
	}
	.contact-list-image {
		height: 470px;
	}
	.kontaktialue-otsikko h2 {
		font-size: 1.6rem !important;
	}
	a.phone-icon, a.mail-icon {
		font-size:0.95rem !important;
	}
	.sivu69 #bluearea a {
		font-size: unset;
	}
}
@media (max-width: 575px) {
	.contact-card {
    	width: 100%;
	}
}
@media (max-width: 480px) {
	.sivu69 h1 {
		font-size: 1.8rem;
	}
	.contact-list .row-wrap {
		margin-right: 10px;
		margin-left: 10px;
	}
	.contact-list-image {
		height: 340px;
	}
	.contact-list-card img {
		-o-object-position: center 30%;
		object-position: center 30%;
	}
	.contact-list-content {
		padding: 2rem 1rem;
	}
	.contact-list .row-wrap {
		margin-right: 0;
		margin-left: 0;
	}
}