body{
  background: #F2F4F7;
}

.user-manager{
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 15px;
  padding: 15px 0;
  #ims-column_left{
    flex: 0 0 100%;
    @media (min-width: 1200px){
      flex: 1 1;

      max-width: unset;
    }
  }
  #ims-content{
    background: #fff;
    border-radius: 10px;
    flex: 0 0 100%;
    padding: 15px;
    min-height: 100vh;
    overflow: hidden;
    @media (min-width: 1200px){
      max-width: 977px;

      min-width: 579px;
    }
  }
}

#box_menu_user{
  @media(max-width: 991.98px){
    position: fixed;

    top: 0;

    right:0;

    transition: all 0.5s ease-in-out;

    overflow: hidden;

    width: 100%;

    z-index: 9000;

    margin-bottom:0;

    background: #fff;

    transform: translateX(100%);

    &.openside{
      transform: translateX(0);
      height: 100%;
      display: block;
      overflow-y:auto;
    }

    .user-toggler{
      position: absolute;
      top: 5px;
      right: 5px;
    }
  }
  .box_menu_user{
    a.current{
      .icon{
        background: #0CBA69;
      }
      .title{
        color: #0CBA69;
      }
    }
  }
}

.user-toggler{
  background: #f9f9f8;
  min-width: 40px;
  min-height: 40px;
  border: 1px solid #F15307;
  border-radius: 6px;
  padding: 5px;
  i{
    color: #F15307
  }
}

.forget_pass {
  background: #ffff;
  padding: 20px;
  border-radius: 10px;
  margin: 15px auto;
  width: 100%;
  @media(min-width: 768px){
    width: 60%;
  }
  .box-layout-title{
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
  }
  .box-layout-content{
    .user-form{
      .form-group > div ,
    		.form-group > input {
        flex: 0 0 calc(100%) !important;
        max-width: calc(100%) !important;
      }
    }
  }
}

#address_book{
  font-size: 16px;
  color: #303036;
  #form_ordering_address{
    width: 100%;
    padding: 0;
    .other_address{
    }
    .block_content{
      margin-bottom: 15px;
    }
    .item{
      .address-item{
        border-radius: 6px;
        margin-bottom: 0;
        position: relative;
        .panel-body{
          display: flex;
          flex-wrap: wrap;
          align-items: center;
          .info{
            width: calc(100% - 208px);
            padding-right: 15px;
            @media (max-width: 576px) {
              width: 100%;

              padding-right: 0;
            }
            p{
              &:not(:last-child){
              }
              &.name{
                font-weight: 600;
                display: flex;
                align-items: center;
                flex-wrap: wrap;
                span.title{
                }
              }
            }
          }
          .action{
            display: flex;
            flex-wrap: wrap;
            justify-content: flex-end;
            width: 208px;
            button{
              background: #F0F0F0;
              border-radius: 4px;
              font-weight: 500;
              height: 40px;
              font-size: 16px;
              @media (max-width: 992px) {
                font-size: 15px;
              }
              &.edit-address{
                width: 129px;
                margin-right: 10px;
                margin-bottom: 10px;
              }
              &.delete-address{
                color: #F22222;
                width: 69px;
                margin-bottom: 10px;
              }
              &.default-address{
                width: 208px
              }
            }
          }
          .default{
            font-size: 12px;
            font-weight: 500;
            color: #F26522;
            background: #FFDECE;
            border-radius: 4px;
            padding: 5px 10px;
            display: inline-block;
          }
        }
      }
    }
  }
  .address-form{
    width: 550px;
    max-width: 100%;
    padding: 0;
    margin: auto;
    margin-top: 15px;
    @media(min-width: 992px){
      form{
        box-shadow: 0 0 10px rgba(0,0,0,0.25);
        border-radius: 6px;
        padding: 30px;
      }
    }
    .row_input{
      @include font(400,13px,'','');
      color: #1a1a1a;
      margin-bottom: 10px;
      label{
        margin-bottom: 5px;
      }
      select{
        @include font(400,13px,'','');
      }
      .required {
        font-size: 20px;
        color: red;
      }
      .input_text,.textarea{
        width: 100%;
        height: 32px;
        background-color: #fff;
        border: 1px solid #ccc;
        border-radius: 2px;
        transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
        padding: 6px 12px;
        outline: none;
      }
    }
    .row_checkbox{
      margin-top: 15px;
      label{
        color: #1a1a1a;
        position: relative;
        padding: 2px;
        padding-left: 30px;
        cursor: pointer;
        &:before{
          content: '';
          position: absolute;
          top: 50%;
          left: 2px;
          transform: translateY(-50%);
          width: 20px;
          height: 20px;
          cursor: pointer;
          background: #fff;
          border: 1px solid #aea8a6;
          margin: 0;
        }
        &:after {
          content: '\f00c';
          font-family: 'Font Awesome 5 Pro';
          @include font-size(16px);
          color: #ff9000;
          position: absolute;
          top: 2px;
          left: 5px;
          background: transparent;
          opacity: 0;
        }
        &:hover{
          background: #fff;
          &::after {
            opacity: 0.5;
          }
        }
      }
      input#default_address{
        visibility: hidden;
        display: none;
        &:checked + label {
          &:before{
            background: #ff9000;
            border-color: #ff9000;
          }
          div{
            color: #ff9000;
          }
        }
        &:checked + label:after {
          color: #fff;
          opacity: 1;
        }
      }
    }
    .row_btn{
      margin-top: 15px;
    }
  }
}

#user_ordering{
  padding: 0;
  .wrap_nav{
    background: #FFF;
    border-bottom: 1px solid #EEEEEE;
    padding-bottom: 16px;
    margin-bottom: 15px;
  }
  .nav-tabs{
    align-items: center;
    justify-content: flex-start;
    background: #fff;
    border: 0;
    padding-bottom: 1px;
    @media (max-width: 992px) {
      display: none;
    }
    .nav-item{
      padding-right: 30px;
      .nav-link{
        border: none;
        border-radius: 18px;
        padding: 6px 15px;
        position: relative;
        font-size: 16px;
        &.show, &.active{
          color: #0CBA69;
          background: #DFFFF0;
        }
      }
    }
  }
  select{
    border: 1px solid #F1F1F1;
    padding: 12px 20px;
    border-radius: 5px;
    color: #0CBA69;
  }
  .search{
    form{
      position: relative;
      input{
      }
      button{
      }
    }
  }
  .list_item{
    .item{
      .list_product{
        width: 100%;
        border-bottom: 1px solid #E5E5E5;
        .item_product{
          display: flex;
          flex-wrap: wrap;
          width: 100%;
          padding-bottom: 10px;
          &:last-child{
            padding-bottom: 5px;
          }
          .picture{
            width: 126px;
            text-align: center;
            @media (max-width: 576px) {
              width: 80px;
            }
          }
          .info{
            width: calc(100% - 126px);
            padding-left: 20px;
            font-weight: 500;
            color: #303036;
            @media (max-width: 992px) {
              padding-left: 15px;
            }
            @media (max-width: 576px) {
              width: calc(100% - 80px);

              padding-left: 12px;
            }
            .title{
              display: flex;
              justify-content: space-between;
              padding-bottom: 10px;
              @media (max-width: 576px) {
                padding-bottom: 6px;
              }
              span{
                &:first-child{
                  @media (min-width: 576px) {
                    padding-right: 10px;
                  }
                }
                &:nth-child(2){
                  @media (max-width: 575px) {
                    display: none;
                  }
                }
              }
            }
            .quantity_price{
              display: flex;
              flex-wrap: wrap;
              justify-content: space-between;
              p:first-child{
                padding-right: 10px;
              }
            }
          }
        }
      }
      .order_info{
        padding: 17px 0 0;
        .top{
          display: flex;
          flex-wrap: wrap;
          justify-content: space-between;
          padding-bottom: 8px;
          p{
            padding-right: 10px;
            span{
              padding-right: 26px;
              padding-bottom: 10px;
              display: inline-block;
              @media (max-width: 992px) {
                padding-right: 12px;
              }
              @media (max-width: 425px) {
                padding-right: 0;

                width: 100%;
              }
              &:nth-child(2){
                padding-left: 26px;
                position: relative;
                @media (max-width: 992px) {
                  padding-left: 13px;
                }
                @media (max-width: 425px) {
                  padding-left: 0;
                }
                &:before{
                  content: '';
                  width: 1px;
                  height: 20px;
                  background: #E5E5E5;
                  position: absolute;
                  left: 0;
                  top: 0;
                  @media (max-width: 425px) {
                    display: none;
                  }
                }
              }
            }
          }
          .total{
            padding-bottom: 10px;
            @media (max-width: 576px) {
              width: 100%;

              text-align: right;

              order: -1;
            }
            span:first-child{
              padding-right: 22px;
              @media (max-width: 992px) {
                padding-right: 15px;
              }
            }
            span:last-child{
              font-size: 18px;
              @media (max-width: 992px) {
                font-size: 16px;
              }
            }
          }
        }
        .bottom{
          display: flex;
          align-items: center;
          margin-bottom: -10px;
          justify-content: space-between;
          @media (max-width: 768px) {
            flex-wrap: wrap;
          }
          > p{
            padding-right: 20px;
            padding-bottom: 10px;
            @media (max-width: 768px) {
              padding-right: 0;
            }
          }
          .button{
            display: flex;
            padding-bottom: 10px;
            margin-right: -10px;
            @media (max-width: 768px) {
              width: 100%;
            }
            @media (max-width: 375px) {
              flex-wrap: wrap;

              margin-bottom: -10px;
            }
            p{
              padding-right: 10px;
              &:first-child{
                button, a{
                  background: #F26522;
                  color: #FFF;
                }
              }
              &:last-child{
                button, a{
                  background: none;
                  color: #F26522;
                }
              }
              @media (max-width: 375px) {
                padding-bottom: 10px;
              }
            }
            button, a{
              min-width: 154px;
              padding: 7px 10px;
              border: 1px solid #F26522;
              border-radius: 5px;
              text-align: center;
              font-weight: 500;
              color: #F26522;
              background: none;
              @media (max-width: 768px) {
                min-width: 140px;
              }
              &:hover{
                opacity: .8;
              }
            }
          }
        }
      }
    }
  }
}

.order_detail{
  .order_process{
    .top{
      border-bottom: 1px solid #E5E5E5;
      padding-bottom: 10px;
      margin-bottom: 27px;
      .back{
        font-size: 18px;
        padding-bottom: 5px;
        padding-right: 10px;
        @media (max-width: 992px) {
          font-size: 16px;
        }
        @media (max-width: 425px) {
          width: 100%;
        }
        a{
          text-transform: uppercase;
          color: #707070;
          &:hover{
            color: #F26522;
          }
          i{
            margin-right: 20px;
            @media (max-width: 992px) {
              margin-right: 6px;
            }
          }
        }
      }
      .status{
        display: flex;
        flex-wrap: wrap;
        p{
          &:first-child{
            padding-right: 20px;
            padding-bottom: 5px;
            margin-right: 20px;
            position: relative;
            @media (max-width: 992px) {
              padding-right: 15px;

              margin-right: 14px;
            }
            &:after{
              content: '';
              width: 1px;
              height: 20px;
              background: #E5E5E5;
              position: absolute;
              right: 0;
              top: 1px;
            }
          }
          &:last-child{
            color: #F26522;
            text-transform: uppercase;
          }
        }
      }
    }
    .process{
      border-bottom: 1px solid #E5E5E5;
      padding-bottom: 20px;
      margin-bottom: 20px;
      @media (max-width: 576px) {
        overflow-x: auto;

        &::-webkit-scrollbar, &::-webkit-scrollbar-thumb{
          display: none;
        }
      }
      ul{
        display: flex;
        @media (max-width: 576px) {
          width: -moz-max-content;
          width: max-content;
        }
        li{
          flex: 1 1;
          text-align: center;
          position: relative;
          @media (max-width: 576px) {
            max-width: 150px;
          }
          &:not(:last-child){
            padding-right: 34px;
            @media (max-width: 992px) {
              padding-right: 20px;
            }
            &:after{
              content: '';
              width: 100%;
              height: 3px;
              background: #E4E4E4;
              position: absolute;
              left: 50%;
              top: 30px;
              transform: translateY(-50%);
            }
          }
          &.passed{
            &:after{
              background: #2DC258;
            }
            .picture{
              border-color: #2DC258;
              .img img{
                filter: invert(63%) sepia(84%) saturate(432%) hue-rotate(83deg) brightness(86%) contrast(85%);
              }
            }
          }
          &.current{
            .picture{
              background: #2DC258;
              border-color: #2DC258;
              .img img{
                filter: invert(98%) sepia(1%) saturate(56%) hue-rotate(181deg) brightness(114%) contrast(100%);
              }
            }
          }
          .picture{
            width: 60px;
            border: 3px solid #E4E4E4;
            border-radius: 50%;
            margin: auto;
            background: #FFF;
            position: relative;
            z-index: 1;
            .img{
              width: 100%;
              padding-top: 100%;
              position: relative;
              img{
                position: absolute;
                left: 50%;
                top: 50%;
                transform: translate(-50%, -50%);
                padding: 10px;
                filter: invert(99%) sepia(10%) saturate(42%) hue-rotate(313deg) brightness(110%) contrast(79%);
              }
            }
          }
          .info{
            padding-top: 13px;
            .title{
              color: #313131;
              font-weight: 500;
              line-height: 19px;
            }
            p{
              font-size: 14px;
              color: #ACACAC;
              padding-top: 7px;
            }
          }
        }
      }
    }
    .bottom{
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: -10px;
      @media (max-width: 768px) {
        flex-wrap: wrap;
      }
      > p{
        padding-right: 20px;
        padding-bottom: 10px;
        @media (max-width: 768px) {
          padding-right: 0;
        }
      }
      .button{
        display: flex;
        padding-bottom: 10px;
        margin-right: -10px;
        @media (max-width: 768px) {
          width: 100%;
        }
        @media (max-width: 375px) {
          flex-wrap: wrap;

          margin-bottom: -10px;
        }
        p{
          padding-right: 10px;
          &:first-child{
            button, a{
              background: #F26522;
              color: #FFF;
            }
          }
          &:last-child{
            button, a{
              background: none;
              color: #F26522;
            }
          }
          @media (max-width: 375px) {
            padding-bottom: 10px;
          }
        }
        button, a{
          min-width: 154px;
          padding: 7px 10px;
          border: 1px solid #F26522;
          border-radius: 5px;
          text-align: center;
          font-weight: 500;
          color: #F26522;
          background: none;
          @media (max-width: 768px) {
            min-width: 140px;
          }
          &:hover{
            opacity: .8;
          }
        }
      }
    }
  }
  .receive_info{
    color: #343434;
    .block_title{
      color: #F26522;
      font-weight: 600;
      text-transform: uppercase;
      padding-bottom: 17px;
      @media (max-width: 992px) {
        padding-bottom: 15px;
      }
    }
    p{
      &:not(:last-child){
        margin-bottom: 11px;
      }
      &.note{
        background: #F5F7FB;
        border-radius: 5px;
        padding: 10px 12px;
        font-size: 14px;
        color: #9E9E9E;
        min-height: 80px;
        margin-top: 6px;
      }
    }
  }
  .list_product{
    border-bottom: 1px solid #E5E5E5;
    .item{
      display: flex;
      flex-wrap: wrap;
      padding-bottom: 10px;
      &:last-child{
        padding-bottom: 5px;
      }
      .picture{
        width: 126px;
        text-align: center;
        @media (max-width: 576px) {
          width: 80px;
        }
      }
      .info{
        width: calc(100% - 126px);
        padding-left: 20px;
        font-weight: 500;
        color: #303036;
        @media (max-width: 576px) {
          width: calc(100% - 80px);

          padding-left: 12px;
        }
        .title{
          padding-bottom: 10px;
          @media (max-width: 576px) {
            padding-bottom: 6px;
          }
        }
        .quantity_price{
          display: flex;
          flex-wrap: wrap;
          justify-content: space-between;
          p:first-child{
            padding-right: 10px;
          }
        }
      }
    }
  }
  .calculate{
    margin-bottom: -17px;
    p{
      display: flex;
      flex-wrap: wrap;
      text-align: right;
      position: relative;
      &:after{
        content: '';
        width: calc(100% + 40px);
        height: 1px;
        background: #F5F7FB;
        position: absolute;
        left: 50%;
        bottom: 0;
        transform: translateX(-50%);
      }
      span{
        display: inline-flex;
        line-height: 20px;
        min-height: 50px;
        align-items: center;
        justify-content: right;
        padding-top: 10px;
        padding-bottom: 10px;
        @media (max-width: 992px) {
          min-height: 40px;
        }
        &:first-child{
          width: calc(100% - 175px);
          padding-right: 23px;
          @media (max-width: 992px) {
            padding-right: 15px;

            width: calc(100% - 120px);
          }
        }
        &:last-child{
          width: 175px;
          border-left: 1px solid #F5F7FB;
          padding-left: 10px;
          @media (max-width: 992px) {
            width: 120px;
          }
        }
        &.total_payment{
          font-size: 18px;
          @media (max-width: 992px) {
            font-size: 16px;
          }
        }
      }
    }
  }
}