/*
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #f4f4f4;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}
*/
.container {
    display: flex;
    gap: 5px;
    width: 100%;
    max-width: 1200px;
    /*background-color: #fff;*/
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.left-panel {
    flex: 1;
    padding: 5px;
    border-right: 1px solid #eee;
	text-align: left;
}
.right-panel {
    flex: 2;
    padding: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #FFF;
    transition: opacity 0.3s ease-in-out;
}
.right-panel-content {
    display: none;
    text-align: left;
}
h2 {
    color: #F00;
    border-bottom: 2px solid #ff0000;
    padding-bottom: 10px;
    margin-top: 0;
	font-size: 1.1em;
}
.event-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    border-bottom: 1px solid #ddd;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s, border 0.2s;
}
.event-item:hover {
    background-color: #444444;
	color: white;
    transform: translateX(2px);
}
/* Nuevo estilo para el elemento activo */
.event-item.active {
    background-color: #581919; /* Color de fondo más claro */
    border-left: 5px solid #F55; /* Borde para resaltarlo */
    padding-left: 7px;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.1);
}
.event-item:last-child {
    border-bottom: none;
}
.event-item img {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.event-item-info h3 {
    margin: 0;
    font-size: 0.8em;
    color: #F55;
}
.event-item-info p {
    margin: 5px 0 0;
    font-size: 0.7em;
    color: #DDD;
}
.details-image {
    //width: 100%;
	width: 200px;
    //height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.details-text {
    line-height: 1.1;
	font-size: 0.9em;
    color: #FFF;
}
#loading-message {
    display: none;
}
.initial-message {
    font-style: italic;
}

.agenda-enlace {
  text-decoration: underline; 
}

.agenda-enlace:link {
  color: coral; 
}

.agenda-enlace:visited {
  color: red; 
}

.agenda-enlace:hover {
  color: orange; 
}


/* Estilos responsivos */
@media (max-width: 768px) {
    body {
        padding: 5px;
    }
    .container {
        flex-direction: column;
        width: 100%;
        padding: 5px;
    }
    .left-panel {
        border-right: none;
        border-bottom: 1px solid #eee;
		font-size: 0.9em;
    }
    .right-panel {
        order: 2; /* Asegura que el panel derecho aparezca después del izquierdo */
        text-align: left;
        padding-top: 10px;
		font-size: 0.9em;
    }
    .initial-message {
        display: none; /* Oculta este mensaje en pantallas pequeñas */
    }
	h2 {
		font-size: 0.9em;
	}	
	.details-text {
		line-height: 1.1;
		font-size: 0.8em;
		color: #FFF;
	}	
	
}