.mySlides {
  display: none;
  overflow: hidden;
  height: 544px;
}

img {
  vertical-align: middle;
}

/* Slideshow container */
.slideshow-container {
  width: 100%;
  position: relative;
  margin: auto;
  height: 100%;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 32%;
  width: 75px;
  padding: 16px;
  margin-top: -22px;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 50px;
  user-select: none;
  margin-left: 56px;
  background-color: rgb(255 255 255 / 12%);
}

.prev img,
.next img {
  width: 40px;
}

/* Position the "next button" to the right */
.next {
  right: 56px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: rgb(255 255 255 / 12%);
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 25px;
  padding: 8px 12px;
  width: 100%;
  line-height: 0.5;
  margin-left: 300px;
  margin-top: 40px;
}

.text-2 {
  color: #fff;
  font-size: 25px;
  width: 63%;
  text-align: center;
  margin: 0 auto;
  margin-top: 90px;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

.cont-img {
  background: #00000088;
  width: 100%;
  height: 690px;
  position: absolute;
  top: 0;
}

.pos-img-logo {
  margin-top: 250px;
  margin-left: 300px;
}

.btn-inside-carousel {
  position: absolute;
  bottom: 8%;
  left: 9.5%;
}

.btn-inside-carousel-2 {
  position: absolute;
  bottom: 20%;
  left: 45%;
}

.banner-item-1 {
  width: 100px;
  position: absolute;
  top: 90px;
}

.banner-item-2 {
  width: 100px;
  position: absolute;
  margin-top: 570px;
  margin-left: 70%;
}

.banner-item-3 {
  width: 26px;
  position: absolute;
  margin-top: 400px;
  margin-left: 200px;
}

.banner-item-4 {
  width: 100px;
  position: absolute;
  margin-top: 80px;
  right: 200px;
}

.banner-item-5 {
  width: 180px;
  position: absolute;
  right: 0;
  bottom: 0;
}

.bg-banner-enruta {
  background-image: url(../images/banner-1-enruta-v2.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position-x: 0px;
}

.bg-banner-img {
  background-image: url(../images/banner-1-enruta-v2.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position-x: 0px;
}

.bg-banner-img-2 {
  background-image: url(../images/banner-2.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position-x: 0px;
}

.bg-banner-img-3 {
  background-image: url(../images/banner-3.jpg);
  background-repeat: no-repeat;
  background-size: 80%;
  background-position-x: 0px;
}

/* home */

.bg-banner-home,
.bg-banner-home-2 {
  background-repeat: no-repeat;
  background-size: cover;
  background-position-x: 0px;
}

.bg-banner-home {
  background-image: url(../images/banner-1-home-v2.png);
}

.bg-banner-home-2 {
  background-image: url(../images/banner-2-home-v2.png);
}

.pos-img-logo-2 {
  margin-top: 95px;
  margin-left: 42%;
}

@keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 500px) {
  .banner-item-1 {
    width: 70px;
    position: absolute;
    top: 90px;
  }

  .banner-item-2 {
    width: 100px;
    position: absolute;
    margin-top: 640px;
    margin-left: 59%;
  }

  .banner-item-3 {
    width: 26px;
    position: absolute;
    margin-top: 520px;
    margin-left: 10px;
  }

  .banner-item-4 {
    width: 100px;
    position: absolute;
    margin-top: 50px;
    right: 20px;
  }

  .banner-item-5 {
    width: 80px;
    position: absolute;
    right: 0;
    bottom: 0;
  }

  .pos-img-logo {
    margin-top: 400px;
    margin-left: 60px;
  }

  .prev,
  .next {
    top: 40%;
    width: 44px;
    padding: 9px;
    margin-left: 12px;
  }

  .next {
    right: 12px;
  }

  .prev img,
  .next img {
    width: 22px;
  }

  .text {
    font-size: 18px;
    padding: 8px 12px;
    width: 100%;
    line-height: 1;
    margin-left: 40px;
    margin-top: 20px;
  }

  .text-corousel-principal {
    font-size: 16px !important;
  }

  .pos-btn {
    margin-left: 53px;
  }

  .btn-inside-carousel {
    left: 8%;
  }

  .bg-banner-img {
    background-image: url(../images/banner-1-enruta-v2.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position-x: -400px;
  }

  .bg-banner-img-2 {
    background-image: url(../images/banner-2.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position-x: -400px;
  }

  .bg-banner-img-3 {
    background-image: url(../images/banner-3.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position-x: -400px;
  }

  /* home */

  .bg-banner-home {
    background-image: url(../images/banner-1-home-v2-mobile.png);
    background-repeat: no-repeat;
    background-size: cover;
    /* background-position-x: -400px; */
  }

  .bg-banner-enruta {
    background-image: url(../images/banner-1-enruta-v2-mobile.png);
    background-repeat: no-repeat;
    background-size: cover;
  }

  .bg-banner-home-2 {
    background-image: url(../images/banner-2-home-v2-mobile.png);
  }

  .pos-img-logo-2 {
    margin-top: 25px;
    margin-left: 3%;
  }

  .text-2 {
    margin-top: 30px;
  }

  .btn-flotante-enruta {
    left: 16%;
    top: 60vh;
  }

  .mySlides.bg-banner-enruta {
    height: 80vh;
  }
}

@media only screen and (min-width: 1366px) {
  .mySlides {
    height: 488px;
  }

  .btn-flotante-enruta {
    top: 58vh;
  }
}

@media only screen and (min-width: 1920px) {
  .mySlides {
    height: 660px;
  }

  .content-img-ruta {
    height: 540px;
  }

  .btn-flotante-enruta {
    top: 58vh;
  }
}
