@media screen and (-webkit-min-device-pixel-ratio:0) {

    select,
    textarea,
    input {
        font-size: 16px;
    }
}
@media(width>1200px){
    .header-top>.middle>.menu-toggle {
        display: none;
    }
    .header-top .if-responsive{
        display: none!important;
    }
}
@media(width<=1500px){
    .header-top>.middle .menu>a {
        flex-basis: 100px;
    }
}
@media(width<=1360px){
    .header-top>.middle .menu>a {
        flex-basis: 80px;
    }
}
@media(width<=1200px){
    .dashboard .panel-content.exo:not(.open) {
        display: none;
    }
    .header-top .if-not-responsive{
        display: none!important;
    }
    .header-top>.middle .menu-toggle:not(.active)+.menu{
        pointer-events: none;
        opacity: 0;
        transform: scale(0.7);
    }
    .header-top>.middle .menu {
        position: absolute;
        background: #fff;
        top: 100%;
        z-index: 100;
        border-radius: 4px;
        padding: 15px 15px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, .25);
        flex-wrap: wrap;
        height: auto;
        max-width: calc(100vw - 30px);
        right: -60px;
        width: 370px;
        gap: 30px;
        margin-top: 2px;
        transform-origin: 100% 0;
        transition: transform 0.2s, opacity 0.2s;
    }

    .header-top>.middle .menu>a {
        flex-direction: row;
        gap: 10px;
        justify-content: space-between;
        position: relative;
        font-size: 20px;
    }
    .header-top>.middle .menu>a:nth-child(2n-1):not(:nth-child(7)):after{
        content:"";
        width: calc(200% + 30px);
        height: 2px;
        background:var(--accent);
        left: 0;
        top: 100%;
        position: absolute;
        margin-top: 10px;
        box-shadow: 0 2px 10px #00000099;
    }

    .header-top>.middle .menu>a>span {
        flex: 1;
    }

    .header-top>.right {
        flex-basis: 60px;
        justify-content: center;
    }

    .header-top>.middle {justify-content: flex-end;}    
    .header-top>.middle .menu>a:nth-child(2n):after {
        content: "";
        position: absolute;
        left: -20px;
        width: 2px;
        height: calc(100% + 30px);
        top: -15px;
        background: var(--accent);
        box-shadow: 0 2px 10px #00000099;
    }
    .header-top .dots+.panel>a {
        font-size: 20px;
        position: relative;
        padding: 10px;
    }

    .header-top .dots+.panel>a:not(:last-child):after {content: "";position: absolute;left: 0;right: 0;bottom: -5px;height: 2px;background: var(--accent);box-shadow: 0 2px 10px #00000099;}

    .header-top>.right>.more>.dots>span:before {
        content: "";
        width: 100%;
        aspect-ratio: 1/1;
        background: url(../img/2025/profil.svg);
        position: absolute;
        top: 50%;
        margin-top: -50%;
        z-index: -1;
    }
    .header-top .more>.dots:not(.active):before,.header-top .more>.dots:not(.active):after {
        opacity: 0;
    }

    .header-top .more>.dots:not(.active)>span {background-color: transparent;}
    .toggle-item {
        border-radius: 38px;
    }

    .toggle-item>.toggle-top {
        border-radius: 38px;
    }
}
@media(max-width:1280px) {
    .order-step.identity:after {
        display: none;
    }
}

@media(max-width:1200px) {
    .qi-bloc {
        width: calc((100vw - 90px) / 3 - 20px);
    }
}

@media(max-width:800px) {
    .qi-bloc {
        width: calc((100vw - 90px) / 2 - 30px);
    }

    .zap-container {
        flex-direction: column;
    }

    .zap-container>.zap-top {
        max-width: 100%;
    }

    .zap-container .zap-elements-container>.zap-elements {
        display: flex;
        flex-wrap: wrap;
        align-items: stretch;
        flex-direction: revert;
        justify-content: flex-start;
    }

    .zap-container .zap-elements-container .zap-elements>a {
        background: #cdcdcd;
        margin: 1px;
        flex: 1;
    }

}

@media(max-width:600px) {
    .top-filters>.tabs {
        flex-wrap: wrap;
        gap: 5px 0;
    }
    
    body .top-filters>.tabs>input[type=search] {
        flex: 1 1 170px;
        padding-top: 8px;
        padding-bottom: 8px;
        margin-left: 0;
    }
    
    body .top-filters>.tabs>a {
        padding: 10px 15px;
    }
    
    .top-filters>.tabs:before {
        bottom: inherit;
        height: 38px;
    }
    .content>.inner>.container {
        padding: 20px 15px;
    }
    body.using-app .content>.inner>.container {
        padding: 0 15px;
    }

    .qi-bloc {
        width: calc((100vw - 15px) / 1);
    }

    .qi-row1,
    .qi-row2 {
        margin-left: -15px;
        margin-right: -15px;
    }

    .qi-panel.qi-bloc {
        width: 100%;
        height: calc(100% - 65px);
        border-radius: 0;
        margin: 65px 0 0 0;
    }

    .qi-panel-back {
        align-items: flex-start;
    }

    /* .qi-back>.nav {
        top: 10px;
        transform: none;
        right: 60px;
        justify-content: flex-start;
    } */

    .qi-back>.close {
        top: 10px;
    }
    html[data-page-view="fiche"] body.using-app .content>.inner>.container {
        padding: 0;
    }
    
    html[data-page-view="fiche"] body.using-app .content>.inner {
        padding: 0;
    }
}




@media(max-width: 1160px) {
    .formules>.early-bird {
        position: static;
        max-width: 100%;
    }
}

@media(max-width: 1024px) {
    .bandeau>.container>.menu>div>.logo {
        margin-top: 60px;
    }

    .bandeau>.container>.menu>div {
        padding-top: var(--nav-sub-height);
    }

    .side.inscription>:last-child {
        display: none;
    }

    .side.inscription>:first-child {
        flex: 1;
    }

    body.wp-menu {
        --nav-height: 64px;
    }

    :root {
        --nav-height: 64px
    }

    .navigationPage {
        margin-left: -15px;
        margin-right: -15px;
        margin-top: -15px;
        margin-bottom: -15px
    }

    body,
    html {
        /* overflow: hidden; */
        /* height: 100%; */
        /* max-height: 100vh; */
        /* display: block; */
    }

    body>.content {
        /* overflow: overlay; */
        /* scroll-behavior: smooth; */
        /* height: calc(100% - var(--nav-height) - var(--footer-height)); */
        /* position: relative; */
        /* z-index: 0; */
        padding-left: 0;
    }

    .navigationPage>div>.page {
        height: calc(100vh - var(--nav-height) - var(--footer-height));
        overflow: auto;
        -webkit-overflow-scrolling: touch;
        padding-left: 15px;
        padding-right: 15px;
        padding-top: 15px;
        padding-bottom: 75px;
        box-sizing: border-box
    }

    .navigationPage.signup>div>.page {
        height: auto
    }

    /* body.display-menu .content:before {
        opacity: 1;
        pointer-events: all
    } */


    .bandeau>.container>.logo {
        background-position: center center;
        width: 100%;
        margin-right: 0;
        pointer-events: none
    }

    .header-top {
        background-color: var(--bgcolor);
    }

    .header-top>.left {
        width: auto;
    }

    .header-top a.minmenu-toggle {
        width: 46px;
        position: relative;
        padding: 10px 5px;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        margin: 2px 5px 8px 5px;
    }

    .header-top a.minmenu-toggle>i,
    .header-top a.minmenu-toggle:before,
    .header-top a.minmenu-toggle:after {
        height: 4px;
        border-radius: 2px;
        background: #000;
        content: "";
    }

    body:not(.display-minmenu)>.bandeau {
        transform: translateX(-100%);
    }

    .bandeau>.container>.menu>div.bottom {
        /* display: none; */
    }
}

@media(max-width: 850px) {
    .side>div.left>.dossiers>div {
        height: 100%
    }

    /* body>.content {
        min-height: 0;
    } */

    /* body {
        grid-template-rows: var(--nav-height) 1fr
    } */

    body>.footer {
        opacity: 0;
        padding: 0
    }

    :root {
        --footer-height: 0px
    }

    .side>div.left>a+.dossiers {
        position: absolute;
        padding: 15px;
        right: 0;
        top: 17px;
        width: calc(100vw - 40px);
        height: calc(100vh - var(--nav-height) - var(--footer-height) - 150px);
        background: var(--bgcolor);
        border-radius: 4px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, .2);
        overflow: auto;
        -webkit-overflow-scrolling: touch;
        transform: scale(.5);
        transform-origin: 100% 0;
        opacity: 0;
        pointer-events: none;
        transition: transform .2s cubic-bezier(.22, .61, .36, 1), opacity .2s;
        z-index: 10000;
        box-sizing: border-box
    }

    .side>div.left .dossiers>div>.dossier>div>a {
        padding-top: 4px;
        padding-bottom: 4px;
        margin-bottom: 2px
    }

    .side>div.left .dossiers>div>.dossier>a {
        color: var(--fgcolor);
        margin-bottom: 10px;
        position: sticky;
        top: 0;
        z-index: 10;
        background: var(--bgcolor)
    }

    .side>div.left>a.opened+.dossiers {
        opacity: 1;
        transform: scale(1);
        pointer-events: all
    }

    .side>div.left>a>span:after,
    .side>div.left>a>span:before {
        content: "";
        position: absolute;
        left: 10px;
        right: 10px;
        height: 2px;
        background: #fff;
        top: 50%;
        margin-top: -1px;
        transition: transform .2s cubic-bezier(.18, .89, .32, 1.28), opacity .2s
    }

    .side>div.left>a>span:after {
        transform: rotate(45deg)
    }

    .side>div.left>a>span:before {
        transform: rotate(-45deg)
    }

    .side>div.left>a:not(.opened)>span:after,
    .side>div.left>a:not(.opened)>span:before {
        opacity: 0;
        transform: scale(1.2)
    }

    .side>div.left {
        position: sticky;
        top: 0;
        width: 100%;
        padding: 0;
        z-index: 999;
        height: 20px;
        overflow: visible;
        min-height: 0
    }

    .epreuve>.side {
        flex-direction: column
    }

    .side>div.question {
        border-left: 0;
        padding-left: 0;
        margin-left: 0
    }

    .side>div.left>a {
        position: absolute;
        right: 15px;
        top: -44px;
        width: 54px;
        height: 54px;
        border-radius: 50%;
        cursor: pointer;
        z-index: 9999;
        display: block;
        transition: box-shadow .2s;
        box-shadow: 0 4px 8px rgba(0, 0, 0, .2)
    }

    .side>div.question .enonce-bloc {
        padding-right: 80px
    }

    .side>div.left>a>span {
        display: block;
        height: 100%;
        border-radius: 50%;
        position: relative;
        z-index: 5;
        background: var(--rose)
    }

    .side>div.left>a.opened:after {
        opacity: 1;
        pointer-events: all
    }

    .side>div.left>a:before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        right: 0;
        bottom: 0;
        background: url(../img/questions.svg) no-repeat center/50%;
        filter: invert(1);
        transition: transform .2s cubic-bezier(.6, -.28, .74, .05), opacity .2s;
        z-index: 10
    }

    .side>div.left>a.opened:before {
        opacity: 0;
        transform: scale(.9)
    }

    body.using-app h1>a.back {
        /* display: none; */
    }

    body.using-app .side>div.left {
        /* position: fixed; */
        /* bottom: 0; */
        /* z-index: 1000; */
        /* background: red; */
        /* top: inherit; */
        margin-bottom: 40px;
    }

    body.using-app .side>div.left>a {
        right: 0;
    }

    body.using-app .side>div.left>a+.dossiers {
        top: 60px;
    }

    body.using-app .content>.inner>.container>.time-left {
        position: absolute;
        margin-top: 70px;
        margin-right: 68px;
    }
}

@media(max-width: 520px) {
    .side.login>.illu {
        display: none;
    }

    .side.login {
        width: 100%;
        max-width: 100%;
        flex-direction: column;
    }

    .header-top>.container>.account>a {
        font-size: 14px;
        white-space: pre;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .header-top>.container>.account>.bottom {
        flex-direction: column;
        gap: 0;
        align-items: flex-end;
    }

    .formules>.formule-item>.promo {
        right: 0;
    }

    .formules>.formule-item {
        flex-direction: column;
        gap: 14px;
        /* align-items: flex-end; */
    }

    .formules>.formule-item>.left {
        width: 100%;
        padding: 0;
    }

    .order-step {
        font-size: 22px;
    }

    .side.inscription {
        font-size: 16px;
    }

    .container>h1:first-child {
        font-size: 28px;
        margin-top: 0!important;
    }

    .tabbedPage>.tabs.uni {
        margin-bottom: 0;
        justify-content: center;
    }

    .accordeon>h2 {
        font-size: 16px;
    }

    .intro-signup>div {
        width: 100%
    }

    .content>.inner>.container>.time-left {
        z-index: 10;
        margin-top: 40px;
    }

    .page>h1 {
        /* background: var(--bgcolor2); */
        margin: 5px 0 0 0;
        padding: 0;
        box-sizing: border-box;
        font-size: 20px;
        position: sticky;
        /* top: -15px; */
        z-index: 10;
        white-space: pre;
        overflow: hidden;
        text-overflow: ellipsis
    }

    .medias>.media {
        width: calc(100% / 3 - 4px)
    }

    .epreuves>.head {
        display: none
    }

    .epreuves .items>.item {
        background: var(--bgcolor);
        border-radius: 2px;
        padding: 10px;
        margin-bottom: 10px;
        box-shadow: 0 2px 9px rgba(0, 0, 0, .2);
        flex-wrap: wrap;
        position: relative
    }

    .epreuves .items>.item>.status,
    .epreuves>.head>.status {
        position: absolute;
        right: 15px
    }

    .epreuves .items>.item>.name {
        width: calc(100% - 60px);
        font-weight: 700
    }

    .epreuves .items>.item>[data-title]:before {
        content: attr(data-title);
        color: var(--fgcolor);
        opacity: .5
    }

    .epreuves .items>.item>[data-title] {
        display: flex;
        flex-direction: column;
        align-items: center;
        font-size: 14px;
        color: var(--fgcolor);
        padding-top: 10px;
        line-height: 1.4em
    }

    body.using-app .side>div.left>a {
        top: 0;
    }

    body CarouselView>.contentCarousel {
        margin: 0;
    }

    body CarouselView>.navCarousel {
        display: none;
    }
    .toggle-item>.toggle-top>.icon {
        width: 48px;
        height: 48px;
    }

    .toggle-item>.toggle-top>.infos>.title {
        font-size: 18px;
    }
    .inner>.head>.left>a {
        font-size: 0;
    }

}

@media(max-width: 420px) {
    div.items-list.infos.matieres>.item>.top>.icon {
        width: 48px;
        height: 48px;
    }
    
    div.items-list.matieres .top>.infos>h3:last-child {
        /* font-weight: 500; */
        font-size: 16px;
    }
    .t-question .qcm-bloc {
        margin: 0;
    }
    .header-top>.left .logo {
        /* display: none; */
    }

    .header-top>.container>a.notifs[data-count]>span {
        right: inherit;
        left: 100%;
        margin-left: 5px;
    }

    .header-top>.container>a.notifs[data-count]>span:after {
        left: initial;
        right: 100%;
        border-width: 11px 6px 11px 0;
    }

    .filters {
        padding-left: 10px;
    }

    .filters>strong {
        display: none;
    }

    .header-top>.container>strong {
        display: none;
    }

    .container.wide {
        /* justify-content: space-between; */
    }

    .input-label,
    form.login>div>div,
    form.signup>div>div {
        width: 100%
    }

    .medias>.media {
        width: calc(100% / 2 - 4px)
    }

    form.login>div {
        /* flex-direction: column */
    }

    form.login>div>div {
        width: 100%;
        margin-bottom: 10px
    }
}