/* Placeholder for OEM branding */
* {

  --primary-1-color: #2b4c9a;
  --primary-2-color: #3f93cd;
  --error-color: #f13c06;
  --running-color: #00b6e3;
  --success-color: #81e300;
  --warning-color: #ff9a02;

  --disabled-color: #9bbbd9;

  --anim-size: 15px
}

body .container .body a[disabled="disabled"] {
  color: var(--disabled-color);
  cursor: not-allowed;
}

body .container .header a {
  color: var(--primary-2-color);
}

/* h1, h2 {
  color: var(--primary-2-color)
} */
div.buttons,
form.styled div.buttons {
  float: none;
  width: 635px;
  padding-top: 30px;
}

div.connection-lost div.content.buttons,
div.modal-dialog div.content.buttons {
  width: initial;
  float: initial;
  padding-top: initial;
}


.info-bubble {
  position: relative;
}

.info-bubble .info-bubble-message {
  background-color: var(--running-color);
  color: #FFF;
  position: absolute;
  left: 100%;
  top: -3px;
  width: max-content;
  margin-left: 10px;
  padding: 5px 10px;
  border-radius: 5px;
  pointer-events: none;
  opacity: 0;
}

.info-bubble .info-bubble-message::before {
  content: ' ';
  background-color: var(--running-color);
  position: absolute;
  left: -5px;
  top: 8px;
  height: 10px;
  width: 10px;
  transform: rotate(45deg);
}

.info-bubble:hover .info-bubble-message {
  opacity: 1;
}

.info-bubble .info-bubble-icon {
  background-color: var(--running-color);
  border-radius: 50%;
  color: #FFF;
  display: inline-block;
  font-size: 10px;
  line-height: 15px;
  height: 15px;
  text-align: center;
  width: 15px;
}


.logo img.mainlogo {
  max-height: 45px;
  width: auto;
}

.backup-status {
  border: 1px solid;
  border-radius: 20px;
  content: ' ';
  display: inline-flex;
  height: 15px;
  width: 15px;
}

.backup-status .lds-ripple div {

  --anim-size: 15px
}

.backup-status-failed {
  background-color: var(--error-color);
}

.backup-status-none {
  background-color: #EEE;
}

.backup-status-paused {
  background-color: #999;
}

.backup-status-running {
  background-color: var(--running-color);
  /* background: linear-gradient(-90deg, var(--running-color), #9bd5e4, var(--running-color));
	background-size: 500% 500%;
	animation: gradient 2s ease infinite; */
}

.backup-status-success {
  background-color: var(--success-color);
}

.backup-status-unknown {
  background-color: var(--warning-color);
}


.filepicker {
  height: auto;
}

body .container .body .content div.add .steps .step[disabled="disabled"],
body .container .body .content div.add .steps-legend li[disabled="disabled"],
body .container .body .content div.restore .steps .step[disabled="disabled"],
body .container .body .content div.restore .steps-legend li[disabled="disabled"] {
  pointer-events: none;
}

/* body .container .body .content div.add .steps .step[disabled="disabled"] span,
body .container .body .content div.restore .steps .step[disabled="disabled"] span {
    background-color: var(--disabled-color);
    border-color: var(--disabled-color);
    color: #fff;
} */

form.styled .buttons input[disabled="disabled"],
form.styled .buttons a[disabled="disabled"] {
  background-color: var(--disabled-color);
  cursor: not-allowed;
}


body .container .footer {
  min-height: auto;
  line-height: 30px;
  display: flex;
}

body .container .footer .filler {
  flex: 1;
}

body .container .footer version {
  margin-right: 30px;
}



.alert-config-row {
  border-bottom: 1px solid var(--primary-1-color);
  display: flex;
  margin-bottom: 50px;
  padding-bottom: 50px;
}


.alert-config-row .input.text {
  padding-bottom: 5px;
}

.alert-config-row .select-notification-levels {
  display: flex;
}

.alert-config-row .select-notification-levels input[type="checkbox"] {
  position: absolute;
  left: -99999px;
}

.alert-config-row .select-notification-levels label {
  cursor: pointer;
  width: auto;
  margin-right: 5px;
}

.alert-config-row label.error {
  float: none;
  width: 100%;
  color: var(--error-color);
}

.alert-config-row .select-notification-levels label.checkbox-level {
  --checkbox-level-background-color: var(--primary-1-color);
  --checkbox-level-border-color: var(--checkbox-level-background-color);
  --checkbox-level-text-color: #fff;

}

.alert-config-row .select-notification-levels label.checkbox-level span {

  background-color: var(--checkbox-level-background-color);
  border-radius: 15px;
  border: 2px solid;
  border-color: var(--checkbox-level-border-color);
  color: var(--checkbox-level-text-color);
  opacity: 1;
  padding: 2px 10px;
}

.alert-config-row .select-notification-levels label.checkbox-level input:not(:checked)+span {
  --checkbox-level-background-color: var(--disabled-color);
  --checkbox-level-text-color: #000;
  opacity: 0.5;
}

.alert-config-row .select-notification-levels label.checkbox-level.checkbox-Success-level {
  --checkbox-level-background-color: var(--success-color);
}

.alert-config-row .select-notification-levels label.checkbox-level.checkbox-Warning-level {
  --checkbox-level-background-color: var(--warning-color);
}

.alert-config-row .select-notification-levels label.checkbox-level.checkbox-Error-level {
  --checkbox-level-background-color: var(--error-color);
}

.alert-config-row .select-notification-levels label.checkbox-level.checkbox-Fatal-level {
  --checkbox-level-background-color: var(--error-color);
}

.alert-config-row .select-notification-levels li {
  display: flex;
}



/***   ANIMATION   ***/


.lds-ring {
  display: inline-flex;
  position: relative;
  width: 15px;
  height: 15px;
}

.lds-ring div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 11px;
  height: 11px;
  margin: 2px;
  border: 3px solid #fff;
  border-radius: 50%;
  animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: #fff transparent transparent transparent;
}

.lds-ring div:nth-child(1) {
  animation-delay: -0.45s;
}

.lds-ring div:nth-child(2) {
  animation-delay: -0.3s;
}

.lds-ring div:nth-child(3) {
  animation-delay: -0.15s;
}

@keyframes lds-ring {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}