/*****************************************************************************************************
* Interaction Module: General CSS
******************************************************************************************************/

/*
Defaults
---------------------------------------------------------------------------------------------------- */

.bubijs-event-target:not(body) {
  cursor: pointer;
}


/*
Backend
---------------------------------------------------------------------------------------------------- */

/* ACF Description Toggle (Help Text)
--------------------------------------------- */

/* Description Tooltip */

.acf-label label {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.acf-field:not(.acf-field-accordion) .acf-label label {
  display: inline-block !important;
  overflow: hidden;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  white-space: nowrap;
}

.bub-helptext-indicator {
  cursor: pointer;
}

.bub-helptext-indicator::before {
  color: #888;
  /*content: "\f348";*/
  content: "\f101";
  display: inline-block;
  font: normal 1.1em 'dashicons';
  -webkit-font-smoothing: antialiased;
  vertical-align: text-bottom;
  padding: 0 0 0 5px;
}

.wp-admin:not(.post-type-acf-field-group) .acf-field .description,
.wp-admin:not(.post-type-acf-field-group) .acf-field-message:not(.show-message) .acf-input {
  display: none !important;
}

.wp-admin:not(.post-type-acf-field-group) .acf-label.show .description,
.wp-admin:not(.post-type-acf-field-group) .acf-field-message .acf-label.show + .acf-input {
  display: block !important;
}


/*
Frontend
---------------------------------------------------------------------------------------------------- */

/* Click to Copy */

.bub-click-to-copy {
  background: none;
  color: inherit;
  font-size: inherit;
  text-decoration: underline;
  margin: 0;
  padding: 0;
}

.bub-click-to-copy[class$="-notice"] {
  background: #fff;
  font-weight: bold;
  padding: 0.1em 0.2em;
}

.bub-click-to-copy.success-notice {
  color: #4D854C;
}

.bub-click-to-copy.error-notice {
  color: #B64545;
}

