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

@media(min-width: 768px) {

  /*-----------------*/
  /* PRESTATIONS */
  /*-----------------*/
  #prestations .bloc_prestations {
    padding: 10px;
  }

  #prestations .widget_parentpage,
  #prestations .bloc_prestations:nth-child(2) .prestations-wrapper {
    height: 400px;
  }

  #prestations .prestations-content {
    padding: 50px 20px;
  }

  #prestations .prestations-txt .liresuite {
    margin-top: 20px;
  }

  /*-----------------*/
  /* 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: 2.5em;
    text-shadow: 0 0 8px var(--black);
    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: 650px;
    width: 50%
  }

  #news .wrapper_slider:first-of-type .content_slider {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    margin-bottom: 100px;
  }

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

@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;
    font-size: 3em;
    line-height: 1;
    margin: 0 auto;
  }

  /*-----------------*/
  /* PRESTATIONS */
  /*-----------------*/
  .home #prestations {
    margin-top: -230px;
    padding-bottom: 0;
  }

  #prestations {
    padding: 150px 15px 150px;
  }

  #prestations .prestations-txt .tc_excerpt {
    display: block;
  }

  #prestations .prestations-content {
    padding: 60px 30px;
  }

  #prestations .prestations-title h3 {
    font-size: 25px;
  }

  /*-----------------*/
  /* INTRO / CONTENT */
  /*-----------------*/
  .nohome #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;
  }

  /*-------------------- MOT -------------------*/
  #galleryHome .swiper-pagination 
  {
      bottom: 140px!important;
  }

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

  #news .wrapper_slider:first-of-type .text_slider a {
    line-height: 1.4;
    font-size: 19px;
  }
  /*-------------------- MOT -------------------*/
  #reassurances .picto-container li
  {
    position: relative;
  }
  #reassurances .picto-container li:not(:last-child)::after
  {
    content : "";
    position: absolute;
    right: 0;
    top: 0;
    --size:100%;
    width: 1px;
    height: var(--size);
    border-right: 1px solid var(--black);
    opacity: 0.1;
  }
  .nohome #reassurances .picto-container li:not(:last-child)::after
  {
    border-color: var(--white);
    opacity: 0.3;
  }
  #reassurances .picto-container li strong
  {
    display: block;
    margin-bottom: 5px;
    color: var(--black);
    text-transform: uppercase;
    letter-spacing: 0.03em;
  }
  
 /*-------------------- SECTIONS -------------------*/
    .sectionsbloc.even {
        z-index: 2;
    }

    .sectionsbloc.odd::before
    {
        top: 50%;
        transform:translateY(-50%);
        height: calc(100% + 250px);
        width: 68%;
    }

    .sectionsbloc .specialthumb {
        position: absolute;
        bottom: -100px;
        left: 20%;
        --size: 300px;
        width: var(--size);
        height: var(--size);
    }

    .sectionsbloc.odd .specialthumb {
        --size: 250px;
        width: calc(var(--size) * 1.5);
        left: initial;
        transform: initial;
        /* bottom: -200px; */
        right: 5%;
        border: 10px solid var(--background-color);
    }

    .sectionsbloc.even .specialthumb {
        border-radius: 50%;
        overflow: hidden;
        animation: 4s floatingBase infinite ease-in-out;
    }

    .sectionsbloc .wrap-text {
        width: 100%;
        padding-top: 200px;
        max-width: 800px;
    }


    .sectionsbloc {
        padding: 50px 0;
    }


    .sectionsbloc.even .shape {
        left: calc(50% + 100px);
    }

    #sections {
        margin-bottom: 200px;
    }

    /*-----------------*/
    /* FOOTER */
    /*-----------------*/
    body:not(.template-contact-php) #footer:before {
        background: url(../images/home-bg3.jpg);
        background-position: center;
    }

    body:not(.template-contact-php) #footer:before {
        height: 500px;
        top: 110px;
    }

    #footer:after {
        background: var(--white);
        z-index: -2;
        top: 60px;
        height: calc(100% - 60px);
    }

    body.template-contact-php #footer:after {
        top: 0;
        height: 100%;
    }

    .wrapperFooter {
        padding: 50px;
        width: 94%
    }
}

@media(min-width: 1281px) {

  /*-----------------*/
  /* PRESTATIONS */
  /*-----------------*/
  #prestations .prestations-content {
    padding: 60px 40px;
  }

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

  .home #content {
    padding: 100px 0;
  }

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

}

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

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

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

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

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

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

  #header #logoCoordonnees {
    display: none;
  }

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

  /*-----------------*/
  /* PRESTATIONS */
  /*-----------------*/
  .home #prestations {
    margin-top: -100px;
  }

  #prestations .prestations-title {
    padding: 20px 15px;
  }

  .prestations-content :is(h2, h3) {
    font-size: 22px;
  }

  /*-----------------*/
  /* 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;
  }
   /*-------------------- SECTIONS -------------------*/
    .section_thumb {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .sectionsbloc .shape {
        transform: translateX(-50%);
        top: 150px;
        left: 50%;
        opacity: 0.2;
    }

    .sectionsbloc .title {
        margin-bottom: 60px;
    }
  /*-----------------*/
    /* REASSURANCESTop */
    /*-----------------*/
    .home #reassurancesTop {
        height: 150px;
        margin-bottom: -40px;
        margin-top: -50px;
    }

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

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

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

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

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

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

  #news:after {
    content: none;
  }

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

  #news .wrapper_slider {
    padding-bottom: 20px;
    margin-bottom: 20px;
  }

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

  #news .wrapper_slider:first-of-type .text_slider,
  #news .wrapper_slider:first-of-type .text_slider a {
    line-height: 1.5;
  }

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

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

    /*-----------------*/
    /* FOOTER */
    /*-----------------*/
    .wrapperFooter {
        padding: 70px 25px;
        grid-gap: 70px !important;
    }

    #footerLinks {
        padding: 20px 10px;
    }

    .imgFooter {
        height: 300px;
        margin: 0 -25px -70px;
    }

    #logoCoordonneesFooter img {
        width: 160px;
    }

    #footer {
        background: var(--white);
    }
}

@media(max-width: 767px) {

  /*-----------------*/
  /* PRESTATIONS */
  /*-----------------*/
  .prestations-content :is(h2, h3) {
    font-size: 20px;
  }

  .home #prestations {
    margin-top: -40px;
  }
  /*-----------------*/
    /* REASSURANCESTop */
    /*-----------------*/
    .home #reassurancesTop-containerBis span {
        display: none;
    }

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

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

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

    .nohome #reassurancesTop .picto-container li svg,
    .nohome #reassurancesTop .picto-container li img {
        --size: 25px
    }
    .nohome #reassurancesTop .picto-container li p
    {
        margin: 0!important;
    }

    .nohome #reassurancesTop .picto-container  strong
    {
        display: inline-block;
        margin-top: 20px!important;
    }
    .nohome #reassurancesTop .picto-container li:before
    {
        left: 50%!important;
        right: initial!important;
        transform:translateX(-50%)!important;
        top: 0!important;
    }
    .nohome #reassurancesTop .picto-container li {
        padding: 19px 35px;
        display: grid;
        justify-content: center;
        justify-items: center;
        gap: 10px;
        text-align: center!important;
    }

    .nohome #reassurancesTop .picto-container {
        max-width: 330px;
        margin: 0 auto
    }
  /*-----------------*/
  /* ACTU */
  /*-----------------*/
  #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: 200px;
    margin-top: 30px;
    margin-bottom: 20px;
  }

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

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

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

  #content .eb-feature-list-item {
    margin-bottom: 20px;
  }
  /*-----------------*/
  /* FOOTER */
  /*-----------------*/
  .wrapperFooter {
      padding: 40px 25px;
      grid-gap: 50px !important;
  }

  #logoCoordonneesFooter {
      margin-bottom: 15px;
      width: 150px;
  }

  .imgFooter {
      margin: 0 -15px -40px;
  }
  
}

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