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

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

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

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

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

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

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

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

.cgps-depend-visible.cgps-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;
  }
}

.cgps-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;
  }
}

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

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

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

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

.cgps-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;
}

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

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

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

.cgps-fa5-shims{

  .cgps{

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