@font-face {
  font-family: Ubuntu;
  src: url(../fonts/Ubuntu-R.ttf);
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  height: 100%;
}

body {
  background-color: #EFE9E7;
  color: black;
  font-family: Ubuntu;
  font-size: 12pt;
  width: 100%;
  min-height: 100%;
  padding: 0 1em;
  --link: #BA1B1D;
}

.navbar {
  position: sticky;
  top: 0;
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  height: 3rem;
  margin: 0 -1rem;
  background-color: #BA1B1D;
  color: #EFE9E7;
  z-index: 100;
}
.navbar a {
  color: inherit;
  text-decoration: none;
  display: grid;
  place-items: center;
  flex-grow: 1;
  border-right: solid #EFE9E7 2px;
  position: relative;
  flex-basis: 100%;
  text-align: center;
}
.navbar a:last-child {
  border-right: none;
}
.navbar a[current]::before {
  content: "";
  position: absolute;
  width: 0.5em;
  height: 0.5em;
  border-radius: 0.25em;
  background-color: #EFE9E7;
  transform: translateY(1em);
}
.navbar a .text {
  display: block;
}
.navbar a .icon {
  display: none;
  width: 2em;
  height: 2em;
  background-color: white;
  mask-image: var(--src);
  -webkit-mask-image: var(--src);
  mask-size: contain;
  -webkit-mask-size: contain;
}

footer {
  position: sticky;
  top: 100%;
  background-color: #564D4A;
  color: white;
  margin: 5rem -1rem 0 -1rem;
  padding: 1em 2em;
  font-size: 100%;
}
footer .sitemap {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(3, 1fr);
  gap: 0.5em;
  padding: 1em;
  place-items: flex-start;
}
footer .sitemap a {
  color: white;
  font-size: 90%;
}
footer .copyright {
  text-align: center;
}
footer .creator {
  text-align: center;
  font-size: 80%;
}

.template {
  display: none !important;
}

.banner {
  position: sticky;
  top: 3rem;
  margin: 0 -1rem;
  min-height: 3em;
  background-color: #f3d0a4;
  z-index: 100;
  padding: 0.5em;
  color: black;
  font-weight: bold;
  font-style: italic;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 120%;
  text-align: center;
}

a.map {
  background-image: url("/images/map_icon.svg");
  background-size: contain;
  width: 1.5em;
  height: 1.5em;
}

#notifs {
  font-size: 120%;
  z-index: 300;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: max-content;
  margin: auto;
  display: flex;
  flex-direction: column-reverse;
  gap: 1em;
  padding-top: 1em;
  max-width: min(30em, 80%);
}
#notifs .notif {
  --col-bg: #EBF5FF;
  --col-text: #1A56DB;
  --col-border: #93BCFA;
  --col-icon: #77AAFB;
  --icon: url(../images/notif_info.svg);
  border: solid var(--col-border) 2px;
  border-radius: 4px;
  padding: 0.5em 1em 0.5em 2em;
  background-color: var(--col-bg);
  color: var(--col-text);
  position: relative;
}
#notifs .notif::before {
  content: "";
  background-color: var(--col-icon);
  mask-image: var(--icon);
  -webkit-mask-image: var(--icon);
  mask-size: cover;
  -webkit-mask-size: cover;
  width: 1.2em;
  height: 1.2em;
  position: absolute;
  left: 1em;
  top: 50%;
  transform: translate(-50%, -50%);
}
#notifs .notif.success {
  --col-bg: #F1FAF7;
  --col-text: #05543F;
  --col-border: #33C48D;
  --col-icon: #31C48D;
  --icon: url(../images/notif_success.svg);
}
#notifs .notif.warn {
  --col-bg: #FEFDEB;
  --col-text: #8D4B0F;
  --col-border: #E9B640;
  --col-icon: #E2A109;
  --icon: url(../images/notif_warn.svg);
}
#notifs .notif.error {
  --col-bg: #FDF1F1;
  --col-text: #991B1C;
  --col-border: #E63E3E;
  --col-icon: #E63E3D;
  --icon: url(../images/notif_error.svg);
}

.button {
  font-family: inherit;
  font-size: inherit;
  height: 2em;
  padding: 0.25em 1em;
  width: max-content;
  border-radius: 1em;
  display: grid;
  place-items: center;
  text-decoration: none;
  background-color: #BA1B1D;
  color: white;
  border: none;
  cursor: pointer;
}
.button:disabled {
  color: #1a1a1a;
  background-color: #bdabaf;
}

input[type=checkbox] {
  width: 1.6em;
  height: 1.6em;
  border-radius: 0.4em;
  border: solid black 1px;
  appearance: none;
  background-color: white;
  cursor: pointer;
  position: relative;
  vertical-align: middle;
}
input[type=checkbox]:checked {
  background-color: #ba1b1d;
  border: none;
}
input[type=checkbox]:checked::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.7em;
  height: 0.35em;
  border: white 4px;
  border-style: none none solid solid;
  transform: translate(-50%, -80%) rotate(-45deg);
}

@keyframes loader {
  from {
    transform: rotate(-45deg);
  }
  to {
    transform: rotate(315deg);
  }
}
#loader {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 10;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.2s, opacity 0.2s;
}
#loader .spinner {
  width: 8em;
  height: 8em;
  border-radius: 4em;
  border-width: 1em;
  border-color: red transparent;
  border-style: solid;
  animation: loader 1s infinite;
}
#loader.show {
  opacity: 1;
  visibility: visible;
}

.disclaimer {
  padding: 2em;
  font-size: 120%;
  text-align: justify;
  text-align-last: center;
  border: solid 2px var(--col);
  position: relative;
  --col: black;
  --icon: none;
}
.disclaimer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 2em;
  height: 2em;
  background-color: var(--col);
  -webkit-mask-image: var(--icon);
  mask-image: var(--icon);
  -webkit-mask-size: 100%;
  mask-size: 100%;
}
.disclaimer.info {
  --col: #564e4e;
  --icon: url(/images/info_icon.svg);
}
.disclaimer.warning {
  --col: #ba5e1b;
  --icon: url(/images/warning_icon.svg);
}
.disclaimer.critical {
  --col: #BA1B1D;
  --icon: url(/images/critical_icon.svg);
}

.sitename {
  padding: 1em;
  text-align: center;
}

.order-state {
  width: 3.5em;
  height: 3.5em;
  background-color: var(--col);
  border-radius: 0.5rem;
  padding: 0.5em;
  vertical-align: middle;
  position: relative;
  display: grid;
  place-items: center;
  box-shadow: 1px 1px 0 1px var(--col2);
  user-select: none;
}
.order-state img {
  object-fit: contain;
  width: 100%;
  height: 100%;
  transition: opacity 0.5s;
  opacity: 1;
}
.order-state span {
  font-size: 70%;
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border-radius: 0.5rem;
  text-align: center;
  transition: opacity 0.5s;
  opacity: 0;
  font-weight: bold;
  transform: rotate(-45deg);
  will-change: opacity;
}
.order-state:hover img {
  opacity: 0;
}
.order-state:hover span {
  opacity: 1;
}
.order-state.state-shopping {
  --col: #e7e7e7;
  --col2: #a5a5a5;
}
.order-state.state-validated {
  --col: #fff365;
  --col2: #c3b957;
}
.order-state.state-quoted {
  --col: #ffaf6c;
  --col2: #b57b4c;
}
.order-state.state-paid {
  --col: #9bdaff;
  --col2: #71a4c1;
}
.order-state.state-ready {
  --col: #fb9686;
  --col2: #b16b60;
}
.order-state.state-sent {
  --col: #86fb9a;
  --col2: #5cb96c;
}
.order-state.state-scheduled {
  --col: #ad9bff;
  --col2: #8071c1;
}
.order-state.state-collected {
  --col: #86fb9a;
  --col2: #5cb96c;
}

@media (max-width: 768px) {
  footer {
    padding: 1em;
  }
  footer .sitemap {
    padding: 0.5em 0;
    grid-template-rows: none;
    grid-template-columns: auto auto;
    grid-auto-flow: row;
  }
  .banner {
    font-size: 100%;
  }
}
@media (orientation: portrait) {
  .navbar a .text {
    display: none;
  }
  .navbar a .icon {
    display: block;
  }
  .navbar a[current]::before {
    transform: translateY(1.2em);
  }
}
@media (max-width: 425px) {
  .navbar {
    font-size: 80%;
  }
  .navbar a .text {
    display: none;
  }
  .navbar a .icon {
    display: block;
  }
  .navbar a[current]::before {
    transform: translateY(1.5em);
  }
  footer .sitemap {
    grid-template-columns: auto;
    gap: 0.8em;
  }
  .banner {
    font-size: 80%;
  }
}
/*@media screen and (max-width: 768px) {
	body {
		font-size: 10pt;
	}
}*/

/*# sourceMappingURL=base.css.map */
