/*
Theme Name: Education Hub Child SP14 Lubin
Theme URI: https://sp14.lubin.pl
Description: Motyw potomny Education Hub dla Szkoły Podstawowej nr 14 im. gen. broni Stanisława Maczka w Lubinie. Kolorystyka szkoły, siatka aktualności i poprawki dostępności WCAG 2.1 AA.
Author: Szkoła Podstawowa nr 14 w Lubinie
Template: education-hub
Version: 1.10.2
License: GPLv3
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Text Domain: education-hub-child
*/

:root {
	--sp14-blue: #045399;
	--sp14-blue-dark: #033a6b;
	--sp14-blue-darker: #022a4f;
	--sp14-blue-deep: #011d38;
	--sp14-blue-light: #e8f0f7;
	--sp14-link: #004f8b;
	--sp14-gold: #e3a01f;
	--sp14-text: #2b2f33;
	--sp14-muted: #5a6570;
	--sp14-heading: #033a6b;
	--sp14-page-bg: #f2f4f6;
	--sp14-border: #dde2e7;
	--sp14-font: "Open Sans", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

body,
button,
input,
select,
optgroup,
textarea,
h1,
h2,
h3,
h4,
h5,
h6,
.site-title,
.site-description,
.main-navigation,
#tophead,
.widget-title {
	font-family: var(--sp14-font);
}

body {
	background-color: var(--sp14-page-bg);
	color: var(--sp14-text);
	font-size: 16px;
	line-height: 1.7;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	color: var(--sp14-heading);
	font-weight: 700;
	line-height: 1.3;
}

a {
	color: var(--sp14-link);
}

a:hover {
	color: var(--sp14-blue-dark);
}

:focus:not(:focus-visible) {
	outline: none;
}

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
	outline: 3px solid var(--sp14-blue);
	outline-offset: 2px;
}

#tophead a:focus-visible,
#main-nav a:focus-visible,
#main-nav button:focus-visible,
#colophon a:focus-visible {
	outline: 3px solid #ffffff;
	outline-offset: -3px;
}

input:focus,
select:focus,
textarea:focus {
	border-color: var(--sp14-blue);
	box-shadow: 0 0 0 3px rgba(4, 83, 153, 0.2);
	outline: none;
}

#tophead {
	background-color: var(--sp14-blue-darker);
	color: #ffffff;
	font-size: 14px;
	min-height: 0;
}

#tophead .container {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 6px 24px;
	justify-content: space-between;
	padding-bottom: 8px;
	padding-top: 8px;
}

#tophead ul {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	margin: 0;
	padding: 0;
}

.sp14-kontakt li {
	border-left: 1px solid rgba(255, 255, 255, 0.2);
	margin: 0;
	padding: 0 14px;
}

.sp14-kontakt li:first-child {
	border-left: none;
	padding-left: 0;
}

.sp14-kontakt {
	flex: 1 1 auto;
}

.sp14-kontakt .sp14-kontakt__fb {
	border-left: none;
	margin-left: auto;
	padding-right: 0;
}

#tophead .sp14-facebook i {
	color: #ffffff;
	font-size: 22px;
	margin: 0;
	vertical-align: middle;
}

#tophead .sp14-facebook:hover i {
	color: var(--sp14-gold);
}

#tophead a {
	color: #ffffff;
	text-decoration: none;
}

#tophead a:hover {
	color: var(--sp14-gold);
}

#tophead i {
	color: rgba(255, 255, 255, 0.75);
	margin-right: 7px;
}

.sp14-bip {
	align-items: center;
	display: inline-flex;
}

.sp14-bip__znak {
	background-color: #ffffff;
	border-radius: 2px;
	display: block;
	height: 25px;
	margin-right: 8px;
	padding: 3px 6px;
	width: auto;
}

.site-header {
	background-color: #ffffff;
}

.sp14-naglowek {
	align-items: center;
	display: flex;
	float: left;
	gap: 18px;
	max-width: 68%;
}

.sp14-naglowek #site-identity {
	float: none;
	margin-top: 0;
}

.sp14-godlo {
	flex: 0 0 auto;
	height: 76px;
	width: auto;
}

.sp14-logo {
	display: block;
	flex: 0 0 auto;
}

.sp14-logo img {
	display: block;
	height: 84px;
	width: 84px;
}

.site-header .search-section {
	padding-top: 22px;
}

.site-title {
	font-size: 30px;
	font-weight: 700;
	letter-spacing: -0.01em;
	text-wrap: balance;
}

.site-title a {
	color: var(--sp14-blue);
}

.site-description {
	color: var(--sp14-muted);
	font-size: 15px;
	letter-spacing: 0.02em;
}

@media only screen and (min-width: 768px) and (max-width: 1169px) {

	.sp14-naglowek {
		gap: 14px;
	}

	.sp14-godlo {
		height: 64px;
	}

	.sp14-logo img {
		height: 72px;
		width: 72px;
	}

	.site-title {
		font-size: 24px;
	}

	.site-description {
		font-size: 14px;
	}

	.site-header .search-section {
		padding-top: 16px;
	}
}

.search-form input.search-field {
	border: 1px solid var(--sp14-border);
	border-radius: 4px;
}

.search-form .search-submit {
	background-color: var(--sp14-blue);
	border: 1px solid var(--sp14-blue);
	border-radius: 0 4px 4px 0;
	color: #ffffff;
}

.search-form .search-submit:hover {
	background-color: var(--sp14-blue-dark);
}

#main-nav {
	background-color: var(--sp14-blue);
	border-bottom: 4px solid var(--sp14-gold);
}

.main-navigation ul ul {
	background: var(--sp14-blue-dark) none repeat scroll 0 0;
	box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
	min-width: 250px;
}

.main-navigation ul ul a {
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 15px;
	padding: 11px 18px;
	text-transform: none;
}

.main-navigation ul ul li:last-child > a {
	border-bottom: none;
}

.main-navigation li a:hover,
.main-navigation li a:focus,
.main-navigation li:hover > a {
	background: var(--sp14-blue-dark);
	color: #ffffff;
}

.main-navigation ul ul li a:hover,
.main-navigation ul ul li a:focus,
.main-navigation ul ul li:hover > a {
	background: var(--sp14-blue-darker);
}

@media only screen and (min-width: 768px) {

	.main-navigation,
	.main-navigation .wrap-menu-content {
		width: 100%;
	}

	#primary-menu {
		display: flex;
		width: 100%;
	}

	#primary-menu > li {
		flex: 1 1 0;
		float: none;
		min-width: 0;
	}

	#primary-menu > li > a {
		align-items: center;
		border-left: none;
		border-right: 1px solid rgba(255, 255, 255, 0.18);
		display: flex;
		font-size: 15px;
		font-weight: 600;
		height: 100%;
		justify-content: center;
		letter-spacing: 0.03em;
		padding: 14px 12px;
		text-align: center;
		text-transform: uppercase;
		white-space: nowrap;
	}

	#primary-menu > li:last-child > a {
		border-right: none;
	}

	#primary-menu > li > a.sp14-rozwijane {
		cursor: default;
		user-select: none;
	}

	#primary-menu > li.menu-item-home {
		flex: 0 0 auto;
	}

	#primary-menu > li.menu-item-home > a {
		font-size: 17px;
		padding-left: 22px;
		padding-right: 22px;
	}

	.sp14-home-tekst {
		clip: rect(1px, 1px, 1px, 1px);
		height: 1px;
		overflow: hidden;
		position: absolute;
		width: 1px;
	}

	#primary-menu > li.menu-item-has-children > a::after {
		display: inline-block;
		font-size: 12px;
		margin-left: 8px;
		position: static;
	}

	#primary-menu > li > ul.sub-menu {
		min-width: 0;
		width: 100%;
	}

	#primary-menu ul.sub-menu a {
		line-height: 1.35;
		padding: 11px 16px;
		white-space: normal;
	}

	.main-navigation ul li:focus-within > ul {
		left: 0;
		right: auto;
	}

	.main-navigation ul ul li:focus-within > ul {
		left: 100%;
	}

	#primary-menu ul.sub-menu li.menu-item-has-children > a {
		padding-right: 30px;
	}

	#primary-menu ul.sub-menu li.menu-item-has-children > a::after {
		right: 12px;
		top: 50%;
		transform: translateY(-50%);
	}

	#primary-menu ul.sub-menu ul.sub-menu {
		min-width: 240px;
	}
}

@media only screen and (min-width: 768px) and (max-width: 980px) {

	#primary-menu > li > a {
		font-size: 13px;
		letter-spacing: 0.01em;
		line-height: 1.3;
		padding: 10px 8px;
		white-space: normal;
	}

	#primary-menu > li.menu-item-home > a {
		padding-left: 16px;
		padding-right: 16px;
	}
}

#breadcrumb {
	background: #ffffff none repeat scroll 0 0;
	border-bottom: 1px solid var(--sp14-border);
	color: var(--sp14-muted);
	font-size: 14px;
	padding-bottom: 12px;
	padding-top: 12px;
}

#breadcrumb a {
	color: var(--sp14-link);
	text-decoration: none;
}

#breadcrumb a:hover {
	text-decoration: underline;
}

#content.site-content {
	padding-top: 32px;
}

.site-main .hentry,
.site-main .page {
	background-color: #ffffff;
	border: 1px solid var(--sp14-border);
	border-radius: 4px;
	margin-bottom: 28px;
	padding: 30px 36px;
}

.entry-title,
.page-title {
	color: var(--sp14-heading);
	font-size: 30px;
	margin-bottom: 18px;
}

.entry-title a {
	color: var(--sp14-heading);
	text-decoration: none;
}

.entry-title a:hover {
	color: var(--sp14-link);
}

.home.page .entry-header {
	display: none;
}

.entry-content,
.entry-content p,
.entry-content li,
.entry-content td,
.elementor-widget-text-editor,
.elementor-widget-text-editor p {
	color: var(--sp14-text);
	font-size: 16px;
	line-height: 1.7;
}

.entry-content h2,
.elementor-widget-heading h2.elementor-heading-title {
	color: var(--sp14-heading);
	font-size: 23px;
	font-weight: 700;
	line-height: 1.3;
	margin: 1.4em 0 0.5em;
}

.entry-content h3,
.elementor-widget-heading h3.elementor-heading-title {
	color: var(--sp14-heading);
	font-size: 19px;
	font-weight: 700;
	line-height: 1.3;
	margin: 1.2em 0 0.4em;
}

.entry-content > .elementor {
	margin-left: -10px;
	margin-right: -10px;
}

.entry-content .elementor-column-gap-default > .elementor-column > .elementor-element-populated {
	padding: 0 10px;
}

.entry-content .elementor-section + .elementor-section {
	margin-top: 26px;
}

.entry-content .elementor-widget-heading .elementor-heading-title {
	margin: 0;
}

.entry-content a,
.elementor-widget-text-editor a {
	text-decoration: underline;
	text-underline-offset: 2px;
}

.entry-content .elementor-widget-icon-box a {
	text-decoration: none;
}

.entry-meta,
.entry-footer {
	color: var(--sp14-muted);
	font-size: 14px;
}

.entry-meta a,
.entry-footer a {
	color: var(--sp14-muted);
}

.home.page .site-main .page {
	background-color: transparent;
	border: none;
	padding: 0;
}

.home #content.site-content {
	padding-top: 14px;
}

.home.page .entry-content {
	margin-top: 0;
}

.home .entry-content > .elementor {
	margin-left: 0;
	margin-right: 0;
}

.home .entry-content .elementor-column-gap-default > .elementor-column > .elementor-element-populated {
	padding: 0;
}

.home .entry-content .elementor-section + .elementor-section {
	margin-top: 30px;
}

.sp14-kafelki-pasek {
	background-color: #ffffff;
	border: 1px solid var(--sp14-border);
	border-radius: 6px;
	padding: 8px;
}

.sp14-kafelki-pasek .elementor-widget-icon-box {
	--icon-box-icon-margin: 8px;
}

.sp14-kafelki-pasek .elementor-icon-box-wrapper {
	border-radius: 6px;
	padding: 12px 4px;
	position: relative;
	transition: background-color 0.15s ease;
}

.sp14-kafelki-pasek .elementor-icon-box-title a::after {
	content: "";
	inset: 0;
	position: absolute;
	z-index: 1;
}

.sp14-kafelki-pasek .elementor-icon-box-title a:focus-visible {
	outline: none;
}

.sp14-kafelki-pasek .elementor-icon-box-wrapper:has(a:focus-visible) {
	outline: 3px solid var(--sp14-blue);
	outline-offset: -3px;
}

.sp14-kafelki-pasek .elementor-widget-icon-box:hover .elementor-icon-box-wrapper {
	background-color: var(--sp14-blue-light);
}

.sp14-kafelki-pasek .elementor-icon {
	font-size: 28px;
}

.sp14-kafelki-pasek .elementor-icon-box-title {
	display: block;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
	margin: 0;
}

.sp14-news__baner {
	align-items: center;
	background-color: #ffffff;
	border: 1px solid var(--sp14-border);
	border-radius: 6px;
	display: flex;
	overflow: hidden;
}

.sp14-news__baner .metaslider {
	width: 100%;
}

.sp14-news__baner .metaslider .flexslider {
	background-color: transparent;
	margin: 0;
}

.sp14-news__baner .metaslider .flex-direction-nav .flex-disabled {
	visibility: hidden;
}

.sp14-news__baner .metaslider .flex-control-nav {
	bottom: 12px;
	position: absolute;
	z-index: 2;
}

.sp14-news__baner .metaslider .flex-control-paging li a {
	background: rgba(255, 255, 255, 0.7);
	box-shadow: 0 0 0 1px rgba(3, 58, 107, 0.5);
}

.sp14-news__baner .metaslider .flex-control-paging li a.flex-active {
	background: var(--sp14-gold);
}

.sp14-news__lista {
	display: grid;
	gap: 26px;
	grid-template-columns: repeat(2, 1fr);
}

.sp14-news__wpis {
	background-color: #ffffff;
	border: 1px solid var(--sp14-border);
	border-radius: 6px;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	transition: box-shadow 0.15s ease;
}

.sp14-news__wpis:hover {
	box-shadow: 0 8px 22px rgba(3, 58, 107, 0.14);
}

.sp14-news__foto {
	aspect-ratio: 16 / 9;
	background-color: var(--sp14-blue-light);
	border-bottom: 3px solid var(--sp14-gold);
	display: block;
	overflow: hidden;
}

.sp14-news__foto img {
	display: block;
	height: 100%;
	object-fit: cover;
	transition: transform 1.2s ease !important;
	width: 100%;
}

.sp14-news__wpis:hover .sp14-news__foto img {
	transform: scale(1.06);
}

.sp14-news__brak-foto {
	align-items: center;
	color: var(--sp14-blue);
	display: flex;
	font-size: 46px;
	height: 100%;
	justify-content: center;
	opacity: 0.4;
}

.sp14-news__tresc {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 20px 24px 24px;
}

.entry-content .sp14-news__meta {
	color: var(--sp14-muted);
	font-size: 13px;
	margin: 0 0 8px;
}

.sp14-news__kategoria {
	color: var(--sp14-blue);
	font-weight: 700;
	letter-spacing: 0.04em;
	margin-right: 10px;
	text-transform: uppercase;
}

.entry-content .sp14-news__tytul {
	font-size: 21px;
	line-height: 1.3;
	margin: 0 0 10px;
}

.entry-content .sp14-news a {
	text-decoration: none;
}

.sp14-news__tytul a {
	color: var(--sp14-heading);
}

.sp14-news__tytul a:hover {
	color: var(--sp14-link);
	text-decoration: underline;
}

.entry-content .sp14-news__zajawka {
	font-size: 16px;
	margin: 0;
}

.entry-content .sp14-news__wszystkie {
	margin: 24px 0 0;
	text-align: right;
}

.entry-content .sp14-news__wszystkie a {
	border: 1px solid var(--sp14-blue);
	border-radius: 4px;
	color: var(--sp14-blue);
	display: inline-block;
	font-weight: 600;
	padding: 9px 20px;
}

.entry-content .sp14-news__wszystkie a:hover {
	background-color: var(--sp14-blue);
	color: #ffffff;
}

.sp14-news__strony ul.page-numbers {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	justify-content: center;
	list-style: none;
	margin: 30px 0 0;
	padding: 0;
}

.entry-content .sp14-news__strony li {
	margin: 0;
}

.sp14-news__strony .page-numbers a,
.sp14-news__strony .page-numbers span {
	border: 1px solid var(--sp14-border);
	border-radius: 4px;
	color: var(--sp14-blue);
	display: inline-block;
	font-weight: 600;
	min-width: 40px;
	padding: 7px 12px;
	text-align: center;
}

.sp14-news__strony .page-numbers a:hover {
	background-color: var(--sp14-blue-light);
}

.sp14-news__strony .page-numbers span.current {
	background-color: var(--sp14-blue);
	border-color: var(--sp14-blue);
	color: #ffffff;
}

.entry-content .sp14-news__pusto {
	color: var(--sp14-muted);
}

.elementor .elementor-section.sp14-partnerzy .elementor-widget-wrap {
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.elementor .sp14-partnerzy .elementor-widget-wrap > .elementor-widget {
	margin: 0;
}

.sp14-partnerzy .elementor-widget-image .elementor-widget-container {
	height: 100%;
}

.sp14-partnerzy figure.wp-caption {
	background-color: #ffffff;
	border: 1px solid var(--sp14-border);
	border-radius: 6px;
	display: flex;
	flex-direction: column;
	height: 100%;
	margin: 0;
	overflow: hidden;
	transition: box-shadow 0.15s ease;
}

.sp14-partnerzy figure.wp-caption:has(a:hover) {
	box-shadow: 0 8px 22px rgba(3, 58, 107, 0.14);
}

.sp14-partnerzy figure.wp-caption > a {
	display: block;
}

.sp14-partnerzy .elementor-widget-image img {
	display: block;
	height: 160px;
	object-fit: scale-down;
	padding: 18px;
	width: 100%;
}

.sp14-partnerzy figcaption.widget-image-caption {
	background-color: var(--sp14-blue-light);
	color: var(--sp14-heading);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.35;
	margin: auto 0 0;
	padding: 12px 14px;
	text-align: center;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	background-color: var(--sp14-blue);
	border: 1px solid var(--sp14-blue);
	border-radius: 4px;
	color: #ffffff;
	font-size: 15px;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	background-color: var(--sp14-blue-dark);
	border-color: var(--sp14-blue-dark);
	color: #ffffff;
}

.read-more,
.entry-content .read-more,
.entry-summary .read-more {
	background-color: var(--sp14-blue);
	border: 1px solid var(--sp14-blue);
	border-radius: 4px;
	color: #ffffff;
	display: inline-block;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	margin-left: 8px;
	padding: 3px 12px;
	text-decoration: none;
	white-space: nowrap;
}

.read-more:hover,
.entry-content .read-more:hover,
.entry-summary .read-more:hover {
	background-color: var(--sp14-blue-dark);
	border-color: var(--sp14-blue-dark);
	color: #ffffff;
}

#sidebar-primary .widget {
	background-color: #ffffff;
	border: 1px solid var(--sp14-border);
	border-radius: 4px;
	margin-bottom: 24px;
	overflow: hidden;
	padding: 0 0 8px;
}

#sidebar-primary .widget-title {
	background-color: var(--sp14-blue);
	border-left: none;
	color: #ffffff;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.03em;
	margin: 0 0 6px;
	padding: 12px 18px;
	text-transform: uppercase;
}

#sidebar-primary .widget-title a {
	color: #ffffff;
	text-decoration: none;
}

#sidebar-primary .widget-title::after {
	display: none;
}

#sidebar-primary .widget ul {
	margin: 0;
	padding: 0 18px;
}

.cky-consent-container .cky-notice-btn-wrapper,
.cky-modal .cky-prefrence-btn-wrapper {
	gap: 10px 8px;
}

.cky-consent-container .cky-notice-btn-wrapper .cky-btn,
.cky-modal .cky-prefrence-btn-wrapper .cky-btn {
	margin: 0;
}

.widget-area ul li::before {
	content: none;
	display: none;
}

.widget-area ul li {
	padding-left: 0;
}

#sidebar-primary .widget ul li {
	border-bottom: 1px solid #edf0f3;
	margin: 0;
	padding: 0;
}

#sidebar-primary .widget ul li:last-child {
	border-bottom: none;
}

#sidebar-primary .widget ul li a {
	color: var(--sp14-text);
	display: block;
	padding: 9px 0;
	text-decoration: none;
}

#sidebar-primary .widget ul li a:hover {
	color: var(--sp14-link);
}

.sp14-dzial ul li.current_page_item > a {
	color: var(--sp14-blue);
	font-weight: 700;
}

#sidebar-primary .sp14-dzial ul.children {
	display: none;
	margin: 0 0 6px;
	padding: 0 0 0 14px;
}

#sidebar-primary .sp14-dzial li.current_page_item > ul.children,
#sidebar-primary .sp14-dzial li.current_page_ancestor > ul.children {
	display: block;
}

#sidebar-primary .sp14-dzial ul.children li {
	border-bottom: none;
}

#sidebar-primary .sp14-dzial ul.children li a {
	font-size: 14px;
	padding: 5px 0;
}

#btn-scrollup {
	background-color: var(--sp14-blue);
	border-radius: 4px;
	bottom: 100px;
	right: 28px;
}

#btn-scrollup:hover {
	background-color: var(--sp14-blue-dark);
}

#btn-scrollup i,
#btn-scrollup:hover i,
#btn-scrollup:focus i {
	color: #ffffff;
}

.site-footer {
	background-color: var(--sp14-blue-deep);
	color: rgba(255, 255, 255, 0.7);
	font-size: 14px;
	padding: 16px 0;
}

.site-footer .copyright {
	margin: 0;
}

.sp14-instytucje {
	background-color: var(--sp14-blue-darker);
	clear: both;
	border-top: 4px solid var(--sp14-gold);
	color: rgba(255, 255, 255, 0.85);
	font-size: 14px;
	padding: 36px 0 30px;
}

.sp14-instytucje__siatka {
	display: grid;
	gap: 28px;
	grid-template-columns: repeat(4, 1fr);
}

.sp14-instytucje__kolumna {
	border-left: 1px solid rgba(255, 255, 255, 0.12);
	padding: 0 12px;
	text-align: center;
}

.sp14-instytucje__kolumna:first-child {
	border-left: none;
}

.sp14-instytucje .sp14-instytucje__naglowek {
	border-bottom: 2px solid var(--sp14-gold);
	color: #ffffff;
	display: inline-block;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.05em;
	margin: 0 0 16px;
	padding-bottom: 5px;
	text-transform: uppercase;
}

.sp14-instytucje__znak {
	align-items: center;
	display: flex;
	height: 90px;
	justify-content: center;
	margin-bottom: 14px;
}

.sp14-instytucje__znak img {
	display: block;
	height: auto;
	max-height: 90px;
	max-width: 100%;
	width: auto;
}

.sp14-instytucje p {
	color: rgba(255, 255, 255, 0.85);
	line-height: 1.65;
	margin: 0;
}

.sp14-instytucje strong {
	color: #ffffff;
}

.sp14-instytucje a {
	color: #ffffff;
	text-decoration: none;
}

.sp14-instytucje a:hover {
	color: var(--sp14-gold);
	text-decoration: underline;
}

.sp14-instytucje a:focus-visible {
	outline: 3px solid #ffffff;
	outline-offset: 2px;
}

.sp14-stopka-linki ul {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 22px;
	justify-content: center;
	list-style: none;
	margin: 0 0 8px;
	padding: 0;
}

.sp14-stopka-linki li {
	margin: 0;
}

.sp14-stopka-linki a {
	color: #ffffff;
	font-size: 14px;
	text-decoration: none;
}

.sp14-stopka-linki a:hover {
	color: var(--sp14-gold);
	text-decoration: underline;
}

.entry-content table {
	border-collapse: collapse;
	width: 100%;
}

.entry-content table th {
	background-color: var(--sp14-blue-light);
	color: var(--sp14-blue-dark);
	font-weight: 700;
}

.entry-content table th,
.entry-content table td {
	border: 1px solid var(--sp14-border);
	padding: 9px 12px;
	text-align: left;
	vertical-align: top;
}

.entry-content img,
.widget img {
	height: auto;
	max-width: 100%;
}

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

	.sp14-bip__tekst {
		clip: rect(1px, 1px, 1px, 1px);
		height: 1px;
		overflow: hidden;
		position: absolute;
		width: 1px;
	}

	.sp14-bip__znak {
		margin-right: 0;
	}

	.elementor .elementor-section.sp14-partnerzy .elementor-widget-wrap {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.sp14-instytucje__siatka {
		grid-template-columns: repeat(2, 1fr);
	}

	.sp14-instytucje__kolumna:nth-child(3) {
		border-left: none;
	}
}

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

	.elementor .elementor-section.sp14-partnerzy .elementor-widget-wrap {
		gap: 12px;
	}

	.sp14-partnerzy .elementor-widget-image img {
		height: 120px;
		padding: 12px;
	}

	.sp14-partnerzy figcaption.widget-image-caption {
		font-size: 14px;
		padding: 10px 8px;
	}

	.sp14-news__lista {
		grid-template-columns: 1fr;
	}

	.sp14-instytucje__siatka {
		grid-template-columns: 1fr;
	}

	.sp14-instytucje__kolumna {
		border-left: none;
	}

	.sp14-kafelki-pasek {
		padding: 6px 4px;
	}

	.sp14-kafelki-pasek .elementor-icon-box-wrapper {
		padding: 10px 2px;
	}

	.sp14-kafelki-pasek .elementor-icon {
		font-size: 24px;
	}

	.sp14-kafelki-pasek .elementor-icon-box-title {
		font-size: 12px;
		overflow-wrap: normal;
		word-break: keep-all;
	}

	.entry-content .sp14-news__tytul {
		font-size: 19px;
	}
}

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

	#tophead {
		font-size: 13px;
	}

	#tophead .container {
		justify-content: center;
		padding-bottom: 6px;
		padding-top: 6px;
	}

	.sp14-kontakt .sp14-kontakt__fb {
		margin-left: 0;
	}

	.sp14-kontakt {
		justify-content: center;
	}

	.sp14-kontakt li {
		border-left: none;
		padding: 2px 8px;
	}

	.site-title {
		font-size: 20px;
	}

	.site-description {
		font-size: 13px;
		line-height: 1.4;
	}

	.sp14-naglowek {
		float: none;
		gap: 12px;
		justify-content: center;
		max-width: none;
	}

	.sp14-godlo {
		height: 52px;
	}

	.sp14-logo img {
		height: 56px;
		width: 56px;
	}

	.site-header .search-section {
		padding-top: 15px;
	}

	.site-main .hentry,
	.site-main .page {
		padding: 22px 20px;
	}

	.entry-title,
	.page-title {
		font-size: 25px;
	}

	#main-nav.clear-fix {
		background-color: var(--sp14-blue) !important;
	}

	.menu-toggle,
	.menu-toggle:hover,
	.menu-toggle:focus {
		background-color: transparent;
		border: 1px solid rgba(255, 255, 255, 0.45);
		border-radius: 4px;
		box-shadow: none;
		color: #ffffff;
		display: block;
		font-size: 16px;
		font-weight: 600;
		margin: 8px auto;
		padding: 7px 18px;
		width: auto;
	}

	.menu-toggle:hover {
		border-color: #ffffff;
	}

	#site-navigation.toggled-on .menu-toggle {
		background-color: var(--sp14-blue-dark);
		border-color: var(--sp14-blue-dark);
	}

	.wrap-menu-content,
	.main-navigation ul {
		background-color: var(--sp14-blue);
	}

	.wrap-menu-content {
		border: 1px solid var(--sp14-blue-darker);
		box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
	}

	.main-navigation ul li a,
	.main-navigation ul li:first-child > a {
		border-bottom: 1px solid rgba(255, 255, 255, 0.15);
		border-left: none;
		border-right: none;
	}

	.main-navigation ul ul {
		background: var(--sp14-blue-darker) none repeat scroll 0 0;
		box-shadow: none;
	}

	.main-navigation .dropdown-toggle {
		align-items: center;
		background-color: transparent;
		border: none;
		box-shadow: none;
		color: #ffffff;
		display: flex;
		height: 47px;
		justify-content: center;
		padding: 0 18px;
		position: absolute;
		right: 0;
		top: 0;
	}

	.main-navigation li.menu-item-home .fa-house {
		margin-right: 8px;
	}
}