body{
	background-color: #f1f1f1;
	font-size:14px;
	font-family:Verdana, Geneva, sans-serif;
	letter-spacing:0.3px;
}

/* Font stuff */
@font-face {
   font-family: Logofontik; 
   src: url('fontit/logofontik.ttf');
}
@font-face {
   font-family: Nasdaqer; 
   src: url('fontit/nasdaqer.ttf');
} 
/* Main elements */
div{
	border: 0px solid #000;
	background-color:white;
	margin-bottom:1px;
}
#whole{
	width:900px;
	margin:auto;
	position:relative;
	top:50px;
	z-index: 10;
	background-color:#f1f1f1;
}
#header{
	position:fixed;
	top:0px;
	margin:auto;
	width:900px;
	left: 0;
	right: 0;
	z-index: 20;
	background-color: #fff200;
	border-bottom:10px solid #ffcc00;
	padding:50px 0px 0px;
	background-image: url("kuvat/headerbg.jpg");
	background-repeat:repeat-x;
}
#logo{
	width:40%;
	display:block;
	float: left;
	background-color: #fff200;
	height:50px;
	padding-top:15px;
}
#navi{
	height:50px;
	padding-top:15px;
	padding-right:10px;
	position: absolute;
	right:0;
	width:60%;
	background-color: #fff200;
}
#content{
	padding:50px 30px;
}
.kpl{
	line-height:1.6;
	text-align:justify;
}
.yellow{
	background-color:#fffa97;
	padding:20px 10px;
	}
#footer{
	padding:20px 80px 10px;
	margin-bottom:0px;
	background-color:#fff200;
	background-image: url("kuvat/headerbg.jpg");
	background-repeat:repeat-x;
	font-size:12px;
}
div.mitem{
	float:right;
	height:100%;
	width:24%;
	margin-left:2px;
	background-color:#fff200;
}
/* Small special tweaks */
#copy{
	background-color: #f1f1f1;
	padding:0px 30px 30px;
	margin-bottom:3px;
}
.mob{
	
	display:none;}
.logo{
	margin-left:35px;
}
.clear::after {
    content: "";
    clear: both;
    display: table;
}
.copyetc{
	font-size:9px;
	text-align:right;
	color:#afafaf;
}
#copy a{
	background-color:transparent !important;
	font-weight:normal;
}
/* Links, navigation */
a:link, a:visited{
	color:black;
	padding:4px; 
	text-decoration:none;
	font-weight:bold;
}
a:hover, a:active {
	color:#5e5e5e;
}
.mitem a:link, .mitem a:visited{
	display:block;
	width:100%;
	text-align: center;
	line-height:50px;
	font-size:16px;
	padding:0px !important;
	text-decoration: none;
	color:black;
	text-transform:uppercase;
	background-color:transparent !important;
}
.mitem a:hover, .mitem a:active {
	background-color: #fff64a;
	background-image: url("kuvat/menubg.jpg");
	background-repeat:repeat-x;
	color:#5e5e5e;
}
.current {
	background-color: #fff64a;
	background-image: url("kuvat/menubg2.jpg");
	background-repeat:repeat-x;
	color:#4b4b4b;
}

/* Headers, text formats */
.smallheader{
	font-weight:bold;
	text-decoration: none;
	color:black;
	text-transform:uppercase;
	font-size:16px;
	padding:0px;
	line-height:16px;
	font-family:"Logofontik", "Trebuchet MS", Helvetica, sans-serif;
	margin-bottom:-3px;
}

h1, h2{
	margin-top:50px;
	font-size:28px;
	line-height:40px;
	font-weight:normal;
	letter-spacing:0.5;
	text-decoration: none;
	color:black;
	text-transform:uppercase;
	border-left:40px solid #fff64a;
	padding-left:20px;
	font-family:"Logofontik", "Trebuchet MS", Helvetica, sans-serif;
}
h1{
	margin-top:80px;
}
b.align{
	font-weight:normal;
	padding-left:10px;
	display: inline-block;
	vertical-align: middle;
	line-height: 25px;
}
.inline {
	margin-top:0px;
	display: inline-block;
	vertical-align: middle;	
}
.bigger{
	font-size:18px;
	text-transform:uppercase;
	font-weight:bold;
}

/* Buttons */

.yritys{
	float:left;
}
.yksityis{
	float:right;
}
.painike{
	width:45%;
	background-color: #fff200;
	border:7px solid #ffcc00;
	padding:50px auto;
	margin:40px auto;
}
.painike p{
	text-align:center;
	font-size:20px;
	line-height:40px;
	font-style:italic;
	}
.painike p b{
	font-weight:normal;
	font-size:30px;
	letter-spacing:1.0;
	font-style:normal;
}

/* Forms */
#contactform{
	margin-top:30px;
	}
input, select, textarea{
	border:3px solid #fff64a;
	background-color: #fffa97;
	padding:7px;
	font-weight:bold;
	color:#5e5e5e;
	letter-spacing:1px;
	font-size:16px;
	margin-top:5px;
	margin-bottom:15px;'
	margin-left:15px;
	width:50%;
}
textarea{
	width:80%;
	font-size:14px;
	line-height:1.5;
	}

.submit{
		background-color: #fff;
	font-size:28px;
	line-height:40px;
	font-weight:normal;
	letter-spacing:0.5;
	text-decoration: none;
	color:black;
	text-transform:uppercase;
	font-family:"Logofontik", "Trebuchet MS", Helvetica, sans-serif;
	}
	.space{
		margin-top:20px;
		
		}
/* Images */
.kuvitus{
	margin-bottom:10px;
	overflow:auto;
	width:100%;
	height:320px !important;
	white-space: nowrap;
	padding:0;
	}
.kuvitus img{
	margin-right:15px;
	}
.kuvitusdiv{
	margin-top:20px;
	font-weight:bold;
	font-size:11px;
	width:100%;
	margin-bottom:20px;
	}