/*********** OLETUS **************/
body,
ul,
li,
img,
.tbl,
.tbl_cell,
table,
td {
	margin:0;
	padding:0;
	border:0;
	border-collapse:collapse;
}
section,
article,
header,
footer,
nav,
aside,
hgroup,
main {
	display: block;
	background-color:transparent;
}
a {
	text-decoration:none;
}
a:hover {
	text-decoration:underline;
}
figure {
	margin:0 0 1em 0;
	max-width:100% !important;
}
img {
	max-width:100%;
	height:auto;
	vertical-align:top;
	border:0;
}
img.right {
	float:right;
}
img.left {
	float:left;
}
ul {
	list-style:none;
}
.flex_top,
.flex_mid,
.flex_bot {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-between;
}
.flex_top {
	align-items:flex-start;
}
.flex_mid {
	align-items: center;
}
.flex_bot {
	align-items:flex-end;
}
.cover {
	background-repeat:no-repeat;
	background-position: 50% 50%;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}
.contain {
	background-repeat:no-repeat;
	background-position: 50% 50%;
	-webkit-background-size: contain;
	-moz-background-size: contain;
	-o-background-size: contain;
	background-size: contain;
}
.center {
	text-align:center;
}
.left {
	text-align:left;
}
.right {
	text-align:right;
}
.top {
	vertical-align: top;
}
.bottom {
	vertical-align: bottom;
}
.clearboth {
	display:block;
	clear:both;
	height:1px;
	overflow:hidden;
}




/*********** PAGE **************/
html, body {
	height:101%;
	min-height:101%;
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing:antialiased;
	text-rendering: optimizeLegibility;
}
html {
	font-size:10px;
	font-size:0.625em;
}
body {
	font-size:16px;
	font-size:1.6em;
	font-family: Arial, Helvetica, sans-serif;
	line-height: 1.5;
	letter-spacing: 0.02em;
}

body {
	margin:0;
	background-color:#000000;
	color: #ffffff;
}
table, td, th {
	font-size: 1em;
	font-weight:inherit;
}

a { color: #cccccc; }
a:link  { text-decoration: none;  }
a:active { text-decoration: none;  }
a:visited { text-decoration: none;  }
a:hover { text-decoration: underline;  }
button {
	margin:0;
	padding:0;
	border: 0;
	background: transparent;
	font-size: inherit;
	font-weight: inherit;
	color:inherit;
	cursor:pointer;
}
p {
	margin:0 0 0 1em;
}
#teksti p {
	margin:0 0 0 0;
}
h2 {
	font-size:1.13em;
	margin:1em 0 0.3em 0;
	font-weight:700;
}
#center {
	min-height:100%;
}



#page {
	max-width:905px;
	margin:0 auto;
	padding:0;
	min-height:1000px;
	background-color:#111111;
}


/******* NAVI ************/
#navi_toggle {
	display: none;
}
#navi {
	margin:0 auto;
	padding:0;
}
#navi ul {
	margin:0 0 0 0;
	padding:0;
	list-style:none;
	font-size:69%;
}
#navi ul li {
	float:left;
	margin:0;
	padding:0 15px 0 0 ;
	line-height:20px;
	height:20px;
}
#navi ul li a {
	color:#ffffff;
	text-decoration:none;
}
#navi ul li.navi_cv {
	float:right;
	padding:0;
}
#navi ul li a:hover {
	text-decoration:underline;
}
@media only screen and (max-width: 930px) {
	#navi {
		padding:0 1em;
	}
}
@media only screen and (max-width: 800px) {
	#navi_toggle {
		position: absolute;
		top:1em;
		left:1em;
		width:3em;
		height:34px;
		padding: 0.5em;
		overflow:hidden;
		display:block;
		cursor:pointer;
		background-color:rgba(0,0,0,0.5);
		z-index: 2;
	}
	#navi_toggle span {
		display:block;
		background-color:#ffffff;
		height:3px;
		margin:0 0 5px 0;
	}
	#navi_toggle.rasti span {
		display:none;
		width:20px;
	}
	#navi_toggle.rasti span:first-child {
		display:block;
		transform: rotate(45deg);
		transform: translate(7px, 8px) rotate(45deg) scalex(1.3);
	}
	#navi_toggle.rasti span:last-child {
		display:block;
		transform: rotate(-45deg);
		transform: translate(7px, 0px) rotate(-45deg) scalex(1.3);
	}


	#navi {
		display: none;
		position: absolute;
		z-index: 1;
		top:0em;
		left:0;
		margin:0;
		padding:4em 2em 1.5em 2em;
		background-color: #000000;
	}
	#navi ul {
		font-size: 1.6rem;
	}
	#navi ul li,
	#navi ul li.navi_cv {
		float:none;
		padding:0.5em 0;
	}
}




#kuvanavi  {
	margin:10px auto 30px auto;
	padding:0;
	overflow:hidden;
}
#kuvanavi ul {
	margin:0 0 0 0;
	padding:0;
	list-style:none;
	font-size:1.4rem;
	line-height: 1.6;
}
#kuvanavi ul li {
	float:left;
	margin:0 20px 20px 0;
	text-align: left;
}
#kuvanavi ul li img {
	width:auto;
	height:80px;
}
#kuvanavi ul li a {
	color:#ffffff;
	text-decoration:none;
}
#kuvanavi ul li a:hover {
	text-decoration:underline;
}

@media only screen and (max-width:900px) {
	#kuvanavi ul li {
		margin:0 15px 15px 0;
	}
	#kuvanavi ul li img {
		width:auto;
		height:auto;
	}
}
@media only screen and (max-width:500px) {
	#kuvanavi ul li {
		width:40%;
		margin:0 5% 15px 0;
	}

}










#sisalto {
	font-size:94%;
	color:#ffffff;
	padding:10px 35px 35px 40px;

}
.sisalto_pad {
	padding:30px 0 0 12%;
}
.etusivu_po {
	float:right;
	width:60%;
}
.etusivu_pv {
	float:left;
	width:35%;
}
#sisalto .etusivu_po h1 {
	margin:0 0 1em 0;
	font-size:1em;
}
.etusivu_po p {
	margin:0 0 1em 0;
}
.etusivu_pv p {
	margin:0;
}
@media only screen and (max-width:600px) {
	.sisalto_pad {
		padding:30px 0 0 0;
		text-align: left;
	}
	.etusivu_po,
	.etusivu_pv {
		float:none;
		width:100%;
		text-align: left;
	}
}
#sisalto h1 {
	font-size:1.21em;
}


/******* KUVAT ******/

table.kuvat{
	width:100%;
	max-width: 820px;
}
table.kuvat td {
	width:31.7073%;
	padding-bottom: 20px;
}
table.kuvat td:nth-child(1),
table.kuvat td:nth-child(2) {
	padding-right: 20px;
}
@media only screen and (max-width:600px) {
	#sisalto {
		text-align: center;
	}
	table.kuvat,
	table.kuvat tbody,
	table.kuvat tr,
	table.kuvat td {
		display:block;
		width:100%;
		text-align:center;
	}
	table.kuvat td {
		padding: 0 0 1em 0;
	}
}
