/*****************
	  1330px
******************/
@media (max-width: 1330px) {
    /**** ACTUALITES ****/
    #archives_slider .card-slider__image {
        height: 300px;
    }

}

/*****************
	  +1220px
******************/
@media screen and (min-width: 1220px) {
    /******	  NAV	 ******/
    .nav {
        height: calc(4rem + 2rem);
        display: flex;
        justify-content: space-between;
        max-width: 1645px;
        margin: var(--center);
    }
    .nav__toggle {
        display: none;
    }
    .nav__list {
        height: 100%;
        display: flex;
        column-gap: 2.5rem;
        align-items: center;
    }
    .nav__link {
        height: 100%;
        padding: 0;
        justify-content: initial;
        column-gap: .25rem;
    }
    .nav__link:hover {
        background-color: transparent;
    }

    /******	  NAV DROPDOWNS	 ******/
    .dropdown__item,
    .dropdown__subitem {
        position: relative;
        height: 100%;
    }
    .dropdown__menu,
    .dropdown__submenu {
        max-height: initial;
        overflow: initial;
        position: absolute;
        left: auto;
        top: 6rem;
        opacity: 0;
        pointer-events: none;
        transition: opacity .3s, top .3s;
        min-width: 180px;
    }
    .dropdown__link,
    .dropdown__sublink {
        padding-inline: 1rem;
    }
    .dropdown__subitem .dropdown__link {
        padding-inline: 1rem;
    }
    .dropdown__submenu {
        position: absolute;
        left: 100%;
        top: .5rem;
    }
    /* Show dropdown menu */
    .dropdown__item:hover .dropdown__menu {
        opacity: 1;
        top: 5rem;
        pointer-events: initial;
        transition: top .3s;
    }
    /* Show dropdown submenu */
    .dropdown__subitem:hover > .dropdown__submenu {
        opacity: 1;
        top: 0;
        pointer-events: initial;
        transition: top .3s;
    }
}

/*****************
		1220px
******************/
@media (max-width: 1220px) {
    /******	  NAVIGATION	******/
    .top-nav {
        display: none;
    }
    .nav {
        height: 5rem;
    }
    .nav__logo {
        top: 60px;
        left: 0;
    }
    .nav__menu {
        position: fixed;
        left: 0;
        bottom: 0;
        width: 100%;
        overflow: auto;
        pointer-events: none;
        opacity: 0;
        transition: top .4s, opacity .3s;
    }
    .nav__menu::-webkit-scrollbar {
        width: 0;
    }
    .nav__list {
        background-color: var(--color-white);
        box-shadow: 0 0 99px rgba(0, 0, 0, 0.32);
        overflow: auto;
        height: 100%;
        padding-top: 250px;
    }
    .nav__link:hover:after {
        display: none;
    }
    .contact_link_nav {
        width: fit-content;
        padding: 1.25rem 30px;
    }

    /* Show menu */
    .show-menu {
        opacity: 1;
        top: 0;
        pointer-events: initial;
        height: 100vh;
    }
    .show-menu .nav__link {
        color: var(--color-text);
        font-size: 1.3rem;
        justify-content: center;
    }
    .show-menu .dropdown__arrow {
        content: url("/design/img/nav-arrow-down-black.svg");
    }
    .show-menu .dropdown__menu li a {
        justify-content: center;
    }
    .show-menu .btn_cta_general {
        border: 1px solid var(--color-text);
    }
    .show-menu .contact_link_nav {
        margin: var(--center);
    }


    /******	  ANIMATION TOGGLE MENU 	******/
    .nav__toggle {
        z-index: 99;
    }
    .bar, .bar::before, .bar::after {
        transition: all 0.2s linear;
        position: absolute;
        background: var(--color-white);
        margin: auto;
        width: 100%;
        height: 0.15rem;
        content: '';
        top: 50%;
        left: 0;
        cursor: pointer;
    }
    .bar {
        margin-top: -0.2rem;
    }
    .bar::before {
        top: -0.45rem;
    }
    .bar::after {
        top: 0.45rem;
    }
    .bar::before, .bar::after {
        transform: rotate(0deg);
    }
    .show-icon .bar {
        background: 0;
    }
    .show-icon .bar::before {
        transform: rotate(45deg);
    }
    .show-icon .bar::after {
        transform: rotate(-45deg);
    }
    .show-icon .bar::before, .show-icon .bar::after {
        top: 0;
    }
    .show-icon .bar, .show-icon .bar::before, .show-icon .bar::after {
        transition: all 0.2s linear;
    }
    .show-icon .bar::before,
    .show-icon .bar::after {
        background: var(--color-text);
    }
}

/*****************
		1024px
******************/
@media (max-width: 1024px) {
    /******	  GENERAL	******/
    :root {
        --padding: 100px 15px;
    }
    .surtitre-left:after  {
        width: 60px;
    }
    .surtitre-middle:after,
    .surtitre-middle:before {
        width:60px;
    }
    h1 {
        font-size: 3rem;
    }

    /****** NAV *******/
    .nav__logo img {
        max-width: 100px;
    }
    .nav__logo {
        top: 55px;
    }


    /******	  COOKIES	******/
    #termsfeed-com---nb {
        max-height: 300px;
        max-width: 100%;
    }

    /******	  ACCUEIL	******/
    /* HERO */
    .hero_home_wrapper {
        max-height: 650px !important;
        height: 650px !important;
    }
    .hero_home_title {
        font-size: 3.5rem;
    }
    /* quick access */
    .quick-access__icon {
        height: 300px;
    }
    .quick-access__top {
        flex-direction: column;
        row-gap: 40px;
    }
    .quick-access__right {
        max-width: 100%;
    }

    /**** ACTUALITES ****/
    .actus_content {
        column-gap: 30px;
    }
    .actus_left .card-slider__item:nth-child(2n) .card-slider__image {
        height: 450px;
    }
    .card-slider__image {
        height: 350px;
    }

    /******	  ARCHIVES ACTUS	******/
    .archivesActus_content {
        grid-template-columns: minmax(0,1fr);
        row-gap: 80px;
    }
    .archivesActus_left {
        max-width: 100%;
        place-self: unset;
        padding: 0 15px;
    }
    .archivesActus_right {
        padding: 0 0 0 15px;
    }

    /*** CONTACT ***/
    .contact_content {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }
    .content_left {
        order: 2;
    }
    .content_right {
        order: 1;
    }

    /*** PAGES DYNAMIQUES ***/
    .fil_ariane {
        font-size: 1rem;
    }
    .slider_top_wrapper {
        max-height: 650px !important;
        height: 650px !important;
    }
    .slider_top_content {
        padding: 0 15px;
        top: unset;
        bottom: 120px;
        transform: translateX(-50%);
    }
    .text_img {
        flex-direction: column;
    }
    .image_droite, .image_gauche {
        margin: 0 0 40px 0;
    }
    .text_champ figure img {
        max-height: 445px;
        width: 100%;
        object-fit: contain;
        height: auto;
    }
    .text_champ figure {
        width: 100%;
        order: 1;
        height: 100%;
    }
    .text_champ .texte_pag_dyn {
        width: 100%;
        order: 2;
    }
    .text__wrapper {
        padding: 0 15px 100px;
    }
    .carousel_wrapper {
        padding: 0 15px 100px;
    }
    .wrapper__carousel_pageDyn img {
        max-height: 475px;
    }
    .paragraphes-deroulants__content {
        grid-template-columns: minmax(0,1fr);
        row-gap: 50px;
    }
    .paragraphes-left h2 {
        text-align: center;
    }
    .text_simple__white,
    .text_img__white,
    .carousel_wrapper__white {
        padding-top: 100px;
        margin-bottom: 100px;
    }
    .text_simple__grey,
    .text_img__grey,
    .carousel_wrapper__grey {
        padding-top: 100px;
        margin-bottom: 100px;
    }
}

/*****************
		930px
******************/
@media (max-width: 930px) {
    /** FOOTER **/
    .footer_top_content {
        flex-direction: column;
        justify-content: center;
    }
    .footer_rs .toggleTexte {
        justify-content: center;
    }
    .footer_logo {
        margin: 0 auto;
    }
    .footer_links {
        grid-template-columns: minmax(0,1fr);
        width: 100%;
        row-gap: 10px;
    }
    footer .toggleTitre {
        pointer-events: initial;
        display: flex;
        cursor: pointer;
        margin: 15px;
        justify-content: space-between;
        align-items: center;
        position: relative;
    }
    footer .toggleTexte {
        display: none;
        margin-top: 15px;
        padding: 15px;
    }
    footer .col-grid-1 {
        position: relative;
    }
    footer .toggleTitre:after {
        content: url("/design/img/nav-arrow-down.svg");
        height: fit-content;
        position: absolute;
        right: 0;
    }
    footer .toggleTitre.active:after {
        transform: rotate(180deg);
    }
    .footer_bottom_content {
        gap: 0;
    }
}

/*****************
	  800px H
******************/
@media (max-height: 800px) {
    /** ACCUEIL **/
    .hero_home_wrapper {
        max-height: 700px;
        height: 700px;
    }

    /** PAGES DYNAMIQUES **/
    .slider_top_wrapper {
        max-height: 700px;
        height: 700px;
    }
}

/*****************
	  800px W
******************/
@media (max-width: 800px) {
    /** ACCUEIL **/
    /* quick access */
    .quick-access__list {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
    .quick-access__title {
        opacity: 1;
        transform: translateY(0);
        margin-top: 20px;
    }


    /**** ACTUALITES ****/
    .desktop {
        display: none;
    }
    .actus_content {
        display: block;
    }
    .mobile {
        display: block;
    }
    .card-slider__image {
        height: 350px;
    }
}


/*****************
		665px
******************/
@media (max-width: 665px) {
    /** CONTACT **/
    .contact_wrapper {
        grid-template-columns: 1fr;
    }
}

/*****************
		630px
******************/
@media (max-width: 630px) {
    /***** GENERAL *****/
    .surtitre {
        font-size: 1.125rem;
    }
    h1, .hero_home_title {
        font-size: 2.5rem;
    }
    h2, .like-h2 {
        font-size: 2rem;
    }

    /***** ACCUEIL *****/
    /* quick access */
    .quick-access__list {
        grid-template-columns: minmax(0,1fr);
    }

    /****** PAGES DYNAMIQUES *****/
    .slider_top_titles_wrapper {
        text-align: left;
    }

    /** FOOTER **/
    .footer_bottom_content {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/*****************
		480px
******************/
@media (max-width: 480px) {
    /** CAROUSEL PAGES DYNS **/
    .slick-slider{
        padding:0;
    }

    /***** ACTUALITES ****/
    .card-slider__image {
        height: 300px;
    }

    /** ARCHIVES ACTUS **/
    .archivesActus_right {
        padding: 0 15px;
    }

    /*** ACCUEIL ***/
    .un-partenaire {
        width: 33.33%;
        padding: 10px 20px;
    }
}

/*****************
		463px
******************/
@media (max-width: 463px) {
    /** CAROUSEL PAGES DYNS **/
    .slick-initialized .slick-slide {
        float: left;
    }
}

/*****************
		400px
******************/
@media (max-width: 400px) {
    /** ACCUEIL **/
    .slider-extended__carousel-wrapper {
        padding: 0 15px;
    }
}

/*****************
		340px
******************/
@media (max-width: 340px) {
    .container {
        margin-inline: 1rem;
    }

    .nav__link {
        padding-inline: 1rem;
    }

    .contact_link_nav {
        padding-inline: 1rem;
    }
}