


/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
html {
    font-family: 'Open Sans', sans-serif;
    -moz-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;    
    text-size-adjust: 100%;
}

html, body {
    height: 100%;
    margin: 0;
}

* {
    padding: 0;
    margin: 0;
}

body {
    margin: 0;

}
.page {
    display: flex;
    flex-direction: column;
    min-height: 100dvh; /* Utiliser "dynamic viewport height" */
}
#content {
    flex: 1; /* prend tout l'espace disponible entre le header (s'il y en a) et le footer */
}

img {
    max-width: 100%;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
    display: block;
}

audio,
canvas,
progress,
video {
    display: inline-block;
    vertical-align: baseline;
}

    audio:not([controls]) {
        display: none;
        height: 0;
    }

[hidden],
template {
    display: none;
}

a {
    text-decoration: none;
}

    a:active,
    a:hover {
        outline: 0;
        text-decoration: none;
    }

.slicknav_menu {
    display: none;
}

.table {
    display: table;
    width: 100%;
    height: 100%;
}

.table-cell {
    display: table-cell;
    vertical-align: middle;
}

img {
    border: 0;
}

svg:not(:root) {
    overflow: hidden;
}

figure {
    margin: 1em 40px;
}

hr {
    box-sizing: content-box;
    height: 0;
}

pre {
    overflow: auto;
}

button,
input,
optgroup,
select,
textarea {
    color: inherit;
    font: inherit;
    margin: 0;
}

button {
    overflow: visible;
}

button,
select {
    text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
    -webkit-appearance: button;
    cursor: pointer;
}

    button[disabled],
    html input[disabled] {
        cursor: default;
    }

    button::-moz-focus-inner,
    input::-moz-focus-inner {
        border: 0;
        padding: 0;
    }

input {
    line-height: normal;
}

    input[type="checkbox"],
    input[type="radio"] {
        box-sizing: border-box;
        padding: 0;
    }

    input[type="number"]::-webkit-inner-spin-button,
    input[type="number"]::-webkit-outer-spin-button {
        height: auto;
    }

    input[type="search"]::-webkit-search-cancel-button,
    input[type="search"]::-webkit-search-decoration {
        -webkit-appearance: none;
    }

legend {
    border: 0;
    padding: 0;
}

textarea {
    overflow: auto;
}

optgroup {
    font-weight: bold;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

td,
th {
    padding: 0;
}
/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
optgroup,
textarea {
    /*color: #424646;*/
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    /*font-size: 14px;*/
    line-height: 24px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin: 0;
}

p {
    margin: 0;
    line-height: 24px;
}

a, button, input {
    font-weight: 400;
}

img, a, input, h1, h2, h3, h4, h5, h6 {
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

dfn, cite, em, i {
    font-style: italic;
}

address {
    margin: 0 0 1.5em;
}

pre {
    background: #eee;
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 1.6em;
    max-width: 100%;
    overflow: auto;
    padding: 1.6em;
}

code, kbd, tt, var {
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    font-size: 0.9375rem;
}

abbr, acronym {
    border-bottom: 1px dotted #666;
    cursor: help;
}

mark, ins {
    background: #fff9c0;
    text-decoration: none;
}

big {
    font-size: 125%;
}

.section {
    padding: 2% 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;

}

    .section-title h2, .section-title h1 {
        margin-bottom: 0;
        /*text-transform: capitalize;*/
        position: relative;
        font-weight: 700;
        margin-bottom: 10px;
        padding-bottom: 15px;
    }

        .section-title h2::before, .section-title h1::before {
            position: absolute;
            content: "";
            height: 2px;
            width: 50px;
            background: #F7941D;
            left: 50%;
            bottom: 0;
            margin-left: -25px;
        }

    .section-title p {
        font-size: 14px;
     
    }


.selectionTitle {
    border-left: 6px solid var(--bg-color-item-secondary);
    padding: 15px 0 20px 10px;
    display: block;
}
    .container {
    /*max-width: 1170px;*/
    max-width:1250px;
}

.overlay {
    position: relative
}

    .overlay::before {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0.4;
        background: #000;
        content: "";
        -webkit-transition: all 0.4s ease;
        -moz-transition: all 0.4s ease;
        transition: all 0.4s ease;
    }


.icon {
    width: 75%;
    height: 75%;
    top: 5%;
    left: 0;
    animation: cp-preloader-anim 1s linear infinite alternate backwards;
}

@keyframes cp-preloader-anim {
    0% {
        transform: translate3d(0,.0375em,0) rotate(45deg)
    }

    to {
        transform: translate3d(.075em,.075em,0) rotate(45deg)
    }
}
/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
    box-sizing: border-box;
}

*,
*:before,
*:after {
    /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see https://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
    box-sizing: inherit;
}


hr {
    background-color: #ccc;
    border: 0;
    height: 1px;
    /*margin-bottom: 1.5em;*/
}

ul, ul li {
    list-style: none;
    padding: 0;
    margin: 0;
}

li > ul,
li > ol {
    margin-bottom: 0;
    margin-left: 1.5em;
}

dt {
    font-weight: bold;
}

dd {
    margin: 0 1.5em 1.5em;
}

img {
    height: auto;
    /* Make sure images are scaled correctly. */
    max-width: 100%;
    /* Adhere to container width. */
}

figure {
    margin: 1em 0;
    /* Extra wide images within figure tags don't overflow the content area. */
}

table {
    margin: 0 0 1.5em;
    width: 100%;
}


input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
    color: #666;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 3px;
}

    input[type="text"]:focus,
    input[type="email"]:focus,
    input[type="url"]:focus,
    input[type="password"]:focus,
    input[type="search"]:focus,
    input[type="number"]:focus,
    input[type="tel"]:focus,
    input[type="range"]:focus,
    input[type="date"]:focus,
    input[type="month"]:focus,
    input[type="week"]:focus,
    input[type="time"]:focus,
    input[type="datetime"]:focus,
    input[type="datetime-local"]:focus,
    input[type="color"]:focus,
    textarea:focus {
        color: #111;
    }

select {
    border: 1px solid #ccc;
}

textarea {
    width: 100%;
}

a.btn {
    color: #fff;
}
    a.btn-inverse {
        color: #243844;
    }
    a:hover, a:active {
        outline: 0;
    }

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

    .screen-reader-text:focus {
        background-color: #f1f1f1;
        border-radius: 3px;
        box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
        clip: auto !important;
        clip-path: none;
        color: #21759b;
        display: block;
        font-size: 14px;
        font-size: 0.875rem;
        font-weight: bold;
        height: auto;
        left: 5px;
        line-height: normal;
        padding: 15px 23px 14px;
        text-decoration: none;
        top: 5px;
        width: auto;
        z-index: 100000;
        /* Above WP toolbar. */
    }

/* Do not show the outline on the skip link target. */
: /*#content[tabindex="-1"]:focus {
    outline: 0;
}*/

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
    display: inline;
    float: left;
    margin-right: 1.5em;
}

.alignright {
    display: inline;
    float: right;
    margin-left: 1.5em;
}

.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
}


/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
    margin: 0 0 1.5em;
    /* Make sure select elements fit in widgets. */
}

    .widget select {
        max-width: 100%;
    }

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/

.nav-right-bar .col {text-align:center;
}



.grid-help {
    width: 100%;
    display: block;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    text-align: center;
    position: relative;
    font-size: 16px;
    margin-bottom: 10px;
    padding-top: 10%;
    /*background-color: var(--bg-color-cream);*/
    display: inline-block;
}

    .grid-help:hover {
        background-color: #f7941d;
        color: #fff;
    }
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.sticky {
    display: block;
}


/* Slider Nav */
.modal .owl-nav {
    margin: 0;
    position: absolute;
    top: 50%;
    width: 100%;
    margin-top: -25px;
}

.modal .owl-carousel .owl-nav div {
    height: 60px;
    width: 30px;
    line-height: 58px;
    background: #fff;
    color: #333;
    position: absolute;
    margin: 0;
    border-radius: 0;
    font-size: 15px;
    text-align: center;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    transition: all 0.4s ease;
    box-shadow: 0px 0px 10px #3333331c;
}

    .modal .owl-carousel .owl-nav div:hover {
        color: #fff;
        background: #F7941D;
    }

.modal .owl-carousel .owl-controls .owl-nav .owl-prev {
    left: 0;
}

.modal .owl-carousel .owl-controls .owl-nav .owl-next {
    right: 0;
}

/* End Modal Css */




/* ==========================================
   NUMILOG - AUTOCOMPLETE ELASTICSEARCH
   Design personnalisé - Bootstrap 4
   ========================================== */

/* Conteneur général */
.ui-autocomplete {
    display: none;
    position: absolute !important;
    width: 760px !important;
    max-width: calc(100vw - 30px) !important;
    max-height: 520px;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 10px !important;
    margin: 0;
    background: var(--bg-color-silverlight) !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 35px rgba(0, 0, 0, .13) !important;
    z-index: 99999 !important;
    box-sizing: border-box;
    font-family: inherit;
}

/* Les deux colonnes */
.ac-results-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) !important;
    grid-template-areas: "other books";
    gap: 22px;
    align-items: start;
    width: 100%;
}
.ac-books {
    grid-area: books;
}

.ac-other {
    grid-area: other;
    border-left: none;
    border-right: 1px solid #edf0f2;
    padding-left: 0;
    padding-right: 18px;
}

.ac-column {
    display: block;
    min-width: 0;
}

/* Séparation visuelle */
.ac-other {
    border-left: 1px solid #edf0f2;
    padding-left: 18px;
}
.ac-book-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
}

.ac-book-cover {
    flex: 0 0 65px;
    width: 65px;
}

    .ac-book-cover img {
        display: block;
        width: 65px;
        height: auto;
        max-height: 95px;
        object-fit: contain;
    }

.ac-book-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
    min-width: 0;
}

    .ac-book-info a {
        display: inline-block;
        width: auto;
        max-width: 100%;
        font-weight: 600;
        text-align: left;
    }

    .ac-book-info i {
        display: block;
        width: auto;
        max-width: 100%;
        margin-top: 4px;
        font-size: 12px;
        color: #424646;
        text-align: left;
    }
/* Titres des catégories */
.ui-autocomplete-category {
    padding-left:5px;
    display: block;
    margin: 0 0 8px 0;
    color: #495057;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid #e9ecef;
}

/* Espacement entre catégories */
/*.ac-other .ui-autocomplete-category:not(:first-child) {
    margin-top: 18px;
}*/

/* Neutralisation des styles jQuery UI */
.ui-autocomplete .ui-menu-item {
    display: block !important;
    width: 100%;
    margin: 0;
    list-style: none !important;
    border: 0 !important;
}
#CatColumn1 .ui-menu-item {
    padding-bottom: 15px !important;
}
/* Résultats de la deuxième colonne : affichage compact */
#CatColumn2 .ui-menu-item {
    padding: 0 !important;
    margin: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    line-height: 1.3 !important;
}

    #CatColumn2 .ui-menu-item a {
        display: block !important;
        padding: 5px 8px !important;
        margin: 0 !important;
        line-height: 1.3 !important;
        font-size: 14px;
        height: auto !important;
    }

#CatColumn2 .ui-menu-item-wrapper {
    padding: 0 !important;
    margin: 0 !important;
}

.ui-autocomplete .ui-menu-item-wrapper {
    display: block;
    margin: 0;
    padding: 0;
    border: 0;
}

/* Liens des résultats */
.ac-result {
    display: block;
    width: 100%;
    padding: 9px;
    margin-bottom: 3px;
    border-radius: 7px;
    color: #343a40;
    text-decoration: none !important;
    transition: background .15s ease;
    box-sizing: border-box;
    background-color: #f4f3f0;
}

    .ac-result:hover,
    .ac-result.ui-state-active {
        background: #f3f6fa;
        color: #007bff;
    }

/* Présentation des livres */
.ac-book {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
}

    .ac-book > img {
        display: block;
        /*width: 52px;*/
        /*height: 70px;*/
        object-fit: contain;
        flex-shrink: 0;
    }

.ac-book-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
    min-width: 0;
}

.ac-book-title {
    display: block !important;
    width: 100%;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
  
}

.ac-book-subtitle {
    display: inline-block;
    width: auto;
    max-width: 100%;
    font-weight: 600;
    text-align: left;
    color: #868e96;
    font-size: 12px;
    line-height: 1.4;
}

/* Auteurs, éditeurs et sélections */
.ac-result-link {
    display: block;
    padding: 10px 9px;
    font-size: 13px;
    line-height: 1.45;
}

/* Texte recherché */
.ac-highlight {
    color: #1769aa;
    font-weight: 700;
}

/* Lien tous les résultats */
.ac-all-results {
    display: block;
    padding: 14px 8px 2px;
    margin-top: 14px;
    border-top: 1px solid #edf0f2;
    color: #1769aa !important;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    text-decoration: none !important;
}

    .ac-all-results:hover {
        color: #104f80 !important;
    }

/* ==========================================
   TABLETTES
   ========================================== */

@media (min-width: 576px) and (max-width: 767.98px) {

    .ui-autocomplete {
        width: 680px !important;
        padding: 14px !important;
    }

    .ac-results-layout {
        grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) !important;
        gap: 14px;
    }

    .ac-other {
        padding-left: 12px;
    }

    .ac-book img {
        /*width: 44px;
        height: 62px;*/
    }
}
.ac-no-results {
    color: #777;
    font-style: italic !important;
}
/* ==========================================
   MOBILES
   ========================================== */

@media (max-width: 575.98px) {

    .ui-autocomplete {
        width: calc(100vw - 20px) !important;
        max-width: calc(100vw - 20px) !important;
        max-height: 75vh;
        padding: 13px !important;
        border-radius: 9px !important;
    }

    /* Les deux colonnes deviennent verticales */
    .ac-results-layout {
        display: flex !important;
        flex-direction: column !important;
        gap: 16px;
    }

    .ac-column {
        width: 100%;
    }

    .ac-other {
        padding: 13px 0 0;
        border-left: 0;
        border-top: 1px solid #e5e7eb;
    }

    .ui-autocomplete-category {
        font-size: 12px;
        /*padding-bottom: 9px;*/
    }

    .ac-result {
        padding: 10px 7px;
    }
    .ac-no-results {
        padding: 8px 10px;
        color: #777;
        font-size: 13px;
        font-style: italic!important;
    }
    .ac-book {
        gap: 12px;
    }

        .ac-book img {
            /*width: 46px;
            height: 64px;*/
        }

    .ac-book-title {
        font-size: 13px;
    }

    .ac-book-subtitle {
        font-size: 12px;
    }

    .ac-result-link {
        padding: 11px 8px;
        font-size: 14px;
    }

    .ac-all-results {
        padding-top: 15px;
        font-size: 13px;
    }
}

/* Disposition couverture + boutons */
/* Desktop */
.book-visual-layout {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    background-color: var(--bg-color-silverlight);
}

/* Colonne couverture */
.book-cover-column {
    flex: 0 1 auto;
    min-width: 0;
}

/* Colonne des boutons */
/* Boutons */
.book-actions {
    position: absolute;
    right: 0;
    top: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 86px;
}

/* Boutons */
.book-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 66px;
    min-height: 71px;
    padding: 10px 5px;
    background: #eeede9;
    border: 1px solid transparent;
    border-radius: 9px;
    color: #17543f !important;
    text-decoration: none !important;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.3;
    text-align: center;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

/* Icônes */
.book-action-icon {
    font-size: 23px;
    line-height: 1;
    margin-bottom: 6px;
}

/* Survol */
.book-action-btn:hover {
    background: #e2e8e3;
    border-color: #17543f;
    color: #17543f !important;
    text-decoration: none !important;
}

/* Focus clavier */
.book-action-btn:focus-visible {
    outline: 2px solid #17543f;
    outline-offset: 3px;
}

/* Message de partage */
.share-message {
    margin-top: 8px;
    font-size: 12px;
    color: #17543f;
}

/* Mobile */
/* Mobile */
@media (max-width: 767px) {
    .book-visual-layout {
        flex-direction: column;
        align-items: center;
    }

    .book-actions {
        position: static;
        width: 100%;
        margin-top: 20px;
        flex-direction: row;
        justify-content: center;
    }
    .book-action-btn {width:50%;
    }
    }
#lblCouvFeuilletage a:before {
    content: "\1F4D6";
    font-size: 23px;
    margin-bottom: 6px;
}

#lnkAccessibilite:before {
    content: "\267F";
    font-size: 23px;
    margin-bottom: 6px;
}
.book-visual-layout .btn-feuilletage {
    font-size: 0.9em;
}


/* fixed le bouton d achat sur le fiche livre*/
/* Desktop : comportement normal */
.fixed-bottom-CTA {
    position: static;
}

/* Mobile */
@media (max-width: 767px) {

    .Blk-CTA .fixed-bottom-CTA {
        position: fixed !important;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100% !important;
        min-height: 90px;
        z-index: 1050;
        padding: 15px 15px 20px;
        padding-bottom: calc(20px + env(safe-area-inset-bottom));
        background-color: #fff;
        box-shadow: 0 -3px 10px rgba(0, 0, 0, 0.15);
        box-sizing: border-box;
    }

        .Blk-CTA .fixed-bottom-CTA > div {
            margin-top: 0 !important;
            max-width: 600px;
            margin-left: auto !important;
            margin-right: auto !important;
        }

    body {
        padding-bottom: 110px !important;
    }
}