/**********************************************************************************************************************************************************/
/**************************************************************************** MIN 1466PX *****************************************************************/
/**********************************************************************************************************************************************************/

@media only screen and (min-width: 1466px) {

    /*
    .rangee-page p {
        font-size: 1.15rem;
        line-height: 1.6rem;
        margin-bottom: 15px;
        
    }
    
    .big,
    .big p,
    p.big {
        font-size: 1.3rem;
        line-height: 1.8rem;
    }
    */
    
    .fancybox-content {
        width: 65%;
    }

    
    
    
}

/**********************************************************************************************************************************************************/
/**************************************************************************** MAXI 1650 PX *****************************************************************/
/**********************************************************************************************************************************************************/

@media only screen and (max-width: 1650px) {
    
    .slider .wrapthin,
    .container-video-home .wrapthin,
    .top-image-home .wrapthin {
        max-width: 85%;
        padding: 0 calc(var(--leftright)*2);
    }
    
    
    
}



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

@media only screen and (max-width: 1366px) {
    
    
    html {
        font-size: 98%;
        -webkit-text-size-adjust: 98%;
        -ms-text-size-adjust: 98%;
    }
    

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

    body.home h1 {
        font-size: 2.5rem;
        line-height: 2.8rem;
    }

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

    body.home h2 {
        font-size: 2.1rem;
        line-height: 2.3rem;
    }

    h3 {
        font-size: 1.15rem;
        line-height: 1.5rem;
    }

    h4 {
        font-size: 1rem;
    }

    .big p,
    .big,
    p.big {
        font-size: 1.1rem;
        line-height: 1.5rem;
        margin-bottom: 10px;
    }

    .contenu-accueil-home .flex-item-moitie {
        width: 60%;    
    }
    
    .flex-item-moitie iframe {
        height: 300px;
    }

    .flex-item-quart iframe {
        height: 200px;
    }
    
    .flex-item-tiers iframe {
        height: 250px;
    }
    
    .wrapthin .flex-item-deux-tiers iframe,
    .flex-item-deux-tiers iframe {
        height: 350px;
    }

    .flex-item-quart iframe {
        height: 200px;
    }
    
    
    .slider .wrapthin,
    .container-video-home .wrapthin,
    .top-image-home .wrapthin {
        max-width: 80%;
        padding: 0 var(--leftright);
    }
    
    
}




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

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

    .slider .wrapthin,
    .container-video-home .wrapthin,
    .top-image-home .wrapthin {
        max-width: 80%;
        padding: 0 var(--leftright);
    }
    
    .container-video-home {
        height: 100vh;
    }

    .rangee-page p {
        max-width: 100% !important;    
    }
    
    header.header nav li {
        padding: 0 20px;    
    }
    
    
}

/**********************************************************************************************************************************************************/
/**************************************************************************** MAXI 1024 PX *****************************************************************/
/**********************************************************************************************************************************************************/

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

    
    body.home h1,
    h1 {
        font-size: 2rem;
        line-height: 2.3rem;
    }

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

    body.home h2 {
        font-size: 1.8rem;
        line-height: 2.2rem;
    }

    h3 {
        font-size: 1.1rem;
        line-height: 1.5rem;
    }

    .top-image-page.big-header p {
        font-size: 1.1rem;
        line-height: 1.6rem;
    }
    
    .contenu-accueil-home h3 {
        font-size: 1.3rem;
        line-height: 1.6rem;
    }
    
    .slider .wrapthin,
    .container-video-home .wrapthin,
    .top-image-home .wrapthin {
        max-width: 85%;
    }

    .wrapthin {
        padding-left: var(--leftright);
        padding-right: var(--leftright);
    }
    
    .container-video-home {
        height: 85vh;
    }
    
    section.medias {
        margin-bottom: 60px;    
    }
    
    footer.footer .flex-item-quart:first-child {
        width: 100%;
        margin-bottom: 30px;
        text-align: center;
    }
    
    footer.footer .caution {
        max-width: 50%;
        margin: 30px auto 20px;
        padding-right: 0;
    }
    
    footer.footer .caution img {
        float: none;
        margin: 0 0 20px;
    }
    
    footer.footer .flex-item-quart {
        width: 31%;
        margin-bottom: 20px;
    }
    
    
    
}

/**********************************************************************************************************************************************************/
/**************************************************************************** MAXI 900 PX *****************************************************************/
/**********************************************************************************************************************************************************/

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

    body.home .wrapthin .flex-item-tiers,
    body.home .wrapthin .flex-item-deux-tiers {
        width: 48%;
    }
    
    .wrapsuperthin {
        width: 100%;
        max-width: 100%;
        padding-right: var(--leftright);
        padding-left: var(--leftright);
    }

}



/**********************************************************************************************************************************************************/
/**************************************************************************** MAXI 768 PX *****************************************************************/
/**********************************************************************************************************************************************************/

@media only screen and (max-width: 768px) {
    
    
    body.home h1,
    h1 {
        font-size: 2rem;
        line-height: 2.3rem;
    }

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

    body.home h2 {
        font-size: 1.8rem;
        line-height: 2.2rem;
    }

    h3 {
        font-size: 1.1rem;
        line-height: 1.5rem;
    }
    
    .flex-item-moitie {
        width: 100%;
        margin-bottom: 30px;
    }
    
    .wrapthin .flex-item-tiers,
    .wrapthin .flex-item-deux-tiers {
        width: 100%;
    }
    
    .flex-item-50 {
        width: 100%;
    }
    
    .flex-item-quart {
        width: 48%;
        margin-bottom: 20px;
    }
    
    .flex-item-cinq {
        width: 31%;
        margin-bottom: 20px;
    }

    .flex-item-tiers,
    .flex-item-deux-tiers {
        width: 100%;
        margin-bottom: 20px;
    }
    
    section {
        padding: 40px 0;
    }
    
    .padding40 {
        padding: 30px;
    }

    .padding30 {
        padding: 20px;
    }

    .padding80 {
        padding: 40px;
    }

    #toTop {
        display: none !important;
    }
    
    header.header,
    header.header.scroll {
        padding: 12px 8px;    
    }
    
    header.header .logo-header,
    header.header.scroll .logo-header {
        width: 125px;
        height: 30px;
    }

    header.header a.cta,
    header.header.scroll a.cta {
        padding: 5px 20px;
        border-radius: 26px;
        font-size: .85rem;
    }

    header.header nav li a::after,
    header.header.scroll nav li a::after {
        margin: 2px auto 0;
        height: 4px;
    }
    
    .contenu-accueil-home .flex-item-moitie {
        width: 100%;
    }
    
    a.cta,
    a.cta.big {
        font-size: .9rem;
        padding: 8px 20px;
    }
    
    #shiftnav-toggle-main.shiftnav-toggle-edge-right,
    #shiftnav-toggle-main.shiftnav-toggle-edge-right.scroll {
        top: 0;
    }
    
    .top-image-home {
        height: 75vh;
    }

    .key-visual {
        height: 75vh;
    }
    
    .slider .wrapthin,
    .container-video-home .wrapthin,
    .top-image-home .wrapthin {
        max-width: 95%;
    }
    
    .flex-item-quart iframe,
    .flex-item-trois-quart iframe {
        height: 300px;
    }
    
    .wrapthin .flex-item-deux-tiers iframe,
    .flex-item-moitie iframe,
    .flex-item-deux-tiers iframe,
    .flex-item-tiers iframe {
        height: 300px;
    }
    
    .item-secteur-popin .picto-secteur {
        display: block;
        width: 60px;
        height: 60px;
        margin: 0 auto 15px;
    }
    
    .item-secteur-popin .titre-secteur h2 {
        font-size: 1.7rem;
        line-height: 2rem;
        display: block;
        text-align: center;
        position: relative;
    }
    
    .item-secteur-popin .titre-secteur {
        height: auto;
        margin-bottom: 0;
    }
    
    .fancybox-content {
        width: 95%;    
    }
    
    .item-secteur-popin {
        padding: 30px;    
    }
    
    .chiffre {
        font-size: 2rem;
        margin-top: -5px;
    }
    
    #content {
        padding-top: 55px;    
    }
    
    .top-image-page.big-header .wrapthin {
        max-width: 100%;
        width: 100%;
    }
    
    .rangee-page {
        padding-top: 50px;
        padding-bottom: 50px;
    }
    
    .wrapthin {
        padding-right: var(--leftright);
        padding-left: var(--leftright);
    }
    
    .rangee-page.fullwidth .flex-item-50 {
        min-height: 1px;
    }
    
    .rangee-page.fullwidth .flex-item-50.bkg-cover {
        height: 50vh;
    }
    
    
    body.page-template-page-recit section.section-recits .flex-item-tiers {
        width: 48%;    
    }
    
    .container-video-home {
        top: 60px;
        height: 80vh;
    }
    
    .container-video-home video {
        height: 80vh;    
    }
    
    section.medias {
        margin-bottom: 0;    
    }
    
    .flex-no-margin {
        margin-bottom: 0;    
    }
    
    .container-titre-secteur {
        min-height: 1px;
    }
    
    .rangee-page.fullwidth.texte-droite .moitie-texte {
        padding: 50px;
    }

    .rangee-page.fullwidth.texte-gauche .moitie-texte {
        padding: 50px;
    }

    body.home .wrapthin .flex-item-tiers,
    body.home .wrapthin .flex-item-deux-tiers {
        width: 100%;
    }
    
    
    
}




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

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

    
    html {
        font-size: 90%;
        -webkit-text-size-adjust: 90%;
        -ms-text-size-adjust: 90%;
    }
    
    
    .flex-item-cinq {
        width: 48%;
    }

    
    #inner-header.wrap {
        padding-right: 60px;    
    }
    
    .flex-item-quart iframe,
    .flex-item-trois-quart iframe,
    .flex-item-moitie iframe,
    .wrapthin .flex-item-deux-tiers iframe,
    .flex-item-deux-tiers iframe,
    .flex-item-tiers iframe {
        height: 300px;
    }
    
    .item-carrousel .container-vignette-secteur {
        max-height: 35vh;
    }
    
    .container-video-home video {
        height: 70vh;    
    }
    
    .contenu-accueil-home a.cta {
        margin-left: 0 !important;    
    }

    .container-video-home {
        top: 55px;    
    }
    
    footer.footer .flex-item-quart:not(.premiere-colonne) {
        width: 100%;
        text-align: center;
        margin-bottom: 0;
    }
    
    footer.footer .nav-reseaux-sociaux {
        text-align: center;
    }
    
    .rangee-page.rangee-full iframe {
        height: 400px;
    }

    
    
    
}




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

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

    
    section {
        padding: 20px 0;
    }

    .flex-item-quart {
        width: 100%;
    }

    .flex-item-trois-quart {
        width: 100%;    
    }
    
    .flex-item-quart iframe,
    .flex-item-trois-quart iframe,
    .flex-item-moitie iframe,
    .wrapthin .flex-item-deux-tiers iframe,
    .flex-item-deux-tiers iframe,
    .flex-item-tiers iframe {
        height: 240px;
    }
    
    #carrousel-secteurs .item-carrousel {
        border-radius: 20px;
    }

    .item-carrousel .container-vignette-secteur {
        border-top-right-radius: 18px;
        border-top-left-radius: 18px;
        max-height: 25vh;
    }    
    
    .padding40 {
        padding: 20px;    
    }
    
    p.big,
    .big p,
    .big {
        font-size: 1rem;
        line-height: 1.3rem;
    }
    
    #carrousel-secteurs.owl-carousel .owl-nav {
        margin-left: -64px;    
    }
    
    #carrousel-secteurs.owl-carousel .owl-nav button.owl-prev,
    #carrousel-secteurs.owl-carousel .owl-nav button.owl-next {
        width: 44px;
        height: 44px;
    }
    
    #carrousel-secteurs .owl-prev::before,
    #carrousel-secteurs .owl-next::before {
        width: 44px;
        height: 44px;
        line-height: 40px;
        font-size: 1.1rem;
    }
     
    .rangee-page {
        padding-top: 40px;
        padding-bottom: 40px;
    }
    

    body.page-template-page-recit section.section-recits .flex-item-tiers {
        width: 100%;    
    }
    
    .item-secteur-popin .picto-secteur {
        width: 50px;
        height: 50px;
    }
    
    .item-secteur-popin .titre-secteur h2 {
        font-size: 1.4rem;
        line-height: 1.8rem;
    }
    
    .nav-reseaux-sociaux ul li a {
        width: 40px;
        height: 40px;
    }
    
    .nav-reseaux-sociaux {
        text-align: center;    
    }
    
    
    #tarteaucitronAlertBig #tarteaucitronDisclaimerAlert,
    #tarteaucitronAlertBig #tarteaucitronDisclaimerAlert strong {
        display: block !important;
        text-align: center !important;
        margin-bottom: 12px;
        padding: 0 20px;
    }
    
    .owl-carousel#carrousel-secteurs {
        width: 90%;
        left: 5%;
    }
    
    h3.header-accordion {
        font-size: 1.3rem;
        line-height: 1.6rem;
    }
    
    .top-image-page {
        height: 20vh;    
    }
    
    body.home h1,
    h1 {
        font-size: 1.8rem;
        line-height: 2.1rem;
    }

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

    body.home h2 {
        font-size: 1.6rem;
        line-height: 1.9rem;
    }

    .item-carrousel.bkg-bleu p.big {
        font-size: .9rem;
        line-height: 1.25rem;
        margin-bottom: 0;
    }
    
    .item-carrousel-logo {
        height: 60px;
        width: 80px;
    }
    
    footer.footer .caution {
        max-width: 80%;    
    }
    
.item-carrousel.bkg-bleu .chiffre {
    font-size: 1.3rem;
    opacity: .7;
    text-align: left !important;
}

.item-carrousel.bkg-bleu .chiffre span {
    font-size: 1.1rem;
}
    
    
    
    
}

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

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

    #inner-header.wrap {
        padding-right: 40px;    
    }
    
    .shiftnav nav.shiftnav-nav::before {
        width: 180px;
        height: 50px;
        margin-bottom: 10px;
    }
    
}



