body {
    font-family: "Open Sans", sans-serif;
    background-color: #fff;
    height: 200vh;
    position: relative;
}

body:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    -webkit-transition: 0.3s all ease;

    transition: 0.3s all ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1;
}

body.offcanvas-menu:before {
    opacity: 1;
    z-index: 1002;
    visibility: visible;
}

p {
    color: #b3b3b3;
    font-weight: 300;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-family: "Open Sans", sans-serif;
}

a {
    -webkit-transition: 0.3s all ease;

    transition: 0.3s all ease;
}

a,
a:hover {
    text-decoration: none !important;
}

.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top;
    height: 700px;
    filter: brightness(0.9);
}
/* ==== UTILITY / HELPERS ================= */
/* horizontal scroll fix */
.hero-no-gutter .page-row-container .col-md-12 {
    padding-left: 0;
    padding-right: 0;
}
.hero-no-gutter .page-row-container .block-image {
    margin-left: 0;
    margin-right: 0;
}
/* Header */

header {
    /* position: absolute; */
    /* top: 40px; */
    /* left: 0; */
    width: 100%;
    /* z-index: 5; */
    padding: 10px 0px;
}

/* @media (min-width: 768px) {
    header {
        padding: 30px 0;
    }
} */

header .navbar-brand {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 800;
    font-size: 2rem;
}
header .navbar-brand img {
    max-width: 225px;
}

header .navbar-brand.absolute {
    position: absolute;
}

@media (max-width: 991.98px) {
    header .navbar-brand.absolute {
        position: relative;
    }
}

header .navbar-brand span {
    color: #fff;
}

@media (min-width: 768px) {
    header .navbar-brand span {
        color: #ced4da;
    }
}

header .navbar {
    background: black !important;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

@media (min-width: 768px) {
    header .navbar {
        padding-top: 0;
        padding-bottom: 0;
        background: none !important;
        position: relative;
    }
}

header .navbar .nav-link {
    padding: 1.7rem 1rem;
    outline: none !important;
    font-size: 1rem;
    font-weight: 700;
    color: #c2011b !important;
}

@media (max-width: 1199.98px) {
    header .navbar .nav-link {
        padding: 0.5rem 0rem;
    }
}

header .navbar .nav-link.active {
    font-weight: 700;
    color: #c2011b !important;
}

header .navbar .dropdown-menu {
    font-size: 14px;
    border-radius: 4px;
    border: none;
    -webkit-box-shadow: 0 2px 30px 0px rgba(0, 0, 0, 0.2);
    box-shadow: 0 2px 30px 0px rgba(0, 0, 0, 0.2);
    min-width: 13em;
    margin-top: -15px;
}

header .navbar .dropdown-menu:before {
    bottom: 100%;
    left: 10%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-bottom-color: #fff;
    border-width: 8px;
}

@media (max-width: 991.98px) {
    header .navbar .dropdown-menu:before {
        display: none;
    }
}

header .navbar .dropdown-menu .dropdown-item:hover {
    background: #a9a89e;
    font-weight: 600;
    color: #fff;
}

header .navbar .dropdown-menu .dropdown-item.active {
    background: #a9a89e;
    font-weight: 600;
    color: #fff;
}

header .navbar .dropdown-menu a {
    padding-top: 7px;
    padding-bottom: 7px;
}
header .navbar .cta-btn {
    padding: 1rem 0.25rem;
}

header .navbar .cta-btn a {
    background: #c2011b;
    border-radius: 8px;
    color: #fff !important;
    text-transform: uppercase;
    font-size: 0.8rem;
    padding: 15px 20px !important;
    line-height: 1;
    font-weight: bold;
    -webkit-transition: 0.3s all ease;

    transition: 0.3s all ease;
}

header .navbar .cta-btn a:hover {
    background: #fff;
    color: #c2011b !important;
    -webkit-box-shadow: 2px 0 30px -5px rgba(0, 0, 0, 0.2);
    box-shadow: 2px 0 30px -5px rgba(0, 0, 0, 0.2);
}

/* Logo */

img.brand-logo {
    width: 100%;
    max-width: 300px;
    padding: 15px 30px 15px 0;
}

/* Typography */

body,
p,
li {
    color: #333;
    font-weight: 400;
}

a,
a:visited {
    color: #333333;
    text-decoration: none;
}

#top-nav a,
#top-nav a:visited {
    color: #002f54;
    font-weight: 700;
    letter-spacing: 0.03rem;
}
#top-nav a:hover {
    text-decoration: underline !important;
}

#top-nav button {
    background-color: #002f54;
    border-color: #002f54;
    border-radius: 5px;
    letter-spacing: 0.2em;
}

#top-nav .dropdown-menu a,
#top-nav .dropdown-menu a:visited {
    color: #000000;
}

#top-nav .dropdown-menu a:hover {
    background-color: #f8f9fa;
}

/* Navigation */
.nav-link {
    padding: 20px 15px 12px 15px;
}

.dropdown-menu {
    border-radius: 5px;
    padding: 0;
    margin: 0;
    background-color: #f6f6f4;
}

.navbar .navbar-nav.main-nav li.nav-item {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.navbar-nav li.nav-item {
    margin-bottom: 0;
}

/*** change dropdown triangle to caret ***/
.dropdown-toggle::after {
    font: var(--fa-font-solid);
    content: "\f107" !important;
    display: inline-block;
    font-size: small;
    border: none;
    vertical-align: middle;
    margin-left: 0.4em;
}
.dropdown-item:hover {
    text-decoration: none;
    background-color: #edede9;
}

@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: 15px;
        padding-left: 15px;
    }
}

/* Primary Title */

@media only screen and (max-width: 768px) {
    .hero-img-text-overlay h1 {
        font-size: 1.7em;
    }
}

/* Buttons */

.btn {
    font-weight: 600;
}

.btn-primary {
    border: 1px solid rgba(80, 86, 86, 0.5);
    background: transparent;
    color: #737373;
    border-radius: 5px;
    width: 105px;
    margin-right: -12px;
    margin-left: 15px;
}

.btn-primary:hover {
    border: 2px solid rgba(80, 86, 86, 0.5);
    background-color: #737373;
}
/* see all open positions button */

.hero-img-text-overlay .button1 {
    background-color: #8c1515 !important;
    border-radius: 12px;
    border: none !important;
    float: left;
    margin-left: 105px;
    margin-top: 15px;
    font-family: "Open Sans", sans-serif;
    font-weight: 700;
    color: #ffffff !important;
    letter-spacing: 0.06rem;
    padding: 10px;
    box-shadow: rgba(0, 0, 0, 0.1) 0 2px 4px 0;
    box-sizing: border-box;
    -webkit-transition: all 0.2s linear !important;
    transition: all 0.2s linear !important;
}

.hero-img-text-overlay .button1:hover {
    background-color: #640707 !important;
    box-shadow: rgba(0, 0, 0, 0.15) 0 3px 9px 0;
    transform: scale(1.05);
}
/* === GLOBAL USER BUTTONS ========== */
a.button.button1,
a.button.button1:visited {
	background-color: #c2011b;
	color: #fff;
	text-decoration: none;
	border: 3px solid transparent;
	border-radius: 0px;
	font-weight: 700;
	line-height: normal;
}

a.button.button1:hover,
a.button.button1:active {
	background-color: #fff !important;
	color: #c2011b !important;
	text-decoration: none;
	border: 3px solid #c2011b !important;
	border-radius: 0px;
	font-weight: 700;
	line-height: normal;
}

a.button.button1:focus,
a.button.button1:focus-visible {
	background-color: #c2011b !important;
	color: #fff !important;
	outline: 3px dashed !important;
	border-radius: 0px;
	font-weight: 700;
	line-height: normal;
	outline-offset: -5px;
}

a.button.button2,
a.button.button2:visited {
	background-color: #003c71 !important;
	color: #fff !important;
	text-decoration: none;
	border: 3px solid transparent !important;
	border-radius: 0px;
	font-weight: 700;
	line-height: normal;
}

a.button.button2:hover,
a.button.button2:active {
	background-color: #fff !important;
	color: #003c71 !important;
	text-decoration: none;
	border: 3px solid #003c71 !important;
	border-radius: 0px;
	font-weight: 700;
	line-height: normal;
}

a.button.button2:focus,
a.button.button2:focus-visible {
	background-color: #003c71 !important;
	color: #fff !important;
	outline: 3px dashed !important;
	border-radius: 0px;
	font-weight: 700;
	line-height: normal;
	outline-offset: -5px;
}

a.button.button3,
a.button.button3:active,
a.button.button3:hover,
a.button.button3:focus,
a.button.button3:visited {
	background-color: #000;
	border: 3px solid #000;
	color: #fff;
	font-weight: 700;
	border-radius: 0px;
	text-transform: capitalize;
	text-decoration: none;
    line-height: normal;
}
a.button.button3:focus,
a.button.button3:focus-visible {
	background-color: #000 !important;
	outline: 3px dashed !important;
	border-radius: 0px;
	font-weight: 700;
	line-height: normal;
	outline-offset: -5px;
}
a.button.button4,
a.button.button4:hover,
a.button.button4:active,
a.button.button4:focus,
a.button.button4:visited {
	background-color: #808285;
	border: 3px solid #808285;
	color: #000;
	font-weight: 600;
	border-radius: 0px;
	text-decoration: none;
    line-height: normal;
}
a.button.button4:focus,
a.button.button4:focus-visible {
	background-color: #808285 !important;
	outline: 3px dashed !important;
	border-radius: 0px;
	font-weight: 600;
	line-height: normal;
	outline-offset: -5px;
}
/* cookie buttons */
.btn.btn-success.consent-confirm,
.btn.btn-success.consent-confirm:active,
.btn.btn-success.consent-confirm:visited,
.btn.btn-success.consent-confirm:hover,
.btn.btn-success.consent-confirm:focus {
    background-color: #c2011b;
    width: auto;
}
.btn.reject-performance-cookies,
.btn.reject-performance-cookies:active,
.btn.reject-performance-cookies:visited,
.btn.reject-performance-cookies:hover,
.btn.reject-performance-cookies:focus {
    background-color: #003c71;
    color: #fff;
    border: 1px solid #003c71;
    border-radius: 5px;
    width: auto;
}
/* Footer */

footer {
    background-color: #f8f9fa;
    padding: 30px 0;
}

footer .fab {
    font-weight: 400;
    font-size: 30px;
    color: #364f6b;
}

footer .sociallinks {
    margin-top: 1rem;
    margin-left: -10px;
}

footer .sociallinks > li {
    display: inline-block;
    padding-left: 5px;
    padding-right: 5px;
}

footer .bottom-footer li {
    display: inline-block;
    padding-left: 5px;
    padding-right: 5px;
}

/* Container width class */

.hero-img-text-overlay .block-image-text {
    padding-right: 15px;
    padding-left: 0;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 0;
    top: 330px;
    left: 225px;
}

.hero-img-text-overlay .block-image-text img {
    margin-left: 11px;
    transform: scale(1.2);
}

@media (min-width: 768px) {
    .hero-img-text-overlay .block-image-text {
        width: 750px;
    }
}

@media (min-width: 992px) {
    .hero-img-text-overlay .block-image-text {
        width: 970px;
    }
}

@media (min-width: 1200px) {
    .hero-img-text-overlay .block-image-text {
        width: 1170px;
    }
}

/* FOOTER CSS  */

.site-footer {
    background-color: #ecece9;
    padding: 45px 0 20px;
    font-size: 15px;
    line-height: 24px;
    color: #737373;
    font-family: "Open Sans", sans-serif;
}

.site-footer hr {
    border-top-color: #bbb;
    opacity: 0.5;
}

.site-footer hr.small {
    margin: 20px 0;
}

.site-footer h6 {
    font-family: "Open Sans", sans-serif;
    font-weight: bold;
    color: #c2011b;
    font-size: 16px;
    text-transform: uppercase;
    margin-top: 5px;
    letter-spacing: 2px;
}

.site-footer a {
    color: #c2011b;
    font-weight: 600;
}

.site-footer a:hover {
    color: #c2011b;
    text-decoration: none;
    font-weight: 600;
}

.footer-column-2 {
    padding-left: 100px;
}

.footer-column-3 {
    padding-left: 100px;
}

.footer-links {
    padding-left: 0;
    list-style: none;
}

.footer-links li {
    display: block;
}

.footer-links a {
    color: #737373;
    font-weight: 600;
}

.footer-links a:active,
.footer-links a:focus,
.footer-links a:hover {
    color: #c2011b;
    text-decoration: none;
    font-weight: 600;
}

.footer-links.inline li {
    display: inline-block;
}

.site-footer .social-icons {
    text-align: right;
}

.site-footer .social-icons a {
    width: 40px;
    height: 40px;
    line-height: 40px;
    margin-left: 6px;
    margin-right: 0;
    border-radius: 100%;
}

.copyright-text {
    margin: 0;
}

@media (max-width: 991px) {
    .site-footer [class^="col-"] {
        margin-bottom: 30px;
    }
}

@media (max-width: 767px) {
    .site-footer {
        padding-bottom: 0;
    }
    .site-footer .copyright-text,
    .site-footer .social-icons {
        text-align: center;
    }
}

.social-icons {
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}

.social-icons li {
    display: inline-block;
    margin-bottom: 4px;
}

.social-icons li.title {
    margin-right: 15px;
    text-transform: uppercase;
    color: #96a2b2;
    font-weight: 700;
    font-size: 13px;
}

.social-icons a {
    background-color: #4c4b43;
    color: #edede9;
    font-size: 16px;
    display: inline-block;
    line-height: 44px;
    width: 44px;
    height: 44px;
    text-align: center;
    margin-right: 8px;
    border-radius: 100%;
    -webkit-transition: all 0.2s linear;
    transition: all 0.2s linear;
}

.social-icons a:active,
.social-icons a:focus,
.social-icons a:hover {
    color: #fff;
    background-color: #29aafe;
}

.social-icons.size-sm a {
    line-height: 34px;
    height: 34px;
    width: 34px;
    font-size: 14px;
}

.social-icons a.facebook:hover {
    background-color: #3b5998;
    transform: scale(1.1);
}

.social-icons a.twitter:hover {
    background-color: #000000;
    transform: scale(1.1);
}

.social-icons a.linkedin:hover {
    background-color: #007bb6;
    transform: scale(1.1);
}

.social-icons a.instagram:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
    background: -webkit-radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
    transform: scale(1.1);
}
.fa.fa-instagram {
    font-size: 1.3rem;
    vertical-align: middle;
}

@media (max-width: 767px) {
    .social-icons li.title {
        display: block;
        margin-right: 0;
        font-weight: 600;
    }
}

/* END FOOTER CSS  */

/* JOB SEARCH RESULTS CSS  */

.job-search-results ul {
    font-weight: 400;
}

.job-search-results a {
    color: #c2011b;
    font-weight: 600;
}
.job-search-results a:hover {
    text-decoration: underline !important;
}

.badge {
    background-color: #c2011b;
}
.btn-primary[id^="search_control_button"],
.btn-primary[id^="search_control_button"]:hover,
.btn-primary[id^="search_control_button"]:visited,
.btn-primary[id^="search_control_button"]:active,
.btn-primary[id^="search_control_button"]:focus {
    background-color: #c2011b;
    border-color: #c2011b;
    color: #fff;
    font-weight: 700;
    border-radius: 5px;
    width: 105px;
}

.btn-success,
.btn-success:hover,
.btn-success:visited,
.btn-success:active,
.btn-success:focus {
    background-color: #c2011b;
    border-color: #c2011b;
    color: #fff;
    font-weight: 700;
    border-radius: 5px;
    width: 105px;
}
.btn-succes.near-me-btn:active,
.btn.btn-success:first-child:active {
    background-color: #c2011b !important;
    border: #c2011b !important;
}
.block-job-search-results .job-search-results table {
    font-size: 15px;
}

@media only screen and (max-width: 768px) {
    .block-job-search-results .job-search-results .job-search-collapse {
        font-size: 16px;
    }
}

/* ------------------------------ */

/* override filter groups column width  */

.block-job-search-results .job-search-results .job-search-filter-groups {
    width: auto;
}

.job-search-filter-groups {
    background-color: #edede9;
    padding-left: 36px !important;
    padding-right: 36px !important;
    border-radius: 8px;
}

.job-search-filter-categories {
    background-color: #f6f6f4;
    padding: 8px;
    margin: 0px -20px 30px -20px;
    /* border-radius: 8px; */
}

.job-search-filter-departments {
    background-color: #f6f6f4;
    padding: 8px;
    margin: 0px -20px 30px -20px;
    /* border-radius: 8px; */
}

.job-search-filter-employment-types {
    background-color: #f6f6f4;
    padding: 8px;
    margin: 0px -20px 30px -20px;
    /* border-radius: 8px; */
}

.job-search-filter-cities {
    background-color: #f6f6f4;
    padding: 8px;
    margin: 0px -20px 30px -20px;
    /* border-radius: 8px; */
}
/* job search filter category labels */
/* label: department --> division */
.job-search-filter-header.departments {
    visibility: hidden;
    position: relative;
}
.job-search-filter-header.departments::after {
    visibility: visible;
    position: absolute;
    left: 3px;
    content: "Division";
}
/* label: employment type --> work classification */
h4.job-search-filter-header.employment_types {
    visibility: hidden;
    position: relative;
}
h4.job-search-filter-header.employment_types::after {
    visibility: visible;
    position: absolute;
    left: 3px;
    content: "Work Classification";
}

.job-search-control input {
    border-radius: 5px !important;
    border: 1px solid rgba(80, 86, 86, 0.5);
    height: 50px;
}

.job-search-control button {
    height: 50px;
}

.job-search-results-card {
    border-radius: 8px;
    border: 8px solid rgba(246, 246, 244, 1);
}
@media (min-width: 768px) {
    .job-search-results-card-col {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (max-width: 992px) {
    .navbar {
        height: auto;
    }
}

.side-panel {
    background: transparent;
    padding: 1em;
    background-color: #f5fafc;
    margin-bottom: 30px;
    border-radius: 3px;
    margin-bottom: 30px;
}

@media (min-width: 767px) {
    .block-posts .post h3.post-title,
    .side-panel h3 {
        font-size: 21px;
    }
}

/*** THEME TWO JOB DESCRIPTION PAGE STYLES ***/

.theme-two-apply-now-btn {
    margin-bottom: 60px;
}

.theme-two-apply-now-btn .button {
    background-color: #c2011b !important;
    color: white !important;
    border: 3px solid #c2011b !important;
    border-radius: 8px;
    font-weight: 700 !important;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.theme-two-apply-now-btn .button:hover {
    background-color: #fff !important;
    color: #c2011b !important;
    border: 2px solid rgba(80, 86, 86, 0.5) !important;
    border-radius: 8px;
    font-weight: 700 !important;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.theme-two-side-panel {
    background-color: #f3f3f3;
    border: 4px solid #ebebeb;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.theme-two-side-panel input {
    border-radius: 5px;
}

.theme-two-side-panel .btn {
    background-color: #c2011b;
    color: #fff !important;
    width: 200px;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-left: 0 !important;
}

.theme-two-side-panel .btn:hover {
    background-color: #fff;
    border: 1px solid rgba(80, 86, 86, 0.5);
    color: #c2011b !important;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.theme-two-job-description {
    padding-right: 2.2em;
}

.theme-two-job-description .job-title {
    font-weight: 700;
    font-size: 26px;
    letter-spacing: 0.03rem;
}

.theme-two-job-description .btn {
    background-color: #c2011b;
    color: #fff !important;
    margin-left: 0;
    margin-right: 15px;
    padding: 5px 10px !important;
    line-height: normal;
}

.theme-two-job-description .btn:hover {
    background-color: #fff;
    color: #c2011b !important;
    border: 1px solid rgba(80, 86, 86, 0.5);
    margin-left: 0;
    margin-right: 15px;
    padding: 5px 10px !important;
    line-height: normal;
}

.theme-two-ready-to-apply {
    background-color: #f6f6f4;
}

.theme-two-ready-to-apply h2 {
    font-weight: 700;
    letter-spacing: 0.03rem;
}

.theme-two-ready-to-apply input {
    border-radius: 5px;
}

.theme-two-ready-to-apply .btn {
    background-color: #c2011b !important;
    color: #fff !important;
    margin-left: 0;
}

.theme-two-ready-to-apply .btn:hover {
    border: 1px solid rgba(80, 86, 86, 0.5);
    background-color: #fff !important;
    color: #c2011b !important;
    font-weight: 700;
}

/* apply now anchor link offset */
.theme-two-ready-to-apply a#applynow {
    scroll-margin-top: 100px;
}

.theme-two-side-panel h2 {
    font-weight: 700;
    letter-spacing: 0.03rem;
}

.theme-two-side-panel .job-title {
    color: #c2011b !important;
    font-weight: 600;
    letter-spacing: 0.03rem;
}

.theme-two-side-panel .job-title:hover {
    text-decoration: underline;
}

.theme-two-side-panel .job-department {
    font-weight: 700;
    letter-spacing: 0.03rem;
}

/* referral link in apply-cta styling */
a#referral_link {
    display: flex;
    justify-content: center;
    color: #003a66 !important;
    font-weight: 600;
    padding: 0 0 0.8rem;
}
/* top-nav applicant login button */
a.existing-applicant-btn {
    background-color: #c2011b;
    border: 2px solid #c2011b;
    border-radius: 5px;
    padding: 0.5rem 1rem !important;
    color: #fff !important;
    font-weight: 600 !important;
    font-size: 0.8rem !important;
}
a.existing-applicant-btn:hover {
    background-color: #c2011b;
    text-decoration: none;
    border: 2px solid #c2011b;
    border-radius: 5px;
    padding: 0.5rem 1rem !important;
    color: #fff !important;
    font-weight: 600 !important;
    font-size: 0.8rem !important;
}
@media (min-width: 1200px) {
    .theme-two-nav-container {
        margin: auto;
    }
}
@media (min-width: 1400px) {
    .theme-two-nav-container {
        margin: auto 3rem;
    }
}
@media (min-width: 1675px) {
    .theme-two-nav-container {
        margin: auto 10rem;
    }
}


/* JOB PAGE */
/* job page - favorites buttons */
a.btn.btn-primary.candidate-favourite,
a.btn.btn-primary.view-favourites {
    background-color: #c2011b;
    color: #fff;
    border: none;
    min-height: 45px;
    margin-left: 0;
    margin-right: 5px;
}

a.btn.btn-primary.candidate-favourite {
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

a.btn.btn-primary.view-favourites {
    padding: 7px !important;
}

a.btn.btn-primary.candidate-favourite span, a.btn.btn-primary.view-favourites span {
    color: #fff;
}


 