html {
    scrollbar-width: none;
}
body {
    --dark-mode-text-color: rgba(255,255,255,.8);
    height: 100vh;
    margin: 0;
    scrollbar-width: none;
    background-color: #f0f0f0;
    overflow: hidden;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
}

#dark-mode-toggle {
    position: absolute;
    top: 7px;
    right: 7px;
    height: 1.2em;
    opacity: 50%;
    cursor: pointer;
}

.title {
    font-family: 'Baloo 2', cursive;
    font-weight: 800;
    text-align: left;
    padding-left: 10px;
    margin-top: 10px;
    margin-bottom: 5px;
    font-size: 1.2rem;
}

#search-form {
    display: flex;
    flex-direction: row;
    padding: 5px;
}

#search-input {
    width: 100%;
    /*box-sizing: border-box;*/ /* this is needed otherwise its width would be that of the parent PLUS padding and border size */
    border-radius: 30px;
    margin-right: 10px;
}

.autoComplete_wrapper {
    width: 100%;
    border-radius: 30px;
}


#scatter-plots {
    grid-area: scatter-plots;
    /*border-color: orangered;*/
    display: flex;
    flex-direction: column;
}

#scatter-plot-container {
    display: flex;
    flex-direction: row;
    box-sizing: border-box;
    height: 100%;
    overflow: hidden;
}

#scatter-plot-and-name-container-1 {
    border-right: 3px solid #e3e3e3;
}

.scatter-plot-and-name-container {
    display: flex;
    flex-direction: column;
    width: 50%;
}

.scatter-plot {
    width: 100%;
    height: 100%;
    overflow: hidden;
    /*border-top: 3px solid orangered;*/
}

.scatter-plot-title {
    align-self: flex-start;
    margin-top: 0;
    margin-bottom: 5px;
    margin-left: 10px;
    font-family: 'Baloo 2';
    font-weight: 800;
    font-size: 1.2rem;
}

.scatter-plot-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
}

.color-key {
    margin: 0 10px;
    font-weight: 500;
    font-size: 0.9rem;
}

svg {
    height: 100%;
    width: 100%;
}

#radial-graph-container {
    grid-area: radial-graph;
    display: flex;
    flex-direction: column;
}

#radial-graph {
    width: 100%;
    height: 100%;
}

#other-graph-container {
    grid-area: other-graph;
    display: flex;
    flex-direction: column;
}

#other-graph {
    width: 100%;
    height: 100%;
}

.block {
    /*border: 4px solid;*/
    border-radius: 25px;
    margin: 10px;
    text-align: center;
    background-color: white;
    scrollbar-width: thin;
    scrollbar-color: #e3e3e3 transparent;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.question-mark {
    height: 0.7em;
    opacity: 0.8;
}

#filter-bar-container {
    grid-area: filter-bar;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

#filter-bar {
    /*grid-area: filter-bar;*/
    /*border-color: blue;*/
    font-size: 1rem;
    height: 100%;
    margin-right: 0;
    overflow-y: scroll;
    scrollbar-width: thin;
    scrollbar-color: #e3e3e3 transparent;
    overflow-x: hidden;
}

.filter-container {
    height: 50%;
}

.filter-name-container {
    padding-left: 10px;
    display: grid;
    grid-template-columns: 50% 50%;
    grid-template-areas: "name limits";
    padding-top: 5px;
}

.filter-name {
    grid-area: name;
    text-align: start;
    position: relative;
}

.filter-limits {
    grid-area: limits;
    text-align: end;
    opacity: 0.5;
    align-self: end;
}

#stats-bar {
    grid-area: stats-bar;
    /*border-color: orange;*/
    overflow: hidden;
    padding: 5px 0px 0px 0px;
    box-sizing: border-box;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
}

#stats-container {
    display: flex;
    box-sizing: border-box;
    flex-direction: row;
    height: 100%;
    overflow: hidden;
}

.stats-and-bar {
    width: 16.66%;
    display: flex;
    flex-direction: column;
    padding-left: 5px;
}

.stats-color-bar {
    border-radius: 7px;
    flex: 0 0 5px;
    margin: 0 5px;
}

#stats-bar-header {
    display: flex; 
    flex-direction: row;
    justify-content: space-between;
}

#selected-color {
    height: 2.5em;
}

#color-hierarchy {
    height: 3em;
    margin-right: 15px;
}

#main-stats-color-bar {
    background-color: #d73027;
}
/* CSS identifiers can't start with a digit, so you have to use the unicode encoding of the digit*/
#\31-stats-color-bar {
    background-color: #fc8d59;
}
#\32-stats-color-bar {
    background-color: #fee090;
}
#\33-stats-color-bar {
    background-color: #e0f3f8;
}
#\34-stats-color-bar {
    background-color: #91bfdb;
}
#\35-stats-color-bar {
    background-color: #4575b4;
}

.stats {
    text-align: left;
    font-size: 1rem;
    width: 100%;
    /*
    border-top: 3px solid orange;
    border-right: 3px solid orange;*/
    overflow: auto;
    scrollbar-width: thin;
    scrollbar-color: #e3e3e3 transparent;
    padding-left: 5px;
    background-color: white ;
    transition: background-color 100ms;
}

.stats:hover {
    background-color: #e3e3e3;
    cursor: pointer;
}

#main-stats:hover {
    background-color: white;
    cursor: default;

}

.stat-element {
    margin: 4px;
}

#simil-plots {
    grid-area: simil-plots;
    border-color: lightblue;
}
#graphs {
    grid-area: graphs;
    /*border-color: green;*/
    display: grid;
    grid-template-columns: 25% 75%;
    grid-template-rows: 100%;
    grid-template-areas: "radial-graph other-graph";
}

#container {
    display: grid;
    grid-template-columns: 25% 25% 25% 25%;
    grid-template-rows: 40% 35% 25%;
    grid-template-areas:
        "filter-bar scatter-plots scatter-plots scatter-plots"
        "graphs graphs graphs graphs"
        "stats-bar stats-bar stats-bar stats-bar";
    width: 100%;
    height: 100%;
    padding: 10px;
    box-sizing: border-box;
}

.tooltip {
    position: absolute;			
    text-align: center;			
    width: 150px;					
    height: fit-content;					
    padding: 2px;				
    font-size: 13px;
    font-weight: 500;		
    background: #f0f0f0;	
    border: 0px;		
    border-radius: 8px;			
    pointer-events: none;
    text-overflow: ellipsis;
}

.disabled {
    pointer-events: none;
}