map-viewer {
  display: block;
  height: 100%;
  width: 100%;
}
map-viewer svg {
  fill: #a51f1e;
  stroke: #000;
}
map-viewer button {
  background: linear-gradient(to bottom, #767676 0%, #474747 50%, #2d2d2d 100%);
  color: white;
  height: 30px;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
map-viewer button.ol-zoom {
  width: 30px;
  font-size: 20px;
}
map-viewer .custom-zoom-control-in {
  position: absolute;
  left: 8px;
  top: 8px;
  border-radius: 3px 3px 0 0;
}
map-viewer .custom-zoom-control-out {
  position: absolute;
  left: 8px;
  top: 38px;
  border-radius: 0 0 3px 3px;
  padding-bottom: 5px;
}
map-viewer .ol-attribution {
  pointer-events: auto;
  background-color: white;
  position: absolute;
  padding: 0 10px 0 0;
  bottom: 0;
  right: 0;
  border-radius: 6px 0 0 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-size: 14px;
}
map-viewer .ol-attribution ul {
  padding: 2px 0 2px 8px;
  list-style: none;
  margin: 0;
}
map-viewer .ol-attribution ul a {
  color: #000;
  text-decoration: none;
}
map-viewer .ol-attribution button {
  display: none;
}

aperture-window {
  max-width: calc(100% - var(--side-bar));
  border-radius: 12px;
  display: block;
  max-height: 100%;
  overflow: hidden;
  position: absolute;
  z-index: 100000;
  user-select: none;
  width: var(--aperture-width);
  height: var(--aperture-height);
  top: 8%;
  left: 2%;
}
aperture-window * {
  box-sizing: border-box;
}
aperture-window[no-icon] > header div.icon {
  display: none;
}
aperture-window world-viewer {
  --perspective: 600px !important;
}
aperture-window > header {
  align-items: center;
  background: linear-gradient(to bottom, #767676 0%, #474747 50%, #2d2d2d 100%);
  color: #f0f0f0;
  color: white;
  cursor: grab;
  display: flex;
  font-family: sans-serif;
  font-size: 14px;
  font-weight: bold;
  height: 36px;
  justify-content: space-between;
  position: relative;
  padding: 0 39px 0 17px;
  z-index: 1;
}
aperture-window > header[moving] {
  cursor: grabbing;
}
aperture-window > header > div {
  display: flex;
  white-space: nowrap;
}
aperture-window > header div.icon {
  flex: 0 0 22px;
  justify-content: flex-start;
  align-items: center;
  display: flex;
}
aperture-window > header div.icon div {
  border-radius: 50%;
  height: 9px;
  width: 9px;
  margin-top: 1px;
  margin-right: 3px;
}
aperture-window > section {
  padding: 0;
  border-width: 0 10px 10px 10px;
  border-radius: 0 0 12px 12px;
  border-color: #2d2d2d;
  border-style: solid;
  overflow: hidden;
  height: calc(100% - 40px);
  width: 100%;
  background-color: #2d2d2d;
}
aperture-window > section > * {
  border-radius: 3px;
}
aperture-window button[name="draggable"] {
  position: absolute;
  bottom: 4px;
  right: 0px;
  border-radius: 0 0 13px 0;
  overflow: hidden;
  width: 24px;
  height: 24px;
  background: none;
  border: none;
  cursor: move;
  outline: none;
  padding: 0;
  margin: 0;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
}
aperture-window button[name="draggable"] svg {
  stroke: #8e8e8e;
  fill: #0e0e0e;
}
aperture-window button[name="draggable"]:hover svg {
  stroke: #fff;
}
aperture-window button[name="close"] {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 18px;
  height: 18px;
  background: none;
  border: none;
  cursor: move;
  outline: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
}
aperture-window button[name="close"] svg {
  stroke: #8e8e8e;
}
aperture-window button[name="close"]:hover svg {
  stroke: #fff;
}
aperture-window[no-resize] button[name="draggable"] {
  display: none;
}

app-downloads {
  position: absolute;
  background: white;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}
app-downloads [name="minimize"] {
  position: absolute;
  right: 5px;
  top: 0;
}
app-downloads[embedded] {
  position: relative;
}
app-downloads[embedded] [name="minimize"] {
  display: none;
}
app-downloads header {
  font-weight: bold;
  text-align: center;
  flex: 0 0 42px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 3px darkgrey;
}
app-downloads [name="minimize"] {
  position: absolute;
  right: 5px;
  top: 0;
}
app-downloads > div {
  padding: 10px;
  overflow-x: hidden;
  overflow-y: scroll;
}
app-downloads > div .download {
  border-bottom: 1px solid #e0e0e0;
  display: flex;
}
app-downloads > div .download .version {
  font-size: 17px;
  margin-top: 5px;
  color: #3a3a3a;
  padding: 10px;
  font-weight: bold;
}
app-downloads > div .download .version span {
  color: #4a4a4a;
  font-size: 10px;
  font-weight: 300;
  margin-left: 10px;
}
app-downloads > div .download .description {
  width: 100%;
  font-size: 16px;
  margin-top: 5px;
  color: #6f6f6f;
  padding: 0 10px 10px 10px;
}
app-downloads > div .download .link {
  margin-left: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}
app-downloads > div .download .link a svg {
  width: 60px;
  height: auto;
  fill: #7e7e7e;
}

map-options {
  border-radius: 3px;
  position: absolute;
  margin-left: -125px;
  top: 6px;
  left: 50%;
  width: 100px;
  color: white;
  overflow: hidden;
  max-height: 30px;
  max-width: 300px;
  white-space: nowrap;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  transition: all 0.3s;
  width: 250px;
  display: flex;
  justify-content: center;
  align-items: center;
}
map-options [down] {
  background: linear-gradient(to bottom, #2d2d2d 0%, #474747 50%, #767676 100%);
}
map-options button {
  width: 100%;
  height: 30px;
  font-weight: bold;
  margin: 0 5px;
  background: linear-gradient(to bottom, #767676 0%, #474747 50%, #2d2d2d 100%);
  border-radius: 3px;
}

vehicle-list {
  border-radius: 3px;
  position: absolute;
  top: 6px;
  right: 6px;
  background: linear-gradient(to bottom, #767676 0%, #474747 50%, #2d2d2d 100%);
  color: white;
  overflow: hidden;
  max-height: 30px;
  padding: 0 10px;
  max-width: 340px;
  white-space: nowrap;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  transition: all 0.3s;
  width: 100px;
}
vehicle-list button {
  height: 30px;
  font-weight: bold;
}
vehicle-list[expanded] {
  max-height: 100%;
  width: 360px;
}
vehicle-list button {
  background: none !important;
  width: 100%;
}
vehicle-list ul {
  padding: 0;
  margin: 0 0 7px;
}
vehicle-list li {
  cursor: pointer;
  list-style: none;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  display: flex;
  padding: 4px 0;
  font-size: 14px;
  color: #dcdbdb;
}
vehicle-list li:hover {
  color: white;
}
vehicle-list li div.icon {
  flex: 0 0 22px;
  justify-content: center;
  align-items: center;
  display: flex;
}
vehicle-list li div.icon div {
  border-radius: 50%;
  height: 9px;
  width: 9px;
  margin-top: 1px;
  margin-right: 3px;
}
vehicle-list li div.name {
  flex: 0 0 50px;
  overflow: hidden;
  text-overflow: ellipsis;
}
vehicle-list li div.initials {
  flex: 0 0 42px;
  overflow: hidden;
  text-overflow: ellipsis;
}
vehicle-list li div.phone-number {
  flex: 0 0 75px;
  overflow: hidden;
  text-overflow: ellipsis;
}
vehicle-list li div.date {
  flex: 0 0 115px;
  overflow: hidden;
  text-align: center;
  justify-self: flex-end;
  margin-left: auto;
}
vehicle-list li button {
  height: 16px;
  margin: 0;
  padding: 0;
  flex: 0 0 22px;
  overflow: hidden;
  text-align: center;
  justify-self: flex-end;
  margin-left: auto;
}
vehicle-list li button svg {
  height: 16px;
  width: auto;
  fill: white;
}

fleet-logger switch-button {
  margin: 0 0 12px;
}
fleet-logger [name="status"] {
  color: #656565;
  margin-bottom: 20px;
}
fleet-logger [name="initials"] {
  text-transform: uppercase;
}
fleet-logger[running] input[type="text"] {
  pointer-events: none;
  color: #aaaaaa;
}
fleet-logger[running] [name="status"] {
  color: #1a1a1a;
}
fleet-logger .home-link {
  height: 53px;
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-decoration: none;
}
fleet-logger .home-link div {
  font-size: 14px;
  padding-top: 1px;
  color: #555555;
}
fleet-logger .home-link div:first-of-type {
  font-weight: bold;
}
fleet-logger .home-link div:last-of-type svg {
  fill: #848484;
  width: auto;
  height: 20px;
  margin-top: 4px;
  margin-bottom: -5px;
  margin-left: -5px;
}

switch-button {
  --width: 83px;
  --height: 49px;
  --ball: calc(70 / 3px);
  -moz-appearance: none;
  -webkit-appearance: none;
  -webkit-border-radius: 16px;
  appearance: none;
  border-radius: 16px;
  border: none;
  cursor: pointer;
  height: 52px;
  margin: 0;
  padding: 6.5px 11px;
  position: relative;
  width: 83px;
  z-index: 0;
}
switch-button:focus {
  outline: 0;
}
switch-button[disabled] {
  opacity: 0.4;
}
switch-button span {
  -moz-transition-duration: 500ms;
  -o-transition-duration: 500ms;
  -webkit-transition-duration: 500ms;
  color: rgba(255, 255, 255, 0.8);
  display: block;
  font-size: 12px;
  line-height: 28px;
  position: absolute;
  transition-duration: 500ms;
  z-index: 1;
}
switch-button span.off {
  text-indent: 20px;
  left: 32px;
  top: 11px;
}
switch-button span:first-of-type {
  opacity: 0;
  top: 11px;
}
switch-button[checked] span:first-of-type {
  opacity: 1;
  color: white;
}
switch-button[checked] span.off {
  opacity: 0;
}
switch-button:before {
  background: #973131;
  border-radius: 100px;
  content: ' ';
  height: var(--height);
  left: 1px;
  position: absolute;
  top: 1px;
  width: var(--width);
  z-index: 1;
}
switch-button[checked]:before {
  width: var(--width);
  height: var(--height);
  background: #65a348;
}
switch-button:after {
  -moz-transition-duration: 300ms;
  -o-transition-duration: 300ms;
  -webkit-transition-duration: 300ms;
  background: white;
  border-radius: 50%;
  content: ' ';
  height: 42px;
  left: 4px;
  position: absolute;
  top: 4px;
  transition-duration: 300ms;
  width: 42px;
  z-index: 2;
}
switch-button[checked]:after {
  left: 38px !important;
}

delivery-list {
  background: white;
  box-shadow: 0 0 10px silver;
  display: flex;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  flex-direction: column;
  align-items: center;
  transition: all 500ms;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}
delivery-list [name="expand"] {
  position: absolute;
  right: 5px;
  top: 0;
}
delivery-list [name="refresh"] {
  position: absolute;
  left: 5px;
  top: 0;
}
delivery-list [name="refresh"] svg {
  transform: none !important;
}
delivery-list[refreshing] {
  poointer-events: none;
}
delivery-list[refreshing] [name="refresh"] {
  animation: loader-rotate 1s linear infinite;
}
delivery-list svg {
  width: 94px;
  height: auto;
  align-self: center;
  transform: rotateX(180deg);
}
delivery-list .info {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 10px;
  opacity: 0.4;
  margin-top: 15px;
  font-size: 12px;
  font-weight: bold;
  margin-bottom: 10px;
}
delivery-list .info > div {
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
delivery-list .info > div:first-of-type {
  margin-right: 30px;
}
delivery-list .info > div:first-of-type svg {
  margin-right: 10px;
}
delivery-list .info > div:last-of-type svg {
  margin-left: 10px;
}
delivery-list .info svg {
  width: 28px;
}
delivery-list[state=maximized] {
  transform: translatey(0);
}
delivery-list[state=maximized] .info {
  display: flex;
}
delivery-list[state=minimized] {
  transform: translatey(calc(100% - 44px));
}
delivery-list[state=minimized] svg {
  transform: rotateX(0deg);
}
delivery-list[state=hidden] {
  transform: translatey(100%);
}
delivery-list[state=hidden] svg {
  transform: rotateX(0deg);
}
delivery-list [name="deliveries-list"] {
  display: flex;
  height: 100%;
  flex-direction: column;
  width: 100%;
  overflow-y: scroll;
}
delivery-list header {
  font-weight: bold;
  text-align: center;
  flex: 0 0 42px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 3px darkgrey;
}
delivery-list .last-update {
  margin-top: 25px;
  margin-bottom: 10px;
  font-size: 10px;
  text-align: center;
  color: #575757;
}
delivery-list .eta-date {
  color: #ff9500;
}
@keyframes loader-rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
button.icon {
  width: 42px;
  height: 42px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: none;
  background-color: transparent;
}
button.icon svg {
  width: 100%;
  height: auto;
  fill: #575757;
}

delivery-control {
  background: white;
  box-shadow: 0 0 10px silver;
  display: flex;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  flex-direction: column;
  align-items: center;
  transition: all 500ms;
  z-index: 1;
  padding-bottom: calc(74px + var(--editor-height, 42px));
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}
delivery-control[busy] > * {
  opacity: 0.5;
}
delivery-control [name=delivery-status] {
  flex: 0 0 32px;
  padding: 0 0 0 10px;
  position: absolute;
  top: 8px;
  left: 3px;
}
delivery-control [name=delivery-status] svg {
  width: auto;
  height: 30px;
  transform: none;
  fill: #9a9a9a;
}
delivery-control [name=details] {
  overflow-y: auto;
  overflow-x: hidden;
  width: 100%;
}
delivery-control > button {
  width: 18px;
  height: auto;
}
delivery-control .actions {
  width: 100%;
  height: calc(74px + var(--editor-height, 42px));
  position: absolute;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: white;
  padding-top: 10px;
  box-shadow: 0 0 4px #a0a0a0;
}
delivery-control .actions > button {
  background: linear-gradient(180deg, #767676 0, #474747 50%, #2d2d2d);
  color: white;
  width: calc(100% - 20px);
  border-radius: 3px;
  height: 42px;
  font-size: 16px;
  border: none;
  border-radius: 25px;
}
delivery-control .actions > button[disabled] {
  background: #cccccc;
  color: #6a6a6a;
}
delivery-control .actions > button[name="undeliver"] {
  background: #931722;
}
delivery-control a {
  display: contents;
  text-decoration: none;
  color: #191c1f;
}
delivery-control [name="minimize"] {
  position: absolute;
  right: 5px;
  top: 0;
}
delivery-control svg {
  width: 94px;
  height: auto;
  align-self: center;
}
delivery-control[hidden] svg {
  transform: rotateX(0deg);
}
delivery-control [name="deliveries-list"] {
  display: flex;
  height: 100%;
  flex-direction: column;
  width: 100%;
  overflow-y: scroll;
}
delivery-control header {
  font-weight: bold;
  text-align: center;
  flex: 0 0 42px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 3px darkgrey;
}
delivery-control .line-form {
  flex: 0 0 42px;
  width: 100%;
  display: flex;
  align-items: center;
  border-top: 1px solid #cccccc8f;
}
delivery-control .line-form > * {
  flex: 1;
}
delivery-control .line-form label {
  text-align: left;
  flex: 0 0 135px;
  color: #6a6a6a;
  padding: 10px 0 10px 10px;
  height: 42px;
  display: flex;
  align-items: center;
}
delivery-control .line-form div {
  text-align: right;
  font-weight: 500;
  padding: 10px 10px 10px 0;
  display: flex;
  justify-content: flex-end;
  flex-direction: column;
}
delivery-control .line-form.delivery-message {
  align-items: flex-start;
}
delivery-control .line-form.delivery-message span {
  font-size: 14px;
  padding-top: 1px;
  color: #555555;
}
delivery-control .line-form.address {
  align-items: flex-start;
  color: #191c1f;
  position: relative;
}
delivery-control .line-form.address span {
  font-size: 14px;
  padding-top: 1px;
  color: #555555;
}
delivery-control .line-form.address button {
  background: none;
  display: flex;
  align-items: center;
  border: none;
  margin-left: auto;
  color: #848484;
  padding: 6px 0 0;
  position: absolute;
  left: 7px;
}
delivery-control .line-form.address button svg {
  fill: #848484;
  width: auto;
  height: 20px;
  margin-right: 2px;
}
delivery-control .line-form.double > div {
  flex: 0 0 50%;
  flex-direction: row;
  overflow: hidden;
  padding: 0;
  justify-content: space-between;
}
delivery-control .line-form.double > div:first-of-type {
  border-right: 0.5px solid #cccccc8f;
}
delivery-control .line-form.double > div:last-of-type {
  border-left: 0.5px solid #cccccc8f;
}
delivery-control .line-form.double > div label {
  display: flex;
  justify-content: flex-start;
  flex: 0 0 100px;
  font-weight: 400;
}
delivery-control .line-form.comments {
  align-items: flex-start;
  color: #191c1f;
}
delivery-control .line-form.comments > div {
  display: flex;
  align-items: flex-end;
}

signature-pad {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  flex-direction: column;
  background-color: white;
  box-sizing: border-box;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}
signature-pad * {
  box-sizing: border-box;
}
signature-pad header {
  font-weight: bold;
  font-family: system-ui;
  box-shadow: none;
  margin: 10px;
  display: flex;
  justify-content: stretch;
  width: calc(100% - 20px);
}
signature-pad header > div:first-of-type {
  background-color: #f6f6f6;
  border-radius: 6px;
  padding: 10px 15px;
  flex: 1;
  margin: 0 5px;
}
signature-pad header > div:last-of-type {
  flex: 0;
  display: flex;
}
signature-pad header button {
  background: black;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 10px 25px;
  font-weight: bold;
  font-family: system-ui;
  cursor: pointer;
  margin: 0 5px;
}
signature-pad header button[name=save] {
  background: #03a10e;
}
signature-pad header button[name=cancel] {
  background: #ff3037;
}
signature-pad header button[name=clear] {
  background: #424245;
}
signature-pad canvas {
  position: static;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

comment-editor {
  position: absolute;
  display: flex;
  flex-direction: row;
  width: 100%;
  background-color: white;
  bottom: 0;
  padding: 10px;
}
comment-editor[busy] {
  pointer-events: none;
  opacity: 0.5;
}
comment-editor > textarea {
  font-family: system-ui;
  border: none;
  background-color: #efefef;
  border-radius: 25px;
  flex: 1;
  margin-right: 10px;
  font-size: 17px;
  padding: 13px 20px;
  height: 42px;
  -webkit-user-select: all;
  user-select: all;
  line-height: 0.9;
}
comment-editor > textarea::-moz-selection {
  /* Code for Firefox */
  color: white;
  background: black;
}
comment-editor > textarea::selection {
  color: white;
  background: black;
}
comment-editor button[name=take-picture],
comment-editor button[name=sign] {
  position: absolute;
  background: none;
  border: none;
  right: 71px;
  height: 42px;
  display: flex;
  justify-content: center;
  align-items: center;
}
comment-editor button[name=take-picture] > svg,
comment-editor button[name=sign] > svg {
  width: 32px;
  height: auto;
}
comment-editor button[name=sign] {
  right: 112px;
}
comment-editor button[name=sign] > svg {
  width: 28px;
}
comment-editor button[name=send] {
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(180deg, #767676 0, #474747 50%, #2d2d2d);
  color: white;
  width: calc(50% - 10px);
  border: none;
  height: 42px;
  width: 42px;
  font-size: 16px;
  align-self: flex-end;
  opacity: 0.6;
  transition: all 0.2s ease-in-out;
}
comment-editor button[name=send] > svg {
  width: 27px;
  height: auto;
  fill: white;
  padding-left: 4px;
}
comment-editor[has-text] button[name=take-picture],
comment-editor[has-text] button[name=sign] {
  transform: translatex(150px);
}
comment-editor[has-text] button[name=send] {
  opacity: 1;
}
text-comment {
  background-color: #efefef;
  border-radius: 15px;
  padding: 5px 10px;
  width: fit-content;
  margin-bottom: 6px;
  text-align: left;
}

delivery-picture img,
delivery-picture div {
  max-width: 100px;
  max-height: 100px;
  margin: 0 3px 6px;
  border-radius: 6px;
}
delivery-picture div {
  width: 100px;
  height: 56px;
  background: #e3e3e3;
  background: linear-gradient(126deg, #e3e3e3 0%, #a1a1a1 100%);
  animation: loader 3s ease infinite;
  background-size: 400% 400%;
}
@keyframes loader {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

media-viewer {
  overflow: scroll;
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 10000;
  top: 0;
  left: 0;
  background-color: black;
  display: flex;
  align-items: center;
  align-content: center;
  transition: all 0.3s;
  transform: scale(0.3);
  opacity: 0;
}
media-viewer img {
  position: absolute;
  transition: all 0.3s ease-out;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
}
media-viewer button[name=close] {
  top: 18px;
  right: 15px;
  position: absolute;
  background: transparent;
  border: none;
  cursor: pointer;
}
media-viewer button[name=close] svg {
  height: 16px;
  width: auto;
  fill: white;
  filter: drop-shadow(0px 0px 8px #000);
  -webkit-filter: drop-shadow(0px 0px 2px #777);
}
media-viewer[open] {
  transform: scale(1);
  opacity: 1;
}
media-viewer[closing] {
  transform: translateY(-50%);
  opacity: 0;
}

delivery-details {
  max-height: 42px;
  transition: max-height 0.5s cubic-bezier(0, 1, 0, 1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
delivery-details button {
  display: none;
  height: 22px !important;
  margin-left: auto;
  margin-right: -12px;
}
delivery-details button svg {
  transform: rotate(180deg);
  transition: all 0.5s;
}
delivery-details .loader {
  display: none !important;
  width: 42px;
  height: 25px;
  justify-content: center;
  align-items: center;
  margin-left: auto;
  margin-right: -12px;
  padding: 0 !important;
  margin-top: -3px;
}
delivery-details .loader svg {
  fill: #575757;
  animation: loader-rotate 1s linear infinite;
  width: 100%;
  height: auto;
}
delivery-details[loading] .loader {
  display: flex !important;
}
delivery-details[loading] button {
  display: none;
}
delivery-details[open] {
  max-height: 1000px;
  transition: max-height 1s ease-in-out;
}
delivery-details[open] button svg {
  transform: rotate(0deg);
}
delivery-details .item {
  font-size: 14px;
  padding: 1px 10px 5px;
  color: #555555;
  display: flex;
  pad: 10px;
}
delivery-details .item .quantity {
  flex: 0 0 20px;
}
delivery-details .item .item-no {
  flex: 0 0 150px;
}
delivery-details .item .description {
  text-align: right;
  margin-left: auto;
}

delivery-info {
  position: relative;
  --slidy-width: 0;
  touch-action: pan-y;
}
delivery-info[busy] {
  opacity: 0.5;
  pointer-events: none;
}
delivery-info mark-loaded,
delivery-info mark-unloaded {
  width: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  padding: 0;
  margin: 0;
  height: 100%;
  background-color: #65a348;
  position: absolute;
  font-family: system-ui;
  font-weight: bold;
  text-align: center;
  font-size: calc((16px / 100) * var(--slidy-width));
  padding: 0 10px;
}
delivery-info mark-unloaded {
  background-color: #973131;
  right: 0;
}
delivery-info > div {
  background-color: white;
  transition: transform 0.2s;
  transform: translatex(var(--slidy-width));
  display: flex;
  flex: 0 0 50px;
  width: 100%;
  border-top: 1px solid #cccccc8f;
  font-size: 13px;
  padding: 5px 0;
}
delivery-info > div .next-delivery {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible;
  flex: 0 0 1px;
  padding: 0;
  height: auto;
}
delivery-info > div .next-delivery > div {
  background-color: #65a348;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  position: absolute;
  margin-left: -47px;
}
delivery-info > div > div {
  padding: 0 5px;
  height: 100%;
  display: flex;
  align-items: center;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
}
delivery-info > div .invoice-no {
  flex: 0 0 60px;
}
delivery-info > div .type {
  bottom: 18px;
  font-size: 8px;
  text-transform: uppercase;
  padding: 1px 3px;
  border-radius: 2px;
  /* text-orientation: sideways; */
  display: block;
}
delivery-info > div .type[return] {
  color: #973131;
}
delivery-info > div .type[invoice] {
  color: #65a348;
}
delivery-info > div .order-delivery {
  flex: 0 0 68px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
delivery-info > div .order-delivery .order-no {
  font-weight: 500;
}
delivery-info > div .priority {
  flex: 0 0 40px;
  justify-content: center;
}
delivery-info > div .address {
  flex: 1;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  font-size: 12px;
}
delivery-info > div .address .delivery-name {
  font-weight: bold;
}
delivery-info > div .status {
  flex: 0 0 32px;
  padding: 0 0 0 10px;
}
delivery-info > div .status svg {
  padding-top: 1px;
  width: auto;
  height: 20px;
  transform: none;
  fill: #9a9a9a;
}
delivery-info > div .status span {
  display: none;
}
delivery-info[status=complete] .status span[name=complete] {
  display: block;
}
delivery-info[status=ongoing] .status span[name=ongoing] {
  display: block;
}
delivery-info[status=unloaded] .status span[name=unloaded] {
  display: block;
}

aperture-window delivery-list,
aperture-window delivery-control {
  position: relative !important;
}

quick-lookup {
  align-items: center;
  display: flex;
  height: 100vh;
  justify-content: center;
  pointer-events: none;
  position: absolute;
  width: 100vw;
  left: 0;
  top: 0;
  transition: all 0.3s ease-in-out;
  transform: translatey(-100%);
  opacity: 0;
}
quick-lookup * {
  box-sizing: border-box;
}
quick-lookup[show] {
  transform: translatey(0);
  opacity: 1;
}
quick-lookup > div {
  pointer-events: all;
  width: 600px;
  height: fit-content;
  box-shadow: 0 0 40px 0 #ccc;
  background: linear-gradient(180deg, #fff, #fdfdfd, #fbfbfb, #f9f9f9, #f6f6f6, #f4f4f4, #f2f2f2, #f0f0f0);
  border-radius: 10px;
  display: flex;
  border: 5px solid #aeaeae;
  flex-direction: column;
  overflow: hidden;
}
quick-lookup > div [name=search] {
  display: flex;
  justify-content: center;
  align-items: center;
}
quick-lookup > div [name=search] .hint {
  display: flex;
  justify-content: center;
  align-content: center;
  flex: 0 0 142px;
  background-color: #848484;
  color: white;
  margin: 0 30px;
  padding: 4px;
  border-radius: 3px;
  font-family: sans-serif;
  font-size: 14px;
}
quick-lookup > div input {
  width: 100%;
  height: 50px;
  font-size: 20px;
  border-width: 0;
  background-color: transparent;
  padding: 10px 15px;
  margin: 0;
  flex: 1 1 auto;
}
quick-lookup > div input:focus {
  outline: none;
}
quick-lookup > div [name=results] {
  font-size: 17px;
  font-family: sans-serif;
}
quick-lookup > div [name=results] .car {
  height: 42px;
  padding: 0 7px 0 12px;
  border-top: 1px solid #ececec;
  display: flex;
  align-items: center;
  font-size: 17px;
}
quick-lookup > div [name=results] .car > div {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
quick-lookup > div [name=results] .car .car-id {
  flex: 0 0 60px;
}
quick-lookup > div [name=results] .car .description {
  flex: 0 0 400px;
}
quick-lookup button {
  overflow: hidden;
  border: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: none;
  height: 100%;
}
quick-lookup button:first-of-type {
  margin-left: auto;
  margin-right: 7px;
}
quick-lookup button svg {
  height: 32px;
  width: auto;
  fill: black;
  opacity: 0.2;
}
quick-lookup[jump-mode=rim] [active] button[name=rim] svg {
  opacity: 0.9;
  fill: #a61e1e;
}
quick-lookup[jump-mode=tyre] [active] button[name=tyre] svg {
  opacity: 0.9;
  fill: #a61e1e;
}


/*# sourceMappingURL=homepage.4f81492a8bb611c16787.css.map*/