@import "variables";
@import "switch";
@import "login";
@import "font-face";
body {
  font-family: "avia1" !important;
  color: $main-sub-color;
  background-color: $gray-101;
  .stickformbutton {
    position: fixed;
    bottom: -16px;
    width: 95%;
    background-color: $white;
    margin-left: -31px;
    padding: 8px 10px 4px;
    border-top: 1px solid $bordercolor1;
    .col-sm-10 {
      padding: 0px 11px 0px 5px;
    }
  }
  a:hover {
    color: $main-sub-color;
    text-decoration: none;
  }
  .btn-primary:not(:disabled):not(.disabled):active,
  .btn-primary:not(:disabled):not(.disabled).active,
  .show > .btn-primary.dropdown-toggle {
    color: $white;
    background-color: $main-sub-color;
    border-color: $main-sub-color;
  }
  .prealative {
    position: relative;
  }
  .cpointer {
    cursor: pointer;
  }
  .dropdown-toggle::after {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 0.255em;
    vertical-align: 0.255em;
    content: "";
    border-top: 0.3em solid $txt-lightdark;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
  }
  a {
    color: $main-sub-color;
  }
  .required {
    &:after {
      color: $red;
      content: "*";
      font-family: arial;
      font-size: 20px;
      position: absolute;
      margin-left: 4px;
      top: -5px;
    }
  }
  .list-group-item.active {
    background-color: $main-sub-color;
    border-color: $main-sub-color;
  }
  .btn-secondary {
    height: 38px;
    line-height: 1.6;
    padding: 8px 12px;
    background-color: transparent;
  }
  .btn-primary {
    background-color: $main-sub-color;
    font-size: 0.875em;
    color: $white;
    border-color: $main-sub-color;
    height: 38px;
    line-height: 1.6;
    padding: 8px 12px;
    &:hover {
      background-color: darken($btn-hover-color, 10);
      font-size: 0.875em;
      border-color: $btn-hover-color;
    }
    &:focus {
      box-shadow: none;
      background-color: $btn-hover-color;
    }
    &:not(:disabled):not(.disabled):active:focus,
    &:not(:disabled):not(.disabled).active:focus,
    .show > .btn-primary.dropdown-toggle:focus {
      box-shadow: none;
      background-color: $btn-hover-color;
    }
  }
  .border-custom {
    border-radius: 3px;
    background-color: $white;
    border: 1px solid $bordercolor1;
    border-bottom-color: $bordercolor2;
  }
  .btn-outline-secondary {
    border-color: $gray-102;
    color: lighten($txt-lightdark, 45);
    font-weight: bold;
    &:hover {
      color: lighten($txt-lightdark, 90);
      background-color: $gray-101;
      border-color: $gray-102;
    }
    &:focus {
      box-shadow: none;
    }
  }
  .btn-outline-secondary:not(:disabled):not(.disabled):active:focus,
  .btn-outline-secondary:not(:disabled):not(.disabled).active:focus,
  .show > .btn-outline-secondary.dropdown-toggle:focus {
    box-shadow: none;
  }
  .btn {
    border-radius: 3px;
    font-size: 14px;
    font-weight: bold;
  }
  .select2-container .select2-selection--single {
    height: 2.8rem;
  }
  .form-control,
  .select2-container .select2-selection--single {
    border-radius: 3px;
    box-shadow: 0 1px 2px 0 rgba($black, 0.05);
    transition: opacity 0.3s ease-out;
    border-color: rgba($black, 0.15);
    border-top-color: rgba($black, 0.2);
    border-style: solid;
    border-width: 1px;
    color: $main-sub-color;
    &:hover {
      border-color: $txt-lightdark;
    }
    &:focus {
      border-color: rgba($black, 0.8);
      box-shadow: none;
    }
  }
  .card {
    @extend .py-3, .border-custom;
  }
  .form-group.required {
    label::after {
      color: #f55753;
      content: "*";
      font-family: arial;
      font-size: 20px;
      position: relative;
      margin-left: 4px;
      top: -5px;
    }
  }
  .not_found {
    text-align: center;
    border: 1px solid red;
  }
  .loader {
    background-image: url("/images/loader.svg");
    height: 30px;
    width: inherit;
    background-repeat: no-repeat;
    background-position: center;
  }
  .img-wrap {
    position: relative;
    font-size: 0;
  }
  .imgcol .col-3 {
    max-width: 150px;
  }
  .product-info {
    visibility: hidden;
    font-size: 24px;
    top: 4px;
    color: grey;
    right: 8px;
    position: absolute;
  }
  #checkimage {
    zoom: 1.8;
    position: absolute;
  }
  .img-wrap .product-delete {
    position: absolute;
    top: 4px;
    right: 8px;
    z-index: 100;
    background-color: $white;
    padding: 5px 2px 2px;
    color: $black;
    font-weight: bold;
    cursor: pointer;
    opacity: 0.2;
    text-align: center;
    font-size: 22px;
    line-height: 10px;
    border-radius: 50%;
  }
  .img-wrap img {
    width: 150px;
    height: 100px;
  }
  .img-wrap:hover .product-delete {
    opacity: 1;
  }
}

.sidebar {
  width: 256px;
  position: fixed;
  top: 0;
  background-color: $white;
}

.main {
  margin-left: 256px;
  width: calc(100vw - 256px);
  padding-bottom: 70px;
  background-color: $gray-101;
}

.max-main {
  margin-left: 60px;
  width: calc(100vw - 60px);
}

.mini-sidebar {
  width: 60px;
  position: fixed;
  top: 0;
}

.nav {
  background-color: $white;
  a {
    padding: 9px 18px;
    .flag {
      display: table;
      width: 100%;
      .flag-img {
        padding-right: 12px;
        .icon {
          display: inline-block;
          fill: currentColor;
          height: 24px;
          vertical-align: middle;
          width: 24px;
        }
      }
    }
    .flag-body,
    .flag-img {
      display: table-cell;
      vertical-align: middle;
    }
  }
  .navshophead {
    padding: 16px 11px;
    cursor: pointer;
    .shopdpdown {
      left: 10px !important;
      top: 20px !important;
      border: 1px solid $bordercolor1;
      border-top: 0 solid $bordercolor1;
      border-radius: 0;
      padding: 0px;
      a {
        border-top: 1px solid $bordercolor1;
        border-right: 0 solid $bordercolor1;
      }
    }
    .dropdown-toggle {
      padding: 3px;
      margin-bottom: 10px;
      &:after {
        top: 1px;
        left: -3px;
        position: relative;
        border-top: 4px solid $txt-lightdark;
        border-right: 3px solid transparent;
        border-bottom: 0;
        border-left: 3px solid transparent;
      }
      span {
        display: inline-block;
        padding: 8px 0px 8px 3px;
        line-height: 1.2;
        letter-spacing: 0.8px;
        font-size: 17px;
        font-weight: 600;
        -webkit-font-smoothing: antialiased;
        font-family: "avia1" !important;
      }
    }
  }
}

#options_tab {
  .tabs-left {
    border-bottom: none;
    padding-top: 2px;
  }
  .tabs-left {
    border-right: 1px solid #ddd;
  }
  .tabs-left>li {
    float: none;
    margin-bottom: 2px;
  }
  .tabs-left>li {
    margin-right: -1px;
    width: 100%;
  }
  .tabs-left>li.active>a,
  .tabs-left>li.active>a:hover,
  .tabs-left>li.active>a:focus {
    border-bottom-color: #ddd;
    border-right-color: transparent;
  }
  .tabs-left>li>a {
    border-radius: 4px 0 0 4px;
    margin-right: 0;
    display: block;
  }
  .vertical-text {
    margin-top: 50px;
    border: none;
    position: relative;
  }
  .vertical-text>li {
    height: 20px;
    width: 120px;
    margin-bottom: 100px;
  }
  .vertical-text>li>a {
    border-bottom: 1px solid #ddd;
    border-right-color: transparent;
    text-align: center;
    border-radius: 4px 4px 0px 0px;
  }
  .vertical-text>li.active>a,
  .vertical-text>li.active>a:hover,
  .vertical-text>li.active>a:focus {
    border-bottom-color: transparent;
    border-right-color: #ddd;
    border-left-color: #ddd;
  }
  .vertical-text.tabs-left {
    left: -50px;
  }
  .vertical-text.tabs-left>li {
    -webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    transform: rotate(-90deg);
  }
}
