.destacados-titulos{
    color : #000000 !important;
    font-size : 16px !important;
    font-family : inherit !important;
    padding-bottom : 4px !important;
    border : none;
    font-weight : 500;
}
    
.columna {
    width: 22%;
    margin : 1.5%;
    float: left; 
    box-sizing: border-box; 
    list-style : none;
}
   
.columna .even, .columna .odd{
    border : none;
} 


.mod-inner:after {
    content: "";
    display: table;
    clear: both;
}
        
.destacados-cabecera{
    text-align : center;
    border-bottom : 1px solid #DADBDE;
}

.destacados-cabecera span{
    font-size : 30px;
}
        
.destacados-contenedorLi{
    margin-top : 20px;
    margin-bottom : 20px;
}


.contenedor-localidad-duracion{
    padding: 4px; 
    border: 1px dashed #CCC;
    margin-bottom : 16px;
}

.contenedor-destacado{
    margin : 1em;
}

.duracion{
    padding: 10px;
    line-height: 20px;
    font-size: 13px;
    color: #666;
    padding: 10px;
    font-size: 13px;
    color: #666;
}

.localidad{
    padding-bottom: 10px;
    line-height: 20px;
    font-size: 13px;
    color: #29BCB8;
}

.catItemDateCreated{
    float: left;
    font-weight: 700;
    line-height: 32px;
    text-transform: uppercase;
    color: #29BCB8 !important;
    font-size: 12px !important;
}



.definitiva{
    color: #29BCB8 !important;
    padding-left: 10px;
    font-size: 12px !important;
}

.provisional {
    color: #ff0000 !important;
    font-size: 12px !important;
}

.module h3 {
    font-size: 20px !important;
    font-weight: 400 !important;
    margin: 0 0 0 0 !important;
    line-height: normal !important;
    padding : 6px 0px !important;
}

@media (max-width: 768px) {
    .columna {
        width: 100%;
        margin : 0; 
        float: none; 
    }
}




/**** MODULO CONTENIDO DE NUEVA FORMACION --- RESPONSIVE ***/

.imagen-formacion-subvencionada-1{
    border-right: 0.5rem solid #00bdb9;
    width : 600;
    height : 40;
}

.imagen-formacion-subvencionada-2{
    border-left: 0.5rem solid #00bdb9;
    width : 600;
    height : 40;
}


@media (max-width: 768px) {
  table {
    width: 100% !important; 
  }
  table img {
    width: auto; 
    height: auto;
  }
  table td {
    display: block; 
    width: auto !important;
    padding : 0 !important;
  }
  h2, h3 {
    text-align: center; 
  }
  h2 {
    font-size: 1.5rem; 
  }
  p {
    text-align: justify; 
  }
  button {
    width: 100%; 
    margin: 1em 0 !important; 
  }
}










/* ---------------- SLIDER ---------------- */

.slider-button {
    position: absolute;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0);
    color: #29bcb8;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
}

.slider-button.left {
    left: 0;
}

.slider-button.right {
    right: 0;
}


.contenedor-destacado .sp-module .mod-wrapper .mod-content .mod-inner{
    padding : 16px !important;
}



/* Cambiar a 1 columna en dispositivos moviles */
@media screen and (max-width: 768px) {

    .slider-button {
        top: 90%; /* Adjusted position for mobile */
        width: 50%;
        transform: translateY(-50%);
    }

    .slider-button.left {
        left: 0%;
        position : relative;
        top : -3em;
    }

    .slider-button.right {
        right: 0%;
        position : relative;
        top : -3em;
    }

    
    #tabla_areas_profesionales{
        background: none !important;
    }
    
    p{
        padding : 0 !important;
        padding-top : 0.25em;
    }
}



/* --------------------------- ESTILOS NUEVOS DESTACADOS -------------------------------------- */

.contenedor-destacados {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.catItemTitle{
    text-align : left;
}

/* Estilos para cada fila */
#fila1,
#fila2 {
    display: flex;
    flex-wrap: wrap;
    padding : 1em;
    justify-content: center;
    gap: 20px; 
    max-width: 100%; 
}

/* Estilo espec铆fico para los cursos */
.curso {
    width: calc(25% - 20px); 
    text-align: center; 
    flex: 1 0 auto; 
}



@media (max-width: 768px) {
    #fila1,
    #fila2 {
        flex-direction: column; 
        align-items: center; 
    }

    .curso {
        width: 100%; 
    }
}



/* --------------------------- ANINACIÓN SLIDER -------------------------------------- */

#fila2{
    display : none;
}

.oculto {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  animation: slideOut 1.2s cubic-bezier(0.42, 0, 0.58, 1) forwards; 
}

.visible {
  opacity: 1;
  visibility: visible;
  animation: slideIn 1s cubic-bezier(0.42, 0, 0.58, 1) forwards; 
}

@keyframes slideIn {
  0% {
    opacity: 0;
    transform: translateX(-30%);
    visibility: visible; 
  }
  50% {
    opacity: 0.2;
  }
  70% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
    transform: translateX(0); 
  }
}

@keyframes slideOut {
  0% {
    opacity: 1;
    transform: translateX(0);
    visibility: visible;
  }
  50% {
    opacity: 0;
    transform: translateX(30%); 
    visibility: hidden; 
  }
  100%{
    opacity: 0;
  }
}


.eventos-localidad-modalidad{
    text-align : left;
    padding-bottom: 24px;
}



.curso div a img {
    max-height : 25%;
}


