/**
 * 10. Helper
 */
.wdpop_core-subtitle-text{
  margin-top: 6px;
  font-weight: 400;
  color: #999;
}

.wdpop_core-desc-text{
  clear: both;
  float: left;
  width: 100%;
  margin-top: 6px;
  font-weight: 400;
  color: #999;
}

.wdpop_core-error-text{
  margin-top: 6px;
  color: #d02c21;
}

.wdpop_core-before-text{
  margin-bottom: 6px;
}

.wdpop_core-after-text{
  margin-top: 6px;
}

.wdpop_core-metabox-hide{
  display: none !important;
}

.wdpop_core-metabox-show{
  display: block !important;
}

.wdpop_core-depend-hidden.wdpop_core-depend-on{
  display: none;
}

.wdpop_core-depend-visible.wdpop_core-depend-on{
  display: block;
  opacity: 0.75;
  filter: grayscale(1);
  user-select: none;
  border-top: 1px solid #eee;

  .clear:before{
    content: "";
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    position: absolute;
    background-color: #eee;
    opacity: 0.25;
    z-index: 10;
  }
}

.wdpop_core-warning-primary{
  color: #fff !important;
  border-color: #dc3545 !important;
  background: #dc3545 !important;

  &:hover,
  &:focus{
    border-color: #bd2130 !important;
    background: #bd2130 !important;
  }

  &:focus{
    box-shadow: 0 0 0 1px #fff, 0 0 0 3px #bd2130 !important;
  }

  &:active{
    border-color: #bd2130 !important;
    background: #bd2130 !important;
  }
}

.wdpop_core-form-result{
  display: none;
  float: left;
  padding: 0 8px;
  margin-right: 4px;
  font-size: 11px;
  line-height: 30px;
  user-select: none;
  border-radius: 2px;
}

.wdpop_core-form-show{
  display: block;
}

.wdpop_core-form-success{
  color: #fff;
  background-color: #46b450;
}

.wdpop_core-form-warning{
  color: #8a6d3b;
  background-color: #faebcc;
}

.wdpop_core-label-error{
  position: relative;
  top: -2px;
  display: inline-block;
  font-size: 10px;
  line-height: 10px;
  height: 10px;
  width: 10px;
  padding: 1px;
  font-style: normal;
  text-align: center;
  color: #fff;
  vertical-align: middle;
  background-color: #e10000;
  border-radius: 2px;
}

.wdpop_core-no-option{
  padding: 30px;
}

.wdpop_core-input-number{
  -moz-appearance:textfield;
}

.wdpop_core-input-number::-webkit-inner-spin-button,
.wdpop_core-input-number::-webkit-outer-spin-button{
  -webkit-appearance: none;
  margin: 0;
}

.wdpop_core-fa5-shims{

  .wdpop_core{

    .fas,
    .far,
    .fab{
      font-family: "FontAwesome";
      font-style: normal;
    }
  }
}
