/*
This file and its contents are (c) Angus Turnbull. All Rights Reserved.

I don't mind if you view this to see how individual parts work, but please do not copy
the entire layout.
*/

body {
 margin: 0;
 padding: 0;
 font: 80%/1.5 "Trebuchet MS", Verdana, sans-serif;
 color: #333;
 background-color: #FFF;
 background: url(images/bg.png) bottom fixed repeat-x;
 height: 100%; /* IE fix */
}

h1 {
 font-size: 200%;
 color: #099;
 margin: 0.1em -100px 0.5em -0.8em;
}
h2 {
 width: 99%; /* IE fix */
 font-size: 130%;
 color: #099;
 background-color: #F0FBFB;
 margin: 2em 0 0.8em -1em;
 padding-left: 0.6em;
 border-left: 0.4em solid #ADD;
}
h3 {
 width: 99%; /* IE fix */
 font-size: 115%;
 color: #369;
 border-bottom: 1px dashed #CCF;
 margin: 2em 0 0.8em 0;
}

p, ul, ol {
 margin-top: 0.5em;
}

a {
 text-decoration: none;
}


#header {
 position: relative;
 width: 100%;
 height: 5em;
 background-color: #369;
 color: #FFF;
 font-style: italic;
 cursor: default;
}
#header #helixlogo {
 position: absolute;
 z-index: 2;
 left: 0.5em;
 top: 0;
 width: 6.5em;
 height: 9em;
 border-width: 0;
}
#header #bevel {
 float: right;
 height: 0;
 line-height: 0;
 border: 2.5em solid #FFF;
 border-color: #369 #FFF #FFF #369;
}
#header #bevel #span {
 display: none;
}
#header #twinhelix {
 position: absolute;
 top: 0;
 left: 2.2em;
 font-size: 2.5em;
}
#header #designs {
 position: absolute;
 top: 60%;
 left: 0;
 width: 100%;
 height: 1.66em;
 text-indent: 8em;
 font-size: 1em;
 background-color: #58B;
 border-top: 1px solid #69C;
 border-bottom: 1px solid #036;
}
#header #skipnav {
 display: none;
}
#pagezoom {
 position: absolute;
 top: 61%;
 right: 0.3em;
 font-style: normal;
}
#pagezoom span {
 cursor: pointer;
 color: #EEF;
 padding: 0 0.2em 0 0.2em;
}
#pagezoom span.zoomHover {
 color: #FFF;
 background-color: #7AD;
}



#container {
 position: relative;
 width: 100%;
 z-index: 10;
}


#content {
 margin: 0 0 0 12em;
 border-left: 1px dashed #369;
 padding: 1em 10% 2em 3em;
}

#content a {
 text-decoration: none;
 border: 1px solid transparent;
 border-radius: 0.3em; -moz-border-radius: 0.3em; -webkit-border-radius: 0.3em;
}
* html #content a {
 border: 1px solid white;
}
#content a:link {
 color: #36C;
}
#content a:visited {
 color: #63C;
}
#content a:hover {
 background: #DEF;
 border-color: #BDE;
 box-shadow: 0.2em 0.2em 0.4em #CCC;
 -moz-box-shadow: 0.2em 0.2em 0.4em #CCC; -webkit-box-shadow: 0.2em 0.2em 0.4em #CCC;
}
#content a:active {
 background: #36C;
 color: #FFF;
 border: 1px inset #36C;
 box-shadow: 0.2em 0.2em 0.4em #999;
 -moz-box-shadow: 0.2em 0.2em 0.4em #999; -webkit-box-shadow: 0.2em 0.2em 0.4em #999;
}

#content ul {
 padding-left: 0;
 margin-left: 1.2em;
}
#content ol {
 padding-left: 0;
 margin-left: 1.7em;
}
#content dt {
 font-weight: bold;
 margin-top: 0.5em;
}
#content li {
 margin: 0.2em 0em 0.2em 0.2em;
 padding-left: 0.5em;
}
#content acronym {
 border-bottom: 1px dashed #CCC;
 cursor: help;
}


#adv {
 position: absolute;
 top: 5em;
 right: 10px;
 width: 160px;
 color: #FFF
}

#footer {
 width: 100%;
 font-size: 80%;
 color: gray;
 border-top: 1px solid #99C;
 text-align: center;
}
#footer a {
 color: #69C;
}




/* Menu classes. This would be more elegant if IE were outlawed ;) */

#navigation {
 z-index: 100;
 position: absolute;
 top: 1em;
 left: 0.5em;
 width: 11em;
 overflow: visible;
}

#navigation ul {
 list-style-type: none;
 margin: 0;
 padding: 0;
}

#menuroot {
 width: 11em;
 text-align: right;
}

/* IE5/Mac hack below... override these main settings in other browsers */
#menuroot ul {
 position: absolute;
 top: 0;
 left: 9em;
 width: 16em;
 visibility: hidden;
 padding: 0.3em;
 text-align: left;
 border: 1px outset #9CF;
 background-color: #F0F8FF;
}
#menuroot ul ul {
 left: 14em;
 width: 11em;
}
/* \*/
#menuroot ul {
 left: 11.5em;
}
#menuroot ul ul {
 left: 17em;
}
/* */

#menuroot li {
 position: relative;
 width: 100%;
 padding: 0;
 margin: 0 0 1px 0;
 color: #036;
}

#menuroot li .subind {
 position: absolute;
 right: 0.5em;
 font-size: 0.8em;
 top: 0.3em;
}

#menuroot a {
 display: block;
 border-bottom: 1px solid #FFF;
 padding: 0.05em 1.5em 0.05em 0.2em;
 color: #036;
}
/* Holly Hack: Fix IE/Win. Hide from IE Mac \*/
* html #menuroot li {
 float: left;
 height: 1%;
}
* html #menuroot a {
 height: 1%;
}
/* End Hack */
#menuroot ul a {
 border-color: #F0F8FF;
}
#menuroot a.current {
 color: #399;
}
#menuroot a:hover {
 color: #399;
 border-color: #69C;
 background-color: #E0F0FF;
}
#menuroot a.highlighted {
 color: #399;
 border-color: #99C;
 background-color: #D0E8FF;
}
#menuroot a.highlighted .subind {
 display: none;
}
/* These next 2 are Safari hacks, it doesn't cleanly remove CSS via node.className = ''; */
#menuroot a.dimmed {
 background: transparent;
 border-color: #FFFFFF;
}
#menuroot ul a.dimmed {
 border-color: #F0F8FF;
}

#menulock {
 display: block;
 text-align: center;
 font-size: 0.8em;
 color: #66C;
 cursor: pointer;
}
#linktitle {
 margin-top: 1em;
 text-align: center;
 color: #999;
 font-size: 0.8em;
}

/* Non-IE menu enhancements...
html>body #menuroot ul {
 top: 1.55em;
 border-top: 3px solid #E8F0FF;
}
html>body #menuroot a.highlighted {
 width: 28em !important;
 text-align: center;
}
*/


/* Mobile */
@media all and (max-width: 720px) {

 #header #skipnav {
  float: right;
  display: inline;
 }
 #header #skipnav a {
  color: #FFF;
 }

 h1 {
  margin: 0.3em -0.5em;
 }

 #content {
  margin: 1em 0;
  border-left: none;
  padding: 1em 1em 1em 2em;
 }

 #navigation {
  position: relative;
  margin-bottom: 5em;
 }

 #menulock {
  display: none;
 }
}
