#pdf-catalog-container {

    padding: 20px;

}

/* Encabezado del catálogo */
#pdf-list-view h1 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.5em;
    color: #333;
    font-weight: bold;
    text-transform: uppercase;
}

#pdf-list-view {
    display: none; 
}
.pdf-list {
    display: flex;
    flex-wrap: wrap; 
    justify-content: center;
    gap: 20px;
    /*max-width: 1200px;*/
    margin: 0 auto;
}

.pdf-item {
    box-sizing: border-box;
    text-align: center;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.pdf-item a {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.pdf-item-inner {
    /* background-color: #2a2a2a; */
    color: #fff;
    padding: 15px;
    border-radius: 5px;
    /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pdf-item-inner:hover {
    /* transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3); */
}

.pdf-item-inner img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 15px auto;
    border-radius: 3px;
}

.pdf-item-inner .pdf-name {
    font-weight: bold;
    font-size: 1.2em;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.pdf-item-inner .pdf-label-completo {
    font-size: 0.9em;
    color: #bbb;
    margin-top: 5px;
    text-transform: uppercase;
}
.pdf-list .pdf-item {
    width: 100%; /* Una columna */
}

/* Pantallas medianas y grandes (ej. 768px y más) */
@media (min-width: 768px) {
    .pdf-list .pdf-item:nth-child(7n + 1),
    .pdf-list .pdf-item:nth-child(7n + 2),
    .pdf-list .pdf-item:nth-child(7n + 3) {
        width: calc(33.333% - 20px);
    }

    .pdf-list .pdf-item:nth-child(7n + 4),
    .pdf-list .pdf-item:nth-child(7n + 5),
    .pdf-list .pdf-item:nth-child(7n + 6),
    .pdf-list .pdf-item:nth-child(7n + 7) {
        width: calc(25% - 20px);
    }
    /* .pdf-list .pdf-item:nth-child(7n + 4) .pdf-label-completo,
    .pdf-list .pdf-item:nth-child(7n + 5) .pdf-label-completo,
    .pdf-list .pdf-item:nth-child(7n + 6) .pdf-label-completo,
    .pdf-list .pdf-item:nth-child(7n + 7) .pdf-label-completo {
        display: none; 
    } */
    .pdf-list .pdf-item:nth-child(n + 4) .pdf-label-completo{
        display: none;
    }
}
@media screen and (min-width: 1025px) {
  	#cms.cms-id-19 #wrapper>div:nth-child(1),
    #cms.cms-id-19 #inner-wrapper {
        max-width: 1440px !important;
    }
    #cms.cms-id-19 .elementor-section.elementor-section-boxed>.elementor-container{
        max-width: 1410px !important;
    }
  	#cms.cms-id-19 #wrapper > .container{
  		/*padding-left: 15px;*/
    }
  	#cms.cms-id-19 #pdf-viewer-view{
        padding-left: 0px;
        padding-right: 0px;
  	}
}
    .pdf-list .pdf-item:nth-child(n + 4) .pdf-label-completo{
        display: none;
    }
    .pdf-viewer-content {
    display: flex;
    flex-wrap: wrap;
}

.pdf-iframe-column {
    padding-right: 15px;
}

.pdf-sidebar-column {
    padding-left: 15px;
}

#pdf-viewer-view {
    padding: 20px;
    /* background-color: #f9f9f9; */
    /* border: 1px solid #e0e0e0; */
    border-radius: 5px;
}

#pdf-viewer-view .btn-info{
    border-radius: 0.625rem;
    background-color: #033a5d;
    border: 1px solid #033a5d;
}

#pdf-viewer-view .btn-info:hover {
    color: #033a5d !important;
    background-color: rgba(255, 255, 255, 0.964) !important;
    border-color: #033a5d !important;
}
#pdf-viewer-view .btn-info.btn-send,
#pdf-viewer-view .btn-info.btn-download,
#pdf-viewer-view .btn-info.btn-send-email{
    padding: 0px 0px;
    font-size: 14px;
}
#pdf-viewer-view .btn-info-send{
    text-align: center;
}
#pdf-viewer-view .btn-info.btn-send{
    padding: .1rem 1.25rem;
}
#pdf-viewer-view .btn-info.btn-download,
#pdf-viewer-view .btn-info.btn-send-email{
    width: 250px;
}
.pdf-info-form-wrapper .text-info-1{
    font-size: 25px;
    font-weight: 400;
    color: #1d1d1b;
}
.pdf-info-form-wrapper .text-info-1.bold{
    font-weight: 700;
}
.pdf-info-form-wrapper .text-info.text-weight-7{
    font-weight: 700;
}
label.form-check-label {
    font-size: 8px;
    line-height: normal;
}
#pdf-viewer-view p.form-description {
    font-size: 12px;
    line-height: normal;
}
#pdf-viewer-view input.form-control,
#pdf-viewer-view textarea.form-control {
    padding: .2rem .5rem;
    font-size: 10px;
}
.quiero-mas-informacion-form {
    border-top: 10px solid #0c3a5c;
    /* border-top-color: red; */
    padding-top: 20px;
    background-color: #f6f6f6;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
}

#pdf-viewer-title {
    text-align: center;
    margin-bottom: 0px;
    color: #033a5d;
    font-size: 1.25em;
    font-weight: 500;
    text-transform: uppercase;
}

.pdf-iframe-wrapper {
    position: relative;
    padding-bottom: 75%; 
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #ccc;
}

.pdf-iframe-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1px solid #ddd;
}

/* Estilos del botón de "Volver" */
#back-to-catalogs-btn {
    margin-top: 20px;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}


#back-to-catalogs-btn {
    margin-left: inherit;
}
.pdf-item img {

    max-width: 100%;

    height: auto;

    display: block;

    margin: 0 auto 10px;

}



.pdf-item p {

    margin-bottom: 0;

    font-weight: bold;

}



/* Nuevos estilos para el visor de PDF */

#pdf-viewer-container {

    padding: 20px;

}



.pdf-iframe-wrapper {

    width: 100%;

    /* Opcional: Define un ancho máximo si no quieres que el iframe ocupe todo el ancho */

    max-width: 1000px;

    margin: 0 auto; /* Centrar el contenedor del iframe */

    background-color: #fffdfd00;

    /* border: 1px solid #ccc; */

    /* box-shadow: 0 0 10px rgba(0,0,0,0.1); */

    overflow: hidden; /* Asegurarse de que el iframe no se desborde */

}



.pdf-iframe-wrapper iframe {

    display: block; /* Elimina espacio extra debajo del iframe */

}

#quiero-mas-informacion-form {
    /* padding: 25px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #fcfcfc;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05); */
}

#quiero-mas-informacion-form h2 {
    text-align: center;
    margin-bottom: 25px;
    color: #212529;
    font-size: 1.8em;
    font-weight: 400;
}
#quiero-mas-informacion-form h2.bold{
    font-weight: 700;
}

#quiero-mas-informacion-form p {
    text-align: center;
    margin-bottom: 30px;
    color: #6c757d;
    font-size: 1em;
}

#quiero-mas-informacion-form .form-group {
    margin-bottom: 15px;
}

#quiero-mas-informacion-form label {
    display: block;
    margin-bottom: 5px;
    /* font-weight: bold; */
    color: #495057;
}

#quiero-mas-informacion-form .form-control {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 1em;
    line-height: 1.5;
    box-sizing: border-box; /* Incluir padding y border en el ancho total */
}

#quiero-mas-informacion-form textarea.form-control {
    min-height: 100px;
    resize: vertical; /* Permite redimensionar verticalmente */
}

#quiero-mas-informacion-form .form-control:focus {
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

#quiero-mas-informacion-form .checkbox-container {
    display: flex;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 0.9em;
    color: #495057;
}

#quiero-mas-informacion-form .checkbox-container input[type="checkbox"] {
    margin-right: 8px;
    width: 18px;
    height: 18px;
    flex-shrink: 0; /* Evita que el checkbox se encoja */
}

#quiero-mas-informacion-form button[type="submit"] {
    display: block;
    width: auto;
    margin: 0 auto;
    padding: 12px 30px;
    background-color: #033a5d;
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 1.1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#quiero-mas-informacion-form button[type="submit"]:hover {
    background-color: #0056b3;
}

#quiero-mas-informacion-form button[type="submit"]:disabled {
    background-color: #a0a0a0;
    cursor: not-allowed;
}

/* Asegúrate de que los campos con asterisco se vean bien (ej. usando un span en el label) */
.form-group .required:after {
    content: ' *';
    color: red;
}