.mygutenberg {display: none}

.scroll-animation {
	opacity: 0;
	position: relative;
}

.scroll-animation-toright {left: -100px}

.scroll-animation-toleft {left: 100px}

.scroll-animation-todown {top: -100px}

.scroll-animation-toup {top: 100px}

.scroll-position {position: relative}

.has-red-color {color: #780500}

.article-figure > div {
	display: flex;
	flex-wrap: wrap;
}

.article-figure > div article {
	width: 50%;
	box-sizing: border-box;
	padding-left: 100px;
	display: flex;
	align-items: center;
}

.article-figure > div figure {width: 50%}

.article-figure > div figure img {
	display: block;
	width: 100%;
	box-shadow: 5px 5px 25px rgba(0,0,0,0.2);
}

.article-figure.reverse > div {flex-direction: row-reverse}

.article-figure.reverse > div article {
	padding-left: 0;
	padding-right: 100px;
}

.cta > div {
    width: 100%;
    box-sizing: border-box;
    position: relative;
    background-color: #F8F8F8;
    background-size: cover;
    background-position: center;
    padding: 100px 50px;	
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.cta > div > figure {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.cta > div > figure span:first-of-type {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    width: calc(50% + 200px);
    height: 100%;
    background-size: cover;
    background-position: center;
}

.cta > div > figure span:last-of-type {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: calc(50% + 150px);
    height: 100%;
    background-size: cover;
    background-position: right bottom;
	background-repeat: no-repeat;
    background-image: url(../img/cover-bg.png);
}

.cta > div > article {
    position: relative;
    width: 100%;
	text-align: left;
}

.cta > div > article > div {
    position: relative;
    width: calc(50% - 150px);
}

.cta > div > article h2 {
    padding-left: 0;
	padding-right: 0;
	margin-left: 0;
}

#header {
	padding-top: 0;
	padding-bottom: 0;
	height: calc(var(--vh, 1vh) * 100 - 180px);
	overflow: visible;
}

#header > figure {
	width: 100%;
	height: calc(100% - 90px);
	display: flex;
    align-items: center;
	position: relative;
}

#header-figure {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	background-size: cover;
	background-position: center right;
}

#header > figure article {
	position: relative;
	width: 65%;
	padding: 100px 0;
	display: flex;
    align-items: center;
}

#header > figure article figure {
	display: block;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	background-image: url(../img/header-bg.png);
	background-position: right bottom;
	background-size: cover;
	background-repeat: no-repeat;
	opacity: 0.9;
}

#header > figure article > div {
	position: relative;
	width: 100%;
	box-sizing: border-box;
	padding: 0 250px 0 100px;
	text-align: left;
	color: white;
}

#header > figure article > div h2 {
	color: white;
	padding-left: 0;
}

#header figcaption {
	width: 100%;
	height: 90px;
	background: #E6E6E6;
	display: flex;
    align-items: center;
	box-sizing: border-box;
	padding: 0 50px;
}

#header figcaption ul {
	width: 100%;
	list-style: none;
	text-align: center;
}

#header figcaption li {
	position: relative;
	display: inline-block;
	padding-left: 50px;
	margin: 5px 25px;
	font-family: rock-salt-pro, sans-serif;
	font-size: 20px;
}

#header figcaption li img{
	display: block;
	width: 35px;
	position: absolute;
	top: -5px;
	left: 0;
}

#header-subpage {
	padding: 0;
	height: 300px;
	overflow: visible;
}

#header-subpage > figure {
	width: 100%;
	height: 100%;
}

#header-subpage-figure {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	background-size: cover;
	background-position: center right;
}

#header-subpage > figure article {
	position: relative;
	width: calc(50% + 150px);
	height: 100%;
	display: flex;
    align-items: center;
}

#header-subpage > figure article figure {
	display: block;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	background-image: url(../img/header-bg.png);
	background-position: right bottom;
	background-size: cover;
	opacity: 0.9;
}

#header-subpage > figure article div {
	position: relative;
	width: 100%;
	box-sizing: border-box;
	padding: 0 150px 17px 100px;
	text-align: left;
	color: white;
}

#header-subpage > figure article div h2 {
	color: white;
	margin-bottom: 0;
}

#scroll-down {
	position: absolute;
	display: table;
	z-index: 10;
	bottom: -50px;
	left: 75px;
	height: 110px;
	width: 30px;
	transition: color 0.25s;
}
#scroll-down:hover {color: #780500}

#scroll-down img {
	display: block;
	height: 110px;
}

#scroll-down span {
	font-weight: 700;
	width: 110px;
	transform: rotate(90deg);
	position: absolute;
	right: -50px;
	bottom: 48px;	
}

#home-icons {
	text-align: center;
	width: 100%;
}

#home-icons ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	max-width: 1340px;
	box-sizing: border-box;
	padding: 50px;
	position: relative;
	margin: 0 auto;
	list-style: none;
}

#home-icons  ul li {
	width: 12.5%;
	box-sizing: border-box;
	padding: 0 20px;
}

#home-icons ul li img {
	display: block;
	width: 100px;
	position: relative;
	margin: 0 auto 15px;
}

.cta ul {
	list-style: none;
	margin-top: 30px
}

.cta ul li {
	display: inline-block;
	height: 40px;
	margin-right: 20px;
}

.cta ul li a, .cta ul li a img {
	display: block;
	height: 100%;
	width: auto;
}

#home-przestrzen .wp-block-embed__wrapper {
    width: 100%;
    padding-top: 56.25%;
    position: relative;
}

#home-przestrzen .wp-block-embed__wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#home-news-wrap > div {
	width: 100%;
	box-sizing: border-box;
	padding: 75px 50px;
}

#home-news-wrap .link-arrow {
	margin-left: auto;
	margin-right: auto;
}

#partnerzy .wp-block-gallery {
	margin-top: 50px;
	gap: 0;
	justify-content: center;
}

#partnerzy .wp-block-gallery > figure {
	width: 25%;
	box-sizing: border-box;
	padding: 20px;
	margin: 0;	
}

#partnerzy .wp-block-gallery > figure img {
	display: block;
	width: 100%;	
}

#baner > div {
	padding: 100px 50px;
	width: 100%;
	box-sizing: border-box;
	background-position: center;
	background-size: cover;
}

#baner > div > div {
	font-size: 48px;
	line-height: 64px;
	font-weight: 600;
}

#home-kontakt > div {
	display: flex;
	flex-wrap: wrap;
}

#home-kontakt > div article {
	width: 40%;
	padding-right: 50px;
	box-sizing: border-box;
}

#home-kontakt > div figure {width: 60%}

#home-kontakt > div figure iframe {
	display: block;
	filter: grayscale(100%);
}

#wydarzenia, #youtube {
	display: flex;
	flex-wrap: wrap;
	max-width: 1550px;
}

#wydarzenia > div, #youtube > div {
	top: 0;
	width: 33.33%;
	box-sizing: border-box;
	padding: 0 25px;
	margin-bottom: 50px;
	display: block;
	display: flex;
	align-items: stretch;
}

#wydarzenia > div > div, #youtube > div > div {
	display: block;
	width: 100%;
	background: white;
	box-shadow: 5px 5px 15px rgba(0,0,0,0.1);
}

#wydarzenia > div > div > figure, #youtube > div > div figure {width: 100%}

#wydarzenia > div > div > figure img {
	display: block;
	width: 100%;
}

#youtube .wp-embed-aspect-16-9 {
	width: 100%;
	position: relative;
	margin: 0 auto;
}

#youtube .wp-block-embed__wrapper {
	width: 100%;
	padding-top: 56.25%;
	position: relative;
	margin: 0 auto;
}

#youtube .wp-block-embed__wrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

#wydarzenia > div > div > figcaption, #youtube > div > div figcaption {
    box-sizing: border-box;
    width: 100%;
    padding: 40px 40px 40px;
    text-align: center;
}

#wydarzenia > div > div > figcaption .link-arrow {display: none}

#wydarzenia > div > div > figcaption h3 {color: inherit}

#paginacja a {
	display: inline-block;
	margin: 0 25px;
}

#wpis-single {padding-top: 0}

#no-thumbnail {
	display: block;
	width: 100%;
	height: 100px;
}

#wpis-single-thumb {
	width: 100%;
	height: 600px;
	background-position: center;
	background-size: cover;
}

#wpis-single img {
	display: block;
	max-width: 100%;
}

#wpis-single h2 {padding-left: 0}

#wpis-single .wp-embed-aspect-16-9 {
    width: 650px;
    max-width: 100%;
    position: relative;
    margin: 0 auto;
}

#wpis-single .wp-block-embed__wrapper {
    width: 100%;
    padding-top: 56.25%;
    position: relative;
    margin: 0 auto;
}

#wpis-single .wp-block-embed__wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#wpis-single p {margin-bottom: 10px}

#wpis-single ul, .list-style {
    list-style: none;
    margin-bottom: 10px;
	text-align: left;
}

#wpis-single ul li, .list-style li {
    position: relative;
    padding-left: 15px;
}

#wpis-single ul li::before, .list-style li::before{
    content: "";
    display: block;
    width: 5px;
    height: 5px;
    background: #780500;
    position: absolute;
    top: 10px;
    left: 0;
}

#wpis-single ol {
  list-style: none;
  counter-reset: list-number;
}

#wpis-single ol li {
  counter-increment: list-number;
}

#wpis-single ol li::before {
  content: counter(list-number) ". ";
  color: #780500;
  font-weight: 600;
}

#error404 .link-arrow {
	margin-left: auto;
	margin-right: auto;
}


/*GRID: 1440px */
@media all and (max-width: 1440px) {

.cta > div > article > div {width: calc(50% - 100px)}

#header-subpage > figure article div {padding: 0 150px 17px 50px}

#wydarzenia, #youtube  {
	width: calc(100% + 30px);
	left: -15px;
}

#wydarzenia > div, #youtube > div {
	padding: 0 15px;
	margin-bottom: 30px;
}

#wydarzenia > div > div > figcaption, #youtube > div > div figcaption {padding: 30px 20px 40px}	
}



/*GRID: 1280px */
@media all and (max-width: 1280px) {
	
.article-figure > div article {padding-left: 75px}	
	
.article-figure.reverse > div article { padding-right: 75px}	

.cta > div > article > div {width: calc(50% - 50px)}
	
#header {height: calc(var(--vh, 1vh) * 100 - 160px)}

#header > figure {height: calc(100% - 80px)}	

#header > figure article {
    width: 75%;
    padding: 75px 0;
}

#header figcaption {height: 80px}

#header figcaption li {
    padding-left: 40px;
    margin: 5px 20px;
    font-size: 18px;
}

#header figcaption li img {
    width: 30px;
    top: -3px;
}

#header-subpage {height: 250px}

#header-subpage > figure article div {padding: 0 150px 13px 50px}

#home-icons ul {padding: 50px 50px 30px}

#home-icons ul li {
	width: 20%;
	margin-bottom: 20px;
}

#home-icons ul li img {margin: 0 auto 10px}

.cta ul li {height: 34px}

#baner > div > div  {
    font-size: 42px;
    line-height: 56px;
}

#wpis-single-thumb {height: 500px}

}



/*GRID: 1024px */
@media all and (max-width: 1024px) {
	
.scroll-animation {
	left: 0 !important;
	top: 0 !important;
}	
	
.article-figure > div figure {
    width: 100%;
    max-width: 600px;
    position: relative;
    margin: 0 auto 75px;
}

.article-figure > div article {
	width: 100%;
    padding: 0 !important;
}	

.cta > div {
	padding: 0;
	background-color: #780500;
}

.cta > div > figure {
	position: relative;
	height: 350px;
}

.cta > div > figure span:first-of-type {
    position: relative;
    width: 100%;
}

.cta > div > figure span:last-of-type {display: none}

.cta > div > article > div {
    width: 100%;
	box-sizing: border-box;
	padding: 50px;
	text-align: center;
}

.cta > div > article > div h2 {margin-left: auto}
	
#header {height: auto}	

#header > figure {
	height: auto;
	display: block;
}	

#header-figure {
    height: 450px;
    position: relative;
}
	
#header > figure article {
	padding: 50px;
	width: 100%;
	background: #780500;
	box-sizing: border-box;
}	

#header > figure article figure {display: none}

#header > figure article > div {
	padding: 0;
	text-align: center;
}

#header figcaption {
	height: auto;
	padding: 10px 50px;
}

#header-subpage {height: auto}	

#header-subpage > figure {
	height: auto;
	display: block;
}	

#header-subpage-figure {
    height: 250px;
    position: relative;
}
	
#header-subpage > figure article {
	padding: 25px 50px;
	width: 100%;
	background: #780500;
	box-sizing: border-box;
}	

#header-subpage > figure article figure {display: none}

#header-subpage > figure article div {
	padding: 0;
	padding-bottom: 13px;
	text-align: center;
}

#header-subpage > figure article div h2 {
    margin-left: auto;
	margin-right: auto;
}

.cta ul li {margin: 0 10px}

#scroll-down {display: none}

#baner > div {padding: 75px 50px}

#baner > div > div {
    font-size: 36px;
    line-height: 46px;
}

#home-kontakt > div article {
    width: 100%;
    padding-right: 0;
	margin-bottom: 50px;
}

#home-kontakt > div figure {
	width: 100%;
	height: 400px;
}

#wydarzenia > div, #youtube > div {width: 50%}

#wpis-single-thumb {height: 400px}

#partnerzy .wp-block-gallery {margin-top: 25px}
	
}



/*GRID: 768px */
@media all and (max-width: 768px) {
	
.article-figure > div figure {max-width: none}	

#home-icons ul {padding: 50px 25px 30px}

#home-icons ul li {width: 25%}

#wydarzenia, #youtube {
    width: calc(100% + 20px);
    left: -10px;
}

#wydarzenia > div, #youtube > div {
    padding: 0 10px;
    margin-bottom: 20px;
}

#wydarzenia > div > div > figcaption {padding: 30px 20px 20px}

#youtube > div > div figcaption {padding: 30px 20px 25px}

#wydarzenia > div > div > figcaption .link-arrow {display: inline-block}

#partnerzy .wp-block-gallery > figure {width: 33.33%}

#no-thumbnail {height: 75px}

}



/*GRID: 568px */
@media all and (max-width: 568px) {
	
#home-news-wrap > div {padding: 50px 25px}	
	
.article-figure > div figure {margin: 0 auto 50px}	

.cta > div > article > div {padding: 50px 25px}

#header > figure article {padding: 50px 25px}

#header figcaption {
    height: auto;
	padding: 15px 25px;
}

#header-subpage > figure article {padding: 15px 25px}

#home-icons ul {padding: 40px 15px 20px}

#home-icons ul li {width: 33.33%}

#home-icons ul li img {
	width: 80px;
	margin: 0 auto 0;
}

.cta ul li {height: 30px}

#baner > div {padding: 50px 25px}

#baner > div > div {
    font-size: 24px;
    line-height: 32px;
}

#wydarzenia, #youtube {
    width: 100%;
    left: 0;
}

#wydarzenia > div, #youtube > div {
	width: 100%;
    padding: 0;
    margin-bottom: 25px;
}

#wpis-single ul li, .list-style li {padding-left: 12px}

#wpis-single ul li::before {
    width: 5px;
    height: 5px;
    top: 8px;
}

#partnerzy .wp-block-gallery > figure {width: 50%}

}



/*GRID: 440px */
@media all and (max-width: 440px) {
	
#home-news-wrap > div {padding: 40px 20px}	
	
.article-figure > div figure {margin: 0 auto 40px}	
	
.cta > div > figure {height: 300px}	

.cta > div > article > div {padding: 40px 20px}

#header-figure {height: 350px}

#header > figure article {padding: 30px 20px}

#header figcaption {padding: 15px 20px}

#header figcaption li {
    padding-left: 35px;
    margin: 5px 0;
    font-size: 16px;
}

#header figcaption li img {
    width: 26px;
    top: -2px;
}

#header-subpage > figure article {padding: 15px 25px 25px}

#header-subpage > figure article div {padding-bottom: 0}

#header-subpage h2 img {margin-left: auto}

#home-icons ul {padding: 40px 10px 20px}

#home-icons ul li {width: 50%}

.cta ul li {
	height: 26px;
	margin: 0 7px;
}

#baner > div {padding: 40px 20px}

#baner > div > div {
    font-size: 22px;
    line-height: 28px;
}

#wpis-single-thumb {height: 350px}

#wydarzenia > div > div > figcaption {padding: 20px 15px 20px}

#youtube > div > div figcaption {padding: 20px 15px 20px}

#partnerzy .wp-block-gallery > figure {padding: 10px}

}