html, body {
	margin: 0;
	padding: 0;
	height: 100%;
	text-align: center;
	/*-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	background-attachment: scroll;*/
	background-color: #FFF;
	background-image: url(gfx/tausta_wide.jpg);
	background-repeat: repeat-x;
	background-position: center top;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 155%;
    color: #000000;

}

.outerrim {
	width: 100%;
	min-height:100%;
	text-align: center;
	display:block;
    position:relative;

	
}

.content_e
{
    background-color: #FFF;
    background-image: url(gfx/tausta_wide.jpg);
    background-repeat: repeat-x;
    background-position: center top;
    font-size: 14px;
}
.wrapper {
	width: 100%;
	border: 0px solid blue;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	background-image: url(gfx/tausta_banner_new.png);
	background-repeat: no-repeat;
	background-position: center top;
	padding-bottom: 480px; /*sama kuin footerin arvo*/	
}
.content {
	text-align: left;
	width: 980px;
	min-height: 100%;
	margin-left: auto;
	margin-right: auto;
	margin-bottom:10px;
	font-family: Arial, Helvetica, sans-serif;
	line-height: 155%;
	display: table;
	}
.sisalto {
	margin-top: 10px;
	margin-left: 10px;
	margin-right: 10px;
}
.banner {
	height: 160px;
	width: 980px;
	margin-left: auto;
	margin-right: auto;		
}

.footer {
	display: block;
	width: 100%;
	height: 500px;
	text-align: center;
	position: absolute;
	bottom: 0px;
	margin-left: auto;
	margin-right: auto;
	background-image: url(gfx/tausta_footer.png);
	background-repeat: repeat-x;
	}
h1 {
	/*margin-top: 0px;
	margin-bottom: 5px;*/
	font-family: Arial, Helvetica, sans-serif;
	font-size: 20px;
	font-weight: lighter;
	color: #000000;
}
h2 {
	/*margin-top: 0px;
	margin-bottom: 5px;*/
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	font-weight: bold;
	color: #000000;
}
h3 {
	/*margin-top: 12px;
	margin-bottom: 3px;*/
	font-family: Arial, Helvetica, sans-serif;
	font-size: 24px;
	font-weight: lighter;
	color: #FFF;
	padding: 0px;
}
p {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	line-height: 155%;
	color: #000000;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 15px;
	margin-left: 0px;
}
.laskuri_info p
{
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	line-height: 155%;
	color: #000000;
	font-weight: lighter;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 15px;
	margin-left: 0px;
}

.laskuri_info h1
{
	color: #000000;
}
.footer p {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	line-height: 100%;
	color: #FFF;
	font-weight: lighter;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 15px;
	margin-left: 0px;
}



.clear {
	clear: both;	
}

.valikko {
	margin-left: 15px;
}
.valikko span {
	/*borderisetti oli tässä*/
	padding-right: 8px;
	padding-left: 8px;
    white-space:nowrap;
}
.valikko a:link, .valikko a:visited {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	color: #fff;
	text-decoration: none;
	letter-spacing: 1px;
}
.valikko a:hover, .valikko a:active {
	font-family: Arial, Helvetica, sans-serif;
	color: #fff;
	text-decoration: none;
	font-size: 14px;
}

.valikko ul{
	float:left;
	margin: 0px;
	vertical-align:bottom;
	padding-left: 0px;
	padding-right: 0px;
	width: 550px;
	list-style-type: none;
	cursor: default;
	display:block;
}
.valikko li a:link, .valikko li a:visited{
	display: block;
	cursor: pointer;
	padding-top: 0px;
	padding-bottom: 0px;
	float: left;
	padding-left: 0px;
	padding-right: 0px;
	line-height: 50px;
	vertical-align:middle;
	margin: 0px;
	border-right-width: 1px;
	border-right-style: solid;
	border-right-color: #a3d8f2;

}
.valikko li a:active, .valikko li a:hover{
	background-image: url(gfx/bt_hilite.png);
	background-repeat: no-repeat;
	background-position: center bottom;
	padding-top: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
	padding-right: 0px;
	line-height: 50px;
	vertical-align:middle;
}
.valikko li {
	width: auto;
	float:left;
	margin: 0px;
	list-style-type: none;
	padding: 0px;

}
/* päävalikon highlightmääre */
.valikko_hilight{
	background-image: url(gfx/bt_hilite.png);
	background-repeat: no-repeat;
	background-position: center bottom;
	padding-top: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
	padding-right: 0px;
	line-height: 36px;
	vertical-align:middle;
}

a:link, a:visited {
	color: #428423;
	text-decoration: underline;

}
a:hover {
		text-decoration: none;
	
}
a:active {
		text-decoration: none;
	
}
hr { 
height: 0; 
border-style: dotted; 
border-width: 1px 0 0 0; 
border-color: #fff; 
margin-top: 8px;
margin-bottom: 8px;
}

/*CONTENT-ALUEEN KAMPPEIDEN MÄÄREET*/
.plst_left {
	width: 236px;
    padding-right: 42px;
    padding-top: 12px;
}
.plst_right {
	width: 700px;
}
.newsblock {
	margin-right: 25px;
	border: 0px solid red;
	padding: 12px;
	background-image: url(gfx/newsblock_middle.png);
	background-repeat: repeat-y;
}
.laskuri_id {
	position: absolute;
	z-index: 1;
	width: 50px;
	height: 50px;
	display: block;
}
.laskuriarea {
	display: table;
	width: 940px;
	min-height: 360px;
	margin-top: 25px;
	margin-left: 20px;
	/*varjot*/
	-moz-box-shadow: 0px 3px 20px #888888;
	-webkit-box-shadow: 0px 3px 20px #888888;
	box-shadow: 0px 3px 20px #888888;
	background-image: url(gfx/tausta_laskuripinta.png);
	background-repeat: repeat;
}
.laskuritaulukko {
	padding: 10px;
	border: dotted;

}
.laskuri_info {
	padding: 20px;
	width: 315px;
	color: #000000;
}
.laskuri_input {
	background-image: url(gfx/tausta_input.png);
	background-repeat: repeat-x;		
}
.laskuri_input_area {
	margin:8px;
	border:1px dashed #a3d8f2;
	height: 335px;
	padding: 8px;	
}
.laskuri_input_area2 {
	margin:8px;
	border:1px dashed #a3d8f2;
	height: 445px;
	width: 591px;
	padding: 8px;	
}
.laskuri_input_area3 {
    margin:8px;
    border:1px dashed #a3d8f2;
    width: 591px;
    padding: 8px;
}
.laskuri_input_area_siilo {
    margin:8px;
    border:1px dashed #a3d8f2;
    height: 245px;
    width: 591px;
    padding: 8px;
}
.laskuri_image {
	width: 315px;
	background-color: #333;
	background-image: url(module_sailorehu/tausta.png);
	background-repeat: repeat-x;
}
.laskuri_image_small {
	width: 235px;
	background-color: #333;
	background-image: url(module_sailorehu/tausta.png);
	background-repeat: repeat-x;
}
.laskuri_image_extra
{
	background-color: #c8e6f6;
	padding: 8px;
    font-size: 12px;
	
}
.laskuri_image_extra p
{
    font-size: 12px;
}
.laskuri_image_tonkka {
	width: 315px;
	background-color: #333;
}

.text
{
	color: #000000;
}

.error
{
	color: red;
}

.error_input
{
	border: 1px solid red;
}

.datagrid table
{
	border-collapse: collapse; text-align: left; width: 100%;
}
.datagrid
{
	font: normal 12px/150% Arial, Helvetica, sans-serif; overflow: hidden; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px;
}
.datagrid table td, .datagrid table th
{
	padding: 3px 10px;
}
.datagrid table thead th
{
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #78c3e9), color-stop(1, #00557F) );background:-moz-linear-gradient( center top, #78c3e9 5%, #00557F 100% );filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#78c3e9', endColorstr='#00557F');background-color:#78c3e9; color:#FFFFFF; font-size: 11px; font-weight: bold; border-left: 1px solid #0070A8; 
}
.datagrid table thead th:first-child
{
	border: none;
}
.datagrid table tbody td
{
	color: #00496B; border-left: 1px solid #E1EEF4;font-size: 12px;font-weight: normal; border-bottom: 1px solid #E1EEF4
}
.datagrid table tbody .alt td
{
	background: #E1EEF4; color: #00496B; font-weight: bold;
}
.datagrid table tbody .strong td
{
    font-weight: bold;
    background: rgba(255, 252, 0, 0.27);
}
.datagrid table tbody td:first-child
{
	border-left: none;
}
.datagrid table tbody tr:last-child td
{
	border-bottom: none;
}

.bg_darvo_0
{
	background: transparent;
}
.bg_darvo_1
{

    background: #7cae46;
}

.bg_darvo_2
{

    background: #92d050;
}

.bg_darvo_3
{
	background: #b3d050;
}

.overlay {

    /* must be initially hidden */
    display:none;
    padding: 10px;

    /* place overlay on top of other elements */
    z-index:10000;

    /* styling */
    background-color:#fff;

    width:675px;
    min-height:200px;
    border:1px solid #666;

    /* CSS3 styling for latest browsers */
    -moz-box-shadow:0 0 30px 5px #000;
    -webkit-box-shadow: 0 0 30px #000;
    box-shadow: 0 0 30px #000;

    text-align: left;
}

.overlay p
{
    font-size: 12px;

    font-family: Arial, Helvetica, sans-serif;
    line-height: 155%;
    color: #000000;
}

/* close button positioned on upper right corner */
.overlay .close {
    background-image:url(gfx/close.png);
    position:absolute;
    right:-15px;
    top:-15px;
    cursor:pointer;
    height:35px;
    width:35px;
}

.info_table
{
    color: #00496B;
}

.info_table td
{
    padding: 4px;
    margin-top: 12px;
}

.ka_holder
{
    -moz-border-radius: 1em;
    -webkit-border-radius: 1em;  /* for webkit-based browsers */
    border-radius: 1em;          /* theoretically for *all* browsers
                                    dependant on implementation of CSS3 */
    border: 1px solid #fff;
    background-color: #fff;
    padding: 2px;
}

.datagrid_simple
{
    color: #00496B;
}

.tulokset, .tulokset p {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #00496B;
}

.tulokset_siilo, .tulokset p {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #00496B;
    width: 300px;
}

.tulokset h2
{
    color: #00496B;
}

.tulokset_siilo h2
{
    color: #00496B;
}

.noprint
{

}

.visualisointi_siilo {
    display: block;
    height: 100px;
    position: relative;
    width: 622px;
    margin-left: auto;
}

.visualisointi2 {
    position: relative;
    width: 315px;
    height: 2px;
    display: block;
}

#nav2 {
    margin: 0;
    padding: 7px 6px 0;

}
#nav2 li {
    margin: 0 0px;
    padding: 0 0 0px;
    float: left;
    position: relative;
    list-style: none;
    z-index: 9;
}


/* main level link */
#nav2 a {
    text-decoration: none;
    display: block;
    padding:  0px 0px;
    margin: 0;
}
#nav2 a:hover {
    color: #fff;
}

/* main level link hover */
#nav2 .current a, #nav2 li:hover > a {

}

/* sub levels link hover */
#nav2 ul li:hover a, #nav2 li:hover li a {
    background: none;
    border: none;
}
#nav2 ul a:hover {
    background: #077fc1 !important;
    color: #fff !important;
    width: 100%;

    -webkit-border-radius: 0;
    -moz-border-radius: 0;

    text-shadow: 0 1px 1px rgba(0,0,0, .1);
}

/* dropdown */
#nav2 li:hover > ul {
    display: block;
}

/* level 2 list */
#nav2 ul {
    display: none;

    margin: 0;
    padding: 0;
    width: auto;
    position: absolute;
    top: 40px;
    left: 0;
    background: #53b0e3;

    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;

    -webkit-box-shadow: 0 1px 3px rgba(0,0,0, .3);
    -moz-box-shadow: 0 1px 3px rgba(0,0,0, .3);
    box-shadow: 0 1px 3px rgba(0,0,0, .3);
}
#nav2 ul li {
    float: none;
    margin: 0;
    padding: 0;
}

#nav2 ul a {
    font-weight: normal;
}

/* level 3+ list */
#nav2 ul ul {
    left: 181px;
    top: -3px;
}

/* rounded corners of first and last link */
#nav2 ul li:first-child > a {
    -webkit-border-top-left-radius: 9px;
    -moz-border-radius-topleft: 9px;

    -webkit-border-top-right-radius: 9px;
    -moz-border-radius-topright: 9px;
}
#nav2 ul li:last-child > a {
    -webkit-border-bottom-left-radius: 9px;
    -moz-border-radius-bottomleft: 9px;

    -webkit-border-bottom-right-radius: 9px;
    -moz-border-radius-bottomright: 9px;
}

/* clearfix */
#nav2:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}
#nav2 {
    display: inline-block;
}
html[xmlns] #nav2 {
    display: block;
}

* html #nav2 {

}

.img_shadow {
    -moz-box-shadow: 3px 3px 4px #707070;
    -webkit-box-shadow: 3px 3px 4px #707070;
    box-shadow: 3px 3px 4px #707070;
    /* For IE 8 */
    -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#f3f3f3')";
    /* For IE 5.5 - 7 */
    filter: progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#f3f3f3');

    border-radius: 15px;
    -moz-border-radius: 15px;
    -webkit-border-radius: 15px;
    border: 6px solid white;

    margin-right: 20px;
}

.error_light {
    font-size: 12px;
    padding: 6px;
    margin-top: 0;
    background-color: #f2dede;
    border-color: #ebccd1;
    color: #a94442;
    border-radius: 4px;
    border: 1px solid #d6b9bd;
}

::-webkit-input-placeholder { font-size:10px; }
::-moz-placeholder { font-size:10px; } /* firefox 19+ */
:-ms-input-placeholder { font-size:10px; } /* ie */
input:-moz-placeholder { font-size:10px; }

#ttips input[type=text] {
    min-width: 50px;
}

button {
	cursor: pointer;
}