table.item-table {
  margin-top: 2rem;
}

table tr td {
  padding: 1rem 0;
}

table tr td span {
  font-size: 1.2rem;
  color: #868686;
}

#header {
  position: fixed;
  background: url('/static/images/background.jpg');
  background-position: -30rem -15rem;
  background-repeat: no-repeat;
  background-size: 80rem;
  transition: box-shadow 0.2s;
  z-index: 0;
}

#header.nav-box-shadow {
  z-index: 2;
  height: 6rem;
  -webkit-box-shadow: 0px -10px 42px 6px rgba(0,0,0,0.5);
  -moz-box-shadow: 0px -10px 42px 6px rgba(0,0,0,0.5);
  box-shadow: 0px -10px 42px 6px rgba(0,0,0,0.5);
}

#content {
  position: relative;
  background: #fff;
  padding: 0 0 13rem 0;
  margin-top: 13.7rem;
  padding-top: 1rem;
  z-index: 1;
}

ul {
  list-style-type: none;
  padding: 0;
  width: 100%;
}

.rent-list ul li {
  padding: 1.5rem 0;
}

.rent-list ul li p {
  margin: 0;
}

.main-title h1 {
  margin: 0;
  font-size: 2.5rem;
  font-weight: 300;
  letter-spacing: 0.2rem;
  color: #b2c90c;
}

p.subtitle {
  font-size: 1.2rem;
  margin: 0.2rem 0 0 0;
  color: #828282;
}

#footer {
  position: fixed;
  background: #fff;
  -webkit-box-shadow: 0px 14px 42px 6px rgba(0,0,0,0.3);
  -moz-box-shadow: 0px 14px 42px 6px rgba(0,0,0,0.3);
  box-shadow: 0px 14px 42px 6px rgba(0,0,0,0.3);
}

#footer div.row {
  /* position: static; */
  height: 100%;
}

#footer button.primary {
  padding: 0.7rem 3rem;
  line-height: 1rem;
}

#footer.disabled button.primary {
  background: #fff;
  color: lightgrey;
  border: 2px dashed lightgrey;
}

#footer #total-amount .total-price {
  padding-top: 0.5rem;
  font-size: 1rem;
}

#footer.disabled #total-amount .total-price {
  color: lightgrey;
}

#footer button.primary span {
  font-size: 0.9rem;
  line-height: 0.9rem;
}

/* Stepper */
#stepper {
  position: relative;
  margin-bottom: 2rem;
  max-width: 45rem;
  user-select: none;
}
#stepper ul {
  position: relative;
  padding: 0;
  z-index: 2;
}
#stepper ul li {
  display: block;
  position: relative;
  border: 0.2rem solid #bdbdbd;
  height: 3rem;
  width: 3rem;
  color: #bdbdbd;
  line-height: 2.8rem;
  font-weight: 400;
  text-align: center;
  border-radius: 50%;
  background: white;
}

#stepper ul li span.label {
  position: absolute;
  left: 50%;
  font-size: 1rem;
  font-weight: 300;
  top: 2.5rem;
  transform: translateX(-50%);
}

#stepper ul li.active {
  color: #b2c90c;
  border-color: #b2c90c;
}

#stepper ul li.access.active {
  background: #b2c90c;
  color: #fff;
}

#stepper ul li.access.active span.label {
  color: #b2c90c;
}

#stepper ul li svg {
  height: 1.5rem;
  width: 1.5rem;
}

#stepper .line {
  position: absolute;
  width: 88%;
  left: 2.5rem;
  top: 50%;
  transform: translateY(-50%);
  border-bottom: 0.2rem solid #cacaca;
  z-index: 0;
}


.board-list {
  margin: 0 -2rem;
}
.board-list .board-list-wrapper {
  cursor: pointer;
}
.board-list .board-list-wrapper > div.row {
  padding: 0 1.5rem !important;
}

.board-list .board-list-wrapper img {
  max-width: 2rem;
}

.board-list ul li {
  font-size: 1.2rem;
  transition: box-shadow 0.2s ease;
}

.board-list ul li .switch-counter:hover {
  cursor: pointer;
}

.board-list ul li .board-name {
  font-size: 1.4rem;
}

.board-list ul li.board-list-wrapper.invert {
  box-shadow: 0px 0px 15px -1px rgba(0,0,0,0.75);
}

/* Item counter */
.item-counter {
  position: relative;
  z-index: 998;
  height: 2.65rem;
  width: 4.65rem;
  background: #fff;
  border: 0.15rem solid #b2c90c;
  color: #b2c90c;
  border-radius: 1200px;
  transition: background 0.2s ease, width 0.2s ease;
}

.item-counter.zero {
  width: 2.65rem;
  color: #fff;
  background: #515151;
  border: 3px solid #515151;
}

.item-counter .counter {
  font-size: 1.4rem;
  line-height: 2.3rem;
  height: 100%;
  width: 50%;
  text-align: center;
}

.item-counter button.button {
  position: absolute;
  height: 2.65rem;
  width: 2.65rem;
  color: #fff;
  background: #b2c90c;
  border: 0px solid #515151;
  right: -0.15rem;
  padding: 0;
  padding-top: 0.2rem;
  font-size: 1.5rem;
  z-index: 999;
  transition: background 0.2s ease;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}

.item-counter.zero button.button {
  background: #515151;
}

.item-counter button.button .icon svg {
  height: 1.8rem;
  width: 1.8rem;
  display: inline-block;
  transition: transform 0.2s ease;
}

.item-counter .button:hover {
  cursor: pointer;
}

.item-counter.subtract button.button .icon svg {
  transform: rotate(45deg);
}

.item-counter.subtract {
  background: #b2c90c;
  color: #fff;
}

.item-counter.error, .item-counter.error button.button {
  background: rgb(214, 74, 74);
  border-color:  rgb(214, 74, 74);
  color: #fff;
}

.time-wrapper {
  position: relative;
}

.time-wrapper .selector {
  display: Block;
  position: absolute;
  z-index: 9;
  overflow: hidden;
  background: white;
  width: 20rem;
  height: 20rem;
  border: 1px solid rgb(235, 234, 234);
  opacity: 1;
  transform: translateY(0rem);
  transition: 0.2s ease all;
  -webkit-box-shadow: 10px 10px 51px -19px rgba(0,0,0,0.75);
  -moz-box-shadow: 10px 10px 51px -19px rgba(0,0,0,0.75);
  box-shadow: 10px 10px 51px -19px rgba(0,0,0,0.75);
}

.time-wrapper .selector.hidden {
  opacity: 0;
  transform: translateY(-3rem);

}

.time-wrapper .selector.hidden.none {
  display: none;
}

.time-wrapper .selector .date, .time-wrapper .selector .time {
  position: absolute;
  overflow: hidden;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
  width: 20rem;
  height: 20rem;
  transition: transform 0.2s;
}

.time-wrapper .selector ul li {
  padding: 1rem;
}

.time-wrapper .selector.date .time {
  transform: translateX(20rem)
}

.time-wrapper .selector.time .date {
  transform: translateX(-20rem)
}

.time-wrapper .selected {
  position: relative;
  z-index: 10;
  background: rgb(235, 234, 234);
  border-bottom: 1px solid #adadad;
  color: #adadad;
  font-weight: 300;
  padding: 1rem 3rem 1rem 1rem;
  width: 20rem;
  height: 6rem;
  cursor: pointer;
  line-height: 4rem;
}

.time-wrapper .selected .label {
  position: absolute;
  transition: 0.2s ease all;
}

.time-wrapper.active .selected .label {
  transform: translateY(-1rem);
  font-size: 1rem;
}

.time-wrapper.active .selected .datetime {
  line-height: 6rem;
}

.time-wrapper .selected span.icon {
  width: 1rem;
  margin-left: 1rem;
  position: absolute;
  right: 1rem;
  top:1.25rem;
}

.time-wrapper .selected span.icon svg {
  transition: transform 0.2s;
}

.time-wrapper .selected.open span.icon svg {
  transform: rotate(180deg);
}

#location-list ul li ,#transaction-list ul li {
  cursor: pointer;
  padding: 1.5rem 0;
  border-bottom: 2px solid rgb(231, 231, 231);
  margin: 0;
  letter-spacing: 0.1rem;
  transition: background 0.2s;
}

#location-list ul li {
  user-select: none;
}

#location-list ul li *, #transaction-list ul li * {
  pointer-events: none;
}

#location-list ul li:active, #transaction-list ul li:active {
  background: lightgrey;
}

#location-list ul li .icon, #transaction-list ul li .icon {
  display: inline-block;
  width: 1.5rem;
}

#location-list .location-name span {
  font-size: 1rem;
  letter-spacing: initial;
  color: #7b7b7b;
}

#location-list ul li.not-available {
  cursor: initial;
}

#location-list .not-available div {
  color: #7b7b7b;
}

#location-list ul li.not-available:active {
  background: #fff;
}

#transaction-list a {
  text-decoration: none;
  color: inherit;
}

.add-one-more {
  position: absolute;
  width: 5rem;
  opacity: 1;
  margin-left: -1.7rem;
  margin-top: -4.5rem;
  text-align: center;
  font-size: 1rem;
  z-index: 999;
  transition: opacity 0.2s;
}

.add-one-more span.icon {
  width: 1rem;
}

.add-one-more.hide {
  opacity: 0;
}

.tap-edit {
  opacity: 1;
  font-size: 1rem;
  color: #848484;
}

.tap-edit.hide {
  opacity: 0;
}

@media only screen and (min-width: 48rem) {
  #stepper {
    padding: 2rem 0;
  }

  #header {
    position: fixed;
    background: url('/static/images/background.jpg');
    background-position: 0rem -20vw;
    background-repeat: no-repeat;
    background-size: cover;
    transition: box-shadow 0.2s;
  }
}

@media only screen and (max-height: 150vw) and (max-width: 700px) {
  #content {
    padding-bottom: 0;
  }
  #content .container {
    padding-bottom: 5rem;
  }
  #footer {
    position: static;
    bottom: 0;
  }
}

@media only screen and (max-height: 700px) and (min-width: 100vh) {
  #content {
    padding-bottom: 0;
  }
  #content .container {
    padding-bottom: 5rem;
  }
  #footer {
    position: static;
    bottom: 0;
  }
}