root {
    display: block;
}

body {
    background-color: #fff;
    background-repeat: repeat-x;
    background-position: top;
    /* background-image: url(../sprites/bg_tile.jpg); */
}

*, *:before, *:after {
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

input, input:before, input:after {
    -webkit-user-select: initial;
    -khtml-user-select: initial;
    -moz-user-select: initial;
    -ms-user-select: initial;
    user-select: initial;
}

::selection {
    background: transparent;
    color: inherit;
}

.help-txt {
    margin-top: 280px;
    margin-left: 70px;
    color: white;
}

::-moz-selection {
    background: transparent;
    color: inherit;
}

#canvas {
    position: fixed;
}

canvas {
    /* image-rendering: optimizeSpeed;
    image-rendering: -o-crisp-edges;
    image-rendering: -webkit-optimize-contrast;
    -ms-interpolation-mode: nearest-neighbor;
    -ms-touch-action: none; */
}

/* @media screen and (min-width: 320px) and (max-width: 767px) and (orientation: portrait) {
  html {
    transform: rotate(-90deg);
    transform-origin: left top;
    width: 100vh;
    overflow-x: hidden;
    position: absolute;
    top: 100%;
    left: 0;
  }
} */

.ani_hack {
    -webkit-perspective: 1000;
    -webkit-backface-visibility: hidden;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    /* mobile webkit */
}

/***************FONTS*******************/

@font-face {
    font-family: 'UTMAurora';
    src: url('UTMAurora.eot');
    src: url('UTMAurora.eot?#iefix') format('embedded-opentype'), url('UTMAurora.woff2') format('woff2'), url('UTMAurora.woff') format('woff'), url('UTMAurora.ttf') format('truetype'), url('UTMAurora.svg#blackplotanregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'UTMAvo';
    src: url('UTMAvo.eot');
    src: url('UTMAvo.eot?#iefix') format('embedded-opentype'), url('UTMAvo.woff2') format('woff2'), url('UTMAvo.woff') format('woff'), url('UTMAvo.ttf') format('truetype'), url('UTMAvo.svg#blackplotanregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'UTMAvoBold';
    src: url('UTMAvoBold.eot');
    src: url('UTMAvoBold.eot?#iefix') format('embedded-opentype'), url('UTMAvoBold.woff2') format('woff2'), url('UTMAvoBold.woff') format('woff'), url('UTMAvoBold.ttf') format('truetype'), url('UTMAvoBold.svg#blackplotanregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'SVN-HemiHead';
    src: url('SVN-HemiHead.eot');
    src: url('SVN-HemiHead.eot?#iefix') format('embedded-opentype'), url('SVN-HemiHead.woff2') format('woff2'), url('SVN-HemiHead.woff') format('woff'), url('SVN-HemiHead.ttf') format('truetype'), url('SVN-HemiHead.svg#blackplotanregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'blackplotanregular';
    src: url('blackplotan-webfont.eot');
    src: url('blackplotan-webfont.eot?#iefix') format('embedded-opentype'), url('blackplotan-webfont.woff2') format('woff2'), url('blackplotan-webfont.woff') format('woff'), url('blackplotan-webfont.ttf') format('truetype'), url('blackplotan-webfont.svg#blackplotanregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'UTMSwissCondensed';
    src: url('UTMSwissCondensed.eot');
    src: url('UTMSwissCondensed.eot?#iefix') format('embedded-opentype'), url('UTMSwissCondensed.woff2') format('woff2'), url('UTMSwissCondensed.woff') format('woff'), url('UTMSwissCondensed.ttf') format('truetype'), url('UTMSwissCondensed.svg#blackplotanregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'UTMSwissCondensedBold';
    src: url('UTMSwissCondensedBold.eot');
    src: url('UTMSwissCondensedBold.eot?#iefix') format('embedded-opentype'), url('UTMSwissCondensedBold.woff2') format('woff2'), url('UTMSwissCondensedBold.woff') format('woff'), url('UTMSwissCondensedBold.ttf') format('truetype'), url('UTMSwissCondensedBold.svg#blackplotanregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

/* advertisement */

#canvas {}

#box {
    height: 160px;
}

#adv_mainContainer {
    z-index: 1;
    position: fixed;
    width: 640px;
    height: 360px;
    display: none;
    background: none;
    overflow: hidden;
    pointer-events: all;
    display: none;
}

#adv_content, #adv_adContainer {
    z-index: 1;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    overflow: hidden;
    /*pointer-events:all;*/
}

#adv_contentElement {
    width: 0px;
    height: 0px;
    overflow: hidden;
}

body {
    font-family: Arial, Helvetica, sans-serif;
}

/* Full-width input fields */

input[type=text], input[type=password] {
    /* width: 350px; */
    height: 100p;
    padding: 5px 5px;
    display: inline-block;
    border: 1px solid #cccccc3b;
    box-sizing: border-box;
    color: #000;
    background-color: #ffffff;
}

p.login-title {
    text-align: center;
    color: #000;
    padding: 7px;
}

.sms_9748, .mk_sms_9748 {
    color: #000;
    text-shadow: -1px -1px 0 rgb(255, 255, 255), 1px -1px 0 rgb(255, 255, 255), -1px 1px 0 rgb(255, 255, 255), 1px 1px 0 rgb(255, 255, 255);
}

#txt-user-name, #txt-password {
    background: #275d04;
    color: white;
    padding: 12px;
    border-radius: 15px;
    outline: none;
}

.label_right {
    position: absolute;
    right: 3px;
    bottom: 0;
}

.label_left {
    position: absolute;
    left: 3px;
    bottom: 0;
}

/* Set a style for all buttons */

button {
    background-color: #4CAF50;
    color: white;
    /* padding: 0px 19px; */
    margin: 0px 0;
    border: none;
    cursor: pointer;
    /* width: 100%; */
}

button:hover {
    opacity: 0.8;
}

/* Extra styles for the cancel button */

.cancelbtn {
    width: auto;
    padding: 10px 18px;
    background-color: #f44336;
}

/* Center the image and position the close button */

.imgcontainer {
    text-align: center;
    margin: 24px 0 12px 0;
    position: relative;
}

img.avatar {
    width: 40%;
    border-radius: 50%;
}

.container {
    background-image: url(../sprites/bg_pop_win_lose.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    margin-left: auto;
    text-align: center;
    padding: 18px;
    margin-left: auto;
    margin-right: auto;
}

.container_login {
    background-image: url(../sprites/popup_in_game.png);
    position: relative;
}

.btn {
    background-color: #99380a00;
    color: white;
    margin-left: 7px;
    border: none;
    cursor: pointer;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    outline: none;
}

.button-login {
    background-image: url(../sprites/btn_select.png) !important;
}

.button-register {
    background-image: url(../sprites/btn_nomal.png) !important;
}

button.close {
    background-color: #99380a00;
    background-image: url(../sprites/but_no.png);
    margin-top: 0;
    width: 35px;
    height: 35px;
    background-size: 100% 100%;
    position: absolute;
    z-index: 10000000000;
    background-repeat: no-repeat;
}

.button-tab-ranking {
    background-image: url(../sprites/btn_nomal.png);
    border: none;
    cursor: pointer;
    background-repeat: no-repeat;
    display: inline-block;
    text-align: center;
    background-size: 100% 100%;
}

.button-continue {
    background-color: #99380a00;
    background-image: url(../sprites/btn_nomal.png);
    color: white;
    font-size: 20px;
    padding: 0px 20px;
    margin: 20px 0;
    margin-left: 140px;
    border: none;
    cursor: pointer;
    width: 150px;
    height: 45px;
    background-size: 150px auto;
}

.row {
    background: url(../sprites/bg_item_bxh.png);
    margin-left: auto;
    margin-right: auto;
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

span.psw {
    float: right;
    padding-top: 16px;
}

/* The Modal (background) */

.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 9999;
    /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    /* height: 100%; */
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    padding-top: 0px;
}

/* Modal Content/Box */

.modal-content {
    background-color: transparent;
    margin: 5% auto 15% auto;
    /* border: 1px solid #888; */
    width: 100%;
    height: 399px;
}

.close:hover, .close:focus {
    color: red;
    cursor: pointer;
}

@font-face {
    font-family: 'MyWebFont';
    src: url('UTMAurora.woff2') format('woff2')
}

div {
    font-family: MyWebFont;
}

button {
    font-family: MyWebFont;
}

/* Add Zoom Animation */

.animate {
    -webkit-animation: animatezoom 0.6s;
    animation: animatezoom 0.6s
}

.txt-username {
    margin-top: 10px !important;
}

.label-title {
    margin-left: 160px !important;
    padding-top: 7px !important;
}

.label-thele {
    font-family: 'UTMAvoBold';
    text-align: center;
    display: inline;
    color: #fff;
}

.msIdx {
    position: relative;
    display: inline-block;
    width: 7%;
    color: #58fb0d;
    font-size: 18px;
    padding-left: 10px;
    text-align: left;
}

.msisdn {
    position: relative;
    display: inline-block;
    width: 35%;
    color: #ffbb0d;
    font-size: 18px;
    text-align: left;
}

.score {
    position: relative;
    display: inline-block;
    text-align: center;
    width: 20%;
    color: #fff;
    font-size: 18px;
    /* padding: 1px; */
}

.date {
    position: relative;
    display: inline-block;
    text-align: right;
    width: 33%;
    color: #40ff18;
    font-size: 18px;
    /* padding: 1px; */
}

.highLight {
    background: yellow;
}

.scrollPrize {
    overflow: auto;
    background-color: #9acd3200;
    color: white;
    scrollbar-base-color: gold;
    font-family: sans-serif;
    margin-left: 6px;
    text-align: left;
    padding: 0px 0px 10px 0px;
    margin-top: 5px;
    margin-right: 3px;
}

.scrollTheLe {
    height: auto;
    /* overflow: auto; */
    background-color: #9acd3200;
    color: white;
    scrollbar-base-color: gold;
    font-family: sans-serif;
    text-align: left;
}

.scrollRank {
    height: 255px;
    overflow: auto;
    background-color: #9acd3200;
    color: white;
    scrollbar-base-color: gold;
    font-family: sans-serif;
    margin-left: 0px;
    padding-left: 10px;
}

@-webkit-keyframes animatezoom {
    from {
        -webkit-transform: scale(0)
    }
    to {
        -webkit-transform: scale(1)
    }
}

@keyframes animatezoom {
    from {
        transform: scale(0)
    }
    to {
        transform: scale(1)
    }
}

/* Change styles for span and cancel button on extra small screens */

@media screen and (max-width: 500px) {
    span.psw {
        display: block;
        float: none;
    }
    .cancelbtn {
        width: 100%;
    }
}

.scrollTheLe.text {
    padding-left: 10px;
    padding-right: 15px;
    padding-top: 20px;
}

.for-keyboard {
    top: -120px !important;
}

/* @media (orientation: portrait) {
  body {
    -webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    transform: rotate(-90deg);
  }
} */

.selectedtab {
    background-image: url(../sprites/btn_select.png) !important;
}

.overlay {
    position: fixed;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1;
}

.overlay-content {
    height: 100%;
    overflow: scroll;
}

.orientation-msg-container {
    z-index: 99999999 !important;
}

.div-input {
    text-align: center;
    margin-top: 10px;
}

.div-input .text {
    width: 90%;
}

.div-button {
    padding-left: 20px;
    padding-right: 10px;
}

.div-button .button-register {
    float: right;
    margin-right: 20px;
}

.tab-ranking {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.tab {
    float: left;
    width: 100%;
}

@media screen and (min-width: 1024px) {
    #rules-form .container, #login-form .container, #ranking-form .container {
        width: 618px;
        height: 399px;
    }
    .scrollTheLe {
        padding-top: 30px;
    }
    p.login-title {
        font-size: 18px;
    }
    .label-thele {
        font-size: 24px;
    }
    #rules-form .label-thele {
        font-size: 20px;
    }
    #ranking-form .label-thele {
        font-size: 20px;
    }
    #ranking-form .scrollRank .row {
        height: 30px;
        margin-bottom: 10px;
    }
    #ranking-form .grid-data {
        font-size: 18px;
        vertical-align: middle;
        line-height: 30px;
    }
    #rules-form .scrollPrize {
        margin-top: 40px;
    }
    #login-form button.close {
        margin-left: 225px !important;
        margin-top: 7px;
    }
    .scrollPrize {
        height: 270px;
        font-size: 18px;
    }
    #ranking-form .button-close {
        margin-left: 210px;
        margin-top: 10px;
    }
    .button-tab-ranking {
        width: 160px;
        height: 40px;
        padding-top: 25px;
        font-size: 18px;
    }
    input[type=text], input[type=password] {
        font-size: 18px;
    }
    .btn {
        font-size: 18px;
        width: 150px;
        height: 60px;
        padding: 14px;
    }
    .lbl-syntax {
        /* padding-left: 30px !important; */
        padding-top: 0px !important;
        font-size: 18px;
        line-height: 30px;
    }
    #rules-form .button-close2 {
        margin-left: 265px;
        margin-top: 7px;
    }
}

@media screen and (min-width: 568px) and (max-width: 1023px) {
    #rules-form .container, #login-form .container, #ranking-form .container {
        width: 450px;
        height: 250px;
    }
    .scrollTheLe {
        padding-top: 15px;
    }
    .label-thele {
        font-size: 14px;
        line-height: 5px;
    }
    p.login-title {
        font-size: 14px;
    }
    #ranking-form .scrollRank .row {
        height: 22px;
        margin-bottom: 10px;
        padding-top: 1px;
    }
    #ranking-form .grid-data {
        font-size: 14px;
        vertical-align: middle;
        line-height: 22px;
    }
    #rules-form .scrollPrize {
        margin-top: 20px;
        line-height: 20px;
    }
    #login-form button.close {
        margin-left: 175px !important;
        margin-top: 0px;
    }
    .scrollPrize {
        height: 152px;
        font-size: 14px;
    }
    .scrollPrize.text {
        height: 210px;
    }
    #tabThuong .scrollPrize {
        line-height: 20px;
    }
    #ranking-form .button-close {
        margin-left: 160px;
        margin-top: 0px;
    }
    .button-tab-ranking {
        width: 110px !important;
        height: 30px;
        padding-top: 10px;
        font-size: 14px;
    }
    input[type=text], input[type=password] {
        font-size: 14px;
    }
    .btn {
        font-size: 14px;
        width: 120px;
        height: 50px;
        padding: 7px;
    }
    .lbl-syntax {
        /* padding-left: 30px !important; */
        padding-top: 0px !important;
        font-size: 14px;
        line-height: 20px;
    }
    #rules-form .button-close2 {
        margin-left: 190px;
        margin-top: 0px;
    }
}

@media screen and (min-width: 325px) and (max-width: 560px) {
    #rules-form .container, #ranking-form .container {
        width: 325px;
        height: 250px;
    }
    #login-form .container {
        width: 325px;
        height: 300px;
    }
    .scrollTheLe {
        padding-top: 15px;
    }
    .label-thele {
        font-size: 14px;
        line-height: 5px;
    }
    p.login-title {
        font-size: 14px;
    }
    #ranking-form .scrollRank .row {
        /* height: 18px; */
        margin-bottom: 10px;
        /* padding-top: 6px; */
        vertical-align: middle;
    }
    #ranking-form .grid-data {
        font-size: 14px;
        vertical-align: middle;
        line-height: 25px;
    }
    #rules-form .scrollPrize {
        margin-top: 20px;
        line-height: 20px;
    }
    #login-form button.close {
        margin-left: 111px !important;
        margin-top: 0px;
    }
    .scrollPrize {
        height: 150px;
        font-size: 14px;
    }
    .scrollPrize.text {
        height: 210px;
    }
    #tabThuong .scrollPrize {
        line-height: 20px;
    }
    #ranking-form .button-close {
        margin-left: 95px;
        margin-top: 0px;
    }
    .tab-ranking {
        width: 94%;
    }
    .button-tab-ranking {
        width: 90px !important;
        height: 40px !important;
        padding-top: 0px !important;
    }
    input[type=text], input[type=password] {
        font-size: 14px;
    }
    .btn {
        font-size: 14px;
        width: 120px;
        height: 50px;
    }
    .lbl-syntax {
        /* padding-left: 30px !important; */
        padding-top: 0px !important;
        font-size: 14px;
        line-height: 20px;
    }
    #rules-form .button-close2 {
        margin-left: 130px;
        margin-top: 0px;
    }
}

@media screen and (max-width: 320px) {
    #rules-form .container, #login-form .container, #ranking-form .container {
        width: 270px;
        height: 250px;
    }
    .scrollTheLe {
        padding-top: 15px;
    }
    .label-thele {
        font-size: 14px;
        line-height: 5px;
    }
    p.login-title {
        font-size: 10px;
    }
    #ranking-form .scrollRank .row {
        height: 15px;
        margin-bottom: 10px;
        padding-top: 8px;
    }
    #ranking-form .grid-data {
        font-size: 12px;
    }
    #rules-form .scrollPrize {
        margin-top: 20px;
        line-height: 20px;
    }
    #login-form button.close {
        margin-left: 85px !important;
        margin-top: 0px;
    }
    .scrollPrize {
        height: 170px;
        font-size: 12px;
    }
    .scrollPrize.text {
        height: 210px;
    }
    #tabThuong .scrollPrize {
        line-height: 20px;
    }
    #ranking-form .button-close {
        margin-left: 70px;
        margin-top: 0px;
    }
    .tab-ranking {
        width: 100% !important;
    }
    .button-tab-ranking {
        width: 65px;
        height: 23px;
        padding-top: 16px;
        font-size: 10px;
    }
    input[type=text], input[type=password] {
        font-size: 10px;
    }
    .btn {
        font-size: 12px;
        width: 80px;
        height: 40px;
        padding: 14px;
    }
    .lbl-syntax {
        /* padding-left: 30px !important; */
        padding-top: 0px !important;
        font-size: 12px;
        line-height: 20px;
    }
    #rules-form .button-close2 {
        margin-left: 102px;
        margin-top: 0px;
    }
}

body {
    margin: 0 !important;
    height: 100% !important;
    overflow: hidden !important;
    position: fixed !important;
}