@charset "utf-8";
/* CSS Document */

body {
    line-height: normal;
    font-weight: 400;
    font-style: normal;
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}

html {
    background-color: transparent;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Titre site */
.main-title {
    position: relative;
    background: url('../../cms_vign.php?type=section&id=79&mode=large') no-repeat top left;
    background-size: cover;
    min-height: 190px;
    box-shadow: inset 0px 0px 10px 1px rgba(0, 0, 0, 0.33);
}

.main-title .uk-grid {
    min-height: 190px;
}

.gradiant-flat.wk-align-abs-right {
    position: absolute;
    left: 100%;
    height: 100%;
    top: 0;
    z-index: 10;
    width: 96px;
}

.gradiant-flat.wk-align-abs-right img {
    min-height: 101%;
}

.logo-one {
    padding: 10px 0px;
    background: #fff;
    text-align: center;
}

.logo-one a {
    text-align: right;
    display: block;
    padding: 0px 15px 0px 0px;
}

.title-section {
    position: relative;
    background-color: #fff;
}

.wl-navbar {
    background: #fff;
    z-index: 20;
}

/* Home Fade-News Slider */
.Slider {
    border: solid 1px #C2C2C2;
    min-height: 100%;
}

.SliderArt h3.titleInside,
.titleContenu {
    color: #fff;
}

.titleContenu {
    margin-bottom: 0px;
}

/* Home Notices Slider */
.SliderHoriz,
.listselect {
    border: solid 1px #C2C2C2;
}

.SliderHoriz .SliderNot>h3,
.listselect h3,
.fluxRSS>h3,
.titleContenu,
#widget>h3 {
    color: #fff;
    padding: 13px;
}

/* Home Selections */
.listselect .itemVign .imgL.uk-panel-box {
    background-color: #fff;
    border-radius: 5px;
    width: 85%;
    margin: 0 auto;
}

/* Panier */
#lienHistorique a,
#lienThesaurus a,
.cart_info_body>span {
    color: #fff;
}

#cart_info_iframe_content a,
#cart_info_iframe_content a:hover {
    color: #fff !important;
    text-decoration: none;
    font-weight: 400;
}

#resume_panier,
#lienHistorique {
    vertical-align: middle;
    float: none;
    width: auto;
    height: 40px;
    background-color: #E1E1E1;
    border: solid 1px rgba(0, 0, 0, 0.14);
    margin-bottom: 20px;
}

#resume_panier {
    margin-top: 0px;
}

iframe#iframe_resume_panier {
    border: none;
    font-family: sans-serif;
    height: 100%;
}

body.cart_info_body {
    background-color: transparent;
    background-image: none;
    width: 100%;
    overflow: hidden;
    padding: 0px;
    margin: 0px;
}

.cart_info_body>span {
    font-size: 16px;
    overflow: hidden;
    display: inline-block;
    height: 100%;
    width: 100%;
    color: #fff;
    line-height: 38px;
}

/* Alertas perso */
.aut_details_bannette {
    background-color: #F8F8F8;
    overflow: hidden;
    padding: 0px 10px;
}

.aut_details_bannette form th,
.aut_details_bannette form td {
    max-width: 150px;
}

.aut_details_bannette form tbody {
    border-bottom: solid 1px #787878;
}

.aut_details_bannette form th {
    font-weight: 400;
    vertical-align: top;
    padding: 4px 7px;
    border: solid 1px #787878;
}

#bannette-container {
    background-color: #FeFeFE;
    padding: 1%;
    width: 98%;
    margin: 0 auto;
    border: solid 1px #cdcdcd;
}

#bannette-container .colonne2 {
    width: auto !important;
}

#bannette-container .notice-heada {
    width: 90%;
}

#bannette-container table {
    margin: 0px 0px 10px;
}

#bannette-container table:empty {
    display: none;
}

#bannette-container table tr td {
    padding: 5px 7px;
}

#bannette-container form table tr td:nth-child(odd) {
    background-color: #f9f9f9;
    padding: 5px 7px;
    text-align: center;
    border-left: solid 1px #787878;
    border-right: solid 1px #787878;
}

#a2z_perio .asideContentNot {
    float: none;
    margin: 0px;
}

#a2z_perio .notice_contenu {
    margin: 0px
}

#a2z_perio .descr_notice {
    display: block;
}

.notDetaillee > #noticeNot > .parentNot > #blocNotice_descr > ul {
    display: none;
}

div#widget > a {
    text-shadow: none;
    text-decoration: none;
}

.imgCoupDeCoeur {
    text-align: center;
    margin: 10px;
}

.mediaWidget.coupDeCoeur > h4 {
    color: #6C6C6C;
}

/* Ticket #187084 + correction bouton radio recherche */
.myform-password-text-visually {
    height: 28px;
}

#myform-password-visually {
    left: unset;
    right: 57px;
}

#login_form input.bouton {
    bottom: 30px;
    position: absolute;
}

.searchbox label, .facette_libelle label {
    color: white;
}

/* Chartage des univers */
.search_universe_segments {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(200px, 1fr));
    gap: 2rem;
}

.search_universe_segments_row {
    width: unset;
    height: unset;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: unset;
    overflow: unset;
}

/* =======================================================
   ESTRUCTURA DE COLUMNAS (bandeau + main)
   ======================================================= */
#container {
    max-width: 1400px;      /* Aumentado de 1200px a 1400px para más ancho */
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

#bandeau {
    flex: 1 1 250px;
    order: 1;
}

#main {
    flex: 3 1 600px;
    order: 2;
}

#footer {
    flex: 1 1 100%;
    order: 3;
    margin-top: 30px;
}

#bandeau_2 {
    display: none !important;
}

#cms_module_sectionslist_120 {
    clear: both;
    width: 100%;
    margin-top: 15px;
}

@media (max-width: 768px) {
    #container {
        flex-direction: column;
    }
    
    #bandeau, #main {
        flex: 1 1 auto;
    }
}

/* =======================================================
   CABECERA UNIFICADA (LOGO - TÍTULO - DEGRADADO - IMAGEN)
   ======================================================= */
#intro {
    background-color: #f5f5f5 !important;
    text-align: center;
    position: relative;
    width: 100%;
}

#intro > div:nth-child(1),
#intro > div:nth-child(2),
#intro > div:nth-child(3) {
    display: inline-block;
    vertical-align: middle;
    background-color: transparent !important;
}

/* Logo (izquierda) */
#intro > div:nth-child(1) {
    float: left;
    width: auto;
    max-width: 180px;
    margin-top: 20px;      /* Separación superior */
    margin-left: 20px;     /* Separación izquierda */
}

/* Título (izquierda) */
#intro > div:nth-child(2) {
    display: inline-block;
    width: auto;
    margin: 0 10px;
    text-align: left;      /* Cambiado de 'center' a 'left' */
    position: relative;
}

/* Contenedor de la imagen (ocupa el ancho restante) */
#intro > div:nth-child(3) {
    float: right;
    width: 45%;
    margin-left: 0px;      /* Cambiado de 10px a 0px (sin separación) */
    position: relative;
    text-align: right;
}

/* DEGRADADO (pegado a la izquierda de la imagen) */
#intro > div:nth-child(3)::before {
    content: "";
    position: absolute;
    left: -20px;            /* Separado del título, pegado a la imagen */
    top: 0;
    height: 100%;
    width: 50px;
    background-image: url('https://www.bibliotecas.salesianos.es/opac_css/styles/zen_one/images/gradiant-flat.png');
    background-repeat: no-repeat;
    background-position: right center;
    background-size: cover;
    pointer-events: none;
    z-index: 1;
}

/* La imagen (ocupa todo el ancho del contenedor) */
#Introbandeau img {
    height: 100px;         /* Aumentado de 80px a 100px */
    width: 150%;
    object-fit: contain;
    display: block;
}

/* Limpiar floats */
#intro::after {
    content: "";
    display: table;
    clear: both;
}

/* Ajustes del título */
#titrePortail {
    background-color: transparent !important;  /* Elimina cualquier fondo */
}
#titrePortail .mainTitle {
    font-size: 2.5em;
    white-space: nowrap;
    background-color: transparent !important;  /* Fuerza transparencia */
}

/* En móviles */
@media (max-width: 768px) {
    #intro > div:nth-child(1),
    #intro > div:nth-child(2),
    #intro > div:nth-child(3) {
        float: none;
        display: block;
        margin: 10px auto;
        text-align: center;
        width: 100%;
    }
    
    #intro > div:nth-child(3)::before {
        display: none;
    }
    
    #titrePortail .mainTitle {
        white-space: normal;
        font-size: 1.2em;
    }
    
    #Introbandeau img {
        height: 60px;
    }
}
/* Fondo transparente para la cabecera (elimina el gris) */
#intro {
    background-color: transparent !important;
}
/* =======================================================
   FORZAR ALINEACIÓN: CARRUSEL + AGENDA EN LA MISMA LÍNEA
   ======================================================= */

/* El contenedor principal */
#main_hors_footer {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

/* Carrusel: ancho fijo del 58% */
#cms_module_articleslist_21 {
    flex: 0 0 58%;
    width: 58%;
    margin-right: 2%;      /* Separación entre carrusel y agenda */
    box-sizing: border-box;
}

/* Agenda: ancho fijo del 40% (para que sume 58% + 2% + 40% = 100%) */
#cms_module_agenda_85 {
    flex: 0 0 40%;
    width: 40%;
    box-sizing: border-box;
}

/* Los demás módulos ocupan el 100% */
#cms_module_recordslist_23,
#cms_module_articleslist_38,
#navigator {
    flex: 0 0 100%;
    width: 100%;
    margin-top: 20px;
}

/* En móviles, apilar verticalmente */
@media (max-width: 768px) {
    #main_hors_footer {
        flex-direction: column;
    }
    
    #cms_module_articleslist_21,
    #cms_module_agenda_85 {
        flex: 0 0 100%;
        width: 100%;
        margin-right: 0;
    }
}
/* =======================================================
   AJUSTE FINAL: CARRUSEL + AGENDA (manteniendo el contenido de abajo)
   ======================================================= */

/* Forzar que carrusel y agenda estén en la misma línea */
#cms_module_articleslist_21,
#cms_module_agenda_85 {
    display: inline-block !important;
    vertical-align: top !important;
}

#cms_module_articleslist_21 {
    width: 65% !important;
}

#cms_module_agenda_85 {
    width: 33% !important;
    margin-left: 1% !important;
}

/* Eliminar límite de ancho del carrusel */
#cms_module_articleslist_21 .bx-wrapper {
    max-width: none !important;
}
/* Eliminar fondo azul de los cuadros de destacados */
.listselect .itemVign .imgL.uk-panel-box {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}
/* Forzar que los resultados de búsqueda ocupen todo el ancho */
#resultatrech {
    width: 100% !important;
    clear: both !important;
}

#resultatrech_container {
    width: 100% !important;
}

#resultatrech_liste {
    width: 100% !important;
}

/* Ajustar los artículos de autor para que se muestren correctamente */
.pmb-authority {
    width: 100% !important;
    clear: both !important;
}