/********** Tedplate CSS **********/
:root {

    --clinicaprimary: #0e1e37;
    --clinicasecondary: #ffffff;
    --clinica3: #2d3e5c;
    --drmauriciodark: #0e1e37;
    --drmauriciolight: #9abdf4;
    --draalciradark: #913359;
    --draalciralight: #FCBDDA;
    --draalcira3: #d4c9f2;
    --drmauriciolightgrey: #e4e4e4;
    --drmauriciodarkgrey: #b7bac3;





    --primary: #06A3DA;
    --secondary: #F57E57;
    --light: #EEF9FF;
    --dark: #091E3E;
}

h1,
h2,
.font-weight-bold {
    

   
        font-family: "Work Sans", sans-serif;
        font-optical-sizing: auto;
        font-weight: 500 !important;
        font-style: normal;
    }


h3,
h4,

.font-weight-semi-bold {
    font-family: "Work Sans", sans-serif;
        font-optical-sizing: auto;
        font-weight: 600 !important;
        font-style: normal;
}

h5,
h6,
.font-weight-medium {
    font-family: "Work Sans", sans-serif;
        font-optical-sizing: auto;
        font-weight: 500 !important;
        font-style: normal;;
}

.btn {
    font-family: 'Work Sans', sans-serif;
    font-weight: 600;
    transition: .5s;
}

.btn:hover {
    font-family: 'Jost', sans-serif;
    font-weight: 600;
    transition: .5s;
    transform: scale(1.2);
    transition: all ease-in-out 2s;
}



.btn-primary {
    background-color: var(--clinicasecondary);
    color: var(--clinicaprimary);
    border: solid 2px var(--clinicasecondary);
}

.btn-secondary {
    background-color: var(--drmauriciolight);
    color: var(--light);
    text-shadow: darkslategray;
    border: solid 2px var(--drmauriciolight);
}

.btn-primary:hover {
    background: var(--draalcira3);
    color: var(--clinicaprimary);
    border: solid 2px var(--draalciralight);
    transform: scale(1.2);
    transition: all ease-in-out 0.8s;
}

.btn-secondary:hover {
    background: var(--draalciralight);
    color: var(--clinicaprimary);
    border: solid 2px var(--draalciralight);
    transform: scale(1.2);
    transition: all ease-in-out 0.8s;


}

.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(--clinicaprimary);
    transform: skew(40deg);
}

.navbar-light .navbar-nav .nav-link {
    font-family: 'Jost', sans-serif;
    padding: 35px 15px;
    font-size: 16px;
    color: var(--clinicasecondary);
    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(--clinicasecondary);
    transform: scale(1.1);
    transition: all ease-in-out 1s;
}


@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: rgba(9, 30, 62, .85);
    z-index: 1;
}

.btn-whatsapp {
    position:fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    left: 40px;
    background-color: #41d773;
    color: white;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 1px 1px 2px #888;
    z-index: 1000;
  }
  
  .fa-whatsapp {
    margin-top: 16px;
  }

@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(--drmauriciodarkgrey);
}

.section-title h5::after {
    position: absolute;
    content: "";
    width: 15px;
    height: 3px;
    right: -75px;
    bottom: 11px;
    background: white;
}

.twentytwenty-wrapper {
    height: 100%;
}

.hero-header {
    background: linear-gradient(rgba(9, 30, 62, .85), rgba(9, 30, 62, .85)), url(../img/price-digital.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/restauração-dental.jpg) center center no-repeat;
    background-size: cover;
}

.appointment-form {
    background: var(--drmauriciodarkgrey);
}

.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: linear-gradient(rgba(9, 30, 62, .85), rgba(9, 30, 62, .85)), url(../img/price-rehabilitação.jpg) center center no-repeat;
    background-size: cover;
}

.offer-text {
    margin-top: 20px;
}

.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(--drmauriciodarkgrey);
    border-radius: 2px;
    font-size: 22px;
    transition: .5s;
}

.price-carousel .owl-nav .owl-prev:hover,
.price-carousel .owl-nav .owl-next:hover {
    background: var(--drmauriciodarkgrey);
}

.bg-testimonial {
    background: linear-gradient(rgba(9, 30, 62, .85), rgba(9, 30, 62, .85)), url(../img/IMG_4987-Mejorado-NR.jpg) center center no-repeat;
    background-size: cover;
}


.testimonial-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 {
    position: relative;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--drmauriciodarkgrey);
    border-radius: 2px;
    font-size: 22px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--drmauriciodarkgrey);
    ;
}

.testimonial-carousel .owl-item img {
    width: 120px;
    height: 120px;
}

/* blog Section Styles */
.blog-post {
    margin-bottom: 20px;
    margin-top: 150px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

.blog-post img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    margin-bottom: 10px;
}

/* Responsive image styles */
@media (max-width: 768px) {
    .blog-post img {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .blog-post img {
        height: 150px;
    }
}



.blog-post h2 {
    margin-top: 0;
    margin-bottom: 10px;
}

.blog-post p {
    margin-bottom: 10px;

}

.img-team {
    width: 100%;
}

.img-team img {
    width: 100%;
}

.btn-whatsapp {
    position:fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    left: 40px;
    background-color: #41d773;
    color: white;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 1px 1px 2px #888;
    z-index: 1000;
  }
  
  .fa-whatsapp {
    margin-top: 16px;
  }
