
[data-bs-theme="dark"] {
    --bs-body-bg: #0e131a;
    --navbar-bg-color: #0c1924;
    --col-home-content-bg: #0c1924;
    --col-home-content-border: 1px solid #283138;
    --log-out-color: #eaeff2;
    --bs-table-bg: #0c1924;
    --loader-color: rgba(255, 255, 255, 0.45);
    --loader-color-end: rgba(255, 255, 255, 0.25);

    .col-home .content-section {
        border: var(--col-home-content-border);
        background: var(--col-home-content-bg)
    }
}

[data-bs-theme="light"] {
    --bs-body-bg: #F5F7FD;
    --navbar-bg-color: #0c1924;
    --col-home-content-bg: #FFF;
    --log-out-color: #eaeff2;
    --loader-color: rgba(255, 255, 255, 0.45);
    --loader-color-end: rgba(255, 255, 255, 0.25);

    .col-home .content-section {
        border: none;
        background: var(--col-home-content-bg)
    }


}

[data-bs-theme="light"] a:hover {
    color: #F3993B;
}

.table {
  --bs-table-bg: var(--col-home-content-bg);
}

body {
    font-family: "Montserrat", sans-serif;
    position: relative;
    margin-top: 5rem;
    min-height: 90vh;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.content-section,
.card,
.navbar {
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

#logout-form button {
    background: none;
    color: var(--log-out-color);
    border: none;
    padding-top: 7.5px;
}

.site-footer {
    background: none;
    position: absolute;
    width: 100%;
    bottom: 0;
}
.footer-copyright{
    float: left;
}
.footer-version{
    float: right;
}

.bg-navbar {
    background-color: var(--navbar-bg-color);
}

.site-header .navbar-brand {
    color: var(--log-out-color);
}

.form-check {
    padding-top: 7.5px;
}

.site-header .navbar-nav .nav-link {
    color: #eaeff2;
}

.site-header .navbar-nav .nav-link:hover {
    color: #ffffff;
}

.content-section {
    padding: 10px 20px;
    border-radius: 3px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.logo {
    margin-right: 5px;
}

.dropdown-divider {
    border-top: 1px solid rgb(255 255 255);
}

.alert-success {
    --bs-alert-color: var(--bs-success-text-emphasis);
    --bs-alert-bg: var(--bs-success-bg-subtle);
    --bs-alert-border-color: var(--bs-success-border-subtle);
}

.alert-danger {
    --bs-alert-color: var(--bs-danger-text-emphasis);
    --bs-alert-bg: var(--bs-danger-bg-subtle);
    --bs-alert-border-color: var(--bs-danger-border-subtle);
}

.alert-warning {
    --bs-alert-color: var(--bs-warning-text-emphasis);
    --bs-alert-bg: var(--bs-warning-bg-subtle);
    --bs-alert-border-color: var(--bs-warning-border-subtle);
}

/* Crispy forms error list */
.errorlist {
    list-style: none;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    border-radius: 0.375rem;
    color: var(--bs-warning-text-emphasis);
    background-color: var(--bs-warning-bg-subtle);
    border: 1px solid var(--bs-warning-border-subtle);
}

.container-fluid {
    width: 80%;
}

.report-table {
    color: var(--bs-table-color);
    font-size: 80%;
    overflow-x: auto;
}

.report-table thead th {
    position: sticky;
    top: 0px;
}

.report-table td,
.report-table th {
    white-space: nowrap;
}

/* TODO(stefano): Discover this changes */
.shorten {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    max-width: 1px;
}

.main-category-display>div>div:first-of-type {
    height: 200px;
    overflow-y: scroll;
}

.big-main-category-display>div>div:first-of-type {
    height: 700px;
    overflow-y: scroll;
}

.table-acos {
    width: 100%;
    color: var(--bs-table-color);
}

.table-acos thead th {
    color: #24b8ff;
}


.table-acos tr:nth-child(1),
.table-acos tr:nth-child(3),
.table-acos tr:nth-child(4),
.table-acos tr:nth-child(8),
.table-acos tr:nth-child(9),
.table-acos tr:nth-child(11),
.table-acos tr:nth-child(12) {
    border-bottom: 2px solid #dee2e6;
}

.table-acos th, .table-acos td {
    padding: 0.5em 0.75em;
}

.table-acos tr:nth-child(1) td:nth-of-type(1),
.table-acos tr:nth-child(4) td:nth-of-type(1),
.table-acos tr:nth-child(9) td:nth-of-type(1),
.table-acos tr:nth-child(12) td:nth-of-type(1) {
    font-weight: bold;
    color: #24b8ff;
}

.form-container {
    display: table;
}

a {
    text-decoration: auto;
}



/* overview diagrams */
#overview-carousel {
  margin-left: 100px;
  margin-right: 100px;
}

.carousel-inner {
   margin-bottom:50px;
}
.carousel-indicators {
  bottom:-50px;
  filter: invert(100%);
}

.carousel-control-prev {
  left: -100px;
  filter: invert(100%);
}

.carousel-control-next{
  right: -100px;
  filter: invert(100%);
}
