.wrap::after,
.status::after,
.field-row::after,
.favourites-list::after,
.description::after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.outdatedmsg {
    font-size: .9em;
}

    .outdatedmsg p {
        margin: .8em 0 0;
    }

body,
label {
    line-height: 1;
}

body,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Open Sans", "Helvetica Neue", Helvetica, Helvetica, Arial, sans-serif;
}

h1,
h2,
h3,
h4,
h4,
h6 {
    text-rendering: optimizeLegibility;
    font-weight: 300;
}

h1 {
    font-size: 2.2em;
}

h2 {
    font-size: 1.6875em;
}

h3 {
    font-size: 1.375em;
}

h4 {
    font-size: 1.125em;
}

h5 {
    font-size: 1.1em;
}

h6 {
    font-size: 1em;
}

p {
    margin-bottom: .75em;
    font-size: .95em;
    line-height: 1.5em;
}

form {
    margin-bottom: 1em;
}

fieldset {
    border: none;
    margin: 0;
    padding: 0;
}

label,
label.inline {
    margin-bottom: .4em;
    display: inline-block;
}

.inline-fields input[type=radio] + label,
.inline-fields input[type=checkbox] + label {
    display: inline;
    margin-left: .35rem;
    margin-right: .88889rem;
    margin-bottom: 0;
    vertical-align: baseline;
}

button,
.button {
    color: #333;
    -webkit-box-shadow: none;
    box-shadow: none;
    border: none;
    font-weight: 400;
    font-size: .9rem;
    line-height: 1;
    background-repeat: no-repeat;
    -webkit-border-radius: 0;
    border-radius: 0;
    margin-bottom: .75rem;
    padding: .7rem;
    white-space: nowrap;
    text-align: left;
}

    button:hover,
    .button:hover {
        color: #333;
    }

    button[readonly],
    .button[readonly] {
        cursor: initial;
    }

    button.small,
    button.small:hover,
    .button.small,
    .button.small:hover {
        padding: 0 .7rem;
        height: 1.75rem;
        line-height: 1.75rem;
    }

    button.tiny,
    button.tiny:hover,
    .button.tiny,
    .button.tiny:hover {
        line-height: normal;
        font-size: .8rem;
        padding: .3rem .4rem;
        height: 2.3125rem;
    }

a.button.tiny,
a.button.tiny:hover {
    padding: 0.75em 0.5rem;
}

button.tertiary,
.button.tertiary {
    background-color: #4A90E2;
    color: #fff;
}

    button.tertiary:hover,
    .button.tertiary:hover {
        background-color: #3F75B3;
        color: #fff;
    }

.button.expand,
button.expand {
    text-indent: .9375rem;
    padding-left: 0;
    padding-right: 0;
}

.button.small.expand {
    text-indent: .8em;
}

.button.expand:not(.arrow),
button.expand:not(.arrow),
.button.postfix:not(.arrow),
button.postfix:not(.arrow) {
    text-align: center;
}

input[type=text],
input[type=password],
input[type=date],
input[type=datetime],
input[type=datetime-local],
input[type=month],
input[type=week],
input[type=email],
input[type=number],
input[type=search],
input[type=tel],
input[type=time],
input[type=url],
textarea {
    background-color: #f3f3f3;
    -webkit-box-shadow: none;
    box-shadow: none;
    -webkit-border-radius: 0;
    border-radius: 0;
    padding: .4rem;
}

    input:-ms-input-placeholder,
    textarea:-ms-input-placeholder {
        color: #AAA;
    }

    input[type=text]:focus,
    input[type=password]:focus,
    input[type=date]:focus,
    input[type=datetime]:focus,
    input[type=datetime-local]:focus,
    input[type=month]:focus,
    input[type=week]:focus,
    input[type=email]:focus,
    input[type=number]:focus,
    input[type=search]:focus,
    input[type=tel]:focus,
    input[type=time]:focus,
    input[type=url]:focus,
    textarea:focus {
        background-color: #f7f7f7;
        border: 1px solid #777;
    }

input[type=file] {
    font-size: .875em;
    -webkit-border-radius: 0;
    border-radius: 0;
}

input[type=text][disabled],
input[type=password][disabled],
input[type=date][disabled],
input[type=datetime][disabled],
input[type=datetime-local][disabled],
input[type=month][disabled],
input[type=week][disabled],
input[type=email][disabled],
input[type=number][disabled],
input[type=search][disabled],
input[type=tel][disabled],
input[type=time][disabled],
input[type=url][disabled],
textarea[disabled],
input[readonly],
select[disabled] {
    background-color: #f6f6f6;
}

input[type=checkbox],
input[type=radio] {
    margin-bottom: 0;
}

select {
    color: rgba(0,0,0,0.75);
    width: auto;
    min-width: 60%;
    padding: .4rem 3px .4rem .4rem;
}

table {
    width: 100%;
    border: none;
}

    table tr.even,
    table tr.alt,
    table tr:nth-of-type(even),
    table thead {
        background: transparent;
    }

.description ul:not(.nobullets):not(.column-list):not([class*="block-grid-"]):not(.tabs),
.description ol:not(.nobullets):not(.column-list):not([class*="block-grid-"]),
.tooltip ul:not(.nobullets):not(.column-list):not([class*="block-grid-"]),
ul.list {
    margin-left: .9375rem;
    padding-left: 1.5em;
}

.inline-list {
    margin: 0 auto;
}

    .inline-list > li:first-child {
        margin-left: 0;
    }

.extra-padding > .column,
.extra-padding > .columns {
    padding-left: 2rem;
    padding-right: 2rem;
}

    .extra-padding > .column:first-child,
    .extra-padding > .columns:first-child {
        padding-left: .9375em;
    }

    .extra-padding > .column:last-child,
    .extra-padding > .columns:last-child {
        padding-right: .9375em;
    }

.breadcrumbs {
    background: transparent;
    margin-bottom: 0;
    border-width: 0;
    margin-top: 0.3rem;
}

    .breadcrumbs.front {
        padding: 1.5rem 0.9375rem 0.75rem;
    }

    .breadcrumbs > * {
        font-size: .75rem;
    }

        .breadcrumbs,
        .breadcrumbs > *,
        .breadcrumbs > * a,
        .breadcrumbs > * span {
            color: #7F7F7F;
        }

            .breadcrumbs > :before {
                content: "\003E";
                margin: 0 .5em;
            }

.pagination-container {
    clear: right;
}

ul.pagination li {
    font-size: .7rem;
}

    ul.pagination li a {
        background: #FFF;
        padding: .0625em .6em;
    }

        ul.pagination li:hover a,
        ul.pagination li a:focus {
            background: #B4DB10;
        }

.ui-datepicker table {
    background: none;
    border: none;
}

    .ui-datepicker table tr {
        background: none;
    }

.ui-datepicker .highlight-date {
    border: none;
    color: #333;
}

    .ui-datepicker .highlight-date a {
        background: #fff url(/images/date-highlighter.png) 50% 53% no-repeat;
        border: none;
    }

.alert-box.secondary {
    background-color: #e9e9e9;
    color: #505050;
    border-color: #d0d0d0;
}

.alert-box.payment {
    background-color: #dddd00;
    color: #303030;
    border-color: #d0d0d0;
}

.preview-notice.alert-box {
    background-color: #FFF;
}

.alert-box p {
    margin-bottom: .7em;
}

small {
    font-size: 70%;
}

section.right.tab-bar-section {
    text-align: left;
    line-height: 50px;
    height: 50px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.left-small {
    border-right: 0;
}

ul.off-canvas-list li {
    font-size: .85rem;
}

.contain-to-grid {
    background: #FFF;
}

nav.tab-bar {
    background: #FFF;
    height: 50px;
    padding-left: .9375rem;
    padding-right: .9375rem;
    color: #333;
}

.fixed-custom .tab-bar {
    /* Fallback for web browsers that don't support RGBa */
    background-color: rgb(0, 0, 0);
    /* RGBa with 0.6 opacity */
    background-color: rgba(0, 0, 0, 0.6);
    /* For IE 5.5 - 7*/
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000);
    /* For IE 8*/
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000)";
    color: #fff;
}

    .fixed-custom .tab-bar .menu-icon span::after {
        -webkit-box-shadow: 1px 10px 1px 1px #FFF, 1px 16px 1px 1px #FFF, 1px 22px 1px 1px #FFF;
        box-shadow: 0 10px 0 1px #FFF, 0 16px 0 1px #FFF, 0 22px 0 1px #FFF;
        margin-top: -.85em;
    }


.hf-top-bar .name h1 a,
nav.tab-bar h1,
nav.tab-bar h1 a {
    color: #333;
    font-weight: 300;
    padding-left: 0;
}

.hf-top-bar {
    background: #FFF;
    height: 50px;
    color: #333;
    padding: 0;
    margin: 0;
    max-width: none;
    width: auto;
}

    .hf-top-bar:before,
    .hf-top-bar:after {
        content: " ";
        display: table;
    }

    .hf-top-bar .title-area {
        float: left;
    }

    .hf-top-bar ul {
        padding: 0;
        margin: 0;
        display: inline;
        height: auto !important;
        width: auto;
    }

.hf-top-bar-section ul#learnmore-navigation-new {
    float: right;
}

.hf-top-bar-section ul#learnmore-navigation-new li a {
    display: inline-block;
    padding: 0;
}

.hf-top-bar-section ul.dropdown li {
    display: block;
    margin: 0;
    padding-left: 0;
    padding-right: 30px;
    background-color: rgba(255,255,255,1) !important;
}

.hf-top-bar-section ul.dropdown li a {
    padding: 0;
}


.hf-top-bar-section ul,
.hf-top-bar-section li:not(.has-form) a:not(.button),
.hf-top-bar-section li.active:not(.has-form) a:not(.button),
.hf-top-bar-section ul li > a:hover,
.hf-top-bar-section li:not(.has-form) a:not(.button):hover,
.hf-top-bar-section li.active:not(.has-form) a:not(.button):hover {
    background: #fff;
    color: #333;
    font-size: 16px;
    line-height: 50px;
    padding: 0;
}

    .hf-top-bar-section ul li.active > a {
        color: #999 !important;
    }

    .hf-top-bar-section ul li > a::before {
        content: " ";
        color: #fff;
        margin: 0 .7rem;
    }

    .hf-top-bar-section ul li:first-child > a::before {
        content: "";
    }

    .hf-top-bar-section .dropdown li a,
    .hf-top-bar-section .dropdown li:not(.has-form):not(.active) > a:not(.button),
    .hf-top-bar-section ul li:hover > a,
    .hf-top-bar-section ul li:hover:not(.has-form) > a,
    .hf-top-bar-section li.hover > a:not(.button) {
        background: #fff;
        color: #333;
    }

.hf-top-bar-section .dropdown li:not(.has-form):not(.active):hover > a:not(.button) {
    color: #b4db10;
    background: #fff;
}

section.right-small {
    border: none;
    box-shadow: none;
    height: 50px;
}

.hf-top-bar-section .has-dropdown > a:after {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border: inset 5px;
    border-color: rgba(0, 0, 0, 0.4) transparent transparent transparent;
    border-top-style: solid;
    margin-top: -2.5px;
    top: 22.5px;
}

.tab-bar .menu-icon span::after,
.hf-top-bar .toggle-topbar.menu-icon a span::after {
    -webkit-box-shadow: 1px 10px 1px 1px #777, 1px 16px 1px 1px #777, 1px 22px 1px 1px #777;
    box-shadow: 0 10px 0 1px #777, 0 16px 0 1px #777, 0 22px 0 1px #777;
    margin-top: -.85em;
}

.tab-bar .menu-icon:hover span::after,
.hf-top-bar .toggle-topbar.menu-icon a span::after {
    -webkit-box-shadow: 1px 10px 1px 1px #b3b3b3, 1px 16px 1px 1px #b3b3b3, 1px 22px 1px 1px #b3b3b3;
    box-shadow: 0 10px 0 1px #b3b3b3, 0 16px 0 1px #b3b3b3, 0 22px 0 1px #b3b3b3;
}

.reveal-modal {
    border: none;
    box-shadow: 0 7px 8px -4px rgba(0,0,0,.2),0 13px 19px 2px rgba(0,0,0,.14),0 5px 24px 4px rgba(0,0,0,.12);
}

    .reveal-modal .close-reveal-modal,
    #fancybox-close {
        font-size: 3rem;
        font-weight: 400;
        top: -2.8rem;
        right: 0;
        color: #fff;
        line-height: 1;
        position: absolute;
        cursor: pointer;
    }

#refine-form .ui-datepicker {
    min-width: initial;
}

.wrap,
.job-status,
ul.off-canvas-list li label {
    display: block;
}

h4,
h5 {
    font-size: 1.125em;
}

a,
.hf-top-bar-section li:not(.has-form) a:not(.button).logged-in-as {
    color: #2d7dc2;
}

    a:hover,
    a:focus,
    .hf-top-bar-section ul li > a:hover,
    .hf-top-bar-section li:not(.has-form) a:not(.button):hover {
        color: #579ed0;
    }

        button:hover,
        .button:hover,
        ul.pagination li.current a,
        .hf-top-bar-section ul li > a:hover::before {
            color: #333;
        }

td button,
td .button,
.alert-box :last-child {
    margin-bottom: 0;
}

label.two-inline,
.row {
    margin-bottom: 1em;
}

/** Jquery UI overrides **/
.ui-widget-content {
    border: none;
}

.ui-datepicker {
    width: auto;
    min-width: 14em;
    border: solid 4px #DDD;
    padding: 0;
    background: #FFF;
}

    .ui-datepicker .ui-datepicker-header {
        padding: .2em 0;
        background: none;
        border: none;
    }

    .ui-datepicker .ui-datepicker-title {
        color: #5DB1EF;
        font-weight: 400;
    }

    .ui-datepicker td {
        padding: 1px;
    }

        .ui-datepicker td span,
        .ui-datepicker td a {
            padding: .4em .2em;
            text-align: center;
        }

    .ui-datepicker th {
        padding: .7em .3em;
        text-align: center;
        font-weight: normal;
        border: 0;
        background: white;
        color: #1685B2;
    }

.ui-state-default,
.ui-widget-content .ui-state-default,
.ui-widget-header .ui-state-default {
    color: #5AA2E7;
    background: #fff;
}

.ui-state-active,
.ui-widget-content .ui-state-active,
.ui-widget-header .ui-state-active {
    border: 1px solid #BEDEF3;
    background: #BEDEF3;
    font-weight: bold;
    color: #5AA2E7;
}

.ui-state-highlight,
.ui-widget-content .ui-state-highlight,
.ui-widget-header .ui-state-highlight,
.ui-state-hover,
.ui-widget-content .ui-state-hover,
.ui-widget-header .ui-state-hover {
    border: 1px solid #CAE2FF;
    background: #CAE2FF;
}

.ui-datepicker .ui-datepicker-next-hover {
    right: 2px;
    top: 2px;
}

.ui-datepicker .ui-datepicker-prev-hover {
    left: 2px;
    top: 2px;
}

.locationslist,
.ui-autocomplete {
    max-height: 200px;
    font-size: 0.9rem;
    overflow: hidden;
    overflow-y: auto;
    z-index: 1000;
}

.ui-menu-item.ui-state-focus {
    border: none;
}

.ui-menu .ui-menu-item {
    padding-top: 5px;
    padding-bottom: 5px;
}

.ui-menu .ui-state-focus,
.ui-menu .ui-state-active {
    margin: 0;
}

.tabs dd,
.tabs .tab-title {
    border: solid 1px #D4D4D4;
}

    .tabs dd > a,
    .tabs .tab-title > a {
        background-color: #DDD;
        padding: 0.4rem 1.5rem;
        outline: none;
    }
