/**
 * Buttons and icons
 */

 /* primary button */
button,
label.as-button,
label.custom-upload-button {
  font-family: "Open Sans Bold";
  background-color: var(--highlight-color-button);
  border: 1px solid var(--highlight-color-button);
  color: white;
  cursor: pointer;
  font-size: 16px;
  outline: 0;
  padding: 5px 15px;
}

/* secondary button */
button.inverse,
button.secondary,
label.as-button {
  background-color: transparent;
  border: 1px solid var(--highlight-color-button);
  color: var(--highlight-color-primary);
}

/* menu button */
button.menu {
  background-color: var(--highlight-color-primary);
}

button.transparent {
  background-color: transparent;
}

/* disabled button */
button.disabled,
button:disabled,
button[disabled] {
  background-color: white;
  border: 1px solid var(--color-disabled);
  color: var(--color-disabled);
  cursor: auto;
}
button.dropdown-item:disabled {
  color: var(--color-disabled);
}


/* dropdown buttons */
button.dropdown {
  font-size: 13px;
}
button.dropdown-item {
  background-color: white;
  color: var(--highligh-color-button);
  border: 0;
  font-size: 13px;
  font-family: "Open Sans";
  padding: 5px 15px;
  width: 100%;
  text-align: left;
}
ul.dropdown-menu {
  box-shadow: 0 6px 12px rgb(0 0 0 / 18%);
  background-clip: padding-box;
  list-style-type: none;
  padding-inline-start: 0;
  min-width: 100%;  
}
ul.dropdown-menu li.divider {
  height: 1px;
  margin: 9px 0;
  overflow: hidden;
  background-color: #e5e5e5;
}
ul.dropdown-menu li:last-of-type {
  padding-bottom: 5px;
}
ul.dropdown-menu button.dropdown-item:hover {
  background-color: var(--highlight-color-secondary);
}
ul.dropdown-menu button.dropdown-item i.fa {
  width: 14px;
}
ul.dropdown-menu button.dropdown-item.disabled {
  color: lightgray;
}


/* other */
button.small {
  padding: 0;
}
button.thin {
  padding: 0px 10px;
   border-radius: 2px;
}
button.small i {
  padding: 2px 5px;
}
button.no-border {
  border: 0;
}
i.fa.button {
  align-self: center;
  border: 1px solid #ddd;
  border-bottom-color: #bbb;
  border-radius: 3px;
  border-right-color: #bbb;
  color: slategray;
  cursor: pointer;
  display: inline-block;
  padding: 2px 10px;
}

/* disabled button */
button.register-button.disabled {
  background-color: lightgray;
}

/* link button */
button.link {
  border: 0;
  padding: 1px;
  color: #007896;
  background-color: transparent;
}

/* navigation button */
button.nav {
  border-color: white;
  border-style: solid;
  border-width: 1px;
  color: white;
}

button.responsive-button {
  display: inline-flex;
  align-items: center;
}
/* font awesome icons */
i.fa.fa-spin { color: black; }
i.fa.fa-check { color: green; }
i.fa.fa-times { color: red; cursor: initial; }



/**
 * Tooltip
 */
.tooltip {
  position: relative;
  display: inline-block;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 130px;
  background-color: #555;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -60px;
  opacity: 0;
  transition: opacity 0.3s;
}

.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 47%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}