﻿
#mainwidgets a
{
    color: #004D45;
}
#mainwidgets .widgetcenter
{
    text-align:center;
}
#mainwidgets .widgettextbox
{
    width:100%;
    background-color:#fff;
}
#mainwidgets .cssbutton
{
    width:100%;
    text-align:center;
}



/* Logon widget */
#mainwidgets #mainwidgetlogonbtn
{
    margin-top:0px;
    float:right;
}
#mainwidgets #mainwidgetlogonbtn .cssbutton
{
    margin-right:0px;
}

/* Vacancy Search widget */
#mainwidgets .searchwidgetawesome
{
    font-family:FontAwesomePro;
    text-decoration:none;
    font-size:2em;
}

/* 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;
}



/* RSS Feed  */
.rssfeeditem
{
    background-repeat:no-repeat;
    background-position:left center;
    line-height:1.5em;
}
.rssfeeditem::before
{
    content:"\f09e ";
    font-family:FontAwesomePro;
    font-size:1.5em;
    display:inline-block;
    margin-right:10px;
}


/* Logon grid */
.logongrid .logongridval ul
{
    margin:0;
    padding-left:25px;
}
.logongrid .logongridinner
{
    height:240px;
    position:relative;
}
.logongrid #logongridlogon
{
    float:left;
    width:30%;
    padding:15px 0;
}
.logongrid #logongridlogon .logongridinner
{
    padding-right:15px;
    border-right:1px solid #a0a0a0;
}
.logongrid #logongridregister
{
    float:left;
    width:30%;
    padding:15px 0;
}
.logongrid #logongridregister .logongridinner
{
    padding:0 15px;
}
.logongrid #logongridforgotten
{
    float:left;
    width:40%;
    padding:15px 0;
}
.logongrid #logongridforgotten .logongridinner
{
    padding-left:15px;
    border-left:1px solid #a0a0a0;
}
.logongrid .logongridinner .logongridheader
{
    font-size:1.3em;
    font-family: Museo, Raleway,"Helvetica Neue","Helvetica","Roboto","Arial",sans-serif;
    font-weight: 700;
    padding:5px;
}
.logongrid .logongridbuttons
{
    position:absolute;
    bottom:0;
    right:15px;
}
.logongrid #logongridforgotten .logongridbuttons
{
    right:0;
}

.logongrid .logongridbuttons .cssbutton
{
    margin-right:0px;
}

.logongridsaml
{
    margin-top:2rem;
}
.logongrid .logongridinnersaml
{
    height:auto;
    padding-bottom:15px;
    border-bottom:1px solid #a0a0a0;
}
.logongrid .logongridbuttonssaml
{
    position:relative;
    text-align:right;
    right:unset;
}

/* Vacancy list sort/show */
.vacancylistfilter
{
    display:inline-block;
    margin:5px 20px 0 0;
    white-space:nowrap;
}
.vacancylistfilter .cssbutton
{
    margin:0;
}

.vacancycatitem:nth-child(odd)
{
    background-color:#f0f0f0;
}
.vacancycatitem a
{
    display:block;
    padding:15px 20px;
    text-decoration:none;
    font-weight:bold;
    color:inherit;
}

.vacancyheader
{
    margin-top:10px;
}

.vacancylistitem a
{
    color:inherit;
    text-decoration:none;
    display:block;
    padding:15px 20px 5px;
}
.vacancylistitem:nth-child(odd) a
{
    background-color:#f0f0f0;
}
.vacancylistitem a div:last-child
{
    padding-bottom:10px;
}
.vacancylisttitle
{
    font-weight:bold;
    color:#2a2e2a;
}


/* FAQ */
.faqsearchbutton
{
    text-align:right
}
.faqsearchbutton .cssbutton
{
    margin-right:0;
}


/* Jobs by Email */
.gridtabledark tr:first-child
{
    background-color:#e0e0e0;
}


/* Medium - main takes up entire width, widgets takeup 50% */
@media screen and (max-width:799px)
{
    /* Logon grid */
    .logongrid #logongridlogon
    {
        width:50%;
    }
    .logongrid #logongridlogon .logongridinner
    {
    }
    .logongrid #logongridregister
    {
        width:50%;
    }
    .logongrid #logongridregister .logongridinner
    {
        padding-right:0;
    }
    .logongrid #logongridregister .logongridbuttons
    {
        right:0;
    }
    .logongrid #logongridforgotten
    {
        clear:left;
        width:100%;
        border-top:1px solid #a0a0a0;
    }
    .logongrid #logongridforgotten .logongridinner
    {
        height:auto;
        padding-left:0;
        border-left:0;
    }
    .logongrid #logongridforgotten .logongridbuttons
    {
        position:relative;
        bottom:auto;
        right:auto;
        text-align:right;
    }
}

/* Small - main takes up entire width, widgets take up entire width */
@media screen and (max-width:499px)
{
    /* Logon grid */
    .logongrid .logongridinner
    {
        height:auto;
    }
    .logongrid #logongridlogon
    {
        float:none;
        width:100%;
    }
    .logongrid #logongridlogon .logongridinner
    {
        border-right:0;
        padding-right:0;
    }
    .logongrid #logongridregister
    {
        float:none;
        width:100%;
        padding:15px 0;
        border-top:1px solid #a0a0a0;
    }
    .logongrid #logongridregister .logongridinner
    {
        padding-left:0;
    }
    .logongrid #logongridforgotton
    {
    }
    .logongrid .logongridbuttons
    {
        position:relative;
        text-align:right;
        bottom:0;
        right:auto;
    }
}

/* 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:#E00;
    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:#E00;
}
#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;
    }
}

.ui-widget-header
{
    background-color:#383c3c !important;
}
