/* Responsive  Styles */

.mobile {
    display: none !important;
}

.right-menu-btn {
    width: 40px;
    height: 40px;
    background-color: transparent;
    border: none;
    padding: 0;
    position: relative;
    z-index: 100;
    margin-left: auto;
}

.right-menu-btn span {
    width: 100%;
    display: block;
    height: 3px;
    background-color: #fbc96f;
    margin: 0 0 8px;
    border-radius: 5px;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.75);
}

.right-menu-btn span:first-child {
    position: relative;
    margin-top: 0;
    top: 0;
    transition: top .3s .3s, transform .3s 0s;
}

.right-menu-btn span:nth-child(2) {
    width: calc(100% - 8px);
    opacity: 1;
    transition: opacity .3s;
    margin-left: auto;
}

.right-menu-btn span:last-child {
    margin-bottom: 0;
    position: relative;
    top: 0;
    transition: top .3s .3s, transform .3s 0s;
}

.right-menu-btn.opened span:first-child {
    width: calc( 100% - 6px);
    top: 11px;
    transform: rotate(-45deg);
    transition: top .3s 0s, transform .3s .3s, color .3s .3s;
    box-shadow: none;
}

.right-menu-btn.opened span:nth-child(2) {
    opacity: 0;
}

.right-menu-btn.opened span:last-child {
    width: calc( 100% - 6px);
    top: -11px;
    transform: rotate(45deg);
    transition: top .3s 0s, transform .3s .3s;
    box-shadow: none;
}

.right-menu-btn .normal-icon {
    transition: 0.3s;
    opacity: 1;
    transform: rotate(0deg);
}

.right-menu-btn.opened .normal-icon {
    opacity: 0;
    transform: rotate(45deg);
}

.right-menu-btn .open-icon {
    transition: 0.3s;
    opacity: 0;
    transform: rotate(-45deg) translateY(0);
    position: absolute;
    font-size: 24px;
    margin: 0 0 2px;
}

.right-menu-btn.opened .open-icon {
    opacity: 1;
    transform: rotate(0deg) translateY(2px);
    position: absolute;
}

.sn-overlay {
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 98;
    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: 1480px){
    .logo {
        width: 260px;
        top: auto;
    }

    .bal-container {
        margin-right: 0;
    }

    .before-login input {
        width: 120px;
    }
}

@media(max-width: 1240px){
    .logo {
        right: auto;
        left: 25px;
    }
}

@media(max-width: 1024px){
    .mobile {
        display: block !important;
    }

    .desktop {
        display: none !important;
    }

    .wrapper {
        padding-top: 110px;
    }

    .header-top {
        width: 100%;
        height: 65px;
        position: fixed;
        left: 0;
        top: 0;
        z-index: 102;
        border-bottom: solid 1px #5c4338;
    }

    .logo {
        width: 140px;
        top: 0;
        right: 0;
        left: 0;
    }

    .header-menu {
        height: 0;
        z-index: 101;
    }

    .header-menu:after {
        display: none;
    }

    .bal-container {
        width: 100%;
        height: 44px;
        position: absolute;
        left: 0;
        background-color: #000000;
        background-image: linear-gradient(#291c15, #000000);
        bottom: -45px;
        box-shadow: 0 4px 9px rgba(0, 0, 0, 1.0);
    }

    .bal-container:after {
        content: '';
        width: 100%;
        height: 1px;
        left: 0;
        bottom: -1px;
        position: absolute;
        background-image: linear-gradient(to right, #3e2721, #e1904e, #e1904e, #fee77d, #ffffff, #fee77d, #e1904e, #e1904e, #3e2721);
    }

    .before-login {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
        padding: 0 5px 0 3px;
    }

    .before-login input {
        width: calc(30% - 4px);
        height: 35px;
        margin: 0 2px;
    }

    .before-login button {
        width: calc(20% - 3px);
        height: 35px;
        margin: 0 0 0 3px;
    }

    .after-login {
        width: 100%;
        height: 100%;
        max-width: 100%;
    }

    .after-login ul {
        width: 100%;
        height: 100%;
    }

    .after-login ul li {
        width: 33.33%;
        height: 100%;
        padding: 0;
        margin: 0;
        justify-content: center;
    }

    .after-login ul li:before,
    .after-login ul li:after {
        height: 100%;
    }

    .after-login ul li:nth-last-child(2):after {
        display: none;
    }

    /* Sidebar Right  */

    .sidebar-right{
        width:280px;
        max-width:280px;
        height:100%;
        top: 110px;
        right: 0;
        transform: translateX(100%);
        background-color: #291e15;
        background-image: linear-gradient(#291e15, #1e150f);
        border:none;
        border-left: solid 1px rgba(255, 255, 255, 0.15);
        border-radius: 0;
        margin: 0 !important;
        padding: 10px 10px 160px;
        display:block;
        overflow-y:auto;
        position:fixed;
        transition:0.5s;
        align-content: flex-start;
        z-index: 102;
    }

    .sidebar-right.active{
        transform: translateX(0);
        box-shadow: 5px 0 10px rgba(0, 0, 0, 0.5);
    }

    .sidebar-right::-webkit-scrollbar {
        width:0px;
        background:transparent;
    }

    .sidebar-right::-webkit-scrollbar-thumb {
        background:transparent;
    }

    /* Sidebar After Login */

    .sidebar-right .after-login .message-btn {
        width: 100%;
        height: 50px;
        background-color: rgba(255, 255, 255, 0.05);
        border: solid 1px rgba(255, 255, 255, 0.1);
        font-size: 12px;
        border-radius: 5px;
        color: #ffffff;
    }

    .sidebar-right .after-login .message-btn i {
        color: #ffce00;
        font-size: 14px;
        margin-right: 5px;
    }

    /* Main Menu */

    .main-menu {
        width: 100%;
        margin: 10px auto 0;
    }

    .main-menu li {
        width: 100%;
        display: block;
    }

    .main-menu li a {
        width: 100%;
        height: 60px;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        border-radius: 5px;
        color: #ffffff;
        font-size: 16px;
        text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5);
        background-image: linear-gradient(#a17c74,  #816058);
        padding: 0 0 0 15px;
        margin: 0 0 3px;
    }

    .main-menu li:last-child a {
        justify-content: center;
        background-image: linear-gradient(#766865,  #443d3b);
        padding: 0;
    }

    .main-menu li a .icon {
        max-width: 30px;
        max-height: 30px;
        margin-right: 10px;
    }
}

@media(max-width: 500px){
    .header-top .container {
        padding: 0 10px;
    }

    .after-login ul li {
        padding-left: 5px;
        font-size: 12px;
        border-right: solid 1px rgba(255, 255, 255, 0.08);
        border-left: solid 1px rgba(0, 0, 0, 0.75);
    }

    .after-login ul li:first-child {
        border-left: none;
    }

    .after-login ul li:last-child {
        border-right: none;
    }

    .after-login ul li .labels span {
        display: none;
    }

    .after-login ul li .icon-panel {
        width: 26px;
        height: 24px;
        font-size: 12px;
        margin: 0;
    }
}

/* - - - - - - - - - - Banner Queries - - - - - - - - - - */

@media(max-width: 1024px){
    .banner-section {
        margin-top: -5px;
    }

    .banner-carousel .text-panel {
        padding: 0 0 10px;
    }

    .carousel-indicators {
        bottom: 10px;
    }

    .banner-carousel .text-panel h1 { font-size: 5.08vw; }
    .banner-carousel .text-panel h2 { font-size: 4.68vw; }
    .banner-carousel .text-panel h3 { font-size: 4.68vw; }
    .banner-carousel .text-panel h5 { font-size: 3.22vw; margin-top: 0.75% }
    .banner-carousel .text-panel h6 { font-size: 2.93vw; margin-top: 0.75% }
    .banner-carousel .text-panel .font-lg { font-size: 6.05vw; }
}

@media(max-width: 767px){
    .banner-carousel .banner-img.img-md {
        display: none !important;
    }

    .banner-carousel .banner-img.img-mob {
        display: block;
    }
}

@media(max-width: 500px){
    .carousel-indicators li {
        width: 40px;
        height: 5px;
        border-radius: 1px;
    }
}

/* - - - - - - - - - - Providers Queries - - - - - - - - - - */

@media(max-width: 767px){
    .sc-btn {
        width: 33.33%;
    }
}

@media(max-width: 500px){
    .sc-btn {
        margin-bottom: 10px;
    }
}

@media(max-width: 460px){
    .providers-section .container {
        padding: 0 5px;
    }

    .providers-panel .header {
        height: 44px;
        margin-bottom: 10px;
    }

    .providers-panel .header .title {
        font-size: 18px;
    }
}


/* - - - - - - - - - - Board Queries - - - - - - - - - - */

@media(max-width: 1380px){
    .board-panel {
        width: 380px;
        margin: 0 auto;
    }

    .board-panel:first-child {
        width: calc(50% - 220px);
    }

    .board-panel:last-child {
        width: calc(50% - 220px);
    }

    .board-panel .realtime-menu button {
        font-size: 20px;
    }

    .board-panel .content {
        padding-left: 15px;
        padding-right: 15px;
    }

    .board-panel table td {
        font-size: 12px;
    }
}

@media(max-width: 1200px){
    .board-section {
        padding: 0 0 20px;
    }

    .board-panel {
        width: 100%;
        max-width: 700px;
        margin: 12px auto;
    }

    .realtime-board {
        order: 1;
    }

    .board-panel:first-child {
        width: 100%;
        max-width: 700px;
        margin: 12px auto;
        order: 2;
    }

    .board-panel:last-child {
        width: 100%;
        max-width: 700px;
        margin: 12px auto;
        order: 3;
    }
}

@media(max-width: 500px){
    .board-panel {
        min-height: initial;
    }

    .board-panel .content table td a {
        font-size: 12px;
        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;
    }

    .rolling-realtime ul li div.user {
        padding-left: 8px;
    }

    .rolling-realtime ul li div.date {
        padding-right: 8px;
    }
}

@media(max-width: 375px){
    .customer-service .bs-ul li {
        padding: 0 5px;
    }

    .customer-service .bs-ul li img {
        width: 68px;
    }
}

/* Footer Queries */

@media(max-width: 500px){
    .footer-section .providers-logo {
        padding: 15px 0 25px;
    }

    .footer-section .providers-logo img {
        max-width: 80px;
        max-height: 32px;
        margin: 5px 8px;
    }
}

@media(max-width: 414px){
    .footer-section .providers-logo img {
        max-width: 60px;
        margin: 5px 7px;
    }

    .footer-section .copyright-section {
        font-size: 12px;
    }

    .modal-notice .title {
        font-size: 12px;
    }

    .modal-notice .notice-panel {
        padding: 15px;
    }

    .modal-notice .notice-panel br {
        display: none;
    }

    .nbsp {
        margin-right: 0;
    }
    .customer-service .bs-ul {
        width: 64%;
    }

    .telegram-panel .icon-panel img {
        width: 60px !important;
    }

    .customer-service .bs-ul li .text-panel .title {
        font-size: 16px;
    }

    .customer-service .bs-ul li .text-panel .account {
        font-size: 20px;
    }
}

/* Modal Queries */

@media(max-width: 767px){
    .modal-backdrop {
        z-index: 96;
    }

    .modal {
        z-index: 97;
    }

    .modal-dialog {
        margin: 0;
        align-items: stretch;
        min-height: 100%;
    }

    .popup_wrap {
        min-height: 100%;
    }

    .popupbox {
        min-height: 100%;
        border-radius: 0;
        padding: 125px 15px 40px;
    }

    .popupbox:before {
        width: 100%;
        height: 100%;
        border-radius: 0;
    }

    .modal-nav {
        flex-wrap: wrap;
        padding: 5px 3px 2px;
    }

    .modal-nav button {
        width: calc(25% - 4px);
        margin: 0 2px 3px;
    }

    /* Level */

    .level-information {
        height:auto !important;
        padding: 5px 0 !important;
    }

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

@media(max-width: 500px){
    .popupbox {
        padding-left: 10px;
        padding-right: 10px;
    }

    .modal-header {
        height: 52px;
    }

    .modal .close-btn {
        right: 10px;
    }

    .modal-menu {
        width: calc(100% - 44px);
        margin-right: auto;
    }

    .modal-title {
        margin: 15px 0 0;
    }

    .modal-title .title {
        font-size: 24px;
    }

    .con_box10 {
        margin-top: 5px;
    }

    .write_basic .btn-grp {
        justify-content: flex-start;
    }

    .write_basic .btn-grp button {
        width: calc(25% - 4px);
        margin-bottom: 4px;
    }

    .write_basic .btn-grp button:last-child {
        width: calc(50% - 4px);
    }

    table a {
        font-size: 12px;
        transition: 0.3s;
        display: inline-block;
        vertical-align: middle;
        max-width: 90%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        text-decoration: none;
        max-width: 180px;
    }

    .view1 {
        padding: 0 10px;
    }

    .view2 {
        padding: 10px;
    }

    .modal-nav {
        flex-wrap: wrap;
        padding: 2px 1px 0;
    }

    .modal-nav button {
        width: calc(25% - 2px);
        height: 35px;
        margin: 0 1px 2px;
        font-size: 12px;
        white-space: nowrap;
    }

    .list_title1 {
        font-size: 12px;
    }

    .info2 {
        font-size: 12px;
        padding: 0 10px;
    }
}

@media(max-width: 414px){ 
    .modal-menu button {
        font-size: 14px;
    }

    .modal-menu button i {
        font-size: 16px;
    }
}

/* Gamelist Queries */

@media(max-width: 960px){
    .gameListModal .modal-nav button {
        width: calc(14.28% - 2px);
    }

    .game-btn {
        width: calc(20% - 10px);
    }
}

@media(max-width: 767px){
    .gamelist-container .scroll-panel {
        width: calc(100% + 10px);
        height: initial;
        margin: 0 -5px;
        overflow-y: auto;
        padding: 0;
    }

    .gameListModal .modal-nav button {
        width: calc(16.66% - 2px);
    }

    .game-btn {
        width: calc(25% - 10px);
    }
}

@media(max-width: 660px){ 
    .gameListModal .modal-nav button {
        width: calc(20% - 2px);
        font-size: 12px;
    }
}

@media(max-width: 500px){ 
    .gameListModal .modal-nav button {
        width: calc(25% - 2px);
        white-space: nowrap;
    }

    .game-btn {
        width: calc(33.33% - 10px);
    }

    .game-btn .play-btn {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }

    .game-btn .g-footer {
        height: 35px;
        padding: 0 8px;
    }

    .game-btn .g-footer span {
        font-size: 12px;
        max-width: 100%;
    }
}

@media(max-width: 360px){ 
    .gameListModal .modal-nav button {
        font-size: 10px;
    }
}

@media(max-width: 414px){
    .modal-notice .title {
        font-size: 12px;
    }

    .modal-notice .notice-panel {
        padding: 15px;
    }

    .modal-notice .notice-panel br {
        display: none;
    }

    .nbsp {
        margin-right: 0;
    }
}