﻿#cmslogos
{
    margin: 0 auto;
    width:100%;
    margin-bottom:110px;
    display:flex;
    flex-wrap:wrap;
    align-items: center;
}
#cmslogos a
{
    padding:20px;
}
#cmslogos img
{
    width:100%;
}

.logonwidget .cssbutton
{
    margin-right:0;
}


/* 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 */
.logingridmainheader
{
    background-color:#005c85;
    font-size:1.2em;
    color:#fff;
    padding:10px;
}
.logongrid
{
    display:-ms-flexbox;
    display:flex;
    flex-wrap:wrap;
    justify-content:space-between;
    align-items:stretch;
}
.logongrid > div
{
    position:relative;
    margin-bottom:20px;
}
.logongrid .logongridheader
{
    font-size: 1.2em;
    font-weight: 700;
    padding:5px 0;
}
.logongrid .logongridpanel,
.logongrid .logongridpanelfull
{
    background-color:#f0f0f0;
    padding:10px;
}
.logongrid .logongridpanel:nth-child(1),
.logongrid .logongridpanel:nth-child(2)
{
    width:calc(30% - 10px);
}
.logongrid .logongridpanel:nth-child(3)
{
    width:calc(40% - 10px);
}
.logongrid .logongridpanelfull
{
    width:100%;
}
.logongrid .logongridinner
{
    font-size: 0.9em;
    padding-bottom:50px;
}
.logongrid .logongridinner p
{
    padding:0;
}
.logongrid .logongridbuttons
{
    position:absolute;
    bottom:10px;
    right:10px;
}
.logongrid .logongridbuttons .cssbutton
{
    margin:0px;
}



/* Vacancy List - in table form */
.vacancylist
{
    width:100%;
    display:table;
    border-collapse:collapse;
    margin-bottom:20px;
}
.vacancylist .vacancylistheader
{
    display:table-row;
    color:#fff;
    background-color: #002e3b;
}
.vacancylist .vacancylistrow
{
    display:table-row;
}
.vacancylist .vacancylistheader > div,
.vacancylist .vacancylistrow > div
{
    display:table-cell;
    padding:0 22px;
    border:1px solid #DADADA;
    height:32px;
    vertical-align:middle;
}
.vacancylist .vacancylistheader > div
{
    font-size:12.15px;
    font-weight:900;
    text-transform:uppercase;
}
.vacancylist .vacancylistrow > div
{
    font-size:13.5px;
}
.vacancylist .vacancylistrow > div span:first-child
{
    display:none;
}
.vacancylist .vacancylistheader > div:nth-child(1),
.vacancylist .vacancylistrow > div:nth-child(1)
{
    width:20%;
}
.vacancylist .vacancylistheader > div:nth-child(2),
.vacancylist .vacancylistrow > div:nth-child(2)
{
    width:40%;
}
.vacancylist .vacancylistheader > div:nth-child(3),
.vacancylist .vacancylistrow > div:nth-child(3)
{
    width:25%;
}
.vacancylist .vacancylistheader > div:nth-child(4),
.vacancylist .vacancylistrow > div:nth-child(4)
{
    width:15%;
    min-width:100px;
}

/* Vacancy list sort/show */
.vacancylistfilter
{
    display:inline-block;
    margin:5px 20px 0 0;
    white-space:nowrap;
}

.vacancyHeader dt
{
    font-weight:700;
    margin: 10px 0 0 0;
}
.vacancyHeader dd
{
    margin:0;
}
.vacancyHeader dd + dd
{
    margin-top:5px;
}
.vacancyHeaderButton
{
    text-align:right;
}
.vacancyHeaderButton .cssbutton
{
    margin-right:0;
}

.vacancyDiv
{
    margin:12px 0;
    overflow:hidden;
}
.vacancyEmailFriend
{
    display:inline-block;
    padding-top:5px;
    margin:0 10px 10px 0;
}
.vacancyApply
{
    display:inline-block;
    float:right;
}




@media screen and (max-width:1023px)
{
    #homepagebanner #homepagebannertext h1
    {
        font-size: 36px;
    }


    /* Logon grid */
    .logongrid .logongridpanel:nth-child(1),
    .logongrid .logongridpanel:nth-child(2)
    {
        width:calc(50% - 10px);
    }
    .logongrid .logongridpanel:nth-child(3)
    {
        padding-top:15px;
        width:100%;
    }
}


/* Small - main takes up entire width, widgets take up entire width */
@media screen and (max-width:767px)
{
    /* Logon grid */
    .logongrid .logongridpanel
    {
        width:100% !important;
    }
    .logongrid .logongridpanel:nth-child(2)
    {
        padding-top:15px;
    }


    /* Vacancy List - in list form */
    .vacancylist
    {
        width:100%;
        display:block;
    }
    .vacancylist .vacancylistheader
    {
        display:none;
    }
    .vacancylist .vacancylistrow
    {
        display:block;
        border-top:1px solid #DADADA;
        border-right:1px solid #DADADA;
        border-left:1px solid #DADADA;
    }
    .vacancylist .vacancylistrow:last-child
    {
        border-bottom:1px solid #DADADA;
    }
    .vacancylist .vacancylistheader > div,
    .vacancylist .vacancylistrow > div
    {
        height:auto;
        display:block !important;
        width:auto !important;
        border:0;
        padding:5px;
    }
    .vacancylist .vacancylistrow > div span:first-child
    {
        display:inline;
        font-style:italic;
        padding-right:5px;
    }

    #cmslogos
    {
        padding:0 10px;
    }
    #cmslogos a
    {
        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:#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;
    }
}

#myRecOuter #pWorkerStatusDetails
{
    padding-left:25px;
    text-indent:-25px;
}