/* Resets */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, sub, sup, tt, var, b, u, i, center, dl, dt, dd, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    font-family: 'Lato', Airal, sans-serif, serif;
}

* {
    outline: 0;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    display: block;
}

body {
    line-height: 1;
}

blockquote, q {
    quotes: none;
}

    blockquote:before, blockquote:after, q:before, q:after {
        content: '';
        content: none;
    }

table {
    border-collapse: collapse;
    border-spacing: 0;
}
/* Forms */
button, input, optgroup, select, textarea {
    color: inherit;
    font: inherit;
    margin: 0;
}

button {
    overflow: visible;
}

button, select {
    text-transform: none;
}

button, html input[type="button"], input[type="reset"], input[type="submit"] {
    -webkit-appearance: button;
    cursor: pointer;
}

    button[disabled], html input[disabled] {
        cursor: default;
    }

    button::-moz-focus-inner, input::-moz-focus-inner {
        border: 0;
        padding: 0;
    }

input {
    line-height: normal;
}

    input[type="checkbox"], input[type="radio"] {
        box-sizing: border-box;
        padding: 0;
    }

    input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button {
        height: auto;
    }

    input[type="search"] {
        -webkit-appearance: textfield;
        -moz-box-sizing: content-box;
        -webkit-box-sizing: content-box;
        box-sizing: content-box;
    }

        input[type="search"]::-webkit-search-cancel-button,
        input[type="search"]::-webkit-search-decoration {
            -webkit-appearance: none;
        }

legend {
    border: 0;
    padding: 0;
}

textarea {
    overflow: auto;
}

optgroup {
    font-weight: bold;
}

#block1, #block2 {
    display: none;
}

/* General */
* {
    box-sizing: border-box;
}

html {
    font-family: "Lato","Helvetica Neue","Helvetica",Helvetica,Arial,sans-serif;
}

html, body {
	margin: 0;
	padding: 0;
	height: 100%;
    font-size: 100%;
}

body {
    background: #FFFFFF;
    line-height: 1.42857143;
    color: #3d3d3d;
}

#wrapper {
	min-height: 100%;
	/*position: relative;*/
}

#container {
    border: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

#header {
    padding: 0px;
	margin: 0;
	width: 100%;
    height: 198px; /*Was 186px*/ 
    background: white;
}

#header-logo {
    /*max-height: 533px;*/
    max-width: 800px;
    margin: 0 auto;
    /*padding-bottom: 5px;
    padding-top: 5px;*/
    
}

#header-logo img {
    position: relative;
    width: 800px;
    margin: 0 auto 10px 0;
    display: block;

}

footer table { 
    border-top: solid;
    margin: 0 auto;
    font-size: small;
    width: 800px;
}

#footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    padding: 5px 0;
    height: 90px;
    background: #707275;
    font-size: 1em;
}
#footerContent {
     /*max-height: 533px;*/
max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
    #footerContent > p {
        color: #802f2d;
        margin-top: 25px;
        font-weight: 600;
        text-shadow: -1px 0px 0px rgba(40, 40, 40, .59);
    }

    #footer-img {
        width: 25%;
        display:block;
        margin: auto;
    }

#content {
    width: 100%;
    margin-top: 10px;
    padding-bottom: 80px; /* Height of the footer (102px + 5px*2 = 112px(top/bottom: padding of footer) elementmin-height: 100%; */
}
/* Links */
a {
    color: black !important;
    font-weight : bold;		

}
    a:hover {
        background-color: rgb(18, 109, 182) !important;
        text-decoration: underline !important;
        color: white !important;
    }

/* Menu */
.menu-wrap {
    width: 100%;
    height: 50px;
    box-shadow: none;
    margin-bottom: 30px;
    border-bottom: 1px solid #dfdfdf;
    border-top: 1px solid #dfdfdf;
}

.menu {
    font-size: 16px;
    /* Wrapper */
    text-align: center;
    max-width: 800px;
    /*margin-top: -9px;*/

}

    .menu .clearfix {
        height: 50px;
        margin: 0;
        padding: 0;
    }

    .clearfix > li > a.activeNav {
    
}

    .menu a {
        color: #777;
    }

    .menu a:active {

    }

    .menu > ul > li {
        float: none;
        margin-top: 0px;
    }

        .menu > ul > li > a {
            padding: 15px;
            line-height: 20px;
            display: inline-block;
            width: auto;
            text-align: center;
            padding-right: /*45px*/ 30px;
            padding-left: /*45px*/ 30px;
            margin: 0 10px;
            color: #777;
            margin: 0 /*auto*/ 30px;
            font-weight: bold;
        }

            .menu > ul > li > a.hovered {
                background-color: rgb(18, 109, 182) !important;
                border-radius: 3px;
                font-weight: bolder;
            }
            .menu > ul > li > a:hover {
                color: white;
                border-radius: 3px;
                font-weight: bolder;
                background-color: rgb(18, 109, 182) !important;
            }

.sub-menu, .sub-sub-menu {
    width: 235px;
    position:absolute;
    top: 100%;
    padding: 5px 0px !important;
    font-size: 14px;
    background: #FFF;
    background-clip: padding-box;
}

    .sub-menu li, .sub-sub-menu li {
        display: block;
        font-size: 16px;
        background: #FFF;
        color: #777;
        border: 1px solid #eee;
    }

        .sub-menu li a, .sub-sub-menu li a {
            padding: 8PX 15PX !important;
            display: block;
            color: #777;
        }

            .sub-menu li a:hover, .sub-sub-menu li a:hover {
                background: #802f2d;/*#ECEEED;*/
                color: #bc995d;/*#000;*/
            }



/* Content */
.page_collapsible:first-of-type {
    margin: 0;
}

.MAINCONTENTDIV > .SECTIONHEADERS,
.MAINCONTENTDIV > .SECTIONSUBHEADERS,
.MAINCONTENTDIV > div.ELEMENTS,
div.ELEMENTS {
    padding: 15px 20px !important;
}

.MAINCONTENTDIV {
    margin: 0 auto;
    max-width: 800px;
    background: #FFF;
    border: 1px solid #DDD;
    margin-bottom: 30px;
}

.SECTIONHEADERS {
    color: /*#222*/ black !important;
    background: #FFF;
    font-weight: 600;
    font-size: 20px;
}

.SECTIONSUBHEADERS {
    font-weight: 400;
    margin-bottom: 20px;
    display: inline-block;
}

.ELEMENTS > .SECTIONSUBHEADERS {
    margin-bottom: 20px;
}

.MAINCONTENTDIV > div.ELEMENTS {
    background: #FFF;
    padding
}



/* Forms */
input[type="button"],
input[type="submit"],
button,
.button {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    text-align: center;
    border: none;
    text-decoration: none;
    text-transform: uppercase;
    padding: 5px 20px;
    background: #9f9f9f;
    color: #FFF;
    border-radius: 3px;
    margin: 0.4em;
    min-width: 240px;
}

    input[type="button"]:hover,
    input[type="submit"]:hover,
    button:hover,
    .button:hover {
        background: #9f9f9f;
        color: #FFF;
    }

    input[type="button"]:focus,
    input[type="submit"]:focus,
    button:focus,
    .button:focus {
        outline: none;
    }

input,
textarea,
select {
    padding: 8px;
    border: 1px solid #DDD;
    background: #FFF;
    resize: none;
}

    input[type="text"],
    input[type="password"],
    input[type="email"],
    input[type="url"],
    textarea,
    select {
        font-size: 13px;
    }

        input[type="text"]:focus,
        input[type="password"]:focus,
        input[type="email"]:focus,
        input[type="url"]:focus,
        textarea:focus
        select:focus {
            border: 1px solid #EEE;
        }

textarea {
    height: 175px;
}



/* Tables */
.GRIDHEADERS {
    color: #222;
    background: #FFF;
    font-size: inherit;
    font-weight: 600;
    text-align: left;
    padding: 0;
}

div.ELEMENTS td {
    padding-bottom: 7px;
}

table.ELEMENTSGRID {
    margin-bottom: 30px;
    width: 100%;
}

    table.ELEMENTSGRID > tbody > tr {
        border: 1px solid #EEE;
    }

        table.ELEMENTSGRID > tbody > tr > td {
            padding: 0px !important;
        }

            table.ELEMENTSGRID > tbody > tr > td > table > tbody > tr > td {
                padding: 0 17px;
            }

.ROWALT {
    background: #ECEEED;
}

@media only screen and (max-width: 780px) {
           .menu > ul > li > a {
            padding-right: 35px;
            padding-left: 35px;
        }
           .MAINCONTENTDIV {
            width: 90%;
        }

}
@media only screen and (max-width: 680px) {
           .menu > ul > li > a {
            padding-right: 25px;
            padding-left: 25px;
        }
}

@media only screen and (max-width: 580px) {
           .menu > ul > li > a {
            padding-right: 15px;
            padding-left: 15px;
        }
}

@media only screen and (max-width: 495px) {
           .menu > ul > li > a {
            padding-right: 10px;
            padding-left: 10px;
        }
}

@media only screen and (max-width: 445px) {
           .menu > ul > li > a {
            padding-right: 5px;
            padding-left: 5px;
        }
}

@media only screen and (max-width: 395px) {
           .menu > ul > li > a {
             padding-right: 3px;
             padding-left: 3px;
        }
}

@media only screen and (max-width: 373px) {
           .menu > ul > li > a {
             display: none;
        }
}
		
p, .ELEMENTS > p {		
    margin : 1em 0;		
}		
