a {
  text-decoration: none;
}
html {
  height: 100%;
  background-image: none !important;
  background-color: #5b0cda !important;
}
body {
  min-height: 100%;
}
h1 {
  font-size: 1.8em;
  color: #fff;
  text-align: center;
  padding: 20px 0 10px;
  clear: both;
  font-weight: 400;
}
.tab-left,
.tab-right {
  position: fixed;
  top: 10px;
  padding: 7px;
  margin: 0;
  font-size: 36px;
  line-height: 27px;
  color: #d45190;
  z-index: 9999;
}
[dir="ltr"] .tab-left,
[dir="rtl"] .tab-right {
  left: 0;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
[dir="ltr"] .tab-right,
[dir="rtl"] .tab-left {
  right: 0;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
[dir="ltr"] .tab-left.hidden,
[dir="ltr"] #tabs.hidden .tab-left,
[dir="rtl"] .tab-right.hidden,
[dir="rtl"] #tabs.hidden .tab-right,
[dir="ltr"] #menu-close,
[dir="ltr"] .play #tabs .tab-left {
  left: -45px;
}
[dir="ltr"] .tab-right.hidden,
[dir="ltr"] #tabs.hidden .tab-right,
[dir="rtl"] .tab-left.hidden,
[dir="rtl"] #tabs.hidden .tab-left,
[dir="rtl"] #menu-close,
[dir="rtl"] .play #tabs .tab-left {
  right: -45px;
}
.tab-left.ico svg,
.tab-right.ico svg {
  height: 0.7em;
  fill: #d45190;
  top: 0;
  margin: 0;
  vertical-align: bottom;
}
.boys .tab-left.ico svg,
.boys .tab-right.ico svg {
  fill: #006cc2;
}
.menu {
  height: 100%;
  position: fixed;
  top: 0;
  left: -205px;
  z-index: 9998;
}
[dir="rtl"] .menu {
  right: -205px;
  left: auto;
}
.menu .menu-title {
  width: 180px;
  margin: 0;
  border-radius: 0;
  border-bottom-width: 1px;
  z-index: 9998;
  box-shadow: 0 4px 5px 0 #00000090;
}
.menu #menu-close-bg {
  position: absolute;
  top: 0;
  width: 0;
  height: 100%;
  background-color: transparent;
}
.menu.visible #menu-close-bg {
  left: 204px;
  width: 100%;
}
[dir="rtl"] .menu.visible #menu-close-bg {
  right: 204px;
  left: auto;
}
.menu.visible {
  left: 0;
  width: 100%;
  overflow-x: hidden;
}
[dir="rtl"] .menu.visible {
  right: 0;
}
#tabs.visible .tab-left,
#tabs.visible #menu-close,
.play #tabs.visible .tab-left {
  left: 204px;
  position: fixed;
}
[dir="rtl"] #tabs.visible .tab-left,
[dir="rtl"] #tabs.visible #menu-close,
[dir="rtl"] .play #tabs.visible .tab-left {
  right: 204px;
  left: auto;
}
.menu ul {
  display: block;
  width: 200px;
  min-height: 100%;
  padding: 0 0 3px;
  border-radius: 0;
  border-bottom-right-radius: 10px;
}
.menu ul a {
  display: block;
  border-radius: 10px;
}
#search {
  position: fixed;
  top: -60px;
  display: none;
}
#search.visible {
  top: 0;
  display: block;
}
#search input[type="text"] {
  /* width: calc(100% - 190px); */
  width: calc(100% - 100px);
}
#search-result {
  position: fixed;
  width: calc(100% - 15px);
  height: calc(100% - 70px);
  top: 55px;
  right: 0;
  left: 0 !important;
  overflow: scroll;
}
#game-list #logo {
  display: block;
  position: relative;
  background: no-repeat 50% 50%;
  background-size: contain;
  width: 75%;
  height: 3rem;
  margin: 2rem auto 5rem;
}
#game-list #logo h1 {
  position: absolute;
  bottom: -3rem;
  text-align: center;
  width: 100%;
}
#game-list * {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
#game-list {
  margin: auto;
  font-size: 0.9rem;
  line-height: 1.3rem;
  min-width: 20rem;
  max-width: 94vw;
  clear: both;
}
.thumb {
  position: relative;
  display: block;
  float: left;
  border-radius: 15%/20%;
  box-shadow: 0 0 7px 0 #333;
}
[dir="rtl"] .thumb {
  float: right;
}
.thumb:last-child {
  margin-right: 0;
}
.thumb .game-name {
  position: absolute;
  left: 0;
  width: 100%;
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.thumb img {
  border-radius: 15%/20%;
  width: 100%;
  height: 100%;
  background: #fff url(../images/loading-image.gif) 50% 50% no-repeat;
}
.thumb .badge {
  right: 0;
}
[dir="rtl"] .thumb .badge {
  left: 0;
}
.thumb {
  margin: 0 2vw 14vw;
  width: 43vw;
  height: 32.25vw;
}
.thumb .game-name {
  bottom: -10vw;
  height: 8.2vw;
  font-size: 4vw;
  line-height: 4vw;
  overflow: hidden;
}
#side-games {
  padding: 4vw 0;
  width: 100%;
  height: 48vw;
  overflow: hidden;
}
#side-games .thumb {
  margin: 0 1.5vw 6vw;
  width: 29vw;
  height: 21.75vw;
}
#side-games .game-name {
  display: none;
}
@media (min-width: 530px) {
  html {
    font-size: 18px;
  }
  .thumb,
  #side-games .thumb {
    margin: 0 1.5vw 6vw;
    width: 20.5vw;
    height: 15.375vw;
  }
  .thumb .game-name {
    bottom: -5vw;
    height: 4.5vw;
    font-size: 2vw;
    line-height: 2.3vw;
  }
  #side-games {
    height: 38vw;
  }
}
@media (min-width: 800px) {
  html {
    font-size: 20px;
  }
  .thumb,
  #side-games .thumb {
    margin: 0 1vw 6vw;
    width: 16.8vw;
    height: 12.6vw;
  }
  .thumb .game-name {
    bottom: -4.5vw;
    height: 4vw;
    font-size: 1.7vw;
    line-height: 2vw;
  }
  #side-games {
    height: 11vw;
  }
}
.page-text-bg {
  padding: 20px;
}
.page-text-bg .page-text {
  max-height: 120px;
  overflow: auto;
}
#footer {
  background-color: transparent;
  border: 0;
  font-size: 0.8rem;
  clear: both;
  text-align: center;
  padding: 10px 0;
}
#footer a {
  text-decoration: underline;
}
.play {
  background: #333;
  margin: 0;
  padding: 0;
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
}
.play header {
  height: 0;
}
.play .breadcrumbs {
  height: auto;
}
.mobile.play #search {
  z-index: 9999;
}
.play #page,
.play #body {
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
}
.play section {
  display: none;
  position: absolute;
  background: #fff;
  padding: 2vw;
  height: 100%;
  overflow: auto;
}
.article-title {
  margin-top: 20px;
  height: auto;
}
#tabs-game {
  float: right;
}
[dir="rtl"] #tabs-game {
  float: left;
}
#tabs-game a {
  border-radius: 10px;
  float: left;
  margin-left: 10px;
}
[dir="rtl"] #tabs-game a {
  float: right;
  margin-right: 10px;
  margin-left: auto;
}
#mobile-menu-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 50px;
  width: 100%;
  background: #7e0048d1;
  z-index: 15;
  overflow: hidden;
}
[dir="rtl"] #mobile-menu-bar {
  right: 0;
  left: auto;
}
[dir="rtl"] #mobile-menu-bar span,
[dir="rtl"] #mobile-menu-bar a {
  float: right;
}
#mobile-menu-bar.hidden {
  display: none;
}
.boys #mobile-menu-bar {
  background: #00447ed1;
}
#mobile-menu-bar svg {
  display: block;
  margin: 10px;
  height: 30px;
  width: 30px;
  float: left;
  filter: drop-shadow(0px 0px 4px #000);
}
#mobile-menu-bar #logo {
  display: block;
  float: left;
  height: 50px;
  background: no-repeat 50% 50%;
  background-size: contain;
}
#mobile-menu-bar .ico-bg {
  fill: #ffffffbf;
}
#game-wrappter {
  direction: ltr;
}
#game-content iframe {
  border: 0;
  position: absolute;
  min-width: 100%;
  min-height: calc(100% - 50px);
  top: 50px;
}
@media (min-aspect-ratio: 3/4) {
  #mobile-menu-bar {
    height: 100%;
    width: 50px;
  }
  #mobile-menu-bar #logo {
    width: 50px;
    height: auto;
  }
  #game-content iframe {
    right: 0;
    top: 0;
    min-width: calc(100% - 50px);
    min-height: 100%;
  }
  [dir="rtl"] #game-content iframe {
    left: 0;
    right: auto;
  }
}
#wthPlayerWrapper {
  z-index: 99999 !important;
  direction: ltr;
}
