/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
  color: #0366d6;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

body {
  /* Margin bottom by footer height */
  margin-bottom: 60px;
}
/*.footer {*/
/*  position: absolute;*/
/*  bottom: 0;*/
/*  width: 100%;*/
/*  white-space: nowrap;*/
/*  line-height: 60px; !* Vertically center the text there *!*/
/*}*/


.ts-control{
  background: #2e3446 ;
  color: #bfc8e2 !important;
  border: 1px solid #32394e ;
}

.ts-control input{
  color: #bfc8e2 !important;
}
.ts-dropdown {
  background: #2e3446 !important;
  color: #bfc8e2 !important;
  border: 1px solid #32394e !important;
}
.ts-dropdown .active {
  background: #2a2f40 !important;
  color: #bfc8e2 !important;
  border: 1px solid #32394e !important;
}
.dt-bootstrap5 .dataTables_filter{
  display: none !important;
}

.cursor-pointer {
  cursor: pointer !important;
}

/* OviModal: faster fade + slide-in (override Bootstrap 0.3s) */
[data-ovi-modal].modal.fade .modal-dialog {
  transition: transform 0.15s ease-out;
}
.modal-backdrop.fade {
  transition: opacity 0.15s linear;
}

/* Layout without topbar: sidebar starts at top, page-content has no topbar padding */
.vertical-menu.sidebar-without-topbar {
  top: 0 !important;
}
.sidebar-without-topbar ~ .main-content .page-content {
  padding-top: 24px !important;
  min-height: 100vh !important;
}
 .container-fluid {
  min-height: 100vh !important;
}

/* Localization icon for inputs (same position as validation error icon) */
.ovi-localized-input-wrapper {
  position: relative;
}
.ovi-localized-input-wrapper .ovi-localized-icon {
  position: absolute;
  top: calc(0.375em + 0.235rem);
  right: calc(0.375em + 0.235rem);
  font-size: calc(0.75em + 0.47rem);
  pointer-events: none;
  z-index: 2;
}
.ovi-localized-input-wrapper .ovi-localized-icon.text-primary { color: var(--bs-primary) !important; }
.ovi-localized-input-wrapper .ovi-localized-icon.text-danger { color: var(--bs-danger) !important; }
.ovi-localized-input-wrapper .ovi-localized-icon.text-success { color: var(--bs-success) !important; }
/* Input/textarea needs padding to make room for icon (same as Bootstrap validation) */
.ovi-localized-input-wrapper .form-control {
  padding-right: calc(1.5em + 0.94rem);
}
/* RTL support */
[dir="rtl"] .ovi-localized-input-wrapper .ovi-localized-icon {
  right: auto;
  left: calc(0.375em + 0.235rem);
}
[dir="rtl"] .ovi-localized-input-wrapper .form-control:not(textarea),
[dir="rtl"] .ovi-localized-input-wrapper textarea.form-control,
[dir="rtl"] .ovi-localized-input-wrapper .tox-tinymce {
  padding-right: var(--bs-input-padding-x, 0.75rem);
  padding-left: calc(1.5em + 0.94rem);
}

/* Page content full viewport height */
#layout-wrapper {
  min-height: 100vh;
}
.sidebar-without-topbar ~ .main-content {
  min-height: 100vh;
}

/* Sidebar: compact language switcher */
.sidebar-account .dropdown .btn.header-item {
  height: auto !important;
  padding: 0.25rem 0.5rem !important;
}
