@media screen and (max-width: 1440px) {
    #share-print {
        translate: 0;
        left:0;
    }
}

@media screen and (max-width: 1079px) {
    body{
        width: 100vw !important;
        overflow-x: hidden;
    }

    /* ANCHORS */

    #pages-anchors {
        position: sticky;
        top: var(--header-height);
        overflow: hidden;
        max-height: 3.5em;
        transition: var(--transition-all);
    }
    #pages-anchors a{
        display: none;
        white-space: nowrap;
        max-width: 97vw;
        text-overflow: ellipsis;
        overflow: hidden;
    }
    #pages-anchors:focus-within
    {
        max-height: 100vh;
    }
    #pages-anchors:focus-within a
    {
        display: block;
    }

    #pages-anchors-links {
        max-width: 100%;
    }

    #first-anchor{
        text-transform: uppercase;
        width: 100%;
    }
    #first-anchor:before{
        content: "\f424";
        font-family: var(--font-awesome);
        padding-right: 0.2em;
        opacity: .5;
        font-size: 90%;
        font-weight: 600;
        transform: translateX(-4px) scale(.9);
        display: inline-block;
    }

    /* TITRES */
    .cfa-titre,
    .page-content h2,
    .content-custom h2
    {
        letter-spacing: 0px;
        font-size: 24px;
        /*margin-left:.5em;
        margin-right:.5em;*/
        line-height: 1.3;
        transform: scale(.9);
        text-align: left;
    }
    .content-custom h2
    {
        margin-top: .5em;
    }
    .cfa-titre:before,
    .page-content h2:before,
    .content-custom h2:before
    {
        top: -13px;
        left: -15px;
        width: 36px;
        height: 36px;
    }
    .page-content h3 {
        font-size: 20px;
    }
    .page-content h4,
    .content-custom h4
    {
        font-size: 18px;
    }
    .page-content h5,
    .content-custom h5,
    h5.evidence
    {
        width: 100%;
        padding: 1.2em 1.8em;
        text-indent: 2em;
        background-size: 3em;
    }
    /*  */

    .page-content li {
        padding-left: 1.5em;
        margin-bottom: 0.3em;
        text-indent: -1.5em;
    }

    .formation-list-line div:nth-child(1){
        width: 70%;
    }
    .formation-list-line div:nth-child(2){
        width: 30%;
        text-align: right;
    }
    .fl-date{
        font-family: var(--font-condensed);
        font-size: 13px;
        margin-left: 0;        
    }

    .image-inline.ck-widget img{
        width: 47%;
    }
    .editor .ck-content .image-inline {
        width: 47%;
        margin: 0 1.5%;
    }

    /* FORMATIONS */

    #formations h3{
        font-size: 170%;
        font-weight: 600 !important;
        text-align: center !important;
        width: 100%;
        display: block;
        margin:1em 0 2em 0;
    }

    #formations-recherche-container form {
        width: 90%;
        margin: 0 auto;
    }
    #formations-recherche .index-select-container .select2{
        width: 100%;
    }
    #formations-recherche .index-formation-button{
        margin-left: auto;
        margin-right: auto;
        display: block;
    }

    .formation-h-calendrier{
        display: none;
    }
    .formations-each {
        flex-direction: column;
        margin-bottom: 2.5em;
        padding: 1.5em 1em;
        box-shadow: var(--box-shadow);
        border-radius: var(--boutons-radius);
        border-bottom: 1px dotted #c4c4c4;
        font-weight: 500;
    }
    .formation-nl{
        background-color: var(--bg-cfa);
        color: white;
        border-radius: var(--boutons-radius);
        width: fit-content;
        padding-right:2em;
        padding-left:2em;
        margin: 0 auto;
        margin-top: 1em;
    }
    .formations-each .formation-link {
        margin-right: 0;
        border-right: none;
        /*border-bottom: 1px dotted #c4c4c4;*/
        margin-bottom: 1em;
        padding-bottom: 1em;
        padding-right: 0;
    }
    .formation-link{
        text-align: center !important;
    }
    .formations-liens-fiches{
        text-align: center;
    }
    .formations-calendriers {
        width: 100%;
        margin-left: 0;
        border-left: none;
        /*border-top: 1px dotted #c4c4c4; */
        margin-top: 1em;
        padding-top: 1em;
        align-items: center;
    }
    .formations-calendriers:before{
        content:"Calendriers";
        margin-bottom: 1em;
        font-weight: 600;
    }


    /* LE CFA UNIV */

    .equipe-bloc{
        width: 100%;
    }
    .equipe-bloc:nth-child(1){
        margin: unset;
    }


    /* OUTILS */

    #mes_outils_flex a.mes_outils_bloc {
        width: calc( 100% - 2em);
    }


    /* SHARE */
    #share-print {
        bottom: 0;
    }
    #sp-print {
        display: none;
    }
    #sp-share {
        margin-bottom: 0;
    }

    /* ACTUS */

    #actu-container{
        width: 100%;
        border: none;
        padding: 0;
    }
}