/*------------------------------------------------------------*
**  Global
**------------------------------------------------------------*/
body {
	/*background: #66ccff url(img/bg.jpg) top no-repeat;*/
	background: #E5E5E5 url(img/bg_tile.gif) repeat-y top center;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 70%;
	text-align: center; /* IE Fix */
	margin: 0px;
	color: #666;
}
acronym { cursor: help; border-bottom: 1px dashed #999; }
a { text-decoration: none; color: #3399cc; }
a:hover { text-decoration: underline; color: #369; }
input, select, textarea {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
	border: 1px solid #999;
	margin: 0px 1px 0px 1px;
}
input, textarea {
	padding: 1px 0px 1px 3px;
}
input[type=submit] {
	border: 1px solid black;
	border-top: #555 1px solid;
	border-left: #555 1px solid;
	background: #EEE;
	padding: 1px 2px 1px 2px;
}


/*------------------------------------------------------------*
**  Container
**------------------------------------------------------------*/	
#container {
	margin: 0 auto;
	margin-top: 0px;
	margin-bottom: 7px;
	width: 742px;
	background: #fff;
	/*
	border-top: 1px solid #333333;
	border-bottom: 1px solid #333333;
	border-left: 1px solid #333333;
	border-right: 1px solid #333333;*/
	padding: 0px;
	text-align: left; /* Cancel IE Fix */
}
	
/*------------------------------------------------------------*
**  Header
**------------------------------------------------------------*/		
#header {
	background: #0099CC url(img/header.jpg);
	/*border: 5px solid #333333;*/
	height: 101px;
	}	
#header h1 { 	
	margin: 0;
	color: #C6C4C5;
	font-size: 1.8em;
	font-weight: normal;
	cursor: default;
	padding-top: 15px;
	padding-left: 15px;
	}	
#header h2 { 	
	margin: 0;
	color: #8D8E90;
	font-size: 1.2em;
	padding-left: 1px;
	cursor: default;
	}	

/*------------------------------------------------------------*
**  Nav
**------------------------------------------------------------*/

#nav {
	background: #003366 url(img/nav_bg.jpg);
	background-position: right;
	background-repeat: repeat-y;
	border-bottom: 20px solid #fff;
	margin: 0;
	padding: 0;
	height: 2.3em;
}
#nav li {
	list-style-type: none;
	display: inline;
	line-height: 20px;
}		
#nav li a { 
	text-decoration: none; 
	color: #ddd;
	background-color: #4e78a2;
	border-right: 5px solid #fff;
	border-bottom: 0;
	padding: 3px 15px;
	font-size: 1em;
	float: left;
	font-weight: bold;
	padding-bottom: 3px;
}

#nav li a:hover { background-color: #336699; }
#nav li a.on { background-color: #003366; color: #C6C4C5; }


/*------------------------------------------------------------*
**  Content
**------------------------------------------------------------*/
#content {
	float: left;
	width: 700px;
	margin-left: 12px;
	line-height: 20px;
	text-align: justify;
	word-spacing: 2px;
}

#content h3 { 
	font-size: 1.1em;
	font-weight: 900;
	margin: 0 10px 0 0;
	cursor: default;
}

#content h3 span {
	border-bottom: 1px dashed;
}


div.section {
	border: 1px solid #ddd;
	padding: 10px;
	margin-top: 10px;
	margin-bottom: 20px;
	background: #fff url(img/para_bg.jpg) repeat-x;
}

#content_news_box {
	text-align: left;
	border: 1px dashed #aaa;
	padding: 10px;
	margin-top: 10px;
	margin-bottom: 20px;
	background: #fff url(img/para_bg.jpg) repeat-x;
}
#content_news_box h3,  #content_news_box h3 span {
	margin-top: 0px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
	text-decoration: none;
	border-bottom: none;
}
#content_news_box h3 .date {
	font-weight: normal;
	font-size: 9px;
}
#content_news_box h3 .new {
	font-family: 'arial', 'trebuchet ms', 'verdana', 'sans-serif';
	font-weight: normal;
	font-size: 9px;
	color: #FF0000;
}

/**
 * OK, ERROR, INFO BOXES
 */
p.error, p.ok, p.info {
	margin: 0pt 0pt 3px;
	padding: 1px 0pt 3px 20px;
}
div.error, div.ok, div.info {
	margin: 5px 0pt 10px;
	padding: 4px 4px 0pt;
}

p.info {
	background: transparent url(/img/info.png) no-repeat scroll 0% top;
	padding-top: 0px;
}
div.info {
	background: #DBEEFF none repeat scroll 0%;
	border: 1px solid #63B8FF;
}
.info {
	color: #055AA1;
}
.info a {
	color: #034CC2;
	text-decoration: underline;
}

p.error {
	background:transparent url(/img/exclamation.png) no-repeat scroll 0% top;
	padding-top: 0px;
}
div.error {
	background: #FFDBE1 none repeat scroll 0%;
	border: 1px solid #FFA7BA;
}
.error {
	color: #E20015;
}
.error a {
	color: #E00064;
	text-decoration: underline;
}

p.ok {
	background:transparent url(/img/ok.png) no-repeat scroll 0% top;
	padding-top: 0px;
}
div.ok {
	background: #D3FFC1 none repeat scroll 0%;
	border: 1px solid #6BB52F;
}
.ok {
	color: #286820;
}
.ok a {
	color: #0C7701;
	text-decoration: underline;
}


/*------------------------------------------------------------*
**  Footer
**------------------------------------------------------------*/
#footer {
	/*background: #fff url(img/footer.jpg) no-repeat;*/
	/*border-bottom: 5px solid #fff;*/
	/*border-top: 10px solid #fff;*/
	text-align: center;
	/*color: #fff;*/
	font-size: 0.8em;
	padding: 0px;
	position: relative;
	line-height: 16px;
	clear: both;
}
	
#footer a { text-decoration: none; color: #666; }
#footer a:hover { text-decoration: none; color: #3399cc; }


/*------------------------------------------------------------*
**  misc
**------------------------------------------------------------*/

#font_error_msg {
	color: #FF0000;
}

#tbl_color1 {
	background-color: #FFCC66;
	border: 1px solid #000000;
}

#tbl_color2 {
	background-color: #FFFF99;
	border: 1px solid #000000;
}

#font_smaller {
	font-size: 0.8em;
	font-style: italic;
}

#req_form {
	/*background-color:#D1DBED;*/
	background-color:#C0FAC4;
}

#reg_bar {
	float: right;
	text-align: right;
	line-height: 25px;
	border: 1px solid #000;
	margin: 3px;
	padding: 3px;
	background: #6abbd6 url(img/reg_bar_bg.jpg) repeat-y;
	color: #555;
}

#reg_bar_login_name {
	font-family: Arial, Helvetica, sans-serif;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 9px;
	font-weight: bold;
	/*color: #555;*/
}


#treeni_table {
	border: 0px solid #000000;
	background: #000;
	line-height: 18px;
	margin: 1px;
}

#treeni_table tr {
	border: 1px solid #000000;
	background-color: #BCD9DE;
	/*font-weight: bold;*/
	color: #222;
}

#treeni_table td {
	border: 0px solid #000000;
}


#treeni_table_yhteenveto {
	border: 0px solid #000000;
	line-height: 15px;
	background: #fff;
	margin: 1px;
}

#treeni_table_yhteenveto td {
	border: 1px solid #000000;
	margin: 1px;
}

#tbl_otsikko {
	background-color: #000;
	color: #FFFFFF;
	font-size: 12px;
	font-weight: bolder;
}

#tbl_alaotsikko {
	font-weight: bolder;
	background-color: #86c6d1;
	color: #000;
}
#tbl_alaotsikko_day {
	background-color: #aed3da;
}

#tbl_voima {
	background-color: #ffa17c;
}

#tbl_aero_low {
	background-color: #7ef08e; /*7ef08e*/
}
#tbl_aero_med {
	background-color: #32CD32;
}
#tbl_aero_high {
	background-color: #7CFC00;
}

#tbl_yhteenveto {
	font-weight: bolder;
	border: 0px;
	color: #000;
}

.tbl_yhteenveto_personal {
	background-color: #aed3da;
	color:#000;
	font-weight:bold;
	font-size: 10px;
}

.tbl_yhteenveto_voima {
	color:#000;
	font-weight:bold;
	font-size: 10px;
}

.tbl_yhteenveto_aero {
	background-color: #63f678;
	color:#000;
	font-weight:bold;
	font-size: 10px;
}


/*------------------------------------------------------------*
**  popup
**------------------------------------------------------------*/

.popup {
	/*line-height: 11px;*/
	text-align: left;
	text-indent: 0;
}

.popup a {
	padding-left: 2px;
	/*display: block;*/
	text-indent: 0;
}

.popup a:link {
	color: #003366;
	text-decoration: none;
}

.popup a:visited {
	color: #003366;
	text-decoration: none;
}

.popup a span {
	display: none;
	text-indent: 0;
}

.popup a:hover {
	color: #444;
	text-indent: 0;
	display: block;
}
.popup a:hover span {
	line-height: 11px;
	text-indent: 0;
	position: absolute;
	display: block;
	font-size: 9px;
	background-color: #111;
	color: #ddd;
	overflow: visible;
	visibility: visible;
	padding: 5px;
	margin: 10px;
	border: 1px solid #CCCCCC;
	width: 350px;
}




/*------------------------------------------------------------*
**  calendar
**------------------------------------------------------------*/

.cal_tyhja {
    background-color: #EEEEFF;
    font-size: 10px; font-family: Tahoma;
	line-height: 1.5em;
}
.cal_viikko {
    background-color: #EEEEFF;
    font-size: 10px; font-family: Tahoma;
	line-height: 1.5em;
}
.cal_viikko a {
	text-decoration: none; color: #000000;
}
.cal_normi {
    background-color: #DDDDFF;
    font-size: 10px; font-family: Tahoma;
	padding: 0px 0px 0px 0px;
	line-height: 1.5em;
}

.cal_tanaan {
    background-color: #DDBBBB;
    font-size: 10px; font-family: Tahoma;
    border: 1px solid #FF0000;
	line-height: 1.5em;
}

.cal_table {
    color: #000000;
    border: 1px solid #000000;
	line-height: 1.5em;
	margin: 5px;
}


