@import url("https://fonts.cdnfonts.com/css/museo-sans-rounded");

/* Client Specific Branding */
:root {
  --button-colour: #BAC405;
  --card-header-colour: #772D6B;
  --breadcrumb-bar: #772D6B;
  --font-family: "Calibri",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
}

/* Base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background-color: white;
  font-family: var(--font-family);
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -ms-overflow-style: scrollbar;
  -webkit-tap-highlight-color: transparent;
}

body,
html {
  margin: 0;
  padding: 0;
}

article,
aside,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section {
  display: block;
}

body {
  background-image: url("../content/images/banners/background-banner.jpg");
  background-position: center;
  background-size: cover;
  background-color: #fff;
  color: rgb(50, 50, 50);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #000;
  font-weight: 700;
  line-height: 1.2;
  margin-top: 0;
  margin-bottom: .5rem;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
}

ol,
ul,
dl {
  margin-top: 0;
  margin-bottom: 1rem;
}

ol ol,
ul ul,
ol ul,
ul ol {
  margin-bottom: 0;
}

b,
strong {
  font-weight: bolder;
}

small {
  font-size: 80%;
  font-weight: 400;
}

a {
  background-color: transparent;
  color: inherit;
  text-decoration: none;
  -webkit-text-decoration-skip: objects;
}

a:hover {
  text-decoration: underline;
}

a:not([href]):not([tabindex]),
a:not([href]):not([tabindex]):hover,
a:not([href]):not([tabindex]):focus {
  color: inherit;
  text-decoration: none;
}

img {
  border-style: none;
  vertical-align: middle;
}

table {
  border-collapse: collapse;
}

th {
  text-align: inherit;
}

hr {
  border: 0;
  border-top: 1px solid rgba(0, 0, 0, .1);
  box-sizing: content-box;
  height: 0;
  margin-top: 1rem;
  margin-bottom: 1rem;
  overflow: visible;
}

pre {
  display: block;
  margin-top: 0;
  margin-bottom: 1rem;
  overflow: auto;
  -ms-overflow-style: scrollbar;
}

figure {
  margin: 0 0 1rem;
}

/* Forms */
button,
input,
select,
optgroup,
textarea {
  font-size: inherit;
  line-height: inherit;
  margin: 0;
}

button,
input {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

button,
html [type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

.form-control,
.custom-select {
  width: 100%;
  height: calc(2.25rem + 2px);
  color: #495057;
  background-color: #fff;
  border: 1px solid #ced4da;
  border-radius: 0;
  font-size: 1rem;
  line-height: 1.5;
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.form-control {
  display: block;
  padding: .375rem .75rem;
  background-clip: padding-box;
}

.form-control:focus {
  background-color: #fff;
  border-color: #0891ff;
  box-shadow: 0 0 0 .2rem rgba(0, 75, 135, .25);
  color: #495057;
  outline: 0;
}

.form-control::placeholder {
  color: #6c757d;
  opacity: 1;
}

.form-control:disabled,
.form-control[readonly] {
  background-color: #e9ecef;
  opacity: 1;
}

.custom-select {
  display: inline-block;
  padding: .375rem 1.75rem .375rem .75rem;
  vertical-align: middle;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E");
  background-position: right .75rem center;
  background-repeat: no-repeat;
  background-size: 8px 10px;
  appearance: none;
}

.custom-select:focus {
  border-color: #0891ff;
  box-shadow: 0 0 0 .2rem rgba(8, 145, 255, .5);
  outline: 0;
}

.custom-select:disabled {
  background-color: #e9ecef;
  color: #6c757d;
}

/* Grid */
.container {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-right: 15px;
  padding-left: 15px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

.col-3,
.col-9,
.col-sm-6,
.col-sm-12,
.col-md-3,
.col-md-5,
.col-md-6,
.col-md-7,
.col-md-12,
.col-lg-2,
.col-lg-3,
.col-lg-4,
.col-lg-5,
.col-lg-6,
.col-lg-7,
.col-lg-9,
.col-xl-3,
.col-xl-9 {
  position: relative;
  width: 100%;
  min-height: 1px;
  padding-right: 15px;
  padding-left: 15px;
}

.col-3 {
  flex: 0 0 25%;
  max-width: 25%;
}

.col-9 {
  flex: 0 0 75%;
  max-width: 75%;
}

.order-1 {
  order: 1;
}

.order-2 {
  order: 2;
}

/* Buttons */
.btn {
  display: inline-block;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
  user-select: none;
  transition: color .15s ease-in-out, background-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

button,
.btn,
input[type="button"],
input[type="submit"],
input[type="reset"],
button:focus,
.btn:active,
.btn.active {
  background-color: var(--button-colour) !important;
  border: none !important;
  border-radius: 0 !important;
  color: #fff !important;
  padding: 15px !important;
}

button:hover,
button:focus,
.btn:hover,
.btn:focus,
input[type="button"]:hover,
input[type="button"]:focus,
input[type="submit"]:hover,
input[type="submit"]:focus,
input[type="reset"]:hover,
input[type="reset"]:focus {
  background-color: #d57019 !important;
  color: #fff !important;
  text-decoration: none;
}

.btn:focus,
.btn.focus {
  box-shadow: 0 0 0 .2rem rgba(0, 75, 135, .25);
  outline: 0;
}

.btn-primary,
.btn-outline-primary {
  font-weight: 700;
}

.btn-primary:focus,
.btn-primary.focus {
  box-shadow: 0 0 0 .2rem rgba(199, 117, 24, .5);
}

.btn-outline-primary:focus,
.btn-outline-primary.focus {
  box-shadow: 0 0 0 .4rem rgba(0, 75, 135, .5);
}

.btn.disabled,
.btn:disabled {
  opacity: .65;
}

.btn:not(:disabled):not(.disabled) {
  cursor: pointer;
}

.btn-lg {
  font-size: 1.25rem;
  line-height: 1.5;
}

.btn-block {
  display: block;
  width: 100%;
}

.btn-block + .btn-block {
  margin-top: .5rem;
}

/* Navigation */
.navbar {
  display: flex;
  align-items: center;
  height: 110px;
  justify-content: space-between;
  position: relative;
  z-index: 60;
  padding: 0px 100px;
  background-color: white;
}

.navbar-logo > img {
  max-width: 300px;
}

.nav-links {
  display: flex;
  gap: 30px;
  letter-spacing: 0.035em;
  margin-right: calc(0.035em * -1);  
  font-weight: 400;
  line-height: 1;
  color: #62656e;
  font-size: 1em;
  font-style: normal;
}

#navigation,
#breadcrumbs {
  position: relative;
  z-index: 2;
}

#navigation {
  border-top: none !important;
  margin-top: 0 !important;
}

#breadcrumbs {
  border-top: 1px solid #f5f9fa;
  font-size: .8rem;
  background-color: var(--breadcrumb-bar);
}

/* Footer */

footer {
  background-color: white;
  display: flex;
  padding: 30px 200px;
  justify-content: space-between;
  border-top: 1px solid rgba(151, 170, 187, 0.4);
  font-size: 14px;
  font-weight: 400;
}

/* Cards and breadcrumbs */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: #fff;
  background-clip: border-box;
  border: 1px solid rgba(0, 0, 0, .125);
  border-radius: 0;
}

.card-body {
  flex: 1 1 auto;
  padding: 1.25rem;
}

.card-title {
  margin-bottom: .75rem;
}

.card-header,
.card-footer {
  padding: .75rem 1.25rem;
  margin-bottom: 0;
}

.card-header {
  background-color: var(--card-header-colour);
  border-bottom: 1px solid rgba(0, 0, 0, .125);
}

.card-footer {
  background-color: rgba(0, 0, 0, .03);
  border-top: 1px solid rgba(0, 0, 0, .125);
}

.jobs-container .job-card {
  width: 100%;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  padding: .75rem 1rem;
  margin-bottom: 1rem;
  list-style: none;
  background-color: transparent;
  border-radius: 0;
}

.breadcrumb-item + .breadcrumb-item {
  padding-left: .5rem;
}

.breadcrumb-item + .breadcrumb-item::before {
  display: inline-block;
  padding-right: .5rem;
  color: #6c757d;
  content: "|";
}

.breadcrumb-item.active {
  color: #6c757d;
}

/* Utilities */
.img-fluid {
  max-width: 100%;
  height: auto;
}

.bg-secondary {
  background-color: #fff !important;
}

.bg-white {
  background-color: white !important;
}

.d-none {
  display: none !important;
}

.d-flex {
  display: flex !important;
}

.flex-column {
  flex-direction: column !important;
}

.justify-content-center {
  justify-content: center !important;
}

.align-items-center {
  align-items: center !important;
}

.shadow {
  box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15) !important;
}

.h-100 {
  height: 100% !important;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.my-2 {
  margin-top: .5rem !important;
  margin-bottom: .5rem !important;
}

.mb-3 {
  margin-bottom: 1rem !important;
}

.mb-4 {
  margin-bottom: 1.5rem !important;
}

.pt-3 {
  padding-top: 1rem !important;
}

.py-4 {
  padding-top: 1.5rem !important;
  padding-bottom: 1.5rem !important;
}

.py-5 {
  padding-top: 3rem !important;
  padding-bottom: 3rem !important;
}

.mt-auto {
  margin-top: auto !important;
}

.text-center {
  text-align: center !important;
}

.font-weight-bold {
  font-weight: 700 !important;
}

.text-white {
  color: #fff !important;
}

.text-dark {
  color: var(--card-header-colour) !important;
}

/* Site components */
.section {
  position: relative;
  padding: 2.5em 0 5em;
  background-color: transparent;
}

.hero {
  position: relative;
  width: 100%;
  max-height: 100vh;
  background-color: #212529;
  background-position: 70% 20%;
  background-size: cover;
}

.hero__cta-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.hero__cta {
  width: 100%;
  margin: 30px;
}

.hero__cta h1 {
  color: #000;
  font-size: 3.5rem !important;
}

.hero__cta p {
  font-size: 1.75rem;
}

.hero__title {
  margin-bottom: 25px;
}

.hero__title .highlight {
  position: relative;
  display: inline-block;
  padding: 15px 30px;
  background-color: rgba(0, 0, 0, .6) !important;
  backdrop-filter: blur(5px);
  box-decoration-break: clone;
  color: #fff;
  line-height: 2;
}

.hero__title .highlight > span {
  position: relative;
}

.hero__content {
  position: relative;
  width: 50%;
  padding: 30px;
  color: #fff;
}

.hero__content.full-width {
  width: calc(100% - 60px);
}

.hero__content p {
  color: #fff !important;
  font-weight: 700;
}

.hero__content p:last-of-type {
  margin-bottom: 0;
}

.hero-btn {
  height: 38px;
  padding: 0px !important;
  display: flex;
  justify-content: center;
  align-items: center;
}

#background-image {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  opacity: 1;
}

#job-search {
  position: relative;
  margin-top: -30px;
  padding: 20px;
  transform: translateX(-30px);
  background-color: rgba(0, 0, 0, .6);
  backdrop-filter: blur(5px);
}

#jobs-container {
  padding: 40px 0;
}

.color-overlay img {
  filter: brightness(0) saturate(100%) invert(9%) sepia(32%) saturate(2934%) hue-rotate(181deg) brightness(93%) contrast(102%);
}

/* Responsive grid and components */
@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }

  .col-sm-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .col-sm-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .order-sm-1 {
    order: 1;
  }

  .order-sm-2 {
    order: 2;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }

  .col-md-3 {
    flex: 0 0 25%;
    max-width: 25%;
  }

  .col-md-5 {
    flex: 0 0 41.6666666667%;
    max-width: 41.6666666667%;
  }

  .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .col-md-7 {
    flex: 0 0 58.3333333333%;
    max-width: 58.3333333333%;
  }

  .col-md-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .order-md-1 {
    order: 1;
  }

  .order-md-2 {
    order: 2;
  }

  .d-md-block {
    display: block !important;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }

  .col-lg-2 {
    flex: 0 0 16.6666666667%;
    max-width: 16.6666666667%;
  }

  .col-lg-3 {
    flex: 0 0 25%;
    max-width: 25%;
  }

  .col-lg-4 {
    flex: 0 0 33.3333333333%;
    max-width: 33.3333333333%;
  }

  .col-lg-5 {
    flex: 0 0 41.6666666667%;
    max-width: 41.6666666667%;
  }

  .col-lg-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .col-lg-7 {
    flex: 0 0 58.3333333333%;
    max-width: 58.3333333333%;
  }

  .col-lg-9 {
    flex: 0 0 75%;
    max-width: 75%;
  }

}

@media (min-width: 1200px) {
  .container {
    max-width: 1440px;
  }

  .col-xl-3 {
    flex: 0 0 25%;
    max-width: 25%;
  }

  .col-xl-9 {
    flex: 0 0 75%;
    max-width: 75%;
  }

  .hero__content {
    width: 75%;
  }
}

@media (max-width: 992px) {

  #jobs-container {
    padding: 28px 0;
  }

  .hero__cta h1 {
    font-size: 2.5rem !important;
  }

  .hero__cta p {
    font-size: 1.5rem;
  }

  .job-alerts-container .row {
    text-align: center;
  }

  .job-alerts-container .col-3,
  .job-alerts-container .col-md-3,
  .job-alerts-container .col-lg-2 {
    max-width: 160px;
    margin-top: 20px;
  }
}

@media (max-width: 770px) {

  #background-image img {
    top: 58% !important;
  }

  .hero.short {
    padding-top: 24px !important;
    padding-bottom: 24px !important;
  }

  .hero__title {
    margin-bottom: 18px;
  }

  .hero__title .highlight {
    padding: 18px 20px !important;
  }

  .hero__title span,
  .hero__title small {
    line-height: 1.15 !important;
  }

  #job-search {
    margin-top: 0;
    padding: 16px;
    transform: none;
  }

  #jobs-container .container,
  .job-alerts-container {
    padding-right: 16px;
    padding-left: 16px;
  }

  .job-alerts-container .col-9,
  .job-alerts-container .col-md-6,
  .job-alerts-container .col-lg-4,
  .job-alerts-container .col-3,
  .job-alerts-container .col-md-3,
  .job-alerts-container .col-lg-2 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .job-card .row > div:first-child,
  .card-footer .btn-block:first-child,
  p > .btn:first-child {
    margin-bottom: 10px;
  }
}

@media (max-width: 576px) {
  
  .navbar {
    padding: 10px;
    font-size: smaller;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
  }

  .navbar-logo > img {
      max-width: 200px;
  }

  .nav-links {
    gap: 20px;
    padding-top: 7px;
  }

  .hero__cta {
    width: 80%;
  }

  .hero__cta h1 {
    font-size: 1.5rem !important;
  }

  .hero__cta p {
    font-size: 1.25rem;
  }

  .hero__content {
    width: 100% !important;
    padding: 0px;
  }

  .fancybox-slide {
    height: auto !important;
  }

  .color-overlay {
    text-align: center;
  }
  
  .color-overlay > img {
    width: 90px;
  }

  .highlight {
    font-size: xx-large;
  }

  footer {
    padding: 25px 15px;
    font-size: 12px;
  }


}

@media screen and (prefers-reduced-motion: reduce) {
  .form-control,
  .custom-select,
  .btn {
    transition: none;
  }
}
