/*
Theme Name: GeneratePress Child
Template: generatepress
Version: 1.0
*/
html {
	font-family: 'Roboto Condensed', sans-serif;
	line-height: 1.15;
	-ms-text-size-adjust: 100%;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
}

article,
aside,
footer,
header,
nav,
section {
	display: block;
}

h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

figcaption,
figure,
main {
	display: block;
}

figure {
	margin: 1em 0;
}

hr {
	-webkit-box-sizing: content-box;
	-moz-box-sizing: content-box;
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

a {
	background-color: transparent;
	-webkit-text-decoration-skip: objects;
}

a:active,
a:hover {
	outline-width: 0;
}

abbr[title] {
	border-bottom: 1px #767676 dotted;
	text-decoration: none;
}

b,
strong {
	font-weight: inherit;
}

b,
strong {
	font-weight: 700;
}

code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

dfn {
	font-style: italic;
}

mark {
	background-color: #eee;
	color: #222;
}

small {
	font-size: 80%;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

audio,
video {
	display: inline-block;
}

audio:not([controls]) {
	display: none;
	height: 0;
}

img {
	border-style: none;
}

svg:not(:root) {
	overflow: hidden;
}

button,
input,
optgroup,
select,
textarea {
	font-family: sans-serif;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

button,
input {
	overflow: visible;
}

button,
select {
	text-transform: none;
}

button,
html [type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
	appearance: button;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

fieldset {
	border: 1px solid #bbb;
	margin: 0 2px;
	padding: 0.35em 0.625em 0.75em;
}

legend {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

progress {
	display: inline-block;
	vertical-align: baseline;
}

textarea {
	overflow: auto;
}

[type="checkbox"],
[type="radio"] {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	padding: 0;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

[type="search"] {
	-webkit-appearance: textfield;
	appearance: textfield;
	outline-offset: -2px;
}

[type="search"]::-webkit-search-cancel-button,
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

details,
menu {
	display: block;
}

summary {
	display: list-item;
}

canvas {
	display: inline-block;
}

template {
	display: none;
}

[hidden] {
	display: none;
}

/*--------------------------------------------------------------
2.0 Accessibility
--------------------------------------------------------------*/

/* Text meant only for screen readers. */

.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	height: 1px;
	overflow: hidden;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

/* Match legacy table look on collection-points pages (no vertical inner borders). */
body.page-legacy-table .entry-content table td,
body.page-legacy-table .entry-content table th,
body.page-legacy-table .entry-content table {
	border-left: 0 !important;
	border-right: 0 !important;
	border-top: 0 !important;
}

/* Keep product data tables consistent with production (cell centering + text color). */
.entry-content article.product table.dane td,
.entry-content article.product table.dane th {
	text-align: center !important;
	color: #666 !important;
}

/* Match production content container behavior on subpages. */
.wrap.row.subpage {
	width: auto;
	max-width: 1300px;
	margin-left: auto;
	margin-right: auto;
}

.subpage #main.site-main,
.subpage #main {
	margin-right: 0 !important;
	margin-left: 0 !important;
}

.subpage .entry-content {
	margin-top: 0 !important;
}

@media screen and (min-width: 992px) {
	body.page-layout-full-width #page,
	body.page-layout-full-width .site,
	body.page-layout-full-width #content,
	body.page-layout-full-width .site-content {
		max-width: none !important;
		width: auto !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
		padding-left: 0 !important;
		padding-right: 0 !important;
	}

	body.page-layout-full-width .subpage .entry-content {
		margin-top: 0 !important;
	}
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	-webkit-box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}

/*--------------------------------------------------------------
3.0 Alignments
--------------------------------------------------------------*/

.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/*--------------------------------------------------------------
4.0 Clearings
--------------------------------------------------------------*/

.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.entry-footer:before,
.entry-footer:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after,
.nav-links:before,
.nav-links:after,
.pagination:before,
.pagination:after,
.comment-author:before,
.comment-author:after,
.widget-area:before,
.widget-area:after,
.widget:before,
.widget:after,
.comment-meta:before,
.comment-meta:after {
	content: "";
	display: table;
	table-layout: fixed;
}

.clear:after,
.entry-content:after,
.entry-footer:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after,
.nav-links:after,
.pagination:after,
.comment-author:after,
.widget-area:after,
.widget:after,
.comment-meta:after {
	clear: both;
}

/*--------------------------------------------------------------
5.0 Typography
--------------------------------------------------------------*/

body,
button,
input,
select,
textarea {
	color: #666;
	font-family: "Roboto Condensed", "Helvetica Neue", helvetica, arial, sans-serif;
	font-size: 15px;
	font-size: 0.9375rem;
	font-weight: 400;
	line-height: 1.66;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	line-height: 1.4;
	margin: 0 0 0.75em;
	padding: 1.5em 0 0;
}

h1:first-child,
h2:first-child,
h3:first-child,
h4:first-child,
h5:first-child,
h6:first-child {
	padding-top: 0;
}

h1 {
	font-size: 24px;
	font-size: 1.5rem;
	font-weight: 300;
}

h2,
.home.blog .entry-title {
	color: #666;
	font-size: 40px;
	font-size: 1.25rem;
	font-weight: 300;
}

h3 {
	color: #666;
	font-size: 18px;
	font-size: 1.125rem;
	font-weight: 300;
}

h4 {
	color: #666;
	font-size: 16px;
	font-size: 1rem;
	font-weight: 800;
}

h5 {
	color: #666;
	font-size: 13px;
	font-size: 0.8125rem;
	font-weight: 800;
	letter-spacing: 0.15em;
	text-transform: uppercase;
}

h6 {
	color: #666;
	font-size: 15px;
	font-size: 0.9375rem;
	font-weight: 800;
}

p {
	margin: 0 0 1.5em;
	padding: 0;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	color: #666;
	font-size: 18px;
	font-size: 1.125rem;
	font-style: italic;
	line-height: 1.7;
	margin: 0;
	overflow: hidden;
	padding: 0;
}

blockquote cite {
	display: block;
	font-style: normal;
	font-weight: 600;
	margin-top: 0.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 0.9375rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
	font-size: 15px;
	font-size: 0.9375rem;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #eee;
	text-decoration: none;
}

big {
	font-size: 125%;
}

blockquote {
	quotes: "" "";
}

q {
	quotes: "“" "”" "‘" "’";
}

blockquote:before,
blockquote:after {
	content: "";
}

:focus {
	outline: none;
}

/* Typography for Arabic Font */

html[lang="ar"] body,
html[lang="ar"] button,
html[lang="ar"] input,
html[lang="ar"] select,
html[lang="ar"] textarea,
html[lang="ary"] body,
html[lang="ary"] button,
html[lang="ary"] input,
html[lang="ary"] select,
html[lang="ary"] textarea,
html[lang="azb"] body,
html[lang="azb"] button,
html[lang="azb"] input,
html[lang="azb"] select,
html[lang="azb"] textarea,
html[lang="fa-IR"] body,
html[lang="fa-IR"] button,
html[lang="fa-IR"] input,
html[lang="fa-IR"] select,
html[lang="fa-IR"] textarea,
html[lang="haz"] body,
html[lang="haz"] button,
html[lang="haz"] input,
html[lang="haz"] select,
html[lang="haz"] textarea,
html[lang="ps"] body,
html[lang="ps"] button,
html[lang="ps"] input,
html[lang="ps"] select,
html[lang="ps"] textarea,
html[lang="ur"] body,
html[lang="ur"] button,
html[lang="ur"] input,
html[lang="ur"] select,
html[lang="ur"] textarea {
	font-family: Tahoma, Arial, sans-serif;
}

html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] h4,
html[lang="ar"] h5,
html[lang="ar"] h6,
html[lang="ary"] h1,
html[lang="ary"] h2,
html[lang="ary"] h3,
html[lang="ary"] h4,
html[lang="ary"] h5,
html[lang="ary"] h6,
html[lang="azb"] h1,
html[lang="azb"] h2,
html[lang="azb"] h3,
html[lang="azb"] h4,
html[lang="azb"] h5,
html[lang="azb"] h6,
html[lang="fa-IR"] h1,
html[lang="fa-IR"] h2,
html[lang="fa-IR"] h3,
html[lang="fa-IR"] h4,
html[lang="fa-IR"] h5,
html[lang="fa-IR"] h6,
html[lang="haz"] h1,
html[lang="haz"] h2,
html[lang="haz"] h3,
html[lang="haz"] h4,
html[lang="haz"] h5,
html[lang="haz"] h6,
html[lang="ps"] h1,
html[lang="ps"] h2,
html[lang="ps"] h3,
html[lang="ps"] h4,
html[lang="ps"] h5,
html[lang="ps"] h6,
html[lang="ur"] h1,
html[lang="ur"] h2,
html[lang="ur"] h3,
html[lang="ur"] h4,
html[lang="ur"] h5,
html[lang="ur"] h6 {
	font-weight: 700;
}

/* Typography for Chinese Font */

html[lang^="zh-"] body,
html[lang^="zh-"] button,
html[lang^="zh-"] input,
html[lang^="zh-"] select,
html[lang^="zh-"] textarea {
	font-family: "PingFang TC", "Helvetica Neue", Helvetica, STHeitiTC-Light, Arial, sans-serif;
}

html[lang="zh-CN"] body,
html[lang="zh-CN"] button,
html[lang="zh-CN"] input,
html[lang="zh-CN"] select,
html[lang="zh-CN"] textarea {
	font-family: "PingFang SC", "Helvetica Neue", Helvetica, STHeitiSC-Light, Arial, sans-serif;
}

html[lang^="zh-"] h1,
html[lang^="zh-"] h2,
html[lang^="zh-"] h3,
html[lang^="zh-"] h4,
html[lang^="zh-"] h5,
html[lang^="zh-"] h6 {
	font-weight: 700;
}

/* Typography for Cyrillic Font */

html[lang="bg-BG"] body,
html[lang="bg-BG"] button,
html[lang="bg-BG"] input,
html[lang="bg-BG"] select,
html[lang="bg-BG"] textarea,
html[lang="ru-RU"] body,
html[lang="ru-RU"] button,
html[lang="ru-RU"] input,
html[lang="ru-RU"] select,
html[lang="ru-RU"] textarea,
html[lang="uk"] body,
html[lang="uk"] button,
html[lang="uk"] input,
html[lang="uk"] select,
html[lang="uk"] textarea {
	font-family: "Helvetica Neue", Helvetica, "Segoe UI", Arial, sans-serif;
}

html[lang="bg-BG"] h1,
html[lang="bg-BG"] h2,
html[lang="bg-BG"] h3,
html[lang="bg-BG"] h4,
html[lang="bg-BG"] h5,
html[lang="bg-BG"] h6,
html[lang="ru-RU"] h1,
html[lang="ru-RU"] h2,
html[lang="ru-RU"] h3,
html[lang="ru-RU"] h4,
html[lang="ru-RU"] h5,
html[lang="ru-RU"] h6,
html[lang="uk"] h1,
html[lang="uk"] h2,
html[lang="uk"] h3,
html[lang="uk"] h4,
html[lang="uk"] h5,
html[lang="uk"] h6 {
	font-weight: 700;
	line-height: 1.2;
}

/* Typography for Devanagari Font */

html[lang="bn-BD"] body,
html[lang="bn-BD"] button,
html[lang="bn-BD"] input,
html[lang="bn-BD"] select,
html[lang="bn-BD"] textarea,
html[lang="hi-IN"] body,
html[lang="hi-IN"] button,
html[lang="hi-IN"] input,
html[lang="hi-IN"] select,
html[lang="hi-IN"] textarea,
html[lang="mr-IN"] body,
html[lang="mr-IN"] button,
html[lang="mr-IN"] input,
html[lang="mr-IN"] select,
html[lang="mr-IN"] textarea {
	font-family: Arial, sans-serif;
}

html[lang="bn-BD"] h1,
html[lang="bn-BD"] h2,
html[lang="bn-BD"] h3,
html[lang="bn-BD"] h4,
html[lang="bn-BD"] h5,
html[lang="bn-BD"] h6,
html[lang="hi-IN"] h1,
html[lang="hi-IN"] h2,
html[lang="hi-IN"] h3,
html[lang="hi-IN"] h4,
html[lang="hi-IN"] h5,
html[lang="hi-IN"] h6,
html[lang="mr-IN"] h1,
html[lang="mr-IN"] h2,
html[lang="mr-IN"] h3,
html[lang="mr-IN"] h4,
html[lang="mr-IN"] h5,
html[lang="mr-IN"] h6 {
	font-weight: 700;
}

/* Typography for Greek Font */

html[lang="el"] body,
html[lang="el"] button,
html[lang="el"] input,
html[lang="el"] select,
html[lang="el"] textarea {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

html[lang="el"] h1,
html[lang="el"] h2,
html[lang="el"] h3,
html[lang="el"] h4,
html[lang="el"] h5,
html[lang="el"] h6 {
	font-weight: 700;
	line-height: 1.3;
}

/* Typography for Gujarati Font */

html[lang="gu-IN"] body,
html[lang="gu-IN"] button,
html[lang="gu-IN"] input,
html[lang="gu-IN"] select,
html[lang="gu-IN"] textarea {
	font-family: Arial, sans-serif;
}

html[lang="gu-IN"] h1,
html[lang="gu-IN"] h2,
html[lang="gu-IN"] h3,
html[lang="gu-IN"] h4,
html[lang="gu-IN"] h5,
html[lang="gu-IN"] h6 {
	font-weight: 700;
}

/* Typography for Hebrew Font */

html[lang="he-IL"] body,
html[lang="he-IL"] button,
html[lang="he-IL"] input,
html[lang="he-IL"] select,
html[lang="he-IL"] textarea {
	font-family: "Arial Hebrew", Arial, sans-serif;
}

html[lang="he-IL"] h1,
html[lang="he-IL"] h2,
html[lang="he-IL"] h3,
html[lang="he-IL"] h4,
html[lang="he-IL"] h5,
html[lang="he-IL"] h6 {
	font-weight: 700;
}

/* Typography for Japanese Font */

html[lang="ja"] body,
html[lang="ja"] button,
html[lang="ja"] input,
html[lang="ja"] select,
html[lang="ja"] textarea {
	font-family: "Hiragino Kaku Gothic Pro", Meiryo, sans-serif;
}

html[lang="ja"] h1,
html[lang="ja"] h2,
html[lang="ja"] h3,
html[lang="ja"] h4,
html[lang="ja"] h5,
html[lang="ja"] h6 {
	font-weight: 700;
}

/* Typography for Korean font */

html[lang="ko-KR"] body,
html[lang="ko-KR"] button,
html[lang="ko-KR"] input,
html[lang="ko-KR"] select,
html[lang="ko-KR"] textarea {
	font-family: "Apple SD Gothic Neo", "Malgun Gothic", "Nanum Gothic", Dotum, sans-serif;
}

html[lang="ko-KR"] h1,
html[lang="ko-KR"] h2,
html[lang="ko-KR"] h3,
html[lang="ko-KR"] h4,
html[lang="ko-KR"] h5,
html[lang="ko-KR"] h6 {
	font-weight: 600;
}

/* Typography for Thai Font */

html[lang="th"] h1,
html[lang="th"] h2,
html[lang="th"] h3,
html[lang="th"] h4,
html[lang="th"] h5,
html[lang="th"] h6 {
	line-height: 1.65;
	font-family: "Sukhumvit Set", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

html[lang="th"] body,
html[lang="th"] button,
html[lang="th"] input,
html[lang="th"] select,
html[lang="th"] textarea {
	line-height: 1.8;
	font-family: "Sukhumvit Set", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* Remove letter-spacing for all non-latin alphabets */

html[lang="ar"] *,
html[lang="ary"] *,
html[lang="azb"] *,
html[lang="haz"] *,
html[lang="ps"] *,
html[lang^="zh-"] *,
html[lang="bg-BG"] *,
html[lang="ru-RU"] *,
html[lang="uk"] *,
html[lang="bn-BD"] *,
html[lang="hi-IN"] *,
html[lang="mr-IN"] *,
html[lang="el"] *,
html[lang="gu-IN"] *,
html[lang="he-IL"] *,
html[lang="ja"] *,
html[lang="ko-KR"] *,
html[lang="th"] * {
	letter-spacing: 0 !important;
}

/*--------------------------------------------------------------
6.0 Forms
--------------------------------------------------------------*/

label {
	color: #333;
	display: block;
	font-weight: 800;
	margin-bottom: 0.5em;
}

fieldset {
	margin-bottom: 1em;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	background: #fff;
	border: 1px solid #ddd;
	-webkit-border-radius: 0px;
	border-radius: 0px;
	display: block;
	padding: 0.7em;
	width: 100%;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #222;
	border-color: #333;
}

select {
    border: 1px solid #ddd;
    -webkit-border-radius: 0px;
    border-radius: 0px;
    height: 2em;
    max-width: 100%;
    padding: 0px 5px;
}

input[type="radio"],
input[type="checkbox"] {
	margin-right: 0.5em;
}

input[type="radio"] + label,
input[type="checkbox"] + label {
	font-weight: 400;
}

button,
input[type="button"],
input[type="submit"] {
	background-color: #222;
	border: 0;
	-webkit-border-radius: 2px;
	border-radius: 2px;
	-webkit-box-shadow: none;
	box-shadow: none;
	color: #fff;
	cursor: pointer;
	display: inline-block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: 800;
	line-height: 1;
	padding: 1em 2em;
	text-shadow: none;
	-webkit-transition: background 0.2s;
	transition: background 0.2s;
}

input + button,
input + input[type="button"],
input + input[type="submit"] {
	padding: 0.75em 2em;
}

button.secondary,
input[type="reset"],
input[type="button"].secondary,
input[type="reset"].secondary,
input[type="submit"].secondary {
	background-color: #ddd;
	color: #222;
}

button:hover,
button:focus,
input[type="button"]:hover,
input[type="button"]:focus,
input[type="submit"]:hover,
input[type="submit"]:focus {
	background: #767676;
}

button.secondary:hover,
button.secondary:focus,
input[type="reset"]:hover,
input[type="reset"]:focus,
input[type="button"].secondary:hover,
input[type="button"].secondary:focus,
input[type="reset"].secondary:hover,
input[type="reset"].secondary:focus,
input[type="submit"].secondary:hover,
input[type="submit"].secondary:focus {
	background: #bbb;
}

/* Placeholder text color -- selectors need to be separate to work. */
::-webkit-input-placeholder {
	color: #c3c3c3;
	font-family: "Roboto Condensed", "Helvetica Neue", helvetica, arial, sans-serif;
}

:-moz-placeholder {
	color: #c3c3c3;
	font-family: "Roboto Condensed", "Helvetica Neue", helvetica, arial, sans-serif;
}

::-moz-placeholder {
	color: #c3c3c3;
	font-family: "Roboto Condensed", "Helvetica Neue", helvetica, arial, sans-serif;
	opacity: 1;
	/* Since FF19 lowers the opacity of the placeholder by default */
}

:-ms-input-placeholder {
	color: #c3c3c3;
	font-family: "Roboto Condensed", "Helvetica Neue", helvetica, arial, sans-serif;
}

/*--------------------------------------------------------------
7.0 Formatting
--------------------------------------------------------------*/

hr {
	background-color: #bbb;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

/*--------------------------------------------------------------
8.0 Lists
--------------------------------------------------------------*/

ul,
ol {
	margin: 0 0 1.5em 20px;
	padding: 0;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/*--------------------------------------------------------------
9.0 Tables
--------------------------------------------------------------*/

table {
	border-collapse: collapse;
	margin: 0 0 1.5em;
	width: 100%;
}

thead th {
	border-bottom: 2px solid #bbb;
	padding-bottom: 0.5em;
}

th {
	padding: 0.4em;
	text-align: left;
}

tr {
	border-bottom: 1px solid #eee;
}

td {
	padding: 0.4em;
}

th:first-child,
td:first-child {
	padding-left: 0;
}

th:last-child,
td:last-child {
	padding-right: 0;
}

/*--------------------------------------------------------------
10.0 Links
--------------------------------------------------------------*/

a {
	color: #4e5c5e;
	text-decoration: none;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	color: #ed6c05;
	outline: 0;
}
.single-post .post .entry-content a{
	color:#ed6c05;}

/* Hover effects */



.site-footer .widget-area a{
	color:#dfdfdf;
}





/* Fixes linked images */


.post-navigation a:focus .icon,
.post-navigation a:hover .icon {
	color: #222;
}

/*--------------------------------------------------------------
11.0 Featured Image Hover
--------------------------------------------------------------*/

.post-thumbnail {
	margin-bottom: 1em;
}

.post-thumbnail a img {
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-transition: opacity 0.2s;
	transition: opacity 0.2s;
}

.post-thumbnail a:hover img,
.post-thumbnail a:focus img {
	opacity: 0.7;
}

/*--------------------------------------------------------------
12.0 Navigation
--------------------------------------------------------------*/

.navigation-top {
	background: #fff;
/*
	border-bottom: 1px solid #eee;
	border-top: 1px solid #eee;
*/
	font-size: 16px;
	font-size: 1rem;
	position: relative;
}

.navigation-top .wrap {
	max-width: 1000px;
	padding: 0;
}

.navigation-top a {
	color: #222;
	font-weight: 600;
	-webkit-transition: color 0.2s;
	transition: color 0.2s;
}

.navigation-top .current-menu-item > a,
.navigation-top .current_page_item > a {
    background-color: #dedede;
    color: #666;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
}


.main-navigation {
	clear: both;
	display: block;
}

.main-navigation ul {
	background: #fff;
	list-style: none;
	margin: 0;
	padding: 0 1.5em;
	text-align: left;
}



.widget_nav_menu li { border: 0px!important;}
.widget_nav_menu ul.menu li a { font-weight: bold; text-transform: uppercase;}
.widget_nav_menu ul.sub-menu li a { font-weight: normal; text-transform: initial; font-size: 15px;}
.widget_nav_menu a { font-size: 16px;}
.widget_nav_menu .current-menu-item > a,
.widget_nav_menu .current_page_item > a {
    padding: 5px 20px;
    background-color:#dedede;
    color: #666;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
}



/* Hide the menu on small screens when JavaScript is available.
 * It only works with JavaScript.
 */

.js .main-navigation ul,
.main-navigation .menu-item-has-children > a > .icon,
.main-navigation .page_item_has_children > a > .icon,
.main-navigation ul a > .icon {
	display: none;
}

.main-navigation > div > ul {
	border-top: 1px solid #eee;
	padding: 0.75em 1.695em;
}

.js .main-navigation.toggled-on > div > ul,
.js .main-navigation.toggled > div > ul {
	display: block;
}

.main-navigation ul ul {
	padding: 0 0 0 1.5em;
}

.main-navigation ul ul.toggled-on,
.main-navigation ul ul.toggled {
	display: block;
}

.main-navigation ul ul a {
	letter-spacing: 0;
	padding: 0.4em 0;
	position: relative;
	text-transform: none;
}

.main-navigation li {
	border-bottom: 1px solid #eee;
	position: relative;
}

.main-navigation li li,
.main-navigation li:last-child {
	border: 0;
}

.main-navigation a {
	display: block;
	padding: 0.5em 0;
	text-decoration: none;
}

.main-navigation a:hover {
	color: #767676;
}

/* Menu toggle */

.menu-toggle {
	background-color: transparent;
	border: 0;
	-webkit-box-shadow: none;
	box-shadow: none;
	color: #222;
	display: none;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: 800;
	line-height: 1.5;
	margin: 1px auto 2px;
	padding: 1em;
	text-shadow: none;
}

/* Display the menu toggle when JavaScript is available. */

.js .menu-toggle {
	display: block;
}

.main-navigation.toggled-on ul.nav-menu,
.main-navigation.toggled ul.nav-menu {
	display: block;
}

.menu-toggle:hover,
.menu-toggle:focus {
	background-color: transparent;
	-webkit-box-shadow: none;
	box-shadow: none;
}

.menu-toggle:focus {
	outline: thin solid;
}

.menu-toggle .icon {
	margin-right: 0.5em;
	top: -2px;
}

.toggled-on .menu-toggle .icon-bars,
.toggled .menu-toggle .icon-bars,
.menu-toggle .icon-close {
	display: none;
}

.toggled-on .menu-toggle .icon-close,
.toggled .menu-toggle .icon-close {
	display: inline-block;
}

/* Dropdown Toggle */

.dropdown-toggle {
	background-color: transparent;
	border: 0;
	-webkit-box-shadow: none;
	box-shadow: none;
	color: #222;
	display: block;
	font-size: 16px;
	right: -0.5em;
	line-height: 1.5;
	margin: 0 auto;
	padding: 0.5em;
	position: absolute;
	text-shadow: none;
	top: 0;
}

.dropdown-toggle:hover,
.dropdown-toggle:focus {
	background: transparent;
}

.dropdown-toggle:focus {
	outline: thin dotted;
}

.dropdown-toggle.toggled-on .icon {
	-ms-transform: rotate(-180deg); /* IE 9 */
	-webkit-transform: rotate(-180deg); /* Chrome, Safari, Opera */
	transform: rotate(-180deg);
}

/* Scroll down arrow */

.site-header .menu-scroll-down {
	display: none;
}



/* Nowy, interaktywny styl menu bocznego (kontekstowego) */
.side-menu {
	margin: 12px 0 0 0;
	padding: 0;
}

.side-menu li {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

/* Główne pozycje menu */
.side-menu > li > a {
	display: block !important;
	padding: 10px 16px !important;
	font-weight: 600 !important;
	font-size: 15px !important;
	color: #475569 !important;
	text-transform: uppercase !important;
	border-left: 3px solid transparent !important;
	transition: all 0.2s ease-in-out !important;
	text-decoration: none !important;
}

/* Podpozycje (podmenu drugiego poziomu) */
.side-menu ul {
	margin: 0 !important;
	padding: 0 !important;
}

.side-menu ul li a {
	display: block !important;
	padding: 8px 16px 8px 24px !important; /* Wcięcie dla podpozycji */
	font-weight: 500 !important;
	font-size: 14.5px !important;
	color: #64748b !important;
	border-left: 3px solid transparent !important;
	transition: all 0.2s ease-in-out !important;
	text-decoration: none !important;
}

/* Efekt najechania myszą (Hover) */
.side-menu li a:hover {
	color: #0f172a !important;
	background-color: #f1f5f9 !important;
	padding-left: 24px !important; /* Przesunięcie o 8px w prawo dla głównych */
}

.side-menu ul li a:hover {
	padding-left: 32px !important; /* Przesunięcie o 8px w prawo dla podpozycji */
}

/* Aktywna pozycja w menu (Current Page) */
.side-menu li.current-menu-item > a {
	color: #0f172a !important;
	font-weight: 700 !important;
	background-color: #f8fafc !important;
	border-left-color: #ed6c05 !important; /* Pomarańczowy pasek akcentujący */
}

/* Aktywny rodzic (jeśli jesteśmy na głębszym poziomie) */
.side-menu li.current-menu-parent > a,
.side-menu li.current-menu-ancestor > a {
	color: #0f172a !important;
	font-weight: 700 !important;
}




/*--------------------------------------------------------------
13.0 Layout
--------------------------------------------------------------*/

html {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

*,
*:before,
*:after {
	/* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	-webkit-box-sizing: inherit;
	-moz-box-sizing: inherit;
	box-sizing: inherit;
}

body {
	background: #fff;
	/* Fallback for when there is no custom background color defined. */
}

#page {
	position: relative;
	word-wrap: break-word;
    overflow: visible !important;
}

.wrap {
	margin-left: auto;
	margin-right: auto;
	max-width: 700px;
	padding-left: 2em;
	padding-right: 2em;
}

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

/*--------------------------------------------------------------
13.1 Header
--------------------------------------------------------------*/

#masthead .wrap {
	position: relative;
}

.site-header {
	background-color: #fff;
	position: relative;
}

/* Site branding */

.site-branding {
	padding: 1em 0;
	position: relative;
	-webkit-transition: margin-bottom 0.2s;
	transition: margin-bottom 0.2s;
	z-index: 3;
}

.site-branding a {
	text-decoration: none;
	-webkit-transition: opacity 0.2s;
	transition: opacity 0.2s;
}

.site-branding a:hover,
.site-branding a:focus {
	opacity: 0.7;
}

.site-title {
	clear: none;
	font-size: 24px;
	font-size: 1.5rem;
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: 0.08em;
	margin: 0;
	padding: 0;
	text-transform: uppercase;
}

.site-title,
.site-title a {
	color: #222;
	opacity: 1; /* Prevent opacity from changing during selective refreshes in the customize preview */
}

body.has-header-image .site-title,
body.has-header-video .site-title,
body.has-header-image .site-title a,
body.has-header-video .site-title a {
	color: #fff;
}

.site-description {
	color: #666;
	font-size: 13px;
	font-size: 0.8125rem;
	margin-bottom: 0;
}

body.has-header-image .site-description,
body.has-header-video .site-description {
	color: #fff;
	opacity: 0.8;
}

.custom-logo-link {
	display: inline-block;
	padding-right: 1em;
	vertical-align: middle;
	width: auto;
}

.custom-logo-link img {
	display: inline-block;
	max-height: 80px;
	width: auto;
}

body.home.title-tagline-hidden.has-header-image .custom-logo-link img,
body.home.title-tagline-hidden.has-header-video .custom-logo-link img {
	max-height: 200px;
	max-width: 100%;
}

.custom-logo-link a:hover,
.custom-logo-link a:focus {
	opacity: 0.9;
}

body:not(.title-tagline-hidden) .site-branding-text {
	display: inline-block;
	vertical-align: middle;
}

.custom-header {
	position: relative;
}

.has-header-image.twentyseventeen-front-page .custom-header,
.has-header-video.twentyseventeen-front-page .custom-header,
.has-header-image.home.blog .custom-header,
.has-header-video.home.blog .custom-header {
	display: table;
	height: 300px;
	height: 75vh;
	width: 100%;
}

.custom-header-media {
	bottom: 0;
	left: 0;
	overflow: hidden;
	position: absolute;
	right: 0;
	top: 0;
	width: 100%;
}

.custom-header-media:before {
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#000000+0,000000+100&0+0,0.3+75 */
	background: -moz-linear-gradient(to top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 75%, rgba(0, 0, 0, 0.3) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(to top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 75%, rgba(0, 0, 0, 0.3) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 75%, rgba(0, 0, 0, 0.3) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#00000000", endColorstr="#4d000000", GradientType=0); /* IE6-9 */
	bottom: 0;
	content: "";
	display: block;
	height: 100%;
	left: 0;
	position: absolute;
	right: 0;
	z-index: 2;
}

.has-header-image .custom-header-media img,
.has-header-video .custom-header-media video,
.has-header-video .custom-header-media iframe {
	position: fixed;
	height: auto;
	left: 50%;
	max-width: 1000%;
	min-height: 100%;
	min-width: 100%;
	min-width: 100vw; /* vw prevents 1px gap on left that 100% has */
	width: auto;
	top: 50%;
	padding-bottom: 1px; /* Prevent header from extending beyond the footer */
	-ms-transform: translateX(-50%) translateY(-50%);
	-moz-transform: translateX(-50%) translateY(-50%);
	-webkit-transform: translateX(-50%) translateY(-50%);
	transform: translateX(-50%) translateY(-50%);
}

.wp-custom-header .wp-custom-header-video-button { /* Specificity prevents .color-dark button overrides */
	background-color: rgba(34, 34, 34, 0.5);
	border: 1px solid rgba(255, 255, 255, 0.6);
	color: rgba(255, 255, 255, 0.6);
	height: 45px;
	overflow: hidden;
	padding: 0;
	position: fixed;
	right: 30px;
	top: 30px;
	-webkit-transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, color 0.3s ease-in-out;
	transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, color 0.3s ease-in-out;
	width: 45px;
}

.wp-custom-header .wp-custom-header-video-button:hover,
.wp-custom-header .wp-custom-header-video-button:focus { /* Specificity prevents .color-dark button overrides */
	border-color: rgba(255, 255, 255, 0.8);
	background-color: rgba(34, 34, 34, 0.8);
	color: #fff;
}

.admin-bar .wp-custom-header-video-button {
	top: 62px;
}

.has-header-image:not(.twentyseventeen-front-page):not(.home) .custom-header-media img {
	bottom: 0;
	position: absolute;
	top: auto;
	-ms-transform: translateX(-50%) translateY(0);
	-moz-transform: translateX(-50%) translateY(0);
	-webkit-transform: translateX(-50%) translateY(0);
	transform: translateX(-50%) translateY(0);
}

/* For browsers that support 'object-fit' */
@supports ( object-fit: cover ) {
	.has-header-image .custom-header-media img,
	.has-header-video .custom-header-media video,
	.has-header-video .custom-header-media iframe,
	.has-header-image:not(.twentyseventeen-front-page):not(.home) .custom-header-media img {
		height: 100%;
		left: 0;
		-o-object-fit: cover;
		object-fit: cover;
		top: 0;
		-ms-transform: none;
		-moz-transform: none;
		-webkit-transform: none;
		transform: none;
		width: 100%;
	}
}

/* Hides div in Customizer preview when header images or videos change. */

body:not(.has-header-image):not(.has-header-video) .custom-header-media {
	display: none;
}

.has-header-image.twentyseventeen-front-page .site-branding,
.has-header-video.twentyseventeen-front-page .site-branding,
.has-header-image.home.blog .site-branding,
.has-header-video.home.blog .site-branding {
	display: table-cell;
	height: 100%;
	vertical-align: bottom;
}

/*--------------------------------------------------------------
13.2 Front Page
--------------------------------------------------------------*/

.twentyseventeen-front-page .site-content {
	padding: 0;
}

.twentyseventeen-panel {
	overflow: hidden;
	position: relative;
}

.panel-image {
	background-position: center center;
	background-repeat: no-repeat;
	-webkit-background-size: cover;
	background-size: cover;
	position: relative;
}

.panel-image:before {
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#000000+0,000000+100&0+0,0.3+100 */ /* FF3.6-15 */
	background: -webkit-linear-gradient(to top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 100%); /* Chrome10-25,Safari5.1-6 */
	background: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0)), to(rgba(0, 0, 0, 0.3)));
	background: -webkit-linear-gradient(to top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 100%);
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#00000000", endColorstr="#4d000000", GradientType=0); /* IE6-9 */
	bottom: 0;
	content: "";
	left: 0;
	right: 0;
	position: absolute;
	top: 100px;
}

.twentyseventeen-front-page article:not(.has-post-thumbnail):not(:first-child) {
	border-top: 1px solid #ddd;
}

.panel-content {
	position: relative;
}

.panel-content .wrap {
	padding-bottom: 0.5em;
	padding-top: 1.75em;
}

/* Panel edit link */

.twentyseventeen-panel .edit-link {
	display: block;
	margin: 0.3em 0 0;
}

.twentyseventeen-panel .entry-header .edit-link {
	font-size: 14px;
	font-size: 0.875rem;
}

/* Front Page - Recent Posts */

.twentyseventeen-front-page .panel-content .recent-posts article {
	border: 0;
	color: #333;
	margin-bottom: 3em;
}

.recent-posts .entry-header {
	margin-bottom: 1.2em;
}

.page .panel-content .recent-posts .entry-title {
	font-size: 20px;
	font-size: 1.25rem;
	font-weight: 300;
	letter-spacing: 0;
	text-transform: none;
}

.twentyseventeen-panel .recent-posts .entry-header .edit-link {
	color: #222;
	display: inline-block;
	font-size: 11px;
	font-size: 0.6875rem;
	margin-left: 1em;
}

/*--------------------------------------------------------------
13.3 Regular Content
--------------------------------------------------------------*/

.site-content-contain {
	background-color: #fff;
	position: relative;
}

.site-content {
	padding: 2.5em 0 0;
}

/*--------------------------------------------------------------
13.4 Posts
--------------------------------------------------------------*/

/* Post Landing Page */

.sticky {
	position: relative;
}

.post:not(.sticky) .icon-thumb-tack {
	display: none;
}

.sticky .icon-thumb-tack {
	display: block;
	height: 18px;
	left: -1.5em;
	position: absolute;
	top: 1.65em;
	width: 20px;
}

.page .panel-content .entry-title,
.page-title,
body.page:not(.twentyseventeen-front-page) .entry-title {
	color: #666;
/*	font-size: 14px;*/
	font-size: 0.875rem;
	font-weight: 800;
/*	letter-spacing: 0.14em;*/
	text-transform: uppercase;
}

.entry-header .entry-title {
	margin-bottom: 0.25em;
}

.entry-title a {
	color: #333;
	text-decoration: none;
	margin-left: -2px;
}

.entry-title:not(:first-child) {
	padding-top: 0;
}

.entry-meta {
	color: #767676;
	font-size: 11px;
	font-size: 0.6875rem;
	font-weight: 800;
	letter-spacing: 0.1818em;
	padding-bottom: 0.25em;
	text-transform: uppercase;
}

.entry-meta a {
	color: #767676;
}

.byline,
.updated:not(.published) {
	display: none;
}

.single .byline,
.group-blog .byline {
	display: inline;
}

.pagination,
.comments-pagination {
	border-top: 1px solid #eee;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: 800;
	padding: 2em 0 3em;
	text-align: center;
}

.pagination .icon,
.comments-pagination .icon {
	width: 0.666666666em;
	height: 0.666666666em;
}

.comments-pagination {
	border: 0;
}

.page-numbers {
	display: none;
	padding: 0.5em 0.75em;
}

.page-numbers.current {
	color: #767676;
	display: inline-block;
}

.page-numbers.current .screen-reader-text {
	clip: auto;
	height: auto;
	overflow: auto;
	position: relative !important;
	width: auto;
}

.prev.page-numbers,
.next.page-numbers {
	background-color: #ddd;
	-webkit-border-radius: 2px;
	border-radius: 2px;
	display: inline-block;
	font-size: 24px;
	font-size: 1.5rem;
	line-height: 1;
	padding: 0.25em 0.5em 0.4em;
}

.prev.page-numbers,
.next.page-numbers {
	-webkit-transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, color 0.3s ease-in-out;
	transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, color 0.3s ease-in-out;
}

.prev.page-numbers:focus,
.prev.page-numbers:hover,
.next.page-numbers:focus,
.next.page-numbers:hover {
	background-color: #767676;
	color: #fff;
}

.prev.page-numbers {
	float: left;
}

.next.page-numbers {
	float: right;
}

/* Aligned blockquotes */

.entry-content blockquote.alignleft,
.entry-content blockquote.alignright {
	color: #666;
	font-size: 13px;
	font-size: 0.8125rem;
	width: 48%;
}

/* Blog landing, search, archives */

.blog .site-main > article,
.archive .site-main > article,
.search .site-main > article {
	padding-bottom: 2em;
}

body:not(.twentyseventeen-front-page) .entry-header {
	padding: 1em 0;
}

body:not(.twentyseventeen-front-page) .entry-header,
body:not(.twentyseventeen-front-page) .entry-content,
body:not(.twentyseventeen-front-page) #comments {
	margin-left: auto;
	margin-right: auto;
}

body:not(.twentyseventeen-front-page) .entry-header {
	padding-top: 0;
}

.blog .entry-meta a.post-edit-link,
.archive .entry-meta a.post-edit-link,
.search .entry-meta a.post-edit-link {
	color: #222;
	display: inline-block;
	margin-left: 1em;
	white-space: nowrap;
}

.search .page .entry-meta a.post-edit-link {
	margin-left: 0;
	white-space: nowrap;
}

.taxonomy-description {
	color: #666;
	font-size: 13px;
	font-size: 0.8125rem;
}

/* More tag */

.entry-content .more-link:before {
	content: "";
/*	display: block;*/
	margin-top: 1.5em;
}

/* Single Post */

.single-post:not(.has-sidebar) #primary,
.page.page-one-column:not(.twentyseventeen-front-page) #primary,
.archive.page-one-column:not(.has-sidebar) .page-header,
.archive.page-one-column:not(.has-sidebar) #primary {
	margin-left: auto;
	margin-right: auto;
	max-width: 1300px;
}

.single-featured-image-header {
	background-color: #fafafa;
	border-bottom: 1px solid #eee;
}

.single-featured-image-header img {
	display: block;
	margin: auto;
}

.page-links {
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: 800;
	padding: 2em 0 3em;
}

.page-links .page-number {
	color: #767676;
	display: inline-block;
	padding: 0.5em 1em;
}

.page-links a {
	display: inline-block;
}

.page-links a .page-number {
	color: #222;
}

/* Entry footer */

.entry-footer {
	border-bottom: 1px solid #eee;
	border-top: 1px solid #eee;
	margin-top: 2em;
	padding: 2em 0;
}

.entry-footer .cat-links,
.entry-footer .tags-links {
	display: block;
	font-size: 11px;
	font-size: 0.6875rem;
	font-weight: 800;
	letter-spacing: 0.1818em;
	padding-left: 2.5em;
	position: relative;
	text-transform: uppercase;
}

.entry-footer .cat-links + .tags-links {
	margin-top: 1em;
}

.entry-footer .cat-links a,
.entry-footer .tags-links a {
	color: #333;
}

.entry-footer .cat-links .icon,
.entry-footer .tags-links .icon {
	color: #767676;
	left: 0;
	margin-right: 0.5em;
	position: absolute;
	top: 2px;
}

.entry-footer .edit-link {
	display: inline-block;
}

.entry-footer .edit-link a.post-edit-link {
	background-color: #222;
	-webkit-border-radius: 2px;
	border-radius: 2px;
	-webkit-box-shadow: none;
	box-shadow: none;
	color: #fff;
	display: inline-block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: 800;
	margin-top: 2em;
	padding: 0.7em 2em;
	-webkit-transition: background-color 0.2s ease-in-out;
	transition: background-color 0.2s ease-in-out;
	white-space: nowrap;
}

.entry-footer .edit-link a.post-edit-link:hover,
.entry-footer .edit-link a.post-edit-link:focus {
	background-color: #767676;
}

/* Post Formats */

.blog .format-status .entry-title,
.archive .format-status .entry-title,
.blog .format-aside .entry-title,
.archive .format-aside .entry-title {
	display: none;
}

.format-quote blockquote {
	color: #333;
	font-size: 20px;
	font-size: 1.25rem;
	font-weight: 300;
	overflow: visible;
	position: relative;
}

.format-quote blockquote .icon {
	display: block;
	height: 20px;
	left: -1.25em;
	position: absolute;
	top: 0.4em;
	-webkit-transform: scale(-1, 1);
	-ms-transform: scale(-1, 1);
	transform: scale(-1, 1);
	width: 20px;
}

/* Post Navigation */

.post-navigation {
	font-weight: 800;
	margin: 3em 0;
}

.post-navigation .nav-links {
	padding: 1em 0;
}

.nav-subtitle {
	background: transparent;
	color: #767676;
	display: block;
	font-size: 11px;
	font-size: 0.6875rem;
	letter-spacing: 0.1818em;
	margin-bottom: 1em;
	text-transform: uppercase;
}

.nav-title {
	color: #333;
	font-size: 15px;
	font-size: 0.9375rem;
}

.post-navigation .nav-next {
	margin-top: 1.5em;
}

.nav-links .nav-previous .nav-title .nav-title-icon-wrapper {
	margin-right: 0.5em;
}

.nav-links .nav-next .nav-title .nav-title-icon-wrapper {
	margin-left: 0.5em;
}

/*--------------------------------------------------------------
13.5 Pages
--------------------------------------------------------------*/

.page-header {
	padding-bottom: 2em;
}

.page .entry-header .edit-link {
	font-size: 14px;
	font-size: 0.875rem;
}

.search .page .entry-header .edit-link {
	font-size: 11px;
	font-size: 0.6875rem;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

.page:not(.home) #content {
	padding-bottom: 1.5em;
}

/* 404 page */

.error404 .page-content {
	padding-bottom: 4em;
}

.error404 .page-content .search-form,
.search .page-content .search-form {
	margin-bottom: 3em;
}

/*--------------------------------------------------------------
13.6 Footer
--------------------------------------------------------------*/

.site-footer {
	border-top: 1px solid #eee;
}

.site-footer .wrap {
	padding-bottom: 1.5em;
	padding-top: 2em;
}

/* Footer widgets */

.site-footer .widget-area {
	padding-bottom: 2em;
	padding-top: 2em;
}

/* Social nav */

.social-navigation {
	font-size: 16px;
	font-size: 1rem;
	margin-bottom: 1em;
}

.social-navigation ul {
	list-style: none;
	margin-bottom: 0;
	margin-left: 0;
}

.social-navigation li {
	display: inline;
}

.social-navigation a {
	background-color: #767676;
	-webkit-border-radius: 40px;
	border-radius: 40px;
	color: #fff;
	display: inline-block;
	height: 40px;
	margin: 0 1em 0.5em 0;
	text-align: center;
	width: 40px;
}

.social-navigation a:hover,
.social-navigation a:focus {
	background-color: #333;
}

.social-navigation .icon {
	height: 16px;
	top: 12px;
	width: 16px;
	vertical-align: top;
}

/* Site info */

.site-info {
	font-size: 14px;
	font-size: 0.875rem;
	margin-bottom: 1em;
}

.site-info a {
	color: #666;
}

.site-info .sep {
	margin: 0;
	display: block;
	visibility: hidden;
	height: 0;
	width: 100%;
}

.site-info span[role=separator] {
	padding: 0 0.2em 0 0.4em;
}

.site-info span[role=separator]::before {
	content: '\002f';
}

/*--------------------------------------------------------------
14.0 Comments
--------------------------------------------------------------*/

#comments {
	clear: both;
	padding: 2em 0 0.5em;
}

.comments-title {
	font-size: 20px;
	font-size: 1.25rem;
	margin-bottom: 1.5em;
}

.comment-list,
.comment-list .children {
	list-style: none;
	margin: 0;
	padding: 0;
}

.comment-list li:before {
	display: none;
}

.comment-body {
	margin-left: 65px;
}

.comment-author {
	font-size: 16px;
	font-size: 1rem;
	margin-bottom: 0.4em;
	position: relative;
	z-index: 2;
}

.comment-author .avatar {
	height: 50px;
	left: -65px;
	position: absolute;
	width: 50px;
}

.comment-author .says {
	display: none;
}

.comment-meta {
	margin-bottom: 1.5em;
}

.comment-metadata {
	color: #767676;
	font-size: 10px;
	font-size: 0.625rem;
	font-weight: 800;
	letter-spacing: 0.1818em;
	text-transform: uppercase;
}

.comment-metadata a {
	color: #767676;
}

.comment-metadata a.comment-edit-link {
	color: #222;
	margin-left: 1em;
}

.comment-body {
	color: #333;
	font-size: 14px;
	font-size: 0.875rem;
	margin-bottom: 4em;
}

.comment-reply-link {
	font-weight: 800;
	position: relative;
}

.comment-reply-link .icon {
	color: #222;
	left: -2em;
	height: 1em;
	position: absolute;
	top: 0;
	width: 1em;
}

.children .comment-author .avatar {
	height: 30px;
	left: -45px;
	width: 30px;
}

.bypostauthor > .comment-body > .comment-meta > .comment-author .avatar {
	border: 1px solid #333;
	padding: 2px;
}

.no-comments,
.comment-awaiting-moderation {
	color: #767676;
	font-size: 14px;
	font-size: 0.875rem;
	font-style: italic;
}

.comments-pagination {
	margin: 2em 0 3em;
}

.form-submit {
	text-align: right;
}

.comment-form #wp-comment-cookies-consent {
	margin: 0 10px 0 0;
}

.comment-form .comment-form-cookies-consent label {
	display: inline;
}

/*--------------------------------------------------------------
15.0 Widgets
--------------------------------------------------------------*/

#secondary {
	padding: 1em 0 2em;
}

.widget {
	padding-bottom: 3em;
}

h2.widget-title {
	color: #666;
	font-size: 16px;
	font-weight: 800;

	margin-bottom: 1.5em;
	text-transform: uppercase;
}

.widget-title a {
	color: inherit;
}

/* widget forms */

.widget select {
	width: 100%;
}


/* widget lists */

.widget ul {
	list-style: none;
	margin: 0;
}

.widget ul li,
.widget ol li {
	border-bottom: 1px solid #ddd;
	border-top: 1px solid #ddd;
	padding: 0.5em 0;
}

.widget:not(.widget_tag_cloud) ul li + li {
	margin-top: -1px;
}

.widget ul li ul {
	margin: 0 0 -1px;
	padding: 0;
	position: relative;
}

.widget ul li li {
	border: 0;
	padding-left: 24px;
	padding-left: 1.5rem;
}

/* Widget lists of links */

.widget_top-posts ul li ul,
.widget_rss_links ul li ul,
.widget-grofile ul.grofile-links li ul,
.widget_pages ul li ul,
.widget_meta ul li ul {
	bottom: 0;
}

.widget_nav_menu ul li li,
.widget_top-posts ul li,
.widget_top-posts ul li li,
.widget_rss_links ul li,
.widget_rss_links ul li li,
.widget-grofile ul.grofile-links li,
.widget-grofile ul.grofile-links li li {
	padding-bottom: 0.25em;
	padding-top: 0.25em;
}

.widget_rss ul li {
	padding-bottom: 1em;
	padding-top: 1em;
}

/* Widget markup */

.widget .post-date,
.widget .rss-date {
	font-size: 0.81em;
}

/* Text widget */

.widget_text {
	word-wrap: break-word;
}

.widget_text ul {
	list-style: disc;
	margin: 0 0 1.5em 1.5em;
}

.widget_text ol {
	list-style: decimal;
}

.widget_text ul li,
.widget_text ol li {
	border: none;
}

.widget_text ul li:last-child,
.widget_text ol li:last-child {
	padding-bottom: 0;
}

.widget_text ul li ul {
	margin: 0 0 0 1.5em;
}

.widget_text ul li li {
	padding-left: 0;
	padding-right: 0;
}

.widget_text ol li {
	list-style-position: inside;
}

.widget_text ol li + li {
	margin-top: -1px;
}

/* RSS Widget */

.widget_rss .widget-title .rsswidget:first-child {
	float: right;
}

.widget_rss .widget-title .rsswidget:first-child:hover {
	background-color: transparent;
}

.widget_rss .widget-title .rsswidget:first-child img {
	display: block;
}

.widget_rss ul li {
	padding: 2.125em 0;
}

.widget_rss ul li:first-child {
	border-top: none;
	padding-top: 0;
}

.widget_rss li .rsswidget {
	font-size: 22px;
	font-size: 1.375rem;
	font-weight: 300;
	line-height: 1.4;
}

.widget_rss .rss-date,
.widget_rss li cite {
	color: #767676;
	display: block;
	font-size: 10px;
	font-size: 0.625rem;
	font-style: normal;
	font-weight: 800;
	letter-spacing: 0.18em;
	line-height: 1.5;
	text-transform: uppercase;
}

.widget_rss .rss-date {
	margin: 0.5em 0 1.5em;
	padding: 0;
}

.widget_rss .rssSummary {
	margin-bottom: 0.5em;
}

/* Contact Info Widget */

.widget_contact_info .contact-map {
	margin-bottom: 0.5em;
}

/* Gravatar */

.widget-grofile h4 {
	font-size: 16px;
	font-size: 1rem;
	margin-bottom: 0;
}

/* Recent Comments */

.widget_recent_comments table,
.widget_recent_comments th,
.widget_recent_comments td {
	border: 0;
}

/* Recent Posts widget */

.widget_recent_entries .post-date {
	display: block;
}

/* Search */

.search-form {
	position: relative;
}

.search-form .search-submit {
	bottom: 3px;
	padding: 0.5em 1em;
	position: absolute;
	right: 3px;
	top: 3px;
}

.search-form .search-submit .icon {
	height: 24px;
	top: -2px;
	width: 24px;
}

/* Tag cloud widget */

.tagcloud ul li {
	float: left;
	border-top: 0;
	border-bottom: 0;
	padding: 0;
	margin: 4px 4px 0 0;
}

.tagcloud,
.widget_tag_cloud,
.wp_widget_tag_cloud {
	line-height: 1.5;
}

.widget .tagcloud a,
.widget.widget_tag_cloud a,
.wp_widget_tag_cloud a {
	border: 1px solid #ddd;
	-webkit-box-shadow: none;
	box-shadow: none;
	display: block;
	padding: 4px 10px 5px;
	position: relative;
	-webkit-transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, color 0.3s ease-in-out;
	transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, color 0.3s ease-in-out;
	width: auto;
	word-wrap: break-word;
	z-index: 0;
}

.widget .tagcloud a:hover,
.widget .tagcloud a:focus,
.widget.widget_tag_cloud a:hover,
.widget.widget_tag_cloud a:focus,
.wp_widget_tag_cloud a:hover,
.wp_widget_tag_cloud a:focus {
	border-color: #bbb;
	-webkit-box-shadow: none;
	box-shadow: none;
	text-decoration: none;
}

/* Calendar widget */

.widget_calendar th,
.widget_calendar td {
	text-align: center;
}

.widget_calendar tfoot td {
	border: 0;
}

/* Gallery widget */

.gallery-columns-5 .gallery-caption,
.gallery-columns-6 .gallery-caption,
.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
	display: none;
}

/*--------------------------------------------------------------
16.0 Media
--------------------------------------------------------------*/

img,
video {
	height: auto; /* Make sure images are scaled correctly. */
	max-width: 100%; /* Adhere to container width. */
}

.category-posts img,
.category-posts video {
	height: auto; /* Make sure images are scaled correctly. */
	max-width: 100%; /* Adhere to container width. */
    width: 100%;
}

img.alignleft,
img.alignright {
	float: none;
	margin: 0;
}

.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure embeds and iframes fit their containers. */

embed,
iframe,
object {
	margin-bottom: 1.5em;
	max-width: 100%;
}

/* Remove bottom on embeds that wrapped in paragraphs via wpautop. */

p > embed:only-child,
p > iframe:only-child,
p > object:only-child {
	margin-bottom: 0;
}

.wp-caption,
.gallery-caption {
	color: #666;
	font-size: 13px;
	font-size: 0.8125rem;
	font-style: italic;
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

/* Media Elements */

.mejs-container {
	margin-bottom: 1.5em;
}

/* Audio Player */

.mejs-controls a.mejs-horizontal-volume-slider,
.mejs-controls a.mejs-horizontal-volume-slider:focus,
.mejs-controls a.mejs-horizontal-volume-slider:hover {
	background: transparent;
	border: 0;
}

/* Playlist Color Overrides: Light */

.site-content .wp-playlist-light {
	border-color: #eee;
	color: #222;
}

.site-content .wp-playlist-light .wp-playlist-current-item .wp-playlist-item-album {
	color: #333;
}

.site-content .wp-playlist-light .wp-playlist-current-item .wp-playlist-item-artist {
	color: #767676;
}

.site-content .wp-playlist-light .wp-playlist-item {
	border-bottom: 1px dotted #eee;
	-webkit-transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, color 0.3s ease-in-out;
	transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, color 0.3s ease-in-out;
}

.site-content .wp-playlist-light .wp-playlist-item:hover,
.site-content .wp-playlist-light .wp-playlist-item:focus {
	border-bottom-color: rgba(0, 0, 0, 0);
	background-color: #767676;
	color: #fff;
}

.site-content .wp-playlist-light a.wp-playlist-caption:hover,
.site-content .wp-playlist-light .wp-playlist-item:hover a,
.site-content .wp-playlist-light .wp-playlist-item:focus a {
	color: #fff;
}

/* Playlist Color Overrides: Dark */

.site-content .wp-playlist-dark {
	background: #222;
	border-color: #333;
}

.site-content .wp-playlist-dark .mejs-container .mejs-controls {
	background-color: #333;
}

.site-content .wp-playlist-dark .wp-playlist-caption {
	color: #fff;
}

.site-content .wp-playlist-dark .wp-playlist-current-item .wp-playlist-item-album {
	color: #eee;
}

.site-content .wp-playlist-dark .wp-playlist-current-item .wp-playlist-item-artist {
	color: #aaa;
}

.site-content .wp-playlist-dark .wp-playlist-playing {
	background-color: #333;
}

.site-content .wp-playlist-dark .wp-playlist-item {
	border-bottom: 1px dotted #555;
	-webkit-transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, color 0.3s ease-in-out;
	transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, color 0.3s ease-in-out;
}

.site-content .wp-playlist-dark .wp-playlist-item:hover,
.site-content .wp-playlist-dark .wp-playlist-item:focus {
	border-bottom-color: rgba(0, 0, 0, 0);
	background-color: #aaa;
	color: #222;
}

.site-content .wp-playlist-dark a.wp-playlist-caption:hover,
.site-content .wp-playlist-dark .wp-playlist-item:hover a,
.site-content .wp-playlist-dark .wp-playlist-item:focus a {
	color: #222;
}

/* Playlist Style Overrides */

.site-content .wp-playlist {
	padding: 0.625em 0.625em 0.3125em;
}

.site-content .wp-playlist-current-item .wp-playlist-item-title {
	font-weight: 700;
}

.site-content .wp-playlist-current-item .wp-playlist-item-album {
	font-style: normal;
}

.site-content .wp-playlist-current-item .wp-playlist-item-artist {
	font-size: 10px;
	font-size: 0.625rem;
	font-weight: 800;
	letter-spacing: 0.1818em;
	text-transform: uppercase;
}

.site-content .wp-playlist-item {
	padding: 0 0.3125em;
	cursor: pointer;
}

.site-content .wp-playlist-item:last-of-type {
	border-bottom: none;
}

.site-content .wp-playlist-item a {
	padding: 0.3125em 0;
	border-bottom: none;
}

.site-content .wp-playlist-item a,
.site-content .wp-playlist-item a:focus,
.site-content .wp-playlist-item a:hover {
	-webkit-box-shadow: none;
	box-shadow: none;
	background: transparent;
}

.site-content .wp-playlist-item-length {
	top: 5px;
}

/* SVG Icons base styles */

.icon {
	display: inline-block;
	fill: currentColor;
	height: 1em;
	position: relative; /* Align more nicely with capital letters */
	top: -0.0625em;
	vertical-align: middle;
	width: 1em;
}

/*--------------------------------------------------------------
16.1 Galleries
--------------------------------------------------------------*/

.gallery-item {
	display: inline-block;
	text-align: left;
	vertical-align: top;
	margin: 0 0 1.5em;
	padding: 0 1em 0 0;
	width: 50%;
}

.gallery-columns-1 .gallery-item {
	width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-item a,
.gallery-item a:hover,
.gallery-item a:focus,
.widget-area .gallery-item a,
.widget-area .gallery-item a:hover,
.widget-area .gallery-item a:focus {
	-webkit-box-shadow: none;
	box-shadow: none;
	background: none;
	display: inline-block;
	max-width: 100%;
}

.gallery-item a img {
	display: block;
	-webkit-transition: -webkit-filter 0.2s ease-in;
	transition: -webkit-filter 0.2s ease-in;
	transition: filter 0.2s ease-in;
	transition: filter 0.2s ease-in, -webkit-filter 0.2s ease-in;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.gallery-item a:hover img,
.gallery-item a:focus img {
	-webkit-filter: opacity(60%);
	filter: opacity(60%);
}

.gallery-caption {
	display: block;
	text-align: left;
	padding: 0 10px 0 0;
	margin-bottom: 0;
}

/*--------------------------------------------------------------
17.0 Customizer
--------------------------------------------------------------*/

.highlight-front-sections.twentyseventeen-customizer.twentyseventeen-front-page .twentyseventeen-panel:after {
	border: 2px dashed #0085ba; /* Matches visible edit shortcuts. */
	bottom: 1em;
	content: "";
	display: block;
	left: 1em;
	position: absolute;
	right: 1em;
	top: 1em;
	z-index: 1;
}

.highlight-front-sections.twentyseventeen-customizer.twentyseventeen-front-page .twentyseventeen-panel .panel-content {
	z-index: 2; /* Prevent :after from preventing interactions within the section */
}

/* Used for placeholder text */
.twentyseventeen-customizer.twentyseventeen-front-page .twentyseventeen-panel .twentyseventeen-panel-title {
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 1px;
	padding: 3em;
	text-transform: uppercase;
	text-align: center;
}

/* Show borders on the custom page panels only when the front page sections are being edited */
.highlight-front-sections.twentyseventeen-customizer.twentyseventeen-front-page .twentyseventeen-panel:nth-of-type(1):after {
	border: none;
}

.twentyseventeen-front-page.twentyseventeen-customizer #primary article.panel-placeholder {
	border: 0;
}

/* Add some space around the visual edit shortcut buttons. */
.twentyseventeen-panel > .customize-partial-edit-shortcut > button {
	top: 30px;
	left: 30px;
}

/* Ensure that placeholder icons are visible. */
.twentyseventeen-panel .customize-partial-edit-shortcut-hidden:before {
	visibility: visible;
}

/*--------------------------------------------------------------
18.0 SVGs Fallbacks
--------------------------------------------------------------*/

.svg-fallback {
	display: none;
}

.no-svg .svg-fallback {
	display: inline-block;
}

.no-svg .dropdown-toggle {
	padding: 0.5em 0 0;
	right: 0;
	text-align: center;
	width: 2em;
}

.no-svg .dropdown-toggle .svg-fallback.icon-angle-down {
	font-size: 20px;
	font-size: 1.25rem;
	font-weight: 400;
	line-height: 1;
	-webkit-transform: rotate(180deg); /* Chrome, Safari, Opera */
	-ms-transform: rotate(180deg); /* IE 9 */
	transform: rotate(180deg);
}

.no-svg .dropdown-toggle.toggled-on .svg-fallback.icon-angle-down {
	-webkit-transform: rotate(0); /* Chrome, Safari, Opera */
	-ms-transform: rotate(0); /* IE 9 */
	transform: rotate(0);
}

.no-svg .dropdown-toggle .svg-fallback.icon-angle-down:before {
	content: "\005E";
}

/* Social Menu fallbacks */

.no-svg .social-navigation a {
	background: transparent;
	color: #222;
	height: auto;
	width: auto;
}

/* Show screen reader text in some cases */

.no-svg .next.page-numbers .screen-reader-text,
.no-svg .prev.page-numbers .screen-reader-text,
.no-svg .social-navigation li a .screen-reader-text,
.no-svg .search-submit .screen-reader-text {
	clip: auto;
	font-size: 16px;
	font-size: 1rem;
	font-weight: 400;
	height: auto;
	position: relative !important; /* overrides previous !important styles */
	width: auto;
}

/*--------------------------------------------------------------
19.0 Media Queries
--------------------------------------------------------------*/

/* Adjust positioning of edit shortcuts, override style in customize-preview.css */
@media screen and (min-width: 20em) {

	body.customize-partial-edit-shortcuts-shown .site-header .site-title {
		padding-left: 0;
	}
}

@media screen and (min-width: 30em) {

	/* Typography */

	body,
	button,
	input,
	select,
	textarea {
		font-size: 18px;
		font-size: 1.125rem;
	}

	h1 {
		font-size: 30px;
		font-size: 1.875rem;
	}

	h2,
	.home.blog .entry-title,
	.page .panel-content .recent-posts .entry-title {
		font-size: 40px;
		font-size: 2.5rem;
	}

	h3 {
		font-size: 22px;
		font-size: 1.375rem;
	}

	h4 {
		font-size: 18px;
		font-size: 1.125rem;
	}

	h5 {
		font-size: 13px;
		font-size: 0.8125rem;
	}

	h6 {
		font-size: 16px;
		font-size: 1rem;
	}

	.entry-content blockquote.alignleft,
	.entry-content blockquote.alignright {
		font-size: 14px;
		font-size: 0.875rem;
	}

	/* Fix image alignment */
	img.alignleft {
		float: left;
		margin-right: 1.5em;
	}

	img.alignright {
		float: right;
		margin-left: 1.5em;
	}

	/* Site Branding */

	.site-branding {
		padding: 3em 0;
	}

	/* Front Page */

	.panel-content .wrap {
		padding-bottom: 2em;
		padding-top: 3.5em;
	}

	.page-one-column .panel-content .wrap {
		max-width: 740px;
	}

	.panel-content .entry-header {
		margin-bottom: 4.5em;
	}

	.panel-content .recent-posts .entry-header {
		margin-bottom: 0;
	}

	/* Blog Index, Archive, Search */

	.taxonomy-description {
		font-size: 14px;
		font-size: 0.875rem;
	}

	.page-numbers.current {
		font-size: 16px;
		font-size: 1rem;
	}

	/* Site Footer */

	.site-footer {
		font-size: 16px;
		font-size: 1rem;
	}

	/* Gallery Columns */

	.gallery-item {
		max-width: 25%;
	}

	.gallery-columns-1 .gallery-item {
		max-width: 100%;
	}

	.gallery-columns-2 .gallery-item {
		max-width: 50%;
	}

	.gallery-columns-3 .gallery-item {
		max-width: 33.33%;
	}

	.gallery-columns-4 .gallery-item {
		max-width: 25%;
	}
}

@media screen and (min-width: 48em) {

	/* Typography */

	body,
	button,
	input,
	select,
	textarea {
		font-size: 16px;
		font-size: 1rem;
		line-height: 1.5;
	}

	.entry-content blockquote.alignleft,
	.entry-content blockquote.alignright {
		font-size: 13px;
		font-size: 0.8125rem;
	}

	/* Layout */

	.wrap {
		max-width: 1300px;
		padding-left: 3em;
		padding-right: 3em;
	}

	.has-sidebar:not(.error404) #primary {
		float: left;
		width: 70%;
	}

	.has-sidebar #secondary {
	    float: right;
	    padding-top: 0;
	    width: 30%;
	    overflow: hidden;
	    padding-left: 80px!important;
	}

	.error404 #primary {
		float: none;
	}

	/* Site Branding */

	.site-branding {
		margin-bottom: 0;
	}

	.has-header-image.twentyseventeen-front-page .site-branding,
	.has-header-video.twentyseventeen-front-page .site-branding,
	.has-header-image.home.blog .site-branding,
	.has-header-video.home.blog .site-branding {
		bottom: 0;
		display: block;
		left: 0;
		height: auto;
		padding-top: 0;
		position: absolute;
		width: 100%;
	}

	.has-header-image.twentyseventeen-front-page .custom-header,
	.has-header-video.twentyseventeen-front-page .custom-header,
	.has-header-image.home.blog .custom-header,
	.has-header-video.home.blog .custom-header {
		display: block;
		height: auto;
	}

	.custom-header-media {
		height: 165px;
		position: relative;
	}

	.twentyseventeen-front-page.has-header-image .custom-header-media,
	.twentyseventeen-front-page.has-header-video .custom-header-media,
	.home.blog.has-header-image .custom-header-media,
	.home.blog.has-header-video .custom-header-media {
		height: 0;
		position: relative;
	}

	.has-header-image:not(.twentyseventeen-front-page):not(.home) .custom-header-media,
	.has-header-video:not(.twentyseventeen-front-page):not(.home) .custom-header-media {
		bottom: 0;
		height: auto;
		left: 0;
		position: absolute;
		right: 0;
		top: 0;
	}

	.custom-logo-link {
		padding-right: 2em;
	}

	.custom-logo-link img,
	body.home.title-tagline-hidden.has-header-image .custom-logo-link img,
	body.home.title-tagline-hidden.has-header-video .custom-logo-link img {
		max-width: 280px;
	}

	.title-tagline-hidden.home.has-header-image .custom-logo-link img,
	.title-tagline-hidden.home.has-header-video .custom-logo-link img {
		max-height: 200px;
	}

	.site-title {
		font-size: 36px;
		font-size: 2.25rem;
	}

	.site-description {
		font-size: 16px;
		font-size: 1rem;
	}


    
	/* Navigation */

	.navigation-top {
		bottom: 0;
		font-size: 14px;
		font-size: 0.875rem;
		left: 0;
		/*position: absolute;*/
		right: 0;
		width: 100%;
		z-index: 3;
	}

	.navigation-top .wrap {
		max-width: 1300px;
		/* The font size is 14px here and we need 50px padding in ems */
		padding: 0.75em 10px;
	}

	.navigation-top nav {
		margin-left: -1.25em;
	}

	.site-navigation-fixed.navigation-top {
		bottom: auto;
		position: fixed;
		left: 0;
		right: 0;
		top: 0;
		width: 100%;
		z-index: 7;
	}

	.admin-bar .site-navigation-fixed.navigation-top {
		top: 32px;
	}

	/* Main Navigation */

	.js .menu-toggle,
	.js .dropdown-toggle {
		display: none;
	}



	.js .main-navigation ul,
	.js .main-navigation ul ul,
	.js .main-navigation > div > ul {
		display: block;
	}

    .main-navigation {width: auto; }
	.main-navigation ul {
		background: transparent;
		padding: 0;
	}

	.main-navigation > div > ul {
		border: 0;
		margin-bottom: 0;
		padding: 0;
	}

	.main-navigation li {
		border: 0;
		display: inline-block;
        
	}

	.main-navigation li li {
		display: block;
	}

	.main-navigation a {
		padding: 1em 1.25em;
	}

	.main-navigation ul ul {
		background: #fff;
		left: -999em;
		padding: 0;
		position: absolute;
		top: 100%;
		z-index: 99999;
	}

	.main-navigation ul li.menu-item-has-children:before,
	.main-navigation ul li.menu-item-has-children:after,
	.main-navigation ul li.page_item_has_children:before,
	.main-navigation ul li.page_item_has_children:after {
		z-index: 100000;

	}

	.main-navigation ul li.menu-item-has-children.focus:before,
	.main-navigation ul li.menu-item-has-children:hover:before,
	.main-navigation ul li.menu-item-has-children.focus:after,
	.main-navigation ul li.menu-item-has-children:hover:after,
	.main-navigation ul li.page_item_has_children.focus:before,
	.main-navigation ul li.page_item_has_children:hover:before,
	.main-navigation ul li.page_item_has_children.focus:after,
	.main-navigation ul li.page_item_has_children:hover:after {
		display: block;
	}

	.main-navigation ul li.menu-item-has-children:before,
	.main-navigation ul li.page_item_has_children:before {
		border-color: transparent transparent #bbb;
		bottom: 0;
	}

	.main-navigation ul li.menu-item-has-children:after,
	.main-navigation ul li.page_item_has_children:after {
		border-color: transparent transparent #fff;
	}

	.main-navigation ul ul li:hover > ul,
	.main-navigation ul ul li.focus > ul {
		left: 100%;
		right: auto;
	}

	.main-navigation ul ul a {
		padding: 0.75em 1.25em;
    width: max-content;
    min-width: 240px;
	}

	.main-navigation li li {
		-webkit-transition: background-color 0.2s ease-in-out;
		transition: background-color 0.2s ease-in-out;
	}

	.main-navigation li li:hover,
	.main-navigation li li.focus {
		background:none;
	}

	.main-navigation li li a {
		-webkit-transition: color 0.3s ease-in-out;
		transition: color 0.3s ease-in-out;
	}

	.main-navigation li li.focus > a,
	.main-navigation li li:focus > a,
	.main-navigation li li:hover > a,
	.main-navigation li li a:hover,
	.main-navigation li li a:focus,
	.main-navigation li li.current_page_item a:hover,
	.main-navigation li li.current-menu-item a:hover,
	.main-navigation li li.current_page_item a:focus,
	.main-navigation li li.current-menu-item a:focus {
		color: #fff;
	}

	.main-navigation ul li:hover > ul,
	.main-navigation ul li.focus > ul {
		left: 0px;
		right: auto;
        background: #efefef;
        border: 1px solid #ececec;
        padding: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;         
	}

	.main-navigation .menu-item-has-children > a > .icon,
	.main-navigation .page_item_has_children > a > .icon {
		display: inline;
		left: 5px;
		position: relative;
		top: -1px;
	}

	.main-navigation ul ul .menu-item-has-children > a > .icon,
	.main-navigation ul ul .page_item_has_children > a > .icon {
		margin-top: -9px;
		left: auto;
		position: absolute;
		right: 1em;
		top: 50%;
		-webkit-transform: rotate(-90deg); /* Chrome, Safari, Opera */
		-ms-transform: rotate(-90deg); /* IE 9 */
		transform: rotate(-90deg);
	}

	.main-navigation ul ul ul {
		left: -999em;
		margin-top: -1px;
		top: 0;
	}

	.main-navigation ul ul li.menu-item-has-children.focus:before,
	.main-navigation ul ul li.menu-item-has-children:hover:before,
	.main-navigation ul ul li.menu-item-has-children.focus:after,
	.main-navigation ul ul li.menu-item-has-children:hover:after,
	.main-navigation ul ul li.page_item_has_children.focus:before,
	.main-navigation ul ul li.page_item_has_children:hover:before,
	.main-navigation ul ul li.page_item_has_children.focus:after,
	.main-navigation ul ul li.page_item_has_children:hover:after {
		display: none;
	}

	.site-header .site-navigation-fixed .menu-scroll-down {
		display: none;
	}

	/* Scroll down arrow */

	.site-header .menu-scroll-down {
		display: block;
		padding: 1em;
		position: absolute;
		right: 0;
	}

	.site-header .menu-scroll-down .icon {
		-webkit-transform: rotate(90deg); /* Chrome, Safari, Opera */
		-ms-transform: rotate(90deg); /* IE 9 */
		transform: rotate(90deg);
	}

	.site-header .menu-scroll-down {
		color: #fff;
		top: 2em;
	}

	.site-header .navigation-top .menu-scroll-down {
		color: #767676;
		top: 0.7em;
	}

	.menu-scroll-down:focus {
		outline: thin dotted;
	}

	.menu-scroll-down .icon {
		height: 18px;
		width: 18px;
	}

	/* Front Page */

	.twentyseventeen-front-page.has-header-image .site-branding,
	.twentyseventeen-front-page.has-header-video .site-branding,
	.home.blog.has-header-image .site-branding,
	.home.blog.has-header-video .site-branding {
		margin-bottom: 70px;
	}

	.twentyseventeen-front-page.has-header-image .custom-header-media,
	.twentyseventeen-front-page.has-header-video .custom-header-media,
	.home.blog.has-header-image .custom-header-media,
	.home.blog.has-header-video .custom-header-media {
		height: 1200px;
		height: 100vh;
		max-height: 100%;
		overflow: hidden;
	}

	.twentyseventeen-front-page.has-header-image .custom-header-media:before,
	.twentyseventeen-front-page.has-header-video .custom-header-media:before,
	.home.blog.has-header-image .custom-header-media:before,
	.home.blog.has-header-video .custom-header-media:before {
		height: 33%;
	}

	.admin-bar.twentyseventeen-front-page.has-header-image .custom-header-media,
	.admin-bar.twentyseventeen-front-page.has-header-video .custom-header-media,
	.admin-bar.home.blog.has-header-image .custom-header-media,
	.admin-bar.home.blog.has-header-video .custom-header-media {
		height: calc(100vh - 32px);
	}

	.panel-content .wrap {
		padding-bottom: 4.5em;
		padding-top: 6em;
	}

	.panel-image {
		height: 100vh;
		max-height: 1200px;
	}

	/* With panel images 100% of the screen height, we're going to fix the background image where supported to create a parallax-like effect. */
	.background-fixed .panel-image {
		background-attachment: fixed;
	}

	.page-two-column .panel-content .entry-header {
		float: left;
		width: 36%;
	}

	.page-two-column .panel-content .entry-content {
		float: right;
		width: 58%;
	}

	/* Front Page - Recent Posts */

	.page-two-column .panel-content .recent-posts {
		clear: right;
		float: right;
		width: 58%;
	}

	.panel-content .recent-posts article {
		margin-bottom: 4em;
	}

	.panel-content .recent-posts .entry-header,
	.page-two-column #primary .panel-content .recent-posts .entry-header,
	.panel-content .recent-posts .entry-content,
	.page-two-column #primary .panel-content .recent-posts .entry-content {
		float: none;
		width: 100%;
	}

	.panel-content .recent-posts .entry-header {
		margin-bottom: 1.5em;
	}

	.page .panel-content .recent-posts .entry-title {
		font-size: 26px;
		font-size: 1.625rem;
	}

	/* Posts */

	.site-content {
		padding: 5.5em 0 0;
	}

	.single-post .entry-title,
	.page .entry-title {
		font-size: 26px;
		font-size: 1.625rem;
	}

	.comments-pagination,
	.post-navigation {
		clear: both;
	}

	.post-navigation .nav-previous {
		float: left;
		width: 50%;
	}

	.post-navigation .nav-next {
		float: right;
		text-align: right;
		width: 50%;
	}

	.nav-next,
	.post-navigation .nav-next {
		margin-top: 0;
	}

	/* Blog, archive, search */

	.sticky .icon-thumb-tack {
		height: 23px;
		left: -2.5em;
		top: 1.5em;
		width: 32px;
	}

	body:not(.has-sidebar):not(.page-one-column) .page-header,
	body.has-sidebar.error404 #primary .page-header,
	body.page-two-column:not(.archive) #primary .entry-header,
	body.page-two-column.archive:not(.has-sidebar) #primary .page-header {
		float: left;
		width: 36%;
	}

	.blog:not(.has-sidebar) #primary article,
	.archive:not(.page-one-column):not(.has-sidebar) #primary article,
	.search:not(.has-sidebar) #primary article,
	.error404:not(.has-sidebar) #primary .page-content,
	.error404.has-sidebar #primary .page-content,
	body.page-two-column:not(.archive) #primary .entry-content,
	body.page-two-column #comments {
		float: right;
		width: 58%;
	}

	.blog .site-main > article,
	.archive .site-main > article,
	.search .site-main > article {
		padding-bottom: 4em;
	}

	.navigation.pagination {
		clear: both;
		float: right;
		width: 58%;
	}

	.has-sidebar .navigation.pagination,
	.archive.page-one-column:not(.has-sidebar) .navigation.pagination {
		float: none;
		width: 100%;
	}

	.entry-footer {
		display: table;
		width: 100%;
	}
	
	.single-post .entry-footer .cat-tags-links{
	display:none;
	}

	.entry-footer .cat-tags-links {
		display: table-cell;
		vertical-align: middle;
		width: 100%;
	}

	.entry-footer .edit-link {
		display: table-cell;
		text-align: right;
		vertical-align: middle;
	}

	.entry-footer .edit-link a.post-edit-link {
		margin-top: 0;
		margin-left: 1em;
	}

	/* Entry content */

	/* without sidebar */

	:not(.has-sidebar) .entry-content blockquote.alignleft {
		margin-left: -17.5%;
		width: 48%;
	}

	:not(.has-sidebar) .entry-content blockquote.alignright {
		margin-right: -17.5%;
		width: 48%;
	}

	/* with sidebar */

	.has-sidebar .entry-content blockquote.alignleft {
		margin-left: 0;
		width: 34%;
	}

	.has-sidebar .entry-content blockquote.alignright {
		margin-right: 0;
		width: 34%;
	}

	.has-sidebar #primary .entry-content blockquote.alignright.below-entry-meta {
		margin-right: -72.5%;
		width: 62%;
	}

	/* blog and archive */

	.blog:not(.has-sidebar) .entry-content blockquote.alignleft,
	.twentyseventeen-front-page.page-two-column .entry-content blockquote.alignleft,
	.archive:not(.has-sidebar) .entry-content blockquote.alignleft,
	.page-two-column .entry-content blockquote.alignleft {
		margin-left: -72.5%;
		width: 62%;
	}

	.blog:not(.has-sidebar) .entry-content blockquote.alignright,
	.twentyseventeen-front-page.page-two-column .entry-content blockquote.alignright,
	.archive:not(.has-sidebar) .entry-content blockquote.alignright,
	.page-two-column .entry-content blockquote.alignright {
		margin-right: 0;
		width: 36%;
	}

	/* Post formats */

	.format-quote blockquote .icon {
		left: -1.5em;
	}

	/* Pages */

	.page.page-one-column .entry-header,
	.twentyseventeen-front-page.page-one-column .entry-header,
	.archive.page-one-column:not(.has-sidebar) .page-header {
		margin-bottom: 0em;
	}

	.page:not(.home) #content {
		padding-bottom: 3.25em;
	}

	/* 404 page */

	.error404 .page-content {
		padding-bottom: 9em;
	}

	/* Comments */

	#comments {
		padding-top: 5em;
	}

	.comments-title {
		margin-bottom: 2.5em;
	}

	ol.children .children {
		padding-left: 2em;
	}

	/* Posts pagination */

	.nav-links .nav-title {
		position: relative;
	}

	.nav-title-icon-wrapper {
		position: absolute;
		text-align: center;
		width: 2em;
	}

	.nav-links .nav-previous .nav-title .nav-title-icon-wrapper {
		left: -2em;
	}

	.nav-links .nav-next .nav-title .nav-title-icon-wrapper {
		right: -2em;
	}

	/* Secondary */

	#secondary {
		font-size: 14px;
		font-size: 0.875rem;
		line-height: 1.6;
	}

	/* Widgets */

	h2.widget-title {
/*		font-size: 11px;
		font-size: 0.6875rem;*/
		margin-bottom: 2em;
	}

	/* Footer */

	.site-footer {
		font-size: 14px;
		font-size: 0.875rem;
		line-height: 1.6;
		margin-top: 3em;
	}

	.site-footer .widget-column.footer-widget-1 {
		float: left;
		width: 36%;
	}

	.site-footer .widget-column.footer-widget-2 {
		float: right;
		width: 58%;
	}

	.social-navigation {
		clear: left;
		float: left;
		margin-bottom: 0;
		width: 36%;
	}

	.site-info {
		float: left;
		padding: 0.7em 0 0;
		width: 100%;
	}

	.social-navigation + .site-info {
		margin-left: 6%;
	}

	.site-info .sep {
		margin: 0 0.5em;
		display: inline;
		visibility: visible;
		height: auto;
		width: auto;
	}

	/* Gallery Columns */

	.gallery-columns-5 .gallery-item {
		max-width: 20%;
	}

	.gallery-columns-6 .gallery-item {
		max-width: 16.66%;
	}

	.gallery-columns-7 .gallery-item {
		max-width: 14.28%;
	}

	.gallery-columns-8 .gallery-item {
		max-width: 12.5%;
	}

	.gallery-columns-9 .gallery-item {
		max-width: 11.11%;
	}
}

@media screen and ( min-width: 67em ) {

	/* Layout */

	/* Navigation */
	.navigation-top .wrap {
		padding: 1.5em 0em;
	}

	.navigation-top nav {
		margin-left: 0;
	}

	/* Sticky posts */

	.sticky .icon-thumb-tack {
		font-size: 32px;
		font-size: 2rem;
		height: 22px;
		left: -1.25em;
		top: 0.75em;
		width: 32px;
	}

	/* Pagination */

	.page-numbers {
		display: inline-block;
	}

	.page-numbers.current {
		font-size: 15px;
		font-size: 0.9375rem;
	}

	.page-numbers.current .screen-reader-text {
		clip: rect(1px, 1px, 1px, 1px);
		height: 1px;
		overflow: hidden;
		position: absolute !important;
		width: 1px;
	}

	/* Comments */

	.comment-body {
		margin-left: 0;
	}
}

@media screen and ( min-width: 79em ) {

	.has-sidebar .entry-content blockquote.alignleft {
		margin-left: -20%;
	}

	.blog:not(.has-sidebar) .entry-content blockquote.alignright,
	.archive:not(.has-sidebar) .entry-content blockquote.alignright,
	.page-two-column .entry-content blockquote.alignright,
	.twentyseventeen-front-page .entry-content blockquote.alignright {
		margin-right: -20%;
	}
}

@media screen and ( max-width: 48.875em ) and ( min-width: 48em ) {

	.admin-bar .site-navigation-fixed.navigation-top,
	.admin-bar .site-navigation-hidden.navigation-top {
		top: 46px;
	}
}

/*--------------------------------------------------------------
20.0 Print
--------------------------------------------------------------*/

@media print {

	/* Hide elements */

	form,
	button,
	input,
	select,
	textarea,
	.navigation-top,
	.social-navigation,
	#secondary,
	.content-bottom-widgets,
	.header-image,
	.panel-image-prop,
	.icon-thumb-tack,
	.page-links,
	.edit-link,
	.post-navigation,
	.pagination.navigation,
	.comments-pagination,
	.comment-respond,
	.comment-edit-link,
	.comment-reply-link,
	.comment-metadata .edit-link,
	.pingback .edit-link,
	.site-footer aside.widget-area,
	.site-info {
		display: none !important;
	}

	.entry-footer,
	#comments,
	.site-footer,
	.single-featured-image-header {
		border: 0;
	}

	/* Font sizes */

	body {
		font-size: 12pt;
	}

	h1 {
		font-size: 24pt;
	}

	h2 {
		font-size: 22pt;
	}

	h3 {
		font-size: 17pt;
	}

	h4 {
		font-size: 12pt;
	}

	h5 {
		font-size: 11pt;
	}

	h6 {
		font-size: 12pt;
	}

	.page .panel-content .entry-title,
	.page-title,
	body.page:not(.twentyseventeen-front-page) .entry-title {
		font-size: 10pt;
	}

	/* Layout */

	.wrap {
		padding-left: 5% !important;
		padding-right: 5% !important;
		max-width: none;
	}

	/* Site Branding */

	.site-header {
		background: transparent;
		padding: 0;
	}

	.custom-header-media {
		padding: 0;
	}

	.twentyseventeen-front-page.has-header-image .site-branding,
	.twentyseventeen-front-page.has-header-video .site-branding,
	.home.blog.has-header-image .site-branding,
	.home.blog.has-header-video .site-branding {
		position: relative;
	}

	.site-branding {
		margin-top: 0;
		margin-bottom: 1.75em !important; /* override styles added by JavaScript */
	}

	.site-title {
		font-size: 25pt;
	}

	.site-description {
		font-size: 12pt;
		opacity: 1;
	}

	/* Posts */

	.single-featured-image-header {
		background: transparent;
	}

	.entry-meta {
		font-size: 9pt;
	}

	/* Colors */

	body,
	.site {
		background: none !important; /* Brute force since user agents all print differently. */
	}

	body,
	a,
	.site-title a,
	.twentyseventeen-front-page.has-header-image .site-title,
	.twentyseventeen-front-page.has-header-video .site-title,
	.twentyseventeen-front-page.has-header-image .site-title a,
	.twentyseventeen-front-page.has-header-video .site-title a {
		color: #222 !important; /* Make sure color schemes don't affect to print */
	}

	h2,
	h5,
	blockquote,
	.site-description,
	.twentyseventeen-front-page.has-header-image .site-description,
	.twentyseventeen-front-page.has-header-video .site-description,
	.entry-meta,
	.entry-meta a {
		color: #777 !important; /* Make sure color schemes don't affect to print */
	}

	.entry-content blockquote.alignleft,
	.entry-content blockquote.alignright {
		font-size: 11pt;
		width: 34%;
	}

	.site-footer {
		padding: 0;
	}
}


/*Global*/
.wrap { padding-left: 1em; padding-right: 1em; }
.home .category .mask,
a.button {transition:all 0.3s ease;}
.radius10 {
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px; 
}
.orange-txt { color: #ed6c05; }
.orange { padding: 6px 20px; background-color: #ed6c05; color: #fff; text-decoration: none;}
.orange:hover { background-color: #dedede; color: #666; text-decoration: none;}

.page-template-default .site-main a.button {float: right;}

.link-more  {text-align: right;}
.more-link {padding: 6px 20px; background-color: #ed6c05; color: #fff; text-decoration: none;  -webkit-border-radius: 10px; -moz-border-radius: 10px; border-radius: 10px; transition:all 0.3s ease; }
.more-link:hover { background-color: #dedede; color: #666; text-decoration: none;}
.contact-box a.button {float: initial!important;}

.doc { padding: 10px 40px; line-height: 50px; background-image: url(img/doc.png); background-position: 0px 50%; background-repeat: no-repeat;}
.pdf { padding: 10px 40px; line-height: 50px; background-image: url(img/pdf.png); background-position: 0px 50%; background-repeat: no-repeat;}
.jpg { padding: 10px 40px; line-height: 50px; background-image: url(img/jpg.png); background-position: 0px 50%; background-repeat: no-repeat;}
.zip { padding: 10px 40px; line-height: 50px; background-image: url(img/zip.png); background-position: 0px 50%; background-repeat: no-repeat;}
.iso { padding: 10px 40px; line-height: 50px; background-image: url(img/iso.png); background-position: 0px 50%; background-repeat: no-repeat;}

.custom-logo-link { position: relative;}
input[type="search"], input[type="search"]:focus, .search {color: #666!important;}
/*
.custom-logo-link:after { content: ' 178 lat historii'; color:#ed6c05; font-size: 16px; font-weight: bold; position: absolute; top: 33px; right: -80px;}
.custom-logo-link.a:hover {text-decoration: none!important;}
*/

lable {margin-bottom: 40px; display: block;}



a.history { color:#ed6c05; font-size: 16px; font-weight: bold; position: absolute; top: 54px; left: 303px;}
a.history:hover { text-decoration: none;}

article h3 { color:#ed6c05 }

.page-template-default .site-content {padding:0em 0 0;}

.button-back input[type="button"] {background: none; color: #666; padding-right: 0; padding-left: 10px;}
.button-back {position: absolute; right: 0; top: 0px; color: #ed6c05;}
.entry-header {position: relative;}
.product-img {margin-bottom: 20px;}
ul.download {list-style: none;}

/*Formularze*/
span.wpcf7-list-item-label { font-size: 12px; font-weight: 400; line-height: 18px; overflow-y: scroll; max-height: 140px; display: block;}

/*Historia*/
.historia-time-line .draggable:before {background: #dedede!important;}


.certificates-grid div { font-size: 14px;
	text-align: left;
	margin-bottom: 20px;}
.certificates-grid img { padding-bottom: 1.5em;}

/*--------------------------------------------------------------
Tables
--------------------------------------------------------------*/
/*
table ul,table ol { margin: 20px!important; }
table ul li,table ol li { line-height: 28px!important; }
table {	border-collapse: collapse;	margin: 0 0 1.5em;	width: 100%; overflow-x: scroll; display: block;}
thead { background: #fafafa;}
thead td {font-weight: bold;}

tbody { font-size: 0.875em; line-height:1.5em; }
tbody th:first-child,
tbody td:first-child { font-weight: 500; } 


thead th { 	border-bottom: 2px solid #dedede;	padding-bottom: 0.5em;}
thead th:first-child {  }

th {	padding: 0.8em;	text-align: left;}
tr {	border-bottom: 1px solid #dedede;}

td {	padding: 0.8em;	border-right: 1px solid #dedede;    }

td:nth-child(odd) {}

th:nth-child(even),
td:nth-child(even) {}

th:first-child,
td:first-child {padding-left: 12px; border-right: 2px solid #ababab; width: 33%;}

th:last-child,
td:last-child {	padding-right:  0.8em;	border-right:none; width: 25%;}

*/
table.contact td {padding: 30px 10px; border: 0px; width: 25%;}
table.contact td strong {margin-bottom: -10px; display: block; font-size: 18px;}
table.contact td a {padding: 5px 0;}
table.contact tr { border: 0px; width: 25%;}



.content-area h1.entry-title { font-size: 36px!important;}
.content-area h2 { font-size: 28px!important; margin-bottom: 30px;}
.entry-content ul { margin-left: 60px; margin-bottom: 60px;}
.entry-content ul li  { line-height: 30px;}

.home .site-content .content-area { float: initial!important; width:100%!important;}
.home .site-content .widget-area { width:initial!important; float: initial!important;}

.page-template-default .site-content .content-area,
.page-template-default .site-content .content-area { float: right; width: 70%;}
.page-template-default .site-content .widget-area,
.page-template-default .site-content .widget-area { width: 30%; float: left; padding-right: 50px!important; overflow: hidden;}

.entry-content article.products ul { margin-left: 0px; margin-bottom: 60px;}
.entry-content article.products ul li { margin: 20px 16px 20px 0px; width: 31%; text-align: left; float: left; min-height: 296px;}

.entry-content article.products ul li div.img-container { border: 1px solid #dedede; height: 200px; text-align: center; vertical-align: middle;}
.entry-content article.products ul li div.img-container  img { padding: 20px; max-width: 100%!important; max-height: 100%!important; }
.entry-content article.products ul li div.span-container { background: #dedede; padding: 15px 20px 15px 20px; font-size: 16px; line-height: 22px; }

.page-template .entry-content article.products ul { text-align: center;}
.page-template-default article.products ul li div.span-container,
.page-template .entry-content article.products ul li div.span-container { background: #dedede; padding: 15px 100px 15px 20px; font-size: 16px; line-height: 22px; position: relative; min-height: 75px;}
.page-template-default article.products ul li a,
.page-template .entry-content article.products ul li a { padding: 6px 20px; background:#ed6c05; color: #fff; position: absolute; right: 10px; top: 50%; margin-top: -17px; }

.page-template .entry-content article.products div h3 {background: #dedede; text-align: center; padding: 5px 20px; font-weight: bold;}
/*Top*/
.custom-header .site-top .container { position: absolute; top:20px; right: 0; z-index: 999; width: auto; padding: 0; text-align: right;}
.custom-header .site-top .container ul { display: contents; }
.custom-header .site-top .container ul li { float: left; list-style: none; margin-left: 10px; color: #b3b3b3; }


.site-top .container select { color: #b3b3b3;}
.site-top .container input { border: 0; border-bottom: 1px solid #ddd; padding: 3px;}
.site-top button,
.site-top input[type="button"],
.site-top input[type="submit"] {background-color: #fff; border: 0px; -webkit-border-radius: 0px; border-radius: 0px;	color: #c2c2c2;}
.site-top .search-form { position: relative; top: -7px;}
.site-top .search-form .search-submit { top: -6px; padding: 0.5em 0em;}
.site-top ul li.phone {padding: 5px 0 0 30px;}
.site-top ul li.phone i { color:#ed6c05; padding:0px 10px 0px 10px; -webkit-transform: rotate(90deg);
-moz-transform:  rotate(90deg);
-o-transform:  rotate(90deg);
transform:  rotate(90deg);}

/*Navigation*/

/*.menu-item-29 .sub-menu {left: -155px;}*/


.widget-area .widget ul li .sub-menu li:first-child { margin-top: 8px;}
.widget-area .widget ul li a:hover {   
    padding: 5px 20px;
    background-color: #ed6c05;
    color: #fff;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    text-decoration: none;
}

.sitebar {width: 30%; padding-right: 50px;}
.sitebar .menu ul li {  list-style: none; text-transform: uppercase; font-weight: bold; line-height: 24px; }
.sitebar .menu ul li ul.children li {  text-transform: capitalize; font-size: 14px; font-weight: normal; line-height: 26px; }
.sitebar .menu ul li ul.children li:first-child { margin-top: 8px; }
.sitebar .menu ul li ul.children li:last-child { margin-bottom: 8px; }
.sitebar .menu ul li a:hover { 
    text-decoration: none;
    padding: 5px 20px;
    background-color: #ed6c05;
    color: #fff;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    
}



.main-navigation {position: absolute; right: 0; bottom:25px; padding: 0; }
.main-navigation li a { font-size: 15px; font-weight: bold; text-transform: uppercase; padding:0.35em 1.1em 0.3em 1.1em; color: #4e5c5e; }
.main-navigation li a:hover { background-color:#ed6c05; color: #fff;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px; }

/* Home */
.home img {
	max-width: 100%;
	height: auto;
}

.home .bg-container { background-image: url(img/bg-home.jpg); background-position: 50% 50%; background-size: cover; background-repeat: no-repeat; padding-bottom: 40px;
	margin-left: calc(-50dvw + 50%);
	margin-right: calc(-50dvw + 50%);
	width: 100dvw;
	max-width: 100dvw;
}

@supports not (width: 100dvw) {
	.home .bg-container {
		margin-left: calc(-50vw + 50%);
		margin-right: calc(-50vw + 50%);
		width: 100vw;
		max-width: 100vw;
	}
}

.home h2 { text-align: center; font-weight:bold; text-transform: uppercase; margin: 40px 0; }
.home h2:before, .home h2:after { content: ' - '; color:#ed6c0500; border-bottom: 3px solid #ed6c05; width: 40px; height: 10px; overflow: hidden; position: relative; top: -12px; display: inline-block; }
.home h2:before { margin-right: 15px; }
.home h2:after { margin-left: 15px; }


.home a.button { font-size: 14px; color: #4e5c5e; border: 1px solid #4e5c5e; padding: 8px 25px; text-transform: uppercase; text-decoration: none; position:absolute; bottom: 0px; right: 15px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px; 
}
.home a.button:hover {border: 1px solid #ed6c05; color:#ed6c05;  }

.home a.button-area { text-decoration: none}
.home a.button-area:hover { text-decoration: none}


.home .category ul li { list-style: none; padding:0px 15px; overflow: hidden;}
.home .category ul.row,
.home .blog-news ul.row,
.home .blog-cooperation ul.row {
	margin-left: -15px !important;
	margin-right: -15px !important;
}
.home .category ul li .container { margin: 0px; padding:20px 30px; height: 210px; position: relative; background: #999; z-index: 50; border-radius: 10px; }
.home .category ul li h3 { font-size: 40px; color: #fff; font-weight: bold; margin-bottom: 10px; }
.home .category ul li p { font-size: 18px; color: #fff; line-height: 22px; width: 80%;}
.home .category ul li a.button { font-size: 16px; color: #fff; border: 1px solid #fff; position:absolute; bottom: 0px; right: 15px; }
.home .category ul li a.button:hover {border: 1px solid #ed6c05; background: #ed6c05; }
.home .category ul li .pack {height:160px; position: relative; z-index: 99;}
.home .category .mask { background:#202020; height: 450px; width: 100%; position: absolute; margin: 0; left: 0px; top: 0; padding: 0; opacity:0.0; z-index: 1}
.home .category li:hover .mask { opacity:0.5; z-index: 1;}



.home h3 { font-size: 30px; font-weight: bold; line-height: 30px; padding-top: 10px; margin-bottom: 10px; }
.home p { font-size: 14px; line-height: 20px; color: #878786; }
.home span.date { color: #b4b4b4; font-size: 14px; font-weight: 100;}
.home span.date a { color: #b4b4b4; text-transform: uppercase; padding-left: 10px; }

.home .news {padding-bottom: 10px;}
.home .news ul li { list-style: none; margin-bottom: 40px; padding-bottom: 30px;}
.home .news .thumbnail { height: 280px; overflow: hidden; margin-bottom: 10px;}

.home .cooperation {padding-bottom: 10px;}
.home .cooperation ul li { list-style: none; margin-bottom: 40px; padding-bottom: 30px;}
.home .cooperation .thumbnail { height: 280px; overflow: hidden; background: #ccc; margin-bottom: 10px;}


.home .certifications {padding-bottom: 40px;}
.home .certifications ul { text-align: center;}
.home .certifications ul li { list-style: none; display: inline;}



.home .blog-certifications img {width: 100px;margin: 0 5px;}

/* Home EN */
.language-en .news { display: none;}
.language-en .cooperation { display: none;}
/* .language-en .site-footer ul.tabs {display: none;} /*




.page-sitemap { margin: 10px 0 30px; }
.page-sitemap__menu { margin-bottom: 28px; }
.page-sitemap__menu:last-child { margin-bottom: 0; }
.page-sitemap__section { margin-bottom: 34px; }
.page-sitemap__section:last-child { margin-bottom: 0; }
.page-sitemap__section-title { margin: 0 0 14px; font-size: 22px; font-weight: 700; color: #222; }
.page-sitemap .sitemap-menu { margin: 0; padding: 0; list-style: none; }
.page-sitemap .sitemap-menu::after { content: ""; display: table; clear: both; }
.page-sitemap .sitemap-menu > li { display: block; float: none; width: 100%; margin: 0 0 18px; }
.page-sitemap .sitemap-menu > li > a { font-size: 18px; font-weight: 700; text-transform: uppercase; color: #333; }
.page-sitemap .sitemap-menu .sub-menu { margin: 12px 0 0; padding: 0; list-style: none; }
.page-sitemap .sitemap-menu .sub-menu li { display: block; float: none; margin: 0 0 6px; font-size: 15px; font-weight: normal; text-transform: none; }
.page-sitemap .sitemap-menu .sub-menu a { color: #666; text-decoration: none; }
.page-sitemap .sitemap-menu .sub-menu a:hover { text-decoration: underline; }

/*Footer*/

.site-footer {background-color: #878786; }
.site-footer .menu-menu-stopka-container .menu .menu-item { display: block; float: left; font-size: 18px; text-transform: uppercase; font-weight: bold; width: 150px;  }
.site-footer .menu-menu-stopka-container .menu .menu-item a {-webkit-box-shadow:none; box-shadow:none; color: #FFF; }
.site-footer .menu-menu-stopka-container .menu .sub-menu { margin: 20px 0 0 0;}
.site-footer .menu-menu-stopka-container .menu .sub-menu li { display: block; float: initial;  font-size: 16px; font-weight:normal; color: #dfdfdf; text-transform:initial;}
.site-footer .menu-menu-stopka-container .menu .sub-menu li a {
   	-webkit-box-shadow: inset 0 0px 0 rgba(253, 253, 253, 1);
	box-shadow: inset 0 0px 0 rgba(253, 253, 253, 1);
	text-decoration: none;
	-webkit-transition: color 80ms ease-in, -webkit-box-shadow 130ms ease-in-out;
	transition: color 80ms ease-in, -webkit-box-shadow 130ms ease-in-out;
	transition: color 80ms ease-in, box-shadow 130ms ease-in-out;
	transition: color 80ms ease-in, box-shadow 130ms ease-in-out, -webkit-box-shadow 130ms ease-in-out; 
    color: #dfdfdf;}
.site-footer .menu-menu-stopka-container .menu .sub-menu li a:hover {
	-webkit-box-shadow: inset 0 0 0 rgba(253, 253, 253, 1), 0 1px 0 rgba(253, 253, 253, 1);
	box-shadow: inset 0 0 0 rgba(253, 253, 253, 1), 0 1px 0 rgba(253, 253, 253, 1);
}


.site-footer .menu-menu-stopka-en-container .menu .menu-item { display: block; float: left; font-size: 18px; text-transform: uppercase; font-weight: bold; width: 150px;  }
.site-footer .menu-menu-stopka-en-container .menu .menu-item a {-webkit-box-shadow:none; box-shadow:none; color: #FFF; }
.site-footer .menu-menu-stopka-en-container .menu .sub-menu { margin: 20px 0 0 0;}
.site-footer .menu-menu-stopka-en-container .menu .sub-menu li { display: block; float: initial;  font-size: 16px; font-weight:normal; color: #dfdfdf; text-transform:initial;}
.site-footer .menu-menu-stopka-en-container .menu .sub-menu li a {
   	-webkit-box-shadow: inset 0 0px 0 rgba(253, 253, 253, 1);
	box-shadow: inset 0 0px 0 rgba(253, 253, 253, 1);
	text-decoration: none;
	-webkit-transition: color 80ms ease-in, -webkit-box-shadow 130ms ease-in-out;
	transition: color 80ms ease-in, -webkit-box-shadow 130ms ease-in-out;
	transition: color 80ms ease-in, box-shadow 130ms ease-in-out;
	transition: color 80ms ease-in, box-shadow 130ms ease-in-out, -webkit-box-shadow 130ms ease-in-out; 
    color: #dfdfdf;}
.site-footer .menu-menu-stopka-en-container .menu .sub-menu li a:hover {
	-webkit-box-shadow: inset 0 0 0 rgba(253, 253, 253, 1), 0 1px 0 rgba(253, 253, 253, 1);
	box-shadow: inset 0 0 0 rgba(253, 253, 253, 1), 0 1px 0 rgba(253, 253, 253, 1);
}



.site-footer .row p {color:#dfdfdf}
.site-footer .wrap { padding:0;}
.site-footer .wrap .widget-area{ padding:0;}
.site-footer .wrap .widget-area .col-8 { padding:40px;}

.site-footer ul.tabs { margin: 0;}
.site-footer ul.tabs li:first-child {border-top:none;}
.site-footer ul.tabs li:hover {border: 1px solid #ed6c05;}
.site-footer ul.tabs li:first-child:hover {border-top: none;}
.site-footer ul.tabs li {width: 400px; padding: 0; height: 110px; border: 1px solid #9f9f9f; position: relative; border-bottom: none; list-style: none;color: #fff; overflow: hidden;}
.site-footer ul.tabs li h3 { font-size: 20px; font-weight: bold; color: #fff; text-transform: uppercase; padding-top: 0; margin-bottom: 2px; }
.site-footer ul.tabs li p { font-size: 14px; font-weight: normal; color: #fff; line-height: 17px; }
.site-footer ul.tabs li p button { font-size: 14px; font-weight: normal; color: #fff; line-height: 17px; border: 1px solid #fff; padding: 6px 37px; background: none; margin-top: 5px;}
.site-footer ul.tabs li i.arrow { position: absolute; top: 40px; right: 20px; }
.site-footer ul.tabs li a { padding: 17px 60px 20px 120px; color: #fff; display: block; text-decoration: none; min-height: 130px; }
.site-footer ul.tabs li a:hover { background: #ed6c05; border-bottom: none; }
.site-footer ul.tabs li a.icon-footer01 {background-image: url(img/icon-footer-01.png); background-position: 20px 34%; background-repeat: no-repeat;}
.site-footer ul.tabs li a.icon-footer02 {background-image: url(img/icon-footer-02.png); background-position: 20px 34%; background-repeat: no-repeat;}
.site-footer ul.tabs li a.icon-footer03 {background-image: url(img/icon-footer-03.png); background-position: 22px 34%; background-repeat: no-repeat;}
.site-footer ul.tabs li a.icon-footer04 {background-image: url(img/icon-footer-04.png); background-position: 18px 34%; background-repeat: no-repeat;}
.menu-item-97 {width: 200px!important;}
.custom-header {margin-bottom: 0!important; }
.menu-footer-bottom { position: relative;}
#menu-menu-stopka-bottom li, #menu-menu-stopka-bottom-en li { font-size: 14px; color: #666; float: left; margin-right: 20px;}
#menu-menu-stopka-bottom li a, #menu-menu-stopka-bottom-en li a { font-size: 14px; color: #666; text-transform: initial; font-weight: normal;}
.copyright { position: absolute; top: 6px; right: 20px; line-height: 18px; text-align: right;}
.copyright span, .copyright span a { color: #adadad; font-size: 13px;}
.menu-footer-bottom .widget {padding-bottom: 0;}

li.menu-item-1065 { width: 200px!important;} 
li.menu-item-1065 a:hover {text-decoration: none!important; padding: 30px 0; -webkit-box-shadow: none!important; box-shadow: none!important;} 

.widget-acx-social-icons-widget-2-widget {padding: 5px 0;}

.language-en .widget {padding-bottom: 0;}

/*kontakt*/
ul.contact-box {  margin: 0; padding:0 }
ul.contact-box li {  padding: 0;  display: inline-block; margin: 10px 16px 10px 0px; width: 31%; text-align: left;}
ul.contact-box li a { padding: 30px 15px; border: 1px solid #dedede; display: block; text-align: center; font-weight: bold; }
ul.contact-box li a:hover { background: #ed6c05; border: 1px solid #ed6c05; color: #fff; text-decoration: none;}


/*RWD*/
@media screen and ( min-width: 1280px ) {
	/* wykomentowałem 2019.07.19 przy poprawie magazynów */
/*table, table.contact {	border-collapse: collapse;	margin: 0 0 1.5em;	width: 100%; overflow-x: auto; display: block;} */
}

@media screen and ( max-width: 1260px ) and ( min-width: 580px ) {
.page-template-default article.products ul li div.span-container,
.page-template .entry-content article.products ul li div.span-container { min-height: 100px!important;}
/* table.contact {	border-collapse: collapse;	margin: 0 0 1.5em;	width: 100%; overflow-x: auto; display: block;} */
}


@media screen and ( max-width: 1100px ) and ( min-width: 580px ) {
    .page-template .entry-content article.products ul li div.span-container { min-height: 100px;}
    
    .custom-logo-link img { display: inline-block; max-height: 80px; width: auto; max-width: 230px; margin-bottom: 10px;}

    .navigation-top .wrap { padding-left: 15px; padding-right: 15px; padding-top: 0.75em; padding-bottom: 0.75em;}
    .custom-header .site-top .container { right: 15px;}
    a.history {top: 34px; left: 260px;}
    .navigation-top { padding-bottom:30px; }
    .main-navigation {width: auto; position: absolute;left: 5px; margin-left: 0!important; bottom: -20px; padding: 0; max-width: 100%; }
    
    .home .category ul li .container { height: 280px;}
    .home .category ul li .pack { height: 230px;}
    
    
    footer .col-8 { -ms-flex: 0 0 100%; flex: 0 0 100%; max-width: 100%; }
    footer .col-4 { -ms-flex: 0 0 100%; flex: 0 0 100%; max-width: 100%; }
    .site-footer ul.tabs li { width: 100%; border-left: none; border-right: none;}
    footer .widget { padding-bottom: 1em;}
    
    
    /*subpages*/
    article .products li { width: 46%!important;}
    ul.contact-box li { width: 46%;}
    #breadcrumbs {margin-left: 20px!important;}
	/* table.contact {	border-collapse: collapse;	margin: 0 0 1.5em;	width: 100%; overflow-x: auto; display: block;} */

}

@media screen and ( max-width: 767px ) {
    
    .navigation-top .wrap { padding-left: 15px; padding-right: 15px; padding-top: 0.75em; padding-bottom: 0.75em;}

    .main-navigation {width: auto; position: relative;left: 5px; margin-left: 0!important; bottom: -15px; padding: 0; max-width: 100%; }    
    .menu-toggle { margin: 0; font-size: 24px; color: #666; padding:5px 10px 5px 5px ;}
    .menu {padding:20px 0!important; width: 147%;}
    .dropdown-toggle { right: 0; padding: 0.5em 1.5em;}
    .dropdown-toggle::after {display:none;}
    .main-navigation li {border: none;}
    .menu-toggle:focus { outline: thin dashed #dedede;}
    .main-navigation > div > ul {border: none;}
    .sub-menu li.menu-item a {padding-left: 20px;}
	.custom-header .site-top .container {top: 100px!important;}
	#page.container { top: 0 !important; right: auto !important; }
    a.history {top: 34px; left: 260px;}
    
    .home .category ul li.col-4 { -ms-flex: 0 0 100%; flex: 0 0 100%;  max-width: 100%; margin-bottom: 20px;}
    .home .container { max-width:100%;}
    .home .category ul li .container { height: 160px; position: initial; overflow: hidden;}
    .home .category .mask { background: #202020; height: 450px; width: 200%; position: relative; margin: 0; left: -200px; top: -400px;}
    .home .category ul li .container .button {bottom: initial; top: 70px;}
    .copyright {top: 26px;}

    /*subpages*/
    .page-template .entry-content article.products ul li div.span-container { min-height: 100px;}
    .wpcf7 form .col-6 { -ms-flex: 0 0 100%; flex: 0 0 100%; max-width: 100%;}
    .wpcf7 form .wpcf7-list-item-label {font-size: 80%;}
    
    #breadcrumbs {margin-left: 20px!important;}
    article .products li { width: 100%!important;}    
    .subpage { padding: 0; margin: 0;}
    .subpage .sub-menu li.menu-item a { padding-left: 0px!important; font-size: 14px;       line-height: 1;}
    .subpage .col-3 {-ms-flex: 0 0 40%; flex: 0 0 40%; max-width: 40%;}
    .subpage .col-9 {-ms-flex: 0 0 60%; flex: 0 0 60%; max-width: 60%;}
    
    .button-back { position: absolute; right: 0; top: -42px;}

    ul.contact-box li { width: 100%;}
    ul.contact-box li a { padding: 20px 15px;}
    .content-area { float:initial!important;  width:50%!important;}

    /*posts*/
    .category-posts .content-area, .single-post .content-area { float: initial!important; width: 100%!important;}
    .category-posts .post .entry-content p {font-size: 15px; line-height: 24px;}
    
    .menu-footer-bottom { position: relative; padding-bottom: 30px;}    
    .copyright {top: 60px; left: 0;}  

}

@media screen and ( max-width: 580px ) {
    
    
    .phone {display: none;}
    .custom-logo-link img { display: inline-block; max-height: 80px; width: auto; max-width: 230px; margin-bottom: 10px;}
    .navigation-top .wrap { padding-left: 15px; padding-right: 15px; padding-top: 0.75em; padding-bottom: 1.5em;}
    .main-navigation {width: auto; position: relative;left: 5px; margin-left: 0!important; bottom: -10px; padding: 0; max-width: 100%; }    
    .blog-news .col-6, .blog-cooperation .col-6 { -ms-flex: 0 0 100%; flex: 0 0 100%; max-width: 100%; }
    
     footer .col-8 { -ms-flex: 0 0 100%; flex: 0 0 100%; max-width: 100%; }
    footer .col-4 { -ms-flex: 0 0 100%; flex: 0 0 100%; max-width: 100%; }
    .site-footer ul.tabs li { width: 100%; border-left: none; border-right: none;}
    footer .widget { padding-bottom: 1em;}  
	.custom-header .site-top .container {top: 100px!important; right: 20px!important;}
	#page.container { top: 0 !important; right: auto !important; }


    
        
    .subpage { padding: 0; margin: 0;}
    .subpage .col-3 {-ms-flex: 0 0 50%; flex: 0 0 50%; max-width: 50%;}
    .subpage .col-9 {-ms-flex: 0 0 50%; flex: 0 0 50%; max-width: 50%;}
    .content-area { float:initial!important;  width: 50%!important;}

    ul.contact-box li { width: 100%;}
    ul.contact-box li a { padding: 20px 15px;}
    
    .menu-menu-stopka-container .menu { padding: 20px 0!important; width:100%;}
    .menu-item-97 {  width: 200px!important; margin-top: 20px;}
}

@media screen and ( max-width: 500px ) {
    
    .subpage { padding: 0; margin: 0;}
    .subpage .col-3 {-ms-flex: 0 0 100%; flex: 0 0 100%; max-width: 100%;}
    .subpage .col-9 {-ms-flex: 0 0 100%; flex: 0 0 100%; max-width: 100%;}
    .content-area { float:initial!important;  width: 50%!important;}


}

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

    .navigation-top .wrap { padding-left: 15px; padding-right: 15px; padding-top: 0.75em; padding-bottom: 4.75em;}
    .main-navigation {width: auto; position: relative;left: 5px; margin-left: 0!important; bottom: -66px; padding: 0; max-width: 100%; }    
    a.history { top: 70px; left: 90px;}
	.custom-header .site-top .container { top: 110px!important; }
	#page.container { top: 0 !important; }
    .home .category ul li .container { height: 240px;}
    .home .category ul li .container .button { bottom: -30px; top:initial;}
    
    .menu-item-97 {  width: 200px!important; margin-top: 20px;}
    .site-footer ul.tabs li { height: 120px;}

}

@media screen and (max-width: 360px) {
    .site-footer ul.tabs li { height: 160px;}
    .site-footer ul.tabs li p button { padding: 6px 25px;}
}

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

}

/* Aktualnosci: layout listy wpisow jak na starej stronie */
.archive .site-main article.post .entry-header,
.blog .site-main article.post .entry-header {
	display: flex;
	flex-direction: column;
}

.archive .site-main article.post .entry-meta,
.blog .site-main article.post .entry-meta {
	order: 1;
	clear: both;
	margin-bottom: 8px;
}

.archive .site-main article.post .entry-title,
.blog .site-main article.post .entry-title {
	order: 2;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	margin-bottom: 18px;
}

.archive .site-main article.post .entry-content,
.blog .site-main article.post .entry-content {
	position: relative;
}

.archive .site-main article.post .read-more-wrap,
.blog .site-main article.post .read-more-wrap {
	text-align: right;
	margin: 16px 0 0;
}

.archive .site-main article.post .read-more-button,
.blog .site-main article.post .read-more-button {
	display: inline-block;
	padding: 7px 14px;
	background: transparent;
	color: #666;
	font-weight: 700;
	text-decoration: none;
	border-radius: 10px;
	border: 1px solid #666;
}

.archive .site-main article.post .read-more-button:hover,
.blog .site-main article.post .read-more-button:hover {
	background: transparent;
	border-color: #ed6c05;
	color: #ed6c05;
	text-decoration: none;
}

.archive .site-main article.post .cat-links,
.blog .site-main article.post .cat-links,
.archive .site-main article.post .entry-footer,
.blog .site-main article.post .entry-footer {
	display: none !important;
}

/* Aktualnosci: na pojedynczym wpisie obraz ma zajmowac szerokosc kolumny tresci. */
.single-post #primary .entry-content .wp-caption,
.single-post #primary .entry-content figure {
	max-width: 100% !important;
	width: 100% !important;
}

.single-post #primary .entry-content a > img,
.single-post #primary .entry-content img {
	display: block;
	width: 100% !important;
	height: auto !important;
}

.single-post #primary .post-thumbnail,
.single-post #primary .post-thumbnail a,
.single-post #primary .post-thumbnail img {
	display: block;
	width: 100% !important;
	max-width: 100% !important;
	height: auto !important;
}

/* Wspolny styl przyciskow CTA w calej witrynie. */
.site a.button:not(.button-area),
.site .more-link,
.site .read-more-button,
.site .orange,
.site .wp-block-button__link {
	background-color: transparent !important;
	color: #666 !important;
	border: 1px solid #666 !important;
	border-radius: 10px !important;
	text-decoration: none !important;
	transition: all 0.3s ease;
}

.site a.button:not(.button-area):hover,
.site .more-link:hover,
.site .read-more-button:hover,
.site .orange:hover,
.site .wp-block-button__link:hover,
.site a.button:not(.button-area):focus,
.site .more-link:focus,
.site .read-more-button:focus,
.site .orange:focus,
.site .wp-block-button__link:focus {
	background-color: transparent !important;
	border-color: #ed6c05 !important;
	color: #ed6c05 !important;
	text-decoration: none !important;
}

/* Paginator: ten sam styl przyciskow jak reszta witryny. */
.paging-navigation,
.navigation.pagination {
	text-align: center;
}

.paging-navigation .page-numbers,
.navigation.pagination .page-numbers {
	display: inline-block;
	padding: 7px 14px;
	margin: 0 4px;
	background: transparent !important;
	color: #666 !important;
	border: 1px solid #666 !important;
	border-radius: 10px !important;
	text-decoration: none !important;
	font-size: 14px;
	line-height: 1.2;
	float: none !important;
}

.paging-navigation .page-numbers:hover,
.paging-navigation .page-numbers:focus,
.navigation.pagination .page-numbers:hover,
.navigation.pagination .page-numbers:focus {
	background: transparent !important;
	color: #ed6c05 !important;
	border-color: #ed6c05 !important;
	text-decoration: none !important;
}

.paging-navigation .page-numbers.current,
.navigation.pagination .page-numbers.current {
	background: transparent !important;
	color: #ed6c05 !important;
	border-color: #ed6c05 !important;
}

.paging-navigation .prev.page-numbers,
.paging-navigation .next.page-numbers,
.navigation.pagination .prev.page-numbers,
.navigation.pagination .next.page-numbers {
	font-size: 14px !important;
	line-height: 1.2 !important;
	padding: 7px 14px !important;
}

/* Wyjatek: 3 przyciski "wiecej" w boxach na stronie glownej. */
.home .category ul li a.button {
	background-color: transparent !important;
	color: #fff !important;
	border: 1px solid #fff !important;
	border-radius: 10px !important;
}

.home .category ul li a.button:hover,
.home .category ul li a.button:focus {
	background-color: #ed6c05 !important;
	color: #fff !important;
	border-color: #dedede !important;
}

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

	.home .category ul li .container { height: 300px;}
	.home .category ul li .container .button { bottom: -90px; top:initial;}
	.site-footer ul.tabs li p button { padding: 6px 15px;}

}

#post-1514 td{
	border:none;
}

.magazyn_data div {
	border: none !important;
	overflow:hidden;
}

.magazyn_dane div {
	overflow:hidden;
}

.visiblelink{
	color: #ed6c05 !important;
	text-decoration: underline;
}
/* styl do kontaktów bootstrap */
.contact_as{
	font-size: 0.875em !important;
    line-height: 1.5em !important;
}



/* nadpisanie bootstrapa */

.btn-primary {
    color: #fff;
    background-color: #ed6c05 !important;
    border-color: #ed6c05 !important;
	border-radius: 10px !important;
}
/* Kalkulator */
#calc {
    overflow: hidden;
    margin: 10px 0;
    border: 1px solid #f2f2f2;
    background: #fefefe;
    padding: 20px;
}

    #calc input[type=text],
    #calc span.input {
        display: block;
        /*float:none;
        clear: both;*/
        border: 1px solid #E3E3E3;
        /*margin: 0;*/
        background: #F6F6F6;
        -webkit-transition: 0.3s;
        -moz-transition: 0.3s;
        -ms-transition: 0.3s;
        -o-transition: 0.3s;
        transition: 0.3s;
        color: rgb(81, 81, 81);
        font-family: Arial;
        width: 100%;
        height: 22px;
        line-height: 22px;
        text-align: center;
        padding: 0 !important;
        overflow: visible;
        font-size: 15px;
    }

    #calc label input[type=text] {
        background: #fff !important;
    }

        #calc label input[type=text]:hover {
            outline: none;
            border-color: #aaa;
        }

        #calc label input[type=text]:focus {
            outline: none;
            border-color: #f68929;
            background: #fff;
        }

    #calc div.outcome {
        display: block;
        float: none;
        font-size: 30px;
        font-family: BGBold, Arial;
        /*padding-top: 23px;*/
    }

        #calc div.outcome span {
            font-size: 20px;
            font-family: BGMed, Arial;
        }

    #calc table, #calc table tr, #calc table td {
        border: none !important;
    }

    #calc table {
        table-layout: fixed;
        width: 100%;
        overflow-x: hidden;
    }

        #calc table td {
            width: auto;
        }

.product .active1 {
    background: #ACACAC !important;
}

.product .active2 {
    background: #C4C4C4 !important;
    color: #666;
}

.product .active3 {
    background: #F68929 !important;
    color: white;
}

.product .pointer {
    cursor: pointer;
}

    .product .pointer:hover {
        background: rgba(246, 137, 41, 0.5) !important;
    }


.product table.dane {
    table-layout: fixed;
    width: 100%;
	border-collapse: collapse;	
	overflow-x: auto; 
	display: block;
}

@media screen and ( min-width: 1280px ) {
	.product table.dane {font-size: 1em;}
	.hp_magazyn table{	font-size: 1em !important;}
	.hp_magazyn #hp-magazyn_paginate{font-size: 1em !important;	} 
	.hp_magazyn #hp-magazyn-6_paginate{font-size: 1em !important;	} 
	.hp_magazyn #hp-magazyn-12_paginate{font-size: 1em !important;	} 
}

@media screen and ( max-width: 1279px ) and ( min-width: 769px ) {
	.product table.dane {font-size: 0.9em !important;}
	.hp_magazyn table{font-size: 0.9em !important;	}
	.hp_magazyn #hp-magazyn_paginate{font-size: 0.9em !important;}
	.hp_magazyn #hp-magazyn-6_paginate{font-size: 0.9em !important;	} 
	.hp_magazyn #hp-magazyn-12_paginate{font-size: 0.9em !important;	} 
}

@media screen and ( max-width: 768px ) {
	.product table.dane {font-size: 0.7em !important;}
	.hp_magazyn table{	font-size: 0.7em !important;	}
	.hp_magazyn #hp-magazyn_paginate{font-size: 0.7em !important;}
	.hp_magazyn #hp-magazyn-6_paginate{font-size: 0.7em !important;	} 
	.hp_magazyn #hp-magazyn-12_paginate{font-size: 0.7em !important;	} 
}


    .product table.dane td {
        width: auto !important;
    }

    .product table.dane th {
        text-align: center;
        border-top: none;
        border-bottom: none;
    }

        .product table.dane th:first-child {
            border-right: solid 1px #dee2e6;
		}
		
		.product table.dane td:first-child {
            border-right: solid 1px #dee2e6;
        }

        .product table.dane th:first-child {
            border-left: none;
        }

    .product table.dane th {
        width: 5% !important;
    }

 
/* koniec kalkulatora */

/* tabele oferta */
table.oferta{
	table-layout: fixed; 
	width: 100%;
	font-size: 0.875em	
}

table.oferta th {
	border-bottom: 1px solid #dee2e6;	
	padding: 1em !important;
}

table.oferta td {
	padding: 1em !important;
}

table.oferta thead{
	font-weight: bold;
	background-color: rgba(0,0,0,.05);
}

table.oferta th:first-child {
	border-right: solid 1px #dee2e6; 
}

table.oferta td:first-child {
	border-right: solid 1px #dee2e6; 
}

table.oferta th:last-child {
	border-left: solid 1px #dee2e6;  
}

table.oferta td:last-child {
	border-left: solid 1px #dee2e6;  
}


/* magazyny hp_magazyn */


.hp_magazyn table{
	width: 100% !important;
}

.hp_magazyn table thead {
 word-wrap: none !important;
}

.hp_magazyn input[type="search"]{
    border: 1px solid #ddd;
    -webkit-border-radius: 0px;
    border-radius: 0px;
    display: inline !important;
	padding: 0em !important;	
	width: auto;
}

.hp_magazyn .dt-button
{
	background-image: none !important;
	background-color: #ffffff !important;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	border: 1px solid #4e5c5e;
}

.hp_magazyn  a.dt-button:hover
{

	border: 1px solid #ed6c05;
}

/* nowe kolory do bootstrapa */

.my-bg-danger{
	/* background-color: #ee6c05; */
	   background-color: #ed6c05;
}
.my-border-danger {
 /*border-color: #ee6c05; */
    border-color: #ed6c05;
}
.my-btn-outline-danger {
    /* color: #fd7e14; */
	color: #666 !important;
    background-color: transparent;
    background-image: none;
  /*  border-color: #fd7e14; */
	border-color: #ed6c05;
}
.my-btn-outline-danger:hover {
    color: #fff !important;
 /* background-color: #fd7e14; */
 /* border-color: #fd7e14; */
	background-color: #ed6c05;
    border-color: #ed6c05;
}

/* =========================================================
   HOME PAGE SLIDER – FINAL (802px, centered, no black gap)
   ========================================================= */

/* zewnętrzny kontener – pełna szerokość strony */
.hp-slider {
  width: 100%;
}

/* wewnętrzny kontener – jak w RevSliderze */
.hp-slider-inner {
  position: relative;
  max-width: 1300px;
  margin: 0 auto;          /* centrowanie */
  overflow: hidden;
  background: #000;
}

/* proporcje obrazów */
@media (min-width: 769px) {
  .hp-slider-inner {
    aspect-ratio: 1300 / 320;
  }
}

@media (max-width: 768px) {
  .hp-slider-inner {
    aspect-ratio: 775 / 450;
  }
}

/* fallback dla starych przeglądarek */
@supports not (aspect-ratio: 1 / 1) {
  .hp-slider-inner { height: 320px; }
  @media (max-width: 768px) {
    .hp-slider-inner { height: 450px; }
  }
}

/* SLIDES */
.hp-slider-inner .hp-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 1;
}

/* pierwszy slajd widoczny od razu */
.hp-slider-inner .hp-slide-1 {
  opacity: 1;
  z-index: 2;
  animation: hpFade1 15s infinite;
}

.hp-slider-inner .hp-slide-2 {
  animation: hpFade2 15s infinite;
}

.hp-slider-inner .hp-slide-3 {
  animation: hpFade3 15s infinite;
}

/* reset stylów motywu dla obrazów */
.hp-slider-inner picture,
.hp-slider-inner img {
  display: block;
  width: 100%;
  height: 100%;
}

/* poprawne skalowanie */
.hp-slider-inner img {
  object-fit: cover;
  object-position: center center;
}

/* ANIMACJA – BEZ CZARNYCH PRZERW I DESYNCHRONIZACJI */
@keyframes hpFade1 {
  0% { opacity: 1; }
  28.33% { opacity: 1; }
  33.33% { opacity: 0; }
  95% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes hpFade2 {
  0% { opacity: 0; }
  28.33% { opacity: 0; }
  33.33% { opacity: 1; }
  61.67% { opacity: 1; }
  66.67% { opacity: 0; }
  100% { opacity: 0; }
}

@keyframes hpFade3 {
  0% { opacity: 0; }
  61.67% { opacity: 0; }
  66.67% { opacity: 1; }
  95% { opacity: 1; }
  100% { opacity: 0; }
}

/* dostępność */

/* =============================================================
   GP NAVIGATION OVERRIDE — match Twenty Seventeen child style
   ============================================================= */

/* 1. Białe tło paska nawigacji (override GP Customizer #222222) */
.main-navigation,
.main-navigation ul ul {
	background-color: #fff !important;
}

/* 2. Ciemny tekst, font-weight 600 — jak w .navigation-top a w TS */
.main-navigation .main-nav ul li a,
.main-navigation .menu-toggle,
.main-navigation .menu-bar-items {
	color: #222 !important;
	font-weight: 600 !important;
	font-size: 1rem !important;
}

/* 3. Hover / focus — szare tło z zaokrągleniem jak w TS */
.main-navigation .main-nav ul li:not([class*="current-menu-"]):hover > a,
.main-navigation .main-nav ul li:not([class*="current-menu-"]):focus > a,
.main-navigation .main-nav ul li.sfHover:not([class*="current-menu-"]) > a {
	background-color: #dedede !important;
	color: #666 !important;
	-webkit-border-radius: 10px !important;
	border-radius: 10px !important;
}

/* 4. Aktywna pozycja menu */
.main-navigation .main-nav ul li[class*="current-menu-"] > a {
	background-color: #dedede !important;
	color: #666 !important;
	-webkit-border-radius: 10px !important;
	border-radius: 10px !important;
}

/* 5. Submenu — białe tło, ciemny tekst */
.main-navigation ul ul {
	background-color: #fff !important;
	border: 1px solid #eee;
}

.main-navigation .main-nav ul ul li a {
	color: #222 !important;
	font-weight: 400 !important;
}

.main-navigation .main-nav ul ul li:not([class*="current-menu-"]):hover > a,
.main-navigation .main-nav ul ul li:not([class*="current-menu-"]):focus > a,
.main-navigation .main-nav ul ul li.sfHover:not([class*="current-menu-"]) > a {
	background-color: #dedede !important;
	color: #666 !important;
}

.main-navigation .main-nav ul ul li[class*="current-menu-"] > a {
	background-color: #dedede !important;
	color: #666 !important;
}

/* 6. Przycisk menu mobilnego — ciemny tekst na białym tle */
button.menu-toggle:hover,
button.menu-toggle:focus,
.main-navigation .mobile-bar-items a,
.main-navigation .mobile-bar-items a:hover,
.main-navigation .mobile-bar-items a:focus {
	color: #222 !important;
}

/* 7. Precyzyjne odstępy menu i kontenera jak w TS */
.main-navigation .inside-navigation {
	max-width: 1300px;
	padding: 0;
}

.main-navigation .main-nav > ul {
	margin-bottom: 0;
	padding: 0;
}

.main-navigation .main-nav > ul > li > a {
	padding: 1em 1.25em;
}

/* 8. Historia — pozycja między logo a menu (obszar headera) */
.inside-header {
	position: relative;
	padding-left: 0 !important;
}

@media screen and (max-width: 1280px) {
	.inside-header {
		padding-left: 15px !important;
		padding-right: 15px !important;
	}

	.site-logo {
		margin-left: 0 !important;
	}
}

.site-logo {
	margin-left: -20px;
}

.separate-containers .site-main {
	margin-top: 0 !important;
}

.home main#primary.site-main {
	margin-right: 0 !important;
	margin-left: 0 !important;
}

.site-header .header-image {
	width: 266px !important;
}

.inside-header a.history {
	position: absolute;
	top: 33px;
	left: 303px;
	z-index: 10;
}

@media screen and (max-width: 1000px) {
	.inside-header a.history {
		top: 34px;
		left: 260px;
	}
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
	.inside-header {
		padding-left: 15px !important;
		padding-right: 15px !important;
		padding-top: 11px;
		min-height: 130px;
	}

	.site-header .header-image {
		width: 230px !important;
	}

	.inside-header .custom-header {
		right: 15px !important;
		top: 8px !important;
	}

	.inside-header .custom-header .site-top {
		top: 0 !important;
	}

	.inside-header .custom-header .site-top .search-form {
		width: 150px;
	}

	.inside-header .custom-header .site-top .search-field,
	.inside-header .custom-header .site-top .pll-switcher-select {
		height: 32px !important;
		font-size: 15px !important;
		margin-top: 0 !important;
	}

	.main-navigation {
		top: 88px !important;
		bottom: auto !important;
		height: 32px;
	}
}

@media screen and (max-width: 580px) {
	.site-footer .wrap .widget-area .col-8,
	.site-footer .widget-area .row > .col-8 {
		padding-left: 15px !important;
		padding-right: 15px !important;
	}

	.site-footer .footer-widget-1 .widget_media_image,
	.site-footer .footer-widget-1 .widget_media_image figure,
	.site-footer .footer-widget-1 .widget_media_image img {
		margin-left: 0 !important;
	}

	.menu-footer-bottom .menu {
		margin-left: 0 !important;
		padding-left: 25px !important;
	}
}

/* GP: pasek szukaj + jezyk ma byc nad menu, nie na menu */
.inside-header .custom-header .site-top {
	position: relative;
	z-index: 20;
	margin-bottom: 0;
}

.inside-header .custom-header .site-top .container {
	position: static;
	top: auto;
	right: auto;
	width: 100%;
	padding: 0;
	text-align: right;
}

.inside-header .custom-header .site-top .wrap {
	max-width: 1300px;
	margin: 0 auto;
	padding: 0;
}

.inside-header .custom-header .site-top .container ul {
	display: inline-flex;
	align-items: center;
	justify-content: flex-end;
	flex-wrap: nowrap;
	gap: 10px;
	margin: 0;
	padding: 0;
}

.inside-header .custom-header .site-top .container ul li {
	float: none;
	margin-left: 0;
	display: inline-flex;
	align-items: center;
}

.inside-header .custom-header .site-top .search-form {
	top: 0;
	margin: 0;
}

.inside-header .custom-header .site-top .search-form .search-submit {
	position: absolute;
	right: 3px;
	bottom: 3px;
	top: 0;
	padding: 0.35em 0.55em;
}

.inside-header .custom-header .site-top .search-form .search-submit .icon {
	height: 20px;
	width: 20px;
	top: -1px;
}

.inside-header .custom-header .site-top .search-form .search-submit .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Top menu hover i wysokość przycisku jak w TS */
.main-navigation {
	margin-top: -4px;
}

.main-navigation .main-nav > ul > li > a {
	padding: 0.62em 0.95em;
	line-height: 1.2;
	font-size: 0.92rem;
}

.main-navigation .main-nav ul li:not([class*="current-menu-"]):hover > a,
.main-navigation .main-nav ul li:not([class*="current-menu-"]):focus > a,
.main-navigation .main-nav ul li.sfHover:not([class*="current-menu-"]) > a {
	background-color: transparent !important;
	color: #767676 !important;
	-webkit-border-radius: 0 !important;
	border-radius: 0 !important;
}

@media screen and (max-width: 768px) {
	.inside-header .custom-header .site-top {
		margin-bottom: 6px;
	}

	.inside-header .custom-header .site-top .container {
		text-align: left;
	}

	.inside-header .custom-header .site-top .container ul {
		justify-content: flex-start;
		flex-wrap: wrap;
		gap: 8px;
	}
}
@media (prefers-reduced-motion: reduce) {
  .hp-slider-inner .hp-slide {
    animation: none !important;
    opacity: 0 !important;
  }
  .hp-slider-inner .hp-slide-1 {
    opacity: 1 !important;
  }
}

/* Final header/menu overrides for GP-child migration */
.inside-header .custom-header .site-top .wrap {
	max-width: none;
	margin: 0;
	padding: 0;
}

.inside-header .custom-header .site-top .container {
	/* Neutralizuj bootstrap .container w headerze, aby prawa krawedz byla identyczna jak menu */
	width: 100%;
	max-width: none;
	margin-left: 0;
	margin-right: 0;
	padding-left: 0;
	padding-right: 0;
	display: flex;
	justify-content: flex-end;
}

/* Na desktopie przypnij pasek search/lang do tej samej prawej krawedzi co menu */
@media screen and (min-width: 769px) {
	/* Site-top ma byc pozycjonowany wzgledem inside-header (tej samej osi co menu) */
	.inside-header .custom-header {
		position: absolute;
		top: 0;
		right: 0;
	}

	.inside-header .custom-header .site-top {
		position: absolute;
		top: -3px;
		right: 0;
		left: auto;
		margin-bottom: 0;
	}

	.inside-header .custom-header .site-top .container {
		width: auto;
	}

	.inside-header .custom-header .site-top .container ul {
		align-items: flex-start;
	}

	.inside-header .custom-header .site-top .container ul li {
		margin-top: 5px !important;
	}

	/* Pole szukaj krotsze o ok. 1/3 */
	.inside-header .custom-header .site-top .search-form {
		width: 160px;
	}

	/* Kontrolki search + PL/EN: mniejsze o ok. 3px */
	.inside-header .custom-header .site-top .search-field,
	.inside-header .custom-header .site-top .pll-switcher-select {
		font-size: 16px !important;
		height: 36px !important;
		line-height: 1.1;
		margin-top: 8px !important;
	}

	.inside-header .custom-header .site-top .pll-switcher-select {
		margin-top: 8px !important;
	}

	.inside-header .custom-header .site-top .search-field {
		width: 100%;
		box-sizing: border-box;
		padding: 0 46px 0 8px;
		margin-top: 8px !important;
	}

	.inside-header .custom-header .site-top .search-form .search-submit {
		right: 0;
		top: 4px;
		bottom: 0;
		padding: 0;
		width: 44px;
		display: flex;
		align-items: center;
		justify-content: flex-end;
		background: transparent !important;
		border: 0;
		border-bottom: 1px solid #ddd;
		border-radius: 0;
		box-shadow: none;
	}

	.inside-header .custom-header .site-top .search-form .search-submit .icon {
		height: 42px;
		width: 42px;
		max-width: 100%;
		transform: none;
		transform-origin: center center;
	}
}

/* Menu wyzej i bardziej kompaktowe (desktop) */
@media screen and (min-width: 769px) {
	.main-navigation {
		position: absolute;
		right: 0;
		bottom: 22px;
		margin-top: 0;
	}

	.main-navigation .main-nav > ul > li > a {
		padding: 0.52em 0.85em;
		font-size: 0.9rem;
		line-height: 1.1;
	}
}

/* =============================================================
   FINAL: Menu parity with TS (desktop)
   ============================================================= */
@media screen and (min-width: 769px) {
	.main-navigation,
	.main-navigation ul,
	.main-navigation ul ul {
		background: #fff !important;
	}

	.main-navigation .main-nav > ul > li > a {
		font-size: 15px !important;
		font-weight: bold !important;
		font-family: "Roboto Condensed", "Helvetica Neue", helvetica, arial, sans-serif !important;
		text-transform: uppercase !important;
		color: #4e5c5e !important;
		padding: 0.35em 1.1em 0.3em 1.1em !important;
		border-radius: 10px;
		transition: background-color 0.2s ease, color 0.2s ease;
	}

	.main-navigation .main-nav > ul > li:hover > a,
	.main-navigation .main-nav > ul > li:focus-within > a,
	.main-navigation .main-nav > ul > li.sfHover > a {
		background-color: #ed6c05 !important;
		color: #fff !important;
		border-radius: 10px !important;
	}

	.main-navigation .main-nav > ul > li > a:hover,
	.main-navigation .main-nav > ul > li > a:focus,
	.main-navigation .main-nav > ul > li.current-menu-item > a:hover,
	.main-navigation .main-nav > ul > li.current_page_item > a:hover,
	.main-navigation .main-nav > ul > li.current-menu-ancestor > a:hover {
		background-color: #ed6c05 !important;
		color: #fff !important;
		border-radius: 10px !important;
	}

	.main-navigation .main-nav > ul > li.current-menu-item > a,
	.main-navigation .main-nav > ul > li.current_page_item > a,
	.main-navigation .main-nav > ul > li.current-menu-ancestor > a {
		background-color: transparent !important;
		color: #4e5c5e !important;
		border-radius: 10px !important;
	}

	/* Ta reguła musi być po stanie current, żeby hover zawsze był czerwony */
	.main-navigation .main-nav > ul > li.current-menu-item:hover > a,
	.main-navigation .main-nav > ul > li.current_page_item:hover > a,
	.main-navigation .main-nav > ul > li.current-menu-ancestor:hover > a,
	.main-navigation .main-nav > ul > li.current-menu-item > a:hover,
	.main-navigation .main-nav > ul > li.current_page_item > a:hover,
	.main-navigation .main-nav > ul > li.current-menu-ancestor > a:hover {
				background-color: #ed6c05 !important;
		color: #fff !important;
	}

	.main-navigation .main-nav ul ul {
		background: #ffffff !important;
		border: 1px solid #ececec !important;
		border-radius: 10px !important;
		padding: 8px !important;
		width: auto !important;
		min-width: 0 !important;
		max-width: none !important;
		display: inline-block !important;
		white-space: nowrap;
	}

	.main-navigation .main-nav ul ul li a {
		color: #4e5c5e !important;
		text-transform: none !important;
		font-size: 15px !important;
		font-weight: bold !important;
		padding: calc(0.45em + 5px) 0.9em !important;
		border-radius: 10px;
		white-space: nowrap;
	}

	.main-navigation .main-nav ul ul li:hover > a,
	.main-navigation .main-nav ul ul li:focus-within > a,
	.main-navigation .main-nav ul ul li.sfHover > a {
				background-color: #ed6c05 !important;
		color: #fff !important;
		border-radius: 10px !important;
	}

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

/* ABSOLUTE PRIORITY: czerwony hover dla glownego menu */
@media screen and (min-width: 769px) {
	#site-navigation .main-nav > ul > li:hover > a,
	#site-navigation .main-nav > ul > li:focus-within > a,
	#site-navigation .main-nav > ul > li.sfHover > a,
	#site-navigation .main-nav > ul > li > a:hover,
	#site-navigation .main-nav > ul > li > a:focus,
	#site-navigation .main-nav > ul > li.current-menu-item:hover > a,
	#site-navigation .main-nav > ul > li.current_page_item:hover > a,
	#site-navigation .main-nav > ul > li.current-menu-ancestor:hover > a,
	#site-navigation .main-nav > ul > li.current-menu-item > a:hover,
	#site-navigation .main-nav > ul > li.current_page_item > a:hover,
	#site-navigation .main-nav > ul > li.current-menu-ancestor > a:hover {
		background: #ed6c05 !important;
		color: #ffffff !important;
		border-radius: 10px !important;
	}

	#site-navigation .main-nav ul ul li:hover > a,
	#site-navigation .main-nav ul ul li:focus-within > a,
	#site-navigation .main-nav ul ul li.sfHover > a,
	#site-navigation .main-nav ul ul li > a:hover,
	#site-navigation .main-nav ul ul li > a:focus {
		background: #ed6c05 !important;
		color: #ffffff !important;
		border-radius: 10px !important;
	}

	#site-navigation .main-nav ul ul {
		width: auto !important;
		min-width: 0 !important;
		max-width: none !important;
		display: inline-block !important;
		padding: 8px !important;
		white-space: nowrap;
	}
}

/* TABLET / TRANSITION HEADER: 2 rows like 360px, with tools next to menu */
@media screen and (min-width: 581px) and (max-width: 768px) {
	.inside-header {
		display: grid !important;
		grid-template-columns: auto 1fr !important;
		grid-template-areas:
			"logo history"
			"nav tools" !important;
		column-gap: 18px !important;
		row-gap: 12px !important;
		align-items: center !important;
		padding: 14px 20px 12px 20px !important;
	}

	.inside-header > .site-logo {
		grid-area: logo !important;
		margin: 0 !important;
		width: auto !important;
		min-width: 0 !important;
	}

	.inside-header > .site-logo .header-image {
		display: inline-block !important;
		max-width: 220px !important;
		height: auto !important;
		margin: 0 !important;
	}

	.inside-header > a.history {
		grid-area: history !important;
		position: static !important;
		top: auto !important;
		left: auto !important;
		right: auto !important;
		bottom: auto !important;
		margin: 0 !important;
		justify-self: end !important;
		white-space: nowrap !important;
	}

	.inside-header > .main-navigation {
		grid-area: nav !important;
		position: static !important;
		top: auto !important;
		left: auto !important;
		right: auto !important;
		bottom: auto !important;
		width: auto !important;
		margin: 0 !important;
		padding: 0 0 0 19px !important;
	}

	.inside-header .menu-toggle {
		width: auto !important;
		padding: 2px 0 !important;
		margin-left: 0 !important;
		font-size: 24px !important;
		line-height: 1 !important;
	}

	.inside-header .menu-toggle::before {
		font-size: 24px !important;
		margin-left: 0 !important;
		margin-right: 0.45em !important;
		vertical-align: middle;
	}

	.inside-header .menu-toggle .mobile-menu {
		font-size: 24px !important;
		font-weight: 700 !important;
		line-height: 24px !important;
	}

	.inside-header > .custom-header {
		grid-area: tools !important;
		position: static !important;
		margin: 0 !important;
		width: 100% !important;
		min-width: 0 !important;
	}

	.inside-header > .custom-header .site-top,
	.inside-header > .custom-header .site-top .wrap,
	.inside-header > .custom-header .site-top .container {
		margin: 0 !important;
		padding: 0 !important;
		position: static !important;
		top: auto !important;
		right: auto !important;
		left: auto !important;
		width: 100% !important;
	}

	.inside-header > .custom-header .site-top .container ul {
		display: flex !important;
		align-items: center !important;
		justify-content: flex-end !important;
		flex-wrap: nowrap !important;
		gap: 8px !important;
		width: 100% !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	.inside-header > .custom-header .site-top .container ul > li {
		width: auto !important;
		margin: 0 !important;
		padding: 0 !important;
		float: none !important;
		flex: 0 0 auto !important;
	}

	.inside-header > .custom-header .site-top .search-form {
		width: 100% !important;
		max-width: 180px !important;
	}

	.inside-header > .custom-header .site-top .search-field {
		width: 100% !important;
	}

	.inside-header > .custom-header .site-top .pll-switcher-select {
		width: 52px !important;
	}

	.main-navigation .main-nav > ul.menu {
		padding: 20px 0 !important;
		width: 100% !important;
	}

	.inside-header > .main-navigation.toggled {
		grid-column: 1 / -1 !important;
		width: 100% !important;
		max-width: 100% !important;
		padding-left: 0 !important;
	}

	.inside-header > .main-navigation.toggled ~ .custom-header {
		display: none !important;
	}

	.inside-header > .main-navigation.toggled .main-nav > ul.menu {
		display: block !important;
		width: 100vw !important;
		max-width: 100vw !important;
		margin-left: calc(50% - 50vw) !important;
		margin-right: calc(50% - 50vw) !important;
		padding: 20px 20px !important;
		box-sizing: border-box !important;
		background: #ffffff !important;
	}

	.inside-header > .main-navigation.toggled .main-nav > ul.menu > li > a {
		display: block !important;
		width: 100% !important;
		color: #4e5c5e !important;
		background: transparent !important;
		border-radius: 8px !important;
	}

	.inside-header > .main-navigation.toggled .main-nav > ul.menu > li > a:hover,
	.inside-header > .main-navigation.toggled .main-nav > ul.menu > li > a:focus,
	.inside-header > .main-navigation.toggled .main-nav > ul.menu > li.current-menu-item > a,
	.inside-header > .main-navigation.toggled .main-nav > ul.menu > li.current_page_item > a,
	.inside-header > .main-navigation.toggled .main-nav > ul.menu > li.current-menu-ancestor > a {
		background-color: #ed6c05 !important;
		color: #ffffff !important;
	}

	.inside-header > .main-navigation.toggled .main-nav > ul.menu > li + li > a {
		margin-top: 4px !important;
	}

	.inside-header > .main-navigation.toggled .main-nav > ul.menu ul.sub-menu {
		background: transparent !important;
		border: 0 !important;
		box-shadow: none !important;
		padding: 0 0 0 16px !important;
		margin: 4px 0 0 0 !important;
		width: 100% !important;
	}

	.inside-header > .main-navigation.toggled .main-nav > ul.menu ul.sub-menu li > a {
		display: block !important;
		width: 100% !important;
		background: transparent !important;
		color: #4e5c5e !important;
		border-radius: 8px !important;
	}

	.inside-header > .main-navigation.toggled .main-nav > ul.menu ul.sub-menu li > a:hover,
	.inside-header > .main-navigation.toggled .main-nav > ul.menu ul.sub-menu li > a:focus,
	.inside-header > .main-navigation.toggled .main-nav > ul.menu ul.sub-menu li.current-menu-item > a,
	.inside-header > .main-navigation.toggled .main-nav > ul.menu ul.sub-menu li.current_page_item > a,
	.inside-header > .main-navigation.toggled .main-nav > ul.menu ul.sub-menu li.current-menu-ancestor > a {
		background-color: #ed6c05 !important;
		color: #ffffff !important;
	}

	.inside-header .menu-toggle,
	.inside-header .menu-toggle::before,
	.inside-header .menu-toggle .mobile-menu,
	.inside-header .main-navigation .main-nav ul li > a,
	.inside-header .main-navigation .main-nav ul li > a .dropdown-menu-toggle {
		color: #4e5c5e !important;
	}

	.inside-header .menu-toggle,
	.inside-header .menu-toggle::before,
	.inside-header .menu-toggle .mobile-menu {
		color: #666666 !important;
	}
}

/* FINAL MOBILE HEADER OVERRIDES (baseline: 360/390) */
@media screen and (max-width: 580px) {
	.inside-header {
		display: grid !important;
		grid-template-columns: auto 1fr !important;
		grid-template-areas:
			"logo history"
			"nav tools" !important;
		column-gap: 12px !important;
		row-gap: 10px !important;
		align-items: center !important;
		padding: 12px 15px 10px 15px !important;
	}

	.inside-header > .site-logo {
		grid-area: logo !important;
		margin: 0 !important;
		width: auto !important;
		min-width: 0 !important;
	}

	.inside-header > .site-logo .header-image {
		display: inline-block !important;
		max-width: 170px !important;
		height: auto !important;
		margin: 0 !important;
	}

	.inside-header > a.history {
		grid-area: history !important;
		position: static !important;
		top: auto !important;
		left: auto !important;
		right: auto !important;
		bottom: auto !important;
		margin: 0 !important;
		justify-self: end !important;
		white-space: nowrap !important;
	}

	.inside-header > .main-navigation {
		grid-area: nav !important;
		position: static !important;
		top: auto !important;
		left: auto !important;
		right: auto !important;
		bottom: auto !important;
		width: auto !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	.inside-header .menu-toggle {
		width: auto !important;
		padding: 2px 0 !important;
		margin-left: 15px !important;
		font-size: 24px !important;
		line-height: 1 !important;
	}

	.inside-header .menu-toggle::before {
		font-size: 24px !important;
		margin-left: 0 !important;
		margin-right: 0.45em !important;
		vertical-align: middle;
	}

	.inside-header .menu-toggle .mobile-menu {
		font-size: 24px !important;
		font-weight: 700 !important;
		line-height: 24px !important;
	}

	.inside-header > .custom-header {
		grid-area: tools !important;
		margin: 0 !important;
		width: 100% !important;
		min-width: 0 !important;
	}

	.inside-header > .custom-header .site-top,
	.inside-header > .custom-header .site-top .wrap,
	.inside-header > .custom-header .site-top .container {
		margin: 0 !important;
		padding: 0 !important;
		position: static !important;
		top: auto !important;
		right: auto !important;
		left: auto !important;
		width: 100% !important;
	}

	.inside-header > .custom-header .site-top .container ul {
		display: flex !important;
		align-items: center !important;
		justify-content: flex-end !important;
		flex-wrap: nowrap !important;
		gap: 6px !important;
		width: 100% !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	.inside-header > .custom-header .site-top .container ul > li {
		width: auto !important;
		margin: 0 !important;
		padding: 0 !important;
		float: none !important;
		flex: 0 0 auto !important;
	}

	.inside-header > .custom-header .site-top .search-form {
		width: 100% !important;
		max-width: 128px !important;
	}

	.inside-header > .custom-header .site-top .search-field {
		width: 100% !important;
	}

	.inside-header > .custom-header .site-top .pll-switcher-select {
		width: 48px !important;
	}

	.main-navigation .main-nav > ul.menu {
		padding: 20px 0 !important;
		width: 100% !important;
	}

	/* Mobile parity with production: expanded menu spans full viewport width */
	.inside-header > .main-navigation.toggled {
		grid-column: 1 / -1 !important;
		width: 100% !important;
		max-width: 100% !important;
	}

	.inside-header > .main-navigation.toggled ~ .custom-header {
		display: none !important;
	}

	.inside-header > .main-navigation.toggled .main-nav > ul.menu {
		display: block !important;
		width: 100vw !important;
		max-width: 100vw !important;
		margin-left: calc(50% - 50vw) !important;
		margin-right: calc(50% - 50vw) !important;
		padding: 20px 15px !important;
		box-sizing: border-box !important;
		background: #ffffff !important;
	}

	.inside-header > .main-navigation.toggled .main-nav > ul.menu > li > a {
		display: block !important;
		width: 100% !important;
		color: #4e5c5e !important;
		background: transparent !important;
		border-radius: 8px !important;
	}

	.inside-header > .main-navigation.toggled .main-nav > ul.menu > li > a:hover,
	.inside-header > .main-navigation.toggled .main-nav > ul.menu > li > a:focus,
	.inside-header > .main-navigation.toggled .main-nav > ul.menu > li.current-menu-item > a,
	.inside-header > .main-navigation.toggled .main-nav > ul.menu > li.current_page_item > a,
	.inside-header > .main-navigation.toggled .main-nav > ul.menu > li.current-menu-ancestor > a {
		background-color: #ed6c05 !important;
		color: #ffffff !important;
	}

	.inside-header > .main-navigation.toggled .main-nav > ul.menu > li + li > a {
		margin-top: 4px !important;
	}

	/* Submenu (2nd level) parity on mobile: no outer frame, same hover style */
	.inside-header > .main-navigation.toggled .main-nav > ul.menu ul.sub-menu {
		background: transparent !important;
		border: 0 !important;
		box-shadow: none !important;
		padding: 0 0 0 14px !important;
		margin: 4px 0 0 0 !important;
		width: 100% !important;
	}

	.inside-header > .main-navigation.toggled .main-nav > ul.menu ul.sub-menu li > a {
		display: block !important;
		width: 100% !important;
		background: transparent !important;
		color: #4e5c5e !important;
		border-radius: 8px !important;
	}

	.inside-header > .main-navigation.toggled .main-nav > ul.menu ul.sub-menu li > a:hover,
	.inside-header > .main-navigation.toggled .main-nav > ul.menu ul.sub-menu li > a:focus,
	.inside-header > .main-navigation.toggled .main-nav > ul.menu ul.sub-menu li.current-menu-item > a,
	.inside-header > .main-navigation.toggled .main-nav > ul.menu ul.sub-menu li.current_page_item > a,
	.inside-header > .main-navigation.toggled .main-nav > ul.menu ul.sub-menu li.current-menu-ancestor > a {
		background-color: #ed6c05 !important;
		color: #ffffff !important;
	}

	.inside-header .menu-toggle,
	.inside-header .menu-toggle::before,
	.inside-header .menu-toggle .mobile-menu,
	.inside-header .main-navigation .main-nav ul li > a,
	.inside-header .main-navigation .main-nav ul li > a .dropdown-menu-toggle,
	.inside-header .main-navigation .main-nav ul li > a:hover,
	.inside-header .main-navigation .main-nav ul li > a:focus {
		color: #4e5c5e !important;
	}

	.inside-header .menu-toggle,
	.inside-header .menu-toggle::before,
	.inside-header .menu-toggle .mobile-menu {
		color: #666666 !important;
	}

	.inside-header .main-navigation .main-nav ul li > a:hover,
	.inside-header .main-navigation .main-nav ul li > a:focus,
	.inside-header .main-navigation .main-nav ul li.current-menu-item > a,
	.inside-header .main-navigation .main-nav ul li.current_page_item > a,
	.inside-header .main-navigation .main-nav ul li.current-menu-ancestor > a {
		background-color: #ed6c05 !important;
		color: #ffffff !important;
	}
}

@media screen and (max-width: 390px) {
	.inside-header > .site-logo .header-image {
		max-width: 155px !important;
	}

	.inside-header > .custom-header .site-top .search-form {
		max-width: 108px !important;
	}

	.inside-header > .custom-header .site-top .pll-switcher-select {
		width: 44px !important;
	}

	.inside-header > .custom-header .site-top .container ul {
		gap: 4px !important;
	}
}

/* FINAL FOOTER OVERRIDES (restored baseline) */
.site-footer {
	clear: both;
}

.site-footer .widget-area .row > .col-8 {
	display: flex;
	align-items: flex-start;
	gap: 48px;
}

.site-footer .widget-area .row {
	margin-left: 0;
	margin-right: 0;
}

.site-footer .widget-area .row > .col-8 > .widget-column.footer-widget-1 {
	flex: 0 0 360px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.site-footer .widget-area .row > .col-8 > .menu-menu-stopka-container {
	flex: 1 1 auto;
	padding-top: 10px;
}

.site-footer .footer-menu,
.site-footer .footer-menu ul,
.site-footer .footer-menu li,
.site-footer .footer-menu li::marker,
.site-footer .footer-menu .sub-menu,
.site-footer .footer-menu .sub-menu li,
.site-footer .footer-menu .sub-menu li::marker {
	list-style: none !important;
	margin-inline-start: 0 !important;
	padding-inline-start: 0 !important;
}

.site-footer .footer-widget-1 #nav_menu-5,
.site-footer .footer-widget-1 #nav_menu-6 {
	display: none;
}

.site-footer .footer-widget-1 .widget {
	padding-bottom: 0;
	margin-bottom: 0;
}

.site-footer .widget-area .row > .col-8 > .widget-column.footer-widget-1 .widget.inner-padding {
	padding-left: 0 !important;
	padding-right: 0 !important;
}

.site-footer .footer-widget-1 .widget_media_image {
	margin-top: -45px !important;
	margin-bottom: 12px;
}

.site-footer .footer-widget-1 .widget_media_image figure {
	margin: 0 !important;
}

.site-footer .footer-widget-1 .widget_media_image img {
	width: 390px;
	max-width: 100%;
	height: auto;
	display: block;
	margin-left: 0 !important;
}

.site-footer .footer-social-links:not(.footer-social-links--bottom) {
	display: none;
}

.site-footer .site-info {
	background: #efefef;
	margin-left: calc(-50vw + 50%);
	margin-right: calc(-50vw + 50%);
	width: 100vw;
	max-width: 100vw;
	margin-bottom: 0;
	padding: 0;
	overflow-x: hidden;
}

.site-footer .site-info > .wrap {
	max-width: 1280px;
	margin: 0 auto;
	padding: 14px 20px;
}

.menu-footer-bottom {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.menu-footer-bottom .menu {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	align-items: center;
	gap: 20px;
}

.menu-footer-bottom .menu li {
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 14px;
	line-height: 1.2;
	color: #666;
}

.menu-footer-bottom .menu li a {
	font-size: 14px;
	color: #666;
	text-transform: initial;
	font-weight: normal;
	text-decoration: none;
}

.menu-footer-bottom .menu li a:hover,
.menu-footer-bottom .menu li a:focus {
	text-decoration: underline;
}

.copyright {
	position: static;
	line-height: 18px;
	text-align: right;
	color: #666;
}

.footer-bottom-right {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	margin-left: auto;
	gap: 12px;
}

.footer-social-links--bottom {
	margin-top: 0;
	margin-left: 18px;
	display: flex;
	gap: 8px;
	align-items: center;
}

.footer-social-links--bottom .footer-social-link {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: #efefef;
	color: #666;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	font-size: 18px;
	line-height: 1;
}

.footer-social-links--bottom .footer-social-link:hover,
.footer-social-links--bottom .footer-social-link:focus {
	background: #ffffff;
	color: #444;
}

@media screen and (max-width: 1280px) {
	.site-footer .widget-area .row > .col-8 {
		flex-direction: column;
		gap: 6px;
	}

	.site-footer .widget-area .row > .col-8 > .widget-column.footer-widget-1 {
		flex: 0 0 auto;
		width: 100%;
	}

	.site-footer .widget-area .row > .col-8 > .menu-menu-stopka-container {
		padding-top: 0;
		width: 100%;
	}
}

@media screen and (min-width: 581px) and (max-width: 768px) {
	.site-footer .footer-widget-1 .widget_media_image {
		margin-left: -33px !important;
	}

	/* Tablet content polish */
	.home .category ul li.col-4 {
		-ms-flex: 0 0 50%;
		flex: 0 0 50%;
		max-width: 50%;
		margin-bottom: 20px;
	}

	.home .category ul li .container {
		height: 220px;
	}

	.home .category ul li .pack {
		height: 170px;
	}

	.home .category ul li p {
		width: 100%;
	}

	.blog-news .col-6,
	.blog-cooperation .col-6 {
		-ms-flex: 0 0 50%;
		flex: 0 0 50%;
		max-width: 50%;
	}

	.subpage {
		padding: 0;
		margin: 0;
	}

	.subpage .col-3,
	.subpage .col-9 {
		-ms-flex: 0 0 100%;
		flex: 0 0 100%;
		max-width: 100%;
	}

	/* Footer bottom bar polish at 768 */
	.menu-footer-bottom {
		flex-wrap: wrap;
		justify-content: flex-start;
		gap: 12px;
	}

	.menu-footer-bottom .menu {
		width: 100%;
		padding: 0 !important;
	}

	.copyright {
		text-align: left;
	}

	.footer-bottom-right {
		width: 100%;
		justify-content: flex-start;
		margin-left: 0;
	}
}

@media screen and (max-width: 767px) {
	html,
	body,
	#page {
		min-width: 0 !important;
	}

	body {
		overflow-x: hidden;
	}

	.menu-footer-bottom {
		position: relative;
		padding-bottom: 0;
		flex-wrap: wrap;
		justify-content: flex-start;
	}

	.menu-footer-bottom .menu {
		width: 100%;
		padding: 0 !important;
	}

	.copyright {
		position: static;
		text-align: left;
	}

	.home .certifications {
		padding-bottom: 100px !important;
		margin-bottom: 120px;
	}

	.home .site-main {
		padding-bottom: 120px;
	}

	.historia-time-line {
		overflow: hidden;
		margin-bottom: 120px;
	}

	.historia-time-line .slick-list {
		overflow: hidden !important;
	}

	.home .blog-certifications ul {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		gap: 10px;
	}

	.home .blog-certifications ul li {
		display: inline-block;
	}
}

@media screen and (max-width: 580px) {
	.site-logo {
		margin-left: 0 !important;
	}

	/* Prevent oversized post thumbnails from extending body width on mobile */
	.home img.attachment-large.size-large,
	.home .wp-post-image,
	.home .news .thumbnail img,
	.home .cooperation .thumbnail img {
		max-width: 100% !important;
		width: 100% !important;
		height: auto !important;
	}

	.site-footer .site-info > .wrap {
		padding: 8px 10px;
	}

	.menu-footer-bottom {
		gap: 4px 10px;
	}

	.menu-footer-bottom .menu {
		gap: 12px;
	}

	.menu-footer-bottom .menu li,
	.menu-footer-bottom .menu li a {
		font-size: 12px;
		line-height: 1;
		white-space: nowrap;
	}

	.copyright {
		line-height: 14px;
		font-size: 12px;
	}

	.footer-bottom-right {
		gap: 8px;
	}

	.footer-social-links--bottom {
		margin-left: 8px;
	}

	.footer-social-links--bottom .footer-social-link {
		width: 24px;
		height: 24px;
		font-size: 14px;
	}
}

/* FINAL HOME NEWS OVERRIDES: consistent grid + non-cropped thumbnails */
.home .news .wrap,
.home .category .wrap {
	padding-left: 6px !important;
	padding-right: 6px !important;
	box-sizing: border-box !important;
}

.home .news .wrap {
	margin-left: calc(-50dvw + 50%);
	margin-right: calc(-50dvw + 50%);
	width: 100dvw;
	max-width: 100dvw;
}

@supports not (width: 100dvw) {
	.home .news .wrap {
		margin-left: calc(-50vw + 50%);
		margin-right: calc(-50vw + 50%);
		width: 100vw;
		max-width: 100vw;
	}
}

.home .blog-news {
	padding-left: 0 !important;
	padding-right: 0 !important;
}

.home .blog-news ul.row {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 24px !important;
	row-gap: 28px !important;
	width: auto !important;
	margin: 0 !important;
	margin-left: -15px !important;
	margin-right: -15px !important;
	padding: 0 !important;
	box-sizing: border-box !important;
}

.home .blog-news ul.row > li.col-6 {
	list-style: none;
	float: none !important;
	width: auto !important;
	max-width: none !important;
	flex: initial !important;
	padding: 14px 14px 72px;
	margin: 0;
	border: 1px solid #d9d9d9;
	border-radius: 10px;
	box-sizing: border-box;
	position: relative;
}

.home .blog-news ul.row > li.col-6 a.button {
	bottom: 15px;
}

.home .news .thumbnail {
	height: auto !important;
	min-height: 220px;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	margin-bottom: 12px;
	background: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
}

.home .news .thumbnail a {
	display: block;
	width: 100%;
	height: 100%;
}

.home .news .thumbnail img {
	width: 100% !important;
	height: 100% !important;
	object-fit: contain;
	object-position: center;
	display: block;
}

@media screen and (max-width: 1279px) {
	.home .blog-news ul.row {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		padding-left: 0 !important;
		padding-right: 0 !important;
	}
}

@media screen and (max-width: 1024px) {
	.home .blog-news ul.row {
		grid-template-columns: minmax(0, 1fr);
		row-gap: 22px !important;
		padding-left: 0 !important;
		padding-right: 0 !important;
	}

	.home .news .thumbnail {
		min-height: 200px;
	}
}

@media screen and (max-width: 580px) {
	.home #page,
	.home .site {
		left: 0 !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
		padding-left: 0 !important;
		padding-right: 0 !important;
		width: 100% !important;
		max-width: 100% !important;
	}

	.home .site-content,
	.home main#primary.site-main {
		margin-left: 0 !important;
		margin-right: 0 !important;
		width: 100% !important;
		max-width: 100% !important;
	}

	.home .news .wrap {
		margin-left: 0 !important;
		margin-right: 0 !important;
		width: 100% !important;
		max-width: 100% !important;
	}

	.home .bg-container {
		margin-left: 0 !important;
		margin-right: 0 !important;
		width: 100% !important;
		max-width: 100% !important;
	}

	.home .blog-news ul.row {
		margin-left: 0 !important;
		margin-right: 0 !important;
		padding-left: 6px !important;
		padding-right: 6px !important;
	}
}

@media screen and (min-width: 581px) {
	.home .news .wrap {
		margin-left: 0 !important;
		margin-right: 0 !important;
		width: 100% !important;
		max-width: 100% !important;
		padding-left: 15px !important;
		padding-right: 15px !important;
	}

	.home .blog-news ul.row {
		margin-left: 0 !important;
		margin-right: 0 !important;
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box !important;
		padding-left: 0 !important;
		padding-right: 0 !important;
	}
}

@media screen and (min-width: 581px) and (max-width: 784px) {
	.home .category ul li .container {
		position: relative !important;
		top: 0 !important;
		left: 0 !important;
		height: 220px !important;
	}

	.home .category ul li .pack {
		position: static !important;
		height: 170px !important;
	}

	.home .category ul li .container .button,
	.home .category ul li a.button {
		position: absolute !important;
		top: auto !important;
		bottom: 15px !important;
		left: auto !important;
		right: 15px !important;
	}
}

@media screen and (min-width: 1025px) and (max-width: 1279px) {
	.inside-header {
		padding-left: 15px !important;
		padding-right: 15px !important;
		min-height: 130px;
	}

	.inside-header > .site-logo,
	.site-logo {
		margin-left: 0 !important;
	}

	.inside-header > .site-logo .header-image,
	.site-header .header-image {
		width: 230px !important;
		max-width: 230px !important;
		height: auto !important;
	}

	.inside-header > .custom-header {
		position: absolute !important;
		top: 8px !important;
		right: 15px !important;
		left: auto !important;
	}

	.inside-header > .custom-header .site-top {
		position: absolute !important;
		top: 0 !important;
		right: 0 !important;
		left: auto !important;
	}

	.inside-header > .custom-header .site-top .search-form {
		width: 150px !important;
	}

	.inside-header > .custom-header .site-top .search-field,
	.inside-header > .custom-header .site-top .pll-switcher-select {
		height: 32px !important;
		font-size: 15px !important;
		margin-top: 0 !important;
	}

	.inside-header > .main-navigation,
	#site-navigation.main-navigation {
		position: absolute !important;
		left: auto !important;
		right: 15px !important;
		top: 88px !important;
		bottom: auto !important;
		width: auto !important;
		max-width: calc(100% - 360px) !important;
		height: 32px;
		margin: 0 !important;
	}

	.inside-header > .main-navigation .main-nav > ul.menu,
	#site-navigation.main-navigation .main-nav > ul.menu {
		display: flex !important;
		flex-wrap: wrap !important;
		justify-content: flex-end !important;
		margin: 0 !important;
		padding: 0 !important;
	}
}

@media screen and (max-width: 1280px) {
	.home .category .wrap {
		padding-left: 6px !important;
		padding-right: 6px !important;
	}

	.home .category ul.row {
		margin: 0 -15px 27px !important;
		padding: 0 !important;
	}

	.home .category ul li.col-4 {
		-ms-flex: 0 0 100% !important;
		flex: 0 0 100% !important;
		max-width: 100% !important;
		margin-bottom: 20px !important;
	}

	.home .category ul li {
		padding: 0 15px !important;
		overflow: hidden !important;
	}

	.home .category ul li .container {
		position: relative !important;
		display: flex !important;
		flex-direction: column !important;
		top: 0 !important;
		left: 0 !important;
		width: 100% !important;
		max-width: none !important;
		box-sizing: border-box !important;
		height: auto !important;
		min-height: 190px !important;
		padding: 20px 30px 20px !important;
		overflow: hidden !important;
	}

	.home .category ul li .pack {
		position: static !important;
		margin-top: auto !important;
		padding-right: clamp(118px, 20vw, 170px) !important;
		padding-bottom: 0 !important;
		height: auto !important;
		min-height: 0 !important;
		z-index: 99;
	}

	.home .category ul li .pack h3 {
		margin-bottom: 8px !important;
	}

	.home .category ul li .pack p {
		margin-bottom: 0 !important;
	}

	.home .category ul li .container .button,
	.home .category ul li a.button {
		position: absolute !important;
		top: auto !important;
		bottom: 20px !important;
		left: auto !important;
		right: 30px !important;
	}
}

@media screen and (max-width: 779px) {
	.home .category ul li .container {
		display: flex !important;
		flex-direction: column !important;
		min-height: 190px !important;
		height: auto !important;
	}

	.home .category ul li .pack {
		margin-top: auto !important;
		margin-bottom: 0 !important;
		position: static !important;
		padding-right: clamp(120px, 28vw, 170px) !important;
		z-index: 3 !important;
	}

	.home .category ul li .mask {
		position: absolute !important;
		left: 0 !important;
		top: 0 !important;
		right: 0 !important;
		bottom: 0 !important;
		width: auto !important;
		height: auto !important;
		margin: 0 !important;
		z-index: 1 !important;
	}
}

@media screen and (min-width: 492px) and (max-width: 1280px) {
	.home .category ul li .container {
		min-height: 380px !important;
	}

	.home .category ul li .pack h3 {
		font-size: 53px !important;
		line-height: 1 !important;
	}

	.home .category ul li .pack p {
		font-size: 24px !important;
		line-height: 1.45 !important;
	}
}

@media screen and (min-width: 1290px) {
	.home .category .wrap {
		padding-left: 15px !important;
		padding-right: 15px !important;
	}

	.home .category ul.row {
		margin-left: 0 !important;
		margin-right: 0 !important;
		width: 100% !important;
	}
}

html,
body {
	overflow-x: hidden;
}

@media screen and (max-width: 580px) {
	.site-footer .site-info > .wrap {
		padding-left: 15px !important;
		padding-right: 15px !important;
	}

	.site-footer .site-info .menu-footer-bottom .menu {
		margin-left: 46px !important;
		padding-left: 0 !important;
	}

	.site-footer ul.tabs {
		margin-left: 38px !important;
		width: calc(100% - 38px) !important;
	}

	.site-footer .footer-widget-1 .widget_media_image {
		margin-left: 0 !important;
	}
}

/* Wyrównanie pierwszej kolumny tabeli do prawej i usunięcie ramek dla ofert nieruchomości */
.nieruchomosci table,
.nieruchomosci table tr,
.nieruchomosci table th,
.nieruchomosci table td {
	border: none !important;
}

.nieruchomosci table td:first-child,
.nieruchomosci table th:first-child {
	text-align: right !important;
	padding-right: 15px !important;
}

/* Wyrównanie wysokości boxów produktów i przycisków na dole na podstronie Oferta */
body:not(.page-id-27):not(.parent-pageid-27):not(.page-id-581):not(.parent-pageid-581) .entry-content .row .col-lg-4 {
	display: flex;
}

body:not(.page-id-27):not(.parent-pageid-27):not(.page-id-581):not(.parent-pageid-581) .entry-content .row .col-lg-4 > .card {
	display: flex;
	flex-direction: column;
	width: 100%;
}

body:not(.page-id-27):not(.parent-pageid-27):not(.page-id-581):not(.parent-pageid-581) .entry-content .row .col-lg-4 > .card > .card-body {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	position: relative;
	padding: 20px 20px 65px 20px !important;
}

body:not(.page-id-27):not(.parent-pageid-27):not(.page-id-581):not(.parent-pageid-581) .entry-content .row .col-lg-4 > .card > .card-body p {
	margin-bottom: 8px !important;
}

body:not(.page-id-27):not(.parent-pageid-27):not(.page-id-581):not(.parent-pageid-581) .entry-content .row .col-lg-4 > .card > .card-body p:last-child {
	margin-bottom: 0 !important;
}

body:not(.page-id-27):not(.parent-pageid-27):not(.page-id-581):not(.parent-pageid-581) .entry-content .row .col-lg-4 > .card > .card-body .btn {
	position: absolute;
	bottom: 10px;
	left: 20px;
	width: calc(100% - 40px);
	margin: 0 !important;
}

/* Wyrównanie marginesu na dole kontenera nadrzędnego (górny margines = dolny margines) */
@media (min-width: 992px) {
	body:not(.page-id-27):not(.parent-pageid-27):not(.page-id-581):not(.parent-pageid-581) .entry-content .row .col-lg-4 > .card.mb-3 {
		margin-bottom: 0 !important;
	}
}

/* Ukrycie pustych i zbędnych akapitów oraz przełamań linii wygenerowanych przez WordPressa w kontenerze nadrzędnym i kolumnach */
body:not(.page-id-27):not(.parent-pageid-27):not(.page-id-581):not(.parent-pageid-581) .entry-content .col-lg-12 > .card > .card-body > p,
body:not(.page-id-27):not(.parent-pageid-27):not(.page-id-581):not(.parent-pageid-581) .entry-content .col-lg-12 > .card > .card-body > br,
body:not(.page-id-27):not(.parent-pageid-27):not(.page-id-581):not(.parent-pageid-581) .entry-content .row .col-lg-4 > p,
body:not(.page-id-27):not(.parent-pageid-27):not(.page-id-581):not(.parent-pageid-581) .entry-content .row .col-lg-4 > br {
	display: none !important;
}

/* POPRAWKI RESPONSYWNOŚCI (MOBILE / TABLET) */
@media (max-width: 767px) {
	/* Upewnienie się, że kontener treści ma pełną szerokość */
	.content-area,
	#primary,
	#main {
		width: 100% !important;
		float: none !important;
		max-width: 100% !important;
	}

	/* Kolumny menu bocznego i treści w układzie jednokolumnowym */
	.subpage .col-3,
	.subpage .col-9 {
		flex: 0 0 100% !important;
		max-width: 100% !important;
		width: 100% !important;
	}

	/* Boczne menu (kategorie oferty) przeniesione pod treść */
	.subpage .col-3 {
		margin-top: 30px !important;
	}

	/* Responsywne tabele wewnątrz treści */
	.entry-content table {
		display: block !important;
		width: 100% !important;
		overflow-x: auto !important;
		-webkit-overflow-scrolling: touch !important;
	}

	/* Uporządkowanie ścieżki okruszkowej */
	#breadcrumbs {
		padding: 0 15px !important;
		margin: 10px auto !important;
		white-space: normal !important;
		line-height: 1.6 !important;
	}
	#breadcrumbs li {
		display: inline !important;
	}

	/* Kafelki kontaktu na pełną szerokość */
	ul.contact-box li {
		width: 100% !important;
		margin-right: 0 !important;
	}
}

/* Separating line between posts on blog list - Added August 2026 */
.blog .site-main > article,
.archive .site-main > article {
	border-bottom: 1px solid #ddd;
	padding-bottom: 30px;
	margin-bottom: 30px;
}

/* Remove border-bottom from the last post on the list */
.blog .site-main > article:last-of-type,
.archive .site-main > article:last-of-type {
	border-bottom: none;
	padding-bottom: 0;
	margin-bottom: 0;
}

/* Fix SearchWP Live AJAX Search container min-height - Added August 2026 */
.searchwp-live-search-results {
	min-height: 0 !important;
}

/* Global page scrollbar fix: use 'clip' instead of 'hidden' to prevent horizontal scrollbars without breaking position: sticky */
html, body {
	overflow-x: clip !important;
}

/* Propozycja 1: Download Cards (Grid Layout) - Added August 2026 */
ul.download {
	list-style: none !important;
	margin: 25px 0 !important;
	padding: 0 !important;
	display: grid !important;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
	gap: 8px !important;
}

/* Reduce margin for nested grids inside document trees */
ul.download ul,
ul.list-unstyled ul {
	margin-top: 2px !important;
	margin-bottom: 12px !important;
}

/* Reduce top margin of download grids if they immediately follow a header/subheader */
b + ul.download,
strong + ul.download,
p + ul.download,
h1 + ul.download,
h2 + ul.download,
h3 + ul.download,
h4 + ul.download,
b + ul,
strong + ul,
p + ul {
	margin-top: 4px !important;
}

ul.download li {
	margin: 0 !important;
	padding: 0 !important;
	width: 100% !important;
	float: none !important;
	display: flex !important;
	flex-direction: column !important;
	align-items: stretch !important;
}

ul.download li a {
	width: 100% !important;
	display: flex !important;
}

/* Spacing for subheaders inside nested lists */
ul.download li > b,
ul.download li > strong {
	display: block !important;
	margin-bottom: 2px !important;
	margin-top: 8px !important;
}

/* Spacing for subheaders wrapped in paragraphs by WordPress */
ul.download li p {
	margin-bottom: 2px !important;
	margin-top: 8px !important;
}

/* Propozycja 1: PDF and Word/Document Download Cards - Added August 2026 */
a.pdf, a.doc, a.docx, a.zip, a.xls, a.xlsx, a.rtf {
	display: inline-flex !important;
	align-items: center !important;
	padding: 12px 15px 12px 55px !important;
	background: #f8fafc !important;
	border: 1px solid #e2e8f0 !important;
	border-radius: 6px !important;
	text-decoration: none !important;
	color: #334155 !important;
	font-weight: 600 !important;
	font-size: 14px !important;
	line-height: 1.4 !important;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
	transition: all 0.2s ease-in-out !important;
	position: relative !important;
	min-height: 56px !important;
	margin: 4px 0 !important;
	box-sizing: border-box !important;
}

a.pdf:hover, a.doc:hover, a.docx:hover, a.zip:hover, a.xls:hover, a.xlsx:hover, a.rtf:hover {
	background: #ffffff !important;
	border-color: #ed6c05 !important;
	color: #ed6c05 !important;
	transform: translateY(-2px) !important;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
}

/* Base style for icons */
a.pdf::before, a.doc::before, a.docx::before, a.zip::before, a.xls::before, a.xlsx::before, a.rtf::before {
	content: "" !important;
	position: absolute !important;
	left: 15px !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
	width: 24px !important;
	height: 28px !important;
	background-size: contain !important;
	background-repeat: no-repeat !important;
	transition: all 0.2s ease-in-out !important;
}

a.pdf:hover::before, a.doc:hover::before, a.docx:hover::before, a.zip:hover::before, a.xls:hover::before, a.xlsx:hover::before, a.rtf:hover::before {
	transform: translateY(-50%) scale(1.1) !important;
}

/* PDF Icon (Red) */
a.pdf::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23e53e3e'%3E%3Cpath d='M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-9.5 8.5c0 .8-.7 1.5-1.5 1.5H7v2H5.5V9H8c.8 0 1.5.7 1.5 1.5v1zm5 2c0 .8-.7 1.5-1.5 1.5h-2.5V9H13c.8 0 1.5.7 1.5 1.5v3zm4.5-3.5h-3v1.5h2.5V13H16v2h-1.5V9h4v2.5zM7 11.5h1v-1H7v1zm5 2h1v-3h-1v3z'/%3E%3C/svg%3E") !important;
}

/* Word Document Icon (Blue) */
a.doc::before, a.docx::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%233182ce'%3E%3Cpath d='M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-3 12.5c0 .8-.7 1.5-1.5 1.5h-5c-.8 0-1.5-.7-1.5-1.5v-6C8 9.7 8.7 9 9.5 9h5c.8 0 1.5.7 1.5 1.5v6zm-4.5-5H10v3h1.5v-3zm0 4.5H10v.5h1.5v-.5z'/%3E%3C/svg%3E") !important;
}

/* Generic / Zip / Archive Icon (Grey) */
a.zip::before, a.xls::before, a.xlsx::before, a.rtf::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23718096'%3E%3Cpath d='M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm2 16H8v-2h8v2zm0-4H8v-2h8v2zm-3-5V3.5L18.5 9H13z'/%3E%3C/svg%3E") !important;
}

/* Propozycja 2: Table layout, zebra striping, and responsiveness - Added August 2026 */
article.product {
	overflow-x: auto !important;
	width: 100% !important;
}

.product table.dane {
	display: table !important;
	table-layout: auto !important;
	width: 100% !important;
	border-collapse: separate !important; /* Use separate borders to prevent text leakage through collapsed borders under sticky headers */
	border-spacing: 0 !important;
	background-color: #ffffff !important;
	margin: 20px 0 !important;
	overflow: visible !important;
}

.product table.dane th,
.product table.dane td {
	width: auto !important;
	white-space: nowrap !important;
	padding: 10px 14px !important;
	border-top: none !important;
	border-left: none !important;
	border-right: 1px solid #dee2e6 !important; /* Match Bootstrap table-bordered border color (#dee2e6) */
	border-bottom: 1px solid #dee2e6 !important;
}

/* Add top border to cells in the first row of the table (inside thead) */
.product table.dane thead tr:first-child th {
	border-top: 1px solid #dee2e6 !important;
}

/* Add left border to cells in the first column of the table */
.product table.dane tr th:first-child,
.product table.dane tr td:first-child {
	border-left: 1px solid #dee2e6 !important;
}

.product table.dane th {
	white-space: normal !important;
	vertical-align: middle !important;
	background-color: #f1f5f9 !important;
	color: #0f172a !important;
	font-weight: 600 !important;
}

/* Zebra striping for table rows */
.product table.dane tbody tr:nth-of-type(odd) {
	background-color: #f8fafc !important;
}

.product table.dane tbody tr:nth-of-type(even) {
	background-color: #ffffff !important;
}

/* Row hover highlight */
.product table.dane tbody tr:hover {
	background-color: #f1f5f9 !important;
}

/* Fix horizontal padding/spacing for grid layout columns (Bootstrap integration) */
body:not(.page-id-27):not(.parent-pageid-27):not(.page-id-581):not(.parent-pageid-581) .entry-content .row [class*="col-"] {
	padding-left: 15px !important;
	padding-right: 15px !important;
}

body:not(.page-id-27):not(.parent-pageid-27):not(.page-id-581):not(.parent-pageid-581) .entry-content .row {
	margin-left: -15px !important;
	margin-right: -15px !important;
}

/* Force vertical spacing between rows of product cards (override margin-bottom: 0) */
body:not(.page-id-27):not(.parent-pageid-27):not(.page-id-581):not(.parent-pageid-581) .entry-content .row .col-lg-4 > .card.mb-3 {
	margin-bottom: 30px !important;
}

/* Sticky table headers for desktop screens (cooperates with sticky-table-header.js) */
@media (min-width: 992px) {
	/* Allow sticky positioning to bubble up by setting overflow to visible on desktop */
	article.product {
		overflow-x: visible !important;
		overflow-y: visible !important;
	}

	/* Styling for sticky header cells (offsets are set dynamically by theme script) */
	.product table.dane thead th {
		background-color: #f1f5f9 !important;
		/* Keep individual borders intact during sticky movement */
		border-right: 1px solid #dee2e6 !important;
		border-bottom: 1px solid #dee2e6 !important;
	}

	/* Keep top border intact during sticky movement */
	.product table.dane thead tr:first-child th {
		border-top: 1px solid #dee2e6 !important;
	}

	/* Keep left border intact during sticky movement */
	.product table.dane thead tr th:first-child {
		border-left: 1px solid #dee2e6 !important;
	}
}

/* Propozycja 3: Estetyczne i responsywne Karty Kontaktowe (Aesthetic Contact Cards) - Added August 2026 */

/* Domyślne wartości dla karty kontaktowej */
.contact-card {
	--brand-color: #64748b; /* Neutralny szary jako fallback */
	background: #ffffff !important;
	border: 1px solid #e2e8f0 !important;
	border-radius: 8px !important;
	padding: 16px 20px !important;
	margin-bottom: 12px !important;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
	transition: all 0.2s ease-in-out !important;
	display: flex !important;
	flex-direction: column !important;
	min-height: 140px !important;
	justify-content: flex-start !important;
	box-sizing: border-box !important;
}

.contact-card:hover {
	border-color: var(--brand-color) !important;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.04) !important;
	transform: translateY(-2px) !important;
}

/* Dynamiczne mapowanie kolorów wiodących na podstawie klasy obramowania/tła nadrzędnej karty firmy */
.border-success .contact-card,
.bg-success ~ .card-body .contact-card,
.card-header.bg-success ~ .card-body .contact-card {
	--brand-color: #28a745; /* Huta Pokój S.A. (Green) */
}

.my-border-danger .contact-card,
.my-bg-danger ~ .card-body .contact-card,
.card-header.my-bg-danger ~ .card-body .contact-card {
	--brand-color: #ed6c05; /* Huta Pokój Profile sp. z o.o. (Orange/Red) */
}

.border-primary .contact-card,
.bg-primary ~ .card-body .contact-card,
.card-header.bg-primary ~ .card-body .contact-card {
	--brand-color: #007bff; /* Huta Pokój Konstrukcje sp. z o.o. (Blue) */
}

/* Nazwisko i Imię */
.contact-card .contact-name strong {
	font-size: 16px !important;
	color: #0f172a !important;
	font-weight: 700 !important;
	margin-bottom: 2px !important;
	display: block !important;
	line-height: 1.3 !important;
}

/* Stanowisko / Rola */
.contact-card .contact-role {
	font-size: 14.5px !important;
	color: #64748b !important;
	margin-bottom: 10px !important;
	font-weight: 500 !important;
	line-height: 1.4 !important;
}

/* Linie telefoniczne i e-mail */
.contact-card .contact-phone,
.contact-card .contact-email {
	font-size: 14.5px !important;
	color: #475569 !important;
	display: flex !important;
	align-items: center !important;
	margin-top: 4px !important;
	line-height: 1.4 !important;
}

/* Linki kontaktowe */
.contact-card .contact-phone a,
.contact-card .contact-email a {
	color: #334155 !important;
	font-weight: 600 !important;
	margin-left: 4px !important;
	transition: color 0.15s ease-in-out !important;
	text-decoration: none !important;
}

.contact-card .contact-phone a:hover,
.contact-card .contact-email a:hover {
	color: var(--brand-color) !important;
	text-decoration: underline !important;
}

/* Ikony Font Awesome w postaci pseudo-elementów */
.contact-card .contact-phone::before {
	content: "\f3cd" !important; /* Mobile/Phone */
	font-family: "Font Awesome 5 Free" !important;
	font-weight: 900 !important;
	margin-right: 8px !important;
	color: var(--brand-color) !important;
	width: 14px !important;
	text-align: center !important;
	display: inline-block !important;
}

.contact-card .contact-email::before {
	content: "\f0e0" !important; /* Envelope */
	font-family: "Font Awesome 5 Free" !important;
	font-weight: 400 !important;
	margin-right: 8px !important;
	color: var(--brand-color) !important;
	width: 14px !important;
	text-align: center !important;
	display: inline-block !important;
}

/* Tighter horizontal grid spacing and flex alignment for contact pages - Added August 2026, Updated Sept 2026 */
body.page-id-27 .card-body .row,
body.parent-pageid-27 .card-body .row,
body.page-id-581 .card-body .row,
body.parent-pageid-581 .card-body .row {
	display: flex !important;
	flex-wrap: wrap !important;
	margin-left: -8px !important;
	margin-right: -8px !important;
}

body.page-id-27 .card-body .row > [class*="col-"],
body.parent-pageid-27 .card-body .row > [class*="col-"],
body.page-id-581 .card-body .row > [class*="col-"],
body.parent-pageid-581 .card-body .row > [class*="col-"] {
	display: flex !important;
	flex-direction: column !important;
	padding-left: 8px !important;
	padding-right: 8px !important;
}

body.page-id-27 .card-body .row > [class*="col-"] > .contact-card,
body.parent-pageid-27 .card-body .row > [class*="col-"] > .contact-card,
body.page-id-581 .card-body .row > [class*="col-"] > .contact-card,
body.parent-pageid-581 .card-body .row > [class*="col-"] > .contact-card {
	flex: 1 1 auto !important;
	height: calc(100% - 12px) !important;
}

.contact-card > .contact-phone:first-of-type,
.contact-card > .contact-fax:first-of-type,
.contact-card > .contact-email:first-of-type {
	margin-top: auto !important;
}

.contact-card .contact-phone::before,
.contact-card .contact-email::before,
.contact-card .contact-fax::before {
	line-height: 1 !important;
	flex-shrink: 0 !important;
	vertical-align: middle !important;
}

/* Responsywność dla tabletów (dwukolumnowy układ siatki na szerokości 768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
	body.page-id-27 .card-body .row,
	body.parent-pageid-27 .card-body .row,
	body.page-id-581 .card-body .row,
	body.parent-pageid-581 .card-body .row {
		display: flex !important;
		flex-wrap: wrap !important;
	}

	body.page-id-27 .card-body .row > [class*="col-"],
	body.parent-pageid-27 .card-body .row > [class*="col-"],
	body.page-id-581 .card-body .row > [class*="col-"],
	body.parent-pageid-581 .card-body .row > [class*="col-"] {
		flex: 0 0 50% !important;
		max-width: 50% !important;
	}
}

/* Fax line styling - Added August 2026 */
.contact-card .contact-fax {
	font-size: 14.5px !important;
	color: #475569 !important;
	display: flex !important;
	align-items: center !important;
	margin-top: 4px !important;
	line-height: 1.4 !important;
}

.contact-card .contact-fax a {
	color: #334155 !important;
	font-weight: 600 !important;
	margin-left: 4px !important;
	transition: color 0.15s ease-in-out !important;
	text-decoration: none !important;
}

.contact-card .contact-fax a:hover {
	color: var(--brand-color) !important;
	text-decoration: underline !important;
}

.contact-card .contact-fax::before {
	content: "\f1ac" !important; /* Fax icon */
	font-family: "Font Awesome 5 Free" !important;
	font-weight: 900 !important;
	margin-right: 8px !important;
	color: var(--brand-color) !important;
	width: 14px !important;
	text-align: center !important;
	display: inline-block !important;
}

/* Compact padding and spacing for Władze (117/513) and Zarząd (123/588) pages */
body.page-id-117 .card-body .contact-card,
body.page-id-513 .card-body .contact-card,
body.page-id-123 .card-body .contact-card,
body.page-id-588 .card-body .contact-card {
	padding: 10px 16px !important;
	margin-bottom: 10px !important;
	min-height: auto !important;
}

body.page-id-117 .card-body .contact-card .contact-role,
body.page-id-513 .card-body .contact-card .contact-role,
body.page-id-123 .card-body .contact-card .contact-role,
body.page-id-588 .card-body .contact-card .contact-role {
	margin-bottom: 0 !important;
}

/* Align Zarząd / Management Board headings across columns */
@media (min-width: 992px) {
	body.page-id-117 .rada-nadzorcza-list,
	body.page-id-513 .rada-nadzorcza-list {
		min-height: 284px !important;
		display: flex !important;
		flex-direction: column !important;
	}
}

/* Custom Responsive Timeline (No Plugins) */
.custom-timeline {
	position: relative;
	padding: 10px 0 20px 30px;
	margin: 20px 0;
	border-left: 3px solid #ed6c05; /* Orange brand color accent */
}

.timeline-item {
	position: relative;
	margin-bottom: 40px;
}

.timeline-item:last-child {
	margin-bottom: 0;
}

/* Timeline marker (dot on the line) */
.timeline-marker {
	position: absolute;
	left: -38px; /* Align precisely on the left border line */
	top: 6px;
	width: 13px;
	height: 13px;
	border-radius: 50%;
	background: #ed6c05;
	border: 3px solid #ffffff;
	box-shadow: 0 0 0 3px #ed6c05;
	transition: all 0.2s ease-in-out;
}

.timeline-item:hover .timeline-marker {
	background: #ffffff;
	transform: scale(1.2);
}

/* Year styling */
.timeline-year {
	font-size: 24px;
	font-weight: 700;
	color: #0f172a;
	margin-bottom: 12px;
	line-height: 1;
}

/* Content wrapper (flexbox layout for image + text) */
.timeline-content {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 20px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
	display: flex;
	gap: 20px;
	align-items: flex-start;
}

.timeline-image {
	flex: 0 0 150px;
	width: 150px;
}

.timeline-image img {
	width: 100%;
	height: auto;
	border-radius: 8px;
	display: block;
}

.timeline-text {
	flex: 1;
	font-size: 15px;
	color: #334155;
	line-height: 1.6;
}

.timeline-text p {
	margin: 0 0 10px 0;
}

.timeline-text p:last-child {
	margin-bottom: 0;
}

/* Responsive styles */
@media (max-width: 767px) {
	.custom-timeline {
		padding-left: 20px;
	}
	.timeline-marker {
		left: -28px;
	}
	.timeline-content {
		flex-direction: column;
		gap: 15px;
		padding: 16px;
	}
	.timeline-image {
		flex: none;
		width: 100%;
		max-width: 250px;
	}
}

/* Timeline Lightbox Styles */
.timeline-lightbox-trigger {
	display: block;
	cursor: zoom-in;
	outline: none;
}

.timeline-lightbox-overlay {
	position: fixed !important;
	top: 0 !important;
	left: 0 !important;
	width: 100% !important;
	height: 100% !important;
	background: rgba(15, 23, 42, 0.9) !important; /* Deep slate semi-transparent */
	z-index: 999999 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	opacity: 0 !important;
	transition: opacity 0.3s ease-in-out !important;
}

.timeline-lightbox-overlay.active {
	opacity: 1 !important;
}

.timeline-lightbox-overlay img {
	max-width: 90% !important;
	max-height: 85% !important;
	border-radius: 8px !important;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5) !important;
	transform: scale(0.95) !important;
	transition: transform 0.3s ease-in-out !important;
}

.timeline-lightbox-overlay.active img {
	transform: scale(1) !important;
}

.timeline-lightbox-close {
	position: absolute !important;
	top: 20px !important;
	right: 30px !important;
	color: #ffffff !important;
	font-size: 50px !important;
	font-weight: 300 !important;
	cursor: pointer !important;
	line-height: 1 !important;
	user-select: none !important;
	transition: color 0.2s ease-in-out !important;
}

.timeline-lightbox-close:hover {
	color: #ed6c05 !important; /* Orange brand color accent */
}
