
@media screen and (max-width: 991px){    
    .over-top1{
        flex-direction: column;
    }    
    .links{
        flex-direction: column;
        line-height: 1.5;
        padding-top: 20px!important;
        padding-bottom: 20px!important;
        height: auto;
        border-width: 1px;
        border-top-width: 10px;
        border-bottom-width: 1px;
    }
    .link{
        margin: 0;
    }    
    .link:after{
        content: "";
    }
    .menu-header, .category-box{
        display: none;
    }   
    .virual-games{
        flex-direction: column;
    }
    .flex-3{
        order: -1;
    }
    #back-to-top{
        right: 15px;
    }
    .side, .g-relate{
        display: none;
    }
    .b_ads{
        margin: auto;
    }
    .iframe{
        width: 100%;
        box-sizing: border-box;
    }
	#unset-menu{
		display: block;
	}


}

@media screen and (max-width: 767px){
    .hidden-border, #none-search{
        display: none;
    }
    .search-mobile{
        display: block; 
    }
    .logo{
        width: 200px;
    }
    .list_menu{
        justify-content: center;
        box-shadow: -1px 5px 11px 0 rgba(0,0,0,.65);
        border-bottom: solid 2px #5b2b8e;
    }
    #menu-bar{
        position: absolute;
        top: 50%;
        left: 15px;
        transform: translateY(-50%);
    }
    #show-library{
        position: absolute;
        top: 50%;
        right: 15px;
        transform: translateY(-50%);
        display: block;
    }
    .virus{
        line-height: 45px;
        height: 45px;
        border-bottom: 1px solid #196c96;
    }
    .mobile-menu{
        background-color: #391162;
    }
    .virus{
        font-size: 16px;
    }
    .inside-games{
        background: #fac609;
        border-radius: 4px;
    }
    .caption{
        top: 0;
        bottom: unset;
        left: 0;
    }
    .title-game{
        background-color: #fff;
        color: #441774;
        opacity: 1;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        height: 25px;
        line-height: 25px;
        box-sizing: border-box; 
        padding: 0;
    }
    .on-game{
        padding: 0 4px;
        background-color: #fff;
    }
    .on-game img{
        margin-top: 25px;
    }
    .games{
        height: 135px;
    }

    .game-frame{
        flex-direction: column;
    }
    .relate-box-2{
        padding: 15px;
    }

    .box-game{
        flex-direction: row!important;
        flex-wrap: wrap;
    }
    .box-game .games{
        width: 50%;
    }

}
@media screen and (min-width: 992px) and (max-width: 1199px){
    .b_ads:first-child{
        display: none;
    }
    .b_ads div:first-child{
        display: none;
    }
    .virual-games .b_ads:last-child{
        margin: auto;
    }
    .ads-right{
        display: block;
    }
    .g-relate{
        display: none;
    }
    .game-frame{
        margin: auto;
    }
}
@media screen and (min-width: 1200px) and (max-width: 1400px){
    .game-frame{
        margin: auto;
    }
    .b_ads div:first-child{
        display: none;
    }
    .ads-small{
        display: block;
        margin: auto;
    }
    .g-relate{
        display: none;
    }
}

@media screen and (min-width: 1400px) and (max-width: 1700px){    
    .b_ads div:first-child{
        display: none;
    }
    .ads-small{
        display: block;
        margin: auto;
    }
    .g-relate:first-child{
        display: none;
    }
    .b_ads{
        margin: auto;
    }
}