@import "./form.less";
@import "./colorScheme.less";
@import "./tooltip.less";
@import "./fonts.css";
@import "./grid.less";
@import "./transitions.less";
@import "./mediaQueries.css";
@import "./table.less";
@import "./tooltip.less";

@smallfont : 15px;
@standartfont : 20px;

* {
  position: relative;
  outline: none;
  margin: 0;
  padding: 0;
  font-family: "Assistant", sans-serif;
  direction: rtl;
}
.headerWrapper {
  grid-column: 2;
}

.notFound {
  border: 1px solid @grey-border;
  box-shadow: @table-shadow;
  padding: 10px 0;
  font-size: 18px;
  color: @red;
}

small {
  display: block;
  font-size: 12px !important;
}

.subTitle {
  font-size: 18px;
  color: @purple;
}

.contentWrapper {
  padding: 156px 50px;
  &-fullScreen {
    top: 51px !important;
    border-top: @border;
  }
  img {
    max-width: 35px;
  }
}

.sideMenuWrapper {
  grid-column: 1;
}

p,
td,
th,
div {
  font-size: @smallfont;
  font-weight: 400;
  color: @grey-dark;
}
.header-text {
  font-size: @standartfont;
  @media screen and (max-height: 850px) {
    font-size: 18px !important;
  }
  color: @header;
}
header {
  text-decoration: none;
}

.iconBtn {
  position: unset;
  float: right;
  height: 28px;
  width: 28px;
  margin-left: 15px;
  &:hover {
    cursor: pointer;
  }
  @media (min-width: 568px) and (max-width: 1024px) {
    height: 22px;
    width: 22px;
    margin-left: 10px;
  }
}

ul {
  padding: 0;
  text-align: center;
  list-style: none;
  li {
    cursor: pointer;
  }
}
input {
  font-family: "Assistant";
  border: @border;
}
.filterMenu {
  position: absolute;
  top: 0;
  right: 0;
  background: @white;
  height: auto;
  z-index: 9;
  overflow-y: hidden;
  outline: none;
  min-width: 180px;
  width: max-content;
  box-shadow: @boxShadow;
  transition: opacity 0.4s ease;
  margin-top: 2.5em;
  div {
    cursor: pointer;
    transition: all 0.3s;
  }
  .checkbox {
    direction: rtl;
    label {
      display: block;
    }
    margin: 0;
    padding: 5px 10px 5px 15px;
    border-bottom: @borderBottom;
  }
}
.filterList {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  &-item {
    border-bottom: @borderBottom;
    z-index: 2;
    padding: 7.5px 18px;
    font-size: @smallfont;
    transition: all 0.3 ease;
    &:hover {
      cursor: pointer;
      background: @mainBackground;
      text-shadow: @bold;
    }
  }
}

.buttonStyle(@color ) {
  padding: 15px 10px;
  min-width: max-content;
  width: 200px;
  text-align: center;
  display: block;
  z-index: 5;
  color: @white;
  background: @color !important;
  border-radius: 2px !important;
  text-align: center;
  border: 0;
  outline: 0;
  font-size: 17px;
  line-height: 7px;
  cursor: pointer;
  transition: all 0.3s ease-in;
  box-shadow: 1px 1px 3px 0 rgba(15, 15, 15, 0.15),
    -1px -1px 3px 0 rgba(255, 255, 255, 0.15);
  text-shadow: darken(@color, 2%);

  &:hover {
    background: lighten(@color, 12%) !important;
  }

  &:active {
    box-shadow: inset 1px 1px 3px 0 rgba(15, 15, 15, 0.15),
      inset -1px -1px 3px 0 rgba(255, 255, 255, 0.15);
    background: darken(@color, 10%) !important;
  }
}

.outlineGood {
  outline-color: greenyellow;
}
.outlineBad {
  outline-color: red;
}

.list-item {
  transition: background 0.3s;
  &:hover {
    transition: background 0.3s;
    cursor: pointer;
  }
}

.hide {
  opacity: 0;
}

::-webkit-scrollbar {
  width: 7px;
}

::-webkit-scrollbar-track {
  box-shadow: inset 0 0 1px @grey;
}

::-webkit-scrollbar-thumb {
  background: @grey;
  border-radius: 10px;
  transition: all 0.2s ease;
}

::-webkit-scrollbar-thumb:hover {
  transition: all 0.2s ease;
  background: #33669987;
}

.selectListWrapper {
  display: block;
  img {
    position: absolute;
    z-index: 15;
    width: 13px;
    top: 18px;
    transform: translateY(-50%);
    cursor: pointer;
  }
  input {
    height: 35px;
    border: @border;
    font-size: 15px;
    background-color: @white;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 14;
    padding-top: 0.5rem;
    padding-right: 0.5rem;
    padding-bottom: 0.5rem;
    width: 100%;
    box-sizing: border-box;
  }
  ul {
    border-left: @border;
    width: 100%;
    position: absolute;
    z-index: 16;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    background-color: @white;
    span {
      max-height: 150px;
    }
    li {
      background: @white;
      z-index: 16;
      font-size: @smallfont;
      &:hover {
        background: @hover;
      }
      text-align: right;
      cursor: pointer;
      padding: 8px;
      border-bottom: solid 1px rgba(69, 67, 75, 0.2);
    }
  }
}

.noBackground {
  background: transparent !important;
}

.bold {
  font-weight: 600;
  color: @orange;
}

.noData {
  font-size: 15px;
  background: #fff;
  padding: 7px 0px;
  color: @red;
  border: 1px solid @grey-dark;
}

#top-info {
  display: flex;
  justify-content: center;
  color: @grey-dark;
  font-size: 20px;
  margin: 25px auto;
  padding: 3px 0;
  width: 100%;
  div {
    padding: 5px 25px;
    border-left: 1px solid @purple;
    &:last-of-type {
      border-left: none !important;
    }
  }
}

.fullWidth {
  position: sticky;
  bottom: 0;
  font-size: 15px;
  display: block;
  z-index: 5;
  color: @purple;
  background: @white;
  border-radius: 2px;
  width: 100%;
  text-align: center;
  border: 0;
  outline: 0;
  width: 100%;
  height: 30px;
  line-height: 7px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(1, 0.5, 0.8, 1);
  &:hover {
    background: @purple;
    color: @white;
  }
}

.pointer {
  cursor: pointer;
}
