.banner {
  margin-bottom: 1em;
}

.banner .carousel-control {
  width: 5em;
}

.banner .carousel-control.left,
.banner .carousel-control.right {
  background: none;
}

.banner .carousel-control .glyphicon-chevron-left,
.banner .carousel-control .glyphicon-chevron-right,
.banner .carousel-control .icon-prev,
.banner .carousel-control .icon-next {
  width: 0.8em;
  height: 1.5em;
  margin: 0;
  transform: translateY(-50%);
}

.banner .carousel-control .icon-prev::before,
.banner .carousel-control .icon-next::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background-image: url(../icons/banner/banner-arrow.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.banner-arrow-gris .carousel-control .icon-prev::before,
.banner-arrow-gris .carousel-control .icon-next::before {
  background-image: url(../icons/banner/banner-arrow-gris.svg);
}

.banner-informativos .carousel-control .icon-prev::before,
.banner-informativos .carousel-control .icon-next::before {
  background-image: url(../icons/boton_carrusel_anterior.svg);
}

.banner .carousel-control .icon-next::before {
  transform: rotate(180deg);
}

.carousel-indicators li {
  width: 14px;
  height: 14px;
  position: relative;
  margin-left: 0.2em;
}

.banner-informativos .carousel-indicators li {
  border-color: var(--mainColor-8);
}

.banner .carousel-indicators .active {
  margin: 1px;
  width: 14px;
  height: 14px;
  background-color: transparent;
}

.banner .carousel-indicators .active::before {
  content: "";
  background-color: #f58450;
  border-radius: 50%;
  height: 10px;
  width: 10px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.banner-informativos .carousel-indicators .active::before {
  background-color: var(--mainColor-8);
}

@media screen and (min-width: 768px) {
  .banner .carousel-indicators {
    bottom: 6px;
  }

  .banner-informativos .carousel-indicators {
    bottom: auto;
    top: 9em;
  }
}

.banner--container {
  padding-left: 8em;
  padding-right: 4em;
  padding-top: 4em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner--container-text--1 {
  max-width: 30em;
}

.banner--container-text--2 {
  max-width: 40.5em;
}

.banner--container-text--3 {
  max-width: 34.5em;
}

.banner--container-text--4 {
  max-width: 34.5em;
  padding-top: 2em;
}

.banner--title {
  background-color: var(--quaternaryColor);
  font-weight: bold;
  color: var(--mainColor-8);
  padding: 0.5em;
  font-size: 19px;
  line-height: 1.2;
  margin-top: 0;
  margin-bottom: 0.5em;
  font-weight: bold;
}

.banner--title--1 {
  padding: 0.7em 0.9em 0.4em;
  border-radius: 0 0 1.3em 0;
}

.banner--title--3 {
  color: var(--mainColor-8);
  background-color: #fff;
  font-size: 30px;
  padding: 0 0.4em;
  margin-bottom: 0.2em;
  display: inline-block;
  font-family: "Futura PT", "Helvetica Neue", sans-serif;
}

.banner--sub-title {
  font-weight: bold;
  font-size: 19px;
  color: #ffffff;
  margin: 0;
}

.banner--sub-title--2 {
  font-size: 30px;
  margin-bottom: 0.1em;
  font-family: "Futura PT", "Helvetica Neue", sans-serif;
}

.banner--sub-title--3 {
  color: var(--mainColor-8);
  margin-bottom: 0.2em;
}

.banner--sub-title--4 {
  font-family: "Futura PT", "Helvetica Neue", sans-serif;
  font-size: 30px;
}

.banner--text {
  color: #ffffff;
  margin-bottom: 0.4em;
  font-weight: 500;
  font-size: 17px;
}

.banner--text--3 {
  color: var(--grayColor-6);
}

.banner--hr {
  margin-top: 0;
  border-top: solid 3px #fff;
}

@media screen and (max-width: 768px) {
  .banner .item > .row {
    min-height: 616px;
  }

  .banner--container-img > img {
    width: 100%;
    height: 12em;
    object-fit: cover;
  }

  .banner--container {
    padding: 1em 0;
  }

  .banner .carousel-control.left,
  .banner .carousel-control.right {
    display: none;
  }

  .banner--title {
    text-align: center;
    padding: 0.5em;
    border-radius: 0;
    margin-bottom: 1.5em;
  }

  .banner--sub-title,
  .banner--text {
    text-align: center;
    margin-bottom: 1em;
    padding-left: 0.5em;
    padding-right: 0.5em;
  }

  .banner--text {
    text-align: left;
    margin-left: 2em;
    margin-right: 2em;
  }

  .banner--hr {
    margin-left: 2em;
    margin-right: 2em;
  }
  
  .banner-informativos-container {
    margin-top: 3em;
  }

  .banner-informativos .carousel-indicators {
    bottom: auto;
    top: 9em;
  }
}

@media screen and (min-width: 768px) {
  .banner--container-img {
    height: 325px;
    position: relative;
  }

  .banner--container-img::before {
    content: "";
    height: 100%;
    width: 100%;
    display: block;
    position: absolute;
  }

  .banner--container-img > img {
    height: 100%;
    width: 100%;
    object-fit: cover;
  }

  .banner--container-img--1::before {
    background-color: var(--tertiaryColor-2);
    clip-path: polygon(18% 0, 100% 0, 100% 100%, 14% 100%, 0 33%);
  }

  .banner--container-img--1 > img {
    clip-path: polygon(34% 0, 100% 0, 100% 100%, 16% 100%, 0 14%);
  }

  .banner--container-img--2::before {
    background-color: var(--secondaryColor-2);
    clip-path: polygon(8% 16%, 60% 0, 100% 100%, 8% 100%);
  }

  .banner--container-img--2 > img {
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%);
    /* object-position: -7em; */
  }

  .banner--container-img--3::before {
    background-color: var(--quaternaryColor-3);
    clip-path: polygon(0 22%, 100% 0, 100% 100%, 10% 100%);
  }

  .banner--container-img--3 > img {
    clip-path: polygon(4% 10%, 100% -12%, 100% 100%, 16% 100%);
    /* object-position: -2.5em; */
  }

  .banner--container-img--4::before {
    background-color: var(--quintaryColor-2);
    clip-path: polygon(0 0, 100% 0, 100% 92%, 10% 95%);
  }

  .banner--container-img--4 > img {
    clip-path: polygon(0 0, 100% 0, 100% 85%, 20% 100%);
    /* object-position: -2.5em; */
  }
  
  .banner-informativos-container {
    margin: 3em 6em 0;
  }
}