/** General CSS **/
:root {
    --scale: scale(1.05);
    --transition: all 0.35s ease-in-out;
}

/* Add smooth scrolling */
html {
    scroll-behavior: smooth;
}

@font-face {
    font-family: "Raleway";
    src: url("/wp-content/themes/custom/fonts/Raleway-VariableFont_wght.ttf")
        format("truetype");
    font-weight: 1 999;
    font-display: swap;
}

html,
body {
    height: 100%;
    color: #0a0a0a;
    font-size: 1rem;
}

.grid-container {
    max-width: 85rem !important;
}

.no-margin {
    margin: 0 !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
address,
li {
    font-family: "Raleway", sans-serif !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: bold;
}

h1,
.heading h3 {
    font-size: 2.5rem;
    color: #242d61;
}

h2 {
    font-size: 1.7rem;
    color: #242d61;
}

h3 {
    font-size: 1.5rem;
    color: #242d61;
}

h4,
h5,
h6 {
    font-size: 1.2rem;
    color: #242d61;
}

p,
li,
.boxes,
blockquote,
blockquote p {
    color: #0a0a0a;
    font-size: 1rem;
}

blockquote {
    margin: 2.5rem 0;
    padding: 1.25rem;
    position: relative;
    border: 10px solid #f9f9f9;
    box-sizing: border-box;
    width: 100%;
}

blockquote::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    font-size: 40px;
    font-family: "Font Awesome 5 Pro";
    color: #ee633a;
    font-weight: 700;
    transform: translateX(-50%) translateY(50%);
    padding: 0 10px;
    background-color: #fefefe;
}

blockquote::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    font-size: 40px;
    font-family: "Font Awesome 5 Pro";
    color: #ee633a;
    font-weight: 700;
    transform: translateX(50%) translateY(-50%);
    background-color: #fefefe;
    padding: 0 10px;
}

.button {
    background-color: #c43d15;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1rem !important;
    color: #fff !important;
    padding: 15px 25px;
    min-width: 150px;
    max-width: fit-content;
    display: inline-block;
    text-align: center;
    display: inline-block;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

.button:hover {
    background: ##b83711;
    text-decoration: none;
}

.button-orange {
    background: rgb(238, 99, 58);
    background: linear-gradient(
        180deg,
        rgba(238, 99, 58, 1) 0%,
        rgba(214, 58, 12, 1) 100%
    );
    border-radius: 5px;
    font-weight: bold;
    font-size: 1rem !important;
    color: #fff !important;
    padding: 15px 25px;
    min-width: 150px;
    display: inline-block;
    text-align: center;
    display: inline-block;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

.button-orange:hover {
    background: rgb(238, 99, 58);
    background: linear-gradient(
        180deg,
        rgba(238, 99, 58, 1) 0%,
        rgba(214, 58, 12, 1) 66%
    );
    text-decoration: none !important;
}

.button-blue {
    background-color: #c43d15;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1rem !important;
    color: #fff !important;
    padding: 15px 25px;
    min-width: 150px;
    display: inline-block;
    text-align: center;
    display: inline-block;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

.button-blue:hover {
    background: #b83711 !important;
    text-decoration: none !important;
}

/** Top Panel **/

#top-panel {
    background-color: #3b3b3b;
}

#top-panel a {
    color: white;
}

#top-panel p {
    text-align: right;
    margin: 10px 0;
}

#top-panel-phone {
    margin-left: 10px;
}

#top-panel-phone .fa-phone {
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

#top-panel-phone:hover .fa-phone,
#top-panel-envelope:hover .fa-envelope {
    color: #fff !important;
}

#top-panel-envelope .fa-envelope {
    margin-left: 10px;
}

#top-panel .fas {
    color: #afacac !important;
}

#top-panel .fa-facebook,
#top-panel .fa-twitter,
#top-panel .fa-linkedin,
#top-panel .fa-instagram,
#top-panel .fa-youtube {
    padding: 0 4px;
}

/** Header **/
.top-bar-wrapper {
    background-color: #242d61;
    padding: 0.5rem 0;
}

.top-bar-wrapper .grid-x {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    justify-content: flex-end;
    max-width: 85rem;
    padding: 0 0.9375rem;
    margin: 0 auto;
}

.top-bar__tel i,
.top-bar__email i {
    margin-right: 0.5rem;
}

.top-bar__tel:hover,
.top-bar__email:hover {
    color: #ed6439 !important;
    text-decoration: none !important;
}

.top-bar__tel:hover i,
.top-bar__email:hover i {
    color: #ed6439 !important;
}

.top-bar__tel i,
.top-bar__email i,
.top-bar__tel,
.top-bar__email {
    color: #fff;
    font-size: 0.875rem;
    text-decoration: none;
}

#main-panel {
    padding-top: 30px;
    padding-bottom: 30px;
}

.logo {
    width: 100%;
    max-width: 240px;
    height: auto;
}

@media only screen and (max-width: 999px) {
    .logo {
        max-width: 200px;
    }
}

@media only screen and (max-width: 274px) {
    .logo {
        max-width: 190px;
    }
}

@media only screen and (max-width: 250px) {
    .logo {
        max-width: 170px;
    }
}

@media only screen and (max-width: 640px) {
    #heading h1 {
        font-size: 25px !important;
        line-height: 35px;
    }
}

/** Banner **/

.banner-slider,
.banner-slider .slide,
.banner-slider .slick-list,
.banner-slider .slick-track {
    width: 100%;
    height: calc(100% - 163px);
    max-height: 500px;
    position: relative;
    display: block;
    overflow: hidden;
}

.banner-slider .slide,
.banner-slider .slick-list,
.banner-slider .slick-track,
.banner-slider .slick-slide {
    width: 100%;
    height: 100%;
    margin: 0;
}

.banner-slider .heading {
    width: 100%;
    padding: 0 15px;
}

.slider-image {
    width: 100%;
    height: calc(100% - 163px);
    max-height: 500px;
    position: relative;
    display: block;
    overflow: hidden;
}

@media only screen and (max-width: 300px) {
    .slider-image {
        max-height: 615px;
    }
}

.heading {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46%;
}

.heading h3 {
    color: #fff;
}

.heading p {
    color: #fff;
    text-align: center;
}

.filter {
    width: 100%;
    height: 100%;
}

.filter .button {
    margin-top: 20px;
}

/** Blocks **/

.page-block {
    margin: 50px 0;
}

.block {
    margin: 50px 0 50px 0;
}

/* Work Experiance Page responsiveness */
/* Target all blocks that are even so dynamically responsive */
@media only screen and (max-width: 640px) {
    body.page-id-5058 .block:nth-child(even) .large-5 {
        order: -1;
    }
}

/* Container div */
body.page-id-5058 .block .large-5 {
    aspect-ratio: 1;
    overflow: hidden;
}

/* Extra container div */
body.page-id-5058 .block .large-5 .block-box {
    width: 100%;
    height: 100% !important;
}

/* Image */
body.page-id-5058 .block .large-5 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* show top half of image to avoid cutting heads off */
    object-position: 50% 15%;
} 
/* ===================================================================================== */

.black-box-container {
    margin: 25px 0;
}

.block-coloured-background {
    padding: 50px 0;
}

.block p {
    max-width: 100ch;
}

.block .icon {
    max-width: 100px;
    max-height: 100px;
    margin: 50px 50px 0 50px;
}

.block-box .fa-icon i {
    font-size: 100px;
    margin: 50px 50px 0 50px;
}

.coloured-background .block-box-container {
    padding: 50px 40px 40px 40px;
}

.block-box-container-margin {
    margin-bottom: 30px;
}

.coloured-background,
.block-coloured-background {
    color: #fff;
}

.block-coloured-background .block-box {
    margin-top: 50px;
}

/** Accordion **/

.ui-accordion {
    width: 100%;
}

#faq {
    margin-top: 50px;
    margin-bottom: 50px;
}

#faq h2 {
    font-size: 1.7rem !important;
    color: #ffd41f !important;
}

.question-title,
.ui-accordion-content {
    color: #fff !important;
}

.question-title {
    display: flex;
    justify-content: space-between;
}

.question-title .fas {
    margin-left: 0.5rem;
}

#faq-container {
    background: #1b1d37;
    border-radius: 8px;
    color: #fff;
    padding: 40px 30px 60px 30px;
}

#faq-container p {
    color: #fff !important;
}

#faq h3,
.ui-accordion-header h3 {
    font-size: 1.3rem !important;
}

.ui-accordion-header {
    border-bottom: 2px solid #d9d9d9 !important;
    background-color: transparent !important;
    padding: 10px 0 10px 0;
    margin-bottom: 0 !important;
}

.ui-accordion-header:focus {
    outline: none;
}

.ui-accordion-header:hover {
    cursor: pointer;
}

.ui-accordion-header.ui-state-active {
    border-bottom: 2px solid #d63a0c !important;
}

.ui-accordion .ui-accordion-content {
    padding: 30px 0 !important;
    display: block;
}

.accordion .fas {
    margin-right: 5px;
    color: #333;
}

.fa-times,
.fa-ellipsis-h {
    color: #d63a0c !important;
    float: right;
    font-size: 30px;
}

.fa-times {
    color: #d63a0c !important;
}

.fa-ellipsis-h {
    color: #d63a0c !important;
}

/* Icon Boxes */

#icon_boxes.boxes p ::hover {
    color: #fff;
}

#icon_boxes {
    background-color: #cecece;
}

#icon_boxes .cell {
    transition: 0.35s;
}

#icon_boxes .cell:nth-child(odd) {
    background: #eaeaea;
    text-align: center;
    font-size: 13px;
}

#icon_boxes .cell:nth-child(even) {
    background: #dadada;
    text-align: center;
    font-size: 13px;
}

#icon_boxes .cell:hover {
    background-color: #3a3838;
}

#icon_boxes img.cell:nth-child(2) {
    width: 100px;
}

#icon_boxes .icon {
    padding-bottom: 20px;
    padding-top: 20px;
    height: 100px;
    width: auto;
}

#icon_boxes .cell p {
    padding: 10px 0 0 0;
}

#icon_boxes .cell:hover .boxes i,
#icon_boxes .cell:hover .boxes h2,
#icon_boxes .cell:hover .boxes p {
    color: #fff;
}

.boxes h2 {
    padding-top: 20px;
    font-size: 22px;
    margin-bottom: 0;
}

.boxes p {
    margin-bottom: 0;
}

.boxes {
    padding: 30px 0;
}

.boxes i {
    font-size: 70px;
}

/* Services Slider */

#services {
    padding-top: 50px;
    padding-bottom: 20px;
    text-align: center;
    overflow: hidden;
}

#services h2 {
    margin-bottom: 50px;
}

#services p {
    padding-bottom: 20px;
}

.service-slide {
    margin-bottom: 20px;
}

.service-slide span {
    background: #fff;
    display: block;
    padding: 20px 15px 30px 15px;
}

.service-slide .button {
    margin-top: -25px;
}

#services .slick-prev {
    background-color: #fff;
    left: -6px;
}

#services .slick-next {
    background-color: #fff;
    right: -6px;
}

/** Gallery **/

.gallery-coloured-background {
    padding-top: 50px;
    padding-bottom: 50px;
    color: #fff;
}

.gallery-coloured-background .gallery-grid {
    padding: 0 !important;
}

.gallery {
    overflow: hidden;
    margin: 25px 0;
}

.gallery .slick-prev,
.gallery .slick-next {
    background-color: #fff !important;
    width: 50px !important;
    height: 50px !important;
    margin-top: -20px !important;
    background-size: 35px !important;
}

.gallery .slick-prev {
    left: -6px;
}

.gallery .slick-next {
    right: -6px;
}

.gallery-grid {
    padding-bottom: 30px;
}

.gallery-grid img {
    margin: 30px 0 0 0;
}

/** Team Page **/

#team {
    text-align: center;
}

.team-box {
    padding: 20px 0;
}

.team-photo:hover {
    cursor: pointer;
}

/** Sidebar **/

.sidebar ul {
    margin: 0 !important;
    padding: 0 !important;
}

.sidebar li {
    list-style: none;
}

.sidebar li a {
    background: #fff;
    box-shadow: 0px 9px 23px 1px rgb(196 196 196);
    padding: 10px 20px;
    margin: 0 0 10px 0;
    display: block;
    position: relative;
    color: #0a0a0a !important;
    border-radius: 5px;
}

.sidebar li a:hover {
    text-decoration: none !important;
}

.sidebar li a:before {
    content: "\f054";
    font-family: "Font Awesome 5 Pro";
    top: 0;
    right: 0;
    background: #242d61;
    position: absolute;
    padding: 8px 12px;
    color: #fff;
    height: 100%;
    text-align: center;
    min-width: 43px;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

.sidebar li:hover a:before {
    background: rgb(238, 99, 58);
    background: linear-gradient(
        180deg,
        rgba(238, 99, 58, 1) 0%,
        rgba(214, 58, 12, 1) 100%
    );
}

.sidebar .current_page_item a:before {
    background: rgb(238, 99, 58);
    background: linear-gradient(
        180deg,
        rgba(238, 99, 58, 1) 0%,
        rgba(214, 58, 12, 1) 100%
    );
}

#sidebar-contact-form {
    background: #6583c1;
    padding: 40px 20px 0px 20px;
    border-radius: 5px;
}

/** Contact Block **/

#icons {
    width: 29%;
    margin: 0 auto;
    padding: 10px;
}

#contact {
    background-color: #242d61;
    padding: 2.5rem 0;
}

.contact-image {
    position: relative;
}

.contact-image img {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: auto;
    transform: translateY(-50%);
}

#contact .button {
    float: right;
    background: white;
    color: black !important;
}

#contact .button:hover {
    float: right;
    background: #b83711 !important;
    color: #fff !important;
}

#contact textarea {
    height: 130px;
}

#contact a:hover {
    text-decoration: underline;
}

#contact p {
    color: white;
}

#contact h2 {
    color: white;
}
#contact li {
    text-decoration: none;
    color: white;
    list-style-type: none !important;
}

#contact a {
    color: white;
}

#contact .grid-x {
    position: relative;
    z-index: 3;
}

#contact p {
    color: white;
}

/** Accreditations **/

#accreditations {
    padding: 50px 10px;
    text-align: center;
}


#accreditations img {
    height: 60px;
    width: auto;
    margin: 0 10px;
    object-fit: contain;
}

/** Footer **/

#footer a {
    font-weight: bold;
}

footer {
    padding-top: 30px;
    background-color: #1b1d37;
    color: #fff;
}

footer p,
footer a {
    color: #fff;
    font-size: 0.9rem;
}

footer a {
    color: #fff !important;
}

footer a:hover {
    text-decoration: underline !important;
}

footer .logo {
    margin-bottom: 30px;
}

#icaew-logo {
    margin-bottom: 20px;
}

.footer-navigation {
    text-decoration: none;
    padding: 20px 0;
    list-style-type: none;
    color: #fff;
}

@media only screen and (max-width: 1150px) {
    #footer {
        display: none;
    }
}

/* New footer styles */
.footer__offices-wrapper {
    margin-bottom: 2rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid #fff;
}

.footer__offices-title-wrapper {
    margin-top: 2rem;
}

.footer__office-group-title {
    color: #fff !important;
    margin-bottom: 1rem;
}

.footer__offices-title {
    font-size: 20px;
    color: #fff !important;
    margin-bottom: 0.5rem;
}

.footer__office-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    color: #fff;
}

.footer__address-wrapper {
    display: flex;
    gap: 0.5rem;
}

@media only screen and (max-width: 940px) {
    .footer__offices-wrapper {
        gap: 2rem;
    }
}

/** Copyright **/
#copyright {
    background-color: #3b3b3b;
    border-top: solid #303030 10px;
    padding: 15px 0;
}

#copyright p {
    color: #fff !important;
    margin: 0 !important;
    line-height: 20px;
}

#copyright p a:hover {
    text-decoration: underline;
}

#copyright a {
    color: white;
}

#copyright i {
    font-size: 20px;
    line-height: 40px;
    margin-left: 15px;
    width: 30px;
}

.social {
    text-align: right;
}

.social-share .fab,
.social-share .fa-brands {
    height: 40px;
    width: 40px;
    color: #fff;
    line-height: 40px;
    text-align: center;
    margin: 1rem 0.5rem;
    border-radius: 50%;
    font-size: 24px;
}

.social-share .fa-facebook-f {
    background-color: #4e68a5;
}

.social-share .fa-x-twitter {
    background-color: #000;
}

.social-share .fa-linkedin-in {
    background-color: #0e76a8;
}

.social .fa-instagram,
.fa-instagram {
    background-color: #c13586;
}

/** Blog **/

#blog h2 {
    font-size: 1.5rem !important;
    margin: 10px 0 0 0;
}

#blog a {
    color: #0a0a0a;
}

.related-posts {
    background: #f8f8f8;
}

.related-posts h2 {
    margin-bottom: 1.25rem;
    margin-top: 2.5rem;
}

.paginate {
    margin-left: -5px;
    margin-right: -5px;
    width: calc(100% + 10px);
}

.paginate span,
.paginate a {
    background-color: #444242;
    border-radius: 25px;
    font-weight: bold;
    color: #fff !important;
    padding: 15px 25px;
    margin-left: 5px;
    margin-right: 5px;
}

/** Responsive Mobile **/

@media only screen and (max-width: 640px) {
    #heading h1 {
        font-size: 25px !important;
        line-height: 35px;
    }
}

/** Navigation **/


@media only screen and (min-width: 990px) and (max-width: 1073px) {
.menu a {
        padding: 1rem 1.2rem !important;
    }
}

@media only screen and (min-width: 1074px) {
.menu a {
        padding: 1rem 1.5rem !important;
    }
}
    
@media only screen and (min-width: 990px) {
    #menu-item-4286 a,
    #menu-item-4459 a {
        border-radius: 5px;
        color: #fff !important;
        background: rgb(238, 99, 58);
        background: linear-gradient(
            180deg,
            rgba(238, 99, 58, 1) 0%,
            rgba(214, 58, 12, 1) 100%
        );
        padding: 15px 20px;
        display: inline-block;
        min-width: 120px;
        text-align: center;
        -webkit-transition: all 0.2s ease-in-out;
        -moz-transition: all 0.2s ease-in-out;
        -o-transition: all 0.2s ease-in-out;
        transition: all 0.2s ease-in-out;
        margin-left: 10px;
        font-weight: bold;
    }

    #menu-item-4286 a:hover,
    #menu-item-4459 a:hover {
        background: rgb(238, 99, 58);
        background: linear-gradient(
            180deg,
            rgba(238, 99, 58, 1) 0%,
            rgba(214, 58, 12, 1) 66%
        );
        text-decoration: none !important;
    }

    #main-navigation {
        float: right;
        display: flex !important;
    }

    #main-nav-container ul {
        margin: 0;
        padding: 0;
    }

    #main-nav-container li a {
        color: #1b1d37;
        font-weight: 600;
    }

    #main-nav-container li a:hover {
        color: #ee633a;
    }

    .sub-menu {
        /*display:none;*/
        position: absolute;
        top: 44px;
        padding: 20px 20px 30px !important;
        z-index: 10000000;
        background: #fff;
        border: 1px solid #efefef;
    }

    .sub-menu .sub-menu {
        /*display:none;*/
        position: absolute;
        left: 210px;
        margin-top: -54px !important;
        top: unset;
        width: 240px;
    }

    .sub-menu li {
        /*float:left;*/
        clear: left;
        width: 100%;
        list-style: none;
    }

    .sub-menu li a {
        color: #1b1d37 !important;
        display: block;
        min-width: 180px;
        background: #fff;
        padding: 10px 0 !important;
        border-top: 0;
    }

    .sub-menu li a:hover {
        color: #242d61 !important;
    }

    .sub-menu li:first-child a {
        border-top: 0;
    }

    .sub-menu .sub-menu a {
        border-top: 1px dashed #666 !important;
    }

    .sub-menu .sub-menu li:first-child a {
        border-top: 0 !important;
    }

    .reduced-padding-right {
        padding-right: 5px !important;
    }

    .reduced-padding-left {
        padding-left: 5px !important;
    }

    #main-navigation ul ul {
        position: absolute;
        left: 200px;
        padding: 0;
        display: none;
    }
}

@media only screen and (max-width: 1023px) {
    #top-contact {
        display: none;
    }

    #logo {
        top: 10px !important;
        display: block;
        max-width: 300px;
    }

    #phone-menu .fa {
        color: #fff;
        width: 50px;
        height: 50px;
        display: block;
        text-align: center;
        font-size: 30px;
        line-height: 35px;
    }

    #phone-menu {
        position: absolute;
        line-height: 30px;
        padding: 8px 15px 0 5px;
        width: 100%;
        top: 1px;
        left: 0;
        cursor: hand;
        cursor: pointer;
        color: #fff;
        text-align: center;
        display: block;
        z-index: 995;
    }

    #menu-main-navigation {
        margin-left: 10px;
        padding-left: 10px;
    }

    #main-navigation {
        display: none;
    }

    #main-navigation ul {
        float: right;
        margin-top: 43px;
    }

    #main-navigation li {
        list-style: none;
        float: none;
        text-align: right;
    }

    #main-navigation li a {
        list-style: none;
        color: #0a0a0a;
        padding: 0;
        text-decoration: none;
        font-size: 14px;
    }

    #menu-main-navigation {
        margin: 0 !important;
        padding: 0 !important;
        width: 100%;
    }

    #menu-main-navigation li {
        width: 100%;
        text-align: center;
        background: #18354c;
    }

    #menu-main-navigation li a {
        text-align: center;
        padding: 0 !important;
        color: #fff !important;
        line-height: 50px !important;
        width: 100% !important;
        display: block !important;
    }

    #menu-main-navigation li a:hover {
        background: #01669e;
        color: #fff !important;
    }

    .sub-menu {
        /*position:relative!important;*/
        top: 0 !important;
        width: 100% !important;
        padding-top: 0 !important;
        margin-top: 0 !important;
        background: #110e33;
        /*display:none;*/
        position: absolute;
        top: 36px;
        padding-top: 40px;
        z-index: 30;
        margin-left: 0;
        padding-left: 0;
        width: 200px;
    }

    .sub-menu li {
        float: left;
        clear: left;
        width: 100%;
    }

    .sub-menu li a {
        color: #fff;
        display: block;
        width: 100%;
        background: #cacaca;
    }

    .sub-menu li a:hover {
        color: #fff !important;
        background: #d63a0c !important;
    }

    #menu-item-4286 a,
    #menu-item-4459 a {
        border-radius: 5px;
        color: #fff !important;
        background-color: #ee633a;
        padding: 15px 20px;
        display: inline-block;
        min-width: 150px;
        text-align: center;
        -webkit-transition: all 0.2s ease-in-out;
        -moz-transition: all 0.2s ease-in-out;
        -o-transition: all 0.2s ease-in-out;
        transition: all 0.2s ease-in-out;
        font-size: 14px;
        margin: 10px 10px 0 0;
        font-weight: bold;
    }

    #menu-item-4286 a:hover,
    #menu-item-4459 a:hover {
        background: #3b3b3b !important;
    }

    .menu a {
        padding: 1rem 1.5rem !important;
    }

    .menu a:hover {
        color: #b30606 !important;
    }

    div#main-panel > .grid-x > .cell.auto {
        width: calc(100% - 1.875rem);
        margin-left: 0.9375rem;
        margin-right: 0.9375rem;
        -webkit-box-flex: 0;
        -webkit-flex: 0 0 auto;
        -ms-flex: 0 0 auto;
        flex: 0 0 auto;
        float: none;
    }

    div#hamburger {
        height: 30px;
        width: 40px;
        position: relative;
    }

    div#hamburger span {
        width: 100%;
        height: 4px;
        background-color: #000;
        position: absolute;
        left: calc(50% - 20px);
        transition: 0.35s;
    }

    div#hamburger span:nth-child(1) {
        top: 0;
    }

    div#hamburger.active span:nth-child(1) {
        top: calc(50% - 2px);
        transform: rotateZ(225deg);
    }

    div#hamburger span:nth-child(2) {
        top: calc(50% - 2px);
    }

    div#hamburger.active span:nth-child(2) {
        top: calc(50% - 2px);
        transform: rotateY(90deg);
    }

    div#hamburger span:nth-child(3) {
        bottom: 0;
    }

    div#hamburger.active span:nth-child(3) {
        bottom: calc(50% - 2px);
        transform: rotateZ(-225deg);
    }
    
}


/** Social **/

.social .fa,
.social .fab {
    width: 40px;
    height: 40px;
    border-radius: 50px;
    color: #fff;
    font-size: 25px;
    line-height: 40px;
    text-align: center;
    margin: 15px 5px;
}

.social .fa-brands {
    width: 40px;
    height: 40px;
    border-radius: 50px;
    color: #fff;
    font-size: 25px;
    line-height: 40px;
    text-align: center;
    margin: 15px 5px;
}

.fa-linkedin,
.fa-linkedin-in {
    background: #0e76a8;
}

.fa-facebook,
.fa-facebook-f {
    background: #4e68a5;
}

.fa-twitter {
    background: #00acee;
}

.social .fa-x-twitter {
    background-color: #000;
}

/** Slick Slider **/

.slick-prev,
.slick-next {
    top: 32%;
    width: 50px;
    height: 50px;
    color: #fff;
}

.slick-prev {
    left: 20px;
}

.slick-prev:before {
    content: "\f053" !important;
    font-family: "Font Awesome 5 Pro";
    font-size: 25px;
    color: #000;
    line-height: 50px;
}

.slick-next {
    right: 20px;
}

.slick-next:before {
    content: "\f054";
    font-family: "Font Awesome 5 Pro";
    font-size: 25px;
    color: #000;
    line-height: 50px;
}

.slick-dots {
    position: relative;
    bottom: 50px !important;
    display: block;
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: center;
}

.slick-dots li {
    position: relative;
    display: inline-block;
    width: 20px;
    height: 20px;
    margin: 0 5px;
    padding: 0;
    cursor: pointer;
}

.slick-dots li button {
    font-size: 0;
    line-height: 0;
    display: block;
    width: 20px;
    height: 20px;
    padding: 5px;
    cursor: pointer;
    color: transparent;
    border: 0;
    outline: none;
    background: transparent;
}

.slick-dots li button:hover,
.slick-dots li button:focus {
    outline: none;
}

.slick-dots li button:hover:before,
.slick-dots li button:focus:before {
    opacity: 1;
}

.slick-dots li button:before {
    font-size: 24px;
    line-height: 20px;
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    content: "■";
    text-align: center;
    opacity: 1;
    color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.slick-dots li.slick-active button:before {
    opacity: 1;
    color: #000;
}

/* #contact-background #details {
    padding-top: 70px !important;
} */

.contact-details p {
    line-height: 50px;
}

.services-slider h3,
.services-slider h3 a {
    font-size: 1.5rem !important;
    color: #6583c1 !important;
}

.slick-track img {
    border-radius: 5px;
}

.start-your-journey h2 {
    color: #ffd41f !important;
}

#additional-block {
    margin-top: 100px;
    margin-bottom: 50px;
}

#page-parallax,
#page-parallax .slider-image {
    max-height: 200px !important;
    height: 100% !important;
}

#page-parallax .heading {
    width: 100% !important;
    left: 0;
}

#page-parallax h1 {
    color: #fff !important;
    text-align: center;
    margin: 0;
}

.dark-blue {
    background: #242d61;
}

#parent {
    margin-top: 50px;
    margin-bottom: 50px;
}

.parent-img {
    width: 100%;
    height: 275px;
    position: relative;
    display: flex;
    order: -1;
    border-radius: 15px;
    margin-bottom: 30px;
    -webkit-transition: var(--transition);
    -moz-transition: var(--transition);
    -o-transition: var(--transition);
    transition: var(--transition);
    overflow: hidden;
    background: #fff;
}

.parent-img img {
    -webkit-transition: var(--transition);
    -moz-transition: var(--transition);
    -o-transition: var(--transition);
    transition: var(--transition);
}

#news h2 {
    font-size: 1.5rem !important;
}

#news img {
    border-radius: 15px;
    margin-bottom: 20px;
}

#news .medium-4 {
    margin-bottom: 20px;
}

body.post-template-default #single-news img {
    border-radius: 15px;
}

.news-card {
    position: relative;
    display: flex;
    flex-direction: column;
}

.news-card__content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.news-card__content-titles {
    display: flex;
    flex-direction: column;
}

.news-card__title {
    font-size: 1.5rem;
}

.news-card__title::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 3;
}

.news-card:hover .news-card__title {
    color: #1779ba !important;
}

.news-card:hover .button {
    background-color: #10add8;
}

.news-card:hover .parent-img img {
    -moz-transform: var(--scale);
    -webkit-transform: var(--scale);
    transform: var(--scale);
}

.news-card .parent-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ======================================================= */
/* New Page Card Styles (Hannah) */
.grid-cards {
    row-gap: 2rem;
}

.page-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 275px;
    border-radius: 15px;
    overflow: hidden;
}

.page-card__title-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 25%;
    margin-top: auto;
    padding: 10px;
    background-color: #242d61;
    -webkit-transition: var(--transition);
    -moz-transition: var(--transition);
    -o-transition: var(--transition);
    transition: var(--transition);
}

.page-card__title-wrapper:hover {
    background-color: #ff0000;
}

.page-card__title {
    padding: 5px;
}

.page-card__title-link,
.page-card__title-link:hover {
    color: #fff;
}

.page-card__title-link::after {
    content: "";
    position: absolute;
    inset: 0;
}

.page-card__img-wrapper {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    display: flex;
    z-index: -1;
    -webkit-transition: var(--transition);
    -moz-transition: var(--transition);
    -o-transition: var(--transition);
    transition: var(--transition);
    overflow: hidden;
    background: #fff;
}

.page-card__img-wrapper img {
    -webkit-transition: var(--transition);
    -moz-transition: var(--transition);
    -o-transition: var(--transition);
    transition: var(--transition);
    object-fit: cover;
}

.page-card:hover .page-card__img-wrapper img {
    -moz-transform: var(--scale);
    -webkit-transform: var(--scale);
    transform: var(--scale);
}

.page-card .parent-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ======================================================= */

/* ======================================================= */
/* New Careers-parent Card Styles (Hannah) */

.careers-parent-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 275px;
    border-radius: 15px;
    overflow: hidden;
}

.careers-card__title-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: auto;
    background-color: rgba(27, 29, 55, 0.8);
    -webkit-transition: var(--transition);
    -moz-transition: var(--transition);
    -o-transition: var(--transition);
    transition: var(--transition);
}

.careers-card__title-wrapper:hover {
    background-color: #ff0000;
}

.careers-card__title {
    padding: 5px;
    font-size: 1.5rem;
}

.careers-card__title-link,
.careers-card__title-link:hover {
    color: #fff;
}

.careers-card__title-link::after {
    content: "";
    position: absolute;
    inset: 0;
}

.careers-card__img-wrapper {
    width: 100%;
    position: absolute;
    inset: 0;
    display: flex;
    z-index: -1;
    -webkit-transition: var(--transition);
    -moz-transition: var(--transition);
    -o-transition: var(--transition);
    transition: var(--transition);
    overflow: hidden;
    background: #fff;
}

.careers-card__img-wrapper img {
    -webkit-transition: var(--transition);
    -moz-transition: var(--transition);
    -o-transition: var(--transition);
    transition: var(--transition);
}

.careers-parent-card:hover .careers-card__img-wrapper img {
    -moz-transform: var(--scale);
    -webkit-transform: var(--scale);
    transform: var(--scale);
}

/* ======================================================= */

#single-news .sticky-cta {
    box-shadow: 10px 4px 20px -10px rgba(0, 0, 0, 0.1),
        -10px 7px 14px -3px rgba(0, 0, 0, 0.1);
}

#single-news img {
    border-radius: 8px !important;
    margin-top: 15px;
    margin-bottom: 15px;
}

#single-news .sticky-cta img {
    border-radius: 8px 8px 0 0 !important;
}

.sticky-cta {
    position: -webkit-sticky;
    position: sticky;
    top: 3rem;
    overflow: hidden;
    border-radius: 8px !important;
}

.cta-card:hover h2.button {
    background: #10add8;
    text-decoration: none;
}

.pdf-download {
    margin: 0 auto !important;
}

.sticky-cta h2 {
    font-size: 1.3rem;
    margin: 0;
    text-align: center;
    min-width: 100%;
    border-radius: 0 0 8px 8px;
}

#single-news h1, .h1 {
    font-size: 2rem !important;
}

.heading h2, .h2 {
    color: #fff !important;
    text-align: center;
    font-size: 2.5rem !important;
}

.slick-slider {
    position: relative;
    display: block;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -khtml-user-select: none;
    -ms-touch-action: pan-y;
    touch-action: pan-y;
    -webkit-tap-highlight-color: transparent;
}
.slick-list {
    position: relative;
    display: block;
    margin: 0;
    padding: 0;
}
.slick-list:focus {
    outline: 0;
}
.slick-list.dragging {
    cursor: pointer;
    cursor: hand;
}
.slick-slider .slick-list,
.slick-slider .slick-track {
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    -o-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}
.slick-track {
    position: relative;
    top: 0;
    left: 0;
    display: block;
}
.slick-track:after,
.slick-track:before {
    display: table;
    content: "";
}
.slick-track:after {
    clear: both;
}
.slick-loading .slick-track {
    visibility: hidden;
}
.slick-slide {
    display: none;
    float: left;
    height: 100%;
    min-height: 1px;
    margin: 0 20px;
}
[dir="rtl"] .slick-slide {
    float: right;
}
.slick-slide img {
    display: block;
    width: 100%;
}
.slick-slide.slick-loading img {
    display: none;
}
.slick-slide.dragging img {
    pointer-events: none;
}
.slick-initialized .slick-slide {
    display: block;
}
@media only screen and (max-width: 640px) {
    .slick-initialized .slick-slide {
        padding: 0 30px;
    }
}
.slick-loading .slick-slide {
    visibility: hidden;
}
.slick-vertical .slick-slide {
    display: block;
    height: auto;
    border: 1px solid transparent;
}
.slick-next,
.slick-prev {
    font-size: 0;
    line-height: 0;
    position: absolute;
    display: block;
    padding: 0;
    cursor: pointer;
    border: none;
    outline: 0;
    background: 0 0;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}
.slick-next:focus,
.slick-next:hover,
.slick-prev:focus,
.slick-prev:hover {
    color: transparent;
    outline: 0;
    opacity: 1;
}

/* Magnific Popup CSS */

.mfp-bg {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1042;
    overflow: hidden;
    position: fixed;
    background: #000;
    opacity: 0.9;
}
.mfp-wrap {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1043;
    position: fixed;
    outline: 0 !important;
    -webkit-backface-visibility: hidden;
}
.mfp-container {
    text-align: center;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    padding: 0 8px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.mfp-container:before {
    content: "";
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}
.mfp-align-top .mfp-container:before {
    display: none;
}
.mfp-content {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    margin: 0 auto;
    text-align: left;
    z-index: 1045;
}
.mfp-ajax-holder .mfp-content,
.mfp-inline-holder .mfp-content {
    width: 100%;
    cursor: auto;
}
.mfp-ajax-cur {
    cursor: progress;
}
.mfp-auto-cursor .mfp-content {
    cursor: auto;
}
.mfp-arrow,
.mfp-close,
.mfp-counter,
.mfp-preloader {
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}
.mfp-loading.mfp-figure {
    display: none;
}
.mfp-hide,
.hide {
    display: none !important;
}
.mfp-preloader {
    color: #ccc;
    position: absolute;
    top: 50%;
    width: auto;
    text-align: center;
    margin-top: -0.8em;
    left: 8px;
    right: 8px;
    z-index: 1044;
}
.mfp-preloader a {
    color: #ccc;
}
.mfp-preloader a:hover {
    color: #fff;
}
.mfp-s-ready .mfp-preloader {
    display: none;
}
.mfp-s-error .mfp-content {
    display: none;
}
button.mfp-arrow,
button.mfp-close {
    overflow: visible;
    cursor: pointer;
    background: 0 0;
    border: 0;
    -webkit-appearance: none;
    display: block;
    outline: 0;
    padding: 0;
    z-index: 1046;
    -webkit-box-shadow: none;
    box-shadow: none;
}
button::-moz-focus-inner {
    padding: 0;
    border: 0;
}
.mfp-close {
    width: 44px;
    height: 44px;
    line-height: 44px;
    position: absolute;
    right: 0;
    top: 0;
    text-decoration: none;
    text-align: center;
    opacity: 0.65;
    padding: 0 0 18px 10px;
    color: #fff;
    font-style: normal;
    font-size: 28px;
    font-family: Arial, Baskerville, monospace;
}
.mfp-close:focus,
.mfp-close:hover {
    opacity: 1;
}
.mfp-close:active {
    top: 1px;
}
.mfp-close-btn-in .mfp-close {
    color: #333;
}
.mfp-iframe-holder .mfp-close,
.mfp-image-holder .mfp-close {
    color: #fff;
    right: -6px;
    text-align: right;
    padding-right: 6px;
    width: 100%;
}
.mfp-counter {
    position: absolute;
    top: 0;
    right: 0;
    color: #fff;
    font-size: 12px;
    line-height: 18px;
    white-space: nowrap;
}
.mfp-arrow {
    position: absolute;
    opacity: 0.65;
    margin: 0;
    top: 50%;
    margin-top: -55px;
    padding: 0;
    width: 90px;
    height: 110px;
    -webkit-tap-highlight-color: transparent;
}
.mfp-arrow:active {
    margin-top: -54px;
}
.mfp-arrow:focus,
.mfp-arrow:hover {
    opacity: 1;
}
.mfp-arrow .mfp-a,
.mfp-arrow .mfp-b,
.mfp-arrow:after,
.mfp-arrow:before {
    content: "";
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    left: 0;
    top: 0;
    margin-top: 35px;
    margin-left: 35px;
    border: medium inset transparent;
}
.mfp-arrow .mfp-a,
.mfp-arrow:after {
    border-top-width: 13px;
    border-bottom-width: 13px;
    top: 8px;
}
.mfp-arrow .mfp-b,
.mfp-arrow:before {
    border-top-width: 21px;
    border-bottom-width: 21px;
    opacity: 1;
}
.mfp-arrow-left {
    left: 0;
}
.mfp-arrow-left .mfp-a,
.mfp-arrow-left:after {
    border-right: 17px solid #fff;
    margin-left: 31px;
}
.mfp-arrow-left .mfp-b,
.mfp-arrow-left:before {
    margin-left: 25px;
    border-right: 27px solid #fff;
}
.mfp-arrow-right {
    right: 0;
}
.mfp-arrow-right .mfp-a,
.mfp-arrow-right:after {
    border-left: 17px solid #fff;
    margin-left: 39px;
}
.mfp-arrow-right .mfp-b,
.mfp-arrow-right:before {
    border-left: 27px solid #fff;
}
.mfp-iframe-holder {
    padding-top: 40px;
    padding-bottom: 40px;
}
.mfp-iframe-holder .mfp-content {
    line-height: 0;
    width: 100%;
    max-width: 900px;
}
.mfp-iframe-holder .mfp-close {
    top: -40px;
}
.mfp-iframe-scaler {
    width: 100%;
    height: 0;
    overflow: hidden;
    padding-top: 56.25%;
}
.mfp-iframe-scaler iframe {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
}
img.mfp-img {
    width: auto;
    max-width: 100%;
    height: auto;
    display: block;
    line-height: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 40px 0 40px;
    margin: 0 auto;
}
.mfp-figure {
    line-height: 0;
}
.mfp-figure:after {
    content: "";
    position: absolute;
    left: 0;
    top: 40px;
    bottom: 40px;
    display: block;
    right: 0;
    width: auto;
    height: auto;
    z-index: -1;
    background: #444;
}
.mfp-figure small {
    color: #bdbdbd;
    display: block;
    font-size: 12px;
    line-height: 14px;
}
.mfp-figure figure {
    margin: 0;
}
.mfp-bottom-bar {
    margin-top: -36px;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    cursor: auto;
}
.mfp-title {
    text-align: left;
    line-height: 18px;
    color: #f3f3f3;
    word-wrap: break-word;
    padding-right: 36px;
    color: #fff;
    font-size: 12px;
}
.mfp-image-holder .mfp-content {
    max-width: 100%;
}
.mfp-gallery .mfp-image-holder .mfp-figure {
    cursor: pointer;
}
@media screen and (max-width: 800px) and (orientation: landscape),
    screen and (max-height: 300px) {
    .mfp-img-mobile .mfp-image-holder {
        padding-left: 0;
        padding-right: 0;
    }
    .mfp-img-mobile img.mfp-img {
        padding: 0;
    }
    .mfp-img-mobile .mfp-figure:after {
        top: 0;
        bottom: 0;
    }
    .mfp-img-mobile .mfp-figure small {
        display: inline;
        margin-left: 5px;
    }
    .mfp-img-mobile .mfp-bottom-bar {
        background: rgba(0, 0, 0, 0.6);
        bottom: 0;
        margin: 0;
        top: auto;
        padding: 3px 5px;
        position: fixed;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }
    .mfp-img-mobile .mfp-bottom-bar:empty {
        padding: 0;
    }
    .mfp-img-mobile .mfp-counter {
        right: 5px;
        top: 3px;
    }
    .mfp-img-mobile .mfp-close {
        top: 0;
        right: 0;
        width: 35px;
        height: 35px;
        line-height: 35px;
        background: rgba(0, 0, 0, 0.6);
        position: fixed;
        text-align: center;
        padding: 0;
    }
}
@media all and (max-width: 900px) {
    .mfp-arrow {
        -webkit-transform: scale(0.75);
        transform: scale(0.75);
    }
    .mfp-arrow-left {
        -webkit-transform-origin: 0;
        transform-origin: 0;
    }
    .mfp-arrow-right {
        -webkit-transform-origin: 100%;
        transform-origin: 100%;
    }
    .mfp-container {
        padding-left: 6px;
        padding-right: 6px;
    }
}
.mfp-ie7 .mfp-img {
    padding: 0;
}
.mfp-ie7 .mfp-bottom-bar {
    width: 600px;
    left: 50%;
    margin-left: -300px;
    margin-top: 5px;
    padding-bottom: 5px;
}
.mfp-ie7 .mfp-container {
    padding: 0;
}
.mfp-ie7 .mfp-content {
    padding-top: 44px;
}
.mfp-ie7 .mfp-close {
    top: 0;
    right: 0;
    padding-top: 0;
}

.mfp-content {
    width: calc(100% - 20px);
    margin: auto;
    max-width: 768px;
    background-color: #fefefe;
    padding: 2.5rem;
}

.sidebar--form {
    width: 400px;
    max-width: 100%;
}

table.no-style {
    border: none;
    border-collapse: collapse;
    width: auto;
}
table.no-style tbody {
    border: none;
}
table.no-style tr {
    background: none;
}
table.no-style th,
table.no-style td {
    border: none;
    background: none;
    padding-left: 0;
    text-align: left;
    padding: 10px 30px 10px 0px;
}

.job {
    background: #1b1d37;
    width: 100%;
    padding: 30px 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    color: #fff !important;
}

.job .button {
    margin-bottom: 0 !important;
    background: rgb(238, 99, 58);
    background: linear-gradient(
        180deg,
        rgba(238, 99, 58, 1) 0%,
        rgba(214, 58, 12, 1) 100%
    );
}

#careers {
    display: block;
    margin-top: 40px;
    margin-bottom: 30px;
}

.cs-job-box {
    background: #1b1d37;
    border-radius: 8px;
    padding: 40px 40px 40px 40px;
    color: #fff;
}

.cs-job-box label,
.cs-job-box h2 {
    color: #fff !important;
}

.job-page {
    margin-bottom: 50px !important;
    display: block !important;
}

.forminator-edit-module {
    display: none;
}

.box {
    position: relative;
    -webkit-box-shadow: 0px 11px 13px 1px rgba(196, 196, 196, 1);
    -moz-box-shadow: 0px 11px 13px 1px rgba(196, 196, 196, 1);
    box-shadow: 0px 9px 23px 1px rgb(196 196 196);
    padding: 100px 20px 20px 20px;
    border-radius: 8px;
    margin-top: 100px;
}

.box img {
    width: 150px;
    position: absolute;
    top: 0%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 8px;
}

.big-box {
    position: relative;
    -webkit-box-shadow: 0px 11px 13px 1px rgba(196, 196, 196, 1);
    -moz-box-shadow: 0px 11px 13px 1px rgba(196, 196, 196, 1);
    box-shadow: 0px 9px 23px 1px rgb(196 196 196);
    padding: 250px 20px 20px 20px;
    border-radius: 8px;
    margin-bottom: 50px;
    overflow: hidden;
}

.big-box:last-child {
    margin-bottom: 0;
}

.big-box.no-image {
    padding: 20px;
}

.big-box.no-image .big-box-border {
    top: 0;
}

.letterbox {
    width: 100%;
    height: 230px;
    position: absolute;
    top: 0;
    left: 0;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.big-box-border {
    display: block;
    width: 100%;
    height: 5px;
    position: absolute;
    top: 230px;
    left: 0;
}

.box-standard {
    -webkit-box-shadow: 0px 11px 13px 1px rgba(196, 196, 196, 1);
    -moz-box-shadow: 0px 11px 13px 1px rgba(196, 196, 196, 1);
    box-shadow: 0px 9px 23px 1px rgb(196 196 196);
    border-radius: 8px;
    overflow: hidden;
}

.box-standard-padding {
    padding: 20px 5px;
}

.box-standard-padding a {
    color: #0a0a0a !important;
}

.box-standard img {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.mission {
    margin-bottom: 50px;
}

.mission h2,
.box h3,
.box p {
    text-align: center;
}

.et-db
    #et-boc
    .et_pb_module
    .forminator-ui.forminator-custom-form:not(
        .forminator-size--small
    )[data-grid="open"]
    .forminator-row:not(:last-child),
.forminator-ui.forminator-custom-form:not(
        .forminator-size--small
    )[data-grid="open"]
    .forminator-row:not(:last-child) {
    margin-bottom: 0 !important;
}

#main-contact {
    margin: 50px 0 80px 0;
}

#offices {
    margin-bottom: 50px;
}

@media only screen and (max-width: 639px) {
    div#offices > div.grid-x {
        gap: 1.5rem 0;
    }
}

.forminator-error-message {
    background: #cc0000;
    border-radius: 50px;
    padding: 5px 10px;
    font-size: 13px !important;
    margin-bottom: 10px;
}

.legal {
    padding: 20px 0;
}

.box-standard-padding .fas {
    color: #ee633a;
}

/* #contact-background {
    margin-top: 50px;
} */

.alignright {
    float: right;
    display: block;
}

.pdf-thumb {
    position: relative;
    padding-top: 141.4%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.pdf-thumb > div {
    background-size: cover;
}

.pdf-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.pdf-thumb h3 {
    color: #fff;
    margin: 0;
}

.pdf-thumb > span {
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 39.99875em) {
    #site-header {
        position: relative;
        z-index: 10;
    }

    #main-navigation {
        position: absolute;
        background-color: #fff;
        right: 0;
        /*height: 100%;*/
        top: 0 !important;
        padding-top: 130px;
        padding-left: 10px;
        padding-bottom: 15px;
        width: 60%;
        /*z-index: -1;*/
    }

    .slider-image .heading {
        width: calc(100% - 20px);
    }

    .slider-image .heading h3 {
        font-size: 1.875rem;
    }

    #contact .contact-image img {
        position: static;
        transform: none;
    }

    #additional-block {
        margin-top: 50px;
    }

    #faq h3 {
        font-size: 1.15rem !important;
    }

    #page-parallax h1 {
        font-size: 1.875rem;
    }
}

.office-img {
    padding-top: 75%;
    position: relative;
    overflow: hidden !important;
}

.office-img img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

/* Quick fix */
.page-id-74 .box-standard {
    overflow: hidden !important;
}

.office-img.img-newton-abbot img,
.office-img.img-totnes img {
    transform: scale(1.35);
}

.dropdown.menu > li.is-dropdown-submenu-parent > a::after,
.is-dropdown-submenu-parent a::after,
.drilldown.menu > li.is-drilldown-submenu-parent > a::after,
.is-drilldown-submenu-parent a::after {
    content: none !important;
}

header#site-header {
    position: relative;
    z-index: 1;
}



@media only screen and (max-width: 999px) {
    header#site-header div#hamburger {
        height: 25px;
        width: 35px;
    }
}

@media only screen and (max-width: 274px) {
    header#site-header div#hamburger {
        height: 20px;
        width: 30px;
    }
}



@media (max-width: 63.99875em) {
    #main-nav-container {
        position: fixed;
        top: 0;
        right: 0;
        z-index: 100;
        height: 100vh;
        padding-top: 130px;
        width: 100%;
        max-width: 340px;
        padding: 1.625rem;
        background-color: #fff;
        box-shadow: 0 0 30px #00000029;
        z-index: 5;
        margin-top: 0;
        display: none;
    }

    body.admin-bar #main-nav-container {
        padding-top: 160px;
        margin-top: 36px;
    }

    #main-nav-container #main-navigation {
        display: flex !important;
        width: 100%;
    }

    #main-nav-container #main-navigation > li:last-child {
        margin-top: 15px;
    }
}

.is-drilldown-submenu {
    background-color: #6583c1 !important;
    padding: 0 !important;
}

.visible {
    visibility: visible;
}

.is-drilldown-submenu li a {
    background-color: transparent;
    color: #fff !important;
    padding: 1rem 1.5rem !important;
}

.drilldown .js-drilldown-back > a::before {
    border-color: transparent #fff transparent transparent;
}

.drilldown .is-drilldown-submenu {
    position: absolute !important;
}

/* Banner Home Title */
.home-banner__h1 {
    color: #fff;
}

#no-jobs {
    text-align: center;
    background: #efefef;
    padding: 20px 30px;
    border-radius: 8px;
    margin-top: 30px;
}

.social-share p {
    line-height: 72px;
    margin-right: 10px;
}

.page-template-careers #faq-container {
    background: #fff !important;
    color: #0a0a0a !important;
    -webkit-box-shadow: 0px 11px 13px 1px rgba(196, 196, 196, 1);
    -moz-box-shadow: 0px 11px 13px 1px rgba(196, 196, 196, 1);
    box-shadow: 0px 9px 23px 1px rgb(196 196 196);
    border-radius: 8px;
}

.page-template-careers #faq-container p,
.page-template-careers .ui-accordion-content {
    color: #0a0a0a !important;
}

.page-template-careers .question-title,
.page-template-careers #faq h2 {
    color: #242d61 !important;
}

.additional-seo-image {
    border-radius: 8px;
    margin-top: 30px;
}

#additional-seo-copy {
    padding: 50px 0;
}

@media only screen and (max-width: 1000px) {
    .home-banner__h1 {
        font-size: 1.75rem;
    }
}

/* Careers */
.bonus-content-container {
    margin-bottom: 1.5em;
}

.pum-content a {
    color: #000 !important;
    font-weight: normal;
}

.pum-content a:hover {
    text-decoration: underline;
}

/* Vertical Tabs */

/* From PP */
.naccs {
    padding-bottom: 50px;
}

.naccs a {
    font-weight: bold;
    text-decoration: none;
}

.naccs .menu div {
    padding: 20px 20px 15px 20px;
    margin-bottom: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    border-radius: 7px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    vertical-align: middle;
    font-weight: 700;
    transition: 1s all cubic-bezier(0.075, 0.82, 0.165, 1);
}

.naccs .menu div.active {
    padding: 20px 20px 15px 20px;
}

ul.nacc {
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
    transition: 0.5s all cubic-bezier(0.075, 0.82, 0.165, 1);
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

ul.nacc li {
    display: none;
    height: 0;
    opacity: 0;
    transform: translateX(50px);
    list-style: none;
    transition: 1s all cubic-bezier(0.075, 0.82, 0.165, 1);
}

ul.nacc li ul {
    margin-left: 0 !important;
    padding: 0 !important;
}

ul.nacc li ul li,
ul.nacc li ul li:active {
    display: block !important;
    height: auto !important;
    list-style: none;
    background: url(../../img/tick.svg) no-repeat left 0 top 5px;
    padding-left: 20px;
    opacity: 1 !important;
    transform: translateX(0px) !important;
}

ul.nacc li.active {
    display: block !important;
    height: auto;
    transition-delay: 0.3s;
    z-index: 2;
    opacity: 1;
    transform: translateX(0px);
}

/* Hannah's Tab Styling */
ul.nacc {
    list-style: none;
}

.naccs .menu div {
    margin-bottom: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.naccs .menu a {
    color: #242d61 !important;
    padding: 0 !important;
}

.naccs .menu .active a {
    background: #fff !important;
}

.naccs .menu a h2 {
    font-size: 1.5rem;
    margin: 0.25rem;
}

.vertical-tabs-title {
    margin-block-end: 2rem;
}

.vertical-tabs-content {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

/* Gradient effect on tabs */
.gradient-top-thin::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: url(https://darnells.prioritypixels.dev/wp-content/uploads/2022/07/darnells-background-1500x1000.png)
        no-repeat center center;
    background-size: cover;
    z-index: 1;
}

/* Gradient effect for service cards */

.gradient-top-thin-service::before {
    content: "";
    position: absolute;
    top: 75%;
    left: 0;
    width: 100%;
    height: 5px;
    background: url(https://darnells.prioritypixels.dev/wp-content/uploads/2022/07/darnells-background-1500x1000.png)
        no-repeat center center;
    background-size: cover;
    z-index: 1;
}

/* New grid for Service Cards */
.grid-service {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-left: 0;
}

@media only screen and (max-width: 1001px) {
    .grid-service {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media only screen and (max-width: 655px) {
    .grid-service {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media only screen and (max-width: 435px) {
    .grid-service {
        grid-template-columns: repeat(1, 1fr);
    }
}

.page-card__title {
    font-size: 1rem;
    margin: 0;
}

.highlight {
    background-color: #ff0000;
}

/* Service Card Full Clickable */

.page-card__title-link::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 3;
}

/* Contact CTA */

.contact-cta {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.contact-cta img {
    display: flex;
    height: 250px;
    margin-left: auto;
}

@media only screen and (max-width: 630px) {
    .contact-cta img {
        margin: auto;
    }
}

/* Tab Arrow Styling */

#menu-arrow {
    color: #242d61;
}

.rotate-arrow {
    rotate: 90deg;
}

/* CTA Button Styling */

.button-cta {
    background: linear-gradient(
        180deg,
        rgba(238, 99, 58, 1) 0%,
        rgba(214, 58, 12, 1) 100%
    );
    margin-top: 10px;
}

.button-cta:hover {
    background: linear-gradient(
        180deg,
        rgba(238, 99, 58, 1) 0%,
        rgba(214, 58, 12, 1) 66%
    );
}

.accreditations-ul {
    display: flex;
    list-style: none;
    gap: 1rem;
    margin: 0;
}

@media only screen and (max-width: 780px) {
    .accreditations-ul {
        flex-direction: column;
    }
}

/* Office Template */
body.page-template-office .cs-job-box {
    width: 96%;
    max-width: 900px;
    margin: 0 auto !important;
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.grid-2,
.section-offices__title {
    width: 96%;
    max-width: 900px;
    margin: 0 auto;
}

.section-offices__title {
    text-align: left;
}

.section-offices .office-card {
    grid-column: span 1;
    min-height: unset;
}

.faqs-ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

@media screen and (max-width: 768px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }
}

/* Office Details  */
#office-details .grid-f {
    justify-content: center;
}

.office-details-wrapper {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.5rem;
    margin-inline: 0.9375rem;
}

.office-card,
.office-map {
    width: 100%;
    height: 100%;
    min-height: 40rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.office-card {
    display: flex;
    flex-direction: column;
    grid-column: span 4;
}

.office-card__content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 2rem;
}

.office-card__content i {
    font-size: 1.25rem;
    color: #ed6439;
}

.office-card__title {
    margin: 0;
}

.office-card__details-wrapper {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.office-card__details-wrapper a {
    justify-content: center !important;
}

.office-card__address {
    max-width: 75%;
    text-align: left;
    font-style: normal;
    color: #0a0a0a;
    font-size: 1rem;
}

.office-card__content p {
    margin: 0;
}

.office-map {
    grid-column: span 8;
}

.office-card__btn {
    margin: auto auto 0 auto;
    justify-content: center;
}

.office-image-wrapper {
    order: -1;
    width: 100%;
    height: 100%;
    max-height: 18rem;
    overflow: hidden;
}

.office-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.scale135 {
    transform: scale(1.35);
}

@media screen and (max-width: 768px) {
    .office-card,
    .office-map {
        grid-column: span 12;
    }
}

/* Offices Page */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.office-iframe {
    width: 100%;
    height: 100%;
}

/* Forms */
.forminator-checkbox__wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.forminator-button-submit {
    margin-top: 1rem;
}

/* Reduces white space on the single blog post */
@media screen and (min-width: 640px) {
    .sidebar-img img {
        position: sticky;
        top: 115px;
    }   
}

/* Moves image to top on mobile */
@media screen and (max-width: 639px) {
    .sidebar-img {
        order: -1;
        margin-block-end: 1rem;
    }   
}

/* Pushes team heading wrapper below overlapping image */
.team-heading-wrapper {
    padding-top: 30px;
}