﻿*, *::before, *::after {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
}
*, *::before, *::after {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
}

html, body, form.mainform
{
    height: 100%;
}
.wrapper
{
    min-height: 100%;
    margin: 0 auto -168px;
}

body 
{
    padding: 0;
    margin: 0;
    font-size: 16px;
    background-color: #fff;
    color: #000;
    font-family: "Open Sans","Helvetica Neue",Arial,sans-serif;
}

h1
{
    font-size:1.7em;
    margin:0 0 10px;
    color:#000;
    font-weight:normal;
}

h2
{
    margin:0;
    font-size:1.3em;
    padding:5px 0;
    color:#000;
}
h2.subsection
{
    margin-top:30px;
}

h3
{
    margin:5px 0;
    font-size:1.3em;
    color:#000;
}

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;
}


/* Font awesome */
.far {
    font-size:18px;
}
.fa-red {
    color:#D00;
}
.fa-blue {
    color:#5f9edf;
}
a.fa-remove-border {
    border:0 !important;
}


/* Links */
a:link, a:visited
{
    color: #141098;
    text-decoration:none;
}
a:hover, a:active
{
    color: #000;
    text-decoration:underline;
}


/* Css Button */
.cssbutton
{
    background-color: #621244;
    display:inline-block;
    margin: 0 10px 5px 0;
    transition: background-color 0.2s ease-out;
}
.cssbutton:hover
{
    background-color: #141098;
}
.cssbutton a
{
    display:block;
    padding: 4px 8px;
    color: #fff !important;
    text-decoration: none !important;
    white-space: nowrap;
}
.cssbutton a:focus
{
    outline-offset:2px;
}


/* 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:1280px;
}


/* Header */
#header
{
    width:100%;
}
#header .headerinner
{
    margin:0 auto;
    overflow:hidden;
}
/* Lists within the header */
#header ul
{
    margin:0;
    padding:0;
}
#header ul li
{
    list-style-type: none;
    display:inline-block;
    height:30px;
    transition-property: background-color, border-bottom;
    transition-duration: 0.2s;
    transition-timing-function: ease;
}
#header ul li a
{
    display:inline-block;
    text-decoration:none;
}
#header .headermoreitemarrow
{
    font-size:0.7em;
}
/* Header top main banner */
#header #headermain {
}
#header #headermain .headerinner {
    overflow:unset;
}
#header #headermain #headermaincontent {
    vertical-align:middle;
    margin: 20px 15px 0;
}
#header #headermain #headermainlogo {
    float:left;
    overflow:hidden;
    margin-bottom:35px;
}
#header #headermain #headermainlogo a {
    position: relative;
    display: block;
    width: 195px;
    height: 88px;
    background: url(../../../images/Logo-Black2.svg) 0 0 no-repeat;
    background-size: contain;
    text-indent: -9999em;
    margin-bottom:2px;
}
/* Header top nav */
#header #headermainmenu {
    padding-left:200px;
    text-align:right;
}
#header #headermainmenu #headertoplist {
    overflow:hidden;
    height:30px;
}
#header #headermainmenu li {
    padding:5px 10px;
}
#header #headermainmenu li a {
    display:inline-block;
}
#header #headermainmenu li a:hover {
    text-decoration:underline;
}
/* Header text area */
#header #headertext {
    margin-bottom:40px;
    clear:both;
}
/* Header top breadcrumbs */
#header #headerbreadcrumbs {
    margin:2px 0 33px;
    width:73.2%;
}
#header #headerbreadcrumbs #headerbreadcrumbsinner {
    margin:0 15px;
    font-size: 12px;
}
#header #headerbreadcrumbs #headerbreadcrumbsinner li {
    height:auto;
    white-space:nowrap;
}
#header #headerbreadcrumbs #headerbreadcrumbsinner li:after {
    margin: 0 3px 0 5px;
    display: inline-block;
    content: '/';
}
#header #headerbreadcrumbs #headerbreadcrumbsinner li:last-child:after {
    content: '';
}
#header #headerbreadcrumbs #headerbreadcrumbsinner li a {
    text-decoration:underline;
}
/* Header title */
#header #headertitle {
    width:73.2%;
    padding-bottom:32px;
    border-bottom:2px solid #EBEBEB;
}
#header #headertitle #headertitleinner {
    padding: 0 15px;
}
#header #headertitle #headertitletext {
    font-family: "Merriweather","Times New Roman",Times,serif;
    margin:0;
    font-size: 3rem;
    font-weight: 300;
    line-height: 1.3em;
}
/* Just the bar on non-CMS pages */
#header #headerbar #headerbarinner {
    width: 73.2%;
    margin-bottom: 40px;
    border-bottom: 2px solid #EBEBEB;
}

/* Header banner message */
#headerbanner
{
    color:#000;
    text-align:center;
    background-color:#fa8072;
    z-index:100;
}
#headerbanner .headerinner
{
    display:table;
    margin:0 auto;
}
#headerbanner p
{
    margin:0px;
}
#headerbanner #headerbannertext
{
    display:table-cell;
    vertical-align:top;
    padding:10px;
}
#headerbanner #headerbannerhide
{
    display:table-cell;
    width:150px;
    vertical-align:middle;
    padding:10px;
    text-align:right;
}
#headerbanner #headerbannerhide .cssbutton
{
    margin:0;
}

/* Header cookie consent - actually fixed to bottom of screen */
#headercookie
{
    position:fixed;
    right:0;
    bottom:0;
    left:0;
    background-color:#000;
    z-index:100;
}
#headercookie .headerinner
{
    margin:0 auto;
    overflow:hidden;
}
#headercookie #headercookiecontent
{
    display:table;
    width:100%;
}
#headercookie #headercookietext
{
    display:table-cell;
    padding:10px;
    color:#e0e0e0;
}
#headercookie #headercookietext a
{
    color:#e0e0e0;
}
#headercookie #headercookieclose
{
    display:table-cell;
    width:140px;
    padding:10px;
    text-align:right;
}
#headercookie #headercookieclose .cssbutton
{
    background-color:#fff;
    margin:0;
}
#headercookie #headercookieclose .cssbutton a
{
    color:#000 !important;
}



/* Main area */
#main
{
    margin: 0 auto;
    clear:both;
}

#maincontentcontainer
{
    float:left;
    width:74.6%;
    margin-right:1.7%;
    position:relative;
    padding-left:10%;
}


#mainmenu
{
    float:right;
    width:23.7%;
    margin-top:-100px;
    padding:0 15px;
}


/* Header main menu */
#mainmenu #mainmenunormal ul {
    margin:0;
    padding:0;
    list-style:none;
}
#mainmenu #mainmenunormal ul li {
    display:block;
    margin:0;
    padding:0;
    border-bottom: 2px solid #EBEBEB;
}
#mainmenu #mainmenunormal ul li a {
    display:block;
    padding: 10px 10px 10px 20px;
}

#mainmenu #mainmenunormal ul li.itemsel0 a {
    font-weight: 700;
    color: #000;
}
#mainmenu #mainmenunormal ul li.item1 a {
    padding-left:35px;
}
#mainmenu #mainmenunormal ul li.itemsel1 a {
    color: #000;
}


#mainmenu #mainmenumobile {
    display:none;
}

/* Main content area */
#maincontent
{
    margin-bottom:40px;
}
#maincontent p
{
    line-height:1.5em;
    margin:0 0 16px 0;
}
#maincontent a
{
    border-bottom:1px dashed #141098;
    text-decoration:none;
}
#maincontent a:hover, #maincontent a:focus, #maincontent a:active
{
    border-bottom: 1px solid #000;
    text-decoration:none;
}

/* Widgets - note, the padding is set by the individual widgets, due to the separator line */
#mainwidgets
{
    padding:0 0 10px 0;
    display: -ms-flexbox;
    display: flex;
    flex-wrap:wrap;
}


/* Individual widget */
#mainwidgets .mainwidget
{
    width: calc(33.3332% - 14.5px);
    margin:0 14px 14px 0;
    background-color:#EBEBEB;
    min-width: 0;
}
#mainwidgets .mainwidgetheader
{
    position:relative;
}
#mainwidgets .mainwidgetheader .mainwidgetheaderimage img
{
    display:none;
}
#mainwidgets .mainwidgetheader .mainwidgetheadertext
{
    display:inline-block;
    left:0;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    line-height: 1;
    padding: 10px 15px;
    background: #621244;
}
#mainwidgets .mainwidgetcontent
{
    position:relative;
    padding:10px;
    display:inline-block;
    width:100%;
}

#mainwidgets .mainwidthseparator
{
    border-top:1px dotted #a0a0a0;
    height:1px;
}


/* 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
{
    min-height:168px;
    clear:both;
    background-color:#EBEBEB;
    padding: 30px;
    overflow:hidden;
}
#footer .footerinner
{
    margin: 0 auto;
    width:100%;
    max-width:1280px;
}
#footer #footerlogos
{
    text-align:right;
    padding-bottom:20px;
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    justify-content:right;
    column-gap:10px;
}
#footer #footerlogos img
{
    width:100%;
}
#footer #footernav
{
    float:left;
    width:50%;
    font-size: 14px;
}
#footer #footercopy
{
    float:right;
    width:50%;
    font-size: 12px;
    line-height:19px;
    text-align:right;
}




/* Red Star */
.redHilite
{
    color: #c00;
}

/* Error */
.errorText
{
    color:#E00;
}


/* Box */
.boxbuttons
{
    margin-top:25px;
}


/* Input controls */
input[type="text"], input[type="password"], textarea, select
{
    font-family:Arial;
    font-size:14px;
}



/* 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 select
{
    max-width:100%;
}
.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-left: 25px;
    display: block;
}
.listwithproperwrap br {
    margin:3px 0px;
    line-height:4px;
    content:" ";
    display:block;
}



@media screen and (max-width:900px)
{

    #header #headerbreadcrumbs,
    #header #headertitle,
    #header #headerbar #headerbarinner
    {
        width:100%;
    }

    #maincontentcontainer
    {
        width:100%;
        padding:0 15px;
        margin-right:0;
    }

    #mainmenu
    {
        float:none;
        width:100%;
        margin-top:0;
        padding:0;
    }

    #mainmenu #mainmenunormal
    {
        display:none;
    }
    #mainmenu #mainmenumobile
    {
        display:block;
        padding:0 5px;
        overflow:hidden;
        margin-bottom:10px;
    }
    #mainmenu #mainmenumobile ul
    {
        margin:10px 0;
        padding:0;
        list-style:none;
        overflow:hidden;
        height:42px;
    }
    #mainmenu #mainmenumobile ul li
    {
        display:inline-block;
        padding:10px;
    }
    #mainmenu #mainmenumobile ul li a
    {
    }
    #mainmenu #mainmenumobile ul li.selected a
    {
        color:#000;
    }


    #mainwidgets .mainwidget
    {
        -ms-flex: 0 1 calc(50% - 10px);
        flex: 0 1 calc(50% - 10px);
    }
    #mainwidgets .mainwidget:nth-child(2n)
    {
        margin-right: 0;
    }
}


@media screen and (max-width:768px)
{
    .wrapper
    {
        margin-bottom:0;
    }

    #header #headermain {
    }
    #header #headermain #headermainlogo {
        margin-bottom: 14px;
    }
    #header #headermain #headermainlogo a {
        width: 150px;
    }
    #header #headermainmenu
    {
        padding-left:160px;
    }
    #header #headerbreadcrumbs {
        margin-bottom:31px;
    }
    #header #headertitle {
        padding-bottom:24px;
    }
    #header #headertitle #headertitletext {
        font-size: 36px;
    }

    #footer
    {
        height:unset;
    }
    #footer #footerlogos
    {
        justify-content:flex-start;
    }
    #footer #footernav
    {
        float:none;
        width:100%;
    }
    #footer #footercopy
    {
        float:none;
        width:100%;
        text-align:left;
        padding-top:20px;
    }
}


@media screen and (max-width:600px)
{
    #header #headertitle {
        padding-bottom:19px;
    }
    #header #headertitle #headertitletext {
        font-size: 28px;
    }
    #header #headermainmenu {
        position:relative;
    }
    #header #headermainmenu #headertoplist li {
        padding-right:0;
    }
    #header #headermainmenu #headertoplistmore {
        position:absolute;
        right:0;
        z-index:200;
        -moz-box-shadow:0 0 5px rgba(0,0,0,0.4);
        box-shadow:0 0 5px rgba(0,0,0,0.4);
        background-color:#fff;
    }
    #header #headermainmenu #headertoplistmore li {
        display:block;
    }
    #header #headermainmenu #headertoplistmore li a {
        display:block;
    }

    #mainwidgets .mainwidget
    {
        -ms-flex: 0 1 100%;
        flex: 0 1 100%;
        margin: 0 0 14px;
    }
    
    #headercookie
    {
        position:static;
        bottom:unset;
        left:unset;
        right:unset;
    }
    #headercookie #headercookietext,
    #headercookie #headercookieclose
    {
        display:block;
    }
    #headercookie #headercookieclose
    {
        text-align:right;
        padding-top:0;
        width:unset;
    }
    #headercookie #headercookietitle h2
    {
        padding:0;
    }
    
    #headerbanner .headerinner
    {
        display:block;
    }
    #headerbanner #headerbannertext
    {
        display:block;
        text-align:left;
    }
    #headerbanner #headerbannerhide
    {
        display:block;
        text-align:right;
        padding-top:0;
        width:auto;
    }
}



.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;
}


/*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;
}