html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    font-family: Helvetica, Verdana, sans-serif;
    font-size: 14px;
    color: #505050;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    line-height: 1;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: "";
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
    scrollbar-width: thin;
}

button {
    -webkit-appearance: button;
    -webkit-writing-mode: horizontal-tb !important;
    text-rendering: auto;
    color: -internal-light-dark-color(buttontext, rgb(170, 170, 170));
    letter-spacing: normal;
    word-spacing: normal;
    text-transform: none;
    text-indent: 0px;
    text-shadow: none;
    display: inline-block;
    text-align: center;
    align-items: flex-start;
    cursor: default;
    background-color: -internal-light-dark-color(rgb(239, 239, 239),
    rgb(74, 74, 74));
    box-sizing: border-box;
    margin: 0em;
    font: 400 13.3333px Arial;
    padding: 1px 6px;
    border-width: 1px;
    border-style: outset;
    border-color: -internal-light-dark-color(rgb(118, 118, 118),
    rgb(195, 195, 195));
    border-image: initial;
    cursor: pointer;
}

input:disabled {
    text-align: center;
}

#container {
    display: flex;
    justify-content: space-between;
    height: 600px;
    width: 800px;
    margin: auto;
    border: 0px;
    overflow: auto;
    background: linear-gradient(#d6e6ee, #e7f2f5);
}

#container * {
    color: rgb(34, 41, 82);
}
#left-panel-background {
    position: absolute;
    width: 254px;
    height: 600px;
    z-index: 9;
    background: #d6e6ee;
}
#left-panel {
    position: absolute;
    width: 240px;
    z-index: 10;
}

header {
    margin: 5px 0 10px 5px;
    display: flex;
    align-items: center;
}

.home {
    background: url(../assets/buttons.gif) -54px 0px no-repeat;
}

.home_experiment:hover {
    background: url(../assets/buttons.gif) 0px 0px;
}

#title {
    padding-left: 0.5rem;
    padding-top: 3px;
    font-size: 18px;
}

.controls-box {
    position: relative;
    padding: 10px;
    margin: 0 0 1rem 1rem;
    background-color: white;
    box-shadow: -5px 5px 2px 1px rgba(181, 201, 214, 0.5);
    max-height: 300px;
    overflow: auto;
}

.controls-box input {
    margin-left: 0;
    margin-bottom: 5px;
}

.controls-box p {
    padding-left: 5px;
    padding-top: 10px;
}

.controls-box p:first-child {
    padding-top: 0;
}

.control-box-button {
    margin-top: 15px;
    margin-right: 15px;
}

#extension,
#show-time-input,
#weight {
    border-radius: 7px;
}

.data-table {
    padding: 0px;
    display: inline-block;
    overflow-y: scroll;
}

#home-page button {
    font-size: 18px;
    width: 226px;
    box-shadow: -5px 5px 2px 1px rgba(181, 201, 214, 0.5);
}

#home-page-footer {
    display: flex;
    position: absolute;
    top: 540px;
    width: 228px;
    margin-left: 12px;
    align-items: center;
    justify-content: space-between;
}

#home-page-footer button {
    font-size: 18px;
    width: 130px;
    box-shadow: -5px 5px 2px 1px rgba(181, 201, 214, 0.5);
}

#start-experiment {
    margin: 1rem;
    font-size: 20px;
}

.toggle_content {
    position: absolute;
    bottom: 6px;
    height: 1px;
    width: 1px;
    left: 95%;
    display: inline-block;
    border: rgb(34, 41, 82) solid;
    border-width: 0 1px 1px 0;
    padding: 3px;
    transform: rotate(225deg);
}

#record_data {
    background-color: #efd4d2;
}

#record_data:disabled {
    background-color: inherit;
}
label {
    padding-left: 5px;
}
@media (-ms-high-contrast: active), (forced-colors: active), (prefers-contrast: forced) {
    header {
        color: white;
        background-color: black !important;
        -ms-high-contrast-adjust: none;
        forced-color-adjust: none;
    }
    #title {
        color: white;
    }
    #container {
        background: none;
        background-color: white;
        -ms-high-contrast-adjust: none;
        forced-color-adjust: none;
    }
    #start-experiment, #show_labels, #introductory_video, #alcohol, #reset_trial {
        color: white;
        background-color: black;
        -ms-high-contrast-adjust: none;
        forced-color-adjust: none;
    }
    .controls-box {
        color: white;
        background-color: black !important;
        -ms-high-contrast-adjust: none;
        forced-color-adjust: none;
    }
    label, p {
        color: white !important;
    }
    a {
        border: rgb(255, 255, 255) solid !important;
        border-width: 0 1px 1px 0 !important;
    }
}