/*====================================
=            BREAK POINTS            =
====================================*/
@wide-screen-down: ~'(min-width: 1200px)';
@desktop-down: ~'(min-width: 992px) and (max-width: 1200px)';
@tablet-down: ~'(min-width: 768px) and (max-width: 992px)';
@phone-down: ~'(min-width: 576px) and (max-width: 768px)';
@small-phone-down: ~'(max-width: 576px)';
#drawerEl_location {
  .hy-drawer-content.hy-drawer-right.hy-drawer-opened {
    top: 50px;
    width: 500px;
  }
}

#drawerElEditOrder_location {
  .hy-drawer-content.hy-drawer-right.hy-drawer-opened {
    top: 50px;
    width: 550px;
  }
  .location-tab {
    li a {
      padding: 15px 15px;
    }
  }
}

.el-input input {
  width: 241px !important;
  padding-bottom: 30px;
}

#drawerEl_location .hy-drawer-content.hy-drawer-right.hy-drawer-opened {
  top: 50px;
  width: 500px;
}

#drawerElEditOrder_location .hy-drawer-content.hy-drawer-right.hy-drawer-opened {
  top: 50px;
  width: 550px;
}

#drawerEl_woo-booking {
  .hy-drawer-content.hy-drawer-right.hy-drawer-opened {
    top: 50px;
    width: 550px;
  }
}

.view-list-location {
  .toolbar {
    border-bottom: 1px solid #d5d5d5;
    margin-bottom: 30px;
    .btn-add-new, .btn-delete {
      span {
        display: inline-block;
        margin-left: 8px;
      }
    }
    h3 {
      color: #b11111;
      font-family: inherit;
      font-weight: 600;
      margin-top: 1px;
      margin-bottom: 24px;
    }
    .pull-right {
      margin-top: 0px;
      button {
        i {
          font-size: 14px;
          padding-bottom: 2px;
        }
      }
    }
  }
  .wrapper-location-item {
    display: flex;
    margin-bottom: 10px;
    border: 1px solid #d5d5d5;
    border-radius: 4px;
    cursor: pointer;
    .wrapper-location-content {
      width: 100%;
      padding: 10px;
      display: flex;
      flex-flow: column wrap;
      position: relative;
      .delete-location {
        position: absolute;
        top: 10px;
        left: 10px;
        opacity: 0;
        cursor: pointer;
        height: 0;
        width: 0;
        display: none;
        &:checked {
          & ~ .checkmark {
            background-color: #2196F3;
            &::after {
              display: block;
            }
          }
        }
      }
      .checkmark {
        position: absolute;
        top: 10px;
        left: 10px;
        cursor: pointer;
        height: 20px;
        width: 20px;
        border: 1px solid darkgrey;
        z-index: 1;
        &::after {
          content: "";
          position: absolute;
          display: none;
          left: 6px;
          top: 1px;
          width: 6px;
          height: 16px;
          border: solid white;
          border-width: 0 3px 3px 0;
          -webkit-transform: rotate(45deg);
          -ms-transform: rotate(45deg);
          transform: rotate(45deg);
        }
      }
    }
  }
  .location-item-image {
    width: 100%;
    img {
      width: 100%;
      height: 215px;
    }
  }
  .location-item-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    .name {
      font-weight: bold;
    }
    .location-item-avatar {
      @media @desktop-down {
        width: 50px;
        height: 50px;
      }
      width: 55px;
      float: left;
      height: 55px;
      border-radius: 50%;
      background-color: #ff89f6;
      margin-right: 10px;
      display: flex;
      justify-content: center;
      align-items: center;
      overflow: hidden;
      margin-left: 16px;
      span {
        font-size: 20px;
        color: #FFFFFF;
      }
      .img-location {
        width: 100%;
        height: 100%;
        &.hide-element {
          display: none;
        }
      }
    }
    .location-item-content-right {
      width: 50%;
      h3 {
        font-size: 16px;
        margin-bottom: 10px;
      }
      p {
        font-size: 14px;
        color: #414141;
        span {
          &:nth-child(1) {
            margin-right: 10px;
            display: block;
            width: 20px;
            height: 20px;
            float: left;
            img {
              width: 100%;
            }
          }
          &:nth-child(2) {
            display: -webkit-box;
            -webkit-line-clamp: 1;
            -webkit-box-orient: vertical;
            height: 18px;
            overflow: hidden;
            text-overflow: ellipsis;
          }
        }
      }
    }
    .btn-location-edit{
      i{
        font-size: 16px;
      }
    }
  }
}
