﻿*, *::before, *::after {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
}

html, body, form.mainform
{
    height: 100%;
}
.wrapper
{
    min-height: 100%;
    margin: 0 auto -86px;
}

body 
{
    padding: 0;
    margin: 0;
    font-family: "area-variable", sans-serif;
    font-size:1rem;
    font-weight:450;
    line-height:1.5;
    color:var(--font);
    background-color:var(--background);
}

h1
{
    color: var(--main-dark);
    line-height: 1.1;
    clear: both;
    font-size: clamp(30px, 2.6vw, 60px);
    font-weight:800;
    font-weight: unset;
}
h1.subsection
{
    margin-top:30px;
}

h2
{
    margin:5px 0;
    font-size:1.5em;
    font-weight:normal;
}

h3
{
    margin:5px 0;
    font-size:1.3em;
    font-weight:normal;
}

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: #31196D;
    transition: color 0.2s ease;
    text-decoration:none;
    font-weight:600;
}
a:hover, a:active
{
    color: #D82679;
    text-decoration:underline;
}


/* Css Button */
.cssbutton
{
    background-color:var(--button);
    border:2px solid var(--button-border);
    display:inline-block;
    margin: 0 10px 5px 0;
    border-radius:150px;
    transition: background-color 0.2s ease;
}
.cssbutton:hover
{
    background-color:var(--button-hover);
    border:2px solid var(--button-hover-border);
}
.cssbutton a
{
    display:block;
    padding:13.5px 28px 12px;
    color: var(--button-font);
    text-decoration: none !important;
    white-space: nowrap;
    line-height:1.2;
}
.cssbutton:hover a {
    color: var(--button-hover-font);
}


/* 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;
}



/* Sticky Header */
#headertopsticky {
    position:sticky;
    top:0;
    left:0;
    right:0;
    z-index:5;
}
#headertopsticky .headerinner {
    width:100%;
    max-width:1280px;
    margin:0 auto;
    overflow:hidden;
}
#headertopsticky #headertopcontainer {
    background-color:#fff;
    box-shadow: rgba(0,0,0,0.08) 0px 1px 12px;
    display:flex;
    align-content:stretch;
    align-items:center;
    width:calc(100% - 40px);
    margin:20px;
    padding:15px;
    border-radius:150px;
    position:relative;
    z-index:200;
}
#headertopsticky #headerlogo,
#headertopsticky #headertitle {
    width:305px;
    margin-right:20px;
}
#headertopsticky .headerlogosvg {
    height:35px;
    width:305px;
    fill: var(--main);
    vertical-align:middle;
}
#headertopsticky #headertitle {
    padding:5px 0 0 5px;
    line-height:1;
}
#headertopsticky #headertitle a {
    font-size:1.5em;
    color:var(--main);
    white-space:nowrap;
}
#headertopsticky #headertitle a:hover {
    text-decoration:none;
}
#headertopsticky #headermenu {
    flex-grow:1;
    text-align:right;
}
#headertopsticky ul {
    list-style:none;
    margin:0;
    padding:0;
    display:flex;
    justify-content:flex-end;
    align-items:center;
}
#headertopsticky ul li {
    display:inline-block;
    padding-right:30px;
}
#headertopsticky ul li a {
    text-decoration:none;
    color: var(--main);
    font-size: 15px;
    margin-bottom: -2px;
    display: block;
    transition: color ease .3s;
}
#headertopsticky ul li a:hover {
    color: #b01e24;
}

#headertopsticky #headermobiletrigger,
#headertopsticky #headermobilelist {
    display:none;
}


/* Header */
#header
{
    width:100%;
    margin-bottom:30px;
}
#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:10px 20px;
}
#header #headercookie #headercookiecontent
{
    display:table;
}
#header #headercookie #headercookietext
{
    display:table-cell;
    color:#e0e0e0;
    padding-right:10px;
}
#header #headercookie #headercookietext a
{
    color:#e0e0e0;
    text-decoration:underline;
}
#header #headercookie #headercookieclose
{
    display:table-cell;
    width:1%;
    text-align:right;
}
#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:33px;
    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 .headermoreitemarrow
{
    font-size:0.7em;
}

/* Header banner message */
#header #headerbanner
{
    color:#000;
    text-align:center;
    font-weight:bold;
}
#header #headerbanner .headerinner
{
    padding:5px 0;
    background-color:#fa8072;
    display:table;
}
#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;
}


/* Main area */
#main
{
    margin: 0 auto;
    max-width:1000px;
}
#mainend
{
    clear:both;
}

/* Main content area */
#maincontent
{
    float:left;
    width:70%;
    margin-bottom:30px;
}
#maincontentinner
{
    padding:0 20px;
}

#maincontent a
{
  text-decoration:underline;
}

#maincontent p, #maincontent li, #maincontent td, #maincontent th
{
    margin: 10px 0;
    line-height:1.5;
}

#maincontent h1:first-child
{
    margin-top:0;
}


/* Widgets - note, the padding is set by the individual widgets, due to the separator line */
#mainwidgets
{
    float:left;
    width:30%;
    margin-bottom:30px;
}

/* If full width (i.e. there are no widgets) */
#maincontent.mainfullwidth
{
    width:100%;
    float:none;
}
#mainwidgets.mainfullwidth
{
    display:none;
}


/* Individual widget */
#mainwidgets .mainwidget
{
    width:100%;
    padding:10px 0;
}
#mainwidgets .mainwidget:first-child
{
    padding-top:0;
}
#mainwidgets .mainwidgetcontainer
{
    padding:0 10px 1px 10px;
}
#mainwidgets .mainwidgetheader
{
    font-size:1.2em;
    padding:10px 20px 5px;
    background-color:var(--widget-header);
    color: var(--widget-header-font);
    border-top-left-radius:18px;
    border-top-right-radius:18px;
}
#mainwidgets .mainwidgetcontent
{
    position:relative;
    background-color: #fff;
    padding:10px 10px 15px;
    border-bottom-left-radius:5px;
    border-bottom-right-radius:5px;
}
#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 */
#footerpush
{
    height:86px;
    clear:both;
}
#footer
{
    height:86px;
    clear:both;
    background-color:#3a383b;
    padding: 20px 0 40px;
    border-top: 4px solid var(--main);
}
#footer .footerinner
{
    margin: 0 auto;
    text-align:center;
    color:#fff;
    padding:5px 10px;
}
#footer .footerinner a
{
    color:#fff;
}




/* Red Star */
.redHilite
{
    color: #c00;
}

/* Error */
.errorText
{
    color: #E30000;
}


/* Box */
.boxbuttons
{
    margin-top:25px;
}


/* Input controls */
input[type='text'], input[type='password'], textarea, select
{
    font-family: "area-variable", sans-serif;
    font-size:14px;
    line-height:14px;
    padding:5px 2px 2px;
}



/* 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 .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;
}


/* Admin content editing */
.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;
}


/* Froala view */
.fr-view table td, .fr-view table th {
  border:0 !important;
}
.fr-view img {
  margin:10px !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;
}


/* jquery dialog header used for session timeout dialog */
.ui-widget-header
{
    background-color:var(--main) !important;
}


/* Font awesome */
.far {
    font-size:18px;
}
.fa-red {
    color:#D00;
}
.fa-blue {
    color:#5f9edf;
}


/* Screen sizes */

@media screen and (max-width:1343px) {
    #headertopsticky #headertopcontainer {
        margin:15px 20px;
        padding:20px 25px 20px 20px;
    }
}

@media screen and (max-width:1070px) {
    #headertopsticky #headertitle a {
      font-size:1.35em;
    }
    #headertopsticky .headerlogosvg {
      height:30px;
      width:262px;
    }
    #headertopsticky #headertopstickylist li a {
      font-size:14px;
    }
}

@media screen and (max-width:904px) {
    #headertopsticky #headertopcontainer {
        margin:15px 17px;
        padding:10px 23px;
    }

    #headertopsticky #headertopstickylist {
        display:none;
    }

    #headertopsticky #headermobiletrigger {
        float:right;
        padding:3px 10px;
        height: 40px;
        width: 44px;
        cursor: pointer;
        display: inline-block;
        position: relative;
    }
    #headertopsticky #headermobiletrigger a {
        margin-top: 16px;
        -webkit-transition: background-color 0.3s ease 0.3s;
        -moz-transition: background-color 0.3s ease 0.3s;
        -ms-transition: background-color 0.3s ease 0.3s;
        -o-transition: background-color 0.3s ease 0.3s;
        transition: background-color 0.3s ease 0.3s;
        position: relative;
        height: 2px;
        width: 100%;
        display: block;
        background-color: var(--main);
    }
    #headertopsticky #headermobiletrigger a::before,
    #headertopsticky #headermobiletrigger a::after {
        content: '';
        position: absolute;
        left: 0;
        height: 2px;
        width: 100%;
        background-color: var(--main);
        transition-delay: 0.3s, 0s;
        transition-duration: 0.3s;
        transition-timing-function: ease;
    }
    #headertopsticky #headermobiletrigger a::before {
        top: -9px;
        transition-property: top, transform;
    }
    #headertopsticky #headermobiletrigger a::after {
        bottom: -9px;
        transition-property: bottom, transform;
    }

    body.menuopen
    {
        overflow:hidden;
    }
    body.menuopen #headertopsticky #headertopcontainer
    {
        background-color:#fff;
        transition:none;
    }
    body.menuopen #headertopsticky #headermobiletrigger a
    {
        background-color: transparent;
        -webkit-transition-delay: 0s;
        -moz-transition-delay: 0s;
        -ms-transition-delay: 0s;
        -o-transition-delay: 0s;
        transition-delay: 0s;
    }
    body.menuopen #headertopsticky #headermobiletrigger a::before
    {
        top: 0;
        -webkit-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }
    body.menuopen #headertopsticky #headermobiletrigger a::after
    {
        bottom: 0;
        -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        transform: rotate(45deg);
    }
    body.menuopen #headertopsticky #headermobiletrigger a::before,
    body.menuopen #headertopsticky #headermobiletrigger a::after
    {
        transition-delay: 0s, 0.3s;
    }

    #headertopsticky #headermobilelist
    {
        position:fixed;
        top:0;
        left:0;
        right:0;
        bottom:0;
        background-color:#333;
        overflow:auto;
        z-index:100;
        padding-top:80px;
    }
    #headertopsticky #headermobilelist ul
    {
        display:block;
        text-align:center;
        margin-bottom:120px;
        padding:0;
        margin:0;
        list-style:none;
    }
    #headertopsticky #headermobilelist ul li
    {
        display:block;
        margin:10px auto;
        width:80%;
        border-radius:5px;
        padding:5px 0;
    }
    #headertopsticky #headermobilelist ul li a
    {
        display:block;
        font-size:1.2em;
        color:#eee;
    }
    #headertopsticky #headermobilelist ul li:hover
    {
        border-bottom:0;
        background-color:#444;
    }
    body.menuopen #headertopsticky #headermobilelist
    {
        display:block;
    }
}

@media screen and (max-width:750px)
{
    #header #headermain #headermaincontent
    {
        display:table;
        width:100%;
        height:85px;
    }
    #header #headermain #headermainimg
    {
        display:none;
    }
    #header #headermain #headermaintext,
    #header #headermain #headermaintextheader
    {
        display:table-row;
        vertical-align:middle;
        padding:10px;
    }
    #header #headermain .headermaintextheaderinner
    {
        display:table-cell;
        text-decoration:none;
    }
    #header #headermain .headermaintextinner
    {
        display:table-cell;
        vertical-align:middle;
        padding:10px;
    }
    #header #headermain .headermaintextinner a
    {
        text-decoration:none;
    }
    #header #headermain .headermaintextinner #headermaintexttop
    {
        display:block;
        font-size:1.6em;
        font-weight:100;
    }
    #header #headermain .headermaintextinner #headermaintextbottom
    {
        display:block;
        font-size:0.8em;
    }
}

@media screen and (max-width:750px)
{
    #header #headercookie
    {
        position:static;
        bottom:unset;
        right:unset;
        left:unset;
        overflow:hidden;
    }
    #header #headercookie .headerinner
    {
        padding:10px;
    }
    #header #headercookie #headercookietext
    {
        display:block;
        width:100%;
        text-align:left;
        padding:0;
    }
    #header #headercookie #headercookieclose
    {
        display:block;
        width:100%;
        text-align:right;
        padding-top:10px;
    }
        
    #header #headertoplistmore li
    {
        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 #headerbanner .headerinner
    {
        display:block;
    }
    #header #headerbanner #headerbannertext
    {
        display:block;
    }
    #header #headerbanner #headerbannerhide
    {
        display:block;
        text-align:right;
        padding-top:5px;
        width:auto;
    }

    #maincontentinner
    {
      padding-left:10px;
      padding-right:10px;
    }
}

@media screen and (max-width:600px) {
    .wrapper
    {
        min-height:0;
        margin-bottom:0;
    }

    #footer
    {
        height:auto;
    }    
}

@media screen and (max-width:410px) {
    #headertopsticky #headertopcontainer {
        margin:20px;
        padding:5px 10px;
    }
    #headertopsticky #headertitle a {
        font-size:1.2em;
        white-space:normal;
    }
    #headertopsticky .headerlogosvg {
        height:28px;
        width:calc(100vw - 130px);
    }
}
