/*
/* 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: #FFcc99;
}
h3 {
    font-size: 2em;
    line-height: 2.1em;
    text-align: center;
    color: #FFcc99;
}
h3 a {
    color: #FFcc99;
}
a {
    color: #FFcc99;
}
p {
    text-align: center;
}

#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;
}
footer nav ul li a {
    float: left;
    display: inline-block;
    text-decoration: underline;
}
/*
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;
}
*/
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;
}
/* Giving a background-color to the nav container. */
nav {
    margin: 0;
    padding: 0;
    background-color: #115d99;
}
/* 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 {
    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;
}
/* 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;
}
/* Fisrt Tier Dropdown */
nav ul ul li {
    width: 10em;
    float: none;
    display: list-item;
    position: relative;
}
/* 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: '';
}
button{
    background-color: white;
    display: inline-block;
    width: 100%;
}
/* Background color change on Hover */
button:hover {
    background-color: lightgrey;
}
#SideNavigation li {
    list-style: none;
}
#SideNavigation li a {
    display: inline;
    width: 50%;
    float: left;
    height: 2.2em;
    line-height: 2.2em;
    padding-left: 0.8em;
    padding-right: 0.8em;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    border-bottom-left-radius: 8px;
    border-bottom-left-radius: 8px;
    background-color: cornflowerblue;
}

/* jde, 06/08/17, added to show and hide sections*/
.open .item-body {
    display: inline-block;
}

.closed .item-body {
    display: none;
}

/* jde, 12/08/17, copied from help.sys */
.al0 {
    font-weight: bold; border-bottom: 1px solid black;
    font-size: 75%;
    color: indigo;
}

.al1 {
    font-size: 80%;
    color: blue;
}

.al2 {
    font-weight: bold; border-bottom: 1px solid black;
    font-size: 90%;
    color: green;
}

.al3 {
    font-size: 100%;
    color: #e000ec;
}

.al4 {
    font-size: 120%;
    color: orange;
}

.al5 {
    font-weight: bold; border-bottom: 1px solid black;
    font-size: 145%;
    color: red;
}

/* jde 21/07/17*/
@media all and (max-width: 768px) {
    #content {
        width: 90%;
        margin-bottom: 1em;
    }
    aside {
        width: 100%;
        height: 250px;
        overflow: auto;
        float: left;
        background-color: cornflowerblue;
    }
    button{
        display: inline;
        width: 50%;
        float: left;
        height: 2.2em;
        line-height: 2.2em;
        padding-left: 0.8em;
        padding-right: 0.8em;
        border-top-left-radius: 8px;
        border-top-right-radius: 8px;
        border-bottom-left-radius: 8px;
        border-bottom-left-radius: 8px;
        background-color: cornflowerblue;
/*
        background-image: -webkit-linear-gradient(#115d00, #115dff);
        background-image: -moz-linear-gradient(#115d00, #115dff);
        background-image: -o-linear-gradient(#115d00, #115dff);
        background-image: -ms-linear-gradient(#115d00, #115dff);
        background-image: -chrome-linear-gradient(#115d00, #115dff);
        background-image: linear-gradient(#115d00, #115dff);
*/
    }

    #contentRight {
        width: 100%;
        height: auto;
        float: left;
        background-color: lavenderblush;
    }

}

/* jde 21/07/17*/
@media all and (min-width: 769px) {
    #content {
        width: 90%;
        margin-bottom: 1em;
    }
    button{
        display: inline;
        width: 25%;
        float: left;
        height: 2.2em;
        line-height: 2.2em;
        padding-left: 0.8em;
        padding-right: 0.8em;
        border-top-left-radius: 8px;
        border-top-right-radius: 8px;
        border-bottom-left-radius: 8px;
        border-bottom-left-radius: 8px;
        background-color: cornflowerblue;
        /*
                background-image: -webkit-linear-gradient(#115d00, #115dff);
                background-image: -moz-linear-gradient(#115d00, #115dff);
                background-image: -o-linear-gradient(#115d00, #115dff);
                background-image: -ms-linear-gradient(#115d00, #115dff);
                background-image: -chrome-linear-gradient(#115d00, #115dff);
                background-image: linear-gradient(#115d00, #115dff);
        */
    }
    #SideNavigation button{
        background-color: cornflowerblue;
        display: inline-block;
        width: 100%;
    }
    aside {
        width: 25%;
        float: left;
        height: 450px;
        background-color: white;
        overflow: auto;
    }
    #contentRight {
        width: 75%;
        height: 450px;
        float: left;
        background-color: white;
    }
}

/* jde 26/07/17*/
@media all and (min-height: 501px) {
    #content {
        width: 90%;
        margin-bottom: 1em;
        height: 520px;
    }
    button{
        display: inline;
        width: 25%;
        float: left;
        height: 2.2em;
        line-height: 2.2em;
        padding-left: 0.8em;
        padding-right: 0.8em;
        border-top-left-radius: 8px;
        border-top-right-radius: 8px;
        border-bottom-left-radius: 8px;
        border-bottom-left-radius: 8px;
        background-color: cornflowerblue;
        /*
                background-image: -webkit-linear-gradient(#115d00, #115dff);
                background-image: -moz-linear-gradient(#115d00, #115dff);
                background-image: -o-linear-gradient(#115d00, #115dff);
                background-image: -ms-linear-gradient(#115d00, #115dff);
                background-image: -chrome-linear-gradient(#115d00, #115dff);
                background-image: linear-gradient(#115d00, #115dff);
        */
    }
    #SideNavigation button{
        background-color: cornflowerblue;
        display: inline-block;
        width: 100%;
    }
    aside {
        width: 25%;
        height: 500px;
        float: left;
        background-color: white;
        overflow: auto;
    }
    #contentRight {
        width: 75%;
        height: 500px;
        float: left;
        background-color: white;
        overflow: auto;
    }
    #mainMiddleContentBody img{
        max-width: 100%;
    }
}
