/* THIS IS A STYLESHEET LAYOUT */

body {
    color: #333;
    font-size: 100%;
    background: #f1eee8;
    font-family: Verdana, 'Bitstream Vera Sans', sans-serif;
}

p, ul, h3 {
    font-size: 0.8125em;
    line-height: 1.6;
    max-width: 50em;
    margin-left: 4em;
    margin-top: 0em;
    margin-bottom:0.8125em;
}

h1 {
    color: #7a7a69;
    font-weight: bold;
    font-size: 1.1875em;
    margin-bottom: 1.125em;
    margin-top: 0.5em;
    display: block;
    max-width: 34em;
    text-align: center;
}
/*h1 {color: #7a7a69; font-weight: bold; font-size: 1.1875em; margin-bottom: 1em; margin-top: 0.2em; margin-left:14em; } */

h2 {
    color: #554;
    font-weight: bold;
    font-size: 1em;
    margin-left: 2.4em;
    margin-bottom: 0.625em;
    margin-top: 1.25em;
}

h3 {
    color: #505050;
    font-weight: bold;
    margin-bottom: 0em;
}
h3 + h3 {
    margin-top: 1.25em;
}

h2 > em {
    font-weight: normal;
    font-size: 0.842105em;
    padding-left: 0.625em;
}

h3 > em {
    font-weight: normal;
    padding-left: 0.375em;
}

h3 a:link, h3 a:visited {
    border-bottom:1px solid #bbbba0;
    padding-bottom: 0.125em;
}

h3 a:hover {border-bottom: none;}

a:link {
    color: #466991;
    text-decoration: none;
    border-bottom:1px dotted #997;
    padding-bottom: 0.125em;
}
a:visited {
    color: #95506c;
    text-decoration: none;
    border-bottom:1px dotted #997;
    padding-bottom: 0.125em;
}
a:hover {
    text-decoration: none;
    border-bottom: none;
}
a:active {
    color: #018;
    text-decoration: none;
    outline: none;
}

#logo a {
    font-family: monospace;
    font-size: 1.375em;
    font-weight: bold;
    text-decoration: none;
    border-bottom: none;
    padding-right: 0.2em;
    padding-left: 0.2em;
}
#logo a:link {
    color: #887;
    text-decoration: none;
}
#logo a:visited {
    color: #887;
    text-decoration: none;
}
#logo a:hover {
    color: #887;
    text-decoration: none;
    outline:solid 1px #bbbba0;
}
#logo a:active {
    color: #9af;
    text-decoration: none;
    outline: none;
}

#mainmenu {white-space: nowrap;}
#mainmenu a {
    font-family: monospace;
    font-size: 1.25em;
    text-decoration: none;
    border-bottom: none;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    white-space: nowrap;
    padding-top: 0.1em;
    padding-left: 0.3em;
    padding-right: 0.3em;
}
#mainmenu a:link {
    font-weight: normal;
    color: #33f;
}
#mainmenu a:visited {
    font-weight: normal;
    color: #33f;
}
#mainmenu a:hover {
    font-weight: normal;
    outline: solid 1px #bbbba0;
    text-decoration: none;
    padding-bottom: 0em;
}
#mainmenu a:active {
    font-weight: bold;
    color: #88F;
    text-decoration: none;
}

ul#submenu {
    font-family: monospace;
    font-size: 1.125em;
    list-style-type: none;
    text-align:left;
    margin-left: -1.5em;
    margin-right: -0.5em;
    margin-top: -0.5em;
    padding-right: 1em;
    border-right: 1px solid #bbbba0;
}
#submenu a {
    padding: 0.1em;
    padding-left: 0.3em;
    padding-right: 0.3em;
    border-bottom: none;
}
#submenu a:link {
    font-weight: normal;
    color: #33F;
    text-decoration: none;
}
#submenu a:visited {
    font-weight: normal;
    color: #33F;
    text-decoration: none;
    list-style-type: none;
}
#submenu a:hover {
    font-weight: normal;
    outline:solid 1px #bbbba0;
    text-decoration: none;
}
#submenu a:active {
    font-weight: bold;
    color: #88F;
    text-decoration: none;
    list-style-type: none;
}

img {display: block;
    margin-left: auto;
    margin-right: auto;
    padding-right: 3em;
    margin-top: 1.9375em;
    margin-bottom: 2em;
}
img + br + em {
    display: block;
    margin-left: auto;
    margin-right: auto;
    padding-right: 3em;
    text-align: center;
    margin-top: -3.0625em;
    margin-bottom: 1.125em;
}

/*#centered {position: absolute; width: 100%; right: 11%; overflow: visible; text-align: center;}*/
/*#centered {width: 70%; text-align: center;}*/
/*#copy {font-size: 0.6875em; color: #888; text-decoration: none; border-bottom: none; }*/

#foot {
    font-size: 0.6875em;
    color: #888;
    margin-top: 2em;
    margin-left: 0em;
    text-decoration: none;
    border-bottom: none;
    display: block;
    max-width: 59em;
    text-align: center;
}

body#about a#aboutnav,
body#fields a#fieldsnav,
body[id|=fields] a#fieldsnav,
body#projects a#projectsnav,
body[id|=projects] a#projectsnav,
body#contact a#contactnav {
    color: #FFF;
    font-weight: bold;
    outline: none;
    background: #6abf50 /* was 50dc30, 33cc33 50bb38 30bc10 30cc10 5bc03e */
}

body#fields-light a#lightnav,
body#fields-sound a#soundnav,
body#fields-energy a#energynav,
body#fields-material a#matnav,
body#fields-tools a#toolsnav,
body#fields-mfg a#mfgnav,
body#fields-books a#booknav,
body#fields-edu a#edunav,
body#fields-comp a#compnav {
    color: #737360;
    font-weight: bold;
    background: #ebead8;
    outline:solid 1px #999980
}

/* THIS IS THE END OF THE LAYOUT */
