/********** Template CSS **********/
:root {
    --primary: #134170;
    --secondary: #ed6702;
    --light: #EEF9FF;
    --dark: #091E3E;
    --gray: #6f7070;
}

html {
    scroll-behavior: smooth;
}

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

h3,
h4,
.font-weight-semi-bold {
    font-weight: 600 !important;
}

h5,
h6,
.font-weight-medium {
    font-weight: 500 !important;
}

.bg-inverse {
    background: var(--gray);
    border-color: var(--gray);
}

.btn {
    font-family: 'Spline Sans', sans-serif;
    font-weight: 600;
    transition: .5s;
}

.btn-primary,
.btn-secondary {
    color: #FFFFFF;
}

.btn-primary:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    color: #FFFFFF;
}

.btn-secondary:hover {
    background: var(--gray);
    border-color: var(--gray);
    color: #FFFFFF;
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 28px;
    height: 28px;
}

.btn-lg-square {
    width: 46px;
    height: 46px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 110px;
    bottom: 45px;
    z-index: 99;
}

.top-shape::before {
    position: absolute;
    content: "";
    width: 35px;
    height: 100%;
    top: 0;
    left: -17px;
    background: var(--primary);
    transform: skew(40deg);
}

.navbar-light .navbar-nav .nav-link {
    font-family: 'Spline Sans', sans-serif;
    padding: 35px 15px;
    font-size: 18px;
    color: var(--dark);
    outline: none;
    transition: .5s;
}

.navbar-light .navbar-nav .nav-link small {
    font-size: 0.75em;
}

.navbar-light .dropdown-toggle::after {
    display: none;
}

.navbar-light .dropdown-item {
    padding: 0.65rem 1.25rem;
}

.navbar-light .dropdown-item:hover {
    background-color: var(--secondary);
    ;
    color: #fff;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 15px;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--secondary);
}

@media (max-width: 991.98px) {
    .navbar-light {
        padding-top: 0.5rem !important;
        padding-bottom: 0.5rem !important;
    }

    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
    }

    .navbar-light .btn.btn-primary.py-2.px-4.ms-3 {
        width: 100%;
        margin: 0 !important;
    }
}

#header-carousel h1.display-1 {
    font-size: 4.45rem;
}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(9, 30, 62, .85);
    z-index: 1;
}

@media (max-width: 767px) {
    .carousel-caption h5 {
        font-size: 14px;
        font-weight: 500 !important;
    }

    .carousel-caption h1 {
        font-size: 30px;
        font-weight: 600 !important;
    }

    #header-carousel h1.display-1 {
        font-size: 1.95rem;
        margin-bottom: 20px;
    }

    #header-carousel {
        margin-bottom: 20px;
    }
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

@media (min-width: 991.98px) {
    .banner {
        position: relative;
        margin-top: -90px;
        z-index: 1;
    }
}

.section-title h5::before {
    position: absolute;
    content: "";
    width: 45px;
    height: 3px;
    right: -55px;
    bottom: 11px;
    background: var(--primary);
}

.section-title h5::after {
    position: absolute;
    content: "";
    width: 15px;
    height: 3px;
    right: -75px;
    bottom: 11px;
    background: var(--secondary);
}

.twentytwenty-wrapper {
    height: 100%;
}

.hero-header {
    background: linear-gradient(rgba(9, 30, 62, .85), rgba(9, 30, 62, .85)), url(../images/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.hero-header-int {
    background: linear-gradient(rgba(9, 30, 62, .85), rgba(9, 30, 62, .85)), url(../images/default-header.jpg) center center no-repeat;
    background-size: cover;
}

.hero-header-contact {
    background: linear-gradient(rgba(9, 30, 62, .85), rgba(9, 30, 62, .85)), url(../images/contact-header.jpg) center center no-repeat;
    background-size: cover;
}

.bg-appointment {
    background: linear-gradient(rgba(9, 30, 62, .85), rgba(9, 30, 62, .85)), url(../images/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.appointment-form {
    background: rgba(19, 65, 112, .7);
}

.appointment-form>nav>a.nav-link {
    cursor: pointer;
    color: var(--light);
    padding-left: 0;
    padding-right: 0;
    margin-right: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-size: 15px;
    font-weight: 600;
}

.appointment-form>nav>a.nav-link:hover,
.appointment-form>nav>a.nav-link:focus {
    color: #fff;
}

.appointment-form>nav>a.nav-link.active {
    color: #fff !important;
    border-bottom: solid 3px var(--secondary) !important;
}

.service-item img,
.service-item .bg-light,
.service-item .bg-light h5,
.team-item .team-text {
    transition: .5s;
}

.service-item:hover img {
    transform: scale(1.15);
}

.team-item .team-text::after,
.service-item .bg-light::after {
    position: absolute;
    content: "";
    top: 50%;
    bottom: 0;
    left: 15px;
    right: 15px;
    border-radius: 100px / 15px;
    box-shadow: 0 0 15px rgba(0, 0, 0, .7);
    opacity: 0;
    transition: .5s;
    z-index: -1;
}

.team-item:hover .team-text::after,
.service-item:hover .bg-light::after {
    opacity: 1;
}

.bg-offer {
    background: url(../images/carousel-3.jpg) center center no-repeat;
    background-size: cover;
}

.offer-text {
    background: rgba(19, 65, 112, .85);
}

@media (max-width: 767px) {
    .blog {
        padding: 0 !important;
    }

    .bg-offer {
        padding: 0;
        background: rgba(19, 65, 112, 1);
    }

    .bg-offer .container {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    .offer-text.text-center.rounded.py-5.px-3 {
        padding-right: 0.5rem !important;
        padding-left: 0.5rem !important;
    }
}

.price-carousel .owl-nav {
    position: absolute;
    width: calc(100% + 45px);
    height: 45px;
    top: calc(50% - 22.5px);
    left: -22.5px;
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: .5s;
}

.price-carousel:hover .owl-nav {
    opacity: 1;
}

.price-carousel .owl-nav .owl-prev,
.price-carousel .owl-nav .owl-next {
    position: relative;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 2px;
    font-size: 22px;
    transition: .5s;
}

.price-carousel .owl-nav .owl-prev:hover,
.price-carousel .owl-nav .owl-next:hover {
    background: var(--secondary);
}

.bg-testimonial {
    background: url(../images/carousel-2.jpg) center center no-repeat;
    background-size: cover;
}

.testimonial-carousel {
    background: rgba(19, 65, 112, .85);
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: calc(100% + 46px);
    height: 46px;
    top: calc(50% - 23px);
    left: -23px;
    display: flex;
    justify-content: space-between;
    z-index: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 2px;
    font-size: 22px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--secondary);
}

.testimonial-carousel .owl-item img {
    max-width: 260px;
}

.accordion-button {
    font-size: 0.95rem;
    font-weight: 500
}

.accordion-button:hover {
    background-color: #f8f8f8
}

.accordion-button:focus {
    box-shadow: none
}

.accordion-button::after {
    background-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-position: center center;
    border-radius: 50%
}

.accordion-button:not(.collapsed) {
    color: #000;
    background-color: #f7f7f7;
    font-weight: 600;
    border-bottom: 1px solid #ddd !important
}

.accordion-button:not(.collapsed)::after {
    border-color: #1E88E5
}

.accordion-button.collapsed {
    border-bottom: 1px solid #ddd !important
}

.accordion-collapse.show {
    border-bottom: 1px solid #ddd !important
}

.accordion-collapse {
    background-color: #eaf3fa
}

.accordion-collapse ul li {
    line-height: 2rem;
    width: 100%;
    padding: 0.5rem 1.3rem
}

.accordion-collapse ul li a {
    text-decoration: none;
    color: #333;
    font-size: 0.85rem;
    font-weight: 400;
    display: block
}

.accordion-collapse ul li:hover a {
    color: #222
}

.circle-icons {
    width: 150px;
    height: 150px;
    text-align: center;
    align-items: center;
    display: inline-block;
    min-height: 150px;
}

.banner-block {
    height: 445px;
}

@media (max-width: 767px) {
    .banner-block {
        height: auto !important;
    }

    .newsletter {
        margin-left: -1rem;
        margin-right: -1rem;
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }
}

.counter {
    font-size: 25px;
    line-height: 2.4;
    color: #fff;
    font-weight: 600;
}

.btn {
    border-radius: 4px;
}

#waButton {
    z-index: 3;
}

@media (min-width: 1300px) {
    .home-boxes {
        min-height: 502px;
    }
}

.controls label {
    font-weight: 500;
    margin-bottom: 8px;
}

.ms-dd {
    width: 100%;
    border-radius: 0.25rem;
    padding: 0;
}

.ms-dd .ms-dd-header {
    border: 1px solid #ced4da;
    border-bottom: 0;
    border-radius: 0.25rem;
    cursor: pointer;
    min-height: 55px !important;
    position: relative;
    width: 100%;
    display: block;
    width: 100%;
    padding: 0;
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.9;
    background-color: #EEF9FF !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.ms-dd .ms-dd-header a {
    font-family: 'Spline Sans', sans-serif;
    background-color: transparent;
    border: 0;
    padding: 0.375rem 2.25rem 0.375rem 0.75rem;
    font-weight: 400 !important;
    text-align: left;
    margin: 0;
    border-radius: 0.25rem;
    color: #6B6A75;
    min-height: 55px;
    text-rendering: auto;
}

.ms-dd .ms-dd-arrow.ms-dd-pointer-down {
    width: 12px;
    height: 16px;
    margin-right: 4px;
    margin-top: -5px;
    border: 0;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    border-radius: 0;
}

.ms-dd .ms-list-option.option-selected,
.ms-dd .ms-optgroup ul .ms-list-option.option-selected {
    background: transparent;
}

.ms-dd .ms-dd-header .option-selected {
    color: #6B6A75;
}

.ms-dd .ms-options {
    box-shadow: none;
}

#coverageModal .list-group-item {
    color: #6B6A75;
}

.list-group-numbered>li::before {
    font-weight: bold;
    color: #134170;
}

.modal-total_loss {
    font-weight: 500;
}

.title-view-admin{
    text-align: center;
    background-color:#134170 !important;
}
.title-view-admin h5{
    color: white !important;
}
