body {
  background: #eff5f5;
  color: #666666;
  font-family: "Open Sans", sans-serif;
  overflow-x: hidden;
}

a {
  color: #6ad0d0;
  transition: 0.5s;
}

a:hover,
a:active,
a:focus {
  color: #6ad0d0;
  outline: none;
  text-decoration: none;
}

p {
  padding: 0;
  margin: 0 0 30px 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Playfair Display", serif;
  font-weight: 400;
  margin: 0 0 20px 0;
  padding: 0;
}

/*--------------------------------------------------------------
# Spinner
--------------------------------------------------------------*/

div.loading {
  z-index: 9999;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #eff5f5;
}

@-webkit-keyframes uil-ring-anim {
  0% {
    -ms-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -ms-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@-moz-keyframes uil-ring-anim {
  0% {
    -ms-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -ms-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@-ms-keyframes uil-ring-anim {
  0% {
    -ms-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -ms-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@-o-keyframes uil-ring-anim {
  0% {
    -ms-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -ms-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes uil-ring-anim {
  0% {
    -ms-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -ms-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

.uil-ring-css {
  margin: auto;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 200px;
  height: 200px;
}

.uil-ring-css>div {
  position: absolute;
  display: block;
  width: 160px;
  height: 160px;
  top: 20px;
  left: 20px;
  border-radius: 80px;
  box-shadow: 0 6px 0 0 #6ad0d0;
  -ms-animation: uil-ring-anim 1s linear infinite;
  -moz-animation: uil-ring-anim 1s linear infinite;
  -webkit-animation: uil-ring-anim 1s linear infinite;
  -o-animation: uil-ring-anim 1s linear infinite;
  animation: uil-ring-anim 1s linear infinite;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/

#header {
  box-shadow: 0px 0px 7px #555555;
  width: 100vw;
  padding: 30px 0;
  height: 92px;
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  transition: all 0.5s;
  z-index: 997;
}

#header #logo {
  float: left;
}

#header #logo h1 {
  font-size: 30px;
  margin: 0 0 0 50px;
  padding: 0;
  display: inline-block;
  font-family: "Playfair Display", serif;
  font-weight: 300;
  letter-spacing: 1px;
}

#header #logo h1 a,
#header #logo h1 a:hover {
  color: #fff;
}

#header #logo img {
  padding: 0;
  margin: 0;
}

#header.header-fixed {
  background: linear-gradient(180deg, #6ad0d0cc, #5ac0c0);
  padding: 10px 0;
  height: 50px;
  transition: all 0.5s;
}

/*--------------------------------------------------------------
# Navbar Toggler
--------------------------------------------------------------*/

.navbar {
  padding: 0;
  height: 100%;
}

.navbar-nav {
  align-items: right !important;
  margin: 0 20px 0 auto !important;
}

nav .nav-item li {
  display: inline-block;
  list-style: outside none none;
  padding: 0 auto;
}

.nav-item div {
  cursor: pointer;
  margin: 0px 20px 0 20px;
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  position: relative;
  font-size: 20px;
  text-decoration: none;
  color: #fff !important;
}

#navbarSupportedContent>ul>li>span>div {
  margin-left: 50px;
}

.icon-bar {
  width: 22px;
  height: 2px;
  background-color: #fff;
  display: block;
  transition: all 0.2s;
  margin-top: 4px;
  margin-bottom: 4px;
}

.navbar-toggler {
  border: none;
  background: transparent !important;
}

.navbar-toggler .top-bar {
  transform: rotate(45deg);
  transform-origin: 10% 10%;
}

.navbar-toggler .middle-bar {
  opacity: 0;
}

.navbar-toggler .bottom-bar {
  transform: rotate(-45deg);
  transform-origin: 10% 90%;
}

.navbar-toggler.collapsed .top-bar {
  transform: rotate(0);
}

.navbar-toggler.collapsed .middle-bar {
  opacity: 1;
}

.navbar-toggler.collapsed .bottom-bar {
  transform: rotate(0);
}

.navbar-collapse.collapse.show,
.navbar-collapse.collapsing {
  background: #5ac0c0;
  box-shadow: 0px 7px 7px #555555;
}

.navbar-collapse.collapse.show .nav-item a,
.navbar-collapse.collapsing .nav-item a {
  margin: 0px 20px 0 20px;
  padding: 10px;
}

/*--------------------------------------------------------------
# Background
--------------------------------------------------------------*/

/* Screen-sized layer that stays put behind #login and #main; main.js sets --photo */
#background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
}

#background::before,
#background::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Blurred copy of the photo, filling the screen either side of it */
#background::before {
  background: var(--photo, none) center / cover no-repeat;
  filter: blur(24px);
  transform: scale(1.15);
}

/* The whole photo, as tall as the screen, under the teal tint */
#background::after {
  background: linear-gradient(45deg,
      rgba(58, 185, 185, 0.6),
      rgba(106, 208, 208, 0.6)),
    var(--photo, none) center top / auto 100% no-repeat;
}

/* On a screen this narrow the photo already covers the full width */
@media (max-aspect-ratio: 13/20) {
  #background::before {
    display: none;
  }
}

/*--------------------------------------------------------------
# Login Section
--------------------------------------------------------------*/

#login {
  width: 100vw;
  height: 100vh;
  position: relative;
}

#login .login-text {
  position: absolute;
  left: 0;
  top: 60px;
  right: 0;
  height: calc(50% - 60px);
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  text-align: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
}

#login .login-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 36px 28px;
  border-radius: 16px;
  background: #eff5f5;
  box-shadow: 0 8px 24px #00000055;
}

#login .brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

#login .brand-icon {
  flex: none;
  width: 60px;
  height: 60px;
}

#login .brand-word {
  margin: 0;
  padding: 0;
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.5px;
  color: #3d4f4f;
}

#login .brand-word span {
  color: #3aa5a5;
}

#login p {
  color: #fff;
  margin-bottom: 20px;
  padding: 0 15px;
  font-size: 24px;
}

#login .btn-get-started {
  top: 50px;
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 8px 28px;
  border-radius: 50px;
  transition: 0.5s;
  margin: 24px 0 0;
  border: 2px solid #2b6f6f;
  background: #2b6f6f;
  color: #fff;
}

#login .btn-get-started:hover {
  border-color: #1f5c5c;
  background: #1f5c5c;
  color: #fff;
}

#login-btn {
  cursor: pointer;
}

#main {
  width: 100%;
  min-height: calc(100% - 50px);
  position: absolute;
  top: 50px;
}

#pill-form {
  margin: 50px auto;
  width: 450px;
  text-align: center;
  background: #fff;
  border: 1px solid #00000044;
  border-radius: 7px;
  padding: 10px;
}

#form-pill-submit {
  background-color: #5ac0c0;
  border-color: transparent;
  border-radius: 20px;
  color: #666666;
  box-shadow: inset 0 0 5px #00000044;
}

@media (max-width: 768px) {
  #login .login-card {
    padding: 24px 24px 20px;
  }

  #login .brand {
    gap: 10px;
  }

  #login .brand-icon {
    width: 44px;
    height: 44px;
  }

  #login .brand-word {
    font-size: 32px;
  }

  #login p {
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 20px;
  }
}

.form-group {
  margin-bottom: 10px;
}

/* Switch container */
.switch {
  top: -20px;
  position: relative;
  display: inline-block;
  width: 150px;
  height: 34px;
}

/* Switch input (hidden) */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* Switch label */
.switch label {
  display: flex;
  align-items: center;
  position: relative;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

/* Switch track */
.switch label::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: inset 0 0 5px #00000044;
  background-color: rgb(38, 180, 50);
  border-radius: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  color: #000;
  transition: background-color 0.5s ease-in-out, opacity 0.5s;
}

/* Text labels */
.switch span {
  position: absolute;
  width: 50%;
  text-align: center;
  opacity: 0;
  transition: opacity 0.5s;
  color: #fff;
}

.switch .continuing {
  right: calc((100% - 75px)/2);
}

.switch .new {
  left: calc((100% - 75px)/2);
}

/* Switch thumb */
.switch label::after {
  position: absolute;
  content: "";
  width: 26px;
  height: 26px;
  left: 4px;
  top: 4px;
  background-color: white;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  transition: left 0.5s ease-in-out;
}

/* Switch checked state */
.switch input:checked+label::before {
  background-color: #be7a13;
  color: #fff;
}

.switch input:checked+label .continuing {
  opacity: 1;
}

.switch input:not(:checked)+label .new {
  opacity: 1;
}

.switch input:checked+label::after {
  left: calc(100% - 26px - 4px);
}

/* Table */
.pill-table {
  margin-top: 20px;
  width: 430px;
}

.table-count {
  padding-right: 50px;
}

.pill-table th,
.pill-table td {
  vertical-align: middle;
}

.pill-table .row-header {
  width: 115px;
}

.pill-row {
  font-size: 1.1em;
}

/* Styling for the slider thumb when active */
.pill-slider-container {
  width: 315px;
  display: flex;
  align-items: center;
}

.water-slider-container,
.period-slider-container,
.stress-slider-container,
.screen-slider-container {
  width: 100%;
  display: flex;
  align-items: center;
}

.water-slider-container label,
.period-slider-container label,
.stress-slider-container label,
.screen-slider-container label {
  padding: 10px;
}

/* Styling for the output element */
.pill-slider-container output {
  text-align: center;
  font-size: 32px;
  margin-left: 15px;
}

/* Styling for the output element */
.water-slider-container output,
.period-slider-container output,
.stress-slider-container output,
.screen-slider-container output {
  text-align: center;
  font-size: 18px;
  margin-left: 15px;
  width: 200px;
}

/* Pill Slider */
input[type="range"] {
  padding: 20px;
  width: calc(100% - 55px);
  height: 40px;
  appearance: none;
  -webkit-appearance: none;
  background-color: #4da0a0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  border-radius: 20px;
  outline: none;
}

/* Styling for the slider track */
input[type="range"]::-webkit-slider-runnable-track {
  width: 100%;
  height: 10px;
  cursor: pointer;
  background-color: #6ad0d0cc;
  border-radius: 5px;
}

input[type="range"]::-moz-range-track {
  width: 100%;
  height: 10px;
  background-color: #6ad0d0cc;
  cursor: pointer;
  border-radius: 5px;
}

input[type="range"]::-ms-track {
  width: 100%;
  height: 10px;
  background-color: #6ad0d0cc;
  cursor: pointer;
  border-radius: 5px;
}

/* Styling for the slider thumb */
input[type="range"]::-webkit-slider-thumb {
  width: 24px;
  height: 24px;
  cursor: pointer;
  background-color: #5ac0c0;
  border-radius: 50%;
  -webkit-appearance: none;
  margin-top: -7px;
}

input[type="range"]::-moz-range-thumb {
  width: 24px;
  height: 24px;
  cursor: pointer;
  background-color: #5ac0c0;
  border-radius: 50%;
  margin-top: -7px;
}

input[type="range"]::-ms-thumb {
  width: 24px;
  height: 24px;
  cursor: pointer;
  background-color: #5ac0c0;
  border-radius: 50%;
  margin-top: -7px;
}

input[type="range"]::-webkit-slider-thumb:hover {
  background-color: #6ad0d0;
}

/* Styling for the slider thumb when active */
input[type="range"]::-moz-range-thumb:hover {
  background-color: #6ad0d0;
}

/* Styling for the slider thumb when active */
input[type="range"]::-ms-thumb:hover {
  background-color: #6ad0d0;
}

/* Styling for the slider thumb when active */
input[type="range"]:active::-webkit-slider-thumb {
  background-color: #6ad0d0;
}

input[type="range"]:active::-moz-range-thumb {
  background-color: #6ad0d0;
}

input[type="range"]:active::-ms-thumb {
  background-color: #6ad0d0;
}

.switch.alcohol,
.switch.coffee {
  width: 230px;
  margin-bottom: 10px;
}

.switch .yes {
  right: calc((100% - 100px)/2);
}

.switch .no {
  left: calc((100% - 100px)/2);
  /* left: 25px; */
}

.switch input:checked+label .yes {
  opacity: 1;
}

.switch input:not(:checked)+label .no {
  opacity: 1;
}

/* Switch checked state */
.switch.alcohol input:checked+label::before,
.switch.coffee input:checked+label::before {
  background-color: #be3b13;
  color: #fff;
}

.food,
.side-factors,
.reiki-other-info {
  padding: 5px;
  border-radius: 5px;
  background-color: #4da0a0;
  color: #666666;
  font-family: "Open Sans", sans-serif;
  box-shadow: inset 0 0 5px #00000044;
}

.food span,
.side-factors span,
.reiki-other-info span {
  background: #6ad0d0;
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: inset 0 0 5px #00000044;
}

.food textarea,
.side-factors textarea,
.reiki-other-info textarea {
  font-size: 15px;
  box-shadow: inset 0 0 5px #00000044;
}

.row {
  margin-left: 0;
  margin-right: 0;
}

#resolved-check,
#improved-check,
#reiki-check,
#reiki-improved-check,
#reiki-resolved-check {
  margin: 10px;
}

input[type="checkbox"] {
  -ms-transform: scale(2);
  /* IE */
  -moz-transform: scale(2);
  /* FF */
  -webkit-transform: scale(2);
  /* Safari and Chrome */
  -o-transform: scale(2);
  /* Opera */
  transform: scale(2);
  padding: 10px;
}

.form-check-label {
  margin: auto;
  margin-left: 10px;
  margin-right: 10px;
}

/* Checkboxes */
.checkbox-wrapper-10 {
  display: flex;
  justify-content: center;
}

#form-pill-time {
  height: 33px;
  margin-left: 20px;
}

#complete-entry-modal-text {
  padding: 20px;
}

.checkbox-wrapper-10 .tgl {
  display: none;
}

.checkbox-wrapper-10 .tgl,
.checkbox-wrapper-10 .tgl:after,
.checkbox-wrapper-10 .tgl:before,
.checkbox-wrapper-10 .tgl *,
.checkbox-wrapper-10 .tgl *:after,
.checkbox-wrapper-10 .tgl *:before,
.checkbox-wrapper-10 .tgl+.tgl-btn {
  box-sizing: border-box;
}

.checkbox-wrapper-10 .tgl::-moz-selection,
.checkbox-wrapper-10 .tgl:after::-moz-selection,
.checkbox-wrapper-10 .tgl:before::-moz-selection,
.checkbox-wrapper-10 .tgl *::-moz-selection,
.checkbox-wrapper-10 .tgl *:after::-moz-selection,
.checkbox-wrapper-10 .tgl *:before::-moz-selection,
.checkbox-wrapper-10 .tgl+.tgl-btn::-moz-selection,
.checkbox-wrapper-10 .tgl::selection,
.checkbox-wrapper-10 .tgl:after::selection,
.checkbox-wrapper-10 .tgl:before::selection,
.checkbox-wrapper-10 .tgl *::selection,
.checkbox-wrapper-10 .tgl *:after::selection,
.checkbox-wrapper-10 .tgl *:before::selection,
.checkbox-wrapper-10 .tgl+.tgl-btn::selection {
  background: none;
}

.checkbox-wrapper-10 .tgl+.tgl-btn {
  outline: 0;
  display: block;
  width: 5em;
  height: 2em;
  margin-bottom: 0;
  position: relative;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.checkbox-wrapper-10 .tgl+.tgl-btn:after,
.checkbox-wrapper-10 .tgl+.tgl-btn:before {
  position: relative;
  display: block;
  content: "";
  width: 50%;
  height: 100%;
}

.checkbox-wrapper-10 .tgl+.tgl-btn:after {
  left: 0;
}

.checkbox-wrapper-10 .tgl+.tgl-btn:before {
  display: none;
}

.checkbox-wrapper-10 .tgl:checked+.tgl-btn:after {
  left: 50%;
}

.checkbox-wrapper-10 .tgl-flip+.tgl-btn {
  padding: 2px;
  transition: all 0.2s ease;
  font-family: sans-serif;
  perspective: 100px;
}

.checkbox-wrapper-10 .tgl-flip+.tgl-btn:after,
.checkbox-wrapper-10 .tgl-flip+.tgl-btn:before {
  display: inline-block;
  transition: all 0.4s ease;
  width: 100%;
  text-align: center;
  position: absolute;
  line-height: 2em;
  font-weight: bold;
  color: #fff;
  top: 0;
  left: 0;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 4px;
}

.checkbox-wrapper-10 .tgl-flip+.tgl-btn:after {
  content: attr(data-tg-on);
  background: rgb(38, 180, 50);
  box-shadow: inset 0 0 5px #00000044;
  transform: rotateY(-180deg);
}

.checkbox-wrapper-10 .tgl-flip+.tgl-btn:before {
  background: #be3b13;
  box-shadow: inset 0 0 5px #00000044;
  content: attr(data-tg-off);
}

.checkbox-wrapper-10 .tgl-flip+.tgl-btn:active:before {
  transform: rotateY(-20deg);
}

.checkbox-wrapper-10 .tgl-flip:checked+.tgl-btn:before {
  transform: rotateY(180deg);
}

.checkbox-wrapper-10 .tgl-flip:checked+.tgl-btn:after {
  transform: rotateY(0);
  left: 0;
  background: rgb(38, 180, 50);
}

.checkbox-wrapper-10 .tgl-flip:checked+.tgl-btn:active:after {
  transform: rotateY(20deg);
}

/*--------------------------------------------------------------
# History
--------------------------------------------------------------*/

#history {
  margin: 50px auto;
  width: calc(100vw - 50px);
  text-align: center;
  background: #fff;
  border: 1px solid #00000044;
  border-radius: 7px;
  padding: 10px;
}

#history table {
  border: 1px solid #ccc;
  border-collapse: collapse;
  margin: 0;
  padding: 0;
  width: 100%;
  table-layout: fixed;
}

#history table caption {
  font-size: 1.5em;
  margin: .5em 0 .75em;
}

#history table tr {
  background-color: #f8f8f8;
  border: 1px solid #ddd;
  padding: .35em;
}

#history table th,
#history table td {
  text-align: center;
  font-size: 0.7em;
  letter-spacing: 0em;
}

#history table tbody td img {
  width: 18px;
}

/* New/Continuous */
#history>table>thead>tr>th:nth-child(1) {
  width: 35px;
}

/* Pills */
#history>table>thead>tr>th:nth-child(2),
#history>table>thead>tr>th:nth-child(3),
#history>table>thead>tr>th:nth-child(4),
#history>table>thead>tr>th:nth-child(5),
#history>table>thead>tr>th:nth-child(6),
#history>table>thead>tr>th:nth-child(7) {
  width: 54px;
  word-wrap: break-word;
}

/* Resolved/Improvements */
#history>table>thead>tr>th:nth-child(8),
#history>table>thead>tr>th:nth-child(9) {
  width: 60px;
}

/* Water */
#history>table>thead>tr>th:nth-child(10) {
  width: 62px;
}

/* Food */
#history>table>thead>tr>th:nth-child(11) {
  width: 300px;
}

/* Alcohol/Coffee */
#history>table>thead>tr>th:nth-child(12),
#history>table>thead>tr>th:nth-child(13) {
  width: 48px;
}

/* Period */
#history>table>thead>tr>th:nth-child(14) {
  width: 57px;
}

/* Stress */
#history>table>thead>tr>th:nth-child(15) {
  width: 40px;
}

/* Screen */
#history>table>thead>tr>th:nth-child(16) {
  width: 40px;
}

/* Side factors */
/* nth-child(17) */

/* Reiki */
#history>table>thead>tr>th:nth-child(18) {
  width: 40px;
}

/* Reiki improved/resolved */
#history>table>thead>tr>th:nth-child(19),
#history>table>thead>tr>th:nth-child(20) {
  width: 60px;
}

/* Reiki other */
#history>table>thead>tr>th:nth-child(21) {
  width: 160px;
}

/* Date */
#history>table>thead>tr>th:nth-child(22) {
  width: 95px;
}


@media screen and (max-width: 1700px) {
  #history table {
    border: 0;
  }

  #history table thead {
    border: none;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
  }

  #history table tr {
    border-bottom: 3px solid #ddd;
    display: block;
    margin-bottom: .625em;
  }

  #history table td {
    border-bottom: 1px solid #ddd;
    display: block;
    font-size: .8em;
    text-align: right;
  }

  #history table td::before {
    content: attr(data-label);
    float: left;
    font-weight: bold;
    text-transform: uppercase;
  }

  #history table td:last-child {
    border-bottom: 0;
  }
}

/*--------------------------------------------------------------
# Responsive
--------------------------------------------------------------*/

@media screen and (max-width: 1080px) {
  .pill-table {
    margin-top: 20px;
    width: 380px;
    /* 430px */
  }

  .pill-table .row-header {
    width: 100px;
    /* 115px */
  }

  .pill-slider-container {
    width: 280px;
    /* 315px */
    display: flex;
    align-items: center;
  }

  #pill-form {
    width: 400px;
  }

  .switch.alcohol,
  .switch.coffee {
    width: 200px;
  }
}

@media screen and (max-width: 400px) {
  .pill-table {
    width: 360px;
    /* 430px */
  }

  .pill-table .row-header {
    width: 90px;
    /* 115px */
  }

  .pill-slider-container {
    width: 270px;
    /* 315px */
  }

  .pill-row {
    font-size: 1em;
  }

  #pill-form {
    width: 360px;
  }

  .switch.alcohol,
  .switch.coffee {
    width: 200px;
  }
}