/* ==============================================================
   History — Historia corporativa (history-swiper, through_time)
   Extraído de main.css — módulo activo del sitio
   ============================================================== */

.history-swiper.swiper-container {
  width: 100%;
  height: 100%;
}

.history-swiper .swiper-slide {
  display: flex;
  justify-content: center;
  /* align-items: flex-end; */
  background-size: cover;
  max-height: 100vh;
}

.history-swiper .swiper-slide .history-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.history-swiper .history_content {
  width: 50%;
  padding-top: 13em;
}

.history-swiper .history_content .page_link {
  margin-bottom: 25px;
  margin-left: 0;
}

.history-swiper .history_content .page_link a {
  color: #ffffff;
}

.history-swiper .history_content .page_link span {
  color: #ffffff;
}

.history-swiper .history_content .title h1 {
  font-family: "Helvetica Neue", sans-serif;
  font-weight: 700;
  font-size: 48px;
  color: #ffffff;
}

.history-swiper .history_content .title h2 {
  font-family: "Helvetica Neue", sans-serif;
  font-weight: 700;
  margin: 20px 0;
  color: #ffffff;
  font-size: 32px;
}

.history-swiper .history_content .text p {
  font-size: 22px;
  line-height: 30px;
  margin: 20px 0;
  color: #ffffff;
}

.history-swiper .history_content .text p span {
  font-weight: 700;
  color: #ffffff;
}

.history-swiper .swiper-pagination .swiper-pagination-bullet {
  width: 11px;
  height: 11px;
  background-color: #ffffff;
  opacity: 1;
  margin: 15px 10px;
}

.history-swiper .swiper-pagination .swiper-pagination-bullet::after {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  background-color: #000000ce;
  border-radius: 100%;
  margin-left: -2.9px;
  margin-top: 3.5px;
}

.history-swiper .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
  background-color: #ed6318;
}

.history-swiper .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active::after {
  display: none;
}

.table_container {
  padding: 4em 0;
}

.table_container .darnel_table {
  border-collapse: collapse;
  width: 100%;
  color: #454543;
  font-size: 22px;
}

.table_container .darnel_table td,
.table_container .darnel_table th {
  border-bottom: solid 1px #2671ba;
  border-top: solid 1px #2671ba;
  text-align: left;
  padding: 8px;
}

.table_container .darnel_table tr:first-child {
  background-color: #eef7fe;
}

.table_container .darnel_table td img {
  width: 20px;
  height: auto;
  margin-left: 30%;
}

.table_container .darnel_table td.bold {
  font-weight: 700;
  padding-left: 1.3em;
}

.through_time-bg {
  background-image: url("../img/atraves-del-tiempo.jpg");
}

.through_time-bg.company_description .description_content {
  padding-bottom: 12em;
}

@media only screen and (min-width: 1600px) {
  .through_time-bg.company_description .description_content.left {
    min-height: 80vh;
  }
}

.through_time-bg.company_description .description_content.left h1 {
  margin-bottom: 35px;
  font-family: "Helvetica Neue", sans-serif;
}

.through_time-bg.company_description .description_content.left .global-button-blue {
  padding: 10px 50px;
}

@media only screen and (max-width: 1023px) {
  .table_container {
    padding: 4em 25px;
  }

  .history-swiper .history_content {
    width: 60%;
  }
}

@media only screen and (max-width: 1024px) {
  .history-swiper .history_content {
    width: 70%;
    padding-top: 10em;
    padding-left: 25px;
  }
}

@media only screen and (max-width: 1024px) {
  .table_container {
    overflow-y: scroll;
  }

  .table_container .darnel_table {
    width: 1100px;
  }

  .history-swiper .swiper-slide {
    background-size: cover;
    background-repeat: no-repeat;
    max-height: 20rem;
  }

  .history-swiper .swiper-slide .history_content {
    width: 95%;
    margin: auto;
    padding-left: 0;
  }

  .history-swiper .swiper-slide .history_content .title h1 {
    color: #4a4a49;
    font-size: 28px;
  }

  .history-swiper .swiper-slide .history_content .title h2 {
    color: #4a4a49;
    font-size: 28px;
  }

  .history-swiper .swiper-slide .history_content .text p {
    color: #4a4a49;
    font-size: 16px;
  }

  .history-swiper .swiper-pagination {
    right: 10px;
    top: 27%;
    transform: translate3d(0px, -50%, 0);
    left: initial;
    bottom: initial;
    width: auto;
  }

  .history-swiper .swiper-pagination .swiper-pagination-bullet {
    display: block;
    background-color: #2671ba;
  }

  .history-swiper .swiper-pagination .swiper-pagination-bullet::after {
    background-color: transparent;
  }

  .history-swiper .swiper-pagination .swiper-pagination-bullet-active {
    background-color: transparent !important;
    border: solid 1px #2671ba;
  }
}

@media only screen and (max-width: 1366px) {
  .history-swiper .history_content .title h1 {
    font-size: 64px !important;
  }

  .history-swiper .history_content .text p {
    font-size: 24px !important;
  }

  .history-swiper .swiper-slide.bg-1 {
    position: relative;
    z-index: 9;
  }

  .history-swiper .swiper-slide:before {
    position: absolute;
    content: "";
    background: linear-gradient(90deg, #000000ba 0%, #00000026 100%);
    top: 0;
    height: 100%;
    width: 100%;
    z-index: -1;
  }
}

@media only screen and (max-width: 1280px) {
  .history-swiper .history_content {
    padding-top: 13em;
  }
}

@media only screen and (min-width: 1023px) {
  .through_time-bg.company_description .description_content.left h1 {
    font-size: 38px;
  }

  .through_time-bg.company_description .description_content.left p {
    font-size: 22px;
    width: 100%;
    margin-bottom: 15px;
    font-weight: 300;
    line-height: 27px;
  }

  .through_time-bg.company_description .description_content.left {
    min-height: 75vh;
  }
}

@media only screen and (max-width: 1024px) {

  /* .leaflet-container.leaflet-touch-drag.leaflet-touch-drag{
        display: none;
    } */
  .history-swiper .swiper-slide .history_content .title h1 {
    font-size: 48px !important;
  }

  .history-swiper .swiper-slide .history_content .text p {
    font-size: 18px !important;
  }
}

@media only screen and (max-width: 1023px) {
  .through_time-bg.company_description .description_content.left .global-button-blue {
    padding: 10px 70px;
  }
}

.history-swiper.swiper-container {
  height: 100vh;
  overflow: hidden;
}

@media screen and (min-width: 610px) and (max-height: 700px) {
  .history-swiper .swiper-slide.bg-1 .history_content {
    width: 63%;
    padding-top: 10em;
  }
}

@media screen and (max-width: 1280px) {
  .history-swiper .history_content .text p {
    font-size: 20px;
  }
}

body .history-swiper .swiper-slide:nth-child(1) .history_content .history_box .history_date {
  display: none;
}

body .through_time-bg.company_description .description_content.left h2 {
  font-family: "Helvetica Neue", sans-serif !important;
  font-weight: 700 !important;
}

@media only screen and (min-width: 1280px) {
  body .through_time-bg.company_description .description_content.left h2 {
    font-size: 38px !important;
  }
}

@media only screen and (max-width: 1279px) {
  body .through_time-bg.company_description .description_content.left h2 {
    font-size: 28px !important;
  }
}

@media only screen and (max-width: 768px) {
  body .history-swiper.swiper-container {
    height: calc(500px + 12rem) !important;
  }

  body .history-swiper.swiper-container .container-history {
    padding-top: 22rem;
    min-height: 500px;
  }
}

