/* 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: 400px;
    }

    .logo {
        width: 300px;
        margin-bottom: 20px;
    }

    .banner-carousel {
        margin-bottom: 15px;
    }

}

@media(max-width:1140px){

    .banner-section {
        height: 32vw;
    }

    .logo {
        width: 24vw;
        margin-bottom: 1.8vw;
    }

    .banner-carousel {
        margin-bottom: 1vw;
    }

    .banner-carousel .carousel-item {
        padding: 0 0 1vw;
    }

    .banner-carousel h1 {
        font-size: 3.52vw;
    }

    .banner-carousel h2 {
        font-size: 2.8vw;
    }

    .carousel-indicators {
        height: 1.76vw;
    }

    .carousel-indicators li {
        height: calc(100% - 2px);
    }

    .banner-background .casino-items {
        left: -5.25%;
    }

    .banner-background .dealer-02 {
        left: -10.25%;
    }

    .banner-background .dealer-01 {
        left: 5%;
    }

    .banner-background .panda {
        right: -3.5%;
    }

    .banner-background .slot-girl {
        right: 10.75%;
    }

    .banner-background .golf-ball {
        right: 23.75%;
    }

    .banner-background .frog  {
        right: 5.75%;
    }

}

@media(max-width:1140px) {
    .banner-background {
        width: 108%;
        left: -4%;
    }
}

@media(max-width:1024px) {
    .banner-section:before {
        background-size: cover;
    }
}

@media(max-width:500px) {
    .banner-background .dealer-02 {
        left: -3%;
    }

    .banner-background .dealer-01 {
        left: 11.75%;
    }

    .banner-background .dealer-04 {
        right: -2%;
    }

    .banner-background .dealer-03 {
        right: 10.4%;
    }
}

@media(max-width:840px){ 

    .banner-section {
        height: 42vw;
    }

    .logo {
        width: 32vw;
        margin-bottom: 1.8vw;
    }

    .banner-carousel {
        margin-bottom: 2vw;
    }

    .banner-carousel .carousel-item {
        padding: 0 0 2vw;
    }

    .banner-carousel h1 {
        font-size: 4.22vw;
    }

    .banner-carousel h2 {
        font-size: 3.5vw;
    }

    .carousel-indicators {
        height: auto;
        padding: 0;
        background-color: rgba(0, 0, 0, 0);
        box-shadow: none;
        border: none;
        border-radius: 0;
    }

    .carousel-indicators li {
        width: 30px;
        height: 5px;
        border-radius: 2.5px;
        margin: 0 3px;
    }

    .banner-background .golf-ball {
        bottom: 26%;
    }

}

@media(max-width:500px){ 
    .banner-carousel {
        margin-bottom: 3vw;
    }

    .banner-carousel .carousel-item {
        padding: 0 0 3vw;
    }

    .carousel-indicators li {
        width: 30px;
        height: 3px;
        margin: 0 3px;
    }

}


/* - - - - - - - - - - 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% - 18px);
    }

}

@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%;
    }

    .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){

    .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% - 18px);
    }
    
    .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% - 18px);
    }

}

@media(max-width:600px){

    .toggle-btn {
        height: 70px;
    }

    .toggle-btn .icon-panel {
        width: 80px;
    }

    .toggle-btn .text-panel {
        font-size: 16px;
        padding-left: 20px;
    }

    .toggle-btn:last-child .text-panel {
        padding-right: 20px;
    }

    .toggle-btn .icon-panel .img-panel .icon-img {
        width: 140px;
    }

    .toggle-btn:last-child .icon-panel .img-panel .icon-img {
        width: 140px;
    }

    .toggle-btn .text-panel .en-text {
        font-size: 10px;
        letter-spacing: initial;
    }

    .sc-btn .logo-panel .g-logo {
        height: 40px;
        bottom: 28px;
    }

    .sc-btn .logo-panel .g-logo img {
        max-width: 100px;
        max-height: 30px;
    }

    .sc-btn .g-footer {
        width: 94%;
        height: 30px;
        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 {
        height: 22px;
        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;
    }

    .page-content {
        padding: 10px 0 5px;
    }

    .providers-section {
        margin: 20px 0 0;
    }

    .sc-btn {
        width: calc(33.33% - 10px);
        margin: 0 5px 18px;
    }

    .sc-btn .logo-panel .g-logo {
        bottom: 23px;
    }

    .sc-btn .g-footer {
        height: 25px;
        font-size: 12px;
    }

    .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){

    .toggle-section .container {
        padding: 0;
    }

    .toggle-btn {
        height: 60px;
    }

    .toggle-btn .text-panel {
        font-size: 14px;
        padding-left: 15px;
    }

    .toggle-btn:last-child .text-panel {
        padding-right: 15px;
    }

    .sc-btn {
        width: calc(50% - 10px);
        margin: 0 5px 18px;
    }

}

@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-content {
        min-height: auto;
        flex-wrap: wrap;
        align-content: flex-start;
        align-items: flex-start;
    }

    .modal-close-btn {
        width: 50px;
        height: 50px;
        top: 8px;
        right: 5px;
    }

    .no-sidebar .modal-close-btn {
        top: 3px;
        right: 0;
    }

    .modal-close-btn:before, .modal-close-btn:after {
        background-color: #93bb54;
    }

    .modal-sidebar {
        width: 100%;
        border-radius: 10px 10px 0 0;
        border-bottom: none;
    }

    .modal-sidebar .header .fa-bars {
        order: 1;
        margin: 0 10px 0 0 !important;
    }

    .modal-sidebar .header .title {
        order: 2;
        margin-right: auto;
    }

    .modal-menu {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        padding: 0 5px;
    }

    .modal-menu li {
        width: 33.33%;
        padding: 2px;
    }

    .modal-menu li a {
        height: 45px;
        border-radius: 5px;
    }

    .modal-menu li a.active {
        font-family: NotoSansKr-Bold;
        color: rgba(0, 0, 0, 0.75);
        text-shadow: 0 1px 0 rgba(255, 255, 255, 0.25);
        background-image: linear-gradient(#f7ef0f, #d29f00);
    }

    .modal-menu li a.active i {
        color: rgba(0, 0, 0, 0.75);
        text-shadow: 0 1px 0 rgba(255, 255, 255, 0.25);
    }

    .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;
        border-bottom: solid 1px rgba(255, 255, 255, 0.05);
        box-shadow: none;
    }

    .no-sidebar .modal-title {
        height: 50px;
        width: 100%;
        max-width: 100%;
        margin: 0;
        border-radius: 10px 10px 0 0;
    }

}

@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: 10px;
        padding-right: 5px;
    }

    .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;
    }

}

/* - - - - - - - - - - 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;
    }

}

@media(max-width:500px) {

    .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 {
        margin-left: auto;
        margin-right: 10px;
    }

}