/* @file
 * This file is where base setup & all the partials are imported.
 */
/* Animation definitions */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");
.button {
  background: #4A90E2;
  border-radius: 4px;
  border: 0px;
  color: #FFF;
  font-family: "lato--regular", Helvetica, Arial, sans-serif;
  padding: 0.5rem 1.5rem;
  transition: all 0.2s ease;
  text-decoration: none;
  opacity: 1;
  line-height: 1.2;
}

.button:hover, .button:focus {
  color: #FFF;
  text-decoration: none;
  opacity: 1;
  background-color: #3F588D;
}

.button.button--grey {
  background: rgba(0, 0, 0, 0.2);
}

.button.button--grey:hover {
  background: rgba(0, 0, 0, 0.3);
}

.button.button--text {
  background-color: transparent;
  border-radius: 0;
  color: #000;
  padding: 0;
  text-decoration: underline;
  opacity: 1;
  font-size: 1.125rem;
  line-height: 1.5;
  margin: 0;
}

.button.button--text:hover, .button.button--text:focus {
  opacity: 0.5;
  background-color: transparent;
  text-decoration: underline;
  color: #000;
}

.button.button--print {
  padding-right: 1.5rem;
  background-image: url("print.svg");
  background-repeat: no-repeat;
  background-position: 100% 50%;
  background-size: 1rem;
}

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

* {
  box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  color: #000;
  font-family: "lato--regular", Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 1.125rem;
  line-height: 1.5;
  margin: 0;
  padding: 0;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 1rem;
  font-family: "lato--bold", Helvetica, Arial, sans-serif;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

figcaption {
  font-style: italic;
  max-width: 650px;
  font-size: 0.875rem;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}

h1, .h1 {
  font-weight: bold;
  margin-bottom: 8px;
  margin-top: 0;
  font-size: 3.75rem;
}

h2, .h2 {
  margin-bottom: 8px;
  margin-top: 0;
  font-size: 1.875rem;
}

h3, .h3 {
  margin-bottom: 0;
  margin-top: 0;
  font-size: 1.375rem;
}

h4, .h4 {
  margin-bottom: 0;
  margin-top: 0;
  font-size: 1.125rem;
}

p {
  margin: 0 0 1rem;
  width: 100%;
}

ul + br {
  display: none;
}

a,
.link {
  display: inline-block;
  color: #000;
  text-decoration: underline;
  transition: all 0.2s ease;
}

a:hover, a:focus,
.link:hover,
.link:focus {
  color: #000;
  text-decoration: underline;
  opacity: 0.5;
}

a:active,
.link:active {
  color: #444;
  text-decoration: underline;
}

a:focus,
.link:focus {
  outline: thin dotted;
}

label {
  display: inline-block;
  width: 100%;
}

b {
  font-family: "lato--bold", Helvetica, Arial, sans-serif;
}

/* Animation definitions */
.view-option--filter .form-item--search-api-fulltext {
  margin-bottom: 0;
}

.facets-widget-checkbox > ul > li.facet-item {
  display: flex;
  flex-direction: row;
  gap: 0 .5rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: 100%;
  gap: 2rem;
}

@media (min-width: 55rem) {
  .grid-3 {
    grid-template-columns: calc((100% - 2rem) / 2) calc((100% - 2rem) / 2);
  }
}

@media (min-width: 70rem) {
  .grid-3 {
    grid-template-columns: calc((100% - 4rem) / 3) calc((100% - 4rem) / 3) calc((100% - 4rem) / 3);
  }
}

.flex-2 {
  display: flex;
  gap: 2rem;
}

.flex-2 > * {
  flex: 0 1 auto;
  width: 50%;
}

.flex-3 {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.flex-3 > * {
  flex: 0 1 auto;
  width: 17rem;
}

.dialog-off-canvas-main-canvas {
  display: flex;
  flex: 1 1 auto;
}

.main-container {
  display: flex;
  flex: 1 1 auto;
  flex-direction: row;
  background: #E4E4E4;
  width: 100%;
}

@media print {
  .main-container {
    background: transparent;
  }
}

.main-container > .region--sidebar {
  width: 18.5rem;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
}

@media print {
  .main-container > .region--sidebar {
    display: none;
  }
}

.site-main {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

@media print {
  .form {
    display: block;
  }
}

body.domain-playtrix {
  font-family: "Montserrat", sans-serif;
}

body.domain-playtrix h1, body.domain-playtrix h2, body.domain-playtrix h3, body.domain-playtrix h4, body.domain-playtrix h5, body.domain-playtrix h6 {
  font-family: inherit;
}

body.domain-playtrix .main-container {
  background: #f2f4fc;
  /*a {
      //color: $darkgreen;
      opacity: 1;

      &:hover {
        //color: $yellow;
        opacity: 1;
      }
    }

    .button {
      color: white;
      opacity: 1;
      background: $darkgreen;

      &:hover {
        color: black;
        opacity: 1;
        background: $yellow;
      }
    }

    .region--sidebar {
      background-color: $darkblue;
      color: white;
      box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.5);

      a {
        //color: white;
      }

      & > .block {
        width: 100%;
      }

      .profile--logo-only img {
        border: 1px solid $grey;
        box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.5);
      }

      .block-menu {
        background: #e4e4e4;
        margin-bottom: 0;
      }

      .footer {
        padding-top: 4rem;
        color: $grey;
        margin-top: auto;
      }
    }

    .region--content {
      max-width: 100%;

      .site-main {

      }
    }*/
}

body.domain-playtrix .main-container a {
  color: #337636;
  opacity: 1;
}

body.domain-playtrix .main-container a:hover {
  color: #ffd600 !important;
  opacity: 1 !important;
}

body.domain-playtrix .main-container .button:not(.button--print) {
  color: white;
  opacity: 1;
  background: #337636;
}

body.domain-playtrix .main-container .button:not(.button--print):hover {
  color: black !important;
  opacity: 1 !important;
  background: #ffd600 !important;
}

body.domain-playtrix .main-container .region--sidebar {
  background-color: #8bd0e2;
  box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.5);
}

body.domain-playtrix .main-container .region--sidebar a {
  color: #373c8f;
}

body.domain-playtrix .main-container .region--sidebar .button {
  background: #373c8f;
}

body.domain-playtrix .main-container .region--sidebar .footer {
  padding-top: 4rem;
  color: #202333;
  margin-top: auto;
}

body.domain-playtrix .main-container .region--content {
  max-width: 100%;
  /*.card {
        background-color: $lightgreen;
        border: 1px solid rgba(0, 0, 0, 0.5);
      }*/
}

body.domain-playtrix .main-container .submenu .submenu__link:hover {
  color: #373c8f !important;
}

body.domain-playtrix .puzzlepiece .color--orange {
  background-color: #373c8f;
}

body.domain-playtrix .puzzlepiece .color--red {
  background-color: #62c8a2;
}

body.domain-playtrix .puzzlepiece .color--yellow {
  background-color: #ffd600;
}

body.domain-playtrix .puzzlepiece .color--pink {
  background-color: #8bd0e2;
}

body.domain-playtrix .puzzlepiece .color--purple {
  background-color: #202333;
}

body.domain-playtrix .puzzlepiece .color--darkpurple {
  background-color: #337636;
}

body.domain-playtrix .bibster--bibster-quest-question-group {
  background-image: linear-gradient(-180deg, #62c8a2 2%, #8bd0e2 56%, #62c8a2 130%) !important;
}

body.domain-playtrix form#user-register-form .form-item:last-child {
  margin-bottom: 2.5rem;
}

body.domain-playtrix .back-to-login {
  text-align: center;
}

.region {
  display: inline-block;
  width: 100%;
}

.region__inner {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 15px;
  position: relative;
}

.region--sidebar {
  background: #202333;
}

.region--content {
  padding: 4rem 3rem;
  max-width: 80rem;
}

@media print {
  .region--content {
    padding: 4px;
  }
}

.accessibly-hidden {
  position: absolute !important;
  clip: rect(1px, 1px, 1px, 1px);
  overflow: hidden;
  height: 1px;
  padding: 0;
  left: -10000px;
}

.u-hidden {
  display: none;
}

.text-red {
  color: red;
}

.text-green {
  color: green;
}

.text-white {
  color: white;
}

.text-grey {
  color: gray;
}

.text-thin {
  font-weight: normal;
}

.text-center {
  text-align: center;
}

.link--simple {
  text-decoration: none;
}

.card {
  background-color: #FFFFFF;
  box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.5);
  border-radius: 8px;
  position: relative;
}

.toggle--text-link {
  background: transparent;
  padding: 0;
  margin: 0;
  color: #000;
  border: none;
  transition: all 0.2s ease;
  text-decoration: underline;
  padding-right: 1.125rem;
  position: relative;
}

.toggle--text-link:hover, .toggle--text-link:focus {
  text-decoration: underline;
  opacity: 0.5;
  border: none;
  outline: none;
}

.toggle--text-link svg {
  position: absolute;
  top: calc(50% - 2px);
  right: 0;
  width: 0.875rem;
  transition: all 0.2s ease;
}

.toggle--text-link.js-open svg {
  transform: rotate(180deg);
}

.toggle--text-link h4 + svg {
  top: calc(50% - 4px);
}
