:root {
    --tabs-selected : white;
    --tabs-unselected : rgb(220,220,220);
    --border-radius: 4px;
}


.app {
    background-color: rgba(242,243,245,255) !important;
}

body {
    background-color: rgba(242,243,245,255) !important;
}

.chart-page-container {
    display: flex;
    flex-direction: column;    
    gap: 0.5rem;
}


.align-nav-buttons {
    align-items: center;
}

@media only screen and (max-width: 768px) {
    .align-nav-buttons {
        align-items: baseline;
    }
}

.filter-data {    
    background-color:white!important;    
    border-radius: var(--border-radius);;
    border:none;
}

.switch-filter {
    margin:0;
}

.switch-filter > input {
    cursor: pointer;
}

.data-viz {
    padding: 5px 0px;
    display: flex;
    flex-wrap: wrap;
    gap:0.5rem;
}

.data-filter {
    display: flex;   
    flex-wrap: wrap; 
    justify-items: center;
    gap:0.5rem;
    border-radius: var(--border-radius);;
}

.data-filter > * {
    display:flex;
    align-items:center;
    justify-content:center;
}

@media only screen and (max-width: 768px) {
    .data-filter > * {
        justify-content: start;
    }
}

    .chart-data {
        border: 1px solid black;
        border-radius: 0.25rem;        
        padding: 5px;
    }

.tabs-container{
    background-color:var(--tabs-unselected);
    border:none;
    border-bottom: 1px solid rgb(209,209, 209);
    border-radius: var(--border-radius);;
}


    .tabs-container :not(.active) {
        background-color: var(--tabs-unselected) !important;
        border-bottom: none;
    }

    .tabs-container .active {
        background-color: var(--tabs-selected) !important;
        border: 1px solid rgb(209,209, 209);
        border-bottom: none;
        margin:-1px;
        margin-top:0;
    }
    .tabs-container :first-child {
        border-left: none;
        margin-left:0;
    }

.tabs-div .tab-content {
    background-color: var(--tabs-selected)
}

.tabs-div {
    background-color: var(--tabs-selected);
    padding: 0 !important;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.10);
}

.datetime-filter {    
    background-color: #6c757d;
    color:white;    
    border:none;    
    border-radius: var(--border-radius);    
}

.datetime-filter::-webkit-calendar-picker-indicator {
    cursor: pointer;
    color:white;
    filter: invert(87%) sepia(61%) saturate(2%) hue-rotate(297deg) brightness(108%) contrast(101%);
}

.tab-content {
    border-radius: var(--border-radius);;
}
.chart-info-container-style {
    position: relative;
    background-color: white !important;
    border: none;
    border-radius: var(--border-radius);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.10);
}

.chart-container-style {
    position: relative;
    background-color: white !important;
    border: none;
    border-radius: var(--border-radius);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.10);
}

.slider-chart-container-style {
    border-radius: none;
    box-shadow: none;
}

.export-button {
    width:150px;
}

@media only screen and (max-width: 768px) {
    .export-button {
        width: 110px;
    }
}

.alert-num {
    background-color: #dc3545;
    width: 20px;
    height: 20px;    
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    color: white;
    border-radius: var(--border-radius);
}

.no-alerts {
    background-color: grey;
}

.alert-btn{
    padding:0.5rem;
}
.alert-btn:hover {
    background-color: rgba(255,255,255,0.25);
    border-radius: var(--border-radius);
}

@media (min-width:768px){
    .alert-collapse {
        display:none;
    }
}

@media(max-width:768px) {
    .alert-side-collapse {
        display: none;
    }
}

.toast { 
    width:350px;
}

@media(max-width:768px){
    .toast {
        width:250px;
    }
}

.alert-clear-button {
    border-radius: var(--border-radius);
    background-color: rgba(0,0,0,0.05);           
    border:2px solid rgba(0,0,0,0.1);
    width: 100%;    
}


    .alert-clear-button:hover {
        background-color: rgba(0,0,0,0.05);
        color:dodgerblue;
    }


.data-viz-number{
    width:50px;
    border:2px solid rgba(0,0,0,0.25);
}

.data-viz-number-lg {
    width: 60px;
    border: 2px solid rgba(0,0,0,0.25);
    text-align: right;
}

.gi-view-container {
    font-size: 12px;
}


.gi-view-container .data-viz {    
    background-color:inherit; 
}

.gi-view-container .data-viz-container {
    background-color: inherit;
    box-shadow: none;
}

.gi-view-container .fixed-size-histogram {
    height: clamp(400px, 50vw, 85vh);
}

.gi-view-container .fixed-size-line-chart {
    height: clamp(400px, 40vw, 70vh);
}

.gi-view-container .chart-container-style {
    box-shadow: none;
}

html, body, .gi-view-container, .app {
    height: 100%;
}

.gi-view-mode-slider {
    height:100px;
}

.alert-server {
    margin-bottom: 0;
    border-radius: 0;
}

.close {
    float: right;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    filter: alpha(opacity=20);
    opacity: .2;    
    padding: 3px 0px;
    cursor: pointer;
    background: 0 0;
    border: 0;
}



.nav-link .oi.oi-list-rich {
    top:2px;
}
