@media screen and (max-width: 1238px) {
	.cl.cl_stopka {
		display: block !important;
	}
	
	.footer_right {
		display: table-cell;
		width: 225px;
	}
	
	a.akceslab {
		margin:0px;
		float: right;
	}
	
	.icon_stopka {   
		margin-right: 0px;
		float:right;
	}
	
	.footer_left {
		display: table-cell;
		width: 100%;
	}
	
	#menus.docked {
		border-bottom: none;
	}
}


@media screen and (max-width: 1220px) {
	body[class*="module=galeria"][class*="action=show"] #table_2 tbody,
	body[class*="module=galeria"][class*="action=show"] #table_2 col,
	body[class*="module=galeria"][class*="action=show"] #table_2,
	body[class*="module=galeria"][class*="action=show"] #table_2 tr,
	body[class*="module=galeria"][class*="action=show"] #table_2 td,
	body[class*="module=galeria"][class*="action=show"] #table_2 td > div{
			display:block;
			width:auto;
	}
	
	body[class*="module=galeria"][class*="action=show"] #PAN_1 .zaj-wrapper {
		text-align: center;
	}
	
	
	body[class*="module=galeria"][class*="action=show"] #PAN_1 li.zaj-wrapper .zajawka {
		margin-bottom: 20px;
		margin-left: 0px;
		margin-right: 0px;
		width: 266px !important;
	}
	
	body[class*="module=galeria"][class*="action=show"] #PAN_2 #foto_box img {
		max-width: none;
		height: auto;
	}
	
	
	.zajawka .box-left {		
		max-width: 99.3%;
	}
	
	.filler {	
		height: 10px;
		width: 266px !important;
	}
	
	#PAN_FOOT .glowneMenu{
		width: 100%;
		float: none;
	}
	
	#PAN_FOOT > div{
		text-align: center;
	}
	
	#PAN_FOOT .glowneMenu .mainMenu .block {
		clear: both;
		padding-top: 0px;
		float: none;
		display: inline-block;
		margin: 2px 15px;
	}
	
	#PAN_FOOT .glowneMenu {
		padding: 0px;
		margin: 0px;
		background: transparent;
		min-height: 0px;
		float: left;
		width: 100%;
		border-left: none;
	}
	
	.article_top ul.actions {
		margin: 25px 0px 0px 0px;
	}
	
	.actions li.next, .actions li.prev, .actions li.pdf, .actions li.print, .actions li.back, .actions li.zglos, .actions li.trip{
		margin: 0px 9px 0px 0px;
		clear: none;		
	}
	
	.actions li.next, .actions li.prev, .actions li.pdf{
		padding: 3px 10px 8px 40px;
	}
	
	.bottom > .info a.historia_link {
		background: url(../PNG/ZMIANY.PNG) no-repeat 1px 5px;
	}

	#menus_stopka{
		margin: 20px 0px;
	}
	
	.topMenu_infobar.bez_barier {
		margin-top: 0px;
		margin-left: 0px;
	}
	
	div#menus {
		position: relative !important;
	}
	
	
	body[class*="module=info"] .zajawka .box-left img {
		max-width: 99% !important;
	}
	
	#table_2 {
		flex-grow: 1;
		display: table;
	}
	
	#PAN_2 img {
		max-width: 100%;
		height: auto;
	}
	
	/* menu */
	
	.topMenu_main, .mainMenu{
		display: inline-block !important;
	}
	
	.mainMenu .block{
		display:inline-block !important;
	}
	
	.cl.cl_wyszukiwarka_top{
		display:block !important;
	}
	
	
	
	/* lightbox mobile style */
		img#lightboxImage,   
		#outerImageContainer,
		#imageDataContainer,
		#overlay{
			width: 100% !important;
		}
		
		#lightbox{
			overflow: hidden;
		}
		
		div#outerImageContainer {
			height: auto !important;
		}
	
	
	/* end lightbox mobile style */
	
	.navigator {   
		margin: 05px 0px 20px 0px;
	}
	
	.navigator span:after {
		padding: 0 8px 0 8px;
	}
	
	.page_bar {
		margin: 10px 0px;
	}
	
	
	.kalendarzbox > .switcher > .zajawka > .box-left{
		width:100% !important;
	}
	
	
	.newsbox-container .zajawka a {
		float: none;
		display: block;
		text-align: center;
	}
	
	.newsbox-container .zajawka .box-right {
		padding: 19px 13px 21px 27px !important;
		color: #000;
		width: 100%;
	}
	
	.newsbox-container.nb-con > div{
		    height: 615px;
	}
	
	.newsbox-container.nb-con > div:first-child{
		max-width:0px !important;
	}
	
	
	body .newsbox-container .pager {
		display: block;
		position: absolute;
		right: 30px;
		top: 26px;
		left:auto;
	}
	
	
	.banerybox{
		text-align:center;
	}
	
	.banerybox img{
		margin:0px 2px;
	}
	
	.banerybox > div {
		float: none;
		margin-left: 0px;
		display: inline-block;
		text-align: center;
	}
	
	.banerybox > div:nth-child(4),
	.banerybox > div:nth-child(7),
	.banerybox > div:nth-child(10),
	.banerybox > div:first-child {
		float: none;
		margin-left: 0px;
		display: inline-block;
		text-align: center;
	}
	
	
	
	.topMenu_main, .mainMenu{
		text-align:center;
	}
		

	

	
	.cl.cl_menu{
		display:block !important;
	}
	
	#PAN_HEAD > div{
		text-align:center;
	}
	
	body .wyszukiwarka.component{
		float:none;
		display:inline-block;
		margin:20px auto;
	}
	
	
	
	body #naglowek_homepage .pager{
		display:none !important;
	}
	
	
	.translate-bar.component {
		float: right;
		margin: 13px -6px 10px 142px;
	}
	
	body .wyszukiwarka.component {
		margin: 13px 0px 20px 0px;
		clear: both;
	}
	
	
	body{
		background: none !important;
	}
	
	body .article_top ul.actions{
		width:100%;
	}
	
	.bottom > .actions{
		 margin-top: 20px;
	}
	
	.actions .next,
	.actions .prev,
	.actions .pdf,
	.actions .print,
	.actions .back,
	.actions .zglos,
	.actions .trip{
		    font-size: 120%;
			margin-bottom:15px !important;
	}
	
	.actions {
		margin: 15px 0px 0px 0px;
		padding: 0px;
	}
	
	
	.navigator {
		width: 98%;
	}

	
	body[class*="module=galeria"][class*="action=show"] #PAN_2 > div{
		width:100%;
	}
	

        
	#error404{
		width:100%;
		height:auto;
		background-size: 100% auto;
		min-height: auto;
	}
	
	#error404 img{
		width:100%;
		height:auto;
	}        
       
        
	.miejsce img {		
		width: 99%;
	}
       
	
	body[class*="module=galeria"][class*="action=show"] #foto_box tbody {
		display: table !important;
	}
	
	body[class*="module=galeria"][class*="action=show"] #foto_box tr {
		display: table-row !important;
	}
	
	body[class*="module=galeria"][class*="action=show"] #foto_box td {
		display: table-cell !important;
	}
	
	body[class*="module=galeria"][class*="action=show"] #PAN_1 > div {
		padding-left: 0px;
		padding-right: 0px;
	}
	
	body[class*="module=galeria"][class*="action=show"] #PAN_2 > div {
		padding-left: 0px;
		padding-right: 0px;
	}
	
	body[class*="module=galeria"][class*="action=show"] #bigPhoto .grafika img {
		max-width: 99%;
		height: auto !important;
	}
	

	
	body[class*="module=galeria"][class*="action=show"] #table_2 col:first-child,
	body[class*="module=galeria"][class*="action=show"] #PAN_3{
		display:none !important;
	}
	
	body[class*="module=galeria"][class*="action=show"] #bigPhoto .grafika {
		max-width: 100%;
	}
	
	
	body[class*="module=galeria"][class*="action=show"] #PAN_1 .miejsce-banerowe{
		text-align: center;
	}
	
	table.sekcja-paneli {
		width: 100%;
		table-layout: auto !important;
	}
	
	#bigPhoto{
		height:auto !important;
	}

	#page_content {
		overflow-x: hidden;
		padding: 0px 20px;	
	}	
	
	#PAN_1 > div {
		width: 265px;
		overflow: hidden;
	}
	

		
	.sub-block-menu{
		display:none !important;
	}
	
	#table_3,
	#table_3 tbody,
	#table_3 tr,
	#table_3 tr td{
		display:block;
	}
	
	#table_4,
	#table_4 tbody,
	#table_4 tr,
	#table_4 tr td{
		display:block;
	}
			
	
	#page_container {
		width: 100%;
	}	
         
	
        
	#table_1,
	#table_1 > tbody,
	#table_1 > tbody > tr,
	#table_1 > tbody > tr > td{
		display:block;
		width:100%;
	}
		

	body[class*="module=portal"] #table_2 col:first-child {
		width: auto !important;
	}
	
	.wyszukiwarka.component {
		margin: 13px 29px 0px 20px;
	}
	
	
	
	.topMenu_main, .mainMenu {
		width: 100%;
	}
	
	#infobar_static {
		margin: 130px auto 21px auto;
	}
	
	.concept-gallery .photo-box {
		padding-left: 0px !important;
	}
}



@media screen and (max-width:1212px) {
	
	#buttonsg_img div.icons div.sel,
	#buttonsg_img div.icons div:hover,
	#buttonsm_img div.icons div.sel,
	#buttonsm_img div.icons div:hover {
		outline: none;
		outline-offset: 0px;
	}
	
	#buttonsg_img div.icons div.sel img,
	#buttonsg_img div.icons div:hover img,
	#buttonsm_img div.icons div.sel img,
	#buttonsm_img div.icons div:hover img {
		outline: 4px solid red;
		outline-offset: -4px;
	}
	

	
	.wraper_nr_3 .tresc, .wraper_nr_3 .box-left {
		display: block !important;
	}
	
		
	.stopka_mapka {
		float: none;
	}
	
	.stopka_mapka .pole-banerowe a {
		display: inline;
	}
	
	.stopka_dane{
		float: none;
		display: inline-block;
		clear: both;
		margin: 31px auto auto;
	}
	
	#PAN_FOOT div.cl.cl_menu_glowne {
		display: block;
	}
	
	
	
}


@media screen and (max-width:1192px) {
	.newsbox-container.nb-con > div {
		height: 645px;
	}
	
}

@media screen and (max-width:1140px) {
	.zaj-list .stretch,
	.zaj-list:after,
	.zaj-wrapper:after {   
		display: none;
	}
	
	.zaj-wrapper {
		text-align: center;
	}
	
	li.zaj-wrapper .zajawka {
		margin-bottom: 20px;
		margin-left: 5px;
		margin-right: 5px;
		width: 266px !important;		
	}
	
	#PAN_1 li.zaj-wrapper .zajawka {
		margin-bottom: 20px;
		margin-left: 0px;
		margin-right: 0px;
		width: 266px !important;
	}
	
}

@media screen and (max-width:920px) {
	.zaj-wrapper {
		text-align: center;
	}
}

@media screen and (max-width:912px) {
	.ikonki_standardowe a {
		margin-left: 25px;
		margin-bottom: 10px;
	}
	
	#PAN_HEAD .topMenu_infobar{
		width: 260px;
	}
	
	.topMenu_infobar div.links div {
		float: right;
	}
	
	body .wyszukiwarka.component{
		clear: both;
	}
	
}




@media screen and (max-width:911px) {
	
	.zajawka .box-left img {
		max-width: 99% !important;
	}
	
	#PAN_1 .miejsce-banerowe{
		text-align: center;
	}
	

	#PAN_1,
	#PAN_2{
		display:block;
	}

	#PAN_2 > div {
		padding-left: 0px;
		padding-right: 0px;
	}
	
	body[class*="module=portal"] #PAN_2 > div {
		padding-left: 0px;
		padding-right: 0px;
	}
	
	#PAN_1 > div {
		padding-left: 0px;
		width: auto;
		padding-right: 0px;
	}
	
	.mainMenu.simplified .block {
		position: relative;
		margin-bottom: 5px;
	}
	
	.mainMenu .block a.menu-level-1{
		margin-right: 5px;
	}
	
	
	.promowane_strony_box .switcher > li[id] {
		width: auto;
	}
	
	.promowane_strony_box .zaj-list,
	.promowane_strony_box .zaj-wrapper {
		text-align: center;
	}
	
	.promowane_strony_box .switcher > li[id] {
		width: auto;
		text-align: center;
		display: inline-block;
		position: relative !important;
	}

}


@media screen and (max-width:854px) {
	.mainMenu .block {
		display: block;
		width: 100%;
	}
	
	.mainMenu .block a.menu-level-1 {
		margin-right: 0px;
	}
	
	#PAN_FOOT .mainMenu .block {	
		 width: auto;
	}
}

@media screen and (max-width:732px) {

	#PAN_HEAD > div > div.miejsce-banerowe.logo_w_naglowku_398x93 {
		margin: 13px 0px 13px 2px;
		float: none;
		text-align: center;
	}
	
	#PAN_HEAD .ikonki_standardowe.topMenu_infobar {
		margin: 0;
		width: 100%;
	}
	
	#PAN_HEAD .topMenu_infobar div.links div {
		float: none;
		display: inline-block;
		font-size: 140%;
	}
	
	#PAN_HEAD .topMenu_infobar.bez_barier {
		margin-top: 0px;
		margin-left: 0px;
		float: none;
		clear: right;
		text-align: center;
		margin: auto;
		padding-left: 40px;
		padding-top: 15px;
	}
	
	.bez_barier .accesible {
		float: left;
		margin-right: 0px;
		margin-top: 5px;
	}
}

@media screen and (max-width:700px) {
	
	.page_footer {
		width: 100%;
		display: block;
	}
	
	
	.footer_left {
		padding: 18px 0px;
		display: block;
		vertical-align: bottom;
		width: 100%;
	}
	
	.footer_right {
		padding-top: 20px;
		margin-bottom: 20px;
		letter-spacing: 1px;
		display: block;
		width: 100%;
		text-align: right;
	}
	
	#PAN_HEAD .topMenu_infobar.bez_barier {
		padding-left: 0px;
	}
	
	.footer_right {
		padding-top: 20px;
		margin-bottom: 20px;
		letter-spacing: 1px;
		display: inline-block;
		width: auto;
		text-align: right;
		float: none;
	}
	
	.footer_left {
		padding: 18px 0px;
		display: block;
		vertical-align: bottom;
		width: 100%;
	}
	
	.page_footer {
		width: 100%;
		display: block;
		text-align: center;
		margin: auto;
	}
	
}
	
	
@media screen and (max-width:638px) {
	.stopka_dane {
		float: none;
		display: inline-block;
		clear: both;
		margin: 31px auto 30px auto;
	}
	
	.stopka_dane .lewe_dane, .stopka_dane .prawe_dane {
		float: none;
		margin: 0px !important;
	}
	
	.mapka_w_stopce iframe{
		max-width:99%;
	}
	
	.box_valid {
		width: 95%;
	}

}	


@media screen and (max-width:560px) {
	.newsbox-container.nb-con > div {
		height: 610px;
	}
	
	#PAN_2 img {
		max-width: 95%;
		height: auto;
	}
	
	body[class*="module=zamowienia"][class*="action=dokumentArch"] article table.table_data th,
	body[class*="module=zamowienia"][class*="action=dokumentArch"] article table.table_data td,
	body[class*="module=zamowienia"][class*="action=dokument"] article table.table_data th,
	body[class*="module=zamowienia"][class*="action=dokument"] article table.table_data td,
	body[class*="module=dokumenty"][class*="action=dokument"] article table.table_data th,
	body[class*="module=dokumenty"][class*="action=dokument"] article table.table_data td{
		width:100%;
		display:block;
		padding: 5px 0px;
	}
	
	.zamowienia_szukaj_box table.table_common td {
		padding: 6px 6px 6px 6px;
		text-align: left;
		display: block;
		width: 95%;
	}
	
}


@media screen and (max-width:530px) {
	.newsbox-container.nb-con > div {
		height: 580px;
	}
	
	#PAN_FOOT .mainMenu .block {
		width: 100%;
		display: block;
	}
	
	#PAN_FOOT .glowneMenu .mainMenu .block {
		margin: 2px 0px;
	}
	
	.stopka_dane {
		margin: 31px auto 0px auto;
	}
	
	#menus_stopka {
		margin: 0px 0px;
	}
	
		
}


@media screen and (max-width:480px) {
	.pres_newsbox #news_tabs{
		clear: both;
		margin-top: 10px;
	}
	
	#kontakt_form div.new_form_row > div {
		display: block;
	}
	
	.rss_ul{
		top: 0px;
		right: 0px;
		position: absolute;
	}
	
	article > header {
		clear:both;
	}
	
	
	aside.left{
		width:100% !important;
		padding: 0px !important;
	}
	
	article .left a {
		margin: auto;
		text-align: center;
	}
	
	article .left .powiazane.pow_gal .zajawka{
		width:auto !important;
	}	
	
	article .left .powiazane.pow_gal .zaj-wrapper {
		text-align: center;
	}
	
	article .left .powiazane.pow_gal header h3{
		text-align: center;
		float: none;
		display: block;
	}
	
}


@media screen and (max-width:440px) {
	#search_query, #sz_query {
		min-width: 150px;
	}
	
	body .wyszukiwarka.component{
	    margin: 0px;
	}
	
	.newsbox-container.nb-con > div {
		height: 545px;
	}
	
	.search_all_content .zajawka .box-right .title{
		clear:both;
	}
	
	.page_bar td{
		display: inline-block;
		clear: both;
	}
	
	.page_bar td.num_pages{
		display: block;
	}
	
	.page_bar table{
		text-align:center;
	}	
	
}

@media screen and (max-width:415px) {
	.bottom .info span {
		clear: both;
		display: inline-block;
	}
	
	.bottom > .info {
		width: 100%;
		text-align: center;
		font-size: 95%;
	}
	
	.bottom > .info a.historia_link{
		display: inline-block;
		float: none;
	}
	
	.bottom span.last_pdate {
		background: none;
	}
	
	table.table_zmiany.table_dokumenty th:last-child,
	table.table_zmiany.table_dokumenty td:last-child{
		display:none;
	}
	
	table.table_common.doku_table th:last-child,
	table.table_common.doku_table td:last-child{
		display:none;
	}
	
	#doku_szuk #standalonesearcher_input table.table_data th, 
	#doku_szuk #standalonesearcher_input table.table_data td {
		padding: 5px 5px;
		font-size: 95%;
	}
	
	
}




@media screen and (max-width:375px) {
	#search_query, #sz_query {
		display: block;
		width: 218px;
		margin-bottom: 10px;
	}
	
	.wyszukiwarka.component input.button{
		float:none;
		width: 100%;
	}
	
	table.table_common.table_zamowienia th:last-child,
	table.table_common.table_zamowienia td:last-child{
		display:none;
	}
	
	
	span.stopka_sepo {
		display: none !important;
	}
	
	.footer_left span {
		display: block;
		margin: 0px;
		padding: 0px;
	}
	
	.footer_left p {
		margin: 3px 0px;
		font-size: 120%;
		line-height: 150%;
	}
	
	.author_stopka {
		float: right;
		font-family: PT SANS;
		font-weight: normal;
		font-size: 85%;
		margin-top: 16px;
		line-height: 175%;
		text-shadow: 0px 0px;
		color: #6d6e71;
		word-spacing: -2px;
		margin-bottom: 10px;
	}
	
	.topMenu_infobar div.links div.hidden > *:focus {
		top: -33px;
		left: 10%;
	}
	
	input.button {
		background-color: #3b63ab;
		border: none !important;
		color: #ffffff;
		padding: 14px 24px 14px 25px;
	}
	
	.srch_inp {
		clear: both;
		display: block;
	}
	
	body .wyszukiwarka.component {
		margin: 0px;
		width: 100%;
		background: transparent;
	}
	
	#search_query, #sz_query {
		display: block;
		width: auto;
		margin-bottom: 10px;
		padding: 0px 38px 0px 73px;
		border: 1PX SOLID;
		border-right-width: 2px;
		margin: 0px auto 10px auto;
	}
	
	#adv_form {
		float: left;
		width: 249px;
	}
	
	.article_top ul.actions li {
		clear: none;
	}
	
	#rollas{
		 left: 27px;
	}
	
	#search_query, #sz_query {
		background: white url(../PNG/SZUKAJ2.PNG) no-repeat 43px 2px;
	}
	
}


@media screen and (max-width: 365px) {
	#rollas {
		left: 22px;
	}
}



@media screen and (max-width:362px) {
	.powiazane header .zip_link {
		margin-left: 10px;
		word-spacing: 4px;
		clear: none;
		margin-top: 3px;
		font-size: 100%;
		float: right;
	}
	
	
	.bottom .actions li.next,
	.bottom .actions li.prev,
	.bottom .actions li.pdf,
	.bottom .actions li.print,
	.bottom .actions li.back,
	.bottom .actions li.zglos,
	.bottom .actions li.trip {
		margin: 10px 9px 0px 0px;		
		clear: none;
		display: inline-block;
		float: none;
	}
	
	.bottom .actions li.zglos{
		display:none !important;
	}
	
}

@media screen and (max-width: 355px) {
	#rollas {
		left: 17px;
	}	
	
}




@media screen and (max-width:345px) {
	.icon_stopka {
		float: right;
		margin-right: 0px;
		margin-top: 16px;
		clear: both;
		margin-bottom: 20px;
	}
	
	
	.newsbox-container.nb-con > div {
		height: 520px;
	}
	
	#rollas {
		left: 13px;
	}
}

@media screen and (max-width:338px) {
	#rollas {
		left: 8px;
	}
}

@media screen and (max-width:328px) {
	#rollas {
		left: 6px;
	}
}

@media screen and (max-width:330px) {
	.glowneMenu .mainMenu > li {
		float: none;
		display: inline-block !important;
		width: 100%;
	}
	
	
	
	.actions .next,
	.actions .prev,
	.actions .pdf,
	.actions .print,
	.actions .back,
	.actions .zglos,
	.actions .trip{
		  clear:both;
	}
	
	#bigPhoto {
		height: auto !important;
		background: none !important;
	}
	
	.banerybox img{
		margin:0px 0px;
	}

	
}

@media screen and (max-width: 310px){
	li.zaj-wrapper .zajawka {
		margin-bottom: 20px;
		margin-left: 5px;
		margin-right: 5px;
		width: 253px !important;
	}
	
	.wyszukiwarka.component #search_query,
	.wyszukiwarka.component	#sz_query {
		padding: 0px 9px 0px 76px;
	}
}

@media screen and (max-width:410px) {
	.firefox #PAN_HEAD .pole-banerowe img{
		float: left;
		max-width: 70%;
	}

}