html,
body {
  height: 100%;
}
body {
  display: flex;
  padding-top: 40px;
  padding-bottom: 40px;
  background-color: #f5f5f5;
}
body.login-page {
  align-items: center;
}
body.dashboard-page {}
body.dashboard-page h4 {
  margin: 30px 0;
}
body.dashboard-page h4 i.bi {
  font-size: .6em;
  cursor: help;
}

.no-br {
  text-wrap: nowrap;
  white-space: nowrap;
}

@media (min-width: 1630px) {
  .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
      max-width: 1550px;
  }
}

.tooltip-inner {
  max-width: 400px;
}

/* HEADER */

header img {
  width: 100px;
  max-width: 100%;
  margin-right: 10px;
  transition: all .2s ease-in-out;
}

@media (min-width: 768px) {
  header img {
    width: 150px;
  }
}
header button {
  height: 43px;
  margin-left: 10px;
  opacity: .25;
  pointer-events:none;
}
header div.ta-name {
  margin-left: 10px;
  line-height: 43px;
  font-style: italic;
  opacity: .25;
}
header button.ta-org {
  
}

/* SECTIONS */

@media (max-width: 580px),(min-width: 990px) and (max-width:1020px) {
  main.dashboard-page-container > section {
    padding: 0 30px;
  }
}

/* BUTTONS */

.btn-hixny {
  color: #fff;
  background-color: #007e9e;
  border-color: #007e9e;
}
.btn-hixny:hover {
  color: #fff;
  background-color: #006f8a;
  border-color: #005c73;
}

.btn-hixny-close {
  color: #fff;
  background-color: #6c757d;
  border-color: #6c757d;
}
.btn-hixny-close:hover {
  color: #fff;
  background-color: #5a6268;
  border-color: #5a6268;
}

/* LOGIN */

.form-signin {
  width: 100%;
  max-width: 500px;
  padding: 15px;
  margin: auto;
}
.form-signin .alert {
  margin-bottom: 50px;
  text-wrap: balance;
}

/* .form-signin .checkbox {
  font-weight: 400;
} */

.form-signin .form-floating {
  margin-bottom: 10px;
}
.form-signin .form-floating:focus-within {
  z-index: 2;
}

.form-signin input[type="email"] {
  margin-bottom: -1px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

/* MAGIC LINK FORM OVERRIDES */
#magic-login-shortcode,
.magic-login-form-header {
  width: 100% !important;
}

.ta-login-form label {
  width: unset !important;
}

.magic-login-form-header .alert {
  margin-bottom: 20px;
}

/* .ta-login-form input[type=submit] {
  color: #fff;
    background-color: #007e9e;
  padding: .5rem 1rem !important;
  font-size: 1.25rem;
  border-radius: .3rem;
  display: inline-block;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    border: 1px solid #007e9e;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
} */

/* .form-signin input[type="password"] {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
} */

/* NEW USERS SECTION */

form#newUsers {}

div#new-user-container {}

form#newUsers a {
  text-decoration: none;
  cursor: pointer;
}

.form-row {
  position: relative;
  padding-top: 16px;
  border-radius: 10px;
  background-color: rgba(21, 119, 149, .25);
}

.add-user {
  display: inline-block;
}

.remove-new-user-row {
  position: absolute;
  top: 0;
  right: -20px;
  width: 30px;
  height: 30px;
  color: red;
  font-size: 20px;
  cursor: pointer;
  opacity: .75;
  transition: all .2s ease-in-out;
}
.remove-new-user-row:hover {
  opacity: .99;
}

.form-add {
  margin-top: 20px;
  text-align: right;
}

.form-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 30px 0 20px;
}

.select2-container {
  width: 100% !important;
  max-width: 100% !important;
}
.select2-container + label {
  z-index: 1 !important;
}
.select2-selection {
  height: auto !important;
}
.select2-selection__rendered {
  margin-top: 18px !important;
}
li.select2-selection__choice {
  margin-top: .375rem !important;
  margin-bottom: 0 !important;
}

.option-location-address {
  display: block;
  font-size: 12px;
  color: #666;
}
.select2-results__option.select2-results__option--selected .option-location-address {
  color: #f5f5f5;
}



/* Current Users Table (active/pending and inactive) */

/*
.resend-pending-user
.edit-user
.deactivate-user
.reactivate-user
*/
a.action-button  {
  font-size: 20px;
  margin: 0 5px;
}
a.action-button.disabled {
  color: #cccccc;
  /* pointer-events: none; */ /* TODO: DISABLE CLICK WITHOUT THIS? */
}

.actions-column {
  min-width: 150px;
}
.actions-column.inactive-users-table-action-column {
  min-width: 100px;
}

/* Bootstrap Table Overrides */
.bootstrap-table .fixed-table-container .table td {
  text-wrap: nowrap;
}
/* .bootstrap-table .fixed-columns-right {
  border-left: 1px solid rgb(222, 226, 230);
} */
.bootstrap-table .fixed-columns-right .fixed-table-body:before {
  content: '';
  position: absolute;
  top: 1px;
  left: -10px;
  bottom: 0px;
  width: 10px;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 90%);
}

/* Modals */

@media (min-width: 576px) {
  .modal-dialog {
    max-width: 90%;
  }
}
#helpModal .modal-footer {
  justify-content: space-between;
}
.show-modal-support-content {
  text-decoration: underline;
  cursor: pointer;
}
.modal-support-content.reference {
  display: none;
}

/* --> deactivation modal */
#userChangesModal .modal-dialog,
#deactivateUserModal .modal-dialog,
#deactivateInactiveUserModal .modal-dialog {
  width: 500px;
  max-width: 90%;
  margin-right: auto;
  margin-left: auto;
}
#userChangesModal .modal-header,
#deactivateUserModal .modal-header,
#deactivateInactiveUserModal .modal-header {
  text-align: center;
}
#userChangesModal .modal-header .modal-title span.user-data,
#deactivateUserModal .modal-header .modal-title span.user-data,
#deactivateInactiveUserModal .modal-header .modal-title span.user-data {
  color: #666666;
  text-wrap: nowrap;
}
#deactivateUserModal .modal-body,
#deactivateInactiveUserModal .modal-body {
    display: flex;
    justify-content: center;
}
#deactivateUserModal .modal-body-inner-container,
#deactivateInactiveUserModal .modal-body-inner-container {
  text-align: left;
}
#deactivateUserModal .modal-body-inner-container .form-check:first-child,
#deactivateInactiveUserModal .modal-body-inner-container .form-check:first-child {
  margin-bottom: 10px;
}
#userChangesModal .modal-footer,
#deactivateUserModal .modal-footer,
#deactivateInactiveUserModal .modal-footer {
  justify-content: center;
}
@media (max-width: 430px) {
  #userChangesModal .modal-footer,
  #deactivateUserModal .modal-footer,
  #deactivateInactiveUserModal .modal-footer {
    flex-direction: column-reverse;
  }
}

/* Tooltips inside table labels */

label i[data-bs-toggle=tooltip] {
  pointer-events: all;
  cursor: help;
}