html {
	height: 100%;
}
body {
	height: 100%;
	width: 100%;
	margin: 0;
	padding: 0;
	background: #fff url(/graf/bg_body.gif) repeat-x top; 
	font: small "Lucida Sans", verdana, arial, helvetica, sans-serif;
}
img {
	border: none;
}
img.mobile {
	display: none;
}

#bg, #bg1 {
	position: relative;
	width: 960px;
	min-height: 400px;
	margin: 0 auto;
	padding: 0;
	background: url(/graf/bg.gif) repeat-y;
}
#bg0 {
	position: relative;
	width: 960px;
	margin-top: 0px;
	padding-top: 0px;
	background: url(/graf/bg_top.gif) no-repeat top;
}
#bg1 {
	background: url(/graf/bg_bottom.gif) no-repeat bottom;
	padding-top: 10px;
	padding-bottom: 30px;
}
#cont {
	width: 900px;
	margin: 0 auto;
}
#header {
	width: 900px;
	height: 100px;
	margin-top: 0px;
	background: #003366;
	color: #fff;
}
#headbar {
	width: 900px;
	height: 14px;
	margin: 4px 0;
	background: #ffab3e;
	font-size: 10px;
	color: #fff;
}
#content {
	float: left;
	width: 535px;
	min-height: 450px;
	padding: 1em 30px 4em 30px;
}
#footer {
	position: relative;
	clear: both;
	width: 900px;
	height: 16px;
	background: #003366;
	border-top: 3px solid #ffab3e;
	color: #fff;
	font-size: 10px;
	text-align: center;
	z-index: 100;
}
#footer .left, #headbar .left {
	float: left;
	width: 160px;
	text-align: left;
	padding-left: 10px;
}
#footer .right, #headbar .right {
	float: right;
	width: 160px;
	text-align: right;
	padding-right: 10px;
}

#navi {
	float: left;
	width: 160px;
	padding-top: 1em;
	padding-bottom: 3em;
	color: #003366;
}
#navi .item {
	border-bottom: 1px solid #336699;
}
#navi .item1 {
	border-top: 1px solid #336699;
	border-bottom: 1px solid #336699;
}
#navi a {
	display: block;
	font-size: 11px;
	padding: 1px 10px 1px 20px;
	text-decoration: none;
	color: #003366;
}
#navi a:hover {
	color: #3366CC;
	background: url(/graf/bghover.gif) no-repeat left;
}
#navi a.menu1 {
	color: #003366;
	background: #fff;
}
#navi a.menu1:hover {
	color: #3366CC;
	background: #fff url(/graf/bghover.gif) no-repeat left;
}
#navi div.submenu {
	margin: 0;
	border-top: 1px dotted #ddd;
}

#navi #sponssit {
	width: 140px;
	margin: 2em 10px 2em 10px;
	text-align: center;
}
#navi #sponssit .adds {
	margin-bottom: 1em;
}
#navi #sponssit .adds a {
	display: block;
	padding: 0;
	background-image: none;
}
#navi #sponssit .adds a.tr img {
	filter: alpha(opacity=100);
	-moz-opacity: 1.0;
	-khtml-opacity: 1.0;
	opacity: 1.0;
}
#navi #sponssit .adds a.tr:hover img {
	filter: alpha(opacity=70);
	-moz-opacity: 0.7;
	-khtml-opacity: 0.7;
	opacity: 0.7;
}

#addsCont {
	float: right;
	width: 140px;
	margin-right: 5px;
	margin-top: 1em;
	margin-bottom: 1em;
	color: #003366;
	text-align: center;
}
#adds1 {
	background: #fff;
	border-bottom: 3px solid #ffab3e;
	margin-bottom: 1em;
}
#adds2 {
	background: #fff;
	border-bottom: 3px solid #ffab3e;
}
#adds1 img, #adds2 img {
	margin-bottom: 4px;
}
#toiminnot {
	background: #036;
	padding: 1px 10px;
}
#toiminnot a {
	display: block;
	color: #ddd;
}
#toiminnot a:hover {
	color: #fff;
}

#sponssi {
	text-align: center;
	/* border-top: 1px solid #069; */
	padding-top: 1em;
}

table#hallitus {
	width: 100%;
	border-top: 1px solid #336699;
}
table#hallitus .td1, table#hallitus .td2 {
	vertical-align: top;
	padding-top: 0.3em;
	padding-bottom: 0.7em;
	border-bottom: 1px solid #336699;
}
table#hallitus .td1 {
	padding-right: 1em;
	font-weight: bold;
}

.btn {
	font-size: 11px;
	font-weight: bold;
	width: 140px;
}
.succeed {
	border: 1px solid #ccc;
	padding: 1px 10px;
	color: #666;
	margin-bottom: 1em;
}
.label {
	font-size: x-small;
	border-top: 1px solid #036;
	margin-top: 3em;
	clear: both;
}

div.frL {
	float: left;
	padding-right: 10px;
	padding-bottom: 1em;
}
div.frR {
	float: right;
	padding-left: 10px;
	padding-bottom: 1em;
}
div.frC {
	width: 100%;
	text-align: center;
	padding-bottom: 1em;
}

#infotaulu {
	width: 100%;
	border-top: 1px solid #069;
	border-bottom: 1px solid #069;
	margin-top: 1em;
	margin-bottom: 1em;
}
#infotaulu .solu {
	float: left;
	padding: 2px 10px;
	width: 247px;
	font-size: 10px;
}

#w3 {
	text-align: center;
	padding-bottom: 20px;
}
#nebula{
	position: relative;
	top: -75px;
	left:-10px;
}

div.box .inline {
	display: inline-block;
	vertical-align: top;
	cursor: hand;
}

#edustus .box {
	border-right: 1px solid #369;
	border-bottom: 2px solid #369;
	margin-bottom:1em;
}
#edustus .box .pic {
	display: inline-block;
	width: 150px;
	margin-right: 20px;
	vertical-align: top;
}
#edustus .box .nro {
	display: inline-block;
	width: 50px;
	padding-top: 0px;
	vertical-align: top;
	font-size: 200%;
}
#edustus .box .nimet {
	display: inline-block;
	width: 300px;
	padding-top: 10px;
	vertical-align: top;
	font-size: 120%;
}

#hallitus {
	border-bottom: 1px solid #369;
}
#hallitus .box {
	border-top: 1px solid #369;
	padding-top: 1em;
	margin-bottom: 1em;
}
#hallitus .box .inline1{
	display: inline-block;
	width: 160px;
	vertical-align: top;
	font-size: 80%;
	font-weight: bold;
}
#hallitus .box .inline2{
	display: inline-block;
	width: 260px;
	vertical-align: top;
}

input.pvmEdit {
	width: 20px;
}


#weather_cont {
	font-size: 10px;
	margin: 10px;
	margin-bottom: 48px;
	text-align: center;
	border: 1px solid #036;
	background: #fff;
}
#weather {
	display: block;
	text-align: center;
}
#weather .ots {
	display: block;
	font-size: 14px;
	color: #fff;
	background: #036;
}
#weather .temperature {
	display: block;
	font-size: 20px;
	font-weight: bold;
	padding: 5px;
}
#weather .conditions {
	display: block;
	font-size: 10px;
}

#liitto1, #liitto2, #liitto3, #liitto4 {
	display: none;
	margin-bottom: 1em;
}
tr.tr_hover:hover {
	background: #ebebeb;
}

