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

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

@media(min-width: 1025px) {

  /*-----------------*/
  /* HEADER */
  /*-----------------*/
  #header.fixed-header .logoheader {
    width: 160px;
  }

  #info-toogle {
    display: flex;
  }


  #header-coordonnees .flex .title {
    margin-bottom: 40px;
  }

  #header-coordonnees .title h2 {
    font-size: 30px;
  }

  /*-----------------*/
  /* NAVPRIMARY */
  /*-----------------*/
  .navigmenu {
    justify-content: flex-start;
  }

  .navigmenu .naviglink.lvl-1:before {
    content: "";
    --size: 5px;
    position: absolute;
    background: var(--primary-color);
    background-size: contain;
    background-repeat: no-repeat;
    width: var(--size);
    height: var(--size);
    left: 10px;
    top: 16px;
    border-radius: 10px;
  }

  /*------------------- HEADERHOME ---------------------*/
  #banner :is(.overlay, #bannerImg) {
    width: calc(100% - 40Px);
    margin-left: auto;
    left: initial;
    right: 0;
  }

  #headerHome-hero {
    order: -1;
  }

  .hero_img1 {
    clip-path: polygon(20% 0%, 100% 0, 100% 100%, 0% 100%);
  }

  #headerHome-hero {
    clip-path: polygon(0 0, 100% 0, 92% 100%, 0% 100%);
    position: relative;
    width: calc(100% + 30px);
  }

  #headerHome-img {
    clip-path: polygon(8% 0, 100% 0, 100% 100%, 0% 100%);
    width: calc(100% + 30px);
    left: -30px;
  }

  #headerHome
  {
    clip-path: polygon(1% 5%, 99% 0%, 96% 100%, 3% 96%);
    margin-bottom: -30px;
  }

  /*------------------- INTRO / CONTENT ---------------------*/
  .sloganBase {
    margin-left: -30px;
  }

  /*------------------- PRESTATIONS ---------------------*/
  #prestations .bloc_prestations .prestations-img {
    height: 650px;
  }

  .bloc_prestations {
    --dist: 3vw;
    clip-path: polygon(0 0, 85% 0, 100% 100%, 0% 100%);
    width: calc(100% + var(--dist));
  }

  .bloc_prestations:nth-child(even) {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 15% 100%);
    left: calc(var(--dist) * -1);
    margin-top: -100px;
  }
/*----------------REASSURANCES---------------------*/
  #reassurances {
    z-index: 2;
    padding-top: 180px;
    padding-bottom: 130px;
  }
  #reassurances::before,#reassurances .overlay {
      clip-path: polygon(0 0, 18% 0, 20% 10%, 80% 10%, 82% 0, 100% 0, 100% 100%, 65% 100%, 65% 55%, 25% 55%, 25% 100%, 0 100%);
  }
  #reassurances::after
  {
      background: var(--background-color);
      top: initial;
      bottom: -1px;
      left: 50%;
      transform: translateX(-50%);
      height: 90px;
      width: 80%;
      clip-path: polygon(60% 25%, 60% 0, 100% 0, 100% 100%, 0 100%, 0 25%);
  }

  /*-----------------*/
  /* NEWS / ACTU */
  /*-----------------*/
  #news {
    padding-left: 30px;
    padding-right: 30px;
  }

  #news::before {
    top: initial;
    bottom: -100px;
    height: calc(100% + 300px);
  }

  /*-----------------*/
  /* SECTIONS */
  /*-----------------*/
  #sections {
    padding: 80px 30px 70px;
  }

  #sections .blocthumb {
    position: absolute;
    left: 0;
    top: 0;
    width: 65.9%;
    height: 100%;
  }

  .sectionsbloc .wrap-text {
    padding: 0;
    max-width: 57%;
    margin-left: auto;
    background: var(--background-color);
    position: relative;
    z-index: 1;
    padding: 30px;
  }

  .section_txt {
    padding-top: 100px;
  }

  .section_title .title {
    max-width: 50%;
    margin-bottom: 60px;
  }

  .section_thumb .specialthumb {
    position: absolute;
    width: 284px;
    height: 284px;
    z-index: 1;
    top: -285px;
    left: -100px;
  }

  .section_thumb .tertiarythumb {
    height: 80%;
    position: relative;
    top: -15%;
  }

  .section_thumb .tertiarythumb img {
    object-position: center;
  }

  .section_thumb {
    padding-left: 30px;
  }

  .sectionsbloc {
    padding-top: 140px;
    padding-bottom: 120px;
  }
  /*-----------------GALLERYFOOTER-----------------------*/
   #galleryFooter {
    margin-top: -220Px;
    background: var(--black);
    padding: 20Px;
    padding-bottom: 0;
  }

  #galleryFooter .gallery {
    grid-auto-rows: 200Px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  #galleryFooter .gallery-item {
    width: 100% !important;
  }
  /*---------------FOOTER----------------*/
  .home #footer {
    margin-top: -100px;
  }

  #menu-footer .menu-item {
    padding: 5Px;
  }

  #footerbloc::before {
    clip-path: polygon(0 0, 23% 0, 25% 10%, 100% 10%, 100% 100%, 0 100%);
  }

  #footer {
    margin-top: -50px;
  }

  #footer #footerbloc {
    padding-top: 60px;
  }
  .nohome #footer #footerbloc {
    margin-top: 60px;
  }
  .nohome.template-contact-php #footer #footerbloc {
    margin-top: -60px;
  }

  #footer #infoadresse {
    order: 1;
    grid-column: span 2;
  }
}

@media(min-width: 1281px) {

  /*-----------------*/
  /* HEADER */
  /*-----------------*/
  #header.fixed-header #headerGrid {
    grid-template-columns: 160px 1fr 46px;
  }

  .logoheader {
    max-height: 170px;
    margin-bottom: -80px;
    border-bottom-right-radius: 60px;
  }

  .navigmenu .naviglink {
    font-size: 28px;
  }

  /*------------------- HEADERHOME ---------------------*/
  #headerHome-button .button:hover {
    background: var(--secondary-color);
  }

  /*-----------------*/
  /* SECTIONS */
  /*-----------------*/
  .section_thumb .specialthumb {
    width: 334px;
    height: 334px;
    top: -305px;
  }

  #sections {
    padding: 100px 0 70px;
  }

  .sectionsbloc .wrap-text {
    padding: 50px;
    max-width: 47%;
  }
}

@media(min-width: 1481px) {

  /*------------------- HEADER ---------------------*/
  .navigmenu .naviglink.lvl-0
  {
    font-size: 30px;
    padding: 20px 10px;
  }
  /*------------------- INTRO / CONTENT ---------------------*/
  .sloganBase {
    font-size: 20em;
    margin-top: -250px;
    margin-bottom: 40px;
    margin-left: -100px;
    white-space: nowrap;
    line-height: 1;
  }
}

@media(min-width: 1681px) {
  /*------------------- HEADER ---------------------*/
  .navigmenu .naviglink.lvl-0
  {
    font-size: 40px;
    padding: 20px 14px;
  }
}


@media(max-width: 1680px) {

  /*------------------- HEADER ---------------------*/
  html[lang="de"] .navigmenu .navigtoogle
  {
    max-width: calc(100% / 8);
  }
}

@media(max-width: 1480px) {

  /*------------------- INTRO / CONTENT ---------------------*/
  #content-txt .tc_content {
    margin: 0
  }

  #content-img .blocthumb,
  #content-img .specialthumb,
  #content-img .tertiarythumb {
    width: auto;
    margin-left: 0
  }

  #slogan {
    margin-left: auto;
    margin-right: 20%
  }
}

@media(max-width: 1280px) {

  /*-----------------*/
  /* HEADER */
  /*-----------------*/
  #header {
    padding: 15px 5px 5px;
  }

  #header-coordonnees {
    right: -220px;
    width: 220px;
    padding: 150px 20px 65px;
  }

  /*-----------------*/
  /* HEADERHOME */
  /*-----------------*/
  #headerHome-accroche {
    font-size: 38px;
  }

  #headerHome-logo {
    padding: 50px 20px;
  }

  /*-----------------*/
  /* INTRO / CONTENT */
  /*-----------------*/
  .tc_content .wp-block-cover h2 {
    font-size: 30px;
  }

  #content-img .specialthumb {
    height: 570px;
    margin-top: 80px
  }

  #content-img .tertiarythumb {
    height: 410px;
    margin-top: -248px
  }

  #content-img .blocthumb {
    height: 650px
  }

  #content-txt {
    max-width: 95%;
    top: -180px;
    margin-bottom: -180px
  }

  /*-----------------*/
  /* SECTIONS */
  /*-----------------*/
  #sections .title small {
    font-size: 50px;
  }

}

@media(max-width: 1024px) {

  /*---------------HEADER---------------------*/
  #header {
    padding: 0;
    position: absolute;
    top: 0;
    left: 0;
    --size: 100%;
    width: var(--size);
  }

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

  .dark-theme .navigmenu .navdown {
    background: var(--secondary-color);
  }

  .logoheader {
    max-height: 180px;
  }

  #logo,.logoheader {
    border-radius: 0 00% 20% 20%;
    background: #fff0;
  }
  /*-------------------MDTAC---------------------*/
  .md-tac {
    text-align: center;
  }

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

  /*-----------------*/
  /* HEADERHOME */
  /*-----------------*/
  #headerHome {
    padding: 0 5px;
    min-height: auto;
    height: auto !important;
    grid-gap: 5px
  }

  #headerHome-img {
    height: 400px
  }

  #headerHome-hero {
    grid-gap: 5px;
  }

  /*-----------------*/
  /* INTRO / CONTENT */
  /*-----------------*/
  .accroche {
    font-size: 17px;
  }

  #slogan-logo img {
    width: 180px;
  }

  .home #content {
    display: flex;
    flex-direction: column;
    padding: 50px 0 0;
  }

  .home #content .title {
    padding: 0 15px 30px;
  }

  #content-img {
    padding: 0 15px;
    padding-bottom: 50px;
  }

  #content-img .blocthumb {
    height: 450px;
  }

  #content-img .specialthumb {
    height: 360px;
    margin-top: 80px;
  }

  #content-img .tertiarythumb {
    height: 260px;
    margin-top: -148px;
  }

  #content-txt {
    top: 0;
    margin-bottom: -10px;
    max-width: none;
  }

  #content-txt .tc_content {
    margin: 0;
    width: 132%;
  }

  .sloganBase {
    font-size: 8em;
  }
  /*------------------REASSURANCES----------------------*/
  .picto-container
  {
    display: grid;
    grid-template-columns: repeat(2,1fr);
  }
  /*-----------------*/
  /* PRESTATIONS */
  /*-----------------*/
  #prestations .prestations-content p {
    display: none;
  }

  #prestations .prestations-content>:is(h2, h3) {
    font-size: 16px;
  }
  .widget_prestations
  {
    padding: 5px;
  }

  /*-----------------*/
  /* ACTU / NEws */
  /*-----------------*/
  #news {
    padding: 80px 30px;
  }

  #news .next_slider {
    width: 140px;
  }

  .title_slider {
    font-size: 20px;
  }

  .newsdate .day {
    font-size: 30px
  }

  .newsdate .month {
    font-size: 17px
  }

  .newsdate {
    padding: 20px 20px;
    height: calc(100% - 140px);
    top: 50px;
    left: -60px;
    min-height: 150px
  }

  #news .content_slider {
    padding: 50px 0 50px 80px;
  }

  .thumbnail_slider {
    height: 300px;
  }

  #news-title {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    border: none;
    padding-bottom: 0;
    margin-bottom: 30px;
  }

  #news-title .title {
    margin-bottom: 10px
  }

  /*-----------------*/
  /* SECTIONS */
  /*-----------------*/
  #sections {
    /* padding-bottom: 180px; */
  }

  #choixSections {
    display: none;
  }

  #sections .sectionsbloc {
    flex-direction: column;
    display: flex;
  }

  #sections .section_thumb {
    display: grid;
    align-items: stretch;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 10px;
  }

  #sections .section_thumb>div {
    height: 100%;
  }

  #sections .section_txt .wrap-text {
    grid-column: span 2;
  }

  #sections .section_txt .blocthumb {
    height: 400px;
  }

  #sections .section_title {
    padding: 60px 30px 10px;
  }

  #sections .title small {
    font-size: 60px;
  }
  /*------------------FOOTER---------------------*/
  .wrapBas {
    padding: 20Px;
    padding-top: 30px;
  }

  .coordWrap .title,
  #footerLogo {
    max-width: 400px;
    margin: 0 auto;
    margin-bottom: 40px
  }

  .sociblock .share-buttons {
    justify-items: center;
    justify-content: center;
  }
}

@media(max-width: 767px) {

  /*-----------------*/
  /* HEADERHOME */
  /*-----------------*/
  #headerHome {
    padding: 0
  }

  #headerHome-img {
    height: 300px
  }

  #headerHome-logo {
    padding: 30px 20px;
    grid-column: span 4;
    order: -1;
  }

  #headerHero-hero_img.hero_img1 {
    grid-row: span 4 !important;
  }

  #headerHero-hero_img {
    grid-column: span 2;
    grid-row: span 2 !important;
  }

  #headerHome-accroche {
    font-size: 34px;
  }

  /*------------------- INTRO / CONTENT ---------------------*/
  .sloganBase {
    font-size: 3.5em;
    margin-top: 20px;
    margin-bottom: 30px;
  }

  /*-----------------*/
  /* NEWS / ACTU */
  /*-----------------*/
  .thumbnail_slider {
    height: 250px;
  }

  #news {
    padding: 50px 15px
  }

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

  .text_slider,
  .text_slider a {
    font-size: 14px;
  }

  .newsdate {
    left: 20px;
    top: -40px;
    height: auto;
    padding: 10px 15px;
    min-height: auto
  }

  .newsdate .month {
    font-size: 14px;
  }

  .newsdate .day {
    font-size: 20px;
  }

  .title_slider {
    font-size: 18px;
  }

  #news .next_slider {
    justify-content: flex-start;
    width: auto;
  }

  /*-----------------*/
  /* SECTIONS */
  /*-----------------*/
  #sections {
    padding-bottom: 0;
  }

  #sections .section_txt .blocthumb {
    height: 300px;
  }

  #sections .section_title {
    padding: 50px 15px 0;
  }

  #sections .title small {
    font-size: 30px;
    margin-bottom: 0px;
  }

}

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