
/********** Template CSS **********/
:root {
    --primary: #0cb8b6;
    --secondary: #F57E57;
    --light: #EEF9FF;
    --dark: #091E3E;
}
body {
    font-family: 'Poppins', sans-serif;
  }
h1,
h2,
.font-weight-bold {
    font-weight: 700 !important;
    font-family: 'Poppins', sans-serif;
}
h1, .h1 {
    font-size: 36PX;
}

h3,
h4,
.font-weight-semi-bold {
    font-weight: 600 !important;
    font-family: 'Poppins', sans-serif;
}

h5,
h6,
.font-weight-medium {
    font-weight: 500 !important;
    font-family: 'Poppins', sans-serif;
}
a {
    color: #0cb8b6;
    text-decoration: none;
}

.btn {
    font-family: 'poppins', sans-serif;
    font-weight: 600;
    transition: .5s;
}
 
.btn-primary,
.btn-secondary {
    color: #FFFFFF;
}

.btn-primary:hover {
    background: var(--secondary);
    border-color: var(--secondary);
}

.btn-secondary:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.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: 45px;
    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: 'Jost', sans-serif;
    padding: 22px 15px;
    font-size: 18px;
    color: var(--dark);
    outline: none;
    transition: .5s;
}
 

.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(--primary);
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
    }
}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgb(9 30 62 / 31%);
    z-index: 1;
    height: 600px;
}

@media (max-width: 576px) {
    .carousel-caption h5 {
        font-size: 14px;
        font-weight: 500 !important;
    }

    .carousel-caption h1 {
        font-size: 30px;
        font-weight: 600 !important;
    }
}

.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: #091e3e;
}

.twentytwenty-wrapper {
    height: 100%;
}
.bg-primary {
    background-color: #0cb8b6!important;
}
.btn-primary {
    color: #fff;
    background-color: #0cb8b6;
    border-color: #0cb8b6;
}
.hero-header {
    background: linear-gradient(rgb(12 184 182), rgba(9, 30, 62, .85)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.bg-appointment {
    background: linear-gradient(rgba(9, 30, 62, .85), rgba(9, 30, 62, .85)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}
.footer-card .text-primary {
    color: #fff!important;
    font-size: 18px;
}
.appointment-form {
    background: rgb(12 184 182 / 84%);
}

.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(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.offer-text {
    background: rgba(6, 163, 218, .85);
}

.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(../img/carousel-2.jpg) center center no-repeat;
    background-size: cover;
}
.testimonial-carousel .owl-nav.disabled,  .awards-carousel .owl-nav.disabled{
    display: flex;
}
 .testimonial-item {
    padding: 10px;
}
 
.testimonial-carousel .owl-nav,  .awards-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,
.awards-carousel .owl-nav .owl-prev,
.awards-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-height: 300px;
    object-fit: contain;
}

/* new css */


.opening{
    font-size: 16px;
    font-weight: 600;
    color: #000;
}

.aimc-header img {
    max-width:50%;
}
.thead-text span{
    color: var(--primary);
}

 .thead-text {
    font-size: 50px;
    text-transform: uppercase;
}

#header-carousel {
    height: 600px;
}

.header-carousel img{
    width: 100%;
}

#header-carousel img{
    height: 600px;
    object-fit:cover;
}

.dental-icon img {
    max-width: 66%;
}

.dental_solutions.my-5 {
    padding: 60px 0px;
}

.dental-card p {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 0;
    color: #000;
}
.dental-card {
    border: 2px solid #0cb8b6;
    background-color: #FFFFFF;
    padding: 30px 38px;
    text-align: center;
    border-radius: 4px;
    transition: 0.3s;
    height: 100%;
}

.dental-icon {
    display: flex;
    font-size: 40px;
    margin-bottom: 10px;
    min-height: 70px;
    align-items: center;
    justify-content: center;
}

.scroll-container {
    overflow-x: auto;
    white-space: nowrap;
    -ms-overflow-style: none;
    gap: 20px;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* Internet Explorer 10+ */
}

.play-play-button-testi {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgb(0 0 0 / 42%);
    color: #fff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center; 
    justify-content: center;
    font-size: 24px;
    transition: background 0.3s;
}
.patient-card {
    display: inline-block;
    width: 205px;
    flex: 0 0 calc(100% / 5.5 - 20px* 5 / 5.5);
    margin-right: 0px;
}

.testi_video_wrapper {
    position: relative;
}

.patient-card img {
    width: 100%;
    border-radius: 10px;
    cursor: pointer;
}

.slider-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, and Opera */
}

.patient_right p {
    color: var(--primary);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    line-height: 1.2;
}
.btn-blog {
    margin: auto;
    display: block;
    max-width: 250px;
}
img.award {
    width: 100%!important;
    height: 100%!important;
}
.testimonial-item p {
    font-size: 16px;
    color: #000;
}

 
        section.Equipments {
    padding: 50px 0px;
}
.progress-bar {
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    background-color: #0cb8b6;
    transition: width 0.6s ease;
}
.equipment-list .progress {
    display: flex;
    height: 1rem;
    overflow: hidden;
    font-size: .75rem;
    background-color: #e9ecef;
    border-radius: 2px;
    margin-bottom: 20px;
}
.equipment-list p{
    font-weight: 600;
    color: #000;
}

.e_img img {
    max-width: 100%;
    border-radius: 25px;
    min-height: 564px;
}
.dental_section_wrapper .row {
    justify-content: center;
}
 .in_card img {
    max-width: 100%;
}
 .in_card h6 {
    font-size: 22px;
    text-align: center;
    padding: 10px 5px;
    color: #000;
}
 .in_card h6 a{
    color: #000;
 }
#gallery{
    margin-bottom: 100px;
 }

 /*  */
#gallery {
  padding-top: 40px;
}
.l_blog {
    cursor: pointer;
}
@media screen and (min-width: 991px) {
  #gallery {
    padding: 0px 30px 0 30px;
  }
}

.img-wrapper {
    position: relative;
    margin-top: 15px;
    cursor: pointer;
}

.img-wrapper img {
    width: 100%;
    max-height: 257px;
    object-fit: cover;
}

.img-overlay {
  background: rgba(0, 0, 0, 0.7);
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
}

.img-overlay i {
  color: #fff;
  font-size: 3em;
}

#overlay {
  background: rgba(0, 0, 0, 0.7);
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

#overlay img {
  margin: 0;
  width: 80%;
  height: auto;
  object-fit: contain;
  padding: 5%;
}

@media screen and (min-width: 768px) {
  #overlay img {
    width: 60%;
  }
}

@media screen and (min-width: 1200px) {
  #overlay img {
    width: 50%;
  }
}

#nextButton,
#prevButton {
  color: #fff;
  font-size: 2em;
  transition: opacity 0.8s;
}

#nextButton:hover,
#prevButton:hover {
  opacity: 0.7;
}

#image-gallery h6{
    text-align: center;
}
#image-gallery h6 a {
    font-size: 22px;
    color: #000;
}
@media screen and (min-width: 768px) {
  #nextButton,
  #prevButton {
    font-size: 3em;
  }
}

#exitButton {
  color: #fff;
  font-size: 2em;
  transition: opacity 0.8s;
  position: absolute;
  top: 15px;
  right: 15px;
}

#exitButton:hover {
  opacity: 0.7;
}

.dental-card:hover{
    background-color: #0cb8b6;
}
.dental-card:hover img{
   filter: invert(1);
}
.dental-card:hover p{
    color: #fff;
}
.testi_video_wrapper {
    transition: all 0.3s ease; /* Set transition on base element */
}

.testi_video_wrapper:hover {
    padding: 5px;
    border: 1px solid #0cb8b6;
    border-radius: 15px;
    background-color: #0cb8b6;
}


.services-section .section-title h5::before {
    position: absolute;
    content: "";
    width: 45px;
    height: 3px;
    right: -46px;
    bottom: -8px;
    background: var(--primary);
}
.services-section .section-title h5::after {
    position: absolute;
    content: "";
    width: 15px;
    height: 3px;
    right: -65px;
    bottom: -8px;
    background: #091E3E !important;
}

.list_services {
    margin: 0px 20px 20px;
    padding: 0px;
}
.list_services li {
    list-style-type: square;
}

.services-section .container {
    box-shadow: 5px 5px 34px -7px rgba(0,0,0,.5);
    padding: 0px 50px 50px;
}

.patient_right p {
    margin-top: 14px;
}

.myth p {
    margin-bottom: 5px;
}
.myth p span {
    color: var(--primary);
    font-weight: 600;
}
.myth {
    margin: 15px 0px;
}

.root-canal-table tbody, td, tfoot, th, thead, tr {
    border-color: inherit;
    border-style: solid;
    border-width: 0;
}
.root-canal-table th, .root-canal-table td {
    border: 1px solid #80808085;
    padding: 10px;
}
.root-canal-table  p {
    margin: 0;
}
table.root-canal-table.new-table {
    border-collapse: collapse;
    width: 100%;
}
.left_blogcard {
    padding: 50px 0px;
}
 .b_detail_banner img {
    width: 100%;
    border-radius: 15px;
}


.blog_card_details .services-section .container {
    box-shadow: none;
    padding: 0px 15px;
}

.dr_card img {
    max-width: 55px;
    margin-right: 10px;
}
.dr_card {
    border: 1px solid #0cb8b6;
    border-radius: 15px;
    padding: 20px;
    display: flex;
    justify-content:left;
    align-items: center;
    max-width: 384px;
 
    margin:20px 0px;
}
.name_b p span {
    color: #0cb8b6;
    font-size: 17px;
}
.name_b p {
    font-size: 20px;
    font-weight: 600;
    color: #000;
    margin: 0px;
}
.cardforblogtext ul li {
    line-height: 32px;
}

.right_blog  h1.text-white.mb-4 {
    font-size: 35px;
}
.right_blog.mt-5 {
    position: sticky;
    top: 20px;
    overflow: auto;
}
.b_detail_banner img {
    width: 100%;
    border-radius: 15px;
    border: 1px solid #dddd;
    max-height: 500px;
    object-fit: cover;
}

.name {
    margin: 0px;
    color: #091E3E;
    font-weight: 600;
}
.m_crad:hover .content {
    border-bottom-left-radius: 18px;
    background-color: #091e3e;
    color: #fff;
    border-bottom-right-radius: 18px;
}

.m_crad:hover .content p, .m_crad:hover .content span{
    color: #fff;
}

.hero-header .display-3 {
    font-size: 38px;
}

.blog {
    margin: 30px 0px;
}

.news_card img {
    max-height: 305px;
    object-fit: cover;
    width:100%;
}


/*Footer*/
.ab_card {
    max-width: 200px;
}
.ab_card img {
    width: 100%;
}

.latest_card img {
    max-width: 100px;
    margin-right: 15px;
}
.ourworks img {
    max-height: 284px;
    width: 100%;
    object-fit: cover;
}
#thankYouModal .modal-content.p-4.text-center {
    background: #091E3E;
}

 #thankYouModal .modal-body {
    color: #fff;
}
 #thankYouModal .modal-body p {
   font-size:20px;
}
.text-primary {
    color: #0fa2a5 !important;
}
h5#thankYouLabel {
    color: #fff;
    font-size: 30px;
}
.c_close .btn-close {
    float: right;
    filter: invert(1);
    opacity: 1;
}
.l_blog a {
    color: #fff;
    display: flex;
}

.copywrite {
    padding: 10px 0px!important;
}
.copywrite p{
    margin: 0px;
}
 

.t_header .navbar-light .navbar-brand {
    color: rgba(0,0,0,0.9);
    width: 300px;
}
@media screen and (min-width: 768px) {
  #exitButton {
    font-size: 3em;
  }
}


/* aboutus */

.myvideo video {
    width: 100%;
}
 
@media (max-width:767px){
    .aimc-header img {
        max-width: 80%;
    }
    .aimc-header .navbar-brand {
        max-width: 50%;
    }
.hero-header {
    margin: 0px!important;
    padding: 0px!important;
}
section.b_banner {
    margin-top: 30px;
}
    .blog_card_details .services-section .container {
    box-shadow: none;
    padding: 0px 15px;
}
    .aimc-header .navbar-collapse {
        flex-basis: 100%;
        flex-grow: 1;
        align-items: center;
        position: absolute;
        width: 100%;
        background: #fff;
        top: 65px;
        left: 0px;
        z-index: 999;
        padding: 20px;
    }
    #header-carousel img {
    height: 300px;
}
div#header-carousel {
    height: 300px;
}
.carousel-caption {
    
    height: 300px;
}
.dental-card {
 
    padding: 5px 5px;
 
}
.dental-card p {
    font-size: 12px;
}
.patient-card img {
    width: 100%;
    border-radius: 10px;
    cursor: pointer;
}
.e_img {
    padding-top: 0px;
}
section.Equipments {
    padding: 0px 0px;
}
.e_img {
    padding-top: 0px;
    margin-bottom: 50px;
}
 .services-section h1 {
    font-size: 22px;
}
.services-section .container {
     box-shadow: none;
     padding: 0px;
}
.hero-header {
    margin: 0px!important;
}
.services-section .row.g-5 {
    --bs-gutter-y: 15px;
    margin-bottom: 40px;
}
.left_blogcard {
    padding: 50px 0px 0px;
}
.hero-header .display-3 {
    font-size: 26px;
}
.news_card img {
    object-fit: cover;
    width: 100%;
}
.e_img img {
    max-width: 100%;
    border-radius: 25px;
    min-height: 300px;
}

.dental_solutions.my-5 {
    padding: 0px 0px;
}
.testimonial-carousel .owl-item img {
    max-height: 375px;
    object-fit: contain;
}
.bg-appointment {
    background: linear-gradient(rgba(9, 30, 62, .85), rgba(9, 30, 62, .85)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
    margin-top: 0px!important;
}
.conclusion {
    overflow-x: scroll;
}
}
 