/********** Template CSS **********/
:root {
    --primary: #609737;
    --secondary: #354F8E;
    --light: #EFF5F9;
    --dark: #1D2A4D;
    --bs-primary: #609737;
}
footer .bg-dark{background-color:#609737 !important}
footer .bg-dark .text-primary{color:#fff !important}
footer .bg-dark .border-secondary{border-color: #fff !important;}
.bg-primary-sec{background-color:#398afe;background: linear-gradient(rgba(96, 151, 55, .8), rgba(96, 151, 55, .8)), url(../assets/img/advance-bg.jpg) left center no-repeat;
    background-size: cover;}
footer .bg-dark .btn-primary{background-color: #6fa110;border-color: #6fa110;}
.btn {
    font-weight: 700;
    transition: .5s;
}
.home-page{position:relative;overflow: hidden;}
.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;
}

.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: 18px 10px 1px 0px;
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    outline: none;
    transition: .5s;
    line-height: 48px;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}
.about-section{margin:3rem 0}

/* ----------- sidebar styling --------------- */
.sidebar .badge-lg {
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    height: 35px;
    line-height: 20px;
    padding: 8px;
    margin: 3px;
}
.sidebar
{
  float: left;
  width: 60px;
  margin-left: -60px;
  height: 100%;
  background: #f3f5f8;
  overflow: scroll;
  transition: .6s all;
  position: fixed;
    height: 100%;
    top: 0;
    bottom: 0;
    right: 0;
    right: -40%;
}

.sidebar-open
{
    right: 0;
    width:55%;
    z-index: +99999;
}

.sidebar ul
{
  margin: 0;
  padding: 0;
}

.sidebar ul li
{
  list-style: none;
}

.sidebar ul li a
{
  text-decoration: none;
  color: #313131;
  height: 80px;
  width: 100%;
  font-size: 26px;
  line-height: 50px;
  display: block;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sidebar ul li a i
{
/*   border: 1px solid #000; */
  border-radius: 6px;
  padding: 8px;
  transition: .5s ease-in-out;
}

.sidebar ul li a i:hover
{
  background: #fff;
  border: 1px solid #fff;
}


/* -------------- Burgur styling ----------------- */




/* ----------- close btn ------------- */
.close-btn
{
  top: 19px;
  right: 19px;
  height: 30px;
  width: 30px;
  padding: 6px;
  background: #fff;
  border: 1px solid #398afe;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-direction: column;
  cursor: pointer;
  position: relative;
  float: right;
}

.close-btn .bar1
{
  transform: rotate(-130deg);
  height: 3px;
  width: 70%;
  display: block;
  background: #398afe;
  position: absolute;
}

.close-btn .bar2
{
  display: none;
}

.close-btn .bar3
{
  transform: rotateZ(130deg);
  height: 3px;
  width: 70%;
  display: block;
  background: #398afe;
  position: absolute;
}
.panel-overlay {
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(17,17,17,.688);
    cursor: pointer;
    -webkit-transition: .5s ease-out;
    transition: .5s ease-out;
    opacity: 0;
    z-index: 9999;
    position: fixed;
    visibility: hidden;
}
.panel-overlay.active{visibility: visible; opacity: 1;}
.header-right-nav .menu-icon-group ul li .icon::before {
    -webkit-animation: 1.7s linear infinite ripple;
    animation: 1.7s linear infinite ripple;
}
.header-right-nav{float:right;padding-top: 1rem;}
.header-right-nav .menu-icon-group ul li .icon::after, .header-right-nav .menu-icon-group ul li .icon::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    border-radius: 50%;
    border: 1px solid #6fa110;
    transform-origin: center center;
}
.header-right-nav .menu-icon-group ul li .icon::after {
    -webkit-animation: 1.7s linear .8s infinite ripple;
    animation: 1.7s linear .8s infinite ripple;
}
 .header-right-nav .menu-icon-group ul li .icon {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background-color: #6fa110;
    border-radius: 50%;
    color: #fff;
    font-size: 16px;
}
.header-right-nav .menu-icon-group ul li {
    margin-left: 10px;
    display: inline-block;
}

.sidebars.right .book-appointment-section{background-color:#f6f6f8}
.sidebars.right .book-appointment-section .header-logo img{margin: 1rem 0rem 0rem 1rem;}
.featured-section .featured-icon img{border:1px solid #fff;border-radius:100%}
.featured-section .featured-text .featured-desc .featured-title h4 , .featured-section .featured-text .featured-desc{color:#fff}
.home-book-section .badge-lg{line-height: 20px !important;margin-bottom:5px;margin-right: 5px;height: auto;}
#frontAppointmentBook .form-check-danger{background-color:red}
#frontAppointmentBook .form-check-success{background-color:green}
#frontAppointmentBookSidebar .form-check-danger{background-color:red}
#frontAppointmentBookSidebar .form-check-success{background-color:green}
.home-book-section .book-appointment-form .form-check .form-check-input {margin-top:0px}
.home-book-section .book-appointment-form .form-check .form-check-label{font-size: 13px;line-height: 28px;}
.home-book-section .book-appointment-form .form-control , .home-book-section .book-appointment-form  .form-select{height: 41px;font-size: 14px;}

@-webkit-keyframes ripple{0%{-webkit-transform:scale(1);transform:scale(1)}75%{-webkit-transform:scale(1.5);transform:scale(1.5);opacity:1}100%{-webkit-transform:scale(1.7);transform:scale(1.7);opacity:0}}@keyframes ripple{0%{-webkit-transform:scale(1);transform:scale(1)}75%{-webkit-transform:scale(1.5);transform:scale(1.5);opacity:1}100%{-webkit-transform:scale(1.7);transform:scale(1.7);opacity:0}}

@media (min-width: 992px) {
    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 5px;
        bottom: 0;
        left: 50%;
        background: var(--primary);
        transition: .5s;
    }

    .navbar-light .navbar-nav .nav-link:hover::before,
    .navbar-light .navbar-nav .nav-link.active::before {
        width: 100%;
        left: 0;
    }
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link  {
        margin-left: 0;
        padding: 10px 0;
    }
}

.hero-header {
    background: url(../img/hero.jpg) top right no-repeat;
    background-size: cover;
}

.service-item {
    position: relative;
    height: auto;
   
    transition: .5s;
}

.service-item .service-icon {
    width: 78px;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    border-radius: 50%;
	margin-top: -2rem;
}


.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;
}
.dental-service-item p.item-text{min-height: 109px;padding: 12px;text-align: justify;}
.owl-carousel-service .service-item{padding-bottom:10px}
.owl-carousel-service .service-item .text-content{padding: 12px;text-align: justify;}
.service-item:hover a.btn {
    bottom: 22px;
    opacity: 1;
}

.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);
}

@media (min-width: 576px) {
    .team-item .row {
        height: 350px;
    }
}

.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: var(--primary);
    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;
}
/*** Carousel Hero Header Start ***/
.header-carousel {
    position: relative; 
}

.header-carousel .owl-nav .owl-prev {
    position: absolute;
    width: 70px;
    height: 70px;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    border-radius: 50%;
    background: var(--bs-primary);
    color: var(--bs-white);
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
}

.header-carousel .owl-nav .owl-next {
    position: absolute;
    width: 70px;
    height: 70px;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    border-radius: 50%;
    background: var(--bs-primary);
    color: var(--bs-white);
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    transition: 0.5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    box-shadow: inset 150px 0 0 0 var(--bs-light) !important;
    color: var(--bs-primary) !important;
}

@media (max-width: 576px) {
    .header-carousel .owl-nav .owl-prev,
    .header-carousel .owl-nav .owl-next {
        top: 630px;
        transition: 0.5s;
    }

    .header-carousel .header-carousel-item .carousel-caption .carousel-caption-content {
        width: 95% !important;
    }
 
}

.header-carousel .header-carousel-item,
.header-carousel .header-carousel-item img {
    position: relative;
    width: 100%;
    height: 700px;
    
    display: block;
    object-fit: cover;
    transition: 0.5s;

}
.header-carousel .header-carousel-item,
.header-carousel .header-carousel-item img {
    position: relative;
    width: 100%;
    height: 700px;
    
    display: block;
    object-fit: cover;
    transition: 0.5s;

}

@media (max-width: 992px) {
    .header-carousel .header-carousel-item,
    .header-carousel .header-carousel-item img {
        margin-top: 0;
        transition: 0.5s;
    }

}

@media (min-width: 992px) {
    .header-carousel .owl-nav .owl-prev,
    .header-carousel .owl-nav .owl-next {
        margin-top: 50px;
    }
}

.header-carousel .header-carousel-item .carousel-caption {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    padding: 100px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .5);
}

.header-carousel .header-carousel-item .carousel-caption .carousel-caption-content {
    position: relative;
    width: 67%;
    text-align: left !important;
    
}
.twentytwenty-wrapper {
    height: 100%;
}


/*** Testimonial ***/
.testimonial {
    background: linear-gradient(rgba(3, 27, 78, .3), rgba(3, 27, 78, .3)), url(../assets/img/testimonial.jpg) left center no-repeat;
    background-size: cover;
}

.testimonial-item img {
    width: 60px !important;
    height: 60px !important;
    border-radius: 60px;
}

.testimonial-carousel .owl-nav {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin-left: 15px;
    color: var(--bs-primary);
    font-size: 30px;
    line-height: 0;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {color: var(--bs-dark);}

.owl-carousel-service .owl-nav {
    position: absolute;
    padding: 0 45px;
    width: 100%;
    height: 45px;
    top: calc(50% - 22.5px);
    
    display: flex;
    justify-content: space-between;
}
.owl-carousel-service .owl-nav .owl-prev,
.owl-carousel-service .owl-nav .owl-next {
    position: relative;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}
.owl-carousel-service .owl-nav .owl-prev{left: -93px;}
.owl-carousel-service .owl-nav .owl-next{right: -93px;}

.owl-carousel-service .owl-nav .owl-prev:hover,
.owl-carousel-service .owl-nav .owl-next:hover {color: var(--bs-dark);}
.mobile-view{display:none}
.desktop-view{display:block}
@media (max-width: 667px) {
   .mobile-view{display:block}
   .desktop-view{display:none}
   .logo-flex-view a img{width: 173px !important;}
   .sidebar-open{width:97%}
}
