/* html role visibility system for checkbox sibling */

.role-if-true {
  display: none;
}

input[role]:checked+.role-if-true {
  display: block;
}

input[role]:checked+.role-if-false {
  display: none;
}

input[role]:checked+.role-if-true+.role-if-false {
  display: none;
}

input[role]:checked+.role-if-false+.role-if-true {
  display: block;
}

/* hide number input arrow */

input[type='number']::-webkit-outer-spin-button, input[type='number']::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type='number'] {
  -moz-appearance: textfield;
}

/* alert css */

.alert[role='alert'] {
  z-index: 99999 !important;
}

/* modal */

@media (min-width: 992px) {
  .modal-xl {
    max-width: 800px;
  }
}

@media (min-width: 1200px) {
  .modal-xl {
    max-width: 1140px;
  }
}

@media (min-width: 1920px) {
  .modal-xl {
    max-width: 1860px;
  }
}

/* table */

.table-responsive {
  min-height: 400px;
}

.navbar-search {
  margin-right: 3%;
  margin-left: 3%;
}