/* TYPOGRAPHY */

body {
  font-family: Helvetica, Arial, Verdana, sans-serif;
  font-size: 0.8em;
}

h1 {
  font-family: Georgia, Times, serif;
  font-weight: normal;
}

ul#menu {
  font-family: Georgia, Times, serif;
  font-size: 13px;
}

ul#sub_menu {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
}

div#contacts {
  font-size: 11px;
}

div#content {
  font-size: 11px;
  line-height: 1.5;  
}

p {
  line-height: 1.5;
}

div#footer {
  font-size: 11px;
}

em {
  font-style: normal;
  font-weight: bold;
}

/* COLOURS & BACKGROUND IMAGES */

html {
  background: url('/img/grass.jpg');
  background-color: black;  
}

body {
  color: white;
  background-color: #030;
  background-repeat: repeat-x;
  background: url('/img/grass.jpg');
}

div#horizon {
  background-color: blue;
  background: url('/img/horizon.jpg');
}

div#box {
  background: url('/img/backgrounds/suomi.jpg');  
  background-repeat: no-repeat;
}

a {
  color: white; 
}

a:hover {
  color: #ffcc33;
}

li.on a {
  color: #ffcc33;
}

li.on {
  color: #ffcc33;
}

ul#sub_menu > li > a:hover {
  color: white;
}

ul#sub_menu > li.on > a:hover {
  color: #ffcc33;
}

em {
  color: #ffcc33;
}

/* LAYOUT */

html {
  text-align: center;
}

body {
  margin: 0 auto;
  text-align: left;
  position: relative; /* now elements can be positioned absolutely within body */
  height: 100%;
  padding-left: 40px;
}

div#horizon {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1; 
  width: 100%; 
  height: 739px;
}

div#box {
  width: 1126px;
  min-height: 739px;
  position: relative;
  background-repeat: no-repeat;
  z-index: 5;
}

div#branding {
  height: 100px;
}

div#branding img {
  margin-top: 30px;
}

div#view {
  position: relative;
  left: 0;
  top: 0;
  width: 410px;
}

div#menu {
  position: absolute;
  top: 125px;
  left: 435px;
  width: 165px;
}

ul#menu {
  position: absolute;
  top: 125px;
  left: 435px;
  width: 165px;
  border-top: 1px solid #335165;
}

ul#menu li {
  border-bottom: 1px solid #335165;
  padding: 3px;
}

ul#menu li a:hover:before {
	content: "\00BB \0020";
}

ul.links {
  margin-top: 0.8em;
}

ul.links > li {
  margin-bottom: 0.3em;
}

div#contacts {
  position: absolute;
  left: 435px;
  top: 265px;
  width: 180px;
}

div#contacts p {
  margin-bottom: 12px;
}

div#header {
  height: 25px;
  border-bottom: 1px solid #335165;
}

div#text {
  margin-top: 10px;
}


div#footer {
  margin-top: 100px;
  margin-bottom: 20px;
}

h1 {
  font-size: 1.4em;
}

ul#sub_menu {
  border-bottom: 1px solid #335165;
  padding: 3px;
  margin-bottom: 10px;
}

/*
ul#sub_menu li:before {
	content: "\00BB \0020";
}
*/

ul#sub_menu li {
  display: inline;
  margin-right: 7px;
  background-image: url(/img/arrow.gif);
  background-repeat: no-repeat;
  padding-left: 7px;
}

ul#sub_menu li.on {
  background-image: url(/img/arrow_on.gif);
}

div#content {
  position: relative; 
}

label {
  position: relative;
  padding-bottom: 10px;
}

p {
  margin-bottom: 10px;
  margin-top: 4px;
}

h3 {
  margin-top: 5px;
  margin-bottom: 5px;
}

.clear {
  clear: both;
  height: 1px;
  margin-top: -1px;
  font-size: 1px;
  line-height: 1px;
}

/* CONTENT */

img.photo {
  border: 5px solid white;
  margin-bottom: 2px;
  height: 300px;
  width: 400px;
  margin-top: 7px;
}

ul.references > li {
  line-height: 1.5;
}