/*!
 * Componente Nombre:  .tabs-main
 * Base: Bootstrap v4.6.2
 * Autor: DEX360
 * Copyright: DEX360

    1.  tabs-main

    10. responsive
*/

/* 1. tabs-main */
/* .tabs-main h3::after {
    background: linear-gradient(to left, #ccc, transparent);
    content: "";
    display: block;
    height: 2px;
    position: relative;
    top: 10px;
    width: 10%;
} */

.tabs-main .nav-tabs {
  border: none;
}
.tabs-main .nav-tabs button {
  font-size: 1.4em;
  margin: 0rem 1rem;
}
.tabs-main .nav-tabs .nav-link {
  color: var(--primary) !important;
  margin-left: 0.5rem !important;
}
.tabs-main .nav-tabs .nav-link:hover {
  border-color: var(--white);
}
.tabs-main .nav-tabs .nav-link.active {
  color: #000;
  font-weight: bold;
  border-color: #fff #fff #fff #fff;
  border-width: 1px;
}
.tabs-main .nav-tabs .nav-link.active img {
  filter: grayscale(100%);
  opacity: 0.5;
}
.tabs-main .nav-tabs .nav-link img {
  height: 28px;
  width: auto;
}
.tabs-main .tab-pane-content-img-text {
  min-height: 600px;
  overflow: hidden;
}
#tabs-main-gt .tab-pane .tab-image-container {
  background: var(--primary);
  left: 0px;
  height: 600px;
  overflow: hidden;
  position: absolute;
  text-align: right;
  top: 1px;
  width: 100%;
  z-index: 90;
}
#tabs-main-gt .tab-pane .tab-image-container img {
  object-fit: cover;
  width: 100%;
}

.tabs-main .tab-text-container {
  background-color: white;
  border-right: 1px solid white;
  padding-left: 8.5%;
  width: 35%;
  display: block;
  min-height: 515px;
  position: relative;
  z-index: 100;
}
.tabs-main .tab-text-container::before {
  background: url(../../img/fondo-transparente.png) no-repeat left top;
  content: "";
  display: block;
  height: 515px;
  position: absolute;
  right: -281px;
  top: 0px;
  width: 281px;
}

.tab-text-content {
  height: 270px;
  width: 100%;
  overflow-y: /*auto*/ scroll;
  border: 1px solid white;

  /* Firefox */
  scrollbar-width: thin;
  scrollbar-color: #9aa4b2 transparent;

  /* Evita “salto” cuando aparece el scroll */
  scrollbar-gutter: stable;
}


/* 10. responsive */
/* Tablet */
@media (min-width: 601px) and (max-width: 1024px) {
  #tabs-main-gt .tab-pane .tab-image-container img {
    object-fit: cover;
    width: 100%;
    height: 100%;
  }
  #nav-tabContent .tab-text-container img {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .tab-text-content {
    height: auto;
    overflow-y: hidden;
  }
  .tabs-main h3::after {
    margin: 0 auto;
    width: 60%;
  }
  .tabs-main .nav-tabs button {
    margin: 0rem 0.5rem;
    padding: 0.5rem 0.7rem !important;
  }
  .tabs-main .nav-tabs .nav-link {
    width: 44%;
    margin: 3%;
  }
  .tabs-main .nav-tabs .nav-link img {
    height: inherit;
    width: 100%;
  }
  .tabs-main .tab-text-container {
    padding: 0 10%;
    width: 100%;
    min-height: inherit;
  }
  .tabs-main .tab-text-container img {
    width: 85%;
  }
  #tabs-main-gt .tab-pane .tab-image-container {
    height: inherit;
    margin-top: 50px;
    position: inherit;
    text-align: inherit;
    width: 100%;
  }
  #tabs-main-gt .tab-pane .tab-image-container img {
    height: inherit !important;
    width: 100%;
  }
  .tabs-main .tab-pane-content-img-text {
    min-height: inherit;
  }
  .tabs-main .tab-text-container::before {
    display: none;
  }
  .tabs-main .nav-tabs {
    border-bottom: 1px solid var(--primary);
  }
}
