﻿body {
    margin: 0 1em;
    padding: 0;
    font-size: 10pt;
    font-family: sohne, "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: black;
    background-color: #fff;
}

img.couverture {
    min-width: 150px;
    border: 1px solid silver;
}

img.couverture_mini {
    width: 72pt;
    height: 120pt;
    border: 1px solid silver;
}

img.couverture_mini_rech {
    width: 60pt;
    height: 100pt;
    position: relative;
    border: 1px solid silver;
}

.icon_grid {
    width: 20pt;
    height: 20pt;
    background-image: url("../images/icon/grille_actif.png");
    background-size: 20pt;
    position: relative;
    display: inline-block;
    top: 4pt;
}

.icon_grid:hover {
    background-image: url("../images/icon/liste_actif.png");
}

.icon_list {
    width: 20pt;
    height: 20pt;
    background-image: url("../images/icon/liste_actif.png");
    background-size: 20pt;
    position: relative;
    display: inline-block;
    top: 4pt;
}

.icon_list:hover {
    background-image: url("../images/icon/grille_actif.png");
}

p {
    margin: 0.3em 0 0.4em 0;
    line-height: 1.5em;
    font-size: 13pt;
    text-align: left;
}

div.resume {
    max-width: 450pt;
    margin: 0 5pt 5pt 0;
}

div.avis {
    max-width: 610pt;
    margin: 0 10pt 10pt 10pt;
}

div.reflexion {
    max-width: 610pt;
    margin: 0 10pt 10pt 10pt;
}

span.good_value::before {
    content: "✓";
    font-weight: bold;
    margin-right: 6px;
}

span.erreur_value::before {
    content: "✗";
    font-weight: bold;
    margin-right: 6px;
}

p.erreur_value {
    color: red;
    font-size: 10pt;
}

p.good_value {
    color: green;
    font-size: 10pt;

}

.password-rules {
    margin-top: 6pt;
    margin-bottom: 6pt;
    font-size: 10pt;
}

.password-rule {
    margin: 2pt 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.password-rule::before {
    content: "✗";
    font-weight: bold;
}

.password-rule.erreur {
    color: red;
}

.password-rule.good {
    color: green;
}

.password-rule.good::before {
    content: "✓";
}

h1,
h2,
h3,
h4,
h5,
h6 {
    background: none;
    font-weight: normal;
    margin: 0;
    z-index: 100;
}

h1 {
    font-size: 18pt;
    max-width: 650pt;
    margin-top: 1em;
    padding-bottom: 0.2em;
    margin-bottom: 0.5em;
}

h2,
h3 {
    font-size: 10pt;
}

.h2_s {
    margin-top: 20pt;
    font-size: 16pt;
}

.couv_style {
    font-size: 10pt;
}

.infos_lecture {
    font-size: 13pt;
}

.titre {
    font-size: 300%;
    background-color: white;
    color: black;
    background: none;
    font-weight: normal;
    font-family: source-serif-pro, Georgia, Cambria, "Times New Roman", Times, serif;
    margin: 0;
    z-index: 100;
}

.titre2 {
    font-size: 17pt;
    color: black;
    font-weight: normal;
    margin: 0;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
}

.titre .editsection {
    font-size: 53%;
}

.titre a {
    color: black;
    text-decoration: none;
}

#recherche_globale {
    position: relative;
    width: 100%;
    /* height: 51pt; */
    z-index: 100;
    background-color: white;
}

#recherche_decouverte {
    position: relative;
    width: 100%;
    height: 51pt;
    z-index: 99;
    background-color: white;
}

#autocompletelist ul {
    background-color: white;
    width: max(50pt, calc(50% + 120pt));
}

#autocompletelist2 ul {
    background-color: white;
    width: max(50pt, calc(50% + 120pt));
}

ul#tabnav {
    font: 13pt sans-serif;
    list-style-type: none;
    position: fixed;
    padding-left: 0;
    padding-right: 0;
    width: 100%;
    margin-top: 0pt;
    background-color: white;
    z-index: 98;
}

ul#tabnav li {
    float: left;
    height: 16pt;
    background-color: white;
    margin: 5pt 10pt 0 1pt;
    color: grey;
    /*border: 1pt solid black;
    border-radius: 3pt 3pt 0 0;
    border-bottom: 1pt solid white;*/
}


/*ul#tabnav li.active {
    background-color: black;
}*/

#tabnav a {
    float: left;
    display: block;
    color: black;
    text-decoration: none;
}

#tabnav a .nav-icon {
    display: inline-block;
    vertical-align: middle;
    margin-right: 6px;
    width: 18px;
    height: 18px;
    transform: translateY(-3px);
}

ul {
    border-bottom: 1pt solid grey;
    padding: 0 0 8pt 0;
}

#tabnav a:hover {
    /*background: black;
    color: white;*/
    border-bottom: 3pt solid black;
}

#tabnav a.active {
    /*border-radius: 3pt 3pt 0 0;*/
    background: white;
    color: blue;
    border-bottom: 3pt solid blue;
}

.menu {
    font-size: 24pt;
    cursor: pointer;
    color: grey;
}

.menu:hover {
    color: black;
}

.ok {
    width: 56pt;
    height: 75pt;
    padding: 0 15pt 0 0;
    background: url("../images/icon/ok_s_d.png") no-repeat;
    background-size: 56pt, 75pt;
    display: inline-block;
}

.ok:hover {
    background: url("../images/icon/ok_s.png") no-repeat;
}

.nok {
    width: 56pt;
    height: 75pt;
    padding: 0 0 0 15pt;
    background: url("../images/icon/nok_s_d.png") no-repeat;
    background-size: 56pt, 75pt;
    display: inline-block;
}

.nok:hover {
    background: url("../images/icon/nok_s.png") no-repeat;
}

.choice {
    padding: 15pt 0 7pt 0px;
    margin: 0 0;
    max-width: 375pt;
}

.center {
    width: 150pt;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.center2 {
    width: 300pt;
    max-width: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.center3 {
    max-width: 500pt;
    min-width: 20%;
    /* margin-left: auto; */
    margin-right: auto;
    position: relative;
}

#content {
    padding: 150pt 0 0 0;
}

#content_mob {
    padding: 60pt 0 0 0;
}

@media screen and (max-width: 768px) {
    .header-nav-btn {
        position: fixed;
        top: 18px;
        width: 36px;
        height: 36px;
        border: 1pt solid rgb(141, 59, 248);
        background-color: rgb(141, 59, 248);
        color: white;
        border-radius: 6pt;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        font-size: 20pt;
        line-height: 1;
        z-index: 101;
        outline: none;
        -webkit-tap-highlight-color: transparent;
    }
    .header-nav-btn:hover,
    .header-nav-btn.is-active {
        background-color: white;
        color: rgb(141, 59, 248);
    }
    .header-nav-prev {
        left: 0px;
    }
    .header-nav-next {
        right: 0px;
    }
    .header-nav-btn.is-hidden {
        opacity: 0;
        pointer-events: none;
    }

    #mobile-header-bg,
    #title_searchbar {
        transition: transform 0.25s ease;
        will-change: transform;
    }

    body.header-hidden #mobile-header-bg,
    body.header-hidden #title_searchbar {
        transform: translateY(-80px);
    }
}

@media screen and (max-width: 768px) {
    .icon-legend-wrap {
        position: fixed;
        top: 60px;
        right: 6px;
        z-index: 109;
        transition: transform 0.25s ease;
        will-change: transform;
    }

    .icon-legend-btn {
        width: 22px;
        height: 22px;
        border-radius: 50%;
        border: 1pt solid rgb(141, 59, 248);
        background: white;
        color: rgb(141, 59, 248);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 11pt;
        line-height: 1;
        cursor: pointer;
        padding: 0;
    }

    .icon-legend-btn:hover,
    .icon-legend-btn.is-active {
        background: rgb(141, 59, 248);
        color: white;
    }

    .icon-legend-panel {
        position: fixed;
        top: 30px;
        right: 6px;
        background: white;
        border: 1pt solid rgb(141, 59, 248);
        border-radius: 12pt;
        padding: 8pt 10pt;
        box-shadow: 0 8px 20px rgba(141, 59, 248, 0.18);
        display: none;
        z-index: 2;
        width: 50vw;
    }

    .icon-legend-panel.is-open {
        display: block;
    }

    body.modal-open .icon-legend-wrap,
    body.modal-open .icon-legend-panel {
        opacity: 0.1;
        pointer-events: none;
    }

    .modal2:target ~ #content_mob .icon-legend-wrap,
    .modal2:target ~ #content_mob .icon-legend-panel {
        opacity: 0.1;
        pointer-events: none;
    }

    body.header-hidden .icon-legend-wrap {
        transform: translateY(-55px);
    }

    .icon-legend-title {
        font-weight: bold;
        font-size: 10pt;
        margin-bottom: 6pt;
        color: rgb(141, 59, 248);
    }

    .icon-legend-row {
        display: flex;
        align-items: center;
        gap: 6pt;
        font-size: 10pt;
        margin-bottom: 4pt;
    }

    .icon-legend-row img {
        width: 18px;
        height: 18px;
    }
}

@media screen and (max-width: 768px) {
    #bottom a,
    #bottom button {
        outline: none;
        -webkit-tap-highlight-color: transparent;
    }
}

@media screen and (max-width: 768px) {
    html,
    body {
        overflow-x: hidden;
    }
    #page-content.page-slide-in-right {
        animation: pageSlideInFromRight 0.28s ease;
        will-change: transform;
    }
    #page-content.page-slide-in-left {
        animation: pageSlideInFromLeft 0.28s ease;
        will-change: transform;
    }
}

@keyframes pageSlideInFromRight {
    from {
        transform: translateX(50vw);
        opacity: 0.85;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes pageSlideInFromLeft {
    from {
        transform: translateX(-50vw);
        opacity: 0.85;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.parent {
    padding: 0 0 0 158pt;
    transition: 0.3s;
}

.parent.actualites {
    padding-left: 120pt;
}

.revelateur-layout .revelateur-content {
    max-width: 740px;
    padding-left: 158pt;
    margin-right: auto;
    transition: padding-left 0.3s ease;
}

@media screen and (max-width: 1300px) {
    .revelateur-layout .revelateur-content {
        padding-left: 0;
    }
}

@media screen and (max-width: 768px) {
    .revelateur-layout .revelateur-content {
        margin: 0 auto;
        padding-left: 0;
        text-align: center;
    }
}

@media screen and (max-width: 768px) {
    .parent {
        text-align: center;
    }
    .parent .center,
    .parent .center2,
    .parent .center3,
    .parent .buttons,
    .parent form,
    .parent .inline-block-child {
        margin-left: auto;
        margin-right: auto;
    }
    .parent .inline-block-child {
        display: block;
    }
    table.livre .couverture {
        display: block;
        margin: 0 auto;
    }
    table.livre {
        margin: 0 auto;
    }
    table.livre td,
    table.livre .inline-block-child {
        text-align: center;
    }
    .parent .titre2 {
        display: flex;
        justify-content: flex-start;
        text-align: left;
        width: 100%;
    }
    .msg-text ul,
    .msg-text li {
        text-align: left;
    }
}

.livre-jour-nav {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Header bar should keep original alignment */
#header .parent {
    padding: 0;
    transition: none;
    text-align: left;
}

@media screen and (max-width: 768px) {
    #header .parent,
    #header form.parent {
        margin-left: 0;
        margin-right: 0;
        text-align: left;
    }
}

.parent#parcourir {
    padding: 0 0 0 158pt;
    transition: 0.3s;
}

/* Media query pour une largeur de fenêtre maximale de 768px */
@media screen and (max-width: 1300px) {
    .parent#parcourir {
        padding: 0;
    }
    .parent {
        padding: 0;
    }
    .parent.actualites {
        padding: 0;
    }
}

.parent#parcourir_mob {
    padding: 0 0 0 23pt;
    transition: 0.3s;
}

#actions {
    padding: 23pt 0 23pt 0;
    max-width: 375pt;
    transition: 0.3s;
}

.block-child {
    vertical-align: top;
    padding: 4pt;
}

.inline-block-child {
    display: inline-block;
    vertical-align: top;
    padding: 4pt;
}

.inline-block-child-top {
    display: inline-block;
    vertical-align: top;
}

.inline-block-child-bottom {
    display: inline-block;
    vertical-align: bottom;
}

.inline-block-child-top-padding-bottom {
    display: inline-block;
    vertical-align: top;
    padding: 0 0 20pt 0;
}

.formulaire {
    margin-left: 15pt;
    margin-top: 10pt;
    margin-bottom: 5pt;
    padding: 3pt 15pt 0 15pt;
    border: 1pt solid grey;
    border-radius: 3pt;
}

table.livre {
    /*width: 300px;*/
    max-width: 100%;
}

td.title,
span.title {
    font-weight: bold;
}

td.author,
span.author {
    font-style: italic;
}

#openmenu {
    position: fixed;
    display: inline-block;
    visibility: hidden;
}

#openmenu_mob {
    position: fixed;
    display: inline-block;
    visibility: visible;
}

.liste {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: scroll;
}

.sidenav {
    position: fixed;
    display: inline-block;
    z-index: 1;
    background: white;
    border: 1pt solid grey;
    overflow-x: hidden;
    overflow-y: scroll;
    padding: 30pt 0 0 0;
    top: 150pt;
    bottom: 30pt;
    left: 8pt;
    transition: 0.3s;
}

.sidenav_mob {
    width: 0;
}

.sidenav_other {
    width: 150pt;
}

.sidenav a {
    padding: 6px 8px 6px 16px;
    text-decoration: none;
    font: 9.5pt sans-serif;
    color: black;
    display: block;
    transition: 0.3s;
}

.sidenav a:hover {
    color: white;
    background: black;
}

.sidenav a:focus,
.sidenav a.liste_active {
    color: blue;
    background: white;
}

.sidenav .closebtn {
    position: absolute;
    padding: 0 4pt 0 4pt;
    margin: 1pt 0 0 0;
    top: 0;
    right: 0;
    font-size: 20pt;
    color: grey;
}

.sidenav .closebtn:hover {
    color: black;
    background: white;
}

.sidenav .title {
    position: absolute;
    color: blue;
    top: 7pt;
    left: 7pt;
    font-size: 16pt;
}


.filter_button a {
    display: inline-block;
    margin: 3pt 1pt 3pt 1pt;
    font-family: sans-serif;
    font-size: 9pt;
    line-height: 100%;
    text-decoration: none;
    cursor: pointer;
    width: auto;
    overflow: visible;
    padding: 3pt 4pt 2pt 4pt;
    border-radius: 10pt;
    text-align: center;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out;
}

.filter_color_purple a.toselect {
    background-color: white;
    border: 1pt solid rgb(132, 0, 255);
    color: rgb(132, 0, 255);
}

.filter_color_purple a.toselect:hover {
    background-color: rgb(201, 149, 250);
    color: white;
}

.filter_color_purple a.toselect:active {
    background-color: rgb(132, 0, 255);
    color: white;
}

.filter_color_purple a.selected {
    background-color: rgb(132, 0, 255);
    border: 1pt solid rgb(132, 0, 255);
    color: white;
}

.filter_color_purple a.selected:hover {
    background-color: rgb(201, 149, 250);
    color: rgb(132, 0, 255);
}

.filter_color_purple a.selected:active {
    background-color: white;
    color: rgb(132, 0, 255);
}


.filter_color_yellow a.toselect {
    background-color: white;
    border: 1pt solid rgb(255, 157, 56);
    color: rgb(255, 157, 56);
}

.filter_color_yellow a.toselect:hover {
    background-color: rgb(252, 191, 131);
    color: white;
}

.filter_color_yellow a.toselect:active {
    background-color: rgb(255, 157, 56);
    color: white;
}

.filter_color_yellow a.selected {
    background-color: rgb(255, 157, 56);
    border: 1pt solid rgb(255, 157, 56);
    color: white;
}

.filter_color_yellow a.selected:hover {
    background-color: rgb(252, 191, 131);
    color: rgb(255, 157, 56);
}

.filter_color_yellow a.selected:active {
    background-color: white;
    color: rgb(255, 157, 56);
}


.filter_color_red a.toselect {
    background-color: white;
    border: 1pt solid rgb(255, 0, 0);
    color: rgb(255, 0, 0);
}

.filter_color_red a.toselect:hover {
    background-color: rgb(255, 151, 151);
    color: white;
}

.filter_color_red a.toselect:active {
    background-color: rgb(255, 0, 0);
    color: white;
}

.filter_color_red a.selected {
    background-color: rgb(255, 0, 0);
    border: 1pt solid rgb(255, 0, 0);
    color: white;
}

.filter_color_red a.selected:hover {
    background-color: rgb(247, 151, 151);
    color: rgb(255, 0, 0);
}

.filter_color_red a.selected:active {
    background-color: white;
    color: rgb(255, 0, 0);
}

.submit_forgot {
    background: none !important;
    border: none;
    padding: 0 !important;
    /*optional*/
    /*input has OS specific font-family*/
    color: blue;
    text-decoration: underline;
    cursor: pointer;
}

.submit,
.submit_red,
.buttons a,
.buttons button {
    display: inline-block;
    margin: 2pt;
    font-family: sans-serif;
    font-size: 11pt;
    line-height: 100%;
    text-decoration: none;
    cursor: pointer;
    width: auto;
    overflow: visible;
    padding: 6pt 10pt 4pt 10pt;
    border-radius: 3pt;
}

.submit,
.submit_red,
.buttons button[type] {
    padding: 6pt 10pt 4pt 10pt;
    line-height: 13pt;
}

*:first-child+html button[type] {
    padding: 6pt 10pt 4pt 10pt;
}

.button_inactive {
    display: inline-block;
    margin: 3pt;
    font-family: sans-serif;
    font-size: 11pt;
    line-height: 100%;
    text-decoration: none;
    cursor: not-allowed;
    width: auto;
    overflow: visible;
    border-radius: 3pt;
    background-color: rgb(170, 170, 170);
    border: 1pt solid rgb(170, 170, 170);
    color: white;
    width: 150px;
    padding: 6pt 10pt 4pt 10pt;
    line-height: 13pt;
}

button.lire,
.buttons a.lire {
    background-color: rgb(59, 78, 248);
    border: 1pt solid rgb(59, 78, 248);
    color: white;
    width: 150px;
}

.buttons a.lire:hover,
button.lire:hover {
    background-color: white;
    color: rgb(59, 78, 248);
}

.buttons a.lire:active {
    background-color: white;
    color: rgb(59, 78, 248);
}


button.avancee,
.buttons a.avancee {
    background-color: rgb(141, 59, 248);
    border: 1pt solid rgb(141, 59, 248);
    color: white;
    width: 155px;
}

.buttons a.avancee,
a.avancee,
button.avancee {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.buttons a.avancee svg,
a.avancee svg,
button.avancee svg {
    display: block;
}

.buttons a.avancee:hover,
button.avancee:hover {
    background-color: white;
    color: rgb(141, 59, 248);
}

.buttons a.avancee:active {
    background-color: white;
    color: rgb(141, 59, 248);
}


button.savoirplus,
.buttons a.savoirplus {
    background-color: rgb(141, 59, 248);
    border: 1pt solid rgb(141, 59, 248);
    color: white;
}

.buttons a.savoirplus,
.decouvrir-load-more a.savoirplus,
a.savoirplus,
button.savoirplus {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.buttons a.savoirplus svg,
.decouvrir-load-more a.savoirplus svg,
a.savoirplus svg,
button.savoirplus svg {
    display: block;
    width: 0.8em;
    height: 0.8em;
    transform: translateY(-1px);
    flex-shrink: 0;
    padding-right: 0.5em;
}

.decouvrir-load-more {
    text-align: center;
    margin: 20px 0;
}

.decouvrir-load-more a.savoirplus {
    display: inline-block;
    background-color: rgb(141, 59, 248);
    border: 1pt solid rgb(141, 59, 248);
    color: white;
    text-align: center;
    padding: 6px 10px;
    text-decoration: none;
    cursor: pointer;
}

.buttons a.savoirplus:hover,
button.savoirplus:hover {
    background-color: white;
    color: rgb(141, 59, 248);
}

.decouvrir-load-more a.savoirplus:hover {
    background-color: white;
    color: rgb(141, 59, 248);
}

.buttons a.savoirplus:active {
    background-color: white;
    color: rgb(141, 59, 248);
}

.decouvrir-load-more a.savoirplus:active {
    background-color: white;
    color: rgb(141, 59, 248);
}


.submit,
button.modification,
.buttons a.modification {
    background-color: rgb(59, 78, 248);
    border: 1pt solid rgb(59, 78, 248);
    color: white;
    text-align: center;
}

.submit_red,
button.suppression,
.buttons a.suppression {
    background-color: red;
    border: 1pt solid red;
    color: white;
    text-align: center;
}

.buttons a.suppression {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.buttons a.suppression svg {
    display: block;
}

.search-choice {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0 16px;
}

.search-choice-btn {
    border: 1pt solid rgb(141, 59, 248);
    color: white;
    background: rgb(141, 59, 248);
    padding: 8px 12px;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.search-choice-btn.active {
    background: white;
    color: rgb(141, 59, 248);
    border-color: rgb(141, 59, 248);
}

.search-choice-btn .barcode-icon {
    width: 24px;
    height: 14px;
    fill: currentColor;
}

.search-panels {
    margin-bottom: 16px;
}

.search-panel {
    display: none;
}

.search-panel.is-active {
    display: block;
}

.search-panel-body {
    position: relative;
    vertical-align: middle;
    max-width: 420pt;
    padding-bottom: 10pt;
}

.search-scan-body {
    text-align: left;
    max-width: 520pt;
}

.scan-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1pt solid rgb(59, 78, 248);
    background: rgb(59, 78, 248);
    color: white;
    padding: 10px 14px;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
}

.search-choice-btn:hover {
    background: white;
    color: rgb(141, 59, 248);
    border-color: rgb(141, 59, 248);
}

.scan-button:hover {
    background: white;
    color: rgb(59, 78, 248);
    border-color: rgb(59, 78, 248);
}

.scan-button-icon {
    width: 28px;
    height: 18px;
    display: inline-flex;
}

.scan-button-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.scan-hint {
    margin: 10px 0;
    color: #555;
    font-size: 0.9em;
}

.scan-target {
    max-width: 600px;
    width: 100%;
    margin: 8px auto 0;
    position: relative;
}

.scanner-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.scanner-modal {
    background: white;
    color: black;
    width: min(90vw, 640px);
    max-height: 90vh;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.scanner-modal.fullscreen {
    width: 100%;
    height: 100%;
    max-height: none;
    border-radius: 0;
    background: black;
    color: white;
}

.scanner-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.05);
}

.scanner-modal.fullscreen .scanner-header {
    background: rgba(0, 0, 0, 0.35);
}

.scanner-title {
    font-weight: 700;
}

.scanner-close {
    border: none;
    background: transparent;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    color: inherit;
}

.scanner-body {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px 16px;
}

.scanner-modal.fullscreen .scanner-body {
    padding: 0;
}

.scanner-body video,
.scanner-body canvas,
.scanner-body div {
    width: 100%;
}

.scan-target video,
.scan-target canvas {
    position: relative;
    z-index: 1;
}

.scan-target::before {
    content: "";
    position: absolute;
    inset: 12% 8%;
    border-radius: 12px;
    box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.55);
    z-index: 2;
    pointer-events: none;
}

.scan-target::after {
    content: "";
    position: absolute;
    inset: 12% 8%;
    z-index: 3;
    pointer-events: none;
    background:
        linear-gradient(rgb(84, 99, 99), rgb(84, 99, 99)) left top / 28px 3px no-repeat,
        linear-gradient(rgb(84, 99, 99), rgb(84, 99, 99)) left top / 3px 28px no-repeat,
        linear-gradient(rgb(84, 99, 99), rgb(84, 99, 99)) right top / 28px 3px no-repeat,
        linear-gradient(rgb(84, 99, 99), rgb(84, 99, 99)) right top / 3px 28px no-repeat,
        linear-gradient(rgb(84, 99, 99), rgb(84, 99, 99)) left bottom / 28px 3px no-repeat,
        linear-gradient(rgb(84, 99, 99), rgb(84, 99, 99)) left bottom / 3px 28px no-repeat,
        linear-gradient(rgb(84, 99, 99), rgb(84, 99, 99)) right bottom / 28px 3px no-repeat,
        linear-gradient(rgb(84, 99, 99), rgb(84, 99, 99)) right bottom / 3px 28px no-repeat,
        linear-gradient(rgba(255, 106, 0, 0.9), rgba(119, 223, 101, 0.9)) center / 70% 2px no-repeat;
}

.scanner-modal.fullscreen .scanner-body video {
    height: 100%;
    object-fit: cover;
}

.scanner-modal.fullscreen .scan-target {
    height: 100%;
}

@media (max-width: 768px) {
    .scan-target::before,
    .scan-target::after {
        inset: 28% 8%;
    }
}

.isbn-sheet {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    z-index: 10000;
    pointer-events: none;
}

.isbn-sheet.is-open {
    pointer-events: auto;
}

.isbn-sheet-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    transition: opacity 200ms ease;
}

.isbn-sheet.is-open .isbn-sheet-backdrop {
    opacity: 1;
}

.isbn-sheet-panel {
    position: relative;
    background: white;
    color: #111;
    width: min(640px, 100%);
    border-radius: 18px 18px 0 0;
    box-shadow: 0 -18px 40px rgba(0, 0, 0, 0.25);
    padding: 18px 18px 22px;
    transform: translateY(100%);
    transition: transform 220ms ease;
}

.isbn-sheet.is-open .isbn-sheet-panel {
    transform: translateY(0);
}

.isbn-sheet-close {
    position: absolute;
    top: 8px;
    right: 12px;
    border: none;
    background: transparent;
    font-size: 24px;
    cursor: pointer;
}

.isbn-sheet-title {
    font-weight: 700;
    margin-bottom: 12px;
}

.isbn-sheet-card {
    display: flex;
    gap: 14px;
    align-items: center;
    text-decoration: none;
    color: inherit;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 14px;
    padding: 12px;
}

.isbn-sheet-cover-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.isbn-sheet-cover {
    width: 70px;
    height: 100px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: rgba(0, 0, 0, 0.05);
    flex: 0 0 auto;
}

.isbn-sheet-status {
    font-size: 0.85em;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid currentColor;
    background: rgba(0, 0, 0, 0.03);
    text-align: center;
    white-space: nowrap;
}

.isbn-sheet-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.isbn-sheet-book-title {
    font-weight: 700;
}

.isbn-sheet-book-author {
    color: #555;
}

.isbn-sheet-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgb(59, 78, 248);
    font-weight: 700;
}

.isbn-sheet-actions {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    position: sticky;
    bottom: 0;
    background: white;
    padding: 8px 0 4px;
    z-index: 1;
}

.isbn-action-btn {
    border: 1px solid currentColor;
    background: var(--isbn-action-color, currentColor);
    color: #fff;
    padding: 8px 12px;
    border-radius: 999px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}


.isbn-action-btn svg {
    width: 1em;
    height: 1em;
    flex-shrink: 0;
}

.isbn-action-btn.alire {
    --isbn-action-color: rgb(255, 123, 0);
}

.isbn-action-btn.encours {
    --isbn-action-color: blue;
}

.isbn-action-btn.lu {
    --isbn-action-color: green;
}

.isbn-action-btn.is-active {
    background: #fff;
    border-color: var(--isbn-action-color, currentColor);
    color: var(--isbn-action-color, currentColor);
}

.isbn-action-btn.is-active.alire {
    color: rgb(255, 123, 0);
}

.isbn-action-btn.is-active.encours {
    color: blue;
}

.isbn-action-btn.is-active.lu {
    color: green;
}

@media (max-width: 520px) {
    .isbn-sheet-actions {
        gap: 6px;
    }
    .isbn-action-btn {
        padding: 6px 10px;
        font-size: 0.9em;
    }
}


.isbn-rating-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10001;
}

.isbn-rating-modal.is-open {
    display: flex;
}

.isbn-rating-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.isbn-rating-panel {
    position: relative;
    background: white;
    color: #111;
    border-radius: 16px;
    padding: 18px 20px;
    width: min(90vw, 360px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    z-index: 1;
}

.isbn-rating-modal .modal-content {
    background: #fff;
}

.isbn-rating-modal .container {
    background: #fff;
}

.isbn-rating-close {
    position: absolute;
    right: 10px;
    top: 8px;
    border: none;
    background: transparent;
    font-size: 24px;
    cursor: pointer;
}

.isbn-sheet-rating {
    margin-top: 12px;
}

.isbn-sheet-rating-title {
    font-weight: 700;
    margin-bottom: 6px;
}

.isbn-rate {
    font-size: 18pt;
}

.submit:hover,
.buttons a.modification:hover,
button.modification:hover {
    background-color: white;
    color: rgb(59, 78, 248);
}

.submit_red:hover,
button.suppression:hover,
.buttons a.suppression:hover {
    background-color: white;
    color: red;
}

.submit:active,
.buttons a.modification:active {
    background-color: white;
    color: rgb(59, 78, 248);
}

.submit_red:active,
button.suppression:active,
.buttons a.suppression:active {
    background-color: white;
    color: red;
}

.buttons a,
button,
.submit,
.submit_red,
input.submit,
input[type="submit"],
.search-choice-btn,
.scan-button {
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out;
}


.buttons a.pasint,
button.pasint {
    background-color: grey;
    border: 1px solid grey;
    color: white;
}

.buttons a.pasint,
a.pasint,
button.pasint {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
}

.buttons a.pasint svg,
a.pasint svg,
button.pasint svg {
    display: block;
    width: 1em;
    height: 1em;
    flex-shrink: 0;
}

.buttons a.pasint:hover,
button.pasint:hover {
    background-color: white;
    color: grey;
}

.buttons a.pasint:active {
    background-color: white;
    color: grey;
}

button.alire,
.buttons a.alire {
    background-color: rgb(255, 123, 0);
    border: 1pt solid rgb(255, 123, 0);
    color: white;
    text-align: center;
}

.buttons a.alire,
a.alire,
button.alire {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
}

.buttons a.alire svg,
a.alire svg,
button.alire svg {
    display: block;
    width: 1em;
    height: 1em;
    flex-shrink: 0;
}

button.alire,
.buttons a.alire {
    width: 70px;
}

.buttons a.alire:hover,
button.alire:hover {
    background-color: white;
    color: rgb(255, 123, 0);
}

.buttons a.alire:active {
    background-color: white;
    color: rgb(255, 123, 0);
}

button.lu,
.buttons a.lu {
    background-color: green;
    border: 1pt solid green;
    color: white;
    text-align: center;
}

.buttons a.lu,
a.lu,
button.lu {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
}

.buttons a.lu svg,
a.lu svg,
button.lu svg {
    display: block;
    width: 1em;
    height: 1em;
    flex-shrink: 0;
}

button.lu,
.buttons a.lu {
    min-width: 50px;
}

.buttons a.lu:hover,
button.lu:hover {
    background-color: white;
    color: green;
}

.buttons a.lu:active {
    background-color: white;
    color: green;
}

button.encours,
.buttons a.encours {
    background-color: rgb(59, 78, 248);
    border: 1pt solid rgb(59, 78, 248);
    color: white;
    text-align: center;
}

.buttons a.encours,
a.encours,
button.encours {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
}

.buttons a.encours svg,
a.encours svg,
button.encours svg {
    display: block;
    width: 1em;
    height: 1em;
    flex-shrink: 0;
    margin-right: 4px;
}

button.encours,
.buttons a.encours {
    width: 90px;
}

.buttons a.encours:hover,
button.encours:hover {
    background-color: white;
    color: rgb(59, 78, 248);
}

.buttons a.encours:active {
    background-color: white;
    color: rgb(59, 78, 248);
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="date"],
select {
    border-style: solid;
    border-width: 1pt;
    font-size: 1rem;
    border-radius: 3pt;
    padding: 9pt 7pt 9pt 7pt;
    width: 100%;
    box-sizing: border-box;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="date"]:focus,
select:focus {
    outline: 0;
    box-shadow: 0 0 1pt rgb(59, 78, 248);
}

div#bottom {
    position: fixed;
    background: black;
    display: block;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 100;
}

div#bottom-inside {
    padding: 10px 20px 30px 20px;
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.button_bottom {
    width: 40px;
    display: flex;
    justify-content: center;
}

.nav-icon-path {
    fill: white;
}

#header #menu_user {
    position: fixed;
    right: max(calc(40% - 200pt), 15pt);
    top: 5pt;
    cursor: pointer;
    vertical-align: bottom;
    margin-bottom: 10pt;
    z-index: 100;
}

#header #menu_user img {
    width: 45pt;
    max-width: 45pt;
}

#header #menu_user:hover #menu_user_under {
    display: block;
}

#header #menu_user #menu_user_under {
    display: none;
    position: absolute;
    top: 45pt;
    left: -15pt;
    border-radius: 3pt;
    box-shadow: 0 0 3pt rgba(0, 0, 0, .2);
    background-color: white;
    padding: 3pt;
    z-index: 100;
}

#menu_lecture {
    position: relative;
    cursor: pointer;
    padding-left: 4pt;
}

#menu_lecture .lu {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

#menu_lecture .lu svg {
    display: block;
    width: 1em;
    height: 1em;
    flex-shrink: 0;
}

#menu_lecture .pasint {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

#menu_lecture .pasint svg {
    display: block;
    width: 1em;
    height: 1em;
    flex-shrink: 0;
}

#menu_lecture .ajouter {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

#menu_lecture .ajouter svg {
    display: block;
    width: 1.5em;
    height: 1.5em;
    flex-shrink: 0;
}

#menu_lecture .alire {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

#menu_lecture .alire svg {
    display: block;
    width: 1em;
    height: 1em;
    flex-shrink: 0;
}

#menu_lecture .encours {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

#menu_lecture .encours svg {
    display: block;
    width: 1em;
    height: 1em;
    flex-shrink: 0;
    margin-right: 4px;
}

#menu_lecture:hover #menu_lecture_under {
    display: block;
}

#menu_lecture #menu_lecture_under {
    display: none;
    position: absolute;
    top: 11pt;
    left: 0;
    border-radius: 3pt;
    box-shadow: 0 0 3pt rgba(0, 0, 0, 0.6);
    background-color: white;
    padding: 3pt;
    margin: 0 2pt 0 2pt;
    z-index: 4
}

#header #menu_user2 {
    font: sans-serif;
    position: fixed;
    right: 15pt;
    top: 22pt;
    z-index: 100;
}

.menu_under a {
    display: block;
    text-decoration: none;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    color: #414141;
    padding: 3pt 0 3pt 0;
}

#menu_lecture_under {
    width: 140px;
}

.alire {
    color: rgb(255, 123, 0);
    font-weight: 500;
}

.menu_under a.alire {
    color: rgb(255, 123, 0);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
}

.menu_under a.alire:hover {
    color: white;
    font-weight: 500;
    background-color: rgb(255, 123, 0);
}

.encours {
    color: blue;
    font-weight: 500;
}

.menu_under a.encours {
    color: blue;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
}

.menu_under a.encours:hover {
    color: white;
    font-weight: 500;
    background-color: blue;
}

.lu {
    color: green;
    font-weight: 500;
}

.menu_under a.lu {
    color: green;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
}

.menu_under a.lu:hover {
    color: white;
    font-weight: 500;
    background-color: green;
}

.pasint {
    color: grey;
    font-weight: 500;
}

.menu_under a.pasint {
    color: grey;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
}

.menu_under a.pasint:hover {
    color: white;
    font-weight: 500;
    background-color: grey;
}

.ajouter {
    color: red;
    font-weight: 500;
}

.menu_under a.ajouter {
    color: red;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
}

.menu_under a:hover {
    background: black;
    color: white;
}

.rateit {
    display: inline-block;
    position: relative;
    user-select: none;
}

.rateit-font .rateit-range>div,
.rateit-font-mob .rateit-range>div {
    background: none;
    overflow: hidden;
    cursor: default;
}

.rateit .rateit-hover,
.rateit .rateit-selected {
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
}

.rateit-font .rateit-empty,
.rateit-font-mob .rateit-empty {
    color: rgb(200, 200, 200);
}

.rateit .rateit-preset-n {
    color: rgb(255, 157, 56);
}

.rateit .rateit-preset-1 {
    color: green;
}

.rateit .rateit-preset-1-blocked {
    color: green;
}

.rateit .rateit-preset-pred {
    color: rgb(62, 114, 255);
}

.rateit .rateit-range * {
    display: block;
}

.rateit-font {
    font-size: 20pt;
    line-height: 18pt;
}

.rateit-font-mob {
    font-size: 10pt;
    line-height: 18pt;
}

.rateit .rateit-range {
    position: relative;
    display: inline-block;
    outline: 0;
}

.rateit2 {
    display: inline-block;
    position: relative;
    user-select: none;
}

.rateit2-font .rateit2-range>div {
    background: none;
    overflow: hidden;
    cursor: default;
}

.rateit2 .rateit2-hover,
.rateit2 .rateit2-selected {
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
}

.rateit2-font .rateit2-empty {
    color: rgb(200, 200, 200);
}

.rateit2 .rateit2-preset-n {
    color: rgb(255, 157, 56);
}

.rateit2 .rateit2-preset-1 {
    color: green;
}

.rateit2 .rateit2-preset-1-blocked {
    color: green;
}

.rateit2 .rateit2-preset-pred {
    color: rgb(62, 114, 255);
}

.rateit2 .rateit2-range * {
    display: block;
}

.rateit2-font {
    font-size: 20pt;
    line-height: 1em;
}

.rateit2 .rateit2-range {
    position: relative;
    display: inline-block;
    outline: 0;
}


/* Ratings widget */

.rate {
    display: inline-block;
    position: relative;
    font-size: 20pt;
    line-height: 1em;
    border: 0;
    margin: 0;
    padding: 0;
    color: rgb(200, 200, 200);
}

.rate2 {
    display: inline-block;
    position: relative;
    font-size: 40pt;
    line-height: 1em;
    border: 0;
    margin: 0;
    padding: 0;
    color: rgb(200, 200, 200);
}


/* Hide radio */

.rate>input {
    display: none;
}

.rate2>input {
    display: none;
}


/* Order correctly by floating highest to the right */

.rate>label {
    float: right;
}

.rate2>label {
    float: right;
}


/* The star of the show */

.rate>label:before {
    display: inline-block;
    font-size: 20pt;
    margin: 0;
    cursor: pointer;
    content: "\2605";
    /* full star */
}

.rate2>label:before {
    display: inline-block;
    font-size: 40pt;
    margin: 0;
    cursor: pointer;
    content: "\2605";
    /* full star */
}

/* Half star trick */

.rate .half:before {
    content: "\2605";
    /* half star no outline */
    position: absolute;
    padding-right: 0;
    width: var(--half);
    position: absolute;
    overflow: hidden;
}

.rate2 .half2:before {
    content: "\2605";
    /* half star no outline */
    position: absolute;
    padding-right: 0;
    width: var(--half);
    position: absolute;
    overflow: hidden;
}


/* Click + hover color */
.rate input:checked~label,

/* color current and previous stars on checked */

.rate label:hover,
.rate label:hover~label {
    color: green;
}


/* color previous stars on hover */


/* Hover highlights */

.rate input:checked+label:hover,
.rate input:checked~label:hover,

/* highlight current and previous stars */

.rate input:checked~label:hover~label,

/* highlight previous selected stars for new rating */

.rate label:hover~input:checked~label
/* highlight previous selected stars */

    {
    color: #73B100;
}

/* Click + hover color */

.rate2 input:checked~label,

/* color current and previous stars on checked */

.rate2 label:hover,
.rate2 label:hover~label {
    color: green;
}


/* color previous stars on hover */


/* Hover highlights */

.rate2 input:checked+label:hover,
.rate2 input:checked~label:hover,

/* highlight current and previous stars */

.rate2 input:checked~label:hover~label,

/* highlight previous selected stars for new rating */

.rate2 label:hover~input:checked~label
/* highlight previous selected stars */

    {
    color: #73B100;
}

/*****************************
 * Page de recherche
 *****************************/

.parent.recherche input[type="text"] {
    width: max(50pt, calc(50% + 45pt));
}

#recherche-avancee input[type="text"],
#recherche-avancee label {
    margin-bottom: 10pt;
}

#recherche-avancee label {
    display: inline-block;
    min-width: 80pt;
}

#txt_recherche_globale {
    margin: 3pt;
    width: 80%
}

.recherche .submit {
    vertical-align: middle;
    font-size: 24pt;
    padding: 8pt 8pt 6pt 8pt;
}

#recherche_liste {
    margin-top: 25pt;
}

#recherche_liste td,
#recherche_liste th {
    padding: 10pt;
}

.cover {
    display: inline-block;
    width: 96pt;
    height: 144pt;
    white-space: normal;
}

.cover a:link {
    text-decoration: none;
}

.cover a:visited {
    text-decoration: none;
}

.cover a:hover {
    text-decoration: none;
}

.cover a:active {
    text-decoration: none;
}

.p_imgerror {
    transform: translate(0, -135pt);
    position: absolute;
    text-align: center;
    width: 90pt;
    color: gray;
    margin: 0 3pt 0pt 3pt;
}

.cover_img {
    opacity: 1;
    display: block;
    transition: .5s ease;
    backface-visibility: hidden;
    width: 96pt;
    height: 144pt;
    border: 1px solid silver;
}

.cover_middle {
    transition: .3s ease;
    opacity: 0;
    position: absolute;
    transform: translate(0, -135pt);
    -ms-transform: translate(0, -135pt);
    text-align: center;
    display: inline-table;
    width: 96pt;
    white-space: normal;
}

.cover:hover .cover_img {
    filter: brightness(30%);
    -moz-filter: brightness(30%);
    -webkit-filter: brightness(30%);
}

.cover:hover .cover_middle {
    opacity: 1;
}

@media screen and (max-width: 768px) {
    .cover:hover .cover_img {
        filter: none;
        -moz-filter: none;
        -webkit-filter: none;
    }

    .cover:hover .cover_middle {
        opacity: 0;
    }
}

.cover_text {
    color: white;
    font-size: 8pt;
}

.cover_img_podium {
    width: 25pt;
}

.cercle {
    width: 10pt;
    height: 10pt;
    border-radius: 5pt;
    transform: translate(46pt, -15pt);
    position: absolute;
}

.cercle2 {
    width: 10pt;
    height: 10pt;
    border-radius: 5pt;
    transform: translate(80pt, -15pt);
    position: absolute;
}

.cercle_lu {
    background: green;
}

.cercle_alire {
    background: rgb(255, 157, 56);
}

.cercle_encours {
    background: rgb(62, 114, 255);
}

.container {
    position: relative;
}

.voir_plus {
    float: right;
    text-transform: uppercase;
    font-size: 8pt;
    font-weight: 800;
    color: rgb(59, 78, 248);
}

.voir_plus_shadow {
    height: 100px;
    margin-top: -100px;
    background: linear-gradient(rgba(255, 255, 255, 0), rgb(255, 255, 255));
    position: relative;
}

.scroll {
    height: 160pt;
    max-width: 100%;
    margin: auto;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    position: relative;
}

.modal {
    display: none;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 100;
}

/* Afficher la fenêtre modale lorsqu'elle est ciblée par un lien supprimer */
.modal:target {
    display: table;
    position: absolute;
}

/* la fenêtre modale  */
.modal-dialog {
    display: table-cell;
    vertical-align: middle;
}

/* Le contenu de la modale */
.modal-dialog .modal-content {
    margin: auto;
    background-color: white;
    position: relative;
    padding: 10px;
    border-radius: 10pt;
    outline: 0;
    text-align: justify;
    max-width: 300pt;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.container {
    padding: 5px 16px;
}

header {
    background-color: white;
    font-size: 11pt;
    color: black;
}

.picto-item {
    position: relative;
    /*les .picto-item deviennent référents*/
    cursor: help;
    border-radius: 50%;
    background: none;
    border: none;
    padding: 0;
    display: inline-flex;
}

.picto-item2 {
    position: relative;
    /*les .picto-item deviennent référents*/
    cursor: help;
    border-radius: 50%;
}

/* on génère un élément :after lors du survol et du focus :*/

.picto-item:hover:after,
.picto-item:focus:after {
    content: attr(aria-label);
    /* on affiche aria-label */
    position: absolute;
    top: -2.4em;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10pt;
    /* on centre horizontalement  */
    z-index: 1;
    /* pour s'afficher au dessus des éléments en position relative */
    white-space: nowrap;
    /* on interdit le retour à la ligne*/
    padding: 5px 14px;
    background: #413219;
    color: #fff;
    border-radius: 4px;
}

.picto-item2:hover:after,
.picto-item2:focus:after {
    content: attr(aria-label2);
    /* on affiche aria-label */
    position: absolute;
    top: 2.4em;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10pt;
    /* on centre horizontalement  */
    z-index: 1;
    /* pour s'afficher au dessus des éléments en position relative */
    white-space: nowrap;
    /* on interdit le retour à la ligne*/
    padding: 5px 14px;
    background: #413219;
    color: #fff;
    border-radius: 4px;
}

@media screen and (max-width: 768px) {
    .picto-item:hover:after,
    .picto-item:focus:after,
    .picto-item2:hover:after,
    .picto-item2:focus:after {
        white-space: normal;
        width: 45vw;
        text-align: center;
    }

    .picto-item:hover:after,
    .picto-item:focus:after,
    .picto-item2:hover:after,
    .picto-item2:focus:after,
    [aria-label]:hover:before,
    [aria-label]:focus:before,
    [aria-label2]:hover:before,
    [aria-label2]:focus:before {
        opacity: 0;
    }

    .picto-item.is-open:after,
    .picto-item2.is-open:after {
        opacity: 1;
    }

    .picto-item.is-open:before,
    .picto-item2.is-open:before {
        opacity: 1;
    }
}

/* on génère un second élément en :before pour la flèche */

[aria-label]:hover:before,
[aria-label]:focus:before {
    content: "▼";
    position: absolute;
    top: -1em;
    left: 50%;
    transform: translateX(-50%);
    /* on centre horizontalement  */
    color: #413219;
}

/* pas de contour durant le :focus */
[aria-label]:focus {
    outline: none;
}

[aria-label2]:hover:before,
[aria-label2]:focus:before {
    content: "▲";
    position: absolute;
    top: 1em;
    left: 50%;
    transform: translateX(-50%);
    /* on centre horizontalement  */
    color: #413219;
}

/* pas de contour durant le :focus */
[aria-label2]:focus {
    outline: none;
}



/* déco */
.pictos {
    text-align: center;
}

.picto-item {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    text-decoration: none;
}

.picto-item2 {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    text-decoration: none;
}






/* Décrire l'animation */
@keyframes slideDownFadeIN {
    from {
        top: -100px;
        opacity: 0;
    }

    to {
        top: 0px;
        opacity: 1;
    }
}

/* Foncer l'arrière-plan de la fenêtre modale */
.modal2 {
    display: none;
    left: 0;
    top: 0;
    z-index: 100;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
}

/* Afficher la fenêtre modale lorsqu'elle est ciblée par un lien supprimer */
.modal2:target {
    display: table;
    position: absolute;
}

/* la fenêtre modale  */
.modal-dialog2 {
    display: table-cell;
    vertical-align: middle;
}

/* Le contenu de la modale */
.modal-dialog2 .modal-content2 {
    margin: auto;
    background-color: white;
    position: relative;
    outline: 0;
    text-align: justify;
    width: 220pt;

    padding: 3pt 15pt 10pt 15pt;
    border: 1pt solid grey;
    border-radius: 3pt;
    /*box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); */

    animation-name: slideDownFadeIN;
    animation-duration: 0.5s;
}

/* Bouton servant à fermer la fenêtre modale */
.closebtn {
    text-decoration: none;
    float: right;
    font-size: 35px;
    font-weight: bold;
    color: grey;
}

.closebtn:hover,
.closebtn:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.container2 {
    padding: 2px 16px;
}

.password {
    display: inline-block;
    position: relative;
    width: 100%;
}

.pass-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 24px;
    cursor: pointer;
}

/* 
header {
  background-color: #5cb85c;
  font-size: 25px;
  color: white;
}*/

.footer {
    /*border-top: 1pt solid black;*/
    padding: 10pt;
    /* background-color: black; */
    /* color: white; */
    margin-top: 50pt;
}

.footer p {
    text-align: center;
    margin: 2em 0 2em 0;
}

.footer a {
    color: black;
    text-decoration: none;

}

.footer a:hover {
    color: black;
    border-bottom: 3pt solid black;
}

.footer a.active {
    color: black;
    border-bottom: 3pt solid black;
}

.footer_content {
    max-width: 700pt;

}

.benefits-container {
    margin-top: 10pt;
    margin-bottom: 5pt;
    padding: 3pt 15pt 15pt 15pt;
    border: 1pt solid grey;
    border-radius: 3pt;
}

.benefits-table {
    width: 100%;
    border-collapse: collapse;
}

.benefits-table th,
.benefits-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.benefits-table th {
    background-color: #f2f2f2;
    font-weight: bold;
}

.benefits-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.benefits-table td:nth-child(2),
.benefits-table td:nth-child(3) {
    text-align: center;
    /* Centrer le texte pour les deux dernières colonnes */
}

.disponible {
    background-color: #d4edda;
    /* Vert */
}

.limite {
    background-color: #ffeeba;
    /* Orange */
}

.non-disponible {
    background-color: #f8d7da;
    /* Rouge */
}

.videos-container {
    max-width: 700pt;
}

.video-container {
    margin-bottom: 20px;
    text-align: center;
}

.video-container video {
    border: 1px solid grey;
    width: 230pt;
    height: auto;
}

.video-title {
    font-size: 18px;
    color: #333;
    margin-bottom: 5px;
}

.round-button {
    width: 30px;
    height: 30px;
    /* Couleur de fond du bouton */
    border: none;
    border-radius: 50%;
    /* Rond parfait */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s, transform 0.3s;
}

.round-button svg {
    transition: transform 0.3s;
    /* Transition pour la transformation du SVG */
}

.round-button:hover {
    /* Changement de couleur au survol */
    transform: scale(1.05);
    /* Légère augmentation de la taille au survol */
}

.round-button:active {
    transform: scale(0.95);
    /* Réduction légère de la taille lors du clic */
}

.default-icon {
    display: inline;
    transition: opacity 0.3s;
}

.hover-icon {
    display: none;
    transition: opacity 0.3s;
}

.round-button:hover .default-icon {
    display: none;
}

.round-button:hover .hover-icon {
    display: inline;
}

.icon-search {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ====== Bloc Connexion (full width buttons) ====== */
.auth-box {
  max-width: 420px;
  margin: 0 auto;
}

/* ====== Bouton Apple ====== */
a.submit.apple-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  width: 100%;
  height: 44px;
  padding: 0 14px;
  box-sizing: border-box;

  background: #000;
  color: #fff;
  border: 1px solid #000;
  border-radius: 6px;

  text-decoration: none;
}

/* Icône 24px */
a.submit.apple-login .apple-login__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  line-height: 0;
  flex: 0 0 24px;
}

a.submit.apple-login .apple-login__icon svg {
  display: block;
  width: 24px;
  height: 24px;
}

/* Texte : légèrement descendu */
a.submit.apple-login .apple-login__text {
  display: block;
  line-height: 1;
  white-space: nowrap;
  position: relative;
  top: 3px; /* mets 2px si tu veux plus bas */
}

/* Hover inversion + contour noir */
a.submit.apple-login:hover {
  background: #fff;
  color: #000;
  border-color: #000;
}

/* Focus clavier */
a.submit.apple-login:focus-visible {
  outline: 2px solid #000;
  outline-offset: 2px;
}

/* ====== Séparateur "— ou —" ====== */
.auth-separator {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0 12px 0;
  width: 100%;
}

.auth-separator__line {
  flex: 1;
  height: 1px;
  background: #000;
}

.auth-separator__text {
  font-family: sans-serif;
  font-size: 11pt;
  line-height: 1;
  color: #000;
  background: #fff;
  padding: 0 8px;
}

/* ====== Bouton classique "connexion" pleine largeur ====== */
.connexion_form input.submit {
  width: 100%;
  box-sizing: border-box;
}

/* ====== Liens sous le formulaire ====== */
.auth-links {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.auth-links a {
  font-family: sans-serif;
  text-decoration: none;
  color: black;
}

.auth-links a:hover {
  text-decoration: underline;
}

.auth-links__sep {
  color: black;
}

/* Lien "inscription" avec un soulignement plus épais (via border) */
.auth-links a {
  color: blue;
  text-decoration: none;          /* on supprime l'underline natif */
  border-bottom: 1px solid blue;  /* épaisseur du soulignement */
  line-height: 1.1;
  cursor: pointer;
  font-family: sans-serif;
  font-size: 10pt;
}

/* Hover cohérent */
.auth-links a:hover {
  border-bottom-color: blue;
}

/* Séparateur */
.auth-links__sep {
  color: black;
}
