/*!
 * 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 "feature-carousel.css";
@import "normalize.css";

@font-face {
    font-family: 'Montserrat-Bold';
    src: url('../fonts/Montserrat-Bold.otf');
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Regular.otf');
}


/* 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';
    background: #000 url("../img/bg.jpg") top center no-repeat;
    color: #dab777;
    font-size: 14px;
    z-index: -1;
}

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;
}

header {
    padding-top: 5px;
    padding-bottom: 0px !important;
    margin-bottom: 1rem;
}

.logo {
    width: 60%;
    margin: 0 auto;
    /*-webkit-animation: btnAnimation 3s linear infinite;
            animation: btnAnimation 3s linear infinite;
    will-change: filter;*/
}

.logo.mobile {
    width: 40%;
    display: block !important;
}

.logo > img {
    margin-top: 5rem;
    width: 60%;
}

#mainForm {
    position: relative;
    z-index: 1;
}

#form {
    margin-top: 20px;
}

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

#form .nav-tabs {
    width: 70%;
    border: none !important;
    margin: 0 auto;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background: url('../images/tab-line.png') bottom center no-repeat;
}

#form .nav-tabs > li {
    flex: 0 0 auto;
    text-align: center;
    text-transform: uppercase;
    font-size: 18px;
    margin: 0;
    padding: 0;
    height: 50px;
    margin-right: 1%;
    font-family: Montserrat-Bold;
    width: 32.5%;
}

#form .nav-tabs > li.active {
    width: 66.5%;
}

#form .nav-tabs > li:last-child {
    float: right;
    margin-right: 0px;
}

#form .nav-tabs > li > a {
    position: relative;
    text-decoration: none;
    width: 100%;
    height: 100%;
    color: #f7dca9;
    display: flex;
    align-items: center;
    justify-content: center;
}

#form .nav-tabs > li > a::before {
    position: absolute;
    z-index: -1;
    content: "";
    background-image: linear-gradient(to right, #1f1f20, #474849);
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-top-left-radius: .25rem;
    border-top-right-radius: .25rem;
}

#form .nav-tabs > li > a.active,
#form .nav-tabs > li > a:hover {
    color: #000;
}

#form .nav-tabs > li:first-child > a.active::before {
    position: absolute;
    z-index: -1;
    content: "";
    background-image: linear-gradient(to right, #fb7a0d, #fed64c);
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-top-left-radius: .25rem;
    border-top-right-radius: .25rem;
}

#form .nav-tabs > li:last-child > a.active::before {
    position: absolute;
    z-index: -1;
    content: "";
    background-image: linear-gradient(to right, #fb7a0d, #fed64c);
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-top-left-radius: .25rem;
    border-top-right-radius: .25rem;
}

#form.choinhanh .nav-tabs li {
    width: 32.5% !important;
    font-size: 14px !important;
}

#form.choinhanh .nav-tabs li#choinhanhtab {
    width: 66.5% !important;
}

.choinhanh .nav-tabs li#choinhanhtab > a {
    font-size: 0px !important;
}

.choinhanh .nav-tabs li#choinhanhtab > a::after {
    content: "Chơi nhanh bản web";
    font-size: 14px !important;
}

#form .tab-content {
    width: 100%;
    padding: 20px 0 0 0;
}

form {
    width: 70%;
    margin: 0 auto;
}

.form-group {
    position: relative;
}

.form-group > i {
    position: absolute;
    right: 0;
    top: 0;
    display: inline-block;
    cursor: pointer;
    height: 46px;
    width: 40px;
    text-align: center;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-control {
    height: 46px;
    background-color: transparent !important;
    border: 1px solid #d59e6b !important;
    outline: none !important;
    margin: 0 auto;
    padding-right: 45px;
    font-size: 14px;
    color: #ffcc7e !important;
    border-radius: .3rem;
}

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;
}

#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 {
    width: 50%;
    display: inline-block;
    margin-right: 10px;
}

a.store {
    width: 50%;
    display: inline-block;
    margin: 0 auto;
}

.playweb,
.playweb-server {
    width: 50%;
}

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: 226px;
    height: 54px;
    background-image: url(../images/icon-hotline.jpg);
    right: 0;
    top: 15%;
}

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

a.icon-phone.mb {
    width: 91px;
    height: 91px;
    background: url('../images/icon-phone.png') no-repeat;
    background-size: 100%;
    top: 20px;
    left: 5px;
}

a.icon-livechat.mb {
    width: 91px;
    height: 91px;
    background: url('../images/icon-livechat.png') no-repeat;
    background-size: 100%;
    top: 20px;
    right: 5px;
}

.btnsubmit {
    position: relative;
}

button#register > img:last-child {
    position: absolute;
    width: 14%;
    right: 8%;
    top: 10%;
    -webkit-animation: zoomout 500ms linear infinite;
    animation: zoomout 500ms linear infinite;
    will-change: filter;
}

@keyframes zoomout {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.btn_form {
    justify-content: space-between;
    align-items: flex-end;
    display: flex;
}

.btnsubmit {
    width: 65%;
    background: none;
    outline: none;
    border: none;
    padding: 0px;
}

a#facebook {
    width: 32.5%;
    margin: 0px;
}

/*#ios, #android, #playonweb, .hoac {*/
/*    display: none;*/
/*}*/

div#register > h3, div#login > h3 {
    display: none;
    text-align: center;
    background: linear-gradient(#fff3cd 0%, #fff5d7 30%, #ffecab 70%, #ffe793 99%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.error,
.errors {
    margin-bottom: -13px;
    color: red;
}

small {
    color: #e0b97e;
    margin: 0 auto;
    font-family: Montserrat;
    margin-top: -10px;
}

#android > small,
#ios > small,
#playonweb > small {
    display: block;
}

#playonweb > small {
    margin-top: 0px;
}

.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%;
}

.mobile {
    position: relative;
    display: none;
    width: 100%;
}

.mobile > p {
    position: absolute;
    opacity: 0;
    z-index: 0;
    -webkit-backface-visibility: hidden;
    -webkit-animation: textAnimation 9s linear infinite 0s;
    -moz-animation: textAnimation 9s linear infinite 0s;
    -o-animation: textAnimation 9s linear infinite 0s;
}

@-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;
    }
}

.mobile > p:nth-child(2) {
    -webkit-animation-delay: 3s;
    -moz-animation-delay: 3s;
    -o-animation-delay: 3s;
    -ms-animation-delay: 3s;
    animation-delay: 3s;
}

.mobile > p:last-child {
    -webkit-animation-delay: 6s;
    -moz-animation-delay: 6s;
    -o-animation-delay: 6s;
    -ms-animation-delay: 6s;
    animation-delay: 6s;
}

#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 {
    position: fixed;
    right: 0;
    top: 22%;
    width: 226px;
    display: none;
    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: 1.5rem;
}

.mobile {
    display: none;
}

#main {
    /*display: none;*/
}

.hoac {
    margin-top: 1rem;
}

.hoac > img {
    width: 50%;
}

.dacotaikhoan {
    margin-bottom: .6rem;
}

.dacotaikhoan > img {
    width: 50%;
}

.adv {
    margin-bottom: 1rem;
    margin-top: 1rem;
}

.adv > div {
    width: 100%;
    text-align: center;
}

#huongdan {
    color: #fff;
    padding-top: 1.5rem;
    display: none;
    font-family: Montserrat;
}

#huongdan h3 {
    text-align: center;
    text-transform: uppercase;
    line-height: 2.5;
    background: #690b1a;
    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;
}

.thankinfo {
    max-width: 340px;
    margin: 0px auto;
    position: relative;
    background: url(../images/bg-thank.png) top center / 190px no-repeat;
    padding: 30px 92px 215px 90px;
    width: 100%;
}

.thankinfo_user,
.thankinfo_pass {
    color: #fefefe;
    font-size: 9px;
    margin-bottom: 2px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    -webkit-line-clamp: 1;
    font-style: italic;
    font-family: Montserrat;
}

.thankinfo_sttl {
    margin-bottom: 5px;
}

.thankinfo_lbl {
    margin: 0px 0px 2px;
}

.thankinfo_sttl img,
.thankinfo_lbl img {
    max-width: 100%;
}

.tutorial {
  border: 3px solid #e0b97e;
  border-radius: 20px;
  background: rgba(0,0,0,0.4);
  width: 60%;
  margin: 20px auto;
  padding: 1% 5%;
  font-size: 26px;
}

@media (min-width: 640px) {
}

@media (min-width: 768px) {
}

@media (max-width: 1440px) {
    #form {
        margin-top: 2rem;
    }

    body {
        background-size: initial;
    }

    #banners {
        display: none;
    }
}

@media screen and (max-width: 991px) {
    .sticky-qrcode {
        display: none !important;
    }

    a.icon-phone,
    a.icon-livechat {
        width: 50px;
        height: 50px;
    }

    a.icon-phone {
        background: url('../images/icon-phone.png') no-repeat;
        background-size: 100%;
        top: 20px;
        left: 5px;
    }

    a.icon-livechat {
        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: .5rem !important;
    }

    .sticky-qrcode {
        display: none;
    }

    header {
        padding-bottom: 100px;
    }
}

@media (max-width: 768px) {
    .logo.mobile {
        width: 30%;
    }
}

@media screen and (orientation: portrait) and (min-height: 640px) {
}

@media (max-width: 640px) {
    .tutorial {
      width: 70%;
      font-size: 12px;
    }
    body {
        background: #000 url("../img/bg-mobile.jpg?v=3") top center no-repeat;
        background-size: cover;
    }

    .logo {
        width: 66%;
    }

    #form {
        margin-top: 0rem;
    }

    #form .nav-tabs {
        width: 70%;
    }

    #form .nav-tabs li {
        font-size: 14px;
    }

    form {
        width: 70%;
        margin: 0 auto;
        margin-top: 10px;
    }

    .form-group {
        margin-bottom: .5rem;
    }

    a > img {
        width: 100%;
    }

    .playweb {
        width: 60%;
    }

    .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;
    }

    .ios-server,
    .playweb {
        width: 65% !important;
    }

    .playweb-server,
    .btn-store {
        width: 85% !important;
    }

    .text_effect {
        font-size: 30px;
        letter-spacing: .2rem;
    }

    #form .tab-content {
        width: 100%;
        padding: 0rem 0 0 0;
    }

    .hoac {
        margin-top: .3rem;
        margin-bottom: .3rem;
    }

    .hoac > img {
        width: 80%;
    }

    .dacotaikhoan > img {
        width: 100%;
    }

    .error, .errors {
        margin-bottom: -5px;
        font-size: 11px;
    }
}

@media (max-width: 600px) {
    .logo > img {
        width: 40%;
        margin-top: 3rem;
    }

    header {
        padding-top: 0;
        padding-bottom: 70px;
    }

    #form .nav-tabs > li {
        height: 40px;
    }
}

@media (max-width: 480px) {
    header {
        padding-top: 0;
        padding-bottom: 60px;
    }

    .form-control {
        height: 40px;
        font-size: 13px;
    }

    .form-group > i {
        height: 40px;
    }

    a.icon-phone,
    a.icon-livechat {
        width: 60px !important;
        height: 60px !important;
    }

    #registered h4 {
        margin-top: 35px;
    }

    form, #form .nav-tabs {
        width: 80%;
    }

    .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;
    }

    #form .tab-content {
        padding: .3rem 0 0 0;
    }
}

@media (max-width: 375px) {
    a.icon-phone,
    a.icon-livechat {
        width: 50px !important;
        height: 50px !important;
    }

    #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;
    }
}

@media (max-width: 360px) {
    .form-control {
        height: 36px;
    }

    .text_effect {
        font-size: 20px;
        letter-spacing: .2rem;
    }

    footer {
        margin-top: 10px;
    }

    #form .nav-tabs > li {
        height: 36px;
    }
}

@media (max-width: 320px) {
    h1, h2, h3, h4, h5, h6 {
        font-size: 16px;
    }

    .form-control {
        height: 32px;
        padding-right: 30px;
    }

    .form-group > i {
        width: 30px;
    }

    .adv {
        width: 70%;
        margin: 20px auto;
    }

    h4 {
        font-size: 13px;
    }

    small {
        font-size: 70%;
    }

    #form .nav-tabs > li {
        font-size: 11px;
        height: 36px;
    }

    .mt-2rem {
        margin-top: 1rem !important;
    }

    #form.choinhanh .nav-tabs li,
    .choinhanh .nav-tabs li#choinhanhtab > a::after {
        font-size: 12px !important;
    }
}
