/* Master CSS for Crystal Lattice Pages (http://cst-www.nrl.navy.mil/lattice/) */
/* Located at http://cst-www.nrl.navy.mil/lattice/latstyle.css */
/* Created:  5 Jan 2003 */
/* Last Modification: 12 Jan 2003 */
/* We'll try to keep this validated */

body {color: black;
      background-color: white;
      margin: 0;
      padding: 0;
      height: 100%;
     }


/* Our Standard Header */

h1 {color: red;
    background-color: white;
    text-align: center;
    font-size: 250% ;
/*    font-size: 30pt; */
/*    font-size: xx-large; */
    font-family: sans-serif;
/*    font-family: helvetica; */
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    line-height: normal;
   }

h2 {text-align: center;
    font-size: x-large;
    font-weight: bold;}

h2.left {text-align: left;
    font-size: x-large;
    font-weight: bold;
    color: red;
    background-color: white;
}

/* Used for "Crystal Lattice Structure" header on each page */

td.head {font-size: x-large;
         text-align: left;
	}

/* Used for small font sizes, e.g., Creation/Revision dates */

td.ref {font-size: x-small;}

/* Overlines the characters in the text */

span.ov {text-decoration: overline}

/* Underlines the characters in the text */

span.ul {text-decoration: underline}

/* Red highlights: */

span.red {color: red;
          background-color:white}

/* Centered paragraph */

p.center {text-align: center}

/* Default image location */

img {vertical-align: top}

/* Default equations in a table */

tr.eq {text-align: center;
       vertical-align: top
      }

/* When we want things in the middle of the table: */

tr.mid {text-align: center;
       vertical-align: middle
      }

tr.bot {text-align: center;
       vertical-align: bottom
      }

/* Make definitions bold: */

dt {color: black;
   background-color: white;
   font-family: serif;
   font-style: normal;
   font-weight: bold;
   font-variant: normal;
   line-height: normal;
   padding-bottom: 1em;
  }

dd {padding-bottom: 1em}


/* Try increasing spacing between bullets */
/* 0.25em = 1/4 of font height */

li {padding-bottom: 0.25em}

/* Used to size that bar figure */

img.bar {width: 90%;
	 height: 0.5em}

/* Things used for the Navigation Bar: */

    /* Swiped from http://glish.com/css/9.asp,
       http://webdesign.about.com/library/layouts/bl_2columns.htm,
       and http://www.wdlv.com/Authoring/HTML/4/Tags/hr.html
    */

p.cent {text-align: center;
        margin-bottom: -10%;
       }

p.div {text-align: center;
       background-color: #bbeeff;
       color: black;
       font-family: serif;
       font-style: italic;
       margin-bottom: -10%;
      }


/* Navigation System With Drop-Down Menus */

.nav {
	margin-top: 5pt;
	padding-left: 10px;
	padding-right: 10px;
	text-align: center;
	font-family: sans-serif;

}

.nav p {
	text-align: left;
}

.nav img.lockleft {
	position: absolute;
	top: 3em;
	left: 10px; }

.nav img.lockright {
	position: absolute;
	top: 3em;
	right: 10px; }

.nav a {
	display: block;
	width: 10em;
	text-decoration: none;
	color: #000000;
}

.nav a:hover {
	color : #ff0000;
	background: #fed638;
	text-decoration: underline;
	font-weight: bold;
}

.nav ul {
        position: absolute;
/*	top: 2em; */
	top: 3em;
/*	left: 60px; */
	list-style: none;
/*	padding: 0px; */
/*	padding-top: 0px;
	padding-bottom: 0px;
	padding-left: 60px;
	padding-right: 60px;
	margin-left: auto;
	margin-right: auto; */
	padding: 0;
	margin-top: 0;
	margin-bottom: 0;
	margin-left: 60px;
	margin-right: 60px;
	text-align: center;
}

.nav li {
	float: left;
	width: 10em;
	border-style: solid;
	border-top-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 1px;
	border-right-width: 1px;
	margin: 0;
}

.nav li:hover {
	background: #fed638;
}

.nav li ul {
	position: absolute;
	top: 1.5em;	
	width: 10em;
	padding: 0;
	margin: 0;
	background: #fed638;
	left: -999em;
}

.nav li:hover ul {
	left: auto;
	border-style: solid;
	border-top-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 1px;
	border-right-width: 1px;
}

.nav li:hover ul li {
	left: auto;
	border-style: solid;
	border-top-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 1px;
	border-right-width: 1px;
}


    .crystalpage {
	clear: both;
	text-align: left;
	padding-top: 5em;
	padding-bottom: 3em;
	margin-left: 5pt;
	margin-right: 5pt;
       }

