/*

Colours:

#FF9900 - orange
#5C2300 - brown
#4b5d81 - blue
#ffb240 - light orange
black
white
rgb(50, 50, 50) - gray background


Total width: 960px
bodysection borders: 2px 2px, leaving body section width: 956px
leftbar has width: 120px + 2px border on right
leaving: 834px. content has width 824 + 10px padding.

*/

/* ------------------- Site layout ------------------------------ */

body
{
  background-color: #101010;
  color: white;
  font-family: Verdana, helvetica, sans-serif;
  font-size: 13px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 0px;
  width: 960px;
}

#topline
{
  width: 100%;
  height: 118px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

#topline img
{
  margin: 0px;
}

#toplineright
{
  background-image: url("/img/header-2012-right.png");
  background-repeat: no-repeat;
  position: absolute;
  top: 0px;
  right: 0px;
  height: 118px;
  width: 682px;
}

#languagelinks
{
  position:absolute;
  right:5px;
  top:5px;
}

.languagelink
{
  display:inline-block;
}

.languagelink img
{
  height:18px;
  border:1px solid transparent;
  border-radius: 2px
}

.languagelink img:hover
{
  border:1px solid #f90;
}

#topline-search
{
  position: absolute;
  top: 94px;
  right: 0px;
  width: 200px;
}

#toplinesearchinput
{
  font-size: small;
  width: 140px;
  color: #909090;
  background-color: #101010;
  position: relative;
  height: 16px;
  top: 0px;
  border: 1px solid #808080;
  -moz-border-radius: 3px;
  border-radius: 3px;
}

#toplinesearchgo
{
  padding-left: 2px;
  padding-right: 2px;
  margin-top: 10px;
  border: 1px solid white;
  -moz-border-radius: 3px;
  border-radius: 3px;
  line-height: 22px;
  height: 22px;
}

#toplinesearchgo:hover
{
  text-decoration: none;
  background-color: #ffb240;
  color:white;
  cursor: pointer;
}

#toplinesearchgo:active
{
  text-decoration: none;
  background-color: white;
  color: #f90;
  cursor: pointer;
}

/* --------------------------------------- */

#toplineuser
{
  position: absolute;
  top: 67px;
  right: 0px;
  width: 170px;
  height: 23px;
  cursor: pointer;
  text-align: right;
}

.toplineuseraStandard
{
  display: inline-block;
  line-height: 23px;
  height: 23px;
}

.toplineuseraStandard:link
{
  color: white;
}

.toplineuseraStandard:visited
{
  color: white;
}

.toplineuseraStandard:hover
{
  background-color: #ffb240;
  color: #ffffff;
  text-decoration: none;
}

.toplineuseraStandard:active
{
  background-color: white;
  color:#f90;
  text-decoration: none;
}

.toplineuseraStandard:active #toplineusercog
{
  background-position:0px -20px;
}
.toplineuseraStandard:active #toplineuserarrow
{
  background-position:-22px -20px;
}

#toplineusera, #toplineuserlogin
{
  padding-right:4px;
}

.toplineuseraInverted
{
  display: inline-block;
  line-height: 23px;
  height: 23px;
  color:white;
  background-color: #f90;
  text-decoration: none;
  background-color: #ffb240;
}

.toplineuseraInverted:hover
{
  color:white;
  text-decoration: none;
}

.toplineuseraInverted:active
{
  text-decoration: none;
}

#toplineusercog
{
  display: inline-block;
  float:left;
  margin-right: 3px;
  width: 18px;
  height: 18px;
  background-image: url("/img/toplineuserimgs2.png");
  background-position: 0px 0px;
}



#toplineusername
{
  display: inline-block;
  line-height: 23px;
  float:left;
  max-width: 132px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#toplineuserarrow
{
  display: inline-block;
  line-height: 23px;
  height: 18px;
  width: 18px;
  float:left;
  background-image: url("/img/toplineuserimgs2.png");
  background-position: -22px 0px;
}

.toplineuseraInverted #toplineuserarrow
{
  background-position: -42px 0px;
}

/* ----------- cog menu ------------------ */

.cogdrop
{
  display: none;
  position: absolute;
  border: 2px solid #000000;
  background-color: black;
  z-index: 999;
}

.cogdrop ul
{
  padding: 0px;
  list-style-type: none;
  margin-top: 0px;
  margin-bottom: 0px;
}

.cogdrop ul li a
{
  display: block;
  font-size: small;
  padding: 5px;
  padding-left: 15px;
  width: 120px;
  text-decoration: none;
  color: white;
  background-color: #F90;
  cursor: pointer;
  text-shadow:1px 1px #c70;
}

.cogdrop ul li a:visited
{
  color: white;
}

.cogdrop ul li a:hover
{
  color: white;
  background: #ffb240;
}

.cogdrop ul li a:active
{
  color: #f90;
  background: white;
  text-shadow:none;
}

/* --------------------------------------- */

#bodysection
{
  border-width: 2px;
  border-style: solid;
  border-color: #4b5d81;

  background-color: #101010; /* IE7 */

  background-image: url("/img/content-watermark.png");
  background-repeat: no-repeat;
  background-position: 152px 0px;

  margin-bottom: 0px;
}


/* ------------------- Left bar ------------------------------ */

#leftbar
{
  float: left;
  width: 150px;

  border-right-width: 2px;
  border-right-style: solid;
  border-right-color: #4b5d81;
  
  border-bottom-width: 2px;
  border-bottom-style: solid;
  border-bottom-color: #4b5d81;

  padding-top: 13px;
  padding-bottom: 13px;
}

div.nlb-button span#nlb-button-img-personalmenu { background-position:   -224px  -39px; }
div.nlb-button span#nlb-button-img-yourrequests { background-position:   -187px  -39px; }
div.nlb-button span#nlb-button-img-yourprojects { background-position:   -76px  -39px; }
div.nlb-button span#nlb-button-img-mainpage     { background-position:   -224px  -39px; }
div.nlb-button span#nlb-button-img-usetelescope { background-position:   -39px  -39px; }
div.nlb-button span#nlb-button-img-imagegallery { background-position:   -2px  -39px; }
div.nlb-button span#nlb-button-img-webcams      { background-position:   -261px  -39px; }
div.nlb-button span#nlb-button-img-weather      { background-position:   -298px  -39px; }
div.nlb-button span#nlb-button-img-realtimedata { background-position:   -335px  -39px; }
div.nlb-button span#nlb-button-img-jobqueue     { background-position:   -372px  -39px; }
div.nlb-button span#nlb-button-img-forum        { background-position:   -113px  -39px; }
div.nlb-button span#nlb-button-img-status       { background-position:   -409px  -39px; }

div.nlb-button:hover span#nlb-button-img-personalmenu { background-position:   -224px  -2px; }
div.nlb-button:hover span#nlb-button-img-yourrequests { background-position:   -187px  -2px; }
div.nlb-button:hover span#nlb-button-img-yourprojects { background-position:   -76px  -2px; }
div.nlb-button:hover span#nlb-button-img-mainpage     { background-position:   -224px  -2px; }
div.nlb-button:hover span#nlb-button-img-usetelescope { background-position:   -39px  -2px; }
div.nlb-button:hover span#nlb-button-img-imagegallery { background-position:   -2px  -2px; }
div.nlb-button:hover span#nlb-button-img-webcams      { background-position:   -261px  -2px; }
div.nlb-button:hover span#nlb-button-img-weather      { background-position:   -298px  -2px; }
div.nlb-button:hover span#nlb-button-img-realtimedata { background-position:   -335px  -2px; }
div.nlb-button:hover span#nlb-button-img-jobqueue     { background-position:   -372px  -2px; }
div.nlb-button:hover span#nlb-button-img-forum        { background-position:   -113px  -2px; }
div.nlb-button:hover span#nlb-button-img-status       { background-position:   -409px  -2px; }

div.nlb-button:active span#nlb-button-img-personalmenu { background-position:   -224px  -76px; }
div.nlb-button:active span#nlb-button-img-yourrequests { background-position:   -187px  -76px; }
div.nlb-button:active span#nlb-button-img-yourprojects { background-position:   -76px  -76px; }
div.nlb-button:active span#nlb-button-img-mainpage     { background-position:   -224px  -76px; }
div.nlb-button:active span#nlb-button-img-usetelescope { background-position:   -39px  -76px; }
div.nlb-button:active span#nlb-button-img-imagegallery { background-position:   -2px  -76px; }
div.nlb-button:active span#nlb-button-img-webcams      { background-position:   -261px  -76px; }
div.nlb-button:active span#nlb-button-img-weather      { background-position:   -298px  -76px; }
div.nlb-button:active span#nlb-button-img-realtimedata { background-position:   -335px  -76px; }
div.nlb-button:active span#nlb-button-img-jobqueue     { background-position:   -372px  -76px; }
div.nlb-button:active span#nlb-button-img-forum        { background-position:   -113px  -76px; }
div.nlb-button:active span#nlb-button-img-status       { background-position:   -409px  -76px; }


div.nlb-button
{
  color: #ff9900;
  width: 146px;
  height: 47px;
  line-height: 47px;
  cursor: pointer;
}

div.nlb-button:hover
{
  background-color: #202020;
  border-right: 4px solid #ff9900;
}

div.nlb-button:hover .nlb-button-a
{
  color: #f0f0f0;
}

div.nlb-button:active
{
  background-color: #ff9900;
  border-right-color: #ffffff;
}

span.nlb-button-img
{
  width: 35px;
  height: 35px;
  display:inline-block;
  margin-left: 4px;
  margin-top: 6px;
  background-image: url("/img/NavIcons_spaced.png");
  float:left;
}

span.nlb-button-label
{
  float:left;
  margin-left:4px;
}

div.nlb-button a
{
  display:block;
  width: 146px;
  height: 47px;
  cursor: pointer;
}

div.nlb-button-highlight
{
  background-color: #33240e;
  border-right: 4px solid #33240e;
}

/* ------------------------------------------------ */

#content
{
  float: right;
  width: 794px;
  padding: 5px;
}

div.clearer
{
  clear: both;
  line-height: 0px;
  height: 0px;
}

div.v4footer
{
  margin-top: 6px;
  margin-left: -1px;
  width: 962px;
  background-color: #303030;
  color: #a0a0a0;
  padding-bottom: 3px;
}

#v4footer_uob
{
  float: right;
  margin-right: 2px;
}

div.v4footer #ou-logo
{
  height: 60px;
  margin: 15px 15px 0px 0px;
}

div.v4footer a
{
  color: #a0a0a0;
}

div#v4footerbottomline
{
  margin-left: 15px;
  margin-bottom: 10px;
}

div#v4footerlinks1
{
  float: left;
  margin-top: 10px;
  margin-left: 20px;
  margin-bottom: 10px;
}

div#v4footerlinks2
{
  float: left;
  margin-top: 10px;
  margin-left: 60px;
  margin-bottom: 10px;
}

div#v4footerlinks3
{
  float: left;
  margin-top: 10px;
  margin-left: 60px;
  margin-bottom: 10px;
}

div#v4footerlinks4
{
  float: left;
  margin-top: 10px;
  margin-left: 60px;
  margin-bottom: 10px;
}

div#v4footerlinks5
{
  float: left;
  margin-top: 10px;
  margin-left: 60px;
  margin-bottom: 10px;
}

div.footer
{
  width: 950px;
  height: 70px;
  background-repeat: no-repeat;
  font-size: xx-small;
  color: black;
  line-height: 1.7em;
}

#footer-text
{
  position: relative;
  top: 47px;
  left: 12px;
  width: 925px;
}

div.footer a
{
  color: black;
}

div.lowerhrule
{
  width: 100%;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-bottom-color: #FF9900;
}

#lb-userbox
{
  width: 97px;
  font-size: xx-small;
}

#lb-passbox
{
  width: 97px;
  font-size: xx-small;
  font-family: verdana;
}

#lb-loginbutton
{
  font-size: x-small;
  text-align: center;
  margin-top: 1em;

  margin-left: auto;
  margin-right: auto;
  color: black;
  background-color: #FF9900;
}

#lbc-signup-links
{
  font-size: x-small;
  width: 104px;

  padding-top: 0.4em;
}

/* ------------------- tick/cross --------------------------- */

div.iconmessagebox
{
/*  vertical-align: middle; */
  margin-left: 1em;
}

div.iconmessagebox p
{
  vertical-align: middle;
  display: inline;
  margin-left: 0;
}

div.iconmessagebox img
{
  vertical-align: middle;
  display: inline;
}

/* ------------------- topbar2  -------------------------- */

div#topbar2w
{
  border-top-width: 2px;
  border-top-style: solid;
  border-top-color: #4b5d81;
  text-align: center;
  width: 100%;
}

div#topbar2
{
  display: inline-block;
  margin-left: auto;
  margin-right: auto;
}

a.topbar-link2
{
  width: 150px;
  height: 47px;
  float: left;
  line-height: 47px;
  cursor: pointer;
  margin-right: 2px;
  background-color: #101010;
  border-bottom: 4px solid #101010;
}

a.topbar-link2:hover
{
  color: #f0f0f0;
  background-color: #202020;
  border-bottom: 4px solid #ff9900;
}

a.topbar-link2:active
{
  background-color: #FF9900;
  border-bottom: 4px solid #FFFFFF;
}

div.topbar2-img
{
  display: inline-block;
  margin-top: 6px;
  width: 35px;
  height: 35px;
  line-height: 35px;
  background-image: url("/img/NavIcons_spaced.png");
}

span.topbar2-text
{
  position: relative;
  top: -10px;
}

a.topbar-link2 div#topbar2-img-personalmenu { background-position: -224px  -39px; }
a.topbar-link2 div#topbar2-img-yourrequests { background-position: -187px  -39px; }
a.topbar-link2 div#topbar2-img-mainpage     { background-position: -224px  -39px; }
a.topbar-link2 div#topbar2-img-usetelescope { background-position: -39px   -39px; }
a.topbar-link2 div#topbar2-img-imagegallery { background-position: -2px    -39px; }
a.topbar-link2 div#topbar2-img-webcams      { background-position: -261px  -39px; }
a.topbar-link2 div#topbar2-img-weather      { background-position: -298px  -39px; }
a.topbar-link2 div#topbar2-img-realtimedata { background-position: -335px  -39px; }
a.topbar-link2 div#topbar2-img-forum        { background-position: -113px  -39px; }

a.topbar-link2:hover div#topbar2-img-personalmenu { background-position: -224px  -2px; }
a.topbar-link2:hover div#topbar2-img-yourrequests { background-position: -187px  -2px; }
a.topbar-link2:hover div#topbar2-img-mainpage     { background-position: -224px  -2px; }
a.topbar-link2:hover div#topbar2-img-usetelescope { background-position: -39px   -2px; }
a.topbar-link2:hover div#topbar2-img-imagegallery { background-position: -2px    -2px; }
a.topbar-link2:hover div#topbar2-img-webcams      { background-position: -261px  -2px; }
a.topbar-link2:hover div#topbar2-img-weather      { background-position: -298px  -2px; }
a.topbar-link2:hover div#topbar2-img-realtimedata { background-position: -335px  -2px; }
a.topbar-link2:hover div#topbar2-img-forum        { background-position: -113px  -2px; }

a.topbar-link2:active div#topbar2-img-personalmenu { background-position: -224px  -76px; }
a.topbar-link2:active div#topbar2-img-yourrequests { background-position: -187px  -76px; }
a.topbar-link2:active div#topbar2-img-mainpage     { background-position: -224px  -76px; }
a.topbar-link2:active div#topbar2-img-usetelescope { background-position: -39px   -76px; }
a.topbar-link2:active div#topbar2-img-imagegallery { background-position: -2px    -76px; }
a.topbar-link2:active div#topbar2-img-webcams      { background-position: -261px  -76px; }
a.topbar-link2:active div#topbar2-img-weather      { background-position: -298px  -76px; }
a.topbar-link2:active div#topbar2-img-realtimedata { background-position: -335px  -76px; }
a.topbar-link2:active div#topbar2-img-forum        { background-position: -113px  -76px; }

/* ------------------- General ------------------------------ */

tr.flip
{
  background-color: #5C2300;
}

tr.flop
{
  background-color: #6D4B36;
}

A:link
{
  color: #FF9900;
  text-decoration: none;
}

A:visited
{
  color: #FF9900;
  text-decoration: none;
}

A:hover
{
  color:#ffb240;
}

A:active
{
  color: white;
  text-decoration: none;
}

h1  /* the big title */
{
  padding: 2px;
}

h2  /* unused */
{
}

h3  /* Page headings, main page split headers */
{
  font-size: 1.4em;
  margin-top: 0.5em;
  margin-left: 0px;
  margin-bottom: 0.5em;
  font-weight: bold;
}

h3.centered
{
  text-align: center;
}

h4
{
}

h5  /* Small inline titles */
{
  margin-left: 0px;
  margin-top: 1em;
  margin-bottom: 1em;
  font-size: 1em;
  font-weight: normal;
  text-decoration: underline;
}

table
{
  padding: 0;
}

tr
{
  padding: 0;
}

td
{
  padding: 0;
  vertical-align: top;

}

table.datatable
{
  margin: 0.5em;
}

table.datatable td
{
  padding-right: 1em;
}

table.notetable
{
  margin: 0.5em;
  border-width: 1px 1px 1px 1px;
  border-spacing: 2px;
  border-style: outset outset outset outset;
  border-color: rgb(255, 153, 0) rgb(255, 153, 0) rgb(255, 153, 0) rgb(255, 153, 0);
  border-collapse: collapse;
  background-color: black;
}

table.notetable td
{
  border-width: 1px 1px 1px 1px;
  padding: 1px 1px 1px 1px;
  padding-right: 1em;
  border-style: solid solid solid solid;
  border-color: rgb(255, 153, 0) rgb(255, 153, 0) rgb(255, 153, 0) rgb(255, 153, 0);
  background-color: black;
  -moz-border-radius: 0px 0px 0px 0px;
}

table.notetable td.noteaction
{
  text-align: center;
}

table.notetable td.noteactionrequired
{
  background-color: red;
  text-align: center;
}

table.notetable td.noteactiondone
{
  background-color: green;
  text-align: center;
}

table.notetable td.noteactionrequired A:link
{
  color: black;
}

table.notetable td.noteactionrequired A:hover
{
  color: black;
  text-decoration: underline;
}

tr.onepxrule
{
  line-height: 1px;
  background-color: #FF9900;
}

u
{
  margin-left: 10px;
  margin-bottom: 10px;
}

p
{
  margin-top: 0px;
  margin-bottom: 10px;
  margin-left: 0px;
  margin-right: 10px;
  text-align: justify;
}

p.centered
{
  text-align: center;
}

img
{
  margin: 0.5em;
  border: none; /*IE7*/
}

img.centered
{
  display: block;
  margin-left: auto;
  margin-right: auto;
}

p.text-tech
{
  margin: 10px;
  font-family: "Courier", monospace;
  font-size: 8pt;
}

p.text-nj
{
  margin: 10px;
}

p.smallitalic
{
  margin: 10px;
  font-style: italic;
  font-size: 50%;
}

p.error-text
{
  margin: 10px;
  color: red;
  font-weight: bold;
}

p.small-error-text
{
  margin: 3px;
  padding: 0;
  color: red;
  font-size: xx-small;
}



div.alertbox-wrapper
{
  margin-left: 10px;
  margin-right: 0px;
  margin-top: 10px;
  padding-left: 0px;
  padding-right: 10px;
}

div.alertbox
{
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2px;
  border: 1px solid;
}

div.alertbox p
{
  margin-left: 5px;
  margin-bottom: 2px;
}

table.alertbox-table
{
  border-collapse: collapse;
}

td.alertbox-icon-column
{
  width: 45px;
}

div.alertbox-tick { border-color: #00ff00; background-color: #356a35; }
div.alertbox-tick td.alertbox-icon-column { background-color: #36ac36; }

div.alertbox-warning { border-color: yellow; background-color: #746500; }
div.alertbox-warning td.alertbox-icon-column { background-color: #A49324; }

div.alertbox-cross { border-color: #ff4444; background-color: #851c1c; }
div.alertbox-cross td.alertbox-icon-column { background-color: #c41a1a; }

/* Orange button */

  a.orangebutton
  {
    background-color: #ff9900;
    text-shadow: 1px 1px #BB7700;
    padding-left: 0.6em;
    padding-right: 0.6em;
    padding-top: 0.3em;
    padding-bottom: 0.3em;
    color: white;
    font-size: large;
    -moz-border-radius: 3px;
    border-radius: 3px;
  }

  a.orangebutton:hover
  {
    text-decoration: none;
    background-color: #ffbb33;
    outline: none;
  }

  a.orangebutton:active
  {
    background-color: white;
    text-shadow: none;
    color:#f90;
    outline: none;
  }

  
  a.orangebuttondisabled
  {
    background-color: #aaaaaa;
    text-shadow: 1px 1px #777777;
  }
  
  a.orangebuttondisabled:hover
  {
    background-color: #aaaaaa;
    text-shadow: 1px 1px #777777;
  }
  
  a.orangebuttondisabled:active
  {
    color: white;
    background-color: #aaaaaa;
    text-shadow: 1px 1px #777777;
  }
  
/* End orange button */


div.sectionheader
{
  background: #708cbf; /* Old browsers */
  background: -moz-linear-gradient(left,  #708cbf 0%, #101010 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, right top, color-stop(0%,#708cbf), color-stop(100%,#101010)); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(left,  #708cbf 0%,#101010 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(left,  #708cbf 0%,#101010 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(left,  #708cbf 0%,#101010 100%); /* IE10+ */
  background: linear-gradient(to right,  #708cbf 0%,#101010 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#708cbf', endColorstr='#101010',GradientType=1 ); /* IE6-9 */
  
  font-family: Tahoma, Geneva, sans-serif;
  /*font-weight: bold;*/
  font-size: 130%;
  padding: 2px;
  padding-left: 6px;
  border-top: 1px solid #ff9900;
  margin-top: 15px;
  margin-bottom: 15px;
}

div.section
{
  margin-bottom: 30px;
}

/* ------------------ Cookie bar ------------------ */

#cookiebar
{
  z-index: 10;
  position: fixed;
  left: 0px;
  bottom: 0px;
  height: 50px;
  width: 100%;
  background-color: #4b5d81;
}

#cookiebarcontent
{
  margin-top: 8px;
  margin-left: auto;
  margin-right: auto;
  width: 960px;
  height: 50px;
}

#cookiebartext
{
  float: left;
  width: 850px;
}

#cookiebarbutton
{
  float: right;
  margin-right: 1em;
  border: solid 1px white;
  height: 30px;
  line-height: 30px;
  padding-left: 1em;
  padding-right: 1em;
  cursor: pointer;
}

#cookiebarbutton:hover
{
  background-color: #FF9900;
}
