/* Responsive  Styles */

.mobile {
    display: none !important;
}

.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);
    position: absolute;
    left: 0;
    top: 0;
}

.right-menu-btn.opened .open-icon {
    opacity: 1;
    transform: rotate(0deg);
    font-size: 22px;
    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;
}

/* - - - - - - - - - - Banner Queries - - - - - - - - - - */

@media(max-width:1300px){

    .banner-section {
        height: 450px;
    }

    .logo {
        width: 160px;
    }

}

@media(max-width:1024px){

    .banner-section {
        height: auto;
    }

    .logo {
        width: 15vw;
        margin-bottom: 0.5vw;
    }

    .banner-carousel {
        margin-bottom: 1vw;
    }

    .banner-carousel .carousel-item {
        padding: 0 0 1vw;
    }

    .banner-carousel h1 {
        font-size: 4.59vw;
    }

    .banner-carousel h2 {
        font-size: 2.93vw;
    }

}

@media(max-width:600px){ 
    .logo {
        width: 17vw;
    }

    .carousel-indicators li {
        width: 8px;
        height: 8px;
        margin: 0 4px;
    }
}


/* - - - - - - - - - - Main Queries - - - - - - - - - - */

@media(max-width:1360px){

    .board-panel {
        width: 100%;
        max-width: 700px;
        margin: 10px auto;
    }

    .board-panel:nth-child(1) {
        order: 2;
    }

    .board-panel:nth-child(3) {
        order: 3;
    }

    .realtime-board {
        width: 100%;
        max-width: 700px;
        margin: 10px auto;
        order: 1;
    }

}

@media(max-width:1300px){

    .main-menu li {
        padding: 0;
    }

    .before-login .input-panel {
        width: 160px;
    }

    .sc-btn {
        width: calc(20% - 20px);
    }

}

@media(max-width:1140px){

    .header-section {
        height: auto;
    }

    .header-section .container {
        padding: 0;
    }

    .main-menu {
        width: 100%;
        height: 50px;
        border-bottom: solid 1px rgba(0, 0, 0, 0.5);
    }

    .main-menu .bs-ul {
        width: 100%;
        height: 100%;
        table-layout: fixed;
    }

    .main-menu .bs-ul li {
        height: 100%;
    }

    .main-menu .bs-ul li a {
        width: 100%;
        height: 100%;
				padding:0;
    }

    .bal-container {
        width: 100%;
        padding: 8px 0;
        border-top: solid 1px rgba(255, 255, 255, 0.1);
    }

    .before-login .input-panel {
        width: 200px;
    }

}

@media(max-width:1024px){
    .page-content {
        padding-top: 30px;
    }

    .toggle-btn {
        height: 80px;
        margin: 0;
    }

    .toggle-btn .text-panel:before, 
    .toggle-btn .text-panel:after {
        height: 90%;
    }

    .toggle-btn .icon-panel {
        width: 100px;
    }

    .toggle-btn .text-panel {
        font-size: 18px;
    }

    .toggle-btn .icon-panel .img-panel .icon-img {
        width: 180px;
        transform: skew(20deg) translateX(0);
    }

    .toggle-btn:last-child .icon-panel .img-panel .icon-img {
        width: 180px;
        transform: skew(-20deg) translateX(0);
    }

    .sc-btn {
        width: calc(25% - 20px);
    }
    
    .scroll-top {
        bottom: 10px;
        right: 10px;
    }

}

@media(max-width:767px){

    .mobile {
        display: block !important;
    }

    .desktop {
        display: none !important;
    }

    .header-section:before {
        width: 100%;
        height: 109px;
        left: 0;
        top: 0;
        /*background-image: url(../img/bg/header-bg.jpg);*/
        background-size: 767px 100%;
        background-position: center;
    }

    .after-login .drop-down {
        width: 100%;
        order: 3;
        transition: 0s;
    }

    .after-login .desktop {
        order: 1;
    }

    .after-login .mobile {
        order: 2;
    }

    .drop-down {
        display: none;
    }

    .drop-down-menu{
        width:100%;
        border: none;
        margin: 5px 0 -5px;
        padding:10px 10px;
        transition:0s;
        align-content: flex-start;
        border-radius: 0;
        pointer-events: auto;
        position: relative;
        left: 0;
        transform: translateX(0);
        top: 0;
        opacity: 1;
        box-shadow: none;
    }

    .after-login .account-info .labels {
        padding-top: 7px !important;
        padding-bottom: 7px !important;
    }

    .after-login .drop-down .mypage-link,
    .after-login .drop-down .message-btn {
        width: calc(50% - 4px);
        margin: 0 2px 5px;
        height: 40px;
        border-radius: 5px;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    }

    .after-login .account-info .progressbar {
        margin: 0 0 10px;
    }

    .sc-btn {
        width: calc(33.33% - 20px);
    }

}

@media(max-width:600px){
    .page-content {
        padding-top: 20px;
    }

    .sc-btn .g-logo {
        width: 60px;
        height: 50px;
    }

    .sc-btn .g-logo img {
        max-width: 36px;
        max-height: 28px;
    }

    .sc-btn .g-footer {
        width: 94%;
        height: 40px;
        font-size: 14px;
    }

    .board-section {
        padding: 10px 0;
    }

    .realtime-board .realtime-nav button {
        font-size: 16px;
    }

}

@media(max-width:500px){

    .header-section:before {
        height: 98px;
    }

    .main-menu li a {
        font-size: 10px;
    }

    .main-menu li a i {
        line-height: 18px;
        font-size: 20px;
        margin: 0 0 2px;
    }

    .main-menu li a .fa-building-columns,
    .main-menu li a .fa-coins {
        font-size: 18px;
    }

    .main-menu li a span {
        width: 100%;
        display: inline-block;
        text-align: center;
    }

    .bal-container {
        padding: 5px 0;
    }

    .bal-container .mobile button {
        height: 35px;
    }

    .sc-btn {
        width: calc(33.33% - 14px);
        margin: 0 7px 20px;
    }
    .sc-btn .bg {
        width: calc(100% - 10px);
        height: calc(100% - 10px);
    }

    .sc-btn .g-logo {
        width: 50px;
        height: 40px;
        padding: 0 0 2% 2%;
        border-radius: 5px 25px 5px 20px;
    }

    .sc-btn .g-logo img {
        max-width: 30px;
        max-height: 24px;
    }

    .sc-btn .g-footer {
        height: 34px;
        font-size: 11px;
        bottom: -5px;
    }

    .sc-btn .play-btn {
        width: 34px;
        height: 34px;
    }

    .sc-btn .play-btn i {
        font-size: 22px;
    }

    .sc-btn .g-footer .g-title {
        width: calc(100% - 34px);
        font-family: GmarketSansLight;
        padding: 0 5px;
        vertical-align: middle;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        text-decoration: none;
    }

    .board-panel .content table td a {
        font-size: 12px;
        display:inline-block;
        vertical-align:middle;
        max-width:220px;
        white-space:nowrap;
        overflow:hidden;
        text-overflow:ellipsis;
        text-decoration:none;
    }

    .rolling-realtime ul li div.amount {
        font-size: 14px;
    }

    .footer-section .footer-providers img {
        max-width: 86px;
        max-height: 24px;
        margin: 10px 7px;
    }

    .footer-section .copyright-text {
        letter-spacing: initial;
    }

}

@media(max-width:414px){

    .page-content {
        padding-top: 10px;
    }

    .sc-btn {
        width: calc(33.33% - 10px);
        margin: 0 5px 18px;
    }

    .realtime-board {
        padding: 10px 15px;
    }

    .realtime-board .realtime-nav button {
        font-size: 14px;
    }

}

@media(max-width:375px){

    .toggle-btn .icon-panel {
        width: 70px;
    }

    .toggle-btn .icon-panel .img-panel .icon-img {
        width: 120px;
    }

    .toggle-btn:last-child .icon-panel .img-panel .icon-img {
        width: 120px;
    }
}

/* - - - - - - - - - - Modal Queries - - - - - - - - - - */

@media(max-width:1024px){

    .modal-dialog-centered {
        align-items: flex-start;
    }

    .modal-content {
        min-height: auto;
        flex-wrap: wrap;
        align-content: flex-start;
        align-items: flex-start;
    }

    .modal-close-btn {
        width: 50px;
        height: 50px;
        top: 2px;
        right: 0;
    }

    .no-sidebar .modal-close-btn {
        top: 3px;
        right: 0;
    }

    .modal-sidebar {
        width: 100%;
        border-radius: 10px 10px 0 0;
        border-bottom: none;
        padding: 0;
        border-right: none;
    }

    .modal-sidebar .header {
        width: calc(100% - 10px);
        margin: 0 auto 5px;
    }

    .modal-sidebar .header i {
        order: 1;
        margin: 0 10px 0 0 !important;
        font-size: 22px;
    }

    .modal-sidebar .header .title {
        order: 2;
        margin-right: auto;
    }

    .modal-menu {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        padding: 0 5px;
        margin: 0 0 10px;
    }

    .modal-menu li {
        width: 33.33%;
        padding: 2px;
    }

    .modal-menu li a {
        height: 45px;
        border-radius: 5px;
    }

    .modal-panel {
        width: 100%;
        border-radius: 0 0 10px 10px;
    }

    .modal-title {
        height: 60px;
        width: calc(100% - 20px);
        max-width: 100%;
        margin: 0 auto;
        background-color: transparent;
        background-image: none;
        border-radius: 0;
        border-top: none;
        box-shadow: none;
    }

}

@media(max-width:767px) {

    .modal-sidebar .header {
        margin-bottom: 5px;
    }

    .modal-menu li a {
        height: 40px;
        font-size: 12px;
        border-radius: 5px;
    }

    .modal-menu li a .icon-panel {
        width: 25px;
        margin-right: 0;
        font-size: 14px;
    }

    .modal-list .bs-ul {
        flex-wrap: wrap !important;
        justify-content: flex-start;
    }

    .modal-list .bs-ul li {
        width: 33.33%;
    }

    .level-information {
        height:auto !important;
        padding: 5px 10px !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:600px){

    .no-sidebar .modal-title i {
        font-size: 18px;
        margin-right: 8px;
    }

    .no-sidebar .modal-title .title{
        color:#ffffff;
        font-size: 18px;
    }

}

@media(max-width:500px) {

    .modal-menu li {
        padding: 1px;
    }

    .modal-menu li a {
        height: 35px;
        justify-content: flex-start;
        padding-left: 10px;
    }

    .modal-menu li a .center {
        min-width: auto;
    }

    .modal-list a {
        font-size: 12px;
    }

    .modal-body {
        padding: 10px 10px 20px;
    }

    .loginModal .modal-body {
        padding-top: 30px;
        padding-bottom: 50px;
    }

    .modal-info {
        height: 60px;
        border-radius: 5px;
        margin: 0 0 20px;
        font-size: 12px;
        padding-left: 70px;
        padding-right: 5px;
    }

    .modal-info .icon-img {
        width: 60px;
        left: 0;
    }

    .modal-info button {
        width: 90px;
        height: 28px;
        font-size: 11px;
    }

    .form-footer {
        margin-top: 30px;
    }

    .bs-table tr .count-td {
        width: auto;
        padding: 0 2px;
    }

    .bs-table tr td a {
        max-width: 180px;
    }

    .bs-table tr .title-td {
        max-width: 180px;
        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 thead th {
        font-size: 12px;
    }

    .joinModal .modal-info {
        height: auto;
        padding: 14px 5px;
    }

    .joinModal .modal-info button {
        width: 100%;
        max-width: 200px;
        margin: 10px auto 0 !important;
    }

    .form-container .cdb-form .input-container {
        flex-wrap: wrap;
    }

    .form-container .cdb-form .select-input:first-child {
        margin-right: 0;
    }

    .form-container .cdb-form .select-input:nth-child(2) {
        margin-left: 0;
    }

    .form-container .cdb-form .select-input.year {
        width: calc(40% - 2px);
        max-width: 100%;
        margin-top: 5px;
    }

    .form-container .cdb-form .select-input.date-month {
        width: calc(30% - 4px);
        max-width: 100%;
        margin-top: 5px;
    }

    .form-container .cdb-form .select-input.date-month:last-child {
        width: calc(30% - 2px);
    }

    .form-container .form-group .checkbox-input {
        width: 100%;
        justify-content: flex-end;
        padding: 0 10px;
        margin: 0;
    }

}

/* - - - - - - - - - - Gamelist Queries - - - - - - - - - - */

@media(max-width:1340px){

    .game-btn {
        width: calc(20% - 14px);
    }

}

@media(max-width:1160px){

    .game-btn {
        width: calc(25% - 14px);
    }

}

@media(max-width:1024px){

    .gamelistModal .modal-panel {
        width: 100%;
    }

    .gamelistModal .modal-sidebar {
        width: 100%;
    }

    .gamelistModal .modal-body {
        padding: 10px;
    }

    .game-btn {
        width: calc(20% - 14px);
    }

    .game-list-container .scroll-panel {
        width: 100%;
        height: auto;
        margin: 0;
        overflow-y: visible;
        padding: 0;
    }

}

@media(max-width:850px){

    .game-btn {
        width: calc(25% - 14px);
    }

}

@media(max-width:660px){

    .game-btn {
        width: calc(33.33% - 14px);
        margin: 0 7px 14px;
    }

}

@media(max-width:500px){

    .game-btn {
        width: calc(33.33% - 10px);
        margin: 0 5px 10px;
    }

}

@media(max-width:414px){

    .game-btn {
        width: calc(33.33% - 8px);
        margin: 0 4px 8px;
        padding: 1px;
        border-radius: 5px;
    }

    .game-btn .g-panel .g-footer {
        font-size: 10px;
        height: 30px;
    }

    .game-btn .g-panel .g-footer .name-text {
        font-size: 10px;
    }

}


/* - - - - - - - - - - Zino Link Queries - - - - - - - - - - */

@media(max-width:1520px){
    .main-menu li {
        padding: 0;
    }

    .zino-link {
        width: initial;
        padding: 0 10px;
        font-size: 16px;
    }
}

@media(max-width:1380px){
    .main-menu li a {
        /*width: 100px;*/
    }

    .before-login .input-panel {
        width: 160px;
    }
}

@media(max-width:1290px){
    .zino-link {
        width: 260px;
        left: 0;
        right: 0;
        margin: 0 auto;
        position: absolute;
        font-size: 21px;
        bottom: -54px;
        border-radius: 10px;
    }

    .zino-link:hover {
        color: #000000;
    }

    .zino-link:before {
        display: none;
    }

    .page-content {
        /* padding-top: 80px; */
    }
}

@media(max-width:500px){
    .zino-link {
        width: calc(100% - 20px);
        font-size: 18px;
    }

    .zino-link .icon-panel img {
        max-height: 24px;
    }

    .page-content {
      /*  padding-top: 70px; */
    }
		
		.main-tit {margin:20px 0}
		.main-tit img {width:80%}
}