 /********** Template CSS **********/
:root {
    --primary: #000000;
    --secondary: #E93C05;
    --tertiary: #555555;
    --light: #DFE4FD;
    --dark: #011A41;
    --silver: #c0c0c0;
}

.back-to-top {
    position: fixed;
    display: none;
    /* right: 30px;
    left: 30px; */
    left: 8px;
    bottom: 18px;
    z-index: 99;
}

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

h3,
.h3,
h4,
.h4,
.fw-medium {
    font-weight: 600 !important;
}

h5,
.h5,
h6,
.h6,
.fw-semi-bold {
    font-weight: 500 !important;
}


/*** Spinner ***/
#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;
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
    color: #000000;
}

a:hover {
    color: var(--primary)99;
}

.bg-dark {
    background-color: #000 !important;
}

.text-primary {
    color: #000000 !important;
}

/*** Button ***/
.btn {
    transition: .5s;
    font-weight: 500;
}

.btn-primary,
.btn-outline-primary:hover {
    color: var(--light);
}

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

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

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

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.fixed-top {
    transition: .5s;
}

.top-bar {
    height: 45px;
    border-bottom: 1px solid rgba(53, 94, 252, .07);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .navbar-nav .nav-link {
    /* padding: 25px 15px; */
    padding: 8px 18px;
    color: var(--tertiary);
    font-weight: 500;
    outline: none;
}

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

@media (max-width: 991.98px) {
    .navbar .navbar-nav {
        margin-top: 10px;
        border-top: 1px solid rgba(0, 0, 0, .07);
        background: #FFFFFF;
    }

    .navbar .navbar-nav .nav-link {
        padding: 10px 0;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: start;
    z-index: 1;
}

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

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--primary);
    border: 10px solid var(--primary);
}

.carousel-control-prev-icon {
    border-radius: 0 3rem 3rem 0;
}

.carousel-control-next-icon {
    border-radius: 3rem 0 0 3rem;
}

@media (max-width: 768px) {
    .display-1 {
        font-size: calc(1.625rem + 2.5vw);
    }

    .copyright {
        padding-bottom: 18% !important;
    }

    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }

    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    padding-top: 12rem;
    padding-bottom: 6rem;
    background: url(../img/header.jpg) top left no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-weight: 500;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--tertiary);
}

.page-header-empty {
    padding-top: 12rem;
    padding-bottom: 6rem;
    background: url(../img/header2.jpg) top left no-repeat;
    background-size: cover;
}

.page-header-empty .breadcrumb-item,
.page-header-empty .breadcrumb-item a {
    font-weight: 500;
}

.page-header-empty .breadcrumb-item+.breadcrumb-item::before {
    color: var(--tertiary);
}


/*** Facts ***/
.facts {
    background: linear-gradient(rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.95)), url(../img/bg.png);
}


/*** Callback ***/
.callback {
    position: relative;
}

.callback::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 50%;
    top: 0;
    left: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.95)), url(../img/bg.png);
    z-index: -1;
}


/*** Feature ***/
.feature .feature-box,
.feature .feature-box * {
    transition: .5s;
}

.feature .feature-box:hover {
    background: var(--primary);
    border-color: var(--primary) !important;
}

.feature .feature-box:hover * {
    color: #FFFFFF !important;
}


/*** Service ***/
.service-images {
    object-fit: cover;
}

.service .nav .nav-link {
    transition: .5s;
    padding: 14px;
    height: fit-content;
}

.service .nav .nav-link.active {
    border-color: var(--primary) !important;
    background: var(--primary);
}

.service .nav .nav-link.active h5 {
    color: #FFFFFF !important;
}

.service .nav .nav-link.active h5 i {
    color: #FFFFFF !important;
}


/*** Project ***/
.project-item,
.project-item .project-img {
    border-radius: 8px 8px 0 0;
    position: relative;
    overflow: hidden;
}

.project-item .project-img a {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, .5);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px 8px 0 0;
    opacity: 0;
    transition: .5s;
}

.project-item:hover .project-img a {
    opacity: 1;
}

.project-item .project-title {
    /* position: absolute;
    top: 3rem;
    right: 0;
    bottom: 0;
    left: 3rem; */
    border: 1px solid var(--light);
    border-top: 0;
    border-radius: 0 0 8px 8px;
    display: flex;
    align-items: flex-end;
    padding: 18px;
    z-index: -1;
    transition: .5s;
    min-height: 108px;
}

.project-item:hover {
    box-shadow: rgba(0, 0, 0, 0.15) 0px 5px 15px 0px;
}

.project-item:hover .project-title {
    background: var(--primary);
    border-color: var(--primary);
    color:#fff;
}

.project-item .project-title h4 {
    font-size: 18px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    transition: .5s;
}

.project-item:hover .project-title h4 {
    color: #FFFFFF;
}

.project-carousel .owl-nav {
    margin-top: 25px;
    display: flex;
    justify-content: center;
}

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

.project-carousel .owl-nav .owl-prev:hover,
.project-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    color: var(--light);
}


/*** Team ***/
.team-item {
    position: relative;
    padding: 4rem 0;
}

.team-item img {
    position: relative;
    z-index: 2;
}

.team-item .team-text {
    position: absolute;
    top: 0;
    right: 3rem;
    bottom: 0;
    left: 3rem;
    padding: 15px;
    border: 1px solid var(--light);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    transition: .5s;
    z-index: 1;
}

.team-item:hover .team-text {
    background: var(--primary);
    border-color: var(--primary);
}

.team-item .team-text h4 {
    transition: .5s;
}

.team-item:hover .team-text h4 {
    color: #FFFFFF;
}

.team-item .team-social .btn {
    background: var(--light);
    color: var(--primary);
}

.team-item:hover .team-social .btn {
    background: #FFFFFF;
}

.team-item .team-social .btn:hover {
    background: var(--primary);
    color: var(--light);
}


/*** Testimonial ***/
.testimonial-item {
    position: relative;
    text-align: center;
    padding-top: 30px;
}

.testimonial-item .testimonial-text {
    position: relative;
    text-align: center;
    margin-top: 18%;
    background: var(--light);
    height: 288px;
}

.testimonial-item .testimonial-text p {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    /* start showing ellipsis when 3rd line is reached */
    white-space: wrap;
}

.testimonial-item .testimonial-text .btn-square {
    position: absolute;
    width: 60px;
    height: 60px;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
}

.testimonial-item .testimonial-text::before {
    position: absolute;
    content: "";
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    border: 30px solid;
    border-color: var(--light) transparent transparent transparent;
}

.testimonial-item .testimonial-text::after {
    position: absolute;
    content: "";
    bottom: -59px;
    left: 50%;
    transform: translateX(-50%);
    border: 30px solid;
    border-color: var(--light) transparent transparent transparent;
}

.testimonial-carousel .owl-item img {
    margin: 0 auto;
    width: 100px;
    height: 100px;
}

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

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

.testimonial-carousel .owl-dot::after {
    position: absolute;
    content: "";
    width: 16px;
    height: 16px;
    top: 6px;
    left: 6px;
    border-radius: 16px;
    background: var(--light);
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    border-color: var(--primary);
}

.testimonial-carousel .owl-dot.active::after {
    background: var(--primary);
}

.container-xxl-testimonial {
    background: url(../img/bg1.jpg);
}

.testimonial-item h4 {
    color: var(--light);
}

.owl-item.active.center .testimonial-item h4 {
    color: #000000;
}

.testimonial-item span {
    color: #000000;
    font-weight: bold;
}

/* .testimonial-carousel .owl-carousel .owl-stage-outer { */
.testimonial-carousel .testimonial-item {
    height: 748px;
}

.testimonial-carousel .owl-item.active.center .testimonial-item .testimonial-text {
    background: #000000;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
    transition-duration: .8s;
    transition-timing-function: linear;
    color: #fff;
    min-height: 448px;
    margin-top: 8%;
    line-height: 1.8;
    display: table;
}

.testimonial-carousel .owl-item.active.center .testimonial-item .testimonial-text::after {
    position: absolute;
    content: "";
    bottom: -59px;
    left: 50%;
    transform: translateX(-50%);
    border: 30px solid;
    border-color: var(--primary) transparent transparent transparent;
}

.testimonial-carousel .owl-item.active.center .testimonial-item .testimonial-text p {
    display: table-cell;
    vertical-align: middle;
    overflow: visible;
}

/* Testimonial - end */

/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--light);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--silver);
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    color: var(--light);
    /* background: #000B1C; */
    background: #000000;
    box-shadow: #c0c0c025 0px 54px 55px, #c0c0c012 0px -12px 30px, #c0c0c012 0px 4px 6px, #c0c0c017 0px 12px 13px, #c0c0c009 0px -3px 5px;
}

.copyright a {
    color: var(--light);
}

.copyright a:hover {
    color: var(--silver);
}

/* Home - Start */
.text-justify {
    text-align: justify;
}

/* Home - End */

/* Contact us - Start */
.contact-details a:hover,
.contact-details h6:hover {
    color: #000000;
}

/* Contact us - End */


/* Quick whatsapp - Start */
.quick-wap {
    position: fixed;
    z-index: 11111;
    right: 8px;
    bottom: 18px;
}

.quick-wap img {
    width: 48px;
}

/* Quick whatsapp - End */

/* Book Appointment - btn - Start */
.appoint-btn {
    position: fixed;
    z-index: 11111;
    right: 8px;
    bottom: 128px;
    transform: translateX(40%) translateY(-50%) rotate(-90deg);
}

.appoint-btn a.btn {
    color: #fff;
    background-color: var(--primary);
    border-color: var(--primary);
}

/* Book Appointment - btn - End */


/* Blog - Start */
.blog-title {
    font-weight: bold;
}

.sub-title {
    font-weight: bold;
    padding: 8px 0;
}

.blog-description {
    color: #000;
}
.blog-description .table table tr td{padding: 10px;font-size: 16px;border: 1px solid #2222;}
.blog-description .table table{overflow-x: auto; text-align: start;width: 100%; border-collapse: collapse;}

/* Blog - End */

/* Book Appoint - modal - Start */
::-webkit-scrollbar {
    width: .4em;
    height: .4em;
}

::-webkit-scrollbar-track {
    box-shadow: inset 0 0 6px #00000088;
}

::-webkit-scrollbar-thumb {
    background-color: #000000 !important;
    border-radius: 8px;
    outline: none;
}

/* Book Appoint - modal - End */

/* Google translator customization */
#google_translate_element span,
#google_translate_element_footer span {
    display: none;
}

.goog-logo-link {
    display: none !important;
}

.goog-te-gadget {
    font-size: 0px !important;
    color: transparent !important;
}

#google_translate_element .goog-te-combo,
#google_translate_element_footer .goog-te-combo {
    padding: 4px 8px;
    border: 1px solid #000;
    border-radius: 4px;
}

#google_translate_element .goog-te-combo option {
    padding: 4px;
}

/* Google translator customization */

.book-appoint-button-submitted {
    display: none;
}
.meet_the_best{
    font-size: 18px;
}
.teeth_aligners_details{
    font-weight: 600;
    font-size: 22px;
    color: #000;
}
.client_names {
    color: #000;
    font-weight: 600;
    font-size: 22px;
}