/* version v9 */
/* roboto-regular - latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/roboto-v20-latin-regular.eot'); /* IE9 Compat Modes */
  src: local('Roboto'), local('Roboto-Regular'),
  url('fonts/roboto-v20-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('fonts/roboto-v20-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */ url('fonts/roboto-v20-latin-regular.woff') format('woff'), /* Modern Browsers */ url('fonts/roboto-v20-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */ url('fonts/roboto-v20-latin-regular.svg#Roboto') format('svg'); /* Legacy iOS */
}

* {
  margin: 0;
  padding: 0;
}

html {
  height: 100%;
  min-height: 600px;
  font-size: 16px;
}

body {
  min-height: 100%;
  min-width: 336px;
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.6em;
  overflow: hidden;
  width: 100%;
  height: 100%;
  position: fixed;
  overscroll-behavior: none;
  user-select: none;
}

h1 {
  flex: 1;
  font-weight: normal;
  margin: auto 0.25em;
  font-size: 1.25em;
  padding: 8px 8px 8px 2.25rem;
  text-align: left;
}

.header {
  display: flex;
  align-content: space-between;
  height: 2.75rem;
}

.toggle_orig {
  display: flex;
  align-self: end;
  height: 100%;
  box-sizing: border-box;
  padding: 0.2rem;
  margin-right: 0.3rem;
}

.toggle_wrapper {
  display: flex;
  flex-direction: row;
  padding: 0.5rem 0.5rem 1rem 0.5rem;
}

.toggle {
  display: flex;
  flex-grow: 1;
  height: 26px;
  box-sizing: border-box;
  padding: 0.2rem;
  margin-right: 0.3rem;
}

.toggle a {
  align-self: center;
  text-align: center;
  padding: 0.2rem 0.3rem;
  width: 100%;
  background-color: #333;
  border-radius: 0.4rem;
  text-decoration: none;
}

.toggle a.active {
  align-self: center;
  text-align: center;
  padding: 0.2rem 0.3rem;
  width: 100%;
  border-radius: 0.4rem;
  text-decoration: none;
}

main {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  overflow-y: hidden;
  overscroll-behavior: none;
}

/**** Range slider ****/
.slider {
  -webkit-appearance: none;
  flex: 2 auto;
  height: 0.6rem;
  border-radius: 0.3rem;
  outline: none;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 1.4rem;
  height: 1.4rem;
  border-width: 0.16rem;
  border-style: solid;
  border-color: #fff;
  border-radius: 50%;
  cursor: pointer;
}

.slider::-moz-range-thumb {
  width: 1.4rem;
  height: 1.4rem;
  border-width: 0.16rem;
  border-style: solid;
  border-color: #fff;
  border-radius: 50%;
  cursor: pointer;
}

.slider:hover, .slider:active {
  opacity: 1;
  -webkit-transition: .2s;
  transition: opacity .2s;
}

.slidercontainer {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-flow: row nowrap;
  justify-content: space-between;
}

.slider_label {
  min-width: 4rem;
  padding-right: 16px;
  padding-left: 16px;
}

#chars_count, #speed_count {
  min-width: 2rem;
  padding-left: 16px;
  padding-right: 16px;
}

.settings_row {
  padding: 12px 0;
  font-size: 1em;
  margin-bottom: 8px;
  align-content: center;
  width: 100%;
}

#speed_settings_layout, #char_count_settings_layout {
  font-size: 1.25em;
  max-width: 33rem;
  min-width: 10rem;
  align-self: center;
}

#top_panel {
  display: flex;
  flex-direction: column;
  width: 100%;
}

#bottom_panel {
  display: flex;
  flex-direction: column;
  overflow-y: hidden;
  width: 100%;
  padding-bottom: 8px;
  align-content: center;
}

#settings_layout_wrapper {
  display: flex;
  flex-direction: column;
  overflow-y: hidden;
  width: 100%;
  padding-bottom: 8px;
  align-content: center;
}

#random_settings_layout, #custom_chars_layout {
  display: flex;
  flex-flow: row;
  flex-wrap: wrap;
  row-gap: 0.5rem;
  flex-grow: 1;
  justify-content: center;
}

.check_box_wrapper {
  display: flex;
  flex-flow: row nowrap;
  margin-left: 0.25rem;
  margin-right: 0.25rem;
}

.custom_check_box_wrapper {
  display: flex;
  flex-direction: row;
  box-sizing: border-box;
  margin-left: 0.5rem;
  margin-right: 0.5rem;
  max-width: 32rem;
  gap: 0;
  flex-grow: 1;
  padding: 0 0.5rem;
  align-items: center;
}

#custom_input {
  display: flex;
  flex-grow: 1;
  height: 2rem;
  font-size: 1.25em;
  margin-left: 0.25rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

#progress_layout {
  margin-top: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* custom progress checkbox */
#progress_layout ul {
  display: flex;
  flex-direction: row;
}

#progress_layout ul li {
  display: flex;
  flex: 1 1 auto;
  list-style-type: none;
  border-radius: 5px;
  background-image: url("img/cb_sprite.png");
  margin: 5px;
  width: 20px;
  height: 20px;
}

/* progress checks */
.cb_default {
  background-position: 0 0;
}

.cb_current {
  background-position: -60px 0;
}

.cb_correct {
  background-position: -40px 0;
}

.cb_wrong {
  background-position: -20px 0;
}

/* Task display text color */
.td_default {
  color: #000000;
}

.td_correct {
  color: #548100;
}

.td_wrong {
  color: #aa0000;
}

#task_display_box {
  display: flex;
  box-sizing: border-box;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 30rem;
  height: 3.5rem;
  background-image: url("img/red_line.png");
  background-size: 10px 100%;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 5px;
  margin: 0.5rem 1rem 0 1rem;
}

#task_display {
  font-size: 2em;
  text-align: center;
  vertical-align: center;
}

#check_answer_layout {
  display: block;
  width: 100%;
  margin-top: 16px;
  visibility: hidden;
}

#answer_input {
  box-sizing: border-box;
  width: 100%;
  max-width: 30rem;
  height: 2.5rem;
  font-size: 2em;
  text-align: center;
  vertical-align: middle;
  padding: 0;
  border-top: none;
  border-left: none;
  border-right: none;
  text-decoration: none;
  margin: 0.5rem 1rem 0.5rem 1rem;
}

#answer_input:focus {
  outline: none !important;
}

.full_width {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

#check_button {
  width: 220px;
  margin: 2px;
  padding: 8px 2px;
  border-radius: 5px 5px;
  font-size: 1.5em;
}

#start_task_layout, #progress_layout, #question_layout {
  display: flex;
  width: 100%;
  justify-content: center;
}

#start_task {
  width: 200px;
  margin: 8px 16px;
  padding: 16px 16px;
  border-radius: 5px 5px;
  font-size: 1.5em;
}

#contact {
  flex-grow: 1;
  margin: 0.5rem;
  padding: 0.5rem;
  font-size: 1em;
  background-color: #333;
  color: white;
  border-radius: 0.4rem;
  outline: none;
  border: 1px solid black;
}

#contact:active {
  background-color: white;
  color: #333;
}


#start_task:focus, #check_button:focus, #contact:focus {
  outline: none;
}

input[type='checkbox'] {
  filter: grayscale(1);
  z-index: 1;
}

input[type='checkbox']:focus {
  outline: none;
}


#menu_toggle {
  opacity: 0;
}

#menu_toggle:checked + .menu_btn > span {
  transform: rotate(45deg);
}

#menu_toggle:checked + .menu_btn > span::before {
  top: 0;
  transform: rotate(0deg);
}

#menu_toggle:checked + .menu_btn > span::after {
  top: 0;
  transform: rotate(90deg);
}

#menu_toggle:checked ~ .menu_box {
  left: 0 !important;
}

.menu_btn {
  position: fixed;
  top: 0.625rem;
  left: 0.625rem;
  width: 1.625rem;
  height: 1.625rem;
  padding-top: 0.625rem;
  cursor: pointer;
  z-index: 100;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.menu_btn > span,
.menu_btn > span::before,
.menu_btn > span::after {
  display: block;
  position: absolute;
  width: 100%;
  height: 2px;
  transition-duration: .25s;
}

.menu_btn > span::before {
  content: '';
  top: -0.5rem;
}

.menu_btn > span::after {
  content: '';
  top: 0.5rem;
}

.menu_box {
  display: block;
  position: fixed;
  top: 0;
  left: -100%;
  width: 80%;
  max-width: 25rem;
  height: 100%;
  margin: 0;
  padding: 3rem 0.5rem;
  list-style: none;
  transition-duration: .25s;
  z-index:2;
  overflow: hidden;
}

.menu_wrapper {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

.menu_settings_wrapper {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  width: 100%;
  flex-grow: 1;
  margin: 0;
  padding: 0;
}

.menu_contact_wrapper {
  display: flex;
  flex-direction: row;
  box-sizing: border-box;
  align-items: center;
  width: 100%;
  margin: 0 0 3rem 0;
  padding: 0;
}


#theme_layout {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 0.5rem;
  padding: 0 0.5rem;
}

#theme_colors_layout {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  column-gap: 0.5rem;
  padding: 0 0.5rem;
}

#font_size_layout {
  display: flex;
  flex-direction: row;
}

#fs_question_layout {
  display: flex;
  flex-grow: 4;
  justify-content: center;
  align-items: center;
}


#fs_task_display_box {
  display: flex;
  box-sizing: border-box;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 3.5rem;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 5px;
}

#fs_font_size_display {
  display: flex;
  width: 100%;
  font-size: 2em;
  text-align: center;
  justify-content: center;
}

.menu_button {
  display:flex;
  flex-grow: 1;
  margin: 8px 16px;
  border-radius: 5px 5px;
  font-size: 1.5em;
  height: 3.5rem;
  text-align: center;
  justify-content: center;
}

.menu_box p {
  display: block;
  margin-top: 1rem;
  margin-bottom: 0.25rem;
  margin-left: 16px;
  font-size: 1.3em;
  font-variant: all-small-caps;
}

/* w3schools custom checkbox */
/* Customize the label (the container) */
.cb_container {
  display: block;
  position: relative;
  white-space: nowrap;
  padding-left: 1.7rem;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hide the browser's default checkbox */
.cb_container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.cb_container .checkmark {
  position: absolute;
  box-sizing: border-box;
  top: 0;
  left: 0;
  height: 1.4rem;
  width: 1.4rem;
  border-radius: 25%;
}

.custom_check_box_wrapper .checkmark {
  top: 0.125rem;
}

/* Create the checkmark/indicator (hidden when not checked) */
.cb_container .checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.cb_container input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.cb_container .checkmark:after {
  left: 0.44rem;
  top: 0.2rem;
  width: 0.22rem;
  height: 0.545rem;
  border: solid white;
  border-width: 0 0.2rem 0.2rem 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

/* custom radio buttons - color selectors */
/* Customize the label (the container) */
.rbc_container {
  display: block;
  position: relative;
  box-sizing: border-box;
  padding-left: 1.83rem;
  padding-bottom: 0.45rem;
  margin-bottom: 0.5rem;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  border-radius: 0.5rem;
  border: solid 1px #fff;
}

/* Hide the browser's default radio button */
.rbc_container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom radio button */
.rbc_container .checkmark {
  position: absolute;
  box-sizing: border-box;
  border-width: 0.16rem;
  border-style: solid;
  border-color: #fff;
  background-color: #fff;
  top: 0.2rem;
  left: 0.2rem;
  height: 1.66rem;
  width: 1.66rem;
  border-radius: 50%;
}

/* Create the indicator (the dot/circle - hidden when not checked) */
.rbc_container .checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the indicator (dot/circle) when checked */
.rbc_container input:checked ~ .checkmark:after {
  display: block;
}

/* Style the indicator (dot/circle) */
.rbc_container .checkmark:after {
  top: 0.43rem;
  left: 0.43rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: white;
}

.light {
  background-color: #f1f1f1;
  border-color: #000;
}

.dark {
  background-color: #222;
  border-color: #fff;
}

.orange {
  background-image: linear-gradient(90deg, #FF6800, #FF8000, #FF9700);
}

.olive {
  background-image: linear-gradient(90deg, #828c00, #8d9801, #9fab02);
}

.blue {
  background-image: linear-gradient(90deg, #00628c, #017598, #027eab);
}

.purple {
  background-image: linear-gradient(90deg, #54006e, #5b007a, #650081);
}

.black {
  background-image: linear-gradient(90deg, #000000, #090909, #0f0f0f);
}

/* THEMES */
/* ORANGE */
.th_orange #start_task, .th_orange #check_button {
  background-image: linear-gradient(90deg, #FF6800, #FF8000, #FF9700);
  border: solid 1px #ee5f00;
  color: #ffffff;
}

.th_orange #start_task:active, .th_orange #check_button:active {
  background-image: linear-gradient(170deg, #FF6800, #FF8000, #FF9700);
}

.th_orange #start_task:disabled, .th_orange #check_button:disabled {
  border: solid 1px #ff8633;
  opacity: 50%;
}

.th_orange .slider {
  background: #ffb88a;
}

.th_orange .slider::-webkit-slider-thumb {
  background: #ff6b05;
}

.th_orange .slider::-moz-range-thumb {
  background: #ff6b05;
}

.th_orange #answer_input {
  border-bottom: solid 2px #aaaaaa;
  caret-color: #ee5f00;
}

.th_orange #answer_input:focus {
  border-bottom: solid 2px #ee5f00;
}

.th_orange .cb_container input:checked ~ .checkmark {
  background-image: linear-gradient(90deg, #FF6800, #FF8000, #FF9700);
  border: solid 1px #FF6800;
}

.th_orange .rbc_container input:checked ~ .checkmark {
  background-image: linear-gradient(90deg, #FF6800, #FF8000, #FF9700);
}

/* OLIVE */
.th_olive #start_task, .th_olive #check_button {
  background-image: linear-gradient(90deg, #828c00, #8d9801, #9fab02);
  border: solid 1px #828c00;
  color: #ffffff;
}

.th_olive #start_task:active, .th_olive #check_button:active {
  background-image: linear-gradient(170deg, #828c00, #8d9801, #9fab02);
}

.th_olive #start_task:disabled, .th_olive #check_button:disabled {
  border: solid 1px #f1ff33;
  opacity: 50%;
}

.th_olive .slider {
  background: #8ba12f;
}

.th_olive .slider::-webkit-slider-thumb {
  background: #79810a;
}

.th_olive .slider::-moz-range-thumb {
  background: #79810a;
}

.th_olive #answer_input {
  border-bottom: solid 2px #aaaaaa;
  caret-color: #828c00;
}

.th_olive #answer_input:focus {
  border-bottom: solid 2px #828c00;
}

.th_olive .cb_container input:checked ~ .checkmark {
  background-image: linear-gradient(90deg, #828c00, #8d9801, #9fab02);
  border: solid 1px #828c00;
}

.th_olive .rbc_container input:checked ~ .checkmark {
  background-image: linear-gradient(90deg, #828c00, #8d9801, #9fab02);
}

/* BLUE */
.th_blue #start_task, .th_blue #check_button {
  background-image: linear-gradient(90deg, #00628c, #017598, #027eab);
  border: solid 1px #006b8c;
  color: #ffffff;
}

.th_blue #start_task:active, .th_blue #check_button:active {
  background-image: linear-gradient(170deg, #00628c, #017598, #027eab);
}

.th_blue #start_task:disabled, .th_blue #check_button:disabled {
  border: solid 1px #33cfff;
  opacity: 50%;
}

.th_blue .slider {
  background: #2d91b6;
}

.th_blue .slider::-webkit-slider-thumb {
  background: #02688a;
}

.th_blue .slider::-moz-range-thumb {
  background: #02688a;
}

.th_blue #answer_input {
  border-bottom: solid 2px #aaaaaa;
  caret-color: #00568c;
}

.th_blue #answer_input:focus {
  border-bottom: solid 2px #00678c;
}

.th_blue .cb_container input:checked ~ .checkmark {
  background-image: linear-gradient(90deg, #00628c, #017598, #027eab);
  border: solid 1px #005b8c;
}

.th_blue .rbc_container input:checked ~ .checkmark {
  background-image: linear-gradient(90deg, #00628c, #017598, #027eab);
}

/* PURPLE */
.th_purple #start_task, .th_purple #check_button {
  background-image: linear-gradient(90deg, #54006e, #5b007a, #650081);
  border: solid 1px #47075b;
  color: #ffffff;
}

.th_purple #start_task:active, .th_purple #check_button:active {
  background-image: linear-gradient(170deg, #54006e, #5b007a, #650081);
}

.th_purple #start_task:disabled, .th_purple #check_button:disabled {
  border: solid 1px #5b1970;
  opacity: 50%;
}

.th_purple .slider {
  background: #7e3793;
}

.th_purple .slider::-webkit-slider-thumb {
  background: #54006e;
}

.th_purple .slider::-moz-range-thumb {
  background: #54006e;
}

.th_purple #answer_input {
  border-bottom: solid 2px #aaaaaa;
  caret-color: #54006e;
}

.th_purple #answer_input:focus {
  border-bottom: solid 2px #54006e;
}

.th_purple .cb_container input:checked ~ .checkmark {
  background-image: linear-gradient(90deg, #54006e, #5b007a, #650081);
  border: solid 1px #47075b;
}

.th_purple .rbc_container input:checked ~ .checkmark {
  background-image: linear-gradient(90deg, #54006e, #5b007a, #650081);
}

/* BLACK */
.th_black #start_task, .th_black #check_button {
  background-image: linear-gradient(90deg, #000000, #090909, #0f0f0f);
  border: solid 1px #333333;
  color: #ffffff;
}

.th_black #start_task:active, .th_black #check_button:active {
  background-image: linear-gradient(170deg, #111111, #191919, #1f1f1f);
}

.th_black #start_task:disabled, .th_black #check_button:disabled {
  border: solid 1px #333333;
  color: #595959;
  opacity: 50%;
}

.th_black .slider {
  background: #757575;
}

.th_black .slider::-webkit-slider-thumb {
  background: #000000;
}

.th_black .slider::-moz-range-thumb {
  background: #000000;
}

.th_black #answer_input {
  border-bottom: solid 2px #aaaaaa;
}

.th_black #answer_input:focus {
  border-bottom: solid 2px #1c1c1c;
}

.er.th_black #answer_input:focus {
  border-bottom: solid 2px #fff;
}

.th_black .cb_container input:checked ~ .checkmark {
  /*background-color: #FF6800; */
  background-image: linear-gradient(90deg, #000000, #090909, #0f0f0f);
  border: solid 1px #333333;
}

.th_black .rbc_container input:checked ~ .checkmark {
  background-image: linear-gradient(90deg, #000000, #090909, #0f0f0f);
}

/* LIGHT THEMES */
body.light  {
  background: #fafafa;
  color: #333;
}

.light h1 {
  color: #ffffff;
}

.light .header {
  background-color: #222;
  border-bottom: 1px solid #fff;
}

.light .toggle a {
  color: white;
  border: 1px solid #8a8a8a;
}

.light .toggle a:hover {
  background-color: #000;
}

.light .toggle a.active {
  background-color: #fff;
  color: #222;
  border: 1px solid #222;
}

.light main {
  background-color: #f1f1f1;
}

.light #task_display_box {
  background-color: #fff;
  background-image: url("img/red_line.png");
  border: solid 1px #aeaeae;
}

.light #menu_toggle:checked + .menu_btn > span {
  background-color: #151515;
}
.light #menu_toggle:checked + .menu_btn > span::before {
  background-color: #151515;
}
.light #menu_toggle:checked + .menu_btn > span::after {
  background-color: #151515;
}

.light .menu_btn > span,
.light .menu_btn > span::before,
.light .menu_btn > span::after {
  background-color: #eeeeee;
}

.light .menu_box {
  background-image: linear-gradient(180deg, rgba(240, 240, 240, 1), rgba(240, 240, 240, 0.9), rgba(255, 255, 255, 0.7));
  box-shadow: 2px 2px 6px rgba(0, 0, 0, .4);
}

.light #fs_task_display_box {
  background-color: #fff;
  border: solid 1px #aeaeae;
}

.light .menu_button {
  border: solid 1px #aaa;
  color: #000;
}

.light .menu_button:active {
  background-color: #fff;
  border-color: #555;
}

.light .cb_container .checkmark {
  background-color: #fff;
  border: solid 1px #8c8c8c;
}

.light .cb_container input:disabled ~ .checkmark {
  background-color: #eee;
  border: solid 1px #8c8c8c;
}

.light #custom_input, .dark #custom_input {
  background-color: #fff;
  border: solid 1px #999;
  color: #000;
}

.light #answer_input, .dark #answer_input {
  background-color: #f1f1f1;
  color: #000;
  caret-color: #000000;
}

/* DARK THEME */
body.dark  {
  background: #000;
  color: #ccc;
}

.dark h1 {
  color: #ffffff;
}

.dark .header {
  background-color: #000;
  border-bottom: 1px solid #d3d3d3;
}

.dark .toggle a {
  color: white;
  border: 1px solid #8a8a8a;
}

.dark .toggle a:hover {
  background-color: #000;
}

.dark .toggle a.active {
  background-color: #fff;
  color: #222;
  border: 1px solid #222;
}

.dark main {
  background-color: #111;
}

.dark #task_display_box {
  background-color: #fff;
  background-image: url("img/red_line.png");
  border: solid 1px #aeaeae;
}

.dark #menu_toggle:checked + .menu_btn > span {
  background-color: #eeeeee;
}
.dark #menu_toggle:checked + .menu_btn > span::before {
  background-color: #eeeeee;
}
.dark #menu_toggle:checked + .menu_btn > span::after {
  background-color: #eeeeee;
}

.dark .menu_btn > span,
.dark .menu_btn > span::before,
.dark .menu_btn > span::after {
  background-color: #eeeeee;
}

.dark .menu_box {
  background-image: linear-gradient(180deg, rgba(20, 20, 20, 1), rgba(20, 20, 20, 0.9), rgba(0, 0, 0, 0.7));
  box-shadow: 2px 2px 6px rgba(0, 0, 0, .4);
}

.dark #fs_task_display_box {
  background-color: #fff;
  border: solid 1px #aeaeae;
}

.dark .menu_button {
  border: solid 1px #aaa;
  color: #000;
}

.dark .menu_button:active {
  background-color: #fff;
  border-color: #555;
}
.dark .cb_container .checkmark {
  background-color: #fff;
  border: solid 1px #8c8c8c;
}

.dark .cb_container input:disabled ~ .checkmark {
  background-color: #252525;
  border: solid 1px #737373;
}

/* DARK-ER THEME */
.er #fs_task_display_box, .er #task_display_box {
  background-color: #000;
  border: solid 1px #333;
}

.er #task_display_box {
  background-image: url("img/red_line_dark.png");
}

.er .td_default {
  color: #fff;
}

.er.rbc_container .checkmark {
   background-color: #000;
}

.nes.rbc_container .checkmark {
  border-color: #333;
}

.er .cb_container .checkmark {
  background-color: #000;
  border: solid 1px #444;
}

.er .menu_button {
  filter: invert(100%);
}

.er .menu_button:active {
  filter: invert(90%);
}

.er #custom_input {
  background-color: #000;
  border: solid 1px #555;
  color: #fff;
}

.er #answer_input {
  background-color: #000;
  color: #f0f0f0;
  caret-color: #fff;
}

.er .slider::-webkit-slider-thumb {
  border-color: #ccc;
}

.er .slider::-moz-range-thumb {
  border-color: #ccc;
}

.er .td_correct {
  color: #88a650;
}

.er .td_wrong {
  color: #bb6161;
}