* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: open-bold;
    src: url(../fonts/OpenSans-Bold.ttf);
}

@font-face {
    font-family: open-bold;
    src: url(../fonts/OpenSans-Bold.ttf);
}

@font-face {
    font-family: open-semi;
    src: url(../fonts/OpenSans-SemiBold.ttf);
}

@font-face {
    font-family: open-regular;
    src: url(../fonts/OpenSans-Regular.ttf);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: open-bold;
}

body {
    overflow-x: hidden;
    font-family: open-regular;
}


img {
    width: 100%;
}

.wrap {
    max-width: 1200px;
    margin: auto;
}

section {
    background-color: #f9f9f9;
    padding: 30px 20px;
}

body.magnificpopupnoscroll {
    height: 100vh;
    overflow-y: hidden !important;
}

/* .mfp-bg.mfp-zoom-in.mfp-ready {
    height: fit-content !important;
    width: 100%;
} */

section h2 {
    margin-bottom: 30px;
}

.main-nav {
    position: fixed;
    width: 100%;
    top: 0;
    background-color: white;
    box-shadow: 0 0 20px 3px #391152;
    z-index: 100;
}

@media all and (max-width:991px) {
    .main-nav ul.navbar-nav {
        text-align: center;
    }

    .main-nav .book-appointment {
        justify-content: center;
    }
}

.main-nav .navbar-brand img {
    width: 200px;
}

.main-nav .nav-link {
    color: #000;
    padding: 14px !important;
    /* font-size: 14px; */
    font-family: open-semi;
}

@media all and (max-width:1080px) and (min-width:992px) {
    .main-nav .nav-link {
        padding: 12px !important;
        font-size: 14px;
    }
}

.main-nav .book-appointment {
    gap: 10px;
}

.main-nav .book-appointment button {
    padding: 10px 15px;
    border: none;
    background-color: #391152;
    border: 1px solid #391152;
    color: white;
    transition: all .3s ease-in;
}

.main-nav .book-appointment button:hover {
    background-color: white;
    color: #391152;
}

.navbar-toggler {
    border: none !important;
    box-shadow: none !important;
}

.navbar-toggler span {
    display: block;
    width: 30px;
    height: 2px;
    margin: 6px auto;
    background: rgba(44, 48, 103, 1);
    transition: all .6s cubic-bezier(0.250, 0.100, 0.250, 1.000);
}

.navbar-toggler:hover span,
.navbar-toggler:focus span {
    background: rgba(44, 48, 103, 1);
}

/* rotate first span */
.navbar-toggler[aria-expanded="true"] span:first-of-type {
    transform: rotate(45deg) translate(6px, 6px);
}

/* hide second span */
.navbar-toggler[aria-expanded="true"] span:nth-of-type(2) {
    opacity: 0;
}

/* rotate third span */
.navbar-toggler[aria-expanded="true"] span:last-of-type {
    transform: rotate(-45deg) translate(5px, -5px);
}

.navbar-toggler[aria-expanded="false"] span {
    transform: none;
    opacity: 1;
}

.navbar-toggler .navbar-toggler span {
    display: block;
    width: 30px;
    height: 2px;
    margin: 6px auto;
    background: rgba(44, 48, 103, 1);
    transition: all .6s cubic-bezier(0.250, 0.100, 0.250, 1.000);
}

/* rotate first span */
.navbar-toggler[aria-expanded="true"] span:first-of-type {
    transform: rotate(45deg) translate(6px, 6px);
}

/* hide second span */
.navbar-toggler[aria-expanded="true"] span:nth-of-type(2) {
    opacity: 0;
}

/* rotate third span */
.navbar-toggler[aria-expanded="true"] span:last-of-type {
    transform: rotate(-45deg) translate(5px, -5px);
}

.navbar-toggler[aria-expanded="false"] span {
    transform: none;
    opacity: 1;
}

@keyframes rotateMenu {
    0% {
        transform: rotateX(-90deg);
    }

    70% {
        transform: rotateX(20deg);
    }

    100% {
        transform: rotateX(0deg);
    }
}

@media all and (min-width:992px) {
    .dropdown {
        /* padding: 20px 40px; */
        display: flex;
        justify-content: center;
        align-items: center;
        /* color: #fff;
        background: #c06162;
        background: #34495e; */
        position: relative;
        /* font-size: 18px; */
        perspective: 1000px;
        /* display: none; */
        z-index: 100;
    }

    .dropdown:hover {
        /* background: #2980b9; */
        cursor: pointer;
    }

    .dropdown:hover .dropdown_menu li {
        display: block;
    }

    .dropdown_menu {
        position: absolute;
        top: 100%;
        left: 0;
        padding: 0;
        /* width: 100%; */
        perspective: 1000px;
        z-index: -1;
    }

    .dropdown_menu li {
        display: none;
        background: #391152;
        /* color: #fff; */
        /* background-color: #34495e; */
        padding: 10px 20px;
        font-size: 16px;
        opacity: 0;
        transition: all .2s ease-in;
    }

    .dropdown_menu li:hover {
        background-color: white;
    }

    .main-nav a.dropdown-item {
        color: white;
        background: none !important;
        transition: all .2s ease-in;
    }

    .dropdown_menu li:hover a.dropdown-item {
        color: #391152;
        background: none;
    }

    .dropdown:hover .dropdown_menu--animated {
        display: block;
        border: none;
    }

    .dropdown_menu--animated {
        display: none;
    }

    .dropdown_menu--animated li {
        display: block;
        opacity: 1;
    }

    .dropdown_menu-7 {
        animation: rotateMenu 400ms ease-in-out forwards;
        transform-origin: top center;
    }
}

.header .content {
    padding: 20px;
    background-size: cover;
    max-height: 500px;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background-position: right;
    color: white;
}

.header .content h3 {
    font-size: open-semi;
}

.header .content .wrap {
    width: 100%;
}

.index-header .content {

    background-image: url(../img/index-header.webp);
}

@media all and (max-width:767px) {
    .index-header .content {

        background-image: url(../img/index-mb.webp);
    }
}

.header .khali-div {
    height: 114px;
}

.three-service .img-div img {
    height: 100px;
    width: auto;
}

.three-service .img-div {
    text-align: center;
    padding: 20px 0;
}

.three-service .inr-service {
    padding: 30px;
    transition: all .3s ease-in;
    height: 100%;
}

.three-service .inr-service:hover {
    background-color: white;
    box-shadow: 0px 3px 15.36px 0.64px rgba(20, 80, 145, 0.1);
}

.three-service h2 {
    margin-bottom: 0;
    color: #666;
    /* font-family: ; */
    font-size: 24px;
}

.three-service .inr-service p {
    font-family: open-semi;
    color: #666;
    /* font-family: 'OpenSans-Semibold',sans-serif; */
    font-size: 1rem;
}

.our-services .img-div {
    position: relative;
    overflow: hidden;
}

.our-services a {
    text-decoration: none;
}

.our-services .img-div .content {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: end;
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0) 75%, #000 100%);
    /* padding: 12px; */
    transition: all .3s ease-in;
}

.our-services h2 {
    color: #391152;
}

.our-services .img-div .content .innr {
    padding: 12px;
}

.our-services .content h3 {
    color: #fff;
    font-family: open-semi;
    font-size: 1rem;
}

.our-services .hidden-content {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(20, 0, 145, .5);
    opacity: 0;
    transition: all .3s ease-in;

}

.our-services .hidden-content h3 {
    color: WHITE;
    font-size: 18px;
    text-align: center;
}

.our-services .img-div .hidden-content .innr {
    padding: 0 12px;
}

.our-services .img-div img {
    transition: all .3s ease-in;
}

.our-services .img-div:hover img {
    transform: scale(1.1);
}

.our-services .img-div:hover .content {
    opacity: 0;
}

.our-services .img-div:hover .hidden-content {
    opacity: 1;
}

.patients-first {
    background-color: white;
    padding: 30px 0;
}

@media all and (max-width:991px) {
    .patients-first {
        padding: 30px 20px;
    }
}

.patients-first h2 {
    color: #391152;
}

.patients-first .wrap {
    max-width: 1300px;
    margin: 0 0 auto 0;
}

.patients-first .btn-div button {
    padding: 10px 15px;
    border: none;
    background-color: #391152;
    color: white;
}

.new-patient {
    color: white;
    background-color: white;
}

.new-patient .row {
    background-image: url(../img/new-patients-bg.webp);
    background-position: center;
    background-size: cover;
}

.new-patient h3.count {
    font-size: 150px;
    color: #391152;
}

@media all and (max-width:1150px) {
    .new-patient h3.count {
        font-size: 100px;
    }

    .new-patient .col-lg-5:nth-child(2) {
        align-self: center;
    }
}



.new-patient .rhs-wrap p {
    font-family: open-bold;
    font-size: 21px;

}

.new-patient p.subtitle.text-center {
    font-family: open-semi;
    font-size: 16px;
    color: #391152
}

@media all and (max-width:992px) {

    .new-patient .row {
        background: #391152;
    }

    .new-patient p.subtitle.text-center {
        color: white;
    }

    .new-patient h3.count {
        color: WHITE;
    }

    .new-patient .price-main.d-flex {
        justify-content: center;
    }
}

@media all and (max-width:400px) {
    .new-patient h3.count {
        font-size: 60PX;
    }
}

footer {
    background-color: #391152;
    color: white;
}

@media all and (max-width:767px) {
    footer {
        padding-bottom: 82px;
    }
}

footer .social-links .fb-insta {
    color: #391152;
    display: flex;
    font-size: 30px;
    justify-content: center;
    align-items: center;
    background-color: white;
    border-radius: 8px;
    width: 35px;
    height: 35px;
}

footer a {
    text-decoration: none;
}

.about-header .content {
    height: 300px;
    background-image: url(../img/about-us-header.jpg);
}

@media all and (max-width:767px) {
    .about-header .content {

        background-image: url(../img/about-us-mb.webp);
    }
}

/* .about-first{
    background-color: w;
} */
.about-first h2 {
    color: #391152;
}

.about-first .bg-color {

    color: white;
}

.about-first .bg-color .inr-one {
    height: 90%;
    padding: 20px;
    background-color: #391152;
}

@media all and (max-width:991px) {
    .about-first .bg-color .inr-one {
        height: 100%;
    }
}

.white-popup {
    position: relative;
    background: #fff;
    padding: 25px;
    width: auto;
    max-width: 400px;
    margin: 0 auto;
}

.mfp-3d-unfold {
    /* start state */
    /* animate in */
    /* animate out */
}

.mfp-3d-unfold .mfp-content {
    perspective: 2000px;
}

.mfp-3d-unfold .mfp-with-anim {
    opacity: 0;
    transition: all 0.3s ease-in-out;
    transform-style: preserve-3d;
    transform: rotateY(-60deg);
}

.mfp-3d-unfold.mfp-bg {
    opacity: 0;
    transition: all 0.5s;
}

.mfp-3d-unfold.mfp-ready .mfp-with-anim {
    opacity: 1;
    transform: rotateY(0deg);
}

.mfp-3d-unfold.mfp-ready.mfp-bg {
    opacity: 0.8;
}

.mfp-3d-unfold.mfp-removing .mfp-with-anim {
    transform: rotateY(60deg);
    opacity: 0;
}

.mfp-3d-unfold.mfp-removing.mfp-bg {
    opacity: 0;
}

.team-here {
    background-color: white;
}

.team-here a.d-block {

    position: relative;
    text-decoration: none;
    width: 80%;
    margin: 0 auto;
    margin-bottom: 15px;
}

.team-here a.d-block .view-profile h4 {
    text-align: center;
    font-family: open-semi;
}

.team-here a.d-block .view-profile {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* height: 0; */
    transition: all .5s ease-in;
    color: white;
    background-color: rgba(20, 0, 145, .5);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    padding: 20px;
    /* padding: 10px; */
}

/* .team-here a.d-block:hover {
    box-shadow: inset 0px 0px 10px #0fb7bf;
} */

.team-here a.d-block:hover img {
    filter: grayscale(0);
    transform: scale(1.1);
    /* box-shadow: inset 0px 0px 10px #0fb7bf; */
    /* border-color: #0fb7bf; */

}

.team-here h2 {
    color: #391152;
}

.team-here a.d-block:hover .img-div {
    border-color: #391152;
}

.team-here a.d-block:hover .view-profile {
    opacity: 1;
    /* padding: 20px; */
}

.team-here .img-div {
    /* height: 200px; */
    overflow: hidden;
    border: 3px solid white;
    transition: all .3s ease-in;
    border-radius: 4px;
    transition: all .5s ease-in;
}

.team-here img {
    /* width: 80%;
    margin: auto; */
    /* height: 200px; */
    aspect-ratio: 1/1;
    transition: all .3s ease-in;
    object-fit: cover;
    filter: grayscale(100%);

}

.team-here h4 {
    /* font-family: regular; */
    /* white-space: wrap; */
    /* word-wrap: break-word; */
    text-align: center;
    text-transform: capitalize;
}

.team-popup {
    position: relative;
    background: #391152;
    color: white;
    padding: 40px 20px;
    width: auto;
    max-width: 1000px;
    /* height: 70vh; */
    z-index: 10000000;
    margin: 0 auto;
    border-radius: 20px;
}

.team-popup h5 {
    font-size: 18px;
}



.mfp-close-btn-in .mfp-close {
    color: white;
}

.team-popup .row {
    align-items: center;
    justify-content: center;
}

.team-popup img {
    border-radius: 20px;
}

.team-popup .col-lg-7 {
    /* overflow-y: auto; */
    /* scrollbar-width: 0; */
    /* height: 357px; */
}

.team-popup .col-lg-7 .content {
    overflow-y: auto;
    max-height: 200px;
}

/* .team-popup .col-lg-8::-webkit-scrollbar-thumb {
    background-color: #333;
}

.team-popup .col-lg-8::-moz-scrollbar-thumb {
    background-color: #333;
} */
.team-popup .col-lg-7 .content::-webkit-scrollbar {
    width: 3px;
}

.team-popup .col-lg-7 .content::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

.team-popup .col-lg-7 .content::-webkit-scrollbar-thumb {
    background-color: darkgrey;
    outline: 1px solid slategrey;
}

.team-here p {
    text-align: center;
}

@media all and (max-width:767px) {
    .team-popup .img-div {
        width: 65%;
        margin: auto;
    }

    .team-popup {
        max-height: 80VH;
    }

    .team-popup .col-lg-7 .content {
        overflow-y: auto;
        max-height: 110px;
    }

    .team-popup h5 {
        font-size: 16px;
    }

    .team-popup .col-lg-7 {
        overflow-y: hidden;
    }
}

.testimonials .test-car .item .inner-wrap div{
    text-align: center;
}

.testimonials .test-car {
    padding: 40px 46px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(../img/testimonial-bg.webp);
    background-position: center;
    background-size: cover;
    position: relative;
}

.testimonials .test-car .owl-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    display: flex;
    justify-content: space-between;
}

.testimonials .test-car .owl-nav button {
    color: white;
    width: 30px;
    height: 30px;
    font-size: 15px;
    background-color: #391152;
    padding: 20px;
    border-radius: 50%;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.testimonials .test-car .owl-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.testimonials b {
    display: block;
}

.testimonials .test-car .owl-dot {
    margin-top: 20px;
    width: 10px;
    height: 10px;
    background-color: white;
    border: none;
    border-radius: 50%;
}

.testimonials .owl-stage {
    display: flex;
    align-items: center;
    /* width: 100% !important; */

}

.testimonials .item {
    color: white;
}

.testimonials .owl-stage-outer {
    overflow-x: hidden;
    /* max-width: 500px;
    margin: auto; */
}

.testimonials .inner-wrap {
    max-width: 600px;
    margin: auto;
}

.smile-header .content {
    height: 300px;
    background-image: url(../img/smile-header.jpg);
}

@media all and (max-width:767px) {
    .smile-header .content {

        background-image: url(../img/smile-mb.jpg);
    }
}

.before-after .col-lg-3 img {
    margin-bottom: 15px;
}

.before-after .col-lg-3 p {
    font-family: open-semi;
}

.before-after .under-line-div {
    margin: 30px auto;
    max-width: 600px;
    /* height: 2px;
    background-color: #391152; */
}

.before-after .under-line-div .first {
    width: 80%;
    height: 2px;
    background-color: #391152;
    margin-bottom: 10px;
}

.before-after .under-line-div .second {
    width: 80%;
    margin-left: auto;
    height: 2px;
    background-color: #391152;
}


/*Fees*/
.header.prices-header .content {
    background-image: url(../img/fees-header.webp);
    height: 300px;
}

@media all and (max-width:767px) {
    .header.prices-header .content {

        background-image: url(../img/about-us-mb.webp);
    }
}

.fees-section {
    color: #012840;
    font-size: 16px;
}

.table {
    font-size: 17px;
}

.table th {
    border: none;
}

.table-heading {
    background: #391152;
    color: white;
    font-weight: 400;
}

.fees-section td {
    color: #391152;
    vertical-align: middle;
}

.fees-section td.price {
    white-space: nowrap;
}

.table .name {
    width: 90%;
}

.price {
    text-align: right;
    width: 10%;
}

/*Fees Ends*/

/* ne patient starts  */
.new-patient-header .content {
    background-image: url(../img/new-patient-header.webp);
    height: 300px;
}

@media all and (max-width:767px) {
    .new-patient-header .content {

        background-image: url(../img/new-patient-mb.jpg);
    }
}

.process-treatment {
    background-color: white;
}

.process-treatment .step {
    background-color: #391152;
    border: 1px solid #391152;
    border-radius: 50%;
    height: 100px;
    width: 100px;
    padding: 20px;
    color: white;
    font-family: open-semi;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all .3s ease-in;
}

.process-treatment .step:hover {
    color: #391152;
    background-color: white;
}

.process-treatment p {
    margin-bottom: 0;
}

.process-treatment .row {
    padding: 15px 0;
    align-items: center;
    justify-content: center;
}

.process-treatment .col-lg-3 {
    display: flex;
    justify-content: end;
}

@media all and (max-width:991px) {
    .process-treatment .col-lg-3 {
        justify-content: center;
        margin-bottom: 16px;
    }

    .process-treatment .col-lg-8 p {
        text-align: center;
    }
}

#loom-companion-mv3 {
    display: none;
}

.white-bg section {
    background-color: white;
}

.faq-section button.accordion-button {
    background-color: #391152;
    color: white;
    transition: all .3s ease-in;
}

.faq-section .accordion-button::after {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f106";
    background-image: none;
}

.faq-section button.accordion-button:focus {
    box-shadow: none;
}

.faq-section button.accordion-button:not(.collapsed) {
    background-color: #391152;
    color: white;
}

.faq-section .accordion-body {
    border-color: #391152;
    color: #391152;
    background-color: white;
}

.faq-section .accordion-collapse {
    background-color: #391152;
    color: white;
}

/* contact page  */


.contact-header .content {
    height: 300px;
    background-image: url(../img/contact-header.jpg);
}

@media all and (max-width:767px) {
    .contact-header .content {

        background-image: url(../img/contact-mb.webp);
    }
}

.contact-section {
    /* padding-top: 200px; */
    color: #391152;
}

.contact-left-text div {
    font-size: 17px;
}

/*Forms*/
.form-row {
    margin-left: -15px;
    margin-right: -15px;
}

.form-row .form-group {
    /*padding: 15px 15px 0;*/
    align-self: flex-end;
}

.form-group {
    position: relative;
    padding-top: 15px;
    margin-bottom: 10px;
}

.form-control {
    border: 0;
    border-radius: 0;
    padding: 30px 10px;
    background-color: #eeeeee;
    position: relative;
    font-size: 13px;
}

.custom-select {
    /*background: #eeeeee;*/
    height: 60px;
    padding: 10px 10px;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.form-control:not(textarea) {
    height: 44px;
}

.form-control+.message-label {
    top: 30px;
}

.form-control+label {
    position: absolute;
    z-index: 1;
    bottom: 15px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 3px;
    left: 5px;
    margin: 0;
    color: #391152;
    font-size: 15px;
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    pointer-events: none;

}

.form-control:focus {
    box-shadow: none;
    background-color: transparent;
}

.form-control:focus+label {
    color: #391152;
}

.form-control:focus+label,
.form-control.has-value+label {
    font-size: 13px;
    top: 0;
}

textarea {
    height: 200px;
}

.form-row .form-control+label {
    left: 25px;
    right: 25px;
}

.form-row .line {
    left: 15px;
    right: 15px;
}

.line {
    position: absolute;
    display: block;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #d9d9d9;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='$from', endColorstr='$to', GradientType=1);
}

.line:after {
    content: "";
    height: 2px;
    position: absolute;
    display: block;
    background: #391152;
    left: 0;
    right: 0;
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transition: -webkit-transform 0.2s ease-in-out;
    transition: -webkit-transform 0.2s ease-in-out;
    transition: transform 0.2s ease-in-out;
    transition: transform 0.2s ease-in-out, -webkit-transform 0.2s ease-in-out;
    -webkit-transform-origin: 0 0;
    transform-origin: 0 0;
}

.form-control:focus~.line:after {
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
}

select.form-control:not([size]):not([multiple]) {
    height: 44px;
}

.custom-select {
    height: 60px !important;
}

.contact-dropdown {
    font-size: 18px;
}

.contact-dropdown * {
    /*background: #5d4841;*/
    color: #bc9f66 !important;
    line-height: 50px;
    padding: 10px !important;
}

.submit-btn-cont {
    margin-top: 20px;
}

.invalid-feedback {
    position: absolute;
}

.submit-btn {
    /*width: 150px;*/
    text-align: center;
    text-transform: uppercase;
    padding: 5px 10px;
    font-size: 16px;
    background: #391152;
    letter-spacing: 3px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    border: none;
}

.submit-btn:hover {
    font-weight: 600;
}

.treatments-first h2 {
    color: #391152;
}

.hygiene-header .content {
    background-image: url(../img/hygiene-header.jpg);
    height: 300px;
}

.invisalign-header .content {
    background-image: url(../img/invisalign-header.jpg);
    height: 300px;
}

.dental-implants-header .content {
    background-image: url(../img/dental-implants-header.webp);
    height: 300px;
}

.composite-bonding-header .content {
    background-image: url(../img/dental-implants-header.webp);
    height: 300px;
}

.teeth-whitening-header .content {
    background-image: url(../img/smile-header.webp);
    height: 300px;
}

.veneers-header .content {
    background-image: url(../img/veners-header.webp);
    height: 300px;
}

@media all and (max-width:767px) {
    .hygiene-header .content {
        background-image: url(../img/hygiene-mb.jpg);
    }

    .invisalign-header .content {
        background-image: url(../img/invisalign-mb.jpg);
    }

    .dental-implants-header .content {
        background-image: url(../img/dental-implants-mb.webp);
    }

    .composite-bonding-header .content {
        background-image: url(../img/dental-implants-mb.webp);
    }

    .teeth-whitening-header .content {
        background-image: url(../img/smile-mb.jpg);
    }

    .veneers-header .content {
        background-image: url(../img/veners-mb.jpg);
    }
}

.uncont {
    color: #391152;
    padding-top: 50px;
}

.khali-div {
    height: 114px;
}

.refferal-f p {
    color: #391152;
}

.refferal-f textarea:focus {
    border: none;
}

.refferal-f h3 {
    color: #391152;
}

.refferal-f textarea {
    height: auto;
}

.r-link {

    color: #391152;
    text-decoration: underline !important;
    transition: all .3s ease-in;
}

.exp-before-after p {
    margin-bottom: 60px;
}

.r-link:hover {
    color: black;
}

.refferal-f .file-input {
    border: 2px solid #391152;
    background: #eeeeee;
    padding: 5px 10px;
}

.refferal-f input[type=date] {
    font-weight: 500;
    width: 100% !important;
    text-transform: uppercase;
    letter-spacing: 3px;
    left: 0;
    margin: 0;
    color: black !important;
    font-size: 16px !important;
    text-align: center;
}

@media all and (max-width:400px) {
    .refferal-f input[type=date] {
        text-align: end;
    }
}

.refferal-f .date-label {
    position: absolute;
    z-index: 1;
    bottom: 13.5px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 3px;
    left: 15px;
    margin: 0;
    color: black !important;
    font-size: 16px;
}

.refferal-f .form-control {
    background: #eeeeee;
    color: #391152;
    font-size: 16px;
    border-radius: 0;
}

.refferal-f .line {
    height: 2px;
    background: #391152;
}

.refferal-f .form-control+label {
    left: 5px;
}

.refferal-f .form-control:focus+label {
    color: black;
}

.form-control:focus {
    box-shadow: none;
    background-color: transparent;
}

.refferal-f label {
    color: black;
}

.refferal-f .form-control:not(textarea) {
    height: 44px;
}

.refferal-f .form-control+label {
    position: absolute;
    z-index: 1;
    bottom: 15px;
    font-weight: 500;
    text-transform: capitalize;
    letter-spacing: 3px;
    left: 15px;
    margin: 0;
    color: #391152 !important;
    font-size: 16px;
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    pointer-events: none;
}

.refferal-f .form-group {
    position: relative;
    padding-top: 15px;
    margin-bottom: 10px;
}

.refferal-f .r-form .form-control:focus+label {
    color: #012840;

}

.refferal-f .form-control:focus+label,
.form-control.has-value+label {
    font-size: 12px;
    top: 0;
}

.refferal-f .submit-btn {
    /* width: 150px;  */
    text-align: center;
    text-transform: uppercase;
    padding: 5px 10px;
    font-size: 16px;
    background: #391152;
    letter-spacing: 3px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid #391152;
    transition: all .4s ease-in;
}

.refferal-f .submit-btn:hover {
    background-color: #fff;
    color: #391152
}

@media screen and (max-width:991px) and (min-width:768px) {
    .refferal-f .form-control+label {
        font-size: 13px;
    }
}

@media screen and (max-width:428px) {
    .refferal-f .form-control+label {
        letter-spacing: 0;
        font-size: 13px;
    }

    .refferal-f input[type=date] ::-webkit-calendar-picker-indicator {
        font-size: 13px !important;
    }
}

@media screen and (max-width:296px) {
    .refferal-f .form-control+label {
        letter-spacing: 0;
        font-size: 11px;
    }
}

.refferal-f input::-webkit-input-placeholder {
    /* WebKit, Blink, Edge */
    color: rgb(120, 66, 76)
}

.refferal-f input:-moz-placeholder {
    /* Mozilla Firefox 4 to 18 */
    color: rgb(120, 66, 76);
    opacity: 1;
}

.refferal-f input::-moz-placeholder {
    /* Mozilla Firefox 19+ */
    color: rgb(120, 66, 76);
    opacity: 1;
}

.refferal-f input:-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    color: rgb(120, 66, 76);
}

.refferal-f input::-ms-input-placeholder {
    /* Microsoft Edge */
    color: rgb(120, 66, 76);
}

.refferal-f input::placeholder {
    /* Most modern browsers support this now. */
    color: rgb(120, 66, 76);
}

.burgandi-color {
    color: rgb(120, 66, 76);
}

.refferal-f .line {
    margin-top: 0;
    width: 100%;
}

.refferal-f input:focus {
    outline: none !important;
    border: none;
}

.mfp-zoom-in {
    /* start state */
    /* animate in */
    /* animate out */
}

.mfp-zoom-in .mfp-with-anim {
    opacity: 0;
    transition: all 0.2s ease-in-out;
    transform: scale(0.8);
}

.mfp-zoom-in.mfp-bg {
    opacity: 0;
    transition: all 0.3s ease-out;
}

.mfp-zoom-in.mfp-ready .mfp-with-anim {
    opacity: 1;
    transform: scale(1);
}

.mfp-zoom-in.mfp-ready.mfp-bg {
    opacity: 0.8;
}

.mfp-zoom-in.mfp-removing .mfp-with-anim {
    transform: scale(0.8);
    opacity: 0;
}

.mfp-zoom-in.mfp-removing.mfp-bg {
    opacity: 0;
}

.invalid-cap {
    display: none;
    color: red;
}

.error-popup {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0;
    left: 0;
    z-index: 100;
    width: 100vw;
    height: 100vh;
    background: transparent;
}

.popup-wrap {
    background: #391152 !important;
    border-radius: 5px;
    /*   box-shadow: 0 0 5px 5px rgba(0,0,0,0.2); */
    padding: 5px 10px;
    max-width: 500px;
    margin: auto;
}

.hide-popup {
    color: white;
    text-align: right;
    cursor: pointer;
    font-weight: bold;
}

.popup-text {
    padding: 10px 30px 30px;
    text-align: center;
    color: white;
}

.floating-btn {
    position: fixed;
    z-index: 10;
    bottom: 30px;
    width: 100%;
    justify-content: center;
}

.floating-btn button {
    background-color: rgba(57, 17, 82, .8);
    position: relative;
    padding: 14px 34px;
    color: white;
    border: 1px solid white;
    /* box-shadow: inset 0 0 9px 1px #391152; */
    /* transition: box-shadow .3s ease-in; */

}

/* .floating-btn button:hover {
    box-shadow: inset 10px 0px 17px 6px #391152;
} */