@font-face {
  font-family: Nunito;
  src: url("/fonts/Nunito/Nunito-ExtraLight.ttf") format("truetype");
  font-weight: 400;
}

@font-face {
  font-family: Nunito;
  src: url("/fonts/Nunito/Nunito-ExtraLight.ttf") format("truetype");
  font-weight: 500;
}

@font-face {
  font-family: Nunito;
  src: url("/fonts/Nunito/Nunito-Light.ttf") format("truetype");
  font-weight: 600;
}

@font-face {
  font-family: Nunito;
  src: url("/fonts/Nunito/Nunito-Light.ttf") format("truetype");
  font-weight: 700;
}

@font-face {
  font-family: Nunito;
  src: url("/fonts/Nunito/Nunito-Bold.ttf") format("truetype");
  font-weight: 800;
}

@font-face {
  font-family: Nunito;
  src: url("/fonts/Nunito/Nunito-Bold.ttf") format("truetype");
  font-weight: 900;
}

@font-face {
  font-family: Nunito ;
  src: url("/fonts/Nunito/Nunito-ExtraBold.ttf") format("truetype");
  font-weight: 1000;
}

:root {
  /* variables */
  --banner-width: calc((100vw - 320px) / 4 - 25px);
  --banner-width2: calc((100vw - 50px) / 5 - 25px);
  --banner-height: calc(((100vw - 50px) / 5 - 25px) * 0.5);
  --topbar-height: 50px;

  /*Dark side*/
  --input-select-border-color: #3d8bef;
  --input-field-color: #99999933;
  --input-text-color: #fff;
  --main-color: #000;
  --button-color: #3d8bef;
  --darkscreen-color: #111111aa;
  --link-color: #3d8bef;
  --button-text-color: #fff;
  --round-button-color: #99999922;
  --caption-color: #33363f;
  --panel-color: #33363f;
  --hr-color: #c4c4c44d;
  --text-color-mute: #888;
  --text-color: #c4c4c44d;
  --text-color-sel: #3d8bef;
  --border-color: #c4c4c44d;
  --red-line-color: #6c0007cc;
  --lite-text: #868686;
  --rate-submit-color: #f7bc08;

  --active-color: #9b51e0;

  /*Light side*/
  --light-bg-color: #fff;
  --light-label-text-color: #000;

  /* Daily Bonus */
  --bonus-bg-color: #3d8bef;
  --bonus-title-color: #f7bc08;
  --bonus-day-color: linear-gradient(#66adf8, #a5d0fb);
  --bonus-vip-color: linear-gradient(#9b51e0, #a5d0fb);
  --bonus-day-outline-color: linear-gradient(#47ef6d, #29bd4b);
}

html {
}

body {
  min-height: 1100px;
  display: flex;
  flex-direction: column;

  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  background-color: var(--main-color);
  color: var(--button-text-color);
}

* {
  box-sizing: border-box;
  font: 1rem "Nunito";
  outline: none !important;
  font-size: 20px;
  font-weight: 700;
}

article {
  margin: 20px 20px 20px 50px;
}

.primary-tasks {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 30px;
  list-style: none;
}

.dialog-margin-top {
  top: 125px !important;
}

.ui-dialog-content {
  max-height: 77vh !important;
}

.dialog-off-canvas-main-canvas,
.page {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.image-button {

}

.star-icon {
  background-image: url(/images/star.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.icon24 {
  height: 24px;
  width: auto;
  border-radius: unset;
}

.icon150 {
  height: 150px;
  width: auto;
  border-radius: 15px;
}

.icon30 {
  height: 30px;
  width: auto;
  border-radius: unset;
}

.icon35 {
  height: 35px;
  width: auto;
  border-radius: unset;
  margin-top: -5px;
}

.icon65-star {
  height: 65px;
  font-size: 0 !important;
  background-color: unset;
  background-image: url(/images/star_le.svg);
  transition: background-image 0.5s ease-in-out;
}

.icon65-star-g {
  height: 65px;
  font-size: 0 !important;
  background-color: unset;
  background-image: url(/images/star_le.svg);
  transition: background-image 0.5s ease-in-out;
}

.icon65-star-y {
  height: 65px;
  font-size: 0 !important;
  background-color: unset;
  background-image: url(/images/star_ly.svg);
  transition: background-image 0.5s ease-in-out;
}

.icon65-star:hover {
  background-image: url(/images/star_ly.svg);
  transition: background-image 0.5s ease-in-out;
}

.icon60 {
  height: 60px;
  width: 60px;
  border-radius: 30px;
}

.icon80 {
  height: 80px;
  width: auto;
  border-radius: 15px;
}

.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

h1, .h1, h2, .h2, h3, .h3,
h4, .h4, h5, .h5, h6, .h6 {
  line-height: 1.25;
  font-weight: 600;
  color: var(--button-text-color);
}

h1, .h1 {
  font-size: 3rem;
}

h2, .h2 {
  font-size: 2.5rem;
}

h3, .h3 {
  font-size: 2rem;
}

h4, .h4 {
  font-size: 1.5rem;
}

h5, .h5 {
  font-size: 1.25rem;
}

h6, .h6 {
  font-size: 1rem;
}

p {
  font-size: 1rem;
  line-height: 1.5;
}

.button, .page-hero__actions a,
a.button {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 24px;
  border: 0;
  margin: 0;
  padding: 12px 20px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  text-decoration: none;
  text-align: center;
  display: block;
  color: var(--button-text-color) !important;
  cursor: pointer;
}

a {
  text-decoration: none;
  color: var(--text-color-mute);
}

.site-search {
  background-image: url('/images/search.svg') !important;
  background-repeat: no-repeat;
  background-position: 10px !important;

  height: 40px;
  border-radius: 20px !important;
  background-color: var(--input-field-color);
  padding-left: 45px !important;

  color: var(--input-text-color);
}

.wide-width {
  width: 100%;
}

.option {
  margin-left: 10px;
  color: var(--caption-color);
}

#edit-pass,
#edit-current-pass,
#edit-pass-pass1,
#edit-pass-pass2,
#edit-mail,
#edit-name,
.input-field {
  /*  height: 47px; */
  border-radius: 10px;
  border-width: 0;
  padding: 10px;
  color: var(--light-label-text-color);
  width: 100%;
}

#edit-current-pass,
#edit-pass-pass1,
#edit-pass-pass2,
#edit-pass,
#edit-mail,
#edit-name {
  background-color: #ffffff20;
  color: white;
}


.round_button {
  background-color: var(--round-button-color);
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
}

.active {
  background-color: var(--active-color) !important;
}

.back-button {
  position: absolute;
  left: 10px;
  top: 10px;
  width: 25px;
  height: 25px;
  background-image: url("/images/back.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-color: unset !important;
}

#edit-user-picture-0-upload,
#edit-submit,
.button_blue {
  background-color: var(--button-color);
  border-radius: 30px;
  cursor: pointer;
  font-weight: 800;
  font-size: 16px;
  padding: 8px 16px;
}

.button_blue:hover {

}

.active-button {
  cursor: pointer;
}

.active-button:hover {
  scale: 105%;
}

.active-button:active {
  scale: 95%;
}

.form-select {
  background-color: var(--button-color);
  color: var(--input-text-color);
  border-radius: 30px;
  cursor: pointer;
  font-weight: 800;
  font-size: 16px;
  padding: 8px 16px;
}

.no_frame:hover,
.no_frame {
  border-style: hidden;
}

.light-text {
  color: var(--button-text-color) !important;
  background-color: unset !important;
}

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

.light-link {
  color: var(--link-color) !important;
}

.big_label {
  font-size: 2em;
  font-weight: bold;
  padding: 10px;
  cursor: default;
  color: var(--light-label-text-color);
}

.med_label {
  font-size: 1.5em;
  font-weight: bold;
  padding: 15px;
  margin: 15px;
  cursor: default;
  color: var(--light-label-text-color);
}

.ltl_label {
  font-size: 1em;
  padding: 15px;
  margin: 15px;
  cursor: default;
}

.fieldset-wrapper {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  padding: 10px;
  gap: 10px;
  color: var(--caption-color);
}

input {
  border: none;
}

::placeholder {
  color: var(--text-color-mute);
  opacity: 1; /* Firefox */
}

label {
  /*  color: var(--light-label-text-color);*/
  text-align: justify;
}

input:focus,
input:active {
  outline-color: var(--input-select-border-color);
}

.link {
  background-color: var(--light-bg-color);
  color: var(--link-color);
  font-weight: 600;
  cursor: pointer;
}

.text {
  color: var(--light-label-text-color);
}

.lite-text {
  color: var(--lite-text);
}

.blueborder {
  background-color: var(--input-field-color);
}

.simple-outlined {
  background-color: unset !important;
  outline: auto !important;
}

.right {
  align-self: flex-end;
}

/* messages */

.data-drupal-messages,
.messages--status,
.messages--warning,
.messages--error
  /*.messages__wrapper*/
{
  position: fixed;
  display: flex;
  top: calc(50% - 150px);
  left: calc(50% - 150px);
  min-width: 400px;
  min-height: 100px;
  background-color: black;
  justify-content: center;
  align-items: center;
  outline-color: aqua;
  outline-style: double;
  padding: 20px;
  z-index: 200;
}

.closer {
  right: 10px;
  top: 10px;
  position: absolute;
  cursor: pointer;
}

.disabled {
  user-select: none;
  pointer-events: none;
}

/* Prepare game page */
.bg-image {
  width: 100vw;
  background-repeat: no-repeat;
  height: 100vh;
  background-size: cover;
  filter: opacity(0.2);
  position: fixed;
  z-index: -100;
}

.prep-page-fields {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  top: 20%;
  position: relative;
}

.red-line {
  height: 60px;
  background-color: var(--red-line-color);
  width: 100vw;
  bottom: 0;
  position: absolute;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 15px;
}

.play-button {
  padding: 8px 60px 8px 60px !important;
  background-image: url(/images/play.svg);
  background-repeat: no-repeat;
  background-position: right 5px center;
  background-size: 15%;
}

.ver-flex {
  display: flex;
  width: 100%;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  gap: 20px;
  border-radius: 10px;
  padding: 20px;
}

.hor-flex {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
}

.hor-flex5 {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;
}

.js-form-item-mail {
  width: 100%;
}

.iap_button {
  padding: 5px 90px 5px 60px;
  height: 80px;
  font-family: 'Nunito', serif;
  font-size: 32px;
  font-weight: 900;
  line-height: 43.65px;
  text-align: left;
  background-image: url(/images/items/all.svg);
  background-repeat: no-repeat;
  background-position: right 35px center;
  background-size: 12%;
}

/* Captions */

.simple-text {
  color: var(--caption-color);
}

.caption-20 {
  font-weight: 700;
  font-size: 20px;
}

.caption-24 {
  font-weight: 700;
  font-size: 24px;
}

.caption-28 {
  font-weight: 800;
  font-size: 28px;
}

.caption-32 {
  font-weight: 900;
  font-size: 32px;
}

.caption-36 {
  font-weight: 900;
  font-size: 36px;
}

.caption-40 {
  font-weight: 900;
  font-size: 40px;
}

.text-align-right,
.adsense-placeholder {
  position: absolute;
  right: 1px;
  top: 41px;
  max-height: calc(min(87vh, 60vw)) !important;
  overflow: hidden;
  min-height: 600px;
}

.text-align-left {
  position: absolute;
  left: 1px;
  top: 41px;
  max-height: calc(min(87vh, 60vw)) !important;
  overflow: hidden;
  min-height: 600px;
}

.pay-frame {
  width: 900px;
  height: 500px;
}

.avatar-main {
  width: 60px;
  height: 60px;
  background-size: 60px;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 30px;
  margin: 30px 0 10px 0;
}

.avatar-star {
  position: relative;
  left: -8px;
  bottom: -28px;
  display: block;
}

.avatar-lvl {
  position: relative;
  left: -22px;
  bottom: -6px;
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: black;
  font-family: cursive;
  text-align: center;
  align-content: center;
}

.avatar-name {
  position: relative;
  right: -72px;
  bottom: 32px;
  display: block;
  color: var(--link-color);
}


.ajax-progress {
  position: fixed;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  left: 0;
  z-index: 10;
}

.ajax-progress .throbber {
  background: transparent url(/images/trobbler.gif) no-repeat 0 center;
  background-size: contain;
  float: none;
  height: 75px;
  width: 75px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -7px 0 0 -7px;
}

.rate-edit {
  width: 1010px;
  height: 185px;
  max-width: 1010px;
  font-weight: 800;
  font-size: 28px;
  border-color: var(--rate-submit-color);
  border-width: 2px;
  border-radius: 15px;
  padding: 5px 10px 5px 10px;
  background-color: var(--input-field-color);
  color: var(--button-text-color);
}

.rate-submit {
  width: 100%;
  border-radius: 15px;
  background-color: var(--rate-submit-color);
  color: var(--caption-color);
  font-size: 20px;
  font-weight: 800;
}

.rate-change {
  border-radius: 15px;
  background-color: var(--rate-submit-color);
  color: var(--caption-color);
  font-size: 20px;
  font-weight: 800;
  margin: 10px 0 10px 0;
  padding-right: 50px;
  background-image: url(/images/pencil.svg);
  background-repeat: no-repeat;
  background-position: calc(100% - 15px) calc(50% - 2px);
}


/* user space */
.user-pass,
.user-login-form,
.user-form {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 10px;
  padding: 40px;
}

.user-logout-confirm,
.user-pass-reset {
  padding: 50px;
}

#edit-account {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

#edit-name,
#edit-mail {
  max-width: 250px;
}

.form-submit {
  color: var(--caption-color);
}


.js-form-required {
  color: white;
}

.form-item-pass-pass1,
.form-item-pass-pass2,
#edit-contact,
.field--name-user-picture,
.form-item-pass,
.form-item-name,
.form-item-mail {
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.ads-dialog {
  min-height: 500px;
}

#drupal-modal {
  height: unset !important;
}

.msg-frame {
  width: 836px;
  height: auto;
  background-color: var(--input-field-color);
  padding: 20px;
  margin: 20px;
  border-radius: 15px;
  text-align: center;
  color: var(--button-text-color);
  font-size: 24px;
  font-weight: 700;
  min-height: 200px;
}

.msg-btn {
  min-width: 200px;
  font-size: 20px;
  height: 55px;
}

.banner-up {
  position: absolute;
  bottom: 30px;
  padding-left: 77px;
  cursor: pointer;
}

#block-allgames-content,
.gamedash {
  min-height: 1080px;
}
