/*.caf_sumario_carousel {
    max-width: 65ch;
}*/

.caf_wrap_carousel a {
    text-decoration: none;
    color: #fff;
}

.carousel-control-next,
.carousel-control-prev {
    width: 4% !important;
}

.caf_cta_carousel {
    margin-top: 20px;
    border: 1px solid;
    padding: 10px 30px 10px 30px;
    border-radius: 0.25rem;
}

.caf_inscribe {
    margin-top: -.5em;
}

.caf_inscribe a {/*se agrego !important porque se necesita que en el modulo de slider de eventos se vea de esta manera*/
    font-size: .8em !important;
    font-weight: 200 !important;
    text-transform: uppercase !important;
}

.caf_wrap_hover_ghost {
  position: absolute;
  height: 45%;
  bottom: 0;
  width: 100%;
}

video {
    width: 100%;
}

.caf_video_container {
    display: block;
    position: relative;
    height: 0;
    overflow: hidden;
    /*width: 100%;*/
}

.caf_video_container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 110%;
}

@media (max-width: 575.98px) {
  /*.caf_video_container,
  .caf_slider_img_container {
    height: 16em;
  }*/

  .caf_slider_img_container img {
    min-width: 100%;
    object-fit: cover;
    height: 322px;
  }

  /*.caf_video_container,
  .caf_slider_img_container img {
    height: 100%;
  }*/

  .caf_video_container {
    padding-bottom: 322px;
  }

  .caf_video_container iframe {
    height: 84vw;
  }

  .caf_wrap_carousel {
    position: relative;
    color: #fff;
    width: 100%;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 25px 0 25px;
    height: 260px;
    transition: 0.5s ease;
  }

  .caf_wrap_carousel p {
    position: absolute;
    right: 20px;
    bottom: 5px;
  }

  .caf_wrap_carousel h2 {
    font-size: 1.4em;
    line-height: 1.3;
    font-weight: 700;
    margin-bottom: 20px;
    max-width: 40ch;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    transition: all 0.5s ease-out;
  }

  .caf_sumario_carousel {
    display: none;
  }

  .caf_cta_carousel {
    font-size: 0.8em;
  }
}

@media screen and (min-width: 576px) and (max-width: 767.98px) {

  .caf_video_container {
    padding-bottom: 370px;
  }

  .caf_video_container iframe {
    height: 60vw;
  }

  .caf_slider_img_container img {
    width: 100%;;
    object-fit: cover;
    object-position: top left;
    height: 370px;
  }

  .caf_wrap_carousel {
    position: relative;
    color: #fff;
    width: 100%;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 25px 0 25px;
    height: 260px;
    transition: 0.5s ease;
  }

  .caf_wrap_carousel p {
    position: absolute;
    right: 20px;
    bottom: 5px;
  }

  .caf_wrap_carousel h2 {
    font-size: 1.4em;
    line-height: 1.3;
    font-weight: 700;
    margin-bottom: 20px;
    max-width: 40ch;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    transition: all 0.5s ease-out;
  }

  .caf_sumario_carousel {
    display: none;
  }

  .caf_fechas {
    font-size: 0.8em;
  }

  .caf_cta_carousel {
    font-size: 0.8em;
  }
}

@media screen and (min-width: 768px) and (max-width: 991.98px) {
  .caf_slider_img_container img {
    min-width: 100%;
    object-fit: cover;
    height: 490px;
  }

  /*.caf_video_container,
  .caf_slider_img_container img {
    height: 30.5rem;
  }*/

  .caf_video_container {
    padding-bottom: 490px;
  }

  .caf_video_container iframe {
    height: 68vw;
  }

  .caf_wrap_carousel {
    position: absolute;
    color: #fff;
    width: 60%;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 5% 0 10%;
    overflow: hidden;
    height: 83px;
    transition: 0.8s ease;
  }

  .caf_wrap_hover_ghost:hover+.caf_wrap_carousel,
  .caf_wrap_carousel:hover {
    height: 100%;
    padding: 80px 5% 0 10%;
  }

  .caf_wrap_carousel h2 {
    font-size: 1.2em;
    line-height: 1.3;
    font-weight: 700;
    margin-bottom: 45px;
    max-width: 40ch;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: all 0.8s ease-out;
  }

  .caf_wrap_hover_ghost:hover+.caf_wrap_carousel h2 {
    font-size: 1.8em;
    max-width: 40ch;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
  }

  .caf_wrap_carousel:hover h2 {
    font-size: 1.8em;
    max-width: 50ch;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
  }

  .caf_wrap_carousel:hover .caf_sumario_carousel {
    max-width: 45ch;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
  }

  .caf_cta_carousel {
    margin-top: 40px;
    font-size: 0.8em;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .caf_slider_img_container img {
    min-width: 100%;
    object-fit: cover;
    height: 650px;
  }

  /*.caf_video_container,
  .caf_slider_img_container img {
    height: 40.5rem;
  }*/

  .caf_video_container {
    padding-bottom: 650px;
  }

  .caf_video_container iframe {
    height: 69vw;
  }

  .caf_wrap_carousel {
    position: absolute;
    color: #fff;
    width: 50%;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 5% 0 10%;
    overflow: hidden;
    height: 85px;
    transition: 0.8s ease;
  }

  .caf_wrap_hover_ghost:hover+.caf_wrap_carousel,
  .caf_wrap_carousel:hover {
    height: 100%;
    padding: 115px 5% 0 10%;
  }

  .caf_wrap_carousel h2 {
    font-size: 1.4em;
    line-height: 1.3;
    font-weight: 700;
    margin-bottom: 45px;
    max-width: 40ch;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: all 0.8s ease-out;
  }

  .caf_wrap_hover_ghost:hover+.caf_wrap_carousel h2,
  .caf_wrap_carousel:hover h2 {
    font-size: 2.8em;
    max-width: 40ch;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
  }

  .caf_wrap_carousel:hover .caf_sumario_carousel {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
  }
}

@media (min-width: 1200px) and (max-width: 1549.98px) {

  .caf_slider_img_container img {
    min-width: 100%;
    object-fit: cover;
    height: 650px;
  }

  .caf_video_container {
    padding-bottom: 650px;
  }

  .caf_video_container iframe {
    height: 62vw;
  }

  .caf_wrap_carousel {
    position: absolute;
    color: #fff;
    width: 50%;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 5% 0 10%;
    overflow: hidden;
    height: 85px;
    transition: 0.8s ease;
  }

  .caf_wrap_hover_ghost:hover+.caf_wrap_carousel,
  .caf_wrap_carousel:hover {
    height: 100%;
    padding: 115px 5% 0 10%;
  }

  .caf_wrap_carousel h2 {
    font-size: 1.4em;
    line-height: 1.3;
    font-weight: 700;
    margin-bottom: 45px;
    max-width: 40ch;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: all 0.8s ease-out;
  }

  .caf_wrap_hover_ghost:hover+.caf_wrap_carousel h2,
  .caf_wrap_carousel:hover h2 {
    font-size: 2.8em;
    max-width: 40ch;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
  }

  .caf_wrap_carousel:hover .caf_sumario_carousel {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
  }
}

@media (min-width: 1550px) {

  .caf_video_container {
    padding-bottom: 820px;
  }

  .caf_video_container iframe {
    height: 61.5vw;
  }

  .caf_slider_img_container img {
    width: 100%;
    object-fit: cover;
    object-position: top left;
    height: 820px;
  }

  .caf_wrap_carousel {
    position: absolute;
    color: #fff;
    width: 50%;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 5% 0 10%;
    overflow: hidden;
    height: 85px;
    transition: 0.8s ease;
  }

  .caf_wrap_hover_ghost:hover+.caf_wrap_carousel,
  .caf_wrap_carousel:hover {
    height: 100%;
    padding: 115px 5% 0 10%;
  }

  .caf_wrap_carousel h2 {
    font-size: 1.4em;
    line-height: 1.3;
    font-weight: 700;
    margin-bottom: 45px;
    max-width: 40ch;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: all 0.8s ease-out;
  }

  .caf_wrap_hover_ghost:hover+.caf_wrap_carousel h2,
  .caf_wrap_carousel:hover h2 {
    font-size: 3.2em;
    max-width: 40ch;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
  }

  .caf_wrap_carousel:hover .caf_sumario_carousel {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
  }
}

.caf_carrusel_section {
    z-index: 1;
    position: relative;
}

.caf_content_apertura_center {
    display: flex;
    justify-content: center;
    flex-direction: column;
    height: 100%;
}

.caf_cta_carousel a {
    color: #fff;
    font-size: 0.8em;
}

.caf_apertura_media  {
    font-size:min(max(28px, 2.4vw), 42px);
    font-family: Playfair Display, serif;
    font-weight: 700;
}

.caf_apertura_v4  {
    font-size:min(max(32px, 2.8vw), 46px);
    font-family: Playfair Display, serif;
    font-weight: 700;
}

.caf_apertura_media a:hover {
    color: #fff;
}

.caf_apertura_simple,
.caf-mt-72 {
    margin-top: 72px;
}

.caf_imagen_apert_media {
    overflow: hidden;
}

.caf_imagen_apert_media_v4 {
    overflow: hidden;
}

.caf_imgback_media {
    overflow: hidden;
}

.caf_imgback_media:after {
    background-image: url(../img/cafsede.jpeg);
    background-color: #f31156;
    -webkit-filter: blur(7px);
    filter: blur(7px);
    background-size: cover;
    position: absolute;
    top: -15px;
    left: -15px;
    width: 110%;
    height: 110%;
    display: inline-block;
    content: '';
    z-index: -1;
    opacity: .2;
}

.caf_imagen_apert_media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: right;
}

.caf_imgback_media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.caf_imagen_apert_media_v4 img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: top center;
  max-height: 420px;
}

.caf_control_prev {
    left: -35px;
}

.caf_control_next {
    right: -35px;
}

@media screen and (min-width: 990px) {
  .caf_control_prev {
    left: -50px;
  }
  
  .caf_control_next {
    right: -50px;
  }

  /*.caf_imagen_apert_media_v4 img {
    max-height: 640px;
  }*/
}

/*@media screen and (min-width: 1600px) {
    .caf_imagen_apert_media_v4 img {
        object-fit: cover;
    }
}*/