/*==========  Non-Mobile First Method  ==========*/

/* Large Devices, Wide Screens */
@media only screen and (max-width : 1200px) {

}

/* Medium Devices, Desktops */
@media only screen and (min-width : 850px) {
    .header .header-bg-color{
        background: unset !important;
    }
    .header #wide-nav{
        display: none !important;
    }
    .header-main{
        background: linear-gradient(to right, #430C66, #8717CC);
    }
}

/* Small Devices, Tablets */
@media only screen and (max-width : 850px) {
    .a-order{
        order: -1;
    }
}

/* Extra Small Devices, Phones */
@media only screen and (max-width : 550px) {
	.a-nohu .box-text p {
		font-size: 20px;
	}
	.a-box-nha-cai img {
		height: 50px;}
	.a-row-box,.a-row-nha-cai{
    	grid-template-columns: repeat(2,1fr);
    	gap: 10px;
	}
    .a-row {
        grid-template-columns: repeat(2,1fr);
    }
    .a-row-game {
        grid-template-columns: repeat(2,1fr);
    }
    .a-banner .stack{
        width: 80%;
        gap: 3px;
    }
    .a-banner .stack .a-logo{
        max-width: 100px;
    }
    .a-banner .stack p{
        font-size: 14px;
        line-height: 1.1;
    }
    .a-banner .stack p:nth-child(2){
        font-size: 11px;
    }
	.a-banner .button {
		display: flex;
		justify-content: center;
		align-items: center;
		padding: 5px;
		min-height: unset;
	}
	.a-banner .button span{
		font-size: 10px;
	}
	.a-banner .box-text{
		padding: 7px;
	}
    .a-sidebar #wide-nav-2 .menu-item a {
        flex-direction: column;
        font-size: 11px;
        text-align: center;
        padding: 7px 3px;
    }
	#wide-nav-2 .menu-item a{
		font-size: 11px;
		flex-direction: column;
		justify-content: center;
		text-align: center;
		position: relative;
		padding: 1rem 12px;
	}
	#wide-nav-2 .menu-item a::before{
		position: absolute;
		content: '';
		width: 90%;
		bottom: 0;
		left: 50%;
		height: 1px;
		background: #575757;
		transform: translateX(-50%);
	}
	#wide-nav-2 .menu-item.active a::before,#wide-nav-2 .menu-item:last-child a::before{
		display: none;
	}
  	.a-has-sidebar {
    	padding: 0 !important;
	}

    #wide-nav{
        display: none;
    }
    .a-flex > .col-inner:first-child {
        display: flex;
        flex-direction: column;
    }
    .a-live {
        margin-left: 10px !important;
        margin-right: 10px !important;
        margin-bottom: 20px !important;
    }
    .a-live .nav li a span{
        font-size: 12px;
    }
    .a-box{
        padding: unset;
    }
    .a-box .box-text{
        display: none;
    }
    .a-live{
        display: none;
    }
    .a-live.show-for-small{
        display: flex !important;
    }
    #logo{
        width: 100px !important;
    }
    .medium-logo-center .flex-left {
        flex: unset;
        margin: unset;
    }
    .header-main .button span{
        font-size: 12px;
    }
    #top-bar-2{
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
    }
    #top-bar-2 .container{
        padding: 0 5px;
    }
	.a-tong-hu .box-text p {
		font-size: 16px;
	}
	.a-row-game .col-inner {
		padding: 5px 2px;
	}
	.a-row-game .stack .button span{
		font-size: 7px;
	}
}

/* Custom, iPhone Retina */
@media only screen and (max-width : 320px) {

}