  ﻿/* Main area */
#main
{
    margin: 56px auto 0;
    padding:0 18px;
    clear:both;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    display: -ms-flexbox;
    -ms-flex-wrap: wrap;
    -ms-flex-pack: center;
}
#maininner
{
    flex-basis: calc(60% + (18px*2));
    width: calc(60% + (18px*2));
}

/* Main content area */
#maincontent
{
    margin-bottom:56px;
}

/* Widgets - note, the padding is set by the individual widgets, due to the separator line */
#mainwidgets
{
    float:right;
    width:50%;
    margin-left:36px;
    margin-right: calc(-25% - (18px / 2));
}

/* Individual widget in General.css */



#mainwidgets .widgetsearchfacet
{
    border-bottom: 2px solid #f0f0f1;
    padding: 28px 0;
}
#mainwidgets .widgetsearchfacet:last-child
{
    border-bottom:0;
}



/* Vacancy Search widget */
#mainwidgets #mainwidgetvacancysearchbtn
{
    position:absolute;
    right:0;
    margin:0;
}
#mainwidgets #mainwidgetvacancysearchbtn .cssbutton
{
    margin-right:0px;
}

/* Latest Vacancies widget */
#mainwidgets #mainwidgetlatestvacancieslist
{
    padding:0;
    margin:12px 0 12px 20px;
    list-style-type:none;
}

/* "Left Nav" image */
#mainwidgets #mainwidgetimage
{
    text-align:center;
}
#mainwidgets #mainwidgetimage img
{
    width:100%;
    vertical-align:text-bottom;
}

/* Job widgets */
#mainwidgets #mainwidgetjobyoutube
{
    float: none;
    clear: both;
    width: 100%;
    position: relative;
    padding-bottom: 56.25%;
    /*padding-top: 25px; Enable this for 4:3 layout*/
    height: 0;
}
#mainwidgets #mainwidgetjobyoutube object,
#mainwidgets #mainwidgetjobyoutube embed
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border:0;
}
#mainwidgets #mainwidgetjobimage
{
    text-align:center;
}
#mainwidgets #mainwidgetjobimage img
{
    width:100%;
    vertical-align:text-bottom;
}



/* Homepage hero */
#homepagehero
{
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(/jobs/Org/images/homepagehero.jpg);
    min-height: 560px;
    padding: 28px 0 56px 0;
    display: flex;
    display: -ms-flexbox;
    align-items: flex-end;
    -ms-flex-align: end;
    background-color: #202329;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    margin-top: -126px;
}
#homepagehero #homepagetitle
{
    width:100%;
}
#homepagehero #homepagetitleheader
{
    font-size: 80px;
    font-weight: 700;
    line-height: 92px;
    color:#fff;
    text-align: center;
}
#homepagehero #homepagetitlesubheader
{
    font-size: 24px;
    line-height: 37px;
    color:#fff;
    text-align: center;
    margin-top: 28px;
}


/* Non-homepage header */
#pageheader
{
    background-color: #fff;
    padding:56px 0;
}
#pageheadertitleheader
{
    font-size: 60px;
    line-height: 70px;
    font-weight: 700;
    color:#202329;
    text-align: center;
}



/* Homepage footer */
.homepagefooter
{
    background-color:#4ed5e8;
    padding:28px 0 56px;
}
.homepagefooter .homepagefooterinner
{
    text-align:center;
}
.homepagefooter .homepagefootercontainer
{
    width: calc(60% + (18px*2));
    margin:0 auto;
    padding:28px 0 0;
}
.homepagefooter .homepagefooterheader
{
    text-transform: uppercase;
    font-size: 36px;
    line-height: 48px;
    font-weight: 700;
}
.homepagefooter .homepagefootercontent p
{
    font-size: 18px;
    line-height: 28px;
    margin: 18px 0 28px;
}
.homepagefooter .homepagefootercontent hr
{
    background-color: #89e3f0;
    border: 0;
    height: 14px;
    margin: 28px auto;
    width: 180px;
}
.homepagefooter .homepagefootermap
{
    height: 0;
    overflow: hidden;
    padding-bottom: 56.25%;
    position: relative;
}
.homepagefooter .homepagefootermap iframe
{
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}
.homepagefooter #homepagefootermapcard
{
    background-color: #fff;
    border-bottom: 7px solid #89e3f0;
}
.homepagefooter footer
{
    padding: 28px 18px;
}
.homepagefooter footer address span
{
    display: block;
    font-style: normal;
}
.homepagefooter footer address span:first-child
{
    font-weight:700;
}
.homepagefooter #homepagefootercontact
{
    margin-top:28px;
}
.homepagefooter #homepagefootercontact .cssbutton
{
    margin:0;
}


.homepagefooter .homepagefooterdivider 
{
    background-color: #89e3f0;
    width: calc(100% - (18px * 2));
    height: 4px;
    border:0;
    margin-top:54px;
    margin-bottom:40px;
    text-align:center;
}

.homepagefooter #homepagefootersocial
{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    display: -ms-flexbox;
    -ms-flex-wrap: wrap;
    -ms-flex-pack: center;
    padding: 23px 0;
}
.homepagefooter #homepagefootersocial .homepagefootersocialbutton
{
    background-color: #202329;
    background-image: url(/jobs/Org/images/social-icons.svg);
    background-repeat: no-repeat;
    border-radius: 100%;
    display: block;
    font-size: 0;
    height: 70px;
    margin: 5px 14px;
    overflow: hidden;
    width: 70px;
}
.homepagefooter #homepagefootersocial .homepagefootersocialbutton:hover
{
    background-color: #006473;
    cursor: pointer;
}
.homepagefooter #homepagefootersocial .homepagefootersocialbutton.facebook {
    background-position: -600px 21px;
}
.homepagefooter #homepagefootersocial .homepagefootersocialbutton.instagram {
    background-position: -300px 21px;
}
.homepagefooter #homepagefootersocial .homepagefootersocialbutton.twitter {
    background-position: -100px 21px;
}
.homepagefooter #homepagefootersocial .homepagefootersocialbutton.youtube {
    background-position: 0 21px;
}
.homepagefooter #homepagefootersocial .homepagefootersocialbutton.sinaweibo {
    background-position: -200px 21px;
}
.homepagefooter #homepagefootersocial .homepagefootersocialbutton.wechat {
    background-position: -400px 21px;
}
.homepagefooter #homepagefootersocial .homepagefootersocialbutton.glassdoor {
    background-image: url(/jobs/Org/images/social-icons-glassdoor.svg);
    background-position: 26px 21px;
}


#homepagefooterlogos
{
    background-color:#f0f0f1;
}
#homepagefooterlogos .homepagefootercontent hr
{
    background-color: #fc0c42;
}
#homepagefooterlogos .homepagefootercontainer
{
    width:unset;
}

#homepagefooterlogos #homepagefooterlogoscontainer
{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    display: -ms-flexbox;
    -ms-flex-wrap: wrap;
    -ms-flex-pack: center;
}
#homepagefooterlogos #homepagefooterlogoscontainer .homepagefooterlogo
{
    padding: 14px 34px;
}







/* Search area */
#searchbar
{
    background-color: #fc0c42;
    padding:28px 0;
}
#searchbar #searchtitle
{
    font-weight: 700;
    font-size: 36px;
    line-height: 48px;
    margin-bottom: 14px;
    margin-top: 0;
    color:#fff;
}
#searchbar .searchbartext
{
    outline: 0;
    background-color: transparent;
    float: left;
    margin: 0 9px 0 0;
    padding: 0 0 4px;
    border:0;
    border-bottom: 2px solid #fff;
    color: #ffeb3b;
    font-size: 28px;
    font-weight: 400;
    height: 42px;
    line-height: 37px;
    width: calc(100% - 37px);
}
#searchbar .searchbartext:focus
{
    border-bottom: 2px solid #ffeb3b;
}
#searchbar .searchbartext::-webkit-input-placeholder
{
    color: #fff;
    font-style: italic;
    opacity:1;
}
#searchbar .searchbartext:-moz-placeholder
{
    color: #fff;
    font-style: italic;
    opacity:1;
}
#searchbar .searchbartext::-moz-placeholder
{
    color: #fff;
    font-style: italic;
    opacity:1;
}
#searchbar .searchbartext:-ms-input-placeholder
{
    color: #fff;
    font-style: italic;
    opacity:1;
}
#searchbar .searchbarbutton
{
    background-position: -76px 0;
}



#leftnavboxes
{
    clear:both;
    padding-bottom:28px;
}
#leftnavboxescontainer
{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    display: -ms-flexbox;
    -ms-flex-wrap: wrap;
    -ms-flex-pack: center;
}
#leftnavboxes .leftnavbox
{
    flex-basis: 30%;
    width: 30%;
    background-color: #fff;
    border-bottom: 7px solid #f0f0f1;
    margin:14px 18px;
}
#leftnavboxes .leftnavbox .leftnavboxtitle
{
    min-height:88px;
    padding:14px 18px 0 18px;
    font-size: 24px;
    font-weight: 700;
    line-height: 37px;
}
#leftnavboxes .leftnavbox .leftnavboximg
{
    margin:0 18px 28px;
}
#leftnavboxes .leftnavbox .leftnavboximg img
{
    display: inline-block;
    vertical-align: middle;
    max-width: 100%;
    height: auto;
}
#leftnavboxes .leftnavbox .leftnavboxsummary
{
    margin: 0 18px 28px;
    font-size: 18px;
    line-height: 28px;
}


#leftnavsubmenu
{
    float:right;
    background-color: #c7fef1;
    width:50%;
    margin-left: 45px;
    margin-right: calc(-25% + (18px * 2));
    border-bottom: 7px solid #00c596;
    padding: 28px 18px;
    position:relative;
    z-index:20;
}
#leftnavsubmenu #leftnavsubmenuheader
{
    font-size: 18px;
    line-height: 28px;
    font-weight: 700;
}
#leftnavsubmenu ul
{
    list-style:none;
    padding-left: 18px;
}
#leftnavsubmenu ul li
{
    font-size: 18px;
    line-height: 28px;
    list-style-image: url("/jobs/Org/images/list-bullet-mint-25-dark.svg");
    margin-bottom: 7px;
}
#leftnavsubmenu ul li a
{
    text-decoration: underline;
}
#leftnavsubmenu ul li a:hover
{
    color:#008566;
}






/* CMS sub-folder */
#subpagecontentcontainer
{
    clear:both;
}
#subpagecontentcontainer .subpagecontent
{
    padding:56px 0;
}
#subpagecontentcontainer .subpagecontent:nth-child(4n+2)
{
    background-color:#202329;
    color:#fff;
}
#subpagecontentcontainer .subpagecontent:nth-child(4n+2) a,
#subpagecontentcontainer .subpagecontent:nth-child(4n+2) a:visited
{
    color: #fff;
}
#subpagecontentcontainer .subpagecontent:nth-child(4n+2) a:hover
{
    color: #ffeb3b;
}
#subpagecontentcontainer .subpagecontent .subpagecontentinner
{
    flex-basis: calc(60% + (18px*2));
    width: calc(60% + (18px*2));
    margin:0 auto;
}





/* RSS Feed  */
.rssfeeditem, .searchwidgetrssfeed
{
    background-image:url(/jobs/Org/images/rssfeed.gif);
    background-repeat:no-repeat;
    background-position:left center;
    line-height:1.5em;
    padding-left:22px;
}
.searchwidgetrssfeed
{
    background-position:right center;
    line-height:normal;
    padding-left:0;
    padding-right:22px;
}


/* Logon grid */
.logongridval ul
{
    margin:0;
    padding-left:25px;
}
.logongrid
{
    display: -ms-flexbox;
    display: flex;
    flex-wrap:wrap;
}
.logongrid .logongridhalf,
.logongrid .logongridfull
{
    width:100%;
    background-color:#fff;
    border-bottom: 7px solid #f0f0f1;
    padding:14px 18px 90px;
    margin:14px 0;
    position:relative;
}
.logongrid .logongridhalf
{
    width:calc(50% - 18px);
}
.logongrid #logongridlogon
{
    margin-right:18px;
}
.logongrid #logongridregister
{
    margin-left:18px;
}
.logongrid .logongridheader
{
    font-size: 24px;
    font-weight: 700;
    line-height: 37px;
    text-transform: uppercase;
}
.logongrid .logongridinner p
{
    margin:14px 0;
}
.logongrid .logongridbuttons
{
    position:absolute;
    bottom:18px;
    right:18px;
}
.logongrid .logongridbuttons .cssbutton
{
    margin-right:0px;
}


/* Advanced search */
.searchCategoryTitle
{
    font-weight: 700;
    text-transform: uppercase;
    font-size: 36px;
    line-height: 48px;
}


.vacancySorter .vacancySorterSelected
{
    font-weight:bold;
}


.vacancyTypes
{
    padding-left: 18px;
}
.vacancyTypesInternal
{
    margin-top: 30px;
}
.vacancyTypes li
{
    font-size: 18px;
    line-height: 28px;
    margin-bottom: 7px;
}

.vacancyCategoryDiv .vacancyCategoryHeader
{
    font-size: 24px;
    font-weight: 700;
    line-height: 37px;
    text-transform:uppercase;
    padding:28px 0 0;
}
.vacancyCategoryDiv .vacancyCategoryItem
{
    border-bottom: 2px solid #f0f0f1;
    margin: 0;
    padding:28px 0;
}
.vacancyCategoryDiv .vacancyCategoryItemTitle
{
    font-size: 28px;
    line-height: 28px;
    margin-bottom:14px;
}
.vacancyCategoryDiv ul
{
    padding-left: 18px;
}
.vacancyCategoryDiv ul li
{
    font-size: 18px;
    line-height: 28px;
    margin-bottom: 7px;
}

.vacancyAdvertWidgetTitle
{
    font-weight:700;
    display:block;
}




/* FAQ */
.faqsearchbutton
{
    text-align:right
}
.faqsearchbutton .cssbutton
{
    margin-right:0;
}


/* Jobs by Email */
.gridtabledark tr:first-child
{
    background-color:#e0e0e0;
}


@media screen and (max-width:1024px)
{
    #homepagehero
    {
        height: 50vh;
        min-height: 420px;
    }
    #homepagehero #homepagetitleheader
    {
        font-size: 60px;
        line-height: 70px;
    }
    #homepagehero #homepagetitlesubheader
    {
        font-size: 24px;
        line-height: 37px;
        margin-top:28px;
    }

    #leftnavsubmenu
    {
        margin-left: 36px;
        margin-right: unset;
    }

    #leftnavboxes .leftnavbox
    {
        flex-basis: 40%;
        width:40%;
    }

    .homepagefooter .homepagefootercontainer
    {
        flex-basis: calc(80% + (18px*2));
        width: calc(80% + (18px*2));
    }

    #main
    {
        padding:0 28px;
    }
    #maininner
    {
        flex-basis: calc(80% + (18px*2));
        width: calc(80% + (18px*2));
    }
    #mainwidgets
    {
        float:right;
        width:50%;
        margin-left:36px;
        margin-right:-36px;
    }
}

@media screen and (max-width:640px)
{
    #homepagehero
    {
        margin-top:0;
        background-image:none;
        display:block;
        background-color:#fff;
        text-align:center;
        height:unset;
        min-height:unset;
        padding:0;
    }
    #homepagehero #homepagetitle
    {
        background-color:#fff;
        padding:28px 0;
    }
    #homepagehero #homepagetitleheader
    {
        font-size: 46px;
        line-height: 53px;
        color:#000;
    }
    #homepagehero #homepagetitlesubheader
    {
        margin-top:14px;
        color:#000;
    }

    #pageheader
    {
        padding:42px 0;
    }
    #pageheadertitleheader
    {
        font-size: 46px;
        line-height: 53px;
    }

    #maininner
    {
        display: flex;
        flex-wrap: wrap;
        display: -ms-flexbox;
        -ms-flex-wrap: wrap;
        -ms-flex-pack: center;
        flex-basis:100%;
        width:100%;
    }
    /* Note, this ordering is reversed for advanced search page */
    #mainwidgets
    {
        order:2;
        margin:0;
        width:100%;
        margin-bottom:56px;
    }
    #maincontent
    {
        order:1;
    }


    #leftnavsubmenu
    {
        float:none;
        margin:unset;
        width:unset;
        margin-bottom: 42px;
    }

    #leftnavboxes .leftnavbox
    {
        flex-basis: 100%;
        width:100%;
        margin:14px 0;
    }

    #subpagecontentcontainer .subpagecontent .subpagecontentinner
    {
        flex-basis: calc(80% + (18px*2));
        width: calc(80% + (18px*2));
    }

    .homepagefooter .homepagefootercontainer
    {
        flex-basis: 100%;
        width: 100%;
    }


    .logongrid #logongridlogon,
    .logongrid #logongridregister
    {
        width:100%;
        margin-left:0;
        margin-right:0;
   }
}

