/* === Typography === */
body, h1, h2, h3, h4, h5, p, span {
    font-size: 14px;
    font-family: Arial;
    color: #000000;
}

h1 { font-size: 26px; }
h2 { font-size: 24px; }
h3 {  }
h4 { font-size: 16px; }
h5 {  }
p { font-size: 14px; }
a, a:visited {
    color: #000000;
    text-decoration: underline;
}
a:hover, a:active {
    color: #2A2A2A;
}
#navigation li a,
#navigation li a:visited {
    color: #000;
    font-size: 20px;
    text-decoration: none;
}
#navigation li a:hover,
#navigation li a:active {
    /*color:#FFFFFF;*/
}
#footer h4, #footer p { color: #FFFFFF; }
#footer a, #footer a:visited { color: #FFFFFF; text-decoration: none; }
#footer a:hover, #footer a:active { color: #FFFFFF; text-decoration: underline; }

/* === LAYOUT === */
body {
    margin: 0px;
    background-color: #2A2A2A;
}
h1 { border-bottom: 2px solid #D3D3D3; text-align: center; }
h4 { border-bottom: solid 1px #D3D3D3; }
#main { background-color: #EEEEEE; }
#main > div {
    margin: 0 auto;
    padding: 13px 20px 106px;
    background-color:#FFFFFF;
}
.container {
    box-sizing: border-box;
    overflow: hidden;
    width:835px;
}
.container::after {
    content: " ";
    clear: both;
    display: block;
    width: 0;
}
#navigation {
    position: relative;
    z-index: 100;
    width:100%;
    min-height: 80px;
    background-color: #D3D3D3;
    box-shadow: 0px 1px 8px #000000;
}
#navigation > div { margin:0 auto; overflow: hidden; }
#navigation .nav-logo {
    float: left;
    height: 70px;
    padding-top: 5px;
}
#navigation ul {
    float: right;
    width: 405px;
    height: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}
#navigation li {
    float: left;
    width: 33%;
    height: 100%;
    text-align:center;
	border-right:1px solid #9F9F9F;
}
#navigation li:last-child {	border-right: none; }
#navigation li a,
#navigation li a:visited {
    padding: 28px 10px;
    display:block;
}
#navigation li:hover { background-color: rgba(42,42,42,0.1); } /*#2A2A2A*/

/* === FOOTER === */
#footer {
    background-color: #2A2A2A; /*#eeeeee grey | #182F3A dark blue */
    border-top: 4px solid #D3D3D3;
    padding-bottom: 11px;
}

#footer ul {
    margin: 0 auto;
    padding: 0px;
 }
#footer ul li {
    display: block;
    float: left;
    margin: 7px 24px;
    min-width: 230px;
}
#footer p { margin: 7px 0; }

/* === GENERAL === */
.center { text-align: center; }
.content-width { max-width:900px; min-width:700px; }
a.embedded-link { font-weight: bold; font-style: italic; text-decoration: none; }
.instruct { color: #939393; }
.no-margin,
.no-margin p { margin: 0; }
.smaller { font-size: 0.9em; }
.underline { text-decoration:underline; }

.clearfix { clear:both; }
.contain { overflow: hidden; }
.contain::after { content: " "; clear: both; display: block; width: 0; }

/* --- SMALL SCREENS --- */
@media only screen and (max-width: 970px) {
    .container { width: 87%; }
}
/* --- MOBILE SCREENS --- */
@media only screen and (max-width: 712px) {
    /* === LAYOUT === */
    .container { width: 100%; }
    /* === HEADER === */
    #navigation .nav-logo {
        float: none;
        display: block;
        margin: 0 auto;
    }
    #navigation ul {
        float: none;
        width: 100%;
    }
    #navigation ul li {
        float: none;
        text-align: center;
        width :100%;
        border: none;
    }
}
