/*

  Common styles

*/

div, span, p,
h1, h2, h3, h4,
table, th, td,
img,
form,
ul, li {
  margin: 0;
  padding: 0;
}
 
body {
  margin: 0;
  padding: 0;
  color: #000;
  background: #c4cccc url('/files/uusikoti/images/body_background.gif') top left repeat-x;
  font-size: 12px;
  font-family:  verdana, arial, helvetica, sans-serif;
}

table {
  border-spacing: 0;
  border-collapse: collapse;
}

th, td {
}

ul {
  list-style-type: square;
  list-style-position: inside;
}

li {
}

.clear {
  clear: both;
}

h1 {
  font-size: 21px;
  color: #2375BB;
  font-weight: normal;
  letter-spacing: -1px;
  padding-bottom: 4px;
}

h2 {
  font-size: 13px;
  color: #2375BB;
  margin: 0px 0px 0px 0px;
}

h3 {
  font-size: 14px;
  color: #2375BB;
}

h4 {
  font-size: 13px;
  color: #83989B;
}

h5 {
}

h6 {
}


input, textarea, select {
  border: 1px solid #aabbc3;
  background: white;
}


/*

  Borders, container

*/


div.borders {
  width: 1040px;
  margin: 0 auto;
  background: url('/files/uusikoti/images/borders_background.gif') top center no-repeat;
}

div.container {
  margin: 0 auto;
  width: 960px;
  background: white url('/files/uusikoti/images/container_background.gif') top center no-repeat;
}

div.borders div {
}

/*

  Header

*/

div.header {
  height: 78px;
}

div.header h1.title {
  position: relative;
  float: left;
  top: 25px;
  left: 38px;
  color: #2375BB;
  font-size: 31px;
  font-weight: normal;
}

div.header h1.title a:link,
div.header h1.title a:visited,
div.header h1.title a:focus,
div.header h1.title a:hover,
div.header h1.title a:active {
  text-decoration: none;
  color: #2375BB;
}

div.header span {
  font-size: 14px;
  padding-bottom: 6px;
  position: relative;
  float: left;
}

div.header span a:link,
div.header span a:visited {
  color: #327ec0;
  text-decoration: none;
}

div.header span a:focus,
div.header span a:hover,
div.header span a:active {
  color: #92bde1;
  text-decoration: none;
}

div.header span.info {
  top: 35px;
  left: 125px;
  color: #69707a;
  font-size: 13px;
  font-weight: bold;
}

div.header span.logout {
  top: 35px;
  left: 150px;
  font-size: 13px;
  font-weight: bold;
}

div.header a.ncc {
  display: block;
  position: relative;
  float: right;
  top: 23px;
  right: 23px;
  width: 84px;
  height: 32px;
}

/*

  Menu

*/

div.menu {
  height: 30px;
}

div.menu div {
  margin-left: 215px;
  text-align: left;
  padding: 0 0 0 0;
}

div.menu span {
  font-size: 13px;
  text-transform: lowercase;
  margin-right: 20px;
  font-weight: bold;
}

div.menu a:link,
div.menu a:visited {
  color: #92bde1;
  text-decoration: none;
}

div.menu a:focus,
div.menu a:hover,
div.menu a:active,
div.menu a.selected:link,
div.menu a.selected:visited {
  color: white;
}

/*

  Content

*/

div.content {}

table.content {
  width: 100%;
  height: 480px;
}

table.content td {
  vertical-align: top;
}

.content a:link,
.content a:visited {
  color: #2375BB;
  text-decoration: none;
}

.content a:focus,
.content a:hover,
.content a:active {
  color: #92bde1;
  text-decoration: none;
}

.content .column2 a:link,
.content .column2 a:visited {
  color: #fff;
  text-decoration: none;
}

.content .column2 a:focus,
.content .column2 a:hover,
.content .column2 a:active {
  color: #2375BB;
  text-decoration: none;
}

.content a.link_image {
  padding-left: 22px;
  line-height: 20px;
  background: url('/files/uusikoti/images/link_image.gif') center left no-repeat;
}


.content .column1,
.content .column3 {
  width: 60%;
}

.content .column2,
.content .column4 {
  width: 40%;
}

.content .column1 div.padding,
.content .column3 div.padding {
  padding: 15px 40px;
}

.content .column2 div.padding,
.content .column4 div.padding {
  padding: 15px 20px;
}

div.content div.column1,
div.content div.column3 {
  float: left;
}

div.content div.column2,
div.content div.column4 {
  float: right;
}

.content .column1 { color: black; background: #ffffff; }
.content .column2 { color: white; background: #99AEC3; }
.content .column3 { color: white; background: #99AEC3; }
.content .column4 { color: white; background: #C6D61B; }

.content .column2 h1,
.content .column2 h2,
.content .column2 h3,
.content .column2 h4,
.content .column3 h1,
.content .column3 h2,
.content .column3 h3,
.content .column3 h4 {
  color: white;
}

/*

  Login page

*/

div.login div.column1,
div.login div.column2 {
  height: 330px;
}

div.login div.column3,
div.login div.column4 {
  height: 150px;
}

table.login {
  margin: 25px 0 0 0;
}

table.login td {
  vertical-align: middle;
  padding: 0 20px 0 0;
}

table.login input,
table.login select {
  padding: 2px;
}

table.login input.password {
  width: 100px;
}

table.login input.login {
  border: 0;
  margin: 0 0 2px 0;
}


/*

  Front page

*/

.frontpage .column1,
.frontpage .column2 {
  height: 340px;
}

.frontpage .column3,
.frontpage .column4 {
  height: 190px;
}

.frontpage .column3 div.padding {
  padding: 15px 20px 0 20px;
}

div.imageViewer {
  margin: 15px 0 0 0;
}

div.imageViewer .image {
  text-align: center;
}

div.imageViewer .image img {
  border: 5px solid white;
  max-width: 330px;
}

div.imageViewer .navi {
  margin: 15px 0 0 0;
}

div.imageViewer .navi a {
  display: block;
  width: 25%;
}

div.imageViewer .navi a:link,
div.imageViewer .navi a:visited,
div.imageViewer .navi a:active {
  color: white;
  text-decoration: none;
}

div.imageViewer .navi a:focus,
div.imageViewer .navi a:hover,
 {
  color: #2375BB;
  text-decoration: none;
}

div.imageViewer .navi a.prev {
  float: left;
  background: url('/files/uusikoti/images/arrow_left.gif') center left no-repeat;
  text-align: left;
  padding-left: 20px;
}

div.imageViewer .navi a.next {
  float: right;
  background: url('/files/uusikoti/images/arrow_right.gif') center right no-repeat;
  text-align: right;
  padding-right: 20px;
}

div.imageViewer .navi #info {
  float: left;
  width: 38%;
  text-align: center;
}

div.imageViewer #caption {
  width:258px;
  height: 30px;
  margin-left: 42px;
  margin-top: 5px;
  overflow: hidden;
  font-size: 11px;
  text-align: center;
}

/*

  Timetable

*/

div.now {
  position: relative;
  z-index: 2;
  float: left;
  top: 30px;
  width: 0px;
  height: 70px;
  font-size: 0px;
  line-height: 0px;
  border-left: 2px solid black;
  margin-left: -2px;
}

div.timetable {
  margin: 0 0 0 5px;
}

div.weeklines {
}

div.title {
  font-weight: bold;
  margin: 0 0 10px 0;
}

div.weekline {
  float: left;
  height: 100px;
  width: 20px;
  background: url('/files/uusikoti/images/weekline_1px.gif') top center repeat-y;
}

div.newyear {
  width: 20px;
  background: url('/files/uusikoti/images/weekline_2px.gif') top center repeat-y;
}

div.weekline b {
  position: absolute;
  margin-left: -15px;
  margin-top: -2px;
}

div.weekline span {
  display: block;
  height: 30px;
  font-size: 10px;
  text-align: center;
  background: #99AEC3;
}

div.timelines {
  margin: -70px 0 0 11px;
  position: absolute;
}

div.timelines div {
  position: relative;
  height: 10px;
  margin: 0 0 5px 0;
  font-size: 0px;
  line-height: 0px;
}

.line1 { background: #61A1BC; }
.line2 { background: #4281b7; }
.line3 { background: #abb580; }
.line4 { background: #c7d81b; }
.line5 { background: #aaba0a; }

div.legend {
  font-size: 10px;
  margin: 15px 0 0 0;
}

div.legend b {
  display: block;
  float: left;
}

div.legend span {
  display: block;
  float: left;
  width: 10px;
  height: 10px;
  margin: 2px 10px 0 5px;
}


/*

  Subpage

*/

div.subpage div.column1,
div.subpage div.column2 {
  height: 330px;
}

div.subpage div.column3,
div.subpage div.column4 {
  height: 150px;
}

.subpage .column2 div.padding {
  padding: 50px 40px 10px 40px;
}

.subpage .column4 div.padding {
  padding: 30px 40px 10px 40px;
}

/*

  Letter archive

*/

div.letterarchive a {
  display: block;
  float: left;
  width: 220px;
  margin: 0 0 5px 0;
}

div.letterarchive a.selected:link,
div.letterarchive a.selected:visited {
  color: #000;
}

div.letterarchive span {
  display: block;
  float: right;
  width: 80px;
  margin: 0 0 5px 0;
}


/*

  Question form

*/

div.question_form {
}

div.question_form span {
  display: block;
  margin: 10px 0 3px 0;
}

div.question_form input.text {
  width: 220px;
}

div.question_form textarea {
  width: 240px;
  height: 100px;
}

div.question_form input.submit {
  border: 0;
  background: #99AEC3;
}

/*

  Footer

*/

div.footer {
  height: 30px;
  font-size: 10px;
  color: #cdd1d8;
}

div.footer div.left {
  padding: 10px 20px;
  float: left;
}

div.footer div.right {
  padding: 10px 20px;
  float: right;
}

img {
 border: 0px;
}
