:root {
    --primary-color: #00263A;
    --secondary-color: #007B86;
    --third-color: #DA242A;
    --light-blue: #dfeef0;
    --royal-blue: #0645AD;
    --font-family: 'Poppins';
}
@keyframes smoothscroll1 {
  from, to { scroll-behavior: smooth; }
}

@keyframes smoothscroll2 {
  from, to { scroll-behavior: smooth; }
}

html {
  animation: smoothscroll1 1s;
  scroll-padding-top: 130px;
}

html:focus-within {
  animation-name: smoothscroll2;
  scroll-behavior: smooth;
}
html body {
    font-family: var(--font-family), arial, sans-serif;
    line-height: normal;
    font-size: 16px;
    font-weight: 400;
    overflow-x: hidden;
}

body.modal-open {
    padding-right: 0 !important;
    overflow: hidden;
}

.page.editing .page-row .page-row-container .page-row-and-new-button .right-controls {
    display: block !important;
    width: auto !important;
    z-index: 9999 !important;
}
.page.editing .page-row .page-row-container .page-row-border .left-controls, .page.editing .page-row .page-row-container .page-row-border:hover .right-controls {
    display: block !important;
}
.page.editing .page-row .block-wrapper {
    position: relative !important;
    min-height: 40px;
    inset: auto;
    overflow: visible;
    z-index: 1053;
}
.page.editing .page-row .block-wrapper.cutout {
    z-index: 9999 !important;
    pointer-events: all;
}

.flex-column-reverse .row {
    flex-direction: column-reverse;
}
.col-md-6:has(.block-image) {
    overflow: hidden;
}
.align-items-end .row {
    align-items: end;
}


h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    font-family: var(--font-family), arial, sans-serif;
    /* line-height: 50px; */
    letter-spacing: normal;
}

h1 {
    font-size: calc(22px + 20 * (100vw - 320px) / 1080);
}
h2 {
    font-size: calc(18px + 20 * (100vw - 320px) / 1080);
}
h3 {
    font-size: 26px;
}
h4 {
    font-size: 20px;
}

.block-wrapper h1 em,
.block-wrapper h2 em {
    color: var(--third-color);
    font-style: normal;
}
.blue-em h2 em,
.blue-em h3 em {
    color: var(--secondary-color);
    font-style: normal;
}
.black-em h2 em {
    color: var(--primary-color);
}
.blue-em a, .blue-em a em {
    text-decoration: none;
    font-weight: 700;
    transition: all .2s ease;
}
.blue-em a em:hover {
    color: var(--third-color);
}



.bg-primary {
    background-color: var(--primary-color) !important;
}
.bg-secondary {
      background-color: var(--secondary-color) !important;
}
.bg-light-blue {
      background-color: var(--light-blue);
}

.dark-bg * {
    color: #fff;
}
.text-white * {
  color: #fff;
}

a {
    color: var(--secondary-color);
    text-decoration: underline;
}

a:focus, a:focus-visible,
.btn:focus, .btn.focus,
.form-control:focus,
*:focus-visible {
    outline-offset: -2px;
    outline: -webkit-focus-ring-color auto 2px;
    border: none;
}

a.button.button1,
.btn-primary,
.btn.btn-success {
    background: var(--secondary-color);
    border: 1px solid var(--secondary-color);
    color: #fff;
    border-radius: 0;
    padding: 1em 3em;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none !important;
}
a.button.button1:hover,
.btn-primary:hover,
.btn.btn-success:hover {
    background: var(--third-color);
    border: 1px solid var(--third-color);
}

a.button.button2 {
    background: var(--primary-color);
    border: 1px solid var(--primary-color);
    color: #fff;
    border-radius: 0;
    padding: 1em 3em;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
}
a.button.button2:hover {
    background: var(--third-color);
    border: 1px solid var(--third-color);
    color: #fff;
}


a.button.button3,
.btn.btn-info {
    background: var(--third-color);
    border: 1px solid var(--third-color);
    color: #fff;
    border-radius: 0;
    padding: 1em 3em;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
}
a.button.button3:hover,
.btn.btn-info:hover {
    background: #000;
    border: 1px solid #000;
    color: #fff;
}


a.button.button4,
.btn.btn-info {
    background: #fff;
    border: 1px solid #fff;
    color: #000;
    border-radius: 0;
    padding: 1em 3em;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
}
a.button.button4:hover {
    background: #000;
    border: 1px solid #000;
    color: #fff;
}


a.button.active:after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--third-color);
    bottom: -10px;
    margin: auto;
    left: 50%;
    transform: rotate(45deg);
}

a.button.active,
a.button.active:hover {
    position: relative;
    background: var(--third-color);
    color: #fff;
    border: none;
    transition: none;
}


.btn.btn-light {
    background: #fff;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 0;
    padding: 1em 3em;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
}

.container-fluid.page-row-container {
    padding: 0;
    overflow: hidden;
}

.skip-link {
  position: absolute;
  display: inline-block;
  padding: .375rem .75rem;
  line-height: 1;
  font-size: 1.25rem;
  background-color: #fff;
  color: #000;
  transform: translateY(0);
  transition: transform 250ms ease-in;
  z-index: 9999;
}

.skip-link:not(:focus) {
  transform: translateY(-2rem);
}

.skip-link:focus {
    outline-offset: 2px;
    outline: -webkit-focus-ring-color auto 2px;
    border: none;
}

.carousel-control-prev:focus,
.carousel-control-next:focus {
    outline-offset: -2px;
    outline: -webkit-focus-ring-color auto 2px;
    border: none;
}

.cover-img, 
.cover-img .block-image, 
.cover-img .block-image-cover,
.cover-img .block-image-uncropped-full-width,
.cover-img .block-image-uncropped-full-width img {
    height: 100%;
    object-fit: cover;
    min-height: 400px;
}


nav.navbar.navbar-fixed-top {
    background: #00263dee;
    position: fixed;
    width: 100%;
    z-index: 1051;
    padding: 0;
}
header .navbar-brand {
    padding: 20px 10px;
    height: 100%;
    line-height: 47px;
}
.navbar-brand > img {
    max-height: 40px;
    margin-top: 30px;
}

nav.navbar.navbar-fixed-top .container {
    overflow-x: unset;
}
div#modalNavigation {
    z-index: 1050;
    background-color: #000000d1;
}
div#modalNavigation a {
    text-decoration: none;
}
.menu-primary {
    height: 97%;
    vertical-align: top;
    align-content: center;
    display: grid;
    max-width: 100%;
    width: 1360px;
    margin: auto;
}
.menu-primary-container {
    display: grid;
    min-height: 60vh;
}
.menu-primary-container ul li.sub-menu-item a {
    font-weight: 500;
}
.menu-primary-container .col-md-4 {
    height: auto;
}
.menu-selector li{
    position: relative;
}
.menu-section>div:not(.default) {
    display: none;
}

.home-img {
    background-image: url(https://d8yy0r0qfxgnb.cloudfront.net/public/uploads/0dbdf80ef2341abce9ad00252fbfe6c9/images/files/ba2e678cd9712ae97c8f61950af1578a/original/lutondart.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
    position: relative;
}
.home-img:after {
    content: "";
    background-image: url(https://d8yy0r0qfxgnb.cloudfront.net/public/uploads/0dbdf80ef2341abce9ad00252fbfe6c9/images/files/07383043cd88eb6ed6b5af809df7ea37/original/city.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: bottom;
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.home-img .container.page-row-container {
    max-width: 1920px;
    padding: 0 12vw;
}
.home-img .page-row-inner {
    min-height: 100vh;
    background-color: #00263dee;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.home-img .page-row-inner .container .col-md-6 {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.home-img .hero-heading  {
    width: 100%;  
    z-index: 2;
}
.home-img h1 {
    color: #fff;
}

.cutout {
    position: absolute;
    width: 100vw;
    bottom: -40vh;
    right: 0;
    left: auto;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

button#search_control_button_0_0 {
    background: var(--secondary-color);
    border: none;
    border-radius: 0;
    padding: 6px 20px;
    font-weight: bold;
    text-transform: uppercase;
    margin: 0px;
    color: #fff;
    width: 100%;
    max-width: 150px;
    text-align: center;    
    font-size: 16px;
    line-height: normal;
    height: 45px;
  z-index: 1;
}

button#search_control_button_0_0:hover {
    background: var(--third-color);
}

.align-center  {
    height: 100%;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
}

.modal-backdrop.show {
    opacity: 0.9;
}
.modal-backdrop:not(.show) {
    z-index: -1;
}

/* Home page */

.category-box .block-image-cover {
    height: 320px;
    background-position: top !important;
}

.category-box .block-image-cover .block-image-text {
    position: relative;
    top: auto;
    bottom: 0;
    z-index: 1;
    height: 100%;
    transform: translateY(0%);
    background-color: #007b8696;
    display: grid;
    transition: all .2s ease;
    align-content: end;
    padding: 1em;
}
.category-box .block-image-cover .block-image-text:hover {
    background-color: transparent;
}
.category-box:hover p {
    display: block;
}
.category-box p {
    display: none;
    font-size: 20px;
    font-weight: normal;
    color: #fff;
}

.category-box h3 {
    font-size: 30px;
    font-weight: bold;
    color: #fff;
}



.employee-carousel img.carousel-item-block-image {
    height: 350px;
    width: 100%;
    object-fit: cover;
    object-position: center;
}

.employee-carousel .carousel-item-block {
    position: relative;
}
.employee-carousel .block-carousel .carousel-item .carousel-item-block.col-4 .carousel-caption {
    position: absolute;
    background-color: #0000009e;
    color: #fff;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin-right: calc(var(--bs-gutter-x) * .5);
    margin-left: calc(var(--bs-gutter-x) * .5);
    display: flex;
    align-items: end;
    z-index: 0;
}
.employee-carousel .block-carousel .carousel-item .carousel-item-block.col-4 .carousel-caption:hover {
    background-color: transparent;
}
.employee-carousel .block-carousel .carousel-item .carousel-item-block.col-4 .carousel-caption .carousel-item-caption-detail, .employee-carousel .block-carousel .carousel-item .carousel-item-block.col-4 .carousel-caption .carousel-item-caption-detail p, .employee-carousel .block-carousel .carousel-item .carousel-item-block.col-4 .carousel-caption .carousel-item-caption-detail p a {
    height: 100%;
    align-items: end;
    display: flex;
    text-decoration: none;
}
.employee-carousel .carousel-item-caption-detail p a {
    color: #fff;
    font-size: 19px;
    font-weight: 600;
    line-height: normal;
    padding: 2em;
}

.values .block-image-uncropped-full-width .block-image-text {
    position: relative;
    display: block;
    top: auto;
    transform: none;
    margin-top: 1em;
}

.values .image-uncropped-full-width {
    width: 80px;
}

.values .block-image-uncropped-full-width {
    margin: auto;
    text-align: center;
}

.carousel {
    max-height: 100%;
}

.carousel-control-prev, .carousel-control-next {
    width: auto;
}
.carousel-control-prev-icon {
    background-image: url(https://careers.kier.co.uk/jobs/custom/KierGroup_03/resources/images/custom-icons/red-chevron-left.png);
    height: 80px;
    width: 40px;
}
.carousel-control-next-icon {
    background-image: url(https://careers.kier.co.uk/jobs/custom/KierGroup_03/resources/images/custom-icons/red-chevron-right.png);
    height: 80px;
    width: 40px;
}

.page-row.row-sustainable .col-md-6:first-child {
    @media (max-width: 991.9px) {
        padding-top: 40px;
        padding-bottom: 40px;
    }
}

.stats-carousel {
    .block-carousel .carousel-item .carousel-item-block.col-6 .carousel-caption,
    .block-carousel .carousel-item .carousel-item-block.col-3 .carousel-caption,
    .block-carousel .carousel-item .carousel-item-block.col-4 .carousel-caption,
    .block-carousel .carousel-item .carousel-item-block.col-2 .carousel-caption {
        position: relative;
        left: 0;
        right: 0;
        z-index: 1;
    }
}

.stats-carousel .carousel-item {
    padding: 0 3em;
}

.stats-carousel .carousel-item-block {
    text-align: center;
    position: relative;
    &:before {
        content: "";
        background-color: #FFF;
        border-radius: 1rem;
        position: absolute;
        top: 0;
        left: .5rem;
        right: .5rem;
        bottom: 0;
        z-index: 0;
    }
  
    .carousel-caption {
        position: absolute;
    }
}

.stats-carousel .page-block img {
    max-width: 100%;
    max-height: 100%;
    width: 67px;
    height: 67px;
    object-fit: contain;
    object-position: 50% 50%;
    text-align: center;
    position: relative;
    margin: 2em;
}
.stats-carousel .carousel-item-block h3 {
    color: var(--secondary-color);
    font-size: 32px;
    font-weight: 400;
}

.stats-carousel .carousel-item-block:nth-child(1) h3:after,
.stats-carousel .carousel-item-block:nth-child(2) h3:after {
    content: "+";
}
.stats-carousel .carousel-item-block:nth-child(3) h3:after{
    content: "%";
}

.stats-carousel .carousel-item:nth-child(2) .carousel-item-block:nth-child(1) h3:after{
    content: "%";
}
.stats-carousel .carousel-item:nth-child(2) .carousel-item-block:nth-child(2) h3:before{
    content: "£";
}
.stats-carousel .carousel-item:nth-child(2) .carousel-item-block:nth-child(2) h3:after{
    content: "bn";
}
.stats-carousel .carousel-item:nth-child(2) .carousel-item-block:nth-child(3) h3:after{
    content: "%";
}


.hero-banner {
    min-height: 400px;
    height: 60vh;
    background-color: var(--primary-color);
}

.hero-banner .page-row-inner {
    display: flex;
    height: 100%;
    align-items: center;
}
.hero-banner h1 {
    color: #fff;
}


.social-wall {
    max-width: 1190px;
}

/* Search page */

.search-bar h1 {
    margin-bottom: 0;
}
.search-bar h2 {
    margin-bottom: 20px;
}

.easy-autocomplete-container ul * {
    color: var(--primary-color);
}

.job-search-control .form-control {
    margin-right: 20px;
    z-index: 2;
    height: 45px;
    padding: 8px 12px;
    font-weight: bold;
    padding-left: 40px;
}

.job-search-control .form-control:after {
    content: "";
    width: 25px;
    height: 25px;
    position: absolute;
    left: 10px;
    float: left;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    background-image: url(https://d8yy0r0qfxgnb.cloudfront.net/public/uploads/0dbdf80ef2341abce9ad00252fbfe6c9/images/files/f545e67c139e2bfbe1bfea4faba7ca7c/medium/magnifying-glass.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.search-bar .job-search-control span.input-group-btn:last-child {
    display: block;
    clear: both;
    width: 100%;
}
.job-search-control .near-me-control {
    margin-left: 0;
}
.near-me-control button.btn-success {
    background: transparent;
    border: none;
    font-weight: bold;
    box-shadow: none;
    font-size: 16px;
    height: auto;
    padding: 10px;
    z-index: 0;
}
.near-me-control button.btn-success:hover {
    background: transparent;
    border: none;
    color: var(--secondary-color);
}

.near-me-control button.btn-success:before {
    content: "\f124";
    margin-right: 10px;
    font-size: 16px;
    font-family: 'Font Awesome 6 Free';
}
.btn-success:not(:disabled):not(.disabled):active:focus, .btn-success:not(:disabled):not(.disabled).active:focus, .show>.btn-success.dropdown-toggle:focus {
    box-shadow: none;
    background: transparent;
    border: none;
    outline-offset: 2px;
    outline: -webkit-focus-ring-color auto 2px;
    border: none;
}

.block-job-search-results .job-search-filter-groups .list-unstyled, .block-job-search-results .job-search-filter-groups .job-component-details .job-component-list ul, .job-component-details .job-component-list .block-job-search-results .job-search-filter-groups ul {
    overflow-y: auto;
}

.block-job-search-results .job-search-results-card .job-component-dropdown-field-1,
.block-job-search-results .job-search-results-card .job-component-dropdown-field-2 {
    display: none;
}

input#search_dropdown_field_1_values,
input#search_dropdown_field_2_values {
    display: none;
}

.block-job-search-results .job-search-results .job-search-control {
    display: none;
}

.block-job-search-results .job-search-results .job-search-filter-groups {
    width: auto;
    background-color: var(--light-blue);
    border-right: 1px solid #444;
}
.block-job-search-results .job-search-filter-groups li .badge {
    background: transparent;
    color: var(--primary-color);
    float: none;
}
.block-job-search-results .job-search-filter-groups li {
    margin-bottom: 0em;
    display: flex;
    padding: 5px 0;
}
.block-job-search-results .job-search-filter-groups label {
    font-size: 14px;
    font-weight: normal;
    overflow: hidden;
    white-space: normal;
    max-width: calc(100% - 40px);
    text-overflow: unset;
    padding-left: 3px;
}
.block-job-search-results .job-search-filter-groups h4 {
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    color: #000;
}

.job-component-list.job-component-list-location ul {
    display: flex;
    flex-wrap: wrap;
}
.job-component-details {
    font-size: 16px;
}
li.job-component-icon-and-text.job-component-location:not(:first-child):before {
    content: " / ";
    padding-left: 5px;
}

li.job-component-icon-and-text.job-component-location:not(:first-child) i.fas.fa-location-arrow {
    display: none;
}


td.job-search-results-title a {
    font-weight: bold;
    color: var(--secondary-color);
    font-size: 22px;
}

.card-body.job-search-results-card-body h3.card-title.job-search-results-card-title a {
    font-size: 22px;
    font-weight: bold;
    text-decoration: none;
}


.block-job-search-results .job-search-results .job-search-results-card {
    background: transparent;
    flex-direction: row;
    border: none;
    border-bottom: 1px solid #000;
    border-radius: 0;
}
.block-job-search-results .job-search-results .job-search-results-card .card-footer {
    width: 380px;
    height: auto;
    display: flex;
    background: transparent;
    color: #fff;
    flex-wrap: nowrap;
    align-items: baseline;
    padding: 0;
    padding-top: 1.25rem;
    border: none;
}

.block-job-search-results .job-search-results .job-search-results-card .card-footer a {
    background: var(--third-color);
    color: transparent;
    padding: 10px;
    font-weight: bold;
}
.block-job-search-results .job-search-results .job-search-results-card .card-footer a:before {
    content: "Apply Now";
    position: absolute;
    color: #fff;
}

.block-job-search-results .job-search-results .job-search-results-card-col i.fas.fa-chevron-right {
    display: none;
}

.block-job-search-results .job-search-results .job-search-results-card-col {
    margin-bottom: 0;
}
.block-job-search-results .job-search-results .job-search-results-card-col .job-search-results-card:hover {
    background: var(--secondary-color);
}
.block-job-search-results .job-search-results .job-search-results-card-col .job-search-results-card:hover .job-search-results-card-body * {
    color: #fff;
}

.block-job-search-results .job-search-results .pagination {
    margin-bottom: 0;
    display: flex;
    flex-wrap: wrap;
    margin-left: auto;
}
.block-job-search-results .job-search-results .pagination li {
  margin-bottom: 0;
}
.pagination-container {
    display: flex;
    align-items: center;
    padding: 10px 0;
}
.block-job-search-results .job-search-results .pagination .page-link {
    border: none;
    background: transparent;
    width: 100%;
    color: var(--primary-color);
}
.block-job-search-results .job-search-results .pagination > .active > a {
    background: var(--secondary-color);
    color: #fff;
}

.map-row,
    .map-code-block-row {
      display: none;
    }

    .page-row:has(.job-search-results) .block-map {
      display: none;
      .google-map {
        aspect-ratio: 1 / 1;
        height: auto;
      }
    }

    .map-toggle .show-list {
      display: none;
    }

    .map-toggle {
      display: flex;
      font-size: .9rem;
    width: auto;
    }

    .block-job-search-results .job-search-results-dropdown {
      width: 100%;
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      padding-left: 24px;
      align-items: center;
    }

    .page-row:has(.job-search-results).show-map {
      .block-map {
        display: block;
      }

      .col-md-9 .job-search-results .job-search-results-card-row {
        display: none;
      }

      .map-toggle .show-list {
        display: inline;
      }

      .map-toggle .show-map {
        display: none;
      }

      .map-toggle:after {
        content: none;
      }

      .row.pagination-container {
        display: none;
      }

      .row.job-search-results-sub-search-actions {
        .job-search-results-sort-by-dropdown,
        .job-search-results-sort-by-dropdown + .dropdown-menu {
          display: none;
        }
      }

      .block-job-search-results .job-search-results-dropdown ul.pagination {
        display: none;
      }
    }


/* Job Page */
.job-description p {
    margin: 0;
}
.summary-values ul {
    padding-left: 0;
    list-style: none;
}
.summary-values li {
    padding: 10px;
}
.summary-values li:not(:last-child) {
    border-bottom: 1px solid #000;
}

.summary-values {
  img[src*="badge"] {
    margin: 0 auto;
    display: block;
    + br {
      display: none;
    }
  }
}


.benefits-job .page-block {
    display: flex;
    flex-wrap: wrap;
}
.benefits-job .page-block h3,
.benefits-job .page-block p:last-child {
    width: 100%;
}
.benefits-job .page-block p {
    width: 50%;
    text-align: center;
    padding: 10px;
    color: #484848;
    font-size: 15px;
}
.benefits-job img {
    width: 50px;
    height: 70px;
    object-fit: contain;
    transition: all .3s;
    &:hover {
        transform: scale(1.1);
    }
}


.block-map .google-map {
    height: 500px;
}

.related-jobs .jobs-list .job {
    background: #fff;
    padding: 20px;
}
.related-jobs .jobs-list .job * {
    color: #000;
}


/* Careers at Kier */

.career-roles .col-md-4 {
    margin-bottom: 1em;
}

.role-box {
    background-color: var(--secondary-color);
    height: 100%;
    display: flex;
    align-items: baseline;
    text-align: center;
    padding: 2em;
    justify-content: center;
    min-height: 300px;
}
body.careers-at-kier {
  .role-box .block-image, .role-box .block-image-uncropped-full-width {
      height: 100%;
  }
  
  .role-box .block-image-uncropped-full-width {
      align-items: stretch;
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
  }
  
  .role-box .block-image-text {
      position: relative;
      display: flex;
      flex-wrap: wrap;
      transform: none;
      top: 0;
      height: auto;
      text-align: center;
      justify-content: center;
  }
}

.role-box .block-image-uncropped-full-width img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    object-position: 50% 50%;
    text-align: center;
    margin-bottom: 1em;
}

.role-box:hover .block-image-uncropped-full-width img {
    animation: pulse 1.5s;
}

.role-box .block-image-text {
    position: relative;
    display: inherit;
    transform: none;
    top: auto;
}
.small-container {
    padding-bottom: 1em;
    padding-top: 1em;
    width: 90%;
    margin: auto;
}

/* Our D&I Journey page */
.fill-img .block-image {
    background: var(--primary-color);
}
.diversity-carousel .carousel-inner .carousel-item {
    overflow: visible;
}
.diversity-carousel img.carousel-item-block-image {
    height: 500px;
    object-fit: cover;
}
.diversity-carousel .carousel-caption {
    inset: 0;
    align-items: center;
    display: flex;
    background: #0000009e;
    overflow: hidden;
    pointer-events: none;
    padding: 40px;
}

.diversity-carousel .carousel-caption h3 {
    color: #fff;
}

.diversity-carousel .block-carousel .carousel-item .carousel-item-block p {
    text-shadow: none;
    font-size: 16px;
}

/* Benefits page */

.benefit .block-image-text {
    position: relative;
    text-align: left;
    height: 100%;
    top: 0;
    transform: none;
}

.benefit .block-image-uncropped-full-width {
    display: flex;
    flex-wrap: nowrap;
    padding: 1em 0;
    align-items: flex-start;
}

.benefit img.image-uncropped-full-width {
    padding: 0 25px;
    width: 90px;
    height: 90px;
    object-fit: contain;
    object-position: top;
}

.benefit-dropdown h3:after {
    content: '\f078';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: inherit;
    color: var(--third-color);
    border: none;
    width: auto;
    height: auto;
    transition: all .2s ease;
    float: right;
}
.benefit-dropdown.active h3:after {
    transform: rotate(180deg);
}

.share-this-page {
    background-color: var(--primary-color);
    padding: 2em;
    margin-top: 2em;
}

.share-this-page h3 {
    color: #fff;
    text-align: center;
}
.share-this-page ul {
    display: flex;
    justify-content: space-evenly;
    list-style: none;
    max-width: 500px;
    margin: auto;
    padding: 0;
}

.share-this-page ul li a {
    text-decoration: none;
    font-size: 40px;
    color: #fff;
}

.share-this-page .social:before {
    font-family: 'Font Awesome 6 Brands';
}
.share-this-page .social.social--x-twitter:before {
    content: "\e61b";
}

.share-this-page .social.social--email:before {
    content: "\f0e0";
    font-family: 'Font Awesome 6 Free';
}

/* Our people page */
.people-section {
    position: relative;
}
.people-section .block-wrapper.before-img.animate-flickerReverse {
    position: relative;
}

.people-section .block-wrapper.before-img.animate-flickerReverse .block-image {
    height: 100%;
    inset: 0;
    position: absolute;
}


/* Apprenticeships page */

.content-selector .container .content-inner ul.courses li img {
    max-width: 40px;
    max-height: 40px;
    margin: 10px;
}
.content-selector .content-inner ul li {
    font-size: 20px;
    display: flex;
    align-items: center;
}
.content-selector .content-inner ul li.course.active {
    flex-wrap: wrap;
    border-bottom: 2px solid #ccc;
}
.content-selector .content-inner ul li h3 {
    font-size: 24px;
}

.app-process-section ul.nav.nav-tabs {
    text-align: center;
    align-items: center;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    border: none;
}

.app-process-section .nav-tabs > li {
    width: auto;
    margin-bottom: 2px;
    position: relative;
}

    .app-process-section .nav-tabs > li > a {
        border: none;
        border-radius: 0;
        height: 100px;
        width: 100px;
        font-size: 24px;
        align-items: center;
        display: grid;
        background: #fff;
        color: var(--secondary-color);
        border: 1px solid #b0b0b0;
    }

    .app-process-section .nav-tabs > li.active > a,
    .app-process-section .nav-tabs > li.active > a:hover,
    .app-process-section .nav-tabs > li.active > a:focus,
    .app-process-section .nav-tabs > li a.active {
        background: var(--secondary-color);
        color: #fff;
    }

    .app-process-section .nav-tabs > li:after {
        content: "";
        background-image: url(https://careers.kier.co.uk/jobs/custom/KierGroup_03/resources/images/custom-icons/cyan-arrow.png);
        background-size: 25px;
        background-repeat: no-repeat;
        position: absolute;
        width: 25px;
        height: 25px;
        right: -10px;
        top: 42%;
        z-index: 1;
    }

    .app-process-section .nav-tabs > li:last-child:after {
        content: none
    }

.app-process-section .tab-content {
    padding-top: 2em;
    width: 700px;
    max-width: 100%;
    text-align: center;
    margin: auto;
}

    .app-process-section .tab-content p {
        padding-top: 1em;
        font-size: 20px;
        font-weight: bold;
    }



/* Graduates Industrial page */

body.graduates a.button.button3,
body.prison-programme a.button.button3,
body.armed-forces a.button.button3,
body.graduates-industrial a.button.button3 {
      position: relative;
}
body.graduates a.button.button3:after,
body.prison-programme a.button.button3:after,
body.armed-forces a.button.button3:after,
body.graduates-industrial a.button.button3:after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--third-color);
    bottom: -10px;
    margin: auto;
    left: 50%;
    transform: rotate(45deg);
}

body.graduates a.button.button3:hover,
body.prison-programme a.button.button3:hover,
body.armed-forces a.button.button3:hover,
body.graduates-industrial a.button.button3:hover {
    background: var(--third-color);
}


.kierriculum-video .clinch-video-player.video-js {
    height: 800px;
}

.hints-sections {
    overflow: hidden;
}
.hints-sections .row {
    max-width: 900px;
    margin: auto;
}
.app-icon {
    width: 110px;
}


.tab-toggle a.button {
    width: 400px;
    max-width: 100%;
    margin-right: 10px;
    margin-bottom: 15px;
}

.large-btn a.button {
    width: 370px;
    padding: 1em 0;
}


/* FAQs */
.accordion-item {
    border: none;
    border-bottom: 1px solid #000;
    border-radius: 0;
} 

.accordion-item:last-of-type>.accordion-header .accordion-button.collapsed,
.accordion-item:last-of-type {
    border-radius: 0;
}
.accordion-header {
    background: transparent;
    border: none;
    padding: 0;
}
.accordion-button,
button.accordion-button,
.accordion-button:focus {
    color: #000;
    text-transform: none;
    font-weight: bold;
    background: 0;
    display: block;
  box-shadow: none;
}


.accordion-button:focus {
    outline-offset: -2px;
    outline: -webkit-focus-ring-color auto 2px;
    border: none;
}
.accordion-button:not(.collapsed) {
    color: #000;
    background-color: #fff;
    box-shadow: none;
}

.faqs-white .accordion-button,
.faqs-white .accordion-body {
    background: var(--primary-color);
    color: #fff;
    border-color: #fff;
}

.bg-secondary .faqs-white .accordion-button,
.bg-secondary .faqs-white .accordion-body {
    background: var(--secondary-color);
    color: #fff;
    border-color: #fff;
}

/* Employee stories / Blogs */
.card-body.posts-card-body {
    position: absolute;
    background-color: #0000009e;
    color: #fff;
    margin: 0;
    inset: 0;
    display: flex;
    flex-wrap: wrap;
    align-content: end;
    transition: background-color .2s;
    &:hover {
        background-color: #00000000;
    }
}

.card-body.posts-card-body .card-title,
.card-body.posts-card-body p {
    color: #fff;
}

.posts-cards .posts-card {
    margin-block: .5rem;
}

.page-row:has(.posts-cards .posts-card) + .page-row .posts-cards .posts-card {
    margin-top: .5rem;
}

.page-row:has(.posts-cards .posts-card):has(+ .page-row .posts-cards .posts-card) .posts-cards .posts-card {
    margin-bottom: .5rem;
}



/* Water jobs page */
body.water-jobs .home-img:after {
    content: none;
}
body.water-jobs .home-img .page-row-inner {
    background-color: #00000057;
}

body.water-jobs .home-img {
    background-image: url(https://d8yy0r0qfxgnb.cloudfront.net/public/uploads/0dbdf80ef2341abce9ad00252fbfe6c9/images/files/a9e3c6e3fa292a28d2694b395b39c06a/large/bannerWater.jpg) !important;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
    position: relative;
}

.water-company h3 {
    position: relative;
    display: flex; 
    align-items: center;
    cursor: pointer;
    min-height: 120px;
    border-bottom: 1px solid #000;
}
.water-company h3:after {
    content: "";
    font: var(--fa-font-solid);
    position: absolute;
    right: 10px;
    color: var(--primary-color);
}
.water-company img {
    width: 150px;
    height: 75px;
    object-fit: contain;
}



.projects-slider * {
    color: #fff;
}

.projects-slider .carousel-item-block {
    display: flex;
    flex-wrap: nowrap;
}

.projects-slider .carousel-item-block img {
    width: 50%;
    object-fit: cover;
}

.projects-slider .carousel-caption {
    padding: 10px;
    background: var(--primary-color);
    display: flex;
    align-items: center;
}

body.water-jobs .related-jobs .jobs-list .job {
    background: var(--primary-color);
}

body.water-jobs .related-jobs .jobs-list .job * {
    color: #fff;
}

#call_to_action_verify_code_exit_call_to_action {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

label[for="allow_performance_cookies"] {
  font-size: 0;
  &:after {
    content: "Non-essential Cookies";
    font-size: 1rem;
    display: inline-block;
    margin-left: .25rem;
  }
}

/* Footer */
footer .social:before {
    font-family: 'Font Awesome 6 Brands';
}
.footer__signoff p {
    color: #fff;
}

#show_manage_cookies_dialog {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 1rem;
    left: 1rem;
    font-size: 2rem;
    background-color: #00263A;
    color: #FFF;
    border-radius: 50%;
    aspect-ratio: 1 / 1;
    line-height: 1;
    width: 2.5rem;
    text-decoration: none;
    z-index: 1;
}

.row-cookies {
    h2, h3, h4 {
        color: #000;
    }
  
    h2 {
        font-size: 2rem;
    }

    h3 {
        font-weight: normal;
        font-size: 1.24rem;
        @media (min-width: 1200px) {
            font-size: 1.76rem;
        }
    }
  
    h4 {
        font-size: 1.17rem;
        @media (min-width: 1200px) {
            font-size: 1.35rem;
        }
    }

    th.browser-name,
    th.cookie-settings-navigation {
        width: 50%;
    }

    th.cookie-name {
        width: 35%;
    }

    th.cookie-duration {
        width: 10%;
    }

    th.cookie-description {
        width: 55%;
    }
}

.page-row .meet-the-recruiter .page-block {
  img {
    border-radius: 100%;
    max-width: 40%;
    margin: 0 auto;
    height: auto;
  }
}

@media(min-width: 1400px) {
    .container-xxl,.container-xl,.container-lg,.container-md,.container-sm,.container {
        max-width:1170px;
    }
}

@media(min-width: 1536px) {
  .small-container
   {
      width: 70%;
  }
}


@media(min-width: 768px) {
  .mobile-only {
    display: none;
}
  .menu-section {
    display: block;
}
  
    .flex-column-reverse .row {
      flex-direction: unset;
  }
  
    .cutout {
        position: absolute;
        width: 80%;
        bottom: -46vh;
        left: auto;
        right: -10vw;
  }
  
    .content-selector .content-inner ul li.course.active {
        flex-wrap: nowrap;
    }
  .content-selector .content-inner ul li:after {
    top: auto;
}

  .content-selector .content-inner ul li#active:after {
        transition: 0.4s ease all;
        transform: translateY(-50%) rotate(45deg);
        border-color: var(--secondary-color);
    }
  
    .job-search-results-dropdown-filter-col {
        flex:0 0 20%;
        max-width: 20%
    }

    .job-search-results-card-col {
        flex: 0 0 100%;
        max-width: 100%
    }

    .related-jobs .jobs-list {
      display: flex;
      justify-content: space-around;
      flex-wrap: wrap;
    }
    .related-jobs .jobs-list .job {
        width: 32%;
    }
    .content-selector .content-inner ul li .mob-accordion {
      display: none !important;
      transition: none;
  }


    .post-block-video .clinch-video-player.video-js {
        height: 730px;
    }
  
}



@media(min-width: 1280px) {
    .cutout {
      width: 70%;
      bottom: -50vh;
      right: -8vw;
      left: auto;
  }
}



@media(max-width: 992px) {
  .container-md, .container-sm, .container {
        max-width: 100%;
    }
  .benefit .col-md-4 {
      width: 100%;
  }
      .menu-selector li.\31 40 {
        display: block;
    }

  .employee-carousel .carousel-item-caption-detail p a {
    font-size: 16px;
    padding: 1em;
}
  
}

@media(max-width: 767px) {
  h1 {
    font-size: 36px;
}
  h2 {
    font-size: 32px;
}
  h3 {
    font-size: 26px;
}

.menu-primary {
    height: auto;
}
.menu-primary-container {
    min-height: auto;
}
  .menu-selector {
      display: none;
  }
  .menu-section>div:not(.default) {
      display: block !important;
  }
  .menu-section div ul {
    display: none;
  }
  .menu-section {
      padding-left: 44px;
  }
  .menu-section .default {
    padding-left: 0;
}
  .menu-section h3.menu-item {
    padding: 10px 0;
}
  .menu-primary h4.submenu-title {
      padding: 0;
  }

.home-img .hero-heading {
    padding-top: 5em;
}
  
  .carousel-block .row {
      display: block;
  }
  
  .carousel-block .row .carousel-item-block {
      width: 100%;
      display: block;
      margin-block: .5rem;
      &:first-child {
          margin-top: 0;
      }

      &:last-child {
          margin-bottom: 0;
      }
  }
  
  .stats-carousel .carousel-caption,
  .stats-carousel .page-block img.carousel-item-block-image{
      inset: 0;
      margin: 0;
  }
.projects-slider .carousel-item-block img {
    width: 100%;
    object-fit: cover;
}
  .home-img .page-row-inner {
      align-items: end;
  }
    .cutout {
      position: relative;
      bottom: 0;
  }

  .block-job-search-results .job-search-results .job-search-results-card {
        flex-direction: column;
  }
  .block-job-search-results .job-search-results .job-search-results-card .card-footer {
      padding-top: 0;
      padding-bottom: 10px;
      padding-left: 15px;
      width: auto;
  }
    
}



@media(max-width: 600px) {
  .home-img .page-row-inner {
        min-height: 660px;
  }
      .cutout {
        max-height: 400px;
    }
}

.block-map .google-map .marker-info-window .location{
  color:#000;
}

.block-map .google-map .marker-info-window a{
  color:var(--secondary-color);
}
}

/*
.carousel-item-block {
  flex-direction: column;
  align-items: center;
}
.carousel-item-block .carousel-caption {
  position: static;
  display: block;
  top: auto;
  left: auto;
  right: auto;
  bottom: auto;
}
@media (min-width: 992px) {
  .carousel-item-block {
    min-height: 280px;
  }
}
.carousel {
  --paragraph-margin: 1rem 0 0;
  padding-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}
@media (min-width: 768px) {
  .carousel {
    padding-bottom: 0;
  }
}
.carousel .carousel-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-end;
  padding-bottom: 0;
  z-index: 1;
}
@media (min-width: 768px) {
  .carousel .carousel-inner {
    align-items: stretch;
    padding-bottom: 20px;
  }
}
@media (min-width: 992px) {
  .carousel .carousel-inner {
    padding-bottom: 40px;
  }
}
.carousel .carousel-item {
  padding: 0;
  gap: 1rem;
}
.carousel .carousel-inner .carousel-item.active,
.carousel .carousel-inner .carousel-item-next,
.carousel .carousel-inner .carousel-item-prev {
  display: flex;
}
.carousel .carousel-item {
  transition: transform 0.5s linear;
}
.carousel .carousel-item .col-lg-3 {
  flex-shrink: 1;
}
.carousel .carousel-inner {
  width: calc(100% - 2rem);
  margin: 0 auto;
}
@media (min-width: 768px) {
  .carousel .carousel-inner {
    width: 80%;
  }
}
.carousel .carousel-inner .carousel-item .carousel-item-block {
  display: none;
}
.carousel .carousel-inner .carousel-item .carousel-item-block:nth-child(1) {
  display: flex;
  width: 100%;
  padding: 0;
  flex: 0 1 100%;
}
@media (min-width: 768px) {
  .carousel .carousel-inner .carousel-item .carousel-item-block:nth-child(1),
  .carousel .carousel-inner .carousel-item .carousel-item-block:nth-child(2) {
    display: flex;
    width: 50%;
    padding: 0;
    flex: 0 1 50%;
  }
}
@media (min-width: 1400px) {
  .carousel .carousel-inner .carousel-item .carousel-item-block,
  .carousel .carousel-inner .carousel-item .carousel-item-block:nth-child(1),
  .carousel .carousel-inner .carousel-item .carousel-item-block:nth-child(2) {
    display: flex;
    width: 25%;
    padding: 0;
    flex: 0 1 25%;
  }
}
.carousel .carousel-inner .carousel-item {
  justify-content: center;
}
.carousel .carousel-inner .carousel-item .carousel-item-block {
  justify-content: center;
}
@media (min-width: 768px) {
  .carousel .carousel-inner {
    margin-bottom: 0;
  }
}
.carousel .carousel-inner .carousel-item-prev {
  z-index: 1;
}
.carousel .carousel-inner .carousel-item.active {
  z-index: 2;
}
.carousel .carousel-inner .carousel-item-next {
  z-index: 3;
}
@media (min-width: 768px) {
  .carousel .carousel-inner .carousel-item-end.active,
  .carousel .carousel-inner .carousel-item-next {
    transform: translateX(50%);
  }
  .carousel .carousel-inner .carousel-item-start.active,
  .carousel .carousel-inner .carousel-item-prev {
    transform: translateX(-50%);
  }
}
@media (min-width: 1400px) {
  .carousel .carousel-inner .carousel-item-end.active,
  .carousel .carousel-inner .carousel-item-next {
    transform: translateX(25%);
  }
  .carousel .carousel-inner .carousel-item-start.active,
  .carousel .carousel-inner .carousel-item-prev {
    transform: translateX(-25%);
  }
}
.carousel .carousel-inner .carousel-item-end,
.carousel .carousel-inner .carousel-item-start {
  transform: translateX(0);
}
*/