﻿html {
	overflow-y: scroll;
}

#fb-root {
	min-height: 1px;
}

.fb-page {
	min-height: 70px;
}
body {
	background-position: center top;
	border-width: 6px;
	border-color: #3d4c73;
	font-family: Arial, Helvetica, sans-serif;
	color: #999;
	background-repeat: no-repeat;
	border-top-style: solid;
	background-image: url('../img/tlo.jpg');
	background-attachment: fixed;
}

* {
	margin: 0;
	padding: 0;
	outline: 0;
}

.auto-style2 {
	border: 1px solid #000000;
	margin-right: 10px;
	margin-left: 1px;
	font-family: "Bookman Old Style";
	font-size: 12px;
}

.wrap {
	background-position: center top;
	width: auto;
	background-repeat: repeat-x;
	background-image: url(../img/wrap.png);
}

.slidercontainer {
	max-width: 900px;
	margin: 0 auto;
}

.abs {
    width: 100%;
    /* USUŃ z-index: 900; - to powoduje problemy */
    
    /* Zarezerwuj przestrzeń bazując na rzeczywistej treści */
    min-height: 1200px; /* Zwiększ jeśli trzeba - zmierz rzeczywistą wysokość */
    
    /* Izoluj rendering */
    contain: layout style paint;
    isolation: isolate;
}
nav {
	margin: 0px;
	background-position: center top;
	padding: 0;
	text-align: center;
	min-height: 24px;
	z-index: 999;
}

#menu ul {
	list-style-type: none;
	min-height: 24px;
	margin: 0 auto;
	text-align: center;
	margin: 0;
	font-family: "Bookman Old Style";
	font-size: medium;
	font-weight: normal;
	font-style: normal;
	font-variant: normal;
}

#menu li {
	list-style-type: none;
	min-height: 24px;
	margin: 0 0 0 0px;
	padding: 0;
	display: inline-block;
	font-size: medium;
}

#menu li a {
	text-decoration: none;
	color: #000000;
	font-size: medium;
	display: block;
	min-height: 14px;
	font-weight: normal;
	text-transform: uppercase;
	line-height: normal;
	padding: 4px;
	font-family: "Bookman Old Style";
	font-style: normal;
	font-variant: normal;
}

.header {
	background-position: center center;
	overflow: hidden;
	text-align: left;
	z-index: 998;
	margin-right: auto;
	margin-left: auto;
	color: #000000;
	font-weight: normal;
	max-width: 900px;
	padding: 20px 0 0;
	background-repeat: no-repeat;
	min-height: 110px;
	background-image: url(../img/logo.png);
	font-family: Arial, Helvetica, sans-serif;
	font-size: xx-small;
}

header {
	background-position: center center;
	overflow: hidden;
	text-align: left;
	z-index: 998;
	margin-right: auto;
	margin-left: auto;
	font-weight: 400;
	max-width: 900px;
	padding: 20px 0 0;
	background-repeat: no-repeat;
	min-height: 110px;
	background-image: url(../img/logo.jpg);
	background-color: #FFFFFF;
}

#menu li a:hover,
#menu li a.active {
	font-size: medium;
	outline: 1px solid rgb(116, 114, 114);
	background-color: rgb(245, 240, 240);
}

#menu li img {
	vertical-align: middle;

}

#logo {
	background-position: left top;
	position: absolute;
	width: 253px;
	height: 71px;
	z-index: 999;
	margin-left: 0;
	margin-top: 0;
	text-align: left;
	background-repeat: no-repeat;
	text-transform: none;
	font-size: 21px;
	color: #000;
	line-height: 1.1em;
	padding-left: 103px;
	padding-top: 18px;
}

h1,
h2,
h3,
h4 {
	border-color: #3d4c73;
	background-position: center top;
	padding: 5px 0px 5px 0px;
	overflow: hidden;
	margin: 0 auto;
	font-size: 12px;
	color: #000000;
	font-weight: bold;
	text-align: center;
	letter-spacing: 0;
	min-height: 16px;
	text-indent: 0;
	max-width: 900px;
	line-height: 1em;
	text-transform: uppercase;
	border-top-style: solid;
	border-top-width: 1px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: medium;
	font-variant: normal;
}

h1 {
	font-family: Arial, Helvetica, sans-serif;
	font-size: medium;
	font-weight: bold;
	color: #000000;
	text-align: center;
	margin-top: auto;
	margin-bottom: 10px;
	text-transform: none;
}

h4 {
	background-color: #CCCCCC;
	color: #000000;
	font-family: Arial, Helvetica, sans-serif;
	font-size: medium;
	font-weight: bold;
	width: 100%;
}

h5 {
	color: #000;
	font-size: 14px;
	text-align: right;
	margin: 0 0 0 auto;
	font-weight: 300;
	padding: 5px 0 0;
}

h6 a {
	text-decoration: none;
	font-size: 16px;
	font-weight: 600;
	color: #76b729;
}

h6 a:hover {
	color: #333;
}

.ru {
	font-size: 16px;
}

.container {
	max-width: 900px;
	background-color: #fff;
	margin-right: auto;
	margin-left: auto;
	color: #222;
}

.top {
	position: absolute;
	z-index: 999;
	margin-top: 83px;
	width: 430px;
	height: 44px;
	color: #9d701c;
	padding-top: 20px;
	padding-left: 20px;
	font-size: 24px;
	font-weight: 700;
	line-height: 24px;
}

.top-bottom {
	position: absolute;
	height: 80px;
	width: 100%;
	margin-top: -136px;
}

.top-b {
	max-width: 960px;
	margin: auto;
}

h2 {
	background-color: #CCCCCC;
	color: #000000;
	font-family: Arial, Helvetica, sans-serif;
	font-size: medium;
	font-weight: bold;
	width: 100%;
}

h3 {
	background-color: #CCCCCC;
	color: #000000;
	font-family: Arial, Helvetica, sans-serif;
	font-size: medium;
	font-weight: bold;
	width: 100%;
}

article {
	margin-right: auto;
	margin-left: auto;
	padding: 0;
}

.tresc {
	padding: 10px;
	line-height: 1.25em;
	text-align: left;
	font-weight: normal;
	color: #000000;
	font-family: Arial, Helvetica, sans-serif;
	font-size: medium;
}

#author {
	min-height: 15px;
	padding-top: 15px;
	padding-bottom: 15px;
	font-size: 11px;
	padding-left: 0;
	text-align: center;
	background-color: #ccc;
}

.photos {
	padding: 0;
	text-align: left;
	letter-spacing: 4px;
}

.photos img {
	margin-bottom: 5px;
}

footer {
	margin: 0 auto;
	max-width: 900px;
	color: #555;
	padding-top: 0;
	padding-bottom: 0;
	background-color: #FFFEFB;
}

#foot {
	padding: 0;
	margin-right: auto;
	margin-left: auto;
}

footer a {
	color: #000;
	font-family: "Bookman Old Style";
	font-size: 1em;
	font-weight: normal;
}

footer #contact {
	background-position: right center;
	min-height: 40px;
	padding: 20px;
	text-align: center;
	font-size: 1.2em;
	font-weight: normal;
	font-family: Arial, Helvetica, sans-serif;
}

footer #contact strong {
	font-weight: normal;
	font-size: medium;
}

#author img {
	border-style: none;
}

#author img.counter {
	vertical-align: -30%;
}

#author {
	color: #000000;
	max-width: 900px;
	margin: auto;
}

#author a {
	color: #000000;
}

.prod {
	margin-right: auto;
	margin-left: auto;
	padding-top: 25px;
	max-width: 935px;
	background-color: #fff;
	padding-left: 25px;
	padding-bottom: 15px;
}

.prod .item {
	float: left;
	text-align: center;
	width: 213px;
	height: 216px;
	padding-top: 0;
	padding-bottom: 0;
	margin-right: 18px;
	margin-left: 0;
	margin-bottom: 18px;
}

.prod .item a {
	color: gray;
	font-weight: 700;
	font-size: 16px;
	text-decoration: none;
	line-height: 1em;
}

.prod .item a:hover {
	color: #9d701c;
}

.prod .item img {
	border-style: none;
	width: 213px;
	height: 156px;
}

.clear {
	clear: both;
	height: 0;
}

h2 img {
	border-style: none;
}

.large {
	font-size: 23px;
	font-weight: 400;
	line-height: 60px;
	letter-spacing: -2px;
	word-spacing: 4px;
}

.floating {
	float: right;
	margin-left: 20px;
	margin-top: 25px;
	margin-right: 20px;
	border: none;
}

.floatingleft {
	float: left;
	margin-left: 0;
	margin-top: 0;
	margin-right: 25px;
}

.google-maps {
	padding: 0;
	height: 320px;
	margin: auto;
	max-width: 900px;
}

.spacer {
	width: 100%;
	margin-right: auto;
	margin-left: auto;
}

.mark2 {
	color: #9d701c;
}

.foto img {
	padding: 5px;
	margin: auto;
	width: 280px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: small;
	color: #000000;
}

.foto {
	margin: auto;
	padding: 5px 8px 5px 8px;
	text-align: center;
	text-decoration: none;
	font-size: x-small;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: normal;
	color: #000000;
}

.foto a {
	margin: auto;
	padding: 15px 60px 15px 60px;
	text-align: center;
	display: inline-block;
	max-width: 280px;
	min-height: 20px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: x-small;
	font-style: normal;
	color: #000000;
	font-weight: normal;
	text-transform: uppercase;
}

.foto img:hover {
	background-color: #ccc;
}

.bar {
	background-repeat: repeat-x;
	background-position: center top;
	height: 15px;
	width: 100%;
	margin-right: auto;
	margin-left: auto;
}

.box {
	width: 100%;
	background-repeat: repeat-x;
	background-position: center top;
}

.logo p {
	max-width: 1280px;
	margin: auto;
	z-index: 998;
	text-align: right;
	font-size: 15px;
	line-height: 17px;
	color: #fff;
}

.logo a {
	color: #fff;
	text-decoration: none;
	font-weight: 700;
}

.logo a:hover {
	color: #fff;
}

.logo {
	background-position: center top;
	width: 100%;
	height: 45px;
	z-index: 999;
	margin-top: 0;
	margin-left: 0;
	text-align: center;
	z-index: 999;
	background-repeat: no-repeat;
	padding: 13px 0;
}

#slideshow img {
	border: none;
}

.c1_2 {
	float: left;
	width: 50%;
	padding-top: 25px;
	padding-bottom: 25px;
}

.boxcontainer {
	width: 100%;
	padding: 0;
}

.bgins2 {
	background-color: #fff;
}

.fotos {
	line-height: 0;
}

.fotos img {
	width: 25%;
}

.left {
	text-align: left;
}

#menu li img {
	vertical-align: middle;
	border: none;
	font-family: "Bookman Old Style";
	font-size: medium;
	color: #000000;
	font-weight: normal;
	font-style: normal;
	font-variant: normal;
	text-decoration: none;
}

.google-maps {
	padding: 0px;
	height: 320px;
	margin: auto;
	max-width: 100%;
	width: 100%;
	text-decoration: none;
	border: 0;
}
/* slider.css */

.slidercontainer {
    width: 900px;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    
    /* KRYTYCZNE - ustaw aspect-ratio bazując na rzeczywistych wymiarach */
    aspect-ratio: 900 / 506; /* Twoje obrazy mają 900x506px */
    background-color: #f0f0f0;
    
    /* Zapobiegnij layout shiftom */
    contain: layout size style;
}

.slider {
    display: flex;
    width: 1100%; /* 11 slajdów * 100% */
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.slide {
    flex: 0 0 9.09%; /* 100% / 11 slajdów ≈ 9.09% każdy */
    height: 100%;
    position: relative;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    margin: 0;
    padding: 0;
    
    /* Zapobiegnij shiftom obrazów */
    contain: layout;
}


/* Media queries dla responsywności */
@media (max-width: 900px) {
	.slidercontainer {
		width: 100%;
		margin: 0 10px;
	}
}

@media (max-width: 600px) {
	.slidercontainer {
		aspect-ratio: 4 / 3;
	}
}