@media screen and (max-width: 1000px) {
    
    .mobile_only {
        display: unset;
    }
    #header .user, .description #message_index_jump_to, .poster, .title_icons, .windowbg2 span.topslice, .windowbg span.topslice, .windowbg3 span.topslice, #ic_recentposts .dzial, #ic_recentposts td.autor {
        display: none;
	}
    a.go_up {
        opacity: 1;
    }
	.message_index_legend {
		max-width: 100%;
	}
    #quickReplyOptions .roundframe {
        padding: 10px;
    }
	.postarea, .moderatorbar {
		margin: 10px;;
	}
	.flow_hidden .autor_post {
		display: block;
	}
	.buttonlist ul li a {
		padding: 10px 2px;
        font-size: 16px;
	}
	ul.quickbuttons li a:link {
		padding: 10px 5px;
		font-size: 12px;
	}
	.wrapper {
		width: 90%;
	}
	.inner {
		border-top: 2px solid #525252;
		font-size: 16px;
	}
	.board.info {
		width: 100%;
	}
	#boardindex_table .last_post_board, #ic_recentposts td.wiadomosc a {
		padding: 10px;
		background: #222;
		cursor: pointer;
        border-radius: 0px 5px 5px 0px;
	}
	#ic_recentposts td.wiadomosc a {
		line-height: 36px;
	}
	.go_up {
		display: block;
		padding: 10px;
		font-size: 20px;
		opacity: 1;
	}
	.fob {
		padding: 24px;
		font-size: 36px;
        width: auto;
        height: auto;
	}
	span.message_link .post_preview, span.message_link:hover .post_preview:not(:hover) {
		display: none;
	}
	#messageindex .stats {
		display: none;
	}
	table.table_grid td.subject {
		padding: 5px;
		font-size: 1.2em;
	}
	#messageindex .pages a {
		padding: 6px 10px;
	}
	.forum_stats .floatright {
		float: left;
	}
	.forum_stats .phone {
		display: block;
	}
	#upshrinkHeaderIC p.inline {
		font-size: 16px;
	}
	body {
		line-height: 1.8em;
	}
	a.info_text {
		margin: 0px 3px;
		padding: 5px;
	}
	.login input, .login button {
		padding: 10px;
	}
	.login dt {
		padding-top: 10px;
	}
	#boardindex_table:not(.two_columns) .board.info .stats{
		display: none;
	}
	.two_columns .board.info {
		width: 100%;
	}
	/* administracja */
	#quick_tasks li {
		width: 100% !important;;
	}
	#topnav .firstlevel i {
		padding-right: 0px;
	}
	#topnav .firstlevel i {
		padding-right: 0px;
	}	
    ul.quickbuttons li {
        display: flex;
        height: 100%;
    }
	ul.quickbuttons li a, ul.quickbuttons li a:link {
        padding-top: calc(50% - 6px);
        padding-bottom: calc(50% - 6px);
	}
    ul.quickbuttons li.show_more .more_menu {
        top: 100%;
        right: 0;
    }
	ul.quickbuttons li a i {
    font-size: 12px;
    padding-right: 5px;
    padding-left: 5px;
    line-height: 20px;
	}
    #postmodify .button_submit:nth-child(1) {
        font-weight: bold;
        margin-right: 15px;
    }
    #postmodify .button_submit {
        padding: 10px 2px;
        font-size: 16px;
        text-transform: uppercase;
        color: rgb(238, 238, 238);
        letter-spacing: 0.3px;
    }
    .ncode_imageresizer_original, #forumposts .inner .bbc_img {
        max-width: 100%;
        height: auto;
        margin: 5px 0px;
        box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.7);
        border: 2px solid #BBB;
    }
    table.ncode_imageresizer_warning {
        display: none;
    }
	#button_pm, #button_profile {
		display: inline;
	}
	.profile_info_container .content.flex_container {
		flex-direction: column;
	}
    span.message_link {
        font-size: 24px;
        line-height: 27px;
    }
    #forumposts .signature{
        display: none;
    }
    .postarea div.flow_hidden .keyinfo {
        color: #999;
    }
    .gpbp_vote {
        display: flex;
        align-items: center;
    }
    .two_columns .board.info:nth-child(2n) {
        border-left: unset;
    }
    .two_columns .board.info:nth-child(4n-1) {
        background-color: #373B41;
    }
    .two_columns .board.info:nth-child(2n) {
        background-color: #2C2F34;
    }
    .two_columns .last_post_board .last_board_extra_info {
        font-size: 10px;
        color: #AAA;
    }
    #boardindex_table.two_columns .info_container.old_posts .last_post_board {
        padding-top: 8px;
    }
    #boardindex_table:not(.two_columns) .board_avatar img, .info_container .info_text .about_info, .board.info .info_childboards, .titlebg.debug {
        display: none;
    }
    .info_container a {
        padding-top: 20px;
    }
    .info_text p.subject {
            font-size: 22px;
            text-align: center;
            line-height: 27px;
    }
    .two_columns .board.info:nth-child(2) {
        border-top: unset;
    }
    .description_board {
        display: none;
    }
    .postarea div.flow_hidden .keyinfo, .postarea div.flow_hidden .keyinfo a {
        color: #AAA;
    }
    #messageindex .pages a, .navigate_section ul a.navPages, .navigate_section ul span.navPages, #unread .pages a {
        padding: 6px 11px;
    }
    .sb_shout {
        padding: 10px !important;
        font-size: 15px;
        max-height: unset;
    }
    #nchat_editor div:nth-child(1) {
        margin-bottom: 12px;
        font-size: 0px;
    }
    #nchat_editor div a {
        padding: 10px 15px;
        font-size: 13px;
        display: inline-block;
        background-color: rgba(0,0,0,0.3);
    }
    #nchat_input {
        width: calc(100% - 150px) !important;
        font-size: 15px;
        height: 40px;
        
    }
    #nchat_editor input:nth-child(2) {
        font-size: 15px;
        height: 40px;
        width: 100px;
    }
    .sb_shout .nick {
        margin-right: 100%;
        width: 100%;
        display: block;
    }
    .no_mobile {
        display: none;
    }
    #upshrinkHeaderIC .mobile_only.online_number {
        display: block;
        padding: 10px;
        font-weight: bold;
        font-size: 20px;
        line-height: 1.7em;
        text-align: center;
    }
    #upshrinkHeaderIC p.online_list {
        border-top: none;
        font-size: 0px;
    }
    #upshrinkHeaderIC p.online_list a {
        font-size: 15px;
        padding: 10px;
        margin: 3px;
        background-color: rgba(0,0,0,0.15);
        display: inline-block;
    }
    #upshrinkHeaderIC div.title_barIC h4.titlebg span {
        display: block;
        width: 100%;
        text-align: center;
    }
    #upshrinkHeaderIC div.title_barIC h4.titlebg span a {
        display: block;
    }
    .boardindex_stats_category, .boardindex_stats_category:nth-child(2n-1) {
        width: 100%;
        margin-right: 0px;
    }
    #users_stats {
        display: unset;
        width: 100%;
    }
    #users_and_general_stats {
        display: none;
    }
    .title_text {
        max-width: unset;
        width: 100%;
        text-align: center;
    }
}

@media screen and (max-width: 700px) {
    .welcome_text{
        width: 100%;
    }
    #welcome_banner {
        flex-direction: column-reverse;
    }
    body, td, th, tr {
        color: #DDD;
    }
    .wrapper {
        width: 100%;
    }
    .info_icon {
        display: none;
    }
    .topic_table td.lastpost, .table_grid th:nth-child(3), .table_grid td.moderation, .table_grid th.last_th {
        display: none;
    }
}

@media screen and (min-width: 1001px) {
    .wrapper {
        min-width: 850px;
    }

    .two_columns .info_childboards {
        display: flex;
        flex-wrap: wrap;
    }
    .two_columns .info_childboards strong, .two_columns .info_childboards hr {
        display: none;
    }
    .two_columns .info_childboards p.child_link {
        display: inline-block;
        width: auto;
        margin: 2px;
    }
    .two_columns .info_childboards a {
        display: unset;
        padding: 0px 4px;
        line-height: 1.8em;
        width: auto;
    }
    /*
    #main_body, footer {
        background-color: transparent;
    }
    body {
        background-image: url("http://avallach.ovh/tm7/images/banknote-bg.png");
        background-attachment: fixed;
    }
    */
}
@media screen and (max-width: 1500px) {
    .topic_stats{
        display: none;
    }
}

@media screen and (min-width: 1500px) {
    .information_2 .display_title .title_icons.floatright {
        display: none;
    }
}