/*!
 * Start Bootstrap - Agency v5.0.5 (https://startbootstrap.com/template-overviews/agency)
 * Copyright 2013-2019 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap-agency/blob/master/LICENSE)
 */
@import "normalize.css";

/* apply a natural box layout model to all elements, but allowing components to change
http://www.paulirish.com/2012/box-sizing-border-box-ftw/; 
*/
html,body {
  box-sizing: border-box;
}
*, *:before, *:after { box-sizing: inherit; }

/* Set full height: http://stackoverflow.com/questions/6654958/make-body-have-100-of-the-browser-height */
html {
  /* body will set it's height based on its parent, which is html */
  height: 100%;

  /* set full width as well */
  width: 100%;
}
body {
  position: relative;
  /* min-height is needed for pages that might scroll, ie they may contain _more_ than 100% of viewport height */
  min-height: 100%;

  /* needed to prevent unwanted scroll-bars */
  margin: 0;
  padding: 0;
  font-family: 'Montserrat';
  color: #dab777;
  font-size: 14px;
  z-index: -1;
}

.wrapall {
  background: #000 url("../images/bg.jpg?v=1") top center no-repeat;
  background-size: cover;
  width: 100%;
  min-height: 100vh;
  padding-bottom: 20px;
}

header .container,
#form .container,
#main .container {
  max-width: 640px;
}

p {
  line-height: 1.2;
}

a {
  color: #f89e22;
}

a:hover {
  color: #f89e22;
}

.text-primary {
  color: #fed136 !important;
}

h1,
h2,
h3{
  font-weight: 700;
  font-family: 'Montserrat-Bold';
  font-size: 22px;
  text-transform: uppercase;
  width: 100%;
}

h1 {
  display: none;
}

.container {
  max-width: 640px;
  margin: 0 auto;
}

header {
  padding-top: 20px;
}

.logo {
  width: 42%;
  margin: 0 auto;
}
.logo > img,
.slogan > img {
  width: 100%;
}
.slogan {
  width: 69%;
  margin: 0 auto;
  margin-top: -1rem;
}

#mainForm {
  position: relative;
  z-index: 1;
}
#mainForm {
  position: relative;
  z-index: 1;
}
#form {
  margin-top: 2rem;
}

#form .container {
  max-width: 640px;
  margin: 0 auto;
}

#form .nav-tabs {
  width: 80%;
  border: none!important;
  margin: 0 auto;
  margin-top: 1rem;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
#form .nav-tabs > li {
  flex: 0 0 auto;
  text-align: center;
  text-transform: uppercase;
  font-size: 22px;
  margin: 0;
  padding: 0;
  height: 50px;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  width: 40%;
}
#form .nav-tabs > li.active:first-child {
  width: 60%;
  background-image: url(../images/tab-active-1.png);
}
#form .nav-tabs > li.active:last-child {
  width: 60%;
  background-image: url(../images/tab-active-2.png);
}
#form .nav-tabs > li:first-child {
  background-image: url(../images/tab-inactive-1.png);
}
#form .nav-tabs > li:last-child {
  background-image: url(../images/tab-inactive-2.png);
  float: right;
}
#form .nav-tabs > li > a {
  font-weight: 700;
  position: relative;
  text-decoration: none;
  display: inline-block;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff4a7;
}

#form .nav-tabs > li > a.active {
  color: #000000;
}

#form .tab-content {
  position: relative;
  width: 85%;
  padding: 1.5rem 0 0 0;
  margin: 0 auto;
  overflow: hidden;
}
#form .tab-content::before {
  position: absolute;
  content: "";
  background: url(../images/bg-form.png) no-repeat;
  background-size: 100% 100%;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
}
form {
  width: 85%;
  margin: 0 auto;
}
.form-group {
  position: relative;
}
.form-group > i {
  position: absolute;
  right: 0;
  top: 0;
  cursor: pointer;
  height: 100%;
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 18px;
  height: 46px;
}
.form-group > i.icon-prepend {
  left: 0;
}
.form-control {
  height: 46px;
  background-color: transparent!important;
  border: 1px solid #ad7f01!important;
  outline: none!important;
  margin: 0 auto;
  padding-right: 45px;
  font-size: 14px;
  color: #ffcc7e!important;
  border-radius: 2rem;
}

input::-webkit-input-placeholder {
  color: #a6a6a6!important;  
}
 
input:-moz-placeholder { /* Firefox 18- */
  color: #a6a6a6!important;   
}
 
input::-moz-placeholder {  /* Firefox 19+ */
  color: #a6a6a6!important;   
}
 
input:-ms-input-placeholder {  
  color: #a6a6a6!important;  
}

a,
button,
textarea:focus, 
textarea.form-control:focus, 
input.form-control:focus, 
input[type=text]:focus, 
input[type=password]:focus, 
input[type=email]:focus, 
input[type=number]:focus, 
[type=text].form-control:focus, 
[type=password].form-control:focus, 
[type=email].form-control:focus, 
[type=tel].form-control:focus, 
[contenteditable].form-control:focus {
  box-shadow: inset 0 -1px 0 transparent!important;
  outline: none!important;
}

.mb-0 {
  margin-bottom: 0!important;
}
.mb-5 {
  margin-bottom: 5px!important;
}
.mt-0 {
  margin-top: 0 !important;
}
.mt-2rem {
  margin-top: 2rem!important;
}
#main {
  position: relative;
  z-index: 11;
}
img {
  margin: 0 auto;
}
.btn-download {
  max-width: 640px;
  width: 100%;
  margin: 0 auto;
  display: inline-block;
  padding: 0 15px;
}
a.server {
  display: inline-block;
  margin-right: 10px;
}
a.store {
  display: inline-block;
  margin: 0 auto;
}
.playweb,
.playweb-server {
  width: 59%;
}
a.ios-server:active,
a.ios-server:hover {
  opacity: .8;
}
a.ios-server {
  width: 50%;
}
a.icon-phone, a.icon-livechat {
  display: block;
  cursor: pointer;
  position: absolute;
  z-index: 99;
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-position: top center;
  background-size: 100%;
}

a.icon-phone {
  position: fixed;
  width: 238px;
  height: 60px;
  background-image: url(../images/btn-hotline.png?v=2);
  right: 0;
  top: 15%;
}

a.icon-livechat {
  display: none;
  position: fixed;
  right: 10px;
  bottom: 1px;
}

.btnsubmit {
  width: 68%;
  background: none;
  outline: none;
  border: none;
  padding: 0!important;
}
.error,
.errors {
  color: #f20000;
}
a#login, a#register {
  width: 66%;
}
a#facebook {
  width: 30.1%;
  margin: auto;
  float: right;
}

#ios, #android, .hoac, .dacotaikhoan {
  display: none;
}

div#register  h3, div#login h3 {
  display: none;
  font-size: 18px;
  text-align: center;
  background: linear-gradient(#ecaf04 0%, #efd32f 30%, #f0e141 70%, #edb50b 99%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

small {
  color: #ffed00a3;
  margin: 0 auto;
  margin-top: 5px;
  display: inherit;
  line-height: 1.2;
}

.text-danger {
    color: #e47815!important;
}
.modal-header {
    padding: .5rem 1rem;
}
.modal-title.alert {
    color: #d44950;
    text-transform: uppercase;
}
.modal-title.success {
    color: #155724;
}
.modal-footer {
    display: inline-block;
    text-align: center;
}
h5 {
    font-size: 26px;
}
.close {
    position: absolute;
    right: 10px;
}

.loading {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  text-align: center;
  z-index: 99;
}

.loading > img {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

footer {
  position: absolute;
  bottom: 0px;
  margin: 0 auto;
  width: 100%;
}

footer > .container {
  max-width: inherit;
}

.text-footer {
  display: block;
  margin-top: 20px;
  font-size: 18px;
  text-transform: uppercase;
  background: linear-gradient(#f7f1c7 0%, #e1d678 30%, #e1ca24 70%, #e0a310 99%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0 auto;
  padding: 0;
  line-height: 1.5;
  width: 100%;
}

@-webkit-keyframes textAnimation { 
    0% { opacity: 0.8;
    -webkit-animation-timing-function: ease-in; }
    17% { opacity: 1;
         -webkit-animation-timing-function: ease-out; }
    50% { opacity: 0 }
    60% {
      opacity: 0;
    }
    100% {
      opacity: 0;
    }
}

@-moz-keyframes textAnimation { 
    0% { opacity: 0.8;
    -webkit-animation-timing-function: ease-in; }
    17% { opacity: 1;
         -webkit-animation-timing-function: ease-out; }
    50% { opacity: 0 }
    60% {
      opacity: 0;
    }
    100% {
      opacity: 0;
    }
}

@-o-keyframes textAnimation { 
    0% { opacity: 0.8;
    -webkit-animation-timing-function: ease-in; }
    17% { opacity: 1;
         -webkit-animation-timing-function: ease-out; }
    50% { opacity: 0 }
    60% {
      opacity: 0;
    }
    100% {
      opacity: 0;
    }
}


#livechat-eye-catcher-img {
  display: none!important;
}

.sticky_btn {
  display: block;
  position: fixed;
  right: 0;
  top: 240px;
  width: 46px;
  white-space: nowrap;
  align-items: flex-start;
}

@-webkit-keyframes btnAnimation {
  0% {
    -webkit-filter: drop-shadow(2px 4px 7px #f6ce75) brightness(1.3);
            filter: drop-shadow(2px 4px 7px #f6ce75) brightness(1.3);
  }
  50% {
    -webkit-filter: none;
            filter: none;
  }
  100% {
    -webkit-filter: drop-shadow(2px 4px 7px #f6ce75) brightness(1.3);
            filter: drop-shadow(2px 4px 7px #f6ce75) brightness(1.3);
  }
}

@keyframes btnAnimation {
  0% {
    -webkit-filter: drop-shadow(2px 4px 7px #f6ce75) brightness(1.3);
            filter: drop-shadow(2px 4px 7px #f6ce75) brightness(1.3);
  }
  50% {
    -webkit-filter: none;
            filter: none;
  }
  100% {
    -webkit-filter: drop-shadow(2px 4px 7px #f6ce75) brightness(1.3);
            filter: drop-shadow(2px 4px 7px #f6ce75) brightness(1.3);
  }
}

.thankyou {
  display: none;
  width: 60%;
  text-align: center;
  margin: 0 auto;
}
.sticky-qrcode {
  display: none;
  position: fixed;
  right: 0;
  top: 22%;
  width: 233px;
  white-space: nowrap;
  align-items: flex-start;
  z-index: 12;
}
.sticky-qrcode > img {
  width: 100%;
  margin: .5rem 0;
  text-align: center;
  transition: all .35s ease-in-out;
  float: left;
  clear: both;
}
.modal-dialog {
  -webkit-transform: translate(0,-50%)!important;
  -o-transform: translate(0,-50%)!important;
  transform: translate(0,-50%)!important;
  top: 50%;
  margin: 0 auto;
}

#banners {
  top: 10%;
  max-width: 220px;
  position: fixed;
  left: 2%;
}

#games {
  margin-top: 3rem;
}

#main {
  display: none;
    margin-top: 2rem;
}

.sticky_btn:hover,
.sticky-qrcode > a:hover > img,
.store:hover {
  -webkit-filter: drop-shadow(2px 2px 8px #f6ce75) brightness(1.3)!important;
            filter: drop-shadow(2px 2px 8px #f6ce75) brightness(1.3)!important;
}
.hoac {
  margin-top: .5rem;
  margin-bottom: .8rem;
}
.hoac > img {
  width: 69%;
}
.adv > div {
  width: 100%;
  text-align: center;
  margin: 1.5rem auto;
}
.adv > div > img {
  width: 50%;
}
.dacotaikhoan {
  display: none;
  margin: .5rem auto;
}
.dacotaikhoan > img {
  width: 100%
}

.choinhanh .nav-tabs li {
  width: 35% !important;
}
.choinhanh .nav-tabs li#choinhanhtab {
  width: 65% !important;
}
.choinhanh .nav-tabs li#choinhanhtab>a {
  font-size: 0px;
}
.choinhanh .nav-tabs li#choinhanhtab>a::after {
  content: "Chơi nhanh bản web";
  font-size: 14px;
}
#huongdan {
  color: #fff;
  padding-top: 2rem;
  display: none;
  font-family: Montserrat;
}
#huongdan h3 {
  text-align: center;
  text-transform: uppercase;
  line-height: 2.5;
  background: #ffdc5373;
  color: #fff;
  margin-bottom: 20px;
  font-size: 18px;
}
.huongdan_step {
  text-transform: uppercase;
  color: #ffdc53;
  height: 36px;
  font-weight: bold;
  line-height: 36px;
  font-size: 18px;
  padding-left: 15px; 
  margin-bottom: .5rem;
}
#huongdan p,
#huongdan ul {
  width: 100%;
}

.thankform {
   display: none; 
  margin-top: 20px;
}
.thankinfo {
  max-width: 340px;
  margin: 0px auto;
  position: relative;
  background: url(../images/bg-thank.png) top center / 300px no-repeat;
  padding: 15px 40px 175px 140px;
  width: 100%;
}
.thankinfo_user,
.thankinfo_pass {
  color: #fff;
  font-size: 11px;
  margin-bottom: 2px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  -webkit-line-clamp: 1;
}
.thankinfo_sttl {
  margin-bottom: 5px;
}
.thankinfo_lbl {
  margin: 0px 0px 5px;
}
.thankinfo_sttl img,
.thankinfo_lbl img {
  max-width: 100%;
}

@media screen and (min-width: 991px) and (max-width: 1100px) {
  a.icon-phone,
  #banners,
  .sticky-qrcode {
    width: 180px;
  }
  .sticky-qrcode {
    top: 20%;
  }
}
@media screen and (min-width: 800.1px) and (max-width: 990.9px) {
  a.icon-phone,
  #banners,
  .sticky-qrcode {
    width: 100px;
  }
  .sticky-qrcode {
    top: 18%;
  }
}
@media (max-width: 1440px) {
  #form {
    margin-top: 1rem;
  }
}

@media (max-width: 991px) {
  #banners,
  .sticky-qrcode {
    display: none !important;
  }
  a.icon-phone {
    width: 79px;
    height: 79px;
    background: url('../images/icon-phone.png') no-repeat;
    background-size: 100%;
    top: 20px;
    left: 5px;
  }
  a.icon-livechat {
    width: 79px;
    height: 79px;
    background: url('../images/icon-livechat.png') no-repeat;
    background-size: 100%;
    top: 20px;
    right: 5px;
  }
}

@media (max-width: 800px) {
  #playonweb {
    margin-top: 0;
  }
  #form {
    margin-top: 1rem;
  }
  .hoac {
    margin-top: 1.5rem!important;
    margin-bottom: .5rem;
  }
}

@media (max-width: 640px) {
  .wrapall {
    background: #000 url("../images/bg-mobile.jpg?v=1") top center no-repeat;
    background-size: cover;
  }
  header {
    padding-top: 5px;
  }
  .slogan {
    width: 60%
  }
  #form {
    margin-top: 0;
  }
  form {
    width: 70%;
    margin: 0 auto;
    margin-top: 10px;
  }
  .form-group {
    margin-bottom: .5rem;
  }
  a > img {
    width: 100%;
  }
  .playweb,
  .ios-server {
    width: 69%!important;
  }
  #main {
    margin-top: 1rem;
  }
  .space-line {
    width: 90%;
    margin:0 auto;
  }
  #registered {
    height: 80px;
    margin-top: -10px;
  }
  h4 {
    margin-bottom: 0;
    font-size: 14px;
  }
  #registered h4 {
    margin-top: 40px;
    padding: 5px 2rem;
  }
  .btn-store,
  .playweb-server {
    width: 89%!important;
  }
  .text_effect {
    font-size: 30px;
    letter-spacing: .2rem;
  }
  #form .tab-content {
    padding: .8rem 0 .5rem 0;
  }
}

@media (max-width: 575px) {
  .hoac > img {
    width: 100%;
  }
  #form .tab-content {
    width: 100%;
  }
  #form .tab-content::before {
    left: -10px;
    right: -10px;
  }
}

@media (max-width: 480px) {
  a.icon-phone,
  a.icon-livechat {
    width: 60px;
    height: 60px;
  }
  #registered h4 {
    margin-top: 35px;
  }
  .form-control {
    height: 40px;
  }
  form, #form .nav-tabs {
    width: 80%;
  }
  #form .nav-tabs {
    margin-top: 1rem;
  }
  #form .nav-tabs > li {
    font-size: 14px;
    height: 36px;
  }
  .thankyou {
    width: 90%;
  }
}

@media (max-width: 414px) {
}

@media only screen and (width: 412px) and (height: 732px) {

}

@media (max-width: 384px) {
  .divider-text > .bg-light {
    font-size: 13px;
  }
}

@media (max-width: 374.9px) {
  #main {
    margin-top: .5rem;
  }
  a.icon-phone,
  a.icon-livechat {
    width: 60px;
    height: 60px;
  }
  #registered {
    height: 50px;
    margin-top: -10px;
  }
  #registered h4 {
    font-size: 13px;
    margin-top: 25px;
  }
  form {
    margin-top: 0;
  }
  a.icon-phone, a.icon-livechat {
    width: 50px;
    height: 50px;
  }
  footer {
    margin-top: 15px;
  }
  .text_effect {
    font-size: 25px;
  }
  .thankinfo {
    background-size: 240px;
    max-width: 240px;
    padding: 8px 15px 128px 95px;
  }
  .thankinfo_user, .thankinfo_pass {
    font-size: 9px;
  }
  .thankinfo_lbl {
    margin-bottom: 3px;
  }
}

@media (max-width: 360px) {
  .form-control,
  .form-group i {
    height: 36px;
  }
  .text_effect {
    font-size: 20px;
    letter-spacing: .2rem;
  }
  footer {
    margin-top: 10px;
  }
  .thankinfo {
      background: url(../images/bg-thank.png) top center / 280px no-repeat;
      padding: 10px 40px 160px 136px;
  }
}

@media (max-width: 320px) {
  h1, h2, h3, h4, h5, h6 {
    font-size: 16px;
  }
  #form {
    margin-top:0 ;
  }
  .form-control {
    height: 32px;
    padding-right: 30px;
  }
  .form-group i {
    height: 32px;
  }
  h4 {
    font-size: 13px;
  }
  small {
    font-size: 70%;
  }
  div#register h3, div#login h3 {
    font-size: 16px;
  }
  #form .nav-tabs > li {
    font-size: 13px;
    height: 34px;
  }
  .thankinfo {
    background: url(../images/bg-thank.png) top center / 260px no-repeat;
    padding: 10px 40px 144px 120px;
  }
}