.prz-logo {
	display: block;
}


/* 1024px */
@media screen and (max-width: 1024px) {
#shortcuts .block-content{
	width: inherit;
	margin-bottom: inherit;
}

.module-content img {
    max-width: none;
}
}

/* 1023px */
@media screen and (max-width: 1023px) {
	.homepage .news-item:nth-child(3), .homepage .news-item:nth-child(4), .homepage .news-item:nth-child(5){
		display: block;
	}
	
	#module-newscategory-content .for-margin .news-item:nth-child(3n-1), #module-newscategory-content .for-margin.archiv-news .news-item:nth-child(3n+4), .homepage .block-newscategory .news-item:nth-child(3n), .homepage .block-news .news-item:nth-child(3n), .for-margin .news-item:nth-child(3n - 1) {
		margin-left: 0;
	}
	
#module-news-content .news-item.list_no_photo .date-block, .block-news .news-item.list_no_photo .date-block, #module-newscategory-content .news-item.list_no_photo .date-block, .block-newscategory .news-item.list_no_photo .date-block {
		margin-top: 0;
		width: auto;
		float: left;
	}
	
	.block-newscategory .news-item.list_no_photo.no_category h4, .block-newscategory .news-item.list_no_photo.no_category h3, .block-news .news-item.list_no_photo h4, .block-news .news-item.list_no_photo h3, #module-news-content .news-item.list_no_photo h4, #module-news-content .news-item.list_no_photo h3, #module-newscategory-content .news-item.list_no_photo.no_category h4, #module-newscategory-content .news-item.list_no_photo.no_category h3 {
		width: calc(100% - 81px);
		margin: 2px 0 5px 15px;
		float: left;
	}
	
	#module-newscategory-content .news-item .text, .homepage .block-newscategory .news-item .text, #module-news-content .news-item .text, .homepage .block-news .news-item .text {
		width: calc(100% - 81px);
		margin-left: 15px;
	}
	
	.news-item .category-name {
		float: left;
	}
	
	.homepage .block-newscategory div.news-line-pattern, .homepage .block-news div.news-line-pattern {
		display: none;
	}
	
	.homepage .news-item:nth-child(3),
    .homepage .news-item:nth-child(4),
    .homepage .news-item:nth-child(5){
        display: block;
    }
    .news-item:nth-child(4),
    .news-item:nth-child(3){
        display: block;
    }
}

/* 800px */
@media screen and (max-width: 800px) {
	.cfis .cfis-box {
		float: none;
		display: block;
		width: 100%;
		padding: 20px 0;
		margin: 20px auto; 
	}
	
	.container .left-side .menu, .container .left-side .headline, .container div.left-side .block-content, .safari .container .left-side, .container .left-side .nav-list {
    max-width: 360px;
}
}

/* 640px */

@media screen and (max-width: 640px) {
	
	.container .right-side .news-item .text {
		display: none;
	}
	
	.container .left-side {
		display: table-footer-group;
		float: none !important;
	}
	
	.container .right-side {
		padding-left: 0;
		display: table-header-group;
		float: none !important;
	}
	
	.container .right-side .text {
		display: block;
	}
	
	div#footer div.home div.container div#shortcuts div.block-content.block-description ul {
		width: 50%;
		float: left;
	}

	#both .block-footer p, #both .block-footer p:nth-child(4) {
		width: calc(100% - 23px);
		margin-bottom: 0px;
	}

	/*#both .block-footer p:nth-child(3), #both .block-footer p:nth-child(4) {
		width: calc(50% - 23px);
	}*/
	
	#both .block-footer p:nth-child(3), #both .block-footer p:nth-child(4) {
		width: 100%;/*width: calc(50% - 23px);*/
		padding-left: 23px;
	}
	
	#footer .block-footer .biphref, #footer .block-footer .migam {
		float: none;
	}
	
	#header #first .wcag_controls {
		display: none;
	}
	
	.news-item a.photo {
		background: transparent;
	}
	
	.block-content.block-news div:nth-child(1n+4) {
		display: none;
	}
	
	#module-newscategory-content .for-margin .news-item:nth-child(3n-1), #module-newscategory-content .for-margin.archiv-news .news-item:nth-child(3n+4), .homepage .block-newscategory .news-item:nth-child(3n), .homepage .block-news .news-item:nth-child(3n){
    margin-left: 0;
	}
	
	.news-item .date-block {
		float: left;
	}
	
	.block-newscategory .news-item .date-block , #module-newscategory-content .news-item .date-block{
		margin-top: 0;
		float: left;
	}
	
	#module-newscategory-content .news-item h3, .homepage .block-newscategory .news-item h4{
		margin: 0;
	}
	
	#module-newscategory-content .for-margin .news-item:first-child, #module-news-content .for-margin .news-item:first-child, #module-newscategory-content .for-margin .news-item:nth-child(-n+2), #module-news-content .for-margin .news-item:nth-child(-n+2) {
		margin-top: 0;
	}
	
	.block-news .news-item .date-block, #module-news-content .news-item .date-block, #module-news-content .for-margin .news-item:first-child .date-block {
		margin-top: 0;
	}
	
	.news-item h4, .news-item h3, #module-news-content .for-margin .news-item:first-child h4, #module-newscategory-content .for-margin .news-item:first-child h4 {
		margin: 0;
		align-items: start;
	}
	
	#module-newscategory-content .news-item, #module-news-content .news-item, .homepage .block-newscategory .news-item, .homepage .block-news .news-item {
		margin-top: 0;
		margin-bottom: 15px;
	}
	
	.homepage .news-item h4, .block-news .news-item.list_no_photo h4, #module-news-content .news-item.list_no_photo h3 {
		width: calc(100% - 78px);
		padding-left: 12px;
		margin: 0;
	}
	
	.homepage .news-item h4 a, #module-news-content .news-item.list_no_photo h3 a {
		position: absolute;
		top: 50%;
		transform: translate(0,-50%);
		width: auto;
		margin: 0;
	}
	
	#header #secound #logo img{
        width: 80%;
    }
	
	.baner-label, .baner-label-bold {
		position: absolute;
		left: -10000px;
		top: auto;
		width: 1px;
		height: 1px;
		overflow: hidden;
	}
}

/* 560px */
@media (max-width: 560px){
#footer .socials-icons {
    margin-bottom: 0px;
}
}

/* 480px */
@media screen and (max-width: 480px) {

	div#footer div.home div.container div#shortcuts div.block-content.block-description ul {
		width: 100%;
		float: none;
	}

	.prz-logo {
		border: 0 none;
		padding-left: 0;
	}
	
	#header #first .panel #user-ico {
		/*background-image: url("/themes/prz/images/user_ico.png");
		background-position: 10px center;*/
		overflow: hidden;
		padding-left: 40px;
		padding-right: 0;
		width: 40px;
		
		background: transparent;
		width: 18px;
		padding: 0 16px;
		box-sizing: unset;
	}
	
	#header #first .panel #user-ico i.fa-user{
		margin: 0;
	}
	
	#header #first .panel #user-ico:hover, #header #first .panel #user-ico.active {
		/*background-image: url("/themes/prz/images/user_ico.png");*/
		
		background: transparent;
	}
	
	#header #first .panel #search-ico {
		/*background-image: url("/themes/prz/images/search_ico.png");
		background-position: 10px center;*/
		overflow: hidden;
		padding-left: 40px;
		padding-right: 0;
		width: 0;
		
		width: 18px;
		padding: 0 16px;
		background: transparent;
		box-sizing: unset;
	}
	
	#header #first .panel #admin-area, #header #first .panel #lang-ico {
		overflow: hidden;
		min-width: 18px;
		width: 18px;
		padding: 0 16px;
		box-sizing: unset;
	}
	
	#header #first .panel #admin-area i {
		margin: 0;
	}
	
	#header #first .panel #search-ico:hover, #header #first .panel #search-ico.active {
		/*background-image: url("/themes/prz/images/search_ico.png");*/
		
		background: transparent;
	}
	

	
	.news-item a.photo {
		display: none;
	}
	
	.news-item .category-name {
		display: none;
	}
	
	.block-news .news-item .date-block {
		margin-top: 0;
		float: left;
	}
	
	.homepage .block-newscategory div.news-line-pattern, .homepage .block-news div.news-line-pattern {
		display: none;
	}
	
	.scale .field.text {
		overflow-x: visible;
	}
	
	#available-projects-top .search-area {
		margin-top: 0;
	}
	
	.alph p.alph_menu a {
		font-size: 14px;
		margin: 0 2px;
	}
	
	/*#module-news-content .for-margin .news-item:first-child .date-block {
		margin-top: -5px;
	}
	
	#module-news-content .for-margin .news-item:first-child h4 {
		margin-bottom: 25px;
	}*/
	
	#module-newscategory-content .for-margin div.news-line-pattern, #module-news-content .for-margin div.news-line-pattern {
		border-bottom: 0 none;
	}
	
	.homepage .block-newscategory .news-item, .homepage .block-news .news-item {
		margin-top: 0;
		margin-bottom: 10px;
	}
	
	/*#module-newscategory-content .for-margin .news-item:first-child, #module-news-content .for-margin .news-item:first-child, #module-newscategory-content .for-margin .news-item:nth-child(-n+2), #module-news-content .for-margin .news-item:nth-child(-n+2) {
		margin-top: 35px;
	}
	
	
	
	#module-news-content .for-margin .news-item:first-child .date-block {
		margin-top: -46px;
	}*/
	
	.cfis .cfis-box {
		font-size: 20px;
	}
	
	.scale .text {
		overflow-x: visible;
	}
}

/* 360px */
@media screen and (max-width: 360px) 
{
	#module-searchadvanced-content .count_result {
		display: none;
	}
	
	#module-searchadvanced-content li.page_title h4 {
		width: auto;
	}
}

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

/* motyw graficzny */
#header .row .home .container {
	background-position: 378px center !important;
}