@media only screen and (max-width: 1070px) {

    [content-slider] [chemps] {
        flex-direction: row !important;
    }

    [rosinante] {
        height: 48em;
    }

    .slide figure {
        width: 100%;
    }

    [content-slider] > div {
        width: 90%;
    }


    [slide-left], [slide-right] {
        bottom: 0em;
        z-index: 99999;
    }

    [content-slider] > div[flex][c] {
        display: block;
    }

    #slider {
        margin: 0 0 3em 0;
    }

    [chemps] {
        display: block;
        margin: 0;
        height: auto;
    }

    [slide-left] {
        left: 1em;
    }

    [slide-right] {
        right: 1em;
    }

    [newslist] [item] {
        display: block;
        width: 90%;
    }


    nav[fixed]:not(:hover):not([active]) {
        right: unset;
        width: 5em;
        background: white url("/images/menu.svg") center no-repeat;
        background-size: contain;
        overflow: hidden !important;;
    }

    nav[fixed]:not(:hover):not([active]) * {
        opacity: 0;
        overflow: hidden !important;
    }

    nav[fixed]:not(:hover):not([active]) :checked + div {
        height: 0;
    }


    [content1] [container],
    [content1] [container] > div,
    [content1] [videos],
    [partners] h2 + div,
    [partners] h2 + div > div,
    [partners] h2 + div {
        height: auto !important;
        width: 100% !important;
        display: block !important;
        border: none !important;
        box-shadow: none !important;
    }

    [content1] [videos] {
        height: auto !important;
        white-space: nowrap;
        font-size: 1em;
        direction: initial;
    }

    [content1] [videos] > * {
        white-space: normal;
        font-size: 1em;

    }

    [content1] [videos] .video {
        width: 20em;
        margin: 0 !important;
        display: inline-block;
    }

    [birth] {
        display: none;
    }


    [content1],
    [partners],
    [partners] h2 + div > div {
        padding: 3em 0 !important;
    }
    [news] [item] p{
        display: none;
    }

}

@media only screen and (max-width: 950px) {

    [birth] article{
        justify-content: center;
    }
    [parablock] [pb-navigator]{
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    [parablock] [pb-navigator] > a{
        margin-top: 1em !important;
        padding-top: 0 !important;
        font-size: 2rem !important;
    }


    [rosinante] {
        height: 16em;
        display: block;
    }

    [content-slider] {
        margin-top: 0;
    }

    [rosinante] h1 {
        font-size: 2rem;
    }

    .slide figure {
        width: 100%;
        max-width: 100%;
    }

    .slide [abs] [text-right] [text] > p {
        display: none;
    }

    [content-slider] > div {
        width: 100%;
    }

    header {
        margin-top: 0;
    }

    /*Small nav menu*/
    body > nav {
        display: none;
    }
}

@media (min-width: 950px) {
    ffv-menu {
        display: none;
    }
}

ffv-menu {
    position: fixed;
    top: 0;
    height: 100%;
    width: 100%;
    z-index: 9999;
}

ffv-menu * {
    z-index: 9999;
}

mat-toolbar,
.mat-drawer-shown,
.mat-drawer-shown + div + mat-sidenav {
    pointer-events: all;
}

ffv-menu,
div:not(.mat-drawer-shown) + div + div + div + mat-sidenav-content {
    pointer-events: none;
}

@media (max-width: 700px) {

    footer [nav]{
        display: none;
    }

    .slide > figure > [abs] > div {
        padding: 0;
    }

    .slide > figure > [abs] h4 {
        width: 100%;
        text-align: center;
    }

    .slide > figure > [abs] [text] {
        width: 100%;
        text-align: center;
    }

    #slider {
        height: 25em;
    }
}




    /* Mobile  only*/
    @media only screen and (min-width:700px) {
        .mobile {
            display: none !important;;
        }
        body > section > article > section {
            margin: 2em;
        }
    }
    /*  Desktop  only*/
    @media only screen and (max-width:700px) {
        .desktop {
            display: none !important;
        }
        [news] [item] {
            left: 0 !important;
        }
    }


#j2 {
    /* padding-bottom: 2rem; */
}

    [item] [date].mobile {
        padding: 0;
        font-size: 14px;
        margin-bottom: .5rem;
        align-items: flex-end;
    }
    [item] [date].mobile [day] {
        font-size: 18px;
        margin-right: .25em;
    }

    
@media (max-width: 950px) {
    #calendar {
        font-size: 9px;
    }
    .ready::after {
        display: none !important; 
    }
}