.img {
  width: 100%;
}
#flipbook a{
color: #484848 ;
}
.btn-red{
  color : #fff !important; 
}
#flipbook {
  width:100% ;
  display: none;
  transition: transform 0.3s ease-out;

}

.btn-left,
.btn-right,
.btn-zoom
{
  background-color: #000;
  opacity: .75;
  color: #fff;
  border-radius: 50%;
  border: .1rem #404040 solid;
  padding: 7px 14px;
  font-size: 18px;
  font-weight: bolder;
  cursor: pointer !important;
  transition: background-color 0.2s;
  margin: 0 0.25rem;
}
.btn-zoom{
    font-size: 15px;
    padding: 9px 13.5px;
  }
.btn-bottom:hover {
  opacity: 1;
  cursor: pointer !important;
}

.flecha-izquierda,
.flecha-derecha {
  width: 30px;
  height: 30px;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  cursor: pointer;
}

.flecha-izquierda {
  left: 10px;
}

.flecha-derecha {
  right: 10px;
}
.prev-btn {
  display: none;
}

.ui-arrow-next-page,
.ui-arrow-previous-page {
  width: 30px;
  height: 60px;
  position: absolute;
  top: 50%;
  top: calc(50% - 30px);
  color: #000;
  right: -40px;
  z-index: 10;
  background-size: 60px 120px;
  background-position: 0 0;
  opacity: 0.75;
  font-size: xx-large;
  transition: opacity 0.2s;
  cursor: pointer;
}


.ui-arrow-previous-page {
  background-position: 30px 0;
  right: auto;
  left: -40px;
}

#loading-message {
  font-size: 24px;
  color: #484848;
  text-align: center;
  line-height: 600px;
}

#thumbnail-carousel {
  display: flex;
  overflow-x: hidden;
  overflow-y: hidden;
  white-space: nowrap;
  width: 100%;
  margin: 2px auto;
  padding: 2rem;
  background-color: #e5e5e5;
}

.thumbnail {
  width: 100%;
  cursor: pointer;
  transition: transform 0.2s;
}

.thumbnail:hover {
  transform: scale(1.05);
}

.slick-next {
  right: 0.85rem !important;
}

.slick-prev {
  left: 0rem !important;
}

.slick-slide {
  margin: 0 5px;
}

.slick-next:before,
.slick-prev:before {
  color: #000 !important;
  font-size: 30px !important;
}

.pagCar {
  font-size: 0.8rem !important;
  color: #484848;
}

.flipbook .page {
  width: 100%;
  position: relative;

}

.flipbook {
  height: 40vw;
}

.flipo-controls {
  display: flex;
  justify-content: center;
}

.zoom-in:hover {  
  cursor: zoom-in;
}
 .page-wrapper[page="1"] {
    cursor: default !important;
}
.zoom-out:hover {
  cursor: zoom-out;
}
.zoom-out{ height: auto;}
 .oscuro, .oscuro .container, .oscuro #thumbnail-carousel, .oscuro footer{
  background-color: #292929;

}
.oscuro header, .oscuro .dot1{
  opacity: 1%;
}
.oscuro .ui-arrow-next-page, .oscuro  .ui-arrow-previous-page{
  color:#fff !important;
}
.flip-mas-sup h2, .flip-ultimos-sup h2{
    margin: 0;
    font-size: 1.5rem;
}
.flip-ultimos-sup{
  margin-top: 4rem !important;
  background-color: #e5e5e5;
}
.flip-mas-sup{
  margin-top: 4rem !important;
  background-color: #e5e5e5;
}
.flip-span-sup{
  margin-top: .5rem;
  float: right;
  font-size: small;
  margin-right: 1rem;
}
.figSupflip {
  width: calc(100% - 9%);
  height: calc(12rem * 1.5); 
  margin: 0 auto;
  display: block;
  overflow: hidden;
}
.figSupmasflip{ width: calc(100% - 9%);
  height: calc(12rem * 1.55); 
  margin: 0 auto;
  display: block;
  overflow: hidden;
}
.flip-row-mas,.flip-row-ultimos{   
  --bs-gutter-y: .5rem;
  width:100%;
  display: flex;
  flex-wrap: wrap;
  margin-top: calc(2 * var(--bs-gutter-y));
  margin-right: calc(-.5 * var(--bs-gutter-x));
  margin-left: calc(2 * var(--bs-gutter-x));
  justify-content: space-around;
}
.titulo0{
  line-height: 2.5rem;
  padding-top: 0;
}
.iconos:before{
  margin-top: 0;
  height: 2.5rem;
}
@media (min-width: 768px) { /*desktop*/
  #flipbook {
  width:100% !important;
  display: none;
  transition: transform 0.3s ease-out;

}

  .izq::before{
    content: "";
    position: absolute;
    width: 45px;
    height: 55px;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.1);
    clip-path: polygon(0 0, 100% 100%, 0 100%);
    cursor: pointer;
    transition: background 0.1s;
  }

  .izq:hover::before {
     opacity: 0.4;
  border-width: 0 50px 50px 0;
  border-color: transparent rgba(0, 0, 0, 0.25) transparent transparent;
}
 

  .der::after {
    content: "";
    position: absolute;
    width: 45px;
    height: 55px;
    bottom: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.1);
    clip-path: polygon(120% 0, 0 100%, 150% 123%);
    cursor: pointer;
    transition: background 0.1s;
   
  }

  .der:hover::after {
    background: rgba(0, 0, 0, 0.3);

  }
}


@media (max-width: 767px) { 
  .flipbook {
    width: 100% !important;
    height: 420px !important;
  }

  .imgflip {
    width: 324px !important;
    height: 400px !important;
  }

  .btn-zoom {
    display: none;
  }

  .prev-btn {
    margin-right: 3rem;
  }

  .page::after {
    content: "";
    position: absolute;
    width: 50px;
    height: 50px;
    bottom: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.1);
    clip-path: polygon(100% 0, 0 100%, 100% 100%);
    cursor: pointer;
  }

  .page:hover::after {
    background: rgba(0, 0, 0, 0.3);
  }

  .page::before {
    content: "";
    position: absolute;
    width: 50px;
    height: 50px;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.1);
    clip-path: polygon(0 0, 100% 100%, 0 100%);
    cursor: pointer;
  }

  .page:hover::before {
    background: rgba(0, 0, 0, 0.3);
  }
  #thumbnail-carousel{
    max-height: 17rem;
  }
  .slick-slide .thumbnail{
    max-height: 7.5rem ;
  }
  .flip-span-sup{
    float: none;
  }
  .flip-mas-sup h2, .flip-ultimos-sup h2{
    margin: 0;
    font-size: calc(4vw * 0.7590);
  }
}
