/*  Style sheet for www.vostok.fi
    * created on 25.1.2006
    * author Hannu Kivimäki
*/

* {margin: 0; padding: 0;}

body {
  font-family: trebuchet ms, sans-serif;
  font-size: 0.9325em;
  margin: 0px;
}

a img {border: none;}

#logo {
  position: absolute;
  top: 72px;
  left: 19px;
  margin: 0 0 0 0px;
}

#nav {
  padding: 0 0 0 250px;
  margin: 0 0 0 0px;
  background: #000;
  color: #000;
}

/* page header and stuff */
#pagehead {
  height: 72px;
  margin: 0px 0px 0px 0px;
  background-image: url('../img/header.gif');
  background-repeat: no-repeat;
}

#pagehead img {
  width: 300px;
  height: 60px;
  margin: 5px 5px 5px 5px;
  border: solid 1px #efefef;
  float: right;
}

#pagehead img:hover {
  border: solid 1px #888888;
}

#navpole {
  width: 100%;
  float: left;
  background: #000;
  font-size: 1em;
}

#main {
  width: 700px;
  float: left;
  background: url('../img/main_bg.gif') 725px 0 repeat-y;
  padding: 1.5em 0 1.5em 250px;
}

#main p {
  text-align: left;
  line-height: 1.5em;
  margin: 0 0 1em;
}

#contents {
  width: 475px;
  font-size: 0.8em;
  /* text-align: justify;
  margin-right: 10%; */
}

#contents h1 {
  width: 90%;
  background: #fae3ca;
  background-image: url('../img/leaf.gif');
  background-repeat: no-repeat;
  font-family: georgia, serif;
  color: #630000;
  font-size: 1.6em;
  font-weight: normal;
  padding-left: 20px;
  margin-bottom: 0.5em;
}

#contents h2 {
  font-family: georgia, serif;
  color: #404040;
  font-size: 1.5em;
  font-weight: normal;
  padding: 2px;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}

#contents h3 {
  background-image: url('../img/leaf.gif');
  background-repeat: no-repeat;
  font-family: georgia, serif;
  color: #404040;
  font-size: 1.5em;
  font-weight: normal;
  padding-left: 20px;
  padding-top: 2px;
  margin-bottom: 0.5em;
}

#contents img {
}

#contents p {
  width: 93%;
  padding: 0 0 0 10px;
}

#contents a:hover {
  color: #fff;
  background: #666;
  text-decoration: none;
}

#contents a {
  color: gray;
  background: none;
  text-decoration: none;
}

#contents h3 a {
  color: #404040;
  background: none;
  text-decoration: none;
}

#contents ul {
  margin-left: 15px;
  margin-bottom: 10px;
  list-style: outside;
}

#contents li {
  margin-left: 15px;
  list-style: outside;
  text-align: left;
}

#contents li a {
  font-weight: normal;
}

.anfang {
  font-size: 1.3em;
}

#board td {
  padding-right: 15px;
  text-align: left;
  vertical-align: top;
}

#sublinks {
  border-top: 1px dotted #000;
}

#sublinks a {
  background: none;
}

#sidebar {
  width: 200px;
  margin: 0px 0px 0px 15px;
}

#sidebar h1 {
  width: 80%;
  font-family: georgia, serif;
  font-size: 1.15em;
  font-weight: normal;
  padding: 2px;
}

#sidebar h2 {
  font-family: georgia, serif;
  color: #404040;
  font-size: 1.2em;
  font-weight: normal;
  padding: 2px;
  margin-bottom: 0.5em;
}

#sidebar p {
  padding-left: 3px;
  font-size: 0.8em;
}

#sidebar img {
  padding: 3px;
}

#sidebar td {
  font-size: 0.8em;
  text-align: middle;
}

#sidebar input {
  font-size: 0.8em;
  background: #fae3ca;
  border-top: solid 1px #efefef;
  border-left: solid 1px #efefef;
  border-right: solid 1px #404040;
  border-bottom: solid 1px #404040;
  cursor: pointer;
}

.votebar {
  font-size: 0.8em;
  background: #aaaaaa;
  color: #fff;
  padding-left: 5px;
}

.column {float: left;}

#footer {
  width: 100%;
  clear: both;
  background: #cdd29c;
  margin-bottom: 2em;
  font-size: 0.85em;
  height: 16px;
}

#footer p {
  text-align: right;
  margin-right: 20px;
  padding-top: 1px;
  color: #666666;
}

#footer a:hover {
  color: #fff;
  background: #666;
  text-decoration: none;
}

#footer a {
  color: gray;
  background: none;
  text-decoration: none;
}

#nav ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

#nav li {
  float: left;
  position: relative;
  width: 6.5em;
  text-align: left;
  cursor: default;
  background: #cdd29c;
  -moz-opacity: 0.90;
  opacity: 0.90;
  letter-spacing: 0px;
  margin: 0px 0px 0px 0px;
  list-style: none;
}

/* second level list items */
li ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  color: #fff;
}

li a {
  font-weight: bold;
  color: #fff;
  text-decoration: none;
}

li a:hover {
  font-weight: bold;
  color: #cdd29c;
  text-decoration: none;
}

/* top level list items */
li#etusivu, li#vostokry, li#opiskelu, li#liikunta, li#foorumi, li#linkit
{ width: 5em; background: #000; color: #fff; border: none; padding: none; -moz-opacity: 1.00; opacity: 1.00;}
li#vostokry { width: 6.5em;}
li#opiskelu { width: 5.5em;}
li#liikunta { width: 5.75em;}
li#foorumi  { width: 5.5em;}

#nav li ul a {
  font-weight: normal;
  font-size: 0.73em;
  color: #000;
  text-decoration: none;
}

#nav li li a {
  display: block;
  font-weight: normal;
  color: #000;
  padding: 0.3em 10px;
}

#nav li li a:hover {
  background: #666;
  color: #fff;
}

li>ul { /* to override top and left in browsers other than IE, which will position to the top right of the containing li, rather than bottom left */
  top: auto;
  left: auto;
}

li:hover ul, li.over ul { /* lists nested under hovered list items */
  display: block;
}

/* NEWS-design */


#newsevents p {
  line-height: 1.5em;
  margin-top: 7px;
  margin-bottom: 3px;
}

.indexevents {
  border-left: 1px solid #aaaaaa;
  padding-left: 20px;
}

.indexnews, .indexevents {
  width: 225px;
  vertical-align: top;
  text-align: left;
  padding-right: 15px;
}

#newstopic {
  font-weight: bold;
  font-size: 1.2em;
  color: #630000;
  margin-top: 15px;
}

#eventtopic {
  font-weight: bold;
  font-size: 1em;
  color: #630000;
}

#eventdate {
  font-weight: bold;
  font-size: 1.2em;
  color: #630000;
  margin-top: 15px;
}

#eventtopic {
  font-weight: bold;
  font-size: 1em;
  color: #630000;
}

#newsaddtime, #newswhoadded {
  font-variant: small-caps;
  color: #666;
  font-size: 1em;
  padding-left: 10px;
}