﻿@import 'vendor/slick.css';
@import 'vendor/slick-theme.css';
@import 'vendor/animate.css';
@import 'vendor/jquery.mCustomScrollbar.css';
@import 'normalize.css';
/* Mixins */
@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i,800,800i');
* {
  -webkit-font-smoothing: antialiased;
}
/* -- Amatic sc font -- */
@font-face {
  font-family: 'amatic';
  font-weight: 500;
  src: url('../fonts/amatic_sc/AmaticSC-Regular.ttf');
}
/*@font-face {
    font-family: 'amatic';
    font-weight: 700;
    src: url('..fonts/amatic_sc/AmaticSC-Bold.ttf');
}*/
/* -- Bahiana sc font -- */
@font-face {
  font-family: 'bahiana';
  src: url('../fonts/bahiana/Bahiana-Regular.ttf');
}
/* -- Barrio sc font -- */
@font-face {
  font-family: 'Barrio';
  src: url('../fonts/barrio/Barrio-Regular.ttf');
}
/* -- caveat sc font -- */
@font-face {
  font-family: 'caveat';
  font-weight: 500;
  src: url('../fonts/caveat/Caveat-Regular.ttf');
}
@font-face {
  font-family: 'caveat';
  font-weight: 700;
  src: url('../fonts/caveat/Caveat-Bold.ttf');
}
/* -- kalam sc font -- */
@font-face {
  font-family: 'kalam';
  font-weight: 500;
  src: url('../fonts/kalam/Kalam-Regular.ttf');
}
@font-face {
  font-family: 'kalam';
  font-weight: 700;
  src: url('../fonts/kalam/Kalam-Bold.ttf');
}
@font-face {
  font-family: 'kalam';
  font-weight: 300;
  src: url('../fonts/kalam/Kalam-Light.ttf');
}
/* -- shadows_into_light sc font -- */
@font-face {
  font-family: 'shadows_into_light';
  src: url('../fonts/shadows_into_light/ShadowsIntoLight.ttf');
}
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
/* Globaly */
body {
  min-height: 100vh;
  margin: 0;
  padding: 0;
  background-image: url('../images/Elli_Start_BG@2x.jpg');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}
body.cloud {
  background-image: url('../images/clouds-bg.jpg');
}
body.playing {
  overflow: hidden;
}
* {
  cursor: url('../images/Hand_01normal.png') 30 15, auto !important;
}
a:hover,
button:hover,
.slick-slide:hover,
.slick-slide *:hover,
.clickable:hover {
  cursor: url('../images/Hand_03hover.png') 30 15, auto !important;
}
a.clicked,
button.clicked,
.slick-slide.clicked,
.slick-slide *.clicked,
.clickable.clicked {
  cursor: url('../images/Hand_04click.png') 30 15, auto !important;
}
a.dragging,
button.dragging,
.slick-slide.dragging,
.slick-slide *.dragging,
.clickable.dragging {
  cursor: url('../images/Hand_02drag.png') 30 15, auto !important;
}
.clickable {
  cursor: url('../images/Hand_03hover.png') 30 15, auto !important;
}
.clickable * {
  cursor: url('../images/Hand_03hover.png') 30 15, auto !important;
}
a {
  text-decoration: none;
}
.richtext-result p * {
  font-family: inherit !important;
  font-size: inherit !important;
  color: inherit !important;
  -webkit-text-stroke: inherit !important;
}
p {
  margin-top: 0;
  margin-bottom: 0;
}
*:focus {
  outline: none;
}
.font-preload {
  display: none;
}
/* Globaly */
.text-center {
  text-align: center;
}
.col-6 {
  float: left;
  width: 50%;
  padding-top: 0;
}
.col-6 .button {
  margin-top: 10px;
  margin-bottom: 10px;
}
.pos-rel {
  position: relative;
}
/* Buttons */
.button {
  display: inline-block;
  margin-left: 10px;
  margin-right: 10px;
  background-position: center;
  background-repeat: no-repeat;
  background-color: transparent;
  border: none;
  font-family: 'kalam';
  outline: none;
  animation-duration: 1s;
  animation-fill-mode: both;
  -webkit-transition: all 0.1s ease-out;
  -moz-transition: all 0.1s ease-out;
  -ms-transition: all 0.1s ease-out;
  -o-transition: all 0.1s ease-out;
  /* Play button */
  /* info button */
  /* f button */
  /* x button */
  /* vol button */
  /* sound button */
  /* prev button */
  /* Toggle button */
  /* Default bbutton */
}
.button:hover {
  animation-name: rubberBand;
}
.button:active {
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  outline: none;
}
.button.play-button {
  width: 173px;
  height: 189px;
  background-image: url('../images/BTN_Home_Play_normal.png');
  background-size: 100%;
}
.button.play-button:active {
  background-image: url('../images/BTN_Home_Play_click.png');
}
.button.info-button {
  width: 96px;
  height: 97px;
  background-image: url('../images/BTN_info_normal.png');
  background-size: 100%;
}
.button.info-button:active {
  background-image: url('../images/BTN_info_click.png');
}
.button.f-button {
  width: 95px;
  height: 99px;
  background-image: url('../images/BTN_facebook_normal.png');
  background-size: 100%;
}
.button.f-button:active {
  background-image: url('../images/BTN_facebook_click.png');
}
.button.x-button {
  width: 96px;
  height: 97px;
  background-size: 100%;
}
.button.x-button.red {
  background-image: url('../images/BTN_ExitGame_normal.png');
}
.button.x-button.red:active {
  background-image: url('../images/BTN_ExitGame_click.png');
}
.button.x-button.yellow {
  background-image: url('../images/BTN_close_normal.png');
}
.button.x-button.yellow:active {
  background-image: url('../images/BTN_close_click.png');
}
.button.vol-button {
  width: 95px;
  height: 97px;
  background-image: url('../images/BTN_sound_active.png');
  background-size: 100%;
}
.button.vol-button:active {
  background-image: url('../images/BTN_sound_hover.png');
}
.button.vol-button.off {
  background-image: url('../images/BTN_sound_inactive.png');
}
.button.vol-button.off:active {
  background-image: url('../images/BTN_sound_hover.png');
}
.button.sound-button {
  width: 95px;
  height: 99px;
  background-image: url('../images/BTN_music_active.png');
  background-size: 100%;
}
.button.sound-button:active {
  background-image: url('../images/BTN_music_hover.png');
}
.button.sound-button.off {
  background-image: url('../images/BTN_music_inactive.png');
}
.button.sound-button.off:active {
  background-image: url('../images/BTN_music_hover.png');
}
.button.prev-button {
  width: 95px;
  height: 99px;
  background-image: url('../images/BTN_back_normal.png');
  background-size: 100%;
}
.button.prev-button:active {
  background-image: url('../images/BTN_back_click.png');
}
.button.toggle-button {
  width: 96px;
  height: 97px;
  background-image: url('../images/toggle-button.png');
  background-size: 100%;
}
.button.toggle-button:active,
.button.toggle-button.on {
  background-image: url('../images/toggle-button-on.png');
}
.button.default-button {
  min-width: 286px;
  line-height: 80px;
  padding: 8px 45px 0;
  font-size: 34px;
  color: #fff;
  font-weight: 700;
  text-shadow: 1px 2px 15px rgba(0, 0, 0, 0.35);
  background-size: 100% 100%;
  text-align: center;
  -webkit-transition: all 0.05s ease;
  -moz-transition: all 0.05s ease;
  -ms-transition: all 0.05s ease;
  -o-transition: all 0.05s ease;
}
.button.default-button:hover {
  animation-name: tada;
}
.button.default-button:active {
  font-size: 32px;
}
.button.default-button.blue {
  background-image: url('../images/BTN_blue_normal.png');
}
.button.default-button.blue:active {
  background-image: url('../images/BTN_blue_click.png');
}
.button.default-button.orange {
  background-image: url('../images/BTN_orange_normal.png');
}
.button.default-button.red {
  background-image: url('../images/BTN_red_normal.png');
}
.button.default-button.red:active {
  background-image: url('../images/BTN_red_click.png');
}
.button.default-button.sm {
  margin-right: 4px;
  margin-left: 4px;
  font-size: 12px;
  line-height: 35px;
}
.button.default-button.custom-small {
  position: absolute;
  top: 110%;
  left: 0;
  min-width: 135px !important;
  padding: 8px 16px 0 !important;
  line-height: 35px !important;
  font-size: 14px !important;
  opactiy: .8;
}
/* Slick slider button */
.slick-next:hover {
  animation-name: rubberBand;
}
/* play video button */
.play-video {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 325px;
  height: 105px;
  margin: auto;
  z-index: 1;
  border: none;
  background-color: transparent;
  background-image: url('../images/BTN_blue_normal.png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  font-family: 'kalam' !important;
  color: #fff;
  font-size: 42px;
  font-weight: 700;
  line-height: 113px;
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  -ms-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
}
.play-video:active,
.play-video:hover {
  -webkit-transform: scale(0.9);
  -moz-transform: scale(0.9);
  -ms-transform: scale(0.9);
  -o-transform: scale(0.9);
  transform: scale(0.9);
}
.play-video.hidden {
  display: none;
}
/* Dashboard Container */
* {
  font-family: 'kalam';
}
#play-container {
  display: none;
}
#play-container.active {
  display: block;
}
#play-container.hidden-active {
  opacity: 0;
  pointer-events: none;
}
#play-container header,
#play-container footer {
  position: absolute;
  right: 0;
  left: 0;
  z-index: 99;
}
#play-container header {
  top: 0;
}
#play-container header .title {
  text-align: center;
}
#play-container footer {
  bottom: 0;
  pointer-events: none;
}
.default-container {
  position: relative;
  width: 100%;
  height: 100vh;
  margin-right: auto;
  margin-left: auto;
  padding-right: 15px;
  padding-left: 15px;
  padding-bottom: 45px;
}
/* ----- Header ------ */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding-top: 10px;
  padding-bottom: 10px;
}
header.pos-rel {
  position: relative;
}
header .header-logo.lg {
  display: none;
}
header .header-logo.sm {
  display: block;
  width: 90px;
}
header.flex {
  position: relative;
  width: 90%;
  padding: 5px 20px;
  margin-bottom: 30px;
  margin-left: auto;
  margin-right: auto;
  background-image: url('../images/BG_Header.png');
  background-size: 100% 100%;
}
header.flex .inner-container {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: justify!important;
  justify-content: space-between !important;
}
header.flex .header-logo {
  width: 75px;
}
header.flex .footer-content a:first-child {
  margin-left: 10px;
  margin-right: 20px;
}
header.flex .footer-content a:first-child img {
  width: 75px;
}
header.flex .footer-content a:last-child img {
  width: 125px;
}
header.flex .column {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  -webkit-align-items: center;
  -webkit-box-align: center;
  align-items: center;
}
header.flex .column:first-of-type,
header.flex .column:last-of-type {
  width: 350px;
}
header.flex .column:last-of-type {
  padding-top: 0;
  justify-content: flex-end;
}
header.flex .column .button {
  background-size: 100%;
  margin-right: 0;
  margin-left: 0;
  padding-right: 0;
  padding-left: 0;
}
header.flex .column .info-button.toggle-button {
  margin-right: -10px;
}
header.flex .title {
  font-size: 42px;
  text-align: center;
}
header .title {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 32px;
  color: #fff;
  text-shadow: 1px 2px 15px rgba(0, 0, 0, 0.6);
}
/* ----- Footer ----- */
footer {
  /*position: absolute;*/
  bottom: 0;
  left: 15px;
  right: 15px;
  padding-top: 10px;
  z-index: 5;
}
footer:before,
footer:after {
  content: "";
  display: table;
  clear: both;
}
footer.shadow {
  padding-top: 0;
}
footer .right-part,
footer .left-part {
  width: 50%;
}
footer .right-part {
  float: right;
  text-align: right;
}
footer .right-part a {
  display: inline-block;
}
footer .right-part a:first-child {
  margin-right: 10px;
}
footer .right-part a:hover,
footer .right-part a:focus,
footer .right-part a:active {
  text-decoration: none;
}
footer .left-part {
  float: left;
  padding-top: 10px;
  text-align: left;
}
footer .left-part a {
  display: inline-block;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}
footer .left-part a:first-child {
  margin-right: 10px;
}
footer .left-part a:hover {
  text-shadow: 1px 2px 5px rgba(0, 0, 0, 0.6);
}
footer a {
  margin: 4px 0;
  color: #fff;
  font-family: 'Open Sans', sans-serif;
}
footer a:hover,
footer a:focus,
footer a:active {
  color: #fff;
}
footer a:before,
footer a:after {
  content: "";
  display: table;
  clear: both;
}
footer .rel {
  position: relative;
}
footer .version-nr {
  position: absolute;
  width: 100%;
  bottom: -30px;
  left: 0;
  right: 0;
  color: #fff;
  font-size: 20px;
}
footer img {
  float: right;
}
.dashboard-container {
  display: none;
}
.dashboard-container.active {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-flex: 1;
  -webkit-flex-grow: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  -ms-flex-align: center;
  -webkit-align-items: center;
  -webkit-box-align: center;
  align-items: center;
  height: 100%;
}
.dashboard-container.hidden-active {
  opacity: 0;
  pointer-events: none;
}
.dashboard-container > div {
  width: 100%;
}
/* Intro section */
.introduction-container {
  display: none;
}
.introduction-container.active {
  display: block;
}
.introduction-container.hidden-active {
  opacity: 0;
  pointer-events: none;
}
.intro-section {
  position: relative;
  text-align: center;
}
.intro-section .hidden-title {
  height: 0;
  color: transparent;
  text-indent: -999px;
  opacity: 0;
  overflow: hidden;
}
.intro-section .intro-img {
  display: block;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.intro-section .play-button {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -30px;
  margin: auto;
}
.intro-section .info-button {
  position: absolute;
  left: 0;
  right: -20%;
  margin: 15px auto 0;
}
.intro-btn-c {
  position: relative;
  max-width: 100%;
  width: 250px;
  height: 120px;
  margin: 30px auto 0;
}
.intro-btn-c .button {
  position: absolute;
  margin-right: 16px;
  margin-left: 16px;
}
.intro-btn-c .button:first-of-type {
  left: 15px;
  top: 0;
}
.intro-btn-c .button:nth-child(2) {
  left: 0;
  right: 0;
  top: 15px;
  margin-left: auto;
  margin-right: auto;
}
.intro-btn-c .button:last-of-type {
  top: 0;
  right: 15px;
}
/* ---- Text container ---- */
.text-container {
  position: relative;
  height: 480px;
  margin-right: auto;
  margin-left: auto;
  margin-top: 2px;
  padding-top: 20px;
  padding-left: 10px;
  padding-right: 10px;
  overflow-y: auto;
  background-image: url('../images/shadow-for-text-inverse.png'), url('../images/shadow-for-text.png');
  background-position: bottom center, top center;
  background-size: 100% auto;
  background-repeat: no-repeat;
}
.text-container h2 {
  font-size: 20px;
}
.text-container .description {
  font-size: 26px;
}
.text-container p {
  margin-bottom: 35px;
  font-size: 26px;
}
.text-container .columns {
  padding-bottom: 15px;
}
.text-container .columns:before,
.text-container .columns:after {
  content: "";
  display: table;
  clear: both;
}
.text-container .columns .col-6:first-of-type .button {
  float: right;
  clear: both;
}
.text-container .columns .col-6:last-of-type .button {
  float: left;
  clear: both;
}
/* Settings */
.settings-container {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  /*background-image: url('../images/Elli_Start_BG@2x.jpg');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;*/
  overflow: hidden;
  z-index: 999;
}
.settings-container.hidden-active {
  opacity: 0;
  pointer-events: none;
}
.settings-container.active {
  display: block;
  opacity: 1;
  pointer-events: all;
}
/* Game list */
.game-list-container {
  display: none;
  padding-bottom: 70px;
  padding-left: 0;
  padding-right: 0;
  text-align: center;
}
.game-list-container.active {
  display: block;
}
.game-list-container.hidden-active {
  opacity: 0;
  pointer-events: none;
}
.game-list-container .list-container {
  position: relative;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  -webkit-align-items: center;
  -webkit-box-align: center;
  align-items: center;
  height: 600px;
  padding-left: 40px;
  padding-right: 40px;
  margin-right: 30px;
  margin-left: 30px;
  background-image: url('../images/slider-bg-container.png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.game-list-container .list-container .valign {
  width: 100%;
}
.game-list-container .title-container {
  position: absolute;
  top: 45px;
  left: 0;
  right: 0;
}
.game-list-container .bg-title {
  display: inline-block;
  margin-top: 20px;
  margin-bottom: 0;
  font-size: 42px;
}
.game-list-container .slick-prev,
.game-list-container .slick-next {
  position: absolute;
  top: 50%;
  width: 68px;
  height: 73px;
  margin-top: -37px;
  background-size: 100%;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center;
  text-indent: -9999px;
  z-index: 1;
}
.game-list-container .slick-prev.slick-next,
.game-list-container .slick-next.slick-next {
  right: -65px;
  background-image: url('../images/slider-next-btn.png');
}
.game-list-container .slick-prev.slick-prev,
.game-list-container .slick-next.slick-prev {
  left: -65px;
  background-image: url('../images/slider-prev-btn.png');
}
.game-list-container .slick-prev.slick-disabled,
.game-list-container .slick-next.slick-disabled {
  opacity: 0;
}
.game-list-container .slick-dots {
  bottom: -40px;
}
.game-list-container .slick-dots li {
  width: auto;
  height: auto;
  margin: 0;
}
.game-list-container .slick-dots li button {
  width: 25px;
  height: 25px;
  margin: 5px 10px;
  background-color: transparent;
  background-size: 25px 25px;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url('../images/slider-pager.png');
}
.game-list-container .slick-dots li button:before {
  display: none;
}
.game-list-container .slick-dots li.slick-active button {
  background-image: url('../images/slider-pager-active.png');
}
.game-list-container .item {
  width: 200px;
  padding-right: 22px;
  padding-left: 22px;
  margin-top: 40px;
}
.game-list-container .item .img-container {
  position: relative;
  width: 100%;
  height: 250px;
  margin-bottom: 20px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  border: 2px solid #d9ab82;
  border-radius: 25px;
  -webkit-box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.6);
  -moz-box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.6);
  box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.6);
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  -ms-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
}
.game-list-container .item:hover .img-container {
  -webkit-box-shadow: 0px 5px 25px 0px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 0px 5px 25px 0px rgba(0, 0, 0, 0.75);
  box-shadow: 0px 5px 25px 0px rgba(0, 0, 0, 0.75);
}
.game-list-container .item p {
  margin-top: 10px;
  font-size: 34px;
}
.game-list-container .item .game-description {
  display: none;
}
.game-list-container .item .star {
  display: block;
  position: absolute;
  bottom: -30px;
  right: 0;
  left: 0;
  width: 65px;
  height: 61px;
  margin: auto;
  background-repeat: no-repeat;
  background-image: url('../images/stars-x1.svg');
  background-size: 60px auto;
}
.game-list-container .item .description {
  margin-top: 15px;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
}
/* Loading screen */
.loading-screen .loader {
  position: absolute;
  display: block;
  bottom: 100px;
  left: 0;
  right: 0;
  width: 250px;
  height: 17px;
  max-width: 100%;
  margin: auto;
  border: 2px solid #fd7400;
  border-radius: 10px;
  background-color: #fff;
  overflow: hidden;
  -webkit-transition: all 0.1s ease;
  -moz-transition: all 0.1s ease;
  -ms-transition: all 0.1s ease;
  -o-transition: all 0.1s ease;
}
.loading-screen .loader .progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background-image: url('../images/loading-bg.jpg');
  background-position: 0 0;
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.loading-screen.ingame-loader {
  display: none;
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 99;
}
.loading-screen.ingame-loader.active {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-flex: 1;
  -webkit-flex-grow: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  -ms-flex-align: center;
  -webkit-align-items: center;
  -webkit-box-align: center;
  align-items: center;
  height: 100vh;
}
.loading-screen.ingame-loader.active > div {
  width: 100%;
}
/* Description template */
.description-template {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
.description-template.active {
  display: block;
}
.description-template.hidden-active {
  opacity: 0;
  pointer-events: none;
}
.description-template .meta-item {
  display: none;
}
.description-template .meta-item .text-container {
  min-height: 350px;
}
/* Game description template */
.game-description-template .text-center p {
  margin-top: 25px;
  margin-bottom: 55px;
}
.game-description-template .prev-button {
  margin-left: -285px;
}
.game-description-template .play-button {
  position: absolute;
  top: -100px;
  right: 0;
  left: 0;
  margin-left: auto;
  margin-right: auto;
}
/* Dialog boxes */
.dialog-box {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -webkit-box-flex: 1;
  -webkit-flex-grow: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  -ms-flex-align: center;
  -webkit-align-items: center;
  -webkit-box-align: center;
  align-items: center;
  z-index: 9;
}
.dialog-box.active {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}
.dialog-box.hidden-active {
  opacity: 0;
  pointer-events: none;
}
.dialog-box .box {
  position: relative;
  width: 650px;
  margin-left: auto;
  margin-right: auto;
  padding: 30px 100px;
  background-image: url('../images/WINDOW_stretchable.png');
  background-size: 100% 100%;
  text-align: center;
}
.dialog-box .box .x-button {
  position: absolute;
  top: -25px;
  right: -15px;
}
.dialog-box .box .text {
  margin-top: 45px;
  margin-bottom: 45px;
  font-size: 26px;
  font-weight: 700;
}
.dialog-box .box .default-button {
  position: absolute;
  display: block;
  width: 286px;
  bottom: -35px;
  left: 0;
  right: 0;
  margin: auto;
}
/* Inside game (nodes) */
#container {
  display: none;
}
#container.active {
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
#container.hidden-active {
  opacity: 0;
  pointer-events: none;
}
.page-wrapper {
  position: absolute;
  width: 1422px;
  height: 800px;
  left: 50%;
  top: 50%;
  margin-top: -400px;
  margin-left: -711px;
  overflow: hidden;
}
.page-wrapper.top {
  top: auto;
  margin-top: 0;
  transform-origin: top center;
}
.node-container {
  position: relative;
  width: 100%;
  height: 100%;
  margin: auto;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  animation-duration: 1s;
  animation-fill-mode: both;
  opacity: 0;
}
.node-container * {
  font-family: 'Open Sans', sans-serif;
}
.node-container.animate,
.node-container[data-animate-me="animate"] {
  opacity: 1;
}
.node-container img {
  height: 100%;
}
.node-container.no-image {
  width: 100%;
  height: 100%;
}
.node-container .node-image {
  display: block;
  margin: 0 auto;
}
/* Scalable container */
.scalable-element {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  z-index: 2;
  pointer-events: none;
  /*.transform(scale(0.5));*/
}
.scalable-element * {
  pointer-events: all;
}
/* Content Elements */
.content-element {
  position: absolute;
  background-size: 100% 100%;
  /* Alignment */
}
.content-element.stick-top {
  top: 20px !important;
  bottom: auto !important;
}
.content-element.stick-bottom {
  top: auto !important;
  bottom: 20px !important;
}
.content-element.stick-v-center {
  top: 20px !important;
  bottom: 20px !important;
  margin-top: auto !important;
  margin-bottom: auto !important;
}
.content-element.stick-left {
  left: 20px !important;
  right: auto !important;
}
.content-element.stick-right {
  right: 20px !important;
  left: auto !important;
}
.content-element.stick-h-center {
  left: 20px !important;
  right: 20px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.content-element.fit-screen {
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: initial !important;
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
}
.video-container {
  width: 100%;
  height: 100%;
}
.video-container video {
  position: absolute;
  width: 100%;
  height: 100%;
}
.richtext-result {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  width: 100%;
  height: 100%;
  padding: 10px;
}
.richtext-result p {
  margin-bottom: 10px;
}
/* Results container */
.results-container {
  display: none;
}
.results-container.active {
  display: block;
}
.results-container.hidden-active {
  opacity: 0;
  pointer-events: none;
}
.results-container.won .img-container {
  border-color: #ff7701;
}
.results-container.won .stars {
  background-image: url('../images/Won.png');
}
.results-container.lose .img-container {
  border-color: #696154;
}
.results-container.lose .stars {
  background-image: url('../images/Not_won.png');
}
.results-container .img-container {
  position: relative;
  width: 150px;
  height: 100px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
  border: 4px solid #000;
  border-radius: 15px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  -webkit-box-shadow: 0px 0px 60px 0px rgba(0, 0, 0, 0.6);
  -moz-box-shadow: 0px 0px 60px 0px rgba(0, 0, 0, 0.6);
  box-shadow: 0px 0px 60px 0px rgba(0, 0, 0, 0.6);
}
.results-container .stars {
  position: absolute;
  width: 90px;
  height: 42px;
  bottom: -21px;
  left: 0;
  right: 0;
  margin: auto;
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.results-container .title {
  margin-bottom: 5px;
  font-size: 24px;
}
.results-container p {
  width: 610px;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
}
.results-container .default-button {
  margin-top: 2px;
  margin-bottom: 2px;
}
.results-container footer {
  bottom: 5px;
}
@media (min-width: 768px) {
  header {
    padding-top: 40px;
    padding-bottom: 40px;
  }
  header .header-logo.sm {
    width: auto;
  }
  header.flex {
    margin-bottom: 60px;
  }
  header.flex .header-logo {
    width: 55px;
    margin-right: 15px;
  }
  header.flex .column:first-of-type,
  header.flex .column:last-of-type {
    /*width: 202px;*/
  }
  header.flex .button.info-button {
    width: 63px;
    height: 64px;
  }
  header.flex .button.x-button {
    width: 60px;
    height: 65px;
  }
  footer a {
    margin: 8px 0;
  }
  .default-container {
    padding-left: 30px;
    padding-right: 30px;
  }
  .text-container {
    /*padding-top: 40px;*/
    padding-top: 0;
  }
  .text-container h2 {
    font-size: 30px;
  }
  .text-container p {
    font-size: 26px;
  }
  .game-list-container .slick-dots {
    display: block !important;
  }
  .game-list-container .item {
    width: 210px;
  }
  .game-list-container .item .img-container {
    margin-bottom: 40px;
  }
  .game-list-container .item p {
    margin-top: 5px;
    font-size: 26px;
  }
  .button {
    /* Default bbutton */
  }
  .button.info-button {
    width: 83px;
    height: 84px;
  }
  .button.f-button {
    width: 80px;
    height: 87px;
  }
  .button.x-button {
    width: 80px;
    height: 85px;
  }
  .button.vol-button {
    width: 83px;
    height: 84px;
  }
  .button.sound-button {
    width: 80px;
    height: 87px;
  }
  .button.prev-button {
    width: 80px;
    height: 88px;
  }
  .button.toggle-button {
    width: 83px;
    height: 84px;
  }
  .button.default-button {
    min-width: 286px;
    line-height: 80px;
    padding: 8px 45px 0;
    font-size: 34px;
  }
  .button.default-button:active {
    /*font-size: 30px;*/
  }
  .button.default-button.sm {
    margin-right: 8px;
    margin-left: 8px;
    padding-left: 25px;
    padding-right: 25px;
    font-size: 26px;
    line-height: 65px;
  }
  .intro-section .elli-avatar {
    width: auto;
    top: 155px;
    left: -520px;
    margin-left: auto;
    margin-right: auto;
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
    transform: translateY(0);
  }
  .intro-section .play-button {
    bottom: -70px;
  }
  .intro-section .info-button {
    margin-top: 0;
    right: -33%;
  }
  .intro-btn-c {
    width: 400px;
  }
  footer {
    padding-bottom: 10px;
  }
  footer.shadow {
    padding-top: 25px;
  }
  footer .left-part,
  footer .right-part {
    width: auto;
  }
  footer .right-part {
    float: right;
  }
  footer .right-part a {
    display: inline-block;
  }
  footer .right-part a:hover,
  footer .right-part a:focus,
  footer .right-part a:active {
    text-decoration: none;
  }
  footer .left-part {
    float: left;
    padding-top: 10px;
  }
  footer .left-part a {
    display: inline-block;
  }
  footer a {
    margin: 8px 25px;
    color: #fff;
  }
  footer img {
    float: none;
  }
  .results-container .img-container {
    width: 235px;
    height: 200px;
    margin-top: 100px;
    margin-bottom: 55px;
    border: 4px solid #000;
  }
  .results-container .stars {
    width: 130px;
    height: 60px;
    bottom: -30px;
  }
  .results-container .title {
    margin-bottom: 30px;
    font-size: 32px;
  }
  .results-container p {
    margin-bottom: 30px;
    font-size: 16px;
  }
  .results-container .default-button {
    margin-left: 5px;
    margin-right: 5px;
  }
  /* Game description template */
  .game-description-template .text-center p {
    margin-bottom: 110px;
  }
  .game-description-template .prev-button {
    margin-left: -285px;
  }
  .game-description-template .play-button {
    position: absolute;
    top: -100px;
    right: 0;
    left: 0;
    margin-left: auto;
    margin-right: auto;
  }
}
@media (min-width: 992px) {
  header.flex {
    /*padding-left: 50px;
            padding-right: 50px;*/
  }
  header.flex .footer-content {
    display: inline-block;
  }
  header.flex .column:first-of-type,
  header.flex .column:last-of-type {
    width: 325px;
  }
  header.flex .column .bundle-buttons {
    display: none;
  }
  header.flex .column .button {
    display: inline-block;
    float: left;
  }
  header .header-logo.lg {
    display: block;
  }
  header .header-logo.sm {
    display: none;
  }
  .dashboard-container,
  .default-container {
    padding-right: 50px;
    padding-left: 50px;
  }
  .game-list-container {
    padding-left: 0;
    padding-right: 0;
  }
  .game-list-container .list-container {
    margin-right: 50px;
    margin-left: 50px;
  }
  .game-list-container .item {
    width: 260px;
    padding-right: 22px;
    padding-left: 22px;
  }
  .game-list-container .item .img-container {
    height: 200px;
  }
  .game-list-container .slick-prev.slick-next,
  .game-list-container .slick-next.slick-next {
    right: -68px;
  }
  .game-list-container .slick-prev.slick-prev,
  .game-list-container .slick-next.slick-prev {
    left: -68px;
  }
  .footer {
    left: 50px;
    right: 50px;
  }
}
@media (min-width: 1200px) {
  .intro-section .info-button {
    right: -25%;
  }
  .game-list-container .item .img-container {
    height: 250px;
  }
}
@media (max-height: 800px) {
  /* Results container */
  .results-container .img-container {
    margin-top: 0;
  }
}
@media (max-height: 550px) {
  /* Results container */
  .results-container footer {
    position: relative;
    left: 0;
    right: 0;
    padding-top: 10px;
  }
}
@media (max-height: 400px) {
  .text-container .button {
    margin-top: 0;
    margin-bottom: 0;
  }
  .intro-section {
    padding-top: 15px;
  }
  .intro-section .intro-img {
    width: 55%;
  }
  .intro-section .info-button {
    margin-top: -35px;
    right: -25%;
  }
  .intro-btn-c {
    margin-top: 0;
  }
  .game-list-container footer {
    position: relative;
    left: 0;
    right: 0;
    padding-top: 15px;
  }
  footer {
    padding-top: 0;
  }
  footer.shadow .btn-md-container {
    margin-bottom: -30px;
  }
}