html,body {
    overflow-x:hidden;
}

#hero {
    margin-top: 99px;
    max-height:537px;
}
.container-fluid {
    padding: 0;
    margin:0;
}

#hero .owl-carousel .item {
    height: 537px;
    background-size: cover;
    background-position: center;
	padding: 0px 133px;
}

#hero.footer_hero .owl-carousel .item {
    height: 300px;
    background-size: cover;
    background-position: center;
}

#hero .carousel-caption {
    position: absolute;
    top: 300px;
    left: 0%;
    border-radius: 8px;
    width: 100%;
    text-align: left;
    height: auto;
}


#hero.footer_hero .carousel-caption {
    position: absolute;
    top: 0px;
    left: 0%;
    border-radius: 8px;
    width: 100%;
    text-align: left;
    height: 100%;
    text-align:center;
    padding-top:0;
}


#hero .carousel-caption .black-bg {
    background-color: rgba(0,0,0, 0.8);
    padding: 20px 40px;
}

#hero.footer_hero .carousel-caption .black-bg {
    background-color: rgba(0,0,0, 0);
    padding:0 !important;
    align-content:center;
    height: 300px;
}

#hero .carousel-caption h2 {
    color: #fff;
    font-weight: 700;
    font-size: 63px;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 537px;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: 0;
}

#hero .owl-carousel .owl-nav button.owl-prev,
#hero .owl-carousel .owl-nav button.owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 2rem;
    color: #fff;
}

#hero .owl-carousel .owl-nav button.owl-prev {
    left: 10px;
}

#hero .owl-carousel .owl-nav button.owl-next {
    right: 10px;
}
#hero .owl-carousel .owl-nav button.owl-prev:hover,#hero .owl-carousel .owl-nav button.owl-next:hover {
    background: none;
}

#hero .owl-carousel .owl-dots {
    text-align: center;
    position: absolute;
    bottom: 20px;
    width: 100%;
}

#hero .owl-carousel .owl-dot {
    display: inline-block;
    margin: 0 5px;
}

#hero .owl-carousel .owl-dot span {
    width: 20px !important;
    height: 20px !important;
    background: #fff;
    display: block;
    border-radius: 50%;
    transition: background 0.3s ease;
}

#hero .owl-carousel .owl-dot.active span {
    background: #e53935;
}
#hero .carousel-control-prev-icon {
    background-image: url(../images/arrow-left.png);
    width: 49px;
    height: 87px;
}
#hero .carousel-control-next-icon {
    background-image: url(../images/arrow-right.png);
    width: 49px;
    height: 87px;
}

img.titulo-catelera{
	width: 100%;
/* 	max-width: 900px; */
}

.franja {
	background:#E4032C;
    color:#fff;
    padding:10px;
    margin-bottom:20px;
}


.franja > h3 {
	text-transform: uppercase;
	font-size: 48px;
}

.institucion {
    border-top: 5px solid #E4032C;
    padding:0 !important;
    /*margin-right:10px;*/
    border-radius:5px;
    position:relative;
    overflow: hidden;
	max-width: 360px;
    min-height: 320px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 50%;
}

.institucion .info_institucion {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.3); /* Fondo negro con opacidad */
  color: white;
  box-sizing: border-box;
}

.institucion .info_institucion h3 {
	color:#fff;
    padding: 10px 20px 15px 20px;
    margin-bottom:0 !important;
    border-left: 4px solid #E4032C;
    font-size: 18px;
	transition: .3s;
}

.institucion .info_institucion h3:hover {
	color:#E40E36;
	text-decoration: underline;
}

.institucion .info_institucion p.desc {
    padding-left: 20px;
/* 	padding-bottom: 10px; */
	display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
	line-height: 160%;
    margin-bottom: 10px !important;
}
.institucion .info_institucion p.fecha {
	background:url(../images/icon_calendario.svg);
    padding-left: 40px;
    background-repeat: no-repeat;
    background-position: left 20px center;
}


.institucion .info_institucion p.ubicacion {
	background:url(../images/icon_lugar.svg);
    padding-left: 40px;
    background-repeat: no-repeat;
    background-position: left 20px top 6px;
	padding-bottom: 10px;
}
.institucion .info_institucion p {
	color:#fff;
    padding:2px 10px;
    margin-bottom:0 !important;
    font-size:12px;
}
.institucion .info_institucion .ver_mas {
	background:#0B3067;
    color:#fff;
    text-align:center;
    display:block;
    width:100%;
    padding:12px 0px;
    font-size: 18px;
    font-family: 'Chilena Bold';
}

.institucion .info_institucion a {
    color:#fff;
    font-weight:bold;
    font-family: 'Chilena Bold';
}

.mas_eventos {
	background:#E4032C;
    color:#fff;
    text-align:center;
    display:inline-block;
    padding: 1.5rem 4.5rem;
    text-decoration:none;
	font-family: 'Chilena Bold';
    border-radius: 8px;
    transition: .3s;
	font-size: 1.6rem;
	line-height: 1.6rem;
	height: 4.5rem;
}

#buscador_eventos{
	display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: center;
    flex-wrap: nowrap;
}

#buscador_eventos select {
	width:40%;
    padding:10px;
    background:#fff;
    border:1px solid;
    border-color:#E4032C;
    border-radius:5px;
    
}

#buscador_eventos button.buscar_boton {
	background: #0B3067;
    color: #fff;
    border: 0;
    border-radius: 8px;
    font-size: 16px;
    padding: 16px 24px 16px 45px;
    font-family: 'Chilena Bold';
    background-image:url(../images/icon_lupa.svg);
    background-position: left 20px center;
    background-repeat:no-repeat;
}

.no-results{
	margin-top: 40px;
}

.no-results h3 {
	font-size:32px;
}

.filtro-dropdown {
  position: relative;
  display: inline-block;
  width: 26%;
  margin-right: 10px;
  margin-top:10px;
}

.filtro-dropdown label {
	font-size:15px;
    margin-bottom:10px;
}

.filtro-toggle {
  padding: 16px 24px;
  border: 1px solid #E4032C;
  border-radius: 4px;
  cursor: pointer;
  font-weight: normal;
  background-color: #FFFFFF;
  font-size: 16px;
  background-image:url(../images/chevron_down.svg);
  background-position: right 20px center;
  background-repeat:no-repeat;
  width:100%;
}

.filtro-contenido {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  max-width: 294px;
  background: white;
  border: 1px solid #ccc;
  /*border-radius: 12px;*/
  margin-top: 4px;
/*   padding: 20px; */
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
  z-index: 100;
  display: none;
/*   max-height: 260px; */
  overflow-y: auto;
}

.filtro-contenido > div.filtro-opciones{
	max-height: 200px;
    overflow-y: scroll;
    padding: 20px;
}

.filtro-contenido > div.filtro-opciones > label {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
  font-size: 16px;
  cursor: pointer;
}

.filtro-contenido input[type="checkbox"] {
  width: 22px;
  min-width: 22px;
  height: 22px;
  accent-color: #0B3067; /* color del check */
  border-radius: 4px;
}

.filtro-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  padding: 10px 20px;
}

.filtro-actions button {
  padding: 8px 14px;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
}

.filtro-actions .reset {
  background: none;
  color: #333;
	font-size: 14px;
	text-decoration: underline;
	font-family: 'Chilena Bold';
}
.daterangepicker td.active, .daterangepicker td.active:hover {
  background-color: #0B3067 !important;
  border-color:transparent;
  color: #fff;
}

.filtro-actions .apply,.daterangepicker .drp-buttons .btn {
    background: #0B3067;
    color: white;
    font-size: 14px !important;
    font-family: 'Chilena Bold';
	padding: 8px 24px;

}

/*Desktop*/
@media only screen and (max-width: 1920px) {
	.institucion{
		max-width: 430px;
		margin-right: 5px;
	}
}

/*Laptop*/
@media only screen and (max-width: 1366px) {
	#hero .carousel-caption h2 {
    	font-size: 52px;
	}
	
	.institucion {
		max-width: 370px;
	}
}

/*Tablet*/
@media only screen and (max-width: 768px) {
    #hero {
		max-height:800px;
	}
	
	#hero .carousel-caption h2 {
    	font-size: 52px;
	}
	
	#hero .owl-carousel .item {
       padding: 0px 40px;
    }
	
	#hero .owl-carousel .item {
		height: 800px;
	}
	
	.hero-video {
	  height: 800px;
	}
    
    #buscador_eventos .filtro-dropdown {
        width:32%;
        margin-bottom:5px;
    }

    #buscador_eventos button.buscar_boton {
        width:32% !important;
    }
    
    .institucion {
/*     	margin-left:5%;
    	margin-bottom:30px; */
		max-width: 340px;
    }

}

/*Smartphone*/
@media only screen and (max-width: 720px) {
	#hero {
		max-height:420px;
	}
	
	#hero .owl-carousel .item{
		height: 420px;
		padding: 0px 20px;
	}
	
	#hero .carousel-caption {
    top: 150px;
}
	
	#hero .carousel-caption h2 {
    	font-size: 24px;
	}
	
	.hero-video {
	  height: 420px;
	}
	
	.franja > h3 {
	  font-size: 28px;
	}
	
	#buscador_eventos{
    	flex-direction: column;
		align-items: center;
    	justify-content: center;
	}
	
	#buscador_eventos .filtro-dropdown {
        width:100%;
        margin-bottom:5px;
    }

    #buscador_eventos button.buscar_boton {
        width:100% !important;
    }
	
	#hero .carousel-caption .black-bg{
		padding: 20px;
	}
	
	.institucion {
		max-width: 100%;
    }
	
	#buscador_eventos button.buscar_boton{
		background-position: left 33% center;
	}
}

/*Smartphone*/
@media only screen and (max-width: 412px) {
	#hero {
		max-height:210px;
	}
	
	#hero .owl-carousel .item{
		height: 210px;
		padding: 0px 20px;
	}
	
	.hero-video {
	  height: 210px;
	}
	
	#hero .carousel-caption {
    top: 150px;
}
	
	#hero .carousel-caption h2 {
    	font-size: 24px;
	}
	
	#buscador_eventos .filtro-dropdown {
        width:100%;
        margin-bottom:5px;
    }

    #buscador_eventos button.buscar_boton {
        width:100% !important;
    }
	
	#hero .carousel-caption .black-bg{
		padding: 20px;
	}
	
	.franja > h3 {
    	font-size: 17px;
	}
	
	.institucion {
		max-width: 100%;
    }
}