/*****************
  PAGE ELEMENTS
*****************/

body {
  margin: 0 0 0 0;
  padding: 0 0 0 0;
  color: #000; /* Apply left nav gradient and color the gaps between content divs */
  background: #CDF;
  background-image: url('leftnavbg.gif'); /* #CDF #78A */
  background-repeat: repeat-y;
}

p {
  margin-top: 0.5em;
  margin-bottom: 0;
  text-align: justify;
}

a {
  color: #11B;
  text-decoration: none;
}


input.button {
  width: 200px; /* background: #369;*/
  border: 0;
  margin-top: 0.5em;
  background-image: url(topnavinvbg.gif);
  cursor: pointer;
}

/*************************
   RIGHT DIV
*************************/

div.right {
  height: 100%;
  margin: 0 160px 0 175px;
  padding: 0 15px 5px 10px;
  background: #CDF;
}

/* Right Div Page Footer */
p.footer, p.validationfooter {
  margin: 10px 5px 0px 5px;
  border-top: 1px solid #000;
  font-size: 0.6em;
  font-family: Verdana, Arial, Helvetica, "Sans Serif"; /*clear thumbnail images*/
  clear: both;
}

p.validationfooter, p.validationfooter img {
  border: 0;
  margin: 0;
}

/*Full Page Image and Video Display Settings*/
#fullpageimage {
  margin: 5px 0 0 0px;
  padding: 0 0 0 10px;
  position: absolute;
  left: 160px;
}

h3 {
  margin: 0 0 0 0;
  padding: 0 0 0 0;
  text-align: left;
  font-size: 1em;
}

img.block {
  display: block;
}

div.right li {
  margin-bottom: 0.25em;
}

/* Ad Settings */
div.googleads {
  position: absolute;
  right: 0px;
  top: 55px;
  margin: 15px 0 0 0;
  font-size: small;
}

div.leftgoogleads {
  float: left;
  margin: 8px 0 0 5px;
  font-size: small;
}


/*************************
   DEFINITION LIST
*************************/

dl {
  margin: 0 0 0 0;
  padding: 0 0 0 0;
}

/* Definition Title*/
dt {
  margin: 0.5em 0 0 0;
  padding: 0 0 0 0;
  font-weight: bold; /*clear thumbnail images*/
  clear: right;
}

a.dtlink {
  margin-left: 1em;
  font-size: 1em;
  display: block;
}

a.amazonlink img {
  border: 0px;
  vertical-align: bottom;
}

a.top {
  text-align: center;
  height: 10px;
  padding: 0px 3px 1px 0;
}

img.top {
  border: 0;
}

/* Definition Content and Image */
dd {
  margin: 2px 0 0 25px;
  padding: 0 0 0 0;
  text-align: justify;
  font-size: 1em; /*clear thumbnail images*/
  text-indent: 0;
}

dd ul, dd ol {
  padding-top: 5px;
}

div.ddthumb {
  display: inline;
  float: right;
  margin-left: 10px;
}

div.ddthumb img {
  border: 1px solid #78A;
}

p.caption, div.noprintinstruction {
  margin: 0 0 0 0;
  padding: 0 0 0 0;
  width: 150px;
  font-size: 0.6em;
  font-family: Verdana, Arial, Helvetica, "Sans Serif";
  text-align: left;
}

div.noprintinstruction {
  color: Blue;
}

/*****************
     TOP NAV
*****************/
div.top {
  width: 100%;
  margin: 0 0 0 0;
  padding: 30px 0 5px 0;
  background-image: url('topdivbg.gif'); /* #CDF #78A */
  background-repeat: repeat-x;
}

h1 {
  text-align: left;
  margin: 0 0 0 0;
  padding: 0 15px 0 10px;
  font-size: 1.5em;
  font-variant: small-caps;
  display: inline;
}

h1 a {
  color: #000;
}

ul.header {
  display: inline;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

ul.header li {
  font-size: 1em;
  font-weight: bold;
  padding: 0;
  margin: 0;
  display: inline;
}

ul.header a {
  color: #000;
  padding: 4px 5px 3px 5px;
  margin: 0;
  background-image: url('topnavinvbg.gif');
  border-bottom: 2px solid black;
  border-right: 1px solid black;
}

ul.header li.topnavcurrent a {
  cursor: default;
  background: #CDF;
}


ul.header a:hover {
  background-image: url('topnavbg.gif'); /* #CDF #78A */
}


/*************************
   LEFT DIV WITH LINKS
*************************/

div.left {
  width: 175px;
  margin: 0;
  padding: 0;
  float: left;
  font-weight: bold;
  font-size: 1em;
}

ul.leftnavlinks {
  list-style-type: none;
  margin: 20px 0 0 10px;
  padding: 0 0 0 0;
}

ul.leftnavlinks li {
  border-top: 1px solid #9AC;
}

/*Standard Anchor*/
ul.leftnavlinks a {
  color: black;
  width: 100%;
  display: block;
  padding: 1px 0px 1px 5px;
}

ul.leftnavlinks #current a {
  cursor: default;
  background: #CDF;
}

ul.leftnavlinks a:hover {
  background: #EEE;
}

/*************************
   ADMIN QUEUE
**************************/

table.adminqueue {
  font-size: 0.75em;
  width: 100%;
  border: 1px solid #000;
  border-collapse: collapse;
  text-align: left;
}

tr.light {
  background: #FFF;
}

tr.dark {
  background: #DEE;
}


/*************************
   PRINTER FRIENDLY
*************************/
@media print {

  /*Hide the ads and left nav on all pages*/
  div.googleads, div.left, div.leftgoogleads{
    display: none;
  }

  /*Remove the left nav on the images page*/
  #fullpageimage{
    position: relative;
    left: auto;
  }

  /*Show just the current page in the top nav, set the font and border*/
  div.top {
    padding: 2px;
    background: #FFF;
    background-image: none;
    border: 1px solid black;
    border-bottom: 2px solid black;
    height: 1.75em;
    width: auto;
  }
  h1 {
    margin-bottom: 0;
    float: left;
    padding-left: 5px;
  }
  ul.header{
    float: right;
  }
  ul.header li{
    display: none;
  }
  ul.header li.topnavcurrent {
    display: inline;
    background-color: #FFF;    
  }
  ul.header li.topnavcurrent a {
    font-size: 1.5em;
    font-variant: small-caps;
    background-image: none;
    background-color: #FFF;
    border: 0;
    padding: 0px;
    margin-right: 5px;
  }

  /*Clean up the page Content (Right Div)*/
  body {
    background: #FFF;
    background-image: none;
  }
  div.right {
    margin: 0;
    background: #FFF;
  }
  
  /*Clean up the Definition Titles and Content*/
  dt {
    margin-top: 1em;
    display: block;
    clear: both;
    width: 100%;
  }
  a.amazonlink img {
    display: none;
  }
  div.noprintinstruction{
    display: none;
  }
  p.caption{
    font-family: Serif;
    font-size: 0.75em;
  }

  /* Display text next to the image in IE
     Hidden with conditional comment from firefox and opera, due to breaking alignment*/
  div.ddcontent{float: left; padding-right: 10px;}
  
  /*Cleanup the page Footer*/
  p.footer {
    border: 0;
    font-family: Serif;
    font-size: 0.75em;
  }
  p.validationfooter {
    display: none;
  }
}
