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

@media(min-width: 768px) {

  /*------------------- &&& ---------------------*/
  .nohome.template-parent-page-php #content {
    padding-bottom: 60px;
  }

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

  #header-coordonnees {
    margin: 15px 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);
  }

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

  .home #content .title {
    max-width: 80%;
    margin: 30px auto;
  }

  .home #content .blocthumb {
    height: 460px;
  }

  .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 .has-medium-font-size {
    font-size: 25px !important;
  }

  .home #content .tertiarythumb {
    width: 8.7%;
    height: 240px;
    top: 290px;
    z-index: 1;
  }

  .home #content .quaternarythumb {
    left: auto;
    right: 0;
    width: 9.5%;
    top: 35px;
    height: 400px;
    z-index: 1;
  }

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

  .home #content .wp-block-media-text__content>p:first-child {
    padding: 30px;
    background: var(--black);
    color: var(--white);
    margin-top: -300px;
  }

  /*------------------- HEADERHOME ---------------------*/
  #headerHome-accroche {
    max-width: 700px;
    margin: 0 auto;
    display: grid;
    align-items: center;
    justify-items: center;
  }

  #headerHome {
    padding-bottom: 100px;
  }


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

  /*-------------------- GALLERYHOME -------------------*/
  #galleryHome {
    max-width: 50%;
    margin-top: -150px;
    z-index: 2;
  }

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

  /*------------------REASSURANCES----------------------*/

  .nohome #reassurances {
    margin-bottom: 100px;
  }

  #reassurances .title h2 {
    font-size: 3em;
  }

  .reaFull::before {
    left: 50%;
    z-index: -1;
    top: -70px
  }

  .wrapRea {
    margin: 180px 0;
    width: 100%;
  }

  #reassurances::before,
  #reassurances .overlay {
    width: 55%;
    clip-path: polygon(0 0, 55% 0, 63% 10%, 100% 10%, 100% 100%, 0 100%);
  }

  .picto-container {
    margin: 100px 0;
    margin-left: -60px;
    z-index: 1;
  }

  .picto-container {
    flex-direction: column;
  }

  .picto-bloc {
    padding: 40px 40px;
    box-sizing: border-box;
    display: grid;
    align-items: center;
    grid-template-columns: 70px 1fr;
  }

  .picto-container li p {
    margin-top: 8px;
    line-height: 1.6em;
    font-family: var(--font-bold);
    text-align: left;
    padding: 0 40px;
    box-sizing: border-box;
  }


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

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

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

  /*------------NEWS / ACTUS--------*/
  #news::before,
  #news .overlay {
    top: initial;
    bottom: 0;
    height: calc(100% + 250px);
  }

  #news .wrapper_slider {
    grid-column: span 2;
  }

  #news .wrapper_slider:first-of-type {
    order: 2;
    grid-column: span 3;
  }

  #news .wrapper_slider:first-of-type .thumbnail_slider {
    height: 680px;
  }

  #news .wrapper_slider:not(:first-of-type) .text_slider {
    display: none;
  }

  #news .wrapper_slider:first-of-type .thumbnail_slider:before {
    position: absolute;
    content: '';
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-image: -moz-linear-gradient(-90deg, rgba(0, 0, 0, 0) 0%, rgb(0, 0, 0) 100%);
    background-image: -webkit-linear-gradient(-90deg, rgba(0, 0, 0, 0) 0%, rgb(0, 0, 0) 100%);
    background-image: -ms-linear-gradient(-90deg, rgba(0, 0, 0, 0) 0%, rgb(0, 0, 0) 100%);
    opacity: .8;
    z-index: 1;
  }

  #news .wrapper_slider:first-of-type .content_slider {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    z-index: 1;
  }

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

  #news .wrapper_slider:first-of-type .title_slider {
    font-size: 26px;
    line-height: 1.3;
  }

  #news .wrapper_slider:first-of-type .button {
    color: var(--white);
  }

  #news .wrapper_slider:first-of-type .title_link_slider:hover {
    color: var(--primary-color);
  }

  #news .wrapper_slider:last-of-type {
    order: 3;
    margin: 55px 0 0;
  }

  #news .wrapper_slider:nth-child(2) {
    order: 1;
    margin: 100px 0 0;
  }

  .listedarticle,
  .listedarticle .wrapper_inner_slider {
    height: 100%;
  }


  #news .wrapper_slider:nth-child(1) .title_link_slider,
  #news .wrapper_slider:nth-child(1) .text_slider {
    color: var(--white);
  }

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

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

@media(min-width: 1281px) {

  /*-----------------*/
  /* INTRO / CONTENT */
  /*-----------------*/
  .home #content {
    overflow: hidden;
  }

  .home #content .tc_content {
    padding-left: 15%;
  }

  .home #content .title h1 {
    max-width: 90%;
    margin: 0 auto;
  }

  .home #content .title {
    padding: 60px 50px;
    margin-top: 0;
    padding-top: 0;
  }

  .home #content .linkTurn {
    left: 0%;
    top: 12em;
  }

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

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

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

  .home #content .tertiarythumb {
    top: 190px;
    left: 20px;
  }

  .home #content .blocthumb::before,
  .imageRea::after {
    content: "";
    position: absolute;
    --pos: 20px;
    top: var(--pos);
    left: var(--pos);
    --size: 100%;
    width: var(--size);
    height: var(--size);
    border: 1px solid var(--tertiary-color);
    border-radius: 0px;
  }

  .imageRea::after {
    --pos: 10px;
  }

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

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

  /*-----------------*/
  /* SECTIONS */
  /*-----------------*/
  #sections .section_txt {
    padding: 80px 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) {

  /*-----------------*/
  /* INTRO / CONTENT */
  /*-----------------*/
  .home #content .title {
    max-width: 1200px;
  }

  /*---------------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) {

  /*-----------------*/
  /* INTRO / CONTENT */
  /*-----------------*/
  .home #content .homeContent-img .wp-block-image {
    padding-left: 100px;
  }

  .home #content .quaternarythumb {
    right: 1%;
    width: 16.5%;
  }

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


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

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

@media(max-width: 1280px) {


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

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

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

  #choixSections:after {
    left: 20px;
  }
}

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

  .navigmenu .naviglink.lvl-0.item-home {
    margin: 0 auto;
    padding: 0;
    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%);
  }

  /*------------------- HEADERHOME ---------------------*/
  #headerHome {
    padding: 100px 0;
  }

  /*-----------------*/
  /* INTRO / CONTENT */
  /*-----------------*/
  .home #content .title {
    margin: 30px auto;
  }

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

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

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

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

  .home #content :is(.tertiarythumb, .quaternarythumb) {
    margin: 0;
  }

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

  /*-------------------- GALLERYHOME -------------------*/
  #galleryHome {
    margin-top: 20px;
  }

  #gallerySecond .gallery-item:nth-child(8) {
    display: none !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)
  }

  /*-------------------REASSURANCES-------------------*/
  #reassurances {
    padding: 80px 20px 30px;
    background: var(--light-color);
  }

  .picto-container {
    justify-items: center;
  }

  .picto-container li {
    display: flex;
    align-items: center;
    padding: 0 20px;
    margin: 15px 0;
    flex-direction: column;
    text-align: center;
    flex: 1 1 25%;
  }

  #reassurances .title h2 {
    color: var(--black);
  }

  #reassurances::before,
  #reassurances .overlay {
    display: none;
  }

  #reassurances .title {
    text-shadow: 0px 0px 0px #000;
  }

  /*------------------- &&& ---------------------*/
  #gallerySecond .gallery {
    padding: 2px !important;
  }



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

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

}

@media(max-width: 767px) {

  /*-----------------*/
  /* HEADER */
  /*-----------------*/
  .horairesTitle {
    font-size: 24px;
  }

  /*-----------------*/
  /* HEADERHOME */
  /*-----------------*/


  .logoheaderHome {
    max-height: 50Px;
  }

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

  /*-----------------*/
  /* INTRO / CONTENT */
  /*-----------------*/
  .linkTurn {
    --size: 10rem;
  }

  .home #content .linkTurn {
    bottom: -200px;
  }

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

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