/* Para dispositivos de escritorio */
.img-bg-2 {
  background-image: url('../images/promos/promociones-back-desk.jpg');
  background-size: cover;
  background-position: bottom;
  width: 100%;
  height: 60vh;
}

.container.container-banner {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

#content {
  background-color: #1a1a1a !important;
}

#page-title .container h1 {
  font-size: 2rem;
  line-height: 1.4;
  border-bottom: 1px solid #ffffff;
  padding-bottom: 1rem;
}

.page-title-content {
  margin-top: 0 !important;
}

#page-title {
  display: block !important;
  border-bottom: none;
}

/* card promos */
.grid-switch-content:not(.col-grid) > div {
  -ms-flex: 0 0 100%;
  flex: 0 0 100%;
  max-width: 100%;
  -ms-flex-direction: column !important;
  flex-direction: column !important;
  position: relative !important;
}

.grid-switch-content .card-img {
  -ms-flex: 1 1 auto !important;
  flex: 1 1 auto !important;
  border-radius: 0.25rem 0.25rem 0 0;
}

@media (min-width: 768px) {
  .grid-switch-content:not(.col-grid) .card-img {
    -ms-flex: 0 0 33.333333%;
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
  .grid-switch-content .col-full .card-img {
    border-radius: 0.25rem 0 0 0.25rem;
  }
}

/* card horizontales */

.grid-switch-content.col-full .container-box-promo,
.grid-switch-content.col-full .image-border {
  text-align: start;
}

.grid-switch-content.col-full .img-seven {
  display: inline !important;
}

.grid-switch-content.col-full .promo-buttons-container {
  justify-content: start !important;
}

.promo-text h2 span {
  color: white !important;
}

.grid-switch-content.col-grid .promo-text .container-box-promo h2 span {
  display: block;
}

.grid-switch-content.col-full .promo-text .container-box-promo h2 span {
  display: inline;
}

.content-wrap {
  padding: 0 0 100px 0;
}

.btn-group {
  margin: 25px 0;
}

.btn-group > .btn {
  font-size: 25px;
  margin-bottom: 0;
  width: 50px;
  height: 50px;
}

.btn-group > .btn i {
  font-weight: 100;
}

.btn-check:checked + .btn-outline-dark {
  background-color: rgba(255, 255, 255, 0.1);
  //border-color: rgba(255, 255, 255, 0.5);
  color: rgba(255, 255, 255, 1);
  box-shadow: none;
}

.btn-outline-dark {
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 1);
  box-shadow: none;
}

.btn-outline-dark:hover {
  background-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.entry {
  margin-bottom: 0;
  margin-top: 0;
}

.card-text {
  background-color: #222222;
}

.card-img {
  overflow: hidden;
}

.card-img img {
  transition: transform 0.7s ease;
  cursor: pointer;
  height: auto;
}

.card-img:hover img {
  transform: scale(1.1);
}

/* caja de información*/

.container-box-promo {
  background-color: #222222;
}

.promo-text {
  padding: 30px;
  height: 100%;
  align-items: center;
}

.promo-text h2,
.promo-text h3 {
  font-size: 1.4rem !important;
  color: white;
  margin: 0;
  line-height: 1.4;
}

.promo-text h2 {
  border-bottom: 1px solid #707070;
  margin-bottom: 30px;
  padding-bottom: 30px;
}

.image-border {
  border-bottom: 1px solid #707070;
  padding-bottom: 30px;
}

.img-seven {
  width: 220px;
  display: block;
  margin: 0 auto;
}

.promo-buttons-container {
  margin-top: 15px;
  gap: 10px;
}

.link-promo a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: underline !important;
  padding: 8px;
}

.link-promo a:hover {
  color: rgba(255, 255, 255, 1);
}

/*Media para tablet y desktop*/
@media (min-width: 992px) {
  #page-title {
    padding: 4rem 0;
    display: flex;
  }

  .container.container-banner {
    margin-top: 6rem;
  }

  #page-title .container {
    margin-top: 2rem;
  }
}

/* Para dispositivos móviles y tablet */
@media (max-width: 992px) {
  .img-bg-2 {
    background-image: url('../images/promos/promociones-back-mob.jpg');
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 50vh !important;
  }

  .grid-switch-content-container {
    column-count: 1 !important;
  }
}

/* adaptación imagen card para dispositivos mobiles */
@media (min-width: 768px) and (max-width: 1200px) and (orientation: landscape) {
  .grid-switch-content:not(.col-grid) .card-img {
    max-width: 50%;
  }
}
