/*
 *jde, 23/07/17, Original Coding
 */
body {
    font: 1em Verdana, Geneva, sans-serif;
    padding: 0;
    margin-left: 1em;
    margin-right: 1em;
    color: Black;
    background-color: lightgrey;
    font-size: 1em;
    line-height: 1.5em;
}
div {
    padding: 0;
    margin: 0;
}
button {
    cursor: pointer;
}
.hidden {
    display: none;
}
#main {
    display: block;
    background-color: lightgray;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    max-width: 1414px;

}
#main > header {
    width: 90%;
    background-color: #115d99;
}
#main > footer {
    clear: both;
    position: relative;
    top: 0.5em;
    color: WhiteSmoke;
    background-color: #115d99;
    width: 90%;
    max-width: 1414px;
}
#main > #content {
    position: relative;
    top: 1em;
    width: 90%;
    height: 150px;
    background-color: white;
}
#logo {
    display: block;
    background-size: contain;
    background-repeat: no-repeat;
}
img {
    max-width: 100%;
}
aside {
    float: left;
    width: 25%;
    overflow: auto;
}
#contentRight {
    float: left;
    width: 75%;
}
/* Giving a background-color to the nav containers */
nav {
    margin: 0;
    padding: 0;
    background-color: #115d99;
}
footer nav ul{
    margin: 1em;
    padding: 1em;
    background-color: #115d99;
}
/* Removing padding, margin and "list-style" from the "ul",
 * and adding "position:relative" */
nav ul {
    /*float: right;*/
    padding: 0;
    margin: 0;
    list-style: none;
    position: relative;
}
/* Positioning the navigation items inline */
nav ul li {
    margin: 0;
    display: inline-block;
    float: left;
    background-color: red;
}
/* Styling the links */
nav a {
    display: block;
    padding: 5px;
    color: #FFF;
    font-size: .9em;
    text-decoration: none;
    line-height: 1.2em;
}
/* Background color change on Hover */
nav a:hover {
    background-color: lightgrey;
}
/* First Tier Dropdown */
nav ul ul li {
    width: 10em;
    float: none;
    display: list-item;
    position: relative;
}
/* Hide Dropdowns by Default
 * and giving it a position of absolute */
nav ul ul {
    display: none;
    position: absolute;
    /* has to be the same number as the "line-height" of "nav a" */
    top: 1.25em;
}
/* Display Dropdowns on Hover */
nav ul li:hover > ul {
    display: inherit;
}
/* Second, Third and more Tiers
 * We move the 2nd and 3rd etc tier dropdowns to the left
 * by the amount of the width of the first tier.
*/
nav ul ul ul li {
    position: relative;
    top: -5em;
    /* has to be the same number as the "width" of "nav ul ul li" */
    left: 10em;
}
/* Change ' +' in order to change the Dropdown symbol */
li > a:after {
    content: ' >';
}
li > a:only-child:after {
    content: '';
}
footer nav ul li a {
    float: left;
    display: inline-block;
    text-decoration: underline;
}


