body {
  background-image: url(/fileadmin/templates/oyy/stat/oyy50_tausta.png);
  background-repeat: repeat-x;
  font-size: 12px;
  font-family: Arial,verdana,Helvetica;
  color: #233145;
}

p { 
  font-family: Arial,verdana,Helvetica; 
  color: #0a377a; 
  font-size: 12px; 
  margin-left: 40px;
  margin-right: 40px;
}        

a {
  text-decoration: underline;
}  
a:visited { 
  text-decoration: underline;
  color: #0a377a; 
}  
a:hover { 
  text-decoration: underline;
  color: #0a377a; 
}
a:active { 
  text-decoration: underline;
  color: #0a377a; 
}       

h1, h2, h3, h4 {
  color: #174e8f;
  text-decoration: none;
  margin-left: 40px;
  margin-right: 40px;
}

h1 {
  font-size: 18px;
}
h2 {
  font-size: 16px;
}
h3 {
  font-size: 14px;
}

#banner {
  background-image: url(/fileadmin/templates/oyy/stat/oyy50_banneri.jpg);
  background-repeat: no-repeat;
  margin-bottom: -5px;
  height: 195px;
  width: 965px;
}

html>body #banner {
  margin-bottom: 0px;
}

#layout {
  width: 965px;
  margin-left: auto;
  margin-right: auto;
  border-bottom: 6px solid #174e8f;
}

#menu {
  background-image: url(/fileadmin/templates/oyy/stat/oyy50_nav.jpg);
  background-repeat: no-repeat;
  height: 38px;
  color: #ebeae8;
}

html:first-child div#menu {
  margin-top: 0px;
}

#menu_1 {
  height: 38px;
  position: relative;
}

#menu_1 a, #menu_1 a:visited {
  color: #ffffff;
  font-weight: bold;
  text-decoration: none;
}

#menu_1 a:hover, #menu_1 a:active {
  color: #a9a9a9;
}

.menuitem {
  padding-top: 12px;
  margin-left: 35px;
  float: left;
}

#container {
  /*background-color: #cecece;*/
  background-image: url(/fileadmin/templates/oyy/stat/oyy50_content_bg.php);
  background-repeat: repeat-y;
  border-left: 6px solid #174e8f;
  border-right: 6px solid #174e8f;
}

#pageheader {
  background-color: #ffffff;
  background-image: url(/fileadmin/templates/oyy/stat/oyy50_header.jpg);
  background-repeat: no-repeat;
  height: 127px;
  padding-left: 252px;
}

#pagetitle {
  text-decoration: bold;
  padding-top: 10px;
  font-size: 18px;
}

#submenu {
  /*background: #cecece;*/
  width: 212px;
  float: left;
  color: #174e8f;
  margin-top: 10px;
}

html>body #submenu {
  width: 212px;
}

#submenu a, #submenu a:visited {
  color: #174e8f;
  text-decoration: none;
}

#submenu a:hover, #submenu a:active {
  color: #6c6c6c;
  text-decoration: underline;
}

#submenu_1 {
  margin-left: 15px;
}

.submenuitem_1 {
  display: none;
}

.submenuitem_2, .submenuitem_3 {
  display: block;
  color: #174e8f;
  text-decoration: none;
}

#content {
  width: 741px;
  float: right;
  /*background-color: #ffffff;*/
}

#footer {
  clear: both;
}

#lastupdate {
  width: 100%;
  text-align: center;
}

#mainoskuva {
  margin-left: 4px;
  margin-top: 10px;
  width: 170px;
  overflow: hidden;
}

.tx-lastupdate-pi1 {
  vertical-align: bottom;
}

.uutinen {
  font-family: Arial,verdana,Helvetica; 
  color: #0a377a; 
  font-size: 12px; 
}
.uutisotsikko {
  font-family: Arial,verdana,Helvetica; 
  color: #0a377a; 
  font-size: 12px; 
  margin-left: 40px;
  margin-right: 40px;
  font-weight: bold;
}

H2.uutisotsikko {
  font-size: 16px;
}
.news-single-img {
  margin-left: 40px;
}
.tapahtuman_otsikko {
  font-family: Arial,verdana,Helvetica; 
  color: #0a377a; 
  font-size: 12px; 
  margin-left: 40px;
  margin-right: 40px;
  font-weight: bold;
}
