/* === CSS RESET === */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
	
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after, q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
/* === End of CSS RESET === */

body {
	background:#fca533;
	color: #000;
	font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
	text-shadow: none;
	overflow: hidden;
}
h1 {
	font-size: 35px;
	font-weight: bold;
	line-height: 1.0em;
	text-shadow: none;
	font-family: 'Nova Square', cursive;
	text-transform:uppercase;
}

h2 {
	font-size: 24px;
	font-weight: normal;
	line-height: 1.0em;
	text-shadow: none;
	padding-bottom:10px;
	font-family: 'Nova Square', cursive;
	text-transform:uppercase;
}

h3 {
	font-size: 24px;
	font-weight: normal;
	line-height: 1.0em;
	text-shadow: none;
	padding-bottom:10px;
	font-family: 'Nova Square', cursive;
	
}

p {padding-bottom:20px; font-size: 14px !important; letter-spacing:0.1em; font-weight:400; font-family:"Trebuchet MS", Arial, Helvetica, sans-serif !important;}

a, a:visited {
	color: white;
	text-decoration: none;
	
}

a:hover {
	color: #AAA;
}

a:active {
	color: lightblue;
}

.big {
	display: block;
	font-size: 45px;
	font-weight: bold;
	line-height: 1.3em;
	margin-bottom: 10px;
	text-shadow:none;
}

.wrapper div {
	position: absolute;
}

.settings, nav {
	position: fixed;
	z-index: 9999999;
	bottom: 0;
	background: rgba(10,10,10, 0.5);
	font-family: Helvetica, Arial, sans-serif;
	font-weight: normal;
	font-size: 14px;

}

.settings {
	right: 0;
	padding: 10px 20px;
	border-radius: 10px 0 0 0;
}

.settings a {
	border: none;
}


nav {
	left: 0;
	border-radius: 0 10px 0 0;
}

nav li {
	float: left;  padding:0px 15px 0px 23px; font-size:14px;
}

nav a {
	display: block;
	padding-top:10px;
	height: 30px;
	line-height: 1.3em;
	border: none;
	text-align: center;
	transition: 0.25s;
}

nav li:last-child a {
	border-radius: 0 10px 0 0;
}

nav a:hover {
	background: rgba(15,15,15, 0.5);
}

.sp-canvas {
	display: none;
}

.arrow {
	position: relative;
	display: inline-block;
}

.aloitus { 
		width: 1400px;
	height:1050px;
	font-size: 16px;
	line-height:1.1em;
	font-weight: normal;
	background:url("../images/tausta2.png") top left;
	background-repeat:no-repeat;
	padding:220px 0px 0px 220px;
	left: -150px;
	top:-150px;
}

.demo .arrow {
	font-size: 20px;
	animation: point-down 0.5s alternate infinite;
}

.toinen-osa {
	top: 1340px;
	left: 287px;
	width: 1024px;
	height:768px;
	font-size: 16px;
	line-height:1.2em;
	font-weight: normal;
	
}

.kolmas-osa {
	top: 2870px;
	left: 488px;
	width: 1024px;
	height:768px;
	font-size: 16px;
	line-height:1.2em;
	font-weight: normal;
	
}

.neljas-osa {
	top: 1270px;
	left: 3238px;
	width: 1024px;
	height:768px;
	font-size: 16px;
	line-height:1.2em;
	font-weight: normal;
	
}

.viides-osa {
	left: 1887px;
	top: -176px;
	width: 1024px;
	height:768px;
	font-size: 16px;
	line-height:1.2em;
	font-weight: normal;

}



.kuudes-osa {
	left: 2200px;
	top: -800px;
	width: 1024px;
	height:768px;
	font-size: 16px;
	line-height:1.2em;
	font-weight: normal;
	
	
}

.seitsemas-osa {
	
	left: 1100px;
	top: -950px;
	width: 1024px;
	height:768px;
	font-size: 16px;
	line-height:1.2em;
	font-weight: normal;
	
}

.follow .big {
	font-size: 40px;
}

.highlight {
	animation: highlight 0.2s alternate 6 ;
}

@keyframes point-down {
	from {
		top: 0;
	}
	to {
		top: 5px;
	}
}

@keyframes highlight {
	to {
		background: lightblue;
	}
}


/* OMA CSS */

#esittely {width:100%;}
#henkilokuva {float:left; padding-right:40px; width:300px; position:relative!important;}
#teksti {float:left; width:500px; position:relative!important;}

table, tr, td {vertical-align:top;}

#kuvaosa {width:100%; }
#kuvaosa img {border-radius:12px;}
#kuvaosa-2 {width:100%; }
#kuvaosa-2 img {border-radius:12px;}



#ylempi {width:100%; clear:both; position:relative!important;}
#keski {width:100%; clear:both; position:relative!important;}
#alempi {width:100%; clear:both; position:relative!important;}

#ylempi-5 {width:870px; margin:0 auto; clear:both; position:relative!important;}
#keski-5 {width:900px;margin:0 auto; clear:both; position:relative!important;}
#alempi-5 {width:870px;margin:0 auto; clear:both; position:relative!important;}

#kuva1 {float:left; position:relative!important; padding-right:30px;}
#kuva1_1 {float:left; position:relative!important;}
#kuva1_2 {float:left; position:relative!important; padding-right:24px;}
#kuva2 {float:left; position:relative!important; padding-right:22px;}
#kuva2_2 {float:left; position:relative!important;}
#kuva3 {float:left; position:relative!important; padding-right:32px;}
#kuva4 {float:left; position:relative!important; padding-right:0px;}
#kuva3_3 {float:left; position:relative!important;}

.spaceri {width:100%; height:20px; float:none; clear:both; position:relative!important;}

.spaceri-2 {width:100%; height:10px; float:none; clear:both; position:relative!important;}
.spaceri-3 {width:100%; height:5px; float:none; clear:both; position:relative!important;}

.kuva1-pad {margin-top:16px;}



.excel {padding-top:158px; line-height:1em; padding-bottom:0px;}
.fastbind {padding-top:58px; padding-left:35px; line-height:1em; padding-bottom:22px;}

#keski-master {float:left; position:relative!important;}
#keski-sub { float:none; position:relative!important;}
#keski-alempi {float:none; position:relative!important; margin-top:10px;}
#keski-iso-kuva {float:left; position:relative!important;}


#right-pad {padding-right:20px !important;}



.vp {float:none; padding-right:20px; width:80%; position:relative!important;}
.op { float:none; width:80%; position:relative!important; max-width:400px;}

.isokuva { width:100%; max-width:900px; overflow:hidden; }
.isokuva img {width:100%; max-width:900px;}


.isokuva-pysty { overflow:hidden; width:100%; max-width:550px; }
.isokuva-pysty img {width:100%; max-width:550px; padding-bottom:20px;}


.kuvateksti { width: 100%; font-size:13px!important;}

.noresize {width:auto!important; height:auto!important;}





@media (max-width:1399px) {

.vp {float:left!important; padding-right:10px; width:60%; position:relative!important;}
.op { float:left!important; width:30%; position:relative!important; max-width:400px;}

.isokuva { width:100%; max-width:700px; overflow:hidden; }
.isokuva img {width:100%; max-width:700px;}


.isokuva-pysty { overflow:hidden; max-width:600px!important;  }
.isokuva-pysty img {width:100%; max-width:500px!important;}




}





@media (max-width:1281px) {

.vp {float:left!important; padding-right:10px; width:60%; position:relative!important;}
.op { float:left!important; width:30%; position:relative!important; max-width:400px;}	
	
.isokuva { width:100%;  overflow:hidden;  }
.isokuva img {width:100%; max-width:580px;}


.isokuva-pysty { width:100%;  overflow:hidden;  }
.isokuva-pysty img {width:100%; max-width:360px;}
	
	}