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

@media(min-width: 768px) {

  /*------------------- &&& ---------------------*/
  #news {
    padding-top: 30px;
  }

  /*-----------------*/
  /* GALLERY Second */
  /*-----------------*/
  #gallerySecond {
    pointer-events: none;
  }

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

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

  #gallerySecond .gallery .gallery-item {
    pointer-events: all;
  }

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

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

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

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

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

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

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

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

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

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

  #gallerySecond .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) {

  /*-----------------*/
  /* HEADER */
  /*-----------------*/
  #header {
    border-bottom: 1Px solid #ffffff3d;
  }

  #header-coordonnees>div br {
    display: none;
  }


  /*-----------------*/
  /* HEADERHOME  */
  /*-----------------*/
  #headerHome-accroche {
    margin: 0 auto;
    max-width: 650px;
  }

  #headerHome-content {
    padding: 0 30px 50px;
  }

  /*-----------------*/
  /* INTRO / CONTENT */
  /*-----------------*/
  .nohome:not(.template-prestations-php) #content {
    position: relative;
    padding-top: 150px;
  }

  .home #content::before {
    top: -151px;
  }

  .home #content .blocthumb {
    position: absolute;
    left: 0;
    top: 0;
    width: 65.9%;
    height: 85%;
  }

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

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

  .home #content .content_title .title {
    max-width: 55%;
    margin-bottom: 60px;
  }

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

  .home #content .content_thumb .tertiarythumb {
    height: 80%;
    position: relative;
    top: -15%;
  }

  .home #content .content_thumb .tertiarythumb img {
    object-position: right;
  }

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

  .home #content {
    padding-top: 180px;
    padding-bottom: 120px;
  }

  /*------------------- GALLERYSECOND ---------------------*/
  #gallerySecond .title {
    top: 0;
  }

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

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

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

  /*-----------------ACTUS/NEWS-----------------------*/
  .home #news {
    /* margin-top: -240px; */
  }

  #news {
    -webkit-mask: url(../images/bottomCurveFull.svg);
    mask: url(../images/bottomCurveFull.svg);
    mask-size: cover;
    -webkit-mask-size: cover;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    mask-position: bottom center;
    -webkit-mask-position: bottom center;
    /* padding-top: 180px; */
  }

  .wrapActu {
    padding-bottom: 150px;
  }

  .home .content_slider {
    display: grid;
    grid-template-columns: 130Px 1fr 1fr 100Px;
    gap: 20px;
    align-items: center;
  }

  .wrapper_slider:not(:last-child) .content_slider {
    border-bottom: 1px solid #ffffff2b;
  }

  .newsdate {
    --size: 130px;
    width: var(--size);
    height: var(--size);
    text-align: center;
    line-height: 1.3;
    border-radius: 50%;
  }

  .newsdate::before,
  .newsdate::after {
    content: '';
    position: absolute;
    top: 5px;
    right: 5px;
    --size: 6px;
    width: var(--size);
    height: var(--size);
    border-radius: 50%;
    z-index: 1;
    background: var(--primary-color);
  }

  .newsdate::before {
    top: 10Px;
    right: 10px;
    --size: 20px;
  }

  .wrapper_slider:nth-child(even) .content_slider {
    padding-left: 50px;
  }

  /*-------------------CTA-----------------------*/
  #cta {
    padding-bottom: 0;
    margin-bottom: -50Px;
    padding-top: 70Px;
  }

  #cta .button {
    --size: 170px;
    width: var(--size);
    height: var(--size);
    border-radius: 50% !important;
    overflow: hidden;
    display: grid;
    align-content: center;
    justify-content: center;
    margin: 0 auto;
    margin-top: 0px;
    line-height: 1.5;
    border: 10px solid var(--background-color);
  }

  /*-----------------*/
  /* PRESTATIONS */
  /*-----------------*/
  #prestations {
    padding: 0;
    /* margin-bottom: 100px; */
  }

  .template-parent-page-php #prestations {
    padding-top: 0;
  }

  #prestations .ckctrldiv .play {
    display: none;
  }

  #prestations .ckslidercontrols .prev {
    left: 10px;
  }

  #prestations .cksliderwrap {
    padding-bottom: 70px;
  }

  #prestations .ckctrldiv {
    transform: none;
    left: 96px;
    bottom: 13px;
  }

  #prestations .ckslidercontrols .next {
    left: 220px;
    right: auto;
  }

  #prestations .ckslidercontrols .prev,
  #prestations .ckslidercontrols .next {
    right: auto;
  }

  #prestations .prestations-title {
    min-width: 130%;
    margin-bottom: 20px !important;
  }

  #prestations .title_content {
    font-size: 40px;
  }
  /*------------------- REASSURANCES ---------------------*/
  .nohome #reassurances
  {
      clip-path: polygon(0 100%, 50% 100%, 53% 90%, 90% 90%, 93% 100%, 100% 100%, 100% 0, 43% 0, 40% 10%, 20% 10%, 17% 0, 0% 0%);
  }
.picto-bloc:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: var(--black);
    width: 1px;
    left: initial;
    right: 0;
    opacity: .3;
}
.nohome .picto-bloc:not(:last-child)::after 
{
    background: var(--white);
}
  /*-----------------*/
  /* SECTIONS */
  /*-----------------*/
  #sections .section_title {
    margin-bottom: 80px;
    padding: 0 60px;
  }

  #sections .section_title .title {
    padding: 0;
    margin: 0;
  }

  .sectionsbloc .section_thumb .blocthumb {
    height: 80%;
    top: 10%;
  }

  #sections .section_title p {
    margin: 0;
  }

  #sections .section_title .title:after {
    height: 100%;
    width: 2px;
    left: auto;
    right: -50px;
    background: rgb(0 0 0 / 10%);
  }

  #sections .section_txt {
    padding: 40px 40px 40px 0;
  }

  .sectionsbloc {
    padding: 70px 0 0;
  }

  #sections .section_txt .specialthumb {
    position: absolute;
    --size: 145px;
    bottom: 0;
    left: 5%;
    width: 200px;
    height: var(--size);
    overflow: hidden;
    border: solid var(--white) 10px;
  }

  .sectionsbloc .wrap-text {
    padding: 0;
    max-width: 62%;
    margin-left: auto;
  }

  #sections .tertiarythumb {
    position: absolute;
    left: 0;
    top: 0;
    width: 26.5%;
    height: 85%;
  }

  /*--------------------FOOTER----------------------*/
  .home #footer {
    z-index: 0;
  }

  #footer #footerbloc {
    margin-top: 150px;
  }
}

@media(min-width: 1281px) {

  /*-----------------*/
  /* INTRO / CONTENT */
  /*-----------------*/
  .home #content .content_thumb .specialthumb {
    width: 334px;
    height: 350px;
    top: -300px;
  }

  .home #content .wrap-text {
    padding: 50px;
    max-width: 47%;
  }

  /*-----------------*/
  /* PRESTATIONS */
  /*-----------------*/
  #prestations .title_content {
    font-size: 2;
  }

  #prestations .prestations-title {
    min-width: 170%;
  }

  /*-----------------*/
  /* SECTIONS */
  /*-----------------*/
  #sections .section_txt {
    padding: 110px 50px 80px 0;
  }

  #sections .tertiarythumb {
    width: 39.5%;
  }

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

  #sections .section_txt .specialthumb {
    left: 19%;
    --size: 175px;
    width: 230px;
  }
}

@media(min-width: 1481px) {

  /*---------------CTA--------------------------*/
  #cta .button {
    margin-top: -70Px;
  }

  /*-----------------*/
  /* SECTIONS */
  /*-----------------*/
  #sections .tertiarythumb {
    width: 47.5%;
  }

  .sectionsbloc .wrap-text {
    max-width: 40%;
  }

  #sections .section_txt .specialthumb {
    left: 26%;
    --size: 195px;
    width: 275px;
  }
}

@media(min-width: 1681px) {

  /*-----------------*/
  /* SECTIONS */
  /*-----------------*/
  #sections .section_txt .specialthumb {
    left: 30%;
    --size: 225px;
  }
}


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

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

@media(max-width: 1280px) {

  /*-----------------*/
  /* HEADER */
  /*-----------------*/
  .coeurpaysan {
    width: 170px;
  }

  /*-----------------*/
  /* HEADERHOME + BANNER*/
  /*-----------------*/
  #headerHome,
  #banner {
    margin-top: 116px;
  }

  /*-----------------*/
  /* PRESTATIONS */
  /*-----------------*/
  #prestations .prestations-content {
    width: 34%;
  }

  #choixPresta .linkPresta {
    padding: 5px;
    min-width: 50%;
    max-width: 50%;
  }


  /*-----------------*/
  /* NAVPRIMARY */
  /*-----------------*/
  .navigmenu .naviglink.lvl-0 {
    font-size: 14px;
  }

  /*-----------------*/
  /* SECTIONS */
  /*-----------------*/
  #choixSections:before {
    left: 30px;
  }

  #choixSections:after {
    left: 20px;
  }

}

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

  /*-----------------*/
  /* HEADER */
  /*-----------------*/
  #header-coordonnees {
    right: -240px;
    width: 240px;
    padding: 70px 20px 65px;
  }

  .coeurpaysan {
    width: 140px;
  }

  /*-----------------*/
  /* HEADERHOME */
  /*-----------------*/
  #headerHome-accroche {
    max-width: 500px;
    margin: 0 auto;
  }

  /*-----------------*/
  /* NAVPRIMARY */
  /*-----------------*/
  .navigmenu .naviglink.lvl-0 {
    padding: 10px 16px;
  }

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

  /*-----------------*/
  /* HEADERHOME + BANNER*/
  /*-----------------*/

  #headerHome,
  #banner {
    margin-top: 93px;
  }

  /*-----------------*/
  /* INTRO / CONTENT */
  /*-----------------*/
  .home #content {
    flex-direction: column;
    display: flex;
  }

  .home #content .content_thumb {
    display: grid;
    align-items: stretch;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }

  .home #content .content_thumb>div {
    height: 100%;
  }

  .home #content .content_txt .wrap-text {
    grid-column: span 2;
  }

  .home #content .content_txt .blocthumb {
    height: 400px;
  }

  .home #content .content_title {
    padding: 0;
  }

  .home #content .linkTurn {
    --size: 9rem;
    position: absolute;
    top: -70px;
    margin: 0 auto;
    right: 0;
  }

  .home #content .tertiarythumb {
    filter: drop-shadow(2px 2px #ffffff50);
  }

  .home #content .tertiarythumb::before {
    bottom: 100px;
    left: 30px;
    --size: 200px;
    width: 120px;
  }

  /*------------------- GALLERY SECOND ---------------------*/
  #gallerySecond .gallery-item:nth-child(8) {
    display: none !important;
  }

  #gallerySecond .gallery {
    padding: 2px !important;
  }

  /*-----------------*/
  /* PRESTATIONS */
  /*-----------------*/
  #prestations .title_content {
    font-size: 30px;
  }

  #prestations .prestations-content .separator {
    margin-bottom: 30px;
  }

  #prestations .prestations-img {
    height: 750px;
  }

  #choixPresta {
    right: 15px;
    top: auto;
    transform: none;
    bottom: 0;
    left: 15px;
    width: auto;
  }

  #prestations {
    padding-bottom: 170px;
    margin-bottom: 60px;
  }

  #choixPrestaSlider,
  #choixPresta .linkPresta.active .subtitlePresta {
    height: 230px;
  }

  #choixPresta .linkPresta {
    min-width: 33.33333%;
    max-width: 33.33333%;
  }

  .subtitlePresta {
    height: 200px;
  }

  #choixPresta .subtitlePresta .subtitlePresta_content {
    font-size: 14px;
  }

  #prestations .prestations-content {
    width: auto;
    max-width: 800px;
    top: calc(50% - 130px);
    margin: 0 auto;
    right: 0;
    text-align: center;
  }

  #prestations .prestations-img:before {
    background: var(--overlay-color)
  }

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

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

  /*-----------------NEWS----------------------*/
  #news .title {
    margin-top: 20Px;
  }

  .wrapActu {
    max-width: 600Px;
    margin: 0 auto;
  }

  .content_slider {
    display: grid;
    justify-content: center;
    justify-items: center;
    text-align: center;
  }

  .newsdate {
    font-family: var(--font-title);
    padding: 10px;
  }

  /*-----------------*/
  /* SECTIONS */
  /*-----------------*/
  #choixSections {
    display: none;
  }

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

  #sections .sectionsbloc>*:not(.section_thumb) {
    max-width: 700Px;
    margin: 0 auto;
    width: 100%;
  }

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

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

  #sections .section_txt :is(.tertiarythumb, .specialthumb) {
    height: 300px;
  }

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

}

@media(max-width: 767px) {

  /*-----------------*/
  /* HEADER */
  /*-----------------*/
  .coeurpaysan {
    width: 160px;
  }

  /*-----------------*/
  /* HEADERHOME + BANNER*/
  /*-----------------*/
  #headerHome,
  #banner {
    margin-top: 78px;
  }

  /*-----------------*/
  /* INTRO / CONTENT */
  /*-----------------*/
  .home #content .content_txt .blocthumb {
    height: 300px;
  }

  #content .eb-feature-list-item {
    margin-bottom: 20px;
  }

  /*-----------------*/
  /* PRESTATIONS */
  /*-----------------*/
  #choixPrestaSlider,
  #choixPresta .linkPresta.active .subtitlePresta {
    height: 200px;
  }

  .subtitlePresta {
    height: 180px;
  }

  #choixPresta .subtitlePresta .subtitlePresta_content {
    --dist: 10px;
    font-size: 13px;
  }

  #prestations .prestations-img {
    height: 550px;
  }

  #prestations .prestations-content {
    width: 100%;
    padding: 50px 20px;
    top: calc(50% - 130px);
  }

  #prestations .prestations-content .separator {
    display: none;
  }

  #prestations .prestations-title {
    margin-bottom: 10px !important;
  }

  #prestations .title_content {
    font-size: 24px;
  }

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

  /*-----------------*/
  /* SECTIONS */
  /*-----------------*/
  #sections .section_txt :is(.tertiarythumb, .specialthumb) {
    height: 300px;
  }

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

@media(max-width: 480px) {

  /*-----------------*/
  /* PRESTATIONS */
  /*-----------------*/
  #choixPresta .linkPresta {
    padding: 5px;
    min-width: 50%;
    max-width: 50%;
  }
}