@import 'reset.css';
@import 'form.css';

body {
background-color: #F0F0F0;
font-family:Verdana, Arial, Helvetica, sans-serif;
width: 100%;
font-size: 90%;
}

p { padding-bottom: 0.5em; }

h1 { font-weight: bold; font-size: 120%; color: #00009F; padding-bottom: 1em; }
h2 { font-weight: bold; font-size: 110%; color: #00009F; padding: 0.5em 0 0.5em 0; }
h3 { font-weight: bold; font-size: 100%; color: #00009F; padding: 0.5em 0 0.5em 0; }
h4 { font-weight: bold; font-size: 95%; color: #383838; padding: 0.5em 0 0.5em 0; }
h5 { font-weight: bold; font-size: 80%; color: #383838; padding: 0.5em 0 0.5em 0; }
h6 { font-weight: bold; font-size: 75%; color: #383838; padding: 0.5em 0 0.5em 0; }

a:link { color: #026300; text-decoration: underline; }
a:visited { color: #026300; }
a:hover { color: #026300; text-decoration: none; }
a:active { color: #026300; }

ul.news { margin: 0.5em 0 0.5em 0; padding: 0; }
.news li { margin: 0 0 0.7em 0; padding: 0; clear: both; list-style-type: none; }
.news li a { color: #026300; }

.user_form_header {
	font-weight: bold;
    padding: 3px;
}

.login_field {
	background-color: #fff;
	border: 1px solid #D5D5D5;;
	width: 140px;
}

.grey { background-color: #F0F0F0; }
.info {background-color: #FDFFC2; border: 1px solid #E3E5AF; padding: 1em; line-height: 14pt;}
.kysymys_ohje {background-color: #D1EFF7; border: 1px solid #898787; padding: 1em; line-height: 14pt;}
.kysymys { clear: both; line-height: 10px;}

.btn_calendar{float:left; padding-top:23px;padding-right:5px;}

.left { float: left; }
.right { float: right; }

.comment_caption {
	font-size: 75%
}
.user_form_header {
	font-weight: bold;
}
.user_textfield {
	width: 200px;
}
.user_textfield_long {
	width: 400px;
}
.comment_text {
    background-color: #FFFFFF;
    border-width: 1px;
    border-color:#E4E4E4;
    margin:1em 0 0 0;
}
.btn_green_button {
	border: 1px solid #067600;
	border-top-color: #fff;
	border-left-color: #fff;
	padding: 3px 1.5px 3px 1.5px;
	margin: 0px;
	background-color: #006d03;
	color: #fff;
	font-size: 75%;
	font-weight: bold;
}
.btn_red_button
{
	border: 1px solid #A30A1B;
	border-top-color: #C64554;
	border-left-color: #C64554;
    background-color:#A01C2B;
	padding: 3px 1.5px 3px 1.5px;
	margin: 0px;
	color: #fff;
	font-size: 75%;
	font-weight: bold;
}
.text_green_feedback {
    font-size:100%;
    font-weight: bold;
	color: #077C0E;
}
.text_red_feedback {
    font-size:100%;
    font-weight: bold;
	color: #A01C2B;
}
.text_black_feedback {
    font-size:100%;
    font-weight: bold;
	color: #000000;
}
.sitemap ul { line-height: 1.9em; font-size: 90%;}

.search_result { line-height: 1.6em; }


a.news_link: link {
	font-weight: bold;
	color: #245585;
}
a.news_link: visited {
	font-weight: bold;
	color: #245585;
}

.news .date {
	background: #ECEAE6;
	border-right: 1px solid #E0DAD2;
	border-bottom: 1px solid #E0DAD2;
	float: left;
	text-align: center;
	margin: 0 5px 5px 0;
	line-height: 1.1em;
	padding: 2px;
	font-size: 80%;
	font-weight: bold;
	width: 80px;
	white-space: nowrap;
	color: #3C3C3C;
}
.news_caption {
	text-align: left;
	width: 100%;
	background-color: #F7F7F7;
}
.news_header {
	text-align: left;
	width: 100%;
	background-color: #F7F7F7;
	font-weight: bold;
	padding: 4px;
}


.user_td_header {
	background-color: #E5E5E5;
    font-weight: bold;
   	padding: 3px;
}
.user_td_row {
	background-color: #F7F7F7;
   	padding: 3px;
}

.user_btn_save {
    background-color: #077C0E;
	border-top: 1px solid #17911E;
	border-bottom: 1px solid #025F08;
	border-left: 1px solid #17911E;
	border-right: 1px solid #025F08;
	height: 25px;
	width: 160px;
   	font-size: 85%;
	font-weight: bold;
	color: #fff;
	text-align: center;
}

.user_btn_remove {
    background-color: #A01C2B;
	border-top: 1px solid #B9414E;
	border-bottom: 1px solid #660914;
	border-left: 1px solid #B9414E;
	border-right: 1px solid #660914;
	height: 25px;
	width: 160px;
   	font-size: 85%;
	font-weight: bold;
	color: #fff;
	text-align: center;
}

.user_btn_prev {
    background-color: #5A5A5A;
	border-top: 1px solid #6F6F6F;
	border-bottom: 1px solid #484848;
	border-left: 1px solid #6F6F6F;
	border-right: 1px solid #484848;
	height: 25px;
	width: 160px;
   	font-size: 85%;
	font-weight: bold;
	color: #fff;
	text-align: center;
}

.clearer { clear: both; }


div#wrap { background: #fff url(../gfx/bg_wrap.gif); background-repeat:repeat-y; margin:0 auto; position: relative; width: 983px;  }

/* header */ 
div#header {
width: 983px;
height: 127px;
margin: 0px 0px 0px 0px;
background:  url(../gfx/bg_header.gif);

}


div#logo { padding: 25px 5px 5px 30px; float: left; }


/* ylänavi */
div#topmenu { background: #1CB703; margin: 0px 5px 0px 16px; padding:7px 0 0 0; width: 947px; height: 34px; }
div#topmenu ul { display: inline; list-style: none; }
div#topmenu ul li { display: inline; padding: 0px 20px 0 10px; }
div#topmenu ul li a { color: #fff; text-decoration:none; font-size: 120%; font-weight: normal;}
div#topmenu ul li a visited{ color: #000000; text-decoration:none; font-size: 100%; font-weight:bold;}

/* sisältöalue */
#main { float: left; width: 690px; padding: 10px; margin: 0px 0px 0px 15px; background-color:#ffffff; line-height: 120%; }
#main ul { padding-left: 20px; line-height: 1.4em;}
#main ul ul { font-size: 95%;}

#toolbar {background-color:#ffffff;}

#path {float: left;  background:url(../gfx/bg_path.gif); margin: 0px 0px 0px 16px; padding: 6px 10px 0px 10px; font-size: 90%; width: 927px;  height:29px; }

#path a {text-decoration:none; color:#026300; }

#search_box { float: right; padding: 5px 2px 0 0px; background-color:#EBEBEB; margin: 0px; width: 200px; font-size: 80%;  height:22px; }

#sidebar {width: 225px; float: left; margin: 0px; padding:0px; }

/* haku */
#prop {
	float: right;
    width: 1px;
    height: 500px;
}

/* footer */
#footer { background: #F0F0F0 url(../gfx/bg_footer.gif); height: 35px; width: 983px; clear: both; }
#footer_text { text-align: center; font-size: 80%; }
#footer_text a {color: #C3C3C3; text-decoration: none; }

/* alavalikko */
#sub_nav_container { margin: 0px 0 0 16px; padding: 0px; }
#sub_nav_container li { list-style: none; }
#sub_nav_container ul { margin: 0; padding: 0; list-style: none; width: 215px; }
#sub_nav_container ul li { position: relative; }      
#sub_nav_container li ul { position: absolute; left: 215px; top: 0; display: none; background-color: #00009F; }
#sub_nav_container ul li a { display: block; text-decoration: none; padding-left:15px;}
#sub_nav_container li:hover > ul, li.over ul { display: block; }  
#sub_nav_container li a {display: block;padding: 5px 0px 5px 4px;background-color: #00009F;color: #fff; font-size: 90%;font-weight: normal;text-decoration: none;width: 200px; border-bottom: 1px solid #EBEBEB;}
#sub_nav_container li a:hover { color: #ffffff; background-color: #1CB703; }

#sub_nav_container_header { background-color: #00009F; margin-top:0px; width: 215px; display: block; color: #fff; padding-bottom: 2px; border-bottom: 1px solid #EBEBEB;}
#sub_nav_container_header_text { padding-top: 6px; padding-left: 3px; padding-bottom: 3px; font-weight: bold; font-size: 90%;}
#sub_nav_container_header a { font-weight: bold; color: #fff; font-size: 90%; text-decoration: none; height: 26px; }

/* kirjautuminen */
#login_header { background-color: #EAEAEA; margin-top:10px; width: 212px; font-weight: bold; display: block; color: #383838; padding: 3px 0 3px 3px; text-align:center;}
#login_box { margin-top: 0px; width: 100%; }
#login_box #inside { padding: 5px; font-size: 80%; color: #000; text-align: center; }

.menu { background-color: #F0F0F0; padding: 0.5em; border: solid 1px #E0E0E0;}


/* painikkeet */
.btn_green_adminsidebar
{
    color: #FFFFFF;
    border-color:#116E16;
    font-weight: bold;
    border-style:solid;
    background-color:#077C0E;
    width: 150px;
    font-size: 75%;
    height: 25px;
    border-width:2px;
    margin:1em 0 0 0;
}
.btn_red_adminsidebar
{
    color: #FFFFFF;
    font-size: 75%;
    border-color:#6E0B16;
    font-weight: bold;
    border-style:solid;
    background-color:#A01C2B;
    width: 150px;
    height: 25px;
    border-width:2px;
    margin:1em 0 0 0;
}
.btn_grey_adminsidebar
{
    color: #FFFFFF;
    font-size: 75%;
    border-color:#4A4A4A;
    border-style:solid;
    background-color:#717171;
    width: 150px;
    height: 20px;
    border-width:2px;
    margin:1em 0 0 0;
}
.btn_grey_adminsidebar_large
{
    color: #FFFFFF;
    font-size: 75%;
    border-color:#4A4A4A;
    border-style:solid;
    background-color:#717171;
    width: 150px;
    height: 25px;
    border-width:2px;
    margin:1em 0 0 0;
}


#kommentointi { width: 100%; text-align: center; padding: 20px 0 20px 0; }
.btnO { border: 1px solid #D98000; border-top-color: #FF9B0D; border-left-color: #FF9B0D; padding: 3px 1.5px 3px 1.5px; margin: 0px; background-color: #EF8D00; color: #fff; }

.btnOS { border: 1px solid #A6A6A6;
	border-top-color: #00009F;
	border-left-color: #00009F;
	padding: 1px 1.5px 1px 1.5px;
	margin: 0px;
	background-color: #D4D0C8;
	color: #000;
	font-size: 10px;
}

.btnH {
	border: 1px solid #A6A6A6;
	border-top-color: #fff;
	border-left-color: #fff;
	padding: 3px 1px 3px 1px;
	margin: 0px;
	background-color: #D4D0C8;
	color: #000;
}

table.tablesorter {
	font-family:arial;
	background-color: #CDCDCD;
	margin:0px 0pt 15px;
	font-size: 8pt;
	width: 100%;
	text-align: left;

}
table.tablesorter thead tr th, table.tablesorter tfoot tr th {
	background-color: #8294C1;
	border: 1px solid #FFF;
	font-size: 8pt;
	padding: 4px;
	color: #fff;
}
table.tablesorter thead tr .header {
	background-repeat: no-repeat;
	background-position: center right;
	cursor: pointer;
}
table.tablesorter tbody td {
	color: #3D3D3D;
	padding: 4px;
	background-color: #F9F9F9;
	vertical-align: top;
	border-bottom: 1px solid #E0E0E0;
}

table.tablesorter tbody tr.odd td {
	background-color:#F8F8F0;
}
