/* in general */

body {
  margin: 0px 0px 0px 0px;
  background: #003366;
  color: #ffffff;
  font-family: Georgia, Helvetica, Arial, sans-serif;
  font-size: 14px;
  text-align: left;
}

/* layout of the elements */

DIV#background {
  position: absolute;
  top: 25px;
  left: 0px;
  visibility: visible;
  z-index: 0;
}

DIV#ads {
  position: absolute;
  bottom: 10px;
  left: 10px;
  width: 160px;
  height: 160px;
  border: solid 1px #ffffff;
  z-index: 2;
}

DIV#logo {
  position: absolute;
  top: 33px;
  left: 11px;
  border: solid 0px #ffffff;
  width: 160px;
  height: 67px;
  background: url(./ksnlogo.png) no-repeat;
  z-index: 3;
}

DIV#webcam {
  position: absolute;
  top: 110px;
  left: 10px;
  width: 160px;
  height: 120px;
  border: solid 1px #ffffff;
  z-index: 3;
  background: url(./backie.png);
}

DIV#sites {
  position: absolute;
  top: 242px;
  left: 10px;
  width: 160px;
  height: 128px;
  border: solid 1px #ffffff;
  z-index: 3;
}

DIV#content {
  width: 508px;
  margin: 32px 0px 0px 184px;
  padding: 0px 16px 16px 16px;
  border: solid 1px #ffffff;
  background: url(./backie.png);
  color: #ffffff;
  z-index: 3;
}

DIV#kbo {
  position: absolute;
  top: 64px;
  left: 700px;
  width: 250px;
  height: 249px;
  background: url(./kbo2010.png);
  z-index: 4;
}

DIV#blueband {
  position: absolute;
  background: #003366;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 24px;
  border: solid #ffffff;
  border-width: 0px 0px 1px 0px;
  z-index: 6;
}

DIV#menu {
  position: absolute;
  top: 0px;
  left: 0px;
  width:726px;
  z-index: 7;
}

/* content styling */

H1, H2, H3, H4, H5, H6 {
  background: #ffffff;
  color: #ff0033;
  padding: 2px 2px 2px 4px;
  font-family: sans-serif;
}

H1 { font-size: 18px; }
H2 { font-size: 16px; }
H3 { font-size: 15px; }
H4 { font-size: 14px; }
H5 { font-size: 13px; }
H6 { font-size: 12px; }

.blue {
  width: 10px;
  height: 10px;
  padding: 0px 10px 0px 0px;
}

P {
  line-height: 1.2em;
}

HR {
  height: 0px;
  border: solid #ffffff;
  border-width: 1px 0px 0px 0px;
}

PRE {
  background: #ffeeee;
  color: #003366;
  border: 1px solid #003366;
  padding: 2px 2px 2px 4px;
  font-family: monospace;
  font-size: 13px;
}

A:link, A:visited, A:active, A:hover {
  color: #ff9900;
  font-weight: bold;
  text-decoration: none;
}

A:hover {
  background: #003366;
  text-decoration: underline;
}

SUB {
  font-size: 80%;
  vertical-align: baseline;
}

SUP {
  font-size: 60%;
  vertical-align: text-top;
}

SPAN.red { color: #ff0033; }

P.smallright {
  font-size: 11px;
  text-align: right;
  clear: left;
}

IMG.image {
  border: solid #ffffff;
  border-width: 2px 2px 15px 2px;
}

/* content styling for thumbnail pages */

IMG.thumbnail {
  border: solid #ffffff;
  border-width: 1px 1px 3px 1px;
  margin: 5px 5px 5px 5px;
  vertical-align: middle;
}

A.thumbnail:link, A.thumbnail:visited, A.thumbnail:active, A.thumbnail:hover {
  color: #ffffff;
}

/* Slideshow specific */

INPUT.buttons {
  font-weight: bold;
  font-size: 12px;
  font-family: sans-serif;
  background-color: #003366;
  color:#ff9900;
  padding: 2px;
  border-color: #ff9900;
}

IMG.photo {
  border: solid #ffffff;
  border-width: 10px 10px 24px 10px;
}

/* Menu styles */

.menu {
  font-family: sans-serif;
  font-size:11px;
  font-weight:bold;
}

.title {
  color: #ff9900;
  float: left;
  line-height:23px;
  padding: 0px 0px 0px 10px;
}

/* remove bullets, borders and padding from default list style */
.menu ul {
  padding:0px 0px 0px 0px;
  margin:0px 0px 0px 0px;;
  list-style-type:none;
}

/* float the list to make it horizontal and give it a relative positon to allow controlling the dropdown menu positon */
.menu li
{
  float:right;
  width:100px;
  position:relative;
}

/* top level links */
.menu a, .menu a:visited {
  display: block;
  text-decoration: none;
  background: #003366;
  color: #ff9900;
  width: 90px;
  height: 24px;
  padding: 0px 0px 0px 10px;
  line-height: 23px;
}

/* top level hover */
.menu a:hover {
  background: #336699;
  border: solid  #ff9900;
  border-width: 0px 0px 1px 0px;
}

/* hide the sub levels and position them absolute so they use no space */
.menu ul ul {
  position:absolute;
  visibility:hidden;
  top:24px;
  left:0;
  width:100px;
  height:0;
}

/* position the third level flyout menu */
.menu ul ul ul {
  top:0;
  left:100px;
  width:100px;
}

/* position the third level flyout menu for a left flyout */
.menu ul ul ul.left {
  left:-100px;
}

/* style the table so that it takes no part in the layout - required for IE to work */
table.void {
  position: absolute;
  top: 0px;
  left: 0px;
}

/* style the second level links */
.menu ul ul a, .menu ul ul a:visited {
  width:80px;
  height:auto;
  padding:5px 10px;
  line-height:1em;
}

/* style the top level hover */
.menu ul ul a:hover {
  background: #225588;
  color: #ff9900;
}

/* keep the third level hidden when you hover on first level list OR link */
.menu ul :hover ul ul {
  visibility:hidden;
}

/* keep the fourth level hidden when you hover on second level list OR link */
.menu ul :hover ul :hover ul ul {
  visibility:hidden;
}

/* make the second level visible when hover on first level list OR link */
.menu ul :hover ul {
  visibility:visible;
}

/* make the third level visible when you hover over second level list OR link */
.menu ul :hover ul :hover ul {
  visibility:visible;
}

/* make the fourth level visible when you hover over third level list OR link */
.menu ul :hover ul :hover ul :hover ul {
 visibility:visible;
}

/* Div's in waaithet.html */

DIV#tides
{
  position: absolute;
  z-index: 5;
  top: 494px;
  left: 184px;
  width: 780px;
  height: 253px;
  border: solid 1px #ffffff;
  border-width: 1px 1px 36px 1px;
  background: url(http://www.windfinder.com/grafiken/tides/Meetpost_Noordwijk_Netherlands.png) #ffffff;
}

DIV#katwijk {
  position: absolute;
  z-index: 6;
  left: 188px;
  top: -24px;
  width: 1px;
  height: 1px;
}

DIV#windfinder {
  position: absolute;
  z-index: 5;
  left: 504px;
  top: 499px;
  height: 283px;
  border: 1px solid #ffffff;
  background: #ffffff;
  font-size: 10.5px;
}

DIV#table_bay {
  position: absolute;
  top: 790px;
  left: 10px;
  border: 1px solid #ffffff;
  background: #ffffff;
}

DIV#cabarete {
  position: absolute;
  top: 1090px;
  left: 10px;
  border: 1px solid #ffffff;
  background: #ffffff;
}

DIV#cam {
  position: absolute;
  z-index: 5;
  top: 32px;
  left: 184px;
  width: 640px;
  height: 480px;
  border: solid #ffffff;
  border-width: 1px 1px 20px 1px;
  background: #003366 url(./ksnlogo-500.png) 70px 70px no-repeat;
}

DIV#camoverlay {
  position: absolute;
  z-index: 7;
  top: 31px;
  left: 183px;
  width: 642px;
  height: 502px;
  background: url(./camoverlay.gif);
}

DIV#bardienst {
  position: absolute;
  z-index: 5;
  top: 32px;
  left: 184px;
  width: 634px;
  height: 36px;
  border: 1px solid #ffffff;
  padding: 4px 2px 2px 4px;
  background: url(./backie.png);
  background: #003366;
  color: #ff9900;
  font: 12px arial,sans-serif;
  font-weight: bold;
}

.bardienst A:link, .bardienst A:visited, .bardienst A:active {
  color: #ff0033;
  text-decoration: none;
  font-weight: bold;
}

.bardienst A:hover {
  color: #000000;
  text-decoration: none;
  font-weight: bold;
}

DIV#kaart {
  position: absolute;
  z-index: 5;
  top: 276px;
  left: 756px;
  width: 256px;
  height: 256px;
  border: solid 1px #ffffff;
  background: url(./brnl256.jpg);
}

DIV#buien {
  position: absolute;
  z-index: 5;
  top: 276px;
  left: 756px;
  width: 256px;
  height: 256px;
  border: solid 1px #ffffff;
}

DIV#zvn-dir {
  position: absolute;
  z-index: 5;
  top: 374px;
  left: 198px;
  left: 278px;
  width: 192px;
  height: 192px;
/*  background: url(http://www.zvnoordwijk.nl/wedstrijd/weer/WindDirection.gif);*/
  background: url(http://www.noordwijk.info/data/WindDirection.gif);
}

DIV#zvn-10m {
  position: absolute;
  z-index: 5;
  top: 374px;
  left: 398px;
  left: 478px;
  width: 192px;
  height: 192px;
/*  background: url(http://www.zvnoordwijk.nl/wedstrijd/weer/10MinAvgWindSpeed.gif);*/
  background: url(http://www.noordwijk.info/data/10MinAvgWindSpeed.gif);
}

DIV#tekst {
  position: absolute;
  z-index: 5;
  top: 32px;
  left: 825px;
  width: 179px;
  height: 239px;
  border: solid 1px #ffffff;
  padding: 4px 4px 0px 4px;
  background: #003366;
  color: #ffffff;
}

A.tekst:link, A.tekst:visited, A.tekst:active, A.tekst:hover {
  color: #ff9900;
  font-weight: bold;
  text-decoration: none;
}

A.tekst:hover {
  background: #003366;
  text-decoration: underline;
}

SPAN.NB {
  background: #ffff00;
  color: #ff0000;
}

/* ibox styles */

#ibox_w {
  position: absolute;
  top: 0px;
  left: 0px;
  z-index: 100;
  width: 100%;
  height: 100%;
  background-color: #000000;
  margin: 0px;
  padding: 0px;
  filter: alpha(opacity=0);
  -moz-opacity: 0.0;
  opacity: 0.0;
}

#ibox_progress {
  margin: 0px;
  padding: 0px;
  position: absolute;
  z-index: 105;
}

#ibox_wrapper {
  position: absolute;
  top: 0px;
  left: 0px;
  z-index: 1000;
  padding: 10px;
  border: 1px solid #c0c0c0;
  width: 300px;
  height: 300px;
  background-color: #999999;
  padding-bottom: 30px;
  margin:0pc;
}

#ibox_content {
  background-color:#ffffff;
  width: 100%;
  height: 100%;
  margin-bottom: 5px;
  position: relative;
  top: 0px;
  left: 0px;
  border: 1px solid #000000;
  padding: 2px;
}

#ibox_footer_wrapper {
  position: relative;
  padding: 0px;
  margin: 0px;
  top: 0px;
  left: 0px;
}

/* lightbox styles */

#lightbox {  }

#lightboxDetails {
  font-size: 0.80em;
  padding-top: 0.40em;
}

#lightboxCaption { float: left; }

#keyboardMsg { float: right; }

#closeButton {
  top: 5px;
  right: 5px;
}

#lightbox img {
  clear: both;
  border: solid 1px #ffffff;
  border-width: 10px 10px 24px 10px;
}

#overlay img { border: none; }

#overlay { background: url(./ksnlogo.png) 11px 33px no-repeat #003366; }

/* Wouldn't you like to know */

@media screen
{
  BODY>DIV#background, BODY>DIV#ads, BODY>DIV#logo, BODY>DIV#webcam, BODY>DIV#sites, BODY>DIV#kbo, BODY>DIV#blueband, BODY>DIV#menu {
    position: fixed;
  }
    
  BODY>DIV#content {
    position: absolute;
  }
}

@media print
{
  DIV#blueband, DIV#background, DIV#logo, DIV#webcam, DIV#sitescroller, DIV#scroller, DIV#kbo, DIV#menu
  {
    visibility: hidden;
    display: none;
  }

  DIV#tides, DIV#windfinder, DIV#cam, DIV#bardienst, DIV#kaart, DIV#buien, DIV#zvn, DIV#tekst
  {
    visibility: hidden;
    display: none;
  }
}
