/* Responsive  Styles */

.mobile {
    display: none !important;
}

.left-menu-btn {
    width: 35px;
    background-color: transparent;
    border: none;
    padding: 0;
    position: relative;
    z-index: 100;
    color: #ffffff;
}

.left-menu-btn span {
    width: 100%;
    display: block;
    height: 2px;
    background-color: #aa9ec7;
    margin: 0 0 9px;
    border-radius: 2px;
}

.left-menu-btn span:first-child {
    position: relative;
    margin-top: 0;
    top: 0;
    transition: top .3s .3s, transform .3s 0s;
}

.left-menu-btn span:nth-child(2) {
    width: calc(100% - 8px);
    opacity: 1;
    transition: opacity .3s;
    margin-right: auto;
}

.left-menu-btn span:last-child {
    margin-bottom: 0;
    position: relative;
    top: 0;
    transition: top .3s .3s, transform .3s 0s;
}

.left-menu-btn.opened span:first-child {
    width: 100%;
    top: 11px;
    transform: rotate(-45deg);
    transition: top .3s 0s, transform .3s .3s, color .3s .3s;
    box-shadow: none;
}

.left-menu-btn.opened span:nth-child(2) {
    opacity: 0;
}

.left-menu-btn.opened span:last-child {
    width: 100%;
    top: -11px;
    transform: rotate(45deg);
    transition: top .3s 0s, transform .3s .3s;
    box-shadow: none;
}

.right-menu-btn .icon-panel {
    position: relative;
}

.right-menu-btn .icon-panel .normal-icon {
    transition: 0.3s;
    opacity: 1;
    transform: rotate(0deg);
}

.right-menu-btn.opened .icon-panel .normal-icon {
    opacity: 0;
    transform: rotate(45deg);
}

.right-menu-btn .icon-panel .open-icon {
    transition: 0.3s;
    opacity: 0;
    transform: rotate(45deg) translateY(0);
    position: absolute;
    font-size: 22px;
    bottom: -1px;
}

.right-menu-btn.opened .icon-panel .open-icon {
    opacity: 1;
    transform: rotate(0deg) translateY(2px);
    position: absolute;
    font-size: 23px;
}

.sn-overlay {
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 97;
    background-color: rgba(0, 0, 0, 0.5);
    top: 0;
    left: 0;
    pointer-events: none;
    opacity: 0;
    transition: 0.3s;
}

.sn-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* - - - - - Header Queries - - - - - */

@media(max-width: 1360px){
    .logo-panel {
        width: 340px;
        height: 100px;
    }

    .logo-panel .logo {
        width: 160px;
    }

    .main-menu ul {
        width: 50%;
    }

    .after-login button {
        width: 110px;
        font-size: 12px;
    }
}

@media(max-width: 1200px){
    .mobile {
        display: block !important;
    }

    .desktop {
        display: none !important;
    }

    .wrapper {
        padding-top: 61px;
    }

    .header-main {
        height: 61px;
        background-image: none;
        position: fixed;
        left: 0;
        top: 0;
        border-bottom: solid 1px #5e5b81;
        z-index: 100;
    }

    .header-main:before {
        display: none;
    }

    .header-main:after {
        width: 50%;
        right: 0;
        top: -100%;
        margin: 0 auto;
        background-image: none;
        border-radius: 50%;
        box-shadow: 0 0 60px rgba(146, 124, 189, 1.0);
    }

    .main-menu:before {
        display: none;
    }

    .logo-panel {
        width: 280px;
        height: 70px;
    }

    .logo-panel .logo {
        width: 90px;
    }

    .before-login button,
    .after-login .mobile button {
        width: 34px;
        height: 34px;
        overflow: visible;
        margin-bottom: 12px;
        margin-left: 8px;
    }

    .before-login button i,
    .after-login .mobile button i {
        font-size: 18px;
        margin: 0;
    }

    .before-login button .text,
    .after-login .mobile button .text {
        width: 100%;
        display: inline-block;
        color: #b6b4cb;
        font-size: 8px;
        line-height: 8px;
        white-space: nowrap;
        position: absolute;
        left: 50%;
        bottom: -12px;
        transform: translateX(-50%);
        font-weight: 300;
    }

    /* Sidebar Left */

    .sidebar-left {
        width:280px;
        max-width:280px;
        height:100%;
        top: 60px;
        left: 0;
        transform: translateX(-100%);
        background-color: #f1f0f7;
        background-image: none;
        border: none;
        border-radius: 0;
        margin: 0 !important;
        padding: 15px 15px 90px;
        display:block;
        overflow-y:auto;
        position:fixed;
        transition:0.5s;
        align-items: flex-start;
        align-content: flex-start;
        z-index: 98;
    }

    .sidebar-left.active{
        transform: translateX(0);
        box-shadow: 1px 0 3px rgba(0, 0, 0, 0.5);
    }

    .sidebar-left::-webkit-scrollbar {
        width:0px;
        background:transparent;
    }

    .sidebar-left::-webkit-scrollbar-thumb {
        background:transparent;
    }

    .main-menu ul {
        flex-wrap: wrap;
    }

    .main-menu ul, .main-menu ul li {
        width: 100%;
        height: auto;
        display: block;
        padding: 0;
    }

    .main-menu ul li a {
        width: 100%;
        height: 50px;
        color: #333333;
        font-size: 14px;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        padding: 0 15px;
        margin: 3px 0;
        background-color: rgba(255, 255, 255, 0.5);
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
        border-radius: 15px;
    }

    .main-menu ul li a:before {
        display: none;
    }

    .main-menu ul li a i {
        color: #54427e;
    }

    .sidebar-left .modal-sub-menu {
        margin-top: 17px;
    }

    /* Sidebar Right */

    .sidebar-right {
        width:280px;
        max-width:280px;
        height:100%;
        top: 60px;
        left: auto;
        right: 0;
        transform: translateX(100%);
        background-color: #f1f0f7;
        border: none;
        box-shadow: none;
        border-radius: 0;
        margin: 0 !important;
        padding: 10px 10px 140px;
        display:block;
        overflow-y:auto;
        position:fixed;
        transition:0.5s;
        align-items: flex-start;
        align-content: flex-start;
        z-index: 98;
        opacity: 1;
        pointer-events: auto;
    }

    .sidebar-right.active{
        transform: translateX(0);
        box-shadow: -1px 0 3px rgba(0, 0, 0, 0.5);
    }

    .sidebar-right::-webkit-scrollbar {
        width:0px;
        background:transparent;
    }

    .sidebar-right::-webkit-scrollbar-thumb {
        background:transparent;
    }

    .after-login .account-info .row {
        background-color: rgba(255, 255, 255, 0.5);
        border-radius: 10px;
        margin: 5px 0;
        border: none;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    }

    .after-login .account-info .information {
        height: 48px;
    }

    .after-login .drop-down .btn-grp button {
        height: 44px;
    }

    .after-login .message-btn .count {
        background-color: #b32c00;
    }

    .after-login .drop-down .message-btn .count {
        padding-top: 2px;
    }
}

@media(max-width: 1024px){
    .header-section {
        z-index: 1080;
    }
}

@media(max-width: 500px){
    .logo-panel {
        width: 210px;
        height: 65px;
    }

    .logo-panel .logo {
        width: 110px;
        top: -5px;
    }
}


/* - - - - - Banner Queries - - - - - */

@media(max-width: 1200px) {
    .banner-section {
        height: auto;
        margin: 0;
        padding: 4% 0;
    }

    .banner-background {
        bottom: -12%;
    }

    .mobile-support {
        margin: 5% 0 0;
    }

    .banner-background .dealer-01 {
        left: 7.5%;
    }
}

@media(max-width: 1024px){
    .banner-section .container {
        max-width: 100%;
    }

    .banner-carousel h1 {
        font-size: 5.22vw;
    }

    .banner-carousel h2 {
        font-size: 2.35vw;
    }

    .banner-background {
        width: 106%;
        left: -3%;
    }

    .banner-background .dealer-01 {
        left: 8%;
    }

    .banner-background .dealer-02 {
        left: 0;
    }

    .banner-background .fuicheng {
        right: 4%;
    }

    .withdraw-section {
        display: none;
    }
}

@media(max-width: 500px){
    .banner-section:after {
        height: 20px;
    }

    .carousel-indicators {
        margin-top: 10px;
    }

    .carousel-indicators li {
        width: 10px;
        height: 10px;
        border-width: 1px;
        margin: 0 5px;
    }

    .mobile-support .icon-panel {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }

    .mobile-support .labels {
        font-size: 14px;
    }

    .category-btn {
        margin: 10px 0 0;
    }

    .category-btn:first-child {
        border-radius: 15px 0 0 15px;
    }

    .category-btn:last-child {
        border-radius: 0 15px 15px 0;
    }
}

@media(max-width: 414px){
    .carousel-indicators {
        margin-top: 8px;
    }
}


/* - - - - - Jackpot Queries - - - - - */

@media(max-width: 1024px){
    .jackpot-mobile {
        display: block;
        position: relative;
        z-index: 10;
    }

    .jackpot-board {
        display: none;
        margin: 0;
        max-width: 100%;
        padding: 1% 0 0.5%;
    }

    .jackpot-board:before {
        width: 1024px;
        height: 38px;
        left: 50%;
        right: 0;
        transform: translateX(-50%);
        bottom: -38px;
        margin: 0 auto;
        background-size: 100% 100%;
        background-image: url(../img/bg/curve-shadow-bg.png);
    }

    .jackpot-board .label-panel {
        width: initial;
        height: initial;
        margin: 0 2% 0 0;
        background-image: none;
        border-radius: 0;
        box-shadow: none;
        font-size: 36px;
        color: #333333;
        text-shadow: none;
    }

    .jackpot-board .label-panel:before {
        display: none;
    }

    .jackpot-board .amount-panel {
        width: initial;
        padding: 0;
        margin: 0;
        background-image: none;
        border-radius: 0;
        box-shadow: none;
        flex-wrap: nowrap;
    }

    .jackpot-board .amount-panel .amount {
        font-size: 48px;
    }

    .jackpot-board .amount-panel .symbol {
        font-size: 42px;
        margin-left: 1%;
    }
}

@media(max-width: 840px){
    .jackpot-board .label-panel {
        font-size: 4.29vw;
    }

    .jackpot-board .amount-panel .amount {
        font-size: 5.72vw;
    }

    .jackpot-board .amount-panel .symbol {
        font-size: 5vw;
    }
}

@media(max-width: 500px){
    .jackpot-board {
        padding: 2% 0 1.5%;
    }
}


/* - - - - - Category Queries - - - - - */

@media(max-width: 1199px){
    .category-btn {
        padding: 8px 0 0;
    }
}

@media(max-width: 1024px){
    .category-btn {
        font-size: 18px;
    }
}

@media(max-width: 767px){
    .category-btn {
        font-size: 14px;
        padding: 4px 0 0;
        height: 50px;
    }

    .category-btn .icon-img {
        max-width: 40px;
        max-height: 36px;
    }
}

@media(max-width: 414px){
    .category-btn {
        height: 42px;
        padding: 2px 0 0;
    }

    .category-btn .icon-img {
        max-width: 34px;
        max-height: 30px;
    }
}


/* - - - - - Providers Queries - - - - - */

@media(max-width: 1559px){
    .sc-btn {
        width: calc(20% - 20px);
    }

    .slot-providers .sc-btn {
        width: calc(16.66% - 20px);
    }
}

@media(max-width: 1199px){
    .sc-btn {
        width: calc(25% - 20px);
    }

    .slot-providers .sc-btn {
        width: calc(20% - 20px);
    }
}

@media(max-width: 991px){
    .sc-btn {
        width: calc(33.33% - 20px);
    }

    .slot-providers .sc-btn {
        width: calc(25% - 20px);
    }
}

@media(max-width: 767px){
    .slot-providers .sc-btn {
        width: calc(33.33% - 20px);
    }

    .sc-btn .g-logo,
    .slot-providers .sc-btn .g-logo {
        width: 68px;
        height: 42px;
        border-width: 2px;
    }

    .sc-btn .g-logo img,
    .slot-providers .sc-btn .g-logo img {
        max-width: 36px;
        max-height: 28px;
    }

    .sc-btn .g-footer {
        height: 30px;
        font-size: 12px;
    }

    .sc-btn .g-footer:before, 
    .sc-btn .g-footer:after {
        height: 37px;
        top: -37px;
    }
}

@media(max-width: 500px){
    .providers-section {
        margin-top: 20px;
    }

    .providers-panel {
        width: calc(100% + 12px);
        margin: 0 -6px;
    }

    .sc-btn, .slot-providers .sc-btn {
        width: calc(33.33% - 12px);
        margin: 0 6px 12px;
    }

    .sc-btn .g-panel {
        border-radius: 20px;
    }

    .sc-btn .g-footer:before, 
    .sc-btn .g-footer:after,
    .slot-providers .sc-btn .g-footer:before, 
    .slot-providers .sc-btn .g-footer:after {
        height: 25px;
        top: -25px;
    }

    .sc-btn .g-logo,
    .slot-providers .sc-btn .g-logo {
        width: 58px;
        height: 36px;
        border-radius: 10px 5px 40px 5px;
    }

    .sc-btn .g-logo img,
    .slot-providers .sc-btn .g-logo img {
        max-width: 32px;
        max-height: 24px;
    }
}

@media(max-width: 414px){
    .sc-btn .g-logo,
    .slot-providers .sc-btn .g-logo {
        width: 50px;
        height: 34px;
    }

    .sc-btn .g-footer {
        height: 25px;
        font-size: 10px;
    }
}


/* - - - - - Board Queries - - - - - */

@media(max-width: 1559px){
    .realtime-board {
        width: calc(36% - 30px);
        margin: -40px 15px 30px;
    }

    .realtime-board .header {
        font-size: 24px;
    }

    .realtime-board .content {
        padding: 15px 10px 10px;
    }

    .rolling-table ul li div.user {
        padding-left: 5px;
        font-size: 12px;
    }

    .rolling-table ul li div.date {
        width: 27%;
        padding-right: 0;
        justify-content: center;
    }

    .rolling-table ul li div.amount {
        width: 38%;
        font-size: 14px;
    }

    .rolling-table ul li .icon-panel {
        min-width: 30px;
    }

    .board-panel .header {
        font-size: 16px;
    }

    .board-panel .content {
        padding: 35px 10px 20px;
    }

    .board-panel table tr td {
        font-size: 12px;
    }

    .board-panel table tr td a {
        display: inline-block;
        vertical-align: middle;
        max-width: 200px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        text-decoration: none;
    }

    .new-icon {
        margin-left: 0;
    }

    .board-panel table tr .date-td {
        padding-right: 0;
    }
}

@media(max-width: 1199px){
    .board-section {
        margin-top: 50px;
    }

    .board-section:before,
    .board-section:after {
        width: 1200px;
        left: 50%;
        transform: translateX(-50%);
    }
    .realtime-board {
        width: 100%;
        max-width: 600px;
        margin: -20px auto 15px;
        order: 1;
    }

    .board-panel {
        width: 100%;
        max-width: 600px;
        margin: 15px auto;
    }

    .board-panel:nth-child(1) {
        order: 2;
    }

    .board-panel:nth-child(3) {
        order: 3;
    }

    .board-panel table tr td a {
        max-width: 300px;
    }
}

@media(max-width: 500px){
    .realtime-board {
        margin-bottom: 10px;
    }

    .board-panel {
        margin: 10px auto;
    }

    .board-panel table tr td a {
        max-width: 200px;
    }
}


/* - - - - - Customer Queries - - - - - */

@media(max-width: 1024px){
    .customer-section {
        margin: 20px 0;
    }

    .customer-section ul {
        width: 100%;
        padding-bottom: 20px;
        border-bottom: solid 1px rgba(0, 0, 0, 0.15);
    }

    .customer-section ul li {
        width: 100%;
        padding: 10px 0;
        border-right: none;
    }

    .customer-panel .text-panel {
        min-width: 230px;
    }
}

@media(max-width: 500px){
    .customer-panel:before {
        width: 50%;
    }

    .customer-panel:after {
        left: 40%;
    }

    .customer-panel .icon-panel {
        width: 74px;
        height: 74px;
        margin-right: 10px;
    }

    .customer-panel .icon-panel:before {
        width: calc(100% - 12px);
        height: calc(100% - 12px);
    }

    .customer-panel .text-panel {
        font-size: 20px;
    }

    .customer-panel .text-panel {
        min-width: 190px;
    }
}

@media(max-width: 414px){
    .customer-panel .text-panel {
        font-size: 18px;
    }
}


/* - - - - - Footer Queries - - - - - */

@media(max-width: 1024px){
    .footer-section .container {
        max-width: 100%;
    }
}

@media(max-width: 767px){
    .footer-providers img {
        max-width: 90px;
        margin: 6px 15px;
    }
}

@media(max-width: 500px){
    .footer-providers img {
        max-width: 80px;
        max-height: 30px;
        margin: 6px 8px;
    }

    .footer-copyright {
        padding: 25px 0;
    }

    .scroll-top {
        width: 70px;
        height: 70px;
        bottom: 10px;
        right: 10px;
    }
}

@media(max-width: 414px){
    .footer-providers img {
        max-width: 60px;
        max-height: 26px;
        margin: 4px 6px;
    }
}


/* - - - - - Modal Queries - - - - - */

@media(max-width: 1024px){
    .modal {
        padding: 0 !important;
        z-index: 1090;
    }

    .subpage-modal {
        padding: 0 !important;
        z-index: 1070;
    }

    .subpage-modal .modal-dialog {
        margin: 0 !important;
        min-height: 100%;
        align-items: stretch;
    }

    .subpage-modal .modal-content {
        min-height: 100%;
        border-radius: 0;
        padding-top: 60px;
    }

    .subpage-modal .modal-content:before {
        border-radius: 0;
    }

    .subpage-modal .modal-close {
        width: initial;
        top: 70px;
        right: 10px;
        background-image: none;
        padding: 0;
    }

    .modal-sidebar {
        display: none !important;
    }

    .subpage-modal .modal-panel {
        width: 100%;
        margin: 0;
        padding: 10px 15px 50px;
        border-radius: 0;
    }

    .subpage-modal .modal-wrapper {
        padding: 0;
        border-radius: 0;
    }
}

@media(max-width: 767px){
    .modal-nav {
        flex-wrap: wrap;
        padding: 5px 5px;
    }

    .modal-nav button {
        width: 33.33%;
        height: 40px;
        font-size: 12px;
        max-width: 100%;
        margin: 0;
    }

    .modal-nav button:before {
        height: 1px;
    }

    /* Level Info */

    .level-information .bs-ul {
        width: 100%;
    }

    .level-information .bs-ul li {
        width:calc(50% - 3px);
        height: 40px;
        margin-right: 6px;
    }

    .level-information .bs-ul li:last-child {
        margin-right: 0;
    }

    .level-information .bs-ul li .labels {
        margin-right: 10px;
    }

    .level-information .point-form{
        width:100%;
        margin: 5px 0 0;
    }

    .level-information .point-form input{
        height:40px
    }

    .level-information .points-btn{
        height: 40px;
    }
}

@media(max-width: 500px) {
    .modal-wrapper {
        padding: 30px 15px 15px;
    }

    .modal-panel {
        padding: 0 15px 30px;
    }

    .modal-header {
        height: 60px;
    }

    .modal-header:before {
        height: 20px;
        bottom: -20px;
    }

    .modal-header .title-panel {
        font-size: 24px;
    }

    .form-container .form-group .infos .btn-grp {
        margin-top: -5px;
    }

    .form-container .form-group .infos .btn-grp button {
        width: calc(33.33% - 4px);
        margin: 2px 2px;
        height: 38px;
        border-radius: 20px;
    }

    .modal-footer {
        margin-top: 30px;
    }

    .bs-table thead th {
        height: 50px;
        font-size: 12px;
    }

    .bs-table tr td {
        font-size: 13px;
        height: 54px;
    }

    .bs-table tr .count-td {
        width: auto;
    }

    .bs-table tr td a,
    .bs-table tr .title-td {
        font-size: 13px;
        max-width: 220px;
        padding-left: 5px;
    }

    .bs-table tr .nav-td {
        width: auto;
    }

    .bs-table td .level-txt {
        width: 100%;
        text-align: center;
    }

    .bs-table td .level-icon {
        margin-right: 0;
    }

    .bs-table tr .date-td {
        width: auto;
        font-size: 12px;
    }

    /* attendance */

    .attendance-info {
        padding: 5px 10px;
    }

    .attendance-info .bs-ul li {
        width: 100%;
        height: 38px;
        margin-right: 0;
        padding: 0;
    }

    .attendance-info .bs-ul li .info {
        font-size: 12px;
    }

    .attendance-nav .title-panel {
        margin: 0 30px;
    }

    .attendance-calendar td {
        height: 100px;
    }

    .attendance-calendar td .attend-stamp {
        width: 40px;
    }

    .attendance-calendar td .date {
        top: 0;
        left: 0 ;
    }

    .modal-nav button {
        height: 34px;
        border-radius: 10px;
    }
}

@media(max-width: 414px) {
    .bs-table tr td a, 
    .bs-table tr .title-td,
    .bs-table tr td {
        font-size: 12px;
    }

    .bs-table tr .date-td {
        font-size: 10px;
    }

    .attendance-calendar th,
    .bs-table thead th {
        font-size: 10px;
    }
}


/* - - - - - Jackpotplay Queries - - - - - */

@media(max-width: 830px){
    .jackpotplayModal .modal-content {
        padding: 17% 0 8%;
    }

    .slot-machine .sm-amount .labels {
        font-size: 2.17vw;
    }

    .slot-machine .sm-amount .input-panel input {
        font-size: 3.2vw;
    }

    .slot-machine .sm-point .point-form .labels {
        font-size: 2vw;
    }

    .slot-machine .sm-point .point-form .input-panel input {
        font-size: 2.17vw;
    }

    .slot-machine .sm-side-panel .labels {
        font-size: 2.41vw;
    }

    .slot-machine .sm-side-panel .input-panel input {
        font-size: 2.67vw;
    }
}

@media(max-width: 500px){
    .jackpotplayModal .close-btn {
        top: 10px;
        right: 10px;
    }

    .slot-machine {
        width: 53%;
    }

    .slot-machine .sm-amount .input-panel {
        padding: 1px;
        border-radius: 10px;
    }

    .slot-machine .sm-amount .input-panel input {
        border-radius: 10px;
    }

    .slot-machine .sm-point .point-form .input-panel,
    .slot-machine .sm-point .point-form .input-panel input {
        border-radius: 4px;
    }

    .jackpotplayModal .modal-content {
        padding: 19% 0 8%;
    }

    .slot-machine .sm-amount .labels {
        font-size: 2.6vw;
    }

    .slot-machine .sm-amount .input-panel input {
        font-size: 3.5vw;
    }

    .slot-machine .sm-point .point-form .labels {
        font-size: 2.3vw;
    }

    .slot-machine .sm-point .point-form .input-panel input {
        font-size: 2.7vw;
    }
}


/* - - - - - Gamelist Queries - - - - - */

@media(max-width: 1200px){
    .game-btn {
        width: calc(16.66% - 14px);
    }
}

@media(max-width: 1024px){
    .gamelist-scroll {
        width: calc(100% + 14px);
        max-height: initial;
        overflow-y: visible;
        padding: 0;
        margin: 0 -7px;
    }
}

@media(max-width: 900px){
    .game-btn {
        width: calc(20% - 14px);
    }
}

@media(max-width: 680px){
    .game-btn {
        width: calc(25% - 14px);
    }
}

@media(max-width: 500px){
    .gamelist-scroll {
        width: calc(100% + 10px);
        margin: 0 -5px;
    }

    .game-btn {
        width: calc(25% - 10px);
        margin: 0 5px 10px;
        border-width: 1px;
    }

    .game-btn .g-name {
        height: 28px;
        font-size: 10px;
    }
}

@media(max-width: 414px){
    .gamelist-scroll {
        width: calc(100% + 8px);
        margin: 0 -4px;
    }

    .game-btn {
        width: calc(25% - 8px);
        margin: 0 4px 8px;
        border-radius: 15px;
    }

    .game-btn .g-name {
        height: 25px;
        font-size: 10px;
    }
}