/* portada */
.machine-learning-banner {
  height: 90vh;
  position: relative;
  overflow: hidden;
  z-index: 0;
  background-size: cover;
  background-position: center center;
}

.machine-learning-banner .container.mt-80 {
  margin-top: 80px;
}

.machine-learning-banner .banner-content h1 {
  color: #ffffff;
}

.machine-learning-banner .banner-content p {
  color: #ffffff;
}

.machine-learning-banner .banner-btn {
  margin-top: 30px;
}

.machine-learning-banner .banner-btn a {
  display: inline-flex;
}

.machine-learning-banner .ml-video {
  position: relative;
  text-align: center;
}

.machine-learning-banner .solution-video {
  text-align: center;
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  transform: translateY(-50%);
  margin: 0;
}

.machine-learning-banner .solution-video .video-btn {
  background-color: #ffffff;
  color: #122c44;
}

.machine-learning-banner .solution-video .video-btn:hover {
  background-color: #8b1a13;
  color: #ffffff;
}

.machine-learning-banner .solution-video .video-btn:hover::after,
.machine-learning-banner .solution-video .video-btn:hover::before {
  border: 1px solid transparent;
}

.machine-learning-banner .solution-video .video-btn::after,
.machine-learning-banner .solution-video .video-btn::before {
  border: 1px solid #ffffff;
}

.ml-bg1 {
  background-image: url("https://merida.cert.edu.mx/cert_beta/assets/img/merida/portada.jpg");
}

/* .ml-bg1-ticul {
  background-image: url("https://merida.cert.edu.mx/assets/ticul/portada.png");
} */

.ml-bg4::before,
.ml-bg1E::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgb(0 0 0 / 31%);
  /* Cambia el valor alpha para ajustar la opacidad */
  z-index: -1;
}

.machine-learning-slider .owl-item img {
  display: inline-block;
  width: auto;
}

.machine-learning-slider.owl-theme .owl-nav {
  margin: 0;
}

.machine-learning-slider.owl-theme .owl-nav .owl-prev {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  background-color: #ffffff;
  width: 40px;
  height: 40px;
  margin: 0;
  color: #122c44;
  padding: 0;
  border-radius: 0;
  border-radius: 0 5px 5px 0;
  transition: 0.5s;
}

.machine-learning-slider.owl-theme .owl-nav .owl-next {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background-color: #ffffff;
  width: 40px;
  height: 40px;
  margin: 0;
  color: #122c44;
  padding: 0;
  border-radius: 0;
  border-radius: 5px 0 0 5px;
  transition: 0.5s;
}

.machine-learning-slider.owl-theme .owl-nav .owl-prev:hover,
.machine-learning-slider.owl-theme .owl-nav .owl-next:hover {
  background-color: #122c44;
  color: #ffffff;
}

.machine-learning-slider.owl-theme .owl-dots {
  position: absolute;
  bottom: 15px;
  left: 60px;
  right: 60px;
}

.machine-learning-slider.owl-theme .owl-dots .owl-dot.active span,
.machine-learning-slider.owl-theme .owl-dots .owl-dot:hover span {
  background-color: #122c44;
}

/*  */
.d-table {
  width: 100%;
  height: 100%;
}

.d-table-cell {
  vertical-align: middle;
}

/*  */
.solution-video {
  text-align: center;
}

.solution-video .video-btn {
  display: inline-block;
  width: 90px;
  height: 90px;
  line-height: 90px;
  background-color: #ffffff;
  border-radius: 50%;
  color: #122c44;
  position: relative;
  z-index: 1;
}

.solution-video .video-btn i {
  padding-left: 5px;
}

.solution-video .video-btn i::before {
  font-size: 38px;
}

.solution-video .video-btn::after,
.solution-video .video-btn::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  z-index: -1;
  bottom: 0;
  left: 0;
  border-radius: 50%;
  border: 1px solid #ffffff;
}

.solution-video .video-btn::before {
  animation: ripple 2s linear infinite;
}

.solution-video .video-btn::after {
  animation: ripple 2s linear 1s infinite;
}

.solution-video .video-btn:hover,
.solution-video .video-btn:focus {
  background-color: #122c44;
  color: #ffffff;
}

@keyframes ripple {
  0% {
    transform: scale(1);
  }

  75% {
    transform: scale(1.75);
    opacity: 1;
  }

  100% {
    transform: scale(2);
    opacity: 0;
  }
}

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

  .machine-learning-banner {
    height: 100%;
    padding-top: 75px;
    padding-bottom: 130px;
  }

  .machine-learning-banner .ml-video {
    margin-top: 60px;
  }

  .machine-learning-banner .solution-video {
    position: inherit;
    transform: translateY(0%);
  }

  .machine-learning-banner a.default-btn.mr-4 {
    margin-right: 15px !important;
  }

  .machine-learning-slider.owl-theme .owl-nav .owl-prev {
    left: 15px;
    top: auto;
    transform: translateY(0%);
    width: 35px;
    height: 35px;
    bottom: 15px;
  }

  .machine-learning-slider.owl-theme .owl-nav .owl-next {
    right: 15px;
    top: auto;
    transform: translateY(0%);
    width: 35px;
    height: 35px;
    bottom: 15px;
  }

  .banner-content {
    text-align: center;
    margin-top: 0;
  }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
  .banner-content {
    margin-top: 0;
    /* text-align: center; */
  }

  .machine-learning-banner .ml-video {
    margin-top: 80px;
  }
}


/* Móviles */
@media only screen and (max-width: 767px) {
  .banner-content {
    margin-top: 0;
    text-align: center;
  }
}

/* Tabletas */
@media only screen and (min-width: 768px) and (max-width: 991px) {
  .banner-content {
    margin-top: 0;
    text-align: center;
    margin-bottom: 200px;
  }
}

/* Escritorio */
@media only screen and (min-width: 992px) {
  .banner-content {
    margin-top: 0;
    /* text-align: center; */
  }
}

/* fin portada */

.target_lincenciatura {
  display: flex !important;
}

.featured-programs .program-item {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  height: 100% !important;
  width: 100% !important;
}

.featured-programs .program-item .item-content {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
}

.btn-close {
  --bs-btn-close-focus-shadow: 0 0 0 0.25rem rgb(13 110 253 / 0%);
}

.btn-close:focus {
  box-shadow: rgba(255, 255, 255, 0);
}

/* cookies */

.aviso-cookies {
  display: none;
  background: #fff;
  padding: 20px;
  width: calc(100% - 40px);
  max-width: 300px;
  line-height: 150%;
  border-radius: 10px;
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 100;
  padding-top: 60px;
  box-shadow: 0px 2px 20px 10px rgba(222, 222, 222, .25);
  text-align: center;
}

.aviso-cookies.activo {
  display: block;
}

.aviso-cookies .galleta {
  max-width: 100px;
  position: absolute;
  top: -50px;
  left: calc(50% - 50px);
}

.aviso-cookies .titulo,
.aviso-cookies .parrafo {
  margin-bottom: 15px;
}

.aviso-cookies .boton {
  width: 100%;
  background: var(--heading-color);
  border: none;
  color: #fff;
  font-family: 'Roboto', sans-serif;
  text-align: center;
  padding: 15px 20px;
  font-weight: 700;
  cursor: pointer;
  transition: .3s ease all;
  border-radius: 8px;
  margin-bottom: 15px;
  font-size: 14px;
}

.aviso-cookies .boton:hover {
  background: var(--accent-color);
}

.aviso-cookies .enlace {
  color: #002744;
  text-decoration: none;
  font-size: 14px;
}

.aviso-cookies .enlace:hover {
  text-decoration: underline;
}

.fondo-aviso-cookies {
  display: none;
  background: rgba(0, 0, 0, .20);
  position: fixed;
  z-index: 99;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
}

.fondo-aviso-cookies.activo {
  display: block;
}

.btn-whatsapp-flotante {
    position: fixed;
    bottom: 100px;
    right: 20px;
    min-width: 64px;
    min-height: 64px;
    max-width: 64px;
    max-height: 64px;
    border-radius: 1000px;
    background-color: green;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10000;
}
.btn-whatsapp-flotante__link:active, .btn-whatsapp-flotante__link:hover, .btn-whatsapp-flotante__link:visited, .btnText2:active, .icon-whithe a:hover, .white {
    color: #fff;
}


/* nuevo style */
.page-title-2 {
  color: var(--default-color);
  background-color: #002843;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 160px 0 90px 0;
  text-align: center;
  position: relative;
}
.page-title-2:before {
  content: "";
  /* background-color: #002843; */
  background-color: color-mix(in srgb, var(--background-color), transparent 60%);
  position: absolute;
  inset: 0;
}
.page-title-2 h1 {
  /* font-size: 42px; */
  font-weight: 700;
  margin-bottom: 10px;
}
.page-title-2 .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  justify-content: center;
  padding: 0;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
}
.page-title-2 .breadcrumbs ol li+li {
  padding-left: 10px;
  font-weight: 600;
}
.page-title-2 .breadcrumbs ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}
.page-title-2 .breadcrumbs ol li a {
  color: color-mix(in srgb, var(--default-color));
}
