@font-face {
    font-family: 'Open Sans Light';
    font-style: normal;
    font-weight: 300;
    src: url(https://fonts.gstatic.com/s/opensans/v13/DXI1ORHCpsQm3Vp6mXoaTRa1RVmPjeKy21_GQJaLlJI.woff) format('woff');
}

.navbar {
    --bs-navbar-padding-y: 0;
    --bs-navbar-brand-padding-y: 0;
}

html {
    font-size: 8px;
    font-weight: lighter;
}

@media (min-width: 768px) {
    html {
        font-size: 14px;
        font-weight: lighter;
    }
}

.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: "Open Sans Light" !important;
    --bs-body-font-family: "Open Sans";
    font-size: 14px;
}

.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;
}

.hidden-dropdown-toggle::after {
    display: none !important;
}

.card-body.hover-activation:hover {
    background-color: #258cfb50;
}

.clamped-text {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    transition: all 0.2s;
}

    .clamped-text.expanded {
        -webkit-line-clamp: unset;
        display: block;
        overflow: visible;
    }

.show-more {
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    display: inline-block;
}

.card-floating {
    height: calc(4rem + calc(var(--bs-border-width) * 2));
    min-height: calc(4rem + calc(var(--bs-border-width) * 2));
}

    .card-floating label {
        position: absolute;
        top: 0.15rem;
        left: .15rem;
        color: rgba(var(--bs-body-color-rgb), .65);
        transform: scale(.85);
    }

    .card-floating select {
        margin-top: 1.7rem;
        /*border: 0;*/
        min-height: 0;
    }

        .card-floating select:first-child {
            margin-left: 0.5rem;
        }

    .card-floating input {
        margin-top: 1.7rem;
        min-height: 0;
    }

        .card-floating input:first-child {
            margin-left: 0.5rem;
        }

    .card-floating .input-group button {
        height: fit-content;
        top: 1.7rem;
    }

    .card-floating .input-group:last-child {
        width: 97%;
    }

    .card-floating .input-group:only-child {
        width: 99%;
    }


.use-bootstrap-tag > button.btn-sm {
    padding-top: 0.15rem !important;
    padding-bottom: 0.20rem !important;
}

.list-categories, .list-filters {
    max-height: 500px;
    font-size: 0.85rem;
}

    .list-categories li, .list-filters li {
        width: 99%;
    }

    .list-card {
        min-height:200px;
        max-height:200px;
    }
@media (max-height: 1080px) {
    .list-categories, .list-filters {
        max-height: 300px;
    }
    
}

@media (min-height: 1081px) and (max-height: 1440px) {
    .list-categories, .list-filters {
        max-height: 500px;
    }
   
}

.fs-0 {
    font-size: 0.875rem !important;
}
.vh-split-container {
    height: 90vh;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-top: 1rem;
    box-sizing: border-box;
}

.vh-split-top {
    flex: 0 0 45vh;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.vh-split-bottom {
    flex: 0 0 45vh;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.vh-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

    .vh-card .card-body {
        overflow-y: auto;
    }
.sb-thin {
    scrollbar-width: thin;
}

.sb-light {
    scrollbar-color: lightgrey transparent;
}
#detailPanel {
    height: 100vh;
    box-sizing: border-box;
    overflow-y: auto;
}

#consumptionsChart {
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
}
