/*===================================== 

YOU CAN WRIGHT CUSTOME CSS 

======================================*/

.mid-slider {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    overflow: hidden;
}

.mid-slider .rev_slider_wrapper,
.mid-slider .rev_slider,
.mid-slider .tp-fullwidth-forcer {
    width: 100vw !important;
    max-width: 100vw !important;
}

.mid-slider,
.mid-slider .rev_slider_wrapper,
.mid-slider .rev_slider {
    height: 48vh !important;
    max-height: 420px !important;
}

.mid-slider .tp-fullwidth-forcer {
    height: 48vh !important;
    max-height: 420px !important;
}

.mid-slider .tparrows,
.mid-slider .tp-bullets,
.mid-slider .tp-bannertimer {
    display: none !important;
}

.header-nav .nav > li > a,
.header-style-2 .header-nav .nav > li > a {
    font-size: 15px !important;
}

.header-nav .nav > li .sub-menu li a {
    font-size: 14px !important;
}

@media (max-width: 767px) {
    .mid-slider,
    .mid-slider .rev_slider_wrapper,
    .mid-slider .rev_slider {
        height: 48vh !important;
        max-height: 340px !important;
    }

    .mid-slider .tp-fullwidth-forcer {
        height: 48vh !important;
        max-height: 340px !important;
    }
}

.sp-legal-hero {
    background: #f6f7f8;
    border-top: 1px solid #e8e8e8;
    border-bottom: 1px solid #e8e8e8;
}

.sp-legal-content h3 {
    margin-top: 35px;
}

.sp-legal-content ul {
    margin-left: 20px;
}

.sp-page-hero {
    background: #f6f7f8;
    border-top: 1px solid #e8e8e8;
    border-bottom: 1px solid #e8e8e8;
}

.sp-page-hero p {
    max-width: 760px;
}

.sp-about-image img,
.sp-contact-map iframe {
    width: 100%;
    display: block;
}

.sp-about-image {
    overflow: hidden;
    background: #f4f5f6;
}

.sp-about-image--portrait {
    aspect-ratio: 4 / 3;
}

.sp-about-image--compact {
    aspect-ratio: 16 / 11;
}

.sp-about-image img {
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.sp-about-copy {
    font-size: 16px;
    line-height: 1.75;
}

.sp-about-list {
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
}

.sp-about-list li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 8px;
}

.sp-about-list li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 11px;
    width: 8px;
    height: 8px;
    background: #a80000;
}

.sp-about-list--grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.sp-about-list--grid li {
    min-height: 58px;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 12px 14px 12px 34px;
    background: #fff;
    border: 1px solid #e8e8e8;
}

.sp-about-list--grid li:before {
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
}

.sp-about-timeline {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 15px;
}

.sp-about-timeline-item {
    padding: 22px;
    background: #f7f8f9;
    border-left: 4px solid #a80000;
}

.sp-about-timeline-item span {
    display: block;
    margin-bottom: 8px;
    color: #a80000;
    font-weight: 700;
    text-transform: uppercase;
}

.sp-about-timeline-item strong {
    display: block;
    margin-bottom: 8px;
    color: #111;
    font-size: 18px;
}

.sp-about-timeline-item p {
    margin: 0;
}

.sp-about-stat-row {
    display: flex;
    flex-wrap: wrap;
}

.sp-about-stat-row:before,
.sp-about-stat-row:after {
    display: none;
}

.sp-about-stat-row > [class*="col-"] {
    display: flex;
    float: none;
}

.sp-about-stat {
    width: 100%;
    height: 100%;
    min-height: 245px;
    display: flex;
    flex-direction: column;
}

.sp-about-operational {
    padding: 40px;
    background: #f7f8f9;
    border-left: 5px solid #a80000;
}

.sp-about-operational-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 30px;
    margin-bottom: 22px;
}

.sp-about-operational-grid p {
    margin-bottom: 0;
}

@media (max-width: 991px) {
    .sp-about-list--grid,
    .sp-about-timeline,
    .sp-about-operational-grid {
        grid-template-columns: 1fr;
    }

    .sp-about-operational {
        padding: 28px;
    }
}

.sp-contact-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.sp-contact-list li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 18px 0;
    border-bottom: 1px solid #e8e8e8;
}

.sp-contact-list i {
    min-width: 28px;
    margin-top: 4px;
    color: #a80000;
    font-size: 22px;
}

.sp-contact-list a {
    color: inherit;
}

.sp-contact-map iframe {
    height: 420px;
    border: 0;
}

.sp-real-gallery-frame {
    width: 100%;
    aspect-ratio: 16 / 10;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f4f5f6;
    overflow: hidden;
}

.sp-real-gallery-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.sp-real-card-image {
    aspect-ratio: 4 / 3;
    background: #f4f5f6;
    overflow: hidden;
}

.sp-real-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.sp-real-filter-panel {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 30px;
}

.sp-real-filter-top {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

.sp-real-filter-services {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    width: 100%;
}

.sp-real-filter-btn {
    border: 1px solid #d9dee5;
    background: #fff;
    color: #1f2933;
    padding: 9px 14px;
    font-size: 13px;
    line-height: 1.2;
    cursor: pointer;
    transition: color .2s ease, background .2s ease, border-color .2s ease;
}

.sp-real-filter-btn:hover,
.sp-real-filter-btn.active {
    border-color: #a80000;
    background: #a80000;
    color: #fff;
}

.sp-real-search {
    width: 330px;
    max-width: 100%;
}

.sp-real-search input {
    width: 100%;
    height: 42px;
    border: 1px solid #d9dee5;
    background: #fff;
    padding: 0 14px;
    font-size: 14px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.04);
}

.sp-real-no-results {
    display: none;
}

@media (max-width: 991px) {
    .sp-real-filter-top {
        justify-content: stretch;
    }

    .sp-real-search {
        width: 100%;
    }
}

.sp-real-description {
    margin-top: 25px;
    padding: 28px;
    background: #ffffff;
    border: 1px solid #e8e8e8;
}

.sp-real-description h3 {
    margin-top: 0;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.sp-real-description div,
.sp-real-description p {
    margin-bottom: 0;
    font-size: 16px;
    line-height: 1.8;
}

.sp-cert-card {
    min-height: 190px;
}

.sp-cert-image {
    aspect-ratio: 16 / 9;
    max-height: 125px;
    overflow: hidden;
    background: #f4f5f6;
}

.sp-cert-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.sp-cert-title {
    font-size: 20px;
    line-height: 1.25;
    margin-bottom: 0;
}

.cert-thumb {
    width: 72px;
    height: 54px;
    object-fit: contain;
    background: #f4f5f6;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

.sp-cert-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.sp-cert-actions .site-button {
    padding: 9px 16px;
}

.sp-service-card {
    min-height: 100%;
}

.sp-service-card__image {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f4f5f6;
}

.sp-service-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.sp-service-description {
    font-size: 16px;
    line-height: 1.75;
}

.sp-service-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.sp-service-card-placeholder {
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f4f5f6;
    color: #a80000;
    font-size: 58px;
}

.sp-service-list-wrap {
    width: 100%;
}

.sp-service-list-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px 30px;
}

.sp-service-list-item {
    display: flex;
    flex-direction: column;
    float: none;
    width: auto !important;
    margin: 0 !important;
}

.sp-service-list-item .sp-real-card-image,
.sp-service-list-item .sp-service-card-placeholder {
    aspect-ratio: auto;
    height: 260px;
    flex: 0 0 auto;
}

.sp-service-list-info {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    height: 100%;
    min-height: 360px;
    width: 100%;
    margin: 0;
}

.sp-service-list-info .wt-post-text {
    flex: 1 1 auto;
}

.sp-service-list-info .site-button {
    align-self: flex-start;
    margin-top: auto;
}

@media (max-width: 991px) {
    .sp-service-list-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .sp-service-list-row {
        display: grid;
        grid-template-columns: 1fr;
    }

    .sp-service-list-info {
        min-height: 0;
    }
}

.sp-home-service-placeholder,
.sp-home-service-empty {
    min-height: 390px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f4f5f6;
    color: #a80000;
    font-size: 58px;
}

.sp-home-service-empty {
    display: block;
}

.sp-home-services-carousel .owl-stage {
    display: flex;
}

.sp-home-services-carousel .owl-item {
    display: flex;
}

.sp-home-services-carousel .item {
    display: flex;
    width: 100%;
}

.sp-home-services-carousel .line-filter-outer {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 520px;
    padding-bottom: 0;
    background: #fff;
}

.sp-home-services-carousel .line-filter-outer > img,
.sp-home-services-carousel .sp-home-service-placeholder {
    width: 100%;
    height: 300px;
    min-height: 300px;
    object-fit: cover;
    flex: 0 0 auto;
}

.sp-home-services-carousel .hover-effect-1 {
    height: 300px;
    overflow: hidden;
}

.sp-home-services-carousel .line-filter-outer .line-filter {
    position: static;
    display: flex;
    flex: 1 1 auto;
    border-top: 20px solid #f6f7f8;
}

.sp-home-services-carousel .filter-content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 200px;
}

.sp-home-services-carousel .filter-content h4 {
    min-height: 58px;
}

.sp-home-services-carousel .filter-content .v-button {
    align-self: flex-start;
    margin-top: auto;
}

@media (max-width: 767px) {
    .sp-home-services-carousel .line-filter-outer {
        min-height: 470px;
    }

    .sp-home-services-carousel .line-filter-outer > img,
    .sp-home-services-carousel .sp-home-service-placeholder {
        height: 250px;
        min-height: 250px;
    }

    .sp-home-services-carousel .hover-effect-1 {
        height: 250px;
    }
}

.sp-service-detail-placeholder {
    aspect-ratio: 16 / 10;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f4f5f6;
    color: #a80000;
    font-size: 74px;
}

.sp-service-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.sp-service-related {
    margin-top: 55px;
}

.sp-service-related-item {
    display: flex;
    flex-direction: column;
}

.sp-service-related-info {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 270px;
}

.sp-service-related-info .wt-post-text {
    flex: 1 1 auto;
}

.sp-service-related-info .site-button {
    align-self: flex-start;
    margin-top: auto;
}

.sp-cookie-banner {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 22px;
    background: #ffffff;
    border: 1px solid #dddddd;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
}

.sp-cookie-banner p {
    margin-bottom: 8px;
}

.sp-cookie-banner__title {
    color: #111111;
    font-weight: 700;
    text-transform: uppercase;
}

.sp-cookie-banner__content {
    max-width: 850px;
}

.sp-cookie-banner__actions,
.sp-cookie-modal__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.sp-cookie-btn,
.sp-cookie-settings {
    border: 1px solid #111111;
    background: #111111;
    color: #ffffff;
    cursor: pointer;
    font-weight: 600;
    padding: 10px 18px;
    text-transform: uppercase;
}

.sp-cookie-btn--light {
    background: #ffffff;
    color: #111111;
}

.sp-cookie-settings {
    border: 0;
    background: transparent;
    color: inherit;
    padding: 0;
    text-transform: none;
}

.sp-cookie-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.55);
}

.sp-cookie-modal__panel {
    position: relative;
    width: min(560px, 100%);
    padding: 30px;
    background: #ffffff;
    color: #222222;
}

.sp-cookie-modal__close {
    position: absolute;
    top: 12px;
    right: 14px;
    border: 0;
    background: transparent;
    cursor: pointer;
    font-size: 20px;
}

.sp-cookie-choice {
    display: block;
    margin: 14px 0;
}

.sp-cookie-choice input {
    margin-right: 8px;
}

@media (max-width: 767px) {
    .sp-cookie-banner {
        left: 10px;
        right: 10px;
        bottom: 10px;
        display: block;
    }

    .sp-cookie-banner__actions,
    .sp-cookie-modal__actions {
        margin-top: 15px;
    }

    .sp-cookie-btn {
        width: 100%;
    }
}

.sp-home-cert-section {
    padding-top: 22px;
    padding-bottom: 22px;
}

.sp-home-cert-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
}

.sp-home-cert-logo {
    width: 170px;
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    background: #fff;
    border: 1px solid #edf0f3;
}

.sp-home-cert-logo a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sp-home-cert-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.sp-home-cert-empty,
.sp-home-cert-title {
    color: #1d1d1d;
    font-size: 13px;
    line-height: 1.25;
    text-align: center;
}

.sp-home-cert-title {
    font-weight: 600;
    text-transform: uppercase;
}

body.footer-fixed .page-wraper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-bottom: 0 !important;
}

body.footer-fixed .page-content {
    flex: 1 0 auto;
}

body.footer-fixed .site-footer {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    width: 100%;
    height: auto !important;
    z-index: auto !important;
    flex-shrink: 0;
}

@media only screen and (max-width: 991px) {
    .header-style-2 .menu-bar .container {
        position: relative;
        min-height: 54px;
    }

    .header-style-2 .navbar-toggler#mobile-side-drawer {
        width: 44px;
        height: 44px;
        right: 15px;
        top: 50%;
        padding: 0;
        border: 1px solid rgba(1, 14, 42, 0.18);
        background: #fff;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        z-index: 1001;
    }

    .header-style-2 .navbar-toggler#mobile-side-drawer .icon-bar {
        width: 24px;
        height: 3px;
        margin: 0;
        background: #010e2a;
        border-radius: 2px;
        display: block;
        transform-origin: center;
    }

    .header-style-2 .navbar-toggler#mobile-side-drawer .icon-bar + .icon-bar {
        margin-top: 0;
    }

    .header-style-2.mobile-sider-drawer-menu.active .navbar-toggler#mobile-side-drawer .icon-bar-first {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .header-style-2.mobile-sider-drawer-menu.active .navbar-toggler#mobile-side-drawer .icon-bar-two {
        position: static;
        right: auto;
        opacity: 0;
    }

    .header-style-2.mobile-sider-drawer-menu.active .navbar-toggler#mobile-side-drawer .icon-bar-three {
        transform: rotate(-45deg) translate(5px, -5px);
    }
}

@media only screen and (max-width: 991px) {
    .header-style-2 .menu-bar .container {
        min-height: 46px;
    }

    .header-style-2 .navbar-toggler#mobile-side-drawer {
        width: 34px;
        height: 34px;
        right: 12px;
        border: 0;
        background: transparent;
        gap: 3px;
    }

    .header-style-2 .navbar-toggler#mobile-side-drawer .icon-bar {
        width: 23px;
        height: 2px;
        border-radius: 0;
    }

    .header-style-2.mobile-sider-drawer-menu.active .navbar-toggler#mobile-side-drawer .icon-bar-first {
        transform: rotate(45deg) translate(4px, 4px);
    }

    .header-style-2.mobile-sider-drawer-menu.active .navbar-toggler#mobile-side-drawer .icon-bar-three {
        transform: rotate(-45deg) translate(3px, -3px);
    }

    .header-style-2.mobile-sider-drawer-menu .header-nav .nav > li > a {
        padding: 8px 16px;
        font-size: 15px;
        line-height: 1.25;
        letter-spacing: 0.4px;
        font-weight: 500;
    }

    .header-style-2.mobile-sider-drawer-menu .header-nav .nav > li .sub-menu li > a {
        padding: 7px 20px;
        font-size: 14px;
        line-height: 1.25;
    }
}

@media only screen and (max-width: 991px) {
    .header-style-2.mobile-sider-drawer-menu .header-nav {
        width: 270px !important;
        left: -270px;
        overflow-y: auto !important;
        border: 0;
        box-shadow: 8px 0 24px rgba(0, 0, 0, 0.12);
    }

    .header-style-2.mobile-sider-drawer-menu.active .header-nav {
        left: 0;
    }

    .header-style-2.mobile-sider-drawer-menu .header-nav .nav {
        width: 100%;
        margin: 0;
        padding: 12px 0;
        display: block !important;
        background: #fff;
    }

    .header-style-2.mobile-sider-drawer-menu .header-nav .nav > li {
        width: 100%;
        margin: 0;
        padding: 0;
        border: 0;
        float: none;
        text-transform: none;
    }

    .header-style-2.mobile-sider-drawer-menu .header-nav .nav > li.has-child {
        display: grid;
        grid-template-columns: 1fr 42px;
        align-items: center;
    }

    .header-style-2.mobile-sider-drawer-menu .header-nav .nav > li > a {
        margin: 0 !important;
        padding: 10px 18px !important;
        border-top: 0;
        color: #1d1d1d;
        font-size: 15px;
        line-height: 1.25;
        letter-spacing: 0;
        font-weight: 500;
        text-align: left;
    }

    .header-style-2.mobile-sider-drawer-menu .header-nav.nav-animation .nav > li > a:before,
    .header-style-2.mobile-sider-drawer-menu .header-nav.nav-animation .nav > li > a:after,
    .header-style-2.mobile-sider-drawer-menu .header-nav.nav-animation .nav > li > ul.sub-menu li > a:before,
    .header-style-2.mobile-sider-drawer-menu .header-nav.nav-animation .nav > li > ul.sub-menu li > a:after {
        display: none;
    }

    .header-style-2.mobile-sider-drawer-menu .header-nav .nav > li > .submenu-toogle {
        width: 42px;
        height: 38px;
        margin: 0;
        padding: 0;
        border: 0;
        background: transparent;
        color: #1d1d1d;
        display: flex;
        align-items: center;
        justify-content: center;
        position: static;
        float: none;
        opacity: 1;
        line-height: 1;
        cursor: pointer;
    }

    .header-style-2.mobile-sider-drawer-menu .header-nav .nav > li.nav-active > .submenu-toogle {
        transform: rotate(90deg);
    }

    .header-style-2.mobile-sider-drawer-menu .header-nav .nav > li > .sub-menu,
    .header-style-2.mobile-sider-drawer-menu .header-nav .nav > li > .mega-menu {
        grid-column: 1 / -1;
        width: 100%;
        margin: 0;
        padding: 2px 0 6px;
        border: 0;
        background: #f6f6f6;
        position: static;
        left: auto;
        top: auto;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .header-style-2.mobile-sider-drawer-menu .header-nav .nav > li > .sub-menu > li {
        margin: 0;
        padding: 0;
        border: 0;
    }

    .header-style-2.mobile-sider-drawer-menu .header-nav .nav > li > .sub-menu > li > a {
        padding: 8px 18px 8px 30px !important;
        color: #333;
        font-size: 14px;
        line-height: 1.25;
        letter-spacing: 0;
        text-align: left;
    }
}
