﻿*, *::before, *::after {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
}

html, body, form.mainform
{
    height: 100%;
}
.wrapper
{
    min-height: 100%;
    margin: 0 auto -46px;
}


body 
{
	padding: 0;
	margin: 0;
	font-size: 15px;
	background: #ffffff;
	color: #1d1d1d;
	font-family:  Arial, Helvetica, sans-serif;
}

#bodypopup
{
	margin:0px;
	background-color:#ffffff;
}

#accesslinks, .skiplink
{
	display:none;
}
.sr-only
{
    overflow: hidden;
    clip: rect(0,0,0,0);
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    color:#000 !important;
    background-color:#fff !important;
}

h1
{
    color: #646464;
    font-family: "LexiaLight",Georgia,sans-serif;
    font-size: 2.9231em;
    font-weight:normal;
    letter-spacing: -0.04em;
    line-height: 1em;
    margin-bottom: 0;
    margin-top: 0;
}

h2
{
    color: #646464;
    font-family: "LexiaLight",Georgia,sans-serif;
    font-size: 1.4em;
    font-weight:normal;
}

h3
{
	font-size:1em;
	color: #5D5D5D;
}

a, a:active, a:visited
{
	color:#000000;	
	text-decoration: none;
	font-weight:bold;
}

a:hover
{
	color:#d42b1e;
}


/* Font awesome */
.far {
    font-size:18px;
}
.fa-red {
    color:#D00;
}
.fa-blue {
    color:#5f9edf;
}


ul
{
	line-height:1.4em;
}


hr
{	
	color: #AAAAAA;
 	background-color: #AAAAAA; 
 	border:0; 
 	height: 4px;
} 

/*Used for the 'hr' line seperators*/
.lineseperator
{
    margin-top:25px;
    margin-bottom:-10px;
    height:initial;
    border: 1px solid;
}



/* Maximum width */
.maxwidth
{
    width:90%;
    max-width:1175px;
    /* Note - this is updated in media instructions for large screens */
}



/* Header */
#header
{
    width:100%;
}
#header .headerinner
{
    margin:0 auto;
    overflow:hidden;
}
/* Header cookie consent */
#header #headercookie
{
    background-color:#323232;
}
#header #headercookie .headerinner
{
    padding:0 10px;
}
#header #headercookie #headercookietitle
{
    float:left;
    width:20%;
    margin:10px 0;
}
#header #headercookie #headercookietitle h2
{
    color:#fff;
    background-color:transparent;
}
#header #headercookie #headercookietext
{
    float:left;
    width:60%;
    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;

}

/* Header top nav */
#header #headertop
{
    width:100%;
    background-color:#b5121b;
}
#header #headertoplistmobile
{
    display:none;
}
#header #headertop #headertoplist
{
    height:45px;
    margin:0;
    padding:0;
    text-align:center;
    background-image: url(../../../images/top-nav-bar.gif);
    background-position: top left;
    background-repeat: repeat-y;
    line-height: normal;
}
#header #headertop #headertoplist li
{
    list-style-type: none;
    display:inline-block;
    background-image: url(../../../images/top-nav-bar.gif);
    background-position: top right;
    background-repeat: repeat-y;
    width:16.661%;
    font-family: "EffraRegular",Arial,sans-serif;
    font-size: 1.25rem;
    height: 100%;
}
#header #headertop #headertoplist li:hover
{
    background-color:#ee342b;
}
#header #headertop #headertoplist li a
{
    text-decoration:none;
    font-size:1em;
    font-weight:normal;
    color:#eee;
    height:100%;
    width:100%;
}
#header #headertop #headertoplist li a div
{
    height:100%;
    width:100%;
}
#header #headertop #headertoplist li a div span
{
    position:relative;
    top:26%;
}

/* Header main area */
#header #headermain
{
    background-image: url(../../../images/headerbg.gif);
    background-position: 27.3% bottom;
    background-repeat: no-repeat;
}
#header #headermain .headerinner
{
    padding:25px 0;
}
#header #headermain #headerlogo
{
    margin-top:20px;
    width: 20.8511%;
    float:left;
}
#header #headermain #headerlogo img
{
    display:block;
    width:100%;
}
#header #headermain #headermaincontainer
{
    background-image: url(../../../images/border-dotted-vertical.png);
    background-position: 0 0;
    background-repeat: repeat-y;
    float: right;
    width: 34.0425%;    
}
#header #headermain #headermaintitle
{
    font-family: "LexiaLight",Georgia,sans-serif;
    font-size:2.4em;
    float: right;
    width: 100%;
}
#header #headermain #headermaintitle #headermaintitletext
{
    margin-left: 6.25%;
}
#header #headermain #headermainsearch
{
    clear:both;
    float:right;
    margin-top: 30px;
    width: 93.75%;
}
#header #headermain #headermainsearch fieldset
{
    border: 0 none;
    font: inherit;
    margin: 0;
    padding: 0;
    vertical-align: baseline;
}
#header #headermain #headermainsearch ul
{
    list-style: outside none none;
    margin: 0;
    padding: 0;
}
#header #headermain #headermainsearch li
{
    float:left;
    display: list-item;
    text-align: match-parent;
    margin: 0;
    padding: 0;
}
#header #headermain #headermainsearch li.headermainsearchtext
{
    width: 88.6667%;
    border: 0 none;
    font: inherit;
    margin: 0;
    padding: 0;
    vertical-align: baseline;
}
#header #headermain #headermainsearch li.headermainsearchtext input
{
    color: #1d1d1d;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.9231em;
    margin: 0;
    vertical-align: middle;
    border: 1px solid #e5e5e5;
    height: 31px;
    margin: 0;
    outline: 0 none;
    padding: 0 5%;
    width: 92%;
    -webkit-appearance: textfield;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
    -webkit-appearance: none;
    border-radius: 0;
}
#header #headermain #headermainsearch li.headermainsearchtext input:focus
{
    border: 1px solid #b5121b;
}
#header #headermain #headermainsearch li.headermainsearchbutton
{
    width: 11.3333%;
    height:33px;
}
#header #headermain #headermainsearch li.headermainsearchbutton input
{
    background-image: url(../../../images/spm-global-horizontal.png);
    background-position: right -134px;
    background-repeat: no-repeat;
    height: 33px;
    text-indent: -9999px;
    width: 100%;
    border: medium none;
    display: block;
    cursor: pointer;
}
#header #headermain #headermainsearch li.headermainsearchbutton input:hover
{
    background-position:right -167px;
}
#header #headermail #headermainend
{
    clear:both;
}



/* Header main menu */
#header #headermenu
{
    background-image: url(../../../images/border-solid.png);
    background-position: left bottom;
    background-repeat: repeat-x;
}
#header #headermenu ul
{
    margin:0;
    padding:7px 0;
}
#header #headermenu ul li
{
    list-style-type: none;
    display:inline-block;
    background-image: url(../../../images/border-solid.png);
    background-position: left top;
    background-repeat: repeat-y;
}
#header #headermenu ul li:first-child
{
    background-image:none;
}
#header #headermenu ul li:hover a
{
    color: #d42b1e;
}
#header #headermenu ul li a
{
    display:inline-block;
    text-decoration:none;
    height:24px;
    padding:2px 10px;
    color:#444;
}
#header #headermenu ul li.selected a
{
    color:#d42b1e;
}
#header #headermenu ul li:first-child a
{
    padding-left:0;
}
#header #headermenu .headermoreitemarrow
{
    font-size:0.8em;
}


/* Header banner message */
#header #headerbanner
{
    color:#000;
    text-align:center;
    background-color:#fa8072;
    background-image: url(../../../images/border-solid.png);
    background-position: left bottom;
    background-repeat: repeat-x;
}
#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;
}


/* Breadcrumbs */
#mainbreadcrumbs
{
    background-image: url(../../../images/border-solid.png);
    background-position: left bottom;
    background-repeat: repeat-x;
}
#mainbreadcrumbs #mainbreadcrumbsinner
{
    margin:0 auto;
}
#mainbreadcrumbs ul
{
    margin: 0;
    padding: 1em 0;
    font-size: 0.9231em;
}
#mainbreadcrumbs ul li
{
    background-image: url(../../../images/btn-breadcrumb.png);
    background-position: 0 3px;
    background-repeat: no-repeat;
    display: inline;
    margin-right: 12px;
    padding-left: 18px;
}
#mainbreadcrumbs ul li:first-child
{
    background-image: none;
    padding-left: 0;
}



/* Individual widget */
#maincontentwidgets .mainwidget
{
    background-color: #efefef;
    padding: 1px 9.09091% 20px 9.09091%;
    border-bottom-right-radius: 44px;
    margin-bottom:20px;
}
#maincontentwidgets .mainwidgetcontainer
{
}
#maincontentwidgets .mainwidgetcontent
{
    position: relative;
}
#maincontentwidgets .mainwidgetcontent p
{
    margin:5px 0;
}
#maincontentwidgets .mainwidthseparator
{
    border-top:1px dotted #a0a0a0;
    height:1px;
}




/* Footer */
#footer, #footerpush
{
    height:46px;
    padding:15px 0;
}
#footer
{
    width:100%;
    background-color:#000;
    color:#fff;
}
#footer #footerinner
{
    margin: 0 auto;
    font-size: 0.8462em;
    line-height: 1.6364em;
}
#footer #footernav
{
    float:left;
}
#footer #footercopy
{
    float:right;
}
#footer #footerend
{
    clear:both;
}
#footer #footernav a
{
    font-weight: bold;
}
#footer a, #footer a:visited
{
	color:#ffffff;
	font-weight:normal;
}
#footer a:hover, #footer a:active
{
	color:#d42b1e;
	text-decoration:none;
}





.cssbutton
{
    background-color: #b5121b;
    display:inline-block;
    margin: 0 10px 5px 0;
}
.cssbutton:hover
{
    background-color: #7f0d13;
}
.cssbutton a
{
    display:block;
    padding: 4px 8px;
	color:#eee !important;
    text-decoration: none !important;
    white-space: nowrap;
}



/* Box */
.boxbuttons
{
    margin-top:25px;
}



/* 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-left: 25px;
    display: block;
}
.listwithproperwrap br {
    margin:3px 0px;
    line-height:4px;
    content:" ";
    display:block;
}



.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'], select, textarea {
    color: #1d1d1d;
    font: 99% Arial,Helvetica,sans-serif;
	font-style:normal;
	font-variant:normal;
	font-weight:normal;
	line-height:normal;
}




.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;
}


/* For very large screens... replace the 90% width with a fixed one */
@media screen and (min-width:1280px)
{
    .maxwidth
    {
        width:1175px;
    }
    #header #headermain
    {
        background-image: url(../../../images/headerbgwide.gif);
        background-position: center bottom;
    }
}

/* First step down - mainly header changes */
@media screen and (max-width:1024px) and (min-width:771px)
{
    #header #headertop .maxwidth
    {
        width:100%;
    }
    #header #headertop #headertoplist li a
    {
        font-size: 0.9rem;
    }

    #header #headermain
    {
        background-position: 29.2% bottom;
    }
    #header #headermain .headerinner
    {
        padding:13px 0;
    }
    #header #headermain #headerlogo
    {
        margin-top:10px;
        width: 20%;
    }
    #header #headermain #headermaincontainer
    {
        background-image: none;
        width: 72.6681%;
        margin-top:7px;
        margin-bottom:7px;
    }
    #header #headermain #headermaintitle
    {
        float: left;
        width: 73.4328%;
        text-align:right;
        padding-right:20px;
    }
    #header #headermain #headermaintitle #headermaintitletext
    {
        margin-left: 0;
    }
    #header #headermain #headermainsearch
    {
        width: 25.8209%;
        margin-top: 0;
        clear:none;
    }
    #header #headermain #headermainsearch li.headermainsearchtext
    {
        width:80%;
    }
    #header #headermain #headermainsearch li.headermainsearchbutton
    {
        width:20%;
    }
}

/* Second step down - move widgets to the bottom, put in 2 columns */
@media screen and (max-width:770px)
{
    #header #headertop .maxwidth
    {
        width:100%;
    }
    #header #headertop #headertoplist li a
    {
        font-size: 0.9rem;
    }

    #header #headermain
    {
        background-position: 23.2% bottom;
    }
    #header #headermain #headermaincontainer
    {
        background-image: none;
        float: right;
        width: 54%;
    }

    #header #headermain #headerlogo
    {
        margin-top: 25px;
        width: 35%;
    }
    #header #headermain #headermainsearch
    {
        margin-top: 15px;
    }
}


/* Small - main takes up entire width, widgets take up entire width */
/* If changing, update fullCollapse in header.js */
@media screen and (max-width:770px)
{
    .wrapper
    {
        min-height:0;
        margin-bottom:0;
    }

    #header #headercookie #headercookietitle,
    #header #headercookie #headercookietext,
    #header #headercookie #headercookieclose
    {
        float:none;
        width:100%;
        text-align:left;
    }
    #header #headercookie #headercookietitle h2
    {
        padding:0;
    }


    #header
    {
        border-top: 5px solid #b5121b;
    }
    #header #headertop #headertoplistmobile
    {
        display:block;
    }
    #header #headertop #headertoplistmobilemain
    {
        background-color:#4b4b4b;
        background-image: none;
    }
    #header #headertop #headertoplistmobilemain a
    {
        background-image: none;
        width:auto;
        display:inline-block;
        float:right;
        padding: 8px 10px 8px 13px;
        border-left: 1px solid #676767;
    }
    #header #headertop #headertoplistmobilemain a:first-child
    {
        float:left;
        background-color: #4b4b4b;
        color: #fff;
        font-weight: bold;
        background-image: none;
        padding-left: 13px;
        border-left:0;
    }
    #header #headertop #headertoplistmobilemain a:first-child:hover
    {
        background-color:#5c5c5c;
    }
    #header #headertop #headertoplistmobilemain a:first-child span
    {
        background-image: url(../../../images/spm-global.png);
        background-position: -141px -224px;
        background-repeat: no-repeat;
        height: 25px;
        width: 20px;
        overflow: hidden;
        text-align: left;
        text-indent: -999em;
        display: block;
    }
    /* Menu - 3rd item in the list due to float:right */
    #header #headertop #headertoplistmobilemain a:nth-child(3)
    {
        color:#fff;
        font-size: 1.2em;
        font-weight:normal;
        padding: 11px;
    }
    #header #headertop #headertoplistmobilemain a:nth-child(3) span.menu-icon
    {
        margin-left: 0.4em;
        margin-top: 0.15em;
        box-sizing:border-box;
    }
    #header #headertop #headertoplistmobilemain a:nth-child(3).dropopen
    {
        background-color:#b5121b;
    }
    /* Search - 2nd item in the list due to float:right */
    #header #headertop #headertoplistmobilemain a:nth-child(2)
    {
        font-size: 1.2em;
        font-weight:normal;
        padding: 0.7em;
    }
    #header #headertop #headertoplistmobilemain a:nth-child(2).dropopen
    {
        background-color:#b0b7bc;
    }
    #header #headertop #headertoplistmobileend
    {
        clear:both;
    }

    #header #headertop #headertoplistmobiledrop
    {
        display:none;
        margin: 0;
        padding: 0;
        background-color: #b5121b;
        list-style-type: none;
    }
    #header #headertop #headertoplistmobiledrop li
    {
        border-bottom: 1px dotted #870d15;
        display:block;
    }
    #header #headertop #headertoplistmobiledrop li a
    {
        color:#fff;
        font-size: 1.25em;
        font-weight: normal;
        display:block;
        padding:11px 0 11px 5%;
    }

    #header #headertop .headertoplistmobilesearch
    {
        display:none;
        background-color: #b0b7bc;
    }
    #header #headertop .headertoplistmobilesearch fieldset
    {
        border: 0 none;
        font: inherit;
        margin: 0;
        padding: 0;
        vertical-align: baseline;
        padding: 1.5em 0;
    }
    #header #headertop .headertoplistmobilesearch input
    {
        border: medium none;
        border-radius: 0;
        height: 35px;
        margin-left: 10%;
        padding-left: 0.75em;
        width: 60%;
    }
    #header #headertop .headertoplistmobilesearch #headertoplistmobilesearchbutton
    {
        background: #b5121b none repeat scroll 0 0;
        height: 35px;
        vertical-align: top;
        width: 10%;
        border: medium none;
        font-size: 0;
        line-height: 0;
        margin: 0;
        overflow: visible;
        padding: 0;
        cursor: pointer;
    }
    #header #headertop .headertoplistmobilesearch #headertoplistmobilesearchclose
    {
        background: #b0b7bc none repeat scroll 0 0;
        height: 35px;
        vertical-align: top;
        width: 10%;
        border: medium none;
        font-size: 0;
        line-height: 0;
        margin: 0;
        overflow: visible;
        padding: 0;
        cursor: pointer;
    }


    #header #headertop #headertoplist
    {
        display:none;
    }
    #header #headermain
    {
        display:none;
    }


    #header #headermenu .maxwidth
    {
        width:100%;
    }
    #header #headermenu li
    {
        padding-left: 10px;
    }
    
    #header #headermenu #headermenulistmore
    {
        padding: 0;
    }

    #header #headermenu #headermenulistmore li
    {
        background-image:none;
        padding-left:0;
        display:block;
        border-top:1px dotted #444;
    }
    #header #headermenu #headermenulistmore li a
    {
        width:100%;
        padding:6px 10px;
        display:block;
        height:auto;
    }


    #header #headerbanner .headerinner
    {
        display:block;
    }
    #header #headerbanner #headerbannertext
    {
        display:block;
    }
    #header #headerbanner #headerbannerhide
    {
        display:block;
        text-align:right;
        padding-top:5px;
        width:auto;
    }


    #mainbreadcrumbs
    {
        display:none;
    }


    #footer
    {
        height:auto;
    }
    #footerpush
    {
        display:none;
    }
}

/*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;
}