header#masthead {
    height: auto;
    padding: 56px 0 60px;
}

body.transparent_header.scrolled header#masthead {
    background-color: #232f61;
}

body.transparent_header.scrolled header#masthead .main_nav_desktop ul li a {
    color: #fff;
}

/* body.transparent_header.scrolled header#masthead .main_nav_desktop ul li a:hover {
    color: #FFCA84;
} */

body.transparent_header.scrolled header#masthead .main_nav_desktop ul li a:hover,
body.transparent_header.scrolled header#masthead .main_nav_desktop ul li a:focus {
    border-bottom-color: #fff;
}

body.transparent_header.scrolled header#masthead .main_nav_desktop ul li a::before {
    background-color: #fff;
}

body.transparent_header.scrolled header#masthead .site_branding img.logo_light {
    display: block;
}

body.transparent_header.scrolled header#masthead .site_branding img.logo_dark {
    display: none;
}

body.transparent_header.scrolled header#masthead .btn {
    border: 1px solid #FFF;
    color: #FFF;
    background: transparent;
}

body.transparent_header.scrolled header#masthead .btn:hover {
    border: 1px solid #FFCA84;
    background: #FFCA84;
    color: #232F61;
}

body.transparent_header.scrolled header#masthead .btn:hover svg path:not(.stroke) {
    fill: #232F61;
}

body.transparent_header.scrolled header#masthead .btn svg path:not(.stroke) {
    fill: #fff;
}

body.transparent_header:not(.scrolled) header#masthead .cta_jobs .btn:hover {
    border: 1px solid #1657FD;
    background: #1657FD;
    color: #fff;
}

body.transparent_header.scrolled header#masthead .main_nav_desktop ul li.dropdown a:after,
body.transparent_header.scrolled header#masthead .main_nav_desktop ul li.megamenu a:after {
    background-image: url(../images/dropdown.svg);
}

body.transparent_header #mega_menu {
    background: #232F61 !important;
}

body.transparent_header #mega_menu ul.mega_menu_links li a {
    color: #fff;
}

body.transparent_header #mega_menu ul.mega_menu_links li a:hover,
body.transparent_header #mega_menu ul.mega_menu_links li a:focus {
    color: #FEB95F;
    border-color: #FEB95F;
}

body:not(.transparent_header) header#masthead .btn {
    border: 1px solid #232f61;
    background: #232f61;
    color: #fff;
}

body:not(.transparent_header) header#masthead .btn svg path.stroke,
body:not(.transparent_header) header#masthead .cta_jobs .btn:hover svg path.stroke,
body:not(.transparent_header) header#masthead .cta_enquiry .btn:hover svg path.stroke,
body:not(.transparent_header) header#masthead .btn:hover svg path.stroke {
    stroke: #fff;

}

body:not(.transparent_header) header#masthead .cta_jobs .btn:hover svg path:not(.stroke),
body:not(.transparent_header) header#masthead .btn:hover svg path:not(.stroke),
body:not(.transparent_header) header#masthead .cta_enquiry .btn:hover svg path:not(.stroke),
body:not(.transparent_header) header#masthead .btn svg path:not(.stroke) {
    fill: #fff;

}

body:not(.transparent_header) header#masthead .cta_jobs .btn:hover,
body:not(.transparent_header) header#masthead .btn:hover {
    border-color: #336CFF;
    background: #336CFF;
    color: #fff;
}

header#masthead .container {
    max-width: 1604px;
}

.site_header_inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
    gap: 12px;
}

header#masthead .wpml-selector {
    position: relative;
    right: auto;
    top: unset;
    margin: 0 0 0 12px;
    max-width: 100%;
}

header#masthead .wpml-ls-legacy-dropdown {
    width: auto;
}

.wpml-ls-legacy-dropdown a.wpml-ls-item-toggle {
    padding: 0 20px 0 0;
    border: 0;
    background-color: transparent;
    color: #FFF;
    font-family: 'Visby CF', Verdana, sans-serif;
    font-size: 15px;
    font-weight: 800;
    line-height: 23px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: flex;
}

.wpml-ls-legacy-dropdown a.wpml-ls-item-toggle:after {
    content: "";
    border: 0;
    position: absolute;
    right: 0;
    /* top: calc(50% - 4px); */
    top: 50%;
    transform: translateY(-50%);
    background-image: url(../images/dropdown.svg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: auto;
    width: 12px;
    height: 7px;
    transition: ease all .4s;
}

header#masthead .wpml-selector span.wpml-ls-native {
    padding-left: 0;
}

header#masthead .wpml-ls-legacy-dropdown .wpml-ls-current-language:hover>a,
header#masthead .wpml-ls-legacy-dropdown a:focus,
header#masthead .wpml-ls-legacy-dropdown a:hover {
    color: #fff;
    background: transparent;
}

header#masthead .wpml-ls-legacy-dropdown .wpml-ls-sub-menu {
    border: 0;
    box-shadow: 0 0 10px #ccc;
}

.wpml-ls-legacy-dropdown .wpml-ls-sub-menu {
    min-width: 40px;
}

header#masthead .wpml-ls-legacy-dropdown .wpml-ls-sub-menu a {
    border: 0;
    color: #232F61;
    font-family: 'Visby CF', Verdana, sans-serif;
    font-size: 15px;
    font-weight: 800;
    line-height: 23px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

header#masthead .wpml-ls-legacy-dropdown .wpml-ls-sub-menu a:hover {
    color: #fff;
}

.wpml-ls-legacy-dropdown .wpml-ls-current-language:focus a.wpml-ls-item-toggle:after,
.wpml-ls-legacy-dropdown .wpml-ls-current-language:hover a.wpml-ls-item-toggle:after {
    transform: translateY(-50%) rotate(180DEG);
}

body:not(.transparent_header) .wpml-ls-legacy-dropdown a.wpml-ls-item-toggle {
    color: #232F61;
}

body:not(.transparent_header) .wpml-ls-legacy-dropdown a.wpml-ls-item-toggle:after {
    background-image: url(../images/dropdown-blue.svg);
}

body:not(.transparent_header) header#masthead .wpml-ls-legacy-dropdown .wpml-ls-current-language:hover>a,
body:not(.transparent_header) header#masthead .wpml-ls-legacy-dropdown a:focus,
body:not(.transparent_header) header#masthead .wpml-ls-legacy-dropdown a:hover {
    color: #232F61;
}

header#masthead .site_branding {
    padding-right: 0;
}

header#masthead .site_branding img {
    width: 161px;
}

.cta_enquiry {
    margin-left: auto;
}

body header#masthead .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 15px;
    border-radius: 6px;
    border: 1px solid #FEB95F;
    color: #232F61;
    background: #FEB95F;
    font-family: 'Visby CF', Verdana, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    min-width: 184px;
    min-height: 56px;
    transition: all ease .4s;
}

body header#masthead .btn:hover {
    border: 1px solid #FFCA84;
    background: #FFCA84;
    color: #232F61;
}

body header#masthead .cta_jobs .btn:hover {
    border: 1px solid #1657FD;
    background: #1657FD;
    color: #fff;
}

body header#masthead .btn svg path:not(.stroke) {
    fill: #232F61;
}

body header#masthead .btn svg path.stroke {
    stroke: #232F61;
}

body.transparent_header.scrolled header#masthead .btn svg path.stroke {
    stroke: #fff;
}

body.transparent_header.scrolled header#masthead .btn svg path.stroke:hover {
    stroke: #232F61;
}

body.transparent_header.scrolled header#masthead .btn svg path.stroke {
    stroke: #fff;
}

body header#masthead .cta_wardal .btn:hover svg path,
body header#masthead .cta_enquiry .btn:hover svg path:not(.stroke) {
    fill: #232F61;
}

body header#masthead .cta_enquiry .btn:hover svg path.stroke {
    stroke: #232F61;
}

body header#masthead .cta_jobs .btn:hover svg path.stroke {
    stroke: #232F61;
}

body.transparent_header.scrolled header#masthead .wpml-selector div,
body.transparent_header.scrolled header#masthead .wpml-selector ul,
body.transparent_header.scrolled header#masthead .wpml-selector li,
body.transparent_header.scrolled header#masthead .wpml-selector .wpml-ls-statics-shortcode_actions>ul>.wpml-ls-slot-shortcode_actions>a {
    color: #fff !important;
}


body.transparent_header:not(.scrolled) header#masthead .btn {
    border: 1px solid #FFF;
    color: #FFF;
    background: transparent;
}

header#masthead .btn svg path {
    transition: all ease .4s;
}

body.transparent_header:not(.scrolled) header#masthead .btn svg path:not(.stroke) {
    fill: #fff;
}

body.transparent_header:not(.scrolled) header#masthead .btn svg path.stroke {
    stroke: #fff;
}

body.transparent_header.scrolled header#masthead .btn:hover,
body.transparent_header:not(.scrolled) header#masthead .btn:hover {
    border: 1px solid #FFCA84;
    background: #FFCA84;
    color: #232F61;
}

body.transparent_header.scrolled header#masthead .cta_jobs .btn:hover,
body.transparent_header:not(.scrolled) header#masthead .cta_jobs .btn:hover {
    border: 1px solid #1657FD;
    background: #1657FD;
    color: #fff;
}

body.transparent_header.scrolled header#masthead .cta_jobs .btn:hover svg path.stroke {
    stroke: #fff;

}

body.transparent_header:not(.scrolled) header#masthead .btn:hover svg path:not(.stroke) {
    fill: #232F61;
}

body.transparent_header:not(.scrolled) header#masthead .cta_enquiry .btn:hover svg path.stroke {
    stroke: #232F61;
}

body header#masthead[data-lang="pl"] .site_header_inner .cta_wardal .btn,
body header#masthead[data-lang="pl"] .site_header_inner .cta_jobs .btn,
body header#masthead[data-lang="pl"] .site_header_inner .cta_enquiry .btn {
    padding: 13px;
    max-width: 184px;
    flex-wrap: nowrap;
}

body header#masthead[data-lang="pl"] .site_header_inner .cta_wardal .btn svg,
body header#masthead[data-lang="pl"] .site_header_inner .cta_jobs .btn svg,
body header#masthead[data-lang="pl"] .site_header_inner .cta_enquiry .btn svg {
    min-width: 19px;
}

header#masthead .main_nav_desktop {
    margin-left: 39px;
}

header#masthead .main_nav_desktop ul {
    padding-top: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
}

header#masthead .main_nav_desktop ul li {
    margin-right: 0;
}

header#masthead .main_nav_desktop ul li.dropdown,
header#masthead .main_nav_desktop ul li.megamenu {
    margin-right: 0;
}

header#masthead .main_nav_desktop ul li a {
    padding: 0;
    color: #232F61;
    font-family: 'Visby CF', Verdana, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    border-bottom: 0;
}


header#masthead .main_nav_desktop ul li.dropdown a,
header#masthead .main_nav_desktop ul li.megamenu a {
    padding-right: 20px;
}

header#masthead .main_nav_desktop ul li.dropdown a:after,
header#masthead .main_nav_desktop ul li.megamenu a:after {
    content: "";
    margin: 0;
    padding: 0;
    position: absolute;
    /* top: calc(50% - 4px); */
    top: 50%;
    transform: translateY(-50%);
    background-image: url(../images/dropdown-blue.svg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: auto;
    width: 12px;
    height: 7px;
    left: auto;
    right: 0;
    margin-top: 2px;
    transition: all ease .4s;
}

header#masthead .main_nav_desktop ul li a::before {
    content: "";
    margin: 0;
    padding: 0;
    position: absolute;
    width: 100%;
    height: 2px;
    left: 0;
    bottom: -5px;
    background-color: #232F61;
    opacity: 0;
    transition: all ease .4s;
}

header#masthead .main_nav_desktop ul li.current-menu-item a,
header#masthead .main_nav_desktop ul li.current-menu-parent a,
header#masthead .main_nav_desktop ul li a:hover,
header#masthead .main_nav_desktop ul li a:focus {
    border-bottom: 0;
}

header#masthead .main_nav_desktop ul li.current-menu-item a::before,
header#masthead .main_nav_desktop ul li.current-menu-parent a::before,
header#masthead .main_nav_desktop ul li a:hover::before,
header#masthead .main_nav_desktop ul li a:focus::before {
    opacity: 1;
}

body.transparent_header:not(.scrolled) header#masthead .main_nav_desktop ul li a {
    color: #fff;
}

header#masthead .main_nav_desktop ul li.dropdown.open a:after,
header#masthead .main_nav_desktop ul li.megamenu.open a:after {
    content: "";
    transform: translateY(-50%) rotate(180deg);
}

body.transparent_header:not(.scrolled) header#masthead .main_nav_desktop ul li.dropdown a:after,
body.transparent_header:not(.scrolled) header#masthead .main_nav_desktop ul li.megamenu a:after {
    background-image: url(../images/dropdown.svg);
}

body.transparent_header:not(.scrolled) header#masthead .main_nav_desktop ul li a:hover,
body.transparent_header:not(.scrolled) header#masthead .main_nav_desktop ul li a:focus {
    border-bottom: 0;
}

body.transparent_header:not(.scrolled) header#masthead .main_nav_desktop ul li a::before {
    background-color: #fff;
}

#mega_menu {
    top: 191px;
    background: #fff;
}

body.admin-bar #mega_menu {
    top: 223px;
}

body.transparent_header.scrolled header#masthead .wpml-selector a {
    border: 0;
    background: transparent !important;
}

body.transparent_header.scrolled header#masthead .wpml-selector {
    border-top: 0;
    background: transparent !important;
}

body.transparent_header.scrolled header#masthead .wpml-selector div,
body.transparent_header.scrolled header#masthead .wpml-selector .wpml-ls-statics-shortcode_actions>ul,
body.transparent_header.scrolled header#masthead .wpml-selector li,
body.transparent_header.scrolled header#masthead .wpml-selector a {
    background: transparent !important;
}

/* body.transparent_header.scrolled .wpml-ls-legacy-dropdown a.wpml-ls-item-toggle:after {
    background-image: url(../images/dropdown-blue.svg);
} */

body.transparent_header.scrolled header#masthead .main_nav_desktop ul li a:hover,
body.transparent_header.scrolled header#masthead .main_nav_desktop ul li a:focus {
    border-bottom: 0;
}


section.page_component.section-banner ul.slide-list {
    position: relative;
}

body.transparent_header section.page_component.section-banner .container.height-tall {
    height: 735px;
}

section.page_component.section-banner .tint {
    background: transparent;
}

section.page_component.section-banner .tint::after {
    content: "";
    background: linear-gradient(126deg, rgba(0, 23, 118, 0.32) 15.8%, rgba(0, 23, 118, 0.00) 73.33%);
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    display: block;
    z-index: 1;
}

section.page_component.section-banner .tint::before {
    content: "";
    background: rgba(0, 23, 118, 0.32);
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    display: block;
    z-index: 2;
}

section.page_component.section-banner .container.has_ctas {
    margin-bottom: 132px;
}

body.transparent_header section.page_component.section-banner .bgimg .content {
    padding-top: 235px;
    height: 100%;
}

section.page_component.section-banner .bgimg .content {
    max-width: 1604px;
}

section.page_component.section-banner .container.slider .bgimg .content h1 {
    color: #FFF;
    font-family: 'Visby CF', Verdana, sans-serif;
    font-style: normal;
    font-weight: 900;
    line-height: 88.5%;
}

section.page_component.section-banner .container.slider .bgimg .content h1 span {
    font-family: 'Visby CF', Verdana, sans-serif;
    font-weight: 900;
}

section.page_component.section-banner .container.slider .bgimg .content p {
    margin-top: 0;
}

section.page_component.section-banner .bgimg .content p {
    padding: 17px 0 0 78px;
    line-height: 115%;
}

section.page_component.section-banner ul.slider_cta_block {
    right: auto;
    bottom: 0;
    width: 100%;
    max-width: 1604px;
    padding: 0 20px;
    margin: 0 auto;
    left: 50%;
    transform: translateX(-50%);
    justify-content: flex-end;
    gap: 24px;
}

section.page_component.section-banner ul.slider_cta_block li {
    max-width: 364px;
}

section.page_component.section-banner ul.slider_cta_block li a {
    padding: 130px 40px 97px 50px;
}

section.page_component.section-banner ul.slider_cta_block li .cta_subtitle {
    font-family: 'Visby CF', Verdana, sans-serif;
    font-size: 21.468px;
    font-style: normal;
    font-weight: 500;
    line-height: 23px;
    margin-bottom: 14px;
}

section.page_component.section-banner ul.slider_cta_block li .cta_title {
    font-family: 'Visby CF', Verdana, sans-serif;
    font-size: 28px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

section.page_component.section-banner ul.slider_cta_block li a:after {
    content: "";
    display: block;
    position: absolute;
    bottom: 58px;
    right: 40px;
    width: 35px;
    height: 12px;
    background-image: url(../images/box-arrow.svg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: auto;
}

section.page_component.section-banner ul.slider_cta_block li.blue a:after {
    background-image: url(../images/box-arrow-white.svg);
}

section.page_component.section-banner ul.slider_cta_block li.cta_icon_admin.grey a:before {
    background-position: 0 -100px;
}

section.page_component.section-banner ul.slider_cta_block li a:hover:after {
    background-image: url(../images/box-arrow-white.svg);
}

section.page_component.section-banner ul.slider_cta_block li.cta_icon_admin.grey a:hover:before,
section.page_component.section-banner ul.slider_cta_block li.cta_icon_admin.grey a:focus:before {
    background-position: -100px -100px;
}

section.page_component.section-banner ul.slider_cta_block li.cta_icon_ops a:before {
    top: 46px;
    left: 52px;
}

section.page_component.section-banner ul.slider_cta_block li.cta_icon_admin a:before {
    top: 54px;
    left: 52px;
}

.main_nav_mobile .cta_wardal,
.main_nav_mobile .cta_jobs,
.main_nav_mobile .cta_enquiry {
    display: none;
    margin-bottom: 20px;
}

.main_nav_mobile .cta_wardal {
    margin-bottom: 0;
}

.menu.main_nav_mobile .main_nav_mobile_inner .btn svg path:not(.stroke) {
    fill: #232F61;
}

.menu.main_nav_mobile .main_nav_mobile_inner .btn:hover svg path:not(.stroke) {
    fill: #FFFFFF;
}

.menu.main_nav_mobile .main_nav_mobile_inner .btn svg path.stroke {
    stroke: #232F61;
}

.menu.main_nav_mobile .main_nav_mobile_inner .btn:hover svg path.stroke {
    stroke: #fff;
}


.menu.main_nav_mobile .main_nav_mobile_inner .btn {
    border: 1px solid #232F61;
    color: #232F61;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 15px;
    border-radius: 6px;
    font-family: 'Visby CF', Verdana, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    min-width: 194px;
    min-height: 56px;
    transition: all ease .4s;
}

.menu.main_nav_mobile .main_nav_mobile_inner .btn:hover {
    /* border: 1px solid #000000;
    color: #FFFFFF;
    background: #000000; */
    /* border: 1px solid #FFCA84; */
    background: #232F61;
    color: #fff;
}



/* Testimonial Carousel */
.section-test.content-align-center {}

section.page_component.section-test.content-align-center .container {
    max-width: 1282px;
}

section.page_component.section-test .container {
    width: 100%;
    padding: 0 78px 0 85px;
    margin-bottom: 103px;
    max-width: 1564px;

}

section.page_component.section-test .container::after,
section.page_component.section-test .container:before {
    display: none;
}


section.page_component.section-test .container ul.testimonial_carousel li .test_source_wrapper {
    display: flex;
    align-items: flex-end;
    gap: 20px;
}

section.page_component.section-test .container ul.testimonial_carousel li.current .testimonial_content,
section.page_component.section-test .container ul.testimonial_carousel li.current .test_source_wrapper {
    position: relative;
    z-index: 5;
}

section.page_component.section-test ul.testimonial_carousel li .testimonial_content,
section.page_component.section-test ul.testimonial_carousel li .testimonial_content p {
    text-align: left;
}


section.page_component.section-test.section-test ul.testimonial_carousel li .testimonial_content p {
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0;
    font-weight: 500;
    color: #50505C;
}

section.page_component.section-test .container ul.testimonial_carousel li .test_source_wrapper .quote-icon-bottom {
    flex-shrink: 0;
    margin-left: auto;
}

section.page_component.section-test ul.testimonial_carousel li .quote-icon-top {
    margin-bottom: 19px;
}

section.page_component.section-test ul.testimonial_carousel li .quote-icon-bottom,
section.page_component.section-test ul.testimonial_carousel li .quote-icon-top {
    width: 66px;
    height: 55px;
    display: block;
}

section.page_component.section-test ul.testimonial_carousel li {
    width: 100%;
}

section.page_component.section-test ul.testimonial_carousel li .testimonial_content {
    padding-bottom: 7px;
}

section.page_component.section-test.content-align-left ul.testimonial_carousel li .test_source_wrapper .test_source {
    text-align: left;
}

section.page_component.section-test ul.testimonial_carousel li .test_source_wrapper .test_source {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding-bottom: 5px;
    width: calc(100% - 86px);
}

/* section.page_component.section-test ul.testimonial_carousel li .test_source2,
section.page_component.section-test ul.testimonial_carousel li .test_source1 {
    padding-bottom: 0;
} */

section.page_component.section-test .container .test_arrow.prev {
    left: 0;
    z-index: 6;
}

section.page_component.section-test .container .test_arrow.next {
    right: 0;
    z-index: 6;
}


.page_component.section-wysiwyg.content-width-small .entry {
    max-width: 714px;
    /* margin: 0 auto; */
}

.page_component.section-wysiwyg.content-align-center .entry {
    margin: 0 auto;
    text-align: center;
}

.page_component.section-wysiwyg.content-align-center .entry .page_title {
    margin-bottom: 19px;
    color: #2B3045;
}

/* .page_component.section-wysiwyg.content-align-center .entry .page_title {
} */

/* Background with heading and content Detail box */
.page_component.section-background_detail {
    position: relative;

}

.page_component.section-background_detail .container {
    max-width: 1604px;
    padding: 0 15px;
    position: static;
}

.page_component.section-background_detail .container::after,
.page_component.section-background_detail .container::before {
    display: none;
}

.page_component.section-background_detail .bg-heading {
    position: relative;
}

.page_component.section-background_detail .bg-heading-wrapper {
    min-height: 386px;
    padding: 30px 0 162px;
    display: flex;
    align-items: flex-end;
}

.page_component.section-background_detail .bg-heading-wrapper .desktop-bg-image,
.page_component.section-background_detail .bg-heading-wrapper .mobile-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}


.page_component.section-background_detail .bg-heading-wrapper .desktop-bg-image::before,
.page_component.section-background_detail .bg-heading-wrapper .mobile-bg-image:before {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(35, 47, 97, 0) 0%, rgba(35, 47, 97, 0.62) 100%);

}

.page_component.section-background_detail .bg-heading-wrapper .mobile-bg-image:before {
    transform: matrix(1, 0, 0, -1, 0, 0);
}

.page_component.section-background_detail .bg-heading-wrapper .desktop-bg-image::after {
    background: rgba(0, 0, 0, 0.2);
}

.page_component.section-background_detail .bg-heading-wrapper .desktop-bg-image::after,
.page_component.section-background_detail .bg-heading-wrapper .mobile-bg-image:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0px;
    top: 0;

}

.page_component.section-background_detail .bg-heading-wrapper .mobile-bg-image:after {
    background: rgba(0, 0, 0, 0.32);
}

.page_component.section-background_detail .bg-heading-wrapper .desktop-bg-image img,
.page_component.section-background_detail .bg-heading-wrapper .mobile-bg-image img {
    position: relative;
    object-fit: cover;
    object-position: center;
    display: block;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.page_component.section-background_detail .bg-heading-wrapper .mobile-bg-image {
    display: none;
}

.page_component.section-background_detail .bg-heading-wrapper .heading-text {
    font-size: 50px;
    line-height: 1;
    font-weight: 800;
    color: #FFFFFF;
    /* padding-bottom: 20px; */
}

.page_component.section-background_detail .content {
    position: relative;
    padding-bottom: 5px;
}

.page_component.section-background_detail .content .content-wrapper {
    display: flex;
    gap: 30px 25px;
    padding: 35px 23px 80px;
    background: #FFFFFF;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
    border-radius: 24px;
    margin-top: -93px;
}

.page_component.section-background_detail .content .content-wrapper .icon {
    width: 65px;
    height: 63px;
    flex-shrink: 0;
}

.page_component.section-background_detail .content .content-wrapper .icon img {
    display: block;

}

.page_component.section-background_detail .content .content-wrapper .content-items {
    width: calc(100% - 90px);
    padding-top: 17px;
}

.page_component.section-background_detail .content .content-wrapper .content-items .sub-heading {
    font-size: 26px;
    line-height: 1.25;
    font-weight: 700;
    color: #2B3045;
    margin-bottom: 20px;
    display: inline-flex;
}

.page_component.section-background_detail .content .content-wrapper .content-items .scroll-link a {
    transition: all 0.5s ease;
}

.page_component.section-background_detail .content .content-wrapper .content-items .scroll-link a:hover {
    color: #1657FD;
}

.page_component.section-background_detail .content .content-wrapper .content-items .short_description h6 {
    font-size: 22px;
    line-height: 1.50;
    font-weight: 500;
}

.page_component.section-background_detail .content .content-wrapper .content-items .two-column-items {
    margin-top: 64px;
    display: flex;
    flex-wrap: wrap;
    gap: 40px 78px;
}

.page_component.section-background_detail .content .content-wrapper .content-items .two-column-items:first-child {
    margin-top: 0;
}

.page_component.section-background_detail .content .content-wrapper .content-items .two-column-items .two-column-item {
    width: calc(50% - 39px);
    display: flex;
    flex-wrap: wrap;
    gap: 24px 35px;
}

.page_component.section-background_detail .content .content-wrapper .content-items .two-column-items .two-column-item .item-icon {
    width: 27px;
    height: 27px;
    flex-shrink: 0;
}

.page_component.section-background_detail .content .content-wrapper .content-items .two-column-items .two-column-item .item-icon img {
    display: block;
}

.page_component.section-background_detail .content .content-wrapper .content-items .two-column-items .two-column-item .item-details {
    width: calc(100% - 62px);
    display: flex;
    flex-direction: column;
    row-gap: 5px;
}

.page_component.section-background_detail .content .content-wrapper .content-items .two-column-items .two-column-item .item-details .item-heading {
    font-weight: 700;
    font-size: 22px;
    line-height: 130.5%;
    color: #2B3045;

}

.page_component.section-background_detail .content .content-wrapper .content-items .two-column-items .two-column-item .item-details .item-content {
    font-size: 16px;
    line-height: 1.5;
    font-weight: 500;
}

.page_component.section-background_detail .content .content-wrapper .content-items .two-column-items .two-column-item .item-details .item-content span {
    color: #2B3045;
}

.page_component.section-background_detail .content .content-wrapper .content-items .bottom_description {
    margin-top: 64px;
    font-weight: 500;
}

.page_component.section-background_detail .content .content-wrapper .content-items .bottom_description p {
    line-height: 24px;
}

.page_component.section-background_detail .content .content-wrapper .content-items .bottom_description:first-child {
    margin-top: 0;
}

.page_component.section-background_detail .content .content-wrapper .content-items .bottom_description a {
    font-weight: 700;
    color: #232F61;
    text-decoration: underline;
    transition: all 0.5s ease;
}

.page_component.section-background_detail .content .content-wrapper .content-items .bottom_description a:hover {
    color: #1657FD;
    text-decoration: none;
}

/* header  */
@keyframes Fadeinout {

    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }

}

#ward_modals {
    position: fixed;
    padding: 20px 0;
    overflow-y: hidden;
}

#ward_modals[style*="display: block"] {
    display: flex !important;
    flex-direction: column;
}

#ward_modals .modal_window_wrapper {
    display: flex;
    flex-direction: column-reverse;
    overflow-y: auto;
    max-height: calc(100% - 0px);
    margin: auto;
    max-width: 750px;
}

#ward_modals .modal_window.enquiry_modal {
    margin: auto;
    /* display: flex; */
    flex-direction: column-reverse;
    max-height: calc(100% - 0px);
    max-width: 750px;
    background-color: white;
}

#ward_modals .modal_window.enquiry_modal h2 {
    margin-bottom: 23px;
    font-size: 36px;
    font-weight: 800;
    line-height: 1.333;
    color: #2b3045;
}

#ward_modals .modal_window.enquiry_modal[style="display: block;"] {
    display: flex !important;
}

#ward_modals {
    padding-top: 80px;
}

#ward_modals .modal_window.enquiry_modal .enquiry_modal_wrapper {
    overflow: hidden auto;
    max-height: 100%;
}

/* Team Popup */

#ward_modals .modal_window.team_modal {
    max-height: calc(100% - 90px);
    overflow-y: visible;
}

#ward_modals .modal_window.team_modal .modal_content_wrapper {
    max-height: calc(100% - 0px);
    overflow-y: auto;
}

#ward_modals .modal_window.team_modal .modal_content_wrapper::-webkit-scrollbar {
    display: none;
}

#ward_modals .modal_window.team_modal .modal_content_wrapper .col1 {
    display: flex;
    padding-bottom: 0;
    flex-direction: column;
}

#ward_modals .modal_window.team_modal .modal_content_wrapper .col .contact {
    margin-top: auto;
    padding-top: 30px;
    position: relative;
}

/* Our Job Popup */


#ward_modals .modal_window.job_modal {
    max-height: 100%;
    margin: auto;
}

#ward_modals .modal_window.job_modal .thanks_slide,
#ward_modals .modal_window.job_modal .form_slide,
#ward_modals .modal_window.job_modal .intro_slide {
    max-height: 100%;
    overflow: hidden auto;
}

#ward_modals .modal_window.job_modal .intro_slide .col {
    /* height: 100%; */
    display: flex;
    flex-direction: column;
}

#ward_modals .modal_window.job_modal .intro_slide .col a.button {
    position: relative;
    margin-top: auto;
    bottom: 0;
}

/* Team Popup End */

#ward_modals .modal_window_wrapper::-webkit-scrollbar {
    display: none;
}

#ward_modals .modal_window_wrapper .modal_window {
    margin-top: 0;
    z-index: 1;
    animation: Fadeinout 0.5s ease-in-out;

}

#ward_modals .modal_window_wrapper .modal_window .button.arrow {
    position: relative;
}

/* #ward_modals .modal_window.enquiry_modal .close_modal, */
#ward_modals .modal_window_wrapper .close_modal {
    transition: all 0.8s;
    border-radius: 8px 8px 0 0;
    display: none;
    position: relative;
    top: 34px;
    right: 8px;
    margin-left: auto;
    z-index: 0;
    width: 64px;
    height: 92px;
    background-color: #1657fd;
    text-align: center;
}

/* #ward_modals .modal_window.enquiry_modal .close_modal:hover,
#ward_modals .modal_window.enquiry_modal .close_modal:focus, */
#ward_modals .modal_window_wrapper .close_modal:hover,
#ward_modals .modal_window_wrapper .close_modal:focus {
    background-color: #232f61;
}

/* #ward_modals .modal_window.enquiry_modal .close_modal span, */
#ward_modals .modal_window_wrapper .close_modal span {
    display: block;
    position: relative;
    height: 92px;
    width: 100%;
    /* height: 100%; */
}

/* #ward_modals .modal_window.enquiry_modal .close_modal span:before, */
#ward_modals .modal_window_wrapper .close_modal span:before {
    display: block;
    position: absolute;
    top: 20px;
    left: 0;
    width: 100%;
    text-align: center;
    color: #fff;
    font-family: FontAwesome;
    font-size: 24px;
    font-weight: 800;
    content: '\f00d';
}

.button.arrow:after,
button.arrow:after {
    content: '\f054' !important;
}

section.page_component.section-postindex .news-sidebar__links .news-sidebar__link .button.arrow:after,
section.page_component.section-postindex .news-sidebar__links .news-sidebar__link button.arrow:after {
    content: "" !important;
    background-image: url(../images/dropdown.svg);
    background-repeat: no-repeat;
    background-position: center;
    font-size: 0;
}

#cf-turnstile-gf-8 {
    margin-left: 0 !important;
}

.tel_icon:before {
    content: '\f095' !important;
}

.entry .shortcode.shortcode-contact ul.office_list li a.map_toggle:before {
    content: '\f278' !important;
}

.entry .shortcode.shortcode-contact ul.office_list li.selected a.map_toggle:before {
    content: '\f041' !important;
}

section.page_component {
    scroll-margin-top: 150px;
}

@media (max-height: 840px) {
    #ward_modals {
        position: fixed;
        bottom: unset;
    }
}


@media (min-width:1024px) {
    section.page_component.section-banner .container.slider .bgimg .content .banner-btn {
        display: none;
    }

    /* .page_component.section-background_detail .content .content-wrapper .content-items .bottom_description {
        margin-bottom: 10px;
    } */
}

@media (min-width:1025px) {

    .cta_phone,
    .site-menu-toggle-open {
        display: none;
    }

}

@media (min-width:1400px) {
    section.page_component.section-banner .container.slider .bgimg .content h1 {
        font-size: 108px;
    }
}



@media (max-width:1599px) {
    section.page_component.section-test .container .test_arrow.prev {
        left: 20px;
    }

    section.page_component.section-test .container .test_arrow.next {
        right: 20px;
    }

}

@media (max-width: 1575px) {
    header#masthead .main_nav_desktop {
        margin: 0 auto;
    }

    body header#masthead .btn {
        font-size: 14px;
        min-width: 170px;
    }


    body header#masthead[data-lang="pl"] .site_header_inner .cta_wardal .btn,
    body header#masthead[data-lang="pl"] .site_header_inner .cta_jobs .btn,
    body header#masthead[data-lang="pl"] .site_header_inner .cta_enquiry .btn {
        min-width: 170px;
        max-width: 170px;
    }

    header#masthead .main_nav_desktop ul li a {
        font-size: 14px;
    }

    header#masthead .wpml-selector {
        margin: 0;
    }

    .wpml-ls-legacy-dropdown a.wpml-ls-item-toggle {
        font-size: 14px;
    }
}


@media (max-width: 1440px) {

    body header#masthead .btn {
        font-size: 12px;
        min-width: 162px;
        min-height: 46px;
        padding: 10px 15px;
    }

    body header#masthead[data-lang="pl"] .site_header_inner .cta_wardal .btn,
    body header#masthead[data-lang="pl"] .site_header_inner .cta_jobs .btn,
    body header#masthead[data-lang="pl"] .site_header_inner .cta_enquiry .btn {
        max-width: 155px;
        min-width: 155px;
    }

    header#masthead .main_nav_desktop ul li a {
        font-size: 12px;
    }

    .wpml-ls-legacy-dropdown a.wpml-ls-item-toggle {
        font-size: 12px;
    }

    section.page_component.section-test.content-align-center .container {
        max-width: 1200px;
    }
}

@media (max-width: 1399px) {
    header#masthead .main_nav_desktop ul {
        margin-top: 0;
    }

    section.page_component.section-banner ul.slider_cta_block li.cta_icon_admin.grey a:before {
        background-position: 0 -200px;
    }

    section.page_component.section-banner ul.slider_cta_block li.cta_icon_admin.grey a:hover:before,
    section.page_component.section-banner ul.slider_cta_block li.cta_icon_admin.grey a:focus:before {
        background-position: -50px -200px;
    }

    section.page_component.section-banner ul.slider_cta_block li.cta_icon_ops a:before,
    section.page_component.section-banner ul.slider_cta_block li.cta_icon_admin a:before {
        top: 30px;
        left: 30px;
    }

    .page_component.section-background_detail .bg-heading-wrapper {
        padding-bottom: 120px;
        min-height: 340px;
    }

    .page_component.section-background_detail .content .content-wrapper .content-items .bottom_description,
    .page_component.section-background_detail .content .content-wrapper .content-items .two-column-items {
        margin-top: 50px;
    }

    .page_component.section-background_detail .content .content-wrapper .content-items .two-column-items {
        column-gap: 50px;
    }

    .page_component.section-background_detail .content .content-wrapper .content-items .two-column-items .two-column-item {
        width: calc(50% - 25px);
        column-gap: 24px;
    }

    .page_component.section-background_detail .content .content-wrapper .content-items .two-column-items .two-column-item .item-details {
        width: calc(100% - 51px);
    }

    /*  */
    .page_component.section-background_detail .bg-heading-wrapper .heading-text {
        font-size: 46px;
    }

    .page_component.section-background_detail .content .content-wrapper {
        padding-bottom: 70px;
    }
}



@media (max-width: 1300px) {
    header#masthead .main_nav_desktop ul {
        gap: 10px;
    }

    body header#masthead .btn {
        font-size: 10px;
        min-width: 126px;
        min-height: 40px;
        gap: 6px;
    }


    body header#masthead[data-lang="pl"] .site_header_inner .cta_wardal .btn,
    body header#masthead[data-lang="pl"] .site_header_inner .cta_jobs .btn,
    body header#masthead[data-lang="pl"] .site_header_inner .cta_enquiry .btn {
        min-width: 126px;
        max-width: 126px;
    }

    header#masthead .main_nav_desktop ul li a {
        font-size: 10px;
    }

    .wpml-ls-legacy-dropdown a.wpml-ls-item-toggle {
        font-size: 10px;
        padding: 0 15px 0 0;
    }

    body header#masthead .btn svg {
        width: 15px;
        height: auto;
    }

    header#masthead .main_nav_desktop ul li.dropdown a,
    header#masthead .main_nav_desktop ul li.megamenu a {
        padding-right: 15px;
    }

    header#masthead .main_nav_desktop ul li.dropdown a:after,
    header#masthead .main_nav_desktop ul li.megamenu a:after {
        width: 10px;
        height: 5px;
        background-size: contain;
    }

    .wpml-ls-legacy-dropdown a.wpml-ls-item-toggle:after {
        width: 10px;
        height: 5px;
        background-size: contain;
    }

    .site_header_inner {
        gap: 10px;
    }

    header#masthead {
        padding: 30px 0;
    }

    header#masthead .site_branding img {
        width: 115px;
    }

    #mega_menu {
        top: 113px;
    }

    body.admin-bar #mega_menu {
        top: 145px;
    }

    header#masthead .main_nav_desktop ul li.dropdown a:after,
    header#masthead .main_nav_desktop ul li.megamenu a:after {
        margin-top: 0;
    }

    #mega_menu ul.mega_menu_links li a {
        font-size: 14px;
    }

    .scrolled header#masthead {
        height: 80px;
    }

    body.admin-bar.scrolled #mega_menu {
        top: 80px;
    }

    body.admin-bar.scrolled #mega_menu {
        top: 112px;
    }

    section.page_component.section-test.content-align-center .container {
        max-width: 1160px;
    }


    .page_component.section-background_detail .content .content-wrapper .content-items .two-column-items {
        column-gap: 24px;
    }

    .page_component.section-background_detail .content .content-wrapper .content-items .two-column-items .two-column-item {
        width: calc(50% - 12px);
    }

    /* header popup */
    #ward_modals .modal_window.enquiry_modal {
        padding: 20px;
    }
}

@media (max-width:1199px) {
    section.page_component.section-test.content-align-center .container {
        max-width: 960px;
    }

    .page_component.section-background_detail .content .content-wrapper .content-items .bottom_description,
    .page_component.section-background_detail .content .content-wrapper .content-items .two-column-items {
        margin-top: 40px;
    }

    /*  */
    .page_component.section-background_detail .bg-heading-wrapper {
        min-height: 300px;
        padding-bottom: 100px;
    }

    .page_component.section-background_detail .bg-heading-wrapper .heading-text {
        font-size: 40px;
    }

    .page_component.section-background_detail .content .content-wrapper {
        padding-bottom: 60px;
    }

    .page_component.section-background_detail .content .content-wrapper .content-items {
        padding-top: 0;
    }

    .page_component.section-background_detail .content .content-wrapper .content-items .sub-heading {
        font-size: 24px;
    }

    .page_component.section-background_detail .content .content-wrapper .content-items .two-column-items .two-column-item .item-details .item-heading,
    .page_component.section-background_detail .content .content-wrapper .content-items .short_description h6 {
        font-size: 20px;
    }

    /* header popup */
    #ward_modals .modal_window.enquiry_modal h2 {
        margin-bottom: 20px;
        font-size: 30px;
    }

}

@media (max-width: 1024px) {

    header#masthead .main_nav_desktop,
    .cta_wardal,
    .cta_jobs,
    .cta_enquiry,
    .wpml-selector {
        display: none;
    }

    .main_nav_mobile .cta_wardal,
    .main_nav_mobile .cta_jobs,
    .main_nav_mobile .cta_enquiry {
        display: block;
        width: 100%;
    }



    .cta_phone {
        margin-left: auto;
    }

    .site_header_inner {
        gap: 20px;
    }

    header#masthead {
        padding: 56px 0;
    }

    header#masthead .site_branding img {
        width: 109px;
        height: 50px;
    }

    .site-menu-toggle-open {
        display: flex;
    }

    .cta_phone a {
        display: flex;
        width: 26px;
        height: 26px;
        position: relative;
    }

    .cta_phone a img,
    .site-menu-toggle-open svg rect {
        transition: ease all .4s;
    }

    .cta_phone a .phone-white {
        position: absolute;
        width: 100%;
        height: 100%;
        opacity: 0;
    }

    body.transparent_header.scrolled .cta_phone a .phone-blue,
    body.transparent_header:not(.scrolled) .cta_phone a .phone-blue {
        opacity: 0;
    }

    body.transparent_header.scrolled .cta_phone a .phone-white,
    body.transparent_header:not(.scrolled) .cta_phone a .phone-white {
        opacity: 1;
    }

    body.transparent_header.scrolled .site-menu-toggle-open svg rect,
    body.transparent_header:not(.scrolled) .site-menu-toggle-open svg rect {
        fill: #fff;
    }

    header#masthead .site_branding {
        margin-top: 0;
    }

    #content {
        min-height: auto;
        padding-top: 162px;
    }

    nav#rf_mobile_menu {
        display: block !important;
        position: fixed;
        width: 100%;
        height: 100% !important;
        top: 0;
        background: #fff;
        right: 0;
        transform: translateX(100%);
        padding: 0;
        z-index: 9999;
        min-height: auto;
        transition: all ease-in-out .4s;
        overflow-x: hidden;
        overflow-y: auto;
    }

    nav#rf_mobile_menu .site_branding img {
        width: 109px;
        height: 50px;
    }

    nav#rf_mobile_menu .site_branding a {
        display: flex;
    }

    nav#rf_mobile_menu .site_branding a img.logo_light {
        display: none;
    }

    .site-menu-toggle-close {
        display: flex;
    }

    body.admin-bar nav#rf_mobile_menu {
        top: 32px !important;
        height: calc(100% - 32px) !important;
    }

    .toggle_menu_active nav#rf_mobile_menu {
        transform: translateX(0);
    }

    nav#rf_mobile_menu .container {
        padding: 0 20px;
    }

    .main_nav_mobile_top {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        padding: 56px 0 53px;
    }

    .scrolled nav#rf_mobile_menu {
        top: 0;
        height: 100% !important;
        min-height: 100%;
    }

    nav#rf_mobile_menu ul {
        max-width: 100%;
        margin: 0;
    }

    nav#rf_mobile_menu ul li a {
        color: #000 !important;
        font-family: 'Visby CF', Verdana, sans-serif;
        font-size: 20px;
        font-weight: 500;
        line-height: normal;
    }

    nav#rf_mobile_menu ul li {
        margin-bottom: 18px;
    }

    body.toggle_menu_active {
        position: fixed;
        width: 100%;
        top: 0;
        left: 0;
    }

    body.admin-bar.toggle_menu_active {
        top: 32px;
    }

    nav#rf_mobile_menu ul li.menu-item-has-children>a {
        position: relative;
        padding-right: 20px;
    }

    nav#rf_mobile_menu ul li ul li a:hover,
    nav#rf_mobile_menu ul li ul li a:focus {
        border-color: #000;
    }

    nav#rf_mobile_menu ul li.menu-item-has-children a:after {
        display: block;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background-image: url(../images/mobile-menu-arrow.svg);
        background-repeat: no-repeat;
        background-position: center center;
        background-size: auto;
        left: auto;
        width: 12px;
        height: 7px;
        margin-top: 0;
        padding-left: 0;
        content: "" !important;
        right: 0;
        transition: ease all .4s;
    }

    nav#rf_mobile_menu ul li.menu-item-has-children.open a:after {
        transform: translateY(-50%) rotate(180deg);
    }

    nav#rf_mobile_menu .wpml-selector {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 31px;
        margin: 33px 0 100px;
        right: auto;
        top: unset;
        max-width: 100%;
    }

    nav#rf_mobile_menu .wpml-ls-legacy-dropdown {
        width: auto;
    }

    nav#rf_mobile_menu .wpml-ls-legacy-dropdown a.wpml-ls-item-toggle {
        padding: 0 20px 0 0;
        border: 0;
        background-color: transparent;
        color: #232F61;
        font-family: 'Visby CF', Verdana, sans-serif;
        font-size: 15px;
        font-weight: 800;
        line-height: 23px;
        letter-spacing: 1.5px;
        text-transform: uppercase;
        display: flex;
    }

    nav#rf_mobile_menu .wpml-ls-legacy-dropdown a.wpml-ls-item-toggle:after {
        content: "";
        border: 0;
        position: absolute;
        right: 0;
        /* top: calc(50% - 2px); */
        top: 50%;
        transform: translateY(-50%);
        background-image: url(../images/dropdown-blue.svg);
        background-repeat: no-repeat;
        background-position: center center;
        background-size: auto;
        width: 12px;
        height: 7px;
        transition: ease all .4s;
    }

    nav#rf_mobile_menu .wpml-selector span.wpml-ls-native {
        padding-left: 0;
    }

    nav#rf_mobile_menu .wpml-ls-legacy-dropdown .wpml-ls-current-language:hover>a,
    nav#rf_mobile_menu .wpml-ls-legacy-dropdown a:focus,
    nav#rf_mobile_menu .wpml-ls-legacy-dropdown a:hover {
        color: #fff;
        background: transparent;
    }

    nav#rf_mobile_menu .wpml-ls-legacy-dropdown .wpml-ls-sub-menu {
        border: 0;
        box-shadow: 0 0 10px #ccc;
        display: block;
        margin: 0;
        padding: 0;
        border-radius: 0;
    }

    nav#rf_mobile_menu .wpml-ls-legacy-dropdown .wpml-ls-sub-menu li {
        margin: 0;
    }

    nav#rf_mobile_menu .wpml-ls-legacy-dropdown .wpml-ls-sub-menu a {
        border: 0;
        color: #232F61 !important;
        font-family: 'Visby CF', Verdana, sans-serif;
        font-size: 15px;
        font-weight: 800;
        line-height: 23px;
        letter-spacing: 1.5px;
        text-transform: uppercase;
    }

    nav#rf_mobile_menu .wpml-ls-current-language:focus a.wpml-ls-item-toggle:after,
    nav#rf_mobile_menu .wpml-ls-current-language:hover a.wpml-ls-item-toggle:after {
        transform: translateY(-50%) rotate(180deg);
    }

    nav#rf_mobile_menu .wpml-ls-legacy-dropdown a.wpml-ls-item-toggle {
        color: #232F61 !important;
    }

    nav#rf_mobile_menu header#masthead .wpml-ls-legacy-dropdown .wpml-ls-current-language:hover>a,
    nav#rf_mobile_menu header#masthead .wpml-ls-legacy-dropdown a:focus,
    nav#rf_mobile_menu header#masthead .wpml-ls-legacy-dropdown a:hover {
        color: #232F61;
    }

    .wpml-selector ul li {
        margin: 0 !important;
    }

    .wpml-selector>span {
        color: #000;
        font-family: 'Visby CF', Verdana, sans-serif;
        font-size: 16px;
        font-style: normal;
        font-weight: 500;
        line-height: normal;
    }

    /*  */
    .page_component.section-background_detail .bg-heading-wrapper {
        min-height: 275px;
        padding-bottom: 90px;
    }

    .page_component.section-background_detail .content .content-wrapper {
        padding-bottom: 50px;
    }

}

@media (max-width:1023px) {

    section.page_component.section-test .container {
        padding: 0 50px 0 60px;
        margin-bottom: 80px;
    }

    section.page_component.section-test ul.testimonial_carousel li .quote-icon-bottom,
    section.page_component.section-test ul.testimonial_carousel li .quote-icon-top {
        width: 50px;
        height: 40px;
    }

    section.page_component.section-test ul.testimonial_carousel li .test_source_wrapper .test_source {
        width: calc(100% - 70px);
    }

    /* header popup */
    #ward_modals .modal_window.enquiry_modal h2 {
        font-size: 24px;
    }

    #ward_modals .modal_window.enquiry_modal {
        padding: 10px 5px;
    }

    /* banner */
    /* .main_nav_mobile .cta_wardal,
    .main_nav_mobile .cta_jobs,
    .main_nav_mobile .cta_enquiry {
        display: none;
    } */

    /* section.page_component.section-banner .bgimg .banner-mobile-ctas.mobile-only {
        display: flex !important;
    } */

    section.page_component.section-banner ul.slider_cta_block {
        right: auto;
        bottom: unset;
        width: 100%;
        max-width: 100%;
        padding: 0 20px;
        margin: 0 auto;
        left: auto;
        transform: unset;
        justify-content: flex-start;
        flex-direction: column;
        gap: 0;
        position: relative;
    }

    section.page_component.section-banner ul.slider_cta_block li {
        margin-top: 24px;
        width: 100%;
    }

    section.page_component.section-banner ul.slider_cta_block li {
        max-width: 100%;
    }

    section.page_component.section-banner .container.has_ctas {
        margin-bottom: 0;
    }

}

@media (max-width:991px) {
    section.page_component.section-test.content-align-center .container {
        max-width: 720px;
    }

    /*  */
    .page_component.section-background_detail .bg-heading-wrapper {
        min-height: 250px;
        padding-bottom: 70px;

    }

    .page_component.section-background_detail .bg-heading-wrapper .heading-text {
        font-size: 34px;
    }

    .page_component.section-background_detail .content .content-wrapper {
        padding-bottom: 40px;
        margin-top: -70px;
    }

    .page_component.section-background_detail .content .content-wrapper .icon {
        width: 50px;
        height: 51px;
    }

    .page_component.section-background_detail .content .content-wrapper .content-items {
        width: calc(100% - 75px);
    }

    .page_component.section-background_detail .content .content-wrapper .content-items .sub-heading {
        font-size: 22px;
    }

    .page_component.section-background_detail .content .content-wrapper .content-items .short_description h6 {
        font-size: 18px;
    }


}

@media (max-width:767px) {

    .section.page_component.section-test .container {
        margin-bottom: 30px;
    }

    /*  */

    .page_component.section-background_detail .bg-heading-wrapper .desktop-bg-image {
        display: none;
    }

    .page_component.section-background_detail .bg-heading-wrapper .mobile-bg-image {
        display: block;
    }


    .page_component.section-background_detail .bg-heading-wrapper {
        min-height: 225px;
        padding-bottom: 61px;
        align-items: flex-end;
    }

    .page_component.section-background_detail .bg-heading-wrapper .heading-text {
        font-size: 28px;
        line-height: 109.5%;
    }

    .page_component.section-background_detail .content .content-wrapper {
        padding: 30px;
        margin-top: -40px;
    }

    .page_component.section-background_detail .content .content-wrapper .content-items .sub-heading {
        font-size: 20px;
    }

    .page_component.section-background_detail .content .content-wrapper .content-items .short_description h6 {
        font-size: 16px;
    }

    .page_component.section-background_detail .content .content-wrapper .content-items .two-column-items .two-column-item .item-details .item-heading {
        font-size: 18px;
    }

    .page_component.section-background_detail .content .content-wrapper .content-items .two-column-items .two-column-item {
        width: 100%;
        column-gap: 20px;
    }

    .page_component.section-background_detail .content .content-wrapper .content-items .two-column-items .two-column-item .item-details {
        width: calc(100% - 47px);
        row-gap: 7px;
    }

    .page_component.section-background_detail .content .content-wrapper .content-items .two-column-items {
        row-gap: 35px;
    }

    .page_component.section-background_detail .content .content-wrapper .content-items .two-column-items .two-column-item .item-details .item-content br {
        display: none;
    }

    /* header */
    .menu.main_nav_mobile .main_nav_mobile_inner .btn {
        width: 100%;
    }
}


@media screen and (max-width: 1023px) {


    section.page_component.section-banner ul.slider_cta_block li a {
        padding: 93px 33px 60px 33px;
    }

    section.page_component.section-banner ul.slider_cta_block li.grey a {
        padding: 77px 33px 47px 33px;
    }

    section.page_component.section-banner ul.slider_cta_block li.grey a:after {
        bottom: 25px;
    }

    section.page_component.section-banner ul.slider_cta_block li .cta_subtitle {
        font-size: 18px;
        line-height: 125%;
        margin-bottom: 7px;
    }

    section.page_component.section-banner ul.slider_cta_block li .cta_title {
        font-size: 24px;
        line-height: 29px;
        max-width: 80%;
        margin-left: auto;
    }

    section.page_component.section-banner ul.slider_cta_block li.cta_icon_ops a:before,
    section.page_component.section-banner ul.slider_cta_block li.cta_icon_admin a:before {
        top: 28px;
        left: 26px;
    }

    section.page_component.section-banner ul.slider_cta_block li.cta_icon_admin.grey a:before {
        background-position: 0 -100px;
        width: 63px;
        height: 63px;
    }

    section.page_component.section-banner ul.slider_cta_block li.cta_icon_admin.grey a:hover:before,
    section.page_component.section-banner ul.slider_cta_block li.cta_icon_admin.grey a:focus:before {
        background-position: -100px -100px;
    }

    section.page_component.section-banner ul.slider_cta_block li a:after {
        bottom: 30px;
        right: 35px;
    }

    section.page_component.section-banner ul.slider_cta_block li.cta_icon_ops a:before {
        top: 32px;
        left: 32px;
        width: 73px;
        height: 73px;
    }

    section.page_component.section-banner ul.slider_cta_block li.cta_icon_ops.blue a:before {
        background-position: -300px -100px;
    }

    section.page_component.section-banner .container.slider .bgimg .content a.button {
        margin: 16px 0 0 0;
        padding: 15px 24px !important;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        border-radius: 6px;
        border: 1px solid #FFF;
        color: #FFF;
        background-color: transparent;
        font-family: 'Visby CF', Verdana, sans-serif;
        font-size: 16px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
        min-width: 194px;
        min-height: 56px;
        text-transform: inherit;
        transition: all ease .4s;
    }

    section.page_component.section-banner .container.slider .bgimg .content a.button:hover {
        border: 1px solid #FFCA84 !important;
        background: #FFCA84 !important;
        color: #232F61 !important;
    }

    section.page_component.section-banner .container.slider .bgimg .content a.button.search:hover {
        border: 1px solid #1657FD !important;
        background: #1657FD !important;
        color: #fff !important;
    }

    section.page_component.section-banner .container.slider .bgimg .content a.button:hover svg path:not(.stroke) {
        fill: #232F61;
    }

    section.page_component.section-banner .container.slider .bgimg .content a.button.enquiry-button:hover svg path.stroke {
        stroke: #232F61;
    }

    section.page_component.section-banner .container.slider .bgimg .content a.button.enquiry-button {
        background-color: transparent;
    }

    section.page_component.section-banner .container.slider .bgimg .content .banner-btn {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    section.page_component.section-banner .container.slider .bgimg .content a.button::after,
    section.page_component.section-banner .container.slider .bgimg .content a.button.enquiry-button::after {
        display: none;
    }

    section.page_component.section-banner .container.slider .bgimg .content a.button.search,
    section.page_component.section-banner .container.slider .bgimg .content a.button.arrow {
        margin: 16px 0 0 0;
    }

}

@media screen and (max-width: 782px) {
    body.admin-bar nav#rf_mobile_menu {
        top: 46px !important;
        height: calc(100% - 46px) !important;
    }

    body.admin-bar.toggle_menu_active {
        top: 46px;
    }

}

@media screen and (max-width: 767px) {
    body.transparent_header section.page_component.section-banner .container.height-tall {
        height: 648px;
    }

    body.transparent_header section.page_component.section-banner .bgimg .content {
        padding-top: 162px;
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-end;
        padding: 0 15px 31px;
    }

    section.page_component.section-banner .container.slider .bgimg .content h1 {
        font-size: 47px;
    }

    section.page_component.section-banner .bgimg .content p {
        padding: 14px 0 0 34px;
        line-height: 115%;
        font-size: 17px;
        max-width: 232px !important;
    }

    /* section.page_component.section-banner ul.slider_cta_block {
        right: auto;
        bottom: unset;
        width: 100%;
        max-width: 100%;
        padding: 0 20px;
        margin: 0 auto;
        left: auto;
        transform: unset;
        justify-content: flex-start;
        flex-direction: column;
        gap: 0;
        position: relative;
    }

    section.page_component.section-banner ul.slider_cta_block li {
        margin-top: 24px;
        width: 100%;
    }

    section.page_component.section-banner ul.slider_cta_block li {
        max-width: 100%;
    } */


    section.page_component.section-banner .tint::before {
        background: rgba(0, 23, 118, 0.32);
        backdrop-filter: blur(0.699999988079071px);
    }

    section.page_component.section-banner .tint::after {
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 50%, rgba(0, 0, 0, 0.60) 75%);
    }
}


@media screen and (max-width: 600px) {
    #wpadminbar {
        position: fixed;
    }
}

@media (max-width:575px) {
    .page_component.section-background_detail .content .content-wrapper {
        flex-direction: column;
    }

    .page_component.section-background_detail .content .content-wrapper .content-items {
        width: 100%;
    }
}

@media (max-width: 449px) {
    section.page_component.section-test .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    section.page_component.section-test .container ul.testimonial_carousel li .test_source_wrapper {
        padding-right: 40px;
        padding-left: 40px;
    }

    /* section.page_component.section-test ul.testimonial_carousel li .test_source_wrapper {
        flex-direction: column;
    } */

    section.page_component.section-test .container ul.testimonial_carousel li .test_source_wrapper .test_source {
        padding: 0;
        /* width: 100%; */
    }
}

@media (max-width: 414px) {
    .menu.main_nav_mobile .main_nav_mobile_inner .btn {
        width: 100%;
    }

    section.page_component.section-test .container ul.testimonial_carousel li .test_source_wrapper {
        flex-direction: column;
        align-items: flex-start;
    }

    section.page_component.section-test .container ul.testimonial_carousel li .test_source_wrapper .test_source {
        width: 100%;
    }
}