@media(min-width: 481px) {}

@media(min-width: 768px) {

    /*-----------------*/
    /* GALLERY HOME */
    /*-----------------*/
    #galleryHome {
        margin-top: -50px;
    }

    #galleryHome .gallery {
        grid-gap: 15px;
        grid-template-columns: repeat(32, 1fr);
        grid-template-rows: repeat(13, 52px);
    }

    #galleryHome .title {
        position: absolute;
        top: 50px;
        left: 28vw;
    }

    #galleryHome .gallery .gallery-item:first-of-type {
        grid-row: span 3;
        grid-column: span 11;
        padding-left: 24%;
        padding-right: 24%;
    }

    #galleryHome .gallery .gallery-item:nth-child(2) {
        grid-column: span 8;
        grid-row: span 6;
        padding-top: 152px;
    }

    #galleryHome .gallery .gallery-item:nth-child(3) {
        grid-column: span 10;
        grid-row: span 6;
    }

    #galleryHome .gallery .gallery-item:nth-child(4) {
        grid-column: span 3;
        grid-row: span 6;
        padding-top: 82px;
    }

    #galleryHome .gallery .gallery-item:nth-child(5) {
        grid-column: span 6;
        grid-row: span 4;
    }

    #galleryHome .gallery .gallery-item:nth-child(6) {
        grid-column: span 5;
        grid-row: span 3;
    }

    #galleryHome .gallery .gallery-item:nth-child(7) {
        grid-column: span 8;
        grid-row: span 4;
    }

    #galleryHome .gallery .gallery-item:nth-child(8) {
        grid-column: span 11;
        grid-row: span 5;
    }

    #galleryHome .gallery .gallery-item:nth-child(9) {
        grid-column: span 6;
        grid-row: span 4;
    }

    #galleryHome .gallery .gallery-item:nth-child(10) {
        grid-column: span 6;
        grid-row: span 4;
    }

    #galleryHome .gallery .gallery-item:nth-child(11) {
        grid-column: span 8;
        grid-row: span 4;
        position: absolute;
        width: 18.8% !important;
        bottom: 0;
        right: 0;
        height: 190px;
    }
}

@media(min-width: 1025px) {
	/*-------------------- ELEMENTS -------------------*/
    .title.tar:not(.no-after):after{
		left: auto;
		right: 0;
	}
     /*-----------------*/
    /* INTRO / CONTENT */
    /*-----------------*/
    .home #content
    {
        overflow: hidden;
    }
    .home #content .linkTurn {
        left: 9%;
        top: 10em;
    }

    .home #content .title {
        max-width: 80%;
        margin: 30px auto;
    }

    .home #content .blocthumb {
        height: 460px;
    }

    .home #content .homeContent-img .wp-block-image {
        padding-left: 30px;
        height: 100%;
    }

    .home #content .homeContent-img .wp-block-image a {
        height: 100%;
    }

    .home #content .homeContent-img .wp-block-image img {
        height: 100%;
        object-fit: cover;
    }

    .home #content .tc_content {
        padding-left: 22%;
        width: 120%;
        padding-top: 90px;
    }

    .home #content :is(.specialthumb, .tertiarythumb, .quaternarythumb) {
        position: absolute;
        left: 0;
    }

    .home #content .has-medium-font-size {
        font-size: 25px !important;
    }

    .home #content .tertiarythumb {
        width: 18.7%;
        height: 240px;
        top: 290px;
        z-index: 1;
    }

    .home #content .quaternarythumb {
        left: auto;
        right: 0;
        width: 9.5%;
        top: 35px;
        height: 400px;
        z-index: 1;
    }

    .home #content .specialthumb {
        width: 23%;
        left: -10%;
        bottom: -370px;
        top: auto;
        z-index: 1;
        height: 320px;
    }

    .home #content .wp-block-media-text.has-media-on-the-right {
        grid-template-columns: auto 65% !important;
        margin-bottom: 0;
    }

    .home #content .wp-block-media-text {
        overflow: visible;
    }

    .home #content .wp-block-media-text__content>p:first-child {
        padding: 30px;
        background: var(--black);
        position: relative;
        color: var(--white);
        margin-top: -300px;
    }
    #content #certifications
    {
        position: absolute;
        bottom: -50px;
        right: 0;
        min-width: 400px;
    }
    /*-------------------- MOT -------------------*/
    #reassurances,#partenaires
    {
        clip-path: polygon(0 0, 0 100%, 10% 100%, 12% 92%, 88% 92%, 90% 100%, 100% 100%, 100% 0);
    }
    /*-----------------*/
    /* NEWS / ACTU */
    /*-----------------*/
    #news {
        padding: 150px 20px 150px;
    }

    #news .newsdate {
        min-width: 150px;
    }

    #news:before {
        background: var(--light-color);
        width: 75%;
        top: -100px;
        height: calc(100% + 100px);
    }

    #news .left {
        padding-left: 30px;
        max-width: 500px;
        margin-left: auto;
        z-index: 2
    }

    #news .wrapperActu {
        padding-top: 40px;
    }

    #news .left .title {
        margin-top: 100px;
        margin-bottom: 50px;
        /* -webkit-text-stroke: 1px #ffffff50; */
    }

    #news .left .title .separator {
        margin-bottom: 0;
    }

    #news .titleImg {
        height: 240px;
    }

    #news .right:before {
        background: var(--background-color);
        width: calc(100% + 200Px);
        height: calc(100% + 220px);
        left: initial;
        right: 0;
        top: -50px
    }

    #news .title_slider {
        font-size: 24px;
    }

    #news .hoverActif .content_slider {
        padding-left: 30px
    }

    #news .content_slider {
        transition: all .4s
    }

    #news .hoverActif .thumbnail_slider {
        height: 300px;
        transition: all .8s;
        width: 120%;
        transform-origin: center
    }

    /*-----------------*/
    /* GALLERY HOME */
    /*-----------------*/
    #galleryHome .title {
        top: 0;
    }

    #galleryHome .title h2 {
        font-size: 36px;
    }

    #galleryHome .gallery {
        grid-gap: 27px;
        margin-bottom: -100px!important;
    }

    #galleryHome .gallery .gallery-item:nth-child(11) {
        height: 210px;
        width: 20.8% !important;
    }

    /*-------------------- SECTIONS -------------------*/
    .sectionsbloc :is(.section_thumb, .secondary_thumb) img {
        position: absolute;
        --size: 100%;
        width: var(--size);
        height: var(--size);
        left: 0;
        top: 0;
    }

    .sectionsbloc.odd blockquote p {
        color: var(--white);
    }
    .sectionsbloc:last-child.even::before
    {
        content : "";
        position: absolute;
        left: 0;
        bottom: 0;
        --size:25%;
        width: var(--size);
        height: var(--size);
        background: var(--light-color);

    }
    .sectionsbloc.even .secondary_thumb:before {
	    content: '';
	    position: absolute;
	    top: -80px;
	    right: -80px;
	    --size: 160px;
	    width: var(--size);
	    height: var(--size);
	    z-index: -1;
	    border: 40px solid var(--primary-color);
	    box-sizing: border-box;
	    border-radius: 50%;
	    animation: 4s floating infinite ease-in-out;
	}
    @keyframes floating {
        0% {
            transform: translateY(0);
        }
        
        50% {
            transform: translateY(12px);
        }
        100% {
            transform: translateY(0);
        }
    }
    /*-------------------- MOT -------------------*/
    #partenaires
    {
        padding-bottom: 150px;
    }
}

@media(min-width: 1281px) {

 /*-----------------*/
    /* INTRO / CONTENT */
    /*-----------------*/
    .home #content {
        overflow: hidden;
    }

    .home #content .tc_content {
        padding-left: 15%;
    }

    .home #content .title h1 {
        max-width: 90%;
        margin: 0 auto;
    }

    .home #content .title {
        padding: 60px 50px;
        margin-top: 0;
        padding-top: 0;
    }

    .home #content .linkTurn {
        left: 0%;
        top: 12em;
    }

    .home #content .homeContent-img .wp-block-image {
        padding-left: 50px;
    }

    .home #content .quaternarythumb {
        width: 12.5%;
    }

    .home #content .specialthumb {
        width: 38%;
        left: -48%;
        bottom: -320px;
        height: 400px;
    }

    .home #content .tertiarythumb {
        top: 190px;
        left: 20px;
    }

    .home #content .blocthumb::before,
    .imageRea::after {
        content: "";
        position: absolute;
        --pos: 20px;
        top: var(--pos);
        left: var(--pos);
        --size: 100%;
        width: var(--size);
        height: var(--size);
        border: 1px solid var(--secondary-color);
        border-radius: 0px;
    }

    .imageRea::after {
        --pos: 10px;
    }
    /*-----------------*/
    /* GALLERY HOME */
    /*-----------------*/
    #galleryHome .title h2 {
        font-size: 40px;
    }
}

@media(min-width: 1481px) {
 /*-----------------*/
    /* INTRO / CONTENT */
    /*-----------------*/
    .home #content .title {
        max-width: 1200px;
    }
    /*-----------------*/
    /* GALLERY HOME */
    /*-----------------*/
    #galleryHome .title h2 {
        font-size: 47px;
    }
}

@media(min-width: 1681px) {
    /*-----------------*/
    /* INTRO / CONTENT */
    /*-----------------*/
    .home #content .homeContent-img .wp-block-image {
        padding-left: 100px;
    }

    .home #content .quaternarythumb {
        right: 3%;
        width: 16.5%;
    }
}

@media(max-width: 1680px) {}

@media(max-width: 1480px) {}

@media(max-width: 1280px) {

    /*-----------------*/
    /* NEWS / ACTU */
    /*-----------------*/
    #news .wrapActu {
        grid-gap: 30px;
    }
}
@media(min-width: 768px) and (max-width: 1280px)
{
    .home #content .linkTurn
    {
        bottom: -200px;
    }
}
@media(max-width: 1024px) {

    /*---------------HEADER---------------------*/
    body:not(.is-toggle-open) #header .ckmenu {
        position: relative;
        z-index: 1000
    }

    .logoParent {
        display: none;
    }

    #header .ckmenu-nav {
        top: 0;
        padding-top: 50px
    }

    #headerGrid {
        align-items: start;
    }

    /*-------------------MDTAC---------------------*/
    .md-tac {
        text-align: center;
    }

    .title.md-tac:not(.no-after):after {
        left: 50%;
        transform: translateX(-50%);
    }
 /*-----------------*/
    /* INTRO / CONTENT */
    /*-----------------*/
    .home #content .title {
        margin: 30px auto;
    }

    .home #content .wp-block-columns {
        flex-wrap: wrap !important;
    }

    .home #content .wp-block-columns.certifications {
        flex-wrap: nowrap !important;
    }

    .home #content {
        padding-top: 30px;
    }

    .home #content .wp-block-columns>div {
        flex-basis: 100% !important;
    }

    .home #content,
    .home #content>.wrappercontent {
        display: flex;
        flex-wrap: wrap;
        max-width: 1200px;
    }

    .home #content :is(.blocthumb, .specialthumb, .tertiarythumb, .quaternarythumb) {
        width: 50%;
        height: 350px;
        margin-bottom: 5px;
        padding: 0 2px;
    }

    .home #content :is(.tertiarythumb, .quaternarythumb) {
        margin: 0;
    }

    .home #content {
        padding-top: 0px;
    }
    /*-----------------*/
    /* NEWS / ACTU */
    /*-----------------*/
    #news .titleImg {
        display: none;
    }

    #news {
        padding-bottom: 20px;
        box-shadow: 0 0 20px #7e72726e;
        /* background: var(--black); */
    }

    #news .wrapActu {
        grid-gap: 0;
    }

    /*-----------------*/
    /* GALLERY HOME */
    /*-----------------*/
    #galleryHome {
        margin-top: 50px;
    }

}

@media(max-width: 767px) {
/*-----------------*/
    /* INTRO / CONTENT */
    /*-----------------*/
    .linkTurn {
        --size: 10rem;
    }

    .home #content .linkTurn {
        bottom: -200px;
    }

    .home #content :is(.blocthumb, .specialthumb, .tertiarythumb, .quaternarythumb) {
        height: 250px;
    }
    /*-----------------*/
    /* GALLERY HOME */
    /*-----------------*/
    #galleryHome .gallery .gallery-item:nth-child(11) {
        grid-column: span 2;
    }

    #galleryHome {
        padding-top: 2px;
        margin-top: 0;
    }

    /*-----------------*/
    /* NEWS / ACTU */
    /*-----------------*/

    #listarticles .listedarticle .tc_excerpt {
        font-size: 15px;
    }

    #news .wrapper_inner_slider {
        padding: 30px 0;
    }

    #news .content_slider {
        padding: 20px 0 0;
    }

    #news .content_slider::before {
        left: 50%;
        transform: translateX(-50%);
        top: 200px;
    }

    .thumbnail_slider {
        height: 250px;
    }
}

@media(max-width: 480px) {}