/*   
Theme Name: BFNav
Theme URI: 
Description: PTK 
Author: Mikko Kovanen
Author URI: 
Template: bigfeature
Version: 1
*/

body { background: #fff ; }
#header { margin-bottom:0; }
#container { padding: 40px 50px 20px; border-left: 1px solid #aaa; border-right: 1px solid #aaa; min-height: 350px; }
#topheader { padding-top: 25px; background-color: #f3f3f3; background-image: url(images/bg.gif); background-repeat: repeat-x; }
#topheader .inside { background-color: #fff; padding: 25px 0; border: 1px solid #aaa; border-bottom:none; }
#topheader p.description { border-left: none; margin: 0; font-size: 14px; padding: 17px 0 0 14px; }
#topheader ul.navigation.navsimple li a { border-right: 1px solid #666; }
#topheader ul.navigation.navsimple li.last a { border-right: none; }
#headerstuff { padding: 0 25px; }
#top .inside { background-color:#3b8fbe; background-image: url(images/navbg.jpg); background-repeat: repeat-x; padding: 8px 0; border-left: 1px solid #3b8fbe; border-right: 1px solid #3b8fbe; }
#top ul.navigation { width: auto; margin: 5px 0 0 50px; }
#top ul.navigation a { color: #fff; font-size: 14px; }
ul.navigation.navsmall li  { border-right: 1px solid #fff; }

ul.navigation.navsmall li:last-child { border-right: none; }

#searchcontainer { float:right; margin-right: 25px; }
#searchcontainer .searchicon { margin: 3px 0 0 3px; }
#searchcontainer .searchbox { height: 22px; background-color: #fff; }
.searchform .searchfield { padding: 2px; }
#footer-widgets a { color: #eee; }
#footer { margin-top: 0; }
#footer .inside { border-left: 1px solid #333; border-right: 1px solid #333; background-color: #3d8fbf; }
#footer-widgets h2 { color: #eee; }
#footer-widgets ul li ul li { border-bottom: 1px #666 solid; }
#footer-widgets { border-top: none; margin-top: 0; padding: 20px 50px; background-color:#333; color: #eee; }
#footertext { padding: 10px 50px; }
#footertext ul.navigation.navsmall { float: right; width: auto; margin: 5px 15px 0; }
#footertext ul.navigation.navsmall li.last a { padding-right: 15px; border-right: 1px solid #999; }

#top {

	border-top: 1px solid #ccc;
}

#oikea_etusivu {
	width: 370px;
	float: right;
}

#oikea_etusivu img {
	margin: 0 auto;
}

#ala_etusivu {
	display: block;
/*	border: 1px solid #ccc;*/
	padding: 7px;
	margin-top: 10px;
}

#oikea_yhteystiedot {
	width: 215px;
	float: right;
}

#vasen_yhteystiedot {
	width: 215px;
	float: left;
}

#vasen_yhteystiedot h2 {
	font-size: 20px;
}

#vasen_yhteystiedot img {
	border: 1px solid #ccc;
	padding: 5px;
}

#takaisin {
	height: 35px;
	width: 112px;
	background-image: url(images/back.jpg);
	margin-top: 60px;
}

.post td {
	padding: 15px;
}

#login {
	width: 200px;
	float: right;
	text-align: right;
	margin-top: 10px;
	margin-right: 10px;
}

#login li {
	list-style: none;
	display: inline;
}

#login a {

}

.kuva {
	padding: 5px;
	border: 1px solid #ccc;
}

li.current_page_item a {
	text-decoration: underline;
}

/*LOMAKE*/

input, textarea {
	border: 1px solid #ccc;
	padding: 5px;
	background-image: url(images/lomakebg.jpg);
	background-repeat: repeat-x;
}

input:focus {
	border: 1px solid black;
	background-image: none;
}

.wpcf7-list-item checkbox {
	border: none;
}

.valinta input{
	border: none;
	background-image: none;
}














