input[type="search"] {
 -webkit-appearance: searchfield;
}
input[type="search"]::-webkit-search-cancel-button {
-webkit-appearance: searchfield-cancel-button;
}

nav.navbar .navbar-nav.view-selection {
  background-color: rgb(107, 5, 64);
  margin-right: -16px;
  margin-top: -8px;
  margin-bottom: -8px;
}

nav.navbar .navbar-nav.view-selection li.dropdown a.nav-link {
  color: white;
  padding: 1.5rem 2rem;
}

table tr.hide {
  display: none;
}

.scroll {
  opacity: 0.3;
  background-color: #9A0059;
  width: 40px;
  height: 40px;
  position: fixed;
  bottom: 10px;
  right: 10px;
  border-radius: 5px;
  border: none;
}

.scroll:hover {
  opacity: 1;
  cursor: pointer;
}

.fa-chevron-up {
  color: white;
}

.modal-dialog {
  position: relative;
  width: auto;
  margin: 0.5rem auto;
  pointer-events: none;
}

.modal-dialog-centered {
  display: flex;
  align-items: center;
  min-height: calc(100% - 1rem);
}

.modal-content {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  pointer-events: auto;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 0.3rem;
  outline: 0;
}

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1040;
  width: 100vw;
  height: 100vh;
  background-color: #000;
}

div.champ-materiel button {
  display: none;
  padding:1px;
  font-size:0.8em;
}
div.champ-materiel:hover button {
  display: inline-block;
}

label.label-row {
  display: flex;
  align-items: center;
  margin: 0;
  padding:3px;
}

label.label-row input[type=checkbox] {
  margin-right: 0.5em;
}

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

.loader-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
}

.loader {
  font-size: 50px;
  color: #333;
  animation: spin 1.5s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}