*{
  font-family: 'Helvetica'!important;
}
html{
  scroll-behavior: smooth;
  transition-duration: 3s!important;
}
body{
  /* border:3px solid black; */
  background-color: #F3F0EF!important;
  -webkit-animation: fadein 3s; /* Safari, Chrome and Opera > 12.1 */
  -moz-animation: fadein 3s; /* Firefox < 16 */
  -ms-animation: fadein 4s; /* Internet Explorer */
  -o-animation: fadein 3s; /* Opera < 12.1 */
  animation: fadein 3s;
}
.mobile{
  display:none!important;
}
.template{
  transform:none!important;
}
section.ModuleHero.Module.section1{
  height:280vh!important;
}
/* textos */
.titulo-principal{
  font-weight:600!important;
}
.titulo{
  font-weight: bolder;
  font-size: 41px;
  line-height: 1;
}
.subtitulo{
  font-size:33px;
  color:#515151!important;
  line-height: 1;
}
.descripcion{
  font-size:14px;
}
.detalle{
  font-size:
}
.titulo2{
  font-size: 34px;
}
.subtitulo, .titulo2, h6, h4{
  font-weight:bold!important;;
}
.text-centro{
  text-align: left!important;
}
.descripcion.desktop, .descripcion-mei{
  min-width: 500px;
  font-size: 15px;
}
.row.pos{
  margin-top:auto;
}


.titulo.desktop{
    width:max-content!important;
}
@media screen
  and (device-width: 360px)
  and (device-height: 640px)
  and (-webkit-device-pixel-ratio: 2) {
    .titulo.mobile{
      font-size: 25px;
    }
}

/* menu */
#myNav{
    padding-left: 1.2rem;
}
.cortina{
  top:1rem;
  left: 2rem;
  display: block;
  z-index: 999;
  width: 35px;
  height: 35px;
  cursor: pointer;
}
.cortina:hover{
  opacity: 0.5;
}
.overlay {
  width: 97.6%;
  height: 0;
  position: fixed;
  z-index: 1;
  top: -10px;
  left: 20px;
  right: 10px;
  background-color: rgb(255,255,255);
  background-color: rgba(255,255,255, 1);
  overflow-x: hidden;
  transition: 0.8s;
  border-radius: 0px 0px 20px 20px;
}
.overlay-content {
  position: relative;
  top: 17%;
}
.overlay a, li, a{
  color:#515151;
  font-size: 16px;
  text-align: right;
  text-decoration: none!important;
  list-style:none!important;
  transition: 0.5s all ease-in-out!important;
  text-align: left;
}
.overlay a:hover, .overlay a:focus {
  color: #515151;
}
.overlay .closebtn {
  position: absolute;
  top: 1.5rem;
  right: 1rem;
  font-size: 30px;
}
.sub-nav{
  font-size: 13px;
  color: #cccbc2;
  font-weight: bold;
  margin-bottom: 2px!important;
  cursor: pointer;
}
.content-nav{
  text-align: left;
  margin-left: 3%;
}
.link-nav{
  font-size: 12px;
  padding: 0px;
  margin-bottom: 0;
  cursor: pointer;
}
.link-nav:hover, .sub-nav:hover{
cursor: pointer;
opacity: 0.4;
transition: 0.5s all;
}
#btn-open, #myNav, #navMob{
  transition: .6s!important;
}
.language{
  font-weight: 700;
  transition: 0.5s all ease-in-out;
  color:black;
  font-size: 15px!important;;
}
.menu-active{
  background-color: rgba(0,0,0,0.1);
  width: max-content;
  border-radius: 20px;
  padding: inherit;
}
h6.menu:focus, h6.menu:hover {
    background-color: rgba(0,0,0,0.1);
    width: max-content;
    border-radius: 20px;
    padding: inherit;
    transition: 0.5s all;
    cursor: pointer;
}

/* s1c2 */
.col-sm-12.col-md-6.col-lg-6.col-xl-6.madera{
  position: relative;
  top: 320px;
  padding-left: 3.8rem!important;
}
.ModuleSlideshow .background-content{
  margin: 0px!important;
}
/* primeracarta */

.ModuleGroupFront .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  opacity: .4;
  width: 100%!important;;
  height: 100%;
  background-color: #000;
  z-index: auto;
}
/* segundacarta */



/* mei */
.diagrama{
  max-width: 480px!important;
  max-height: 400px!important;
}
.mei-desk{
  width: 500px;
}
.txt-mei{
  font-size: 20px;
  font-weight: bold;
}
/* medidas */
.details-medidas{
  opacity: 0.1;
  font-size: 15px;
  transition: 0.4s;
  color:gris;
  /* line-height: 1.4px; */
}
.details-medidas:hover{
  transition: 0.4s;
  cursor: pointer;
  opacity: 1;
}
.boton-inicio{
  background-color:rgba(51,51,51,.7)!important;
}
.boton-inicio:hover{
  background-color:rgba(51,51,51,.3)!important;
}
.foto-cartas{
  background-image: url("http://www.endemik.cl/img/endemik-bosques2.jpg");
  background-position: center;
  border-radius: 20px;
  width:100vw!important;
  height: 20vw;;
}
.fondo_vanitorio{
  background-image:url('http://home01.endemik.cl/img/vanitorio-01.png')!important;
  background-size:cover;
  background-repeat: no-repeat;
}
#fondo-s2{
  background-image: url("http://home00.endemik.cl/img/bosque-01.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
@keyframes fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Firefox < 16 */
@-moz-keyframes fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Internet Explorer */
@-ms-keyframes fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Opera < 12.1 */
@-o-keyframes fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
}



@keyframes fadeout {
  from { opacity: 1; }
  to   { opacity: 0; }
}

/* Firefox < 16 */
@-moz-keyframes fadeout {
  from { opacity: 1; }
  to   { opacity: 0; }
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadeout {
  from { opacity: 1; }
  to   { opacity: 0; }
}

/* Internet Explorer */
@-ms-keyframes fadeout {
  from { opacity: 1; }
  to   { opacity: 0; }
}

/* Opera < 12.1 */
@-o-keyframes fadefadeoutin {
  from { opacity: 1; }
  to   { opacity: 0; }
}

/* colores */
.btn-color{
  background-color: rgba(19,19,190,.5);
}
.bg-color{
  background-color: #F3F0EF!important;
}
.gc-color{
  background-color: #E0DCDA!important;
}
.dark-font{
  color:#515151;
}
.st0{fill:#FFFFFF;}

.logo{
  width: 30px;
  height: 30px;
  background-image: url("logo.png");
  background-size: contain;
  background-repeat: no-repeat;
}
.footer{
  margin: 2%!important;
}
.footer1{
  margin: 1% 0% 2% 0%!important;
  font-size: 12px;
  line-height: 1.2;
}
.ModuleHero .content .btn{
  width: 150px!important;
  height: 28px!important;
  padding: 1%!important;
  background-color: rgba(19, 19, 19, 0.5);
  border-radius: 50px;
  color: #FFFFFF;
}

.Module{
  margin-bottom: 1%!important;
}
.chapter-index{
  height: 10%!important;
  color:#515151;
}
.chap-text{
  margin-left: 2%!important;
  color:#515151;
  font-size: 18px;
}
.seccion1{
  position: relative;
  /* margin-top: 18%!important; */
}
.fondo_blanco{
  background-color: #FFFFFF!important;
}
/* squeezes content into certain height       */
.cover-bar{
}
/* dictates width of scroll bar upon hovering inside text box         */

.scroll-box::-webkit-scrollbar {
  width: .4em;
}
/* how round scroll bar is. aka border-radius     */

.scroll-box::-webkit-scrollbar,
.scroll-box::-webkit-scrollbar-thumb {
  overflow: visible;
  border-radius: 100px;
  background-color:rgba(51,51,51,0.2);
  margin-top: 2%!important;
}


/* color of scrollbar     */

.scroll-box::-webkit-scrollbar-thumb {
  background-color:#515151;
  /* opacity: 0.5; */
  margin-top: 2%!important;
  border-radius: 100px

}
/* tranisition of scroll bar upon being hovered on     */

.scroll-bar-wrap:hover .cover-bar {
  opacity: 0;
  -webkit-transition: all .3s;
}
.card-body::-webkit-scrollbar {
  width: 3px;
  background-color: #515151;
  border-radius: 100px
}


svg{
  width: 300px;
  height: 300px;
}
#btn-open, #btn-open > svg{
  left: 2rem;
  top:1rem;
  width: 32px;
  height: 32px;
  z-index: 999!important;
}
#btn-bajar, #btn-bajar > svg{
  right: 2rem;
  top:90vh;
  width: 35px;
  height: 35px;
  z-index: 999!important;
}

#btn-bajar:hover{
  opacity: 0.3;
  cursor: pointer;
}

#muestracontador1, #muestracontador2, #muestracontador3, #muestracontador4{
  font-size: 28px;
  font-weight: bold!important;
  padding-top: 15%;
}
.contenedor-contador{
  margin-top: 3rem!important;
  box-sizing: border-box;
  display: flex;
  margin: auto;
  width: auto;
  height: 150px;
}
/* cifras */
.txt{
  font-size: 18px;
  padding: 0px;
}
.centrado {
  background-size: cover;
  width: 220px;
  height: 220px;
  justify-content: center;
  text-align: center;
  padding-top: 15%;
  margin: auto;
  font-weight: bolder;
}
.col.border-left-medidas{
  border-left:3px solid rgba(23,23,23,0.1)!important;
}

/* ----------- iPhone 5, 5S, 5C and 5SE ----------- */
@media only screen
  and (min-device-width: 320px)
  and (max-device-width: 568px)
  and (-webkit-min-device-pixel-ratio: 2) {
          .card-text.details {
          max-height: 8rem!important;
          }
          .titulo{
            font-size: 20px;
            width: 220px;
          }
          .descripcion{
            width: 230px;
            line-height: 13px;
            font-size: 13px;
          }
          .gif-mobile {
            margin-top: 3rem!important;
          }
          .caro.ml-5{
            margin-top:1rem!important;
          }
          .dscp-gif.descripcion{
            font-size: 11px;
          }
          /* .diagrama-mobile{
            margin-left: 0px!important;
            width: 200px!important;
            height: auto;
          } */


}


/* ----------- iPhone 6, 6S, 7 and 8 ----------- */
@media only screen
  and (min-device-width: 375px)
  and (max-device-width: 667px)
  and (-webkit-min-device-pixel-ratio: 2) {
    .ModuleGroupFront .overlay{
    opacity: 0.2!important;
    }
    .ModuleSlideshow .background-content .carousel {
        height: 46vh!important;
    }

}

/* ----------- iPhone 6+, 7+ and 8+ ----------- */
@media only screen
  and (min-device-width: 414px)
  and (max-device-width: 736px)
  and (-webkit-min-device-pixel-ratio: 3) {
    .titulo{
      width: 260px;
    }
    .dscp-gif.descripcion{
      font-size: 13px;
    }
}



@media (max-width: 600px) {
  .col.border-left-medidas{
    border-left:3px solid transparent!important;
  }
  .titulo{
    font-size:25px;
  }
    .ModuleSlideshow .background-content .carousel .container{
        margin-left:0px!important;
    }
    .ModuleSlideshow .background-content .carousel .container .caro{
        width:100%!important;
    }
#muestracontador-mb1
,#muestracontador-mb2
,#muestracontador-mb3
,#muestracontador-mb4
{
margin-bottom: 0rem;
margin-top: 1.3rem;
}

/* menu */
.overlay {
  width: 94%;
  left: 11px;
  overflow:hidden;
}
.overlay-content {
  position: relative;
  top: 17%;
}
.overlay a, li, a{
  color:#515151;
  font-size: 16px;
  text-align: right;
  text-decoration: none!important;
  list-style:none!important;
  transition: 0.5s all ease-in-out!important;
  text-align: left;
}
/* .cortina{
  top:1rem;
  left: 2rem;
  display: block;
  z-index: 999;
  width: 35px;
  height: 35px;
  cursor: pointer;
} */
.cortina:hover{
  opacity: 0.5;
}
.overlay a:hover, .overlay a:focus {
  color: #515151;
}
.overlay .closebtn {
  position: absolute;
  top: 1.5rem;
  right: 1rem;
  font-size: 30px;
}
.sub-nav{
  font-size: 13px;
  color: #cccbc2;
  font-weight: bold;
  margin-bottom: 2px!important;
  cursor: pointer;
}
.content-nav{
  text-align: left;
  margin-left: 3%;
}

.link-nav{
  font-size: 12px;
  padding: 0px;
  margin-bottom: 0;
  cursor: pointer;
}
.language{
  font-weight: 700;
  transition: 0.5s all ease-in-out;
  color:black;
  font-size: 13px!important;;
}
.logo-menu{
     width: 91px!important;
    height: 28px!important;
}
.img-mob{
position: absolute;
top: 19.3rem;
left: 22rem;
}
.link-nav:hover, .sub-nav:hover{
cursor: pointer;
opacity: 0.4;
transition: 0.5s all;
}
.menu-active{
  background-color: rgba(0,0,0,0.1);
  width: max-content;
  border-radius: 20px;
  padding: inherit;
}
h6.menu:focus, h6.menu:hover {
    background-color: rgba(0,0,0,0.1);
    width: max-content;
    border-radius: 20px;
    padding: inherit;
    transition: 0.5s all;
    cursor: pointer;
}


/* 67++ */
.col-12.col-sm-12.col-md-4.col-lg-4.col-xl-4.ml-5.mb-3.exc-madera-mobile{
  margin-left: 13rem!important;
}
.card-body {
  -ms-flex: 1 1 auto;
  padding: 0rem 1rem 1rem 0.7rem!important;
}
.row.justify-content-center.mobile.mr-1.pt-3.cnt-1.diagrama-scroll{
  margin-left: 1rem!important;
  margin-top: 1.2rem!important;
  margin-bottom: 1rem!important
}
.mb-5.txt-mei-mob{
  margin-bottom: 1rem!important;
}
.diagrama-mobile{
  width: 230px!important;
}
/* cifras */
.col.border-left.ml-4.mt-1 > h4,.col.border-left.ml-4.mt-1 > h5, .col.border-left.mt-3 > h4,.col.border-left.mt-3 > h5  {
  margin-bottom: 3px!important;
  color:#515151;
}
.col.border-left.ml-4.mt-1 > h4, .col.border-left.mt-3 > h4 {
  font-size: 1.1rem!important;
}
.col.border-left.ml-4.mt-1 > h5, .col.border-left.mt-3 > h5 {
  font-size: .8rem!important;
  font-weight: bold;
}
.details-medidas{
  font-size: 13px!important;
}
.border-left-medidas{
  border: none!important;
}
.row.mt-5.ml-5.mr-5.mb-3.a-bl.d-block{
  border-left:2px solid #c9c7c7;
}
.row.mobile.textos{
  margin-top: 2.9rem!important;
  margin-left: 1rem!important;
  margin-bottom: 3rem!important;
}
.row.mobile > .row{
  margin: 0px 30px!important;
  margin-bottom: 2rem!important;
}
.row.m-5.cnt-1.cifras{
  margin-top: 2.3rem!important;
  margin-left: 1rem!important;
}

  /* fin 677++ */
  .row.mt-5.ml-5.mr-5.mb-3.a-bl.d-block{
    margin-left: 2rem!important;
  }

  .cnt-1.col-12.col-md-12.col-sm-12.col-xl-6.m-5{
    padding-left: 0px!important;
    /* margin: 3rem!important; */
    margin: 1rem 2rem!important;
  }
  .cortina{
    top:0px;
    left: 1rem;
    display: block;
    z-index: 999;
    width: 20px;
    height: 20px;
  }

  .col-12.col-sm-12.col-md-4.col-lg-4.col-xl-4.ml-5.mb-3.exc-madera-mobile{
    margin-top: 3.5rem!important;
  }
  .col-12.col-sm-12.col-md-4.col-lg-4.col-xl-4.ml-5.mb-3.exc-madera-mobile > h1{
    color:#515151!important;
  }
  .col-12.col-sm-12.col-md-4.col-lg-4.col-xl-4.ml-5.mb-3.exc-madera-mobile > p{
    color:#505050!important;
    font-size: 14px!important;
    margin-top: 0.5rem;
  }
  .card-text.details, .card-header > h6{
    color:#515151!important;
  }
  h6{
    color:gray!important;
  }


  .fondo_vanitorio{
    background-image:url('img/fondo_vanitorio_mobile.png')!important;
    background-size:cover;
    background-position: right;
    background-repeat: no-repeat;
  }
  .desktop{
    display:none!important;;
  }
  .mobile{
    display:block!important;
  }
  .titulo-principal{
    font-size: 20px!important;
  }
  /* .Module.ModuleHero */
  section.ModuleHero.Module{
    height: 100vh!important;
    /* font-family:Helvetica; */
  }
h2{
  font-size:1.2rem!important;;
}
h4{
  font-size: 1.2rem!important;
}
h5{
  font-size: .9rem!important;
}
h6{
  font-size: 0.9rem!important;
}

/* s1 */


/* gif */
/* contenido */
.gif-mobile{
  margin-top: 4rem;
}

.carousel{
  margin-top: -20px;

}
.row.mobile.d-flex.justify-content-start.mt-5{

}
/* descripcion gif */
.col-12.col-sm-12.col-xl-8.descripcion-gif{
  font-size: 12px;
  font-weight: 300;
}
/* s2 */
.align-items-end{
  align-items:center!important;
}

h5.mb-0{
  color:#515151;
  font-weight: 800!important;
}

/* scroll */

.scroll::-webkit-scrollbar {
  width: 4px;
  padding: 12px;
  border-radius: 100px;

}
/* fondo */
.scroll::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
  border-radius: 100px;
  cursor: pointer;
}
/* posicion */
.scroll::-webkit-scrollbar-thumb {
  border-radius: 100px;
  background-color: #515151!important;;
  cursor: pointer;
}
.scroll::-webkit-scrollbar-thumb:hover {
  cursor: pointer!important;
}

#accordion{
  border-radius: 20px!important;
  background-color: transparent;
  width: 70vw;
  height: 50vh!important;
  color:#515151!important;
}
.card {
  background-color: transparent!important;
  border-radius: 20px!important;
  position: relative;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  min-width: 70vw;
  border: none!important;
  color:#515151!important;
}
.card-header {
  background-color: transparent;
  width: 70vw;
  padding: 0rem!important;
  margin-bottom: 0;
  border-radius: 20px!important;
  background-color: transparent!important;;
  border-bottom: none!important;
  color:#515151!important;
}
.scroll {
  overflow-y: scroll;
}
.btn-link{
  list-style:none!important;
  border:none!important;
}
.btn-link.btn{
  text-decoration: none!important;
  list-style:none!important;
  border:none!important;
}
button{
  text-decoration: none!important;
  list-style:none!important;
}
.btn:focus {
  outline: 0;
  box-shadow: none!important;;
}
li, a{
  color:#515151;
  font-size: 18px;
  text-align: right;
  text-decoration: none!important;
  list-style:none!important;
  transition: 0.5s all ease-in-out!important;
  text-align: left;
}

.txt{
  font-size: 13px;
  padding: 0px;
  font-weight: normal;
}
#muestracontador1, #muestracontador2, #muestracontador3, #muestracontador4{
  font-size: 18px;
  font-weight: bold!important;
  margin-bottom: 0px!important;
}
.row.m-5.cnt-1.cifras{
  margin-bottom: 1rem!important;
}
.centrado {
  background-size: cover;
  width: 100px;
  height: 100px;
  justify-content: center;
  text-align: center;
  padding-top: 2%;
  margin: auto;
  font-weight: bolder;
  font-size: 10px;
  margin-top: 3%;
}

/* footer */
.footer1{
  font-size: 10px;
  line-height: 1.1;
}
/* .madera{
margin: 2rem!important;
} */
.diagrama-scroll{
  overflow-y: scroll;
}

.toggle{
  left: 7px;
  top: -14px;
}
.exc-madera::-webkit-scrollbar, .diagrama-scroll::-webkit-scrollbar {
  display: none;
}
.caro.ml-5{
  margin: 0px!important;
}
.ModuleSlideshow .background-content .bottom .slider{
  width: 200px!important;
  margin-left: auto!important;
}

.scroll-bar-wrap {
  width: 252px;
  height: 351px;
  margin: 0rem 2rem!important;
}
.ml-5.mei-mob-margin.mt-yell{
  margin-left: 0px;
}

.texto-scroll{
  font-size: 13px;
}

.descripcion, .descripcion-mei{
  width: auto;
}


.mei-desk{
  width: 400px;
}
.mei-mobile-title{
  padding-top: 20%!important;
  font-size: 25px!important;
  text-align: left!important;
}
.mei-mobile-subtitle{
  font-size: 15px!important;
  text-align: left!important;
}
.mei-mobile-desc{
  font-size: 13px!important;
  text-align: left!important;
}
.foto-cartas{
  display: none;
}


.col.border-left-medidas.ml-4.mt-1{
  margin-left: 0!important;
}
.row.pt-5.m-5.pl-3.pr-3.mrgn-xl{
  margin: 0!important;
  padding: 0!important;
}


.scrolleo{
  height: 100vh;
}
.parte1{
  height: 70vh;
}
.parte2{
  height: 60vh;
}
.b-sm{
  margin-top: 6%;
}
.b-sm1{
  margin-top: 4%;
}
.mt-d{
  margin-top: 5%!important;
  margin-bottom: 5%!important;
}
.mb-sm{
  margin-bottom: 2%!important;
}
.mb-sm1{
  margin-bottom: 10%!important;
}
.rounded-pill-{
  background: rgba(255, 255, 255, 0.2);
  color:black!important;
}
}

@media screen
  and (device-width: 360px)
  and (device-height: 640px)
  and (-webkit-device-pixel-ratio: 2) {
.img-mob{
position: absolute;
top: 19.3rem;
left: 15rem;
}
}
@media screen
  and (device-width: 360px)
  and (device-height: 740px)
  and (-webkit-device-pixel-ratio: 3) {
      .img-mob{
position: absolute;
top: 19.3rem;
left: 15rem!important;
}
}


/* iphone 6+7+ */
@media only screen
and (max-device-width: 450px)
and (min-height: 700px){
  .link-nav.mobile{
    color:#515151;
  }
  .cortina{
    top:0.6rem!important;
  }
  #myNav{
    overflow-y: hidden!important;;
  }
  .overlay {
    width: 94.3%!important;;
    left: 11px;
    overflow-y: hidden;
  }
  .overlay-content {
    position: relative;
    top: 3rem;
    left: 1.7rem;
}
  .overlay .closebtn {
display:none!important;
}
.logo-menu{
     width: 91px!important;
    height: 28px!important;
}
.img-mob{
position: absolute;
top: 19.3rem;
left: 22rem;
}

ol.mobile{
  padding-left: 0!important;;
}
}


/* x */
@media only screen
and (min-device-width: 370px)
and (max-device-width: 400px)
and (max-device-height: 812px)
and (orientation: portrait) {
  .dscp-gif.descripcion{
  font-size: 13px;
  }
.card-text.details{
  min-height:15rem!important;
  overflow: hidden;
}
.ModuleSlideshow .background-content .carousel {
  height: 46vh!important;
  padding-top: 1rem;
}
  .link-nav.mobile{
    padding-bottom: 0.3rem;
    color:#515151;
  }
  ol.mobile{
    padding-left: 0!important;;
  }
  .btn-link{
    opacity:0.4!important;;
    padding:0px!important;
  }
  .btn-link:focus{
    opacity:1!important;;
  }
  .overlay-content {
    position: relative;
    top: 4rem;
    left: 2rem;
}
.img-mob{
  position: absolute;
    top: 22rem;
    left: 19rem;
}
  .cortina{
    top:0.4rem!important;
  }

  .txt{
    padding: 10px!important;
  }
  .col-12 > h2.subtitulo{
    font-size: 21px!important;
    margin-bottom: 1rem!important;
  }
  .diagrama-mobile{
    margin-left: 1rem!important;
  }
  p.mb-5.txt-mei-mob.mobile{
    font-size: 14px!important;
  }
  .row.justify-content-center.mobile.mr-1.pt-3.cnt-1.diagrama-scroll{
    margin-top: 1.8rem!important;
  }
  .container-fluid.fondo_blanco.mrgn-xl{
    margin-top: 1.5rem!important;
  }
  .row.mobile.textos{
    margin-top: 3rem!important;
  }
  .col.border-left-medidas.ml-4.mt-1 > h4,.col.border-left-medidas.ml-4.mt-1 > h5, .col.border-left-medidas.mt-3 > h4,.col.border-left-medidas.mt-3 > h5  {
    margin-bottom: 10px!important;
    color:#515151;
  }

  .col-12.col-sm-12.col-md-4.col-lg-4.col-xl-4.ml-5.mb-3.exc-madera-mobile{
    margin-left: 14rem!important;
  }
  .card-body {
    -ms-flex: 1 1 auto;
    padding: 0rem 1rem 1rem 0rem!important;
  }
  .details-medidas {
    opacity: 0.2;
    font-size: 12px;
    margin-bottom: 0rem!important;
  }
  .row.mt-5.ml-5.mr-5.mb-3.a-bl.d-block{
    border-left: 3px solid #dfdcda;
  }

}


/* Iphone 678+*/

@media only screen
and (max-device-width: 400px)
and (max-device-height: 667px)
and (-webkit-min-device-pixel-ratio: 2)
and (orientation: portrait) {
  .link-nav.mobile{
    color: #515151;
  }
.img-mob{
overflow:hidden!important;
position: absolute;
top: 21rem;
left: 18rem;
}
.mt-1.logo-menu{
    width: 68px!important;
    height: 22px!important;
}
.language{
    font-size:9px!important;
}

  .col-12.col-sm-12.col-md-4.col-lg-4.col-xl-4.ml-5.mb-3.exc-madera-mobile{
    margin-left: 13.8rem!important;
  }
  /* carta madera */
  .btn-link{
    opacity:0.4!important;;
    padding:0px!important;
  }
  .btn-link:focus{
    opacity:1!important;;
  }

  .card-body {
    -ms-flex: 1 1 auto;
    padding: 0rem 0rem 1rem 0rem;
  }
  .row.justify-content-center.mobile.mr-1.pt-3.cnt-1.diagrama-scroll{
    margin-left: 1rem!important;
    margin-top: 1.2rem!important;
    margin-bottom: 1rem!important
  }
  .mb-5.txt-mei-mob{
    margin-bottom: 1rem!important;
    font-size:13px!important;
    font-weight: bold;
    line-height: 1!important;
  }
  .diagrama-mobile{
    width: 250px;
    height: auto;
  }
  .details-medidas {
    opacity: 0.2;
    font-size: 12px;
    margin-bottom: 0rem!important;
  }
  .col.border-left-medidas.ml-4.mt-1 > h4, .col.border-left-medidas.ml-4.mt-1 > h5, .col.border-left-medidas.mt-3 > h4, .col.border-left-medidas.mt-3 > h5  {
    margin-bottom: 0px!important;
    color:#515151;
  }
  .col.border-left-medidas.ml-4.mt-1 > h4, .col.border-left-medidas.mt-3 > h4{
    font-size: 1rem!important;
  }
  .col.border-left-medidas.ml-4.mt-1 > h5, .col.border-left-medidas.mt-3 > h5{
    font-size: .8rem!important;
    font-weight: bold;
  }
  .border-left-medidas{
    border: none!important;
  }
  .col.border-left-medidas.mt-3{
    margin-top: 0.6rem!important;
  }
  .row.mobile.textos{
    margin-top: 2.5rem!important;
    margin-left: 1rem!important;
    margin-bottom: 3rem!important;
  }
  .row.mobile > .row{
    margin: 0px 30px!important;
    margin-bottom: 10px!important;
  }
  .row.m-5.cnt-1.cifras{
    margin-top: 2.3rem!important;
    margin-left: 1rem!important;
  }
    .hyphenate.pt-2{
    font-size: 13px!important;
    font-weight: 300!important;
  }
  #myNav{
    overflow-y: hidden!important;;
  }
}

/* // Small devices (landscape phones, 576px and up) */
@media only screen and (min-width: 576px) {
}

/* // Medium devices (tablets, 768px and up) */
@media (min-width: 768px) { }

/* // Large devices (desktops, 992px and up) */
@media (min-width: 992px) {  }




@media (min-width: 1020px) and (min-height: 750px)  {
  .overlay{
    width: 96.1%!important;
    overflow: hidden;
  }
  .scroll-bar-wrap{
    width: 343px!important;
    height: 518px!important;
    RIGHT:108px!important
  }
  p.sub-nav {
    font-size: 11px!important;
    line-height: 13px!important;
  }
  p.link-nav{
    font-size: 10px!important;
    line-height: 13px!important;
  }
  .row.img-mob{
    margin-top: 7rem!important;
  }
  .language{
    font-size: 13px!important;
  }
}

@media (min-width: 1024px) and (min-height: 600px)  {
      .scroll-bar-wrap {
    height: 471px!important;
    left: 18px;
    width: 361px;
  }
  .overlay{
    width: 97%!important;
    overflow: hidden;
  }
  .row.img-mob{
    margin-top: 1rem!important;
  }

}

@media (min-width: 1240px) and (min-height: 500px)  {
  .scroll-bar-wrap {
    height: 271px!important;
    left: 82px;
    width: 361px;
  }
  .overlay{
    width: 97%!important;
    overflow: hidden;
  }
  p.sub-nav {
    font-size: 13px!important;
    line-height: 15px!important;
  }
  p.link-nav{
    font-size: 12px!important;
    line-height: 15px!important;
  }
  .row.img-mob{
    margin-top: 3rem!important;
  }

}
@media (min-width: 1240px) and (min-height: 600px)  {
  .row.img-mob{
    margin-top: 7rem!important;
  }
}
@media (min-width: 1240px) and (min-height: 700px)  {
  .row.img-mob{
    margin-top: 4rem!important;
  }
}
@media (min-width: 1240px) and (min-height: 720px)  {
  .scroll-bar-wrap {
    height: 471px!important;
    left: 0px;
    width: 450px;
  }
  .overlay{
    width: 97%!important;
  }
  p.sub-nav {
    font-size: 13px!important;
    line-height: 15px!important;
  }
  p.link-nav{
    font-size: 12px!important;
    line-height: 15px!important;
  }
  .row.img-mob{
    margin-top: 7rem!important;
  }
}



  @media (min-width: 1280px) and (min-height: 800px)  {
    .scroll-bar-wrap{
      height: 550px!important;
      width: 451px!important;
      right:26px!important
    }
    .overlay{
      width: 97%!important;
    }
    .row.img-mob{
      margin-top: 4rem!important;
    }
  }
  @media (min-width: 1360px) and (min-height: 760px)  {
    .scroll-bar-wrap{
      height: 520px!important;
      width: 500px!important;
      /* left: 173px!important; */
    }
    /* margen topmei */
    .row.justify-content-center.m-5.desktop{
      margin-top:7rem!important;
    }
    .overlay{
        width: 97.1%!important;
        overflow: hidden;
    }
    .row.img-mob{
      margin-top: 7rem!important;
    }
    p.sub-nav {
      font-size: 13px!important;
      line-height: 18px!important;
    }
    p.link-nav{
      font-size: 12px!important;
      line-height: 18px!important;
    }
  }

  @media (min-width: 1360px) and (min-height: 620px)  {
    .justify-content-start.d-flex.font-weight-bold.mb-4.ml-4{
      margin-top: 1rem!important;
    }
    .scroll-bar-wrap{
      height: 420px!important;
      width: 400px!important;
      left: 300px!important;
    }
    /* margen topmei */
    .row.justify-content-center.m-5.desktop{
      margin-top:7rem!important;
    }
    .overlay{
        width: 97.1%!important;
    }
    .row.img-mob{
      margin-top: 2rem!important;
    }
    p.sub-nav {
      font-size: 13px!important;
      line-height: 15px!important;
    }
    p.link-nav{
      font-size: 12px!important;
      line-height: 15px!important;
    }
  }

  @media (min-width: 1366px) and (max-height: 670px) {
          .row.img-mob{
        margin-top: 0rem!important;
      }
  }

  @media (min-width: 1366px) and (min-height: 670px) and (max-height: 700px) {
    .overlay{
width: 97.1%!important;
    }
    .scroll-bar-wrap {
      height: 435px!important;
      left: 150px!important;
      }
      .txt-mei, h3.mei-mobile-subtitle.mb-4.m-green{
        margin-bottom: 1rem!important;
      }
      .row.mt-5.ml-5.mr-5.mb-3.a-bl{
        margin-bottom: 0!important;
      }
      .foto-cartas{
        height: 34vh!important;
      }
                .row.img-mob{
        margin-top: 3rem!important;
      }
  }
  @media (min-width: 1440px) and (min-height: 700px)  {
    .justify-content-start.d-flex.font-weight-bold.mb-4.ml-4{
      margin-top: 0rem!important;
    }
    .scroll-bar-wrap{
      height: 550px!important;
      width: 568px!important;
      left:200px!important;
    }
    /* margen topmei */
    .row.justify-content-center.m-5.desktop{
      margin-top:7rem!important;
    }
    .ModuleSlideshow .background-content .bottom {
      margin-top: 9vh!important;
    }
    .ModuleSlideshow .background-content .carousel .container{
      margin-top: 2rem!important;
    }
    .foto-cartas{
      margin-top: 2rem!important;
    }
    .overlay {
    width: 97.3%!important;
    }
          .row.img-mob{
        margin-top: 3rem!important;
      }
      p.sub-nav {
        font-size: 13px!important;
        line-height: 18px!important;
      }
      p.link-nav{
        font-size: 12px!important;
        line-height: 18px!important;
      }
  }



  @media (min-width: 1530px) and (min-height: 750px)  {
    .scroll-bar-wrap{
      width: 543px!important;
      height: 518px!important;
      left: 300px!important;
    }
    .descripcion.desktop{
      width: 300px!important;
    }
    .ModuleSlideshow .background-content .bottom {
      margin-top: 7vh!important;
    }
    .ModuleSlideshow .background-content .carousel .container{
      margin-top: 1rem!important;
    }
    .overlay {
    width: 97.6%!important;
    /* height: 62%!important;; */
      }
      .descripcion.desktop {
          width: 455px!important;
      }
      .foto-cartas{
        margin-top: 2rem!important;
      }
      .row.img-mob{
        margin-top: 6rem!important;
      }
      p.sub-nav {
        font-size: 13px!important;
        line-height: 18px!important;
      }
      p.link-nav{
        font-size: 12px!important;
        line-height: 18px!important;
      }
  }



  @media (min-width: 1670px) and (min-height: 1040px)  {
    .scroll-bar-wrap{
      width: 570px!important;
      height: 600px!important;
      left: 230px!important;
    }
    .descripcion.desktop{
      min-width: 500px!important;
    }
    .ModuleSlideshow .background-content .bottom {
      margin-top: 14vh!important;
    }
    .ModuleSlideshow .background-content .carousel .container{
      margin-top: 4rem!important;
    }
    .descripcion.desktop {
      min-width: 480px!important;
      text-align-last: justify;
    }
    .foto-cartas{
      margin-top: 2rem!important;
    }
    .row.img-mob{
      margin-top: 8rem!important;
    }
}
@media (max-height: 900px)
and (min-width:1600px)
and (max-width: 1680px){
.scroll-bar-wrap {
    width: 553px!important;
    height: 605px!important;
    left:263px!important;
}
.descripcion.desktop{
   width: 500px!important;
}
.foto-cartas{
  margin-top: 3rem!important;
}
.row.ml-5.mr-5.pt-4.mrgn-rapidez{
  margin-top: 2rem!important;
}
.row.img-mob{
  margin-top: 5rem!important;
}
}
@media (min-width: 1600px) and (min-height: 900px)  {
  .scroll-bar-wrap{
    width: 543px!important;
    height: 518px!important;
    left: 190px!important;
  }
  .descripcion.desktop{
    min-width: 500px!important;
  }
  .ModuleSlideshow .background-content .bottom {
    margin-top: 11vh!important;
  }
  .ModuleSlideshow .background-content .carousel .container{
    margin-top: 3rem!important;
  }
}

@media (min-width: 1680px) and (min-height: 900px)  {
  .scroll-bar-wrap{
    left: 360px!important;
    height: 700px!important;
    width: 630px!important;
  }
  .row.img-mob{
  margin-top: 3.5rem!important;
}
}
    @media (min-width: 1920px) and (min-height: 900px)  {
              .scroll-bar-wrap {
        left: 615px!important;
        width: 607px!important;
        height: 690px!important;
    }
        .overlay {
        width: 98%!important;;
        left: 21px;
      }
      .row.img-mob{
  margin-top: 3rem!important;
}
}


    @media (min-width: 1920px) and (min-height: 1080px)  {
      .scroll-bar-wrap {
        width: 670px!important;
        height: 700px!important;
        bottom: 5rem!important;
        left: 490px!important;
      }

      .descripcion.desktop{
        min-width: 500px!important;
      }
      .ModuleSlideshow .background-content .bottom {
        margin-top: 14vh!important;
      }
      .ModuleSlideshow .background-content .carousel .container{
        margin-top: 4rem!important;
      }
      .descripcion.desktop {
        min-width: 480px!important;
        text-align-last: justify;
      }
      /* margen seccion gif */
      .row.ml-5.mr-5.pt-4.mrgn-rapidez{
        margin-top:3rem!important;
      }
      .cortina{
        left:3rem!important;
      }
      /* margen exc-madera txt */
      .col-12.col-sm-12.col-md-4.col-lg-4.col-xl-4.ml-5.mb-3{
        margin:3rem!important;
      }
      .row.justify-content-center.m-5.desktop{
        margin-top:12rem!important;
      }
      .container-fluid.fondo_blanco.mrgn-xl{
        margin-top: 8rem!important;
      }
      .row.m-5.cnt-1.cifras{
        margin-top: 8rem!important;
      }
      .foto-cartas{
        margin-top: 3rem!important;
      }
      .row.img-mob{
        margin-top: 5rem!important;
      }
      p.sub-nav {
        font-size: 14px!important;
        line-height: 21px!important;
      }
      p.link-nav{
        font-size: 13px!important;
        line-height: 21px!important;
      }
      .overlay {
        width: 97.1%!important;;
        left: 28px;
      }
    }
