@media only screen and (max-width: 1580px) { 
   .hero-area-wrapper{
        height: calc(590px + 300 * ((100vw - 320px) / 1580));
        
      } 
        
}


@media only screen and (max-width: 1200px) {
  
    .navbar-toggler:focus,
    .navbar-toggler:active,
    .navbar-toggler-icon:focus {
        outline: none;
        box-shadow: none;
    }
    .navbar-toggler, .navbar-toggler:focus, .navbar-toggler:active, .navbar-toggler-icon:focus {
        outline: none;
        box-shadow: none;
        border: 0;
    }
    .navbar-toggler {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 60px;
        height: 60px;
        cursor: pointer;
        transition: all 0.5s ease-in-out;
        padding: 0;
    }

    .navbar-toggler-icon {
        width: 44px;
        height: 3.23px;
        background: #BD995F;
        border-radius: 5px;
        box-shadow: 0 2px 5px rgb(255 101 47 / 20%);
        transition: all 0.5s ease-in-out;
        right: 0px;
    }

    .navbar-toggler-icon::before, .navbar-toggler-icon::after {
        content: "";
        position: absolute;
        width: 20px;
        height: 3.23px;
        background: #BD995F;
        border-radius: 7px;
        box-shadow: 0 2px 5px rgb(255 101 47 / 20%);
        transition: all 0.5s ease-in-out;
        margin-left: -25px;
        right: 8px;
    }
    .navbar-toggler-icon::before {
        transform: translateY(-14px);
        width: 36px;
    }
    .navbar-toggler-icon::after {
        transform: translateY(14px);
    }
    .navbar-toggler.open .navbar-toggler-icon {
        transform: translateX(-38px);
        background: transparent;
        box-shadow: none;
    }
    .navbar-toggler.open .navbar-toggler-icon::before {
        transform: rotate(45deg) translate(35px, -35px);
    }
    .navbar-toggler.open .navbar-toggler-icon::after {
        transform: rotate(-45deg) translate(35px, 35px);
        width: 36px;
    }
    .medicon-area .row{
        --bs-gutter-x: 1.5rem;
      }
}
@media only screen and (min-width: 820px) and (max-width: 1180px) {
    .about-us-area {
        display: flex;
        align-items: center;
    }

    .about-us-area .about-img {
        margin-right: 10px;
        position: initial;
    }

    .about-us-area .container {
        flex-grow: 1;
    }

    .container .row .productos-right-area {
        padding-top: 4%;
    }
}
@media only screen and (max-width: 62em) {
    h1{
        font-size: calc(30px + 20 * ((100vw - 320px) / 992)); 
        line-height: 1.3; 
    }
    h2{
        font-size: calc(32px + 8 * ((100vw - 320px) / 992));  
    }
    .fixed-top {
        top: 0px;
        transform: translateY(0px);
    }
    .fixed-top .site-logo img {
        max-width: 250px;
        transition: .5s;
    }
    #navbar_top {
        padding: 20px 0;
        padding-bottom: 15px;
    }
    .header-area .main-menu .nav-link{
        padding-left: 0;
    }
    .main-menu {
        padding-top: 15px;
    }
    .header-area .main-menu .nav-link, .fixed-top .main-menu .nav-link{
        padding:10px 12px;
        border-bottom: 1px solid rgba(0,0,0,.03);
    }
    .header-area .navbar ul li.active, .header-area .navbar ul li:hover {
        background-image: none;
    }

    .hero-area-wrapper {
        position: relative;
        z-index: 1;
    }

    .hero-area-wrapper .row{
        align-items: end !important;
        padding-bottom:50px
    }

    
    .hero-area-wrapper:before {
        position: absolute;
        content: "";
        left: 0;
        top: 0;
        width: 60%;
        background: #F5F9FA;
        height: 100%;
        opacity: .8;
        z-index: -1;
    }
    .hero-content-area {
        width: 55%;
    }

      
    .productors-img-box {
        text-align: center;
    }
    .productors-img-box img {
        margin-right: 0;
        position: relative;
        bottom: 0;
        right: 0;
        margin-top: -20%;
    }
    .productos-heading{
        display: block;
      }
      .productos-right-area h2{
        display: none;
    }
    .estar-mejor-area {
        padding-top: 30px;
    }
    .productos-area h2{
        font-size: calc(30px + 20 * ((100vw - 320px) / 992));  
        line-height: 1.3;
        padding-left: 30px;
        padding-right: 30px;
    }

    .footer-widget.three p {
        font-size: 25px;
        font-weight: 600;
        line-height: 1.3;
    }

    .hero-content-area h1:after, .hero-content-area h2:after {
       display: none;
      }

      .modal-body ul {
        padding-left: 0px;
    }
    .modal-left-img img {
        height: calc(200px + 100 * ((100vw - 320px) / 992));
        object-fit: cover;
        object-position: left 20%;
    }

    .modal-title {
        padding-left: 0px;
        margin-bottom: 0;
        margin-top: 15px;
      }
      .modal-body {
        padding: 0 50px;
    }
    .modal-close {
        right: 75px;
    }

    .hero-area-wrapper.two .hero-content-area {
        margin-bottom: 0px;
    }
      
} /* min-width 992px, large screens */

@media only screen and (min-width: 768px) and (max-width: 992px) { 

    .productos-large-img {
        position: relative;
        width: 100%;
        height: auto;
    }
    .cal-to-action-area h3 br{
        display: none;
    }


}
@media only screen and (max-width: 768px) { 
    body {
        line-height: 1.4em;
      }
      h3 {
            font-size: 21px;
        }
      .header-top{
        display: none;
      }
    .owl-dots {
        position: relative;
        bottom: -20px;
        right: 0;
        text-align: center;
        display: block;
    }
    .owl-dot {
        margin: 5px;
    }
    .site-logo img {
        max-width: 130px;
        padding: 0 12px;
    }

    .fixed-top .site-logo img {
        max-width: 130px;
    }

    .single-gallery-info-box{
        height: calc(350px + 290 * ((100vw - 320px) / 768));    
    }

    .productos-large-img{
        position: relative;
        width: 100%;
    }

    .productos-right-area {
        padding-top: 30px;
    }
    
      .productors-img-box img {
        position: relative;
        bottom: 0;
        right: 0;
    }

    .about-img {
        position: relative;
        width: 80%;
        height: calc(350px + 550 * ((100vw - 320px) / 768));
        object-fit: cover;
    }
    .about-us-area {
        position: relative;
        margin-top: 160px;
        padding-top: 0;
        padding-bottom: 60px;
    }
    .about-us-area h2 {
        font-size: 35px;
        line-height: 1.3;
    }

    section.contact-info-area {
        padding-top: 60px;
        padding-bottom: 60px;
    }
    .medicon-area h2 br{
        display: none;
    }
    .single-contact-box br {
        display: none;
    }
    
    .single-contact-box {
        margin-bottom: 30px;
    }
    
    .contact-box-tel p {
        font-size: 30px;
        line-height: 1.7;
    }

    .footer-widget.one, .footer-widget.three {
        text-align: center;
    }
    
    .footer-area .col-md-5 {
        justify-content: center !important;
    }
    .footer-area {
        padding-top: 60px;
        padding-bottom: 60px;
    }
    .footer-widget.one p {
        font-size: 28px;
        line-height: 1.4;
        font-weight: 600;
    }

    .footer-widget.one .mt-3.d-none.d-md-block{
        font-size: 14px;
    }

    .footer-widget.one br{
        display: none;
    }

    .footer-widget.three p {
        font-size: 14px;
    }

} /* min-width 768px, medium screens */


@media only screen and (max-width: 576px) { 
    .header-area .container{
            width: 100%;
        }
    .hero-area-wrapper {
        background-position: center right -160px;
    }
    .modal-left-img {
        padding-bottom: calc(220px + 100 * ((100vw - 320px) / 576));
    }
    .modal-left-img img {
        position: absolute;
        left: 0;
    }
    .modal-close img{
        max-width: 60px;
    }
    .modal-close {
        right: 20px;
        z-index: 99;
        top: 20px;
    }
    
   
        
}
/* Medium screens */
/* Medium screens */

@media only screen and (max-width: 480px) { 
    .container {
        width: 95%;
    }
    .hero-area-wrapper:before {
        width: 80%;
    }
    .hero-content-area {
        width: 65%;
    }
    #navbar_top .inline-btn {
        width: 100px !important;
        padding: 10px 15px 10px 15px;
        font-size: 14px;
        text-align: left;
    }
    .hero-area-wrapper:before {
        width: 70%;
    }

    .inline-btn{
        min-width: auto;
    }

    .modal-body {
        padding: 0 30px;
    }

    .modal-body ul li {
        display: inline-block;
    }

    .tratamiento-ul li {
        width: 100%;
    }
}
/* Medium screens */