﻿*, *::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, #main
{
    height: 100%;
}
#wrapper
{
    min-height: 100%;
    margin: 0 auto -90px;
}
.clearboth
{
    clear:both;
}

body 
{
    padding: 83px 0 0 0;
    margin: 0;
    background-color: #f5f5f5;
    color: #000;
    font-family: Arial;
    font-size: 16px;
}

h1
{
    font-size:40px;
    margin:2px 0 16px;
    color:#c90062;
    font-weight:normal;
}

h2
{
    margin:5px 0;
    font-size:25px;
    color:#c90062;
}
h2.subsection
{
    margin-top:30px;
}

h3
{
    margin:5px 0;
    font-size:1.3em;
}

p
{
    margin: 10px 0;
    line-height:1.5;
}


/* 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: #000;
    transition: color 0.2s ease;
}
a:hover, a:active
{
    color: #000;
}


/* Css Button */
.cssbutton
{
    background-color: #414141;
    display:inline-block;
    margin: 0 10px 5px 0;
    transition: background-color 0.2s ease;
}
.cssbutton:hover
{
    background-color: #c90062;
}
.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:1030px;
}
#background
{
    background-color:#fff;
    position:fixed;
    top:0;
    left:0;
    right:0;
    bottom:0;
    z-index:-100;
    margin:0 auto;
}

/* Header */
#header
{
    position:fixed;
    top:0;
    left:0;
    right:0;
    width:100%;
    min-height:80px;
    z-index:100;
    background-color:#fff;
    -webkit-box-shadow: 0px 2px 1px 0px rgba(0,0,0,0.15);
    -moz-box-shadow: 0px 2px 1px 0px rgba(0,0,0,0.15);
    box-shadow: 0px 2px 1px 0px rgba(0,0,0,0.15);
}
.headerinner
{
    margin:0 auto;
    overflow:hidden;
    padding:10px 20px 5px;
}

#header #headerlogo
{
    float:left;
}
#header #headerlogo img
{
    vertical-align:middle;
    height:auto;
    width:152px;
    background-color:#87008f;
    transition: margin 0.25s,background-color 250ms;
    margin: 0 0 0 124px;
}

#header .headersearch
{
    float:right;
    margin-top: 20px;
}
#header .headersearch .headersearchtext
{
    width:267px;
    border:1px solid #ddd;
    padding:0.3em;
}
#header .headersearch .headersearchbutton
{
    vertical-align: middle;
    margin: 0 1.5em 0 0.5em;
}

#header #headermenu
{
    padding-left:276px;
    padding-right:315px;
    margin:24px 0 0 0;
}
#header #headermenu ul
{
    margin:10px 0 0 97px;
    padding:0 0 0 40px;
    list-style-type: none;
}
#header #headermenu ul li
{
    display:inline-block;
    margin:0 5px 10px 9px;
}
#header #headermenu ul li a
{
    color:#000;
    text-decoration:none;
    white-space:nowrap;
}
#header #headermenu ul li a:hover
{
    border-bottom: 2px dotted #ddd;
}
#header #headermenu ul li .headermoreitemarrow
{
    font-size:0.7em;
}
#header #headermenu ul li.headermenunavfix
{
    margin-right:0;
}
#header #headermenu ul li.headermenunavfix a
{
    color:#c90062;
}
#header #headermenu ul li.headermenunavfix::after
{
    content: "";
    border-left:2px solid #aeb4ab;
    margin-left:9px;
}
#header #headermenu #headermenunavmore
{
    margin-top:0;
}



/* Header cookie consent */
#headercookie
{
}
#headercookie .headerinner
{
    padding:0 10px;
    background-color:#444;
}
#headercookie #headercookietitle
{
    float:left;
    width:20%;
    margin:10px 0;
}
#headercookie #headercookietitle h2
{
    color:#fff;
    background-color:transparent;
}
#headercookie #headercookietext
{
    float:left;
    width:60%;
    margin:10px 0;
    color:#e0e0e0;
}
#headercookie #headercookietext a
{
    color:#e0e0e0;
}
#headercookie #headercookieclose
{
    float:left;
    width:20%;
    margin:10px 0;
    text-align:right;
}
#headercookie #headercookieclose .cssbutton
{
    background-color:#fff;
}
#headercookie #headercookieclose .cssbutton a
{
    color:#000 !important;
}

/* Header banner message */
#headerbanner
{
    color:#000;
    text-align:center;
}
#headerbanner .headerinner
{
    padding:5px 0;
    background-color:#fa8072;
    display:table;
}
#headerbanner p
{
    margin:0px;
}
#headerbanner #headerbannertext
{
    display:table-cell;
    vertical-align:top;
}
#headerbanner #headerbannerhide
{
    display:table-cell;
    width:150px;
    vertical-align:middle;
}


/* Main area */
#main
{
    margin: 0 auto;
    background-color:#fff;
}

/* Main content area */
#maincontent
{
    float:left;
    width:70%;
}

/* Widgets - note, the padding is set by the individual widgets, due to the separator line */
#mainwidgets
{
    float:left;
    width:30%;
}


/* 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
{
    background-color:#eee;
}
#mainwidgets .mainwidgetheader
{
    font-size:13px;
    font-weight:bold;
    padding:5px 5px 5px 15px;
    background-color:#c90062;
    color:#fff;
}
#mainwidgets .mainwidgetcontent
{
    position:relative;
    font-size:13px;
    padding:5px 10px;
}
#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
{
    clear:both;
    height:90px;
    background-color:#fff;
}
#footer .footerinner
{
    margin: 0 auto;
    text-align:center;
    color:#000;
    padding:0 10px;
}
#footer #footersocial
{
    background-color:#c90062;
    height:38px;
}
#footer #footersocial img
{
    margin: 6px 9px 0;
    width: auto;
    height: 25px;
}
#footer #footermain #footernav
{
    margin:10px 0;
    float:left;
}
#footer #footermain #footercopy
{
    margin:10px 0;
    float:right;
}
#footer #footermain a
{
    color:#000;
    text-decoration:none;
}
#footer #footermain a:hover
{
    text-decoration:underline;
}



/* 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:15px 0;
}
fieldset.radiobuttonlist legend, fieldset.checkboxlist legend
{
    width:100%;
    margin:0;
    padding: 0px 0px 5px 0px;
    *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:5px;
    content:" ";
    display:block;
}

@media screen and (max-width:1700px)
{
    #header #headerlogo img
    {
        margin-left:0;
    }
    #header .headersearch .headersearchtext
    {
        width:235px;
    }
    #header #headermenu
    {
        padding-left:152px;
        padding-right:293px;
    }
    #header #headermenu ul
    {
        margin-left:0;
    }
}

@media screen and (max-width:1380px)
{
    #header .headersearch .headersearchtext
    {
        width:160px;
    }
    #header #headermenu
    {
        padding-right:218px;
    }
}

/* Medium - main takes up entire width, widgets takeup 50% */
@media screen and (max-width:799px)
{
    #wrapper
    {
        min-height:0;
        margin-bottom:0;
    }

    #header .headersearch .headersearchtext
    {
        display:none;
    }
    #header #headermenu
    {
        padding-right:53px;
    }

    #headercookie #headercookietitle,
    #headercookie #headercookietext,
    #headercookie #headercookieclose
    {
        float:none;
        width:100%;
        text-align:left;
    }
    #headercookie #headercookietitle h2
    {
        padding:0;
    }
    
    #headerbanner .headerinner
    {
        display:block;
    }
    #headerbanner #headerbannertext
    {
        display:block;
    }
    #headerbanner #headerbannerhide
    {
        display:block;
        text-align:right;
        padding-top:5px;
        width:auto;
    }


    /* 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
    {
        margin: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
    {
        margin:0 0 0 10px;
    }
    
    #footer
    {
        height:auto;
    }
    #footer #footermain #footernav,
    #footer #footermain #footercopy
    {
        float:none;
    }
}

@media screen and (max-width:599px)
{
    #header #headermenu
    {
        padding-left:0;
        padding-right:0;
    }
    #header #headermenu #headermenunav
    {
        padding-left:192px;
    }
    #header #headermenu #headermenunavmore
    {
        padding-left:0;
    }
}

/* Small - main takes up entire width, widgets take up entire width */
/* If changing, update fullCollapse in header.js */
@media screen and (max-width:499px)
{
    #header
    {
        padding-top:0;
    }
        
    #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:0 !important;
        margin:0 !important;
    }
}

@media screen and (max-width:420px)
{
    body
    {
        padding-top:58px;
    }

    #header
    {
        min-height:55px;
    }
    #header #headerlogo img
    {
        max-height: 45px !important;
        max-width: 100px;
        margin: 0 5px 0 0;
        vertical-align: baseline;
    }
    #header .headersearch
    {
        margin:0;   
    }
    #header .headersearch .headersearchbutton
    {
        margin:0;
    }
    #header #headermenu
    {
        margin:0;
    }
    #header #headermenu #headermenunav
    {
        padding-left: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;
}
.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:1000;
}
.skipToContent:focus
{
    top:40px;
    opacity:1;
    outline:1px solid grey;
}
.skipToContent div
{
    padding:10px;
}

#bodypopup
{
    padding-top: 5px;
}

#maincontent ul li, #maincontent ol li
{
    padding-top:10px;
}