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;
}

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;
}

#container {
  display: flex;
  justify-content: space-between;
  height: 711px;
  width: 949px;
  margin: auto;
  border: 0px;
  overflow: auto;
  background: linear-gradient(#d6e6ee, #e7f2f5);
}

#container * {
  color: rgb(34, 41, 82);
}

#left-panel {
  position: absolute;
  width: 292px;
  z-index: 10;
}

header {
    margin: 5px 0 10px 5px;
    display: flex;
    align-items: center;
}

.home {
    background: url(../img/buttons.gif) -54px 0px no-repeat;
}

.home_experiment:hover {
    background: url(../img/buttons.gif) 0px 0px;
}

#home-page button {
  font-size: 18px;
  width: 279px;
  box-shadow: -5px 5px 2px 1px rgba(181, 201, 214, 0.5);
}

#home-page-footer {
  display: flex;
  position: absolute;
  top: 639px;
  width: 268px;
  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);
}

#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);
}

.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;
}

#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);
}

.text_label {
    position: absolute;
    visibility: hidden;
    z-index: 1;
    background: linear-gradient(#f9fcfd, #ebf3f7);
    padding: 7px;
}

.hide {
    visibility: hidden;
}
.show {
    visibility: visible;
}
/*
set transform origin center on all elements
https://stackoverflow.com/questions/6711610/how-to-set-transform-origin-in-svg
svg * {
    transform-box: fill-box;
}*/

@media (-ms-high-contrast: active), (forced-colors: active) {
    #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: red;
        background-color: blue;
        -ms-high-contrast-adjust: none;
        forced-color-adjust: none;
    }
}