#ui-aktualnosci {
	position: relative;
	width: 100%;
	background: white;
	display: flex;
	flex-wrap: wrap;
	flex-direction: row-reverse;
	margin-top: 50px;
}

#ui-aktualnosci > div {
	width: 50%;
	box-sizing: border-box;
	padding: 75px 50px;
	margin-bottom: -25px;
}

#ui-aktualnosci > div > article {
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 25px;
}

#ui-aktualnosci > div > article h3 {
	font-size: inherit;
	line-height: inherit;
	font-weight: inherit;
}

#ui-aktualnosci > div > article > div:first-of-type {
	box-sizing: border-box;
	width: 150px;
	padding-right: 25px;
	text-align: center;
}
#ui-aktualnosci > div > article > div:last-of-type {width: calc(100% - 150px)}

#ui-aktualnosci > figure {
	width: 50%;
	box-sizing: border-box;
	position: relative;	
}

#ui-aktualnosci > figure > div {
	width: calc(100% + 200px);
	height: 100%;
	border-radius: 0 0 0 200px;
	background-position: center;
	background-size: cover;
	margin-bottom: -25px;
}


#aktualnosci > article {
	width: 100%;
	padding: 5px 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	border-left: 10px solid #F05A28;
	margin-bottom: 25px;
}

#aktualnosci > article > time {
	width: 200px;
	text-align: center;
}

#aktualnosci > article > hgroup {width: calc(100% - 200px)}

#aktualnosci > article h3 {
	font-size: inherit;
	line-height: inherit;
	font-weight: inherit;
}

#aktualnosci .more-link {display: none}

#paginacja {
	width: 100%;
	text-align: center;
	margin-top: 75px;
	font-weight: 700;
}

#paginacja a {
	margin: 15px 25px 0;
	white-space: nowrap;
}

#gmaps {
	width: 100%;
	height: 400px;
}

#gmaps iframe {
	display: block;
	width: 100%;
	height: 100%;
}

#kontakt {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	margin-top: 100px;
}

#kontakt > article {
	width: 40%;
	box-sizing: border-box;
	padding-right: 100px;
}

#kontakt-cms {display: none}

#formularz {
	width: 60%;
	box-sizing: border-box;
	text-align: left;
	position: relative
}

#formularz input, #formularz textarea {
	background-color: #F5F5F5;
	width: 100%;
	box-sizing: border-box;
	padding: 15px 25px;
	margin-bottom: 15px;
	border: none;
	font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    color: #00505A;
    font-size: 18px;
    line-height: 30px;
	-webkit-appearance: none;
    border-radius: 0;
}

#formularz input:focus, #formularz textarea:focus {
	outline: none;
	border: 1px solid red;
}

#formularz textarea {
	height: 150px;
	resize: vertical;
	overflow: hidden;
}

#formularz .form50 {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between
}

#formularz .form50 > span {width: calc(50% - 8px)}

input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
	border: none;
	-webkit-text-fill-color: #00505A;
	-webkit-box-shadow: 0 0 0px 1000px #F5F5F5 inset;
}


#formularz .empty {outline: 1px solid red}

#rodo {
	padding-left: 25px;
	position: relative;
	font-size: 11px;
	line-height: 11px;
}

#rodo .container {
  display: block;
  position: relative;
  width: 15px;
  left: -25px;
  cursor: pointer;
  font-size: 22px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hide the browser's default checkbox */
#rodo .container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
  padding: 0 !important
}

/* Create a custom checkbox */
#rodo .checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 15px;
  width: 15px;
  background-color: #D4D4D4;
}

/* When the checkbox is checked, add a blue background */
#rodo .container input:checked ~ .checkmark {background-color: #F05A28}

/* When the checkbox is checked, add a blue background */
#rodo .container input:focus~ .checkmark {border: 1px solid red}

/*
.rodo-checker {
	position: absolute;
	display: block;
	top: 0;
	left: 0;
	width: 15px;
	height: 15px;
	background-color: #D4D4D4;
	cursor: pointer;
}
.rodo-checker.clicked {background: #F05A28}
*/

#formularz #button {
    display: inline-block;
    color: white;
    background: #F05A28;
    font-weight: 500;
    font-size: 18px;
    line-height: 18px;
    padding: 15px 30px;
    border-radius: 0 15px 0 15px;
    transition: background 0.25s, color 0.25s;
	cursor: pointer;
	border: none;
}
#formularz #button:hover {background: #00505A}

#formularz-msg {
	display: block;
	margin-top: 5px;
	opacity: 0;
	color: red;
}

#formularz .wp-block-button {padding-top: 10px}

#kontakt-oddzialy {padding-top: 0 !important}

#kontakt-oddzialy > div.has-white-background-color h2 {
	display: table;
	cursor: pointer;
	transition: color 0.25s;
	box-sizing: border-box;
	padding-right: 50px;
	margin-bottom: 0;
	position: relative;
}

#kontakt-oddzialy > div.has-white-background-color h2:hover {color: #F05A28}

#kontakt-oddzialy > div.has-white-background-color figure {
	position: absolute;
	top: 0;
	right: 0;
	color: #F05A28;
}

#kontakt-oddzialy .has-system-background-color {display: none}

#kontakt-oddzialy table td:last-of-type a {
	display: block;
	width: 20px;
	position: relative;
	top: 2px;
}

#kontakt-oddzialy table td:last-of-type a img {
	display: block;
	width: 100%;
} 

.osoby-upowaznione ul {
	column-count: 2;
	column-gap: 25px;
}

.search-result-single {
	box-sizing: border-box;
	width: 100%;
	padding: 5px 0 5px 50px;
    border-left: 10px solid #F05A28;
    margin-bottom: 25px;
}





/*GRID: 1440px */
@media all and (max-width: 1440px) {
	
#ui-aktualnosci > figure > div {width: calc(100% + 100px)}
	
}



/*GRID: 1280px */
@media all and (max-width: 1280px) {
	
#ui-aktualnosci > div {padding: 50px 25px}

#kontakt > article {padding-right: 50px}
	
}



/*GRID: 1024px */
@media all and (max-width: 1024px) {
	
#kontakt-oddzialy > div.has-white-background-color h2:hover {color: #00505A}

#kontakt-oddzialy > div.has-white-background-color h2 {padding-right: 30px}	

#ui-aktualnosci > figure > div {
	width: calc(100% + 50px);
	border-radius: 0 0 0 150px;
}

#aktualnosci > article {border-left: 8px solid #F05A28}

#aktualnosci > article > time {width: 175px}

#aktualnosci > article > hgroup {width: calc(100% - 175px)}

#aktualnosci .more-link {display: table}

#paginacja {margin-top: 50px}

#paginacja a {margin: 15px 15px 0}

#kontakt {margin-top: 50px}

#kontakt > article {
	width: 100%;
    padding-right: 0;
	text-align: center;
}

#formularz {
    width: 100%;
	margin-top: 50px;
}

#formularz input, #formularz textarea {
	font-size: 17px;
    line-height: 26px;
	padding: 10px 25px;
    margin-bottom: 10px;
}

#formularz .form50 > span {width: calc(50% - 5px)}

#formularz #button {
	font-size: 17px;
	line-height: 17px;
	padding: 12px 20px;
	border-radius: 0 15px 0 15px;
}
#formularz #button:hover {background: #F05A28}

.search-result-single {
    padding: 5px 0 5px 25px;
    border-left: 8px solid #F05A28;
}

}



/*GRID: 768px */
@media all and (max-width: 768px) {
	
#ui-aktualnosci > figure  {
	width: 100%;
	height: 350px;
}

#ui-aktualnosci > figure > div {width: 100%}

#ui-aktualnosci > div {width: 100%}

#kontakt-oddzialy table td:last-of-type a {top: 0}

#formularz .form50 > span {width: 100%}

}



/*GRID: 568px */
@media all and (max-width: 568px) {
	
#aktualnosci > article {
	width: 100%;
	padding: 5px 0 5px 20px;
	display: block;
	box-sizing: border-box;
	border-left: 5px solid #F05A28;
	margin-bottom: 25px;
}

#aktualnosci > article > time {
	width: 100%;
	text-align: left;
}

#aktualnosci > article > time br {display: none}

#aktualnosci > article > hgroup {width: 100%}	

#formularz input, #formularz textarea {
	font-size: 16px;
    line-height: 24px;
	padding: 10px 15px;
    margin-bottom: 10px;
}

#formularz #button {
	font-size: 17px;
	line-height: 17px;
	padding: 12px 20px;
	border-radius: 0 15px 0 15px;
}

.osoby-upowaznione ul {
	column-count: 1;
	column-gap: 0;
}


.search-result-single {
    padding: 5px 0 5px 20px;
    border-left: 5px solid #F05A28;
}


}




/*GRID: 440px */
@media all and (max-width: 440px) {

#ui-aktualnosci > figure {
    height: 300px;
	border-radius: 0 0 0 100px;
}

#ui-aktualnosci > div {padding: 40px 20px}

#ui-aktualnosci > div > article > div:first-of-type {
    width: 100%;
    padding-right: 0;
    text-align: left;
}

#ui-aktualnosci > div > article > div:first-of-type br {display: none}

#ui-aktualnosci > div > article > div:last-of-type {width: 100%}

#paginacja {margin-top: 25px}

#formularz #button {
	font-size: 15px;
	line-height: 15px;
	padding: 8px 20px;
	border-radius: 0 10px 0 10px;
}


}