#dbrdify_banner {
  max-width: 100%;
  max-height: 5em;
}

.form-table th {
  width: 300px;
}

input[type=text] {
  transition: opacity 0.15s ease-in;
}
input[type=text].greyedOut {
  opacity: 0.3;
  pointer-events: none;
}

/* Switch */
.switch {
  position: relative;
  display: inline-block;
  width: 51px;
  height: 31px;
  margin-right: 1em;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.switch input:checked + .slider {
  background-color: #2271b1;
}
.switch input:checked + .slider:before {
  transform: translateX(20px);
}
.switch .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #a4a7aa;
  -webkit-transition: 0.15s;
  transition: 0.15s;
  border-radius: 34px;
}
.switch .slider:before {
  position: absolute;
  content: "";
  height: 27px;
  width: 27px;
  top: 2px;
  left: 2px;
  background-color: white;
  -webkit-transition: 0.2s;
  transition: 0.2s;
  border-radius: 50%;
  box-shadow: 0px 1px 3px 2px rgba(20, 20, 20, 0.12);
}
.switch .slider:hover {
  background: #b4b6b9;
  transition: background-color 0.1s;
}

table tbody .desc {
  font-weight: 400;
  margin-top: unset;
  font-style: italic;
}
table tbody tr {
  transition: opacity 0.15s ease-in;
}
table tbody.greyedOut tr:not(tr:first-child) {
  opacity: 0.3;
  pointer-events: none;
}

@media screen and (max-width: 782px) {
  .form-table td {
    display: flex;
    align-items: center;
  }
  .form-table td .switch {
    flex-shrink: 0;
  }
  .form-table th {
    width: 100%;
  }
}
