﻿@charset "UTF-8";

@font-face {
    font-family:theinhardt-light;
    src:url(../../Fonts/Theinhardt-Light-vmfix.woff2) format("woff2"),
        url(../../Fonts/Theinhardt-Light-vmfix.woff) format("woff")
}
@font-face {
    font-family:theinhardt-medium;
    src:url(../../Fonts/Theinhardt-Medium-vmfix.woff2) format("woff2"),
        url(../../Fonts/Theinhardt-Medium-vmfix.woff) format("woff")
}
@font-face {
    font-family:theinhardt-bold;
    src:url(../../Fonts/Theinhardt-Bold-vmfix.woff2) format("woff2"),
        url(../../Fonts/Theinhardt-Bold-vmfix.woff) format("woff")
}

*, *::before, *::after {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
}

html, body, form.mainform
{
    height: 100%;
}
.wrapper
{
    min-height: 100%;
    /* NOTE, CMS has logos at the bottom, so will override margin-bottom value */
    margin: 0 auto -86px;
}
.clearboth
{
    clear:both;
}

html, body
{
    font-size:1rem;
}
html
{
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}
body 
{
	padding: 0;
	margin: 0;
	background-color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #000;
    font-family: theinhardt-medium,serif,Arial,sans-serif;
    font-size: calc(1rem*var(--scale, 1));
    line-height: 1.25;
    letter-spacing: -.03125em;
    --scale: 1.25;
}

#popupcontent
{
    padding:10px;
}

.primary--red {
    --primary: #f33440;
    --secondary: #000;
}
.primary--orange {
    --primary: #ff5100;
    --secondary: #000;
}
.primary--yellow {
    --primary: #ffb71b;
    --secondary: #000;
}
.primary--green {
    --primary: #006938;
    --secondary: #fff;
}
.primary--blue {
    --primary: #000f9f;
    --secondary: #fff;
}

h1
{
    font-size:1.7em;
    margin:0 0 30px;
    font-weight:normal;
}
h1.subsection
{
    margin-top:30px;
}

h2
{
    margin:20px 0;
    font-size:1.5em;
}

h3
{
    margin:10px 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: linear-gradient(90deg,var(--primary,#000) 50%,#fff 0) 100% no-repeat;
    background-size:200%;
    display:inline-block;
    margin: 0 10px 5px 0;
    transition: all 0.25s;
    border: .125rem solid var(--primary,#000);
}
.cssbutton:hover
{
    background-position:0;
    border-color: var(--primary,#000);
}
.cssbutton a
{
    display:inline-block;
    padding: 10px 20px;
    color: #000 !important;
    text-decoration: none !important;
    white-space: nowrap;
    font-size:calc(0.8rem*var(--scale, 1));
    text-transform:uppercase;
    line-height:1.125;
}
.cssbutton:hover a {
    color: var(--secondary,#000) !important;
}
.cssbutton svg
{
    width: 1em;
    height: 1em;
    margin-left: .625rem;
    fill: currentColor;
    vertical-align:bottom;
}
.cssbutton a:focus
{
    outline-offset:4px;
}

/* 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:45px;
}
#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;
    display:table;
    width:100%;
}
#header #headercookie #headercookietext
{
    display:table-cell;
    padding:10px 0;
    color:#e0e0e0;
    padding-right:10px;
}
#header #headercookie #headercookietext a
{
    color:#e0e0e0;
}
#header #headercookie #headercookieclose
{
    display:table-cell;
    min-width:200px;
    padding:10px 0;
    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;
}
#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:#000;
    z-index:100;
    box-shadow: 0 0 5px #000;
}
#header #headertoplist
{
    height:39px;
}
#header #headertop ul
{
    text-align:right;
}
#header #headertop ul li:hover
{
    background-color:#808080;
}
#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
{
    border-bottom:1px solid #a0a0a0;
}
#header #headermain #headermaincontent
{
    vertical-align:middle;
    padding:10px;
}
#header #headermain #headermainname a
{
    font-size:2em;
    text-decoration:none;
    color:#444;
}
#header #headermain #headermainname a svg
{
    height:4.5rem;
}
/* Header main menu */
#header #headermenu
{
    background-color:#fff;
    color:#444;
}
#header #headermenu .headerinner
{
    border-bottom:1px solid #a0a0a0;
}
#header #headermenulist
{
    height:38px;
}
#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:hover
{
    border-bottom:3px solid var(--primary,#000);
}
#header #headermenu ul li a
{
    padding:2px 10px;
    font-size:1.1em;
    color:#444;
}
#header #headermenu ul li.selected
{
    border-top:3px solid  var(--primary,#000);
    border-bottom:3px solid  var(--primary,#000);
    background-color: var(--primary,#000);
}
#header #headermenu ul li.selected a
{
    color:var(--secondary,#FFF);
}

/* Header sub menu */
#header #headersubmenu .headerinner
{
    background-color: var(--primary,#000);
    color:#fff;
}
#header #headersubmenulist
{
    height:38px;
}
#header #headersubmenu ul li
{
    border-top:3px solid  var(--primary,#000);
    border-bottom:3px solid  var(--primary,#000);
    border-left:1px solid #a0a0a0;
}
#header #headersubmenu ul li:first-child
{
    border-left:0;
}
#header #headersubmenu ul li:hover
{
    border-bottom:3px solid #fff;
}
#header #headersubmenu ul li a
{
    padding:2px 10px;
    font-size:1.1em;
    color:#fff;
}
#header #headersubmenu ul li.selected
{
    border-bottom:3px solid #fff;
    background-color:#fff;
}
#header #headersubmenu ul li.selected a
{
    color:#444;
}

/* Header banner message */
#header #headerbanner
{
    color:#000;
    text-align:center;
    background-color:#fa8072;
    margin-top:-20px;
    padding:20px 0 10px;
}
#header #headerbanner .headerinner
{
    padding:5px 0;
    display:table;
}
#header #headerbanner p
{
    margin:0px;
}
#header #headerbanner #headerbannertext
{
    display:table-cell;
    vertical-align:top;
    padding:0 10px;
}
#header #headerbanner #headerbannerhide
{
    display:table-cell;
    width:150px;
    vertical-align:middle;
}


/* Main area */
#main
{
    margin: 20px auto;
}

/* Main content area */
#maincontent
{
    float:left;
    width:70%;
    padding:10px 20px 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
{
    border-left:1px solid #a0a0a0;
    padding:0 10px 1px 10px;
}
#mainwidgets .mainwidgetheader
{
    font-size:1.3em;
    padding:5px;
    background-color: #000;
    color:#fff;
}
#mainwidgets .mainwidgetcontent
{
    position:relative;
}
#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 */
#mainpush
{
    height:86px;
}
#footer
{
    height:86px;
    clear:both;
    background-color:#3a383b;
    padding: 20px 0 40px;
    border-top: 4px solid var(--primary,#000);    
}
#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:Arial;
    font-size:1.1rem;
}



/* 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:400px;
    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:8px;
}
.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:1279px)
{
    body
    {
        --scale: 1;
    }
    #header #headermain #headermainname a svg
    {
        height:2.75rem;
    }

    #header #headertoplist
    {
        height:34px;
    }

    #header #headermenulist,
    #header #headersubmenulist
    {
        height:32px;
    }
}*/


@media screen and (max-height:759px)
{
    #header #headertop
    {
        position:absolute;
    }
}


/* Medium - main takes up entire width, widgets takeup 50% */
@media screen and (max-width:999px)
{
    /* 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%;
        border-top:1px solid #a0a0a0;
    }
    /* 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;
    }
    
    #main
    {    
        min-height:400px;
    }
}

/* Small - main takes up entire width, widgets take up entire width */
/* If changing, update fullCollapse in header.js */
@media screen and (max-width:699px)
{
    .wrapper
    {
        min-height:0;
        margin-bottom:0;
    }

    #header
    {
        padding-top:0;
    }
    
    #header #headercookie #headercookietext,
    #header #headercookie #headercookieclose
    {
        display:block;
        width:100%;
        text-align:left;
    }
    #header #headercookie #headercookieclose
    {
        text-align:right;
    }
    
    #header #headertop
    {
        background-color:transparent;
        border-bottom:0;
        box-shadow: none;
        display:inline;
        width:auto;
    }
    #header #headertop .headerinner
    {
        padding:0 0 10px 10px;
    }
    #header #headertoplist
    {
    }
    #header #headertop #headertoplist li
    {
        background-color: #000;
        box-shadow: 0 0 5px #000;
    }
    #header #headertoplistmore li
    {
        background-color: #000;
        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 #headerbanner
    {
        margin-top:0;
        padding:0;
    }
    #header #headerbanner .headerinner
    {
        display:block;
    }
    #header #headerbanner #headerbannertext
    {
        text-align:left;
        display:block;
    }
    #header #headerbanner #headerbannerhide
    {
        display:block;
        text-align:right;
        padding-top:5px;
        width:auto;
    }

    #header #headercookie
    {
        position:static;
        bottom:unset;
        right:unset;
        left:unset;
    }
    
    #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;
    }

    #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: var(--primary,#000) !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;
}
