
.spaners {
    margin-bottom: 30px;
}


/* Añade estas líneas para adaptar las etiquetas <li> en forma de columna */
.category-module {
    display: flex;
    flex-wrap: wrap;
    text-align: center;
}

.category-module li {
    flex: 1 1 calc(50% - 20px); /* Dos columnas, teniendo en cuenta el espacio entre elementos */
    margin-bottom: 40px;
}

/* Mantén las clases existentes del ejemplo anterior */
.titleServ {
    color: #0070B8;
    font-size: 28px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 50px;
}

.category-module a {
    color: #333;
    text-decoration: none;
    font-weight: bold;
}
.category-module a:hover { /*color texto liga */
    color: var(--color-secundario); /*var(--color-adicional2) ;*/
}

.category-module p {
    color: #555555;
    margin-bottom: 30px;
}

.mod-articles-category-readmore {
    margin-top: 10px;
}

.icon-chevron-right {
    margin-left: 5px;
}

.btn-Liga {
    display: inline-block;
    padding: 10px 15px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    border: 1px #0070B8 solid;
    transition: background-color 0.3s, color 0.3s;
}
.txt-Liga {
    color: #B8910B;
    font-size: 16px;
    cursor: pointer;
}
.txt-Liga:hover {
    color: #143759;
    font-size: 16px;
}
.inverted-image-span {}
.inverted-image-span:hover { filter: invert(15%);}

.btn-Liga:hover {
    background-color: #143759; /*#ccc;*/
    color: #fff;
}

/* Estilos generales */
.rt-blockServicios {
    margin: 20px auto;
    padding: 20px;
    width: 80%;
}
.rt-blockLateral {
    margin: 20px auto;
    padding: 20px;
}

/* Estilos generales */
.component-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}
.lineabajo {
    border-bottom: 1px solid #ccc;
}
.item-page {
    border-radius: 10px;
    padding: 20px;
    /*
    background-color: #f8f8f8;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    */
}

/* Estilos del contenido */
[itemscope] {
    display: block;
}

[itemscope] p {
    text-align: justify;
    line-height: 1.6;
    color: #333;
}

.bullet-1, .bullet-2, .bullet-3,
.bullet-4, .bullet-5, .bullet-6 {
    list-style-type: none;
    padding-left: 20px;
    margin-top: 10px;
    color: #555;
    text-align: left;
    margin-bottom: 40px;
}

.bullet-3 li {
    margin-top: 10px;
    margin-bottom: 20px;
    position: relative;
}
.bullet-3 li:before {
    content: '\2713'; /* Código de la viñeta \2022 bullet, \2713 palomita*/
    color: #D9534F; /* Color del bullet */
    font-size: 20px;
    margin-right: 5px;
    position: absolute;
    left: -20px;
    font-weight: 600;
}

.bullet-3 li span {
    color: #FF5733; /* Color del texto dentro de <li> */
}

.bullet-3 li ul {
    margin-bottom: 30px;
}
.bullet-3 li ul li {
    margin-bottom: 10px;
    position: relative;
}
.bullet-3 li ul li:before {
    content: '\2022'; /* Código de la viñeta \2022 bullet, \2713 palomita*/
    color: #D9534F; /* Color del bullet */
    font-size: 30px;
    margin-right: 5px;
    position: absolute;
    left: -20px;
    font-weight: 600;
}

        /* Estilos para el modal */
        .modalServicios {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            justify-content: center;
            align-items: center;
            z-index: 100;
        }

        .modalServicios-content {
            background-color: #fff;
            padding: 20px;
            border-radius: 5px;
            width: 70%;
            max-height: 450px;
            overflow: auto; 
        }


/* Modificación para columnas responsivas */
.category-module li {
    flex: 1 1 calc(25% - 20px); /* Cuatro columnas por defecto */
    /*border: 1px #cccccccc solid;*/
    border-radius: 8px;
    margin: 5px;
    padding: 10px;
    /*height: 450px;*/
}


@media (max-width: 1199px) and (min-width: 768px) {
    .category-module li {
        flex: 1 1 calc(33.33% - 20px); /* Tres columnas */
    }
}

@media (max-width: 767px) {
    .category-module li {
        flex: 1 1 calc(50% - 20px); /* Dos columnas */
    }
}

@media (max-width: 480px) {
    .category-module li {
        flex: 1 1 calc(100% - 20px); /* Una columna */
    }
}

/*------------ Modal --------*/

#pdfModalTsJrs, 
#pdfModalLeRe {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Fondo semi-transparente */
    z-index: 999; /* Asegura que el modal esté por encima de otros elementos */
}

#pdfModalTsJrs .modalContentTsJrs,
#pdfModalLeRe .modalContentLeRe {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 90%;
    /*max-width: 800px; /* Establece un ancho máximo para el modal */
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    overflow: hidden;
}

#pdfModalTsJrs .close-btn,
#pdfModalLeRe .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    cursor: pointer;
    background: none;
    border: none;
    outline: none;
}

#pdfModalTsJrs #pdfViewer,
#pdfModalLeRe #pdfViewer {
    width: 98.5%; /* Puedes ajustar esto según tus necesidades específicas */
    height: 100%; /* Puedes ajustar esto según tus necesidades específicas */
}