@media screen and (max-width: 1024px) {
    .container {
        width: auto !important;
        min-width: auto !important;
        padding: 0 15px !important;
    }

}


@media screen and (max-width: 980px) {
.mobile_button {
    display: block !important;
}

.menu ul {
    display: none;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 500;
    -webkit-transition: none .5s ease;
    transition: none .5s ease;
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    width: 280px;
    max-width: 85%;
    height: 100%;
    padding-bottom: 44px;
    background: #000;
    -webkit-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
    -webkit-overflow-scrolling: touch;
    box-shadow: 2px 0 5px 0 rgba(0,0,0,0.25);
    -webkit-transform: translateX(-280px);
    -ms-transform: translateX(-280px);
    transform: translateX(-280px);
    overflow-y: auto;
    overflow-x: hidden;
}
	
.nav-bar-open .menu ul {
    display: block !important;
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
}
	
.menu ul li:after {
    display: none;
}

.menu ul li {
    display: block !important;
    width: 100% !important;
}

.menu ul li a {
    padding: 1rem 1rem 1rem 1.5rem !important;
    font-size: .8rem !important;
    display: block !important;
    border-radius: 0 !important;
    border-top: 1px solid #00033 !important;
    color: #fff !important;
    border: 0 !important;
}

.menu + .nav_separator,
.social_menu {
    display: none;
}

.images_grid_big .images_grid {
    width: auto !important;
    margin: 0 5px 5px 5px;
}

.images_grids {
    display: block;
    padding: 5px 0;
}

.images_grid_small .images_grid {
    margin: 0 5px;
    height: 100px;
}

.forum_statistic, .forums_cat_stats {
    display: none;
}

.footer_center_wrap > div {
	margin: 0 5px 20px;
	min-width: 250px;
	flex: 1 1 250px;
}

.footer_col2, .footer_col4 {
    padding-right: 0 !important;
    padding-left: 0 !important;
}

.footer-bottom-wrap {
    flex-flow: column-reverse;
    text-align: center;
    height: 48px;
    padding: 5px;
}

.index_news {
    width: auto;
}

.index_block > .container {
    display: block;
}

.index_post {
    width: auto;
    margin-bottom: 1em;
}
	
.forumdis_stats {
    display: none;
}
	
}	


@media screen and (max-width: 800px) {
form table tr, 
form table tr td {
    width: 100% !important;
    display: block !important;
}
	
.navBar {
    min-height: 50px;
}

.navBar_wrap {
    height: 50px;
}

.menu-avatar:before {
	display: none;
}

.menu-welcome {
    padding-left: 1em;
    padding-right: 1em;
}

.nav_separator {
    display: none;
}

form select, form button, form input.textbox, form input.button {
    width: 100% !important;
    margin-bottom: 4px !important;
}	
	
#navigation > a {
    display: block !important;
    margin: 6px 0 !important;
}

#navigation > i {
    float: left !important;
}

.page_header {
    height: auto;
    top: auto;
    padding: 1em 1em 1em 4.8em;
    min-height: 64px;
}

#navigation {
    margin: 1em 0 !important;
    top: 0 !important;
}
	

.sidebar_tborder, .sidebar_slider {
    width: 47%;
    overflow: hidden;
    margin-bottom: 20px;
    display: inline-block ;
    vertical-align: top;
    margin-left: 2.127659574468085%;
}
	
.thread_block {
    display: block;
    position: relative;
    height: auto;
}

.thread_next_link {
    display: none;
}

.thread_extras {
    margin: .25em 0 0 0;
}

.thread_new_button > a {
    width: 100%;
    margin: 0.5em 0 0.25em 0 !important;
    text-align: center;
}

.mobile_float {
    float: none;
    width: 100%;
}

.mobile_float a.button {
    width: 100%;
    text-align: center;
    margin: 0 !important;
}
	
.welcome_message {
    padding: 1em;
}

.welcome_message p {
    width: 100%;
}

.welcome_message_buttons {
    margin: .5em;
}

.postbit {
    display: block;
}

.postbit_user {
    width: 100%;
    margin-bottom: .5em;
    text-align: left;
    min-height: 57px;
    position: relative;
}

.postbit_groupimage {
    display: none;
}

.postbit_statistics {
    display: none;
}

.postbit_userstars {
    display: none;
}

.postbit_avatar {position: absolute;top: 4px;margin: 0;}

.postbit_profilelink {
    line-height: 16px;
    max-width: calc(100% - 80px);
    white-space: nowrap;
    text-overflow: ellipsis;
    word-break: break-word;
    margin-bottom: 3px;
    text-align: left;
    margin-left: 64px;
    margin-top: 0px;
}

.postbit_avatar img {
    width: 45px;
    height: 45px;
}

.postbit_online, .postbit_offline, .postbit_away {
    width: 12px;
    height: 12px;
    border-width: 2px;
    top: 18px;
    left: 45px;
}

.postbit_usertitle {
    line-height: 16px;
    max-width: calc(100% - 80px);
    white-space: nowrap;
    text-overflow: ellipsis;
    word-break: break-word;
    margin-bottom: 3px;
    text-align: left;
    margin-left: 64px;
}

.postbit_contact_button {
    position: absolute;
    top: 17px;
    padding: 0;
    justify-content: flex-end;
    right: 2px;
}

.postbit_author {
    margin: 0;
}

.postbit_background_container {
    display: none;
}

.postbit_extras {
    display: none;
}

.postbit_contact_button > a {
    font-size: 12px;
    width: 22px;
    height: 22px;
}

.postbit_message {
    padding: 0;
}
	
	
/** PROFILE PAGE **/
.profile_main {
    display: block;
}

.profile_main_left {
    width: 100%;
}

.stats_box {
    display: block;
}

.stats_box_thread, .stats_box_post {
    margin-bottom: .5em;
}

.profile_avatar > img {
    width: 120px;
    height: 120px;
    border-width: 4px;
}

.profile_avatar {
    flex: 0 0 150px;
}

.profile_statistic {padding-left: 1em;padding-right: 1.5em;}

.profile_info dl {
    margin-right: 1.5em;
}

.profile_avatar .avatar_change {
    width: 30px;
    height: 30px;
    border-width: 4px;
    font-size: 10px;
}

.profile_info dl:last-child {
    display: none;
}	

}

	
@media screen and (max-width: 676px) {

.menu-item {margin: 0 1em 0 0 !important;}

#member_setting_popup.open {
    display: block !important;
    width: 100%;
    position: absolute;
    top: 79px;
    left: 0;
}

.sidebar_tborder, .sidebar_slider {
    width: 100%;
    margin: 0 0 1em 0;
}

.footer_top_right {
    display: none;
}

.footer_center_wrap > div {
    width: 100%;
}
	
.forumdis_lastpost {
    display: none;
}
	

}


@media screen and (max-width: 500px) {
.images_grid_small {
    display: none;
}

.images_grid_big .images_grid {
    margin: 0 5px;
    height: 100%;
}
	
.forum_lastpost, .forums_cat_last {
    display: none;
}
	
.footer_links {
    display: block;
}
	
.index_banner {
    font-size: 2em;
}

#quick_links {
    padding: 14px 5px;
}

#quick_links > a {
    margin: 0.2rem;
    font-size: 11px;
}

.forumdis_status {
    display: none;
}
	
.thread_views, .thread_buttons {
    display: block;
}

.thread_button {
    float: none;
    margin: .5em 0 0 0;
}

.thread_button > a {
    width: 100%;
    text-align: center;
    margin: 0 !important;
}
	
.postbit_buttons_left > a#top {
    display: none;
}
	
.profile_info dl:not(:first-child) {
    display: none;
}

.stats_box_thread, .stats_box_post {
    padding: 1em;
}

.stats_box_thread:after, .stats_box_post:after {
    display: none;
}
	
.modal {
    width: auto !important;
}
	
.welcome_message_buttons > span {
    display: block;
    width: 100%;
    height: 10px;
    border: 0;
}

.welcome_message_buttons {
    display: flex;
    flex-flow: wrap;
    justify-content: center;
}

.welcome_login_btn, .welcome_register_btn {
    width: 100%;
    margin-bottom: .25rem;
}

.welcome_login_btn .mask, .welcome_register_btn .mask {
    width: 100%;
}

.welcome_login_btn a, .welcome_register_btn a {
    width: 100%;
}

.welcome_panel_guest ~ .nav_separator {
    display: none;
}
}
		
		
		
		
		