html {
	box-sizing: border-box;
	overflow-x: hidden;
}

*, *::after, *::before {
	box-sizing: inherit;
}

.container {
	margin-left: auto;
	margin-right: auto;
	width: auto;
}

.container::after {
	clear: both;
	content: "";
	display: block;
}


/************************* STUFF *************************/

.submitted {
	font-size: 0.9em;
	max-width: 1280px;
	margin-left: auto;
	margin-right: auto;
	text-align: left;
	width: auto;
}

.tabs.primary {
	text-align: center;
}

.maintenance-page {
	background: none;
	margin: 2em;
	text-align: center;
}

.maintenance-page a {
	color: #444;
}

.maintenance-page img {
	width: 50px;
}

.maintenance-page h1 {
	color: #444;
}

#block-mapa {
	clear: both;
	width: 100%;
}

/************************* KOMUNIKAT DLA ZALOGOWANYCH *************************/

#kdzcontent {
	background: #fff;
	border: 4px solid #e00000;
	/* border-radius: 2px; */
	color: #222;
	display: block;
	max-width: 1280px;
	margin: 1em auto 1em auto;
	padding: 14px;
}

#kdzcontent h2 {
	color: #e00000;
	text-shadow: none;
	font-size: 30px;
	color: #b93838;
}

#kdzcontent h3 {
	color: #e00000;
}

#kdzcontent a {
	color: #e00000;
	font-weight: 700;
}


/************************* COOKIES *************************/

.eu-cookie-compliance-message {
	display: inline;
	float: none;
}

.eu-cookie-compliance-message p {
	font-size: 0.9em;
	font-weight: normal;
	color: #222;
}

.eu-cookie-compliance-buttons {
	display: inline;
	float: none;
}

#sliding-popup {
	background: none;
	background-color: rgb(225, 225, 225, 0.9);
}

#popup-buttons button,
#popup-text button {
	letter-spacing: 0px;
	background: #fff;
	color: #444;
	font-weight: normal;
	font-size: 0.8em;
	padding: 5px;
	vertical-align: top;
	text-decoration: none;
}

#popup-buttons button:hover,
#popup-text button:hover {
	 background: #f0f0f0;
}

/************************* HEADER *************************/

#header {
	overflow: hidden;
	overflow-x: hidden;
}

#header-region {
	position: relative;
	max-width: 1280px;
    margin: 10px auto;
}

.region-header {
	display: flex;
  	justify-content: space-between;
  	align-items: center;
	padding: 0 20px;
}

.layout-containter {
	overflow-x: hidden;
}

#block-brand {
	text-align: left;
}

#site-branding {
	position: relative;
	vertical-align: middle;
	z-index: 2;
	text-align:left;
	background: #fff;
}

#block-basic-headeraddon {
	text-align: right;
	/* margin: 0 10px; */
}

#head-addon-first, #head-addon-second {
	display: inline-block;
	vertical-align: middle;
}

#head-addon-first img {
	height: 130px;
	width: auto;
	margin-right: 16px;
}

#head-addon-second img {
	height: 100px;
	width: auto;
	margin-right: 16px;
}

#site-godlo, #site-herb {
	display: inline-block;
	vertical-align: middle;
}

#site-godlo img {
	height: 90px;
	width: auto;
	margin-right: 16px;
}

#site-herb img {
	height: 100px;
	width: auto;
	margin-right: 16px;
}

#site-name {
	display: inline-block;
	vertical-align: middle;
	padding: 0.2em 0;
	font-size: 1.7em;
	word-spacing: 6px;
	letter-spacing: -1px;
	line-height: 1.2em;
	color: #333;
	text-transform: uppercase;
}

/************************* NAVIGATION *************************/

#superfish-main {
    max-width: 1280px;    
    margin: 0 auto;
    background-color: #3076B5;
    display: flex;
 	flex-wrap: wrap;
    align-items: stretch;
	border-left: 4px solid #fff;
}

#block-basic-glownanawigacja {
    background-color: #3076B5;
}

#block-basic-glownanawigacja a {
    color: #fff;
}

#block-basic-glownanawigacja a:hover {
    background-color: #a52828;
    color: #fff;
}

#superfish-main li {
    background-color: #b93838;
    color: #fff;
}

#superfish-main li.sf-depth-1 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-right: 4px solid #fff;
    border-bottom: 4px solid #fff;
	flex: 0 0 calc(100% / 7)
}

#superfish-main li.sf-depth-1:last-child {
    border-right: 4px solid #fff;
}

#superfish-main li.sf-depth-2, #superfish-main li.sf-depth-3, #superfish-main li.sf-depth-4 {
    border-left: 4px solid #fff;
    border-right: 4px solid #fff;
    border-top: 4px solid #fff;
}

#superfish-main li.sf-depth-2:last-child, #superfish-main li.sf-depth-3:last-child, #superfish-main li.sf-depth-4:last-child {
    border-bottom: 4px solid #fff;
}

#superfish-main li:hover {
    background-color: #b93838;
    color: #fff;
}

#superfish-main a.sf-depth-1,
#superfish-main span.sf-depth-1 {
    display: flex;
	width: 150px;
	/* width: min-content; */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    text-align: center;
    padding: 0.7em 1.3em !important;
}

/* ul.sf-menu a, ul.sf-menu span.nolink {
    padding: 0.7em 1.3em !important;
} */

#superfish-main svg {
    margin-bottom: 0.3em;
    font-size: 40px;
    color: #fff;
    display: block;
}

#superfish-main li:hover svg {
    color: #fff;
}

#superfish-main span.link-text {
    font-size: 14px;
    text-transform: uppercase;
    color: #fff;
}

ul.sf-menu li.sf-depth-1:hover > ul,
ul.sf-menu li.sf-depth-1.sfHover > ul {
  /*top: 6.1em !important;*/
}

ul.sf-menu li.sf-depth-2 {
  left: 26px !important;
}

ul.sf-menu .sf-with-ul,
ul.sf-menu span.nolink {
    padding-right: 1.5em;
}

ul.sf-menu .sf-sub-indicator {
    font-size: 0.6em;
}

ul.sf-menu span {
    color: #fff;
}

.sf-accordion-toggle {
    padding: 0.6em 0.8em;
    font-size: 1.1em;
    background: #b93838;
    text-align: center;
}

.sf-accordion-toggle a {
    color: #fff;
}

.sf-accordion {
    background: #b93838;
}


/************************* CONTENT *************************/

.region-content > div:first-of-type {
	background-color: #ffffff;
}

.content {
	max-width: 1280px;
	margin-left: auto;
	margin-right: auto;
	width: auto;
}

#content-area {
	padding-bottom: 30px;
	background: #f0f0f0;
}

#block-basic-content > article {
	overflow: auto;
	background: #fff;
	padding: 2em 1em;
}

#block-basic-content .image-featured {
	margin-right: 1.5em;
    margin-bottom: 1em;
    float: left;
}

#block-basic-content .section-body {

}


#block-basic-content .section-files {

}


#block-basic-content ol, #block-basic-content ul {
	overflow: hidden;
}

#block-basic-content p a, #block-basic-content article a, #block-basic-content span.file a {
	color: #1579B7;
	text-decoration: underline;
	transition: color 50ms ease;
}

#block-basic-content p a:hover, #block-basic-content article a:hover,#block-basic-content span.file a:hover {
	color: #333;
}

h1.page-title  span {
	display: block;
	max-width: 1150px;
	margin-left: auto;
	margin-right: auto;
	text-align: center !important;
}

#block-basic-local-tasks {
	width: 100%;
	margin-top: 0.8em;
}

#infobox {
	color: #fff;
	display: block;
	max-width: 1280px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1em;
}

#infobox a {
	color: #fff !important;
	font-weight: 700;
	text-decoration: underline;
}

#infobox a:hover {
	color: #444 !important;
}

.site-custom {
	background: #fff;
	/* border-radius: 14px; */
}

.site-custom .item-list {
	max-width: 1280px;
	margin-left: auto;
	margin-right: auto;
	width: auto;
	padding: 1em;
}

.article__obrazki, .page__obrazki	{
	clear: both;
}



/************************* SLAJDY *************************/

.slides-block {
	display:grid;
	max-width: 1280px;
	margin-left: auto;
	margin-right: auto;
	/* margin-top: 2em;
	margin-bottom: 2em;*/
} 




/* .slides-image {
	--s: 10px;
    padding: var(--s);
    border: calc(3 * var(--s)) solid #9d9d9d47;
    outline: 1px solid #dadada;
    outline-offset: calc(-1 * var(--s));
    background: conic-gradient(from 90deg at 1px 1px, #0000 25%, #cbcbcb 0);
} */

/* .slides-image {
    --s: 10px;
    padding: var(--s);
    border: calc(3 * var(--s)) solid #ffffff;
    outline: 1px solid #ebebeb;
    outline-offset: calc(-1 * var(--s));
    background: conic-gradient(from 90deg at 1px 1px, #fffbfb00 25%, #efefef 0);
} */


.slides-image {
    --s: 10px;
    /* padding: var(--s); */
    /* border: calc(3 * var(--s)) solid #ffffff; */
    /* outline: 1px solid #f9f2f2;
    outline-offset: calc(-1 * var(--s));
    background: conic-gradient(from 90deg at 1px 1px, #fffbfb00 25%, #efefef 0); */
}


/************************* WPISY *************************/

#block-block-news {
	background-color: #F0F0F0;
}

.wpis-block .view-content, .wpis-page .view-content {
	max-width: 1280px;
	margin-left: auto;
	margin-right: auto;
	padding: 10px;
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
	box-sizing: border-box;
	justify-content: center;
}

.wpis-block, .wpis-page {
	/* text-align: center; */
}

.wpis-row {
	background-color: #fff;
	box-sizing: border-box;
	flex: 0 0 calc(50% - 20px);
	max-width: calc(50% - 20px);
	min-width: 360px;
}

.wpis-image {
	display: flex;
	float: left;
	max-width: 280px;
	border-radius: 3px;
}

.wpis-date-news {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8em;
    font-weight: 700;
    width: 80px;
    aspect-ratio: 1 / 1;
    box-sizing: border-box;
    text-transform: lowercase;
    line-height: 1;
}


.wpis-date-news time {
    font-family: 'Changa', 'Open Sans', 'Helvetica Neue', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.5em;
    background: rgb(255 255 255 / 84%);
    color: #494949;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    text-align: center;
}

.wpis-date {
	display: flex;
	margin: 0;
	font-size: 0.8em;
	float: inline-end;
}

.wpis-date time {
	font-family: 'Changa', 'Open Sans', 'Helvetica Neue', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.5em;
	background: #555;
    color: #fff;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    text-align: center;
}


.wpis-title {
	/* font-family: 'Changa', 'Open Sans', 'Helvetica Neue', sans-serif; */
	display: flex;
	padding: 10px;
	margin: 0;
	text-align: left;
}

h3.wpis-title {
	font-size: 1.2em;
	font-weight: 400;
	line-height: 1.2;
	background: #3076b5;
    color: #fff;
}

.wpis-body {
	display: flow-root;
	padding: 10px;
	margin: 0;
	clear: inline-end;
	line-height: 1.3;
}

.wpis-body p {
	margin: 0;
	line-height: 1.3;
}

.wpis-more {
	display: flex;
	padding: 0 10px 10px 10px;
	margin: 0;
}

/* .wpis-more {
	text-align: left;
} */

.more-link {
  text-align: center;
}

.wpis-more a {
	display: inline-block;
	/* margin: 0 14px 14px 14px;  */
	padding: 0.2em 0.5em;
	background: #b93838;
	font-size: 0.8em;
	color: #fff !important;
	text-decoration: none !important;
	font-weight: 400 !important;
	text-transform: uppercase;
	letter-spacing: 1px;
	/* border-radius: 4px; */
	moz-transition: background .2s ease-in-out;
	-o-transition: background .2s ease-in-out;
	-webkit-transition: background .2s ease-in-out;
	transition: background .2s ease-in-out;
}

.wpis-more a:hover {
	background-color: #444;
	moz-transition: background .2s ease-in-out;
	-o-transition: background .2s ease-in-out;
	-webkit-transition: background .2s ease-in-out;
	transition: background .2s ease-in-out;
}

.wpis-block .more-link a, .wpis-page .more-link a {
	display: inline-block;
	letter-spacing: 1px;
	background: #b93838;
	color: #fff;
	padding: 8px 10px;
	margin: 30px;
	text-transform: uppercase;	
	text-decoration: none !important;
	moz-transition: background .2s ease-in-out;
	-o-transition: background .2s ease-in-out;
	-webkit-transition: background .2s ease-in-out;
	transition: background .2s ease-in-out;
}

.wpis-block .more-link a:hover, .wpis-page .more-link a:hover {
	background: #444;
	color: #fff;
	text-transform: uppercase;	
}


@media screen and (min-width: 680px) and (max-width: 1190px) {
  .wpis-row {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .wpis-image {
	max-width: 360px;
	}

}

@media screen and (min-width: 240px) and (max-width: 679px) {
  .wpis-row {
    flex: none;
  }
  .wpis-image {
	max-width: 360px;
	}

	#block-basic-content .image-featured {
    margin-right: 0;
	}
}

/*************************/

.promo-block .view-content, .promo-page .view-content {
	max-width: 1280px;
	margin-left: auto;
	margin-right: auto;
	padding: 20px 0;
	/* display: flex;
	flex-wrap: wrap;
	gap: 30px; */
	/* box-sizing: border-box; */
	justify-content: center;
	max-width: 240px;
}

.promo-block, .promo-page {
	background: #fff;
	text-align: center;
	margin-bottom: -26px;
}

.promo-row {
	background-color: #fff;
	/* box-sizing: border-box; */
	/* flex: 0 0 calc(50% - 20px); */
	/* max-width: calc(50% - 20px); */
	/* min-width: 320px; */
	/* max-height: 320px; */
}

.promo-image {
	/* display: flex; */
	/* float: left; */
	max-width: 180px;
	justify-content: center;
}


.promo-title {
	/* display: flex;
	padding: 10px; */
	margin: 0;
	/* text-align: left; */

}

h3.promo-title {
	font-size: 1em;
	font-weight: 700;
	line-height: 1.2;
	/* background: #b93838;
    color: #fff; */
}


@media (min-width: 680px) and (max-width: 1360px) {
	.promo-row {
		/* flex: 0 0 100%; */
		max-width: 100%;
	}
}


/************************* SEARCH RESULT *************************/

.search-form + h3 {
	background: #fff;
	width: 1280px;
	margin-right: auto;
	margin-left: auto;
	padding: 8px;
}

.search-form ~ ol {
	background: #fff;
	max-width: 1280px;
	margin-left: auto;
	margin-right: auto;
	padding-top: 1em;
	padding-bottom: 1em;
}

.search-form ~ li {
	max-width: 1280px;
	margin-left: auto;
	margin-right: auto;
	background: #fff;
}

.search-info {
display: none;
}

/************************* PAGER *************************/

ul.pager__items {
	text-align: center;
}

ul.pager__items > li {
	text-transform: uppercase;	
	letter-spacing: 1px;
	color: #fff;
	margin: 0 4px;	
}

.pager__items a {
	padding: 3px 10px;
	margin-bottom: 6px;
	color: #444;
	text-decoration: none !important;
	background: #fff;
	/* border-radius: 4px; */
}

.pager__items a:hover {
	background-color: #444;
	color: #fff;
	moz-transition: background-color .1s ease-in-out;
	-o-transition: background-color .1s ease-in-out;
	-webkit-transition: background-color .1s ease-in-out;
	transition: background-color .1s ease-in-out;
}

/************************* GALERIA *************************/

/* .article__obrazki > div, .article__obrazki > div > div,
.element-colorbox > div, .element-colorbox > div > div {
	display: inline-block;
	vertical-align: middle;
	border: 8px solid #f0c5c5;
	margin: 6px 3px;	
	padding: 4px;
} */


.image-gallery > div {
	display: inline-block;
	vertical-align: middle;
	/* border: 8px solid #f0c5c5; */
	margin: 14px 11px;
}


/* .article__obrazki img, .element-colorbox img {
}

.article__obrazki img:hover, .element-colorbox img:hover {
} */

/************************* FOOTER *************************/

#footer {
	clear: both;
	float: none;
	width: 100%;	
	text-align: center;
	padding: 1em 0;
	color: #444;
	/* border-top: 8px solid #c87f7f; */
}

#footer p {
	margin: 0;
}

#footer h2 {
	margin-bottom: 0.5em;
	padding: 0;
	border: none;
}

#kontakt-column {
	display: inline-block;
	vertical-align: top;
	margin: 0 10px;
	text-align: left;
}

#kontakt-column a {
	color: #444 !important;
}

#block-search {
	margin: 0 20px;
	display: inline-block;
	vertical-align: middle;
}

#block-search div {
        display: block;
}

input[type="submit"] {
	background-color: #b93838;
	color: #fff;
}

input[type="submit"]:hover {
	background-color: #444 !important;
}


#block-kontaktstopka {
	display: inline-block;
	vertical-align: middle;
	border-bottom: none;
}

#block-linkiwstopce {
	display: inline-block;
	vertical-align: top;
}

#block-basic-footer {
	display: inline-block;
	vertical-align: middle;
	margin: 0 20px;
}

#block-basic-footer li {
	list-style-type: none;
	margin: 8px 0;
}

#block-basic-footer a {
	padding: 6px 9px;
	font-size: 0.9em;
	background: #b93838;
	/* border-radius: 4px; */
	color: #fff;
	moz-transition: background: .2s ease-in-out;
	-o-transition: background: .2s ease-in-out;
	-webkit-transition: background: .2s ease-in-out;
	transition: background: .2s ease-in-out;
}

#block-basic-footer ul, #block-basic-footer li {
	padding: 2px;
}

#block-basic-footer a:hover {
	background: #444;
	color: #fff;
}

#block-cumkielce {
	display: inline-block;
	vertical-align: middle;
	margin: 0 20px;
	color: #444;
	font-size: 0.8em;
	text-transform: uppercase;
}

#block-cumkielce img {
	width: 120px;
	height: auto;
	padding: 0.4em;
	background: #fff;
	/* border-radius: 4px; */
}

#block-kontaktwstopce {
	display: inline-block;
	vertical-align: middle;
	margin: 0 20px;
	padding: 1em;
}

/************************* RESPONSIVE STYLES *************************/
@media screen and (min-width: 1024px) and (max-width: 1082px) {

	#superfish-main a.sf-depth-1,
	#superfish-main span.sf-depth-1 {
	width: 100px;
	}

}

@media screen and (min-width: 240px) and (max-width: 1023px) {


	#site-name {
		font-size: 26px;
	}
	
	.element-colorbox > div, .element-colorbox > div > div {
		display: block;
		text-align: center;
	}
	
	#block-cumkielce img {
		width: 90px;
	}
	
	#block-basic-glownanawigacja a:hover {
		color: #444;
	}
	#superfish-main-accordion svg:not(:host).svg-inline--fa, #superfish-main-accordion svg:not(:root).svg-inline--fa {
		margin-right: 6px;
	}

	#superfish-main-accordion ul {
		border: none !important;
	}
	
	ul.sf-menu.sf-accordion, ul.sf-menu.sf-accordion ul, ul.sf-menu.sf-accordion li {
		float: none;
	}

	#superfish-main-accordion {
    	padding-bottom: 20px;
	}

	ul.sf-menu li:hover > ul,
	ul.sf-menu li.sfHover > ul {
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
	border-bottom: 0;
	border-right: 0;
	}

	#superfish-main-accordion .sf-depth-1 > span {
		cursor: pointer;
	}

}

@media screen and (min-width: 240px) and (max-width: 800px) {
 	
	#header-region {
		text-align: center;
	}
	
	#block-animation .animation {
		height: 100px !important;
	}
	
	#site-name {
		font-size: 20px;
		word-spacing: 0px;
	}
	
	#block-animation {
		margin-top: 0;
	    margin-bottom: -23px;
	}
	
	#lottie-1QEVvIc {
		width: 150px !important;
	}


}

@media screen and (min-width: 640px) and (max-width: 1023px) {
	
	#site-godlo img {
		height: 50px;
	}
	
	#head-addon-first img {
		height: 100px;
	}

	#head-addon-second img {
		height: 80px;
	}
}

@media screen and (min-width: 240px) and (max-width: 639px) {
 		
	.wpis-date {
		clear: both;
	}

	#head-addon-first img {
		height: 80px;
	}

	#head-addon-second img {
		height: 60px;
	}

}

#header,
#footer,
.mission,
.breadcrumb,
.node {
	clear: both;
}