/* =====================================================
   FLEXSLIDER GRID EVENTOS
===================================================== */

.fusion-text .gridEventosAgenda .fotoEvento.flexslider{
    height:auto !important;
    padding-top:0 !important;
}

.fusion-text .gridEventosAgenda .fotoEvento.flexslider img{
    position:relative !important;
    width:100%;
    height:auto;
    object-fit:initial;
}


/* =====================================================
   BOTÓN INSCRIPCIÓN SIDEBAR
===================================================== */

.agenda-sidebar .botonInscripcion a.event-cta.button {
    font-family:'Montserrat',sans-serif;
    font-weight:500;
    letter-spacing:.5px;

    font-size:16px;
    line-height:1;

    max-width:300px;
    margin:20px auto;
    padding:13px 29px;

    display:flex;
    align-items:center;
    justify-content:center;

    background:#ef6079;
    color:#fff;
    border-radius:2px;
}

.agenda-sidebar .botonInscripcion a.event-cta.button:hover {
    background:#d94f67;
    color:#fff;
}


/* =====================================================
   FORM ANCLAJE
===================================================== */

#form-agenda{
    scroll-margin-top:500px;
}


/* =====================================================
   AJUSTES GENERALES
===================================================== */

.agenda-hora{
    display:block;
    margin:4px 0 0 90px;
    font-weight:400;
}


/* =====================================================
   LAYOUT
===================================================== */

.agenda-single{
    display:flex;
    align-items:flex-start;
}

.agenda-main{
    flex:0 0 68%;
}

.agenda-sidebar{
    flex:0 0 32%;
    margin-left:40px;
}


/* =====================================================
   HEADER ARTÍCULO
===================================================== */

.agenda-featured-image{
    display:inline-block;
    position:relative;
    margin-bottom:20px;
    max-width:100%;
}

.agenda-header{
    margin-top:-50px;
}

.agenda-main h1.agenda-title{
    margin-top:0;
    color:#ef6079;
    text-transform:uppercase;
    font-size:48px;
    line-height:1.1;
}

.agenda-main h2{
    font-size:24px !important;
    color:#ef6079 !important;
    border-bottom:2px solid #ef6079;

    font-family:'DIN Next Slab Pro' !important;
    font-weight:bold !important;

    line-height:1.3;
    margin:32px 0 16px !important;
}


/* Ritmo vertical */

.agenda-main p{
    margin:0 0 16px;
}

.agenda-main h2 + p,
.agenda-main h3 + p{
    margin-top:0;
}


/* =====================================================
   SIDEBAR
===================================================== */

.agenda-sidebar-inner{
    padding:0;
}

.agenda-sidebar-block{
    background:#fff;
    padding:24px;
    border-radius:4px;
}

.agenda-sidebar-block + .agenda-sidebar-block{
    margin-top:24px;
}

.agenda-sidebar-block--soft{
    background:#f6f6f6;
}

.agenda-sidebar-title{
    margin:0 0 16px;
    padding-bottom:10px;
    font-size:.85rem;
    font-weight:600;
    letter-spacing:.06em;
    text-transform:uppercase;
    color:#888;
    border-bottom:1px solid rgba(0,0,0,.12);
}


/* Listas */

.agenda-sidebar ul{
    margin:0;
    padding:0;
    list-style:none;
}

.agenda-sidebar li{
    font-size:.95rem;
    line-height:1.5;
}

.agenda-sidebar li + li{
    margin-top:10px;
}

.agenda-sidebar li strong{
    display:inline-block;
    min-width:90px;
    font-weight:600;
}


/* Bloque inscripción */

.agenda-sidebar-inscripcion{
    background:#fdecef;
    border-left:4px solid #d84b6b;
}

.agenda-sidebar-inscripcion .agenda-sidebar-title{
    color:#d84b6b;
}


/* Docentes */

.agenda-docente{
    margin-bottom:14px;
}

.agenda-docente strong{
    color:#d84b6b;
    font-weight:700;
}

.agenda-docente-role{
    font-size:.9rem;
    color:#555;
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width:960px){

    .agenda-single{
        flex-direction:column;
    }

    .agenda-sidebar{
        margin-left:0;
        margin-top:32px;
    }
}


/* =====================================================
   GRID EVENTOS — FECHAS
===================================================== */

.gridEventosAgenda .eventoSolo{
    display:flex;
    flex-direction:column;
}

.gridEventosAgenda .fechacierre{
    margin-top:auto;
}

.fusion-text .gridEventosAgenda .fechaEvento_inicio{
	background-color:#ef6079;
    display:flex;
    flex-direction:column;
    gap:8px;
    font-size:13px;
	    margin-bottom: 9px;
}


.fusion-text .gridEventosAgenda .dias_imparticion_resumido{
	background-color:#cfcfcf;
	font-weight:500;
 
}


.fusion-text .gridEventosAgenda .fechaEvento_hora{
    font-size:12px;
    color:#666;
    border-top:1px solid #e5e5e5;
    padding-top:6px;
}

.fusion-text .gridEventosAgenda .fechaEvento_cierre{
    background:#ef6079;
    color:#fff;
    text-align:center;
    font-weight:700;
    padding:6px 4px;
    
    font-size:13px;
}

.fusion-text .gridEventosAgenda .fechaEvento_rango{
	background-color:#ef6079;
	color:white;
	margin-top: 8px;
    display:flex;
    flex-direction:column;
    align-items:center;
    text-align:center;
    font-weight:700;
    line-height:1.1;
	justify-content:center;
}


.fusion-text .gridEventosAgenda .fechaEvento_rango span{
    display:none;
}

.gridEventosAgenda .fechacierre{
	background-color:#ef6079;
	color:white;
	padding:2px;
	border-radius:1px;
	 text-align:center; 
	
}

.gridEventosAgenda .taxonomiaEvento_item{
    color:#ef6079;
}


.gridEventosAgenda .eventoSolo .detallesEvento {
	padding-top: 0px;
    border-top:0; 
    font-size: 13px;
    color: #444;
}