html {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@font-face {
  font-family: "Helvetica 35 Thin";
  font-style: normal;
  font-weight: normal;
  src: local("../node_modules/fonts/helveticaneue/Helvetica 35 Thin"),
    url("../node_modules/fonts/helveticaneue/HelveticaNeue-Thin.woff")
      format("woff");
}

@font-face {
  font-family: "Helvetica 35 Bold";
  font-style: normal;
  font-weight: bold;
  src: local("../node_modules/fonts/helveticaneue/Helvetica 35 Bold"),
    url("../node_modules/fonts/helveticaneue/HelveticaNeue-Bold.woff")
      format("woff");
}

@font-face {
  font-family: "Courier Prime Regular";
  font-style: normal;
  font-weight: normal;
  src: url("../node_modules/fonts/currier/CourierPrime-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "Courier Prime Bold";
  font-style: normal;
  font-weight: bold;
  src: url("../node_modules/fonts/currier/CourierPrime-Bold.ttf") format("truetype");
}

body {
  font-family: "Helvetica 35 Thin";
  letter-spacing: 0.5px;
  background: #2e2d2d;
  color: var(--color-text);
}

p {
  font-size: 1em;
  font-weight: 400;
  color: rgba($theme-color-dark, 0.875);
}

a {
  color: $theme-color-one;
  text-decoration: none;
}

a:hover,
a:focus {
  color: $theme-color-dark;
  text-decoration: none;
  transition: all 0.3s;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
}

button {
  letter-spacing: 0.5px;
}

button.disabled{
  cursor: not-allowed;
  pointer-events: none;
  opacity: 0.65;
}

.h-100{
  height: 100%;
}

.tdmw-120{
  width: 120px;
}
.tdmw-150{
  width: 150px;
}
.pt_3px{
  padding-top: 3px;
}
.word-no-break{
  white-space: nowrap;
}

.wrapper {
  background: $theme-color-gray-white;
  padding-top: 79px;
  display: flex;
  width: 100%;
  align-items: stretch;
  background: #2e2d2d;
  &.dox-admin {
    @media (max-width: 991.98px) {
      padding-top: 48px;
    }
    @media (max-width: 767.98px) {
      padding-top: 48px;
    }
  }
}

/* width */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

/* Track */
::-webkit-scrollbar-track {
  background: rgba($theme-color-dark, 0.15);
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: rgba($theme-color-dark, 0.25);
  border-radius: 4px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -ms-border-radius: 4px;
  -o-border-radius: 4px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: rgba($theme-color-dark, 0.5);
}

.text-white-green{
  color: #d1ffdf !important;
}
.text-white-red{
  color: #ffd2d2 !important;
}
.text-white-orange{
  color: #fff0d4 !important;
}
.text-white-blue{
  color: #cfcfff !important;
}
.currier-shipping-type {
  .form-check-input{
    width: 20px;
    height: 20px;
  }
  .form-check-label{
    margin-top: 2px;
    margin-left: 2px;
  }
}
.form-check-input{
  background-color: #9d9d9d;
  &:checked {
    background-color: #414141;
    border-color: #535353;
  }
  &:focus{
    border-color: #535353;
    box-shadow: 0 0 0 .25rem rgba(83, 83, 83, .23);
  }
  &.w-h-20{
    width: 20px;
    height: 20px;
  }
  &:disabled{
    background-color: var(--color-lighter-dark) !important;
    pointer-events: initial;
    cursor: not-allowed;
  }
}

.form-select:focus,
.form-control:focus{
  border-color: #fff;
  box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.2);
}

.form-control.placeholder-italic::placeholder{
  font-style: italic;
}

.max-w-124px{
  max-width: 124px;
  width: 124px;
}

/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */
#content {
  width: 100%;
  padding: 0;
  height: calc(100vh - 79px);
  padding-left: 294px;
  transition: all 0.6s;
  -webkit-transition: all 0.6s;
  -moz-transition: all 0.6s;
  -ms-transition: all 0.6s;
  -o-transition: all 0.6s;
  &.active {
    transition: all 0.6s;
  }
  @media (min-width: 992px) {
    &.active {
      padding-left: 60px;
    }
  }
  @media (max-width: 991.98px) {
    padding-left: 0;
    height: calc(100vh - 48px);
  }
  @media (max-width: 767.98px) {
    height: calc(100vh - 48px);
  }

  .command-wrap {
    height: 100%;
    &.add-new-employee{
      .command-output{
        height: calc(100% - 72px);
      }
    }
    .command-output {
      height: calc(100% - 84px);
      overflow: hidden;
      overflow-y: auto;
      &.event-log-wrap{
        height: calc(100% - 105px);
        @media (max-width: 767.98px) {
          height: calc(100% - 99px);
        }
      }
      .event-log-output {
        padding: 40px;        
        .event-log-text {
          display: flex;
          margin-bottom: 8px;
          &.text-success {
            color: #049f3a !important;
          }
          .log-text {
            margin-right: 50px;
            min-width: 210px;
          }
        }
      }
      @media (max-width: 767.98px) {
        height: calc(100% - 64px);
      }
      @media (max-width: 575.98px) {
        .event-log-output {
          padding: 16px;
          .event-log-text {
            margin-bottom: 6px;
            font-size: 11px;
            .log-text {
              margin-right: 24px;
              min-width: 160px;
            }
          }
        }
      }
      .command-output-wrap {
        padding: 32px;
        .command-line {
          font-size: 18px;
          font-weight: bold;
          color: var(--color-white);
          text-transform: uppercase;
          margin-bottom: 0;
          padding-left: 8px;
          span {
            color: #99a9ff;
            text-transform: lowercase;
            font-size: 20px;
          }
        }
        .command-output-table-wrap {
          .table-responsive {
            table {
              width: auto;
              max-width: 100%;
              tr {
                th {
                  background: transparent;
                  font-weight: bold;
                  font-size: 18px;
                  text-transform: uppercase;
                  color: #47c1c1;
                }
              }
              tr {
                td {
                  background: transparent;
                  color: #049f3a;
                  font-size: 18px;
                  padding: 2px 8px;
                  white-space: nowrap;
                }
              }
            }
          }
        }
        @media (max-width: 1399.98px) {
          .command-line {
            font-size: 16px;
            span {
              font-size: 18px;
            }
          }
          .command-output-table-wrap {
            .table-responsive {
              table {
                tr {
                  th {
                    font-size: 16px;
                  }
                }
                tr {
                  td {
                    font-size: 16px;
                  }
                }
              }
            }
          }
        }
        @media (max-width: 767.98px) {
          padding: 10px;
          .command-line {
            font-size: 14px;
            span {
              font-size: 15px;
            }
          }
          .command-output-table-wrap {
            .table-responsive {
              table {
                tr {
                  th {
                    font-size: 14px;
                  }
                }
                tr {
                  td {
                    font-size: 14px;
                  }
                }
              }
            }
          }
        }
      }
    }

    .send-command {
      width: 100%;
      padding: 0 10px 17px 10px;
      hr {
        border-color: #707070;
        opacity: 1;
        margin-top: 0;
      }
      .command-form {
        width: 100%;
        margin: 0 auto;
        padding: 0 10px;
        border-radius: 0.375rem;
        .form-control {
          border: none;
          border-radius: 8px;
          margin-right: 32px;
          height: 50px;
          &:focus {
            box-shadow: none;
            background: $theme-color-black-white;
          }
        }
        .btn {
          background: var(--color-white);
          color: var(--color-dark);
          padding: 6px 12px;
          border-radius: 12px;
          min-width: 120px;
          &:focus {
            box-shadow: none;
          }
        }
      }
      @media (max-width: 767.98px) {
        padding: 0 10px 13px 10px;
        hr {
          margin-bottom: 14px;
        }
        .command-form {
          padding: 0 10px;
          form {
            .form-control {
              margin-right: 20px;
              height: 35px;
            }
            .btn {
              padding: 5px 8px;
              min-width: 100px;
            }
          }
        }
      }
    }
  }
}

.information-alert {
  padding: 0;
  margin: 0;
  @include exo-two;
  .container-fluid {
    .alert {
      font-size: 0.875rem;
      margin-top: 1rem;
      margin-bottom: 0;
      color: $theme-color-one;
      border-radius: 0;
      -webkit-border-radius: 0;
      -moz-border-radius: 0;
      -ms-border-radius: 0;
      -o-border-radius: 0;
      p {
        color: $theme-color-one;
        @include exo-two;
      }
      ul {
        margin: 0;
        padding: 0 0 0 0.5rem;
        list-style: none;
        li {
          i {
            color: rgba($theme-color-one, 0.75);
            margin-right: 0.375rem;
          }
        }
      }
    }
  }
}

.custom-card {
  margin-top: 1rem;
  margin-bottom: 1rem;
  .container-fluid {
    .custom-card-box {
      border: 1px solid $theme-color-black-white;
      background: $theme-color-white;
      .custom-card-box-header {
        border-bottom: 1px solid $theme-color-black-white;
        .fbh-title {
          border-bottom: 1px solid $theme-color-black-white;
          display: flex;
          align-items: center;
          h2 {
            font-size: 1.25rem;
            margin-bottom: 0;
            border-left: 1px solid $theme-color-black-white;
            padding: 0.5rem;
          }
          i {
            padding: 0 0.675rem;
          }
        }
        .fbh-info {
          padding: 0.5rem 0.5rem 0.5rem 2.125rem;
          p {
            margin-bottom: 0;
          }
        }
      }
      .custom-card-box-content {
        padding: 2rem;
        .form-group {
          @include exo-two;
          label {
            font-weight: 600;
            &.custom-file-label {
              border-radius: 0;
              -webkit-border-radius: 0;
              -moz-border-radius: 0;
              -ms-border-radius: 0;
              -o-border-radius: 0;
              &::after {
                border-radius: 0;
                -webkit-border-radius: 0;
                -moz-border-radius: 0;
                -ms-border-radius: 0;
                -o-border-radius: 0;
              }
              &.cfl-left-align {
                padding: 0.375rem 0.75rem 0.375rem 5.5rem;
                &::after {
                  left: 0;
                  right: auto;
                  border-left: 0;
                  border-right: 1px solid $theme-color-black-white;
                }
              }
            }
          }
          .form-control {
            border-radius: 0;
            -webkit-border-radius: 0;
            -moz-border-radius: 0;
            -ms-border-radius: 0;
            -o-border-radius: 0;
            &:focus {
              box-shadow: none;
              background: rgba($theme-color-dark, 0.05);
              border-color: rgba($theme-color-dark, 0.1);
            }
          }
          .input-group {
            .custom-select {
              border-radius: 0;
              -webkit-border-radius: 0;
              -moz-border-radius: 0;
              -ms-border-radius: 0;
              -o-border-radius: 0;
              &:focus {
                box-shadow: none;
                background: rgba($theme-color-dark, 0.05);
                border-color: rgba($theme-color-dark, 0.1);
              }
            }
            .input-group-prepend {
              .input-group-text {
                border-radius: 0;
                -webkit-border-radius: 0;
                -moz-border-radius: 0;
                -ms-border-radius: 0;
                -o-border-radius: 0;
              }
            }
            .input-group-append {
              .input-group-text {
                border-radius: 0;
                -webkit-border-radius: 0;
                -moz-border-radius: 0;
                -ms-border-radius: 0;
                -o-border-radius: 0;
              }
            }
            &.ig-right-align {
              .input-group-prepend {
                .input-group-text {
                  border-left: 0;
                }
              }
            }
          }
          .custom-file-input {
            cursor: pointer;
          }
        }
      }
    }
  }
}

.calendar-section {
  padding: 10px 24px;
  .calendar-top-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--color-white);
    margin-bottom: 12px;
    .btn {
      color: var(--color-light-dark);
      padding: 0;
      span {
        opacity: 0;
        transition: all 0.25s ease-in-out;
      }
      &:active {
        border: none;
      }
      &:hover {
        color: var(--color-white);
        span {
          opacity: 1;
        }
      }
    }
    .previous-month,
    .previous-data {
      font-size: 24px;
    }
    .month-name,
    .year-name {
      text-transform: uppercase;
      font-weight: 600;
      font-size: 24px;
      letter-spacing: 1px;
    }
    .next-month,
    .next-data {
      font-size: 24px;
    }
    .order-options-menu {
      ul {
        margin: 0;
        padding: 0;
        list-style: none;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        li {
          a {
            color: var(--color-text);
            text-decoration: none;
            padding: 0 9px;
            border-right: 1px solid var(--color-white-gray);
            position: relative;
            transition: all 0.25s ease-in-out;
            &:last-child {
              border-right: none;
            }
            &::before {
              content: "";
              height: 1px;
              position: absolute;
              left: 6px;
              right: 6px;
              bottom: -3px;
              transition: all 0.25s ease-in-out;
            }
            &::after {
              content: "";
              width: 2px;
              height: 14px;
              position: absolute;  
              top: 3px;            
              right: 0;
              transition: all 0.25s ease-in-out;
              background: var(--color-white-gray);
            }
            &.active {
              &::before {
                content: "";
                height: 1px;
                position: absolute;
                left: 9px;
                right: 9px;
                bottom: -3px;
                background-color: var(--color-holiday);
              }
            }
            &:hover,
            &:focus {
              color: var(--color-light-dark);
              &::before {
                background-color: var(--color-light-dark);
              }
            }
          }
          &:last-child{
            a{
              &::after{
                display: none;
              }
            }
          }
        }
      }
      @media (max-width: 1299.98px) {
        ul {
          li {
            a {
              padding: 0 6px; 
            }
          }
        }
      }
      @media (max-width: 1199.98px) {
        overflow-x: auto;
        white-space: nowrap;
        padding: 8px 0;
        ul {
          flex-wrap: inherit;
          li {
            a {
              font-size: 14px;
              padding: 0 6px;
              &::before {
                left: 6px;
                right: 6px;
                bottom: -3px;
              }
              &.active {
                &::before {
                  left: 6px;
                  right: 6px;
                  bottom: -3px;
                }
              }
            }
          }
        }
      }
    }

    @media (min-width: 576px) {
      .year-name {
        display: none;
      }
    }

    @media (max-width: 1199.98px) {
      .btn {
        span {
          display: none;
        }
      }
    }

    @media (max-width: 767.98px) {
      margin-bottom: 6px;      
    }
    
  }
  .calendar-wrap {
    .table-responsive {
      .table {
        tr {
          border-color: var(--color-light-dark);
          th,
          td {
            background: var(--color-bg-dark);
            border-color: var(--color-light-dark);
            color: var(--color-white);
            padding: 4px 6px;
          }
          th {
            text-transform: uppercase;
            text-align: center;
          }
          td {
            font-size: 12.5px;
            &:hover {
              background: #404040;
            }
            &.current-date {
              padding: 0;               
              .day-wrap {
                padding: 4px;
                border: 3px solid var(--color-light-dark);    
                background: #443e3e; 
                height: 118px;
              }        
            }
          }
        }
      }
    }
    .day-wrap {
      color: var(--color-white-gray);
      height: 108px;  
      display: flex;
      flex-direction: column;
      justify-content: space-between;    
      white-space: nowrap;
      .daynorder {
        display: flex;
        align-items: center;
        margin-bottom: 3px;
        line-height: 1;
        .month-date {
          font-size: 15px;
        }
        .day-order {
          width: 100%;
          text-align: center;
          .day-view-link{
            color: var(--color-white-gray);
            transition: all 0.25s ease-in-out;
            &:hover{
              opacity: 0.7;
            }
          }
        }
      }
      .order-status-bydate {
        .osbd-list {
          display: flex;
          align-items: center;
          width: 100%;
          .o-label {
            min-width: 32px;
            margin-right: 4px;
            line-height: 13px;
          }
          .progress {
            min-width: 64px;
            width: 100%;
            height: 11px;
            background: #afafaf;
            position: relative;
            .progress-bar {
              font-size: 10px;
            }
            .progress-percentage {
              position: absolute;
              left: 0;
              right: 0;
              width: 100%;
              font-size: 10px;
              line-height: 11px;
              text-align: center;
              z-index: 1;
              color: var(--color-white);
            }
          }
          .status-count {
            margin-left: 4px;
            line-height: 13px;
          }
        }
      }
      .order-total-bydate{
        display: flex;
        align-items: center;
        justify-content: space-between;
        line-height: 1;
        padding-top: 3px;
      }
      .late-order-shipped {
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-size: 14px;
        margin-top: 6px;
        white-space: nowrap;
      }
    }
  }
  @media (max-width: 1700px) {
    .calendar-wrap .table-responsive .table tr td{
      padding: 5px;
    }
  }
  @media (max-width: 1500px) {
    .calendar-wrap {
      .table-responsive {
        .table {
          tr {
            td {
              font-size: 13px;
              padding: 6px 5px;
              &.current-date {
                padding: 0;               
                .day-wrap { 
                  height: 109px;
                }        
              }
            }
            .day-wrap {
              height: 99px;
            }
          }
        }
      }
      .day-wrap {
        .daynorder {
          .month-date {
            font-size: 14px;
          }
        }
        .order-status-bydate {
          .osbd-list {
            .o-label {
              min-width: 29px;
              margin-right: 3px;
              font-size: 11px;
              line-height: 12px;
            }
            .progress {
              min-width: 54px;
              height: 8px;
              .progress-percentage {                
                font-size: 9px;
                line-height: 9.5px;
              }
            }
            .status-count {
              margin-left: 3px;
              font-size: 11px;
              line-height: 12px;
            }
          }
        }
        .late-order-shipped {
          font-size: 12px;
          line-height: 14px;
          margin-top: 6px;
        }
      }
    }
  }
  @media (max-width: 575.98px) {
    padding: 8px 12px;
  }
}

.order-calendar-section {
  padding: 0 24px;
  .order-calendar-data {
    display: flex;
    .left-side {
      width: 266px;
      padding-right: 16px;
      .data-title {
        font-size: 98px;
        font-weight: 600;
        line-height: 1;
        text-align: center;
        display: flex;
        flex-direction: column;
        margin-bottom: 16px;
        span.month {
          font-size: 45px;
          line-height: 1;
          text-transform: uppercase;
        }
        span.day {
          font-size: 164px;
          color: #726f6f;
          text-shadow: -3px -3px 0 #bfbcbc, 3px -3px 0 #bfbcbc,
            -3px 3px 0 #bfbcbc, 3px 3px 0 #bfbcbc;
        }
      }
      .data-totol {
        .table {
          tr {
            &.data-table-title {
              border-bottom: 1px solid var(--color-lighter-dark);
            }
            &.data-table-total {
              border-top: 1px solid var(--color-lighter-dark);
            }
            td {
              background: transparent;
              color: var(--color-white);
              padding: 2px 0;
            }
          }
        }
      }
      .single-month-wrap {
        background: var(--color-dark);
        padding: 4px;
        .month-name {
          text-align: center;
          text-transform: uppercase;
          margin-bottom: 4px;
        }
        ul {
          padding: 0;
          margin: 0;
          display: flex;
          flex-wrap: wrap;
          &.weekdays {
            li {
              display: inline-block;
              width: 14.285%;
              color: var(--color-text);
              text-align: center;
              &.holiday {
                color: var(--color-holiday);                
              }
            }
          }
          &.days {
            li {
              list-style-type: none;
              display: inline-block;
              width: 14.285%;
              text-align: center;
              margin-bottom: 5px;
              font-size: 14px;
              transition: all 0.25s ease-in-out;
              a{
                color: var(--color-text);
                width: 100%;
                display: flex;
                align-items: center;
                justify-content: center;
                &:hover {
                  color: var(--color-lighter-dark);
                }
              }
              &.other-month{
                color: var(--color-light-dark);
                a{                  
                  color: var(--color-light-dark);
                  &:hover {
                    color: var(--color-lighter-dark);
                  }
                }
              }

              &.holiday {
                color: var(--color-holiday);
                &.currentday{
                  color: var(--color-white);
                }
              }
              &.selected {
                background: #0e6377;
                &.start-date {
                  border-top-left-radius: 8px;
                  border-bottom-left-radius: 8px;
                }
                &.end-date {
                  border-top-right-radius: 8px;
                  border-bottom-right-radius: 8px;
                }
              }
              &.currentday {
                span {
                  background: var(--color-holiday);
                  display: flex;
                  align-items: center;
                  justify-content: center;
                  width: 24px;
                  height: 24px;
                  border-radius: 24px;
                  margin: 0 auto;
                }
              }
            }
          }
        }
        .week-wrap{
          .week-link{
            color: var(--color-text);
            ul{
              li{
                position: relative;
                display: inline-flex;
                align-items: center;
                justify-content: center;
                &.other-month{
                  color: var(--color-light-dark);
                }
                span{
                  z-index: 2;
                  position: relative;
                }                
                &.selected{
                  background: #0e6377;
                  &:first-child {
                    border-top-left-radius: 8px;
                    border-bottom-left-radius: 8px;
                  }
                  &:last-child {
                    border-top-right-radius: 8px;
                    border-bottom-right-radius: 8px;
                  }
                }                
              }
            }
            &.selected{
              ul{
                li{
                  background: #0e6377;
                  &:first-child {
                    border-top-left-radius: 8px;
                    border-bottom-left-radius: 8px;
                  }
                  &:last-child {
                    border-top-right-radius: 8px;
                    border-bottom-right-radius: 8px;
                  }
                }
              }
            }
            &:hover{
              ul{
                li{
                  background: #535353;
                  &:first-child {
                    border-top-left-radius: 8px;
                    border-bottom-left-radius: 8px;
                  }
                  &:last-child {
                    border-top-right-radius: 8px;
                    border-bottom-right-radius: 8px;
                  }
                }
              }
            }
          }
        }
      }
      @media (max-width: 1199.98px) {
        .data-title {
          font-size: 64px;
          margin-bottom: 10px;
          span.month{
            font-size: 38px;
          }
          span.day{
            font-size: 120px;
          }
        }
        .data-totol .table tr td {
          font-size: 14px;
        }
      }
      @media (max-width: 575.98px) {
        .data-title {
          span.month{
            font-size: 40px;
          }
          span.day{
            font-size: 100px;
          }
        }
      }
    }
    .right-side {
      width: calc(100% - 266px);
      .right-side-content-wrap {
        height: calc(100vh - 212px);
        display: block;
        overflow: hidden;
        overflow-y: auto;
        padding: 0 8px;
        @media (max-width: 575.98px) {
          padding: 0 2px;
        }
      }
      .months-of-year {
        display: flex;
        flex-wrap: wrap;
        margin-left: -8px;
        margin-right: -8px;
        padding-top: 10px;
        .single-calendar-box {
          flex: 0 0 25%;
          max-width: 25%;
          padding: 0 8px;
          margin-bottom: 16px;
          &.yearly-calendar-box{
            position: relative;
            .checkbox-select-month{
              left: 16px;
              top: 8px;
              z-index: 1;
            }
          }
          @media (max-width: 1600px) {
            flex: 0 0 33.333%;
            max-width: 33.333%;
          }
          @media (max-width: 1199.98px) {
            flex: 0 0 50%;
            max-width: 50%;
          }
          @media (max-width: 767.98px) {
            flex: 0 0 100%;
            max-width: 100%;
          } 
          .has-payroll{
            position: relative;
            width: 100%;
            height: 100%;
            min-height: 216px;
            cursor: pointer;
            transform-style: preserve-3d;
            transform-origin: center right;
            transition: transform 1s;
            &.is-flipped {
              transform: translateX(-100%) rotateY(-180deg);
              -webkit-transform: translateX(-100%) rotateY(-180deg);
              -moz-transform: translateX(-100%) rotateY(-180deg);
              -ms-transform: translateX(-100%) rotateY(-180deg);
              -o-transform: translateX(-100%) rotateY(-180deg);
              .single-month-wrap {
                display: flex;
                flex-direction: column;
                background: var(--color-dark);
                color: var(--color-white);
                border: 4px solid var(--color-dark);
                padding-top: 4px;
                transition: all 0.25s ease-in-out;
                height: 100%;
                &.flip-payroll-box{
                  backface-visibility: hidden;
                  width: 100%;
                  height: 100%;
                  &.flip-box-back{
                    transform: rotateY(180deg);
                    -webkit-transform: rotateY(180deg);
                    -moz-transform: rotateY(180deg);
                    -ms-transform: rotateY(180deg);
                    -o-transform: rotateY(180deg);
                    height: 100%;
                  }
                  &.flip-box-front{
                    height: 0;
                  }
                }                
              }
            }
          }
          @media (max-width:1199.98px) {
            .has-payroll{
              min-height: 198px;
            }
          }
        }        
        .single-month-wrap {
          display: flex;
          flex-direction: column;
          background: var(--color-dark);
          color: var(--color-white);
          border: 4px solid var(--color-dark);
          padding-top: 4px;
          transition: all 0.25s ease-in-out;
          height: 100%; 
          min-height: 200px;         
          &.flip-payroll-box{
            backface-visibility: hidden;
            width: 100%;
            height: 100%;
            position: absolute;
            &.flip-box-back{
              transform: rotateY(180deg);
              -webkit-transform: rotateY(180deg);
              -moz-transform: rotateY(180deg);
              -ms-transform: rotateY(180deg);
              -o-transform: rotateY(180deg);
              height: 0;
            }
          }
          .month-name {
            position: relative;
            text-align: center;
            text-transform: uppercase;
            margin-bottom: 4px;
            transition: all 0.25s ease-in-out;
            .monthly-calendar-link{
              color: var(--color-white);
              &:hover{
                color: var(--color-light-dark);
              }
            }
            .calander-flip-btn{              
              position: absolute;
              width: 20px;
              height: 20px;
              left: 4px;
              top: 0;
              display: flex;              
            }
            .check-month-total{
              position: absolute;
              right: -1px;
              top: -1px;
              .form-check-input{
                width: 19px;
                height: 19px;
                background-color: #535353;
                &:checked{
                  border-color: #535353;
                }
                &:focus{
                  border-color: #535353;
                  box-shadow: 0 0 0 0.25rem rgb(255 255 255 / 14%);
                }
              }
            }
          }
          ul {
            padding: 0;
            margin: 0;
            display: flex;
            flex-wrap: wrap;
            &.weekdays {
              li {
                display: inline-block;
                width: 14.285%;
                color: var(--color-text);
                text-align: center;
                &.holiday {
                  color: var(--color-holiday);
                }
              }
            }
            &.days {
              li {
                list-style-type: none;
                display: inline-block;
                width: 14.285%;
                text-align: center;
                margin-bottom: 5px;
                font-size: 14px;
                color: var(--color-text);
                transition: all 0.25s ease-in-out;
                cursor: pointer;
                .daily-calendar-link{
                  color: var(--color-text);
                  &:hover {
                    color: var(--color-light-dark);
                  }
                }
                &:hover {
                  color: var(--color-lighter-dark);
                  background: #404040;
                }
                &.holiday {
                  color: var(--color-holiday);
                  .daily-calendar-link{
                    color: var(--color-holiday);
                  }
                }
                &.currentday {
                  span {
                    background: var(--color-holiday);
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    width: 24px;
                    height: 24px;
                    border-radius: 24px;
                    margin: 0 auto;
                  }
                }
              }
            }
          }
          &:hover {
            background: #111;
            border-color: #111;
            box-shadow: 0px 0px 10px 0px rgba(255, 255, 255, 0.2);
            .month-name {
              color: var(--color-light-dark);
            }
          }
          &.current-month {
            border-color: var(--color-lighter-dark);
          }
        }
        @media (max-width: 1399.98px) {
          .single-month-wrap {
            .month-name {
              font-size: 14px;
              .fa-repeat{
                left: 2px;
              }
            }
            ul {
              &.weekdays {
                li {
                  font-size: 13px;
                }
              }
              &.days {
                li {
                  font-size: 12px;

                  &.currentday {
                    span {
                      width: 20px;
                      height: 20px;
                      border-radius: 20px;
                    }
                  }
                }
              }
            }
          }
        }
      }
      .report-box {
        margin-bottom: 16px;
        height: 100px;
        background: #a2a2a2;
      }
      .order-calendar-option {
        padding-top: 16px;
        .btn {
          padding: 7px 16px;
          background: #d5d5d5;
          color: var(--color-dark);
          font-size: 15px;
          line-height: 1;
          letter-spacing: 0.5px;
          margin-right: 12px;
          transition: all 0.25s ease-in-out;
          &:hover {
            background: var(--color-lighter-dark);
            color: var(--color-white);
          }
        }
        @media (max-width: 1399.98px) {
          .btn {
            padding: 5px 8px;
            font-size: 13px;
            margin-right: 2px;
          }
        }
        @media (max-width: 575.98px) {
          padding-top: 8px;
          padding-bottom: 8px;
        }
      }
      .day-order-list {
        margin-top: 16px;
        .dol-header {
          display: flex;
          align-items: center;
          border-bottom: 1px solid var(--color-lighter-dark);
          margin-bottom: 20px;
          h3 {
            font-size: 24px;
            margin-bottom: 6px;
            padding-right: 8px;
            span{
              padding-top: 1px;
            }
          }
          .form-check {
            margin-bottom: 6px;
            .form-check-input[type="checkbox"] {
              border-radius: 0;
              width: 17px;
              height: 16px;
              cursor: pointer;
              margin-top: 10px;
            }
            .form-check-input:checked {
              background-color: #3f51b5;
              border-color: #3f51b5;
            }
            .form-check-input:focus {
              box-shadow: 0 0 0 0.25rem rgb(63 81 181 / 33%);
            }
            .form-check-label {
              cursor: pointer;
              font-size: 24px;
              font-weight: 600;
              padding-right: 6px;
            }
          }
          @media (max-width: 1199.98px) {
            h3{
              font-size: 24px;
            }
          }
          @media (max-width: 991.98px) {
            h3{
              font-size: 18px;
            }
            .form-check{
              .form-check-input[type="checkbox"] {
                margin-top: 6px;
              }
              .form-check-label {
                font-size: 18px;
              }
            }
          }
        }
        .dol-body {
          display: flex;
          flex-wrap: wrap;
          align-items: center;
          .single-order {
            flex: 0 0 25%;
            max-width: 25%;
            .order-select-option {
              display: flex;
              align-items: center;
              margin-bottom: 12px;
              .form-check {
                margin-right: 2px;
                margin-bottom: 0;
                margin-top: 2px;
                .form-check-input[type="checkbox"] {
                  border-radius: 0;
                  width: 17px;
                  height: 16px;
                  cursor: pointer;
                }
                .form-check-input:checked {
                  background-color: #3f51b5;
                  border-color: #3f51b5;
                }
                .form-check-input:focus {
                  box-shadow: 0 0 0 0.25rem rgb(63 81 181 / 33%);
                }
                .form-check-label {
                  cursor: pointer;
                }
              }
              .download-pdf-wrap{
                margin-right: 7px;
                width: 20px;
                img{
                  width: 100%;
                }
              }
              .order-note-link{
                padding-right: 2px;
              }
              a.order-id-link{
                color: var(--color-text);
                text-decoration: none;
                margin-right: 6px;
                margin-top: 2px;
                font-weight: 600;
                &:hover {
                  color: var(--color-white-gray);
                }
              }
              .order-review {
                color: var(--color-orange);
                font-size: 14px;
                margin-top: 3px;
                letter-spacing: -1px;
                .fa-regular.fa-star{
                  color: #9d9d9d;
                }
              }              
              .hub-icon{
                background: #535353;
                width: 26px;
                min-width: 26px;
                height: 26px;
                border-radius: 26px;
                display: flex;
                align-items: center;
                justify-content: center;
                margin-right: 6px;
                margin-top: 1px;
                img{
                  width: 18px;
                  filter: invert(0%) brightness(222%);
                }
              }
            }
            @media (max-width: 1770px) {
              .order-select-option {
                .download-pdf-wrap{
                  margin-right: 5px;
                }
                .hub-icon{                  
                  margin-right: 4px;                  
                }
                a.order-id-link{
                  font-size: 15px;
                  margin-right: 4px;
                }
              }
            }
            @media (max-width: 1600px) {
              .order-select-option {
                .order-review{
                  letter-spacing: -1.5px;
                  font-size: 12px;
                  margin-top: 2px;
                }
              }
            }
            @media (max-width: 1550px) {
              flex: 0 0 33.333%;
              max-width: 33.333%;              
            }
            @media (max-width: 1300px) {
              flex: 0 0 50%;
              max-width: 50%;
            }
            @media (max-width: 1199.98px) {
              .order-select-option {
                .download-pdf-wrap{
                  margin-right: 4px;
                  width: 16px;
                }
                .hub-icon{
                  width: 20px;
                  min-width: 20px;
                  height: 20px;
                  border-radius: 20px;
                  margin-right: 4px;
                  img{
                    width: 13px;
                  }
                }
                a.order-id-link{
                  font-size: 14px;
                  margin-right: 5px;
                }
              }
            }
            @media (max-width: 1060px) {              
              .order-select-option {
                margin-bottom: 6px;
                .form-check {
                  margin-right: 6px;
                  .form-check-input[type="checkbox"] {
                    width: 16px;
                    height: 16px;
                  }
                  .form-check-label {
                    cursor: pointer;
                    font-size: 14px;
                  }
                }
                .order-review {
                  font-size: 12px;
                }
              }
            }
            @media (max-width: 690px) {
              flex: 0 0 100%;
              max-width: 100%;              
            }
            @media (max-width: 575.98px) {              
              .order-select-option {
                .form-check {
                  margin-right: 2px;
                  .form-check-input[type="checkbox"] {
                    width: 16px;
                    height: 16px;
                  }
                  .form-check-label {
                    cursor: pointer;
                    font-size: 12px;
                  }
                }
                .order-review {
                  font-size: 10px;
                }
              }
            }
          }
        }
      }
    }
    @media (max-width: 1199.98px) {
      .left-side {
        width: 216px;
        padding-right: 4px;
      }
      .right-side {
        width: calc(100% - 216px);
      }
    }
    @media (max-width: 575.98px) {
      flex-direction: column;
      .left-side {
        width: 100%;
        padding-right: 8px;
      }
      .right-side {
        width: 100%;
      }
    }
  }
  @media (max-width: 1199.98px) {
    padding: 0 15px;
  }
  @media (max-width: 575.98px) {
    padding: 0 12px;
  }
}

.buy-and-payment-wrap {
  padding: 12px 24px;
  
  .main-table {
    .table-responsive {
      .table {
        border-collapse: separate;
        border-spacing: 0 10px;
        thead {
          tr {
            th {
              background: transparent;
              color: var(--color-text);
              border: none;
              font-size: 16px;
              white-space: nowrap;
              vertical-align: middle;
              .blank{
                width: 29px;
                height: 24px;
                display: inline-block;
                margin-right: 3px;
              }
              .form-check-inline {
                margin-right: 0;
                margin-bottom: 0;
                .form-check-input {
                  width: 20px;
                  height: 20px;
                  border-radius: 0;
                  background-color: #d1c7c7;
                  border-color: var(--color-lighter-dark);
                  &:checked {
                    background-color: #817e7e;
                  }
                  &:focus {
                    box-shadow: 0 0 0 0.25rem rgb(65 65 65 / 13%);
                  }
                }
              }
            }
          }
        }
        tbody {
          tr {
            &.module_list{
              td{
                img.module-icon{
                  width: 25px;
                  height: 25px;
                  object-fit: fill;
                }
              }
            }
            td {
              padding: 6px;
              background: #a4a5a4;
              color: var(--color-white);
              border: none;
              font-size: 17px;
              line-height: 22px;
              white-space: nowrap;
              &:first-child {
                border-top-left-radius: 6px;
                border-bottom-left-radius: 6px;
              }
              &:last-child {
                border-top-right-radius: 6px;
                border-bottom-right-radius: 6px;
              }
              a.collapse-btn {
                color: var(--color-text);
                font-size: 24px;
                line-height: 1;
                margin-right: 8px;
                &:hover {
                  color: var(--color-white-gray);
                }
                i {
                  transition: all 0.25s ease;
                }
              }
              a.collapse-btn[aria-expanded="true"] i {
                transform: rotatex(180deg);
              }
              .client_ledger_link{
                color: var(--color-white);
                width: 268px;
                display: block;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
                &:hover{
                  color: #ddd;
                }
              }
              .sell-invoice-view-link{
                color: var(--color-white);
                &:hover{
                  color: #ddd;
                }
              }
              .form-check-inline {
                margin-right: 0;
                margin-bottom: 0;
                .form-check-input {
                  width: 20px;
                  height: 20px;
                  border-radius: 0;
                  background-color: #d1c7c7;
                  border-color: var(--color-lighter-dark);
                  &:checked {
                    background-color: #817e7e;
                  }
                  &:focus {
                    box-shadow: 0 0 0 0.25rem rgb(65 65 65 / 13%);
                  }
                }
              }
              .flag-status{
                display: inline-flex;
                width: 17px;
                height: 17px;
                img{
                  width: 17px;
                  height: 17px;
                }                
              }
              a.edit,
              a.delete,
              a.view {
                color: var(--color-text);
                font-size: 21px;
                text-decoration: none;
                img {
                  width: 22px;
                  height: 22px;
                  object-fit: contain;
                }
                &:hover{
                  opacity: .625;
                }
              }
              a.edit {
                margin-right: 2px;
              }
              a.view {
                margin-right: 2px;
              }
              &.due-amount,
              &.social-amount {
                color: #000aff;
              }
              .elployee-thumbs {
                width: 42px;
                height: 42px;
                object-fit: contain;
                border-radius: 42px;
                background: var(--color-text);
              }
              .ename-english,
              .ename-chinese {
                line-height: 1.15;
                color: var(--color-white);
              }
            }
            &.paid {
              td {
                background: #4D6A3F;
              }
            }
            &.partial_paid {
              td {
                background: #c35700;
              }
            }
            &.advance_paid {
              td {
                background: #FFC629;
              }
            }
            &.hidden {
              display: none;
            }
            &.child {
              td {
                background: transparent;
                .table-child {
                  padding: 8px;
                  margin-bottom: 0;
                  border: 1px solid #626262;
                  border-radius: 6px;
                  td {
                    background: #626262;
                  }
                }
              }
            }
          }
          &.sub-row {
            tr {
              td {
                background: #626262;
                &:first-child {
                  background: transparent;
                }
                &:nth-child(2) {
                  border-top-left-radius: 6px;
                  border-bottom-left-radius: 6px;
                }
              }
            }
          }
        }
        @media (max-width: 1700px) {
          tbody {
            tr {
              td {
                font-size: 15px;
                line-height: 22px;
                &.companey-name{
                  width: 350px;
                  max-width: 350px;
                  overflow: hidden;
                  text-overflow: ellipsis;
                }
              }
            }
          }
        }
        @media (max-width: 1399.98px) {
          thead {
            tr {
              th {
                font-size: 14px;
                padding: 4px 5px;
                .form-check-inline {
                  .form-check-input {
                    width: 18px;
                    height: 18px;
                  }
                }
                .blank{
                  width: 23px;
                }
              }
            }
          }
          tbody {
            tr {
              td {
                font-size: 15px;
                line-height: 21px;
                vertical-align: middle;
                padding: 4px 5px;
                &.companey-name{
                  width: 300px;
                  max-width: 300px;
                }
                a.collapse-btn {
                  font-size: 20px;
                  line-height: 1;
                  margin-right: 6px;
                }
                .form-check-inline {
                  .form-check-input {
                    width: 18px;
                    height: 18px;
                  }
                }
                a.edit,
                a.delete {
                  font-size: 18px;
                  img {
                    width: 22px;
                    height: 22px;
                  }
                }
                .elployee-thumbs {
                  width: 38px;
                  height: 38px;
                }
              }
            }
          }
        }
        @media (max-width: 1299.98px) {
          tbody {
            tr {
              td {
                font-size: 14px;
                &.companey-name{
                  width: 230px;
                  max-width: 230px;
                }
              }
            }
          }
        }
        @media (max-width: 991.98px) {
          thead {
            tr {
              th {
                font-size: 13px;
                padding: 4px 5px; 
              }
            }
          }
          tbody {
            tr {
              td {
                font-size: 13px;
                line-height: 17px;
              }
            }
          }
        }
        &.order_list_table{
          border-spacing: 0 6px;
          margin-bottom: 6px;
          thead{
            tr{
              th{
                padding-top: 1px;
                vertical-align: middle;
                padding-bottom: 2px;
                @media (max-width: 991.98px) {
                  font-size: 13px;
                }
              }
            }
          }
          tbody{
            tr{
              &.review_approved{
                td{
                  background: #4D6A3F;
                  &:nth-child(1),
                  &:nth-child(2){
                    background: #4D6A3F;
                  }
                  .download-pdf-link{
                    color: #ff5a5a;                 
                  }
                }
              }              
              td{
                font-size: 16px;
                line-height: 20px;
                vertical-align: middle;
                padding: 7px 8px;
                &.order-vendor-name {
                  max-width: 95px;
                  width: 97px;
                  overflow: hidden;
                  text-overflow: ellipsis;
                }
                &:first-child{
                  width: 100px;
                  max-width: 100px;
                }
                .order-note-link{
                  color: #ffc107;
                  font-size: 20px;
                  &:hover{
                    color: #ff7800;
                  }
                }
                .order-progress-wrap{
                  max-width: 120px;
                  .order-progress{
                    background-color: #cfcfcf;
                    height: 14px;
                    .progress-bar{
                      background-color:#049566;
                    }
                  }
                }
                span.badge.text-bg-warning.text-white{
                  margin-right: 4px;
                  min-width: 22px;                  
                }
                .download-pdf-link{
                  color: #a32222;
                  padding-left: 2px;
                  font-size: 18px;     
                  img{
                    width: 20px;
                  }             
                }
                .table-rating{                  
                  i{
                    font-size: 18px;
                    &.fa-solid{
                      color: #e37c00;
                      text-shadow: 1px 2px 2px rgba(0, 0, 0, .25);
                    }
                    &.fa-regular{
                      color: #dddddd;
                      text-shadow: 1px 2px 2px rgba(0, 0, 0, .25);
                    }
                  }
                }
                @media (max-width: 1650px) {
                  font-size: 15px;
                  line-height: 17px;
                }
                @media (max-width: 1399.98px) {
                  font-size: 15px;
                  line-height: 17px;
                  vertical-align: middle;
                  padding: 4px 5px;
                }
                @media (max-width: 991.98px) {
                  font-size: 13px;
                  line-height: 15px;
                  .table-rating{
                    img{
                      width: 20px;
                      height: 22px;
                    }
                  }
                  span.badge.text-bg-warning.text-white{
                    font-size: 13px !important;                  
                  }
                }
              }
              &.child{
                td{
                  .table-child{
                    border-spacing: 0 0;
                    padding: 0;
                    padding-left: 64px;
                    tr{
                      td{
                        width: inherit;
                        &:first-child {
                          border-top-left-radius: 0;                     
                          border-bottom-left-radius: 0;                     
                        }
                        &:last-child {
                          border-top-right-radius: 0;
                          border-bottom-right-radius: 0;
                        }
                      }
                      &:first-child{
                        td{
                          &:first-child {
                            border-top-left-radius: 6px;                     
                            border-bottom-left-radius: 0;                     
                          }
                          &:last-child {
                            border-top-right-radius: 6px;
                            border-bottom-right-radius: 0;
                          }
                        }
                      }
                      &:last-child{
                        td{
                          &:first-child {
                            border-top-left-radius: 0 !important;  
                            border-bottom-left-radius: 6px !important;                        
                          }
                          &:last-child {
                            border-top-right-radius: 0 !important;
                            border-bottom-right-radius: 6px !important;
                          }
                        }
                      }
                    }
                    td{
                      background: #a4a5a4;
                      vertical-align: middle;
                      padding: 5px 8px;
                      .upload-artwork-wrap .show-artwork{
                        background: transparent;
                        width: 30px;
                        height: 35px;
                      }
                      .upload-artwork-wrap .custom-upload-option .upload_btn{
                        padding: 0 !important;
                        height: 30px;
                        font-size: 14px;
                      }
                      .upload-artwork-wrap .show-artwork .btn-remove{
                        top: -5px;
                        right: -5px;
                      }
                      img.file-icon{
                        width: 100%;
                      }
                      .upload-artwork-wrap .custom-upload-option {
                        width: 72px;
                        min-width: 72px;
                        max-width: 72px;
                        margin-right: 2px;
                      }
                      .progress{
                        height: 8px;
                      }
                      a.chat-notification{
                        color: #fff;
                        font-size: 24px;
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
  &.order-list-page{
    width: 100%;
    height: 100%;
    overflow: hidden;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    .main-table{
      max-height: calc(100% - 28px);
      overflow: hidden;
      overflow-y: auto;
    }
  }
  @media (max-width: 575.98px) {
    padding: 6px 12px;
  }
}
.employee-gird-view {
  height: 100%;
  .employee-gird-wrap {
    height: calc(100% - 67px);
    padding: 12px 24px;
    overflow: hidden;
    overflow-y: auto;
    .department-wrap {
      margin-bottom: 20px;
      .department-title {
        padding-bottom: 4px;
        font-size: 26px;
        font-weight: 400;
        border-bottom: 1px solid var(--color-lighter-dark);
      }
      .employee-list {
        // margin-left: -8px;
        // margin-right: -8px;
        display: flex;
        flex-wrap: wrap;
        .employee-box {
          flex: 0 0 14.285%;
          max-width: 14.285%;
          padding-left: 8px;
          padding-right: 8px;
          .employee-details {
            margin-top: 16px;
            background: #4d4b4b;
            padding: 20px;
            border-radius: 12px;
            position: relative;
            img {
              width: 100%;
            }
            p {
              color: var(--color-text);
              line-height: 1.2;
              &.employee-name-eng {
                font-size: 18px;
                margin-top: 8px;
                margin-bottom: 0;
              }
              &.employee-name-chi {
                font-size: 15px;
              }
              &.employee-salary {
                margin-bottom: 0;
              }
            }
            a.edit-option {
              position: absolute;
              top: 9px;
              right: 10px;
              img {
                width: 22px;
              }
            }
          }
        }
      }
    }
  }
  .pagination-wrap {
    margin-top: 16px;
  }
  @media (max-width: 1599.98px) {
    .employee-gird-wrap .department-wrap .employee-list {
      .employee-box {
        padding-left: 6px;
        padding-right: 6px;
        .employee-details {
          padding: 15px;
          p {
            &.employee-name-eng {
              font-size: 16px;
              margin-top: 8px;
            }
            &.employee-name-chi {
              font-size: 14px;
              margin-bottom: 12px;
            }
            &.employee-salary {
              font-size: 14px;
            }
          }
          a.edit-option {
            top: 5px;
            right: 8px;
          }
        }
      }
    }
  }
  @media (max-width: 1399.98px) {
    .employee-gird-wrap .department-wrap .employee-list {
      .employee-box {
        flex: 0 0 16.666%;
        max-width: 16.666%;
        padding-left: 6px;
        padding-right: 6px;
        .employee-details {
          padding: 12px;
        }
      }
    }
  }
  @media (max-width: 1199.98px) {
    .employee-gird-wrap .department-wrap .employee-list {
      .employee-box {
        flex: 0 0 20%;
        max-width: 20%;
        .employee-details {
          p {
            &.employee-name-eng {
              font-size: 14px;
              margin-top: 6px;
            }
            &.employee-name-chi {
              font-size: 13px;
              margin-bottom: 10px;
            }
            &.employee-salary {
              font-size: 13px;
            }
          }
          a.edit-option {
            top: 5px;
            right: 8px;
          }
        }
      }
    }
  }
  @media (max-width: 1050px) {
    .employee-gird-wrap .department-wrap .employee-list {
      .employee-box {
        flex: 0 0 25%;
        max-width: 25%;
      }
    }
  }
  @media (max-width: 575.98px) {
    .employee-gird-wrap .department-wrap .employee-list {
      .employee-box {
        flex: 0 0 33.333%;
        max-width: 33.333%;
      }
    }
  }
  @media (max-width: 430px) {
    .employee-gird-wrap {
      padding: 12px;
      .department-wrap .employee-list {
        .employee-box {
          flex: 0 0 50%;
          max-width: 50%;
        }
      }
    }
  }
}

.pagination-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  .pagination {
    margin-bottom: 0;
    .page-item {
      .page-link {
        background: transparent;
        color: var(--color-text);
        border: none;
        padding: 3px;
        font-size: 18px;
        &:hover {
          color: var(--color-light-dark);
        }
        &:focus {
          color: var(--color-light-dark);
          box-shadow: none;
        }
      }
      &:first-child {
        .page-link {
          padding-right: 8px;
        }
      }
      &:last-child {
        .page-link {
          padding-left: 8px;
        }
      }
    }
  }
  .show-rows{
    margin-right: 6px;
    .show-rows-wrap{
      display: flex;
      align-items: center;
      .col-form-label{
        white-space: nowrap;
        padding-right: 8px;
      }
      .form-select{
        width: 70px;
        background-color: #2e2d2d;
        color: #fff;
        text-align: center;
        font-size: 16px;
        --bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23dee2e6' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
        background-position: right 6px center;
        padding: 3px 20px 3px 4px;
        &:focus{
          box-shadow: none;

        }
      }
    }
  }
  @media (max-width: 991.98px) {
    margin-top: 10px !important;
    height: 35px !important;
    .pagination{
      .page-item{
        .page-link{
          font-size: 14px;
        }
      }
    }
    .show-rows{
      .show-rows-wrap{
        .col-form-label{
          font-size: 14px;
        }
        .form-select{
          font-size: 14px;
          width: 55px;
          padding: 3px 16px 3px 4px;
          background-position: right 2px center;
        }
      }      
    }
  }
}

.new-employee-form {
  padding: 12px 24px;  
  .form-title {
    padding-bottom: 4px;
    margin-bottom: 20px;
    font-size: 26px;
    font-weight: 400;
    border-bottom: 1px solid var(--color-lighter-dark);
  }
  .col-form-label {
    flex: 0 0 28%;
    max-width: 28%;
    text-align: right;
    line-height: 1.1;
  }
  .custom-input-width {
    flex: 0 0 72%;
    max-width: 72%;
    .passsword-container{
      position: relative;
      .toggle-icon{
        position: absolute;
        top: 6px;
        right: 10px;
        img{
          width: 27px;
        }
      }
    }
    .form-control {
      border-radius: 6px;
      height: 40px;
      border: none;
      color: var(--color-bg-dark);
      font-size: 18px;
      letter-spacing: 0.625px;
      &:focus {
        box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.2);
      }
    }
    textarea.form-control{
      border-radius: 8px;
      height: auto;
      border: none;
      color: var(--color-bg-dark);
      font-size: 18px;
      letter-spacing: 0.625px;
      &:focus {
        box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.2);
      }
    }
    select {
      border: none;
      height: 40px;
      &:focus {
        box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.2);
      }
    }
  }
  .dob-width {
    flex: 0 0 28%;
    max-width: 28%;
    position: relative;
    .form-control {
      border-radius: 8px;
      height: 40px;
      border: none;
      color: var(--color-bg-dark);
      font-size: 18px;
      letter-spacing: 0.625px;
      &:focus {
        box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.2);
      }
    }
  }  
  .date_options_wrap{
    flex: 0 0 72%;
    max-width: 72%;
    display: grid;
    column-gap: 12px;
    grid-template-columns: auto auto auto;
    #id_joining_date_month,
    #id_joining_date_day,
    #id_joining_date_year{
      &:focus{
        border: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.2);
      }
    }
  }
  .custom-upload-option {
    position: relative;
    overflow: hidden;
    display: inline-block;
    width: 100%;
    .upload_input {
      font-size: 100px;
      position: absolute;
      left: 0;
      top: 0;
      opacity: 0;
      cursor: pointer;
    }
    .upload_btn {
      border: none;
      border-radius: 8px;
      color: #4a566e;
      background-color: var(--color-white);
      padding: 5px 20px 5px 32px;
      font-size: 20px;
      width: 100%;
      height: 40px;
    }
  }
  .custom-uploaded-image-view{
    display: flex;
    .img-box{
      padding: 5px;
      border-radius: 8px;
      border: 1px solid var(--color-lighter-dark);
      position: relative;
      margin-right: 6px;
      max-width: 120px;
      min-width: 64px;
      min-height: 64px;
      &:last-child{
        margin-right: 0;
      }
      img{
        border-radius: 6px;
        width: 100%;
      }
      .btn-img-delete{
        position: absolute;
        top: 5px;
        right: 5px;
        background: var(--color-danger);
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        border-radius: 4px;
        width: 24px;
        height: 24px;
        img{
          width: 14px;
          border-radius: 0;
          vertical-align: middle;
        }
      }
    }
  }
  .po-attachment-view{
    .custom-uploaded-image-view{
      .img-box{
        min-width: 48px;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--color-white-gray);
        i{
          font-size: 24px;
          color: green;
        }
      }
    }
  }
  .bg-gradient-top-bottom {
    background-image: linear-gradient(#fff, #999);
  }
  @media (max-width: 1699.98px) {
    .col-form-label {
      font-size: 14px;
      line-height: 20px;
    }
  }
  @media (max-width: 1499.98px) {
    .col-form-label {
      flex: 0 0 30%;
      max-width: 30%;
    }
    .custom-input-width {
      flex: 0 0 70%;
      max-width: 70%;
    }
    .dob-width {
      flex: 0 0 23.333%;
      max-width: 23.333%;
      position: relative;
    }
    .date_options_wrap{
      flex: 0 0 70%;
      max-width: 70%;
    }
  }
  @media (max-width: 1399.98px) {
    padding: 12px 15px;
  }
  @media (max-width: 1250px) {
    .col-form-label {
      font-size: 15px;
    }
  }
  @media (max-width: 1199.98px) {
    .form-title {
      font-size: 20px;
      margin-bottom: 15px;
    }
    .col-form-label {
      flex: 0 0 100%;
      max-width: 100%;
      text-align: left;
      margin-top: 0;
      padding-bottom: 1px;
    }
    .custom-input-width {
      flex: 0 0 100%;
      max-width: 100%;
      margin-top: 2px;
      .form-control {
        height: 36px;
        font-size: 15px;
      }
      select {
        height: 36px;
        font-size: 15px;
      }
      textarea.form-control{
        height: 103px;
        font-size: 15px;
      }
    }
    .dob-width {
      flex: 0 0 33.333%;
      max-width: 33.333%;
      margin-top: 2px;
      .form-control {
        height: 36px;
      }
    }
    .date_options_wrap{
      flex: 0 0 100%;
      max-width: 100%;      
      column-gap: 8px;
    }
    .custom-upload-option {
      .upload_btn {
        padding: 3px 20px 3px 32px;
        height: 36px;
      }
    }
  }
  @media (max-width: 575.98px) {
    .form-title {
      font-size: 18px;
      margin-bottom: 12px;
    }
    .custom-input-width {      
      .form-control {
        height: 32px;
        font-size: 14px;
      }
      select {
        height: 32px;
        font-size: 14px;
      }
      textarea.form-control{
        height: 80px;
        font-size: 14px;
      }
    }
    .col-form-label {
      flex: 0 0 100%;
      max-width: 100%;
      text-align: left;
      margin-top: 0;
      padding-bottom: 1px;
    }
  }
  
}

.custom-upload-option {
  position: relative;
  overflow: hidden;
  display: inline-block;
  width: 100%;
  .upload_input {
    font-size: 100px;
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    max-height: 40px;
    opacity: 0;
    cursor: pointer;
  }
  .upload_btn {
    border: none;
    border-radius: 8px;
    color: #4a566e;
    background-color: var(--color-white);
    padding: 5px 20px 5px 32px;
    font-size: 20px;
    width: 100%;
    height: 40px;    
  }
  &.client-upload-option{
    width: 100px;
    .upload_input {
      max-height: 36px;
    }
    .upload_btn{
      padding: 4px 8px 4px 8px;
      font-size: 15px;
      height: 32px;
      width: 100%;
      border: 1px solid #ddd;
      cursor: pointer;
      transition: all 0.25s ease-in-out;
    } 
    &:hover{
      .upload_btn{
        background-color: #6c757d;
        color: var(--color-white);
      }
    }     
  }
  @media (max-width: 575.98px) {
    .upload_btn{
      height: 36px;
      font-size: 16px;
    }
  }
}
.custom-uploaded-image-view{
  display: flex;
  .img-box{
    padding: 5px;
    border-radius: 8px;
    border: 1px solid var(--color-lighter-dark);
    position: relative;
    margin-right: 6px;
    max-width: 120px;
    &.flag-img-box{
      width: 70px;
      .btn-img-delete{
        border: 1px solid rgb(255, 172, 172);
      }
    }
    &.wh-120{
      width: 120px;
      height: 120px;
      img{
        width: 100%;
        height: 100%;
        object-fit: contain;
      }
    }
    &:last-child{
      margin-right: 0;
    }
    img{
      border-radius: 6px;
      width: 100%;
      &.flag-img{
        min-width: 64px;
      }
    }
    .btn-img-delete{
      position: absolute;
      top: 5px;
      right: 5px;
      background: var(--color-danger);
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 0;
      border-radius: 4px;
      width: 24px;
      min-width: 24px;
      height: 24px;
      img{
        width: 14px;
        border-radius: 0;
        vertical-align: middle;
      }
    }
  }
}
.bg-gradient-top-bottom {
  background-image: linear-gradient(#fff, #999);
}

.new-designation-form {
  padding: 12px 24px;
  display: flex;
	flex-wrap: wrap;
  height: 100%;
  .left-wrap {
    flex: 0 0 27%;
    max-width: 27%;
    padding: 15px;
    form{
      input[type="color"]{
        padding: 6px;
        height: 42px;
      }
    }
  }
  .right-wrap {
    flex: 0 0 73%;
    max-width: 73%;
    padding: 15px;
    height: 100%;
    .comon-table-wrap{
      height: calc(100% - 12px);
      .main-table{
        height: calc(100% - 40px);
        overflow: hidden;
        overflow-y: auto;
        .table-responsive{
          .table{
            tbody{
              td{
                line-height: 1.25;
                img.flag-icon{
                  width: 22px;
                }
              }
            }
          }
        }
        
      }
    }
    .right-title-wrap{
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      border-bottom: 1px solid var(--color-lighter-dark);
      .form-title{
        border-bottom: none;
        margin-bottom: 0;
      }
      .search-form-wrap{
        margin-top: 0;
        margin-bottom: 0;
        .search-box{
          .form-control{
            border: none;
            height: 36px;
            &:focus{
              box-shadow: none;
              &::placeholder{
                color: transparent;
              }
            }            
          }
          i{
            top: 11px;
          }
        }
      }
      @media (max-width: 1399.98px) {
        .search-form-wrap{
          .search-box{
            .form-control{              
              padding: 8px 0 8px 34px;  
              height: 32px; 
              font-size: 16px;    
              &::placeholder{
                font-size: 15px;
              }       
            }
            i{
              top: 9px;
              left: 6px;
            }
          }
        }
      }
    }
  }
  .form-title {
    padding-bottom: 4px;
    margin-bottom: 10px;
    font-size: 26px;
    font-weight: 400;
    border-bottom: 1px solid var(--color-lighter-dark);
  }
  form {
    .col-form-label {
      font-size: 16px;
			padding-bottom: 1px;
    }
    input.form-control {
      border-radius: 6px;
      height: 40px;
      border: none;
      color: var(--color-bg-dark);
      font-size: 18px;
      letter-spacing: 0.625px;
      &:focus {
        box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.2);
      }
    }
    .btn {
      background: var(--color-white);
      color: var(--color-dark);
      padding: 7px 12px;
      border-radius: 6px;
      min-width: 120px;
      transition: all 0.25s ease-in-out;
      &:hover {
        background: #c7c7c7;
      }
    }
    .currier-shipping-type{
      input[type="radio"]{
        width: 20px;
        height: 20px;
        --bs-form-check-bg: var(--bs-body-bg);
        flex-shrink: 0;
        margin-top: 2px;
        vertical-align: top;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        background-color: var(--bs-form-check-bg);
        background-image: var(--bs-form-check-bg-image);
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        border: var(--bs-border-width) solid var(--bs-border-color);
        border-radius: 50%;
        -webkit-print-color-adjust: exact;        
        color-adjust: exact;
        print-color-adjust: exact;
        &:checked{          
          --bs-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e");
          background-color: #414141;
          border-color: #535353;
        }
      }
    }
  }
  @media (max-width: 1399.98px) {
    padding: 2px 4px ;
		.left-wrap {
			flex: 0 0 35%;
			max-width: 35%;
			padding: 12px;
		}
		.right-wrap {
			flex: 0 0 65%;
			max-width: 65%;
			padding: 12px;    
      .comon-table-wrap{
        height: calc(100% - 24px);
      }  
		}
    form {
      .col-form-label {
        margin-top: 0px;
      }
			input.form-control {
				height: 32px;
			}
			.btn{
				padding: 3px 12px;
			}
    }
  }
	@media (max-width: 1199.98px) {
		.form-title{
			font-size: 16px;
      margin-top: 8px;
			margin-bottom: 8px;
		}
	}
	@media (max-width: 575.98px) {
		padding: 0;
    height: auto;
		.left-wrap {
			flex: 0 0 100%;
			max-width: 100%;
			padding: 12px;
      .form-title{
        margin-top: 4px;
        margin-bottom: 8px;
      }
		}
		.right-wrap {
			flex: 0 0 100%;
			max-width: 100%;
			padding: 12px;
      .comon-table-wrap{
        height: auto;
      }
		}
		form {
      .col-form-label {
        margin-top: 2px;
        font-size: 14px;
      }
			input.form-control {
				height: 32px;
        font-size: 16px;
			}
			.btn{
				padding: 3px 12px;
			}
    }
	}
}

.comon-table-wrap {
  padding: 0;
  .main-table {
    .table-responsive {
      .table {
        border-collapse: separate;
        border-spacing: 0 10px;
        thead {
          tr {
            th {
              background: transparent;
              color: var(--color-text);
              border: none;
              font-size: 16px;
              white-space: nowrap;
            }
          }
        }
        tbody {
          tr {
            td {
              background: #a4a5a4;
              color: var(--color-white);
              border: none;
              font-size: 18px;
              line-height: 29px;
              white-space: nowrap;
              &:first-child {
                border-top-left-radius: 6px;
                border-bottom-left-radius: 6px;
              }
              &:last-child {
                border-top-right-radius: 6px;
                border-bottom-right-radius: 6px;
              }
              a.collapse-btn {
                color: var(--color-text);
                font-size: 24px;
                line-height: 1;
                margin-right: 8px;
                &:hover {
                  color: var(--color-white-gray);
                }
                i {
                  transition: all 0.25s ease;
                }
              }
              a.collapse-btn[aria-expanded="true"] i {
                transform: rotatex(180deg);
              }
              .form-check-inline {
                margin-right: 0;
                margin-bottom: 0;
                .form-check-input {
                  width: 20px;
                  height: 20px;
                  border-radius: 0;
                  --bs-form-check-bg: #d1c7c7;
                  border-color: var(--color-lighter-dark);
                  &:checked {
                    background-color: #817e7e;
                  }
                  &:focus {
                    box-shadow: 0 0 0 0.25rem rgb(65 65 65 / 13%);
                  }
                }
              }
              a.edit,
              a.delete {
                color: var(--color-text);
                font-size: 21px;
                text-decoration: none;
                img {
                  width: 22px;
                  height: 22px;
                  object-fit: contain;
                }
              }
              a.edit {
                margin-right: 4px;
              }
              &.due-amount,
              &.social-amount {
                color: #000aff;
              }
              .elployee-thumbs {
                width: 50px;
                height: 50px;
                object-fit: contain;
              }
              .ename-english,
              .ename-chinese {
                line-height: 1.15;
                color: var(--color-white);
              }
            }
            &.paid {
              td {
                background: #0f670f;
              }
            }
            &.hidden {
              display: none;
            }
            &.child {
              td {
                background: transparent;
                .table-child {
                  padding: 8px;
                  margin-bottom: 0;
                  border: 1px solid #626262;
                  border-radius: 6px;
                  td {
                    background: #626262;
                  }
                }
              }
            }
          }
          &.sub-row {
            tr {
              td {
                background: #626262;
                &:first-child {
                  background: transparent;
                }
                &:nth-child(2) {
                  border-top-left-radius: 6px;
                  border-bottom-left-radius: 6px;
                }
              }
            }
          }
        }
        @media (max-width: 1399.98px) {
          thead {
            tr {
              th {
                font-size: 14px;
                padding: 4px 5px;
              }
            }
          }
          tbody {
            tr {
              td {
                font-size: 15px;
                line-height: 21px;
                vertical-align: middle;
                padding: 4px 5px;
                a.collapse-btn {
                  font-size: 20px;
                  line-height: 1;
                  margin-right: 6px;
                }
                .form-check-inline {
                  .form-check-input {
                    width: 18px;
                    height: 18px;
                  }
                }
                a.edit,
                a.delete {
                  font-size: 18px;
                  img {
                    width: 22px;
                    height: 22px;
                  }
                }
                .elployee-thumbs {
                  width: 38px;
                  height: 38px;
                }
              }
            }
          }
        }
      }
    }
  }
  @media (max-width: 575.98px) {
    padding: 0;
  }
}

.day-select{
  list-style: none;
  background: linear-gradient(rgb(255, 255, 255), rgb(153, 153, 153));
  color: var(--color-dark);
  border-radius: 6px;
  padding: 6px;
  margin: 0;
  display: none;
  flex-wrap: wrap;
  justify-content: center;
  overflow: hidden;
  position: absolute;
  top: 52px;
  left: 12px;
  right: 12px;
  z-index: 1;
  box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.2);
  max-height: 202px;
  li{
    padding: 4px 6px;
    width: 32px;
    float: left;
    cursor: pointer;
    border-radius: 6px;
    transition: all .15s ease-in-out;
    &:hover{
      background: #9b9b9b;
    }
  }
}
.month-select{
  list-style: none;
  background: linear-gradient(rgb(255, 255, 255), rgb(153, 153, 153));
  color: var(--color-dark);
  border-radius: 6px;
  padding: 6px;
  margin: 0;
  display: none;
  flex-wrap: wrap;
  justify-content: center;
  overflow: hidden;
  position: absolute;
  top: 52px;
  left: 12px;
  right: 12px;
  z-index: 1;
  box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.2);
  li{
    padding: 4px 6px;
    width: 41px;
    float: left;
    cursor: pointer;
    border-radius: 6px;
    transition: all .15s ease-in-out;
    &:hover{
      background: #9b9b9b;
    }
  }
}

.year-select{
  list-style: none;
  background: linear-gradient(rgb(255, 255, 255), rgb(153, 153, 153));
  color: var(--color-dark);
  border-radius: 6px;
  padding: 6px;
  margin: 0;
  display: none;
  flex-wrap: wrap;
  justify-content: center;
  overflow: hidden;
  position: absolute;
  top: 52px;
  left: 12px;
  right: 12px;
  z-index: 1;
  box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.2);
  max-height: 202px;
  overflow-y: auto;
  li{
    padding: 4px 6px;
    width: 48px;
    float: left;
    cursor: pointer;
    border-radius: 6px;
    transition: all .15s ease-in-out;
    &:hover{
      background: #9b9b9b;
    }
  }
}

.settings-options-wrap{
  display: flex;
  align-items: center;
  justify-content: flex-start;
  .settings-option-box{
    flex: 0 0 20%;
    width: 20%;
  }
}

.no-order-found{
  width: 100%;
  display: flex;
  align-items: center;
  flex-direction: column;
  padding-top: 100px;
  img{
    width: 320px;
    max-width: 100%;
    margin: 0 auto;
  }
  h5{
    text-align: center;
    margin-top: 24px;
    font-size: 24px;
    margin-bottom: 0;
  }
  p{
    text-align: center;
    color: #eee;
    font-size: 18px;
  }

  p.back-to-dashboard-link{
    a{
      color: var(--color-text);
      font-weight:600;
      border-bottom: 2px solid #ddd;
      padding-bottom: 5px;
      &:hover{
        color: #999;
        border-color: #999;
      }
    }
  }
}