body {
  margin: 0;
  padding: 0;
  background: #FFFFFF url(images/img01.jpg) repeat-x left top;
  font-family: Trebuchet MS, Arial, Helvetica, sans-serif;
  font-size: 12px;
  /*color: #787878;*/
}

h1 {
  margin: 0px;
  padding-top: 0px;
  font-weight: normal;
  color: #32639A;
  font-family: Trebuchet MS, Arial, Helvetica, sans-serif;
  font-size: 2em;
}

h2 {
  margin: 0px;
  padding-top: 10px;
  font-weight: normal;
  color: #32639A;
  font-family: Trebuchet MS, Arial, Helvetica, sans-serif;
  font-size: 2.4em;
}

h3 {
  margin: 0px;
  padding-top: 0px;
  font-weight: normal;
  color: #32639A;
  font-family: Trebuchet MS, Arial, Helvetica, sans-serif;
  font-size: 1.6em;
}

.ais {
  margin-left: 180px;
  margin-top: 20px;
  padding-top: 100px;
  text-align: center; 
  font-weight: normal;
  color: #32639A;
  font-family: Trebuchet MS, Arial, Helvetica, sans-serif;
  font-size: 2.4em;
}

.logbook {
  margin-left: 180px;
  text-align: center; 
  font-weight: normal;
  color: #32639A;
  font-family: Trebuchet MS, Arial, Helvetica, sans-serif;
  font-size: 2.4em;
}

p, ul, ol {
  margin-top: 0;
  line-height: 180%;
  font-family: Trebuchet MS, Arial, Helvetica, sans-serif;
}

a {
  font-family: Trebuchet MS, Arial, Helvetica, sans-serif;
  text-decoration: none;
}

/* mainbar */

#mainbar {
  width: 620px;
  position: absolute;
  left: 0px;
  top: 0px;
}

/* header */

#header {
  width: 620px;
  position: relative;
  left: 0px;
  top: 0px;
}

#header h1 {
  float: left;
  letter-spacing: -1px;
  font-size: 3.8em;
  margin: 0;
  padding-left: 20px;
}

#header h2 {
  padding-left: 20px;
  margin-left:200px;
}

#header h3 {
  padding-left: 20px;
  margin-left:200px;
}

/*gallery */

#gallery
{
  position: relative;
  left: 10 px;
  top: 10px;
  width: 600px;
  margin: 0 auto;
  padding: 0;
  background: #D8E7FE;
}

#gallery-background {
  width: 600px;
  height: 370px;
  margin-bottom: 10px;
}

#gallery-bgthumb {
  width: 600px;
  height: 120px;
  background: #DBEDF9;
}

#gallery img.output
{
  width: 600px;
  height: 340px;
  padding: 10px 0px 0px 10px;
}

#gallery span.caption
{
  display: block;
  margin: 1em 0 0 0;
  font-weight: bold;
  font-size: 1.25em;
}

#gallery span.caption2
{
  margin: 1em 0 1em 0;
  display: block;
}

#gallery ul.nav
{
  width: 100%;
  list-style: none;
  margin: 0 0 3em 0;
  padding: 0;
}

#gallery ul.nav li
{
  margin: 0 1em 1em 0;
  float: left;
}

#gallery ul.thumbnails
{
  width: 100%;
  list-style: none;
  margin: 0;
  padding: 10px 0px 0px 6px;
}

#gallery ul.thumbnails li
{
  margin: 0 0.5em 1em 0.5em;
  float: left;
}

#gallery ul.thumbnails li img
{
  border: solid 6px #FFFFFF;
  cursor: pointer;
}

#gallery ul.thumbnails li img.active
{
  border: solid 6px #77D0EF;
}

/* page */

#page {
  position: relative;
  left: 10px;
  width: 600px;
  background: #D8E7FE;
  top: 10px;
}

#page h3.title {
  color: #32639A;
  border: none;
  margin-left: 10px;
  margin-right: 10px;
}

#page p.datum {
  font-size: 18px;
  font-weight: bold;
  color: #4A81DE;
  margin-left: 10px;
  margin-right: 10px;
  margin-top: 10px;
}

#page p.besedilo {
  font-size: 12px;
  color: #787878;
  margin-left: 10px;
  margin-right: 10px;
  margin-bottom: 10px;
}

/* sailboat */

#sailboat {
  position: relative;
  left: 650px;
  top: 0px;
  width: 500px;
}

/* datum */

#datum {
  display: none;
}

/* sidebar */

#sidebar {
  position: relative;
  left: 650px;
  top: -200px;
  width: 500px;
}

#sidebar .a {
  position: relative;
  left: 10px;
  border: none;
}

#sidebar a:hover {
  text-decoration: underline;
  color: #8A8A8A;
}

#sidebar ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

#sidebar tr {
  width: 160px;
}

#sidebar form {
  position: absolute;
  top: 220px;
  left: 10px;
  padding-left: 0px;
/*
  border-left: 1px solid #E2E2E2;
*/
}

.nazaj {
  margin-top: 5px;
  margin-left: -2px;
  width: 75px;
  float: left;
}

.naprej {
  margin-top: 5px;
  margin-left: 5px;
  width: 75px;
  float: left;
}
.long_button_left {
  margin-left: 30px;
  margin-top: 10px;
  width: 100px;
  float: left;
}
.long_button_right {
  margin-left: 30px;
  margin-top: 10px;
  width: 100px;
  float: left;
}

/* poisci */

#poisci {
  position: relative;
  max-width: 500px;
  min-height: 50px;
  padding-right: 20px;
  top: 20px;
  background: #D8E7FE;
}

#poisci .napis {
  font-size: 18px;
  font-weight: bold;
  color: #4A81DE;
  margin-left: 10px;
  margin-right: 10px;
  margin-top: 10px;
}

#poisci .vnos {
  width: 90px;
}

/* staro */

#staro h2 {
  position: relative;
  top: 30px;
  letter-spacing: -.5px;
  font-size: 20px;
  font-weight: bold;
  text-align: left;
  color: #4A81DE;
}

#staro a {
  position: relative;
   top: 35px;
  left: 10px;
  border: none;
}

#staro a:hover {
  text-decoration: underline;
  color: #8A8A8A;
}
