@font-face {
  font-display: swap; 
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 400;
  src: url("fonts/rubik-v26-latin-regular.717055430c80.woff2") format('woff2'),
       url("fonts/rubik-v26-latin-regular.9da781fd8ac5.woff") format('woff');
}

@font-face {
  font-display: swap;
  font-family: 'Rubik';
  font-style: italic;
  font-weight: 400;
  src: url("fonts/rubik-v26-latin-italic.05817617767a.woff2") format('woff2'),
       url("fonts/rubik-v26-latin-italic.b605f64e0ad1.woff") format('woff');
}

@font-face {
  font-display: swap; 
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 700;
  src: url("fonts/rubik-v26-latin-700.286d2a8ef294.woff2") format('woff2'),
       url("fonts/rubik-v26-latin-700.5130939197d3.woff") format('woff');
}

html {
    line-height: 1.3;
    -webkit-text-size-adjust: 100%;
    font-family: 'Rubik', sans-serif;
    font-size: 18px;
}
  
body {
    margin: 0;
    color: #333;
    display: grid;
    grid-template-rows: auto 1fr auto;
    grid-template-columns: 100%;
 
    /* fallback height */
    min-height:100vh;
 
    /* new small viewport height for modern browsers */
    min-height:100svh;
}

main {
    display: block;
    padding-bottom: 2em;
    max-width: 900px;
    margin: 1em auto;
}

body.full-width main {
  max-width: 100%;
  margin: 0;
  padding: 0;
}

@media (min-width: 900px) {
  main {
    min-width: 900px;
  }
}

@media (max-width: 900px) {
  main {
    margin: 5px 10px;
  }
}

header {
  width: auto;
  background-color: #0e0150;
  padding: 1em 1em;
  display: flex;
  flex-direction: row;
  gap: 0.5em;
}

header a, header p {
  color: #eee;
}

header a:hover {
  color: #ccc;
}

header h1 a {
  text-decoration: none;
}

header nav {
  align-self: center;
  text-transform: uppercase;
}

header nav a {
  margin-left: 1em;
}

@media (max-width: 600px) {
  header {
    flex-direction: column;
  }
  header nav {
    align-self: end;
  }
}

.push {
  margin-left: auto;
}

footer {
  display: flex;
  flex-wrap: wrap;
  gap: 2em;
  background-color: #0e0150;
  padding: 0em 1em;
  font-size: 0.8rem;
  padding-bottom: 2em;
  line-height: 1;
}

footer, footer a, footer p {
  color: #ddd;
}

footer ul {
  font-size: 0.9rem;
  list-style-type: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6em;
}

#footer-left {
  font-size: 0.9em;
  flex: 1;
  min-width: 10em;
}
  
h1 {
    font-size: 2em;
    margin: 0;
}

h3 {
  border-bottom: 1px solid #ddd;
}
  
hr {
    box-sizing: content-box; 
    height: 0; 
    overflow: visible; 
}
  
pre {
  font-family: monospace, monospace;
  font-size: 1em;
}

a {
  background-color: transparent;
  color: #333;
}

a:hover {
  color: #2946E6;
}


abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted;
}

b,
strong {
  font-weight: bolder;
}

code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}


small {
  font-size: 80%;
}

  
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

img {
  border-style: none;
}
  
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
  background-color: #eee;
  border: 1px solid #aaa;
  border-radius: 5px;
  padding: 0.1em 0.5em;
}

textarea {
  padding: 0.5em;
}

button,
input {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
  appearance: button;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

form {
  display: flex;
  flex-direction: column;
  gap: 0.35em;
  width: auto;
}

form.inline {
  display: inline-block;
}

fieldset {
  display: flex;
  flex-direction: column;
  gap: 0.35em;
  border: 1px #bbb solid;
  border-radius: 3px;
  margin: 0 0.75em;
  padding: 0;
  max-width: 800px;
}

fieldset .field {
  display: flex;
  justify-content: flex-end;
  margin: 0;
}

fieldset .field > label {
  padding: .5em 1em .5em 0;
  flex: 1;
}

fieldset .field > input {
  flex: 1;
}

fieldset .field > input[type="checkbox"] {
  flex: 0;
}

fieldset .field.required label {
  font-weight: bold;
}

div.form-error {
  background-color: rgb(255, 242, 242);
  border: 1px solid #f00;
  border-radius: 5px;
  padding: 0.5em;
  margin: 0.5em 0;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 1em;
}

.form-actions button, .form-actions input[type="submit"], .form-actions a.button {
  margin-left: 0.2em;
}

legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

progress {
  vertical-align: baseline;
}

textarea {
  overflow: auto;
}


[type="checkbox"],
[type="radio"] {
    box-sizing: border-box;
    padding: 0;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

[type="search"] {
    -webkit-appearance: textfield;
    appearance: textfield;
    outline-offset: -2px;
}

[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}
  
::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit;
}
  
details {
    display: block;
}

summary {
    display: list-item;
}
  
template {
    display: none;
}
  
[hidden], .hidden {
    display: none;
}

fieldset {
  border: 0;
}

div.basket {
  position: fixed;
  background-color: #fff;
  bottom: 0;
  right: 0;
  border: 1px solid #ddd;
  padding: 10px;
  border-top-left-radius: 5px;
  box-shadow: -2px -2px 3px #aaa;
}

#basket-bar {
  font-weight: bold;
  margin: -10px;
  background-color: #eee;
  padding: 5px;
}

#basket-bar a {
  text-decoration: none;
  color: #333;
}

div#basket-header {
  background-color: #eee;
  margin: -10px -10px 5px -10px;
}

div.basket h3 {
  border: 0;
  margin: 0.3em;
  display: inline-block;
}

a#basket-close {
  float: right;
  padding: 2px 10px 2px 5px;
  font-size: 1.2em;
  text-decoration: none;
}

#basket-contents ul {
  padding: 0 1em 0 1em;
}

#basket-contents dl {
  margin: 0 0.5em;
}

span.product-name {
  font-weight: 500;
}

dl.product-params {
  margin: 0.5em 0 0 0.5em;
}

.dl-item {
  display: flex;
}

dl.product-price .dl-item {
  justify-content: space-between;
}

dl.product-price dd {
  text-align: right;
}

dt, dd {
  display: block;
}

dl dt::after {
  content: ":";
}

table {
  border-collapse: collapse;
  border: 1px #ddd solid;
  width: 100%;
  margin-bottom: 1em;
}

table th {
  background-color: #ddd;
  print-color-adjust: exact;
}

table thead th {
  padding: 5px;
}

table td {
  padding: 0.2em 0.3em;
}

table tr:nth-child(even) {
  background-color: #fafafa;
  print-color-adjust: exact;
}

table td ul {
  margin: 0;
}

table caption {
  font-weight: bold;
  padding-bottom: 0.3em;
}

tfoot {
  background-color: #eee;
  print-color-adjust: exact;
  font-weight: bold;
}

.content-row {
  max-width: 100%;
  margin: 0 auto;
  margin-bottom: 1em;
}

.content-row img {
  border-radius: 5px;
  border: 1px solid #ddd;
}

div.messages {
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: #eee;
  padding: 1em;
}

@media print {
  div.messages {
    display: none;
  }
}

div.messages.success {
  background-color: rgb(227, 253, 254);
}

a.osmtag {
  display: inline-block;
  text-decoration: none;
  background-color: #eee;
  padding: 0.1em 0.2em;
  border-radius: 5px;
  margin-right: 0.2em;
  margin-bottom: 0.2em;
}

p.emphasis {
  font-size: 1.1em;
}

p.aside, p.aside a {
  font-size: 0.9em;
  color: #666;
}

div.info-box {
  background-color: #eee;
  padding: 0.5em 1em;
  border-radius: 5px;
  margin-bottom: 1em;
}

a.button, button, input[type="submit"] {
  display: inline-block;
  cursor: pointer;
  background-color: #eee;
  color: #333;
  padding: 0.3em 0.8em;
  border-radius: 5px;
  text-decoration: none;
  border: 1px solid #aaa;
}

a.button:disabled, button:disabled, input[type="submit"]:disabled {
  color: #aaa;
}

a.button:hover, button:hover:enabled, input[type="submit"]:hover {
  background-color: #ddd;
}

.button-primary {
  background-color: #E2C8E8 !important;
}

button.button-primary:hover:enabled, a.button-primary:hover {
  background-color: #C384D1 !important;
}

tr button, tr a.button {
  font-size: 0.9em;
  padding: 0.1em 0.3em;
}

div.purchase-panel {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
}

.purchase-panel .product {
  flex: 1;
  max-width: 30em;
}

.purchase-panel .product form {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.purchase-panel .product form fieldset {
  flex: 1;
}

.purchase-panel p {
  margin-top: 0;
}

dl.product-price {
  margin: 0 0.75em;
}

select.country-choice {
  font-size: 15px;
  width: 15em;
  overflow: hidden;
  text-overflow: ellipsis;
}

#payment-element {
  margin: 1em 0;
}

#payment-actions {
  align-self: end;
}

#payment-form {
  min-height: 368px;
}

.image-horizontal {
  width: 100%;
  aspect-ratio: 900/188;
}

.panel {
  display: flex;
  flex-direction: column;
  padding: 1em;
  border: 1px solid #ddd;
  border-radius: 5px;
}

.panel > * + * {
  margin-top: 1em;
}

.panel h4 {
  display: block;
  background-color: #eee;
  padding: 0.5em 1em;
  margin: -1em -1em 1em -1em;
}

.horizontal-row {
  display: flex;
  flex-direction: row;
  gap: 5px;
}

#receipt-header {
  flex:1;
  align-content: start;
}

#receipt-header dl {
  margin: 0;
}

#receipt {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
}

#receipt-footer {
  color: #666;
  font-size: 0.8em;
}

@media print {
  #receipt-footer {
    position: fixed;
    bottom: 0;
  }

  footer, nav {
    display: none;
  }
}


.account-form {
  width: 100%;
}

.account-form input, .account-form select, .account-form textarea {
  max-width: 20em;
}

.bank-instructions-container{
  display: flex;
  gap: 1em;
}

.bank-instructions {
  max-width: 30em;
}

.bank-instructions th {
  text-align: right;
  padding-right: 1em;
}

body.front-page {
  background-color: #000;
}

body.front-page main {
  min-height: 105vh;
  background-image: url("images/world.89d5de66d238.png");
  background-size: calc(max(160vw, 1800px));
  background-position: 50% 30%;
  background-repeat: no-repeat;
  width: 100%;
}

.fp-content {
  position: sticky;
  margin: auto;
  margin-top: 20vh;
  top: 1em;
  max-width: 40vw;
  min-height: 20vh;
  color: #eee;
  background-color: rgba(30, 30, 30, 0.8);
  padding: 1em;
  border-radius: 5px;
  backdrop-filter: blur(2px);

  display: flex;
  flex-direction: column;
}

@media (max-width: 900px) {
  .fp-content {
    max-width: 90vw
  }
}

.invoice-print {
  background-color: #f3f3f3;
  padding: 1em 2em;
  border-radius: 1em;
}

@media print {
  .invoice-print {
    display: none;
  }
}