@font-face {
  font-family: 'nk-icon';
  src:  url('../fonts/nk-icon.eot?tep57i');
  src:  url('../fonts/nk-icon.eot?tep57i#iefix') format('embedded-opentype'),
  url('../fonts/nk-icon.ttf?tep57i') format('truetype'),
  url('../fonts/nk-icon.woff?tep57i') format('woff'),
  url('../fonts/nk-icon.svg?tep57i#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}
[class^="nk-icon-"], [class*=" nk-icon-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'nk-icon';
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.nk-icon-edit:before {
  content: "\e900";
}
.nk-icon-delete:before {
  content: "\e901";
}
.nk-icon-refresh:before {
  content: "\e902";
}
.nk-icon-plus:before {
  content: "\e903";
}
.nk-icon-close:before {
  content: "\e904";
}
.nk-icon-diskette:before {
  content: "\e905";
}
.nk-icon-excel:before {
  content: "\e906";
}
.nk-icon-cloud-download:before {
  content: "\e907";
}
.nk-icon-share:before {
  content: "\e908";
}
.nk-icon-shopping-cart:before {
  content: "\e909";
}
.nk-icon-cheveron-left:before {
  content: "\e90b";
}
.nk-icon-cheveron-right:before {
  content: "\e90a";
}
.nk_custom_pc_builder_page{
  padding: 30px 0;
  font-size: 14px;
  color: #333;
  .blockUI.blockOverlay::before {
    height: 150px;
    width: 150px;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%,-50%);
    -moz-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    -o-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    margin-left: -.5em;
    margin-top: -.5em;
    content: '';
    background: url(../images/loading.svg) center no-repeat;
    background-size: cover;
    line-height: 1;
    text-align: center;
    font-size: 2em;
    color: rgba(0,0,0,.75);
  }
  &_header{
    background:#fff;
    .right{
      .cost{
        span {
          color: red;
          font-weight: bold;
        }
      }

    }

  }
  &_body{
    padding: 30px 0;
    .list-item {
      border: 1px solid #e1e1e1;
      float: left;
      width: 100%;

      .item {
        border-bottom: 1px solid #e1e1e1;
        float: left;
        width: 100%;
        display: flex;
        align-items: center;
        .left {
          float: left;
          width: 20%;
          padding: 7px 10px ;
          font-weight: bold;
            @media (max-width: 767px) {
              display: none;
            }
        }

        .right {
          float: left;
          width: 80%;
          border-left: 1px solid #e1e1e1;
          padding: 15px 10px;
          @media (max-width: 767px) {
            width: 100%;
          }
          @media (max-width: 767px) {
            .btn {
              width: 100%;
              margin-right: 10px;
            }
          }
          .inner-item{
            float: left;
            width: 100%;
            display: flex;
            justify-content: space-between;
            flex-wrap: wrap;
            &>a{
              float: left;
              width: 80px;
              @media (max-width: 767px) {
                width: 30%;
              }
              img{
                width: 100%;
                height: 100%;
                object-fit: contain;
              }
            }
            .info{
              float: left;
              width: 40%;
              padding-left: 15px;
              @media (max-width: 767px) {
                width: 70%;
              }
              a{
                font-weight: bold;
              }
              .short-desc{
                font-size: 13px;
                color: #777;
                @media (max-width: 767px) {
                  &{
                    display: none;
                  }
                }
              }
            }
            .price-wrap{
              display: flex;
              width: 30%;
              justify-content: space-between;
              float: left;
              @media (max-width: 767px) {
                width: 100%;
              }
              .p-price,.p-total{
                width: 125px;
                float: left;
              }
              .p-total{
                span{
                  color: #dc3545;
                }
              }
              .p-quantity{
                width: 55px;
                float: left;
                input{
                  margin: 0;
                  height: 30px;
                  min-width: 60px;
                  width: 100%;
                }
              }
              &>i{
                float: left;
                width: max-content;
                padding: 0px 15px;
                font-style: initial;
              }
            }

            .action{
              float: left;
              @media (max-width: 767px) {
                width: 100%;
                display: flex;
                margin-top: 20px;
              }

            }
          }
        }

        &:nth-child(odd) {
          background-color: #f9f9f9;
        }

        &:last-child {
          border-bottom: 1px solid transparent;
        }
      }
    }
  }
  &_footer{
    padding: 20px 0;
    .right{
      .cost{
        span {
          color: red;
          font-weight: bold;
        }
      }

    }
    &>button{
      margin: 5px 15px 5px 0;
    }
  }
  .nk-popup{
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    -ms-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
    &.show{
      opacity: 1;
      visibility: visible;
    }
    .nk-popup-overlay{
      position: absolute;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background: rgb(0,0,0,0.7);
    }
    .nk-popup-inner{
      position: absolute;
      max-width: 1200px;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%);
      height: 90vh;
      width: 100%;
      .nk-popup-header{
        float: left;
        width: 100%;
        .left-col{
          span.title{
            height: 100%;
            font-weight: bold;
            font-size: 21px;
            line-height: initial;
            padding: 10px 15px;
            display: block;
            @media(max-width: 767px){
              &{ width: 100%;
                font-size: 14px;
                text-transform: uppercase;
              }
            }

          }
          @media(max-width: 767px){
            &{ width: 100%;
                text-align: center;
            }
          }
        }
        .right-col{
          display: flex;
          justify-content: flex-end;
          align-items: center;
          @media(max-width: 767px){
            &{

              width: 100%;
              padding: 0px 15px 5px;
              max-height: 60px;
            }
          }
          .product-search-form{
            width: 100%;
            input{
              width: 100%;
              margin: 0;
              height: 40px;
              border: none;
              border-radius: 4px;
            }
            .search-form{
              position: relative;
              width: 100%;
              max-width: 790px;
              i{
                position: absolute;
                right: 11px;
                color: #333;
                font-size: 18px;
                top: 10px;
              }
            }
          }
          .button-close{
            width: 50px;
            height: 50px;
            display: grid;
            align-items: center;
            text-align: center;
            &:hover{
              cursor: pointer;
            }
          }
          .hide-on-desktop{
            display: none;
            @media (max-width: 767px) {
              display: block;
            }
            .filter-toggle{
              display: flex;
              margin: 0 15px;
              svg{
                width: 25px;
                color: #fff;
                fill: #fff;
              }
            }
            
          }
        }
      }
      .nk-popup-body{
        background: #fff;
        float: left;
        width: 100%;
        height: 90%;
        .left-col{
          padding: 5px 15px;
          overflow-y: auto;
          @media (max-width: 767px) {
            & {
             display: none;
              width: 100%;
              background: #fff;
              &.active{
                display: block;
              }
            }
          }
          .filter-wrap{
            height: 80vh;
            overflow-y: auto;
          }
          h4{
            font-size: 20px;
          }
          .filter-group{
            margin-top: 10px;
            padding-top: 10px;
            border-top: 1px solid #e1e1e1;
            &>label{
              font-size: 15px;
            }
            .filter-list{
              padding: 0;
              margin: 0;
              display: flex;
              flex-wrap: wrap;
                input{
                  margin-bottom: 10px;
                  outline: none;
                  cursor: pointer;
                  width: 20px;
                  height: 16px;
                  vertical-align: -3px;
                  display: none;
                }
                label{
                  font-size: 14px;
                  font-weight: normal;
                  width: 48%;
                  text-align: center;
                  border: 1px solid #e1e1e1;
                  padding: 5px;
                  border-radius: 2px;
                  margin: 3px 1%;
                  &:before{

                  }
                  &:hover{
                    cursor: pointer;
                  }
                }
                input:checked + label{
                  background: #007bff;
                  color: #fff;
                  border-color: #007bff;
                }

            }
          }
        }
        .right-col{
          border-left: 1px solid #e1e1e1;
          overflow-y: auto;
          width: 100%;
          @media (max-width: 767px) {
            width: 100%;
          }
          .top-row{
            padding: 5px 15px 8px;
            border-bottom: 1px solid #e1e1e1;
            .sort{
              max-width: 200px;
              @media (max-width: 767px) {
                max-width: 100%;
                margin: 5px 0;
              }
              select{
                margin: 0;
              }
            }
            .paginator{
              margin-left:15px;
              ul{
                padding: 0;
                margin: 0;
                li{
                  display: inline-block;
                  margin: 2px;
                  a{
                    display: block;
                    background: #007bff;
                    color: #fff;
                    width: 35px;
                    text-align: center;
                    padding: 2px;
                    border-radius: 4px;

                  }
                  &.active{
                    a{
                      background: #fff;
                      color: #007bff;
                      border: 1px solid #007bff;
                    }
                  }
                }
              }
            }
          }
          .product-items{
            height: 75vh;
            overflow-y: auto;
            .p-item{
              padding: 15px;
              border-bottom: 1px solid #e1e1e1;
              position: relative;
              float: left;
              width: 100%;
              .p-img{
                float: left;
                width: 80px;
                padding: 0;
                height: 80px;
                display: block;
                img{
                  width: 100%;
                  position: relative;
                  height: 100%;
                  object-fit: contain;
                }
              }
              .info {
                font-size: 14px;
                float: left;
                margin-left: 10px;
                width: 80%;
                @media (max-width: 767px) {
                  &{
                    width: 65%;
                    .short-desc{
                      display: none;
                    }
                  }
                }
                .p-name {
                  font-size: 14px;
                  color: #222222;
                  display: block;
                  font-weight: bold;
                }
                .p-price,.woocommerce-Price-amount {
                  color: #ec1b23;
                  font-weight: bold;
                  font-size: 18px;
                }
                .out-of-stock{
                  color: white;
                  background: #ec1b23;
                  display: inline-block;
                  padding: 2px 7px;
                  font-size: 12px;
                  border-radius: 5px;
                  i{
                    font-size: 9px;
                    margin-right: 8px;
                  }
                }
                .in-stock{
                  color: white;
                  background: #60bf2f;
                  display: inline-block;
                  padding: 2px 7px;
                  font-size: 12px;
                  border-radius: 5px;
                  i{
                    font-size: 9px;
                    margin-right: 8px;
                    vertical-align: middle;
                    margin-bottom: 0;
                    line-height: 11px;
                    svg{
                      width: 13px;
                      height: 13px;
                      fill: #fff;
                    }
                  }
                }
              }
              .action{
                position: absolute;
                right: 5px;
                top: 50%;
                transform: translateY(-50%);
              }
            }
          }
        }
      }
      #nk-popup-body-result{
        position: relative;
        &:before{
          content: '';
          position: absolute;
          z-index: 999999;
          width: 100%;
          left: 0;
          height: 100%;
          top: 0;
          background: rgb(243 243 243 / 86%) url(../images/loading.svg) center no-repeat;
          opacity: 0;
          visibility: hidden;
          -webkit-transition: all .4s ease-in-out;
          -moz-transition: all .4s ease-in-out;
          -ms-transition: all .4s ease-in-out;
          -o-transition: all .4s ease-in-out;
          transition: all .4s ease-in-out;
        }
        &.fade{
          &:before {
            opacity: 1;
            visibility: visible;
          }
        }
      }
      .left-col{
        float: left;
        width: 30%;
      }
      .right-col{
        float: left;
        width: 70%;
      }
    }
  }

  .clear{
    clear: both;
  }
  &_footer{
    background:#fff;
  }

  .btn{
    -moz-user-select: none;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1;
    padding: 10px 15px;
    text-align: center;
    text-transform: unset;
    touch-action: manipulation;
    transition: all .3s ease 0s;
    vertical-align: middle;
    border: none;
    background-color: #afafaf;
    border-radius: 3px;
    margin-bottom: 15px;
    &.btn-primary{
      color: #fff;
      background-color: #007bff;
      border-color: #007bff;
    }
    &.btn-danger {
      color: #fff;
      background-color: #dc3545;
      border-color: #dc3545;
    }
    &.btn-warning {
      color: #212529;
      background-color: #ffc107;
      border-color: #ffc107;
    }
    &.btn-success {
      color: #fff;
      background-color: #28a745;
      border-color: #28a745;
    }
  }
  .bg-primary{
    color: #fff;
    background-color: #007bff;
  }
  .btn-danger{
    color: #fff;
    background-color: #dc3545;
  }
  .btn-warning{
    color: #fff;
    background-color: #ffc107;
  }
  .btn-success{
    color: #fff;
    background-color: #28a745;
  }
  .flex-row {
    -js-display: flex;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-flow: row nowrap;
    flex-flow: row nowrap;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: justify;
    justify-content: space-between;
    width: 100%;
  }
  .flex-row-wrap {
    -js-display: flex;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: justify;
    justify-content: space-between;
    width: 100%;
  }
}