
[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;

    .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: #EF8415;
    --col-home-content-bg: #FFF;
    --log-out-color: #eaeff2;

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

    
}

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

body {
    position: relative;
    margin-top: 5rem;
    min-height: 90vh;
}

#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;
}

.logo {
    margin-right: 5px;
}

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

.alert-success {
    --bs-alert-color: #ccffe4;
    --bs-alert-bg: #004013;
    --bs-alert-border-color: #05a33b;
}

.alert-danger {
    --bs-alert-color: #ffbbc5;
    --bs-alert-bg: #8f000e;
    --bs-alert-border-color: #b94c56;
}

.alert-warning {
    --bs-alert-color: #ffde7d;
    --bs-alert-bg: #a77f00;
    --bs-alert-border-color: #916b00;
}

.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: 80%;
    color: var(--bs-table-color);
    margin-left: auto;
    margin-right: auto;
}

.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: 1em;
}

.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;
}

/* Light theme / Dark theme button */

#flexSwitchCheckChecked .icon-sun, .icon-moon {
  display: none;
}

#flexSwitchCheckChecked:checked + label .icon-sun {
  display: none;
}

#flexSwitchCheckChecked:checked + label .icon-moon {
  display: inline-block;
}

/* 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%);
}
