/*  LORIS  */
/* INIZIO MOBILE */
@media screen and (min-width: 0px) {
  .cg-buttons-row:not(.secondary-button-row) {
    overflow-x: auto;
    justify-content: flex-start;
  }
  .cg-buttons-row:not(.secondary-button-row) .cg-buttonMenuMobile {
    flex: 0 0 calc(100% / (
              5 + calc(1 / 2)
            )) !important;
    max-width: unset;
  }

  .cg-buttonMenuMobile:first-child:nth-last-of-type(1),
.cg-buttonMenuMobile:first-child:nth-last-of-type(1) ~ .cg-buttonMenuMobile {
    flex: 0 0 calc(100% / 1) !important;
  }

  .cg-buttonMenuMobile:first-child:nth-last-of-type(2),
.cg-buttonMenuMobile:first-child:nth-last-of-type(2) ~ .cg-buttonMenuMobile {
    flex: 0 0 calc(100% / 2) !important;
  }

  .cg-buttonMenuMobile:first-child:nth-last-of-type(3),
.cg-buttonMenuMobile:first-child:nth-last-of-type(3) ~ .cg-buttonMenuMobile {
    flex: 0 0 calc(100% / 3) !important;
  }

  .cg-buttonMenuMobile:first-child:nth-last-of-type(4),
.cg-buttonMenuMobile:first-child:nth-last-of-type(4) ~ .cg-buttonMenuMobile {
    flex: 0 0 calc(100% / 4) !important;
  }

  .cg-buttonMenuMobile:first-child:nth-last-of-type(5),
.cg-buttonMenuMobile:first-child:nth-last-of-type(5) ~ .cg-buttonMenuMobile {
    flex: 0 0 calc(100% / 5) !important;
  }
}
/* FINE MOBILE */
/**/
/* INIZIO TABLET */
@media screen and (min-width: 576px) {
  .cg-buttons-row:not(.secondary-button-row) {
    overflow-x: auto;
    justify-content: flex-start;
  }
  .cg-buttons-row:not(.secondary-button-row) .cg-buttonMenuMobile {
    flex: 0 0 calc(100% / (
              7 + calc(1 / 2)
            )) !important;
    max-width: unset;
  }

  .cg-buttonMenuMobile:first-child:nth-last-of-type(1),
.cg-buttonMenuMobile:first-child:nth-last-of-type(1) ~ .cg-buttonMenuMobile {
    flex: 0 0 calc(100% / 1) !important;
  }

  .cg-buttonMenuMobile:first-child:nth-last-of-type(2),
.cg-buttonMenuMobile:first-child:nth-last-of-type(2) ~ .cg-buttonMenuMobile {
    flex: 0 0 calc(100% / 2) !important;
  }

  .cg-buttonMenuMobile:first-child:nth-last-of-type(3),
.cg-buttonMenuMobile:first-child:nth-last-of-type(3) ~ .cg-buttonMenuMobile {
    flex: 0 0 calc(100% / 3) !important;
  }

  .cg-buttonMenuMobile:first-child:nth-last-of-type(4),
.cg-buttonMenuMobile:first-child:nth-last-of-type(4) ~ .cg-buttonMenuMobile {
    flex: 0 0 calc(100% / 4) !important;
  }

  .cg-buttonMenuMobile:first-child:nth-last-of-type(5),
.cg-buttonMenuMobile:first-child:nth-last-of-type(5) ~ .cg-buttonMenuMobile {
    flex: 0 0 calc(100% / 5) !important;
  }

  .cg-buttonMenuMobile:first-child:nth-last-of-type(6),
.cg-buttonMenuMobile:first-child:nth-last-of-type(6) ~ .cg-buttonMenuMobile {
    flex: 0 0 calc(100% / 6) !important;
  }

  .cg-buttonMenuMobile:first-child:nth-last-of-type(7),
.cg-buttonMenuMobile:first-child:nth-last-of-type(7) ~ .cg-buttonMenuMobile {
    flex: 0 0 calc(100% / 7) !important;
  }
}
/* FINE TABLET */
/**/
/* INIZIO TABLET XL */
@media screen and (min-width: 1024px) {
  .cg-buttons-row:not(.secondary-button-row) {
    overflow-x: auto;
    justify-content: flex-start;
  }
  .cg-buttons-row:not(.secondary-button-row) .cg-buttonMenuMobile {
    flex: 0 0 calc(100% / (
              11 + calc(1 / 2)
            )) !important;
    max-width: unset;
  }

  .cg-buttonMenuMobile:first-child:nth-last-of-type(1),
.cg-buttonMenuMobile:first-child:nth-last-of-type(1) ~ .cg-buttonMenuMobile {
    flex: 0 0 calc(100% / 1) !important;
  }

  .cg-buttonMenuMobile:first-child:nth-last-of-type(2),
.cg-buttonMenuMobile:first-child:nth-last-of-type(2) ~ .cg-buttonMenuMobile {
    flex: 0 0 calc(100% / 2) !important;
  }

  .cg-buttonMenuMobile:first-child:nth-last-of-type(3),
.cg-buttonMenuMobile:first-child:nth-last-of-type(3) ~ .cg-buttonMenuMobile {
    flex: 0 0 calc(100% / 3) !important;
  }

  .cg-buttonMenuMobile:first-child:nth-last-of-type(4),
.cg-buttonMenuMobile:first-child:nth-last-of-type(4) ~ .cg-buttonMenuMobile {
    flex: 0 0 calc(100% / 4) !important;
  }

  .cg-buttonMenuMobile:first-child:nth-last-of-type(5),
.cg-buttonMenuMobile:first-child:nth-last-of-type(5) ~ .cg-buttonMenuMobile {
    flex: 0 0 calc(100% / 5) !important;
  }

  .cg-buttonMenuMobile:first-child:nth-last-of-type(6),
.cg-buttonMenuMobile:first-child:nth-last-of-type(6) ~ .cg-buttonMenuMobile {
    flex: 0 0 calc(100% / 6) !important;
  }

  .cg-buttonMenuMobile:first-child:nth-last-of-type(7),
.cg-buttonMenuMobile:first-child:nth-last-of-type(7) ~ .cg-buttonMenuMobile {
    flex: 0 0 calc(100% / 7) !important;
  }

  .cg-buttonMenuMobile:first-child:nth-last-of-type(8),
.cg-buttonMenuMobile:first-child:nth-last-of-type(8) ~ .cg-buttonMenuMobile {
    flex: 0 0 calc(100% / 8) !important;
  }

  .cg-buttonMenuMobile:first-child:nth-last-of-type(9),
.cg-buttonMenuMobile:first-child:nth-last-of-type(9) ~ .cg-buttonMenuMobile {
    flex: 0 0 calc(100% / 9) !important;
  }

  .cg-buttonMenuMobile:first-child:nth-last-of-type(10),
.cg-buttonMenuMobile:first-child:nth-last-of-type(10) ~ .cg-buttonMenuMobile {
    flex: 0 0 calc(100% / 10) !important;
  }

  .cg-buttonMenuMobile:first-child:nth-last-of-type(11),
.cg-buttonMenuMobile:first-child:nth-last-of-type(11) ~ .cg-buttonMenuMobile {
    flex: 0 0 calc(100% / 11) !important;
  }
}
/* FINE TABLET XL */
/**/
