/* layoutstyles.css */

/* Universal style rule */
*{
  margin: 0;
  padding: 0;
  /* Temporary borders */
  /* border: dashed 1px #f00; */
}

body {
  background-color:#184b94;
  background-image: url(background/chips12.jpg);
}

#wrapper{
  width: 45em;
  background-color: #c0c0ff;
  /* Put 20px margin above the wrapper */
  /* Set right and left to auto for centering */
  margin: 20px auto;
  position:relative;
} 


/********** Major layout divisions **********/
#branding{
  /* For absolutely-positioned hyperlinks */
  position:relative;
} 

/********** Branding division styles **********/
#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;
}

/********** Leftcolumn division styles **********/
#leftcolumn{
  /* Remember, content and navbar left 
  margins must match this width */
  width:8em;
  /* Center images and text inside this div */
  text-align:center;
  /* For absolutely-positioned leftcolumn */
  position:absolute;
  top:5em; /* Same as branding div height */
  left:0; 
}

#leftcolumn h3{
  text-align:center;
}
/* Applies to paragraphs and lists in the leftcolumn division */
#leftcolumn p,
#leftcolumn .leftcollist{
  border:solid 2px #117b6f;
  padding:8px;
  width:80%;
  font-size:0.8em;
  margin:1em auto;
  text-align:left;
}

/* Unordered lists in left column */
#leftcolumn ul{
  margin-left:1em;
 
}
#leftcolumn li{
   border:solid 1px 1px 0px 1px #117b6f;
   list-style-type:none;
   text-align:center;
   padding:.5em;
}
/* Applies to images in the leftcolumn div */
#leftcolumn img{
  width:60%;
  padding:2em 2em 0;
  
}
/********** Navbar division styles **********/
#navbar{
  background:#aaa url(images/navbak.jpg) repeat-x center; 
  height:1.6em; 
  /* For absolutely-positioned navbar */
  position:absolute;
  top:5em; /* Same as branding div height */
  left:8em; /* Same as leftcolumn width */
  width:37em; /* Layout width minus leftcolumn width */
}

/* 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:Verdana, Geneva, Arial, Sans-Serif;
  font-size:80%;
  color:#000;
  background:#aaa url(images/navbak.jpg) repeat-x center; 
  display:block;
  height:2em;
  width:6em;
  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:#000;
}

/* Drop-down menu styles */
/* Applies to drop-down menus in navbar */
#navbar li ul{
  position:absolute;
  z-index:100;
  visibility:hidden;
  border:solid 1px #aaa;
  border-bottom: solid 2px #999;
  border-right: solid 2px #999;
}

/* Make drop-down visible on navbar hover */
#navbar li:hover ul,
#navbar li a:hover ul{ /* IE6 hack */
  visibility:visible;
  top:1.55em; 
  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: #aaa; 
  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 division styles **********/
#content{
  /* Left margin must match leftcolumn width */
  margin-left:8em;
  background-color:#fff;
  color:#000;
  padding:2em 10px 10px 10px;
}

/* Applies to paragraphs in the content division */
#content p{
  line-height:1.5em;
}

/* Applies to all lists in the content division */
#content ul, #content ol{
  padding:10px 0 10px 40px;
}

/* Styles h1, h2, and h3 style rules in the content division */
#content h1, #content h2, #content h3{
  font-family: Charcoal, Impact, sans-serif;
  color:#000;
  font-weight:normal;
  font-style:bold;
  font-variant:small-caps;
  letter-spacing:0.08em;
}

/* Size h1 headings in the content division */
#content h1{
  font-size:2em;
  text-align:center;
}

/* Size h2 headings in the content division */
#content h2{
  font-size:1.5em;
  text-align:center;
}
/* Size h3 headings in the content division */
#content h3{
  font-size:1.25em;
  font-style:normal;
}

/* Style for table borders 
#content table{
  border-collapse: collapse;
  border: solid 2px #000;
}  


/* General style for header and data cells */
#content td, #content th {
  border: solid 1px #000;
  padding: 0.25em .25em .5em .25em;
  font-family:Verdana, Geneva, Arial, Sans-Serif;
  font-size:80%;
  text-align:center;
}
/* Additional style for table header cells */
#content th {
  background-color: #ddd;
  }
#content img{
  
  float:left;
  padding:0.25em .5em .5em .25em;
  text-align:center;
}



/********** Footer division styles **********/
#footer{
  background-color:#fff;
  border-top: solid 1px #117b6f;
  padding:0.5em;
  text-align:center;
}

#footer a:link,
#footer a:visited{
  /* No underline on links */
  text-decoration:none;
}

#footer a:hover,
#footer a:active{
  color:#0c0;
  border:dotted 1px #333;
}

/*************** General styles ************/
.hotkey{
  text-decoration:underline;
}

/* Acronyms and abbreviations */
  acronym,abbr{
  border-bottom:dotted 1px #333;
  cursor:help;
}

/*********** Printer-Friendly Styles **********/
@media print{
/* Start printer-friendly styles */

/* Make wrapper the full page width */
#wrapper{
  width:100%;
}

/* Hide leftcolumn, navbar,and footer */
#leftcolumn,
#navbar,
#footer{
  display:none;
}

/* Get rid of content div margins and 
padding. Use a different font for print */
#content{
  margin:0;
  padding:0;
  font-family:'Century Schoolbook', Times, Serif;
  font-size:1em;
}
/*End printer-friendly styles */
}

/* Applies to the image inside a captionpic div */
div.captionpic img{
   width:80%;
   border:none;
} 

div.newsletterpic img{
  float:right; 
  margin:20em;
  padding:20em; 
  text-align:center;
   width:20%;
}
div.tallthinpic img{
  float:left; 
  margin:20em;
  padding:20em;
  text-align:center;
  width:20%
}