﻿@font-face {
    font-family:FoundersGrotesk;
    src:url(../../Fonts/FoundersGrotesk-Light_829b0985.woff2) format("woff2"),
        url(../../Fonts/FoundersGrotesk-Light_461b65af.woff) format("woff");
    font-display:swap;
    font-style:normal;
    font-weight:300}
@font-face {
    font-family:FoundersGrotesk;
    src:url(../../Fonts/FoundersGrotesk-Regular_035f4b03.woff2) format("woff2"),
        url(../../Fonts/FoundersGrotesk-Regular_504e9697.woff) format("woff");
    font-display:swap;
    font-style:normal;
    font-weight:400}
@font-face {
    font-family:FoundersGrotesk;
    src:url(../../Fonts/FoundersGrotesk-Medium_af37d3e2.woff2) format("woff2"),
        url(../../Fonts/FoundersGrotesk-Medium_f5e3d00b.woff) format("woff");
    font-display:swap;
    font-style:normal;
    font-weight:500
}


*, *::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-size: 1.25rem;
    line-height: 1.3;
    background-color: #ffffff;
    color: #003278;
    font-family: FoundersGrotesk,Arial;
}

h1
{
    font-size:1.7em;
    margin:0 0 10px;
    font-weight:normal;
}
h1.subsection
{
    margin-top:30px;
}

h2
{
    margin:5px 0;
    font-size:1.5em;
}

h3
{
    margin:5px 0;
    font-size:1.3em;
}

p, ul
{
    margin: 10px 0;
    font-size:1.25rem;
    line-height: 1.3;
}


/* Hidden */
#accesslinks, .skiplink
{
    display:none;
}

/* Links */
a:link, a:visited
{
    color: #003278;
    transition: color 0.2s ease;
}
a:hover, a:active
{
    color: #444;
}


/* Css Button */
.cssbutton
{
    background-color: #cd017d;
    display:inline-block;
    margin: 0 10px 5px 0;
    transition: background-color 0.2s ease;
}
.cssbutton:hover
{
    background-color: #b4016e;
}
.cssbutton a
{
    display:block;
    padding: 4px 8px;
    color: #fff !important;
    text-decoration: none !important;
    white-space: nowrap;
    line-height:1.5;
}


/* 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%;
    background-color:#003278;
}
header .headerinner
{
    margin:0 auto;
    padding:0 10px;
}
/* Header cookie consent */
header #headercookie
{
    background-color:#323232;
    position:fixed;
    bottom:0;
    right:0;
    left:0;
    z-index:200;
}
header #headercookie #headercookiecontent
{
    padding:0 10px;
}
header #headercookie #headercookietext
{
    float:left;
    width:80%;
    margin:10px 0;
    color:#e0e0e0;
}
header #headercookie #headercookietext a
{
    color:#e0e0e0;
}
header #headercookie #headercookieclose
{
    float:left;
    width:20%;
    margin:10px 0;
    text-align:right;
}
header #headercookie #headercookieclose .cssbutton
{
    background-color:#fff;
}
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 .headerlistmoreparent
{
    position:relative;
}
header .headerlistmore
{
    display:none;
    position:absolute;
    top:40px;
    left:0;
    right:0;
    width:100%;
    background-color:#003278;
    border-bottom:3px solid #00a0c3;
    padding:0 10px;
}
header .headerlistmore li:hover
{
    border-bottom:3px solid #eee !important;
}
header .headerlistmore li a
{
    color:#eee !important;
}
header .headermoreitemtext
{
    padding-right:0 !important;
}
header .headermoreitemarrow
{
    font-size:0.7em;
    padding-left:0 !important;
    border-left:0 !important;
}
/* Header top nav */
header #headertoplist
{
    height:40px;
    overflow:hidden;
}
header #headertop img
{
    float:left;
}
header #headertop ul
{
    text-align:right;
}
header #headertop ul li
{
    height:39px;
}
header #headertop ul li:hover
{
    border-bottom:3px solid #FFF;
}
header #headertop ul li a
{
    padding:0 10px;
    font-size:1em;
    line-height:40px;
    color:#FFF;
}
header #headertoplistmore
{
    z-index:400;
}
header #headertop #headermobile,
header #headertop #headermobilelist
{
    display:none;
}
/* 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 #headerbannertext
{
    display:table-cell;
    vertical-align:top;
}
header #headerbanner #headerbannerhide
{
    display:table-cell;
    width:150px;
    vertical-align:middle;
}
/* Header top main banner */
header #headermain #headermaincontent
{
    vertical-align:middle;
    padding-top:10px;
}
header #headermain #headermainname
{
    margin:5px 10px;
}
header #headermain #headermainname a
{
    font-size:2em;
    text-decoration:none;
    color:#FFF;
}
header #headermain #headermainname a img
{
    vertical-align:middle;
}
header #headermain #headermainname a span
{
    vertical-align:middle;
    margin-left:30px;
}
header #headermain #headermainname a #headermainnamemobile
{
    display:none;
}
/* Header bar between main and menus */
header #headerbar
{
    height:10px;
}
/* Header main/sub menu shared formatting*/
header #headermainmenus ul li
{
    border-bottom:3px solid transparent;
    height:40px;
}
header #headermainmenus ul li a
{
    padding:10px 0;
    font-size:1.1em;
}
header #headermainmenus ul li a span
{
    padding:0 10px;
}
header #headermainmenus ul li:first-child a span
{
    border-left:0;
}
/* Header main menu */
header #headermenu
{
    color:#FFF;
}
header #headermenulist
{
    height:40px;
    overflow:hidden;
}
header #headermenu ul li:hover
{
    border-bottom:3px solid #fff;
}
header #headermenu ul li a
{
    color:#FFF;
}
header #headermenu ul li a span
{
    border-left:1px solid #ccc;
}
header #headermenu ul li.selected
{
    border-bottom:3px solid #fff;
}
header #headermenulistmore
{
    z-index:200;
}

/* Header sub menu */
header #headersubmenulist
{
    height:40px;
    overflow:hidden;
}
header #headersubmenu ul li
{
    border-bottom:3px solid transparent;
    height:40px;
}
header #headersubmenu ul li:first-child
{
    border-left:0;
}
header #headersubmenu ul li:hover
{
    border-bottom:3px solid #FFF;
}
header #headersubmenu ul li a
{
    color:#FFF;
}
header #headersubmenu ul li a span
{
    border-left:1px solid #ccc;
}
header #headersubmenu ul li.selected
{
    border-bottom:3px solid #FFF;
}
header #headersubmenu ul li.selected a
{
    color:#FFF;
}
header #headersubmenulistmore
{
    z-index:100;
}
header #headersubmenulistmore li a
{
    color:#eee;
}

/* Header for referees */
header.vmref #headertop #headertoplist,
header.vmref #headertop #headertoplistmore,
header.vmref #headertop #headermobiletrigger,
header.vmref #headertop #headermobilelist
{
    display:none;
}


/* Main area */
main
{
    margin: 0 auto;
    padding: 10px 20px;
    overflow:hidden;
}

/* Main content area */
#maincontent
{
    float:left;
    width:68%;
    padding:20px 0;
}

/* Widgets - note, the padding is set by the individual widgets, due to the separator line */
#mainwidgets
{
    float:right;
    width:30%;
    padding:20px 0;
    display:flex;
    flex-direction:column;
    flex-wrap:wrap;
}

/* If full width (i.e. there are no widgets) */
#maincontent.mainfullwidth
{
    width:100%;
}
#mainwidgets.mainfullwidth
{
    display:none;
}

/* Individual widget */
#mainwidgets .mainwidget
{
    width:100%;
    margin:0 0 20px;
    background-color:#f0f0f0;
}
#mainwidgets .mainwidgetheader
{
    font-size:1.3em;
    padding:10px;
    background-color:#00a0c3;
    color:#fff;
}
#mainwidgets .mainwidgetcontent
{
    position:relative;
    padding:10px;
}
#mainwidgets .mainwidthseparator
{
    border-top:1px dotted #888;
    height:1px;
}
#mainwidgets .mainwidgetrightbutton
{
    text-align:right;
}
#mainwidgets .mainwidgetrightbutton .cssbutton
{
    margin-right:0;
}


/* 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;
}
footer
{
    height:86px;
    clear:both;
    background-color:#003278;
    padding: 20px 0 40px;
    border-top: 4px solid #00a0c3;    
}
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:Red;
}


/* 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: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;
}


/* Medium - main takes up entire width, widgets takeup 50% */
@media screen and (max-width:1000px)
{
    header .headerinner,
    header .headerlistmore
    {
        padding: 0 calc(2% - 10px);
    }

    main
    {
        padding: 10px 2%;
    }

    /* Take up entire width */
    #maincontent
    {
        width:100%;
    }
    
    /* Take up entire width, but now padding is added */
    #mainwidgets
    {
        width:100%;
        flex-direction:row;
        align-items:stretch;
    }
    
    /* Individual widgets now take up 50% of the room */
    #mainwidgets .mainwidget
    {
        width:calc(50% - 10px);
    }
    /* Odd (left side) */
    #mainwidgets .mainwidget:nth-child(odd)
    {
        margin-right:10px;
    }
    /* Even (right rise) */
    #mainwidgets .mainwidget:nth-child(even)
    {
        margin-left:10px;
    }
}

/* Small - main takes up entire width, widgets take up entire width */
/* If changing, update fullCollapse in header.js */
@media screen and (max-width:700px)
{
    .wrapper
    {
        min-height:0;
        margin-bottom:0;
    }

    header #headercookie #headercookietext,
    header #headercookie #headercookieclose
    {
        float:none;
        width:100%;
        text-align:left;
    }
    
    header .headerinner,
    header .headerlistmore
    {
        padding: 0 3px;
    }
    header #headertop #headertoplist
    {
        display:none;
    }
    header #headertop #headermobile
    {
        height:50px;
        display:block;
    }
    header #headertop #headermobiletitle
    {
        padding:5px;
    }
    header #headertop #headermobiletitle a
    {
        line-height:40px;
        color:#FFF;
        font-size:1.2em;
        text-decoration:none;
    }
    header #headertop #headermobiletitle img
    {
        margin:5px 20px 5px 0;
    }
    header #headertop #headermobiletrigger {
        float:right;
        padding:8px 10px;
        height: 40px;
        width: 44px;
        cursor: pointer;
        display: inline-block;
        position: relative;
    }
    header #headertop #headermobiletrigger span {
        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: #FFF;
    }
    header #headertop #headermobiletrigger span::before,
    header #headertop #headermobiletrigger span::after {
        content: '';
        position: absolute;
        left: 0;
        height: 2px;
        width: 100%;
        background-color: #FFF;
        transition-delay: 0.3s, 0s;
        transition-duration: 0.3s;
        transition-timing-function: ease;
    }
    header #headertop #headermobiletrigger span::before {
        top: -9px;
        transition-property: top, transform;
    }
    header #headertop #headermobiletrigger span::after {
        bottom: -9px;
        transition-property: bottom, transform;
    }
  
    body.menuopen
    {
        overflow:hidden;
    }
    body.menuopen header #headertop #headermobiletrigger span
    {
        background-color: transparent;
        -webkit-transition-delay: 0s;
        -moz-transition-delay: 0s;
        -ms-transition-delay: 0s;
        -o-transition-delay: 0s;
        transition-delay: 0s;
    }
    body.menuopen header #headertop #headermobiletrigger span::before
    {
        top: 0;
        -webkit-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }
    body.menuopen header #headertop #headermobiletrigger span::after
    {
        bottom: 0;
        -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        transform: rotate(45deg);
    }
    body.menuopen header #headertop #headermobiletrigger span::before,
    body.menuopen header #headertop #headermobiletrigger span::after
    {
        transition-delay: 0s, 0.3s;
    }


    header #headertop #headermobilelist
    {
        position:fixed;
        top:50px;
        left:0;
        right:0;
        bottom:-100px;
        background-color:#333;
        overflow:auto;
        z-index:500;
    }
    header #headertop #headermobilelist ul
    {
        display:block;
        text-align:center;
        margin-bottom:120px;
    }
    header #headertop #headermobilelist ul li
    {
        display:block;
        margin:10px auto;
        width:80%;
        border-radius:5px;
    }
    header #headertop #headermobilelist ul li a
    {
        font-size:1.2em;
        color:#eee;
    }
    header #headertop #headermobilelist ul li:hover
    {
        border-bottom:0;
        background-color:#444;
    }
    body.menuopen header #headertop #headermobilelist
    {
        display:block;
    }

    header #headermain
    {
        display:none;
    }

    header #headermainmenus .headerlistmore li
    {
        border-top:1px solid #ccc;
        display:block;
    }
    header #headermainmenus .headerlistmore li a
    {
        width:100%;
    }
    header #headermainmenus .headerlistmore li a span
    {
        border-left:0;
    }

    
    header #headerbanner .headerinner
    {
        display:block;
    }
    header #headerbanner #headerbannertext
    {
        display:block;
    }
    header #headerbanner #headerbannerhide
    {
        display:block;
        text-align:right;
        padding-top:5px;
        width:auto;
    }
    
    main
    {
        padding: 10px 13px;
    }

    #mainwidgets .mainwidget
    {
        float:none;
        width:100%;
    }
    #mainwidgets .mainwidget:nth-child(odd),
    #mainwidgets .mainwidget:nth-child(even)
    {
        margin:10px 0;
    }
    
    #footerpush
    {
        display:none;
    }
    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:#003278 !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;
}
