.h-100 {
  height: 100% !important;
}

.w-100 {
  width: 100% !important;
}

.w-90 {
  width: 90% !important;
}

.w-80 {
  width: 80% !important;
}

.w-70 {
  width: 70% !important;
}

.w-60 {
  width: 60% !important;
}

.w-50 {
  width: 50% !important;
}

.w-40 {
  width: 40% !important;
}

.w-30 {
  width: 30% !important;
}

.w-20 {
  width: 20% !important;
}

.w-15 {
  width: 15% !important;
}

.max-w-100 {
  max-width: 100% !important;
}

.custom-fullscreen-loading {
  background-color: unset !important;
  .circular {
    height: 80px !important;
    width: 80px !important;
  }
  p {
    font-size: 1rem !important;
  }
}

.hidden {
  display: none;
}

.hide {
  opacity: 0;
}

.radio-label-hidden {
  .el-radio__label {
    display: none;
  }
}

.el-message-box {
  width: 80% !important;
  max-width: 420px;
}

.el-message-box__message {
  word-break: break-word;
}

hr {
  height: 1px;
  background-color: #ccc;
  border: none;
}

.no-padding {
  padding: 0px !important;
}

.el-form-item__error {
  position: relative;
  margin-bottom: 0px !important;
}

.el-row {
  margin: 0px -10px;
  > .el-col {
    padding: 0px 10px;
  }
  .el-card {
    margin: 0px 10px;
  }
}

.el-form-item {
  margin-bottom: 18px !important;

  &.is-error {
    word-wrap: break-word;
    word-break: initial;
    text-align: left;
    margin-bottom: 2px !important;

    .el-input__inner,
    .el-input-group__append {
      border-color: #ff4949 !important;
    }

    .dams-file-input {
      .el-input__inner,
      .el-input-group__append {
        border-color: #dcdfe6 !important;
      }
    }

    .el-row ~ .el-form-item__error {
      padding: 4px 10px;
    }

    .is-disabled {
      input {
        border-color: #ff4949 !important;
      }
    }
  }
}

.el-form-item__label {
  width: 100%;
  text-align: left !important;
}

.el-form--label-top .el-form-item__label {
  padding: 0px !important;
}

.el-input__inner:focus ~ .el-input-group__append {
  border-color: #1890ff;
}

.select-right {
  float: right;
  color: #8492a6;
  font-size: 13px;
}

.float-left {
  float: left;
}

.float-right {
  float: right;
}

.clear {
  clear: both;
}

.tox-statusbar__branding {
  display: none;
}

.d-none {
  display: none;
}

.inline {
  display: flex;
}

table {
  thead {
    .cell {
      // white-space: pre !important;
    }
  }
}

.cursor {
  cursor: pointer !important;
}

.el-input-group__append,
.el-input-group__prepend {
  background-color: #f5f7fa !important;
}

.el-input-group__prepend {
  padding: 0px 10px;
}

.el-tag-rounded {
  border-radius: 1rem;
  letter-spacing: 0.6px;
  padding: 0px 20px;
  vertical-align: middle;
  text-align: center;
  display: inline-block;
}

.el-tag.el-tag--info,
.el-tag.el-tag--info .el-tag__close {
  background-color: #e7ebff;
  border-color: #e7ebff;
  color: #5b5b5b;
}

.el-tag.el-tag--info .el-tag__close:hover {
  background-color: #c0cbfd;
}

.tag-disable {
  .el-tag.el-tag--info {
    background-color: #c4c4c4;
  }
}

.el-tag.el-tag--blue,
.el-tag.el-tag--blue .el-tag__close {
  background-color: #ecf5ff;
  border-color: #d9ecff;
  color: #409eff;
}

.el-textarea.is-disabled .el-textarea__inner {
  color: #333333 !important;
}

.el-input.is-disabled .el-input__inner {
  background-color: #f2f2f2 !important;
  border-color: #bfbfbf !important;
  color: #333333 !important;
}

.el-select-dropdown__item.placeholder {
  color: #bfbfbf !important;
  font-weight: normal !important;
}

.input-title-checkox {
  position: absolute;
  right: 0%;
  top: 18%;
}

.badge {
  padding: 6px 20px;
  border-radius: 20px;
  opacity: 0.8;
  display: inline-table;
  text-align: center;
  line-height: 1rem;
  word-break: initial;
}

.version {
  position: fixed;
  font-size: 0.75rem;
  bottom: 0.5%;
  opacity: 0.5;

  &.login {
    right: 0.5%;
  }

  &.sidebar {
    color: white;
    left: 0.5%;
  }
}

.hashtag {
  .el-select__tags {
    span.el-tag {
      white-space: break-spaces;
      word-break: break-all;
      line-height: 1rem;
      height: fit-content;
      padding: 5px 10px;

      .el-tag__close {
        padding-top: 1px;
      }
    }
  }
}

.el-dropdown-menu--medium {
  .el-avatar {
    background: #d4eaff !important;
    color: #1094ff !important;
  }
  .el-dropdown-menu__item.is-disabled {
    color: #5a5e66 !important;
  }
}

.expand-label {
  position: absolute;
  right: 0%;
  // top: 0%;
  margin-top: 6px;
  margin-right: 55px;

  span {
    text-decoration: underline;
  }
}

.nocursor {
  cursor: unset !important;
}

.overflowx {
  overflow-x: scroll;
}

.overflowy {
  overflow-y: scroll;
}

.overflowauto {
  overflow: auto;
}

.el-upload {
  width: 100%;
  .el-upload-dragger {
    width: 100%;
  }
}

.signature {
  border: 1px solid #c4c4c4;

  canvas {
    border-bottom: 1px solid #5b5b5b;
    height: 85% !important;
  }
}

.sign-clear {
  color: #5b5b5b;
  right: 5%;
  :hover {
    color: #5b5b5b;
  }
}

.sign-bg {
  background-color: #f2f2f2;
}

.auto.el-col.el-col-24 {
  width: auto !important;
  padding: 0px !important;
}

.large {
  font-size: 1.1em !important;
}

.title {
  font-size: 90%;
  font-weight: 700;
  margin-bottom: 6px;
}

.sub-label .el-form-item__label {
  line-height: 18px !important;
}

@media only screen and (max-width: 1024px) {
  .el-submenu__icon-arrow {
    right: 15px;
  }

  .el-dialog {
    width: 80% !important;
  }
}

@media only screen and (max-width: 600px) {
  .el-form-item__content {
    display: initial !important;
  }

  // .el-form-item {
  //   overflow-x: auto;
  // }
}

@media only screen and (max-width: 700px) {
  .el-picker-panel {
    top: -12px !important;
  }
}

@media (orientation: portrait) {
  .box-card.last {
    margin-bottom: 100px;
  }
}

@media only screen and (max-width: 767px) and (orientation: portrait) {
  .sticky-header.bottom ~ .form-container {
    margin-bottom: 100px !important;

    &.rr {
      margin-bottom: 120px !important;
    }
  }
}

@media only screen and (max-width: 736px) and (orientation: landscape) {
  .sticky-header.bottom ~ .form-container {
    margin-bottom: 120px !important;
  }
}

.p-relative {
  position: relative;
}

.p-absolute {
  position: absolute;
}

.p-absolute-middle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.center {
  margin: 0 auto;
}

.dams-dialog {
  // .el-dialog__body {
  //   max-height: 600px;
  //   overflow: auto;
  // }
  line-height: normal !important;
  overflow-y: hidden;

  .el-dialog {
    margin-top: 0vh !important;
  }
}

.show-pwd {
  position: absolute;
  right: 10px;
  top: 36px;
  font-size: 16px;
  color: $darkGray;
  cursor: pointer;
  user-select: none;
  line-height: 36px;
}

.grecaptcha-badge {
  display: none;
}

.card-right-action {
  float: right;
  padding: 3px 0;
  cursor: pointer;
  margin-top: -4px;
}

.w-break {
  word-break: break-word;
}

.el-cascader-node__label {
  max-width: 250px;
}

.tinymce-top {
  .editor-custom-btn-container {
    top: 43px !important;
  }
}

.refund-message-box {
  max-width: 500px !important;
}

.four-lines {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 4; /* number of lines to show */
  -webkit-box-orient: vertical;
}

@media only screen and (min-width: 1200px) {
  .search-member-col {
    margin-top: 35px;
  }
}
