﻿*, ::after, ::before
{
    -webkit-box-sizing: inherit;
    box-sizing: inherit;
}

html
{
    box-sizing: border-box;
}

body 
{
	padding: 0;
	margin: 0;
	font-size: 18px;
    line-height:1.5;
	background-color: #fff;
	color: #003359;
	font-family:  "Roboto",-apple-system,BlinkMacSystemFont,"Segoe UI","Oxygen","Ubuntu","Cantarell","Fira Sans","Droid Sans","Helvetica Neue",sans-serif;
	text-align: left;
}
body.noscroll
{
    overflow:hidden;
}


.maxwidth
{
    width:100%;
    max-width:1240px;
    margin:0 auto;
}

#bodypopup
{
	margin:0px;
	background-color:#ffffff;
}

#wrapit, #wrapitpopup, #wrapitpopupheader
{
	margin:0 auto 0 auto;
	background-color: #ffffff;
}
#wrapitpopup, #wrapitpopupheader
{
	width:auto;
	margin:0;
	padding:0;
	border:0;
}

#accesslinks, .skiplink
{
	display:none;
}
.sr-only
{
    overflow: hidden;
    clip: rect(0,0,0,0);
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
}

/* Font awesome */
.far {
    font-size:18px;
}
.fa-red {
    color:#D00;
}
.fa-blue {
    color:#5f9edf;
}

/* Note, height is overridden in FrontApp.css */
#header
{
    position:relative;
    height:100vh;
    max-height:450px;
}

#headerpopup
{
}

/* Note, height is overridden in FrontApp.css */
#header .headerheroimage
{
    width:100%;
    height:100vh;
    max-height:450px;
    background-size:cover;
    background-position: 50% 50%;
    background-repeat:no-repeat;
}

#header #headercontent
{
    position:absolute;
    top:0;
    left:0;
    right:0;
}

#header #headercontentpagetitle h1
{
    color:#fff !important;
    padding:180px 20px 0;
    font-size:60px;
    text-align:center;
    font-weight:700;
    -webkit-filter: drop-shadow(rgba(0, 0, 0, .6) 0 0 64px);
    filter: drop-shadow(rgba(0, 0, 0, .6) 0 0 64px);
    text-shadow: rgba(0,0,0,.3) 2px 3px 5px;
    margin:0;
    line-height:unset;
}

#header #headermasthead
{
    position:fixed;
    top:0;
    right:0;
    width: 236px;
    height: 100px;
    z-index:999;
}
#header #headermasthead .logo,
#header #headermasthead .menu,
#header #headermasthead .search
{
    z-index:1000;
    margin: 0;
    position: absolute;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-transition: all 1s;
    transition: all 1s;
    outline-offset:-5px;
}
#header #headermasthead .logo
{
    display: block;
    width: 186px;
    height: 100px;
    background-color: #003359;
    top: 0;
    left: 0;
    color: #FFF;
}
#header #headermasthead #logo_svg
{
    height: 100px;
    width: 190px;
    padding: 20px;
}
#header #headermasthead .logo__canvas
{
    fill: #003359;
}
#header #headermasthead #logo_svg .logo__text
{
    fill: #FFF;
    -webkit-transition: all 1s;
    transition: all 1s;
}
#header #headermasthead #logo_svg .logo__spark
{
    fill: #FFF;
    -webkit-transition: all 1s;
    transition: all 1s;
}
#header #headermasthead .menu, #header #headermasthead .search
{
    cursor: pointer;
    width: 50px;
    height: 50px;
}
#header #headermasthead .menu
{
    top: 0;
    right: 0;
    background-color: #CED7EC;
    color: #003359;
}
#header #headermasthead .search
{
    bottom: 0;
    right: 0;
    background-color: #DACD86;
    color: #003359;
}

#header #headermasthead .far {

    display: inline-block;
    font: normal normal normal 14px/1 "FontAwesomePro";
    font-size: 14px;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
#header #headermasthead .fa-bars::before
{
    content: "\f0c9";
}
#header #headermasthead .fa-search::before
{
    content: "\f002";
}


/*
    Main nav is hidden as default
    Override in FrontCMS.css means that it's open as default over 1220px
*/
#header #headermainnav
{
    position: fixed;
    top: 100px;
    right: 0;
    width: 236px;
    z-index: 99;
    background-color: #4967AA;
    color: #FFF;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}
#header #headermainnav #headermainnavtrigger,
#header #headermainnav ul li a
{
    outline-offset:-5px;
}
#header #headermainnav #headermainnavtrigger
{
    display:block;
    font-weight:700;
}
#header #headermainnav ul
{
    margin:0;
    padding:0;
    list-style:none;
}
#header #headermainnav ul li h2
{
    font-size: 18px;
    padding: 25px 0 25px 28px;
    line-height: 1;
    margin: 0;
    -moz-user-select: none;
    user-select: none;
    color:#fff;
}
#header #headermainnav ul li h2::after
{
    display: inline-block;
    padding-left: 16px;
    font-family: "FontAwesomePro";
    content: '\f107';
    color:#fff;
    font-size:16px;
}
#header #headermainnav ul li a
{
    display: none;
    font-weight: 500;
    text-decoration: none;
    width: 100%;
    color: #FFF;
    position: relative;
    line-height: 1.4;
    font-size: 15px;
    overflow: hidden;
    padding: 0 46px 0 28px;
}
#header #headermainnav ul li:nth-child(2n) a
{
    background-color: rgba(0,51,89,.2);
}
#header #headermainnav ul li a::after
{
    position: absolute;
    right: 16px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    font-size: 16px;
    content: '\f0a9';
    font-family: "FontAwesomePro";
}
#header #headermainnav.touch,
#header #headermainnav.mouse:hover {
    overflow:auto;
    max-height:calc(100vh - 100px);
}
#header #headermainnav.touch ul li a,
#header #headermainnav.mouse:hover ul li a
{
    display:block;
    padding:16px 46px 16px 28px;
    overflow:hidden;
}
#header #headermainnav.touch ul li h2::after,
#header #headermainnav.mouse:hover ul li h2::after
{
    content:'\f106';
}


#header .headerfullpagewrapper
{
    visibility:hidden;
    position: fixed;
    top: 0;
    left: -99999px;
    z-index: -1;
    opacity: 0;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
    width: 100vw;
    height: 100vh;
    -webkit-transition: opacity .2s ease-out,left 0 linear .2s,z-index 0 linear .2s,-webkit-transform .2s ease-out;
    transition: opacity .2s ease-out,left 0 linear .2s,z-index 0 linear .2s,-webkit-transform .2s ease-out;
    transition: transform .2s ease-out,opacity .2s ease-out,left 0 linear .2s,z-index 0 linear .2s;
    transition: transform .2s ease-out,opacity .2s ease-out,left 0 linear .2s,z-index 0 linear .2s,-webkit-transform .2s ease-out;
}
#header .headerfullpagecheck:checked + label + .headerfullpagewrapper
{
    visibility:visible;
    z-index: 998;
    opacity: 1;
    left: 0;
    -webkit-transform: translateX(0);
    transform: translateX(0);
    -webkit-transition: opacity .2s ease-out,-webkit-transform .2s ease-out;
    transition: opacity .2s ease-out,-webkit-transform .2s ease-out;
    transition: transform .2s ease-out,opacity .2s ease-out;
    transition: transform .2s ease-out,opacity .2s ease-out,-webkit-transform .2s ease-out;
}

#header #headermenufullpagewrapper
{
    background: rgba(95,147,42,.89);
}
#header #headersearchfullpagewrapper
{
    background: rgba(89,49,96,.98)
}

#header .headerfullpagecheck
{
    position:absolute;
    left:-9999px;
}

#header .headerfullpageclose
{
    padding-top:52px;
    color:#fff;
    max-width: 985px;
    margin: 0 auto;
}
#header .headerfullpageclose div
{
    cursor: pointer;
    font-style: italic;
    font-weight: 400;
    display: block;
    margin-left: 8.5298%;
    margin-bottom:3%;
}
#header .headerfullpageclose div::before {
    content: '\f00d';
    font-family: "FontAwesomePro";
    font-style: normal;
    padding-right: 8px;
}


#header #headermenufullpagelist
{
    max-width: 985px;
    margin: 0 auto 30px;
}
#header #headermenufullpagelist ul
{
    padding:0;
    margin:0 0 0 8.5298%;
    margin-top: 32px;
    display: block;
    margin-right: 0;
    float: none;
    position: relative;
    list-style:none;
}
#header #headermenufullpagelist ul li
{
    margin-left: -24px;
    padding-left: 24px;
    list-style:none;
}
#header #headermenufullpagelist ul li:hover
{
    background-color: rgba(0,0,0,.4);
}
#header #headermenufullpagelist ul li a
{
    font-size: 25px;
    padding: 5px 0;
    color: #FFF;
    text-decoration: none;
    display: block;
}

#header #headersearchfullpagesearch
{
    max-width: 985px;
    margin: 0 auto;
}
#header #headersearchfullpagesearch > div
{
    margin-left: 8.5298%;
    float: left;
    margin-right: 2.35765%;
    width: 65.88078%;
    display: block;
    position: relative;
}
#header #headersearchfullpagesearch .headersearchfullpagesearchtext
{
    position: relative;
    vertical-align: top;
    background-color: transparent;
    border-radius: 6px;
    margin: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    color: #FFF;
    background: 0 0;
    background-color: rgba(0, 0, 0, 0);
    border: 2px solid #FFF;
    -webkit-box-shadow: 0;
    box-shadow: 0;
    font-size: 34px;
    line-height: 70px;
    position: relative;
    vertical-align: top;
    background-color: transparent;
    padding: .5em 74px .5em .5em;
    width:100%;
}
#header #headersearchfullpagesearch .headersearchfullpagesearchtext::placeholder
{
    color: #999;
    text-overflow:ellipsis;
}
#header #headersearchfullpagesearch .headersearchfullpagesearchbutton
{
    padding: 0 24px 0 12px;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    color: #FFF;
    background: 0 0;
    border: none;
    font-size: 40px;
}
#header #headersearchfullpagesearch .headersearchfullpagesearchbutton .sr-only
{
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
#header #headersearchfullpagesearch .headersearchfullpagesearchbutton .fa-search
{
    display: inline-block;
    font: normal normal normal 14px/1 "FontAwesomePro";
    font-size: 14px;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
#header #headersearchfullpagesearch .headersearchfullpagesearchbutton .fa-search::before
{
    content: "\f002";
}

#headerpopupleft
{
    display:none;
    
	color:#656565;
	font-size:2.0em;
	font-weight:700;
}


#headernav a, #headernav a:visited
{
	color: #656565;/*#ffffff;*/
	font-size: 1em;
}

#popupmenu
{
	overflow:auto;
}
#popupmenuleft
{
	float:left;
	padding-left:1px;
}
#popupmenuright
{
	float:right;
	padding-right:1px;  /* Stops FF showing scroll bars when link active */
}

#popupcontent
{
	padding:10px 10px;
}

#doNotUseMessage
{
	width:100%;
	color:#E00;
	font-size:1.0em;
	font-weight:bold;
	text-align:center;
	float:left;
}
#doNotUseMessage p
{
	margin:0px;
}

/* Header cookie consent */
#headercookie
{
    background-color:#323232;
    position:fixed;
    bottom:0;
    right:0;
    left:0;
    z-index:200;
}
#headercookie #headercookiecontent
{
    padding:0 10px;
}
#headercookie #headercookietext
{
    float:left;
    width:calc(100% - 180px);
    margin:10px 0;
    color:#e0e0e0;
}
#headercookie #headercookietext a
{
    color:#e0e0e0;
}
#headercookie #headercookieclose
{
    float:left;
    width:180px;
    margin:10px 0;
    text-align:right;
}
#headercookie #headercookieclose .cssbutton
{
    background-color:#fff;
    margin:0;
}
#headercookie #headercookieclose .cssbutton a
{
    color:#000 !important;
}
/* Header banner message */
#headerbanner
{
    color:#000;
    text-align:center;
    background-color:#fa8072;
}
#headerbanner .headerinner
{
    padding:5px 0;
    display:table;
}
#headerbanner p
{
    margin:0px;
}
#headerbanner a
{
    color:#000;
}
#headerbanner #headerbannertext
{
    display:table-cell;
    vertical-align:top;
}
#headerbanner #headerbannerhide
{
    display:table-cell;
    width:150px;
    vertical-align:middle;
}



#main
{
    padding-top:20px;
}

#maincontent
{
    float:left;
    width:70%;
    padding:20px;
}

#mainwidgets
{
    float:right;
    width:30%;
    padding:20px;
    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;
    font-weight:bold;
    padding:6px 20px 8px;
    background-color:#003359;
    color:#fff;
}
#mainwidgets .mainwidgetcontent
{
    position:relative;
    padding:20px;
}
#mainwidgets .mainwidthseparator
{
    border-top:1px dotted #888;
    height:1px;
    padding-bottom:.75em;
}
#mainwidgets .mainwidgetrightbutton
{
    text-align:right;
}
#mainwidgets .mainwidgetrightbutton .cssbutton
{
    margin-right:0;
}


#footer
{
	clear: both;
	color: #888;
	padding: 10px 0;
    background: #006470;
    background: -webkit-gradient(linear,left top,left bottom,from(#006470),to(#003359));
    background: linear-gradient(to bottom,#006470 0,#003359 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#006470', endColorstr='#003359', GradientType=0);
}

#footer #footermenu
{
    padding:20px;
    font-size:0.75em;
    line-height: 20px;
    text-align:center;
}
#footer #footerawards
{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    align-items:center;
    padding:0 20px;
    text-align:center;
}
#footer #footerawards img
{
    margin:10px;
}
#footer #footerend
{
    clear:both;
}

#footer a
{
	color:#fff !important;
}
#footer a:hover, #footer a:active
{
    text-decoration:none;
}


h1
{
	font-size: 1.8em;
	margin:0px 0px 17px 0px;
	font-weight: 400;
	text-align:left;
	line-height:1.2em;
}

h2
{
	font-size: 1.5em;
	font-weight: 400;
}
h2.subsection
{
    margin-top:30px;
}

h3
{
	font-size: 1.3em;
	font-weight: 400;
}

h4
{
	font-size: 1.1em;
	font-weight: 400;
}

p
{
	margin:0 0 .75em;
}

a, a:active, a:visited
{
	color:#811819;
	text-decoration: underline;
}

a:hover
{
	color:#CB2528;
}


/* Css Button */
.cssbutton
{
    background-color: #003359;
    display:inline-block;
    margin: 0 10px 5px 0;
    border-radius:6px;
}
.cssbutton a
{
    display:block;
    padding: 8px 12px;
    color: #fff !important;
    text-decoration: none !important;
    white-space: nowrap;
}
.cssbutton a:focus
{
    outline-offset:2px;
}


hr
{	
	color: #AAAAAA;
 	background-color: #AAAAAA; 
 	border:0; 
 	height: 4px;
} 




.gridtable
{
	border-bottom: #ffffff 2px solid;
	border-right: #ffffff 2px solid;
	width:100%;
}
.gridtable td
{
	border-top: #ffffff 2px solid;
	border-left: #ffffff 2px solid;
}

.gridtabledark
{
	border-bottom: #DBDEE7 2px solid;
	border-right: #DBDEE7 2px solid;
	width:100%;
}
.gridtabledark td
{
	border-top: #DBDEE7 2px solid;
	border-left: #DBDEE7 2px solid;
}



/* 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;
}
.formattedcontrols p, .formattedcontrols fieldset.radiobuttonlist
{
    margin:10px 0;
}


.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;
}

.redHilite
{
	color: #c00;
}

.ErrorText
{
	color: #E00;
}

.hoverover
{
	border-bottom: blue 1px dotted;
}

.autoSaveDiv
{
	color: #E00;
}

input[type="text"], input[type="password"], input[type="button"], input[type="submit"], submit, textarea, select {
	font-family:  "Roboto",-apple-system,BlinkMacSystemFont,"Segoe UI","Oxygen","Ubuntu","Cantarell","Fira Sans","Droid Sans","Helvetica Neue",sans-serif;
	font-size:18px;
	font-style:normal;
	font-variant:normal;
	font-weight:normal;
	line-height:normal;
}

textarea {
    resize: vertical;
}


.jobsearchtxt
{
	width:98%;
}


.rssfeeditem, .rightpanelsearchrssfeeditem
{
	background-image:url(../../../images/rssfeed.gif);
	background-repeat:no-repeat;
	background-position:left center;
	padding-left:25px;
}

.rightpanelsearchrssfeeditem
{
	background-position:left top;
	padding-left:20px;
}

.listwithproperwrap input {
    float:left;
    margin-top:5px;
}
.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;
}
  
  
/* Allow for accessibility on radiobuttonlist/checkboxlist */
fieldset.radiobuttonlist, fieldset.checkboxlist
{
    border:0;
    padding:0;
    margin:0;
}
fieldset.radiobuttonlist legend, fieldset.checkboxlist legend
{
    margin:0;
    padding:0;
    *margin-left: -7px;
}

.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:-1000px;
    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 */
.ui-widget-header
{
    background-color: #003359 !important;
}




@media screen and (max-width:1220px)
{
    #header #headermainnav ul li h2
    {
        padding: 10px 0 10px 28px
    }
}

@media screen and (max-width:1000px)
{
    #maincontent
    {
        float:none;
        width:auto;
    }
    #mainwidgets
    {
        float:none;
        width:auto;
        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;
    }
}


@media screen and (max-width:640px)
{
    #header
    {
        position:relative;
        overflow:hidden;
        height:unset;
    }
    #header #headermasthead
    {
        position:absolute;
        width:150px;
    }
    #header #headermasthead .logo
    {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }    
    #header #headermasthead .logo:hover
    {
        -webkit-transform: translate3d(-86px, 0, 0);
        transform: translate3d(-86px, 0, 0);
    }    
    #header #headermasthead .logo #logo_svg .logo__text
    {
        opacity:0;
    }
    #header #headermasthead .logo:hover #logo_svg .logo__text
    {
        opacity:1;
    }

    #header #headermainnav
    {
        position:absolute;
        top:0;
        left:0;
        right:0;
        width:auto;
    }
    #header #headermainnav.touch,
    #header #headermainnav.mouse:hover {
        max-height:unset;
        overflow:auto;
    }
    #header #headermainnav #headermainnavtrigger
    {
        line-height:100px;
        padding:0 0 0 28px;
    }

    #header #headercontentpagetitle h1
    {
        padding-left:10px;
        padding-right:10px;
    }

    #headerbanner .headerinner
    {
        display:block;
    }
    #headerbanner #headerbannertext
    {
        display:block;
    }
    #headerbanner #headerbannerhide
    {
        display:block;
        text-align:right;
        padding-top:5px;
        width:auto;
    }

    #headercookie
    {
        position:static;
        bottom:0;
        right:0;
        left:0;
        overflow:hidden;
    }
    #headercookie #headercookietext,
    #headercookie #headercookieclose
    {
        float:none;
        width:100%;
        text-align:left;
    }
    #headercookie #headercookieclose
    {
        text-align:right;
    }

    #mainwidgets .mainwidget
    {
        float:none;
        width:100%;
    }
    #mainwidgets .mainwidget:nth-child(odd),
    #mainwidgets .mainwidget:nth-child(even)
    {
        margin:10px 0;
    }
}

@media screen and (max-width:350px)
{
    #header #headersearchfullpagesearch .headersearchfullpagesearchtext
    {
        font-size:28px;
        padding-right:60px;
    }
    #header #headersearchfullpagesearch .headersearchfullpagesearchbutton
    {
        font-size:30px;
        padding-right:18px;
    }
}
