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

@media(min-width: 768px) {

  /*------------------- NEWS / ACTU ---------------------*/
  #news .wrapper_slider:first-of-type {
    grid-column: span 2;
    grid-row: span 3
  }

  #news .wrapper_slider:first-of-type .content_slider .title {
    min-width: 600px;
    position: relative;
    z-index: 2
  }

  #news .wrapper_slider:first-of-type .title_slider {
    font-size: 2em;
    text-shadow: 0 0 8px #00000054;
    line-height: 1.1;
    margin-bottom: 15px !important;
  }

  #news .wrapper_slider:first-of-type .wrapper_inner_slider {
    display: flex
  }

  #news .wrapper_slider:first-of-type .thumbnail_slider {
    order: 2;
    height: 550px;
    width: 90%;
  }

  #news .wrapper_slider:first-of-type .content_slider {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  #news .wrapper_slider:first-of-type .text_slider,
  #news .wrapper_slider:first-of-type .text_slider a {
    max-width: 80%;
    line-height: 1.7;
    font-size: 16px
  }

  #news .wrapper_slider:first-of-type .content_slider {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  #news .wrapper_slider:first-of-type .wrapper_inner_slider {
    display: flex
  }

  #news .wrapper_slider:first-of-type .thumbnail_slider {
    order: 2;
    height: 550px;
    width: 50%;

  }

  #news .wrapper_slider:first-of-type .thumbnail_slider a:first-of-type {
    filter: brightness(0.5);
  }

}

@media(min-width: 1025px) {

/*-----------------*/
  /* HEADER */
  /*-----------------*/
  #infoadresse {
    order: -1
  }

  #header-coordonnees div br {
    display: none
  }

  #logoCoordonnees {
    grid-row: span 3;
    order: -1;
    margin: 0px 30px;
  }

  #logoCoordonnees img {
    width: 300px;
    max-height: 130px;
    margin: -20px 0;
  }

  #header-coordonnees {
    margin: 20px auto 20px;
  }

  #header-coordonnees>:nth-child(1),
  #header-coordonnees>:nth-child(4) {
    padding: 0 24px 0 0;
    text-align: right
  }

  #header-coordonnees>:nth-child(1) span,
  #header-coordonnees>:nth-child(4) span {
    text-align: right
  }

  #headerSocial .sociblock .share-buttons {
    justify-content: flex-start
  }

  #header-coordonnees>:nth-child(1):before,
  #header-coordonnees>:nth-child(4):before {
    right: 0;
    left: auto
  }

  /*-----------------*/
  /* NAVPRIMARY */
  /*-----------------*/
  #navprimary {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    border-bottom: 1px solid rgb(255 255 255 / 40%);
  }

  #navprimary .navigmenu {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
  }

  .has-child-megamenu .naviglink.lvl-2 span {
    padding-left: 12px;
  }

  .has-child-megamenu .naviglink.lvl-2 span:before {
    content: "";
    --size: 5px;
    width: var(--size);
    height: var(--size);
    position: absolute;
    left: 0;
    border: solid 1px var(--primary-color);
    top: 12px;
    border-radius: 10px;
    transition: 250ms all ease-in-out;
  }

  .has-child-megamenu .naviglink.lvl-2:hover span:before {
    background: var(--primary-color);
  }

  #headerHome-accroche {
    max-width: 800px;
    margin: 0 auto;
  }
  .navigmenu .navdown {
    min-width: 800px;
  }

  .navigmenu .naviglink.lvl-2 {
    text-align: left;
  }
  /*-----------------*/
  /* INTRO / CONTENT */
  /*-----------------*/
  .home #content .linkTurn {
    left: 9%;
    top: 20em;
  }

  .home #content {
    overflow: hidden;
    padding-bottom: 140px;
  }

  .home #content .title {
    max-width: 700px;
    margin: 0 auto 60px;
  }

  .home #content .blocthumb {
    height: 460px;
    max-width: 740px;
    margin: 0 auto;
  }

  .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 .tertiarythumb {
    width: 10.7%;
    height: 240px;
    top: 340px;
    left: 5%;
    z-index: 1;
  }

  .home #content .quaternarythumb {
    left: auto;
    right: 0;
    width: 9.5%;
    top: 175px;
    height: 400px;
  }

  .home #content .specialthumb {
    width: 23%;
    left: -20%;
    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 !important;
  }

  .home #content .wp-block-media-text__content {
    margin-top: -200px;
    z-index: 1;
  }

  /*-------------------- SECTIONS -------------------*/
  .sectionsbloc.odd blockquote p {
    color: var(--white);
  }

  /*------------------- NEWS ---------------------*/
  #news {
    margin-bottom: 100px;
  }

  /*-------------------- REASSURANCES -------------------*/
  #reassurances {
    padding: 150px 20px;
  }
   /*------------PRESTATIONS------------------------*/
  #prestations {
    /* padding-top: 0px; */
    padding-bottom: 140Px;
    margin-bottom: 100px;
    /* border-bottom: 1px solid #00000050; */
  }

  #prestations::before {
    width: 60%;
    left: -10%;
    background: var(--black);
    transform: skewX(-15deg);
  } 

  .prestations-img::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: calc(100% + 150Px);
    z-index: -1;
    background: var(--secondary-color);
    transform: translateY(-50%) translateX(-50%) skewX(-15deg);
    pointer-events: none;
  }

  /* #prestations :is(.primarythumb, .specialthumb, .tertiarythumb) {
    position: absolute;
    --size: 100%;
    width: var(--size);
    height: var(--size);
    left: 0;
    top: 0;
    mask-image: url(../images/shape/shape1.svg);
    mask-repeat: no-repeat;
    mask-position: left center;
    mask-size: cover;
    animation: 4s floatingRight infinite ease-in-out;
  }

  #prestations .specialthumb {
    mask-image: url(../images/shape/shape2.svg);
    animation: 4s floating infinite ease-in-out;
  }

  #prestations .tertiarythumb {
    mask-image: url(../images/shape/shape3.svg);
    mask-position: right center;
    animation: 4s floating infinite ease-in-out;
    animation-delay: 2s;
  } */

}

@media(min-width: 1281px) {

  /*-----------------*/
  /* INTRO / CONTENT */
  /*-----------------*/
  .home #content .linkTurn {
    left: 7%;
    top: 16em;
  }

  .home #content .blocthumb {
    max-width: 840px;
  }

  .home #content .title {
    max-width: 880px;
  }

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

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

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

@media(min-width: 1481px) {

  /*-----------------*/
  /* INTRO / CONTENT */
  /*-----------------*/
  .home #content .tc_content {
    padding-left: 15%;
  }

  .home #content .linkTurn {
    left: 2%;
  }

  .home #content .blocthumb {
    max-width: none
  }

}

@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) {

  /*-----------------*/
  /* INTRO / CONTENT */
  /*-----------------*/
  .home #content .wrappercontent.medium {
    max-width: 950px;
  }
   /*-----------------*/
  /* PRESTATIONS */
  /*-----------------*/

  #contentPrestations:before {
    width: 85%;
  }

  #choixPrestations {
    width: 220px;
  }

}

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

@media(max-width: 1024px) {

 /*-----------------*/
  /* HEADER */
  /*-----------------*/
  #logoCoordonnees {
    order: -1;
  }

  #header-coordonnees {
    gap: 5px;
  }

  #header-coordonnees>div {
    max-width: 300px;
    width: 100%;
    margin: 8px auto;
  }

  #headerSocial .sociblock .share-buttons {
    justify-content: flex-start;
  }

  .ckmenu {
    position: relative;
    z-index: 1000;
  }

  #header #logoCoordonnees {
    display: none;
  }

  .item-home
  {
    padding: 0!important;
    margin: 0 auto;
    margin-bottom: 10px;
  }
  /*-----------------*/
  /* NAVPRIMARY */
  /*-----------------*/
  .navigmenu .naviglink {
    font-size: 14px;
  }

  .navigmenu .naviglink.lvl-0:not(.item-logo) span:after {
    bottom: 0;
    height: 2px;
  }

  .has-child-megamenu .naviglink.lvl-2 {
    text-align: center;
  }

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

  .title.md-tac:not(.no-after):after {
    left: 50%;
    transform: translateX(-50%);
  }

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

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

  .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: 60px;
    padding: 0 2px;
  }

  .home #content :is(.tertiarythumb, .quaternarythumb) {
    margin: 0;
  }
   /*-----------------*/
  /* PRESTATIONS */
  /*-----------------*/
  #prestations {
    overflow: hidden;
  }
  #prestations::before
  {
    background: var(--black);
    height: 50%;
  }

  #choixPrestations {
    width: 100%;
    display: grid;
    justify-content: center;
    padding: 0;
    max-width: 100%;
  }

  #choixPrestations .linkPresta p {
    padding: 10px 12px;
    line-height: 1.3;
    font-size: 14px;
    text-align: center;
    letter-spacing: .5px;
  }

  #choixPrestations .linkPresta p:before {
    width: 2px;
    top: 100%;
    height: 100%;
    right: auto;
    left: 50%;
    margin-left: -1px;
  }

  #contentPrestations {
    width: 100%;
    padding: 0;
    margin: 0;
    max-width: 700Px;
  }

  #contentPrestations:before {
    content: none;
  }

  .prestations-wrapper {
    flex-wrap: wrap;
    flex-direction: column;
  }

  .prestations-img {
    width: 100%;
    min-width: auto;
    height: 230px;
    gap: 20px;
  }

  .prestations-content {
    padding: 30px 16px;
    /* background: var(--black); */
    width: 100%;
  }

  #wrapperPrestations {
    flex-direction: column;
    grid-gap: 50px;
    margin-top: 0px;
    justify-items: center;
    justify-content: center;
  }

  .prestations-img {
    display: grid;
    /* grid-template-columns: repeat(3, 1fr); */
    grid-auto-rows: 230px;
  }

}

@media(max-width: 767px) {

    /*-----------------*/
  /* HEADER */
  /*-----------------*/
  .horairesTitle {
    font-size: 24px;
  }
  /*-----------------*/
  /* INTRO / CONTENT */
  /*-----------------*/
  .home #content .linkTurn {
    --size: 10rem;
    bottom: -140px;
  }

  .home #content :is(.tertiarythumb, .quaternarythumb) {
    margin-top: 60px;
  }

  .home #content :is(.blocthumb, .specialthumb, .tertiarythumb, .quaternarythumb) {
    margin-bottom: 5px;
  }

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

  /*------------------- NEWS / ACTU ---------------------*/
  #news .content-news {
    grid-gap: 0 30px;
  }

  #news:after {
    content: none;
  }

  #news {
    padding: 80px 15px;
    margin: 0;
  }

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

  #news .wrapper_slider:first-of-type img {
    filter: brightness(0.8);
  }

  #news .wrapper_slider:first-of-type .text_slider,
  #news .wrapper_slider:first-of-type .text_slider a {
    font-size: 14px
  }

  #news .wrapper_slider:first-of-type .content_slider .title {
    min-width: 170%
  }

  #news .wrapper_slider:first-of-type .title_slider {
    font-size: 35px;
  }

  #news .wrapper_slider:first-of-type .wrapper_inner_slider {
    display: flex;
    flex-direction: column-reverse
  }

  #news .wrapper_slider:first-of-type .content_slider .title {
    min-width: auto
  }

  #news .title_slider,
  #news .wrapper_slider:first-of-type .title_slider {
    font-size: 22px;
  }

  #news .next_slider {
    margin-top: -10px
  }

  #news .wrapper_slider:first-of-type .thumbnail_slider {
    height: 250px;
    margin-top: 30px
  }

  #news .content-news {
    grid-gap: 30px 0;
  }

  #news {
    padding: 70px 15px 60px;
  }

 /*-----------------*/
  /* PRESTATIONS */
  /*-----------------*/

  #choixPrestations {
    /* border-left: 2px solid #ebebeb; */
    border-right: 0;
    text-align: left;
    flex-direction: column;
  }

  #choixPrestations .linkPresta p {
    padding: 10px 15px;
    line-height: 1.8;
    text-align: left;
    font-size: 15px;
  }

  #choixPrestations .linkPresta p:before {
    width: 2px;
    left: -1px;
    right: auto;
    top: 0;
    height: 100%;
  }
}

@media(max-width: 480px) {
    /*----------------PRESTATIONS--------------------------*/
  #choixPrestations .linkPresta>.big {
    font-size: 1.25em;
  }
}