/*!
Theme Name: Combine Group
Template: Divi
*/
#main-header {
    position: unset !important;
}

/* foundation styles */
#page-container {

    .modal .btn-close {
        position: absolute;
        right: 1.5rem;
        top: 1.5rem;
        z-index: 1000;
    }

    .card {
        position: relative;
        width: 100%;
    }
    .card {
        word-wrap: break-word;
        background-clip: border-box;
        background-color: #fff;
        border: 0 solid #f1f4f8;
        border-radius: .375rem;
        display: flex;
        flex-direction: column;
        min-width: 0;
    }

    .card-body, .card-footer, .card-img, .card-img-end, .card-img-start, .card-img-top, .card-meta {
        min-height: 1px;
        position: relative;
    }

    .card-img, .card-img-top {
        border-top-left-radius: .375rem;
        border-top-right-radius: .375rem;
    }

    .card-img, .card-img-bottom, .card-img-top {
        width: 100%;
    }

    img, svg {
        vertical-align: middle;
    }

    .fs-sm {
        font-size: .9375rem!important;
    }

    .form-group {
        margin-bottom: 1rem;
    }

    .visually-hidden, .visually-hidden-focusable:not(:focus):not(:focus-within) {
        clip: rect(0,0,0,0)!important;
        border: 0!important;
        height: 1px!important;
        margin: -1px!important;
        overflow: hidden!important;
        padding: 0!important;
        position: absolute!important;
        white-space: nowrap!important;
        width: 1px!important;
    }
    .form-control {
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        background-clip: padding-box;
        background-color: #fff;
        border: 1px solid #f1f4f8;
        border-radius: .375rem;
        box-shadow: none;
        color: #161c2d;
        display: block;
        font-size: 1.0625rem;
        font-weight: 400;
        line-height: 1.6;
        padding: .8125rem 1.25rem;
        transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
        width: 100%;
    }

    .logo_container {
        width: 20% !important;
    }

    .navbar-toggler {
        border-color: transparent;
        color: #506690;
        background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%23506690' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
    }


    @media (min-width: 1200px) {
        #et-top-navigation .navbar-collapse {
            display: flex !important;
            flex-basis: auto;
        }
    }

    @media (max-width: 1199px) {
        .navbar-collapse .navbar-toggler {
            position: absolute;
            right: 1rem;
            top: 1rem;
            z-index: 1;
        }
        .navbar-collapse.show {
            opacity: 1;
            transform: scale(1);
        }
        .navbar-collapse.collapsing, .navbar-collapse.show {
            transform-origin: top right;
            transition: all .2s ease-in-out;
            transition-property: opacity,transform;
        }
        .navbar-collapse {
            background-color: #fff;
            border-radius: .375rem;
            box-shadow: 0 1.5rem 4rem rgba(22,28,45,.15);
            height: auto;
            left: 1rem;
            max-height: calc(100% - 2rem)!important;
            overflow-x: hidden;
            overflow-y: scroll;
            position: fixed;
            top: 3rem;
            width: calc(100% - 2rem);
        }
        .navbar-collapse {
            align-items: center;
            flex-basis: 100%;
            flex-grow: 1;
        }

        .dropdown-menu {
            position: inherit !important;
            inset: -10px auto auto 0px !important;
        }

        .navbar-nav .dropdown-img-start {
            display: none;
        }
    }

    @media (min-width: 1200px) {
        .navbar-nav {
            flex-direction: row;
        }
        .navbar-toggler {
            display: none;
        }
        .dropdown-menu {
            --bs-dropdown-min-width: 20rem;
            inset: -10px auto auto 0px !important;
        }

        .navbar-nav .dropdown>.dropdown-menu {
            left: 50%;
            transform: translate(-50%, 10px);
        }

        .list-group {
            border-radius: .375rem;
            display: flex;
            flex-direction: column;
            margin-bottom: 0;
            padding-left: 0;
        }

        .navbar-nav .dropdown-menu .list-group-item {
            align-items: center;
            color: inherit;
            display: flex;
            padding-bottom: 1rem;
            padding-top: 1rem;
        }

        .navbar-nav .dropdown-menu-lg .dropdown-img-start,
        .navbar-nav .dropdown-menu-xl .dropdown-img-start {
            padding: 3rem 3rem;
        }

        .navbar-nav .dropdown-img-start {
            align-items: center;
            background: no-repeat 50%/cover;
            border-bottom-left-radius: .375rem;
            border-top-left-radius: .375rem;
            flex-direction: column;
            height: 100%;
            justify-content: center;
            padding: 1.625rem 1.75rem;
            display: flex;
        }


        .navbar-nav .dropdown-img-start:before {
            background-color: rgba(0, 0, 128, .8);
            opacity: .8;
            border-radius: inherit;
            bottom: 0;
            content: "";
            left: 0;
            position: absolute;
            right: 0;
            top: 0;
            width: 19.25rem;
        }

        .dropdown-menu-xl {
            min-width: 46rem;
        }

        .navbar-nav .dropdown-menu-lg .dropdown-body,
        .navbar-nav .dropdown-menu-xl .dropdown-body {
            padding: 2.375rem 2.5rem;
        }

        .navbar-nav .dropdown-img-start * {
            position: relative;
        }

        .dropdown-item {
            margin-left: -1.75rem;
            margin-right: -1.75rem;
            min-width: 100%;
            width: auto;
            background-color: transparent;
            border: 0;
            clear: both;
            color: #506690;
            display: block;
            font-weight: 400;
            padding: 0 1.75rem;
            text-align: inherit;
            white-space: nowrap;
            margin-top: .45rem;
        }


    }
    .dropdown-menu-lg .dropdown-item,
    .dropdown-menu-xl .dropdown-header {
        margin-left: -2.5rem;
        margin-right: -2.5rem;
        padding-left: 2.5rem;
        padding-right: 2.5rem;
        margin-top: 0;
        margin-bottom: 0;
    }

    .dropdown-header {
        font-size: 1rem;
        font-weight: 600;
        letter-spacing: .08em;
        line-height: 1.55;
        margin-left: -1.75rem;
        margin-right: -1.75rem;
        padding-top: 0;
        text-transform: uppercase;
        color: navy;
        display: block;
        font-size: .9375rem;
        margin-bottom: 0;
        padding: .625rem .75rem;
        white-space: nowrap;
    }
    -webkit-tap-highlight-color: rgba(22, 28, 45, 0);
    background-color: #fff;
    color: #161c2d;
    font-size: 1.0625rem;
    font-weight: 400;
    line-height: 1.6;
    margin: 0;
    -webkit-text-size-adjust: 100%;

    .h1,
    .h2,
    h1,
    h2 {
        margin-bottom: 1rem;
    }

    .h1,
    .h2,
    .h3,
    .h4,
    h1,
    h2,
    h3,
    h4 {
        letter-spacing: -.01em;
    }

    .h4,
    h4 {
        line-height: 1.45;
    }

    .h4,
    h4 {
        font-size: 1.1875rem;
    }

    .h1,
    .h2,
    .h3,
    .h4,
    .h5,
    .h6,
    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        font-weight: 400;
        line-height: 1;
        margin-bottom: .5rem;
        margin-top: 0;
    }

    .h6,
    h6 {
        font-size: 1rem;
    }

    .h6,
    h6 {
        line-height: 1.55;
    }

    .h6.text-uppercase,
    .text-uppercase.h6,
    h6.text-uppercase {
        letter-spacing: .08em;
    }

    a {
        color: navy;
        text-decoration: none;
    }

    a:hover {
        text-decoration: underline;
    }

    .text-uppercase {
        text-transform: uppercase !important;
    }

    .navbar-nav .nav-link {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .collapse.navbar-collapse {
        padding-bottom: 40px;
    }
}


/* imported from og site */

#page-container {
    .align-items-center {
        align-items: center !important;
    }

    .badge i {
        color: #42ba96;
        font-size: 16px;
    }

    .bg-gradient-light-white {
        background-image: linear-gradient(180deg, #f9fbfd 0, #fff);
    }

    .text-white {
        color: #fff !important;
    }

    .text-muted {
        color: #5b677a !important;
    }

    .text-gray-800 {
        color: #384c74 !important;
    }

    .text-gray-700 {
        color: #506690 !important;
    }

    .text-white-75 {
        color: hsla(0, 0%, 100%, .75) !important;
    }

    .text-primary {
        color: navy !important;
    }

    .text-primary-desat {
        color: #6c8aec !important;
    }

    .text-secondary {
        color: #c31c16 !important;
    }

    .text-reset {
        color: inherit !important;
    }

    .text-decoration-none {
        text-decoration: none !important;
    }

    .text-md-start {
        text-align: left !important;
    }

    .fw-bold {
        font-weight: 600 !important;
    }

    .fs-xs {
        font-size: .7rem;
    }

    .display-3 {
        line-height: 1.2;
        font-size: 3rem;
        font-weight: 400;
    }

    .display-1,
    .display-2,
    .display-3,
    .display-4 {
        letter-spacing: -.02em;
    }

    .btn {
        background-color: transparent;
        border: 1px solid transparent;
        border-radius: .375rem;
        color: #161c2d;
        cursor: pointer;
        display: inline-block;
        font-size: 1.0625rem;
        font-weight: 600;
        line-height: 1.6;
        padding: .8125rem 1.25rem;
        text-align: center;
        transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
        -webkit-user-select: none;
        -moz-user-select: none;
        user-select: none;
        vertical-align: middle;
    }

    .btn:hover {
        color: #161c2d;
        text-decoration: none;
    }

    .btn-primary {
        background-color: navy;
        border-color: navy;
        box-shadow: none;
        color: #fff;
    }

    .btn-primary-soft {
        background-color: rgba(0, 0, 128, .1);
        color: navy;
    }

    .btn-primary-soft.active,
    .btn-primary-soft:focus,
    .btn-primary-soft:hover {
        background-color: rgba(0, 0, 128, .15);
        color: navy;
    }

    .btn-check:focus+.btn-primary,
    .btn-primary:focus,
    .btn-primary:hover {
        background-color: #00006d;
        border-color: #006;
        color: #fff;
    }

    .btn-secondary {
        background-color: #c31c16;
        border-color: #c31c16;
        box-shadow: none;
        color: #fff;
    }

    .btn-outline-secondary {
        border-color: #c31c16;
        color: #c31c16;
    }

    .btn-success {
        background-color: #42ba96;
        border-color: #42ba96;
        box-shadow: none;
        color: #fff;
    }

    .btn-check:focus+.btn-secondary,
    .btn-secondary:focus,
    .btn-secondary:hover {
        background-color: #a61813;
        border-color: #9c1612;
        color: #fff;
    }

    .btn:not([class*=btn-outline]) {
        border-color: transparent !important;
    }

    .btn-pill {
        border-radius: 50rem;
    }

    .btn-xs {
        font-size: .9375rem;
        padding: .25rem .625rem;
    }

    .btn-danger {
        background-color: #df4759;
        border-color: #df4759;
        box-shadow: none;
        color: #fff;
    }

    .btn-white {
        background-color: #fff;
        color: navy;
    }

    .btn-check:focus+.btn-danger,
    .btn-danger:focus,
    .btn-danger:hover {
        background-color: #be3c4c;
        border-color: #b23947;
        color: #fff;
    }


    .lift {
        transition: box-shadow .25s ease, transform .25s ease;
    }

    .lift:focus,
    .lift:hover {
        box-shadow: 0 1rem 2.5rem rgba(22, 28, 45, .1), 0 .5rem 1rem -.75rem rgba(22, 28, 45, .1) !important;
        transform: translate3d(0, -3px, 0);
    }

    .shadow-lg {
        box-shadow: 0 1.5rem 4rem rgba(22, 28, 45, .1) !important;
    }

    .shadow {
        box-shadow: 0 .5rem 1.5rem rgba(22, 28, 45, .1) !important;
    }

    .p-1 {
        padding: .25rem !important;
    }

    .me-1 {
        margin-right: .25rem !important;
    }

    .mb-0 {
        margin-bottom: 0 !important;
    }
    .mb-5 {
        margin-bottom: 1.5rem !important;
    }

    .mb-3 {
        margin-bottom: .75rem !important;
    }

    .mb-6 {
        margin-bottom: 2rem !important;
    }

    .mt-11 {
        margin-top: 6rem !important;
    }

    .mt-1 {
        margin-top: .25rem !important;
    }

    .mt-9 {
        margin-top: 4rem !important;
    }

    .w-150 {
        width: 150% !important;
    }

    .icon>svg {
        height: 3rem;
        width: 3rem;
    }

    .icon-xs>svg {
        height: 1.5rem;
        width: 1.5rem;
    }

    .icon[class*=text-]>svg [fill]:not([fill=none]) {
        fill: currentColor !important;
    }

    .border-primary {
        border-color: navy !important;
    }

    .border-2 {
        border-width: 2px !important;
    }

    .table>:not(caption)>*>* {
        background-color: var(--bs-table-bg);
        border-bottom-width: 1px;
        box-shadow: inset 0 0 0 9999px var(--bs-table-accent-bg);
        padding: 1.5rem 2rem;
    }

    .table-striped>tbody>tr:nth-of-type(odd) {
        --bs-table-accent-bg: var(--bs-table-striped-bg);
        color: var(--bs-table-striped-color);
    }

    .contact-us__numbers a {
        display: block;
        margin-bottom: 0;
    }

    @media (min-width: 1200px) {
        .avatar-xxl {
            font-size: 1.66667rem;
            height: 5rem;
            width: 5rem;
        }
    }

    .avatar-xxl {
        font-size: 1.33333rem;
        height: 4rem;
        width: 4rem;
    }

    .avatar {
        display: inline-block;
        font-size: .625rem;
        height: 3.875rem;
        position: relative;
        width: 3.875rem;
    }

    .avatar-img {
        height: 100%;
        object-fit: cover;
        width: 100%;
    }

    .rounded-circle {
        border-radius: 50% !important;
    }

    .card {
        word-wrap: break-word;
        background-clip: border-box;
        background-color: #fff;
        border: 0 solid #f1f4f8;
        border-radius: .375rem;
        display: flex;
        flex-direction: column;
        min-width: 0;
        width: 100%;
    }

    .card-border {
        position: relative;
    }

    .card-border:after {
        border-bottom: calc(.375rem - 2px) solid transparent;
        border-top-color: inherit;
        border-top-left-radius: .375rem;
        border-top-right-radius: .375rem;
        border-top-style: solid;
        border-top-width: 2px;
        content: "";
        position: absolute;
        right: 0;
        top: 0;
        width: 100%;
    }

}

/* --- front page form --- */

#gform_wrapper_1 {
    .gform_heading {
        display: none;
    }

    #gform_submit_button_1 {
        background-color: #42ba96;
        box-shadow: none;
        color: #fff;
        padding: .8125rem 1.25rem;
    }
}

/* --- new styles --- */

.custom-image-slider {
    div {
        background-color: unset !important;
    }

    .et_pb_slide_image {
        width: 100%;
    }

    .et-pb-slider-arrows a {
        align-items: center;
        background-color: navy;
        box-shadow: 0 .5rem 1.5rem rgba(22, 28, 45, .05);
        color: #fff !important;
        display: flex;
        justify-content: center;
        border-radius: 50%;
    }
}

.custom-image-slider.custom-image-slider--white-arrow {
    .et-pb-slider-arrows a {
        background-color: white !important;
        color: grey !important;
    }
}

.custom-text-slider {
    .et_pb_bg_layout_dark .et_pb_slide_description {
        text-shadow: none;
    }

    .et-pb-slider-arrows a {
        align-items: center;
        background-color: navy;
        box-shadow: 0 .5rem 1.5rem rgba(22, 28, 45, .05);
        color: #fff !important;
        display: flex;
        justify-content: center;
        border-radius: 50%;
    }
}

#footer-widgets .footer-widget li:before {
    content: none;
}

/* --- professional liability page --- */

#post-726 .text-center.text-md-start {
    display: flex;
}

#post-726 .text-center.text-md-start a {
    line-height: 4px;
}

/* footer stuff */

#footer-widgets {
    .footer-widget {
        display: flex;
        flex-direction: column;
    }

    .footer-widget .fwidget {
        margin-bottom: 0;
    }

    .footer-widget .fwidget ul {
        padding-left: 0;
    }

    .footer-widget .fwidget ul li {
        padding-left: 0;
    }

    .footer-widget .fwidget ul li a:not(.wp-block-social-link-anchor) {
        color: #5b6775 !important;
        line-height: 1.6;

    }

    .footer-widget .fwidget ul li a:hover {
        text-decoration: underline;
    }

    .wp-block-social-links {
        padding-top: 15px;
    }

    .ot-sdk-show-settings {
        color: #5b6775 !important;
        cursor: pointer;
    }

    .ot-sdk-show-settings:hover {
        text-decoration: underline;
    }
}

/* header styles */

#et-top-navigation {
    padding-left: 0 !important;

    #top-menu a {
        color: #506690
    }

    #top-menu .sub-menu a {
        color: navy
    }

    #top-menu a:hover {
        color: navy;
        text-decoration: none;
    }
}