﻿*, *::before, *::after {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
}
*, *::before, *::after {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
}

html, body, form.mainform
{
    height: 100%;
}
.wrapper
{
    min-height: 100%;
    margin: 0 auto -60px;
}

body 
{
    padding: 0;
    margin: 0;
    font-size: 14px;
    line-height:20px;
    background-color: #ffffff;
    color: #444;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

h1, h2, h3, h4
{
    font-family:"Gill Sans MT", "Gill Sans", "Myriad Pro", Myriad, "DejaVu Sans Condensed", "Liberation Sans", "Nimbus Sans L", Tahoma, Geneva, "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: normal;
    margin:10px 0;
}

h1
{
    font-size: 38.5px;
    line-height: 43px;
}
h1.subsection
{
    margin-top:30px;
}

h2
{
    font-size: 31.5px;
    line-height: 36px;
}

h3
{
    font-size: 24.5px;
    line-height: 29px;
}

p
{
    margin: 10px 0;
}


/* Hidden */
#accesslinks, .skiplink
{
    display:none;
}

/* Links */
a:link, a:visited, a:hover, a:active
{
    color: #666;
}


/* Css Button */
.cssbutton
{
    background-color: #000;
    display:inline-block;
    margin: 0 10px 5px 0;
    transition: background-color 0.2s ease;
}
.cssbutton:hover
{
    background-color: #444;
}
.cssbutton a
{
    display:block;
    padding: 4px 8px;
    color: #fff !important;
    text-decoration: none !important;
    white-space: nowrap;
}


/* 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:940px;
}


/* Header */
#header
{
    width:100%;
}
#header .headerinner
{
    margin:0 auto;
    overflow:hidden;
}
/* Header cookie consent */
#header #headercookie
{
    background-color:#323232;
    position:fixed;
    bottom:0;
    right:0;
    left:0;
    z-index:200;
}
#header #headercookie .headerinner
{
    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;
    height:30px;
    transition-property: background-color, border-bottom;
    transition-duration: 0.2s;
    transition-timing-function: ease;
}
#header ul li a
{
    display:inline-block;
    text-decoration:none;
}
#header .headermoreitemarrow
{
    font-size:0.7em;
}

/* Header top main banner */
#header #headermain
{
    background-color:#000;
}
#header #headermain .headerinner
{
}
#header #headermain #headermaincontent
{
    min-height:90px;
}
#header #headermain #headermainname
{
    float:left;
}
#header #headermain #headermainname a
{
    font-size:2em;
    text-decoration:none;
    color:#444;
}
#header #headermain #headermainname a img
{
    vertical-align:middle;
    width:262px;
}
#header #headermain #headermainname a span
{
    vertical-align:middle;
    margin-left:10px;
}
#header #headermain #headermainmenu
{
    padding:30px 0 0 270px;
    text-align:right;
    vertical-align:middle;
}
#header #headermain #headermainmenu li
{
    margin:0 10px;
}
#header #headermain #headermainmenu li a
{
    color:#fff;
    font-size:16px;
}
#header #headermain #headermainmenu li a:hover
{
    text-decoration:underline;
}

/* "More" Banner */
#header #headermorebanner
{
    height: 123px;
    background-repeat: no-repeat;
    background-position: center center;
    margin-bottom: 10px;
    background-image: url(../../../images/banner_more.jpg);
}
#header #headermorebanner #headermorebannermore
{
    font-size:38.5px;
    margin:50px 0 14px 0;
    line-height:20px;
    color:#fff;
    font-family:"Gill Sans MT", "Gill Sans", "Myriad Pro", Myriad, "DejaVu Sans Condensed", "Liberation Sans", "Nimbus Sans L", Tahoma, Geneva, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* Header main menu */
#header #headermenu
{
    background-color:#fff;
    color:#444;
}
#header #headermenulist
{
    height:30px;
}
#header #headermenu ul li
{
    border-top:3px solid #fff;
    border-bottom:3px solid #fff;
    border-left:1px solid #a0a0a0;
}
#header #headermenu ul li:first-child
{
    border-left:0;
}
#header #headermenu ul li:hover
{
    border-bottom:3px solid #7D203F;
}
#header #headermenu ul li a
{
    padding:2px 10px;
    font-size:1.1em;
    color:#444;
}
#header #headermenu ul li.selected
{
    border-bottom:3px solid #7D203F;
}
#header #headermenu ul li.selected a
{
}


/* Header banner message */
#header #headerbanner
{
    color:#000;
    text-align:center;
    font-weight:bold;
    background-color:#fa8072;
    position:fixed;
    top:0;
    right:0;
    left:0;
    z-index:200;
    transition: all 0.7s ease;
}
#header #headerbanner.hide
{
    -ms-transform: translateY(-100%);
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
}
#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;
}


/* Main area */
#main
{
    margin: 0 auto;
    clear:both;
}

/* Main content area */
#maincontent
{
    float:left;
    width:66%;
    padding-top:10px;
    padding-bottom:20px;
}

/* Widgets - note, the padding is set by the individual widgets, due to the separator line */
#mainwidgets
{
    float:right;
    width:32%;
    padding-top:10px;
}

#mainwidgets .mainwidgetcontent ul
{
    list-style-type:none;
}

#mainwidgets .mainwidgetcontent li
{
    list-style-type:none;
    background:url(/org/images/arrow.png) no-repeat;
    background-position-y:center;
    margin-left:-5px;
    padding-left:20px;
    margin:0px;
}

#mainwidgets .mainwidgetcontent b
{
    font-weight:normal;
}

/* 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 10px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    margin-bottom:20px;
    background-color:#EEEEEE;
}
#mainwidgets .mainwidgetcontainer
{
    padding:0 0 1px 0;
}
#mainwidgets .mainwidgetheader
{
    font-family:"Gill Sans MT", "Gill Sans", "Myriad Pro", Myriad, "DejaVu Sans Condensed", "Liberation Sans", "Nimbus Sans L", Tahoma, Geneva, "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 17.5px;
    line-height: 21px;
}
#mainwidgets .mainwidgetcontent
{
    position:relative;
}
#mainwidgets .mainwidthseparator
{
    border-top:1px dotted #a0a0a0;
    height:1px;
}
#mainwidgets .mainwidget a
{
    color:#444;
    text-decoration:none;
}
#mainwidgets .mainwidget a:hover
{
    text-decoration:underline;
}
#mainwidgets .mainwidget:nth-child(1)
{
    background-color:#663F95;
    color:#fff;
}
#mainwidgets .mainwidget:nth-child(1) a
{
    color:#fff;
}
#mainwidgets .mainwidget:nth-child(2)
{
    background-color:#7D1F3D;
    color:#fff;
}
#mainwidgets .mainwidget:nth-child(2) a
{
    color:#fff;
}

#mainwidgets .rightpanelcontent
{
    background-color:#663F95;
    color:#fff;
}
#mainwidgets .rightpanelcontent a
{
    color:#fff;
}


/* 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 */
#footer
{
    height:60px;
    clear:both;
    background-color:#333333;
    padding: 20px 0;
}
#footer .footerinner
{
    margin: 0 auto;
    text-align:center;
    color:#fff;
    font-size:11.2px;
}
#footer .footerinner a
{
    color:#fff;
    text-decoration:none;
}
#footer .footerinner a:hover
{
    color:#aaaaaa;
    text-decoration:underline;
}
#footer #footerleft
{
    float:left;
}
#footer #footerright
{
    float:right;
}




/* 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 .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;
}


@media screen and (max-width:979px)
{
    .maxwidth
    {
        max-width:724px;
    }

    #mainwidgets
    {
        width:31.5%;
    }
}


/* Medium - main takes up entire width, widgets takeup 50% */
@media screen and (max-width:767px)
{
    .wrapper
    {
        margin-bottom:-80px;
    }

    #header #headermain #headermainmenu
    {
        padding-left:0;
    }

    #header #headermorebanner #headermorebannermore
    {
        padding:0 10px;
    }

    #header #headertoplistmore
    {
        position:absolute;
        top:60px;
        right:0;
        background-color:#000;
        text-align:left;
    }

    #header #headertoplistmore li,
    #header #headertoplistmore li a
    {
        display:block;
    }
    #header #headertoplistmore li a
    {
        padding:5px;
    }

    #main
    {
        width:100%;
        max-width:unset;
    }

    /* Take up entire width */
    #maincontent
    {
        width:100%;
        padding:10px;
    }
    
    /* Take up entire width, but now padding is added */
    #mainwidgets
    {
        width:100%;
        padding:10px;
    }
    
    /* Individual widgets now take up 50% of the room */
    #mainwidgets .mainwidget
    {
        float:left;
        width:calc(50% - 10px);
    }
    /* Odd (left side) needs to clear */
    #mainwidgets .mainwidget:nth-child(odd)
    {
        clear:both;
        margin-right:10px;
    }
    /* Even (right side) */
    #mainwidgets .mainwidget:nth-child(even)
    {
        margin-left:10px;
    }

    #footer
    {
        height:80px;
    }
    #footer #footerleft
    {
        float:none;
    }
    #footer #footerright
    {
        float:none;
    }

}

/* Small - main takes up entire width, widgets take up entire width */
/* If changing, update fullCollapse in header.js */
@media screen and (max-width:499px)
{
    .wrapper
    {
        min-height:0;
        margin-bottom:0;
    }

    .maxwidth
    {
        min-width:360px;
    }

    #header #headercookie #headercookietext,
    #header #headercookie #headercookieclose
    {
        float:none;
        width:100%;
        text-align:left;
    }
    
    #header #headerbanner .headerinner
    {
        display:block;
    }
    #header #headerbanner #headerbannertext
    {
        display:block;
    }
    #header #headerbanner #headerbannerhide
    {
        display:block;
        text-align:right;
        padding-top:5px;
        width:auto;
    }
    
    #mainwidgets .mainwidget
    {
        float:none;
        width:100%;
        margin-right:0 !important;
        margin-left:0 !important;
    }

    #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;
}
.editContentEdit img
{
    margin:3px 0 3px 3px;
    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;
}

/* My Recruitment page */
#myRecTitle
{
    display:table;
    width:100%;
    margin-bottom:10px;
}
#myRecTitle #myRecTitleHeader
{
    display:table-cell;
    vertical-align:middle;
}
#myRecTitle #myRecTitleAccount
{
    display:table-cell;
    width:1%;
    text-align:center;
    white-space:nowrap;
}
#myRecTitle #myRecTitleAccount a
{
    text-decoration:none;
}
#myRecTitle #myRecTitleAccount i
{
    font-size:2em;
}
#myRecOuter
{
    display:-webkit-box;
    display:-ms-flexbox;
    display:-webkit-flex;
    display:flex;
    flex-wrap:wrap;
    margin:10px -10px 0;
}
#myRecOuter .myRecItem
{
    width:calc(33.3% - 20px);
    margin:0 10px 20px;
    border:1px solid #d8d8d8;
    box-shadow:5px 5px 10px rgba(0,0,0,.4);
    border-radius:5px;
}
#myRecOuter .myRecItem .myRecHeader
{
    font-size:1.2em;
    font-weight:bold;
    border-radius:2px 2px 0 0;
    background-color:#d8d8d8;
    padding:10px;
}
#myRecOuter .myRecItem .myRecHeader a
{
    text-decoration:none;
    display:table;
    width:100%;
}
#myRecOuter .myRecItem .myRecHeader .myRecHeaderIcon
{
    color:black;
    display:table-cell;
    width:1%;
    padding-right:10px;
}
#myRecOuter .myRecItem .myRecHeader .myRecHeaderText
{
    display:table-cell;
}
#myRecOuter .myRecItem .myRecHeader .myRecHeaderText .myRecHeaderNew
{
    float:right;
    color:red;
    font-size:0.8em;
    line-height:0.8em;
    padding-left:5px;
}
#myRecOuter .myRecItem .myRecContent
{
    padding:10px;
    height: calc(100% - 48px); /* Note, height set in javascript on resize */
}
#myRecOuter .myRecItem .myRecContent a
{
    text-decoration:none;
}
#myRecOuter .myRecItem .myRecContent p
{
    margin:0;
    padding:5px 0;
    font-size:inherit;
}
#myRecOuter .myRecItem .myRecContent .myRecContentCenter
{
    text-align:center;
}
#myRecOuter .myRecItem .myRecContent .myRecContentMiddle
{
    position:relative;
    top:50%;
    -webkit-transform:translateY(-50%);
    -ms-transform:translateY(-50%);
    transform:translateY(-50%);
}
#myRecOuter .myRecItem .myRecContent .myRecContentHighlight
{
    color:red;
}
#myRecOuter .myRecItem .myRecContent .myRecContentIndent
{
    margin-left:20px;
}
#myRecOuter .myRecItem .myRecContent .myRecTextbox,
#myRecOuter .myRecItem .myRecContent .myRecButton
{
    display:inline-block;
    border:1px solid #d8d8d8;
    padding:5px;
    font-size:16px;
    line-height:16px;
    font-family:Arial; /*Replicating general textbox font*/
    margin:5px 0;
    height:30px;
}
#myRecOuter .myRecItem .myRecContent .myRecTextbox
{
    width:calc(100% - 50px);
    border-radius:5px 0 0 5px;
    background-color:#fff;
}
#myRecOuter .myRecItem .myRecContent .myRecButton
{
    width:50px;
    border-radius:0 5px 5px 0;
    background-color:#d8d8d8;
}
#myRecOuter .myRecItem .myRecContent .myRecLargeIcon
{
    font-size:2.5em;
}
#myRecOuter .myRecItem .myRecContent .myRecHourGlassContainer
{
    height:55px;
    line-height:45px;
}
#myRecOuter .myRecItem .myRecContent .myRecHourGlass
{
    animation: myRecHourglass 6s infinite;
    opacity:0;
}
#myRecOuter .myRecItem .myRecContent .myRecHourGlass:nth-child(2)
{
    animation-delay: 2s;
}
#myRecOuter .myRecItem .myRecContent .myRecHourGlass:nth-child(3)
{
    animation-delay: 4s;
}
@keyframes myRecHourglass
{
    0%,33% { opacity:1; }
    34%,100% { opacity:0; }
}

@media screen and (max-width:1023px)
{
    #myRecOuter .myRecItem
    {
        width:calc(50% - 20px);
    }
}

@media screen and (max-width:767px)
{
    #myRecOuter
    {
        margin-left:0;
        margin-right:0;
    }
    #myRecOuter .myRecItem
    {
        width:100%;
        margin-left:0;
        margin-right:0;
    }
}