/********** Template CSS **********/
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

:root {
    --primary: #fd0305;
    --green: #00fc01;
    --blue: #51529F;
    --light: #EFF5F9;
    --dark: #1D2A4D;
}

.btn {
    font-weight: 700;
    transition: .5s;
}

.btn:hover {
    -webkit-box-shadow: 0 8px 6px -6px #555555;
    -moz-box-shadow: 0 8px 6px -6px #555555;
    box-shadow: 0 8px 6px -6px #555555;
}

.btn-primary {
    color: #FFFFFF;
}

.text-primary{
    color: #51529f!important;
}
.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;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 0;
    border-radius: 50% 50% 0 0;
    z-index: 99;
}

.navbar-light .navbar-nav .nav-link {
    font-family: 'Jost', sans-serif;
    position: relative;
    margin-left: 30px;
    padding: 0;
    font-size: 18px;
    color: #FFFFFF;
    outline: none;
    transition: .5s;
}

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

.dropdown .dropbtn.active {
    color: var(--green) !important;
}

.navbar-light .navbar-nav .show > .nav-link, .navbar-light .navbar-nav .nav-link.active {
    color: var(--green) !important;
}

#myHeader {
    background-color: var(--primary);
    border-bottom-color: white;
    border-bottom-style: solid;
    border-bottom-width: 3rem;
    padding: 0 3rem;
}

@media (min-width: 992px) {
    .navbar-light .navbar-nav .nav-link:hover::before,
    .navbar-light .navbar-nav .nav-link.active::before {
        width: 100%;
        left: 0;
    }

    .hero-header {
        padding-bottom: 10%;
    }

    .logo {
        height: 94px !important;
       /* margin-top: 17px !important;*/
    }

    .navbar-light .navbar-nav .nav-link {
        font-size: 18px;
    }

    .btn-cover {
        font-size: 20px;
    }

    .grid-footer {
        display: grid;
        grid-template-columns: 25% auto;
        grid-gap: 10%;
    }

    .dropdown {
        margin-left: 30px;
    }
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link {
        margin-left: 0;
        padding: 10px 0 0;
    }

    .dropdown {
        padding: 10px 0 0;
    }

    #myHeader {
        padding: 0;
    }
}

/*.hero-header {
    background-size: cover!important;
    overflow: hidden;
    background-color: #51529f;  !* fallback colour. Make sure this is just one solid colour. *!
    background: -webkit-linear-gradient(rgba(124, 49, 66, 0.5), rgba(191, 101, 82, 0.5)), url(../img/bg-image.jpg) center;
}*/

.hero-header {
    display: flex;
    justify-content: flex-end;
    flex-direction: column;
    position: relative;
    background-size: cover;
    background-position: center center;
    background-image: url(../img/bg-image.jpg);
}

.hero-header:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, transparent 83%, black 110%),
    linear-gradient(transparent 45%, black 200%),
    linear-gradient(to left, transparent 60%, black 200%),
    linear-gradient(to right, transparent 60%, black 200%)
}

.affiliations-header {
    background-size: cover !important;
    overflow: hidden;
    background-color: #51529f;
    background: -webkit-linear-gradient(rgba(202, 210, 239, 0.9), rgba(232, 84, 100, 0.2)), url(../img/affiliations.jpg);
}

.service-item {
    position: relative;
    height: 350px;
    padding: 0 30px;
    transition: .5s;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 0.0625em 0.0625em, rgba(0, 0, 0, 0.25) 0px 0.125em 0.5em, rgba(255, 255, 255, 0.1) 0px 0px 0px 1px inset;
}

.service-item .service-icon {
    width: 150px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    border-radius: 50%;
    transform: rotate(-14deg);
}

.service-item .service-icon i {
    transform: rotate(15deg);
}

.service-item a.btn {
    position: absolute;
    width: 60px;
    bottom: -48px;
    left: 50%;
    margin-left: -30px;
    opacity: 0;
}

.service-item:hover a.btn {
    bottom: -24px;
    opacity: 1;
    color: #ffffff;
}

.price-carousel::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 50%;
    bottom: 0;
    left: 0;
    background: var(--primary);
    border-radius: 8px 8px 50% 50%;
    z-index: -1;
}

.price-carousel .owl-nav {
    margin-top: 35px;
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
}

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

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

.grid-affiliations{
    display: grid;
    grid-template-columns: 35% 35%;
    grid-column-gap: 5%;
}

.div-separator{
    margin-top: 50px;
    display: flex;
    justify-content: space-around;
    background: #51529f;
    color: white;
    font-size: 1.8em;
    height: 100px;
    align-items: center;
 }

@media (min-width: 576px) {
    .team-item .row {
        height: 300px;
    }
}

@media (max-width: 992px) {
    .grid-affiliations {
        display: grid;
        grid-template-columns: 48% 48%;
        grid-column-gap: 4%;
    }

    .container {
        max-width: unset;
    }

    .btn-cover {
        padding: 0.75rem 1.75rem;
        font-size: 18px;
    }
}

@media (max-width: 600px) {
    .grid-affiliations {
        display: grid;
        grid-template-columns: unset;
        grid-column-gap: 5%;
    }

    .div-separator {
        display: none !important;
    }

    .hero-header {
        padding-bottom: 35%;
    }

    .btn-cover {
        padding: 0.75rem 1.75rem;
    }

    .img-index-two {
        display: none;
    }

    .fa-3x {
        font-size: 1.5em;
    }

    .about-subtitles {
        font-size: 12px;
    }

    .py-4 {
        padding-top: 0.5rem !important;
        padding-bottom: 0.5rem !important;
    }

    .pt-5 {
        padding-top: 1rem !important;
    }

    .div-insurance-partners, .div-insurance-partners-b {
        height: 70px !important;
        width: 70px !important;
        margin-top: 10px;
    }

    .blog-image {
        height: unset !important;
    }

    .blog-content {
        padding: 0.5rem !important;
    }

    .blog-card{
        display: grid;
        grid-template-rows: 75% 25%;
    }
}

.team-carousel .owl-nav {
    position: absolute;
    padding: 0 45px;
    width: 100%;
    height: 45px;
    top: calc(50% - 22.5px);
    left: 0;
    display: flex;
    justify-content: space-between;
}

.team-carousel .owl-nav .owl-prev,
.team-carousel .owl-nav .owl-next {
    position: relative;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: #fd0305;
    opacity: 0.65;
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

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

.testimonial-carousel .owl-dots {
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 20px;
    height: 20px;
    background: var(--light);
    border: 2px solid var(--primary);
    border-radius: 20px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 40px;
    height: 40px;
    background: var(--primary);
}

.testimonial-carousel .owl-item img {
    width: 150px;
    height: 150px;
}
.border-bottom2 {
    border-bottom: 4px solid #00fc01 !important;
    width: max-content;
}
.text-body{
    color: var(--blue)!important;
    font-size: 0.9rem;
}
.text-primary-icon{
    color: #fd0305 !important;
}

.btn-primary2{
    background-color: #fd0305 !important;
    border-color: #fd0305 !important;
    color: #ffffff!important;
}
.div-vision{
    display: grid;
    grid-template-columns: 90% 10%;
}
.text-white{
    color: white;
}
.text-black{
    color: #000000;
}
.text-theme-blue {
    color: #51529f;
}

.bg-theme {
    background-color: #fd0305;
}

.bg-theme-color {
    color: #fd0305;
}

.bg-theme-blue {
    background-color: #002366;
}

.border-secondary-g {
    border-color: #00fc01 !important;
}

.border-bottom-g {
    border-bottom: 4px solid #00fc01 !important;
}

.description-text {
    font-weight: bold;
    font-style: italic;
}

.display-4 {
    color: #fd0305;
}

.search-title {
    color: #51529f !important;
}

.color-red {
    color: var(--primary);
}

.color-green {
    color: var(--green);
}

.btn:hover {
    background-color: #E5E4E2;
    color: rgb(81, 82, 159);
}

.m-t-05 {
    margin-top: 0.5em;
}

.p-affiliations {
    font-size: 0.9em;
}

.p-affiliations-header {
    font-size: 0.85em;
}

.a-logo {
    background-color: var(--primary);
    border-radius: 50%;
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.max-100 {
    max-width: 100% !important;
}

/*** Carousel Start **/

.section-title {
    text-align: center;
    margin: 35px;
}

.section-borders span {
    height: 5px;
    background: #00fc01;
    width: 40px;
    display: inline-block;
    border-radius: 2px;
}

.section-borders span.black-border {
    background: #333;
    width: 30px;
    margin: 0 6px;

}

.client-testimonial-carousel .owl-dots button {
    height: 5px;
    background: #6aaf08 !important;
    width: 20px;
    display: inline-block;
    margin: 5px;
    transition: .2s;
    border-radius: 2px;
}

.client-testimonial-carousel button.owl-dot.active {
    background: #000 !important;
    width: 30px;
}

.client-testimonial-carousel .owl-dots {
    text-align: center;
    margin-top: 25px
}

.single-testimonial-item {
    position: relative;
    box-shadow: 0 0 2px #fd0305;
    margin: 2px;
    padding: 3em 20px;
    font-style: italic;
    padding-left: 85px;
    border-radius: 25px;
    background-color: white;
    height: 250px;
}

.single-testimonial-item:before {
    font-family: "Font Awesome 5 Free";
    content: "\f10e";
    font-weight: 900;
    position: absolute;
    left: 20px;
    top: 50%;
    font-size: 20px;
    color: #00fc01;
    line-height: 30px;
    margin-top: -15px;
}

.single-testimonial-item:after {
    background: #ddd;
    content: "";
    height: 70%;
    left: 60px;
    position: absolute;
    top: 10%;
    width: 1px;
}

.single-testimonial-item h3 {
    font-size: 20px;
    font-style: normal;
    margin-bottom: 0;
}

.single-testimonial-item h3 span {
    display: block;
    font-size: 12px;
    font-weight: normal;
    margin-top: 5px;
}

.single-partners-item {
    position: relative;
    box-shadow: 0 0 2px #fd0305;
    margin: 2px;
    padding: 4em 20px;
    font-style: italic;
    padding-left: 85px;
    border-radius: 25px;
    background-color: white;
}

/*** Carousel End **/

.nav-link.active {
    color: var(--green) !important;
}

.grid-footer-icons {
    display: grid;
    grid-template-columns: 30px auto;
    align-items: center;
}

.p-50{
    padding-top: 50px;
}

.col-map{
    display: flex;
    align-content: center;
    align-items: center;
}

.div-insurance-partners{
    height: 115px;
    background-repeat: no-repeat;
    background-size: contain;
    width: 150px;
    margin-top: 1em;
}

.div-insurance-partners-b{
    height: 120px;
    width: 150px;
    margin-top: 1em;
    background-repeat: no-repeat;
    background-size: contain;
    margin-top: 1em;
}


.sticky {
  position: fixed;
  top: 0;
    width: 100%;
}

.sticky + .content {
    padding-top: 102px;
}

.shadow-sm {
    box-shadow: none !important;
}

.font-weight-normal {
    font-weight: normal;
}

.navbar {
    overflow: hidden;
    position: unset;
}

.dropdown {
    float: left;
    overflow: hidden;
    position: unset;
}

.dropdown .dropbtn {
    border: none;
    outline: none;
    background-color: inherit;
    font-family: 'Jost', sans-serif;
    position: relative;
    padding: 0;
    font-size: 18px;
    color: #FFFFFF;
    transition: 1s;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.dropdown-content a {
    float: none;
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown-content a:hover {
    background-color: #ddd;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.contact-card {
    border-radius: 20px;
    box-shadow: 0px 5px 8px -5px #fd0305;
    height: fit-content;
    padding: 3em 3em;
}

.navbar-toggler {
    font-size: unset;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.05rem;
}

.owl-2-style .owl-nav {
  display: none; }

.owl-2-style .owl-dots {
  text-align: center;
  position: relative;
  bottom: -30px; }
  .owl-2-style .owl-dots .owl-dot {
    display: inline-block; }
    .owl-2-style .owl-dots .owl-dot span {
      display: inline-block;
      width: 15px;
      height: 3px;
      border-radius: 0px;
      background: #cccccc;
      -webkit-transition: 0.3s all cubic-bezier(0.32, 0.71, 0.53, 0.53);
      -o-transition: 0.3s all cubic-bezier(0.32, 0.71, 0.53, 0.53);
      transition: 0.3s all cubic-bezier(0.32, 0.71, 0.53, 0.53);
      margin: 3px; }
    .owl-2-style .owl-dots .owl-dot.active span {
      background: #007bff; }
    .owl-2-style .owl-dots .owl-dot:active, .owl-2-style .owl-dots .owl-dot:focus {
      outline: none; }

