/* layoutstyles.css */

/* Universal style rule */
*{
  margin: 0;
  padding: 0;
  /* Temporary borders */
  /* border: dashed 1px #f00; */
}

body {
  background-color: #000;
  font-family: Georgia, Times New Roman, serif;
}

#wrapper{
  width: 40em;
  background-color: #dfffdf;
  /* Put 20px margin above the wrapper */
  /* Set right and left to auto for centering */
  border: solid 2px #ff0;
  margin: 20px auto;
}

/********** Major layout divisions **********/
#branding{
  /* For absolutely-positioned hyperlinks */
  position:relative;
}

/** branding division hyperlinks **/
#branding a{
  /* Postions are set in tags in layout.htm */
  position:absolute;
  text-decoration:none;
  color:#000;
  font-size:0.8em;
}

#branding a:link, #branding a:visited{
  color:#000;
}

#branding a:hover{
  color:#0f0;
}
#branding a:active{
  color:#1bb498;
}

/* Fixes the mysterious image gap */
#branding img{
  display:block;
}


/* Navbar division */
#navbar{
  background:#aaa url(images/navbak.jpg) repeat-x center;
  height:1.6em;
}

/* Remove bullets from ul in the navbar */
#navbar ul{
  list-style-type:none;
}

/* List items in the navbar */
#navbar li{
  float:left;
/* Required for drop-down menus */
  position:relative;
}

/* Applies to navbar links, unvisited and visited */
#navbar a,
#navbar a:link,
#navbar a:visited{
  text-decoration:none;
  font-family: Georgia, Times New Roman, Serif;
  font-size:80%;
  font-weight:bold;
  color:#ff0;
  background:#aaa url(images/navbak.jpg) repeat-x center;
  display:block;
  height:2em;
  width:12.42em;
  border-right: solid 1px #ddd;
  line-height:2em;
  text-align:center;
  outline-style:none;
}

/* Navbar hover, active, and current page links */
#navbar a:hover,
#navbar a:active,
#navbar li.selected a:link,
#navbar li.selected a:visited{
  background:#ddd url(images/navhover.jpg) repeat-x center;
  color:#ff0;
}

/* Drop-down menu styles */

/* Applies to drop-down menus in navbar */
#navbar li ul{
  position:absolute;
  z-index:100;
  visibility:hidden;
}

/* Make drop-down visible on navbar hover */
#navbar li:hover ul,
#navbar li:a:hover ul{ /* IE6 hack */
  visibility:visible;
  top:1.6em;
  left:0;
}

/* Applies to links on the drop-down menu */
#navbar li:hover ul li a,
#navbar li:a:hover ul li a{ /* IE6 hack */
  background:#ccc; /*Removes background image */
  color:#000;
  text-align:left;
  display:block;
  width:10em;
  padding:0 0 0 1em;
  height:auto;
}

/* Hover on drop-down menu links */
#navbar li:hover ul li a:hover,
#navbar li:a:hover ul li a:hover{ /* IE6 hack */

  background:#eee;
  color:#000;
}

/* IE6 hack applies to its table drop-down */
#navbar table{
  margin:-1px;
  border-collapse:collapse;
  position:absolute;
  top:0.5em;
  left:0;
  z-index:100;
}

#content{
  background-color:#fff;
  color:#000;
  padding:10px 20px;
  text-align:center;
}

/* Applies to paragraphs in the content division */
#content p{
  text-align:left;
  font-size: 1em;
  padding-bottom: .5em;
  
}

#content img{
  text-align:center;
}

/* Applies to all lists in the content division */
#content ul, #content ol{
  padding: 0px 0px 10px 40px;
  text-align:left;
}

#content ul li {
  text-indent: 2.0 em;
}


/* Styles h1, h2, and h3 style rules in the content division */
#content h1, #content h2, #content h3{
  font-family: Georgia, Times New Roman, serif;
  color:#000;
  font-weight:bold;
  font-style:italic;
  font-variant:small-caps;
  text-align:left;
}

/* Size h1 headings in the content division */
#content h1{
  font-size:1.5em;
}

/* Size h2 headings in the content division */
#content h2{
  font-size:1.25em;
}
/* Size h3 headings in the content division */
#content h3{
  font-size:1em;
  font-style:normal;
}

#content blockquote{
  text-align: left;
  text-indent: 1.25em;
}

/********** Footer division styles **********/
#footer{
  font-size:0.8em;
  font-weight: bold;
  padding: 8px;
  color:#f00;
  margin: .6em auto;
  position:relative;
}

#footer a:link,
#footer a:visited{
  /* No underline on links */
  text-decoration:none;
  color:#030;
  position:absolute;
  
}

#footer a:hover,
#footer a:active{
  color:#CE8C02;
  position:absolute;

}

.smallfont{
  font-size:.7em;
}


