﻿

*, *::before, *::after {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
}
*, *::before, *::after {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
}
html, body
{
    width:100%;
    margin:0;
    padding:0;
}
html, body, form.mainform
{
    height:100%;
}
.wrapper
{
    min-height: 100%;
    margin: 0 0 -95px;
}

body 
{
    font-size: 14px;
    background-color: #ffffff;
    color: #333;
    font-family: Verdana, Geneva, sans-serif;
    line-height:1.428571429;
}

h1, h2, h3, h4
{
    font-family: Georgia, Times, "Times New Roman", serif;
    font-style:normal;
    font-variant:normal;
    font-weight:500;
}

h1
{
    font-size:32px;
    margin:0;
    line-height:1.1;
}

h2
{
    font-size:24px;
    margin:20px 0 0;
}
h2.subsection
{
    margin-top:30px;
}

h3
{
    font-size:20px;
    margin:10px 0;
}

h4
{
    font-size:18px;
    margin:10px 0;
}

p
{
    margin: 10px 0;
    line-height:1.35;
}


/* Hidden */
#accesslinks, .skiplink
{
    display:none;
}

.sr-only
{
    overflow: hidden;
    clip: rect(0,0,0,0);
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
}

/* Links */
a:link, a:visited
{
    color: #3360b7;
    text-decoration:none;
}
a:hover, a:active
{
    color: #23527c;
    text-decoration: underline;
}


/* Css Button */
.cssbutton
{
    background-color: #008080;
    display:inline-block;
    margin: 0 10px 5px 0;
}
.cssbutton:hover
{
    background-color: #B8B8B8;
}
.cssbutton a
{
    display:block;
    padding: 6px 10px;
    color: #fff !important;
    text-decoration: none !important;
    white-space: nowrap;
}
.cssbutton:hover a
{
    color: #000 !important;
    text-decoration: underline !important;
}
.cssbutton a:focus
{
    outline-offset: 2px;
}


/* Font awesome */
.far {
    font-size:18px;
}
.fa-red {
    color:#D00;
}
.fa-blue {
    color:#5f9edf;
}


/* Pick list control */
.picklistctrl
{
    margin: 0px 0px 0px 0px;
    overflow: auto;
    padding: 0px 0px 0px 0px;
    height: 100px;
    border: 1px solid black;
    background-color: white;
}
.picklistctrl .row
{
    padding: 2px 2px 2px 2px;
}
.picklistctrl .checkbox
{
    float:left;
    width:20px;
}
.picklistctrl input
{
    border:0px;
    background-color: white;
}
.picklistctrl .descr
{
    float:left;
    padding-top:3px;
}
.picklistctrl .value
{
    float:right;
}
.picklistctrl .valuectrl
{
    border:solid 1px black;
    width:60px;
}


/* Maximum width */
.maxwidth
{
    width:100%;
    max-width:1170px;
    margin:0 auto;
}
.innerpadding
{
    padding:0 15px;
}


/* Header */
#header
{
    width:100%;
    min-height:90px;
}


/* Header top nav */
#header #headertop
{
    padding-top:15px;
}
#header #headertop #headertoplogo
{
    float:left;
    width:25%;
}
#header #headertop #headertoplogo img
{
    width:90%;
    vertical-align: middle;
}
#header #headertop #headertopstaticnav
{
    float:left;
    width:720px;
}
#header #headertop #headertopstaticnav #headertopstaticnavbutton
{
    display:none;
}
#header #headertop #headertopstaticnav #headertopstaticnavlist
{
    margin:5px 0 0;
    padding:0 27.5px 0 0;
    float:right;
    list-style:none;
    position:relative;
}
#header #headertop #headertopstaticnav #headertopstaticnavlist li
{
    float: left;
    padding: 0;
    min-height:70px;
    display:block;
}
#header #headertop #headertopstaticnav #headertopstaticnavlist li a
{
    text-transform: uppercase;
    color:#072249;
    padding:15px;
    line-height:20px;
    display:inline-block;
    text-decoration:none;
}
#header #headertop #headertopstaticnav #headertopstaticnavlist li a:after
{
    content: '';
    display: block;
    margin: auto;
    height: 2px;
    width: 0px;
    background: transparent;
    transition: width .5s ease, background-color .5s ease;
}
#header #headertop #headertopstaticnav #headertopstaticnavlist li a:hover:after
{
    width: 100%;
    background: #efefef;
}




/* Header main menu */
#header #headermenu
{
    background-color:#fff;
    color:#444;
}
#header #headermenu .headerinner
{
    border-bottom:1px solid #a0a0a0;
}
#header #headermenulist
{
    height:30px;
}
#header #headermenu ul li
{
    border-top:3px solid #fff;
    border-bottom:3px solid #fff;
    border-left:1px solid #a0a0a0;
}
#header #headermenu ul li:first-child
{
    border-left:0;
}
#header #headermenu ul li:hover
{
    border-bottom:3px solid #7ba496;
}
#header #headermenu ul li a
{
    padding:2px 10px;
    font-size:1.1em;
    color:#444;
}
#header #headermenu ul li.selected
{
    border-top:3px solid #7ba496;
    border-bottom:3px solid #7ba496;
    background-color:#7ba496;
}
#header #headermenu ul li.selected a
{
    color:#fff;
}

/* Header sub menu */
#header #headersubmenu .headerinner
{
    background-color:#7ba496;
    color:#fff;
}
#header #headersubmenulist
{
    height:30px;
}
#header #headersubmenu ul li
{
    border-top:3px solid #7ba496;
    border-bottom:3px solid #7ba496;
    border-left:1px solid #a0a0a0;
}
#header #headersubmenu ul li:first-child
{
    border-left:0;
}
#header #headersubmenu ul li:hover
{
    border-bottom:3px solid #fff;
}
#header #headersubmenu ul li a
{
    padding:2px 10px;
    font-size:1.1em;
    color:#fff;
}
#header #headersubmenu ul li.selected
{
    border-bottom:3px solid #fff;
    background-color:#fff;
}
#header #headersubmenu ul li.selected a
{
    color:#444;
}

/* Header banner message */
#header #headerbanner
{
    color:#000;
    text-align:center;
    background-color:#fa8072;
    width:100%;
}
#header #headerbanner #headerbannerinner
{
    padding:10px;
    display:table;
}
#header #headerbanner p
{
    margin:0px;
}
#header #headerbanner p a
{
    text-decoration:underline !important;
    color:#000 !important;

}
#header #headerbanner #headerbannertext
{
    display:table-cell;
    vertical-align:top;
}
#header #headerbanner #headerbannerhide
{
    display:table-cell;
    width:150px;
    vertical-align:middle;
}
#header #headerbanner .cssbutton
{
    margin:0;
}


/* Header cookie consent */
#header #headercookie
{
    background-color:#323232;
    position:fixed;
    bottom:0;
    right:0;
    left:0;
    z-index:200;
}
#header #headercookie .headerinner
{
    padding:0 10px;
}
#header #headercookie #headercookietext
{
    float:left;
    width:80%;
    margin:10px 0;
    color:#e0e0e0;
}
#header #headercookie #headercookietext a
{
    color:#e0e0e0;
    text-decoration:underline;
}
#header #headercookie #headercookieclose
{
    float:left;
    width:20%;
    margin:10px 0;
    text-align:right;
}
#header #headercookie #headercookieclose .cssbutton
{
    background-color:#fff;
    margin:0;
}
#header #headercookie #headercookieclose .cssbutton a
{
    color:#000 !important;
}


/* Nav */
nav
{
    margin-bottom:15px;
    overflow:hidden;
    clear:both;
}
/* "top" nav */
#topnav
{
    display:inline-block;
    float:right;
}
#topnav #topnavlist
{
    margin:0;
    padding:0;
    list-style:none;
}
#topnav #topnavlist li
{
    display:inline-block;
    padding:10px;
}
#topnav #topnavlist li:last-child
{
    padding-right:0;
}
#topnav #topnavlist li a
{
    font-size: 13px;
    color: #333;
}


/* Main area */
#main
{
    margin: 0 auto;
    clear:both;
    overflow:hidden;
}

#maincontent a
{
    text-decoration:underline;
}


/* Individual widget */
.mainwidgets .mainwidget
{
    width:100%;
    padding:10px 0;
    margin:0 0 30px;
    border:1px solid #dddddd;
}
.mainwidgets .mainwidgetcontainer
{
    padding:0 10px 1px 10px;
}
.mainwidgets .mainwidgetheader
{
    font-family: Georgia, Times, "Times New Roman", serif;
    font-size:20px;
    font-style:normal;
    font-variant:normal;
    font-weight:500;
    margin:0 0 10px;
    line-height:1.1;

}
.mainwidgets .mainwidgetcontent
{
    position:relative;
}
.mainwidgets .mainwidthseparator
{
    border-top:1px dotted #a0a0a0;
    height:1px;
}
.mainwidgets .mainwidgetrightbutton
{
    text-align:right;
}
.mainwidgets .mainwidgetrightbutton .cssbutton
{
    margin-right:0;
}


/* Popup with #header */
#headerpopup
{
    width:100%;
    background-color:#fff;
    padding:4px 10px;
}
#headerpopup #headerpopupleft
{
    font-size:2em;
}
#mainpopup
{
    width:100%;
}
#mainpopupcontent
{
    padding:10px;
}
#mainpopup #popupmenuright
{
    float:right;
}



/* Footer */
#footer,
#mainpush
{
    height:95px;
}
#footer
{
    clear:both;
    padding-top: 20px;
    background-color:#072249;
    overflow:hidden;
    color:#fff;
    font-size: 13px;
    line-height: 18.5667px;
}
#footer #footerleft
{
    float:left;
    width: 66.6666666667%
}
#footer #footerleft ul
{
    margin:0 0 10px;
    padding:0;
    list-style:none;
}
#footer #footerleft ul li
{
    display:inline-block;
}
#footer #footerleft ul li:after
{
    content: "|";
    margin: 0 10px;
}
#footer #footerleft ul li:last-child:after
{
    content: " ";
}

#footer #footerright
{
    float:right;
    width: 33.3333333333%;
    min-height:50px;
}
#footer #footerright ul
{
    float:right;
    margin:0 0 10px;
    padding:0 0 0 40px;
}
#footer #footerright ul li
{
    display:inline-block;
    padding-left:5px;
}
#footer #footerright ul li img
{
    height: 30px;
    width: 30px;
    vertical-align:middle;
}
#footer #footerright #footerrightcontact
{
    float: right;
    height: 30px;
    background-color: #0b3878;
    display: inline-block;
    font-weight: normal;
    text-align: center;
    vertical-align: middle;
    touch-action: manipulation;
    cursor: pointer;
    background-image: none;
    white-space: nowrap;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.428571429;
}
#footer a
{
    color:#fff !important;
}




/* Red Star */
.redHilite
{
    color: #c00;
}

/* Error */
.errorText
{
    color:#E00;
}


/* Box */
.boxheader
{
    margin-top:30px;
}
.boxheader:first-child
{
    margin-top:0;
}
.boxbuttons
{
    margin-top:25px;
}


/* Input controls */
input[type="text"], input[type="password"], textarea, select
{
    font-family:Arial;
    font-size:1em;
}



/* General container for main content area controls */
.formattedcontrols
{
    position:relative;
}
/* Limited width so it doesn't go full width on large screens */
.formattedcontrols .limitedwidth
{
    max-width:300px;
    width:100%;
}
.formattedcontrols .fullwidth
{
    width:100%;
}
.formattedcontrols textarea.fullwidth
{
    resize:vertical;
}
.formattedcontrols .blockspan
{
    display:inline-block;
    margin-right:10px;
}


/* Info label */
.infolabelerror p
{
    padding-left:30px;
    min-height: 25px;
    background: url("../../../../images/shared/error2.png") no-repeat;
    color:#a40000;
}
.infolabelinfo p
{
    padding-left:30px;
    min-height:25px;
    background: url("../../../../images/shared/info2.png") no-repeat top left;
    color:#204a87;
}


/* Allow for accessibility on radiobuttonlist/checkboxlist */
fieldset.radiobuttonlist, fieldset.checkboxlist
{
    border:0;
    padding:0;
    margin:10px 0;
}
fieldset.radiobuttonlist legend, fieldset.checkboxlist legend
{
    width:100%;
    margin:0;
    padding:0;
    *margin-left: -7px;
}


/* Radio list */
.listwithproperwrap input {
    float:left;
    margin-top:3px;
}
.listwithproperwrap label {
    margin:0 0 6px 25px;
    display:block;
}
.listwithproperwrap > label:last-child,
.listwithproperwrap span:last-child label {
    margin-bottom:0;
}
.listwithproperwrap br {
    display:none;
}



.editContentContainer
{
    position:relative;
    min-height:25px;
}
.editContentContainerHighlight
{
    background-color:rgba(255,0,0,0.3);
}
.editContentEdit
{
    position:absolute;
    top:0;
    right:0;
    border:1px dotted #c0c0c0;
    margin-bottom:2px;
}
.editContentEdit img
{
    margin:3px 0 3px 3px;
    display:block;
}




@media screen and (max-width:1199px)
{
    .maxwidth
    {
        max-width:970px;
    }
    #header
    {
        min-height:70px;
    }

    #header #headertop #headertopstaticnav #headertopstaticnavlist
    {
        margin:0 0 0 4px;
        float:left;
    }
    #header #headertop #headertopstaticnav #headertopstaticnavlist li
    {
        min-height:60px;
    }
    #header #headertop #headertopstaticnav #headertopstaticnavlist li a
    {
        font-size:11.2px;
    }

    #footer
    {
        height:unset;
    }
    #footer #footerleft,
    #footer #footerright
    {
        float:none;
        width:100%;
        overflow:hidden;
    }
}

@media screen and (min-width:989px)
{
    /* Make sure always visible above 990px */
    #header #headertop #headertopstaticnav #headertopstaticnavlist
    {
        display:block !important;
    }
}
@media screen and (max-width:990px)
{
    .maxwidth
    {
        max-width:750px;
    }
    #header
    {
        min-height:100px;
    }
    #header #headertop #headertoplogo
    {
        width:50%;
        left:25%;
        position:relative;
    }
    #header #headertop #headertopstaticnav
    {
        width:25%;
        right:50%;
        position:relative;
    }
    #header #headertop #headertopstaticnav #headertopstaticnavbutton
    {
        margin:20px 15px 38px 15px;
        padding:9px 10px;
        display:block;
        border:none;
        outline:none;
        background-color:transparent;
        cursor: pointer;
        border-radius: 4px;
    }
    #header #headertop #headertopstaticnav #headertopstaticnavbutton:hover,
    #header #headertop #headertopstaticnav #headertopstaticnavbutton:focus
    {
        background-color: #ddd;
    }
    #header #headertop #headertopstaticnav #headertopstaticnavbutton:focus
    {
        outline:none;
    }
    #header #headertop #headertopstaticnav #headertopstaticnavbutton .icon-bar
    {
        background-color: #888;
        display: block;
        width: 22px;
        height: 2px;
        border-radius: 1px;
    }
    #header #headertop #headertopstaticnav #headertopstaticnavbutton .icon-bar + .icon-bar
    {
        margin-top:4px;
    }
    #header #headertop #headertopstaticnav #headertopstaticnavlist
    {
        display:none;
        min-width:400%;
        max-width:400%;
        position: absolute;
        z-index: 30;
        background-color: #fff;
        left: 0;
        margin:0;
        padding:0;
    }
    #header #headertop #headertopstaticnav #headertopstaticnavlist li
    {
        display:block;
        float:none;
        padding:0 20px;
        min-height:unset;
    }
    #header #headertop #headertopstaticnav #headertopstaticnavlist li a
    {
        font-size:16px;
        display:block;
        padding:15px;
    }

    nav
    {
        background-color: #efefef;
        text-align:center;
        margin-bottom:0;
    }
    #topnav
    {
        display:block;
        float:none;
        padding:0 5px;
    }
    #topnav #topnavlist li:last-child
    {
        padding-right:10px;
    }


    #footer
    {
        text-align:center;
    }
    #footer #footerright ul
    {
        float:none;
        padding-left:0;
    }
    #footer #footerleft
    {
        font-size:12.3px;
    }
    #footer #footerleft ul li:after
    {
        margin: 0 5px;
    }
    #footer #footerright #footerrightcontact
    {
        float:none;
        display: block;
        margin: 10px 20px;
    }
}

@media screen and (max-width:767px)
{
    #header #headercookie
    {
        position:static;
        overflow:hidden;
    }
    #header #headercookie #headercookietext
    {
        float:none;
        width:100%;
        text-align:left;
    }
    #header #headercookie #headercookieclose
    {
        float:none;
        width:100%;
        text-align:right;
    }

    #header #headerbanner .headerinner,
    #header #headerbanner #headerbannertext
    {
        display:block;
        text-align:left;
    }
    #header #headerbanner #headerbannerhide
    {
        display:block;
        text-align:right;
        padding-top:5px;
        width:auto;
    }

    #header #headertop #headertopstaticnav #headertopstaticnavlist
    {
        border-top:1px solid #e7e7e7;
    }
    #header #headertop #headertopstaticnav #headertopstaticnavlist li a
    {
        padding:10px 15px;
    }
}

@media screen and (max-width:619px)
{
    #header
    {
        min-height:90px;
    }
    #header #headertop #headertopstaticnav #headertopstaticnavbutton
    {
        margin-top:10px;
    }

    .mainwidgets .mainwidget
    {
        float:none;
        width:100%;
    }
    .mainwidgets .mainwidget:nth-child(odd)
    {
        margin-right:0;
    }
    .mainwidgets .mainwidget:nth-child(even)
    {
        margin-left:0;
    }
}

@media screen and (max-width:448px)
{
    #header
    {
        min-height:70px;
    }
    #header #headertop #headertopstaticnav #headertopstaticnavbutton
    {
        margin-top:0;
        margin-bottom:18px;
    }
}




/*Skip to main content link*/
.skipToContent
{
    left:40px;
    top:-70px;
    position:fixed;
    border:2px solid black;
    background:white;
    text-align:center;
    text-decoration:none;
    z-index:100;
}
.skipToContent:focus
{
    top:40px;
    opacity:1;
    outline:1px solid grey;
}
.skipToContent div
{
    padding:10px;
}
