body {
	font-family: arial;
	/*color: #3D3D3D;*/
	margin-left: 17%;
	margin-right: 17%;
	margin-top: 0;
	margin-bottom: 0;
        text-align: justify;
	font-size: 12px;
        line-height: 20px;
	background: url(ery.png) repeat-x 0px 0px #C7C7C7;
}
#content {float : left; width: 70%; position: relative; border-right: 1px dotted rgb(86, 86, 86); padding-right: 20px; }

a:link, a:visited, a:active {
color:#3B94B3;
border-bottom:0px;
text-decoration:none;
}
a:hover {
color:#B33B3B;
border-bottom:0px;
text-decoration:underline;
}

a img {border: 0;}

.topcentered {
text-align : center;
}

p {
      text-align: justify; }

li {
      text-align: justify; 
      line-height: 20px; }

/*td {
      padding:0px 10px 0px 10px;
}*/

.heppa {
      border:1px solid #B33B3B;
      margin:15px 5px 5px 5px;  }

.koriste {
      border:3px double #3B94B3;  }

.koriste1 {
      border:3px double #84AC30;


      margin:1px 10px 0px 15px;  }

h4 { clear: both;
    width: 100%;
     margin: 0;
     padding: 12px 4px 0px 0px;
     color: #ffffff;
     font-family: georgia;
     font-size: 22px;
     letter-spacing: 8px;
     text-align: center;
     font-weight: normal;
     cursor: default; 
     border-bottom: 0px solid #D0D1D0;
     text-transform: uppercase;
}

h6 {  display: block;
      margin: -4px 0px 0px 0px;
      padding: 5px 0px 0px 0px;
      color: #3D3D3D;
      font-weight: normal;
      font-family: arial;
      font-size: 11px;
      text-align: justify;
      letter-spacing: 0px; }

h2 { 
     font-family: georgia;  
     font-size: 14px;
     font-style: italic;
     font-weight: normal;
     color: #2A7089;
     text-align: center;
     border-bottom: 0px solid #C9C9C9;
}

h3 { font-family: georgia;  
     font-size: 11px;
     font-weight: normal;
     color: #3D3D3D;;
     border-bottom: 0px solid #CAC8C4; }

h1 {
	font-family: tahoma;
	color: #979797;
        font-size:9px;
        font-weight: normal;
}

h5 {
	font-family: georgia;
	font-weight: normal;
	font-size: 14px;
        text-align: right;
	color: #423F3C; 
        background: #9C9C9C;
        border-top: 1px dotted #565656;
        border-bottom: 1px dotted #565656;
        line-height: 25px;
	padding-right: 20px;
}

#masterdiv {float: right; vertical-align: top; position: relative; padding-right: 2px; width: 25%;}

#navcontainer { width: 120px; }

#navcontainer ul
{
margin-left: 0;
padding-left: 0;
list-style-type: none;
font-family: arial;
font-size: 11px;
text-align: right;
}

#navcontainer a
{
display: block;
padding: 3px;
width: 120px;
background-color: #EAEEB6;
border-bottom: 0px;
}

#navcontainer a:link, #navlist a:visited
{
color: #000;
text-decoration: none;
}

#navcontainer a:hover
{
background-color: #C7CC86;
color: #000;
}
#top {margin-top: 25px; margin-bottom: 45px;}

img.top {width: 100%; padding: 18px 8px 4px 8px;}

/*background-image: url('../Ery-Syd_ry_tiedostot/ery-4.png');background-repeat: no-repeat; background-position: top center; */

.nodisplay {display: none}

img#logo {
float: right;
margin-left: 2%;
vertical-align: top;
position: absolute
}
.menutitle 
{	font-family: georgia;
	font-weight: normal;
	font-size: 14px;
        text-align: right;
	color: #423F3C; 
        background: #9C9C9C;
        border-top: 1px dotted #565656;
        border-bottom: 1px dotted #565656;
        line-height: 25px;
	padding-right: 20px;
	margin-bottom: 25px;
	
}
#masterdiv .menutitle a:link, .menutitle a:active, .menutitle a:visited {color: #423F3C; font-size: 14px; text-decoration: none; display: block;}
#masterdiv .menutitle a:hover {text-decoration: underline;}
#currentpage {color: #423F3C; font-size: 14px; text-decoration: none; display: block; font-weight: bold;}


table.borders td, table.borders th{ 

padding-left: 8px; 
padding-right: 8px; 
padding-top: 4px;
padding-bottom: 4px;
border: 1px solid #fff;
} 

table.info td, table.info th {
text-align : left;
}

.current{ 
line-height: 2;

padding-right: 10px;
font-weight: bold; 
}

.updates{ 
background-color : inherit;
border: 1px dotted rgb(86, 86, 86);
padding: 8px;
margin: 10px;
line-height: 2;
font-weight: bold;
float: right; vertical-align: top; position: relative;
text-align: left;
}

.right {text-align : right;}
.fullwidth {width : 100%;}
