/**** //Game Layout StyleSheet ****/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400&family=Roboto:wght@700&display=swap');

body {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 20px;
}

.wrapper {
  max-width: 425px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.link {
  text-decoration: underline;
}

.btn-primary {
  font-size: 15px;
  font-weight: 600;
  line-height: 24px;
  color: #FFF;
  background-color: #001A4B;
  padding: 12px 32px;
  border-radius: 12px;
  white-space: nowrap;
  outline: none;
  border: 1px solid #001A4B;
  transition: all 0.3s;
}
.btn-primary.outline {
  color: #001A4B;
  border: 1px solid #001A4B;
  background-color: transparent;
}
.btn-primary.outline:hover {
  color: #FFF;
  background-color: #001A4B;
}

#top-app-bar {
  position: relative;
  height: 56px;
  width: 100%;
  padding-left: .5rem;
  padding-right: .5rem;
  background-color: #FFF;
  box-shadow: 0px 1px 5px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}
#top-app-bar #app-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #242424;
  font-style: normal;
  font-weight: bold;
  font-size: 18px;
  line-height: 28px;
  text-decoration: none;
}
#top-app-bar #back-btn {
  padding: .5rem .25rem;
  cursor: pointer;
}
#app-content {
  max-width: 425px;
  /* height: calc(100vh - 56px); */
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.modal {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50% 50%;
  border-radius: 20px;
  box-shadow: 0px 0px 16px 4px rgba(0, 0, 0, 0.12);
  display: block;
  max-width: calc(425px - 40px);
  width: calc(100% - 40px);
  min-height: 382px;
  height: 80%;
  /* overflow: auto; */
  position: absolute;
  top: 50%;
  left: 50%;
  bottom: auto;
  right: auto;
  transform: translate(-50%, -50%);
  overflow: hidden;
  z-index: 209;
}
.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.2);
}
.modal-header {
  padding: 20px 12px;
  position: relative;
  border: 0;
}
.modal-close {
  cursor: pointer;
}
.modal-close img {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 42px;
  height: 42px;
  transition: 0.3s;
}
.modal-close img:hover {
  transform: rotate(90deg);
}
.modal-title {
  text-align: center;
}
.modal-title img {
  max-width: 170px;
  max-height: 48px;
  margin-bottom: 4px;
}
.modal-title h1 {
  font-size: 32px;
  line-height: 48px;
  margin-bottom: 4px;
  margin-top: 0;
}
.modal-title p {
  font-size: 15px;
  line-height: 28px;
}
.modal-body {
  padding: 22px 12px;
}

#mask {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 205;
  background-color: rgba(0, 0, 0, 0.4);
}

.game-modal .group-info {
  background: rgba(255, 255, 255, 0.8);
  border-radius: 12px;
  min-height: 160px;
  padding: 32px 12px 12px 12px;
  position: relative;
  margin-bottom: 32px;
}
.game-modal .group-info label {
  position: absolute;
  top: -21px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 15px;
  font-weight: 600;
  line-height: 24px;
  color: #FFF;
  background-color: #001A4B;
  padding: 8px 28px;
  border-radius: 4px;
  white-space: nowrap;
}

.html {
  font-size: 13px;
  font-weight: 300;
  line-height: 20px;
  color: #000;
}
.html ol, ul {
  list-style: auto;
  margin-left: 1em;
  padding-left: 1em;
}
.html ol, ul li {
  margin-bottom: 12px;
}
.html .cms-content ul {
  list-style: none;
  margin: 0;
}
.html .cms-content .block-row {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
}
.html .cms-content .block-col.row_12 {
  width: 100%;
}
.html .cms-content .block-col.row_6_6 {
  width: 50%;
}
.html .cms-content .block-col.row_4_8:first-of-type {
  width: 37%;
}
.html .cms-content .block-col.row_4_8:last-of-type {
  width: 63%;
}
.html .cms-content .block-col.row_8_4:first-of-type {
  width: 63%;
}
.html .cms-content .block-col.row_8_4:last-of-type {
  width: 37%;
}
.html .cms-content .block-col.row_4_4_4 {
  width: calc(100% / 3);
}
.html .cms-content .block-carousel {
  text-align: center;
}
.html .cms-content .block-carousel img {
  width: 52px;
  height: 52px;
}
.html .cms-content .ql-editor p {
  font-size: 13px;
  font-weight: 400;
  line-height: 20px;
  color: #000;
  /* text-align: center; */
}

#game-modal .modal-body {
  height: calc(100% - 107px);
  overflow: auto;
}

.prize-reward {
  padding: 12px;
  background-color: #FFF;
  border: 1px solid #F3F3F3;
  box-sizing: border-box;
  border-radius: 12px;
  margin-bottom: 12px;
  cursor: pointer;
  /* transition: all 0.3s; */
  box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.16);
}
.prize-reward:hover {
  /* box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.16); */
}
.prize-reward .thumbnail {
  width: 37%;
  display: inline-block;
  vertical-align: top;
  position: relative;
  height: 0;
  padding: 21% 0 0 0;
  margin: 0;
  border: 0;
  border-radius: 4px;
  overflow: hidden;
}
.prize-reward .thumbnail img {
  position: absolute;
  max-width: 100%;
  max-height: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.prize-reward .info {
  width: 60%;
  display: inline-block;
  vertical-align: top;
  padding-left: 8px;
}
.prize-reward .info h3 {
  font-size: 15px;
  line-height: 22px;
  color: #00112F;
  margin-bottom: 2px;
}
.prize-reward .info p {
  font-size: 15px;
  font-weight: 600;
  line-height: 24px;
  color: #000;
  margin-bottom: 0;
}
.prize-reward .info p.date {
  font-size: 12px;
  font-weight: 400;
  color: #888;
}

#prize-history p.seemore {
  font-size: 13px;
  font-weight: 600;
  line-height: 20px;
  text-align: center;
  margin-top: 8px;
  margin-bottom: 8px;
  padding: 0 20px;
}
#prize-history p.seemore a {
  color: #000;
}
#prize-history p.seemore a:hover {
  color: #001A4B;
}
#prize-history .list-prize {
  /* max-height: 372px; */
  height: calc(100% - 44px);
  overflow: auto;
}
#prize-history .modal-body {
  height: calc(100% - 107px);
}
#prize-history .modal-body .group-info {
  height: 100%;
}
#prize-history.autoscaled {
  height: auto;
  min-height: auto;
}
#prize-history.autoscaled .modal-body {
  height: auto;
  padding: 12px;
}
#prize-history.autoscaled .modal-body .group-info {
  min-height: auto;
  margin-bottom: 0;
}
#prize-history.autoscaled p.seemore {
  padding-bottom: 20px;
}

#winning .actions {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}
#winning .actions button {}
#winning p.seemore {
  font-size: 13px;
  font-weight: 600;
  line-height: 20px;
  text-align: center;
  margin-top: 8px;
  margin-bottom: 0;
  padding: 0 20px;
}
#winning p.seemore a {
  color: #000;
}
#winning p.seemore a:hover {
  color: #001A4B;
}

.winning-reward {
  text-align: center;
}
.winning-reward img {
  max-width: 104px;
  max-height: 104px;
}
.winning-reward h3 {
  font-size: 15px;
  font-weight: 600;
  line-height: 24px;
  color: #001A4B;
  margin-top: 4px;
  margin-bottom: 8px;
}
.winning-reward p {
  font-size: 13px;
  font-weight: 400;
  line-height: 20px;
  color: #001A4B;
  margin-bottom: 8px;
}

#preStart p {
  font-size: 15px;
  line-height: 24px;
  color: #001A4B;
  text-align: center;
}
#preStart p strong {
  font-weight: 600;
}
#preStart button.btn-primary {
  min-width: 122px;
  padding-left: 0;
  padding-right: 0;
  margin-left: 6px;
  margin-right: 6px;
}

.error-message {
  height: 100vh;
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
}
.error-message h3 {
  font-size: 22px;
  font-weight: 600;
  color: #001A4B;
  line-height: 30px;
  text-align: center;
  margin-bottom: 4px;
}
.error-message p {
  font-size: 14px;
  line-height: 20px;
  color: #001A4B;
  margin: 0;
}

#errorModal {
  height: auto;
  min-height: 200px;
  background: #FFF !important;
}
#errorModal p {
  font-size: 14px;
  color: #001A4B;
  text-align: center;
  padding: 20px 12px;
}

.spinner {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.spinner div {
  position: absolute;
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  animation: lds-default 1.2s linear infinite;
}
.spinner div:nth-child(1) {
  animation-delay: 0s;
  top: 37px;
  left: 66px;
}
.spinner div:nth-child(2) {
  animation-delay: -0.1s;
  top: 22px;
  left: 62px;
}
.spinner div:nth-child(3) {
  animation-delay: -0.2s;
  top: 11px;
  left: 52px;
}
.spinner div:nth-child(4) {
  animation-delay: -0.3s;
  top: 7px;
  left: 37px;
}
.spinner div:nth-child(5) {
  animation-delay: -0.4s;
  top: 11px;
  left: 22px;
}
.spinner div:nth-child(6) {
  animation-delay: -0.5s;
  top: 22px;
  left: 11px;
}
.spinner div:nth-child(7) {
  animation-delay: -0.6s;
  top: 37px;
  left: 7px;
}
.spinner div:nth-child(8) {
  animation-delay: -0.7s;
  top: 52px;
  left: 11px;
}
.spinner div:nth-child(9) {
  animation-delay: -0.8s;
  top: 62px;
  left: 22px;
}
.spinner div:nth-child(10) {
  animation-delay: -0.9s;
  top: 66px;
  left: 37px;
}
.spinner div:nth-child(11) {
  animation-delay: -1s;
  top: 62px;
  left: 52px;
}
.spinner div:nth-child(12) {
  animation-delay: -1.1s;
  top: 52px;
  left: 62px;
}
@keyframes lds-default {
  0%, 20%, 80%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.5);
  }
}