﻿*, *::before, *::after {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
}

html, body, form.mainform
{
    height: 100%;
}
.wrapper
{
    min-height: 100%;
    margin: 0 auto -61px;
}

body 
{
    font-family: "Inter", sans-serif;
    font-size: 1rem;
    color: #194059;
    line-height: 1.5;
    scroll-behavior: smooth;
    text-rendering: optimizeSpeed;
    padding: 0;
    margin: 0;
    background-color: #ffffff;
}

h1,h2,h3
{
    font-family: "Bitter", sans-serif;
    font-weight:500;
}
h1
{
    font-size:2.441rem;
    margin:0 0 10px;
}
h2
{
    font-size:1.953rem;
    margin:5px 0;
}
h1.subsection
{
    margin-top:30px;
}
h3
{
    font-size:1.563rem;
    margin:5px 0;
}

p
{
    margin: 0 0 1.5rem;
    line-height: 1.71429;
}


/* Hidden */
#accesslinks, .skiplink
{
    display:none;
}

/* Links */
a:link
{
    color: #00e;
    text-decoration:none;
}
a:hover, a:visited, a:active
{
    color: #2a2aec;
}
a:hover
{
    text-decoration:underline;
}
a:focus
{
    outline: 5px solid;
    outline-offset:2px;
}


/* Css Button */
.cssbutton
{
    background-color: #5F295F;
    display:inline-block;
    margin: 0 10px 5px 0;
    transition: background-color 0.3s ease;
}
.cssbutton:hover
{
    background-color: #8a2a9c;
}
.cssbutton a
{
    display:block;
    padding: 4px 8px;
    color: #fff !important;
    text-decoration: none !important;
    white-space: nowrap;
}
.cssbutton a:focus
{
    outline-color: blue;
}


/* 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:80rem;
}


/* Header */
#header
{
    width:100%;
}
#header .headerinner
{
    margin:0 auto;
    overflow:hidden;
}
/* 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;
}
/* Header top nav */
#header #headertop #headertopcontent
{
    text-align:right;
}
#header #headertop #headertopcontent ul {
    margin:0;
    padding:0;
    list-style-type:none;
}
#header #headertop #headertopcontent li {
    display:inline-block;
    margin-right:.75rem;
}
#header #headertop #headertopcontent li a
{
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    font-size: .875rem; /*14px*/    
    color:#194059;
    text-decoration:none;
}
#header #headertop #headertopcontent li a:hover {
    box-shadow: 0 0.1875rem #194059;
}
#header #headertop #headertopcontent li a i {
    margin-right:.75rem;
}
#header #headertop #headertopcontent li::after {
    content: "/";
    margin-left: .75rem;
}
#header #headertop #headertopcontent li:last-of-type {
    margin-right: .75rem;
}
#header #headertop #headertopcontent li:last-of-type::after {
    display:none;
}
/* Header top main banner */
#header #headermain
{
    background-color:#fff;
}
#header #headermain img
{
    height: 80px;
    margin-bottom:20px;
}
#header #headermain ul {
    float:right;
    margin:0;
    padding:0;
    list-style-type:none;
    margin-top:24px;
}
#header #headermain ul li {
    display:inline-block;
}
#header #headermain ul li a {
    color:#2d2926;
    text-decoration:none;
    margin: 0 1.5rem;
    padding: .75rem 0;
    font-weight: 700;
    line-height: 2;
    position:relative;
    font-size:1.25rem;
}
#header #headermain ul li a:hover {
    color: #5f295f;
    width:100%;
}
#header #headermain ul li a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 4px;
    background-color: #5f295f;
    transition: width .3s;
    backface-visibility: hidden;
}
#header #headermain ul li a:hover::before {
    width:100%;
}
#header #headerjobs
{
    background-color: #5f295f;
    height: 80px;
}
#header #headerjobs #headerjobscontent
{
    padding-left:10px;
    font-size:30px;
    font-weight:700;
    line-height:80px;
    color:#fff;

}
/* Header banner message */
#header #headerbanner
{
    color:#000;
    text-align:center;
    background-color:#fa8072;
}
#header #headerbanner .headerinner
{
    padding:5px 0;
    display:table;
}
#header #headerbanner p
{
    margin:0px;
}
#header #headerbanner p a
{
    color:#000;
    text-decoration:underline;
}
#header #headerbanner #headerbannertext
{
    display:table-cell;
    vertical-align:top;
}
#header #headerbanner #headerbannerhide
{
    display:table-cell;
    width:150px;
    vertical-align:middle;
}


/* Main area */
#main
{
    width:100%;
    max-width:1080px;
    margin: 0 auto;
    clear:both;
    padding:24px 12px 0;
}

/* Left nav area */
#mainleftnav
{
    float:left;
    width:18%;
    margin-bottom:1.5rem;
}

#mainprimary
{
    float:right;
    width:80%;
}

#mainheader
{
    margin-bottom:1.5rem;
}
#mainheader h1
{
    line-height: 1.2;
    padding: 1.5rem 1.5rem 1.5rem 0;
    margin:0;
}

/* Main content area */
#maincontent
{
    float:left;
    width:67%;
    margin-bottom:1.5rem;
}
#maincontent h1.pageTitle
{
    display:none;
}
#maincontent a
{
    text-decoration:underline;
}

/* Widgets - note, the padding is set by the individual widgets, due to the separator line */
#mainwidgets
{
    float:right;
    width:31.5%;
    margin-bottom:1.5rem;
}

/* If full width (i.e. there are no widgets) */
#maincontent.mainfullwidth
{
    width:100%;
}
#mainwidgets.mainfullwidth
{
    display:none;
}

/* Individual widget */
#mainwidgets .mainwidget
{
    margin-bottom:30px;
}
#mainwidgets .mainwidgetheader
{
    color:#5F295F;
    padding: 0.75rem 0.375rem;
    margin: 0 0 0.375rem 0;
    font-size: 1rem;
    line-height: 3;
    font-weight: 400;
    clear: none !important;
    border: 1px solid rgba(4, 97, 158, 0.12);
    background-color: rgba(242, 248, 252, 0.5);
    line-height: 1.6;
}
#mainwidgets .mainwidgetcontent
{
    position:relative;
}
#mainwidgets .mainwidgetcontent p
{
    margin:8px 0;
    line-height:normal;
}
#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;
}


/* Partner logos */
#logos
{
    float:left;
    display:flex;
    align-items: center;
    justify-content:center;
    flex-wrap:wrap;
    width:100%;
    margin-bottom:1.5rem;
}
#logos img
{
    width:100%;
    margin:10px;
}

/* Footer */
#footer
{
    min-height:61px;
    clear:both;
    background-color:#5F295F;
}
#footer .footerinner
{
    margin: 0 auto;
    text-align:right;
    overflow:hidden;
}
#footer ul
{
    margin:14px 0;
    padding:0;
    list-style-type:none;
}
#footer ul li {
    display:inline;
    margin-right:.375rem;
    font-size:14px;
}
#footer ul li a
{
    color: #fff !important;
    display: inline-block;
    padding: .375rem .375rem .375rem 0;
}
#footer ul li:first-child
{
    margin-right:3rem;
    float:left;
}
#footer ul li:first-child a
{
    padding:0;
}
#footer ul li img
{
    min-width: 11.38rem;
    height: 1.5rem;
    line-height: .2;
    padding: 0 !important;
    position: relative;
    top: .5rem;
}
#footer ul li.footercopyright
{
    color: #fff;
    margin-right: 1.5rem;
    padding: .375rem .375rem .375rem 0;
}




/* 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;
    margin-bottom:1.5rem;
}
.formattedcontrols p
{
    margin-bottom:.75rem;
}
/* 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:0 0 6px 25px;
    display:block;
}
.listwithproperwrap > label:last-child,
.listwithproperwrap span:last-child label {
    margin-bottom:0;
}
.listwithproperwrap br {
    display:none;
}



@media screen and (max-width:1400px)
{
    #header #headertop .headerinner,
    #header #headermain .headerinner,
    #header #headerjobs .headerinner,
    #footer .footerinner
    {
        max-width:90%;
    }
}

@media screen and (max-width:1100px)
{
}

@media screen and (max-width:960px)
{
    #header #headermain ul
    {
        display:none;
    }

    #main
    {
        padding:0;
    }

    #mainleftnav,
    #mainprimary
    {
        float:none;
        width:100%;
    }
    #mainprimary
    {
        padding:24px 12px 0;
    }
}

/* Medium - main takes up entire width, widgets takeup 50% */
@media screen and (max-width:800px)
{
    #header #headercookie
    {
        position:static;
        bottom:0;
        right:0;
        left:0;
    }
    #header #headercookie #headercookietext,
    #header #headercookie #headercookieclose
    {
        float:none;
        width:100%;
        text-align:left;
    }
    #header #headercookie #headercookieclose
    {
        text-align:right;
    }
    
    #header #headerbanner .headerinner
    {
        display:block;
    }
    #header #headerbanner #headerbannertext
    {
        display:block;
        text-align:left;
        padding:0 10px;
    }
    #header #headerbanner #headerbannerhide
    {
        display:block;
        text-align:right;
        padding-top:5px;
        width:auto;
    }

    /* Take up entire width */
    #maincontent
    {
        width:100%;
    }
    
    /* Take up entire width, but now padding is added */
    #mainwidgets
    {
        width:100%;
    }
    
    /* Individual widgets now take up 50% of the room */
    #mainwidgets .mainwidget
    {
        float:left;
        width:50%;
    }
    /* Odd (left side) needs to clear */
    #mainwidgets .mainwidget:nth-child(odd)
    {
        clear:both;
    }
    /* Odd (left side) have just right padding and no border */
    #mainwidgets .mainwidget:nth-child(odd) .mainwidgetcontainer
    {
        padding:0 10px 0 0;
        border-left:0;
        clear:both;
    }
    /* Even (right rise) has just left padding, keeping the border */
    #mainwidgets .mainwidget:nth-child(even) .mainwidgetcontainer
    {
        padding:0 0 0 10px;
    }

    #footer .footerinner
    {
        text-align:left;
    }
    #footer ul li:first-child
    {
        display:block;
        float:none;
        margin-right:.375rem;
        margin-bottom:.75rem;
    }
}

/* Small - main takes up entire width, widgets take up entire width */
/* If changing, update fullCollapse in #header.js */
@media screen and (max-width:600px)
{
    #mainwidgets .mainwidget
    {
        float:none;
        width:100%;
    }
    /* No padding or borders */
    #mainwidgets .mainwidget .mainwidgetcontainer
    {
        /* Needs "!important" as otherwise the medium instructions override */
        padding:0px !important;
        border-left:0 !important;
    }
}



.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;
}


/* jquery dialog #header */
.ui-widget-#header
{
    background-color:#5F295F !important;
}


/*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;
}



.fa-red {
    color:#D00;
}
