﻿*, *::before, *::after {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
}

html, body, form.mainform
{
    height: 100%;
    font-size: 15px;
}

body 
{
    padding: 0;
    margin: 0;
    color: #414141;
    font-family: foco, Arial;
    font-weight:100;
}

.wrapper
{
    min-height: 100%;
    margin: 0 auto -146px;
}

#background
{
    position:fixed;
    top:0;
    left:0;
    right:0;
    bottom:0;
    z-index:-1;
}
#background #backgroundinner
{
    position:absolute;
    top:0;
    left:0;
    right:0;
    bottom:0;
    background-color: #ffffff;
    background-image: url(../../../images/background3.jpg);
    background-size: cover;
    background-attachment:fixed;
    background-position:center center;
    -webkit-transform: scale(1.025);
    -moz-transform: scale(1.025);
    -ms-transform: scale(1.025);
    -o-transform: scale(1.025);
    transform: scale(1.025);
}

h1
{
    font-size:1.8rem;
    margin:6px 0 26px;
    color:#FFF;
    background-color:#EA5159;
    font-weight:700;
    margin-left:-1000px;
    padding:6px 10px 6px 1000px;
    display:inline-block;
    text-transform:uppercase;
    letter-spacing: 1px;
}
h1.subsection
{
    margin-top:30px;
}

h2
{
    margin:5px 0;
    font-size:1.5em;
}

h3
{
    margin:5px 0;
    font-size:1.3em;
}

p
{
    margin: 0 0 10px;
    line-height:20px;
}


/* 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, a:hover, a:active
{
    color: #3742a5;
}


/* Css Button */
.cssbutton
{
    background-color: #414141;
    display:inline-block;
    margin: 0 10px 5px 0;
    transition: background-color 0.2s ease;
    text-transform:uppercase;
    font-weight:700;
}
.cssbutton:hover
{
    background-color: #EA5159;
}
.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:1280px;
}
#header .maxwidth
{
    width:90%;
    max-width:1260px;
}


/* Header */
#header
{
    width:100%;
    padding-top:60px;
}
#header .headerinner
{
    margin:0 auto;
}


/* Header top nav */
#header #headerstatic
{
    position:fixed;
    top:0;
    right:0;
    width:100%;
    background-color:#e3e3e3;
    z-index:100;
    height:60px;
}
#header #headerstatic #headerstaticinner
{
    margin-left:-15px;
    margin-right:-15px;
}

#header #headerstatic #headerstatictitle
{
    float:left;
    width:25%;
    line-height:60px;
    padding:0 11.25px;
    z-index:120;
}
#header #headerstatic #headerstatictitle a
{
    font-size:.9rem;
    font-weight:lighter;
    text-decoration:none;
    text-transform:uppercase;
    color:#414141;
    letter-spacing:1px;
    text-rendering: optimizeLegibility;
    line-height:20px;
}
#header #headerstatic #headerstatictitle a:hover
{
    color:#414141;
}

#header .headermenu
{
    float:left;
    width:75%;
    padding:0 11.25px;
    z-index:120;
}
#header .headermenu ul
{
    margin:0 calc(5vw + 18px) 0 0;
    padding:0;
    list-style-type:none;
    float:right;
}
#header .headermenu ul li
{
    display:inline-block;
    padding:0 20px;
    height:40px;
    text-transform:uppercase;
    border-right:1px solid #3742a5;
}
#header .headermenu ul li a
{
    margin-top: 21px;
    display: block;
    text-decoration: none;
    font-size: .875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color:#414141;
    line-height:20px;
}
#header .headermenu ul li a:hover
{
    color:#414141;
}

#header #headerstatic #headerstaticmobile,
#header #headerstaticmobileoverlay
{
    display:none;
}



/* 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;
    padding-right:10px;
    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 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 #headerbannertext
{
    display:table-cell;
    vertical-align:top;
}
#header #headerbanner #headerbannerhide
{
    display:table-cell;
    width:150px;
    vertical-align:middle;
}


#header #headerappmenu
{
    background-color:#414141;
    z-index:100;
    height:40px;
}
#header #headerappmenu #headerappmenuinner
{
    margin-left:-15px;
    margin-right:-15px;
    text-align:right;
}
#header #headerappmenu #headerappmenuinner #headerappmenumenu
{
    width:100%;
}
#header #headerappmenu #headerappmenuinner #headerappmenumenu li
{
    border-right:0;
}
#header #headerappmenu #headerappmenuinner #headerappmenumenu a
{
    margin-top:10px;
    color:#fff;
}




#premain
{
    margin: 0 auto;
    clear:both;
    padding: 0 10px;
}
#premain #premaininner
{
    padding:65px 0 0 2.38095238%;
}
#premain h1
{
    margin-left:-990px;
}



/* Main area */
#main
{
    margin: 0 auto;
    clear:both;
    padding:0 20px;
    font-size:1rem;
}

/* Main content area */
#maincontent
{
    float:left;
    width: calc(66.66666667% - 6.67px);
    padding: 20px 2.38095238%;
    background-color:#f4f4f0;
    margin-bottom:1.5em;
}

/* My Recruitment main content area*/
#maincontent.myrecruitment
{
    width:unset;
}

/* Widgets - note, the padding is set by the individual widgets, due to the separator line */
#mainwidgets
{
    float:right;
    width: calc(33.33333333% - 13.33px);
}

#mainend
{
    clear:both;
}

/* If full width (i.e. there are no widgets) */
#maincontent.mainfullwidth
{
    width:100%;
}
#mainwidgets.mainfullwidth
{
    display:none;
}

/* Individual widget */
#mainwidgets .mainwidget
{
    width:100%;
    background-color:#fff;
    margin-bottom:1.5em;
}
#mainwidgets .mainwidgetcontainer
{
}
#mainwidgets .mainwidgetheader
{
    font-size:17px;
    font-weight:700;
    padding:7px 11px;
    background-color:#414141;
    color:#fff;
    letter-spacing:1px;
    line-height:28px;
    text-transform:uppercase;
}
#mainwidgets .mainwidgetcontent
{
    position:relative;
    padding:15px;
}
#mainwidgets .mainwidthseparator
{
    border-top:1px dotted #a0a0a0;
    height:1px;
}


#mainwidgets .mainwidgetcontainer ul.contentnavlinks
{
    margin:0;
    padding:0;
    list-style-type:none;
}
#mainwidgets .mainwidgetcontainer ul.contentnavlinks li
{
    margin-bottom: .36em;
}
#mainwidgets .mainwidgetcontainer a
{
    position:relative;
    text-decoration:none;
    margin-left:20px;
}
#mainwidgets .mainwidgetcontainer a::before
{
    position: absolute;
    left: -20px;
    display: block;
    width: 14px;
    height: 14px;
    font-size: 14px;
    margin-top: -7px;
    content: "\f061";
    top: .6em;
    font-family: FontAwesomePro;
    font-style: normal;
    font-weight: 400;
    line-height: 1;
    color:#414141;
}
#mainwidgets .mainwidgetcontainer .cssbutton a
{
    margin-left:0;
}
#mainwidgets .mainwidgetcontainer .cssbutton a::before
{
    display:none;
}


/* 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 */
#prefooter
{
    clear:both;
    height:60px;
}
#footer
{
    height:86px;
    clear:both;
    background-color:#e3e3e3;
    padding: 30px 0 30px;
    font-size: .875rem;
}
#footer .footerinner
{
    margin: 0 auto;
    text-align:center;
    color: #414141;
    padding:0 0 5px 10px;
}
#footer .footerinner a
{
    color:#414141;
}




/* 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:inherit;
    font-size:15px;
}



/* 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:0 0 6px 25px;
    display:block;
}
.listwithproperwrap > label:last-child,
.listwithproperwrap span:last-child label {
    margin-bottom:0;
}
.listwithproperwrap br {
    display:none;
}


.boxfooter
{
    margin-top:20px;
}


@media screen and (max-width:1115px)
{
    body.mobilemenutriggered
    {
        position:fixed;
    }

    #header #headerstatic #headerstatictitle
    {
        width:91.66667%;
    }
    #header .headermenu
    {
        width:8.33333%;
    }
}

@media screen and (max-width:769px)
{
    html
    {
        font-size: 13.95px;
    }

    .wrapper
    {
        min-height:0;
        margin-bottom:0;
    }

    #header #headerappmenu
    {
        display:none;
    }

    #header #headerstatic #headerstaticmobile
    {
        display:block;
    }
    #header #headerstatic #headerstaticmobiletrigger
    {
        display:block;
        width: 25px;
        height: 20px;
        top: 21px;
        position: relative;
        right: 10px;
        float: right;
        cursor:pointer;
    }
    #header #headerstatic #headerstaticmobiletrigger span
    {
        display: block;
        position: absolute;
        left: 0;
        height: 2px;
        width: 100%;
        background: #414141;
        opacity: 1;
        -webkit-transform: rotate(0);
        -moz-transform: rotate(0);
        -o-transform: rotate(0);
        -ms-transform: rotate(0);
        transform: rotate(0);
        -o-transition: all .3s ease-in-out;
        -moz-transition: all .3s ease-in-out;
        -webkit-transition: all .3s ease-in-out;
        transition: all .3s ease-in-out;
    }
    #header #headerstatic #headerstaticmobiletrigger span:nth-child(1)
    {
        top: 1px;
    }
    #header #headerstatic #headerstaticmobiletrigger span:nth-child(2),
    #header #headerstatic #headerstaticmobiletrigger span:nth-child(3)
    {
        top: 8px;
    }
    #header #headerstatic #headerstaticmobiletrigger span:nth-child(4)
    {
        top: 15px;
    }

    #header #headerstatic #headerstaticmobile.triggered #headerstaticmobiletrigger span:nth-child(1),
    #header #headerstatic #headerstaticmobile.triggered #headerstaticmobiletrigger span:nth-child(4)
    {
        width: 0;
        left: 50%;
        top: 8px;
    }
    #header #headerstatic #headerstaticmobile.triggered #headerstaticmobiletrigger span:nth-child(2)
    {
        -webkit-transform: rotate(-45deg);
        -moz-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
        -o-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }
    #header #headerstatic #headerstaticmobile.triggered #headerstaticmobiletrigger span:nth-child(3)
    {
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        -o-transform: rotate(45deg);
        transform: rotate(45deg);
    }

    #header #headerstaticmobileoverlay
    {
        position:absolute;
        opacity:1;
        top:60px;
        z-index:110;
        background-color: #e3e3e3;
        width:100vw;
        height:calc(100vh - 60px);
        left: 0;
        -webkit-overflow-scrolling: touch;
        overflow-x: hidden;
        overflow-y: scroll;
        position: absolute;
        text-align:left;
        padding-top:15px;
    }
    #header #headerstaticmobileoverlay ul
    {
        margin:0 0 25px 0;
        padding:0;
        list-style-type:none;
    }
    #header #headerstaticmobileoverlay ul li
    {
        margin-left:10%;
        width:90%;
        border-bottom:1px solid #3742a5;
        height:46px;
    }
    #header #headerstaticmobileoverlay ul li a
    {
        margin-top: 0;
        display: block;
        text-decoration: none;
        font-size: .875rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
        color:#414141;
        line-height:48px;
    }
    #header #headerstaticmobileoverlayend
    {
        height:125px;
    }


    /* Take up entire width */
    #maincontent
    {
        width:100%;
    }
    
    /* Take up entire width, but now padding is added */
    #mainwidgets
    {
        width:100%;
    }
    
    /* Individual widgets now take up 50% of the room */
    #mainwidgets #mainwidgetscontainer .mainwidget
    {
        float:left;
        width:calc(50% - 10px);
    }
    /* Odd (left side) needs to clear */
    #mainwidgets #mainwidgetscontainer .mainwidget:nth-child(odd)
    {
        clear:both;
        margin-right:10px;
    }
    /* Even (right side) */
    #mainwidgets #mainwidgetscontainer .mainwidget:nth-child(even)
    {
        margin-left:10px;
    }
}

/* Small - main takes up entire width, widgets take up entire width */
@media screen and (max-width:567px)
{
    h1
    {
        font-size: 1rem;
        margin-top:10px;
        margin-bottom:30px;
    }

    #header #headercookie
    {
        position:relative;
        overflow:hidden;
        z-index:unset;
    }
    #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 #mainwidgetscontainer .mainwidget
    {
        float:none;
        width:100%;
        /* Needs "!important" as otherwise the medium instructions override */
        margin-left:0px !important;
        margin-right:0px !important;
    }
    
    #main
    {    
        min-height:0;
    }

    #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;
}

/*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;
    }
}