﻿*, *::before, *::after {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
}


@font-face {
	font-family:"Circular";
	src:url("../../Fonts/lineto-circular-pro-bold-eot.eot");
	src:url("../../Fonts/lineto-circular-pro-book-eot.eot?#iefix") format("embedded-opentype"),url("../../Fonts/lineto-circular-pro-book-woff.woff") format("woff");
	font-weight:normal;
	font-style:normal
}
@font-face {
	font-family:"Circular";
	src:url("../../Fonts/lineto-circular-pro-medium-eot.eot");
	src:url("../../Fonts/lineto-circular-pro-medium-eot.eot?#iefix") format("embedded-opentype"),url("../../Fonts/lineto-circular-pro-medium-woff.woff") format("woff");
	font-weight:500;
	font-style:normal
}
@font-face {
	font-family:"Circular";
	src:url("../../Fonts/lineto-circular-pro-bold-eot.eot");
	src:url("../../Fonts/lineto-circular-pro-bold-eot.eot?#iefix") format("embedded-opentype"),url("../../Fonts/lineto-circular-pro-bold-woff.woff") format("woff");
	font-weight:bold;
	font-style:normal
}

html, body, form.mainform
{
    height:100%;
    min-height:100%;
}

body
{
    padding:0;
    margin:0;
    font-size:15px;
    line-height:21px;
    font-family: Circular, Arial, sans-serif;
    color:#333;
    background-color:#003466;
}
#bodypopup
{
    background-color:#fff;
}


/* Hidden accessibility */
#accesslinks, .skiplink
{
	display:none;
}
.sr-only
{
    overflow: hidden;
    clip: rect(0,0,0,0);
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
}


a, a:active, a:visited
{
	color:#1F1539;
}

a:hover
{
	color:#C72370;	
	text-decoration: underline
}

/* Css Button */
.cssbutton
{
    background-color: #005597;
    display:inline-block;
    margin: 0 10px 5px 0;
    transition: all 0.2s ease;
}
.cssbutton:hover
{
    background-color: #96c4e8;
}
.cssbutton a
{
    display:block;
    padding: 10px 15px;
    color: #fff !important;
    text-decoration: none !important;
    white-space: nowrap;
}
.cssbutton:hover a
{
    color: #000 !important;
}



h1, h2, h3, h4
{
    color:#18194f;
    margin:30px 0 10px;
    line-height:normal;
}
h1
{
    font-size:24px;
}
h2
{
    font-size:21px;
}
h3
{
    font-size:18px;
}
h4
{
    font-size:16px;
}

h1.pagetitle,
h2.pagetitle,
h3.pagetitle,
h4.pagetitle,
.boxheadertitle h1
{
    margin-top:0;
}

.boxbuttons
{
    margin-top:30px;
}


.maxwidth
{
    width:100%;
    max-width:1200px;
}
.clearboth
{
    clear:both;
}

#wrapper
{
    margin:0 auto -68px;
    background-color:#fff;
    min-height:100%;
    box-shadow: 0 0 50px #000;
}

#header
{
}

#header #headertop
{
    display:table;
    width:100%;
    background-color:#fff;
    padding-bottom:10px;
}
#header #headertop #headerlogo
{
    display:table-cell;
    width:243px;
}
#header #headertop #headertitle
{
    display:table-cell;
    font-size:25px;
    text-align:right;
    vertical-align:middle;
    padding-right:20px;
}

#header #headermenu::before
{
    content:" ";
    display:table;
    background:linear-gradient(#767676,#c3c3c3);
    height:5px;
    width:100%;
}
#header #headermenu
{
    background-color:#f5f5f5;
    background:linear-gradient(#fbfbfb,#e7e7e7);
    border-bottom:1px solid #ccc;
    text-align:right;
}
#header #headermenu ul
{
    margin:0;
    padding:0;
    list-style-type:none;
}
#header #headermenu ul li
{
    display:inline-block;
}
#header #headermenu ul li a
{
    display:inline-block;
    padding:10px 20px;
    text-decoration:none;
}
#header #headermenu ul li a:hover
{
    background:linear-gradient(#e7e7e7,#fbfbfb);
}
#header .headermoreitemarrow
{
}



#header #headerbanner
{
    background-color:#fa8072;
}
#header #headerbanner #headerbannerinner
{
    display:table;
    width:100%;
}
#header #headerbanner #headerbannertext
{
    display:table-cell;
    padding:20px;
    vertical-align:middle;
}
#header #headerbanner #headerbannertext p
{
    margin:0;
}
#header #headerbanner #headerbannertext p a
{
    color:#333 !important;
}
#header #headerbanner #headerbannerhide
{
    display:table-cell;
    padding:20px 20px 20px 0;
    width:1%;
    white-space:nowrap;
    vertical-align:top;
}
#header #headerbanner #headerbannerhide .cssbutton
{
    margin:0;
}
#header #headerbanner.hide
{
    -ms-transform: translateY(-100%);
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
}


#main
{
    padding:20px 10% 40px;
    overflow:hidden;
}
#main p,
#main fieldset.radiobuttonlist,
#main fieldset.checkboxlist
{
    margin:20px 0;
}


#maincontent
{
    float:left;
    width:calc(100% - 300px);
    padding:0 20px 40px 0;
}

#mainwidgets
{
    float:left;
    width:300px;
    padding:0 0 40px 20px;
}


/* 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;
    background-color:#EBEBEB;
    margin-bottom:20px;
}
#mainwidgets .mainwidgetcontainer
{
    padding:10px;
}
#mainwidgets .mainwidgetheader
{
    font-size:1.5em;
    color:#18194f;
}
#mainwidgets .mainwidgetcontent
{
    position:relative;
}
#mainwidgets .mainwidthseparator
{
    border-top:1px dotted #a0a0a0;
    height:1px;
}


#footer
{
    margin:0 auto;
    background-color: #f5f5f5;
    background: linear-gradient(#e7e7e7,#fbfbfb);
    border-top: 1px solid #ccc;
    text-align: center;
    padding:15px 0 20px;
}
#footer ul
{
    margin:0;
    padding:0;
    list-style:none;
}
#footer ul li
{
    display:inline-block;
    padding:5px 10px;
}



.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, textarea, select {
	font-family:Circular,verdana,sans-serif;
	font-size:15px;
	font-style:normal;
	font-variant:normal;
	font-weight:normal;
	line-height:normal;
}

textarea {
	resize:vertical;
}


/* 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;
}



.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;
}


/* jquery dialog #header */
.ui-widget-#header
{
    background-color:#005597 !important;
}

@media screen and (max-width:1000px)
{
    #main
    {
        padding:20px 5%;
    }
    #maincontent
    {
        width:calc(100% - 250px);
    }
    #mainwidgets
    {
        width:250px;
    }
}

@media screen and (max-width:750px)
{
    #header #headermenu ul li,
    #header #headermenu ul li a
    {
        display:block;
        background:linear-gradient(#fbfbfb,#e7e7e7) !important;
    }

    #header #headerbanner #headerbannerinner,
    #header #headerbanner #headerbannertext,
    #header #headerbanner #headerbannerhide
    {
        display:block;
    }
    #header #headerbanner #headerbannertext
    {
        padding:15px;
    }
    #header #headerbanner #headerbannerhide
    {
        padding:0 15px 15px 15px;
    }

    #maincontent,
    #mainwidgets
    {
        float:none;
        width:100%;
        padding:0 0 40px 0;
    }

    #mainwidgets
    {
        display: -ms-flexbox;
        display: flex;
        flex-wrap:wrap;
    }
    #mainwidgets .mainwidget
    {
        flex-basis:calc(50% - 10px);
        margin-left:10px;
    }
    #mainwidgets .mainwidget:nth-child(2n+1)
    {
        margin-left:0;
        margin-right:10px;
    }
}

@media screen and (max-width:600px)
{
    #header #headertop,
    #header #headertop #headerlogo,
    #header #headertop #headertitle
    {
        display:block;
    }
    #header #headertop #headertitle
    {
        padding:10px 10px 0 10px;
    }

    #mainwidgets
    {
        display: -ms-flexbox;
        display: flex;
        flex-wrap:wrap;
    }
    #mainwidgets .mainwidget
    {
        flex-basis:100%;
        margin-left:0 !important;
        margin-right:0 !important;
    }

    #footer ul li
    {
        display:block;
    }
}

/*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;
}