html, body {
    padding: 0;
    margin: 0;
    font-family: "Open Sans", sans-serif;
    font-size: 90%;
    color: #fefadf;
}

#dashboard {
    position: absolute;
    top: 0;
    left: 0;
    width: 1920px;
    height: 1080px;
}

/* Header */
#header {
    background-color: #273617;
    width: 100%;
    height: 6%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#header h1 {
    flex: 4;
    padding: 0;
    margin: 1%;
}

.header-selector {
    flex: 1;
    margin: 10px;
    padding: 10px;
    border: 0;
    border-radius: 10px;
    background-color: #5f6c37;
    font-size: 130%;
    cursor: pointer;
    color: #fefadf;
}

ul.header-selector {
    padding: 8.5px;
    z-index: 100;
}

/* General Dashboard */
.row {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1%;
    z-index: -3;
}

.column {
    height: 100%;
    position: relative;
    margin: 0 0.5% 0 0;
}

.chart-container {
    margin: 0 0.5% 0 0.5%;
    height: 100%;
    background-color: #f8ecde;
    border-radius: 10px;
    position: relative;
}

.preset li {
    z-index: 2;
}

.selector li a {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    z-index: 10;
}

.selector {
    background-color: #bc6c23;
    margin: 10px;
    padding: 10px;
    border: 0;
    border-radius: 10px;
    width: 28%;
    position: absolute;
}

div.selector {
    display: flex;
}

ul.selector {
    display: flex;
}

div.selector p, a {
    padding: 0;
    margin: 0;
}

div.selector a {
    cursor: pointer;
}

.chart {
    position: absolute;
    top: 0;
    left: 0;
    color: black;
}

/* Toggles */

.control-box {
    display: flex;
    justify-content: center;
    align-items: center;
    color: black;
}

.switch-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
    margin: 0 2% 0 2%;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
    background-color: #2196F3;
    box-shadow: 0 0 1px #2196F3;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/* Participant Profile */

#blocker {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 200;
}

#faded-background {
    width: 100%;
    height: 100%;
    opacity: 0.3;
    background-color: grey;
    z-index: 200;
}

#participant-profile {
    position: fixed;
    width: 40%;
    height: 80%;
    left: 30%;
    top: 10%;
    background-color: #f8ecde;
    z-index: 201;
    opacity: 1;
    border: 4px solid black;
    font-size: 10%;
}

.profile-option {
    color: black;
    margin: 0 0 0.5% 4%;
}

.profile-image {
    height: 40%;
    float: left;
    margin: 2%;
}

/* Bar Chart */

#bar-chart-dimension-selector {
    top: 0;
    left: 0;
}

/* Simple Bar */

#simple-bar-container {
    position: absolute;
    top: 0;
    left: 35%;
    width: 65%;
    height: 10%;
}

/* Scatter Plot - Softness */

#scatter-plot-dimension-selector {
    top: 0;
    left: 0;
}

/* Radar Plot */

#radar-plot-preset-selector {
    top: 0;
    left: 0;
}

/* Scatter Plot - General */

#jitter-plot-dimension-x-selector {
    top: 0;
    left: 0;
}

#jitter-plot-dimension-y-selector {
    top: 0;
    left: 32%;
}

/* Sankey Diagram */

#sankey-diagram-preset-selector {
    top: 0;
    left: 0;
}

#sankey-diagram-vertex-count-selector {
    top: 0;
    left: 32%;
}

#sankey-diagram-dimension-1-selector {
    width: 15%;
    top: 6%;
}

#sankey-diagram-dimension-2-selector {
    width: 15%;
    top: 6%;
}

#sankey-diagram-dimension-3-selector {
    width: 15%;
    top: 6%;
}

#sankey-diagram-dimension-4-selector {
    width: 15%;
    top: 6%;
}

#sankey-diagram-dimension-5-selector {
    width: 15%;
    top: 6%;
}

/* Word Cloud */

#word-cloud-dimension-selector {
    top: 0;
    left: 0;
}

/* Cross Plot */

#cross-plot .tick {
    font-weight: bold;
}

#cross-plot-dimension-x-label {
    top: -0.5%;
    left: 1%;
    color: black;
    position: absolute;
}

#cross-plot-dimension-x-selector {
    top: 0;
    left: 3%;
}

#cross-plot-dimension-y-label {
    top: -0.5%;
    left: 35%;
    color: black;
    position: absolute;
}

#cross-plot-dimension-y-selector {
    top: 0;
    left: 37%;
}

#cross-plot-annotation {
    top: 0;
    left: 72%;
    color: black;
    position: absolute;
}

#cross-plot .domain {
    stroke: none;
}

/* Box Plot */

#box-plot .tick {
    font-weight: bold;
}

#box-plot-dimension-x-label {
    top: -0.5%;
    left: 1%;
    color: black;
    position: absolute;
}

#box-plot-dimension-x-selector {
    top: 0;
    left: 3%;
}

#box-plot-dimension-y-label {
    top: -0.5%;
    left: 35%;
    color: black;
    position: absolute;
}

#box-plot-annotation {
    top: 0;
    left: 72%;
    color: black;
    position: absolute;
}

#box-plot-dimension-y-selector {
    top: 0;
    left: 37%;
}

/* Regression Plot */

#regression-plot .tick {
    font-weight: bold;
}

#regression-plot-dimension-x-label {
    top: -0.5%;
    left: 1%;
    color: black;
    position: absolute;
}

#regression-plot-dimension-x-selector {
    top: 0;
    left: 3%;
}

#regression-plot-dimension-y-label {
    top: -0.5%;
    left: 35%;
    color: black;
    position: absolute;
}

#regression-plot-dimension-y-selector {
    top: 0;
    left: 37%;
}

#regression-plot-annotation {
    top: 0;
    left: 72%;
    color: black;
    position: absolute;
}

/* Dropdowns */

.main-navigation {
    z-index: 10;
}

ul {
    list-style: none;
}

li {
    width: 100%;
}

ul li {
    display: block;
    position: relative;
    float: left;
}

.main-navigation ul li {
    background: #5f6c37;
}

.selector ul li {
    background: #bc6c23;
}

li ul { 
    display: none; 
}

ul li a {
    display: block;
    text-decoration: none;
    white-space: nowrap;
    color: #fefadf;
    font-family: "Open Sans", sans-serif;
}

ul ul li a {
    padding: 2%;
}

.selector ul ul li {
    padding: 2%;
}

li:hover > ul {
    display: block;
    position: absolute;
}

li:hover li { 
    float: none; 
}

.main-navigation ul li a:hover { 
    background: #556131; 
}

.main-navigation ul ul ul li a:hover { 
    background: #5f6c37; 
}

.selector ul li:hover { 
    background: #ad6420; 
}

.main-navigation li ul li { 
    border-top: 0;
}

ul ul {
    top: 100%;
    left: 0%;
    right: 0%;
    padding: 0;
    text-align: left;
}

.main-navigation ul {
    width: 100%;
}

.selector ul li {
    z-index: 60;
}

.selector ul ul li {
    z-index: 70;
}

.selector ul ul {
    width: 100%;
}

ul ul ul {
    left: 100%;
    top: 0;
    width: 100%;
    text-align: left;
}

ul ul ul li {
    overflow: hidden;
}

ul ul ul li a {
    float: left;
}

ul:before, ul:after {
    content: " ";
    display: table;
}

ul:after { 
    clear: both; 
}





/* Gallery */

.original {
    border: 6px solid black;
}

.reproduced {
    border: 6px solid red;
}

#gallery-container img {
    width: auto;
}

#gallery-container {
    width: 100%;
    max-height: 100%;
    overflow-y: auto;
}

#floating-legend {
    position: fixed;
    bottom: 0%;
    right: 0%;
    background-color: white;
    border-left: 3px solid black;
    border-top: 3px solid black;
    border-radius: 1em 0 0 0;
    padding-left: 1%;
    padding-right: 1%;
    padding-top: 1%;
}