@import url('https://fonts.googleapis.com/css2?family=Open+Sans&display=swap');

html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 15px;
    }
}

/*.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;
    /*font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji;*/

    font-family: "Open Sans", sans-serif;
    font-size: 13px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/*.dt1 th, .dt1 td {
    text-align: center !important;
    vertical-align: middle !important;
}*/

.drill-down {
    width: 50px;
    text-align: center;
    cursor: pointer;
}

.top-header .tabs .nav-item {
    text-align: center;
    color: #adb5bd;
    font-weight: 500;
    font-size: 14px;
    padding-top: 2px !important;
    padding-bottom: 2px !important;
    padding-left: 8px;
    padding-right: 8px;
    -webkit-font-smoothing: antialiased;
    line-height: 14px;
}

.top-header.nav-link {
    vertical-align: middle;
}

.top-header.nav-item:hover:not(.avatar) {
    background-color: #343a40;
    border-radius: 5px;
    color: #adb5bd;
}

.top-header.nav-link {
    font-weight: 500;
    font-size: 14px;
    color: #adb5bd;
    -webkit-font-smoothing: antialiased;
    line-height: 14px;
}

button[data-action="toggleMeridiem"], .btn-primary[data-action="toggleMeridiem"] {
    background-color: var(--bs-primary) !important;
    border: none !important;
}

div[data-action="selectDay"].active {
    background-color: var(--bs-primary) !important;
    border: none !important;
}

div[data-action="selectDay"].today::before {
    border-bottom-color: var(--bs-primary) !important;
}

:root {
    --ss-primary-color: var(--bs-primary);
    --ss-bg-color: #ffffff;
    --ss-font-color: #212529;
    --ss-font-placeholder-color: #8d8d8d;
    --ss-disabled-color: #dcdee2;
    --ss-border-color: #dcdee2;
    --ss-highlight-color: #fffb8c;
    --ss-success-color: #00b755;
    --ss-error-color: #dc3545;
    --ss-focus-color: #5897fb;
    --ss-main-height: 30px;
    --ss-content-height: 300px;
    --ss-spacing-l: 8px;
    --ss-spacing-m: 6px;
    --ss-spacing-s: 4px;
    --ss-animation-timing: 0.0s;
    --ss-border-radius: 4px
}

.btn:focus, .btn:active:focus, .btn.active:focus,
.btn.focus, .btn:active.focus, .btn.active.focus, .btn-link.nav-link:focus, .page-link.focus {
    outline: none;
    box-shadow: none;
}

.form-select {
    font-size: .85rem;
}

.form-control {
    font-size: .85rem;
}

.card-header {
    font-weight:bold;
}

.btn-red, btn-red:hover {
    background-color: #dc3545;
    color:#ffffff;
}

.red {
    color: #dc3545;
}

.ss-main.is-valid {
    border-color: #198754;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-position: right 2.25rem center, center right 2.25rem;
    background-size: 20px 16px, calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
    background-repeat: no-repeat;
}

    .ss-main.is-valid:focus {
        border-color: #198754;
        box-shadow: 0 0 0 0.25rem rgba(25, 135, 84, 0.25);
    }

.ss-main.is-invalid {
    border-color: #dc3545;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-position: right 2.25rem center, center right 2.25rem;
    background-size: 20px 16px, calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
    background-repeat: no-repeat;
}

    .ss-main.is-invalid:focus {
        border-color: #dc3545;
        box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
    }

.link-btn {
    cursor:pointer;
}

.dropzone {
    border: 2px dashed var(--bs-primary);
    border-radius: 5px;
    background: white;
}