:root {
  --theme-color:rgb(28, 42, 57);
  --theme-color-light:rgb(41, 62, 83);
  --theme-color-very-light: rgb(80, 104, 129);
  --theme-color-dark: rgb(21, 31, 43);
  --theme-highlight-color: rgb(255, 200, 28);
  --theme-white-color: rgb(250, 250, 250);
  --theme-red-color: rgb(170, 1, 20);

  /*light mode
  --background-color: var(--theme-white-color);
  --background-color-light: var(--theme-white-color);
  --background-color-dark: var(--theme-white-color);
  --hightlight-color: var(--theme-highlight-color);
  --font-color: var(--theme-color);
  --font-alert-color: var(--theme-red-color);
  /*end light mode*/
  /*dark mode*/
  --background-color: var(--theme-color);
  --background-color-light: var(--theme-color-light);
  --background-color-dark: var(--theme-color-dark);
  --hightlight-color: var(--theme-highlight-color);
  --font-color: var(--theme-white-color);
  --font-alert-color: var(--theme-highlight-color);
  /*end dark mode*/
}
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Roboto', sans-serif;
}
body{
  display:flex;
  flex-direction: column;
  z-index: 2;
  background: var(--background-color-dark);
  color: var(--font-color);
  min-height: 100vh;
  min-height: 100dvh;
}
.transition-animation{
  overflow: hidden !important;
}
.small-haul-logo{
  float: left;
  max-width: 15%;
  height: auto;
}
/*@media screen and (max-width: 35rem) {
  .small-haul-logo{
      width: auto;
      height: auto;
  }
}*/
header{
  z-index: 5;
  display:flex;
  flex: 0 0 auto;
  width: 100vw;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  background: var(--theme-color);
  color: var(--theme-white-color);
}
.header-div {
  display: flex;
  flex-direction: row;
  width: 100vw;
  text-align: center;
  align-items: center;
  justify-content: center;
}
@media screen and (max-width: 30rem) {
  .header-div {
      font-size: 0.5rem;
      padding: 0px;
  }
}
.header-text-div{
  display:flex;
  flex-direction: column;
}
.branch{
  position: absolute;
  top:0;
  right:0;
  padding: 1rem;
  color: var(--theme-highlight-color);
}
.header-subtext{
  font-size: x-small;
  opacity: 0.5;
}
.progress-bar-div{
  width:100vw;
  background-color: var(--theme-color-light);
}
.progress-bar{
  display: flex;
  padding: 10px;
  list-style:none;
  overflow:hidden;
  justify-content: center;
}
.progress-bar-step{
  float: none;
  position: relative;
  padding: 1.0625rem 1.25rem;
  width: 17%;
  height: 3.125rem;
  background-color: var(--theme-white-color);
  border-radius: .375rem;
  color: var(--theme-color-light);
  font-size: .875rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0.1rem 0 0 0 white;
  transition: width ease-in 500ms;
  user-select: none;
}
.progress-bar-step.is-complete{
  background-color: var(--theme-highlight-color);
  cursor: pointer;
}
.progress-bar-step::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -1rem;
  transform: translateY(-50%) scaleX(.4) scaleY(.8) rotate(45deg);
  width: 2.75rem;
  height: 2.75rem;
  background-color: inherit;
  box-shadow: .5rem -.5rem 0 0 white;
  z-index: 3 !important;
}
.progress-bar-step:last-child:after {
  display: none;
}
@media screen and (max-width: 40rem) {
  .progress-bar-step {
      font-size: 0.7rem;
      text-align: center;
      height:1rem;
      padding: 0.1rem;
  }
  .progress-bar-step::after{
      max-width:0%;
  }
  .progress-bar-step.is-complete{
      content:'';
  }
}
.outer-render-div{
  display:flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
  margin: 0;
  align-items: center;
  justify-content: center;
}
.outer-render-div.fade-in{
  opacity: 1;
animation-name: fadeInOpacity;
animation-iteration-count: 1;
animation-timing-function: ease-in;
animation-duration: 1s;
}
@keyframes fadeInOpacity {
0% {
  opacity: 0;
}
100% {
  opacity: 1;
}
}
.slide-in-from-bottom {
animation: slideInFromBottom 0.5s ease forwards;
}

@keyframes slideInFromBottom {
from {
  transform: translateY(100%);
  opacity: 0;
}
to {
  transform: translateY(0);
  opacity: 1;
}
}
.slide-out-to-top {
animation: slideOutToTop 0.5s ease forwards;
}

@keyframes slideOutToTop {
from {
  transform: translateY(0);
  opacity: 1;
}
to {
  transform: translateY(-100%);
  opacity: 0;
}
}
.slide-in-from-right {
animation: slideInFromRight 0.5s ease forwards;
}
@keyframes slideInFromRight {
from {
  transform: translateX(100%);
  opacity: 0;
}
to {
  transform: translateX(0);
  opacity: 1;
}
}
.slide-out-to-left {
animation: slideOutToLeft 0.5s ease forwards;
}

@keyframes slideOutToLeft {
from {
  transform: translateX(0);
  opacity: 1;
}
to {
  transform: translateX(-100%);
  opacity: 0;
}
}
.slide-out-to-right {
animation: slideOutToRight 0.5s ease forwards;
}
@keyframes slideOutToRight {
from {
  transform: translateX(0);
  opacity: 1;
}
to {
  transform: translateX(100%);
  opacity: 0;
}
}
.slide-in-from-left {
animation: slideInFromLeft 0.5s ease forwards;
}

@keyframes slideInFromLeft {
from {
  transform: translateX(-100%);
  opacity: 0;
}
to {
  transform: translateX(0);
  opacity: 1;
}
}
.inner-render-div{
  display:inherit;
  flex-direction: inherit;
  align-items: inherit;
  justify-content: inherit;
  height: inherit;
  width: inherit;
}
.upper-render-div{
  display:flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
}
.render-div{
  display:flex;
  flex-direction: column;
  min-width: 90vw;
  align-items: center;
  justify-content: flex-start;
  padding: 10px;
  box-sizing:border-box;
  overflow-y: auto;
  min-height: 0;
}
.render-div-error-messages {
text-align: center;
}
.error-message,
.render-div-error-messages p {
color: var(--font-alert-color) !important;
}
.lower-render-div{
  display:flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: center;
  height: 1rem;
  margin: 1rem;
  max-width: 100%;
  padding: 15px;
  gap: 5rem;
}
.lower-render-div button{
  margin:2rem;
  color:black;
}
.lower-render-div button.is-back,
.lower-render-div button.is-next {
  --noop: none;
}
.lower-render-div button.is-back{
  background-color: rgb(165, 165, 165);
}
.lower-render-div button.is-next{
  background-color: var(--theme-highlight-color);
}
.render-title{
  display:flex;
  font-size: 1.5rem;
  text-align: center;
}
.render-subtitle{
  display:flex;
  opacity: .6;
  font-size: 1rem;
  text-align: center;
}
.render-div button{
  color:rgb(0, 0, 0);
  min-width: 20rem;
  padding: 0.5rem;
  margin:1rem;
}
.render-div small{
color:black;
}
.render-div input{
  color: var(--font-color);
  background-color: var(--background-color-light);
  padding:0.5rem;
  border-radius: 1rem;
  width: 20rem;
}
.render-div p{
margin: 0.5rem;
text-align: center;
}
.render-div textarea{
  color: var(--font-color);
  background-color: var(--background-color-light);
  padding:0.5rem;
  border-radius: 1rem;
  min-width: 20rem;
}
.render-div select{
  color: var(--font-color);
  background-color: var(--background-color-light);
  height: 2rem;
  border-radius: 1rem;
  text-align: center;
}
.render-div img{
  width: 20rem;
  height:auto;
}
.flatpickr-input {
  text-align: center;
  display:none;
}
.flatpickr-months,
.flatpickr-monthDropdown-months,
.flatpickr-monthDropdown-month,
.flatpickr-current-month input.cur-year {
color: #000000 !important;
}
.flatpickr-day.selected,
.flatpickr-day.selected:hover,
.flatpickr-day.selected:focus,
.flatpickr-day.selected:active{
  color: black !important;
  background-color: var(--theme-highlight-color) !important;
  border: 1px solid var(--theme-color-light);
}
.flatpickr-calendar::before,
.flatpickr-calendar::after{
  display: none !important;
}
.highlighted-day{
  color:rgb(255, 255, 255) !important;
  background-color: var(--theme-color-dark) !important;
}
button {
  border-radius: 1rem;
}
.outer-render-div.is-dynamic-split{
  flex: 1 0 auto !important;
  height: auto;
  min-height: 0;
}
.render-map-div{
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
}
#map{
  height: inherit;
  width: inherit;
  padding:0;
  margin:0;
}
.inner-render-div.is-draggable{
  display: flex;
  flex: 0 1 auto;
  height: fit-content;
  flex-direction: column;
  align-items: center;
  border-radius: 1rem 1rem 0 0;
  bottom:0;
  left: 0;
  right: 0;
  border-top: var(--theme-color-light);
  background-color: var(--theme-color);
  width:100%;
  min-height: 20vh;
  min-height: 20dvh;
  max-height: 50vh;
  max-height: 50dvh;
  margin-top: -0.35rem; /* so other things show under border-radius*/
  z-index: 2;
}
.draggable-handle-div{
  display:flex;
  justify-content: center;
  align-items: center;
  border-radius: inherit;
  background-color: inherit;
  height:10px;
  width: 100%;
  cursor: grab;
}
.draggable-handle{
  height:5px;
  width: 40px;
  margin: 1rem;
  border-radius: 1rem;
  background-color: var(--theme-color-very-light);
}
.location{
  justify-content: center;
  align-items: center;
  position: relative;
  width: 20rem;
  height: 2rem;
  background-color: var(--theme-color-light) !important;
}
.location:first-child{
  border-radius: 0.5rem 0.5rem 0 0;
}
.location:last-child{
  border-radius: 0 0 0.5rem 0.5rem;
}
.location::before {
  content: '';
  position: absolute;
  top: 0.6rem;
  left: -0.65rem;
  transform: scaleX(.1) scaleY(.3);
  width: 2.75rem;
  height: 2.75rem;
  background-color: rgba(200, 200, 200);
  z-index: 3 !important;
}
.location:last-child::before{
  display:none;
}
.location::after {
  content: '';
  position: absolute;
  width: 90%;
  height: 0.1rem;
  bottom: 0;
  right:0;
  background-color: var(--theme-color);
  z-index: 3 !important;
}
.location:last-child::after{
  display:none;
}
.location img{
  height: 1rem;
  margin:0.2rem;
  width: auto;
}
.location input{
  border: 0;
  border-radius: 0;
}
.location label{
  margin: 0;
  padding: 0.5rem;
  min-height: 2rem;
  min-width: 0;
  width: 100%;
  height: 100%;
  border-radius: 0.5rem;
  text-align: left;
  font-size: 0.8rem;
}
.location button{
  margin: 0;
  padding: 0.5rem;
  border: 0;
  min-height: 2rem;
  min-width: 0;
  width: 100%;
  height: 100%;
  border-radius: 0.5rem;
  text-align: left;
  background-color: var(--theme-color-light);
  color: var(--theme-color-dark);
}
/*
.location button:first-child{
  border-radius: 0.5rem 0.5rem 0 0;
}
.location button:last-child{
  border-radius: 0 0 0.5rem 0.5rem;
}*/
.location.close{
  display:flex;
  justify-content:center;
  align-items: center;
  width:2rem;
  border-radius: 0.5rem;
  color: var(--theme-white-color);
}
.popup-render-div{
  display:none;
}
.popup-render-div.is-open{
  z-index: 5;
  display:flex;
  flex-direction: column;
  align-items: center;
  position:absolute;
  overflow:auto;
  height:80vh;
  height:80dvh;
  width:90vw;
  padding:1rem;
  gap:1rem;
  border-radius: 1rem;
  background-color: var(--theme-color);
  border: 0.5rem solid var(--theme-color-dark);
}
.popup-render-div.is-open input{
  color:rgb(255, 255, 255);
  background-color: var(--theme-color-light);
  padding:0.1rem;
  border-radius: 1rem;
  width: 19rem;
}
.popup-render-div.is-open button{
  color:rgb(255, 255, 255);
  background-color: var(--theme-color-light);
  padding:0.5rem;
  border-radius: 1rem;
  width: 5rem;
}
.checkbox{
  display:flex;
  position: relative;
  width:15rem;
  padding:0.5rem;
  margin: 0.2rem;
  border-radius: 1rem;
  background: var(--background-color-light);
  border-style: solid;
  border-width: 0.2rem;
  border-color: var(--background-color-dark);
  
}
.checkbox label{
  width: fit-content;
}
.checkbox small{
  color:inherit;
}
.checkbox input{
  width: 100%;
  border-radius: 0;
  border: none;
  outline: none;
  padding: 0;
  font-size: 1rem;
  
  width: fit-content;
}
.checkbox img{
  display:none;
}
.checkbox small{
  display: none !important;
}
.checkbox.is-selected{
  border-color: var(--theme-highlight-color);
}
.checkbox.is-selected img{
  display:flex;
  position:absolute;
  right: 0;
  width: 1rem;
  height: 1rem;
  right: 0.4rem;
}
.checkbox.is-selected small{
  display:flex !important;
}
.inventory{
  /*heavy ducttape*/
  width: 100%;
}
.code-entry{
  width:20rem;
  align-items: center;
  justify-content: center;
}
.code-entry input{
  width:6rem;
  border-radius: 0;
  background-color: var(--background-color-light);
  color: var(--font-color);

}
.code-entry button{
  min-width: fit-content;
  border-radius: 0;
  margin: 0;
  background-color: var(--background-color-light);
  color: var(--font-color);
}
.code-entry .is-valid{
  background-color: green;
}
.code-entry .is-invalid{
  background-color: var(--theme-red-color);
}
.submit {
  background-color: var(--theme-red-color) !important;
  color: rgb(250, 250, 250) !important;
}