@charset "utf-8";
/* CSS  */
body{
	width: 896px;
	margin: auto;
	margin-top: 20px;
	font: 12px Tahoma, Geneva, sans-serif black;
}
a{ text-decoration: none; color: #36F }
a:visited{ color: #30F; }
pre{ font: inherit; word-wrap: normal; white-space: pre-wrap; }
#wrapper{
	clear: both;
	margin: -10px;
	padding: 10px;
	margin-top: 50px;
	border-radius: 90px;
	-moz-border-radius: 90px;
	
}
/* Logo */
#banner{
	height: 170px;
	width: inherit;
	background-repeat: no-repeat;
	background-position: top right;
	text-align: right;
	border-top-left-radius: 80px;
	border-top-right-radius: 80px;
	-moz-border-radius-topleft: 80px;
	-moz-border-radius-topright: 80px;
	border: 0px solid;
	border-bottom: 0px;
	background-color: #fff;
}
/* Kellon sijoitus */
#kello{
	margin-top: -15px;
	margin-left: -40px;
	position: absolute;
}
/* Tekstin sijoitus */
#logo{
	background-image: url(images/web/sitefolk.png);
	margin-top: 25px;
	margin-left: 105px;
	position: absolute;
	width:600px;
	height: 140px;
}
/* Hakupalkki */
#hakupalkki{
}
/* Navigaatio */
#navi, .tab{
	font-size: 14px;
}
#navi{ 
	list-style: none; 
	margin: 0; 
	padding: 0;
	height: 39px;
	clear: both;
	background-size: cover;
}
#navi li{ 
	
	float: left;
	height:37px;
}
.tab ul{ margin-left: 20px; }
#navi a{
	float: left;
	height: 29px;
	width: 97px;
	display: block;
	padding-top: 8px;
	padding-left: 30px;
	margin-top: 2px;
	text-align: center;
	color: #000;
	text-decoration: none;
	vertical-align: super;
}
#navi a:hover{
	color: #fff;
	background-image: url(images/web/navibar_hover.png);
	background-repeat: no-repeat;
	border-radius: 50px;
}
.tab a{
	float: left;
	padding-top: 5px;
	color: #444;
	text-decoration: none;
	text-align: left;
	padding-left: 10px;
	height: 25px;
	width: 140px;
	background-image: url(images/web/navi_background.png);
}
.tab a:hover{
	color: #000;
}

.up{ border-top-left-radius: 4px; border-top-right-radius: 4px;}
.middle{ }
.down{ border-bottom-left-radius: 4px; border-bottom-right-radius: 4px;}
.tab span{
	position:relative;
	top: 3px;
	margin-left: 20px;
	}
.tab img{
	height: 25px;
	width: 25px;
	margin: 0;
	padding: 0;
	margin-top: -3px;
	margin-bottom: -10px;
	position: absolute;
	border: 0;
	background-size: 100%;
	margin-left: -12px;
}
.tab{
	float: left;
	clear: both;
	width: 150px;
	color: #fff;
	position: absolute;
	margin-top: 2px;
	font-size: 0.9em;
	z-index: 1;
	padding: 5px;
	border-radius: 7px;
	
	display: none;
	opacity: 0;
	}
.naviimage{
	width: 35px;
	background-size: cover;
	background-repeat: no-repeat;
	height: 35px;
	float: left;
	position: relative;
	margin-left: 2px;
	margin-right: -44px;
	margin-top: 3px;
	z-index: 2;
}

/* SeasonPicker */
#picker{
	height: 40px;
	width: 160px;
	background: url(images/temp/pickerbg.png);
	margin-top: 20px;
	margin-left: 60px;
	margin-bottom: -20px;
}
#picker img{
	height: 40px;
	width: 40px;
	float: left;
}

/* Sisällön layout */
#left{
	width: 250px;
	float: left;
	margin-top: 10px;
}
#right{
	width: 630px;
	float: right;
	margin-top: 10px;
}
/* Opassivujen layout */
#navi_left{
	width: 130px;
	float: left;
	margin-top: 30px;
}
#content_right{
	width: 766px;
	float: right;
	margin-top: 10px;
}
.box, .box2, .box3{
	background-image: url(images/web/box_bg.png);
	border-radius: 20px;
	padding: 6px;
	padding-bottom: 4px;
	margin-bottom: 10px;
}
.box3{ padding: 0px; }
.tab_box{
	display: block;
	text-align: center;
	width: 80%;
	margin:auto;
	height: 30px;
	background-color: #dedede;
	margin-bottom: 10px;
	border-radius: 10px;
	
	font-size: 1.6em;
	font-weight: bold;
	color: #000;
}
.tab_box:hover{
	background-color: #000;
}
.box_header{
	width: 100%;
	background: #dedede;
	border-top-left-radius: 15px;
	border-top-right-radius: 15px;
	height: 50px;
	background-image: url(images/web/box_banner/summer.png);
	background-position: right;
	background-repeat: no-repeat;
	float: left;
	
}
.box_header div{
	margin: 12px;
	font-size: 1.5em;
	color: #fff;
	text-shadow: 1px 1px 3px #444;
	float: left;
}
.box_header img{
	float: right;
	margin-right: 10px;
}
.box_content{
	padding-left: 1.5%;
	padding-right: 1.5%;
	padding-bottom: 2px;
	margin-top: 0;
	width: 97.2%;
	min-height: 30px;
	background: #fff;
	border-bottom-left-radius: 15px;
	border-bottom-right-radius: 15px;
	float: left;
	word-wrap: break-word;
	z-index: 1;
}
#left .box_content{ width: 222px; padding: 8px; }
#navi_left .box_content{ width: 102px; padding: 0px;  }
#content_right .box_content{ width: 738px; padding: 8px; }
#right .box_content{ width: 602px; padding: 8px;  }

#content_right .box_content{
	min-height: 600px; 
}

.box_footer{
	width: 100%;
	height: 2px;
	clear: both;
	
}
.feed{
}
.right_box a{
	color: #040;
}
#footer{
	width: 100%;
	clear: both;
	height: 45px;
	border-bottom-left-radius: 80px;
	border-bottom-right-radius: 80px;
	-moz-border-radius-bottomleft: 80px;
	-moz-border-radius-bottomright: 80px;
	text-align: center;
	padding-top: 10px;
	font-size: 1em;
	color: #ffffff;
}
#atomic_fire{
	width: 500px;
	background-color:;
	margin: auto;
	text-align: center;
	font-size:1em;
	background-image: url(images/web/atomic.png);
	background-position: center;
	background-repeat: no-repeat;
	height: 46px;
	padding-top: 19px;
	
}
#atomic_fire a{
}
#footer_footer{
	height: 50px;
	width: 100%;
}
.forummessages_date{
	font-size: 0.8em;
	width: 100%;
	text-align: right;
}
#new_layout{
	width: 541px;
	height:  504px;
	overflow: hidden;
	padding: 10px;
	margin-top: 10px;
	margin-bottom: 10px;
}
.news_div{
	height: 460px;
	overflow: hidden;
}
.news_control{
	height: 50px;
}
#news_count{
	width: 450px;
	height: 39px;
	margin: auto;
	margin-top: 0px;
	opacity: 0.8;
}
.new_divider{
	position: relative;
	float: left;
}
.new_item{
	width: 538px;
	height: 65px;
	background-image: url(images/web/new_bg.png);
	margin-top: 20px;
}
.new_item img{
	width: 55px;
	height: 55px;
	margin-left: 5px;
	margin-top: 5px;
	margin-right: 20px;
	float: left;
}
.new_date{
	width: 400px;
	float: left;
	font-size: 0.8em;
}
.new_title{
	margin-top: 15px;
	width: 400px;
	float: left;
}
#new_control_left{
	width: 57px;
	height: 40px;
	float: left;
	margin-top: 0px;
	background-image: url(images/web/new_next.png);
	background-repeat: no-repeat;
	background-size: 100%;
}
#new_control_left:hover{
	background-image: url(images/web/new_next_hover.png);
}
#new_control_right{
	width: 57px;
	height: 40px;
	float: right;
	margin-top: 0px;
	background-image: url(images/web/new_previous.png);
	background-repeat: no-repeat;
	background-size: 100%;
}
#new_control_right:hover{
	background-image: url(images/web/new_previous_hover.png);
}
.comment{
	border-bottom: 1px solid #bbb;
	border-right: 1px solid #bbb;
	padding: 5px;
	width: 98%;
	margin-bottom: 10px;
	margin-top: 10px;
	background-color: #fafafa;
	background-image: url(images/web/comment_background.png);
	background-position: bottom;
	background-repeat: repeat-x;
}
.comment_edit{
	display: none;
	padding: 15px;
}
.edited{
	font-size: 0.8em;
	color: #999;
	float: right;
	margin-top: -10px;
}

textarea{ font: inherit; width: 95%; }

#cms_navi{
	width: 90%;
	margin: auto;
	height: 30px;
	margin-right: 50px;
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
	margin-top: -20px;
	margin-bottom: -30px;
}
.cms_navi{
	float: left;
	height: 16px;
	padding: 2px;
	margin-left: 7px;
	padding-right: 20px;
	padding-left: 20px;
	background-color: #fff;
	border-radius: 5px;
	margin-top: 4px;
	color: #000;
}
.cms_navi:hover{
	color: #888;
}
.cms_navi a{ color: inherit; display: block; }

#cms_navi input{
	margin-top: 4px;
	padding: 3px;
	padding-left: 10px;
	padding-right: 10px;
	float: left;
	margin-left: 10px;
	border-radius: 7px;
	border: 0;
}
.imagebox img{
	border-radius: 5px;
}
#messagebox{
	float: right;
	position: relative;
	height: 53px;
	width: 266px;
	text-align: center;
	padding-top: 10px;
	padding-right: 35px;
	margin-right: 10px;
	margin-top: 10px;
	margin-bottom: -53px;
	background-image: url(images/web/ui/messagebox.png);
	background-position: bottom;
	background-repeat: no-repeat;
	
	font-size: 1.1em;
	font-weight: bold;
	color: #fff;
	text-shadow: 1px 1px 2px #000;
	opacity: 0.85;
}
.user_display{
	margin-bottom: 20px;
}
.user_display a{
	font-size: 2.1em;
	font-weight: bold;
	color: #222;
	text-shadow: 2px 2px 2px #aaa;
}
.database_settings, .database_settings_small{
	font-size: 0.9em;
	padding: 10px;
	border-radius: 20px;
}
.database_settings{
	width: auto;
}
.database_settings_small td{
	background-color: #ccc;
}
.database_settings td, .database_settings_small td{
	padding: 4px;
	border-radius: 7px;
}
.database_settings td input[type="text"]{
	height: 15px;
	width: 120px;
}
.database_settings td input[type="file"]{
	width: 150px;
}
.database_settings img, .database_settings_small img{
	max-height: 80px;
	max-width: 80px;
}
.content_table{
	font-size: 0.9em;
	width: 100%;
}
.content_table td{
	padding: 3px;
	background-color: #FFF;
	background-image: url(images/web/comment_background.png);
	background-position: bottom;
	background-repeat: repeat-x;
	border-radius: 0px;
	border-bottom: 1px solid #bbb;
	border-right: 1px solid #bbb;
}
.content_table img{
	max-height: 70px;
	max-width: 70px;
}
.db_struct{
	width: 100%;
}
.db_struct td{
	padding: 7px;
	padding-right: 20px;
	border: 1px solid #999;
}
.db_struct td:hover{
	background-color: #dedede;
}
.db_struct input, .db_struct select{
	width: 100px;
	margin-right: 45px;
}
.db_struct input[type=submit]{
	width: 70px;
	margin: 0px;
}

.cat{
	width: 130px;
	height: 32px;
	margin-bottom: -10px;
	padding-top: 10px;
	background-image: url(images/web/cat.png);
	background-repeat: no-repeat;
}
.cat:hover{
	margin-left: 5px;
}

.cat a{
	color: #444;
	width: 100%;
	height: 100%;
	display: block;
	font-size: 1.0em;
	margin-left: 10px;
	text-shadow: 1px 1px 1px #dedede;
}
