/* CODE CSS WIKISCHOOL */

html {
    text-rendering: optimizeSpeed;
    scroll-behavior: smooth;
    scroll-padding-top: var(--scrollPadding, 60px);
}

span[data-link=true] {
    display: inline-block;
}

#logo-landing {
    text-align: right;
}

ul a {
    box-shadow: none;
}

ul a:hover {
    box-shadow: none;
}

.landing-page-info .col-gi-7,
.landing-page-info .col-gi-5,
.landing-page-info .col-12,
.landing-page-info .col-sm-12 {
    padding: 0;
}

.tab-presentation {
    background-color: #d5ffce;
    border-radius: 5px;
    padding: 2px;
}

.tab-contenu {
    background-color: #d2cdff;
    border-radius: 5px;
    padding: 2px;
}

.tab-rules {
    background-color: #ffcaca;
    border-radius: 5px;
    padding: 2px;
}

.tab-help {
    background-color: #fff5ca;
    border-radius: 5px;
    padding: 2px;
}

section {
    margin: 15px 0;
}

@media (max-width: 428px) {
    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.5rem;
    }

    h3 {
        font-size: 2rem;
    }

    h4,
    h5,
    h6 {
        font-size: 1.5rem;
    }
}

.burger-cancel-toggle {
    display: inline-block;
    cursor: pointer;
}

.toggle-bar1,
.toggle-bar2,
.toggle-bar3 {
    width: 35px;
    height: 5px;
    background-color: #333;
    margin: 6px 0;
    transition: 0.4s;
}

.burger-cancel-toggle-change .toggle-bar1 {
    -webkit-transform: rotate(-45deg) translate(-9px, 6px);
    transform: rotate(-45deg) translate(-9px, 6px);
}

.burger-cancel-toggle-change .toggle-bar2 {
    opacity: 0;
}

.burger-cancel-toggle-change .toggle-bar3 {
    -webkit-transform: rotate(45deg) translate(-8px, -8px);
    transform: rotate(45deg) translate(-8px, -8px);
}

nav {
    overflow: hidden;
    background-color: #f8f9fa;
    position: fixed;
    height: 60px;
    top: 0;
    width: 100%;
    padding: 0 auto;
    z-index: 999;
}

nav .container-fluid {
    padding: 0;
}

.brand-title {
    font-family: "Montserrat", "Roboto", "Arial", sans-serif;
    font-weight: 600;
    font-size: 35px;
    padding-left: 25px;
}

.brand-navbar {
    padding: 5px 100px;
}

nav ul {
    float: right;
    margin-right: 20px;
}

nav ul li {
    display: inline-block;
    line-height: 15px;
    margin: 0 5px;
}

nav ul li a,
nav ul li button {
    font-size: 16px;
    padding: 7px 13px;
    border-radius: 5px;
    text-transform: uppercase;
    border: none;
    background-color: transparent;
}

nav ul li a:hover,
nav ul li button:hover {
    background: #8accff6c;
    transition: 0.5s;
}

nav ul li a.active,
nav ul li button:active {
    background: #53b5ff6c;
    transition: 0.5s;
}

nav a,
nav button {
    float: left;
    display: block;
    padding: 7px 16px;
}

nav a,
nav a:hover,
nav button,
nav button:hover {
    box-shadow: none;
    transition: none;
}

.checkbtn {
    font-size: 30px;
    float: right;
    line-height: 75px;
    margin-top: calc(30px - transform(-50%));
    margin-right: 40px;
    cursor: pointer;
    display: none;
}

#check {
    display: none;
}

@media (max-width: 992px) {
    .brand-navbar {
        font-size: 30px;
        padding-left: 50px;
    }

    nav ul li a,
    nav ul li button {
        font-size: 16px;
    }
}

@media (max-width: 1327px) {
    .checkbtn {
        display: block;
    }

    nav ul {
        position: fixed;
        width: 100%;
        height: 100vh;
        background: #001c29;
        top: 47px;
        left: -100%;
        text-align: center;
        transition: all 0.5s;
        display: flex;
        flex-direction: column;
        flex-flow: column;
        align-items: center;
        justify-content: center;
    }

    nav ul li {
        display: inline-block;
        margin: 10px 0;
        line-height: 30px;
    }

    nav ul li a,
    nav ul li button {
        font-size: 20px;
        color: white;
    }

    nav ul li a:hover,
    nav ul li button:hover {
        background: none;
        color: #0091ff;
    }

    nav ul li a.active,
    nav ul li button.active {
        background: none;
        color: #0060aa;
    }

    #check:checked ~ ul {
        left: 0;
    }
}

@media (max-width: 476px) {
    .brand-navbar {
        font-size: 30px;
        padding-left: 30px;
        padding-right: 30px;
    }

    .brand-title {
        padding-left: 15px;
        font-size: 25px;
    }
}

@media (max-width: 320px) {
    .brand-navbar {
        font-size: 20px;
        padding-left: 10px;
        padding-right: 10px;
    }

    .brand-title {
        padding-left: 10px;
        font-size: 20px;
    }
}

main {
    margin-top: 60px;
    min-height: calc(100vh - (60px + 60px + 60px));
}

@media (min-width: 768px) and (max-width: 875px) {
    .brand > h1 {
        font-size: 3.5rem;
    }
}

@media (min-width: 992px) and (max-width: 1104px) {
    .brand > h1 {
        font-size: 3.5rem;
    }
}

/*@media (max-width: 768px) {
    #logo-landing {
        display: none;
    }
}*/

footer {
    display: flex;
    margin-top: 60px;
    background-color: #c7c7c7;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    height: 60px;
}

footer .footer-separation {
    font-size: 1.5rem;
    position: relative;
    transform: translateY(3.5px);
}

footer ul li {
    display: inline-block;
}

monospace {
    font-family: monospace;
}

.contact-text,
.contact-image {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.btn:not(:disabled) {
    cursor: pointer;
    color: #fff;
    display: inline-block;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    border-radius: 0.25rem;
}

.btn-success {
    background-color: #28a745;
}

.btn-danger {
    background-color: #ce192b;
}

.btn-warning {
    background-color: #e0a800;
}

.btn-info {
    background-color: #17a2b8;
}

.btn-primary {
    background-color: #8accff;
}

.btn-secondary {
    background-color: #4fc3f7;
}

.contact-form {
    width: 100%;
    display: grid;
    grid-template-rows: 2fr 1fr 7fr 1fr 2fr;
}

.floating-input-text {
    appearance: none;
    border: none;
    border-bottom: 1px solid #575757;
    color: #575757;
    width: 100%;
    outline: none;
    height: 3rem;
    background-color: transparent;
    margin: 0 0 8px 0;
    transition: border-bottom 0.3s ease-in-out;
    font-size: 1.1em;
    margin-top: 10px;
}

.floating-textarea {
    resize: none;
    overflow-y: scroll;
    appearance: none;
    border: none;
    border-bottom: 1px solid #575757;
    color: #575757;
    width: 100%;
    outline: none;
    background-color: transparent;
    margin: 0 0 8px 0;
    transition: border-bottom 0.3s ease-in-out;
    font-size: 1.1em;
    margin-top: 10px;
    line-height: normal;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    word-wrap: break-word;
    height: auto;
}

.floating-input-text ~ .floating-input-label {
    position: absolute;
    font-size: 1.1em;
    transform: translateX(3.2px) translateY(19px);
    transition: transform 0.2s ease-in-out;
    cursor: text;
    color: #575757;
    font-size: 1.1em;
    transform-origin: 0 0;
}

.floating-textarea-label {
    position: absolute;
    font-size: 1.1em;
    transform: translateX(1.6px) translateY(89px);
    transition: transform 0.2s ease-in-out;
    cursor: text;
    color: #575757;
    font-size: 1.1em;
    transform-origin: 0 0;
    margin-top: 10px;
}

.floating-input-label.active {
    /* Décalage de 3.2px vers la gauche; 21px vers le haut; rétrécis de 0.2 */
    transform: translateX(calc(1.6px - 3.2px)) translateY(calc(19px - 21px)) scale(0.8);
}

.floating-textarea-label.active {
    transform: translateX(calc(1.6px - 3.2px)) translateY(calc(89px - 21px)) scale(0.8);
}

.floating-input-text:focus {
    border-bottom: 4px solid #778997;
}

.floating-textarea:focus {
    border-bottom: 4px solid #778997;
}

.contact-submit {
    width: 100%;
}

.floating-help {
    font-size: 0.8em;
    font-style: italic;
}

.titre-erreur > h1 {
    color: white;
    font-size: 10em;
    position: absolute;
    top: 20px;
    left: 20px;
    font-weight: 700;
    font-family: "Montserrat", "Roboto", "Arial", sans-serif;
}

@media (max-width: 1130px) {
    .titre-erreur > h1 {
        font-size: 7em;
    }
}

@media (max-width: 680px) {
    .titre-erreur > h1 {
        font-size: 5em;
    }
}

@media (max-width: 400px) {
    .titre-erreur > h1 {
        font-size: 3em;
    }
}

.message-erreur {
    position: absolute;
    top: 40%;
    left: 15%;
    font-size: 1.5em;
}

@media (max-width: 960px) {
    .message-erreur {
        top: 40%;
        left: 10%;
        font-size: 1.3em;
    }
}

@media (max-width: 560px) {
    .message-erreur {
        top: 30%;
        left: 10%;
        font-size: 1em;
    }
}

/*[id]:not(article sup a[href^="voir/"][id^="link-footnote-"]):not(article
        ol.articles-notes
        li
        a[href^="voir/"][id^="footnote-"]):before {
    display: block;
    content: " ";
    margin-top: calc(0px - 60px - 60px); /* 0 - hauteur_navbar - main_margin-top * /
    height: calc(60px + 60px);
    visibility: hidden;
    pointer-events: none;
}*/

.card-liste {
    background-color: rgb(224, 237, 247);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.card-liste:hover {
    position: relative;
    transform: scale(1.03);
    box-shadow: 0 2px 15px 0 rgb(0 0 0 / 14%), 0 3px 14px -2px rgb(0 0 0 / 12%), 0 1px 18px 0 rgb(0 0 0 / 20%);
}

.muted {
    color: rgb(110, 110, 110);
}

hr {
    border-bottom: 1px rgb(87, 87, 87);
}

.card-liste-details {
    line-height: 2em;
    font-size: 0.9em;
    display: flex;
    flex-direction: row;
    align-content: center;
    align-items: center;
}

.card-liste-details svg {
    fill: rgb(110, 110, 110);
    margin-right: 5px;
    position: relative;
    top: -1px;
}

span.icon svg {
    margin-bottom: -5px;
    fill: black;
}

span.icon.icon-white svg {
    fill: white;
}

.stretched-link::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    pointer-events: auto;
    content: "";
    background-color: rgba(0, 0, 0, 0);
}

.toc {
    /*background-color: rgb(138, 204, 255);*/
    background-color: whitesmoke;
    padding: 2em 1.25em;
    border-radius: 20px;
    box-shadow: 0px 0px 10px 10px rgb(0 0 0 / 5%);
    margin-top: 2em;
    margin-bottom: 1em;
    width: 100%;
}

.toc::before {
    content: "Sommaire";
    font-size: 2em;
    color: #333;
}

.audio {
    border: 1px solid rgb(0, 42, 121);
    background-color: rgb(100, 154, 255);
    border-radius: 25px;
    height: 50px;
    width: fit-content;
    margin-top: 2em;
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: space-evenly;
}

.audio div {
    cursor: pointer;
}

.audio svg {
    padding: 5px;
    height: 50px;
    width: auto;
}

#play-button,
#pause-button {
    fill: blue;
}

#stop-button {
    fill: red;
}

.desactive #stop-button {
    fill: grey;
}

.hidden {
    display: none !important;
}

.parameters {
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
    background: transparent;
    border: none;
    cursor: pointer;
}

.parameters img {
    width: 3em;
    height: auto;
}

.toc ul {
    padding: 0;
    padding-left: 10px;
    margin: 2px 0 5px 0;
}

.toc ul li {
    margin: 0 0 5px 0;
}

.toc > ul {
    counter-reset: section;
    list-style-type: none;
}

.toc > ul > li {
    list-style-type: none;
}

.toc > ul > li:before {
    counter-increment: section;
    content: counter(section) ". ";
}

.toc > ul > li > ul {
    counter-reset: s_section;
    list-style-type: none;
}

.toc > ul > li > ul > li:before {
    counter-increment: s_section;
    content: counter(section) "." counter(s_section) ". ";
}

.toc > ul > li > ul > li > ul {
    counter-reset: ss_section;
    list-style-type: none;
}

.toc > ul > li > ul > li > ul > li:before {
    counter-increment: ss_section;
    content: counter(section) "." counter(s_section) "." counter(ss_section) ". ";
}

.toc > ul > li > ul > li > ul > li > ul {
    counter-reset: sss_section;
    list-style-type: none;
}

.toc > ul > li > ul > li > ul > li > ul > li:before {
    counter-increment: sss_section;
    content: counter(section) "." counter(s_section) "." counter(ss_section) "." counter(sss_section) ". ";
}

.toc > ul > li > ul > li > ul > li > ul > li > ul {
    counter-reset: ssss_section;
    list-style-type: none;
}

.toc > ul > li > ul > li > ul > li > ul > li > ul > li:before {
    counter-increment: ssss_section;
    content: counter(section) "." counter(s_section) "." counter(ss_section) "." counter(sss_section) "."
        counter(ssss_section) ". ";
}

.toc ul li a,
.toc ul li span[data-link=true] {
    text-decoration: underline #6958ff solid 1px;
    text-underline-offset: 2px;
}

.toc ul li a:hover,
.toc ul li span[data-link=true]:hover {
    text-underline-offset: 1px;
    text-decoration: underline #6958ff solid 3px;
}

.step {
    display: none;
}

.step.active-step {
    display: block;
}

.step input:not(.step-submitBtn),
.step textarea,
.step select {
    width: 100%;
    resize: none;
}

.step input:not(.step-submitBtn) {
    font-size: 18px;
    padding: 2px 3px;
}

.step label {
    margin-top: 20px;
}

.step input.to-set,
.step textarea.to-set,
.step select.to-set {
    background-color: rgb(221, 151, 151);
    border-width: 2px;
}

button.step-nextBtn,
button.step-prevBtn,
input.step-submitBtn {
    float: right;
    background-color: #e0edf7;
    margin-top: 20px;
    padding: 10px 30px;
    border: none;
    outline: none;
    font-size: 18px;
    cursor: pointer;
}

button.step-prevBtn {
    float: left;
}

input.step-submitBtn {
    background-color: #e3f7e0;
    cursor: default;
}

.popover__title {
    content: "";
}

.popover__wrapper {
    position: relative;
    display: block;
    float: right;
    max-height: 5px;
    padding-right: 1.25em;
}

.popover__content {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    left: -150px;
    transform: translate(0, 5px);
    background-color: #f7f7f7;
    padding: 1rem 1.5rem 1.5rem 1.5rem;
    box-shadow: 0 2px 15px 5px rgba(0, 0, 0, 0.25);
    width: auto;
    min-width: 200px;
    transition: all 0.5s cubic-bezier(0.75, -0.02, 0.2, 0.97);
}

.popover__content:before {
    position: absolute;
    z-index: -1;
    content: "";
    right: calc(20% - 15px);
    top: -8px;
    border-style: solid;
    border-width: 0 10px 10px 10px;
    border-color: transparent transparent #f7f7f7 transparent;
    transition-duration: 0.3s;
    transition-property: transform;
}

.popover__message {
    text-align: center;
    margin: auto;
}

.popover__message a.btn,
.popover__message button.btn {
    box-shadow: none;
    display: block;
    width: -moz-available;
    color: white;
    /* background-color: #0091ff; */
    margin: 0.5rem 0 0 0;
    text-align: start;
}

.open-popup-edit {
    width: 2em;
    height: auto;
    cursor: pointer;
    position: relative;
}

#edit-checkbox-topic {
    visibility: hidden;
    position: absolute;
}

.popover__wrapper.hover .popover__content {
    z-index: 10;
    opacity: 1;
    visibility: visible;
    transform: translate(0, 5px);
}

blockquote {
    quotes: "\201C""\201D";
}
blockquote:before {
    color: #ccc;
    content: open-quote;
    font-size: 4em;
    line-height: 0.1em;
    vertical-align: -0.5em;
    position: absolute;
    height: 50px;
    transform: translateX(-200%) translateY(+40%);
}
@media (max-width: 768px) {
    blockquote:before {
        transform: translateX(-150%) translateY(+30%);
    }
}

.print-section {
    display: none;
    opacity: 0;
    visibility: hidden;
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
}