/*
 * study.css
 * Cascading Style Sheet for the Latin & Greek Study Groups
 * Kirk Lougheed, November 5, 2005
 */

/* Note about the '* html' hack:
 * '*' is the universal selector.
 * IE interprets it as 'html' selector, i.e. aims CSS stuff at IE only.
 * Compliant browsers say it matches no element ('html' is root)
 * Will fail in IE7 in strict mode, okay in quirks mode.
 */


body {
   margin: 0;
   border: 0;
   padding: 0;
   height: 100%;
   max-height: 100%;
   overflow: hidden;
}

body > #nav {          /* hide these #nav values from IE 5 & 6 */
   position: fixed;    /* IE doesn't grok fixed positions */
}

body > #header {
   position: fixed;    /* IE doesn't grok fixed positions */
}

#header {
   position: absolute;
   top: 0;
   left: 11em;
   width: 100%;
   overflow: hidden;
   height: 2em;
   padding-top: 0.5em;
   padding-bottom: 0.5em;
   padding-left: 1em;
   background-color:  #98fb98;   /* Unicorn green */
}

#title {
    font-family: Georgia;
    font-size: 22pt;
    color: green;
}

#search {
    display:inline-block;
    padding-top:0.5em;
}

.quotation {
   font-size: 90%;
   padding-top: 2em;
   padding-bottom: 1em;
   text-align: left;
   color: #555;
}

#footer {
   text-align: left;
   font-size: 70%;
   padding-top: 2em;
   line-height: 1.3em;
}

#footernav li {
   display: inline;
   padding-right: 0.4em;
}

#footernav li a {
   color: black;
}


#content {
    position: fixed;
    top: 3em;         /* size of header */
    left: 0;
    margin-left: 11em;
    bottom: 0;       /* size of footer */
    right: 0;         /* no right margin */
    overflow: auto;
    overflow-y: auto;
    overflow-x: hidden;
    padding-left: 1em;
    padding-bottom: 1em;
    text-align: left;
    font-family: Verdana, Georgia, serif;
    background-color:  white;
    border-top: 1px solid green;
}


* html body {    /* hack to fix faulty box problem */
   padding:  3em  0  0  0;
}

* html #header { /* ditto */
   height: 3em;
}

* html #content {
   height: 100%;
   width: auto;     /* width:100% loses vertical scroll when hovering on IE */
		    /* width:auto loses vertical scroll  entirely on long x */
}

#content a:hover {
    background-color:  green;   /* matched a hoovered navigation tab */
    color: white;
    text-decoration: none;
    padding: 1px 0;
}

#content p, #content ul {
    font-size: 90%;
    max-width: 30em;               /* all non-IE browsers max out at 30em */
    width: expression("30em");     /* IE >= 5 is locked into 30em */
    line-height: 1.4em;
}

#content ul li ul {        /* handle second level lists.  Don't shrink again */
   font-size: 100%;
   line-height: 1.4em;
}

#content td p {
    font-size: 85%;
    line-height: 1.4em;
    max-width: 20em;
    width: expression("20em");
}

#content tt {
   font-family: Monaco, "Courier New", monospace;
}

.top {
    font-size: 75%;
}

#content h1, h2, h3, h4, h5, h6 {
    color: green;
    font-family: Helvetica, sans-serif
}

#content h2 {
    padding-top: 1em;
}

#content h4 {
    margin-top: 2em;
}

#content tt {
    font-size: 110%;
}



.unicode {
    font-family:"Palatino Linotype", "Arial Unicode MS",
                 "Lucida Grande", Gentium, sans-serif;
}

a.silly {
    text-decoration: none;
    color: maroon;
}

#content a.silly:hover {
    background-color:white;
    color: maroon;
}

#nav {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    padding-top: 1em;
    padding-left: 1em;
    padding-right: 1em;
    border-right: 1px solid green;
    z-index: 10;
}

#nav img {                    /* the girl with the stylus */
    border-style: none;
    padding-left:1em;
}

#nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    width: 9em;
    border-bottom: 1px solid green;
}

#nav ul li {
     position: relative;
}

#nav li ul {
    position: absolute;
    left: 9em;
    top: 0;
    display: none;
}

#nav li a.submenu {
    background:url("/images/sub.gif") right no-repeat;
    background-color:  #98fb98;   /* Unicorn green */
}


#nav ul li a, #nav ul li ul li a {
    display: block;
    text-decoration: none;
    font-size: 80%;
    font-family: sans-serif;
    color: black;
    background-color:  #98fb98;   /* Unicorn green */
    padding: 5px;
    border: 1px solid green;
    border-bottom: 0;
}

/* Stack menus nicely in IE */
/* http://www.alistapart.com/articles/horizdropdowns */
/* Also fix IE 5.01 jumping menus. Hide from IE Mac \*/
* html #nav ul li { float: left; height: 1%; }
* html #nav ul li a { height: 1%; }
/* End */

#nav ul li a:hover {
    color: white;
    background-color: green;
}
		
#nav li ul li a {
    padding: 2px 5px;
}
		
#nav li:hover ul {
    display: block;
}


ul#navmenu {
    margin-top: 1em;
}

#langlist li {
    margin-bottom: 1.5em;
}
