:root {
    --theme-primary: #2b2563;
    --theme-secondary: #9acb3c;
    --font-normal: 'Raleway-Regular';
    --font-medium: 'Raleway-Medium';
    --font-bold: 'Raleway-Bold';
    --theme-transition: all .4s ease-in-out;
    --section-title: 40px;
    --secondary-font-normal: Poppins-Regular;
    --secondary-font-medium: Poppins-Medium;
    --secondary-font-Bold: Poppins-Bold;
}

@font-face {
    font-family: Raleway-Regular;
    src: url(fonts/Raleway-Regular.ttf);
}

@font-face {
    font-family: Raleway-Medium;
    src: url(fonts/Raleway-Medium.ttf);
}

@font-face {
    font-family: Raleway-Bold;
    src: url(fonts/Raleway-Bold.ttf);
}

@font-face {
    font-family: Poppins-Regular;
    src: url(fonts/Poppins-Regular.ttf);
}

@font-face {
    font-family: Poppins-Medium;
    src: url(fonts/Poppins-Medium.ttf);
}

@font-face {
    font-family: Poppins-Bold;
    src: url(fonts/Poppins-Bold.ttf);
}

body {
    font-family: var(--font-normal);
    font-size: 16px;
    line-height: 1.5;
    color: #333333;
}
.wrapper{
    position: relative;
    overflow: hidden;
}
/* ======== navbar ===========  */
.home-slider .carousel-item::before {
    content: "";
    position: absolute;
    left: 0px;
    right: 0px;
    top: 0px;
    bottom: 0px;
    background-image: linear-gradient(45deg, #2b2563, #9acb3c);
    opacity: .8;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-bold);
}
a{
    color: var(--theme-primary);
}
.home-slider .carousel-caption {
    top: 55%;
    padding: 0px;
    margin: 0px;
    bottom: 0px;
    transform: translate(0%, -50%);
    width: 40%;
}

.home-slider .carousel-control-next,
.home-slider .carousel-control-prev {
    width: 50px;
    height: 50px;
    opacity: 1;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 100%;
    background-color: var(--theme-primary);
    transition: var(--theme-transition);
}

.home-slider .carousel-control-next {
    right: 110px;
}

.home-slider .carousel-control-prev {
    left: 110px;
}

.home-slider .carousel-control-next:hover,
.home-slider .carousel-control-prev:hover {
    background-color: var(--theme-secondary);
}

.sec-pad {
    padding: 60px 0px;
}

.sec-title {
    font-size: var(--section-title);
}

.site-navigation a {
    color: #333;
}

.btn {
    padding: 6px 15px;
    border-radius: 40px;
    transition: var(--theme-transition);
    font-family: var(--font-medium);
}

.theme-btn {
    background-color: var(--theme-primary);
    color: #fff !important;
}

.theme-btn:hover {
    background-color: var(--theme-secondary);
}

.navbar-brand {
    padding: 0px;
}

.site-navigation {
    padding: 15px 0px;
}

.navbar-nav .nav-link {
    padding: 10px 20px;
    transition: var(--theme-transition);
    font-family: var(--font-medium);
}

.navbar-nav .nav-link:hover {
    color: var(--theme-secondary);
}

.text-primary-ridhan {
    color: var(--theme-primary);
}

.text-secondary-ridhan {
    color: var(--theme-secondary);
}

.font-18 {
    font-size: 18px;
}

.font-secondary-medium {
    font-family: var(--secondary-font-medium);
}

.our-expert {
    margin-top: 30px;
}

.our-expert img {
    width: 50px;
    height: 50px;
    border: 2px solid #fff;
    box-shadow: 0px 0px 10px #00000034;
    border-radius: 100%;
    object-fit: cover;
    object-position: top;
}

.our-expert .name {
    display: block;
    font-family: var(--font-medium);
}

.our-expert li {
    display: flex;
    margin-bottom: 20px;
}

.our-expert li div {
    padding-left: 20px;
}

.treatments {
    position: relative;
}
.home .treatments::before{
    content: "";
    position: absolute;
    left: 0px;
    right: 0px;
    top: 0px;
    bottom: 0px;
    background-color: #000;
    opacity: .8;
}
.home .treatments{
    background: url(../img/dental-emergency1.png) no-repeat center;
    background-size: cover;
}
.treatments .top-left-vector {
    position: absolute;
    left: 0px;
    top: 0px;
    opacity: .3;
}

.treatments .bottom-right-vector {
    position: absolute;
    right: 0px;
    bottom: 0px;
    opacity: .1;
}

.treatment-card {
    padding: 20px;
    border-radius: 6px;
    border: none;
    box-shadow: 0px 3px 6px #00000016;
    flex-direction: row;
    margin-bottom: 30px;
    transition: var(--theme-transition);
}

.treatment-card:hover {
    box-shadow: #00000026 0px 5px 14px;
}

.treatment-card .detail {
    margin-left: 15px;
}

.treatment-card p {
    margin-bottom: 0px;
}

.treatment-card .icon-wrapper {
    width: 60px;
    height: 60px;
    background-color: #F1F3FE;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    box-shadow: 0px 3px 6px #00000016;
}

.treatment-card .icon-wrapper img {
    width: 40px;
    display: block;
    margin: auto;
}

.bg-grey {
    background-color: #f1f1f1;
}

.sec-title.has-center {
    position: relative;
    color: var(--theme-primary);
    margin-bottom: 45px;
    padding-bottom: 15px;
}

.sec-title.has-center::before,
.sec-title.has-center::after {
    content: "";
    position: absolute;
    left: 0px;
    right: 0px;
    bottom: 0px;
    width: 40px;
    height: 5px;
    background-color: var(--theme-primary);
    border-radius: 20px;
    display: block;
    margin: auto;
}

.sec-title.has-center::after {
    width: 20px;
    background-color: var(--theme-secondary);
    left: -20px;
}

.service-box {
    position: relative;
    margin-bottom: 30px;
    border-radius: 6px;
    /* box-shadow: 0px 0px 3px #00000016; */
    overflow: hidden;
}
.service-box h4{
    padding: 0px 0px 10px;
    text-align: center;
    font-size: 18px;
    margin-bottom: 0px;
    cursor: pointer;
}
.service-box img {
    filter: brightness(.6);
    transition: var(--theme-transition);
    max-height: 200px;
    width: 100%;
    object-fit: cover;
}

.service-box:hover img {
    filter: brightness(.4);
}
.service-box:hover .detail {
    opacity: 1;
    cursor: pointer;
    z-index: 0;
}
.service-box .detail{
    text-align: center;
    padding: 20px;
    background: #f1f1f1;
    /* min-height: 210px; */
}

.btn-white {
    background-color: #fff;
    color: var(--theme-primary);
}

.services {
    background: url(../img/service_bg.png);
    background-position: left bottom;
}

.counts .icon-wrapper {
    background-color: transparent;
    width: auto;
    height: auto;
    box-shadow: none;
    border-radius: 0px;
    margin-bottom: 0px;
}

.counts .icon-wrapper i {
    font-size: 60px;
    color: var(--theme-secondary);
}

.counts p {
    color: var(--theme-primary);
    font-family: var(--font-medium);
}

.counts .icon-wrapper img {
    width: 60px;
    margin-bottom: 10px;
    height: 60px;
    object-fit: contain;
}

.counts .treatment-card {
    box-shadow: 0px 0px 6px #00000016;
}

.counts .treatment-card:hover {
    box-shadow: 0px 3px 16px #00000026;
}

.testimonials .carousel-control-prev,
.testimonials .carousel-control-next {
    width: 50px;
    height: 50px;
    opacity: 1;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 100%;
    background-color: var(--theme-primary);
    transition: var(--theme-transition)
}

.testimonials .carousel-inner {
    max-width: 600px;
    margin: auto;
}

.testimonials .carousel-inner p {
    text-align: center;
    position: relative;
}

.testimonail-content i {
    font-size: 36px;
    position: relative;
    top: 25px;
    left: 0;
    color: #f1f1f1;
}

.testimonials .img-box {
    max-width: 125px;
    margin: auto;
}

.testimonials img {
    border-radius: 100%;
    border: 5px solid var(--theme-primary);
}

.testimonials .carousel-indicators {
    bottom: -30px;
    margin: 0px;
}

.testimonials .carousel-indicators li.active {
    background-color: #2b2563;
    width: 20px;
}

.testimonials .carousel-indicators li {
    cursor: pointer;
    height: 5px;
    background-color: #e9e9e9;
    border-radius: 20px;
    transition: var(--theme-transition);
    width: 15px;
}

.site-footer {
    padding: 40px 0px 0px;
    background-color: #2B2563;
}

.widget-title {
    font-size: 20px;
    padding-bottom: 10px;
    position: relative;
    color: #fff;
    margin-bottom: 20px;
}

.widget-title::before {
    content: "";
    position: absolute;
    left: 0px;
    width: 45px;
    height: 3px;
    bottom: 0px;
    background-color: #1E1A44;
}

.site-footer p {
    color: #fff;
    font-family: var(--secondary-font-normal);
}

.footer-logo {
    margin-bottom: 20px;
}

.blog-list li a {
    display: flex;
    align-items: center;
    text-decoration: none;
    margin-bottom: 20px;
}

.blog-list li p {
    margin-bottom: 5px;
    padding-left: 15px;
}

.blog-list li .blog-img {
    max-width: 50px;
}

.contact-info li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
}

.contact-info li .fa {
    position: absolute;
    left: 0px;
    color: #fff;
}

.contact-info li a {
    font-family: var(--secondary-font-normal);
    color: #fff;
}

.social-links {
    display: flex;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 100%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0px 5px;
    background-color: #1E1A44;
    transition: var(--theme-transition);
}

.social-links a:hover {
    background-color: #37307e
}

.site-footer a:hover,
.blog-list a:hover p {
    text-decoration: none;
    color: #ddd;
}

.copyright {
    padding: 10px 0px;
    background-color: #1E1A44;
    margin-top: 15px;
}

.copyright * {
    font-family: var(--secondary-font-normal);
    color: #fff;
    margin-bottom: 0px;
}

.home-slider .carousel-item {
    transition: transform 1.5s ease, -webkit-transform 1.5s ease;
}

.banner-img {
    position: relative;
    padding: 160px 0px;
    background-size: cover;
}

.banner-img::before {
    position: absolute;
    left: 0px;
    right: 0px;
    top: 0px;
    bottom: 0px;
    background-image: linear-gradient(45deg, #2b2563, #9acb3c);
    width: 100%;
    height: 100%;
    content: "";
    opacity: 0.7;
}

.about-us {
    background-image: url(../img/about_bg.png);
}

.treatment-banner {
    background-image: url(../img/treatment_bg.jpg);
}

.contact-banner {
    background-image: url(../img/contact-us-bg.jpg);
}
.patient-banner{
    background-image: url(../img/patinets-bg.jpg);
}
.blog{
    background-image: url(../img/blog_banner.jpg);
}
.member .detail {
    padding: 20px;
    box-shadow: 0 0 15px rgb(0 0 0 / 10%);
}

.treatments .single .content {
    overflow: hidden;
    position: relative;
    padding: 20px;
    box-shadow: 0px 0px 5px #00000038;
    min-height: 290px;
    margin-bottom: 30px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    cursor: pointer;
    transition: var(--theme-transition);
}

.treatments .single .content::before,
.treatments .single .content::after {
    content: "";
    position: absolute;
    bottom: 0px;
    left: 0px;
    height: 5px;
    right: 0px;
    width: 100%;
    background-color: var(--theme-secondary);
    transition: var(--theme-transition);
}

.treatments .single .content::after {
    width: 0px;
    right: auto;
    background-color: var(--theme-primary);
}

.treatments .single .content:hover::after {
    width: 100%;
    right: 0px;
}

.treatments .single .content:hover {
    box-shadow: 0px 0px 15px #00000038;
}

.treatments .single li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 5px;
    color: var(--theme-primary);
    font-family: var(--font-medium);
}

.treatments .single li:before {
    content: "\f138";
    position: absolute;
    font-family: FontAwesome;
    left: 0px;
    color: var(--theme-secondary);
}

.treatments .single h4 {
    margin-bottom: 10px;
    color: var(--theme-primary);
}

.c-detail-card {
    box-shadow: 10px 10px 20px #00000015;
    padding: 15px 25px;
    border-radius: 10px;
    border: none;
    transition: var(--theme-transition);
    min-height: 170px;
}

.c-detail-card:hover {
    box-shadow: 1px 1px 10px #00000015;
}

.c-detail-card .fa {
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 20px;
    border-radius: 4px;
    background: var(--theme-primary);
    display: block;
    margin: auto;
    color: #fff;
    margin-top: 0;
    margin-bottom: 20px;
}
.c-detail-card p {
    line-height: 1.75;
    font-family: var(--secondary-font-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    margin: 0px;
    height: 60px;
}
.c-detail-card a {
    color: #000;
    display: inline-block;
}
.contact-img-wrapper{
    position: relative;
}
.contact-img-wrapper img{
    border-radius: 15px;
    filter: brightness(0.5);
    max-height: 470px;
    width: 100%;
    object-fit: cover;
    object-position: top center;
}
.contact-img-wrapper h1 {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    display: block;
    margin: auto;
}
.contact-title{
    margin: 0px 0px 0.67em;
}
.form-control{
    border-radius: 6px;
    background: #F1F5F8;
    border-color: #DDDDDD;
    padding: 8px 15px;
    transition: var(--theme-transition);
}
.form-control:focus{
    border-color: var(--primary-color);
    box-shadow: none;
    outline: none;
}
.form-group{
    margin-bottom: 1rem;
}
.form-group textarea{
    max-height: 215px;
    min-height: 215px;
    resize: none;
}
.modal-body .form-group textarea{
    min-height: 100px;
    height: 100px;
}
.btn-aniamted {
    padding: 10px 20px;
    background: transparent;
    color: var(--theme-primary) !important;
    border: 1px solid var(--theme-primary);
    border-radius: 5px;
    position: relative;
    z-index: 1;
}
.btn-aniamted::before{
    transition: var(--theme-transition);
    content: "";
    position: absolute;
    left: 0px;
    top: 0px;
    bottom: 0px;
    height: 100%;
    background-color: var(--theme-primary);
    right: 100%;
    z-index: -1;
}
.btn-aniamted .fa{
    opacity: 0;
    margin: 0px;
    width: 0px;
    transition: var(--theme-transition);
}
.btn-aniamted:hover .fa{
    opacity: 1;
    margin: 0px 5px;
    width: 10px;
}
.btn-aniamted:hover{
    color: #fff !important;
    background-color: transparent;
}
.btn-aniamted:hover:before{
    right: 0px;
}
.tab-pane h1{
    position: relative;
    color: var(--theme-primary);
    padding-bottom: 10px;
    margin-bottom: 30px;
}
.tab-pane h1::after{
    content: "";
    position: absolute;
    left: 0px;
    width: 100px;
    bottom: 0px;
    height: 2px;
    background-color: var(--theme-primary);
}
.tab-pane li{
    padding-left: 25px;
    position: relative;
    margin-bottom: 5px;
    color: var(--theme-primary);
    font-family: var(--font-medium);
}
.tab-pane li::after{
    content: "\f00c";
    position: absolute;
    font-family: FontAwesome;
    left: 0px;
    color: var(--theme-secondary);
    top: 0px;
}
.tab-pills{
    border: 1px solid #e6e6e6;
}
.tab-pills a{
    color: var(--theme-primary);
    background-color: #f8f8f8;
    font-family: var(--font-bold);
    border-radius: 0px !important;
    border-bottom: 1px solid #e6e6e6;
    transition: var(--theme-transition);
}
.tab-pills a:hover,
.tab-pills a:active,
.nav-pills .nav-link.active, .nav-pills .show>.nav-link{
    background-color: var(--theme-primary) !important;
    color: #fff !important;
}
.blog-list .single h4{
    margin: 20px 0px 10px;
}
blockquote{
    padding-left: 15px;
    border-left: 5px solid #ddd;
    font-style: oblique;
    color: #7e7e7e;
}
.card-box{
    padding: 30px;
    /* box-shadow: 0px 0 30px rgb(33 59 82 / 8%); */
    margin-bottom: 30px;
    border: 1px solid #f1f1f1;
}
.card-box h2 {
    font-size: 18px;
    padding-left: 20px;
    margin-left: -30px;
    border-left: 5px solid #2b2563;
}
.font-secondary-regular{
    font-family: var(--secondary-font-normal);
}
.opening-hours p {
    padding: 5px 0px 10px;
    border-bottom: 1px dotted #ddd;
    margin: 0px !important;
}
.categories a{
    color: var(--theme-primary);
    display: inline-block;
    margin-bottom: 5px;
}
.categories .blog-list a:hover p{
    text-decoration: underline;
    color: var(--theme-primary) !important;
}
iframe{
    max-width: 100%;
    margin-left: 10px;
}
.img-zigzag{
    position: relative;
    overflow: hidden;
}
.img-zigzag::after,
.img-zigzag::before{
    opacity: .5;
}
.img-zigzag::before{
    content: "";
    position: absolute;
    height: 25%;
    top: 50%;
    background-color: rgba(10, 10, 10, 0.438);
    right: 0px;
}
.img-zigzag::after{
    content: "";
    position: absolute;
    height: 25%;
    top: 75%;
    background-color: rgba(10, 10, 10, 0.438);
    right: 100%;
    left: 0px;
}
.img-zigzag .inner{
    position: absolute;
    height: 25%;
    top: auto;
    background-color: rgba(10, 10, 10, 0.438);
    opacity: .5;
    right: 0px;
}
.img-zigzag .inner-1{
    position: absolute;
    height: 25%;
    top: 25%;
    background-color: rgba(10, 10, 10, 0.438);
    opacity: .5;
    right: 100%;
    left: 0px;
    
   
}
.img-zigzag:hover .inner{
    animation: left .5s ease-in-out;

}
.img-zigzag:hover .inner-1{
    animation: right .5s ease-in-out;

}
.img-zigzag:hover::after{
    animation: right .5s ease-in-out;
}
.img-zigzag:hover::before{
    animation: left .5s ease-in-out;
}
.modal-body label{
    font-weight: 600;
}



@keyframes left {
    0%{
        left: 0px;
    }
    100%{
        left: 100%;
    }
}

@keyframes right {
    0%{
        right: 0px;
    }
    100%{
        right: 100%;
    }
}
.content.collapse{
    height: 230px;
    display: block;
    overflow: hidden;
}
.content.collapsing{
    transition: none;
}
.collapse.show{
    height: auto
}



/* media query start  */

@media (max-width:767px){
    body{
        font-size: 14px;
    }
    .navbar-nav:nth-child(2) .nav-item{
        margin-left: 15px;
    }
    .site-navigation{
        padding: 15px;
    }
    .home-slider .carousel-item img{
        height: 300px;
        object-fit: cover;
    }
    .home-slider .carousel-control-next, .home-slider .carousel-control-prev,
    .testimonials .carousel-control-prev, .testimonials .carousel-control-next{
        width: 40px;
        height: 40px;
    }
    .home-slider .carousel-control-next{
        right: 15px;
    }
    .home-slider .carousel-control-prev{
        left: 15px;
    }
    .home-slider .carousel-caption {
        top: 50%;
        transform: translate(0%, -50%);
        width: 100%;
        left: 0px;
        padding: 0px 65px;
    }
    .carousel-caption h1{
        font-size: 20px;
    }
    .sec-title{
        font-size: calc(var(--section-title) / 1.5);
    }
    .font-18{
        font-size: 16px;
    }
    .testimonail-content{
        max-width: 80%;
        margin: auto;
        font-size: 12px;
    }
    .banner-img{
        padding: 60px 0px;
    }
    .banner-title,
    .tab-pane h1{
        font-size: calc(var(--section-title) / 2);
    }
    .member{
        margin-bottom: 30px;
    }
    .treatments .single .content{
        min-height: auto;
    }
    .tab-pane h1,
    .tab-pane h2{
        margin: 20px 0px;
    }
    .tab-pane h2,
    .contact-img-wrapper h1,
    .contact-title{
        font-size: calc(var(--section-title) / 2);
    }
    .tab-pane img,
    .c-detail-card{
        margin-bottom: 30px;
    }
    .contact-title{
        margin-top: 30px;
    }
}



.winner-banner{
    position: fixed;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    background-color: #000;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
}
.welcome{
    position: fixed;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    background-color: #000;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
}
.gallery-img{
    width: 100%;
}

.member img{
    height: 315px;
    width: 100%;
    object-fit: cover;
    object-position: top;
}
.gallery{
    background-image: url(../img/gallery-banner.jpg);
    background-position: center;
}
#saturdayFree button.close {
    position: absolute;
    opacity: 1;
    color: #fff;
    text-shadow: none;
    background: #00000094;
    width: 25px;
    height: 25px;
    border-radius: 100%;
    top: -10px;
    right: -10px;
    padding: 0px;
    cursor: pointer;
}