/*
/* jde, 21/07/17, Original coding
/* CSS Document */

body {
    background: lightgrey;
    font-size: 1em;
    line-height: 1em;
    color: #1a4363;
    margin: 0;
    padding: 0;
    word-wrap: break-word !important;
    font-family: 'Open Sans', sans-serif;
}

#logo {
    display: block;
    background-size: contain;
    background-repeat: no-repeat;
}

h1 {
    font-size: 4em;
    text-align: center;
    color: #FFF;
}

h3 {
    font-size: 2em;
    line-height: 2.1em;
    text-align: center;
    color: #FFF;
}

h3 a {
    color: #FFF;
}

a {
    color: #FFF;
}

p {
    text-align: center;
}

.toggle,
[id^=drop] {
    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;
    padding: 0.5em;
    max-width: 1414px;
}

/* jde 21/07/17*/
header {
    width: 90%;
    margin: 0 auto;
}

#content {
    width: 90%;
    margin: 0 auto;
    background-color: white;
}

aside {
    width: 25%;
    float: left;
    height: 450px;
    background-color: white;
    overflow: auto;
}

#contentRight {
    width: 75%;
    height: 450px;
    float: left;
    background-color: white;
}

footer {
    width: 90%;
    margin: 0 auto;
}

.clear {
    float: none;
    clear: both;
}

img {
    max-width: 100%;
}

#mainMiddleContentBody img {
    max-height: 400px;
}

.footerImage {
    position: relative;
    display: block;
    float: right;
    width: 12.5%;
    padding-bottom: 12.5%;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
}

#footer footer {
    margin: 30px;
    padding-top: 200px;
    background-color: darkslategray;
}

/* Giving a background-color to the nav containers * /
nav {
    margin: 0;
    padding: 0;
    background-color: #115d99;
}
*/
footer nav ul{
    margin: 30px;
    padding: 60px;
    background-color: black;
}

/*
/* Since we'll have the "ul li" "float:left"
 * we need to add a clear after the container. * /

nav:after {
    content: "";
    display: table;
    clear: both;
}

/* 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: #115d99;
}

/* 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: '';
}

nav ul li:last-child {
    text-align: right;
}

nav ul li:first-child {
    text-align: left;
}

nav ul li:nth-child(even) a {
    color: orange;
}

footer nav ul li a {
    float: left;
    display: inline-block;
    text-decoration: underline;
}

*/
