@font-face {
 font-family: 'BecauseYouWereHome';
  src: url(../becauseyouwerehome.ttf);
}@font-face {
 font-family: 'DreamWalker';
  src: url(../dreamwalker.ttf);
}
html {
	height:100%;
	background:#fff;
}

body {
	color:#010101;
	font:normal normal 16px 'Exo', 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, 	#yhteystiedot ul > li , ul li.level1 a span {font-family: 'Exo', sans-serif;}

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

.scase-hedis h2 {font-size:45px; line-height: 1.15em; margin:0; color: #ffffff;
    text-shadow: 1px 2px 5px #00000096;     /*width: 100%;*/ background-color: #212121 !important; padding: 15px 30px 15px 30px;
    float: right;border-radius:50px; }
.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;}
#ktext {
color: #000 !important;
}

/* värit */
h1 {color:#212121 !important;}
h2 {color:#212121;}
h3 {color:#212121;}
h4 {color:#212121 !important;}


/* yleiset */
a {
	color:#212121 !important;
	font-weight:700;

}
a.nappi {
	padding: 15px 25px;
    display: inline-block;
    margin: 10px 0;
    background:#212121 !important;
    text-decoration: none;
    color: #fff !important;
    transition: all 200ms;
	border-radius:0;
	border-radius:50px;
	
}
	a.nappi:hover {
		background:#000 !important;
		color:#fff;
		text-decoration:none;
	}

strong,
b {
	font-weight:700;
}

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

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

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





/* ======== 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%;
    margin: 0 auto;
	}
	#form-563 table.lomsku {
	width: 65%;
	margin: 0 auto;}
	table.lomsku h2 {
		text-align:left;
	}
	table.lomsku td {
		padding:0 0 15px;
	}
	table.lomsku td.formLabelHolder {
		width:35% !important;
		color: #fff;
		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;

	}
	.formRadioLabelHolder {
	color: #fff;
	}
	
	.lomsku button.formSubmit {
		padding:15px 30px;
		border-radius:40px;
		display:inline-block;
		margin:10px 0;
		background:#fff;
		text-transform:none;
		font-weight:400;
		color:#000;
		border:0;
		cursor:pointer;
		transition:all 300ms;

    	border-radius: 50px;
	}
	.lomsku button.formSubmit:hover {
		background:#000;
		color: #fff;
	}




/* ======== KUVABOXI ======== */
.boxit { }
.boxi {
	padding:5px;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}
.boxi-wrap {
	position:relative;
	padding:0px;
	overflow:hidden;
	border-radius:10px;
	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;
	bottom:0;
}
.boxi .meega:hover {
	background:rgba(0,0,0,0.5);
}
	
	.boxi.fullbox .boxi-wrap {
		background-size:cover;
		background-position:center center;
		border-radius: 25px;
	}
	.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:hover{
	background-color: #000 !important;
	}
	.boxi.fullbox .boxi-otsikko h3 {
	 background: #212121;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.3em;
    color: #fff;
    display: block;
    width: 95%;
    margin: 0 auto 20px;
    transition: all 300ms;
    padding: 15px 15px;
    position: relative;
    z-index: 100;
    border-radius: 0;
	}
	.boxi.fullbox .boxi-otsikko a {
		text-decoration:none;
	}
	/* hover */
	.boxi.fullbox .boxi-wrap:hover .boxi-otsikko h3 {
		background:#000;
	
	}
	.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;
	font-family:'Ubuntu', sans-serif;
}
.mobi-linkit ul li:first-child a {
	background:#212121 !important;
	color:#fff;
	text-decoration:none;
}
.mobi-linkit ul li:last-child a {
	background:#111;
	color:#fff;
	text-decoration:none;
}




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




/* ======== HEADER ========*/
#yhteystiedot {
	display: block;
    background: #ff4b0300;
    padding: 15px 0 15px;
    color: #fff;
    font-size: 14px;
    border-bottom: none;
    background: transparent;
}

	#yhteystiedot a:hover {
	text-decoration: underline !important;
	}
	#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;
}
	#header .editor p {
		margin:0;
		padding:20px 0 15px 0;
		color:#000;
	}
	#header img {
		max-height:160px;
		width:auto;
	}



/* ======== NAV ========*/
#nav {
	width:70%;
	background:none;
}
#nav .arkki {
	margin:10px 0px;
}
#nav ul.menu {
	margin:45px 20px 25px 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:800;
	font-size:14px;
	line-height:1.2em;
	position:relative;
	text-decoration:none;
	padding:15px 20px;
	padding: 15px 6px;
	font-size: 14px;
	text-transform: uppercase;
	text-shadow: 2px 2px 2px #000;
	
	
	
}

	/* hover */
	#nav ul li.level1:hover {

		
	}
	#nav ul li.level1:hover a {
		color:#fff;
		text-decoration:none;
		text-shadow: none;
	}

	/* current */
	#nav ul li.level1.current {
    background: #212121 !important;
    border-radius: 50px !important;
    padding: 0px 25px;
	
}
	#nav ul li.level1.current a {
		color:#fff !important;
	}


/* 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:13px !important;
	text-shadow:none;
}
#nav ul li.level1 .submenu li a:before {
	display:none !important;
}
#nav ul li.level1 .submenu {
	background: #ffffff;
    border-radius: 0px 10px;
}
#nav ul li.level1 .submenu a {
	color:#103585;
	padding:10px;
	
}




/* ======== 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;
}



.sivu93 h3 {
color: #212121 !important;
}

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

.form {
    padding: 30px;
    background: #212121;
	
}
#form-473 h2 {
color: #fff !important;
}

#form 473 label {
	color: #fff;
}
.sivu69 #main-content {
padding: 60px 0 50px;
}
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;
} 



/* ======== MAIN-CONTENT ======== */
	#main-content {
		padding:0px 0 50px;
	}
	#main-content .boxit {
		position:relative;
		margin: 80px auto;
	}
	#main-content .palstat {
		margin:110px 0 40px;
	}	
	body:not(.sivu1) #main-content .palstat {
		margin:80px 0 10px;
	}
	
	#main-content img {
		border: 5px solid white;
	}
	
	.omi img {
		border-radius: 0 !important;
		border: none !important;
	}

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

	/* 50/50 grid */
	.boxi.txtbox {
		padding:0;
		margin:60px 0 60px 41.625%;
		position:relative;
		z-index:1;
		box-shadow: 0 0 20px rgba(0,0,0,0.25);
	}
		.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:60px 60px 40px 60px;
			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 left;
			background-size:cover;
		}
		.boxi.picbox .boxi-kuva {
			display:none;
		}
		.boxi.picbox .boxi-otsikko {
			display:none;
		}

		.sivu84 .boxi.picbox .boxi-wrap  {
			background-position:center right;
		}

	#bluearea a {
		color:;
	}
	#bluearea .nappi {
		background:#fff;
		color:#003966;
	}
	#bluearea .nappi:hover {
		background:#c1e5f4;
	}


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


/* ======== BOTTOM ======== */
#bottom {
	background: #212121 !important;
}
	#bottom .arkki {
		padding:0;
		color: #fff !important;
		
	}
	#bottom .arkki h2 {
	color: #fff !important;
	}
#bottom a {color:#fff !important; font-weight: 800;}
#bottom a:hover {
text-decoration: underline !important;
background: transparent !important;
}
	.sivu1 .cta {
	
    text-align: center;
    padding: 80px 0 50px 0;
}

.cta {
		text-align:center;
		padding: 80px 0 0px 0;
	}
	.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/8.jpg);
	background-position:top center;
	background-repeat:no-repeat; 
	background-size: cover;
	background-color:#fff;
	background-position: center left;
	/*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: #000000c9;
    padding: 80px 0 30px 0;
}
#footer .palstat {
	max-width:1400px;
	margin:0 auto;
}
	#footer .palstat img {
		
		width:auto;
		padding-bottom:5px;
	} 
	#footer .palstat a {
		color:#fff !important;
		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:#212121 !important;
	overflow:auto;
	padding:10px 0 8px;
}
#copy .arkki {
	max-width:1400px;
}
#copy a,
#copy {
	color:#fff !important;
	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:20%;
		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 !important;
	}
	.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:77%;
	}
	#nav ul.menu {
    	margin: 25px 20px 0 0;
	}
	#nav ul li a {
		padding: 10px 5px !important;
    	font-size: 13px !important;
	}
}



/* 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: 35px;}
	#nav ul li a {
		padding: 10px 5px !important;
    	font-size: 11px !important;
	}
}



@media (max-width:1100px) {
	#nav ul li a {
		padding: 10px 5px !important;
		font-size: 10px !important;
	}
}


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

	#nav ul li.level1 a {text-shadow:none;}

	.scase-hedis h3 {font-size: 24px; width:100%;}
	.scase-hedis h2 {font-size: 30px; width:100%;}
	table.lomsku {
    width: 100%;
    margin: 0 auto;
	}
	#form-563 table.lomsku {
    width: 100%;
    margin: 0 auto;
	
}

.scase-hedis h2 {
    font-size: 30px;
    line-height: 1.15em;
    margin: 0;
    color: #ffffff;
    text-shadow: 1px 2px 5px #00000096;
    width: 100%;
    background-color: #212121 !important;
    padding: 15px 30px 15px 30px;
    float: left;
}
	
	/*top+nav*/
	#yhteystiedot .palsta:last-child ul li {
		padding:0 0 0 25px;
	}
	
	#top-wrap {
		position:relative;
	}
	#header,
	#nav {
		text-align:left;
	}
	#header {
		width:100%;
		margin:0 0;
	}
	#header .editor p {
		background:transparent;
		padding:20px 10px 20px 20px;
	}
	#nav {
		width:100%;
		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:#212121 !important;
		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 !important;
		}
		.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 !important;
		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:auto;
		background-position: top left;
	}
	/* main content */
	#main-content {
		padding:0px 0 30px;
	}
	
	#main-content .boxit {
    position: relative;
    margin: 40px auto;
}
	.boxi.txtbox {
		width:66.66%;
    	margin: 60px 0 60px 33.33%;
	}
	.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 20px;
	}
	/* 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 {
    	padding: 15px 20px 15px 30px;
    	border-left: 0;
	}
	#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;
	}



}



/* 800px */
@media (max-width:800px) {
	.piiloon {
		display:none;
	} 
	
	#nav ul li.level1 a{
		text-shadow: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: 40px 0 10px;
	}
	
	.boxi.picbox {
    position: relative;
}
	
	.boxi.txtbox {
		margin:0;
		box-shadow: 0 0 20px rgba(0,0,0,0.20);
	}
	.boxi.txtbox .boxi-wrap {
		max-width:100%;
		float:none;
		padding: 20px;
	}
	.boxi.txtbox .boxi-wrap .boxi-content {
		padding:25px 20px 5px;
	}
	body:not(.sivu1) #main-content .palstat {
    	margin: 0;
	}
	#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;
	}
	#main-content .boxit {
    position: relative;
    margin: 0px auto;
}
}



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


	/* scase*/ 
	#showcase {
		min-height:350px;
		background-position: top left;
	}
	/* main content */
	#main-content {
		padding:30px 0 20px;
	}
	#main-content .palstat .palsta img {
    	padding: 0;
	}
	/* bottom */
	body:not(.sivu1) #bottom .palstat {
    	margin: 40px 0 20px;
	}
	.palsta.greybox h4 {
    	margin: 0 0 20px;
	}
	/* footer */
	#footer .palstat img {
    	max-height: 70px;
	}
	
	/* 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;
	}

}


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

	.boxi.fullbox .boxi-otsikko h3 {
	
		font-size:18px;
	}
	
	.scase-hedis h3 {font-size: 15px;}
	.scase-hedis h2 {font-size: 22px;}
	/* 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;	
	}
	.scase-hedis h2 {
		font-size: 23px;
		line-height: 1.15em;
		margin: 0;
		color: #ffffff;
		text-shadow: 1px 2px 5px #00000096;
		width: 100%;
		background-color: #212121 !important;
		padding: 13px;
		float: right;
		border-radius: 0;
	}
	
	#header .editor p {
		padding:20px 10px 20px 15px;
	}
	#header img {
    	max-height: 70px;
	}
	/* nav */
	#nav .valikko-koti a,
	#nav .valikko-avaa a {
		padding:10px !important;
	}
	/* main */
	.boxi.txtbox {
    	
	}
	.boxi.txtbox .boxi-wrap .boxi-content {
    	padding: 0 0;
	}
	body:not(.sivu1) #main-content .palstat {
    	margin: 10px 0 0;
	}
	#main-content .palstat .palsta img {
		max-width:100%;
	}
	/* 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:0;
	}
	.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;
	}
	
}



