* {
    font-family: "Roboto Slab", "sans-serif";
    font-size: 16px;
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    outline: none;
}

/* Change the white to any color */

input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus, input:-webkit-autofill:active {
    /* -webkit-box-shadow: 0 0 0 30px #381f1f inset !important;
    -webkit-text-fill-color: #ffffff !important; */
    background-color:transparent;
}

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #000;
    transform-origin: 0 0;
    -moz-transform-origin: 0 0;
    -o-transform-origin: 0 0;
    -webkit-transform-origin: 0 0;
}

#body {
    position: relative;
    width: 1920px;
    height: 980px;
    background: url("../images/bg-min-2.jpg") top left no-repeat;
    transform-origin: 0 0;
    -moz-transform-origin: 0 0;
    -o-transform-origin: 0 0;
    -webkit-transform-origin: 0 0;
    display: flex;
    flex-wrap: nowrap;
}

.color-yellow {
    color: #fee53a;
}

.text-center {
    text-align: center;
}

.logo-18 {
    position: fixed;
    left: 0;
    bottom: 0;
    transform: translateY(-100%);
}

/*text*/

.navbar-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 28px;
    margin-top: 34px;
    z-index: 2;
}

.navbar-container_item {
    margin-bottom: 9px;
}

#logo {
    position: relative;
    width: 128px;
    height: 120px;
}

#logo img {
    width: 100%;
}

#text-h1 {
    position: absolute;
    top: 765px;
    left: 755px;
    width: 409px;
    height: 54px;
}

#text-h2 {
    position: absolute;
    top: 815px;
    left: 627px;
    width: 652px;
    height: 75px;
}

#text-h1 img {
    width: 100%;
}

#text-h2 img {
    width: 100%;
}

/*menu*/

#menu {
    position: relative;
    /* left: 385px;
    top: 191px; */
    list-style: none;
    /* width: 224px; */
}

#menu li {
    float: left;
    margin: 1px 1px;
}

#menu li a {
    display: block;
    width: 110px;
    height: 35px;
    float: left;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    line-height: 35px;
    color: #fff;
    background: url("../images/bg-menu-min-2.png") top left no-repeat;
    background-size: 100% auto;
}

#menu li a:hover {
    background-position: bottom left;
}

/*menu-bot*/

.menu-bot-image {
    position: relative;
}

#menu-bot {
    position: relative;
    list-style: none;
    width: 337px;
    height: 99px;
    display: flex;
}

#menu-bot a {
    display: block;
    width: 112px;
    text-indent: -99999px;
    float: left;
    text-align: center;
    text-decoration: none;
}

#menu-bot a.rules {
    background: url("../images/menu-bot.png") top left;
}

#menu-bot a.spin {
    background: url("../images/menu-bot.png") top center;
}

#menu-bot a.gift-exchange {
    background: url("../images/menu-bot.png") top right;
}

#menu-bot a.rules:hover, #menu-bot a.rules.active {
    background-position: bottom left;
}

#menu-bot a.spin:hover, #menu-bot a.spin.active {
    background-position: bottom center;
}

#menu-bot a.gift-exchange:hover, #menu-bot a.gift-exchange.active {
    background-position: bottom right;
}

/*menu left*/

#menu-left {
    position: relative;
    list-style: none;
    display: flex;
    flex-flow: wrap;
    width: 420px;
    row-gap: 2px;
}

#menu-left a {
    display: block;
    width: 210px;
    height: 77px;
    text-indent: -99999px;
    text-align: center;
    text-decoration: none;
}

#menu-left a.rules {
    background: url("../images/menu-left-2.png") top left;
}

#menu-left a.rules:hover,
#menu-left a.rules.active {
    background: url("../images/menu-left-2.png") -420px top;
}

#menu-left a.spin {
    background: url("../images/menu-left-2.png") -210px top;
}

#menu-left a.spin:hover,
#menu-left a.spin.active {
    background: url("../images/menu-left-2.png") top right;
}

#menu-left a.gift-exchange {
    background: url("../images/menu-left-2.png") center left;
}

#menu-left a.gift-exchange:hover,
#menu-left a.gift-exchange.active {
    background: url("../images/menu-left-2.png") -420px center;
}

#menu-left a.histories {
    background: url("../images/menu-left-2.png") center right;
}

#menu-left a.histories:hover {
    background: url("../images/menu-left-2.png") center right;
}

#menu-left a.payment {
    background: url("../images/menu-left-2.png") -210px bottom;
}

#menu-left a.payment:hover {
    background: url("../images/menu-left-2.png") bottom right;
}

#menu-left a.share {
    background: url("../images/menu-left-2.png") bottom left;
}

#menu-left a.share:hover {
    background: url("../images/menu-left-2.png") -420px bottom;
}

#menu-left a.ranking {
    background: url("../images/menu-left-2.png") -210px center;
}

#menu-left a.ranking.active,
#menu-left a.ranking:hover {
    background: url("../images/menu-left-2.png") right center;
}


/*no login*/

#no-login {
    position: relative;
    width: 371px;
    height: 178px;
    background-image: url("../images/bg-login-min-2.png");
    margin: 22px 0 19px -10px;
}

#no-login:hover {
    background-position: bottom right;
}

/*login*/

#user-info {
    position: relative;
    width: 368px;
    height: 190px;
    background: url(../images/bg-login-2.png) no-repeat;
    font-weight: 500;
    margin: 22px 0 7px -10px;
    padding: 30px 0 0 32px;
}

#user-info span {
    margin-right: -25px;
    display: inline-block;
    color: #fff;
}

#user-info span.info {
    width: auto;
    color: #00d7f8;
    margin-right: 12px;
}

#user-info span.fullname-txt {
    color: #FFD100;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#user-info>div {
    line-height: 26px;
    position: relative;
    display: flex;
    align-items: center;
}

#user-info .reload {
    display: flex;
    align-items: center;
    margin-left: 35px;
    opacity: 0.6;
}

#user-info .reload:hover {
    opacity: 1;
}

#user-info .btn {
    display: block;
    position: absolute;
    width: 59px;
    height: 26px;
    top: 0;
    right: 0;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 11px;
    font-weight: bold;
    color: #000;
    line-height: 20px;
    background: #fcd919;
    border: 3px solid #000;
}

#user-info .btn.btn-share {
    top: 13px;
}

#user-info .btn:hover {
    background: #ffe450
}

#user-info .logout {
    position: absolute;
    font-size: 14px;
    top: 18px;
    right: 24px;
    color: #d4e468;
    font-weight: 500;
}

#btn-histories {
    color: #a8ff00;
}

/*main*/

#main {
    width: 100%;
    height: 100%;
    position: relative;
    padding-top: 232px;
    z-index: 2;
}

/*popup*/

.popup {
    z-index: 1001;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 150px;
}

.popup.popup-update-profile {
    z-index: 1001;
}

.popup.popup-text {
    z-index: 1002;
}

.popup.popup-text .wrap {
    position: relative;
    width: 446px;
    height: 325px;
    margin: 0 auto;
    background: url("../images/popup-gift-min-2.png") top left no-repeat;
    display: flex;
    justify-content: center;
}

.popup .wrap .close {
    position: absolute;
    width: 39px;
    height: 41px;
    top: 0;
    right: -15px;
    transform: translate(100%, -50%);
    text-align: left;
    text-indent: -9999px;
    background: url("../images/popup-gift-close-min.png") center center no-repeat;
}

.popup.popup-histories .wrap {
    position: relative;
}

.popup.popup-histories .close {
    top: 30px;
    right: -8px;
}

.popup.popup-histories .wrap .close:hover, .popup.popup-text .wrap .close:hover {
    opacity: 1;
}

.popup.popup-text .wrap .content {
    margin: 0;
    width: 100%;
    height: 100%;
    display: flex;
    vertical-align: middle;
    align-items: center;
    font-size: 20px;
    color: #ffffff;
    text-align: center;
    justify-content: center;
    padding: 0 20px;
}

.popup.popup-text .wrap .content .title, .popup.popup-text .wrap .content .item, .popup.popup-text .wrap .content .item .item-num {
    font-size: 20px;
}

.popup.popup-text .wrap .content .item .item-num {
    color: #ff7900;
}

/*spin-wheel*/

.spin-wheel {
    padding-top: 40px;
    padding-left: 110px;
    cursor: pointer;
    width: 1022px;
    height: 100%;
    position: relative;
}

.spin-wheel_container {
    display: flex;
}

.btn-play_list {
    position: absolute;
    right: 68px;
    top: 220px;
    gap: 15px;
    display: flex;
    flex-direction: column;
}

.btn-play_list .btn-play_item {
    width: 254px;
    height: 90px;
    background: url('../images/btn-play.png') no-repeat;
    display: block;
}

.btn-play_list .btn-play_item:nth-child(1) {
    background-position: left top;
}

.btn-play_list .btn-play_item:nth-child(1):hover {
    background-position: right top;
}

.btn-play_list .btn-play_item:nth-child(2) {
    background-position: left bottom;
}

.btn-play_list .btn-play_item:hover:nth-child(2) {
    background-position: right bottom;
}

/*exchange*/
.exchange-container {
    width: 1020px;
    padding: 48px 82px 0 105px;
}

.exchange {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    row-gap: 38px;
}

.exchange .gift-item{
    position: relative;
    float: left;
    width: 208px;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.exchange .gift-item .point{
    display: block;
    width: 170px;
    height: 30px;
    border-radius: 16px;
    line-height: 28px;
    padding: 0 10px;
    background-color: #6F0208;
    border: 1px solid #000;
    text-align: center;
    color: #ffefd3;
    font-weight: bold;
    letter-spacing: -1px;
}
.exchange .gift-item .name{
    width: 114px;
    height: 24px;
    line-height: 22px;
    color: #2a649f;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: -1px;
}
.exchange .gift-item .wrap-image {
    width: 144px;
    height: 142px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.exchange .gift-item .amount{
    color: #49D5F0;
    font-size: 14px;
    font-weight: bold;
    text-decoration: underline;
    transform: translateY(-6px);
}
.exchange .gift-item .gift{
    width: 208px;
    height: 53px;
    background: url('../images/btn-ex.png') no-repeat;
    text-indent: -99999999px;
    transform: translateY(-4px);
}
.exchange .gift-item .gift.off{
    filter: grayscale(100%);
    cursor: not-allowed;
}

.exchange .gift-item:nth-child(1) .gift {
    background-position: 0 0;
}

.exchange .gift-item:nth-child(2) .gift {
    background-position: -208px 0;
}

.exchange .gift-item:nth-child(3) .gift {
    background-position: -416px 0;
}

.exchange .gift-item:nth-child(4) .gift {
    background-position: right 0;
}

.exchange .gift-item:nth-child(5) .gift {
    background-position: 0 -110px;
}

.exchange .gift-item:nth-child(6) .gift {
    background-position: -208px -110px;
}

.exchange .gift-item:nth-child(7) .gift {
    background-position: -416px -110px;
}

.exchange .gift-item:nth-child(8) .gift {
    background-position: right -110px;
}

.exchange .gift-item:nth-child(1) .gift:hover,
.exchange .gift-item:nth-child(2) .gift:hover,
.exchange .gift-item:nth-child(3) .gift:hover,
.exchange .gift-item:nth-child(4) .gift:hover {
    background-position-y: -55px;
}

.exchange .gift-item:nth-child(5) .gift:hover,
.exchange .gift-item:nth-child(6) .gift:hover,
.exchange .gift-item:nth-child(7) .gift:hover,
.exchange .gift-item:nth-child(8) .gift:hover {
    background-position-y: -165px   ;
}

/*history*/

.history {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.tab {
    list-style: none;
    display: flex;
    justify-content: center;
    padding-top: 66px;
    margin-right: 12px;
    margin-bottom: 20px;
}

.tab li {
    width: 236px;
    height: 62px;
    background: url("../images/btn-tab-his.png") top left no-repeat;
    cursor: pointer;
}

.tab li:hover:nth-child(1), .tab li.active:nth-child(1) {
    background: url("../images/btn-tab-his.png") bottom left no-repeat;
}

.tab li:nth-child(2) {
    background: url("../images/btn-tab-his.png") top right no-repeat;
}

.tab li:hover:nth-child(2), .tab li.active:nth-child(2) {
    background: url("../images/btn-tab-his.png") bottom right no-repeat;
}

.tab li a {
    text-decoration: none;
    display: block;
    height: 100%;
}

.tab li h3 {
    display: block;
    height: 44px;
    line-height: 36px;
    text-align: center;
    font-size: 13px;
    font-weight: normal;
    text-transform: uppercase;
}

.tab li.active, .tab li:hover {
    border-color: #864101;
}

.tab-content {
    display: none;
    width: 100%;
    height: 295px;
    margin: 0 auto;
    color: #fff;
    max-width: 704px;
}

.tab-content.active {
    display: block;
}

.tab-content table {
    width: 100%;
    text-align: center;
    border-spacing: 2px;
    border-collapse: separate;
}

.tab-content table thead {
    background: #8c0000;
}

.tab-content table tbody td {
    background: #4782b8;
    height: 38px;
}

.tab-content table th, .tab-content table td {
    padding: 5px;
    color: #fff;
    font-weight: bold;
}

.tab-content table th {
    border: 1px solid #00f0ff;
    text-transform: uppercase;
    height: 45px;
}

.mCSB_scrollTools a+.mCSB_draggerContainer {
    margin: 0;
}

.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar {
    width: 10px;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}

.mCSB_scrollTools .mCSB_buttonDown, .mCSB_scrollTools .mCSB_buttonUp {
    display: none !important;
}

/*rule*/

.rule-container {
    width: 100%;
    height: 100%;
    margin-top: 63px;
}

.rule {
    width: 705px;
    height: 755px;
    text-align: justify;
    color: #fffea0;
    position: relative;
    padding-top: 273px;
    margin-left: 112px;
}

.rule h1, .rule h2, .rule h3, .rule h4, .rule h5, .rule h6 {
    color: #2f619a;
    margin-bottom: 10px;
}

.rule h1 {
    font-size: 20px;
}

.rule h2 {
    font-size: 19px;
}

.rule h3 {
    font-size: 18px;
}

.rule h4, .rule h5, .rule h6 {
    font-size: 16px;
}

.rule p, .rule div {
    margin-bottom: 10px;
}

/*popup update profile*/

.popup.popup-update-profile .wrap {
    position: relative;
    width: 485px;
    height: 384px;
    margin: 0 auto;
}

.popup.popup-update-profile .wrap .content {
    width: 100%;
    height: 100%;
    padding: 83px 20px 15px 38px;
    background: url('../images/bg-info-2.png') no-repeat;
    background-size: 100%;
    text-transform: uppercase;
}

.popup.popup-histories .content {
    background-image: url('../images/bg-history-2.png');
    position: relative;
    color: #ff8300;
    background-size: 100% auto;
    width: 836px;
    height: 468px;
    background-repeat: no-repeat;
    padding: 0 30px 0 100px;
}

.tab-wrap-content {
    position: relative;
    background-size: 100% auto;
    background-repeat: no-repeat;
    height: 100%;
    width: 747px;
    height: 361px;
}

.popup.popup-histories .wrap .content h6, .popup.popup-update-profile .wrap .content h6 {
    margin-bottom: 15px;
}

.popup.popup-histories .wrap .content .form-control, .popup.popup-update-profile .wrap .content .form-control {
    height: 26px;
    margin-bottom: 7px;
}

.popup.popup-histories.wrap .content .form-control.form-control-note, .popup.popup-update-profile .wrap .content .form-control.form-control-note {
    margin-top: 20px;
    font-size: 14px;
    color: #cacaca;
    text-align: center;
}

.popup.popup-histories .wrap .content .form-control:after, .popup.popup-update-profile .wrap .content .form-control:after {
    content: "";
    display: block;
    clear: both;
}

.popup.popup-update-profile .wrap .content label {
    line-height: 22px;
    width: 135px;
    display: inline-block;
    float: left;
    margin-top: 5px;
    color: #00f0ff;
}

.popup.popup-update-profile .wrap .content input[type=text] {
    float: left;
    width: 260px;
    padding: 6px 0px 0px 0px;
    background: transparent;
    font-size: 16px;
    color: #ffffff;
    border: 0px;
    border-bottom: 1px solid #ffffff;
    border-radius: 0;
}

.popup.popup-update-profile .form-control-submit {
    display: flex;

}

.popup.popup-update-profile #submit {
    width: 123px;
    height: 42px;
    margin: auto;
    margin-top: 20px;
    text-indent: -9999px;
    background: url(../images/btn-confirm.png) no-repeat 0 0 / 100% 200%;
    cursor: pointer;
    border: none;
}

.popup.popup-update-profile #submit:hover {
    background-position: bottom;
}

.popup.popup-histories .wrap .content .select2-container, .popup.popup-update-profile .wrap .content .select2-container {
    width: 260px!important;
}

.popup.popup-histories .wrap .content .select2-container--default .select2-selection--single, .popup.popup-update-profile .wrap .content .select2-container--default .select2-selection--single {
    background: transparent;
    border: 0px;
    border-bottom: 1px solid #ffffff;
    border-radius: 0;
}

.popup.popup-histories .wrap .content .select2-container .select2-selection--single .select2-selection__rendered, .popup.popup-update-profile .wrap .content .select2-container .select2-selection--single .select2-selection__rendered {
    padding-left: 0px;
    color: #ffffff;
}

.popup.popup-histories .wrap .content .select2-container--default .select2-selection--single .select2-selection__arrow b, .popup.popup-update-profile .wrap .content .select2-container--default .select2-selection--single .select2-selection__arrow b {
    left: auto;
    right: 0;
    border-color: #ffffff transparent transparent transparent;
}

.popup.popup-histories .wrap .content .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b, .popup.popup-update-profile .wrap .content .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
    border-color: transparent transparent #ffffff transparent;
}

.popup.popup-histories .wrap .content button, .popup.popup-update-profile .wrap .content button {
    background: #3ca304;
    border: 3px solid #000;
    padding: 5px 20px;
    cursor: pointer;
    text-transform: uppercase;
    margin-top: 35px;
}

.popup.popup-histories .wrap .content button:hover, .popup.popup-update-profile .wrap .content button:hover {
    background: #53ce10;
}

#ranking {
    width: 875px;
    height: 547px;
    background: url(../images/bg-ranking.png);
    margin: 47px 0 0 64px;
}

#ranking thead {
    display: block !important;
    height: 56px;
    text-indent: -9999999px;
}

#ranking tbody tr {
    height: 47px;
    font-size: 18px;
}

#ranking tbody tr td {
    text-align: center;
    font-weight: bold;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#ranking tbody tr td:nth-child(1) {
    width: 115px;
    max-width: 115px;
}

#ranking tbody tr td:nth-child(2) {
    width: 480px;
    max-width: 480px;
    padding-right: 100px;
}

#ranking tbody tr td:nth-child(3) {
    min-width: 115px;
}

#snow {
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 1;
}

.popup.popup-update-profile .wrap .content .wrapper-select-server {
    position: relative;
}

.popup.popup-update-profile .wrap .content .select2-container {
    left: 0 !important;
}

.popup.popup-update-profile .wrap .content .select2-container .dropdown-select-server {
    left: 135px !important;
}

#select2-server-results {
    width: 100% ;
}