@charset "UTF-8";
@import url("https://fonts.googleapis.com/css?family=Dosis:800&display=swap");
/* Colors */
@import url("https://fonts.googleapis.com/css?family=Dosis:800&display=swap");
/* Colors */
/* VAR dump */
@import url("https://fonts.googleapis.com/css?family=Dosis:800&display=swap");
.sf-dump-expanded {
  display: inline !important;
}

/* Layout */
html {
  font-size: 14px;
}

body {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  line-height: 30px;
  position: relative;
  color: #000000;
  background: #FFFFFF;
}

.hidden {
  display: none;
}

a {
  color: #868181;
}

/* Main Menu icon */
.toolbar-icon-paraulogic-main-index:before {
  background-image: url("../images/menu_icon.png");
}

/* Navbar */
header {
  background-color: #ffe8c7;
  -webkit-box-shadow: -1px 2px 5px 0px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: -1px 2px 5px 0px rgba(0, 0, 0, 0.75);
  box-shadow: -1px 2px 5px 0px rgba(0, 0, 0, 0.75);
}

.site-name-slogan a {
  color: #868181;
  font-weight: bold;
}

.mobile-menu span {
  background-color: #63bcca !important;
}

@media (min-width: 992px) {
  .header-right {
    flex-grow: 1;
  }
  .header-right .primary-menu-wrapper {
    width: 100%;
  }
  .header-right .primary-menu-wrapper .region-primary-menu {
    display: flex;
    justify-content: space-between;
  }
  .header-right .primary-menu-wrapper .region-primary-menu #block-para-theme-main-menu ul a,
  .header-right .primary-menu-wrapper .region-primary-menu #block-para-theme-account-menu ul a {
    font-size: 0.8rem;
  }
}
.search-list .words-wrapper span {
  text-transform: uppercase;
  font-size: 1.5rem;
}

.paraulogic-word {
  color: #63bcca;
  font-size: 5rem;
  position: absolute;
  right: 0;
  top: 0;
}

.view-words .view-display-id-block_1 .view-content {
  display: flex;
  flex-wrap: wrap;
}
.view-words .view-display-id-block_1 .view-content span {
  width: 7.05%;
}
.view-words > .view-content .item-list h3 {
  background: #CCCCCC;
  border-radius: 5px;
  padding: 5px 10px;
}
.view-words > .view-content .item-list ul {
  display: flex;
  flex-wrap: wrap;
  list-style-type: none;
  margin: 0;
  padding: 0;
}
.view-words > .view-content .item-list ul li {
  position: relative;
  width: 20%;
}
.view-words > .view-content .item-list ul li span {
  color: #868181;
  padding-left: 2.5rem;
}
.view-words > .view-content .item-list ul li .views-field-field-paraulogic-word {
  display: none;
}
.view-words > .view-content .item-list ul li .paraulogic-word {
  font-size: 2rem;
  left: 0;
  right: auto;
}
.view-words > .view-content .views-col.paraulogic-word-item {
  position: relative;
}

/* Colors */
.main-game {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-gap: 1rem;
}
.main-game .game-info {
  grid-column: 1/13;
  margin: 0 auto 2rem;
  padding: 1rem 0;
}
.main-game .game-info label {
  margin-right: 1rem;
}
@media (max-width: 768px) {
  .main-game .game-info {
    margin: 0 auto;
  }
}
.main-game .letters {
  grid-column: 1/5;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.main-game .letters ul.game-grid {
  display: grid;
  grid-gap: 6px;
  grid-template-columns: repeat(6, 2fr);
  padding: 0 0 30px 0;
  width: 250px;
  margin: 0 auto;
  font-size: 0.9rem;
  list-style-type: none;
  overflow: hidden;
}
.main-game .letters ul.game-grid li.letter-wrapper {
  grid-column-end: span 2;
  position: relative;
  user-select: none;
  padding: 0;
  pointer-events: none;
}
.main-game .letters ul.game-grid li.letter-wrapper:after {
  content: "";
  display: block;
  padding-bottom: 86.602%;
}
.main-game .letters ul.game-grid li.letter-wrapper:nth-child(5n+1) {
  grid-column-start: 2;
}
.main-game .letters ul.game-grid li.letter-wrapper:nth-child(5n+3) {
  grid-column-start: 1;
}
.main-game .letters ul.game-grid li.letter-wrapper .letter {
  position: absolute;
  width: 100%;
  padding-bottom: 115.47%;
  overflow: hidden;
  transform: rotate3d(0, 0, 1, -60deg) skewY(30deg);
  pointer-events: none;
}
.main-game .letters ul.game-grid li.letter-wrapper .letter * {
  position: absolute;
}
.main-game .letters ul.game-grid li.letter-wrapper .letter .letter-link {
  display: block;
  width: 100%;
  height: 100%;
  text-align: center;
  background-color: #63bcca;
  overflow: hidden;
  transform: skewY(-30deg) rotate3d(0, 0, 1, 60deg);
  outline: 0;
  padding: 0;
  border: 0;
}
.main-game .letters ul.game-grid li.letter-wrapper .letter .letter-link p {
  margin: 0;
  text-transform: uppercase;
  width: 100%;
  padding: 38%;
  box-sizing: border-box;
  font-size: 24px;
  font-weight: bold;
  color: black;
}
.main-game .letters ul.game-grid li.letter-wrapper:nth-child(4) .letter-link {
  background: #ec4a49;
}
.main-game .letters ul.game-grid li.letter-wrapper:nth-child(4) .letter-link p {
  color: #FFFFFF;
}

.node-games.view-mode-full .letters,
.node-games.view-mode-full .actions,
.node-games.view-mode-full .game-solution-wrapper,
.node-user_game.view-mode-full .letters,
.node-user_game.view-mode-full .actions,
.node-user_game.view-mode-full .game-solution-wrapper {
  grid-column: 1/13;
}
.node-games.view-mode-full .actions,
.node-user_game.view-mode-full .actions {
  text-align: center;
}
.node-games.view-mode-full .actions a,
.node-user_game.view-mode-full .actions a {
  display: inline-block;
}
.node-games.view-mode-full #solution,
.node-user_game.view-mode-full #solution {
  box-shadow: 0 0 20px #d4d4d4;
  margin-top: 2rem;
  padding: 0.75em;
}
.node-games.view-mode-full #solution details,
.node-user_game.view-mode-full #solution details {
  border: none;
}
.node-games.view-mode-full #solution details summary,
.node-user_game.view-mode-full #solution details summary {
  position: relative;
  padding: 0 1rem;
  margin-bottom: 1rem;
}
.node-games.view-mode-full #solution details summary::marker,
.node-user_game.view-mode-full #solution details summary::marker {
  content: "";
}
.node-games.view-mode-full #solution details summary h2,
.node-user_game.view-mode-full #solution details summary h2 {
  margin: 1rem 0;
}
.node-games.view-mode-full #solution details summary svg,
.node-user_game.view-mode-full #solution details summary svg {
  font-size: 30px;
  position: absolute;
  top: 2px;
  right: 3rem;
}
.node-games.view-mode-full #solution details summary svg.fa-chevron-down,
.node-user_game.view-mode-full #solution details summary svg.fa-chevron-down {
  display: block;
}
.node-games.view-mode-full #solution details summary svg.fa-chevron-up,
.node-user_game.view-mode-full #solution details summary svg.fa-chevron-up {
  display: none;
}
.node-games.view-mode-full #solution details .wrapper,
.node-user_game.view-mode-full #solution details .wrapper {
  padding: 0.75em;
}
.node-games.view-mode-full #solution details[open] svg.fa-chevron-down,
.node-user_game.view-mode-full #solution details[open] svg.fa-chevron-down {
  display: none;
}
.node-games.view-mode-full #solution details[open] svg.fa-chevron-up,
.node-user_game.view-mode-full #solution details[open] svg.fa-chevron-up {
  display: block;
}
.node-games.view-mode-teaser,
.node-user_game.view-mode-teaser {
  border: solid 1px;
  padding: 1rem;
}
.node-games.view-mode-teaser.completed,
.node-user_game.view-mode-teaser.completed {
  background-color: #baf1ba;
}
.node-games.view-mode-teaser.partial,
.node-user_game.view-mode-teaser.partial {
  background-color: #ffe8c7;
}
.node-games.view-mode-teaser a:hover,
.node-user_game.view-mode-teaser a:hover {
  text-decoration: none;
  background-color: rgba(248, 236, 194, 0.5);
}
.node-games.view-mode-teaser .field--name-field-date,
.node-user_game.view-mode-teaser .field--name-field-date {
  font-weight: bold;
  text-align: center;
  color: #868181;
}

.node-user_game .user-game-top {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-gap: 1rem;
}
.node-user_game .user-game-top .user-game-top-left {
  grid-column: 1/5;
}
.node-user_game .user-game-top .user-game-top-left .taxonomy-term {
  display: block;
}
.node-user_game .user-game-top .user-game-top-left .field--name-field-game .main-game {
  display: block;
}
.node-user_game .user-game-top .user-game-top-right {
  grid-column: 5/13;
  position: relative;
}
.node-user_game .user-game-top .user-game-top-right .hints-wrapper.table {
  min-height: 280px;
}
.node-user_game .user-game-top .user-game-top-right .user-game-actions {
  position: absolute;
  bottom: 55px;
  right: 0;
}
.node-user_game .word-meaning-wrapper {
  background: #CCCCCC;
  border-radius: 8px;
  max-height: 45px;
  max-width: 80%;
  margin: 0 auto;
  overflow: hidden;
  padding: 8px 16px;
  position: relative;
}
.node-user_game .word-meaning-wrapper .show-meaning {
  position: absolute;
  right: 16px;
  z-index: 1;
}
.node-user_game .word-meaning-wrapper .show-meaning a {
  color: #000000;
}
.node-user_game .word-meaning-wrapper .field--name-field-full-title {
  font-weight: bold;
}
.node-user_game .word-meaning-wrapper .field--name-field-meaning {
  padding-top: 5px;
}
.node-user_game .word-meaning-wrapper .field--name-field-meaning p {
  margin: 0;
  line-height: 20px;
}
.node-user_game .word-meaning-wrapper.expanded {
  max-height: none;
}
.node-user_game #solution {
  display: inline-block;
  width: 100%;
}
.node-user_game .hints-wrapper.other-hints {
  grid-column: 1/13;
}
@media (max-width: 992px) {
  .node-user_game .user-game-top {
    display: block;
  }
  .node-user_game .user-game-top .user-game-top-left .field--name-field-game .main-game {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 1rem;
  }
  .node-user_game .user-game-top .user-game-top-left .field--name-field-game .main-game .letters,
  .node-user_game .user-game-top .user-game-top-left .field--name-field-game .main-game .game-info {
    grid-column: auto;
  }
  .node-user_game .user-game-top .user-game-top-right .user-game-actions {
    position: relative;
    bottom: auto;
  }
  .node-user_game .user-game-top .user-game-top-right .user-game-actions > a {
    margin-bottom: 1rem;
  }
}
@media (max-width: 576px) {
  .node-user_game .user-game-top .user-game-top-left .field--name-field-game .main-game {
    grid-template-columns: repeat(1, 1fr);
    grid-gap: 0;
  }
  .node-user_game .add-words-form .form-item-words textarea {
    height: 500px;
  }
  .node-user_game .word-meaning-wrapper {
    max-width: 100%;
  }
}

.page-node-type-user-game .letter-link {
  pointer-events: auto;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
.page-node-type-user-game .letter-link:not(.no-pointer):hover p, .page-node-type-user-game .letter-link:not(.no-pointer):focus p {
  box-shadow: inset 0 0 100px 100px rgba(255, 255, 255, 0.1);
}

.view-mode-teaser .main-game {
  display: block;
  color: #868181;
}
.view-mode-teaser .main-game .letters ul.game-grid {
  grid-gap: 3px;
  width: 150px;
}
.view-mode-teaser .main-game .letters ul.game-grid li.letter-wrapper .letter p {
  padding: 30%;
  font-size: 1rem;
}
.view-mode-teaser .game-info-teaser {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 1rem;
}
@media (max-width: 576px) {
  .view-mode-teaser .game-info-teaser {
    grid-template-columns: repeat(1, 1fr);
    grid-gap: 0;
  }
}

.words-wrapper {
  font-size: 14px !important;
  grid-column: 1/13;
  line-height: 30px !important;
}
.words-wrapper .word {
  cursor: pointer;
  float: left;
}
.words-wrapper .word:hover {
  text-decoration: underline;
}
.words-wrapper .word:first-letter {
  text-transform: uppercase;
}
.words-wrapper .word:after {
  color: #868181;
  content: ",";
  margin-right: 0.5rem;
}
.words-wrapper .word.done {
  color: #02a701;
}
.words-wrapper .word.done:before {
  content: "✓";
  color: #02a701;
}
.words-wrapper .word.tutti {
  font-weight: bolder;
  color: #ec4a49;
}
.words-wrapper .solutions {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}
.words-wrapper .solutions .word {
  text-align: left;
}

.solutions-wrapper {
  grid-column: 1/13;
}

.hints-wrapper.table {
  font-size: 0.8rem;
  grid-column: 5/13;
}
.hints-wrapper.table .table table {
  width: 100%;
  table-layout: fixed;
}
.hints-wrapper.table .table table tr,
.hints-wrapper.table .table table td,
.hints-wrapper.table .table table th {
  border: solid 1px #cacaca;
  padding: 0;
}
.hints-wrapper.table .table table tr.al-center,
.hints-wrapper.table .table table td.al-center,
.hints-wrapper.table .table table th.al-center {
  text-align: center;
}
.hints-wrapper.table .table table tr.al-right,
.hints-wrapper.table .table table td.al-right,
.hints-wrapper.table .table table th.al-right {
  text-align: right;
  padding-right: 5px;
}
.hints-wrapper.table .table table td:nth-of-type(1) {
  text-transform: uppercase;
  text-align: center;
}
.hints-wrapper.table .table table td:nth-of-type(1),
.hints-wrapper.table .table table td:last-of-type,
.hints-wrapper.table .table table tr:last-of-type,
.hints-wrapper.table .table table tr:nth-of-type(1) {
  font-weight: bold;
}
.hints-wrapper.table .table table td:nth-of-type(1) .done,
.hints-wrapper.table .table table td:nth-of-type(1) .separator,
.hints-wrapper.table .table table tr:nth-of-type(1) .done,
.hints-wrapper.table .table table tr:nth-of-type(1) .separator {
  display: none;
}
.hints-wrapper.other-hints {
  grid-column: 1/13;
}
.hints-wrapper.other-hints .hint-wrapper p {
  margin: 0;
}
.hints-wrapper.other-hints .hint-wrapper p .letter {
  padding: 0.5rem 1rem;
  text-transform: uppercase;
  font-weight: bold;
  min-width: 2rem;
  display: inline-block;
}
.hints-wrapper.other-hints .hint-wrapper .combination {
  padding: 0.5rem 1rem;
  white-space: nowrap;
}
.hints-wrapper.other-hints .hint-wrapper.subsets .combination {
  cursor: pointer;
  position: relative;
}
.hints-wrapper.other-hints .hint-wrapper.subsets .combination .letters-subset .initial {
  color: #02a701;
  font-weight: bold;
}
.hints-wrapper.other-hints .hint-wrapper.subsets .combination .letters-subset .initial[data-counter="0"] {
  color: #000000;
}
.hints-wrapper.other-hints .hint-wrapper.subsets .combination.all-done .letters-subset .initial {
  color: #000000;
}
.hints-wrapper.other-hints .hint-wrapper.subsets .combination .hint {
  display: none;
  font-size: 0.875em;
  text-align: center;
  text-shadow: 0 1px rgba(0, 0, 0, 0.5);
  line-height: 1.5;
  color: #FFFFFF;
  background: #333;
  background: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.6)), to(rgba(0, 0, 0, 0.8)));
  background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8));
  background: -moz-linear-gradient(top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8));
  background: -ms-radial-gradient(top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8));
  background: -o-linear-gradient(top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8));
  background: linear-gradient(top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8));
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  border-top: 1px solid #FFFFFF;
  -webkit-box-shadow: 0 3px 5px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0 3px 5px rgba(0, 0, 0, 0.3);
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.3);
  position: absolute;
  z-index: 100;
  padding: 3px 10px;
  top: -30px;
  left: auto;
  right: 50%;
}
.hints-wrapper .all-done {
  background: #80f580;
}

#paraulogic-add-user-word {
  position: relative;
  display: flex;
  align-content: end;
}
#paraulogic-add-user-word .word-result {
  position: absolute;
  top: 0;
  left: 100px;
  color: #ec4a49;
}
#paraulogic-add-user-word .form-item-word {
  flex-grow: 1;
  padding-right: 3.5rem;
}
#paraulogic-add-user-word .form-item-word input {
  width: 100%;
}
#paraulogic-add-user-word .form-item-word input.disabled {
  cursor: not-allowed;
  background-color: #eeeeee;
  opacity: 1;
}
#paraulogic-add-user-word #edit-actions {
  position: absolute;
  right: 8px;
  top: 26px;
}
#paraulogic-add-user-word #edit-actions svg.form-submit {
  color: #63bcca;
  height: 26px;
  margin: 0;
}
#paraulogic-add-user-word #edit-actions #edit-fake-ajax {
  height: 33px;
  margin: 0;
  overflow: hidden;
  width: 45px;
  display: none;
}
#paraulogic-add-user-word #edit-actions #edit-fake-ajax .spinner {
  width: 33px;
  height: 33px;
  border-radius: 50%;
  border: 9px solid #dbdcef;
  border-right-color: #63bcca;
  animation: spinner-animation 1s infinite linear;
  margin: 0 auto;
}
@keyframes spinner-animation {
  to {
    transform: rotate(1turn);
  }
}
#paraulogic-add-user-word #edit-actions #edit-submit {
  margin-left: 56px;
}
@media (max-width: 768px) {
  #paraulogic-add-user-word {
    background: white;
    bottom: 0;
    border-top: solid 1px;
    left: 0;
    margin: 0;
    padding: 0 16px;
    position: fixed;
    z-index: 99;
    width: 100%;
  }
  #paraulogic-add-user-word .input-group {
    width: 100%;
  }
  #paraulogic-add-user-word .word-result {
    left: 120px;
  }
  #paraulogic-add-user-word #edit-actions svg.form-submit {
    height: 22px;
  }
}

.view-id-games .view-content {
  margin: 0 auto;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 992px) {
  .view-id-games .view-content {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 576px) {
  .view-id-games .view-content {
    grid-template-columns: repeat(1, 1fr);
  }
}
.view-id-games .view-content .views-row {
  padding: 0;
}

.game-solved {
  max-width: 80%;
}

.view-id-games .view-empty {
  margin: 16px;
  font-size: 16px;
}

.games-status-chooser {
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 16px;
  padding: 0 8px;
}
.games-status-chooser .games-status-chooser-button {
  align-items: center;
  border: 1px solid #868181;
  border-radius: 4px;
  display: flex;
  flex: 1 0 calc(25% - 48px);
  gap: 0;
}
.games-status-chooser .games-status-chooser-button a {
  color: #868181;
  cursor: pointer;
  display: inline-block;
  font-size: 16px;
  line-height: 16px;
  padding: 15px 23px;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  width: 100%;
}
.games-status-chooser .games-status-chooser-button a:hover {
  color: #666666;
  font-weight: 700;
}
.games-status-chooser .games-status-chooser-button.all {
  background-color: rgba(99, 188, 202, 0.4392156863);
}
.games-status-chooser .games-status-chooser-button.active a {
  color: #666666;
  font-weight: 700;
}
.games-status-chooser .games-status-chooser-button.not-finished {
  background-color: #ffe8c7;
}
.games-status-chooser .games-status-chooser-button.finished {
  background-color: #baf1ba;
}
@media (max-width: 768px) {
  .games-status-chooser {
    flex-wrap: wrap;
  }
  .games-status-chooser .games-status-chooser-button {
    flex: 1 0 calc(50% - 16px);
  }
}

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