*{
  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;
}
.container-fluid.historia{
  padding-left: 0px!important;
}
.mobile{
  display:none!important;
}
.template{
  transform:none!important;
}
/* textos */
p{
  font-size: 14px!important;
  color:#515151!important;
  line-height: 1.4px;
}

/* fondos */
.inicio{
  background-image:url('img/endemik-1.jpg')!important;
  background-size:cover;
  background-repeat: no-repeat;
}

#historia{
  background-image: url('img/fondo-sust.png');
      background-size: 850px 500px;
      background-repeat: no-repeat;
      background-position: 16px;
      background-position-y: 102px;
      height: -webkit-fill-available;
      background-position-x: ;
}
.foto-cartas {
    background-image: url(img/endemik-4.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 20px;
    width: 100vw!important;
    height: 20vw;}
.conservacion{
  background-image: url("img/fondo-conversacion.png");
  background-size: cover;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-position-y: -300px;
  border-radius: 20px;
  width: 100vw!important;
  height: 20vw;
}

.fondo_nosotros{
  background-image:url('img/endemik-3.jpg')!important;
  background-size:cover;
  background-repeat: no-repeat;
}
#fondo-carta2{
  background-image: url("img/endemik-3.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* textos */
.titulo{
  font-weight: bolder;
  font-size: 41px;
  line-height: 1;
}
.descripcion{
  font-size:14px;
}

/* scroll */
.scroll-bar-wrap{
  height: 580px!important;
  background-color: transparent;
  overflow-y: auto;
  padding: 25px;
  margin-top: 4rem;
}

/* squeezes content into certain height       */
.cover-bar{
}
.scroll-box {
  width: 100%;
  height: 100%;
  overflow-y: scroll;
  text-align: justify;
  padding-right:3.5%!important;
}
/* 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: 50px;
  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;

}


/* background color of panel scroll bar sits on as well as transitiong of scroll bar off the screen when not hovered upno     */
.texto-scroll{
  font-size: 15px;
}



/* 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: 1px;
  background-color: #515151;
}


.certificados{
  margin-top: 6rem;
  height: 60vh;
  align-content:center!important;

}
h5{
  color:#515151!important;
  font-weight: bold;
}
/* estrategia */
.pos-estrategia{
  margin-top: 6rem;
  height: 60vh;
  align-content:space-between!important;;
}



.nestrategia{
  border-left:2px solid #515151;
  transition: .5s all;
  opacity: 0.2;
}
.nestrategia:hover{
  opacity: 1;
  cursor:pointer;
}
.nestrategia:active{
  opacity: 1;
  cursor:pointer;
}
.nestrategia:focus{
  opacity: 1;
  cursor:pointer;
}
/*
.nestrategia:hover{
  border-left:2px solid;
  transition: .5s all;
}
p.detalle-estrategia{
  opacity: 0.1;
  font-size: 13px;
  transition: 0.4s;
  color:gris;
  transition: .5s all;
}
p.detalle-estrategia:hover{
  transition: 0.4s;
  cursor: pointer;
  opacity: 1;
} */


/* .row.estrategia{
margin-top: 23rem;
} */


.subtitulo-2.pic{
  line-height: 1;
  color:#515151;
}
p{
  font-weight: 300;
}

.boton-inicio{
  cursor:pointer;
  background-color:#fff;
  width:auto;
  align-content:center;
  border-radius:20px;
  height:20px;
  font-size: 10px;
}

.boton-inicio > a{
display:flex;flex-direction:column;justify-content:space-around;
margin:0;pointer-events:none;height:100%;
font-size: 12px;
}



.titulo-principal{
  font-weight:600!important;
}
/* menu */
/* menu */
#myNav{
  padding-left: 1.2rem;
}
.menu{
    color:#515151;
}
.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;
  color:#515151;
}

.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;
}


.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:white!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:white!important;
}


/* 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 */

.titulo{
  font-weight: bolder;
  font-size: 41px;
  line-height: 1;
  min-width: 500px;
}
.descripcion.desktop, .descripcion-mei{
  min-width: 500px;
  font-size: 15px;
}
.descripcion.desktop{
  min-width: 300px;
}
.ModuleGroupFront .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  opacity: .4;
  width: 100%!important;;
  height: 100%;
  background-color: #000;
  z-index: auto;
}
/* segundacarta */
.subtitulo-2{
  font-size:33px;
}
.titulo2{
  font-size: 34px;
}
.subtitulo-2, .titulo2, h6, h4{
  font-weight:bold!important;;
}
.text-centro{
  text-align: left!important;
}

/* 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;
}

.logos{
  background-size: contain;
  background-repeat: no-repeat;
    width: 250px;
    height: 109px;
    align-content: baseline;
    align-self: end;
    margin-top: 2rem;
}
.btn.boton-inicio{
  align-self: end;
  margin-top: 2rem;
  margin-left: 2rem;

}
@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!important;
  line-height:21px;
  font-weight:400;
}
.seccion1{
  position: relative;
  /* margin-top: 18%!important; */
}
.fondo_blanco{
  background-color: #FFFFFF!important;
}

svg{
  width: 300px;
  height: 300px;
}
#btn-bajar, #btn-bajar > svg{
  right: 1rem;
  top:91vh;
  width: 35px;
  height: 35px;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  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;
}


@media screen
  and (device-width: 360px)
  and (device-height: 640px)
  and (-webkit-device-pixel-ratio: 2) {
    .titulo.mobile{
      font-size: 25px;
    }
    .cnt-1.col-12.col-md-12.col-sm-12.col-xl-6.m-5{
    padding-bottom:11%;}

}

@media (max-width: 600px) {
    .mobile.mb-5.footer1{
        margin-bottom:2rem!important;
    }

.row.nestrategia-mobile{
  margin: 50px;
      border-left: 1px solid;
      overflow: auto;
      overflow-y: scroll;
      }
.nestrategia.mobile.primero{
  margin-left: 0px!important;

}
.nestrategia.mobile{
  border:none!important;
}



.scroll-bar-wrap.mobile{
  height: 480px!important;
  background-color: transparent;
  overflow-y: auto;
  padding: 42px;
  margin-top: 2rem;
  padding-left: 65px;
}

  .sustn{
    background-image: url('img/fondo-sust.png');
    background-size: 256px;
    background-repeat: no-repeat;
    background-position-y: 56vh;
    background-position-x: 16px;
      }
  .titulo.mobile{
    font-size: 25px!important;
  }
  .scroll-bar-wrap.mobile.conserv{
    min-height: 480px!important;
    background-color: transparent;
    overflow-y: auto;
    padding-top: 20px;
    margin-top: 0rem;
    padding-left: 22px;
    padding-right: 22px;


    border: none!important;
  }

  .descripcion.mobile{
    color:white!important;
  }
  h6{
    color:#515151!important;
  }
/* nav */

/* menu */
/* 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!important;
  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;
}
#btn-open, #myNav, #navMob{
  transition: .6s!important;
}
.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;
}

/* nav */






/* 67++ */
.ModuleGroupFront .content {
  top: 210px!important;;
}
.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.acordeon{
  margin-right: 2px;
}
.card-text.details{
  max-height:6rem!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;
  margin-left: 1.5rem!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{
  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;
}
.hyphenate.pt-2{
  font-size: 13px!important;
  font-weight: 300!important;
}

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

  .ModuleGroupFront .content{
    top:150px!important;
  }

  .cnt-1.col-12.col-md-12.col-sm-12.col-xl-6.m-5{
    padding-left: 0px!important;
    padding-bottom:0px!important;;

    /* margin: 3rem!important; */
    margin: 1rem 2rem!important;
  }
  .card-text.details{
    max-height:6rem!important;;
  }
  .subtitulo-2{
    color:#515151!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:white!important;
  }

  .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; */
  }
  /* .m-5, .mr-5, .mt-5{
  margin: 2rem!important;
}
.ml-5.mr-5.mrgn-rapidez, .cnt-1{
margin-left: 1.5rem!important;
} */
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;
}
.subtitulo-2{
  line-height: 1;
}
.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: 3px;
  padding: 12px;
}
/* fondo */
.scroll::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(255,255,255,0.3);
  border-radius: 50px!important;
  cursor: pointer;
}
/* posicion */
.scroll::-webkit-scrollbar-thumb {
  border-radius: 50px!important;
  background-color: white!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:WHITE!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:white!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:white!important;
}
.scroll {
  overflow-y: scroll;
}
.btn-link{
  color:white!important;
  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;
}

.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.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;
}
}
/* x */
@media only screen
and (min-device-width: 370px)
and (max-device-width: 400px)
and (max-device-width: 812px)
and (orientation: portrait) {
  .scroll-bar-wrap.mobile{
    height: 580px!important;
  }

  .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;
  }
  #myNav{
    overflow-y: hidden!important;;
  }
  .txt{
    padding: 10px!important;
  }
  .col-12 > h2.subtitulo-2{
    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.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: 10px!important;
    color:#515151;
  }
  .ModuleGroupFront .content {
    top: 250px!important;;
  }
  .carousel {
    margin-top: -17px!important;;
  }
  .ModuleSlideshow .background-content .carousel {
    height: 34vh!important;;
  }
  .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;
  }
  #accordion{
    margin-left: 1rem!important;
  }
  .card-body {
    -ms-flex: 1 1 auto;
    padding: 0rem 1rem 1rem 0rem!important;
  }
  .card-text.details{
    max-height:10rem!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: 2px solid #c9c7c7; */
  }

}




                        @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){
  .scroll-bar-wrap.mobile{
    height: 480px!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;
  }
  .card-body.mobile{
    padding: 0!important;
  }
  .card-body{
    padding-bottom:0px!important;;
  }
  .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;
  }
  /* .overlay .closebtn {
  position: absolute;
  right: 0.6rem!important;
  top:0.3rem!important;
  font-size: 25px!important;
  } */
  .img-mob{
    position: absolute;
    top: 18rem;
    left: 17rem;
  }
}

/* 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) {
  .scroll-bar-wrap.mobile{
    height: 480px!important;
  }
  .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;
  }

  .ModuleGroupFront .content {
    top: 150px!important;
  }
  .carousel {
    margin-top: -47px!important;
  }
  .ModuleSlideshow .background-content .carousel {
    height: 34vh!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-text.details{
    max-height:6rem!important;;
  }
  .card-body {
    -ms-flex: 1 1 auto;
    padding: 0rem 1rem 1rem 0rem;
  }
  .row.acordeon{
    margin-right: 2px;
  }
  .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.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: 0px!important;
    color:#515151;
  }
  .col.border-left.ml-4.mt-1 > h4, .col.border-left.mt-3 > h4{
    font-size: 1rem!important;
  }
  .col.border-left.ml-4.mt-1 > h5, .col.border-left.mt-3 > h5{
    font-size: .8rem!important;
    font-weight: bold;
  }
  .border-left{
    border: none!important;
  }
  .col.border-left.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;
    }
    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)  {
  .overlay{
    width: 97%!important;
    overflow: hidden;
  }
  .row.img-mob{
    margin-top: 1rem!important;
  }

}
@media (min-width: 1240px) and (min-height: 500px)  {
  .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)  {
  .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)  {
  .overlay{
    width: 97%!important;
  }
  .row.img-mob{
    margin-top: 4rem!important;
  }
}

  @media (min-width: 1360px) and (min-height: 760px)  {

    .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: 1366px) and (max-height: 700px) {
    .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;
    }
      .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: 20vh!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;
  }
              .row.img-mob{
      margin-top: 3rem!important;
    }
}
  @media (min-width: 1440px) and (min-height: 700px)  {
    .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;
      }
    /* 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;
    }
  }
  @media (min-width: 1530px) and (min-height: 750px)  {
    .overlay {
    width: 97.6%!important;
    /* height: 62%!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;
      }
    .descripcion.desktop{
      width: 300px!important;
    }
    .ModuleSlideshow .background-content .bottom {
      margin-top: 7vh!important;
    }
    .ModuleSlideshow .background-content .carousel .container{
      margin-top: 1rem!important;
    }
      .descripcion.desktop {
          width: 455px!important;
      }
      .foto-cartas{
        margin-top: 2rem!important;
      }
  }
  @media (min-width: 1670px) and (min-height: 1040px)  {
    .row.img-mob{
      margin-top: 8rem!important;
    }
}
@media (max-height: 900px)
and (min-width:1600px)
and (max-width: 1680px){
.row.img-mob{
  margin-top: 5rem!important;
}
}

@media (min-width: 1680px) and (min-height: 900px)  {
  .row.img-mob{
  margin-top: 3.5rem!important;
}
}
    @media (min-width: 1920px) and (min-height: 900px)  {
        .overlay {
        width: 98%!important;;
        left: 21px;
      }
      .row.img-mob{
  margin-top: 3rem!important;
}
}

  @media (min-width: 1600px) and (min-height: 900px)  {
    /* .scroll-bar-wrap{
      width: 543px!important;
      height: 518px!important;
      left: 350px!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: 1670px) and (min-height: 1040px)  {
    /* .scroll-bar-wrap{
      width: 570px!important;
      height: 600px!important;
      left: 350px!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;
    }
}
@media (max-height: 900px)
and (min-width:1600px)
and (max-width: 1680px){
/* .scroll-bar-wrap {
    width: 553px!important;
    height: 605px!important;
    left: 449px!important;
} */
.descripcion.desktop{
   width: 500px!important;
}
.foto-cartas{
  margin-top: 3rem!important;
}
.row.ml-5.mr-5.pt-4.mrgn-rapidez.desktop{
  margin-top: 2rem!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.desktop{
        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;
      }
    }

        @media (min-width: 1920px) and (min-height: 1080px)  {
          .cortina{
            left: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;
          }
        }
