/**********************************************************************************************************************************************************/
/**************************************************************************** MAXI 1600PX *****************************************************************/
/**********************************************************************************************************************************************************/

@media only screen and (max-width: 1600px) {

    header.header nav li {
        padding: 0 20px;
    }

    .header.header .flex-item-trois-quart {
        padding-left: 80px;    
    }
    
}


/**********************************************************************************************************************************************************/
/**************************************************************************** MAXI 1366 PX *****************************************************************/
/**********************************************************************************************************************************************************/

@media only screen and (max-width: 1366px) {

    :root {
        --leftright: 5vw;
        --radius: 40px;
        --radiusbig: 60px;
    }
    
    h1 {
        font-size: 3rem;
        line-height: 3.3rem;
    }

    h2 {
        font-size: 2.7rem;
        line-height: 3rem;
    }

    h3 {
        font-size: 2.2rem;
        line-height: 2.5rem;
    }

    h4 {
        font-size: 1.5rem;
        line-height: 1.8rem;
    }

    h5 {
        font-size: 1.2rem;
        line-height: 1.4rem;
    }
    
    .superbig {
        font-size: 2.4rem;
        line-height: 2.7rem;
        margin-bottom: 25px;
    }
    
    .big,
    p.big {
        font-size: 1.2rem;
    }
    
    header.header nav li a {
        font-size: 1rem;
    }

    .top-home {
        height: 90vh;
    }

    .container-video-home {
        height: 90vh;
    }
    
    .slider {
        height: 90vh;
    }
    
    .flex-item-moitie.module-actu {
        height: 70vh;    
    }
    
    section.section-actualites .owl-carousel .container-flex {
        height: 32vh;    
    }

    section {
        padding: 40px 0;
    }
    
    
    
    
}




/**********************************************************************************************************************************************************/
/**************************************************************************** MAXI 1280 PX *****************************************************************/
/**********************************************************************************************************************************************************/

@media only screen and (max-width: 1280px) {
    
    .container-accroche-site {
        bottom: calc(var(--leftright) / 3);
        right: calc(var(--leftright) / 1);
        max-width: 500px;
        padding: 30px 30px;
        border-top-left-radius: var(--radius) !important;
    }

    .top-home::after,
    .container-video-home::after,
    .slider::after {
        width: calc(var(--leftright) / 2);
    }
    
    .container-accroche-site::before {
        display: none;
    }
    
    header.header .flex-item-trois-quart {
        width: 180px;
        padding-left: 0;
    }
    
    .top-image-page {
        height: 260px !important;
        min-height: 1px !important;
        max-height: 260px !important;
    }

    .top-image-page.default,
    .top-image-single.default,
    .top-image-single {
        height: 200px !important;
        min-height: 1px !important;
        max-height: 200px !important;
    }

    a.cta {
        padding: 12px 40px;
        font-size: 1rem;
        border-radius: 30px;
    }
    
    a.cta span.material {
        font-size: 1.5rem;
    }
    
    .youtube-full,
    .dailymotion_player,
    .youtube_player,
    .youtube-full iframe {
        height: 500px;
    }

    .youtube-deux-tiers,
    .youtube-deux-tiers .youtube_player,
    .youtube-deux-tiers .dailymotion_player,
    .youtube-deux-tiers iframe {
        height: 450px;
    }

    .youtube-moitie,
    .youtube-moitie .dailymotion_player,
    .youtube-moitie .youtube_player,
    .youtube-moitie iframe {
        height: 430px;
    }

    .youtube-quart,
    .youtube-quart .dailymotion_player,
    .youtube-quart .youtube_player,
    .youtube-quart iframe {
        height: 200px;
    }
    
    .filet-epais {
        height: 30px;
        border-bottom-left-radius: var(--radius);
    }

    .rangee-page {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .rangee-image-seule {
        height: 60vh;
        max-height: 60vh;
    }
    
    .picto-chiffre {
        width: 70px;
        height: 70px;
    }

    .chiffre-cle {
        font-size: 3.5rem;
        line-height: 3rem;
    }
    
    .owl-carousel .owl-nav button.owl-prev,
    .owl-carousel .owl-nav button.owl-next {   
        width: 60px;
        height: 60px;
    }
    
    .owl-carousel .owl-nav button.owl-prev::before,
    .owl-carousel .owl-nav button.owl-next::before {
        font-size: 1.3rem;
        line-height: 60px;
        width: 60px;
        height: 60px;
    }    
    
    .compteur-projets.clone-compteur {
        top: 20px;
        font-size: 1rem;
    }
    
    #carrousel-projets.owl-carousel .item .module-carrousel-projet {
        max-height: 60vh;    
    }
    
    section.section-actualites a.cta {
        margin-top: 30px !important;    
    }
    
    .parallax-window {
        height: 60vh;
        min-height: 50vh;
        max-height: 60vh;
    }
    
    .parallax-window.motif-after-gauche::after {
        height: 50px;    
    }
    
    .margintopneg {
        margin-top: -50px;
    }
    
    
    
}




/**********************************************************************************************************************************************************/
/**************************************************************************** MAXI 967 PX *****************************************************************/
/**********************************************************************************************************************************************************/

@media only screen and (max-width: 967px) {
    
    .wrapthin {
        width: 100%;
        max-width: 100%;
        padding: 0 20px
    }

    h1 {
        font-size: 2.6rem;
        line-height: 3rem;
    }

    h2 {
        font-size: 2.3rem;
        line-height: 2.6rem;
    }

    h3 {
        font-size: 1.9rem;
        line-height: 2.2rem;
    }

    h4 {
        font-size: 1.3rem;
        line-height: 1.6rem;
    }

    h5 {
        font-size: 1.1rem;
        line-height: 1.3rem;
    }
    
    .superbig {
        font-size: 2.1rem;
        line-height: 2.5rem;
    }
    
    .big,
    p.big {
        font-size: 1.2rem;
    }
    
    body:not(.home) .rangee-page .flex-item-moitie:not(.noresp),
    body:not(.home) .rangee-page .flex-item-tiers:not(.noresp),
    body:not(.home) .rangee-page .flex-item-deux-tiers:not(.noresp) {
        width: 100%;
    }
    
    body.home .rangee-page .flex-item-trois-quart:not(.noresp),
    body.home .rangee-page .flex-item-quart:not(.noresp) {
        width: 48%;
    }
    
    .flex-item-tiers,
    .flex-item-deux-tiers {
        width: 48%;
    }
    
    .margin-bottom-resp {
        margin-bottom: 20px;    
    }
    
    .cta.marginzero {
        margin: 30px 15px 30px 0 !important;    
    }
    
    .picto-chiffre {
        width: 60px;
        height: 60px;
    }

    .chiffre-cle {
        font-size: 2.7rem;
        line-height: 2.1rem;
    }
    
    .parallax-window.motif-after-gauche::after {
        display: none;
    }
    
    .top-image-page {
        height: 220px !important;
    }

    .top-image-page.default {
        height: 160px;
    }

    .img-single-projet {
        min-height: 30vh;
    }
    
    .photo-minisite {
        height: 150px;
    }
    
    .top-home {
        height: 70vh;
    }

    .container-video-home {
        height: 70vh;
    }
    
    .slider {
        height: 70vh;
    }
    
    #toTop {
        display: none !important;
    }
    
    #carrousel-projets.owl-carousel .item .module-carrousel-projet {
        max-height: 50vh;    
    }
    
    .padding50 {
        padding: 40px;
    }
    
    .padding40 {
        padding: 30px;
    }

    .padding30 {
        padding: 20px;
    }
    
    section {
        padding: 30px 0;    
    }
    
    ul.menu-medias {
        margin-top: 0;    
    }
    
    .flex100 {
        width: 100%;    
    }
    
    .videos-medias .flex-item-tiers,
    .mini-sites .flex-item-tiers {
        width: 31%;    
    }
    
    .rangee-page {
        padding-top: 30px;
        padding-bottom: 30px;
    }
    
    .filet-epais {
        margin: 20px 0 20px 20%;
    }
    
    .img-parallax {
        background-attachment: fixed !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
    }
    
    .margintopneg {
        margin-top: 0;
    }
    
    .desktop-only {
        display: none;
    }
    
    .forme-menthe-after::after {
        width: 40px;    
    }
    
    .container-membres .flex-item-quart {
        width: 48%;    
    }
    
    .parallax-background.motif-after-gauche::after {
        height: 40px;    
    }
    
}



/**********************************************************************************************************************************************************/
/**************************************************************************** MAXI 860 PX *****************************************************************/
/**********************************************************************************************************************************************************/

@media only screen and (max-width: 860px) {
    
    
    .thin {
        width: 100%;
        max-width: 100%;
        padding: 0 15px;
    }
    
    .flex-item-cinq {
        width: 31%;
    }

    iframe {
        height: 300px;
    }

    .flex-item-deux-tiers iframe {
        height: 230px;
    }

    .flex-item-moitie-moitie iframe {
        height: 300px;
    }

    .flex-item-tiers iframe {
        height: 230px;
    }

    .flex-item-quart iframe {
        height: 230px;
    }
    
    .logo-header {
        width: 160px;
        height: 44px;
    }
    
    .top-image-single.default,
    .top-image-single {
        height: 160px;
    }
    
    .flex-item-moitie.module-actu {
        height: 50vh;
    }
    
    
    h1 {
        font-size: 2.2rem;
        line-height: 2.5rem;
    }

    h2 {
        font-size: 2rem;
        line-height: 2.3rem;
    }

    h3 {
        font-size: 1.6rem;
        line-height: 2rem;
    }

    h4 {
        font-size: 1.2rem;
        line-height: 1.6rem;
    }

    h5 {
        font-size: 1rem;
    }
    
    .superbig {
        font-size: 1.9rem;
        line-height: 2.3rem;
    }
    
    .videos-medias .flex-item-tiers,
    .mini-sites .flex-item-tiers {
        width: 48%;
    }
    
    .illustration-forme.horizontale {
        max-width: 400px !important;
    }
    
    .illustration-forme.horizontale {
        position: relative;
    }
    
    .flex-item-moitie.module-actu {
        width: 100%;
        margin-bottom: 30px;
        height: 50vh
    }
    
    .flex-item-moitie.module-actu-carrousel {
        width: 100%;    
    }
    
    #carrousel-actualites.owl-carousel .owl-nav {
        text-align: center;    
    }
    
    section.section-actualites .owl-carousel .container-flex {
        height: auto;
        margin-bottom: 4vh !important;
    }
    
    
    section.section-actualites .owl-carousel .container-flex .module-actu {
        height: 30vh;    
    }
    
    .flex-item-tiers,
    .flex-item-deux-tiers {
        width: 100%;
    }
    
    .rangee-chiffres .flex-item-quart,
    .rangee-chiffres .flex-item-trois-quart,
    body.home .rangee-page .flex-item-trois-quart:not(.noresp),
    body.home .rangee-page .flex-item-quart:not(.noresp),
    body.home .rangee-page .flex-item-moitie:not(.noresp),
    body.home .rangee-page .flex-item-tiers:not(.noresp),
    body.home .rangee-page .flex-item-deux-tiers:not(.noresp) {
        width: 100%;
    }
    
    .illustration-forme {
        margin-top: 20px !important;
        max-width: 300px !important;
        /*display: none;*/
    }
    
    .wrap {
        overflow-x: hidden;    
    }
    
    .owl-carousel .owl-nav {
        text-align: center;    
    }
    
    #carousel-chiffres {
        margin-top: 30px;    
    }
    
    .floatleft {
        max-width: 48%;
    }
    
    .left,
    .right:not(.container-infos-actus) {
        text-align: center;    
    }
    
    .left .cta,
    .right .cta {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    footer.footer .flex-item-quart:not(.flex100){
        width: 48%;
        margin-bottom: 20px;
    }
    
    .container-accroche-site {
        bottom: calc(var(--leftright) / 2);
        right: calc(var(--leftright) *2);
        max-width: 80%;
        padding: 30px 30px;
        border-top-left-radius: var(--radius) !important;
    }

    .top-home::after,
    .container-video-home::after,
    .slider::after {
        width: calc(var(--leftright));
    }
    
    .padding50 {
        padding: 30px;
    }
    
    .padding40 {
        padding: 25px;
    }
    
    section {
        padding: 20px 0;
    }
    
    .section-carrousel-projets {
        padding-top: 30px !important;
    }
    
    .container-carrousel-projets {
        margin-top: -50px;
    }
    
    #carrousel-projets.owl-carousel .item .module-carrousel-projet {
        max-height: 35vh;    
    }

    .container-carrousel-projets {
        margin-bottom: 20px;    
    }
    
    #media-boxes-container-5c66a035032d3 .media-box-thumbnail-container,
    #media-boxes-container-5c66a035032d3 .media-box-thumbnail-container img  {
        height: 180px !important;    
    }
    
    .container-flex.videos-medias iframe {
        height: 180px;
    }
    
    .flex-item-moitie {
        width: 100%;    
    }
    
    #carrousel-actualites.owl-carousel .owl-nav {
        margin-top: 20px;    
    }
    
    .owl-carousel .owl-nav {
        margin-top: 20px;    
    }
    
    .rangee-gouvernance .titre-rangee {
        text-align: center;    
    }
    
}




/**********************************************************************************************************************************************************/
/**************************************************************************** MAXI 600 PX *****************************************************************/
/**********************************************************************************************************************************************************/

@media only screen and (max-width: 600px) {

    
    .flex-item-cinq {
        width: 48%;
    }

    .top-home {
        height: 60vh;
    }

    .container-video-home {
        height: 60vh;
    }
    
    .slider {
        height: 60vh;
    }
    
    .rangee-page {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    footer.footer .wrap {
        padding: 0 calc(var(--leftright) * 2);
    }
    
    .radius-big.padding50.bkg-bleu-electrique .floatleft {
        float: none !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    h1 {
        font-size: 2rem;
        line-height: 2.3rem;
    }
    
    .container-carrousel-projets {
        margin-top: 0;        
    }
    
    #carrousel-projets.owl-carousel {
        margin-left: -55%;
        padding-top: 0;
        padding-bottom: 100px;
    }
    
    #carrousel-projets.owl-carousel .owl-nav {
        right: 0;    
    }
    
    #carrousel-projets.owl-carousel .owl-nav {
        top: inherit;
        bottom: 0;
    }
    
    .container-flex.videos-medias iframe {
        height: 130px;
    }
    
    .photo-membre {
        height: 300px;
    }
    
    
    
}




/**********************************************************************************************************************************************************/
/**************************************************************************** MAXI 480 PX *****************************************************************/
/**********************************************************************************************************************************************************/

@media only screen and (max-width: 480px) {

    
    section {
        padding: 20px 0;
    }
    

    p.big,
    .big p,
    .big {
        font-size: 1rem;
        line-height: 1.3rem;
    }
    
    .contenu-flexible iframe {
        height: 200px;    
    }
    
    footer.footer .flex-item-quart:not(.flex100){
        width: 100%;
    }
    
    footer.footer .flex-item-quart {
        text-align: center;    
    }
    
    
    header.header .flex-item-trois-quart {
        width: 80px;    
    }
    
    .container-accroche-site {
        bottom: calc(var(--leftright) * 2);
        right: calc(var(--leftright) * 3);
        max-width: 75%;
    }

    .top-home::after,
    .container-video-home::after,
    .slider::after {
        width: calc(var(--leftright) * 2);
        bottom: calc(var(--leftright) * 2);
    }
    
    .photo-membre {
        height: 220px;
    }
    
    
    
    
    
}

/**********************************************************************************************************************************************************/
/**************************************************************************** MAXI 375 PX *****************************************************************/
/**********************************************************************************************************************************************************/

@media only screen and (max-width: 375px) {

    .container-membres .flex-item-quart {
        width: 100%;
    }
    
    .photo-membre {
        height: 300px;
    }
    
    
}



