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

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

@media(min-width: 1025px) {

  /*------------------- HEADER ---------------------*/
  .has-child {
    position: static;
  }

  #logo {
    display: grid;
    align-items: center;
    justify-items: center;
  }
  /*------------------- &&& ---------------------*/
  .home #prestations
  {
    margin-bottom: -100px;
    padding-bottom: 250px;
  }
  /*------- -----------GALLERYHOME----------------------*/
  #galleryHome {
    /* margin: -250Px 0; */
    margin-bottom: -230px;
    z-index: 2;
    position: relative;
    pointer-events: none;
  }

  #galleryHome::before
  {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    --size: 100%;
    width: var(--size);
    height: 30%;
    background: var(--light-color);
  }

  #galleryHome .gallery {
    display: grid;
    width: 100%;
    grid-gap: 10px;
    transition: .6s;
    grid-template-columns: repeat(42, 1fr);
    max-width: 100%;
    grid-template-rows: repeat(2, 400px);
    position: relative
  }

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

  #galleryHome .gallery-icon {
    overflow: hidden;
    position: relative;
    pointer-events: all;
  }

  #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: 205px;
  }

  #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: 154px;
    right: 0;
    height: 346px;
    width: 10.5% !important;
    overflow: hidden
  }

  #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: 1281px) {

  /*------------------- HEADER ---------------------*/
  #navsecondary
  {
    border-radius:0px 0px 40px 40px;
  }

  /*------------------GALLERY------------------------*/
  #galleryHome .gallery {
    grid-gap: 15px;
    grid-template-rows: repeat(2, 595px);
  }

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

@media(min-width: 1481px) {

  #navprimary .navigmenu .naviglink.lvl-0
  {
    font-size: 14px;
  }
  #navsecondary .navigmenu .naviglink.lvl-0
  {
    font-size: 14px;
    padding: 18px 14px;
  }
}

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


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

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

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

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

  /*------------------GALLERYHOME-----------------------*/
  #galleryHome .gallery {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
  }

  #galleryHome .gallery-item:nth-child(n+11) {
    display: none;
  }

  .gallery-item .overlay {
    display: none !important;
  }

}

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

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