@media screen and (max-width: 1400px) {
  .card_game {
    width: 15.4%;
  }
  .show_4cols .card_game {
    width: 23.8%;
  }
  .show_5cols .card_game {
    width: 18.8%;
  }
  .show_6cols .card_game {
    width: 15.4%;
  }
  .card_vendor {
    width: 18.8%;
  }
}
@media screen and (max-width: 1023px) {
  body, .subpage {
    background: url("../images/background_side.jpg") no-repeat;
    background-attachment: fixed;
    background-size: 100% 100%;
  }
  .form_container, .footer-mobile, .balance_wallet, .subpage_bottom {
    left: 100px;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
  }
  .form_container.show, .footer-mobile.show, .balance_wallet.show, .subpage_bottom.show {
    left: 0;
  }
  .bottom_header {
    top: 60px;
  }
  .header_content, .nav-box, .bottom_header_content {
    padding: 0;
  }
  .page_content {
    padding: 20px 15px;
  }
  .box_changepass, .contact_page, .box_term, .box_rule, .box_report, .accrodation, .about_page, .box_form, .feedback_box, .box_tour {
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }
  .footer {
    display: none;
  }
  .main-page {
    padding-top: 10px;
    padding-bottom: 60px;
  }
  .mainpage_top {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    margin: 0 0 25px 0;
  }
  .subpage {
    width: 100%;
    padding-bottom: 60px;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: none;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  .page_content {
    gap: 25px;
  }
  .subpage .page_content {
    padding: 25px 15px;
  }
  .subpage_main {
    position: relative;
    width: 100%;
    z-index: 1;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: none;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  .subpage_top {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    margin: 0;
  }
  .subpage_tit img {
    height: 40px;
  }
  .subpage_top .closebtn {
    display: block;
  }
  .subpage_bottom {
    position: fixed;
    bottom: 0px;
    z-index: 7;
    display: block;
    width: auto;
    left: 100px;
    right: 0;
  }
  .scroll_wrapper {
    background: #153737;
    box-shadow: 2px 0 10px 5px rgba(0, 0, 0, 0.3);
  }
  .vendors_menu .next_btn, .vendors_menu .prev_btn {
    background: #1e4848;
  }
  .header_content .headWrapper {
    height: 60px;
    padding: 0 15px;
  }
  .logoNav {
    padding-top: 5px;
  }
  .logoNav a {
    width: 90px;
  }
  .logo {
    width: 80px;
    margin-left: 10px;
  }
  .wrapNav {
    width: 100px;
  }
  .navigation .nav {
    gap: 10px;
  }
  .navigation .nav .nav-item {
    width: 100px;
    height: 70px;
  }
  .navigation .nav .submenu {
    display: none;
  }
  .navigation .nav .nav-item a h3 {
    text-transform: capitalize;
    font-size: 12px;
  }
  .tile_details_more {
    display: none;
  }
  .bottom_header_content {
    padding: 0 5px 0 10px;
  }
  /*Login*/
  .logo_login {
    display: block;
    width: 200px;
    margin: 60px auto 30px;
  }
  a.backhome {
    display: block;
    position: fixed;
    z-index: 2;
    top: 10px;
    right: 10px;
    width: 42px;
    height: 42px;
    line-height: 45px;
    color: #111;
    text-align: center;
    border-radius: 42px;
    box-shadow: 0 .185em .185em rgba(0, 0, 0, .09), inset 0 .125em 0 rgba(255, 255, 255, .3);
    background: radial-gradient(circle, #c7ffff 0, #247d7d 100%);
  }
  a.backhome i {
    font-size: 20px;
    line-height: 34px;
  }
  .login_btn, .register_btn {
    display: flex;
    height: 36px;
  }
  .form_container::-webkit-scrollbar {
    width: 0 !important
  }
  .form_container {
    -ms-overflow-style: none;
    overflow: -moz-scrollbars-none;
  }
  .form_container {
    position: fixed;
    top: 0;
    right: 0;
    display: none;
    opacity: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: url(../images/bg_login.jpg) top/cover no-repeat !important;
    max-height: 100%;
    min-height: 100%;
    height: 100%;
    -webkit-transition: all 600ms ease;
    -moz-transition: all 600ms ease;
    -ms-transition: all 600ms ease;
    -o-transition: all 600ms ease;
    transition: all 600ms ease;
  }
  .form_container.login_input-active {
    opacity: 1;
    display: flex;
    align-content: center;
    flex-direction: column;
  }
  .login-form {
    gap: 20px;
    flex-direction: column;
    margin: 0px auto 30px;
    padding: 0 25px;
  }
  .form_item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin: auto;
    width: 100%;
  }
  .login-form .form_item .item_box > input {
    width: 100%;
    height: 46px;
    color: #111;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: none;
    border: 1px solid rgba(255, 255, 255, 0.9);
  }
  .form_container .item_box > input:-ms-input-placeholder {
    color: #666
  }
  .form_container .item_box > input::placeholder {
    color: #666
  }
  .form_container .submit_login {
    width: 200px;
    margin: auto;
    height: 46px;
    text-transform: uppercase;
    font-size: 16px;
  }
  .form_container .capcha-img img {
    right: 7px;
  }
  .mobile_register {
    display: block;
    width: 100%;
    padding-top: 30px;
    background: url("../images/line-horz.png") top repeat-x;
  }
  .mobile_register a {
    display: flex;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
    width: 200px;
    height: 46px;
    margin: auto;
    background: radial-gradient(circle, #fff7d6 0, #d7b770 100%);
    box-shadow: 0 .185em .185em rgba(0, 0, 0, .09), inset 0 .125em 0 rgba(255, 255, 255, .3);
    border-radius: 45px;
    color: #111;
    text-transform: uppercase;
    font-size: 16px;
  }
  .mobile_forget {
    display: block;
    width: 100%;
    text-align: center;
    color: #ddd;
    font-style: italic;
  }
  .header-forget {
    display: none;
  }
  /*End login*/
  /*After Login*/
  .smenu, .btn_logout {
    display: none;
  }
  .balance_wallet {
    font-size: 13px;
    top: 60px;
    padding: 15px 5px;
    left: 100px;
    right: 0;
    width: auto;
  }
  .balance_wallet ul {
    gap: 5px;
  }
  .balance_wallet ul li {
    padding: 7px 10px;
  }
  /*END After Login*/
  /*Fotter Mobile*/
  .footer-mobile {
    position: fixed;
    bottom: 0px;
    right: 0;
    z-index: 6;
    display: flex;
    background: #1e4848;
  }
  ul.footer-menu {
    align-items: center;
    display: flex;
    gap: 5px;
    flex: 1;
    font-weight: 400;
    text-transform: capitalize;
    height: 60px;
  }
  ul.footer-menu li {
    flex: 1
  }
  ul.footer-menu li.active {
    background: radial-gradient(circle, #c7ffff 0, #247d7d 100%);
    box-shadow: 0 .185em .185em rgba(0, 0, 0, .09), inset 0 .125em 0 rgba(255, 255, 255, .3);
  }
  ul.footer-menu li.active a {
    color: #206666;
  }
  ul.footer-menu li.active.no_act {
    background: none;
    border: none;
    box-shadow: none;
  }
  ul.footer-menu li.active.no_act a {
    color: #ddd;
  }
  ul.footer-menu li a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    color: #ddd;
    height: 60px;
    font-size: 13px;
  }
  .footer-menu img {
    width: auto;
    height: 30px;
    max-width: none;
  }
  .footer-menu span {
    width: 100%;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  /*END Fotter Mobile*/
  .open_rightside {
    display: block;
    width: 30px;
  }
  .open_rightside img {
    width: 100%;
  }
  /*Icons List Game*/
  .div-game {
    gap: 25px;
  }
  .game-list-item .game_type {
    width: 30px;
    padding: 3px;
  }
  .game-list-item .action-wrap {
    display: none;
  }
  .show-game {
    grid-column-gap: 2.2%;
    grid-row-gap: 20px;
  }
  .card_game {
    width: 18.2%;
  }
  .show_vendor {
    grid-column-gap: 2.2%;
    grid-row-gap: 20px;
  }
  .card_vendor {
    width: 18.2%;
  }
  .show_4cols .card_game {
    width: 23.3%;
  }
  .show_5cols .card_game {
    width: 18.2%;
  }
  .show_6cols .card_game {
    width: 18.2%;
  }
  .txt_title span {
    font-size: 13px;
  }
  /*END icons List Game*/
  ul.tabs {
    padding-bottom: 25px;
    background: url("../images/line-horz.png") repeat-x bottom;
  }
  ul.nav_rule {
    padding-bottom: 25px;
    background: url("../images/line-horz.png") repeat-x bottom;
  }
  ul.img_rule li {
    width: 100%;
  }
  .img_rule img, .wauto img {
    width: 100%;
  }
}
@media screen and (max-width: 650px) {
  body, .subpage {
    background: url("../images/background_side_m.jpg") no-repeat;
    background-attachment: fixed;
    background-size: 100% 100%;
  }
  .form_container, .footer-mobile, .balance_wallet, .subpage_bottom {
    left: 80px;
  }
  .f_after .header {
    height: 100px;
  }
  .f_after .bottom_header {
    top: 100px;
  }
  .f_after .subpage {
    top: 100px;
  }
  .register_btn {
    min-width: auto;
  }
  .login_btn {
    min-width: 90px;
  }
  /*After Login*/
  ul.user_balance {
    position: absolute;
    width: 100%;
    top: 60px;
    left: 0;
    padding: 4px 5px;
    justify-content: flex-end;
  }
  ul.user_balance > li:first-child {
    margin-right: auto;
  }
  .username_f, .balance_f {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    height: 32px;
    padding: 0 5px;
    border-radius: 5px;
    box-shadow: none;
    font-size: 13px;
    border: none;
  }
  ul.user_balance i {
    font-size: 16px;
  }
  .username_f span {
    max-width: 60px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
  .balance_wallet {
    font-size: 13px;
    top: 100px;
  }
  /*End after Login*/
  .logoNav {
    height: 60px;
  }
  .logoNav a {
    width: 70px;
  }
  .wrapNav {
    width: 80px;
  }
  .navigation .nav {
    gap: 10px;
  }
  .navigation .nav .nav-item {
    width: 80px;
    height: 60px;
  }
  .navigation .nav .nav-item a::before {
    height: 30px;
    width: 30px;
  }
  /*CONTENT PAGEs */
  .box2cols {
    grid-column-gap: 0;
    grid-row-gap: 20px;
  }
  .box2cols .col_item {
    width: 100%;
  }
  .p100 {
    grid-column-gap: 0;
    grid-row-gap: 20px;
  }
  .phafl, .p50, .box_step1, .box_step2, .p50form, .select_method, .box_profile {
    width: 100%;
  }
  .button_boxform {
    justify-content: center;
  }
  .acc-container .acc-content {
    padding: 10px 10px 7px 10px;
  }
  /* END CONTENT PAGEs */
  /*Icons List Game*/
  .Boxfitter_games {
    flex-direction: column;
  }
  .show-game {
    grid-column-gap: 3.5%;
    grid-row-gap: 20px;
  }
  .card_game {
    width: 31%;
  }
  .show_5cols .card_game, .show_6cols .card_game {
    width: 31%;
  }
  .show_4cols .card_game {
    width: 48%;
  }
  .show_vendor {
    grid-column-gap: 3.5%;
    grid-row-gap: 20px;
  }
  /*.card_vendor {
    width: 48%;
  }*/
  .card_vendor {
    width: 48%;
  }
  .show_banner {
    grid-column-gap: 4%;
    grid-row-gap: 20px;
  }
  .card_banner {
    width: 48%;
  }
  .StyleGame1 .game-list-item {
    padding: 5px 3px;
  }
  .title_logo img {
    height: 24px;
    margin-top: 5px;
  }
  /*END icons List Game*/
  .bottom_header_content .link_feedback {
    display: none;
  }
  /*Tranfer*/
  .b_tranfer {
    flex-direction: column;
    font-size: 13px;
  }
  .b_balance {
    flex-direction: row;
    justify-content: flex-start;
  }
  .btn_refresh {
    margin-left: auto;
  }
  .btn_refresh span {
    display: none;
  }
  .tab_tranfer {
    flex-direction: column;
    gap: 15px;
  }
  ul.tabs_tranfer li {
    width: 50%;
  }
  .acc_balance {
    flex-direction: row;
    background: url("../images/line-horz.png") repeat-x bottom;
    padding-bottom: 15px;
  }
  .form_tranfermoney {
    flex-direction: column;
  }
  .input_balance {
    justify-content: center;
    grid-row: 10px;
  }
  .input_balance input {
    width: 80%;
  }
  .btn_tranfer {
    min-width: 80px;
    padding: 0 5px;
    font-size: 13px;
  }
  /*END Tranfer*/
  .box_changepass {
    width: 100%;
  }
  /*REPORT*/
  .show_balance {
    display: block;
  }
  ul.choosedate {
    grid-column-gap: 0;
    grid-row-gap: 15px;
  }
  ul.choosedate li {
    flex-direction: column;
    width: 50%;
  }
  #page-info {
    font-size: 13px;
    padding: 0 5px;
  }
  .rowpages span {
    display: none;
  }
  /*END Report*/
  .ribbon_game span {
    font-size: 10px;
    padding: 0px 3px;
    border-radius: 5px;
  }
  .ribbon span {
    font-size: 11px;
    line-height: 15px;
    transform: rotate(-45deg);
    width: 60px;
    top: 10px;
    left: -12px;
  }
}
@media screen and (max-width: 320px) {
  .login-form {
    width: 100%;
  }
  /*Icons List Game*/
  .show-game {
    grid-column-gap: 4%;
    grid-row-gap: 20px;
  }
  .card_game {
    width: 48%;
  }
  .show_4cols .card_game, .show_5cols .card_game, .show_6cols .card_game {
    width: 48%;
  }
  .show_vendor {
    grid-column-gap: 4%;
    grid-row-gap: 20px;
  }
  .card_vendor {
    width: 48%;
  }
  .show_banner {
    grid-column-gap: 0;
    grid-row-gap: 20px;
  }
  .card_banner {
    width: 100%;
  }
  /*Icons List Game*/
}