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

@media(min-width: 768px) {
  /*-----------------*/
  /* GALLERY HOME */
  /*-----------------*/
  #galleryHome {
    margin-top: 200px;
  }

  #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;
  }
  #wrappersite
  {
    overflow: hidden;
  }

  /*-----------------*/
  /* INTRO / CONTENT */
  /*-----------------*/
  .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: 8.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(--secondary-color);
    background: color-mix(in srgb, var(--secondary-color) 70%, #00000066);
    position: relative;
    color: var(--white);
    margin-top: -300px;
  }

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

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

  #galleryHome .gallery {
    grid-gap: 27px;
  }

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

  /*-----------------*/
  /* PARTENAIRES */
  /*-----------------*/
  #partenaires .wrappercontent {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  #partenaires {
    background: var(--light-color);
  }

  #partenaires .title {
    text-align: left;
    padding-bottom: 0;
    margin-bottom: 0;
  }

  #partenaires .title h2 {
    font-size: 2em;
  }

  #partenaires .title::after {
    transform: initial;
    left: 0;
  }

  /*-----------------*/
  /* ACTU */
  /*-----------------*/
  #news {
    padding: 150px 20px 100px;
  }

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

  #news:before {
    background: var(--light-color);
    width: 75%;
    height: 125%;
  }

  #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;
  }

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

  #news .titleImg {
    height: 440px;
  }

  #news .right:before {
    background: var(--background-color);
    width: calc(100% + 200Px);
    height: calc(100% + 150px);
    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
  }

}

@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(--tertiary-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: 4%;
    width: 16.5%;
  }
}


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

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

@media(max-width: 1280px) {

  /*-----------------*/
  /* ACTU */
  /*-----------------*/
  #news .wrapActu {
    grid-gap: 30px;
  }
}

@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;
  }

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

  /*-----------------*/
  /* ACTU */
  /*-----------------*/
  #news .titleImg {
    display: none;
  }

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

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

  /*-----------------*/
  /* REASSURANCES */
  /*-----------------*/
  .home #reassurances {
    height: 150px;
    margin-bottom: -40px;
    margin-top: -50px;
  }

  .home #reassurances-container {
    padding: 10px 10px;
    width: calc(100% + 10px);
    max-width: calc(100% + 10px);
    left: -5px;
  }

  .home .picto-container li {
    padding: 0 15px;
  }

  .home #reassurances-containerBis {
    padding: 0 10Px;
    width: calc(100% + 10Px);
    max-width: calc(100% + 10Px);
    height: 50px;
    left: -5px;
    font-size: 13px;
  }

  .home #reassurances-containerBis span {
    padding: 0;
  }

  .home #reassurances-containerBis span:before {
    content: none;
  }
}

@media(max-width: 767px) {

  /*-----------------*/
  /* INTRO / CONTENT */
  /*-----------------*/
  .linkTurn {
    --size: 10rem;
  }

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

  .home #content :is(.blocthumb, .specialthumb, .tertiarythumb, .quaternarythumb) {
    height: 250px;
  }

  /*-----------------*/
  /* REASSURANCES */
  /*-----------------*/
  .home #reassurances-containerBis span {
    display: none;
  }

  .home .picto-container li p {
    font-size: 12px;
    letter-spacing: 0.5px;
  }

  .nohome #reassurances .picto-container {
    max-width: 500px;
    margin: 0 auto;
  }

  .nohome #reassurances .picto-container li:before {
    top: 50%;
    transform: translateY(-50%);
    --size: 50px
  }

  .nohome #reassurances .picto-container li svg,
  .nohome #reassurances .picto-container li img {
    --size: 25px
  }

  .nohome #reassurances .picto-container li {
    padding: 19px 35px
  }

  .nohome #reassurances .picto-container {
    max-width: 330px;
    margin: 0 auto
  }

  /*-----------------*/
  /* GALLERY HOME */
  /*-----------------*/
  #galleryHome .gallery .gallery-item:nth-child(11) {
    grid-column: span 2;
  }

  #galleryHome {
    padding-top: 2px;
  }

  /*-----------------*/
  /* 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) {}