﻿@font-face {
    font-family: "Milo Bold";
    src:url(../../fonts/milo-bold.eot);
    src:url(../../fonts/milo-bold.eot?#iefix) format("embedded-opentype"),url(../../fonts/milo-bold.woff) format("woff"),url(../../fonts/milo-bold.ttf) format("truetype");
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: "Milo Medium";
    src:url(../../fonts/milo-medium.eot);
    src:url(../../fonts/milo-medium.eot?#iefix) format("embedded-opentype"),url(../../fonts/milo-medium.woff) format("woff"),url(../../fonts/milo-medium.ttf) format("truetype");
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: "Milo Regular";
    src:url(../../fonts/milo-regular.eot);
    src:url(../../fonts/milo-regular.eot?#iefix) format("embedded-opentype"),url(../../fonts/milo-regular.woff) format("woff"),url(../../fonts/milo-regular.ttf) format("truetype");
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: "Milo Black";
    src:url(../../fonts/milo-black.eot);
    src:url(../../fonts/milo-black.eot?#iefix) format("embedded-opentype"),url(../../fonts/milo-black.woff) format("woff"),url(../../fonts/milo-black.ttf) format("truetype");
    font-weight: normal;
    font-style: normal;
}

*, *::before, *::after {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
}


html, body, form.mainform
{
    height: 100%;
}
.wrapper
{
    min-height: 100%;
    margin: 0 auto -48px;
}
#footerFix
{
    height:48px;
}

body 
{
    padding: 0;
    margin: 0;
    font-size: 16px;
    background-color: #ffffff;
    color: #000;
    font-family: "Milo Regular","Helvetica Neue",Helvetica,Roboto,Arial,sans-serif;
    font-weight:400;
    line-height:1.5;
}

h1, h2, h3, h4
{
    font-family: "Milo Bold","Helvetica Neue",Helvetica,Roboto,Arial,sans-serif;
    letter-spacing: 0;
    font-weight:400;
    font-style:normal;
    color:#EB0A19;
    letter-spacing: 0;
}
h1
{
    font-size: 36px;
    line-height: 40px;
    margin: 0 0 10px;
}
h2
{
    font-size: 28px;
    line-height: 32px;
    margin:5px 0;
    font-size:1.5em;
}
h2.subsection
{
    margin-top:30px;
}
h3
{
    font-size: 28px;
    line-height: 32px;
    margin:5px 0;
    font-size:1.3em;
}

p
{
    margin: 10px 0;
    line-height:1.35;
}

/* Font awesome */
.far {
    font-size:18px;
}
.fa-red {
    color:#D00;
}
.fa-blue {
    color:#5f9edf;
}


/* Hidden */
#accesslinks, .skiplink
{
    display:none;
}

/* Links */
a:link, a:visited
{
    color: #000;
    transition: color 0.2s ease;
}
a:hover, a:active
{
    color: #444;
}


/* Css Button */
.cssbutton
{
    background-color: #1b25aa;
    display:inline-block;
    margin: 0 10px 5px 0;
    -webkit-transition: .3s ease;
    -o-transition: .3s ease;
    -moz-transition: .3s ease;
    transition: .3s ease;
}
.cssbutton:hover
{
    background-color: #4854fd;
}
.cssbutton a
{
    font-family: "Milo Medium","Helvetica Neue",Helvetica,Roboto,Arial,sans-serif;
    font-size:16px;
    line-height:20px;
    display:block;
    padding: 10px 40px;
    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:1200px;
}

.clearboth
{
    clear:both;
}


/* Header */
#header
{
    width:100%;
}
#header .headerinner
{
    margin:0 auto;
    overflow:hidden;
}
/* Header cookie consent */
#header #headercookie
{
    background-color:#323232;
}
#header #headercookie #headercookiecontent
{
    display:table;
}
#header #headercookie #headercookietext
{
    display:table-cell;
    vertical-align:top;
    color:#e0e0e0;
    font-size:0.9em;
    padding:10px;
}
#header #headercookie #headercookietext a
{
    color:#e0e0e0;
}
#header #headercookie #headercookieclose
{
    display:table-cell;
    vertical-align:top;
    width:1%;
    padding:10px;
}
#header #headercookie #headercookieclose .cssbutton
{
    background-color:#fff;
}
#header #headercookie #headercookieclose .cssbutton a
{
    color:#000 !important;
}
/* Lists within the header */
#header ul
{
    margin:0;
    padding:0;
}
#header ul li
{
    list-style-type: none;
    display:inline-block;
}
#header ul li a
{
    display:inline-block;
    text-decoration:none;
}
#header .headermoreitemarrow
{
    font-size:0.7em;
}
/* Header top nav */
#header #headertop
{
    background-color:#f5f5f7;
    border-bottom:1px solid #ceced2;
}
#header #headertoplist
{
}
#header #headertop ul
{
    text-align:right;
    line-height:1.6;
    font-size:16px;
}
#header #headertop ul li
{
    border-right:1px solid #ceced2;
    -webkit-transition: .4s ease;
    -o-transition: .4s ease;
    -moz-transition: .4s ease;
    transition: .4s ease;
}
#header #headertop ul li:first-child
{
    border-left:1px solid #ceced2;
}
#header #headertop ul li:hover
{
    background-color:#fff;
}
#header #headertop ul li a
{
    padding:14px 50px;
    font-size:14px;
    line-height:18px;
    color:#3c3c3b;
}
#header #headertop #headertoplistmore
{
    border-top:1px solid #ceced2;
}
/* Header top main banner */
#header #headermain
{
    background-color:#fff;
    border-bottom:1px solid #ceced2;
}
#header #headermain #headermaincontent
{
    display:table;
    padding:16px;
    width:100%;
}
#header #headermain #headermainlogo
{
    display:table-cell;
    width:20%;
}
#header #headermain #headermainlogomobile,
#header #headermain #headermainlogomobilecenter
{
    display:none;
}
#header #headermain #headermainlogo img
{
    display: inline-block;
    vertical-align: middle;
    max-width: 100%;
    height: 100px;
    -ms-interpolation-mode: bicubic;
}
#header #headermain #headermainnav
{
    display:table-cell;
    text-align:right;
}
#header #headermain #headermainnav ul
{
    font-size:18px;
    font-weight:700;
}
#header #headermain #headermainnav ul li
{
    padding-right:29px;
}
#header #headermain #headermainnav ul li a
{
    display: block;
    color: #3c3c3b;
    font-family: "Milo Medium","Helvetica Neue",Helvetica,Roboto,Arial,sans-serif;
    font-size: px;
    line-height: 24px;
    letter-spacing: 0;
    transition:color .2s linear,background .2s linear
}
#header #headermain #headermainnav ul li:hover a
{
    color: #EB0A19;
}
#header #headermain #headermainnav #headermainburger,
#header #headermain #headermainnav #headermainnavmobiletoplist
{
    display:none;
}



/* Header banner message */
#header #headerbanner
{
    color:#000;
    text-align:center;
    background-color:#fa8072;
}
#header #headerbanner .headerinner
{
    display:table;
}
#header #headerbanner p
{
    margin:0px;
}
#header #headerbanner #headerbannertext
{
    display:table-cell;
    vertical-align:top;
    padding:10px;
}
#header #headerbanner #headerbannerhide
{
    display:table-cell;
    width:1%;
    vertical-align:top;
    padding:10px;
}


/* Main area */
#main
{
    margin: 0 auto;
    clear:both;
    font-size: 20px;
    line-height: 26px;
    letter-spacing: 0;
    color: #000;
}

/* Main content area */
#maincontent
{
    float:left;
    width:66.6666%;
    padding:20px;
}

/* the h1.pageTitle should be hidden within the content (because it should have been copied to the header) - but re-appear if content is inline-edited */
#maincontent h1.pageTitle
{
    display:none;
}
#maincontent .fr-box h1.pageTitle
{
    display:unset;
}

/* Widgets - note, the padding is set by the individual widgets, due to the separator line */
#mainwidgets
{
    float:left;
    width:33.3334%;
    padding:20px;
    display:flex;
    flex-wrap:wrap;
}

/* If full width (i.e. there are no widgets) */
#maincontent.mainfullwidth
{
    width:100%;
}
#mainwidgets.mainfullwidth
{
    display:none;
}

/* Individual widget */
#mainwidgets .mainwidget
{
    width:100%;
    margin-bottom:40px;
}
#mainwidgets .mainwidgetcontainer
{
    height:100%;
    -webkit-box-shadow: 0 8px 12px 4px rgba(58,59,72,.2);
    -moz-box-shadow: 0 8px 12px 4px rgba(58,59,72,.2);
    box-shadow: 0 8px 12px 4px rgba(58,59,72,.2);
}
#mainwidgets .mainwidgetheader
{
    font-size:1.3em;
    padding:20px 20px 0;
    color:#000;
}
#mainwidgets .mainwidgetcontent
{
    position:relative;
    padding:10px 20px 20px;
    letter-spacing: 0;
    color: #000;
}
#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
{
    clear:both;
    background-color:#071478;
    padding: 15px 0;
}
#footer #footerinner
{
    margin: 0 auto;
    padding:0 20px;
    color:#fff;
    font-size: 14px;
    line-height: 18px;
}
#footer #footerinner #footerleft
{
    float:left;
    width:50%;
}
#footer #footerinner #footerleft ul
{
    list-style:none;
    padding:0;
    margin:0;
}
#footer #footerinner #footerleft ul li
{
    display:inline-block;
    margin-right:45px;
}
#footer #footerinner #footerright
{
    float:right;
    width:50%;
    text-align:right;
    color:#fff;
    opacity:0.7;
}
#footer #footerinner a
{
    color:#fff;
    opacity:0.7;
    -webkit-transition: .3s;
    -o-transition: .3s;
    -moz-transition: .3s;
    transition: .3s;
    text-decoration:none;
}
#footer #footerinner a:hover
{
    opacity:1;
}



/* 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;
}

/*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;
}

@media screen and (max-width:1439px)
{
    .maxwidth
    {
        width:unset;
    }
}


@media screen and (max-width:1439px)
{
    #maincontent,
    #mainwidgets
    {
        padding:15px;
    }

    #footer #footerinner
    {
        padding:0 15px;
    }
}

@media screen and (max-width:1199px)
{
    #footerFix
    {
        height:114px;
    }

    #main
    {
        padding-left:25px;
        padding-right:25px;
    }

    #footer #footerinner
    {
        padding:15px 55px;
        vertical-align:bottom;
    }

    #footer #footerinner #footerleft ul li
    {
        display:block;
    }
}

@media screen and (max-width:1023px)
{
    #header #headermain #headermainnav ul li
    {
        padding-right:8px;
    }

    /* Take up entire width */
    #maincontent,
    #mainwidgets
    {
        width:100%;
    }

    #mainwidgets .mainwidget
    {
        float:left;
        width:calc(50% - 20px);
    }
    #mainwidgets .mainwidget:nth-child(odd)
    {
        margin-right:20px;
        clear:both;
    }
    #mainwidgets .mainwidget:nth-child(even)
    {
        margin-left:20px;
    }

    #footer #footerleft 
}


@media screen and (max-width:835px)
{
    body.menuopen {
        overflow:hidden;
    }

    #header #headertop
    {
        display:none;
    }

    #header #headermain
    {
        border-bottom:0;
    }
    #header #headermain #headermaincontent
    {
        padding:16px 0;
        line-height:1;
    }
    #header #headermain #headermainlogo
    {
        display:none;
    }
    #header #headermain #headermainlogomobile
    {
        display:table-cell;
        width:25%;
        text-align:center;
    }
    #header #headermain #headermainlogomobilecenter
    {
        display:table-cell;
        width:50%;
    }
    #header #headermain #headermainnav
    {
        font-size:24px;
        width:25%;
        text-align:center;
    }
    #header #headermain #headermainnav #headermainnavcontainer
    {
        margin: 0;
        position: fixed;
        top: 68px;
        left: 100%;
        width: 100%;
        z-index: 11;
        height: -webkit-calc(100% - 64px);
        height: -moz-calc(100% - 64px);
        height: calc(100% - 64px);
        background-color: #fff;
        /* Note, if changing transition from 400ms, update header.js */
        -webkit-transition: .4s ease;
        -o-transition: .4s ease;
        -moz-transition: .4s ease;
        transition: .4s ease;
        overflow-y: scroll;
        -webkit-overflow-scrolling: touch;
        z-index:2000;
        margin-bottom:20px;
    }
    body.menuopen #header #headermain #headermainnav #headermainnavcontainer
    {
        left:0;
        border-top:1px solid #ceced2;
    }
    #header #headermain #headermainnav #headermainnavmobiletoplist,
    #header #headermain #headermainnav #headermainnavmobilestaticlist
    {
        padding:0;
        display:none;
        transition:display ease .1s;
    }
    #header #headermain #headermainnav #headermainnavcontainer.showmenu ul
    {
        display:block;
    }
    #header #headermain #headermainnav #headermainnavmobiletoplist
    {
        margin-bottom:20px;
    }
    #header #headermain #headermainnav #headermainnavmobilestaticlist li:first-child
    {
        border-top:1px solid #ceced2;
    }
    #header #headermain #headermainnav ul li
    {
        display:block;
        border-bottom:1px solid #ceced2;
        background-color: #f7f8fa;
    }
    #header #headermain #headermainnav ul li:hover
    {
        background-color: #f7f8fa;
    }
    #header #headermain #headermainnav ul li a
    {
        font-family: 'Milo Regular';
        font-size:16px;
        line-height:20px;
        padding:18px 20px;
        color:#3c3c3b;
        text-align:left;
    }
    #header #headermain #headermainnav ul li:hover a
    {
        color:#E10918;
    }
    
    #header #headermain #headermainnav #headermainburger
    {
        display:inline-block;
        padding: 0;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        border: 0;
        -webkit-border-radius: 0;
        -moz-border-radius: 0;
        border-radius: 0;
        background: 0 0;
        line-height: 1;
        cursor: pointer;
    }

    #header #headercookie .headerinner,
    #header #headerbanner .headerinner
    {
        display:block;
    }
    #header #headercookie #headercookietext,
    #header #headerbanner #headerbannertext
    {
        display:block;
        padding:5px;
    }
    #header #headercookie #headercookieclose,
    #header #headerbanner #headerbannerhide
    {
        display:block;
        text-align:right;
        padding-top:5px;
        width:auto;
        padding:5px;
    }
    
    #main
    {
        font-size: 16px;
        line-height: 20px;
        padding-left:5px;
        padding-right:5px;
    }

    #mainwidgets .mainwidget:nth-child(odd),
    #mainwidgets .mainwidget:nth-child(even)
    {
        float:none;
        width:100%;
        margin-left:0;
        margin-right:0;
    }
}




.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:1000;
}
.editContentEdit img
{
    margin:3px 0 3px 3px;
    display:block;
}
