﻿@font-face
{
    font-family: Gilroy;
    src: url(../../fonts/gilroy-bold.woff2) format("woff2"),url(../../fonts/gilroy-bold.woff) format("woff");
    font-style: normal;
    font-weight: 700;
}
@font-face
{
    font-family: Gilroy;
    src: url(../../fonts/gilroy-bolditalic.woff2) format("woff2"),url(../../fonts/gilroy-bolditalic.woff) format("woff");
    font-style: italic;
    font-weight: 700;
}
@font-face
{
    font-family: Gilroy;
    src: url(../../fonts/gilroy-medium.woff2) format("woff2"),url(../../fonts/gilroy-medium.woff) format("woff");
    font-style: normal;
    font-weight: 500;
}
@font-face
{
    font-family: Gilroy;
    src: url(../../fonts/gilroy-regular.woff2) format("woff2"),url(../../fonts/gilroy-regular.woff) format("woff");
    font-style: normal;
    font-weight: 400;
}
@font-face
{
    font-family: Gilroy;
    src: url(../../fonts/gilroy-regularitalic.woff2) format("woff2"),url(../../fonts/gilroy-regularitalic.woff) format("woff");
    font-style: italic;
    font-weight: 400;
}
@font-face
{
    font-family: Gilroy;
    src: url(../../fonts/gilroy-semibold.woff2) format("woff2"),url(../../fonts/gilroy-semibold.woff) format("woff");
    font-style: normal;
    font-weight: 600;
}


*, *::before, *::after {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
}

html, body, form.mainform
{
    height:100%;
}

.wrapper
{
    height:100%;
    margin: 0 auto -132px;
}

body 
{
    padding: 0;
    margin: 0;
    background-color: #fff;
    color: #3c3c3b;
    font-family: Gilroy,Arial,Helvetica,sans-serif;
    font-size: 16px;
    line-height: 1;
}

h1, h2, h3
{
    color: #3c3c3b;
    margin:0;
    font-weight:600;
}

h1
{
    font-size: 36px;
    line-height: 48px;
    color: #003d4c;
    margin-bottom: 12px;
}
h1.subsection
{
    margin-top:30px;
}

h2
{
    font-size: 22px;
    font-weight: 500;
    line-height: 30px;
    color: #003d4c;
    margin-bottom: 12px;
}

h3
{
    font-size: 18px;
    font-weight: 500;
    line-height: 24px;
    color: #003d4c;
    margin-bottom: 12px;
}


/* Hidden */
#accesslinks, .skiplink
{
    display:none;
}

/* Links */
a:link, a:visited
{
    color: #332525;
}
a:hover, a:active
{
    color: #c60c30;
}


/* Css Button */
.cssbutton
{
    background-color: #a71930;
    display:inline-block;
    margin: 0 10px 5px 0;
    font-size: 18px;
    font-weight: 500;
    line-height: 27px;
    transition: background-color 0.2s ease;
}
.cssbutton:hover
{
    background-color: #c60c30;
}
.cssbutton a
{
    display:block;
    padding: 10px 18px;
    color: #fff !important;
    text-decoration: none !important;
    white-space: nowrap;
}


/* 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:1384px;
}

.divclear {
    clear:both;
}



/* Header */
#header
{
    width:100%;
    padding-top:24px;
    border-bottom: 1px solid #ededed;
}
#header::after
{
    clear: both;
    content: "";
    display: block;
}
#header .headerinner
{
    margin:0 auto;
}


/* Header banner message */
#header #headerbanner
{
    color:#000;
    text-align:center;
    font-weight:bold;
    background-color:#fa8072;
    position:fixed;
    top:0;
    right:0;
    left:0;
    z-index:200;
    transition: all 0.7s ease;
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
}
#header #headerbanner.hide
{
    -ms-transform: translateY(-100%);
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
}
#header #headerbanner .headerinner
{
    padding:10px;
    display:table;
    line-height:24px;
}
#header #headerbanner p
{
    margin:0px;
}
#header #headerbanner #headerbannertext
{
    display:table-cell;
    vertical-align:top;
}
#header #headerbanner #headerbannerhide
{
    display:table-cell;
    width:150px;
    vertical-align:middle;
}



/* Header top main banner */
#header #headermain #headermainlogo
{
    width:calc(100% - 64px);
    margin-left:32px;
    position:relative;
}
#header #headermain #headermainlogo #headermainlogonormal
{
    height:80px;
    width:233px;
    -webkit-transition: all .3s;
    transition: all .3s;
}

#header #headermain #headermainlinks
{
    position:absolute;
    top:0;
    right:0;
    left:0;
    margin-left: 300px;
    text-align:right;
}

#header #headermain #headermainmenu
{
    display:inline-block;
    text-align:right;
    width:calc(100% - 75px);
}
#header #headermain #headermainmenu ul
{
    margin:0;
    padding:0;
    list-style-type:none;
}
#header #headermain #headermainmenu ul li
{
    color: #646363;
    display: inline-block;
    font-size: 18px;
    font-weight: 500;
    line-height: 24px;
    margin-right: 32px;
    vertical-align: top;
}
#header #headermain #headermainmenu ul li a
{
    text-decoration:none;
    border-bottom: 1px solid transparent;
    -webkit-transition: border .3s,color .3s;
    transition: border .3s,color .3s;
    color: #646363;
}
#header #headermain #headermainmenu ul li a:hover
{
    border-bottom: 1px solid #c60c30;
    color: #c60c30;
}
#header #headermain #headermainmenu #headertoplistmore li
{
    margin-top:3px;
}
#header #headermain #headermainmenu .headermoreitemarrow
{
    font-size:0.7em;
}

#header #headermain .headermainsocial
{
    display:inline-block;
    color:#646363;
    vertical-align:top;
}
#header #headermain .headermainsocial .headermainsocialicon
{
    display: inline-block;
    margin-left: 14px;
    -webkit-transition: color .3s;
    transition: color .3s;
    vertical-align: top;
    text-decoration:none;
    color:#646363;
}
#header #headermain .headermainsocial .headermainsocialicon:hover
{
    color: #c60c30;
}
#header #headermain .headermainsocial .headermainsocialicon:first-child
{
    margin-left:0;
}
#header #headermain .headermainsocial .headermainsocialicontwitter svg
{
    height:22px;
    width:27px;
}
#header #headermain .headermainsocial .headermainsocialiconfacebook svg
{
    height:24px;
    width:24px;
}

#header #headermain #headermobilemenu
{
    display:none;
}


/* Static fixed IDS menu */
#header #headerstaticmenu #headerstaticmenucontent
{
    width:calc(100% - 64px);
    margin-left:32px;
    padding-top:18px;
}
#header #headerstaticmenu ul
{
    margin:0;
    padding:0;
    list-style-type:none;
    text-align:right;
}
#header #headerstaticmenu ul li
{
    color: #332525;
    display: inline-block;
    padding: 0 21px;
    vertical-align: top;
}
#header #headerstaticmenu ul li::after
{
    background: #c60c30;
    content: '';
    display: block;
    height: 8px;
    margin-top: -8px;
    -webkit-transform: scale3d(0,1,1);
    transform: scale3d(0,1,1);
    -webkit-transition: -webkit-transform .1s;
    transition: -webkit-transform .1s;
    transition: transform .1s;
    transition: transform .1s,-webkit-transform .1s;
    width: 100%;
}
#header #headerstaticmenu ul li:hover
{
    color: #c60c30;
}
#header #headerstaticmenu ul li:hover::after
{
    -webkit-transform: scale3d(1,1,1);
    transform: scale3d(1,1,1);
    -webkit-transition-duration: .3s;
    transition-duration: .3s;
    -webkit-transition-timing-function: cubic-bezier(.4,0,.2,1);
    transition-timing-function: cubic-bezier(.4,0,.2,1);
}
#header #headerstaticmenu ul li a
{
    display: block;
    padding-bottom: 24px;
    position: relative;
    -webkit-transition: color .3s;
    transition: color .3s;
    color: inherit;
    font-size: 22px;
    font-weight: 600;
    line-height: 28px;
    text-decoration:none;
}

#header #headerstaticmenu ul li a::after
{
    background: #c60c30;
    border-bottom: 1px solid #851426;
    bottom: 0;
    content: '';
    display: block;
    height: 7px;
    left: 0;
    position: absolute;
    -webkit-transform: scale3d(0,1,1);
    transform: scale3d(0,1,1);
    -webkit-transition: -webkit-transform .1s;
    transition: -webkit-transform .1s;
    transition: transform .1s;
    transition: transform .1s,-webkit-transform .1s;
    width: 100%;
}




/* Header cookie consent */
#header #headercookie
{
    background-color:#323232;
    position:fixed;
    bottom:0;
    right:0;
    left:0;
    z-index:200;
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
}
#header #headercookie .headerinner
{
    padding:0 10px 0 20px;
}
#header #headercookie #headercookietext
{
    float:left;
    width:80%;
    margin:10px 0;
    padding-right:20px;
    color:#e0e0e0;
    line-height:24px;
}
#header #headercookie #headercookietext a
{
    color:#e0e0e0;
}
#header #headercookie #headercookieclose
{
    float:left;
    width:20%;
    margin:10px 0;
    text-align:right;
}
#header #headercookie #headercookieclose .cssbutton
{
    background-color:#fff;
}
#header #headercookie #headercookieclose .cssbutton a
{
    color:#000 !important;
}



/* Main area */
#main
{
    margin: 0 auto;
    clear:both;
    background-color:#fff;
}


/* Individual widget */
#mainwidgets .mainwidget
{
    background-color: #eaf5f1;
    margin-bottom:40px;
}
#mainwidgets .mainwidgetcontainer
{
    padding-top:1px;
    padding-bottom:1px;
}
#mainwidgets .mainwidgetheader h2
{
    color: #3c3c3b;
    font-size: 22px;
    font-weight: 600;
    line-height: 30px;
    margin:24px 24px 6px;
}
#mainwidgets .mainwidgetcontent
{
    font-weight: 400;
    font-size: 17px;
    line-height: 27px;
    margin:0 24px 24px;
}
#mainwidgets .mainwidgetcontent::after
{
    clear: both;
    content: "";
    display: block;
}
#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:132px;
    clear:both;
    border-top: 1px solid #cdc9c5;
    padding:54px 0;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color:#332525;
}
#footer .footerinner
{
    margin: 0 auto;
}
#footer .footerinner::after
{
    clear: both;
    content: "";
    display: block;
}
#footer .footeritem
{
    width: calc(50% - 48px);
    float: left;
    margin-left: 32px;
}
#footer .footeritem:nth-child(2)
{
    text-align:right;
}
#footer .footerinner a
{
    margin-right:18px;
    color:#332525;
}
#footer .footerinner a:hover
{
    color:#c60c30;
}




/* Red Star */
.redHilite
{
    color: #c00;
}

/* Error */
.errorText
{
    color:Red;
}


/* Box */
.boxbuttons
{
    margin-top:25px;
}


/* Input controls */
input[type="text"], input[type="password"], textarea, select
{
    font-family: Gilroy,Arial,Helvetica,sans-serif;
    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:500px;
    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-left: 25px;
    display: block;
}
.listwithproperwrap br {
    margin:3px 0px;
    line-height:4px;
    content:" ";
    display:block;
}

@media screen and (max-width:1080px)
{
    #header #headerstaticmenu ul li
    {
        padding: 0 18px;
    }
}


@media screen and (max-width:1024px)
{
    #header #headermain #headermainlogo #headermainlogonormal
    {
        height: 40px;
        width: 117px;
    }
    #header #headermain #headermainlinks
    {
        margin-left:220px;
    }

    #header #headerstaticmenu ul li
    {
        padding: 0 12px;
    }
    #header #headerstaticmenu ul li a
    {
        font-size: 18px;
    }

    h1
    {
        font-size: 28px;
        line-height: 36px;
    }
    h2
    {
        font-size: 22px;
    }


    /* Individual widgets now take up 50% of the room */
    #mainwidgets .mainwidget
    {
        float:left;
        width:calc(50% - 20px);
    }
    /* Odd (left side) needs to clear */
    #mainwidgets .mainwidget:nth-child(odd)
    {
        clear:both;
        margin:0 20px 40px 0;
    }
    /* Even (right side)  */
    #mainwidgets .mainwidget:nth-child(even)
    {
        margin:0 0 40px 20px;
    }
    /* Odd (left side) have just right padding and no border */
    #mainwidgets .mainwidget:nth-child(odd) .mainwidgetcontainer
    {
        clear:both;
    }
}


@media screen and (max-width:767px)
{
    body.mobilemenutriggered
    {
        position:fixed;
    }

    .wrapper
    {
        margin-bottom:0;
    }

    #header
    {
        padding-top:12px;
        padding-bottom:12px;
        min-height:68px;
    }
    #header #headermain #headermainlogo
    {
        width: calc(50% - 15px);
        float: left;
        margin-left: 10px;
    }

    #header #headermain #headermainlogo #headermainlogonormal
    {
        display:block;
        height: 40px;
        width: 117px;
    }

    #header #headermain #headermainlinks
    {
        display:none;
    }
    #header #headermain #headermainmenu ul li
    {
        /* Force menu rebuilding */
        font-size:14px;
    }

    #header #headermain #headermobilemenu
    {
        display:block;
        width: calc(50% - 15px);
        float: left;
        margin-left: 10px;
        padding-top: 12px;
        padding-right:10px;
        text-align:right;
    }

    #header #headermain #headermobilemenu #headermobilemenutrigger
    {
        cursor: pointer;
        display: inline-block;
        height: 16px;
        margin-top: 1px;
        position: relative;
        width: 18px;
    }
    #header #headermain #headermobilemenu #headermobilemenutrigger > div
    {
        background-color: #332525;
        display: block;
        height: 3px;
        position: absolute;
        width: 100%;
    }
    #header #headermain #headermobilemenu #headermobilemenutriggertop
    {
        top: 0;
        -webkit-transform-origin: 50% 50%;
        -ms-transform-origin: 50% 50%;
        transform-origin: 50% 50%;
        -webkit-transition: top .2s .3s ease,-webkit-transform .2s ease;
        transition: top .2s .3s ease,-webkit-transform .2s ease;
        transition: transform .2s ease,top .2s .3s ease;
        transition: transform .2s ease,top .2s .3s ease,-webkit-transform .2s ease;
    }
    #header #headermain #headermobilemenu #headermobilemenutriggermiddle
    {
        top: 6px;
    }
    #header #headermain #headermobilemenu #headermobilemenutriggerbottom
    {
        top: 12px;
        -webkit-transform-origin: 50% 50%;
        -ms-transform-origin: 50% 50%;
        transform-origin: 50% 50%;
        -webkit-transition: top .2s .3s ease,-webkit-transform .2s ease;
        transition: top .2s .3s ease,-webkit-transform .2s ease;
        transition: transform .2s ease,top .2s .3s ease;
        transition: transform .2s ease,top .2s .3s ease,-webkit-transform .2s ease;
        margin-bottom: 0;
    }
    #header #headermain #headermobilemenu.triggered #headermobilemenutrigger > div
    {
        top:6px;
    }
    #header #headermain #headermobilemenu.triggered #headermobilemenutriggertop
    {
        -webkit-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
        transform: rotate(-45deg);
        -webkit-transform-origin: 50% 50%;
        -ms-transform-origin: 50% 50%;
        transform-origin: 50% 50%;
        -webkit-transition: top .2s ease,-webkit-transform .2s .3s ease;
        transition: top .2s ease,-webkit-transform .2s .3s ease;
        transition: top .2s ease,transform .2s .3s ease;
        transition: top .2s ease,transform .2s .3s ease,-webkit-transform .2s .3s ease;
    }
    #header #headermain #headermobilemenu.triggered #headermobilemenutriggermiddle
    {
        background-color: transparent;
    }
    #header #headermain #headermobilemenu.triggered #headermobilemenutriggerbottom
    {
        -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        transform: rotate(45deg);
        -webkit-transform-origin: 50% 50%;
        -ms-transform-origin: 50% 50%;
        transform-origin: 50% 50%;
        -webkit-transition: top .2s ease,-webkit-transform .2s .3s ease;
        transition: top .2s ease,-webkit-transform .2s .3s ease;
        transition: top .2s ease,transform .2s .3s ease;
        transition: top .2s ease,transform .2s .3s ease,-webkit-transform .2s .3s ease;
    }

    #header #headermain #headermobilemenu #headermobilemenuoverlay
    {
        display:none;
    }
    #header #headermain #headermobilemenu.triggered #headermobilemenuoverlay
    {
        display:block;
        z-index: 30;
        background-color: #f8f8f8;
        height: calc(100vh - 73px);
        left: 0;
        -webkit-overflow-scrolling: touch;
        overflow-x: hidden;
        overflow-y: scroll;
        position: absolute;
        top: 73px;
        width: 100%;
        padding: 24px 10px 0;
        text-align:left;
    }
    #header #headermain #headermobilemenu #headermobilemenuoverlay ul
    {
        margin:0;
        padding:0;
        list-style-type:none;
    }
    #header #headermain #headermobilemenu #headermobilemenuoverlay ul li a
    {
        color: #332525;
        display: block;
        font-size: 22px;
        font-weight: 500;
        line-height: 30px;
        padding: 12px 0;
        text-decoration:none;
        border-bottom: 1px solid #cdc9c5;
    }
    #header #headermain #headermobilemenu #headermobilemenuoverlay ul li a:hover
    {
        color:#c60c30;
    }
    #header #headermain #headermobilemenu #headermobilemenuoverlay ul li:first-child a
    {
        border-top: 1px solid #cdc9c5;
    }
    #header #headermain #headermobilemenu .headermainsocial
    {
        margin: 24px 0 18px;
    }

    #header #headerstaticmenu
    {
        display: none;
    }


    #header #headercookie #headercookietext,
    #header #headercookie #headercookieclose
    {
        float:none;
        width:100%;
        text-align:left;
    }

    #header #headerbanner .headerinner
    {
        display:block;
    }
    #header #headerbanner #headerbannertext
    {
        display:block;
    }
    #header #headerbanner #headerbannerhide
    {
        display:block;
        text-align:right;
        padding-top:5px;
        width:auto;
    }



    #mainwidgets .mainwidget
    {
        float:none;
        width:100%;
    }
    /* No padding or borders */
    #mainwidgets .mainwidget
    {
        /* Needs "!important" as otherwise the medium instructions override */
        width:100% !important;
        margin:0 0 40px 0 !important;
    }

    #footer
    {
        height:unset;
    }
    #footer .footeritem
    {
        width: calc(100% - 20px);
        float: left;
        margin-left: 10px;
    }
    #footer .footeritem:nth-child(2)
    {
        width: calc(100% - 20px);
        float: left;
        margin-left: 10px;
        margin-top: 30px;
        text-align: left;
    }
}


.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;
    z-index:9999;
}
.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;
}