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

@media(min-width: 768px) {

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

  /*-----------------*/
  /* PRESTATIONS */
  /*-----------------*/
  .prestations-img {
    display: none;
  }
}

@media(min-width: 1025px) {

  /*-----------------*/
  /* HEADER */
  /*-----------------*/
  #header.fixed-header {
    background-color: var(--background-color);
    border-bottom: 2px solid var(--white);
  }

  .navigtoogle.lang {
    margin-left: auto;
  }

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

  #header-coordonnees {
    gap: 20px;
    width: 50%;
    right: -100%;
    grid-template-columns: repeat(2, 1fr);
  }

  #navsecondary {
    grid-column: span 2;
    min-height: 65vh;
    display: grid;
    align-items: center;
    justify-items: center;
    border-bottom: 1Px solid #ffffff30;
    margin-bottom: 50px;
    overflow: hidden;
  }

  #navsecondary .navigtoogle.has-child .naviglink.lvl-0:after {
    border-width: 0.2em;
    top: 50%;
    transform: translateY(-50%);
    height: auto;
    display: inline-block;
  }

  #navsecondary .navigmenu .navdown {
    max-width: 80%;
    padding: 20px;
  }

  #navsecondary .navigmenu .naviglink.lvl-1 {
    text-align: center;
  }

  #navsecondary .ckmenu {
    display: none;
  }

  #navsecondary .navigmenu {
    display: grid;
    background: var(--black);
    align-items: center;
    align-content: center;
    padding-bottom: 50px;
  }

  #navsecondary .navigmenu .naviglink.lvl-0 {
    padding: 0;
    font-size: clamp(20px, 2vw, 40px);
  }

  #navsecondary small {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200%;
    text-align: center;
    color: var(--tertiary-color);
    font-family: var(--font-alt);
    z-index: -1;
    letter-spacing: 0.1em;
    opacity: 0;
    transition: all 0.6s;
    font-size: 1.3em;
  }

  #navsecondary .naviglink.lvl-0:hover {
    color: var(--white);
  }

  #navsecondary .naviglink.lvl-0:hover small {
    opacity: 0.3;
    letter-spacing: 0.2em;
  }

  .leftCoord {
    left: -100%;
    width: 50%;
    top: 0;
    z-index: 999;
    height: 100svh;
    transition: left 1s cubic-bezier(.77, 0, .175, 1);
  }

  body.is-toggle-open .leftCoord {
    left: 0;
    visibility: visible;
  }

  .leftCoord::before {
    background-image: url(../images/home-bg3.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
  }

  #info-toogle {
    --primary-color: var(--white);
  }

  /*------------------- HEADERHOME ---------------------*/
  #headerHome::before {
    height: calc(100% + 75px);
  }

  #headerHome::after,
  #banner::after {
    background: var(--secondary-color);
    top: initial;
    bottom: -75px;
    width: calc(100% - 300px);
    left: initial;
    right: 100px;
    transform: skewX(10deg);
  }

  #banner .overlay {
    height: calc(100% - 50px);
  }

  #headerHome {
    margin-bottom: 75px;
  }

  #headerHome-accroche {
    max-width: 800px;
    margin: 0 auto;
    margin-bottom: 30px;
    margin-top: 10px;
  }

  #headerHome-content>.wrappercontent {
    padding-bottom: 100px;
    /* margin-left: 2%; */
  }

  #headerHome::before,
  #banner::before {
    background-image: url(../images/shape-home.svg);
    background-position: left center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 2;
    width: 350Px;
    left: initial;
    right: 0;
  }

  #banner {
    overflow: hidden;
    padding-bottom: 50px;
  }

  #banner::before {
    right: -120px;
    width: 370px;
  }

  .navigtoogleLogo {
    z-index: 4;
  }

  .menuarticle article {
    padding: 20px;
  }

  .menuarticle article:not(:last-child) {
    border-right: 1Px solid #ffffff20;
  }

  .menuarticle span {
    color: var(--primary-color);
  }

  .menuarticle .tb_hoverBloc {
    border-top: 1px solid #ffffff20;
  }

  .navdownwrapper {
    margin-top: -5px;
  }

  /*-------------------HOMECONTACT-----------------------*/
  #homeContact {
    margin-top: -200Px;
    z-index: 2;
  }

  #homeContact .fondContact {
    order: -1;
  }
 /*--------------------LINK----------------------*/
  #linkTurnWrapper
  {
    left: 100px;
  }
  /*------------------- INTRO ---------------------*/
  .wrapContentHome {
    padding-top: 50px;
    /* font-size: 21px; */
    position: relative;
  }

  #galleryHome {
    height: 1300px;
    position: relative;
  }

  #galleryHome .gallery-item {
    position: absolute;
    height: 500px;
    --width: 30%;
    width: var(--width);
    top: -5%;
  }

  #galleryHome .gallery-item:nth-child(2) {
    height: 400px;
    top: 40%;
    left: 2%;
  }

  #galleryHome .gallery-item:nth-child(3) {
    height: 400px;
    width: calc((2/3)*var(--width));
    top: 20%;
    left: 40%;
  }

  #galleryHome .gallery-item:nth-child(4) {
    height: 400px;
    top: 15%;
    left: initial;
    right: 0;
  }

  #galleryHome .gallery-item:nth-child(5) {
    height: 290px;
    top: 75%;
    left: 20%;
    width: calc(var(--width)/1.5);
  }

  #galleryHome .gallery-item:nth-child(6) {
    height: 400px;
    top: 60%;
    left: 50%;
  }

  #intro-content .wp-block-media-text {
    grid-template-columns: 1fr 2fr !important;
  }

  #intro-content .wp-block-media-text__content {
    padding: 100px 40px;
  }

  #intro-content .wp-block-media-text__content>p:first-child {
    color: var(--title-color);
    line-height: 1.5;
  }

  #contentPage {
    padding: 100px 0;
  }

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

  #news .wrapper_slider:first-of-type .text_slider a {
    line-height: 1.4;
    font-size: 19px;
  }

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

  #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;
    display: grid;
    grid-template-columns: 2fr 3fr;
  }

  .sectionsbloc {
    padding: 70px 0 0;
  }

  /*-------------------FOOTER---------------------*/
  body:not(.template-contact-php) #footer::before {
    background: url(../images/home-bg2.jpg);
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
  }

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

  #footer::before,
  #footer .overlay {
    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%);
  }

  .template-contact-php #footer .overlay {
    display: none;
  }

  #footerForm {
    z-index: 1;
    position: relative;
  }

  .wrapperContact {
    padding: 0;
    background: var(--white);
    max-width: 1200px;
    margin-left:4%;
    box-shadow: 0px 0px 30px #1a1a2612;
  }
  #footer .wrapperContact
  {
    margin:  0 auto;
  }

  #wrapperForm {
    padding: 50Px;
  }

  #wrapperForm .title {
    background: var(--primary-color);
    position: absolute;
    top: -44px;
    left: 0;
    padding: 10px;
  }

  #wrapperForm .title h2 {
    color: var(--white);
    text-transform: uppercase;
    font-size: 20px;
    letter-spacing: 2px;
  }

  #wrapperForm .title::after {
    display: none;
  }

  body:not(.template-contact-php) #footerLinks {
    margin: 50px auto;
  }

  #footer #footerbloc {
    padding: 100Px 20Px;
    padding-top: 150px;
  }

  :is(#footer, #homeContact) .privacyform_lab {
    color: var(--black);
  }

}

@media(min-width: 1281px) {

  /*------------------- HEADER ---------------------*/
  #info-toogle {
    justify-self: flex-start;
  }

  [lang=de] .navigmenu .naviglink.lvl-0 {
    padding: 20px 14px;
    font-size: 15px;
  }

  /*--------------------HOMECONTACT----------------------*/
  #homeContact {
    margin-top: -300Px;
  }

  /*------------------- GALLERYHOME ---------------------*/
  #galleryHome .gallery-item {
    --width: 33%;
  }
}

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

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

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

@media(max-width: 1480px) {

  /*------------------- HomeContact ---------------------*/
  #homeContact #wrapperForm .title {
    top: initial;
    bottom: 0;
  }

  /*------------------- FOOTER ---------------------*/
  #homeContact #wrapperForm .title {
    top: initial;
    bottom: 0;
  }
}

@media(max-width: 1280px) {

  /*-----------------*/
  /* HEADER */
  /*-----------------*/
  #logo {
    justify-items: center;
  }

  #navprimary .navigmenu {
    justify-content: center;
  }

  /*-----------------*/
  /* PRESTATIONS */
  /*-----------------*/
  .prestations-content h2,
  .prestations-content h3 {
    font-size: 28px;
  }

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

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

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

  /*------------------HOMECONTACT----------------------*/
  #wrapperForm {
    margin-top: 30px;
  }

  #homeContact .wrapperContact {
    padding-bottom: 0;
  }

  /*-----------------*/
  /* HEADER */
  /*-----------------*/
  #header.fixed-header {
    background-color: var(--background-color);
    border-bottom: 2px solid var(--white);
    position: fixed;
    top: 0;
    z-index: 99;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
    left: 0;
    animation: slide-down 0.7s;
    right: 0;
  }

  #headerHome-img {
    height: 400px;
  }

  #headerHome-logo img {
    width: 250px;
  }

  #headerHome-hero {
    grid-gap: 5px;
    grid-template-rows: none;
    grid-auto-rows: 150px;
    grid-template-columns: repeat(3, 1fr);
  }


  #headerHome-logo,
  #headerHome-hero_content {
    display: none;
  }

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

  #header-coordonnees {
    left: initial;
    top: 0;
    transform: initial;
    justify-content: center;
  }

  .ckmenu {
    position: relative;
    z-index: 1000;
    border-radius: 50%;
    overflow: hidden;
  }

  .ckmenu-nav {
    padding-top: 50px;
  }

  /*------------------- INTRO / CONTENT ---------------------*/
  #galleryHome .gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .svgHome {
    --size: 50px;
    margin: 20px auto;
    margin-bottom: 50px;
  }

  #galleryHome .gallery-item {
    transform: initial !important;
  }
  .lbp
  {
    display: flex;
    justify-self: center;
  }
  /*-----------------LINKTURN------------------------*/
  #linkTurnWrapper
  {
    left: 50%;
    transform: translateX(-50%);
  }
  .linkTurn
  {
    --size:10rem
  }
  /*-----------------*/
  /* PRESTATIONS */
  /*-----------------*/
  .prestations-content h2,
  .prestations-content h3 {
    font-size: 22px;
  }

  .prestations-content {
    padding: 30px 10px 20px 10px;
  }

  .bloc_prestations {
    height: 50vh;
  }

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

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

  /*-----------------*/
  /* PRESTATIONS */
  /*-----------------*/
  .nohome #prestations {
    padding: 0;
  }

  #prestations-img {
    --size: 290px;
    margin: 0 auto;
  }

  #prestations .liresuite {
    margin: 10px 0 0 0;
  }

  /*-----------------*/
  /* 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_title {
    gap: 0;
    padding: 60px 30px 10px;
  }

  .specialthumb
  {
    max-height: 300px;
    padding: 0 20px;
    filter: brightness(0.5);
  }
  /*------------------FOOTER-----------------------*/
  #footer #footerbloc {
    background: var(--black);
    padding: 30px;
  }

  #footer .overlay {
    display: none;
  }

  .fondContact {
    min-height: 200px;
    order: -1;
  }
  #footerForm
  {
    background: var(--white);
  }
  .safari #wrapperForm {
    text-align: center;
  }
  .safari #wrapperForm .title {
    display: inline-flex;
  }

}

@media(max-width: 767px) {

  /*-----------------*/
  /* PRESTATIONS */
  /*-----------------*/
  .bloc_prestations {
    height: 300px;
  }

  .bloc_prestations .prestations-img {
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: -2;
  }

  .bloc_prestations:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, .3);
  }

  .bloc_prestations:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, .3);
  }

  .prestations-content {
    padding: 20px 10px 20px 10px;
  }

  .prestations-content h2,
  .prestations-content h3 {
    font-size: 24px;
  }

  /*-----------------*/
  /* SECTIONS */
  /*-----------------*/

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

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

  /*-----------------*/
  /* 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 25px 100px;
  }

  /*-------------------FOOTER---------------------*/
  .wrapperContact {
    padding: 50px 10px;
  }

  .wrapCoordFooter {
    gap: 15px;
  }

  #footerForm {
    border-bottom: 1Px solid #dadada;
  }

}

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