
.modal-dialog button:hover,
.modal-dialog button:active,
.modal-dialog button:focus {
  box-shadow: none;
}

.dialog-header {
  background: linear-gradient(288deg, rgb(76, 76, 76), rgb(102, 102, 102));
  padding: 1rem 1.5rem 1rem 1.5rem;
}
.dialog-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: #f7f5e7;
}
.dialog-brand-name {
  position: relative;
  top: 1px;
}
.dialog-title {
  margin-left: auto;
  font-size: 1.25rem;
  font-weight: 700;
  color: #f7f5e7;
}

.dialog-subtitle {
  font-size: 1.25rem;
  font-weight: 700;
}

.dialog-body {
  padding: 1rem 1.5rem 2.5rem 1.5rem;
}
.dialog-body .validate-tips {
  min-height: 34px;
}

.dialog-footer {
  background-color: var(--bs-secondary-bg);
  border-top: 1px solid var(--bs-secondary-bg);
  padding: 1rem 1.5rem 1rem 1.5rem;
}

.form-label {
  font-weight: 700;
}


.dialog-tooltip {
  position: absolute;
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .15s ease, transform .15s ease;
}

.dialog-tooltip.show {
  display: flex;
  opacity: 0.9;
  visibility: visible;
  transform: translateY(0);
}

/* тело tooltip */
.dialog-tooltip-content {
  background: var(--bs-dialog-tooltip-bg);
  color: var(--bs-kxlab-link-color);
  padding: .5rem .75rem;
  border-radius: 4px;
  font-size: .875rem; /* 14px */
  text-align: left;
  width: 100%;
  box-sizing: border-box;
  margin: 0 1.5rem 0 1.5rem;
}

/* стрелка вниз */
.dialog-tooltip-arrow {
  width: 0;
  height: 0;
  position: absolute;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid var(--bs-dialog-tooltip-bg);
}


.modal-backdrop.show {
  opacity: 0.8;
}

.login-again-message,
.check-email-message {
  border: none;
}

.login-again-message .modal-content,
.check-email-message .modal-content {
  background: none;
  border: none;
  color: #f7f5e7;
}

.login-again-message .modal-body,
.check-email-message .modal-body {
  font-size: 3rem;
  font-weight: 700;
}

.login-again-message .message-title,
.check-email-message .message-title {
  font-size: 1.5rem;
  text-align: center;
}

.login-again-message .modal-body p,
.check-email-message .modal-body p {
  font-size: 1rem;
  line-height: 1.5;
  text-align: left;
}

.login-again-message .dialog-footer,
.check-email-message .dialog-footer {
  background: none;
  border: none;
}



/***************************************************************
  Donate Dialog:
 */
button.yoo-money {
  background-color: #8b3ffd !important;
  border-color: #8b3ffd;
  overflow-x: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
}
button.yoo-money:hover {
  background-color: #7436ce !important;
  border-color: #7436ce;
}

button.paypal-money {
  background-color: #253B80 !important;
  border-color: #253B80;
  overflow-x: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
}
button.paypal-money:hover {
  background-color: #22326a !important;
  border-color: #22326a;
}

.or {
  position: relative;
  top: .3rem;
  width: 0px;
  height: 1rem;
  z-index: 300;
  font-size: 1rem;
}
.or::before {
  position: absolute;
  text-align: center;
  border-radius: 1rem;
  content: 'or';
  top: 50%;
  left: 50%;
  color: var(--bs-kxlab-link-color);
  background-color: var(--bs-body-bg);
  text-shadow: none;
  margin-top: -0.4rem;
  margin-left: -0.75rem;
  width: 1.5rem;
  height: 1.5rem;
  line-height: 1.5;
  font-style: normal;
  font-weight: bold;
  box-shadow: 0px 0px 0px 1px transparent inset;
}


.amount-icon {
  position: absolute;
  top: 50%;
  right: .5rem;
  font-size: 1.25rem;
  pointer-events: none;
  transform: translateY(-50%);
  color: var(--bs-kxlab-link-color);
}

.validate-tips {
  color: var(--bs-kxlab-link-color);
  font-family: 'Fira Sans Condensed';
  /* Height is Always Two Lines: */
  line-height: 1.5;
  height: calc(1.5em * 2);
  overflow: hidden;
}

/* для скрытых кнопок: */
.visually-hidden-focusable {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

