﻿.mainwidgetheader a
{
    display:block;
    color:#fff;
}
.mainwidgetmenu .mainwidgetcontent
{
    padding:0;
}
.mainwidgetmenu .mainwidgetcontent ul
{
    margin:0;
    padding:0;
    list-style-type:none;
}
.mainwidgetmenu .mainwidgetcontent ul li
{
    display:block;
    background-color:#ddd;
}
.mainwidgetmenu .mainwidgetcontent ul li a
{
    display:block;
    padding:8px;
    color:#000;
    border-bottom:1px solid #fff;
    font-size:0.9rem;
}
.mainwidgetmenu .mainwidgetcontent ul li.itemsel0 a::before
{
    content: ' ';
    margin-right: .5rem;
    border: 1px solid transparent;
    border-right-color: transparent;
    border-bottom-color: transparent;
    transform: rotate(45deg);
    border-right-color: #000;
    border-bottom-color: #000;
    width: 10px;
    height: 10px;
    display: inline-block;
    position: relative;
    top: -3px;
}
.mainwidgetmenu .mainwidgetcontent ul li.item1
{
    background-color:#eee;
}
.mainwidgetmenu .mainwidgetcontent ul li.item1 a
{
    padding-left:24px;
}
.mainwidgetmenu .mainwidgetcontent ul li.itemsel1
{
    background-color:#59cbe8;
}


/* Logon widget */
#mainwidgets #mainwidgetlogonbtn .cssbutton
{
    margin:0px;
}

/* Vacancy Search widget */
#mainwidgets #mainwidgetvacancysearchbtn .cssbutton
{
    margin: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;
}



/* RSS Feed  */
.rssfeeditem, .searchwidgetrssfeed
{
    background-image:url(../../../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 */
.logongrid
{
    display:-ms-flexbox;
    display:flex;
    flex-wrap:wrap;
    justify-content:space-between;
    align-items:stretch;
}
.logongrid > div
{
    background-color:#ddd;
    border-radius:4px 4px 0 0;
    position:relative;
    margin-bottom:20px;
}
.logongrid .logongridheader
{
    font-size:1.3em;
    padding:5px;
    background-color:#007dba;
    color:#fff;
    border-radius:4px 4px 0 0;
}
.logongrid .logongridinner
{
    padding:0 20px 60px 20px;
}
.logongrid .logongridpanel
{
    width:calc(50% - 10px);
}
.logongrid .logongridpanelfull
{
    width:100%;
}
.logongrid .logongridbuttons
{
    position:absolute;
    bottom:20px;
    right:20px;
}
.logongrid .logongridbuttons .cssbutton
{
    margin-right:0px;
}


/* Vacancy list sort/show */
.vacancylistfilter
{
    display:inline-block;
    margin:5px 20px 5px 0;
    white-space:nowrap;
}
.vacancylistfilter .cssbutton
{
    margin:0;
}

/* Vacancy List - in table form */
.vacancylistsection
{
    margin-top:10px;
    font-size:24px;
}
.vacancylist
{
    width:100%;
    display:table;
}
.vacancylist .vacancylistheader
{
    display:table-row;
    background-color: #606060;
}
.vacancylist .vacancylistrow
{
    display:table-row;
}
.vacancylist .vacancylistrow > div
{
    border-bottom:1px solid #d0d0d0;
}
.vacancylist .vacancylistrow:last-child > div
{
    border-bottom:0;
}
.vacancylist .vacancylistrowalt
{
    background-color:#f8f8f8;
}
.vacancylist .vacancylistheader > div,
.vacancylist .vacancylistrow > div
{
    display:table-cell;
    padding:4px;
}
.vacancylist .vacancylistheader > div
{
    color:#fff;
    border-left:1px solid #fff;
}
.vacancylist .vacancylistheader > div:first-child
{
    border-left:0;
}
.vacancylist .vacancylistrow > div span
{
    display:none;
}
.vacancylist .vacancylistheader > div:nth-child(1),
.vacancylist .vacancylistrow > div:nth-child(1)
{
    width:60%;
}
.vacancylist .vacancylistheader > div:nth-child(2),
.vacancylist .vacancylistrow > div:nth-child(2)
{
    width:25%;
}
.vacancylist .vacancylistheader > div:nth-child(3),
.vacancylist .vacancylistrow > div:nth-child(3)
{
    width:15%;
    min-width:100px;
}


.vacancyHeader
{
    line-height:1.5;
    margin-top:0;
}
.vacancyHeader dt
{
    font-weight:700;
    margin: 10px 0 0 0;
}
.vacancyHeader dt:first-child
{
    margin-top:0;
}
.vacancyHeader dd
{
    margin:0;
}
.vacancyHeader dd + dd
{
    margin-top:5px;
}
.vacancyHeaderButton
{
    text-align:right;
}
.vacancyHeaderButton .cssbutton
{
    margin:0;
}

.vacancyDiv
{
    margin:12px 0;
    padding:5px 0;
    overflow:hidden;
}
.vacancyEmailFriend
{
    display:inline-block;
    padding-top:5px;
    margin:0 10px 10px 0;
}
.vacancyApply
{
    display:inline-block;
    float:right;
}
.vacancyDivSocial
{
    text-align:right;
}


/* 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:1023px)
{
    #mobileleftnavcontainer
    {
        display:none;
    }
    #mobileleftnavcontainer .mainwidget
    {
        margin-top:8px;
        margin-bottom:0;
    }
    #mobileleftnav
    {
        display:block;
        margin:0 16px;
    }
    #mobileleftnavheader
    {
        background-color: #007dba;
        border-radius:2px;
        font-weight:700;
    }
    #mobileleftnavheader a
    {
        color:#fff;
        text-decoration:none;
        padding: 10px 35px;
        text-transform:uppercase;
        display:block;
    }
    #mobileleftnavheader a:focus
    {
        outline-offset:2px;
    }
    #mobileleftnavheader:hover
    {
        background-color: #0c2340;
    }
    #mobileleftnavheader a::before
    {
        content: "\f0c9";
        font-family: "FontAwesomePro";
        color:#fff;
        margin-right:16px;
    }
}


@media screen and (max-width:599px)
{
    .logongrid .logongridpanel
    {
        width:100%;
    }

    
    /* Vacancy List - in list form */
    .vacancylist
    {
        width:100%;
        display:block;
    }
    .vacancylist .vacancylistheader
    {
        display:none;
    }
    .vacancylist .vacancylistrow
    {
        display:block;
        border-bottom:1px solid #d0d0d0;
    }
    .vacancylist .vacancylistrow:last-child
    {
        border-bottom:0;
    }
    .vacancylist .vacancylistrowalt
    {
        background-color:#f8f8f8;
    }
    .vacancylist .vacancylistheader > div,
    .vacancylist .vacancylistrow > div
    {
        display:block !important;
        width:auto !important;
        border:0;
    }
    .vacancylist .vacancylistrow > div span
    {
        display:inline;
        font-style:italic;
        padding-right:5px;
    }
}




/* 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
{
}
#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;
    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:5px 5px 0 0;
    background-color:#007dba;
    background: linear-gradient(#007dba,#0c2340);
    padding:10px;
}
#myRecOuter .myRecItem:nth-child(even) .myRecHeader
{
    background-color: #0c2340;
}
#myRecOuter .myRecItem .myRecHeader a
{
    color:#fff;
    text-decoration:none;
    display:table;
    width:100%;
}
#myRecOuter .myRecItem .myRecHeader .myRecHeaderIcon
{
    color:#fff;
    display:table-cell;
    width:1%;
    padding-right:10px;
}
#myRecOuter .myRecItem .myRecHeader .myRecHeaderText
{
    display:table-cell;
}
#myRecOuter .myRecItem .myRecHeader a:hover .myRecHeaderText
{
    text-decoration:underline;
}
#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
{
}
#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:899px)
{
    #myRecOuter .myRecItem
    {
        width:calc(50% - 20px);
    }

    #myRecOuter .myRecItem:nth-child(1n) .myRecHeader
    {
        background-color: #007dba;
    }
    #myRecOuter .myRecItem:nth-child(4n+2) .myRecHeader,
    #myRecOuter .myRecItem:nth-child(4n+3) .myRecHeader
    {
        background-color: #0c2340;
    }
}

@media screen and (max-width:599px)
{
    #myRecOuter
    {
        margin-left:0;
        margin-right:0;
    }
    #myRecOuter .myRecItem
    {
        width:100%;
        margin-left:0;
        margin-right:0;
    }

    #myRecOuter .myRecItem:nth-child(odd) .myRecHeader
    {
        background-color: #007dba;
    }
    #myRecOuter .myRecItem:nth-child(even) .myRecHeader
    {
        background-color: #0c2340;
    }
}
