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

@media(min-width: 768px) {

  /*-----------------*/
  /* PRESTATIONS */
  /*-----------------*/
  #prestations .widget_parentpage {
    min-height: 440Px;
  }

  #prestations .bloc_prestations {
    padding: 20px;
    display: grid;
    align-items: center;
    overflow: hidden;
  }

  #prestations .bloc_prestations.activeInfo .prestations-wrapper {
    height: 400px;
  }

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

  #prestations .prestations-txt .liresuite {
    margin-top: 50px;
  }
  /*-----------------*/
  /* NEWS */
  /*-----------------*/
  #news
  {
    z-index: 2;
  }
  #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: 0px 0px 8px var(--black);
    line-height: 1.1;
    text-transform: uppercase;
  }

  #news .wrapper_slider:first-of-type .wrapper_inner_slider {
    display: flex;
  }

  #news .wrapper_slider:first-of-type .thumbnail_slider {
    order: 2;
    height: 550px;
    width: 50%;
  }

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

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

  /*-------------------REASSURANCES-----------------------*/
  .home #reassurances:before {
    height: 220%;
    top: initial;
    bottom: -40%;
  }

  .picto-container li:nth-child(2),
  .picto-container li:nth-child(4) {
    margin-top: 70px;
  }

  .picto-container li:not(:last-child):after {
    content: '';
    position: absolute;
    top: 20px;
    left: calc(100% - 50px);
    --size: 100px;
    width: var(--size);
    height: var(--size);
    z-index: -1;
    background: url(../images/arrowBetween.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
  }

  .picto-container li:nth-child(even):after {
    transform: scaleY(-1);
    bottom: 30px;
    top: initial;
  }

  .picto-container li p {
    position: absolute;
    bottom: -50px;
  }
  /*-----------------GALLERYHOME------------------------*/
  #galleryHome .gallery {
    display: grid;
    width: 100%;
    grid-gap: 15px;
    transition: .6s;
    grid-template-columns: repeat(42, 1fr);
    max-width: 100%;
    grid-template-rows: repeat(2, 595px);
    position: relative;
    margin-top: -150px
  }

  #galleryHome .gallery .gallery-item {
    grid-column: span 8;
    position: relative;
    width: 100% !important
  }

  #galleryHome .gallery .gallery-item:first-of-type {
    grid-row: span 1;
    grid-column: span 6
  }

  #galleryHome .gallery .gallery-item:nth-child(2) {
    grid-column: span 12
  }

  #galleryHome .gallery .gallery-item:nth-child(3) {
    grid-column: span 9;
    top: 235px
  }

  #galleryHome .gallery .gallery-item:nth-child(4) {
    grid-column: span 8
  }

  #galleryHome .gallery .gallery-item:nth-child(5) {
    grid-column: span 7
  }

  #galleryHome .gallery .gallery-item:nth-child(7) {
    grid-column: span 10
  }

  #galleryHome .gallery .gallery-item:nth-child(8) {
    grid-column: span 5;
    top: 125px
  }

  #galleryHome .gallery .gallery-item:nth-child(9) {
    grid-column: span 4;
    top: 125px
  }

  #galleryHome .gallery .gallery-item:nth-child(10) {
    grid-column: span 10;
    top: -107px
  }

  #galleryHome .gallery .gallery-item:nth-child(11) {
    grid-column: span 3;
    top: -120px
  }

  #galleryHome .gallery .gallery-item:nth-child(12) {
    grid-column: span 2;
    top: -120px
  }

  #galleryHome .gallery .gallery-item:nth-child(13) {
    grid-column: span 5;
    position: absolute;
    bottom: 146px;
    right: 0;
    height: 346px;
    width: 10.5% !important;
    overflow: hidden
  }

  #galleryHome .gallery .gallery-item .gallery-icon {
    height: 100% !important;
    position: relative
  }

  #galleryHome .gallery .gallery-item:nth-child(2) .gallery-icon {
    height: 70% !important;
    top: 30%
  }

  #galleryHome .gallery .gallery-item:nth-child(3) .gallery-icon {
    height: 80% !important
  }

  #galleryHome .gallery .gallery-item:nth-child(4) .gallery-icon {
    height: 69% !important;
    top: 73px
  }

  #galleryHome .gallery .gallery-item:nth-child(5) .gallery-icon {
    height: 75% !important;
    top: 20px
  }

  #galleryHome .gallery .gallery-item:nth-child(6) .gallery-icon {
    height: 86% !important
  }

  #galleryHome .gallery .gallery-item:nth-child(7) .gallery-icon {
    height: 56% !important
  }

  #galleryHome .gallery .gallery-item:nth-child(8) .gallery-icon {
    height: 42% !important
  }

  #galleryHome .gallery .gallery-item:nth-child(9) .gallery-icon {
    height: 22% !important
  }

  #galleryHome .gallery .gallery-item:nth-child(10) .gallery-icon {
    height: 61% !important
  }

  #galleryHome .gallery .gallery-item:nth-child(11) .gallery-icon,
  #galleryHome .gallery .gallery-item:nth-child(12) .gallery-icon {
    height: 34% !important
  }
}

@media(min-width: 1025px) {

  /*-----------------*/
  /* HEADER + NAVPRIMARY */
  /*-----------------*/
  #header-coordonnees::before {
    border: 1px solid rgb(255 255 255 / 40%);
    border-top: none;
    height: calc(100% - 5px);
    box-sizing: border-box;
    border-radius: 50px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 59% 100%, 57% 90%, 43% 90%, 41% 100%, 0 100%);
  }

  .navigmenu .naviglink.lvl-2 span {
    padding: 0 0 0 15px;
    display: block
  }

  .navigmenu .naviglink.lvl-2 {
    text-align: left;
    padding: 10px;
    font-size: 14px;
  }

  .navigmenu .naviglink.lvl-2 span:before {
    content: "";
    --size: 6px;
    position: absolute;
    top: 5px;
    left: 0;
    background: var(--primary-color);
    width: var(--size);
    height: var(--size);
    border-radius: 100%
  }

  #navprimary {
    border-bottom: 1px solid rgb(255 255 255 / 40%);
    position: relative;
  }

  #infoadresse br {
    display: none;
  }

  #logoCoordonnees {
    order: 0;
    grid-row: span 2;
  }

  #header-coordonnees>:nth-child(1) {
    order: -1;
    align-items: flex-end
  }

  #header-coordonnees .right {
    order: 2
  }

  #header-coordonnees>:nth-child(1),
  #header-coordonnees>:nth-child(4),
  #header-coordonnees>:nth-child(6) {
    padding: 0 24px 0 0;
    text-align: right;
  }

  #header-coordonnees>:nth-child(1) span,
  #header-coordonnees>:nth-child(4) span,
  #header-coordonnees>:nth-child(6) span {
    text-align: right;
  }

  #header-coordonnees>:nth-child(1):before,
  #header-coordonnees>:nth-child(4):before,
  #header-coordonnees>:nth-child(6):before {
    right: 0;
    left: auto;
  }

  #infotelportButton {
    padding: 6px 40px 6px 20px;
  }


  #header-coordonnees #infotelportButton:before {
    right: 15px;
  }

  #logoCoordonnees>a,
  #logo>a {
    height: 190px;
    padding: 25px;
    margin: 0 auto;
    position: relative;
    margin: -58px auto;
    margin-bottom: -100px;
  }

  /*------------------- HEADERHOME ---------------------*/
  #headerHome
  {
    padding-top: 50px;
  }
  /*------------------- INTRO / CONTENT ---------------------*/
  .home #content {
    margin-top: 0;
    z-index: 1;
  }

  .home #content .wp-block-media-text__content {
    padding-left: 40px;
  }

  .home #content .wp-block-media-text__media {
    padding-top: 180px;
  }

  .home #content .title {
    margin-left: -40px;
  }

  #home_content-imgs {
    position: absolute;
    top: -100px;
    left: 0;
    right: 0;
    pointer-events: none;
    height: calc(100% - 200px);
    z-index: 2;
  }

  #home_content-imgs>div {
    position: absolute;
  }

  #home_content-imgs .blocthumb {
    left: -70px;
    top: 234px;
    width: 120px;
    height: 180px;
  }

  #home_content-imgs .specialthumb {
    right: 30px;
    top: 148px;
    width: 156px;
    height: 131px;
  }

  #home_content-imgs .tertiarythumb {
    left: -250px;
    top: 639px;
    width: 328px;
    height: 335px;
    /* opacity: 0.1; */
  }

  #home_content-imgs .quaternarythumb {
    right: 20px;
    top: 756px;
    width: 216px;
    height: 263px;
    border: solid 10px var(--white);
  }

  #intro-content .intro-txt {
    max-width: 500px;
    margin: 0 14% 0 auto;
    padding-right: 40px;
  }

  .grid-img {
    grid-gap: 30px !important;
    margin-bottom: -100px;
  }

  .grid-img .blocthumb {
    width: 200%;
    margin-left: -100%;
    margin-top: 1.5rem;
    height: 440px;
  }

  .grid-img .specialthumb {
    height: 299px;
    margin-top: 2.5rem;
  }

  .grid-img .tertiarythumb {
    margin-top: 5.5rem;
    height: 299px;
  }

  .grid-img .quaternarythumb {
    width: 200%;
    margin-right: -100%;
    height: 440px;
  }

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

  /*-----------------NEWS / ACTUS--------------------*/
  .listedarticle.odd {
    position: relative;
  }

  /*------------PARTENAIRES--------------------*/
  #partenaires {
    padding-bottom: 200Px;
    margin-bottom: -100px;
  }

  /*------------------- SECTIONS ---------------------*/
  .sectionsbloc {
    padding: 70px 0Px;
  }

  .tertiary_thumb {
    position: absolute;
    bottom: 0Px;
    left: 50%;
    transform: translateX(-50%);
  }

  .secondary_thumb {
    position: relative;
    left: -200px;
    width: calc(100% + 100Px);
    margin-bottom: 90Px;
    height: 220px;
  }

  .sectionsbloc.even .secondary_thumb {
    left: 200px;
  }

  .sectionsbloc.even::before {
    width: 70%;
  }

  .secondary_thumb * {
    height: 100%;
  }

  .section_txt {
    z-index: 2;
  }

  .sectionsbloc.even::before {
    top: 300px;
  }
  /*-------------------FOOTER---------------------*/
  body:not(.template-contact-php) #footer::before
  {
    background: url(../images/home-bg1.jpg);
    /* background-attachment: fixed; */
    background-position: center;
    background-repeat: repeat-x;
    background-size: 50%;
  }
  body:not(.template-contact-php) #footer::before,  body:not(.template-contact-php) #footer .overlay
  {
    height: 500Px;
    top: 100px;
  }
  .template-contact-php #footer .overlay
  {
    display: none;
  }
  #footerForm
  {
    z-index: 1;
    position: relative;
  }
  .wrapperContact
  {
    padding: 0;
    background: var(--white);
    box-shadow: 0px 0px 30px #1a1a2612;
  }
  
  #wrapperForm
  {
    padding: 50Px;
  }

  body:not(.template-contact-php) #footerLinks {
      margin: 50px auto;
  }
  #footer h2 {
      color: var(--black);
  }
  #footerForm .privacyform_lab, #footerForm .wrapperForm .title h2, #footerForm .mention
  {
    color: var(--black);
  }
}

@media(min-width: 1281px) {

  /*-----------------*/
  /* INTRO / CONTENT */
  /*-----------------*/

  #home_content-imgs .blocthumb {
    left: -316px;
    width: 391px;
    height: 270px;
  }

  #home_content-imgs .quaternarythumb {
    left: 1000px;
    right: auto;
    width: 346px;
    top: 536px;
    height: 413px;
  }

  #home_content-imgs .specialthumb {
    right: -20%;
    left: initial;
    --size: 300Px;
    width: var(--size);
    height: calc(var(--size)/1.5);
    top: 150px;
  }
  /*-----------------NEWS------------------------*/
  #news, #cta
  {
    width: calc(100% - 60px);
    margin: 0 auto;
  }
  /*------------------- SECTIONS ---------------------*/
  .secondary_thumb {
    height: 250px;
  }
}

@media(min-width: 1320px) {
  #header::before {
    width: calc(100% - 100px);
    max-width: 1300px;
    height: calc(100% - 45px);
    border: 1px solid var(--white);
    border-top: 0;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.5;
    clip-path: polygon(0% 0%, 0% 100%, 10% 100%, 10% 10%, 100% 10%, 90% 100%, 10% 100%, 10% 100%, 100% 100%, 100% 0%);
  }
}

@media(min-width: 1481px) {

  /*----------------HEADER--------------------*/
  #header::before {
    clip-path: polygon(0% 0%, 0% 100%, 10% 100%, 10% 10%, 100% 10%, 90% 100%, 10% 100%, 10% 100%, 100% 100%, 100% 0%);
  }

  /*------------------- SECTIONS ---------------------*/
  .secondary_thumb {
    height: 450px;
  }
}

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


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

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

@media(max-width: 1280px) {
  /*-----------------*/
  /* HEADER + NAVPRIMARY */
  /*-----------------*/
  #header:before {
    right: 5%;
    left: 5%;
  }

  .navigmenu .navbloctitle {
    font-size: 16px;
    letter-spacing: 1px;
  }
}

@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-coordonnees>* {
    text-align: center;
  }

  .typewrite {
    height: 41px;
    display: grid;
    align-items: center;
    justify-items: center;
  }


  #header {
    padding: 0;
  }

  #logoCoordonnees img {
    max-width: 200px;
  }

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

  #header-coordonnees>div {
    margin: 10px auto;
  }

  #logoCoordonnees>a,
  #logo>a {
    padding-top: 10Px;
  }

  #logo {
    position: relative;
  }

  .navigmenu .naviglink span {
    padding: 5px 0;
  }

  .menuarticle,
  .navigmenu .navbloctitle {
    display: none;
  }

  #header:before {
    bottom: 72px;
    left: 35px;
    right: 35px;
  }

  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-coordonnees {
    pointer-events: none;
  }

  #header-coordonnees>* {
    pointer-events: all;
  }

  #header :is(#header-coordonnees>*,#header-coordonnees>*>span, .horaires.nomodal .titlehoraires)
  {
    text-align: center;
  }

  #infoadresseBis
  {
    order: -2;
  }
  #infoadresse
  {
    order: -1;
  }
  #logoCoordonnees
  {
    order: -3;
  }

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

  .title.md-tac:not(.no-after):after {
    left: 50%;
    transform: translateX(-50%);
  }
  /*------------------- HEADERHOME ---------------------*/
  #headerHome
  {
    padding-top: 100px;
    padding-bottom: 200px;
  }
  /*-----------------*/
  /* CONTENT */
  /*-----------------*/
  .home #content {
    display: flex;
    flex-direction: column-reverse;
  }

  #home_content-imgs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    grid-auto-rows: 260px;
  }

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

  #news {
    padding: 80px 25px;
  }

  #news .wrapper_slider:first-of-type .text_slider,
  #news .wrapper_slider:first-of-type .text_slider a {
    font-size: 14px;
  }

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

  #news .wrapper_slider:first-of-type .title_slider {
    font-size: 38px;
  }
  /*------------------- SECTIONS ---------------------*/
  .wrap-text {
    max-width: 700Px;
    margin: 0px auto;
  }

  .sectionsbloc .first_thumb,
  .sectionsbloc .tertiary_thumb,
  .secondary_thumb,
  .sectionsbloc .section_thumb img,
  .sectionsbloc .specialthumb img {
    height: 250px;
  }

  .sectionsbloc .specialthumb {
    margin-top: -150px;
  }

  .sectionsbloc .section_thumb img {
    transform: initial !important;
  }

  .wrap-text .title {
    margin-top: 30Px;
  }

  .section_thumb {
    display: grid;
    align-items: stretch;
  }

  .section_txt {
    z-index: 2;
    position: relative;
  }
  .sectionsbloc.odd::before
  {
    display: none;
  }
  .sectionsbloc .wrap-text
  {
    max-width: 700px;
  }
  .buttons-wrap
  {
    justify-content: center;
  }
  /*------------------- PRESTATIONS ---------------------*/
  .home #prestations
  {
    padding-bottom: 0;
  }
}

@media(max-width: 767px) {

   /*-----------------*/
  /* HEADER */
  /*-----------------*/

  #logoCoordonnees>a {
    width: 140px;
  }

  #header:before {
    bottom: 48px;
  }
  /*------------------- SM-TAC ---------------------*/
  .sm-tac {
    text-align: center;
  }
  .title.sm-tac:not(.no-after):after {
    left: 50%;
    transform: translateX(-50%);
  }
  /*-----------------*/
  /* CONTENT */
  /*-----------------*/
  #home_content-imgs {
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
    grid-auto-rows: 180px;
  }
  /*------------------NEWS--------------------*/
  #news .wrapper_slider:first-of-type .content_slider .title {
    min-width: auto;
  }

  #news .wrapper_slider:first-of-type .wrapper_inner_slider {
    display: flex;
    flex-direction: column-reverse;
  }

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

  .next_slider {
    margin-top: -10px;
  }

  #news .wrapper_slider:first-of-type .thumbnail_slider {
    height: 250px;
    margin-top: 30px;
  }

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

  #news {
    padding: 60px 25px;
  }
  /*------------------- GALLERYHOME ---------------------*/
  #galleryHome .gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }
  #galleryHome .gallery-item:nth-child(n+13)
  {
    display: none;
  }
  /*------------------CTA------------------------*/
  #cta .flex {
    flex-direction: column;
    gap: 30px;
  }
}

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