﻿@font-face {
	font-family: 'Avenir-Demi';
	src: url('../../Font/Avenir-Demi.woff2') format('woff2');
	font-weight: bold;
	font-display: swap; 
}
@font-face {
	font-family: 'Avenir-Regular';
	src: url('../../Font/Avenir-Reg.woff2') format('woff2');
	font-weight: normal;
	font-display: swap; 
}

*, *::before, *::after {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
}

html, body, form.mainform
{
    height: 100%;
}
.wrapper
{
    min-height: 100%;
    margin: 0 auto -230px; /* Note, both footer and cmslogos */
}

body 
{
    padding: 0;
    margin: 0;
    font-size: 1.19rem;
    line-height:1.74rem;
    background-color: #fff;
    color: #333;
	font-family: 'Avenir-Regular', Arial, sans-serif;
}
b, strong
{
    font-family: 'Avenir-Demi', Arial, sans-serif;
}

h1
{
    font-size:1.7em;
    margin:0 0 25px;
    color:#000;
    font-weight:normal;
    font-family: 'Avenir-Demi', Arial, sans-serif;
}
h2
{
    margin:20px 0;
    font-size:1.4em;
}
h2.subsection
{
    margin-top:30px;
}
h3
{
    margin:20px 0;
    font-size:1.2em;
}
h4
{
    margin:20px 0;
}

p
{
    margin: 10px 0;
}


/* 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: #da3949;
    text-decoration:none;
}
a:hover, a:active
{
    color:#006da4;
}


/* Css Button */
.cssbutton
{
    background-color: #414141;
    display:inline-block;
    margin: 0 10px 5px 0;
    transition: background-color 0.2s ease;
}
.cssbutton:hover
{
    background-color: #cd2fb0;
}
.cssbutton a
{
    display:block;
    padding: 4px 8px;
    color: #fff !important;
    text-decoration: none !important;
    white-space: nowrap;
    border-bottom:0 !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:1280px;
}


/* Header */
#header
{
    width:100%;
    padding-top:42px;
}
#header .headerinner
{
    margin:0 auto;
    overflow:hidden;
}
/* Header cookie consent */
#header #headercookie
{
    background-color:#323e48;
    position:fixed;
    bottom:0;
    right:0;
    left:0;
    z-index:200;
}
#header #headercookie .headerinner
{
    padding:0 10px;
}
#header #headercookie #headercookiecontent
{
    display:table;
    width:100%;
}
#header #headercookie #headercookietext
{
    display:table-cell;
    width:80%;
    padding:10px 0;
    color:#e0e0e0;
}
#header #headercookie #headercookietext a
{
    color:#e0e0e0;
    text-decoration:underline;
}
#header #headercookie #headercookieclose
{
    display:table-cell;
    vertical-align:top;
    width:1%;
    text-align:right;
    padding:10px 0 10px 10px;
}
#header #headercookie #headercookieclose .cssbutton
{
    background-color:#fff;
    margin:0;
}
#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;
    height:35px;
    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 ul li a:focus
{
    outline-offset:-5px;
}
#header .headermoreitemarrow
{
    font-size:0.7em;
}
/* Header top nav */
#header #headertop
{
    position:fixed;
    top:0;
    right:0;
    width:100%;
    background-color:#323e48;
    z-index:100;
    box-shadow: 0 0 5px #000;
}
#header #headertoplist
{
    height:42px;
}
#header #headertop ul
{
    text-align:right;
}
#header #headertop ul li
{
    height:42px;
}
#header #headertop ul li:hover
{
    background-color:#cd2fb0;
}
#header #headertop ul li a
{
    padding:7px 10px;
    font-size:1em;
    font-weight:bold;
    color:#fff;
}
/* Header top main banner */
#header #headermain
{
    background-color:#fff;
}
#header #headermain .headerinner
{
}
#header #headermain #headermaincontent
{
    vertical-align:middle;
    padding:10px;
}
#header #headermain #headermainname
{
    margin:20px 0;
}
#header #headermain #headermainname a
{
    font-size:2em;
    text-decoration:none;
    color:#444;
}
#header #headermain #headermainname a img
{
    vertical-align:middle;
}
#header #headermain #headermainname a span
{
    vertical-align:middle;
    margin-left:10px;
}
#header #headermain #headermainname a #headermainnamemobile
{
    display:none;
}
/* Header main menu */
#header #headermenu
{
    background-color:#fff;
    color:#000;
}
#header #headermenu::after
{
    content:"";
    border-bottom:1px solid #cd2fb0;
    display:block;
}
#header #headermenulist
{
    height:35px;
}
#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 a
{
    padding:2px 10px;
    font-size:1.05rem;
    color:#000;
    font-family: 'Avenir-Demi', Arial, sans-serif;
}
#header #headermenu ul li a:hover
{
    color:#cd2fb0;
}
#header #headermenu ul li.selected
{
    border-top:3px solid #cd2fb0;
    border-bottom:3px solid #cd2fb0;
    background-color:#cd2fb0;
}
#header #headermenu ul li.selected a
{
    color:#fff;
}

/* Header banner message */
#header #headerbanner
{
    color:#000;
    text-align:center;
    background-color:#fa8072;
}
#header #headerbanner .headerinner
{
    padding:10px;
    display:table;
    width:100%;
}
#header #headerbanner p
{
    margin:0px;
}
#header #headerbanner a
{
    color:#000;
    text-decoration:underline;
}
#header #headerbanner #headerbannertext
{
    display:table-cell;
    vertical-align:top;
}
#header #headerbanner #headerbannerhide
{
    display:table-cell;
    width:1%;
    padding-left:10px;
    vertical-align:middle;
}
#header #headerbanner #headerbannerhide .cssbutton
{
    margin:0;
}


/* Main area */
#main
{
    margin: 0 auto;
    padding:30px 20px 0;
    clear:both;
}
/* Links */
#main a:link,
#main a:visited
{
    border-bottom: 1px dashed #da3949;
    text-decoration:none;
}
#main a:hover,
#main a:active
{
    border-bottom:1px dashed #006da4;
}


/* Main content area */
#maincontent
{
    float:left;
    width:70%;
    padding:10px;
}

/* Widgets - note, the padding is set by the individual widgets, due to the separator line */
#mainwidgets
{
    float:left;
    width:30%;
    padding:0 0 10px 0;
}

/* If full width (i.e. there are no widgets) */
#maincontent.mainfullwidth
{
    width:100%;
}
#mainwidgets.mainfullwidth
{
    display:none;
}

/* Individual widget */
#mainwidgets .mainwidget
{
    width:100%;
    padding:10px 0;
}
#mainwidgets .mainwidgetcontainer
{
    padding:0 10px 1px 10px;
}
#mainwidgets .mainwidgetheader
{
    font-size:1.3em;
    padding:5px;
    background-color:#323e48;
    color:#fff;
}
#mainwidgets .mainwidgetcontent
{
    overflow:hidden;
    position:relative;
    background-color:#f2f2f2;
    padding:10px;
}
#mainwidgets .mainwidgetcontent a,
#mainwidgets .mainwidgetcontent a:visited
{
    color:#9E1919;
    border-bottom-color:#9E1919;
}
#mainwidgets .mainwidgetcontent a:hover,
#mainwidgets .mainwidgetcontent a:active
{
    color:#006da4;
    border-bottom-color:#006da4;
}

#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;
}



/* CMS logos */
#cmslogos
{
    display: -ms-flexbox;
    display: flex;
    flex-direction: row;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    margin:0 auto;
}
#cmslogos > div
{
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
    margin:0 10px 20px;
}
#cmslogos > div img
{
    display: block;
    max-width: 100%;
    height:auto;
}

/* Footer */
#footer
{
    height:86px;
    clear:both;
    background-color:#2e2e2e;
    padding: 20px 0 40px;
    border-top: 4px solid #cd2fb0;    
}
#footer .footerinner
{
    margin: 0 auto;
    text-align:center;
    color:#fff;
    padding:0 0 5px 10px;
}
#footer .footerinner a
{
    color:#fff;
}




/* 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: 'Avenir-Regular', Arial, sans-serif;
    font-size:16px;
}



/* 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:7px;
}
.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-height:759px)
{
    #header #headertop
    {
        position:absolute;
    }
}


/* Medium - main takes up entire width, widgets takeup 50% */
@media screen and (max-width:899px)
{
    #main
    {
        min-height:400px;
        padding-left:10px;
        padding-right:10px;
    }

    /* Take up entire width */
    #maincontent
    {
        width:100%;
        padding:10px;
    }
    
    /* Take up entire width, but now padding is added */
    #mainwidgets
    {
        width:100%;
        padding:10px;
    }
    
    /* 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;
        clear:both;
    }
    /* Even (right rise) has just left padding, keeping the border */
    #mainwidgets .mainwidget:nth-child(even) .mainwidgetcontainer
    {
        padding:0 0 0 10px;
    }
}

@media screen and (max-width:699px)
{
    #header #headercookie
    {
        position:static;
        bottom:unset;
        right:unset;
        left:unset;
    }
    #header #headercookie #headercookietext,
    #header #headercookie #headercookieclose
    {
        display:block;
        width:100%;
        text-align:left;
    }
    #header #headercookie #headercookieclose
    {
        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;
    }
}

/* Small - main takes up entire width, widgets take up entire width */
/* If changing, update fullCollapse in header.js */
@media screen and (max-width:499px)
{
    .wrapper
    {
        min-height:0;
        margin-bottom:0;
    }

    #header
    {
        padding-top:0;
    }
    #header #headertop
    {
        position:relative;
        top:unset;
        right:unset;
    }
    #header #headertoplistmore li
    {
        background-color:#cd2fb0;
        border-bottom:1px solid #a0a0a0 !important;
        display:block !important;
        min-width:200px;
    }
    #header #headertoplistmore li:first-child
    {
        border-top:1px solid #a0a0a0 !important;
    }
    #header #headertoplistmore li a
    {
        width:100%;
    }
    #header #headermenulistmore li,
    #header #headersubmenulistmore li
    {
        border-top:1px solid #a0a0a0 !important;
        border-left:0 !important;
        display:block !important;
        padding-top:2px;
    }
    #header #headermenulistmore li a,
    #header #headersubmenulistmore li a
    {
        width:100%;
    }
    #header #headermain #headermainname a #headermainnamenormal
    {
        display:none;
    }
    #header #headermain #headermainname a #headermainnamemobile
    {
        display:inline;
    }
    
    #mainwidgets .mainwidget
    {
        float:none;
        width:100%;
        border-top:1px solid #a0a0a0;
    }
    /* No padding or borders */
    #mainwidgets .mainwidget .mainwidgetcontainer
    {
        /* Needs "!important" as otherwise the medium instructions override */
        padding:0px !important;
        border-left:0 !important;
    }
    
    #main
    {    
        min-height:0;
        padding-left:5px;
        padding-right:5px;
    }

    #cmslogos > div
    {
        max-width:100px;
    }


    #footer
    {
        height: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;
    z-index:9999;
}
.editContentEdit img
{
    margin:3px 0 3px 3px;
    display:block;
}


/* jquery dialog header */
.ui-widget-header
{
    background-color:#cd2fb0 !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;
}