﻿@font-face {
    font-family: 'Copernicus';
    src: url('../../fonts/Copernicus-Semibold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Copernicus';
    src: url('../../fonts/Copernicus-SemiboldItalic.ttf') format('truetype');
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Gotham';
    src: url('../../fonts/Gotham-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Gotham';
    src: url('../../fonts/Gotham-Book.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Gotham';
    src: url('../../fonts/Gotham-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Gotham';
    src: url('../../fonts/Gotham-Bold.otf') format('opentype');
    font-weight: bold;
    font-style: 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 -86px;
}

body 
{
    padding: 0;
    margin: 0;
    font-size: 17px;
    background-color: #ffffff;
    color: #444;
    font-family: 'Gotham', sans-serif;
}

h1
{
    font-size:30px;
    margin:20px 0 22px;
    color:#373735;
    font-weight:600;
    font-family: 'Copernicus';
}

h2
{
    margin:5px 0;
    font-size:1.5em;
    font-family: 'Copernicus';
}
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: #0072c6;
    text-decoration:none;
}
a:hover, a:active
{
    color: #23527c;
    text-decoration:underline;
}


/* Font awesome */
.far {
    font-size:18px;
}
.fa-red {
    color:#D00;
}
.fa-blue {
    color:#5f9edf;
}


/* Css Button */
.cssbutton
{
    background-color: #7edcf2;
    display:inline-block;
    margin: 0 10px 5px 0;
    border-radius:8px;
    border-bottom-right-radius:0;
    transition: background-color 0.3s ease;
}
.cssbutton:hover
{
    background-color: #0b2a3d;
}
.cssbutton a
{
    display:block;
    padding: 8px 12px;
    color: #000 !important;
    font-weight:700;
    font-size:0.95em;
    text-decoration: none !important;
    white-space: nowrap;
    line-height:1.5;
    transition: color 0.3s ease;
}
.cssbutton:hover a
{
    color:#fff !important;
}
.cssbutton a:focus
{
    outline-offset:2px;
}

.cssbuttonaltcolour .cssbutton
{
    background-color: #0b2a3d;
}
.cssbuttonaltcolour .cssbutton:hover
{
    background-color: #7edcf2;
}
.cssbuttonaltcolour .cssbutton a
{
    color:#fff !important;
}
.cssbuttonaltcolour .cssbutton:hover a
{
    color:#000 !important;
}



/* 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%;
}
#header .headerinner
{
    margin:0 auto;
    padding:0 10px;
}
#header ul li a:focus
{
    outline-offset:-5px;
}
/* Lists within the header */
#header ul.headermenu
{
    margin:0;
    padding:0;
}
#header ul.headermenu li
{
    list-style-type: none;
    display:inline-block;
}
#header ul.headermenu li a
{
    display:inline-block;
    color:#eee;
    transition: color 0.3s ease;
}
#header ul.headermenu li:hover a,
#header ul.headermenu li.selected a
{
    text-decoration:none;
    color:#7edcf2;
}
#header .headerlistmoreparent
{
    position:relative;
}
#header .headerlistmore
{
    display:none;
    position:absolute;
    top:60px;
    right:0;
    background-color:#0a2a3d;
    padding:0 20px;
}
#header .headermoreitemtext
{
    padding-right:0 !important;
}
#header .headermoreitemarrow
{
    font-size:0.7em;
    padding-left:0 !important;
    border-left:0 !important;
}
/* Header top nav */
#header #headertop
{
    background-color:#0a2a3d;
}
#header #headertoplist
{
    height:40px;
    overflow:hidden;
}
#header #headertop ul
{
    text-align:right;
}
#header #headertop ul li
{
    height:40px;
}
#header #headertop ul li a
{
    padding:0 10px;
    font-size:1em;
    line-height:40px;
}
#header #headertoplistmore
{
    top:40px;
    z-index:400;
}
#header #headertop #headermobile,
#header #headertop #headermobilelist
{
    display:none;
}
/* Header top main banner */
#header #headermain
{
    background-color:#0a2a3d;
}
#header #headermain .headerinner
{
    display:flex;
    align-items:center;
}
#header #headermaincontent
{
    flex: 0 0 300px;
    vertical-align:middle;
    padding:10px;
}
#header #headermainname a
{
    font-size:2em;
    text-decoration:none;
    color:#FFF;
}
#header #headermainname a img
{
    vertical-align:middle;
}
#header #headermainname a span
{
    vertical-align:middle;
    margin-left:10px;
}
#header #headermainname a #headermainnamemobile
{
    display:none;
}
/* Header main menu */
#header #headermenu
{
    flex:1;
    background-color:#0a2a3d;
    color:#FFF;
}
#header #headermenulist
{
    height:60px;
    overflow:hidden;
    width:100%;
    text-align:right;
}
#header #headermenu ul li
{
    height:60px;
}
#header #headermenu ul li a
{
    padding:20px 0;
    color:#FFF;
}
#header #headermenu ul li:hover a,
#header #headermenu ul li.selected a
{
    color:#7edcf2;
}
#header #headermenu ul li a span
{
    padding:0 20px;
}
#header #headermenulistmore
{
    z-index:200;
    text-align:right;
}

/* 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 p a
{
    color:#000;
    text-decoration:underline;
}
#header #headerbanner #headerbannertext
{
    display:table-cell;
    vertical-align:top;
}
#header #headerbanner #headerbannerhide
{
    display:table-cell;
    width:150px;
    vertical-align:middle;
}

/* 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;
    text-decoration:underline;
}
#header #headercookie #headercookieclose
{
    float:left;
    width:20%;
    margin:10px 0;
    text-align:right;
}
#header #headercookie #headercookieclose .cssbutton
{
    background-color:#fff;
    margin:0;
}
#header #headercookie #headercookieclose .cssbutton a
{
    color:#000 !important;
}

/* 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;
}
#maincontent a
{
    text-decoration:underline;
}

/* Widgets - note, the padding is set by the individual widgets, due to the separator line */
#mainwidgets
{
    float:right;
    width:30%;
    margin-top:30px;
    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 40px;
    border:1px solid #d3d3d2;
    border-radius:8px;
    border-bottom-right-radius:0;
}
#mainwidgets .mainwidgetheader
{
    background-color:#0a2a3d;
    padding:15px;
    border-top-left-radius:8px;
    border-top-right-radius:8px;
    margin:-1px -1px 0 -1px;
}
#mainwidgets .mainwidgetheader h2
{
    font-family:"Open Sans", sans-serif;
    font-weight:normal;
    font-size:22px;
    color:#fff;
    margin:0;
}
#mainwidgets .mainwidgetcontent
{
    position:relative;
    margin:15px;
}
#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:#0a2a3d;
    padding: 20px 0 40px;
}
#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:"Gotham", Arial;
}



/* 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:980px)
{
    #header .headerinner,
    #header .headerlistmore
    {
        padding: 0 3px;
    }
    #header #headertop #headertoplist
    {
        display:none;
    }
    #header #headertop #headermobile
    {
        height:80px;
        display:block;
    }
    #header #headertop #headermobiletitle
    {
        padding:5px;
    }
    #header #headertop #headermobiletitle img
    {
        margin-right:10px;
    }
    #header #headertop #headermobiletrigger {
        float:right;
        padding:8px 10px;
        height: 40px;
        width: 44px;
        cursor: pointer;
        position: relative;
        margin:10px;
    }
    #header #headertop #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: #fff;
    }
    #header #headertop #headermobiletrigger a:focus {
        outline-offset:10px;
    }
    #header #headertop #headermobiletrigger a::before,
    #header #headertop #headermobiletrigger a::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 a::before {
        top: -9px;
        transition-property: top, transform;
    }
    #header #headertop #headermobiletrigger a::after {
        bottom: -9px;
        transition-property: bottom, transform;
    }
  
    body.menuopen
    {
        overflow:hidden;
    }
    body.menuopen #header #headertop #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 #header #headertop #headermobiletrigger a::before
    {
        top: 0;
        -webkit-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }
    body.menuopen #header #headertop #headermobiletrigger a::after
    {
        bottom: 0;
        -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        transform: rotate(45deg);
    }
    body.menuopen #header #headertop #headermobiletrigger a::before,
    body.menuopen #header #headertop #headermobiletrigger a::after
    {
        transition-delay: 0s, 0.3s;
    }


    #header #headertop #headermobilelist
    {
        position:fixed;
        top:80px;
        left:0;
        right:0;
        bottom:-100px;
        background-color:#02233c;
        overflow:auto;
        z-index:500;
    }
    #header #headertop #headermobilelist ul
    {
        display:block;
        text-align:center;
    }
    #header #headertop #headermobilelist ul:nth-child(1)
    {
        border-bottom:1px solid #888;
    }
    #header #headertop #headermobilelist ul:nth-child(2)
    {
        margin-bottom:120px;
    }
    #header #headertop #headermobilelist ul li
    {
        display:block;
        margin:10px auto;
        width:80%;
    }
    #header #headertop #headermobilelist ul li a
    {
        font-size:1.2em;
        color:#eee;
        display:block;
    }
    #header #headertop #headermobilelist ul li:hover a
    {
        color:#7edcf2;
        text-decoration:none;
    }
    body.menuopen #header #headertop #headermobilelist
    {
        display:block;
    }

    #header #headermain
    {
        display:none;
    }

    #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% - 20px);
    }
    /* Odd (left side) */
    #mainwidgets .mainwidget:nth-child(odd)
    {
        margin-right:20px;
    }
    /* Even (right rise) */
    #mainwidgets .mainwidget:nth-child(even)
    {
        margin-left:20px;
    }
}

/* 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
    {
        position:static;
        bottom:unset;
        left:unset;
        right:unset;
        overflow:hidden;
    }

    #header #headercookie #headercookietext,
    #header #headercookie #headercookieclose
    {
        float:none;
        width:100%;
        text-align:left;
    }
    #header #headercookie #headercookieclose
    {
        text-align:right;
    }
    
    
    #header #headerbanner .headerinner
    {
        display:block;
    }
    #header #headerbanner #headerbannertext
    {
        display:block;
        text-align:left;
        padding:0 10px;
    }
    #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:30px 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:#011a2e !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;
}
