@media screen and (max-width: 1023px) {
  body {
    background: url("../images/background_side.jpg") no-repeat;
    background-attachment: fixed;
    background-size: 100% 100%;
  }
  .header_content {
    background: #000 url("../images/bg_nav.png");
    background-size: 100% 100%;
  }
  .page_content, .header_content, .nav-box, .bottom_header_content {
    padding: 0;
  }
  .box_changepass, .contact_page, .box_term, .box_rule, .box_report, .accrodation, .about_page {
    padding: 15px;
    background: rgba(2, 56, 94, 0.5);
    border: none;
    box-shadow: none;
  }
	.tab_tranfer, ul.tabs_tranfer li.active a, .b_balance{
		background-color: rgba(255, 255, 255, 0.12);
	}
  .section-body {
    display: grid;
    grid-template-columns: repeat(auto-fit, 120px minmax(120px, 1fr));
    padding: 0;
  }
  .postion1 {
    grid-row-start: 2;
    grid-column: 1 / span 2;
  }
  .postion2 {
    grid-row-start: 1;
    grid-column: 1 / span 2;
    margin-top: 0;
  }
  .postion3 {
    grid-row-start: 3;
    padding: 10px 0 70px 10px;
  }
  .postion4 {
    grid-row-start: 3;
    padding-right: 10px;
  }
  .footer {
    display: none;
  }
  .main-page {
    padding-top: 10px;
    padding-bottom: 80px;
  }
  .mainpage_top {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    margin: 0 0 25px 0;
  }
  .subpage {
    width: 100%;
    position: fixed;
    top: 60px;
    bottom: 60px;
    right: 0;
    padding: 0;
    z-index: 5;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: none;
    -ms-overflow-style: none;
    scrollbar-width: none;
    background: #05080f url("../images/background_side.jpg") no-repeat;
    background-attachment: fixed;
    background-size: 100% 100%;
  }
  .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: 6;
    display: block;
  }
  .scroll_wrapper {
    background: #02385e url("../images/line-horz.png") repeat-x top;
  }
  .vendors_menu .next_btn, .vendors_menu .prev_btn {
    background: #094d7e;
  }
  .header_content .headWrapper {
    height: 60px;
    padding: 0;
  }
  .logo {
    width: 56px;
    margin-left: 10px;
  }
  .navigation {
    width: 100px;
    background: none;
    z-index: 1;
  }
  .navigation.sticks_nav {
    position: fixed;
    top: 70px;
    z-index: 5;
    /*height: calc(100vh - 140px);*/
    bottom: 70px;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: none;
    scrollbar-width: none;
    -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;
  }
  .navigation .nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
  .navigation .nav .submenu {
    display: none;
  }
  .navigation .nav .nav-item {
    width: 100px;
    background-color: rgba(255, 255, 255, 0.12);
    border-radius: 10px;
  }
  .navigation .nav .nav-item a h3 {
    text-transform: capitalize;
    font-size: 12px;
  }
  .navigation .nav .nav-item.active {
    background: url("../images/btn1.jpg");
    background-size: 100% 100%;
    border: 1px solid #075497;
    -moz-box-shadow: 0 .125em .125em rgba(0, 0, 0, .09), inset 0 .0625em 0 rgba(255, 255, 255, .5);
    -webkit-box-shadow: 0 .125em .125em rgba(0, 0, 0, .09), inset 0 .0625em 0 rgba(255, 255, 255, .5);
    box-shadow: 0 .125em .125em rgba(0, 0, 0, .09), inset 0 .0625em 0 rgba(255, 255, 255, .5);
  }
  .navigation .nav .nav-item.livecasino:hover, .navigation .nav .nav-item.slots:hover, .navigation .nav .nav-item.mobile:hover {
    background-color: rgba(255, 255, 255, 0.12);
  }
  .navigation .nav .nav-item a h3, .navigation .nav .nav-item.active a h3, .navigation .nav .nav-item a:hover h3 {
    color: #fff;
  }
  .tile_details_more {
    display: none;
  }
  .bottom_header {
    padding: 10px 10px 0 10px;
    background: none;
	  border: none;
	  box-shadow: none;
  }
  .bottom_header_content {
    height: 36px;
    padding: 0 0 0 10px;
    background-color: rgba(255, 255, 255, 0.12);
    border-radius: 5px;
  }
  /*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: 34px;
    line-height: 34px;
    color: #fff;
    text-align: center;
    border-radius: 5px;
    border: 1px solid #223657;
    background: url("../images/btn1.jpg");
    background-size: 100% 100%;
  }
  a.backhome i {
    font-size: 20px;
    line-height: 34px;
  }
  .login_btn {
    display: flex;
  }
  .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;
    width: 100%;
    overflow-y: auto;
    z-index: 999 !important;
    -webkit-overflow-scrolling: touch;
    background: url(../images/bg_login.jpg) top/cover no-repeat !important;
    max-height: 100%;
    min-height: 100%;
    height: 100%;
    -moz-box-shadow: 0 0 5px #555;
    -webkit-box-shadow: 0 0 5px #555;
    box-shadow: 0 0 5px #555;
    -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: 15px;
    flex-direction: column;
    margin: 0px auto 30px;
    width: 300px;
    padding: 0 25px;
  }
  .form_item {
    width: 100%;
  }
  .login-form .form_item .item_box > input {
    width: 100%;
    height: 40px;
  }
  .form_container .submit_login {
    width: 200px;
    margin: auto;
    height: 50px;
    text-transform: uppercase;
    font-size: 16px;
  }
  /*End login*/
  /*After Login*/
  .smenu, .btn_logout {
    display: none;
  }
  .balance_wallet {
    font-size: 13px;
    top: 60px;
    padding: 15px 5px;
  }
  .balance_wallet ul {
    gap: 5px;
  }
  .balance_wallet ul li {
    padding: 3px 5px;
  }
  /*END After Login*/
  /*Fotter Mobile*/
  .footer-mobile {
    position: fixed;
    bottom: 0px;
    z-index: 3;
    display: flex;
    width: 100%;
    background: #02385e url("../images/line-horz.png") repeat-x top;
  }
  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: url("../images/btn1.jpg");
    background-size: 100% 100%;
    border: 1px solid #075497;
    -moz-box-shadow: 0 .125em .125em rgba(0, 0, 0, .09), inset 0 .0625em 0 rgba(255, 255, 255, .5);
    -webkit-box-shadow: 0 .125em .125em rgba(0, 0, 0, .09), inset 0 .0625em 0 rgba(255, 255, 255, .5);
    box-shadow: 0 .125em .125em rgba(0, 0, 0, .09), inset 0 .0625em 0 rgba(255, 255, 255, .5);
  }
  ul.footer-menu li.active a {
    color: #fff;
  }
  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: 58px;
    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;
    height: 30px;
    margin-right: 15px;
  }
  .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) {
  .f_after .header {
    height: 100px;
  }
  .f_after .navigation.sticks_nav {
    top: 110px;
    /*    height: calc(100vh - 180px);*/
  }
  .f_after .subpage {
    top: 100px;
  }
  .fix_scrollMenu {
    padding-bottom: 500px;
  }
  /*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;
    background: none;
    border: none;
    border-radius: 5px;
    box-shadow: none;
    font-size: 13px;
  }
  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*/
  .section-body {
    grid-template-columns: repeat(auto-fit, 100px minmax(100px, 1fr));
  }
  .navigation {
    width: 80px;
  }
  .navigation .nav .nav-item {
    width: 80px;
    height: 70px;
  }
  .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 {
    width: 100%;
  }
  /* 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: 80%;
  }
  /*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*/
}
@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*/
}