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

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

@media(min-width: 1025px) {

  /*-----------------*/
  /* HEADER + NAVPRIMARY */
  /*-----------------*/
  .siteDE .navigmenu .naviglink {
    font-size: 12Px;
    padding: 20px 7px;
  }

  #header-coordonnees::before {
    border: 1px solid rgb(255 255 255 / 40%);
    border-top: none;
    height: calc(100% - 5px);
    box-sizing: border-box;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 63% 100%, 63% 90%, 37% 90%, 37% 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;
    padding-right: 45Px;
  }

  #infoadresse br {
    display: none;
  }

  #logoCoordonnees {
    order: 0;
  }

  #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: 140px;
    padding: 10px 25px;
    margin: 0 auto;
    position: relative;
    margin: -20px auto;
    margin-bottom: -25px;
  }

  .fixed-header .emptyParent {
    order: -1;
    background-image: url(../images/favicon/mstile-310x310.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 70%;
  }

  /*-------------------- MOT -------------------*/
  #headerHome {
    min-height: 800px;
    height: 100vh !important;
  }

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

  .home #content {
    margin-top: -180Px;
    padding-top: 0;
  }

  #galleryContent {
    padding: 0 20px;
  }

  #galleryContent .gallery {
    gap: 30px;
    padding: 0;
    grid-template-columns: repeat(1, 1fr);
  }


  #content .textContent {
    margin-top: -110px;
    background: var(--background-color);
    padding: 60px;
    padding-bottom: 0;
    z-index: 1;
  }

  .imgContent img {
    height: 500px;
    /* margin-top: -160px; */
  }

  .wp-block-column .wp-block-quote {
    margin-top: 0 !important;
  }

  .textOnlyHome::before {
    background-image: url(../images/home-bg2.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 40%;
    top: initial;
    bottom: 10%;
    width: 30%;
    left: 5%;
  }

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

  /*-------------------- CERTIFICATIONS -------------------*/
  .widget_certifications {
    max-width: 500px;
    margin: 0 auto !important;
    margin-top: -170px !important;
    margin-bottom: 100px !important;
    z-index: 2;
    position: relative;
  }

  /*-------------------- GALLERYHOME -------------------*/

  #galleryHome .gallery {
    height: 34.625em;
    font-size: 1.25vw;
    overflow: hidden;
    position: relative;
  }

  #galleryHome .gallery .gallery-item {
    margin-bottom: 0;
    position: absolute
  }

  #galleryHome .gallery .gallery-item:first-of-type {
    width: 15em !important;
    height: 25.25em;
    top: 3.625em;
    left: 0;
    z-index: 1
  }

  #galleryHome .gallery .gallery-item:nth-child(2) {
    width: 11.5625em !important;
    height: 12.25em;
    top: 10em;
    left: 10em;
    z-index: 6
  }

  #galleryHome .gallery .gallery-item:nth-child(3) {
    width: 13em !important;
    height: 13em;
    top: 18em;
    left: 23.5em;
    FONT-WEIGHT: 200;
    z-index: 6;
  }

  #galleryHome .gallery .gallery-item:nth-child(4) {
    width: 24.5625em !important;
    height: 34.625em;
    top: 0;
    left: 32.875em;
    z-index: 2
  }

  #galleryHome .gallery .gallery-item:nth-child(5) {
    width: 14em !important;
    height: 18em;
    top: 8em;
    right: 16.5%;
    z-index: 5;
    /* border: 10px solid var(--background-color); */
  }

  #galleryHome .gallery .gallery-item:nth-child(6) {
    width: 11em !important;
    height: 17.5em;
    top: 4.125em;
    right: 0;
    z-index: 3
  }

}

@media(min-width: 1281px) {

  /*------------------- HEADER ---------------------*/
  .navigmenu .naviglink.lvl-0 {
    padding: 20px 14Px;
    font-size: 15Px;
  }

}

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

@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---------------------*/
  #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(.fixe, .portable, .horaires, .mail, .adresse) :is(a:hover, span) {
    text-align: center;
  }

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

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

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

  .home #content {
    padding-top: 0;
    padding-bottom: 200Px;
  }

  .imgContent img {
    max-height: 350Px;
    object-position: top;
  }

  .home #content .title {
    margin: 50Px 0;
  }

  .line-element,
  .textWrapContent,
  .textOnlyHome {
    max-width: 600Px;
    width: 100%;
    margin: 0 auto;
  }

  .textOnlyHome {
    max-width: 700Px;
  }

  .home #content .linkTurn {
    left: 50%;
    transform: translateX(-50%);
    bottom: -190px;
  }

  /*-------------------- MOT -------------------*/
  .sectionsbloc.odd {
    background: var(--black);
  }

}

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

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