/* --
  Spis sekcji:

  1. Stopka
  2. Header + nawigacja
  3. Tresci

-- */


/* -- 1. STOPKA -- */

.page-footer {
  color: #fff;
  background: #333;
  padding: 40px;
}
.page-footer .site-info {
  margin: 0;
  padding: 0;
  border: 0;
  color: #fff;
}
.page-footer .site-name p {
  font-size: 16px;
  text-transform: none;
}
.page-footer img {
  max-height: 30px;
  width: auto;
  height: auto;
  margin: 0 auto;
  display: block;
  box-sizing: border-box;
}
.page-footer .widget-area {
  margin: 0 0 10px 0;
  padding: 0 0 10px 0;
  border-bottom: 1px solid #ccc;
}
.site-footer { margin-top: 30px !important; }

/* -- 2. Header + nawigacja -- */

.page-header {
  padding: 0;
  border: 0;
}
.header-top-section {
  width: 100%;
  height: auto;
  box-sizing: border-box;
  background: #8e8e86;
  text-align: center;
}
.header-top-section img {
  max-width: 100%;
  width: auto;
}
.header-nav-section {
  background-image:url('/wp-content/uploads/2021/08/belka.jpg');
  background-repeat: repeat-x;
  height: 52px;
  line-height: 50px;
  color: #fff;
  position: relative;
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  padding: 0 10px;
}
.header-top-section p {
  line-height: 50px;
  font-size: 20px;
  color: #fff;
  text-transform: uppercase;
  font-weight: bold;
}
.primary-menu-container {
  height: 52px;
}
.menu-button-container {
  padding: 0;
  margin: 0;
}
.primary-navigation .primary-menu-container > ul > .menu-item > a {
  padding-left: 2px;
  padding-right: 2px;
}
.primary-navigation .primary-menu-container > ul > .menu-item > a + .sub-menu-toggle {
  width: 30px;
}
.primary-navigation a:hover, .primary-navigation a:link, .primary-navigation a:visited, .sub-menu-toggle > * {
  color: #fff;
}
.site a:focus:not(.wp-block-button__link):not(.wp-block-file__button) {
  background: transparent;
}
.menu-button-container button {
  height: 52px;
  line-height: 50px;
}
.menu-button-container button > span {
  color: #fff;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 20px;
}
.primary-navigation > div > .menu-wrapper > li > .sub-menu li {
  background: #45444c;
}
.primary-navigation .primary-menu-container { margin-left: 0; margin-right: 0; }


.home-images img {
  max-width: 100%;
  max-height: 300px;
}



@media only screen and (min-width: 981px){
  #primary-menu-list > li:after {
    content: '|';
    display: inline-block;
    padding: 0 4px;
    line-height: 50px;
    color: rgba(255,255,255,0.3);
    position: relative;
    top: -2px;
  }
  #primary-menu-list > li:last-child:after { display: none; }
} /* Media min-981 */
@media only screen and (max-width:980px) {
  .sub-menu { margin: 0 auto !important; }
  #primary-menu-list > li { border-bottom: 1px solid #000; }
  .menu-button-container { display: flex; }
  .primary-navigation > .primary-menu-container {
  	position: fixed;
  	visibility: hidden;
  	opacity: 0;
  	top: 0;
  	right: 0;
  	bottom: 0;
  	left: 0;
  	padding-top: calc(var(--button--line-height) * var(--primary-nav--font-size-button) + 42px + 5px);
  	padding-left: var(--global--spacing-unit);
  	padding-right: var(--global--spacing-unit);
  	padding-bottom: var(--global--spacing-horizontal);
  	background-color: var(--global--color-background);
  	transition: all 0.15s ease-in-out;
  	transform: translateY(var(--global--spacing-vertical));
  }
  .primary-navigation-open .primary-navigation {
  	width: 100%;
  	position: fixed;
  	z-index: 2;
  }
  .primary-navigation-open .primary-navigation > .primary-menu-container {
  	position: absolute;
  	visibility: visible;
  	opacity: 1;
  	transform: translateY(0);
  }
  .primary-navigation > .primary-menu-container {
  	height: 100vh;
  	z-index: 499;
  	overflow-x: hidden;
  	overflow-y: auto;
  	border: 2px solid transparent;
  }
  .primary-navigation > div > .menu-wrapper {
  	padding-bottom: 100px;
  }
  .primary-navigation > div > .menu-wrapper {
  	display: flex;
  	justify-content: flex-start;
  	flex-wrap: wrap;
  	list-style: none;
  	margin: 0;
  	max-width: none;
  	padding-left: 0;
  	position: relative;
  }
  .primary-navigation > div > .menu-wrapper li {
  	display: block;
  	position: relative;
  	width: 100%;
    text-align: center;
  }
  .primary-navigation a {
  	display: block;
  	font-family: var(--primary-nav--font-family-mobile);
  	font-size: var(--primary-nav--font-size-mobile);
  	font-weight: var(--primary-nav--font-weight);
  	padding: var(--primary-nav--padding) 0;
  	text-decoration: none;
    width: 100%;
  }
} /* Media max-980 */



/* -- 3. Tresci -- */
body h1, body h2, body h3, body h4, body h5, body h6 {
  font-family: 'Open Sans', sans-serif;
  text-rendering: optimizeSpeed;
}
body p {
  font-size: 18px;
  font-family: font-family: 'Open Sans', sans-serif;
  line-height: 1.5;
}
#page {
  max-width: 1024px;
  margin: auto;
}
.entry-content {
  margin: 0;
  padding: 0 0 0 25px;
  width: 100%;
}
.site-content, .content-area { width: 100%; }
.entry-content * {
  max-width: var(--responsive--alignwide-width) !important;
}
.text-justify {
  text-align: justify;
}
.text-center {
  text-align: center;
}
.singular .entry-header {
	border: 0;
  margin: 0 0 15px 0;
  padding: 0;
}
.entry-title, .singular .entry-title {
  font-size: 25px;
  font-weight: bold;
  text-transform: uppercase;
}
.home-images {
  text-align: center;
  box-sizing: border-box;
  padding: 0;
  margin: 0 auto;
}
.home-images img {
  display: inline-block;
  margin: 0 auto;
  padding: 0;
}
.site-content {
  display: flex;
  flex-direction: row-reverse;
  margin: 20px 0 0 0;
}

.left-sidebar-section {
  max-width: 270px;
  width: 100%;
}
.left-sidebar-section .sidebar-content {
  background-image: url('/wp-content/uploads/2021/08/sidebar-tlo.png');
  background-repeat: repeat-x;
  background-position: top;
  background-color: #010101;
  color: #fff;
  padding: 15px 15px 25px 15px;
  border: 1px solid #000;
  border-radius: 25px;
  font-size: 17px;
}
.error404 main p { font-size: 17px; }
.left-sidebar-section .sidebar-content a {
  color: #fff;
}
.sidebar-p-margin {
  margin: 0 0 20px 0;
}
.left-sidebar-section h6 {
  text-transform: uppercase;
  font-size: 20px;
  margin: 10px auto 15px auto;
  text-align: center;
}
.left-sidebar-section h6:after {
  content: '';
  display: block;
  margin: 0 auto;
  padding: 25px 0 0 0;
  width: 80%;
  border-bottom: 1px solid rgba(255,255,255,0.4);
}

.sidebar-small-text { font-size: 0.9em; }
.sidebar-hr { height: 1px; background: rgba(255,255,255,0.3); max-width: 80%; margin: 10px auto; }
.dzwig-nazwa { margin: 0 0 5px 0 !important; }
.dzwig-tresc { margin: 0 0 10px 0 !important; }
.dzwig-specyfikacje {
  display: block;
  width: 100%;
  height: 200px;
  margin: 0 0 10px 0;
  padding: 0;
  box-sizing: border-box;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  border: 1px solid #000;
}
.dzwig-specyfikacje img { display: none; }

.dzwig-spacer {
  background: #000;
  height: 1px;
  margin: 15px 0;
  padding: 0;
  display: block;
}

@media only screen and (max-width:980px) {
  .site-content { flex-direction: column; }
  .left-sidebar-section { margin: 40px auto 20px auto; }
  .entry-content { padding: 0; }
} /* Media max-980 */






.kontakt-mapka {
  box-sizing: border-box;
  border: 1px solid #000;
  display: block;
  margin: 20px 0;
  width: 100%;
  height: 300px;
}
.content-naglowek {
  font-size: 1.2em;
  text-transform: uppercase;
  font-weight: bold;
}


.form-row {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  box-sizing: border-box;
}
.form-row > div {
  display: block;
  max-width: 48% !important;
  width: 100%;
  height: auto;
  box-sizing: border-box;
  padding: 0;
  margin: 0 0 10px 0;
}
.form-header {
  padding: 0;
  margin: 0 0 5px 0;
}
.form-field input[type=text], .form-field input[type=email], .form-field textarea {
  border: 1px solid #000;
  margin: 0;
  padding: 5px 15px !important;
  height: auto;
  width: 100%;
  line-height: 20px;
  transition: all 0.15s;
}
.form-checkbox input[type=checkbox] {
  border: 1px solid #000;
  padding: 3px;
  top: 5px;
}
.form-checkbox input[type="checkbox"]::after {
  left: 8px;
  top: 4px;
}

.form-field input[type=text]:focus, .form-field input[type=text]:active, .form-field input[type=email]:focus, .form-field input[type=email]:active, .form-field textarea:focus, .form-field textarea:active, .form-checkbox input[type=checkbox]:focus, .form-checkbox input[type=checkbox]:active {
  outline: none;
  border: 1px solid #fff;
  padding: 5px;
}

.form-checkbox {
  align-self: center;
}
.form-checkbox p {
  display: inline-block;
  line-height: 30px;
}
.form-tooltip {
  text-decoration: underline;
  position: relative;
  display: inline-block;
  transition: all 0.15s;
}
.form-tooltip .form-tooltip-content {
  visibility: hidden;
  width: 300px;
  background: #333;
  color: #fff;
  text-align: justify;
  border-radius: 4px;
  font-size: 14px;
  line-height: 18px;
  position: absolute;
  z-index: 1;
  bottom: 100%;
  left: 50%;
  margin-left: -150px;
  padding: 5px !important;
  
}
.form-tooltip:hover .form-tooltip-content { visibility: visible; }
.form-tooltip .form-tooltip-content::after {
  content: " ";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #333 transparent transparent transparent;
}

.form-submit input[type=submit] {
  background: #333;
  color: #fff !important;
  border: 2px solid #333;
  transition: all 0.15s;
  outline: 0;
}
.form-submit input[type=submit]:disabled {
  border: 2px solid crimson;
  outline: 0;
}
.form-submit input[type=submit]:not([disabled]) {
  border: 2px solid #333;
}
.form-bottom {
  margin: 10px 0 0 0;
}
.form-required {
  font-weight: bold;
  color: crimson;
}