:root {
    --gol-orange: #FF6600;
    --gol-blue: #205470;
    --gol-dark-blue: #103040;
    --gol-bg-orange: #FFCC66;
    --gol-sidebar-width: 180px;
    --gol-grey-light: rgba(236, 236, 240, 0.25);
    --gol-grey-header: rgba(206, 206, 212, 0.4);
    --gol-grey-border: #ccc;
    --gol-purple: #bc6bb8;
    --gol-blue-tooltip: #5baacc;
    --gol-grey-dark: #333;
    --gol-grey-lightest: #eee;
}

body {
    margin: 0;
    padding: 0;
    font-family: Trebuchet MS, Arial, Verdana, Geneva, Arial, helvetica, sans-serif;
    font-size: 1.1em;
    color: var(--gol-dark-blue);
    text-align: left;
    z-index: 1;
    height: 100%;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

#top,
#entete {
    position: fixed;
    right: 0;
    left: 0;
    top: 0;
    height: 75px;
    background-repeat: no-repeat;
    z-index: 90;
}

#top {
    background-image: url(deco/topbg.jpg);
}

#entete {
    background-image: url(deco/entete.jpg);
}

#mid {
    position: fixed;
    overflow: auto;
    bottom: 0;
    left: 181px;
    top: 75px;
    right: 0;
    margin: 0;
    padding: 0;
    z-index: 50;
}

#side {
    position: fixed;
    overflow: auto;
    bottom: 0;
    left: 0;
    top: 75px;
    width: 180px;
    margin: 0;
    padding: 0;
    /*  border-right: 1px solid #C0C0C0; /**/
    z-index: 90;
}

img {
    border: none;
}

td {
    padding: 0 2px 0 2px;
}

h1 {
    font-size: 160%;
    color: var(--gol-blue);
    text-align: center;
    margin-top: 0.2em;
    margin-bottom: 0.3em;
}

h2 {
    font-size: 130%;
    color: var(--gol-blue);
    margin-top: 0.2em;
    margin-bottom: 0.3em;
}

h3 {
    font-size: 110%;
    color: #154560;
    margin-top: 0.2em;
    margin-bottom: 0.3em;
}

h4 {
    font-size: 160%;
    color: var(--gol-orange);
    text-align: center;
    margin-top: 0.2em;
    margin-bottom: 0.3em;
}

h5 {
    font-size: 130%;
    color: var(--gol-orange);
    margin-top: 0.2em;
    margin-bottom: 0.3em;
}

h6 {
    font-size: 110%;
    color: var(--gol-orange);
    margin-top: 0.2em;
    margin-bottom: 0.3em;
}

p {
    margin-top: 0.2em;
    margin-bottom: 0.3em;
    margin-right: 5px;
}

a {
    color: var(--gol-blue);
}

a:hover {
    text-decoration: underline;
    color: var(--gol-orange);
}

.error {
    font-weight: bold;
    color: var(--gol-orange);
}

.bradius {
    border: 2px solid #B0B0B0;
    padding: 5px;
    border-radius: 15px;
    position: relative;
    margin-bottom: 50px;
}

td .titre3 {
    display: block;
    margin-bottom: 15px;
    text-decoration: underline;
}

form {
    margin: 0;
    padding: 0;
}

/* zone au dessus du menu not�e 2 dans le sch�ma de page type "panneau lat�ral" */
#pnl2 {
    font-weight: bold;
    background-color: var(--gol-bg-orange);
    /**/
    text-align: left;
    margin-top: 5px;
    padding: 0 0 0 5px;
    border: 3px solid var(--gol-orange);
    border-radius: 10px;
}

#menu {
    border: 3px solid #B0B0B0;
    margin-top: 5px;
    padding: 3px;
    text-align: left;
    color: var(--gol-dark-blue);
    border-radius: 15px;
}

/* zone au dessous du menu not�e 3 dans le sch�ma de page type "panneau lat�ral" */
#pnl3 {
    margin-top: 5px;
    padding: 0 0 0 5px;
    text-align: left;
}

/* zone au dessus de la page principale not�e 7 dans le sch�ma de page type "panneau lat�ral" */
#pnl7 {
    width: auto;
    margin: 0;
    /*  border-bottom: 1px solid #C0C0C0;  /**/
    text-align: justify;
}

/* zone au dessous de la page principale not�e 8 dans le sch�ma de page type "panneau lat�ral" */
#pnl8 {
    width: auto;
    margin: 0;
    /*   border-bottom: 1px solid #C0C0C0;   /**/
    text-align: justify;
}

/* page principale */
#pnl0 {
    width: auto;
    text-align: justify;
}

/*  #pnl0 img {border: 1px solid var(--gol-orange);}  */

#main {
    width: 800px;
    padding: 0;
    margin: auto;
    text-align: justify;
    /*  border-left: 1px solid #C0C0C0;  /**/
    /*  border-bottom: 1px solid #C0C0C0;     /**/
}

#golmain {
    left: 185px;
    right: 0;
    padding: 0;
    margin: auto;
    text-align: justify;
    /*  border-left: 1px solid #C0C0C0;  /**/
    /*  border-bottom: 1px solid #C0C0C0;     /**/
}

#break {
    clear: both;
}

input {
    font-family: "Open Sans";
}

.bienvenue {
    font-weight: bold;
    padding: 15px 30px;
    position: relative;
}

.bienvenue .btn {
    position: absolute;
    top: -30px;
    right: -15px;
    bottom: -25px;
    border-top: none;
    border-right: none;
    border-bottom: none;
    border-radius: 0;
    line-height: 58px;
}

.logindiv {
    float: right;
    padding-right: 5px;
}

label {
    padding: 0 30px;
    display: block;
}

.form-group input,
.form-group select,
.form-group textarea {
    margin: 0;
}

.form-group {
    margin: 0 0 15px;
}

/* Menu */
.login {
    text-align: center;
}

.zul {
    padding: 0;
    margin: 10px 0 0 0;
    list-style: none;
}

.zul a {
    color: var(--gol-dark-blue);
    text-decoration: none;
}

.zul a:hover {
    text-decoration: underline;
    color: var(--gol-orange);
}

/* El�ments de menu */
.zli1,
.zli2,
.zli3,
.zli4 {
    background-repeat: no-repeat;
    padding-left: 20px;
}

/* d�calages des 4 niveaux de menu */
.zli1 {
    font-size: 110%;
    margin-left: 0;
    background-image: url(deco/pgen1.png);
    line-height: 1.3em;
}

.zli2 {
    margin-left: 10px;
    background-image: url(deco/pgen2.png);
    line-height: 1.1em;
}

.zli3 {
    margin-left: 20px;
    background-image: url(deco/pgen3.png);
    line-height: 1.1em;
}

.zli4 {
    margin-left: 30px;
    background-image: url(deco/pgen4.png);
    line-height: 1.1em;
}

.zon {
    background-image: url(deco/pge1.png);
    line-height: 1.3em;
}

.evencolor {
    line-height: 1.5em;
    background-color: rgba(255, 255, 255, 0.02);
    color: var(--gol-dark-blue);
}

.oddcolor {
    line-height: 1.5em;
    background-color: var(--gol-grey-light);
    color: var(--gol-dark-blue);
}

.oddcolor td,
.evencolor td {
    border-bottom: 1px solid var(--gol-grey-border);
}

.headercolor {
    line-height: 1.6em;
    background-color: var(--gol-grey-header);
    color: var(--gol-dark-blue);
    font-style: normal;
    vertical-align: middle;
}

/* Menu administrateur */
#madmin {
    border: 1px solid #C0C0C0;
    background-color: #B0E0FF;
    padding: 0;
    margin: 1px 0 0 0;
    float: right;
    z-index: 9;
}

#hadmin {
    border: 1px solid #C0C0C0;
    background-color: #B0E0FF;
    padding: 0;
    margin: 1px 0 0 0;
    float: right;
    z-index: 9;
    visibility: hidden;
}

/* Menu administrateur */
#zadmin {
    border: 1px solid #C0C0C0;
    background-color: #B0E0FF;
    padding: 0 2px;
    margin: 5px 0 0 0;
}

/* */
.ztable {
    /*  border-bottom: 1px solid #C0C0C0; /**/
    margin: 0;
    width: 98%;
}

#tblct {
    width: 100%;
    text-align: left;
}

.zalert {
    border: 1px solid #C0C0C0;
    background-color: #FFC080;
    padding: 0 2px;
}

/* messages d'erreur */
.zerr {
    border: 1px solid #FF0000;
    background-color: #FFC000;
    padding: 0 1px;
}

.pagegol img {
    border: 1px solid var(--gol-orange);
}

.noborder img {
    border: none;
}

.mention {
    font-size: 0.8em;
    line-height: 0.8em;
    font-style: italic;
    color: #666666;
}

/*============================================ */
/* Definitions pour les éléments repris de GoL */
/*============================================ */
.defaut {
    font-size: 1em;
    line-height: 1em;
}

.titre1 {
    font-size: 1.4em;
    font-weight: bold;
}

.titre2 {
    font-size: 1.3em;
    font-weight: bold;
}

.titre3 {
    font-size: 1.2em;
    font-weight: bold;
}

.titre4 {
    font-size: 1.1em;
    font-weight: bold;
}

.impt4 {
    font-size: 1.1em;
    font-weight: bold;
    border: 1px solid #000000;
}

.titre5 {
    font-size: 1.1em;
}

.titre6 {
    font-size: 1em;
    font-style: italic;
}

.titre7 {
    font-size: 1em;
    font-weight: bold;
}

.titlog {
    font-size: 1.2em;
    color: #990f0d;
}

.passw {
    font-size: 1em;
    font-weight: bold;
}

.erreur {
    font-size: 1.4em;
    font-weight: bold;
    color: #ff0000;
    background-color: #FFFF40;
}

.warning {
    font-size: 1.2em;
    font-weight: bold;
    color: #FF8000;
    background-color: #FFFF80;
}

.tabtit {
    font-size: 1em;
    line-height: 1em;
    background-color: #ceced4;
    color: var(--gol-dark-blue);
    font-style: italic;
    vertical-align: middle;
}

.imptit {
    font-size: 1em;
    line-height: 1em;
    background-color: #c0c0c0;
    font-style: italic;
    vertical-align: middle;
    border: 1px solid #000000;
}

.tabtif {
    font-size: 1em;
    line-height: 1.5em;
    background-color: #c0c0c0;
    font-style: italic;
    vertical-align: middle;
}

.ecran {
    vertical-align: top;
    background-color: transparent;
}

.sscadre {
    vertical-align: top;
}

.tables {
    vertical-align: top;
    background-color: transparent;
}

.menu {
    font-size: 1em;
    word-spacing: 10px;
    vertical-align: middle;
    background-color: #f0f0f0;
    line-height: 2em;
}

.petit {
    font-size: 0.9em;
    page-break-inside: avoid;
}

.impcont {
    font-size: 1em;
    color: #000000;
    border-bottom: 1px solid #dddddd;
    page-break-inside: avoid;
}

.impgros {
    font-size: 1.1em;
    color: #000000;
    border-bottom: 1px solid #dddddd;
    page-break-inside: avoid;
}

.ptigr {
    font-size: 1em;
    font-weight: bold;
    background-color: #c0c0c0;
    color: var(--gol-dark-blue)
}

.afcham {
    font-size: 1em;
    /*  width: 150px; /**/
    border-left: 1px solid #dddddd;
    border-bottom: 1px solid #dddddd;
    text-align: right;
}

.afcomm {
    font-size: 1em;
    /*  width: 150px; /**/
    border-left: 1px solid #dddddd;
    border-bottom: 1px solid #dddddd;
    text-align: left;
}

.affval {
    font-size: 1em;
    font-weight: bold;
    border-bottom: 1px solid #dddddd;
    text-align: left;
}

.affvac {
    font-size: 1em;
    font-weight: bold;
    text-align: center;
}

.affvar {
    font-size: 1em;
    font-weight: bold;
    border-bottom: 1px solid #dddddd;
    text-align: right;
}

.saisie {
    font-size: 1em;
    border-bottom: 1px solid #dddddd;
    text-align: left;
}

.imputt {
    font-size: 1em;
    /*  width: 200px; /**/
}

.saitex {
    font-size: 1em;
    background-color: #FFFFFF;
    width: 100%;
    max-width: 80ch;
    box-sizing: border-box;
    min-height: 80px;
}

.hyplien {
    font-size: 1em;
}

.typchap {
    font-size: 1em;
    background-color: #c0b8ff;
}

.typobje {
    font-size: 1em;
    background-color: #a0c0e0;
}

.typcont {
    font-size: 1em;
    background-color: #98d8b8;
}

.typgrqu {
    font-size: 1em;
    background-color: #b8c898;
}

.typques {
    font-size: 1em;
    background-color: #d8d880;
}

.btn.typques {
    background-color: #d8d880;
}

.yellow {
    line-height: 1.5em;
    font-size: 1em;
    background-color: #ffff80;
}

.btn.yellow {
    background-color: #ffff80;
    border-color: #ffc029;
}

.aqua {
    line-height: 1.5em;
    font-size: 1em;
    background-color: #a0a0ff;
}

.btn.aqua {
    background-color: #a0a0ff;
}

.purple {
    line-height: 1.5em;
    font-size: 1em;
    background-color: #d080d0;
}

.btn.purple {
    background-color: #d080d0;
}

.lime {
    line-height: 1.5em;
    font-size: 1em;
    background-color: #a0ffa0;
}

.btn.lime {
    background-color: #a0ffa0;
}

.orange {
    line-height: 1.5em;
    font-size: 1em;
    background-color: #ffcc00;
}

.btn.orange {
    background-color: #ffcc00;
    border-color: #a28200;
}

.fushia {
    line-height: 1.5em;
    font-size: 1em;
    background-color: #ffa0a0;
}

.btn.fushia {
    background-color: #ffa0a0;
    border-color: #cd504c;
}

.errsais {
    border: 2px solid #FF0000;
    line-height: 1.5em;
    font-size: 1em;
}

.paires {
    font-size: 1em;
    line-height: 1.5em;
    color: var(--gol-dark-blue);
}

.impair {
    font-size: 1em;
    line-height: 1.5em;
    background-color: #ECECF0;
    color: var(--gol-dark-blue);
}

.aide {
    font-size: 1em;
    font-weight: bold;
}

.niv0 {
    font-size: 1em;
    background-color: #e0e0e0;
}

.niv1 {
    font-size: 1em;
    background-color: #c8d898;
}

.niv2 {
    font-size: 1em;
    background-color: #f8e898;
}

.niv3 {
    font-size: 1em;
    background-color: #f8b888;
}

.niv4 {
    font-size: 1em;
    background-color: #ff8080;
}

.tableau {
    border-bottom: 1px solid #808080;
}

.modal {
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    position: fixed;
    padding: 50px 0;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.modal_body {
    margin: 0 auto;
    width: 1140px;
    padding: 15px 30px;
    border: 1px solid var(--gol-grey-border);
    background: #fff;
    border-radius: 4px;
}

.error .modal_body h4 {
    color: #ac0b0f;
}

.remove {
    padding: 10px 15px;
    position: absolute;
    cursor: pointer;
    top: -15px;
    right: 0;
    border: 1px solid var(--gol-grey-border);
    border-radius: 4px;
}

.modal_body h4 {
    position: relative;
    margin-bottom: 20px;
    margin-top: 10px;
    height: auto;
    line-height: initial;
}

.main_content {
    font-family: sans-serif;
    border: 1px solid var(--gol-grey-border);
    padding: 15px;
    background: #eee;
}

.paystripe {
    font-weight: bold;
    font-size: 16px;
    background: #C0C0FF;
    border-radius: 6px;
    color: #000000;
}

/**
ATTEMPT TO IMPROVE ACCESSIBILITY
 */
@keyframes showup {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

html,
body {
    height: 100%;
}



.container {
    padding: 0 5px;
}

#master_container {
    transition: 0.4s;
    min-height: 100%;
    position: relative;
    background: url(deco/globg-t6.jpg);
    background-repeat: repeat;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 50px;
    border-bottom: 1px solid var(--gol-grey-border);
    background: #fff;
    z-index: 1;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Lato', sans-serif;
}

.dev header {
    background: #e03626;
}

.dev header .brand {
    color: #fff;
}

.dev header {
    color: #fff;
}

#content {
    transition: 0.4s;
    padding-top: 50px;
    padding-bottom: 155px;
    background: transparent;
}

footer {
    transition: 0.4s;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--gol-blue);
    border-top: 1px solid #123040;
    padding: 10px 0;
    color: #fff;
}

footer p {
    margin: 0;
    padding: 5px 0;
    font-size: 0.8em;
    text-align: center;
}

footer a {
    color: #fff;
}

.logbuton {
    height: auto;
}

input,
select,
textarea,
.btn {
    white-space: nowrap;
    transition: 0.4s;
    padding: 10px 15px;
    border: 1px solid var(--gol-grey-border);
    font-size: 16px;
    background: #fafafa;
    border-radius: 4px;
    color: #000;
    margin-bottom: 15px;
}

td input,
td select,
td textarea {
    margin-bottom: 0;
}

input[type="submit"],
.btn {
    border: 1px solid var(--gol-grey-border);
    margin-top: 15px;
    cursor: pointer;
    font-style: normal;
    text-decoration: none;
}

td .btn {
    margin-top: 0;
    margin-bottom: 0;
}

input[type="submit"]:hover,
.btn:hover {
    border-color: #ffbd49;
    background-color: #ffd178;
    font-style: normal;
    text-decoration: none;
}

#top,
#entete {
    position: relative;
    height: auto;
    padding: 15px 10px;
}

#mid {
    position: relative;
}

#top,
#entete,
#mid {
    transition: 0.4s;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    z-index: initial;
    background: transparent;
}

#main {
    width: auto;
    padding: 15px 30px;
}

.menu_opened #content,
.menu_opened footer {
    margin-left: 300px;
}

.brand {
    font-family: 'Lato', sans-serif;
    text-indent: 135px;
    position: relative;
    display: inline-block;
    padding: 10px 15px;
    font-size: 26px;
    font-weight: bold;
    color: #457ebf;
}

.brand a {
    text-decoration: none;
}

.brand a:hover {
    color: inherit;
}

.brand .logo {
    position: absolute;
    top: 0;
    bottom: 2px;
    width: 135px;
    margin-left: -15px;
    background: url(img/logo.png) center no-repeat;
    background-size: cover;
}

.brand span {
    color: #ffd178;
}

.navBar {
    float: right;
}

#burgerMenu,
#responsiveMenu {
    cursor: pointer;
    padding: 5px 15px;
}

#responsiveMenu {
    display: none;
}

.bar1,
.bar2,
.bar3 {
    width: 35px;
    height: 5px;
    background-color: #457ebf;
    margin: 6px 0;
    transition: 0.4s;
    border-radius: 4px;
}

.dev .bar1,
.dev .bar2,
.dev .bar3 {
    background-color: #fff;
}

.burgerMenu:hover .bar1,
.burgerMenu:hover .bar2,
.burgerMenu:hover .bar3,
.responsiveMenu:hover .bar1,
.responsiveMenu:hover .bar2,
.responsiveMenu:hover .bar3 {
    background-color: #ffd178;
}

.menu_opened .bar1 {
    transform: rotate(-45deg) translate(-9px, 6px);
}

.menu_opened .bar2 {
    opacity: 0;
}

.menu_opened .bar3 {
    transform: rotate(45deg) translate(-8px, -8px);
}

#side {
    transition: 0.4s;
    position: fixed;
    width: 300px;
    left: -300px;
    border-right: 1px solid var(--gol-grey-border);
    top: 51px;
    background: #fff;
}

#floating_entete {
    display: none;
    background: #fff;
    position: fixed;
    top: 51px;
    left: 0;
    right: 0;
    padding: 10px 0;
    height: auto;
    transition: all 0.2s;
    border-bottom: 1px solid var(--gol-grey-border);
    z-index: 10;
}

.scrolled #floating_entete {
    animation: showup 0.2s linear;
    display: block;
}

.menu_opened #floating_entete {
    margin-left: 300px;
}

.menu_opened #side {
    left: 0;
}

#pnl2 {
    border: none;
    border-bottom: 1px solid var(--gol-grey-border);
    background: transparent;
    padding: 10px 15px;
    margin-bottom: 10px;
    border-radius: 0;
}

.connected #pnl2 {
    display: block;
}

#menu,
#extra_menu {
    border: none;
    border-radius: 0;
    margin: 10px 0;
    padding: 10px 15px;
}

#extra_menu {
    border-top: 1px solid var(--gol-grey-border);
}

.zul {
    margin: 0;
}

.zul li {
    transition: 0.4s;
    border: 1px solid transparent;
    border-left: none;
    border-right: none;
}

.zul li a {
    display: block;
    padding: 10px 15px 10px 30px;
}

.zul li:hover {
    border-color: #f60;
    background-color: #f8f8f8;
}

.zli1,
.zli2,
.zli3,
.zli4 {
    font-size: 1em;
    line-height: 1em;
    padding: 0;
}

.zli1 {
    background: url(deco/pgen1.png) left 6px no-repeat;
    background-size: 20px;
    font-size: 1em;
    line-height: 1em;
    margin: 0;
}

.zli2 {
    background: url(deco/pgen2.png) left 6px no-repeat;
    background-size: 20px;
    line-height: 1em;
    margin: 0;
}

.zli3 {
    background: url(deco/pgen3.png) left 6px no-repeat;
    background-size: 20px;
    line-height: 1em;
    margin: 0;
}

.zli4 {
    background: url(deco/pgen4.png) left 6px no-repeat;
    background-size: 20px;
    line-height: 1em;
    margin: 0;
}

li.zli2 a {
    padding-left: 50px;
}

.zul li.zli2 {
    background-position-x: 20px;
}

li.zli3 a {
    padding-left: 70px;
}

.no_style {
    text-decoration: none;
}

.zul li.zli3 {
    background-position-x: 40px;
}

li.zli4 a {
    padding-left: 90px;
}

.zul li.zli4 {
    background-position-x: 60px;
}

.zon {
    background-image: url(deco/pge1.png);
}

.zli2:last-of-type {
    border-bottom: 1px solid var(--gol-grey-border)
}

#entete .titre3 {
    font-size: 1.5em;
    margin-bottom: 5px;
}

#pg_logo_ffv,
#pg_logo_aura {
    width: 45%;
    display: inline-block;
}

#pg_logo_facebook {
    width: 10%;
    display: inline-block;
}

#pg_logo_ffv {
    text-align: right;
}

#pg_logo_aura {
    text-align: left;
}

#pg_logo_ffv img {
    width: 150px;
    margin-right: 15px;
}

#pg_logo_aura img {
    width: 200px;
    margin-left: 15px;
}

#pg_logo_facebook img {
    width: 62px;
    margin-left: 15px;
    margin-right: 15px;
}

#pg_Lien_ZITEplus {
    text-align: center;
}

#golmain {
    padding: 0 0 50px 0;
}

.totop {
    display: none;
    background: #fff;
    transition: 0.4s;
    border: 1px solid #669cbb;
    color: #669cbb;
    position: fixed;
    bottom: 50px;
    right: 50px;
    width: 60px;
    height: 50px;
    padding: 5px 0;
    border-radius: 60px;
    font-size: 50px;
    text-align: center;
}

.totop:hover {
    animation: showup 0.2s linear;
    border-color: #f60;
}

.scrolled .totop {
    display: block;
}

.bradius {
    border-left: none;
    border-right: none;
    padding: 0;
    border-radius: 0;
}

.bradius .bradius {
    margin: 0;
    border: none;
}

.bradius .bradius td {
    border: none;
}



.table-responsive-wrapper {
    width: 100%;
    overflow-x: auto;
    margin-bottom: 20px;
}

table {
    width: 100%;
    border-spacing: 0 !important;
    border-collapse: collapse !important;
}

th {
    border-top: 2px solid var(--gol-grey-border);
    border-bottom: 2px solid var(--gol-grey-border);
}

form table>tbody>tr>td {
    padding: 0;
}

table td,
form table>tbody>tr>td {
    padding: 5px 10px;
}


td.break {
    word-break: break-word;
}

/* ============================================================
   TABLEAU BIBLIOTHÈQUE — mise en page adaptative
   Strategy :
     - Desktop (> 911px) : table-layout: fixed sur #bib-table
     - Colonnes courtes (code, nb, date, état, action, suppr) : white-space: nowrap
     - Colonnes longues (titre, auteur, emprunteur) : overflow ellipsis
   ============================================================ */
@media screen and (min-width: 912px) {
    #bib-table.responsive-data-table {
        table-layout: fixed;
        width: 100%;
    }

    /* Colonnes à largeur fixe (contenu court, ne doit pas couper) */
    #bib-table.responsive-data-table .bib-col-code {
        width: 5%;
    }

    #bib-table.responsive-data-table td.bib-col-code {
        white-space: nowrap;
    }

    #bib-table.responsive-data-table .bib-col-nbsor {
        width: 7%;
    }

    #bib-table.responsive-data-table td.bib-col-nbsor {
        white-space: nowrap;
    }

    #bib-table.responsive-data-table .bib-col-date {
        width: 10%;
    }

    #bib-table.responsive-data-table td.bib-col-date {
        white-space: nowrap;
    }

    #bib-table.responsive-data-table .bib-col-etat {
        width: 6%;
    }

    #bib-table.responsive-data-table td.bib-col-etat {
        white-space: nowrap;
    }

    #bib-table.responsive-data-table .bib-col-action {
        width: 8%;
    }

    #bib-table.responsive-data-table td.bib-col-action {
        white-space: nowrap;
    }

    #bib-table.responsive-data-table .bib-col-suppr {
        width: 4%;
    }

    #bib-table.responsive-data-table td.bib-col-suppr {
        white-space: nowrap;
    }

    /* Colonnes de texte — se réduisent en priorité avec ellipsis */
    #bib-table.responsive-data-table .bib-col-titre {
        width: 28%;
    }

    #bib-table.responsive-data-table .bib-col-auteur {
        width: 20%;
    }

    #bib-table.responsive-data-table .bib-col-empr {
        width: 12%;
    }

    /* Cellules de données pour les colonnes de texte long */
    #bib-table.responsive-data-table td[data-label="Titre"],
    #bib-table.responsive-data-table td[data-label="Auteur ou Editeur"],
    #bib-table.responsive-data-table td[data-label="Emprunteur actuel"] {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        max-width: 0;
        /* trick pour forcer overflow ellipsis avec table-layout: fixed */
    }

    /* Les inputs de filtre dans les en-têtes ne doivent pas imposer de largeur minimale */
    .responsive-data-table thead input[type="text"] {
        width: 100%;
        box-sizing: border-box;
        min-width: 0;
    }
}




.afcham,
.affval {
    border: none;
    border-bottom: 1px solid var(--gol-grey-border);
}

.saitex {
    background: #fafafa;
}

/* Actualités sur la Home */
#news-section {
    padding: 10px 0;
    margin: 10px 0;
}

#news-section h2 {
    text-align: center;
    margin-bottom: 30px;
}

.news-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 1000px;
    margin: 0 auto;
}

.news-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid #e1e8ed;
}

.news-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.news-header {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    cursor: pointer;
    gap: 15px;
}

.news-date {
    background: var(--gol-blue);
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.85em;
    font-weight: bold;
    flex-shrink: 0;
}

.news-title {
    margin: 0;
    font-size: 1.1em;
    flex-grow: 1;
    flex-basis: 0;
    min-width: 0;
    white-space: normal;
    color: var(--gol-dark-blue);
}

.news-expand-btn {
    background: none;
    border: none;
    color: var(--gol-blue);
    cursor: pointer;
    font-size: 1.2em;
    padding: 5px;
    transition: transform 0.3s;
}

.news-card.active .news-expand-btn {
    transform: rotate(180deg);
}

.news-body {
    padding: 0 20px 20px;
    font-size: 0.95em;
    line-height: 1.6;
    color: #444;
    border-top: 1px solid #f0f0f0;
    margin-top: 0;
}

.news-footer {
    text-align: center;
    margin-top: 30px;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--gol-blue);
    color: var(--gol-blue);
}

.btn-outline:hover {
    background: var(--gol-blue);
    color: #fff;
}

.breadcumb {
    background: rgba(255, 255, 255, 0.5);
    padding: 10px 25px;
    border-bottom: 1px solid;
    border-top: 1px solid;
    border-color: #ffd178;
    margin-bottom: 15px;
    margin-top: -40px;
    margin-left: -25px;
    display: block;
    width: 100%;
    color: var(--gol-blue);
}

.picture img {
    display: block;
    margin-bottom: 20px;
}

.visible-xs img {
    display: inline-block;
    margin-right: 20px;
}

#splash {
    background: url(img/home/background.jpg) center no-repeat;
    background-size: cover;
    height: 100vh;
    position: relative;
}

#splash_shade {
    position: absolute;
    padding: 30vh 0;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

.connected #splash_shade {
    padding: 35vh 0;
}

#splash_title {
    text-align: center;
}

#splash_title h1,
#splash_title p {
    color: #fff;
    text-shadow: 0px 0px 3px #ffd178;
}

#splash_title h1 {
    font-size: 4em;
    font-family: "Lato script=all rev=1", sans-serif;
    font-weight: 100;
}

#splash_title p {
    font-size: 2em;
}

#splash_title .btn {
    margin-top: 15px;
    font-size: 1.5em;
    border-color: #ffd178;
    background: transparent;
    color: #ffd178;
    display: inline-block;
}

.connected #splash_title .btn {
    display: none;
}

#splash_title .btn:hover {
    border-color: #ffbd49;
    background-color: #ffd178;
    color: #fff;
}

#explore {
    border-top: 1px solid #123040;
    background: var(--gol-blue);
    position: absolute;
    left: 0;
    right: 0;
    margin-top: -134px;
    display: flex;
    flex-direction: row;
}

#explore .explore_thing {
    border-right: 1px solid #123040;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    display: inline-block;
    padding: 30px 0;
    flex: 1 1 auto;
    color: #fff;
    text-align: center;
    text-decoration: none;
    transition: 0.2s;
}

#explore .explore_thing:hover {
    background: #3181ac;
}

#explore .explore_thing h2 {
    color: #fff;
    margin: 0 0 20px;
}

#news,
#contact {
    padding: 50px 0;
    margin: 0;
}

#news h2 {
    text-align: center;
}

#news>p {
    text-align: center;
    padding: 25px 0;
}

#contact {
    border-top: 1px solid #acb8c1;
    background-color: #dcebf7;
    text-align: center;
    padding-bottom: 0;
}

#contact .contactActions {
    max-width: 1160px;
    margin: 0 auto;
}

#contact .contactActions a {
    display: inline-block;
    width: 30%;
    background: transparent;
    border: none;
    border-right: 1px solid #fff;
    border-radius: 0;
    padding: 30px 0;
    font-size: 1.2em;
}

#contact .contactActions a:last-child {
    border-right: none;
}

#contact .container {
    margin: 0 auto;
    max-width: 1160px;
    padding: 25px 0;
}

#contact form {
    max-width: 1160px;
    display: block;
    margin: 0 auto;
}

#contact * {
    box-sizing: border-box;
}

#contact textarea {
    width: 100%;
}

#contact iframe {
    border-top: 1px solid #acb8c1;
    width: 100%;
    height: 450px;
}

.separator {
    display: block;
    height: 20px;
    border-bottom: 1px solid #acb8c1;
}

.row {
    max-width: 1160px;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.btn-group .btn {
    border-radius: 0;
}

.btn-group .btn:first-child {
    border-radius: 4px 0 0 4px;
}

.btn-group .btn:last-child {
    border-radius: 0 4px 4px 0;
}

/* direct children's styles */
/* width defined to 25% */
.col {
    flex-basis: 0;
    -ms-flex-positive: 1;
    flex-grow: 1;
    max-width: 100%;
    padding: 0 15px;
}

.col input,
.col select {
    display: block;
    width: 100%;
}

.col input[type="checkbox"] {
    display: inline-block;
    width: auto;
}

.boutcol {
    font-weight: bold;
}

.brouge {
    border: 3px solid #FF2020;
    background-color: #FFBBBB;
}

.bvert {
    border: 3px solid #20CC20;
    background-color: #AAFFAA;
}

.bbleu {
    border: 3px solid #4040FF;
    background-color: #CCCCFF;
}

.borange {
    border: 3px solid #FFAA00;
    background-color: #FFDDAA;
}

/* /public/standard.css */

/* --- Style pour la page des Releases GitHub --- */

.releases-container {
    padding: 10px;
    background-color: #fff;
    border-radius: 5px;
    margin: 15px;
}

.release {
    border-bottom: 1px solid #ddd;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.release:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.release-header h2 {
    color: #005a9c;
    margin: 0 0 5px 0;
    font-size: 1.5em;
}

.release-header h2 span {
    font-size: 0.8em;
    font-weight: normal;
    color: #666;
}

.release-header time {
    font-size: 0.9em;
    color: #888;
    font-style: italic;
}

.release-body {
    margin-top: 15px;
    line-height: 1.6;
}

.release-body h3 {
    color: #333;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
    margin-top: 25px;
}

.release-body ul,
.release-body ol {
    padding-left: 25px;
}

.release-body li {
    margin-bottom: 8px;
}

.release-body code {
    background-color: #eee;
    padding: 2px 5px;
    border-radius: 4px;
    font-family: monospace;
}

.release-error {
    background-color: #ffebee;
    border: 1px solid #e57373;
    color: #c62828;
    padding: 15px;
    border-radius: 4px;
}

/* --- End of GitHub Releases Page Style --- */

/* --- DEbut de la grille pour licences --- */
.upload-container {
    max-width: 1200px;
    margin: 0 auto;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.upload-form {
    margin-bottom: 30px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.results-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

.result-column {
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 5px;
    background: #fff;
}

.result-column h3 {
    margin-top: 0;
    color: #005a9c;
}

/* ==========================================================================
   PAGE D'ACCUEIL — home.php
   Styles communs (desktop) : layout, event-cards, sections membres
   ========================================================================== */

/* ---- Layout général ---- */
.home-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 15px 30px;
}

.home-container .row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.home-container .col {
    flex: 1;
    min-width: 280px;
}

/* ---- Bannière membre connecté ---- */
.home-member-banner {
    background: linear-gradient(135deg, var(--gol-blue) 0%, var(--gol-dark-blue) 100%);
    color: #fff;
    border-radius: 10px;
    padding: 14px 20px;
    margin: 14px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.home-member-banner h2 {
    margin: 0;
    font-size: 1.15em;
    color: #fff;
}

.home-member-banner .hm-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.hm-badge {
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: bold;
    text-decoration: none;
}

.hm-badge.ok {
    background: #a0ffa0;
    color: #145214;
}

.hm-badge.nok {
    background: #ffa0a0;
    color: #7a0000;
}

.hm-badge.neutral {
    background: #dde5ff;
    color: #333;
}

.badge-outline {
    background: transparent !important;
    border: 1px solid currentColor;
    padding: 0 5px;
    display: inline-block;
}

.badge-cdb {
    color: var(--gol-blue);
    border-color: var(--gol-blue);
}

/* ---- Titres de sections ---- */
.home-section-title {
    font-size: 1.05em;
    font-weight: bold;
    color: var(--gol-dark-blue);
    border-left: 4px solid var(--gol-blue);
    padding: 4px 0 4px 10px;
    margin: 0 0 12px 0;
}

.home-section-title i {
    margin-right: 6px;
    color: var(--gol-blue);
}

/* ---- Event cards (permanences, navigations, mes sorties) ---- */
.card-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.event-card,
.my-sortie-card {
    position: relative;
    display: flex;
    align-items: stretch;
    border: 1px solid #dde0e8;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .06);
    transition: box-shadow .15s, transform .15s;
}

.event-card:hover,
.my-sortie-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, .12);
    transform: translateY(-1px);
}

.my-sortie-card {
    border-color: #dde0e8;
    background: #fff;
}

/* Pastille date à gauche */
.event-date {
    background: var(--gol-blue);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 56px;
    padding: 8px 10px;
    text-align: center;
    flex-shrink: 0;
}

.my-sortie-card .event-date {
    background: var(--gol-blue);
}

.event-date .day {
    font-size: 1.6em;
    font-weight: bold;
    line-height: 1;
}

.event-date .month {
    font-size: 0.75em;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2px;
}

/* Corps de la card */
.event-details {
    flex: 1;
    padding: 8px 12px;
}

.event-title {
    margin: 0 0 4px;
    font-size: 0.95em;
    font-weight: bold;
    color: var(--gol-dark-blue);
}

.event-meta {
    font-size: 0.8em;
    color: #666;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.event-meta .places-info {
    background: #e8fde8;
    color: #1a6a1a;
    border-radius: 20px;
    padding: 1px 8px;
    font-weight: bold;
}

/* Bouton d'action à droite */
.event-action {
    display: flex;
    align-items: center;
    padding: 8px 10px;
    flex-shrink: 0;
}

.event-action .btn {
    font-size: 0.82em;
    padding: 4px 12px;
}

/* ---- Encours (section membres) ---- */
.enc-list-wrap {
    border: 1px solid #dde0e8;
    border-radius: 8px;
    overflow: hidden;
}

.enc-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: #fff;
    border-bottom: 1px solid #f0f2f6;
}

.enc-card:last-child {
    border-bottom: none;
}

.enc-icon {
    font-size: 1.3em;
    width: 28px;
    text-align: center;
    flex-shrink: 0;
}

.enc-info {
    flex: 1;
}

.enc-info .enc-title {
    font-weight: bold;
    font-size: 0.92em;
    color: var(--gol-dark-blue);
}

.enc-info .enc-sub {
    font-size: 0.78em;
    color: #888;
}

.enc-amount {
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.9em;
    white-space: nowrap;
}

.enc-total {
    background: #fff8e1;
    text-align: right;
    padding: 6px 14px;
    font-weight: bold;
    font-size: 0.92em;
    color: #a06000;
    border-top: 1px solid #f0dfa0;
}

.enc-total.zero {
    background: #e8fde8;
    color: #1a6a1a;
}

/* ---- Liens de bas de section ---- */
.home-section-link {
    font-size: 0.82em;
    color: var(--gol-blue);
    text-align: right;
    display: block;
    margin-top: 6px;
    text-decoration: none;
}

.home-section-link:hover {
    text-decoration: underline;
}

/* ---- Message "aucun résultat" ---- */
.home-empty {
    color: #aaa;
    font-style: italic;
    font-size: 0.88em;
    padding: 8px 0;
}

/* --- Styles de connexion (Issue #158) --- */
.login-form-group {
    margin-bottom: 1rem;
}

.input-container,
.password-container {
    width: 100%;
}

.input-container input,
.password-container input {
    width: 100%;
    padding: 0.375rem 0.75rem;
    box-sizing: border-box !important;
    margin-bottom: 0px;
}

.password-container {
    display: flex;
    align-items: center;
    position: relative;
}

.toggle-password-btn {
    position: absolute;
    right: 10px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: gray;
    height: 100%;
    z-index: 2;
}

#togglePassword {
    display: none;
    /* Remplacé par .toggle-password-btn */
}

.login-actions {
    margin-top: 10px;
    margin-bottom: 5px;
    text-align: right;
}

.forgot-link {
    font-size: 0.8rem;
    color: #666;
    text-decoration: none;
    font-style: italic;
}

.forgot-link:hover {
    text-decoration: underline;
    color: var(--gol-orange);
}

.btn-login {
    background-color: var(--gol-blue);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    width: 100%;
    margin-top: 10px;
    margin-bottom: 0;
}

.btn-login:hover {
    background-color: var(--gol-dark-blue);
}


/* --- Classes d’alerte (Issue #158) --- */
.alert {
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid transparent;
    line-height: 1.4;
    text-align: left;
}

.alert-error {
    background-color: #fce4e4;
    color: #c0392b;
    border-color: #f5c6cb;
}

.alert-warning {
    background-color: #fff3cd;
    color: #856404;
    border-color: #ffeeba;
}

.alert i {
    font-size: 1.4rem;
    flex-shrink: 0;
}

/* --- Lien oubli de mot de passe dans le panneau de connexion latéral --- */
.login .forgot-link {
    font-size: 0.85em;
    color: #888;
    display: block;
    margin-top: 8px;
    text-align: center;
    line-height: 1.2;
    width: 100%;
}

.login .forgot-link:hover {
    text-decoration: underline;
    color: var(--gol-orange);
}

/* Fiche Adhérent - Header Flexbox */
.adh-fiche-header {
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin-bottom: 20px;
}

.adh-fiche-photo {
    flex: 0 0 200px;
    text-align: center;
}

.adh-fiche-photo input[type="file"] {
    max-width: 100%;
}

.adh-fiche-photo img {
    height: 160px;
    width: auto;
}

.adh-fiche-infos {
    flex: 1 1 auto;
    min-width: 0;
}

/* --- Contacts d'urgence sur la fiche adhérent --- */
.emergency-row td {
    background-color: #fff5f5 !important;
    /* Rouge très léger */
    border-top: 1px dashed #feb2b2 !important;
    border-bottom: 1px dashed #feb2b2 !important;
}

.emergency-details {
    padding: 5px 0;
}

.emergency-summary {
    cursor: pointer;
    color: #c53030;
    /* Rouge sombre */
    font-weight: bold;
    outline: none;
    user-select: none;
    list-style: none;
}

.emergency-summary::-webkit-details-marker {
    display: none;
}

.emergency-summary:before {
    content: '⚠️ ';
}

.emergency-summary:hover {
    color: #9b2c2c;
    text-decoration: underline;
}

.emergency-content {
    margin-top: 5px;
    padding: 5px;
    background: #fff !important;
    border: 1px solid #feb2b2 !important;
    border-radius: 4px;
    font-style: italic;
    color: #2d3748;
}

/* --- Filtres et dates du calendrier (cal_table_entete.php) --- */
.nav-dates-wrapper button,
.nav-dates-wrapper input[type='text'],
.nav-dates-wrapper input[type='submit'],
.nav-dates-wrapper input[type='button'],
.nav-dates-wrapper select {
    height: 32px;
    box-sizing: border-box;
    margin: 0;
    vertical-align: middle;
}

.nav-dates-wrapper button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
}

.nav-dates-wrapper select {
    padding: 0 8px;
}

/* --- Collapse de description des sorties (cal_table_saisie.php) --- */
.cal-desc-wrap {
    position: relative;
    cursor: pointer; /* toute la zone est cliquable */
}

.cal-desc-body {
    /* ~4 lignes (line-height ~1.4em) */
    max-height: 5.6em;
    overflow: hidden;
    line-height: 1.4em;
    transition: max-height 0.35s ease;
}

.cal-desc-body.expanded {
    max-height: 200em; /* hauteur grande ouverte */
}

/* Dégradé masquant le bas du texte quand collapsed */
.cal-desc-fade {
    position: absolute;
    bottom: 20px; /* espace réservé au bouton */
    left: 0;
    right: 0;
    height: 2.5em;
    background: linear-gradient(to bottom, transparent, #fff);
    pointer-events: none;
    transition: opacity 0.25s;
}

/* Fond alterné : lignes paires */
tr.evencolor .cal-desc-fade {
    background: linear-gradient(to bottom, transparent, var(--gol-even-color, #f5f8fb));
}

/* Fond alterné : lignes impaires */
tr.oddcolor .cal-desc-fade {
    background: linear-gradient(to bottom, transparent, var(--gol-odd-color, #ffffff));
}

.cal-desc-body.expanded + .cal-desc-fade {
    opacity: 0;
}

/* Bouton chevron bas-de-bloc */
.cal-desc-toggle {
    display: block;
    width: 100%;
    text-align: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 2px 0 0;
    color: var(--gol-blue, #1a6ea8);
    font-size: 0.85em;
    line-height: 1;
    transition: color 0.2s;
}

.cal-desc-toggle:hover {
    color: var(--gol-orange, #f60);
}

.cal-desc-toggle .cal-chevron {
    display: inline-block;
    transition: transform 0.3s;
}

.cal-desc-toggle.expanded .cal-chevron {
    transform: rotate(180deg);
}

/* Quand le contenu est court : masquer le bouton et le fade */
.cal-desc-wrap.short .cal-desc-fade,
.cal-desc-wrap.short .cal-desc-toggle {
    display: none;
}