/*
  (c) 2019 CdermaRD. CSS by Grupo Interactivo
*/
#reso {
  display: none;
  position: fixed;
  bottom: 0;
  right: 0;
  width: 78px;
  height: 18px;
  font-size: 0.8em;
  color: #ffffff;
  text-align: center;
  background-color: #294135;
  z-index: 2000;
}
  #reso:after {
  content: "XL";
}

#mainNav.navbar-shrink .navbar-nav .nav-item .nav-link {
  transform: scale(0.92);
  padding: 0 0.85em !important;
}

/*-------------  Footer curve fix on bigger screens  ------------  */
@media(min-width: 1500px) {
  #cta-doctors {
    background: url('../images/site/cta-curve.jpg') bottom center no-repeat;
    background-position: center 200px;
    background-size: 100%;
  }
  #cta-doctors.alone {
    background-image: url('../images/site/cta-curve-alone.jpg');
    background-position: bottom center;
    background-size: 100% 100%;
  }
}

/*-------------  LG  ------------  */
@media(max-width: 1200px) {
  #reso:after { content: "LG"; }

  .img-box {
    max-height: 260px;
  }
}
/*-------------  MD  ------------  */
@media(max-width: 992px) {
  #reso:after { content: "MD"; }

  #main_banner, #cover, #intpage-img  {
    margin-top: 72px;
  }
  #mainNav {
    height: auto;
    background-color: #ffffff;
    padding: 0 20px 2px 30px;
    border-bottom:2px #0d7bb8 solid;
  }
  #mainNav .container {
    max-width: 100%;
  }
  #mainNav .navbar-brand {
    width: 136px;
  }
  #mainNav.nav-interna {
    height: auto;
  }
  #mainNav .navbar-toggler {
    font-size: 20px;
    right: 0;
    padding: 13px;
    text-transform: uppercase;
    color: #0C6698;  /* Dark blue */
    border: 0;
    border-radius: 50%;
    background-color: transparent;
    font-family: 'Prompt', Arial, sans-serif;
  }
  #mainNav .navbar-toggler:hover,
  #mainNav .navbar-toggler:focus,
  #mainNav .navbar-toggler:active {
    border:none;
    outline: none;
  }
  .navbar-collapse {
    border-top: 1px #0d7bb8 solid;
  }
  .navbar-collapse ul {
    padding-top: 20px;
    padding-bottom: 20px;
  }
  #mainNav .navbar-nav .nav-item .nav-link {
    font-size: 1.0em;
    padding: 0.35em 0 0.38em 0;
    line-height: 1.7em;
    letter-spacing: 0.12em;
    color: #0496bf;
    font-family: 'Prompt', sans-serif;
    border-bottom: 1px #cccccc dotted;
    text-align: center;
  }
  #mainNav .navbar-nav .nav-item .nav-link.active, #mainNav .navbar-nav .nav-item .nav-link:hover {
    color: #1dc2f0;
    border-bottom: 1px #0496bf solid;
  }
  #mainNav .navbar-nav .nav-item .nav-link::after {
      display: none;
  }

  #mainNav.navbar-shrink {
    height: auto;
  }
      #mainNav.navbar-shrink .navbar-brand {
        width: 136px;
      }
      #mainNav.navbar-shrink .navbar-brand img {
        transform: scale(1);
      }
      #mainNav.navbar-shrink .navbar-nav .nav-item .nav-link {
        transform: scale(1);
        padding: 0.35em 0 0.38em 15% !important;
      }


    #mainNav .dropdown:hover .dropdown-menu {
        margin-top: 0;
        margin-bottom: 10px;
     }
    
    #mainNav .dropdown-item {
        text-align: center;
        font-size: 0.9em;
    }
    /*
    #mainNav .dropdown-item:focus, 
    #mainNav .dropdown-item:hover {
        background-color: #1dc2f0;
        color: #ffffff;
    }
    */
  #bt-search {
    display: none;
  }
  #bt-search-m {
    display: block;
  }
  .nav-item.nav-mstore {
    margin-top: 30px;
  }
  .nav-mstore a.nav-link {
    height: 38px;
    width: 25%;
    min-width: 200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0px 1.8em 0 1.8em;
    color: #ffffff !important;
    background-color: #007ac1;
    letter-spacing: 0.15em;
    text-decoration: none;
    vertical-align: middle;
    border: none;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
  }
  .nav-mstore a.nav-link:hover {
    color: #ffffff;
    background-color: #1dc2f0;
    text-decoration: none;
  }
  .in-store .nav-item.nav-mstore {
    font-size: 0.8em;
  }
  .in-store .nav-item.nav-mstore a.nav-link {
    padding-top: 0.65em !important;
    letter-spacing: 0.2em !important;
  }
  #cta-doctors .cta-3btn {
    margin-top: 6%;
  }
  #service-list .productlist-item .item-shortdesc {
    padding-right: 15px;
  }
  #catalog-box .productlist-item img.item-thumb {
    width: 100%;
    max-width: 180px;
    height: auto;
  }
  form.qtyChanger  {
    min-width: 120px;
  }
  form.qtyChanger .value-button {
    width: 1.4em;
  }
  form.qtyChanger input.number {
    width: 2em;
  }
}

/*-------------  SM  ------------  */
@media(max-width: 767.9px) {
  #reso:after { content: "SM"; }

  #videobox .videob-right h2 {
    font-size: 1.90em;
    padding-top: 18%;
  }
  #videobox .videob-right h5 {
    font-size: 1.4em;
    margin-bottom: 0.6em;
  }
  #videobox .videob-right a.more {
    font-size: 0.8em;
  }
  #mainNav .navbar-brand img {
    max-width: 200px;
    height: auto;
  }
  #cta-doctors .container {
    max-width: 90%;
    padding-left: 0;
    padding-right: 0;
  }
  #cta-doctors .cta-3btn {
    margin-top: 5%;
  }
  #cta-doctors .cta-3btn .bt_gi {
    padding: 0 1.8em;
  }
  #list-consultas .row,
  #list-consultas .row.small-consults {
    margin-left: 15px;
    margin-right: 15px;
  }
  #list-consultas {
      padding-top: 20px;
  }
  #service-list .productlist-item h4 {
      font-size: 1.3em;
  }
  #welcome h1 {
    font-size: 3.0em;
  }
  #welcome h3 {
    font-size: 1.1em;
  }
  #welcome h5 {
    font-size: 1.9em;
  }
  #list-consultas a h3 {
    font-size: 1.1em;
    margin-top: 0.3em;
  }
  #intpage-img .pic-service  {
    margin-left:-25%;
    width: 50%;
  }
  #item-detail {
    margin-top: 70px;
    margin-bottom: 0px;
  }
  #news-listing h4 {
    margin-top: 24px;
  }
  #page-title.in-post  {
    padding-top: 90px;
  }
  .explain {
    margin-bottom: 24px;
  }
  #page-title h1 {
      font-size: 2.2em;
  }
  #page-title.in-login h1 {
    font-size: 2.0em !important;
  }
  #page-title .in-store h1 {
    font-size: 2.2em;
  }
  .section-title h2 {
    font-size: 2.0em;
  }
  #list-articles h2, #recomend h2 {
    font-size: 2.0em;
  }
  #list-consultas h2 {
    font-size: 2.2em;
  }
  #proceed-register {
    text-align: center;
  }
  .col-item-descrip {
    min-width:240px;
  }
  #promocode {
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 1px #cccccc dotted;
  }
 .paral-img1 {
    min-height: 0;
    height: 140px;
    background-position: center top;
    background-attachment: scroll;
    margin-bottom: 40px;
  }
  .getin-sm {
    margin-left: 0;
    margin-right: 0;
  }
  .captcha-sm-center {
    margin-left: 50%;
    left:-152px;
  }
}

/*-------------  XS  ------------  */
@media(max-width: 575px) {
  #reso:after { content: "XS"; }

  #videobox .videob-right {
    padding-top: 20px;
    padding-bottom: 20px;
  }
  #videobox .videob-right h2 {
    padding-top: 0;
  }
  #videobox .videob-right h5 {
    margin-bottom: 0.4em;
  }
  .productlist-item {
    border-bottom:1px #bbbbbb dotted;
    padding-bottom: 20px;
  }
  #service-list .productlist-item {
    border-bottom:none;
  }
  .productlist-item .item-thumb {
    margin-bottom: 20px;
  }
  .productlist-item h4 {
    width: 100%;
    text-align: center;
  }
  .productlist-item h4::after {
      width: 25%;
      max-width: 25%;
      margin-left:37.5%;
  }
  .productlist-item h4:hover::after {
      width: 50%;
      max-width: 50%;
      margin-left:25%;
  }
  .productlist-item p.resum {
    margin-bottom: 1.0em;
  }
  .productlist-item a.more {
    display: none;
  }
  #cta-doctors .cta-3btn {
    margin-top: 0;
    margin-bottom: 18px;
  }
  #welcome h1 {
    font-size: 2.8em;
  }
  #welcome h3 {
    font-size: 1.0em;
  }
  #welcome h5 {
    font-size: 1.6em;
  }
  #cta-doctors .cta-3btn .bt_gi {
    padding: 0 3.0em;
  }
  #service-list {
    margin-bottom: 20px;
  }
  #intpage-img .pic-service  {
    margin-left:-30%;
    width: 60%;
  }
  .bio-box .bio-pic-rounded .img-shadow:after {
    max-width: 100%;
  }
  #catalog-box .productlist-item .it-price,
  #item-detail .productlist-item .it-price {
    text-align: center;
  }
  .bt_add2store {
    margin-left: auto;
    margin-right: auto;
  }
  #item-detail select.qty-change {
    float: none;
    display: block;
    width: 6em;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.3em;
  }
  #item-detail .bt_add2store {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 170px;
  }
  #item-detail .productlist-item {
    border-bottom:none;
  }
  #item-detail .item-thumb {
    max-width: 500px;
  }
  #recomend.in-store .it-price {
    display: block;
    text-align: center;
    margin-bottom: 14px;
  }
  #page-title.in-post  {
    padding-top: 70px;
  }
  .alert {
    width: 94%;
    margin-left: 3%;
  }
  .pagos_ft img {
      max-width: 90%;
  }
}

/*-------------  XXS  ------------  */
@media(max-width: 450px) {
  #reso:after { content: "XXS"; }

  #search-line-m {
    margin-left: 0 !important;
    animation-duration: 0.3s;
  }
  @keyframes widen-m {
      0% { width: 0px; }
      100% { width: 72%;}
  }
  input#search-line-m[type=search] {
    width: 72%;
  }
  .program-gallery .card {
    height: 75px;
  }
  .program-gallery .card .card-img-top {
    width: 28%;  
    min-width: 100px;
    height: 75px;
    margin-right: 1%;
  }
  .program-gallery .card .card-body {
    width: 60%;
    padding: 8px 15px;
    height: 75px;
    margin-top: 0;
  }
  .program-gallery .card h3.card-title {
      font-size: 0.94em !important;
  }
  #filter-set .container {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
  }
  #list-consultas .container {
    padding-left: 0;
    padding-right: 0;
  }
  #list-consultas .item-consult {
    padding: 12px 12px;
  }
  #list-consultas .item-consult a h3 {
    font-size: 1.0em;
    margin-top: 0px;
  }
  #list-articles .artic-item  {
    width: 86%;
    min-width: 86%;
  }
  #welcome .container,
  #welcome .col-12 {
    width:100%;
  }
  #welcome .container {
    padding-left: 0;
    padding-right: 0;
  }
  #welcome .col-12 {
    padding-left: 0;
    padding-right: 0;
  }
}

/*-----------  Below 360px  ----------  */
@media(max-width: 361px) {
  #reso:after { content: "XXXS"; }

  #filter-set .col-right {
    display: none;
  }
}

