@font-face {
  font-family: 'Nothing You Could Do';
  src: url('../fonts/NothingYouCouldDo.ttf');
}

* {
  transition: 200ms linear 50ms;
  padding: 0;
}

:root {
  --color-gold: #d4bb82;
  --color-platin: #e5e5e5;
  --color-white: #ffffff;
  --color-primary: #00ff00;
  --color-cta: #f08324;
  --color-cta-light: color-mix(in hsl, var(--color-cta), white 25%);
  --color-gray-0: #000000;
  --color-gray-1: #1a1a1a;
  --color-gray-3: #333333;
  --color-gray-6: #606060;
  --color-gray-7: #777777;
  --color-gray-a: #aaaaaa;
  --color-gray-d: #d9d9d9;
  --color-gray-e: #f0f0f0;
  --color-gray-f: #ffffff;

  --color-primary-hover: color-mix(in srgb, var(--color-primary), black 33%);
  --color-cta-border: color-mix(in srgb, var(--color-cta), white 20%);

  --text-color: var(--color-gray-e);
  --text-color-dark: var(--color-gray-1);
  --text-color-light: var(--color-gray-e);
  --text-color-invert: var(--color-gray-3);

  --background-color-page: var(--color-gray-6);
  --background-color-base: var(--color-gray-3);
  --background-color-base-hover: color-mix(in srgb, var(--color-gray-0), transparent 80%);
  --background-color-invert: var(--color-gray-d);
  --background-color-light: var(--color-gray-f);
  --background-color-cta: var(--color-cta);
  --background-color-content: color-mix(in srgb, var(--color-gray-3), transparent 38%);
  --background-color-content-light: color-mix(in srgb, var(--color-gray-a), transparent 38%);

  --border-color-content: var(--color-gray-7);

  --box-shadow-color: var(--color-gray-0);
  --text-shadow-color: var(--color-gray-3);

  --border-radius: 6px;

  --breakpoint-xsmall: 20rem;
  --breakpoint-small: 34rem;
  --breakpoint-medium: 48rem;
  --breakpoint-large: 63.25rem;
  --breakpoint-xlarge: 80rem;
  --breakpoint-xxlarge: 87.5rem;

  --swal2-color: var(--color-gray-e) !important;
  --swal2-background: var(--color-gray-1) !important;

  --box-shadow: 3px 3px 3px var(--box-shadow-color);

  --color-sidebar: var(--color-platin);

  color-scheme: light dark;
}

@keyframes roll-y {
  from {
    background-position-y: 0;
  }

  to {
    background-position-y: 10%;
  }
}

html {
  background: url(../images/bg-opacity-0.png) var(--background-color-page);
  min-width: 360px;
}

body {
  background-color: transparent;
  color: #fafafa;
  margin: 0 auto;
  padding-top: 20px;
}

a {
  border-bottom: 1px solid var(--color-primary);
  color: inherit;
  cursor: pointer;
  text-decoration: none;
}

a:hover,
a:focus {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--color-primary-hover);
}

p {
  overflow-wrap: break-word;
}

.btn {
  white-space: normal;
}

.clear {
  clear: both;
}

.container {
  overflow: visible;
  position: relative;
}

.container-fluid {
  padding-left: 2px;
  padding-right: 2px;
}

@media screen and (min-width: 48rem) {
  .container-fluid {
    padding-left: 16px;
    padding-right: 16px;
  }
}

.indent {
  margin-left: 20px;
}

.no-wrap {
  white-space: nowrap;
}

.no-space {
  margin: 0;
}

/* flex helpers */

.flex-row {
  align-items: center;
  display: flex;
  flex-direction: row;
}

.flex-col {
  display: flex;
  flex-direction: column;
}

.flex-full > * {
  flex: 1 0 auto;
}

.flex-gap-2 {
  gap: 0.4rem;
}

@media print {
  .no-print {
    display: none;
  }

  a[href]::after {
    content: '';
  }
}

#navigation {
  background: var(--background-color-base);
}

#navigation a:hover {
  color: var(--color-primary-hover);
}

#navigation a.active,
#navigation a:hover {
  background: var(--background-color-base-hover);
}

small-navigation {
  display: none;
}

.navigation {
  background: url(../images/box-bg.png);
  box-shadow: 3px 3px 5px #1a1a1a;
  -moz-box-shadow: 3px 3px 5px #1a1a1a;
  -webkit-box-shadow: 3px 3px 5px #1a1a1a;
  margin: 0 0 10px 0;
  width: 100%;
}

.navigation-big {
  display: none;
}

@media screen and (min-width: 34rem) {
  .navigation {
    display: flex;
  }

  .navigation-small {
    display: none;
  }
}

.navigation a {
  align-items: center;
  border: 1px solid black;
  border-bottom-width: 2px;
  color: var(--text-color-light);
  display: flex;
  font-size: 16px;
  hyphens: auto;
  justify-content: center;
  overflow: hidden;
  padding: 10px 2px;
  text-align: center;
  text-decoration: none;
}

@media screen and (min-width: 34rem) {
  .navigation a {
    font-size: 11px;
  }
}

@media screen and (min-width: 48rem) {
  .navigation a {
    font-size: 15px;
  }
}

.navigation a:hover,
.navigation a.active {
  border-bottom: 2px solid var(--color-primary);
}

.navigation a.active {
  font-weight: bold;
}

.navigation-small {
  border: 1px solid black;
  color: var(--text-color);
  text-align: right;
}

.navigation-small button {
  align-items: center;
  display: flex;
  justify-content: center;
  width: 100%;
}

.navigation-small i {
  margin-left: 8px;
}

.navigation-small a {
  border: 0;
  border-bottom: 2px solid transparent;
  width: 100% !important;
}

#content {
  background: url(../images/box-bg.png);
  border: 1px solid #000000;
  width: 100%;

  box-shadow: 3px 3px 5px #1a1a1a;
  -moz-box-shadow: 3px 3px 5px #1a1a1a;
  -webkit-box-shadow: 3px 3px 5px #1a1a1a;
}

.content-wrapper {
  display: table;
  table-layout: fixed;
  width: 100%;
}

.simple-note {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 10px;
  text-align: center;
  white-space: pre-wrap;
}

#left,
#right,
#center {
  background: url(../images/transition-bg.png) left top repeat-x;
  display: table-cell;
  position: relative;
  min-height: 540px;
  vertical-align: top;
}

#left {
  margin-right: 0;
  padding-bottom: 50px;
}

#right {
  background: url(../images/platin.jpg);
  background-size: 250% 1%;
  border-left: 1px solid var(--color-primary);
  color: var(--text-color);
  display: none;
  padding-bottom: 50px;
  text-align: center;
  width: 361px;
}

#center {
  width: 100%;
}

#left > *,
#center > * {
  margin-left: 20px;
  margin-right: 20px;
}

h2 {
  border-bottom: 2px solid var(--color-primary);
  color: var(--text-color);
  font: bold 28px Arial;
  margin-top: 30px;
  padding-bottom: 10px;
  padding-left: 20px;
  padding-right: 20px;
  position: relative;
}

h3 {
  border-bottom: 1px solid var(--color-primary);
  color: var(--text-color);
  font: 18px Arial;
  margin: 0;
  margin-bottom: 12px;
  padding-bottom: 10px;
  padding-left: 20px;
}

h4 {
  border-bottom: 1px solid var(--color-primary);
  font-weight: bold;
}

h5 {
  font-weight: bold;
}

#main-content {
  padding: 26px 0 65px;
  text-align: justify;
}

#main-content .popover * {
  color: #333;
  font-size: 10px;
  text-indent: 0;
}

#main-content > * {
  margin-bottom: 12px;
}

ul,
ol {
  margin-left: 20px;
}

ol li,
ul li {
  margin: 0 0 12px 0;
}

ol li.next-level,
ul li.next-level {
  margin-left: 10px;
  text-indent: -5px;
}

.well {
  color: #333;
}

.banner {
  background-color: #555555;
  border: solid #000000;
  border-width: 1px 0;
  color: var(--text-color);
  text-align: center;
}

.banner li {
  display: inline-block;
  list-style: none;
  margin: 12px 0;
  padding: 6px 1%;
}

.info-text {
  background-color: #111111;
  border: 1px solid #000000;
  display: none;
  padding: 10px;
}

#test {
  background-position: 0 -272px;
}

#bar-row {
  bottom: 20px;
  height: 10px;
  margin-right: 0;
  position: absolute;
  right: 0;
  width: auto;
}

#bar-row div {
  background-color: var(--color-primary);
  float: right;
  height: 100%;
  margin-left: 10px;
}

#right .map-image,
#right .map-iframe {
  display: block;
  margin: 20px 0;
  position: relative;
}

#right .map-image button {
  align-items: center;
  background-color: rgba(51, 51, 51, 0.5);
  border: 0;
  color: var(--text-color);
  display: none;
  font-weight: bold;
  height: 100%;
  justify-content: center;
  position: absolute;
  width: 100%;
  z-index: 1;
}

#right .map-image:hover button {
  display: flex;
}

#right .swap-meet-link {
  display: inline-block;
}

#right .swap-meet-link .fa-stack {
  display: block;
  margin: 12px auto 6px;
}

#right .swap-meet-link .fa-stack .fa-exchange {
  top: 5px;
}

#footer {
  color: var(--text-color-light);
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  position: relative;
}

#footer > div:first-of-type {
  flex-shrink: 0.7;
  position: relative;
  top: -70px;
}

#footer .logo {
  background: url(../images/turmi.png) no-repeat;
  height: 112px;
  margin-left: 10px;
  position: absolute;
  width: 40px;
}

@media (min-width: 48rem) {
  #footer .logo {
    margin-left: 20px;
  }
}

#footer .text {
  bottom: -66px;
  display: inline-block;
  font: 18px 'Nothing You Could Do';
  font-weight: bold;
  margin-left: 55px;
  position: relative;
}

@media (min-width: 48rem) {
  #footer .text {
    margin-left: 65px;
  }
}

#footer .version {
  font-size: 8px;
  margin: 0 4px;
  text-align: center;
}

#footer a {
  color: var(--text-color-light);
  float: right;
  font-size: 11px;
  margin-left: 10px;
}

@media (min-width: 63.25rem) {
  #left {
    margin-right: -1px;;
  }

  #right {
    display: table-cell;
  }
}

.big-loader {
  display: block;
  text-align: center;

  &.overlay {
    align-items: center;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
    left: 0;
    position: fixed;
    text-align: center;
    top: 0;
    width: 100%;
    z-index: 10;
  }
}

.validationMessage {
  font-weight: bold;
  color: #dd2000;
}

.highlight-dark {
  background-color: #333333;
}

.panel-heading .btn-sm {
  position: absolute;
  right: 15px;
  top: 6px;
}

.btn-sm + .panel-title.pull-left {
  margin-right: 40px;
}

.btn-sm .fa-stack {
  margin: -4px;
}

.btn-link,
.btn-link:hover,
.btn-link:focus {
  color: var(--color-primary);
}

.action-buttons a,
.action-buttons button {
  margin: 0 2px;
}

.data-text,
[data-bind^='text:'] {
  white-space: pre-line;
}

textarea[data-bind^='value:'] {
  white-space: pre-wrap;
}

.filedrag .drag-label {
  margin-top: 0;
}

a.cc-link {
  text-decoration: none;
}

a.download-link {
  display: none;
}

#mj-w-overlay #mj-w-popin-block img#mj-w-close-img {
  right: -20px;
  top: -18px;
  z-index: 1;
}

.faq-body p {
  margin: 8px 10px;
}

.faq h4 {
  border-top: 0 none;
  border-bottom: 1px dashed var(--color-primary);
  cursor: pointer;
  font-size: 1em;
  padding: 10px 40px 10px 10px;
  position: relative;
}

.faq h4:hover,
.faq h4:focus,
.faq h4.ui-state-active {
  border-bottom-style: solid;
  outline: none;
}

.faq h4 i {
  float: right;
}

.faq h4 i.fa-minus-square-o,
.faq h4 i.fa-plus-square-o,
.faq h4.ui-state-active i.fa-plus-square-o {
  position: absolute;
  right: 8px;
  top: 10px;
}

.faq h4 i.fa-minus-square-o,
.faq h4.ui-state-active i.fa-plus-square-o {
  display: none;
}

.faq h4.ui-state-active i.fa-minus-square-o {
  display: inline-block;
}

/* extended markdown styles */
em {
  font-style: italic;
}

strong {
  font-weight: bold;
}

/* strong-underlined */
strong > strong:only-child,
.strong-em {
  font-weight: bold;
  text-decoration: underline;
}

blockquote {
  background-color: var(--background-color-invert);
  border-radius: 5px;
  color: var(--text-color-invert);
  font-size: inherit;
}

.is-virtual {
  border: 1px dashed #999999;
  cursor: not-allowed;
  padding: 8px;
}

.is-virtual * {
  cursor: not-allowed;
}

.responsive-video {
  display: block;
  overflow: hidden;
  padding-top: 56.25%;
  position: relative;
  width: 100%;
}

.responsive-video iframe {
  bottom: 0;
  height: 100%;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
}

/* tinyMCE editor */
.tox-tinymce {
  width: 100%;
}

/* pictograms */
i.coin-in-hand {
  background-color: var(--color-white);
  display: inline-block;
  height: 48px;
  mask-image: url('/images/coin-into-hand.svg');
  mix-blend-mode: difference;
  width: 45px;
}

i.certificate {
  background-color: var(--color-white);
  display: inline-block;
  height: 48px;
  mask-image: url('/images/certificate.svg');
  mix-blend-mode: difference;
  width: 50px;
}

/* light theme */
.theme-light {}

.theme-test {
  --background-color-page: #a05040;
}
