html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
  background-color: rgb(241, 241, 241);
}


.no-select {
  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
}


.cursor-pointer {
  cursor: pointer;
}


ul.inside-list {
  list-style-position: inside;
  padding-left: 0;
}


.form-label {
  margin-bottom: 0;
}


._search input._q {
  padding-right: 37px;
}

._search input._q:not(:placeholder-shown),
._search input._q:focus {
  +._clear-btn {
    display: block;
  }
}

._search button._clear-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  display: none;
}

._search i._icon {
  font-size: 64px
}


.connector {
  width: 307px;
  height: 300px;
  background-image: url('../connector.png');
  background-size: cover;
  background-position: center;
}


.field-validation-error {
  color: var(--bs-danger);
  display: block;
}

.input-validation-error {
  border: 2px solid var(--bs-danger) !important;
  background-color: rgba(220, 53, 69, 0.1);
}

.field-validation-valid {
  display: none;
}


._log .entity::before {
  content: "•";
  display: inline-block;
  margin-left: -21px;
  font-size: 36px;
  line-height: 16px;
}


._form .multiselect {
  opacity: 0;
  position: absolute;
  left: -9999px;
}

.bg-gray-200 {
  background-color: var(--bs-gray-200);
}


@keyframes shake {
  0% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-4px);
  }

  50% {
    transform: translateX(4px);
  }

  75% {
    transform: translateX(-4px);
  }

  100% {
    transform: translateX(0);
  }
}

.pill-duplicate {
  animation: shake 0.3s ease-in-out;
}


.arrow-icon {
  display: inline-block;
  transition: transform 0.3s ease;
}

a[aria-expanded="true"] .arrow-icon {
  transform: rotate(90deg);
}


.form-check-input.secondary:checked,
.form-check-input.secondary:indeterminate {
  background-color: var(--bs-secondary);
  border-color: var(--bs-secondary);
}


.link-hover-underline {
  text-decoration: none;
}

.link-hover-underline:hover {
  text-decoration: underline;
}

.custom-container {
  max-width: 992px;
}

.highlight-temp {
  transition: background-color 2s ease;
}


table tbody tr:last-child td {
  border-bottom: none !important;
}

.clickable-area {
  cursor: pointer;
  transition: background-color 0.2s;
}

.clickable-area:hover {
  background-color: #f8f9fa;
}

.text-decoration-dotted {
  text-decoration: none;
  border-bottom: 1px dotted;
}