

section.modals {
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  height: 100%;
  position: fixed;
  z-index: 9999;
  background-color: #000000b3;
  /* opacity: 0; */
  display: none;
}

section.modals.modals__open {
  display: flex;
}

section.modals .modals__select-language {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 400px;
  background-color: #171717;
  border-radius: 16px;
}

section.modals .modals__select-language .header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  width: calc(100% - 4px);
  border-bottom: solid #202020 2px;
}

section.modals .modals__select-language .header .modals__title {
  font-family: "Jost";
  font-size: 18px;
  font-weight: 800;
  color: white;
  margin: 0 0 0 24px;
}

section.modals .modals__select-language .header .modals__close-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 100%;
  background-color: #ffffff1a;
  margin: 0 24px 0 0;
  transition: 0.2s;
}

section.modals .modals__select-language .header .modals__close-btn svg {
  width: 16px;
  height: 16px;
}

section.modals .modals__select-language .header .modals__close-btn:hover {
  background-color: #ffffff33;
}

section.modals .modals__select-language main {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px;
  width: 100%;
}

section.modals .modals__select-language main .language-list {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(4, 40px);
  gap: 2px;
  width: calc(100% - 4px);
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

section.modals .modals__select-language main .language-list__item {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 100%;
  background-color: #202020;
  overflow: hidden;
}

section.modals
  .modals__select-language
  main
  .language-list__item:not(.selected-item)
  .language-list__item__selected-ico {
  display: none;
}

section.modals
  .modals__select-language
  main
  .language-list__item
  .language-list__item__title {
  font-family: "Jost";
  font-weight: 600;
  font-size: 14px;
  padding: 0 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: white;
}

section.modals .modals__select-language main .language-list__item.selected-item {
  border-radius: 8px;
  outline: 2px #2CA548 solid;
  outline-offset: -2px;
}

section.modals .modals__select-language main .language-list__item.selected-item:hover {
  cursor: default;
  background-color: #202020;
}

section.modals .modals__select-language main .language-list__item:hover {
  background-color: #262626;
  cursor: pointer;
}

section.modals
  .modals__select-language
  main
  .language-list__item
  .language-list__item__selected-ico {
  width: 20px;
  height: 20px;
  margin: 0 0 0 8px;
  border-radius: 100%;
  background-color: #2CA548;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

section.modals
  .modals__select-language
  main
  .language-list__item
  .language-list__item__selected-ico
  svg {
  width: 16px;
  height: 16px;
}


.float-aside-navigation {
  animation: OpenNavigationDesktop320px .8s;
  position: relative;
  display: flex;
  flex-direction: column;
  position: fixed;
  left: 0;
  min-width: 0;
  width: 320px;
  height: 100%; 
  padding: 0;
  background-color: #171717;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: 0;

  &:not(.navigation-opened) {
    display: none;
  }

  &::-webkit-scrollbar-track {
    width: 0;
  }

  & .header, main, footer {
    animation-name: ShowElements;
    animation-duration: .8s;
    animation-delay: .4s;
    animation-fill-mode: backwards;
  }


  & .header {
    background-color: #1b1b1b;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    flex-shrink: 0;


    & .float-nav-logo {
      width: 150px;
      margin: 0 auto;
    }

    & .close-navigation {
      position: absolute;
      left: 0;
      top: 0;
      height: 72px;
      width: 72px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;

      & svg {
        width: 24px;
        height: 24px;
        transform: scaleX(-1);
        color: var(--color-menu-top-icon);
      }

    }
  }

  & main {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 8px 0;
    width: 100%;
    flex: 1 0;

    & .outline-items-block {
      width: 100%;
      display: grid;
      grid-template-areas: 
        "e1 e1"
        "e2 e2"
        "e3 e4"
        "e5 e6";
      grid-template-columns: 1fr 1fr;
      gap: 8px;
      
    }

    & .outline-item {
      position: relative;
      height: 48px;
      width: 100%;
      background-color: #202020;
      border-radius: 8px;
      overflow: hidden;
      transition: .4s;
      display: flex;
      flex-direction: row;
      align-items: center;

      &:nth-child(1), &:nth-child(2) {
        justify-content: center;

        & img {
          margin: 0;
        }
      }

      & img {
        width: 40px;
        height: 40px;
        z-index: 999;
        margin: 0 0 0 8px;
      }

      & p {
        font-size: 14px;
        font-family: "Jost";
        font-weight: 700;
        color: white;
        z-index: 999;
        margin: 0 0 0 8px;
      }

      &:hover {
        cursor: pointer;
        background-color: #262626;
      }

      &::before {
        background: var(--color-background-missions);
        content: "";
        filter: blur(40px);
        height: 120px;
        left: -60px;
        opacity: .6;
        position: absolute;
        top: -100px;
        transition: opacity .3s ease-in-out;
        width: 120px;
      }

      &:first-child { grid-area: e1; }
      &:nth-child(2) { grid-area: e2; }
    }

    & .dropdown-items-block {
      display: flex;
      flex-direction: column;
      align-items: center;
      width: 100%;
      gap: 4px;
      padding: 16px 0 0;
    }

    & .dropdown-item {
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: space-between;
      border-radius: 8px;
      height: 36px;
      width: 100%;
      background-color: #202020;
      transition: .4s;
      padding: 8px;

      & svg {
        color: #e0e0e0;
        width: 20px;
        height: 20px;
      }

      & .dropdown-icon {
        transform: scaleY(-1);
      }

      & p {
        font-weight: 500;
        font-size: 14px;
        font-family: "Jost";
        color: #e0e0e0;
        margin: 0 auto 0 8px;
      }

      &:hover {
        cursor: pointer;
        background-color: #262626;
      }
    }
  }

  footer {
    width: 100%;
    padding: 16px 8px;
    flex-shrink: 0;

    & .navigation__footer__btn {
      height: 48px;
      border-radius: 16px;
      width: 100%;
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: center;
      transition: .25s;
      gap: 12px;

      & svg {
        width: 20px;
        height: 20px;
      }

      & p {
        font-family: "Jost";
        font-size: 16px;
        font-weight: 600;
        color: white;
      }

      &:hover {
        cursor: pointer;

        &.support {
          background-color: #07BE1A;
        }

        &.language {
          background-color: #323232;
        }
      }

      &.support {
        background-color: #034c0a;
        margin: 0 0 8px;

        & svg {
          color: rgb(211, 253, 215);
        }
      }

      &.language {
        background-color: rgb(44, 44, 44);
        margin: 0 0 16px;

        & svg {
          color: rgb(255, 255, 255, 0.8);
        }
      }
    }

    & .socials {
      display: grid;
      padding: 0 0 8px;
      min-width: 0;

      grid-template-columns: repeat(4, 1fr);
      gap: 8px;

      & .socials-item {
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
        height: 38px;
        width: 100%;
        background-color: #202020;
        transition: .4s;

        & svg {
          color: white;
          width: 20px;
          height: 20px;
        }

        &:hover {
          cursor: pointer;
          background-color: #262626;
        }
      }
    }

    & .download-app {
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: flex-start;
      position: relative;
      width: 100%;
      height: 48px;
      border-radius: 4px;
      background-color: #202020;
      overflow: hidden;
      gap: 4px;

      &:hover {
        cursor: pointer;
      }

      & img {
        margin: 4px;
        width: 40px;
        height: 40px;
      }

      & .text-box {
        display: flex;
        flex-direction: column;
        text-align: left;
        font-family: "Jost";

        & p {
          margin: 0;

          &.title {
            font-size: 12px;
            font-weight: 700;
            font-size: 12px;
            color: #e0e0e0;
          }

          &.desc {
            font-size: 10px;
            font-weight: 500;
            color: white;
            opacity: .6;
          }
        }
      }

      &::before {
        background: var(--color-background-missions);
        content: "";
        filter: blur(30px);
        height: 45px;
        left: -15px;
        opacity: 1;
        position: absolute;
        top: -15px;
        width: 45px;
      }
    }
  }
}

#app.opened-navigation {
  padding: 0 0 0 320px;

  & .nav-logo {
    display: none;
  }

  & .nav-sidebar {
    display: none;
  }
}

.providers-scroll {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}

.providers-scroll > .m-category-scroll__item {
  max-width: var(--item-width-default);
}

.footer {
  align-items: flex-start;
}

.pwa-banner__btn-ico {
  display: none;
}

.footer-dropdown {
  display: block;
}

#footer-dropdown__mobile {
  display: none;
}

#footer-nav__content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  flex-wrap: nowrap;
}
.footer-hr-mobile {
  display: none;
}

.footer-socials-icon-list {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  order: 2;

  & button {
    margin: 0 8px 0 0;
  }
}

.footer-support {
  order: 3;
}

.big-wins-slider__modify {
  /* display: grid;
  grid-template-columns: repeat(5, 1fr); */
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  
  gap: 16px;
  overflow-x: scroll;
  scrollbar-width: none;
  
}

.download-app__banner {
  display: none;
}

.big-wins-slider__modify::-webkit-scrollbar-track {
  width: 0;
}

.big-wins-slider__modify > div {
  flex-basis: 100%;
  min-width: 225px;
}

.mobile-nav-logo {
  display: none;
}

.btn-open-navbar__mobile {
  display: none;
  cursor: pointer;
}

@media (max-width: 1280px) {
  .float-aside-navigation {
    position: fixed;
    width: 430px;
    animation: OpenNavigationDesktop430px .8s;

  }

  #app.opened-navigation {
    padding: 0;
    & .blackout-cover {
      z-index: 999;
      position: fixed;
      width: 100%;
      height: 100%;
      background-color: #000000B3;
    }
  }
}

@media (max-width: 1260px) {
  

  .btn-open-navbar__mobile {
    display: block;
    visibility: visible;
    color: var(--color-menu-top-icon);
    transform: scale(-1, 1);
    
    & svg {
      width: 24px;
      height: 24px;
    }
  }

  

  #footer-nav__content {
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 24px;

    & .footer-support {
      order: -1;
    }

    & #footer-dropdown__mobile {
      display: block;
      order: 0;
      margin: 12px 0 0 0;
    }

    .footer-hr-mobile {
      display: block;
      width: 100%;
      outline: none;
      border: none;
      height: 1px;
      order: 1;
      background-color: #2c2c2c;
    }

    & .footer-nav__socials {
      & .footer-socials-follow {
        display: none;
      }
      order: 3;
    }

    & .FooterLinks {
      order: 3;
      display: grid;
      grid-template-columns: 1fr 1fr;
      grid-template-rows: repeat(7, auto);
      gap: 16px;
      padding: 10px 0 8px 0;

    }

    & .nav-logo {
      display: none;
    }

    
  }

  .footer-dropdown {
    display: none;
  }

  .main-nav-logo {
    display: none;
  }

  .mobile-nav-logo {
    display: block;
  }

  .nav-sidebar {
    display: none;
  }

  .big-wins-slider__modify {
    gap: 8px;
    padding: 0 16px;
  }

  .m-category-slider__header, .m-category-scroll__header {
    margin: 0 0 8px 0;
    padding: 0 16px;
  }

  .recent-big-wins-.header {
    padding: 0 16px;
  }


  .m-category-slider__content {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 8px;
    padding: 0 16px;
    scrollbar-width: 0;

    & > div {
      max-width: 300px;
      flex-shrink: 1;
      min-width: 180px;
    }
  }

  .m-category-slider__content::-webkit-scrollbar {
    width: 0;
  }

  #providers-scroll, .lobby-payments {
    gap: 8px;
    padding: 0 16px;

    & > div {
      margin: 0;
    }
  }
  
  .feedback-section {
    margin: 0 16px;
  }

  #pwa-banner {
    margin: 0 16px;

  }
  .lobby section {
    padding-left: 0;
    padding-right: 0;
  }

  section.bets {
    margin: 0 16px;
  }

  
}

.m-category-slider__content::-webkit-scrollbar {
  width: 0;
}

.m-category-slider__content {
  scrollbar-width: 0;
}

.lang-switch-top-footer {
  display: none;
}

@media (max-width: 960px) {
  .lang-switch-under-footer {
    display: none;
  }

  .lang-switch-top-footer {
    display: flex;
  }

  .footer-nav__socials {
    display: flex;
    width: 100%;
    justify-content: space-between;
  }

  .m-prev-next-arrows {
    display: none;
  }

  .footer-app-button {
    display: none;
  }

  .feedback-form-submit {
    display: flex;
    flex-direction: column;

    & button {
      width: 100%;
    }

    & span {
      margin: 0px 0 0 0;
    }
  }

  .download-app__banner {
    position: relative;
    display: block;
    order: 2;
    height: 56px;
    border-radius: 3px;
    width: 100%;
    background-color: #202020;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    text-decoration: none;
    color: white;

    & img {
      width: 40px;
      height: 40px;
      margin: 0 0 0 4px;
    }

    & .text-block {
      margin: 8px;
    }

    & h3 {
      font-size: 12px;
      color: #e0e0e0;
      margin: 0;
    }

    & p {
      font-size: 10px;
      color: white;
      opacity: .6;
      margin: 0;
    }

    &::before {
        background-color: #1a799f;
        content: " ";
        filter: blur(30px);
        height: 45px;
        left: -15px;
        opacity: 1;
        position: absolute;
        top: -15px;
        width: 45px;
        z-index: 100;
    }
  }

  ..header-Bold-L {
    font-size: 18px;
  }

  .big-wins-ico {
    display: none;
  }

  .view-all {
    & button {
      box-shadow: none;
      background-color: transparent;
      padding: 0;
      color: #bab4ff;
      font-size: 14px;
      text-align: right;
      margin: 0;
      display: flex;
      align-items: flex-end;

      & .m-button-content {
        margin: 0;
        padding: 0;
      }
    }
  }

  .providers-scroll {
    & > div {
      min-width: 110px;
    }
  }

  .lobby-show-all {

    & .m-counter {
      display: none;
    }
  }
}


#pwa-banner {
    transition: .4s;
}

@media (max-width: 760px) {
  .m-category-slider__content {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: scroll;

    & > div {
      min-width: 110px;
    }
  }

  #pwa-banner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-around;
    height: auto;
    padding: 12px 0;
    gap: 12px;
    overflow: hidden;
  }

  .pwa-banner__text {
    margin: 0 0 0 16px;

    & h2 {
      font-size: 18px;
    }

    & p {
      font-size: 12px;
      width: 70%;
    }
  }

  #pwa-banner__image {
    position: absolute;
    right: 0;
    left: auto;
    scale: 1;
  }

  .pwa-banner__btn {
    margin: 0 0 2px 16px;
    padding: 0;
    font-size: 14px;
    height: 35px;
    border-radius: 8px;

    

    & div {
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: center;
      padding: 0 12px 0 14px;
      gap: 0;
    }

    & p {
      padding: 0 0 1px 0;
    }

    & img {
      display: block;
      scale: .7;
      margin: 0 0 0 5px;
      padding: 0;
    }
  }
}

@media (max-width: 430px) {
  .float-aside-navigation {
    position: fixed;
    width: 100%;
    animation: OpenNavigationMobile .8s;
  }

  #app.opened-navigation {
    padding: 0;
    & .blackout-cover {
      z-index: 999;
      position: fixed;
      width: 100%;
      height: 100%;
      background-color: #000000B3;
    }
  }
}

table {
  border: none;
  color: white !important;
  text-decoration: none;

  & a {
    color: #07BE1A !important;
  }

  & td, & th {
    padding: 10px;
  }
  
  & thead {
    & th {
      background-color: #034c0a;
    }
  }

  & tbody {
    & th, & td {
      background-color: #1f1f1f;
    }
  }
}




