﻿body {
	background-position: center top;
	border-width: 6px;
	border-color: #3d4c73;
	font-family: Tinos, "Times New Roman", Times, serif;
	color: #999;
	background-color: #fff;
	background-repeat: repeat;
	border-top-style: solid;
}

* {
	margin: 0;
	padding: 0;
	outline: 0;
}

.wrap {
	background-position: center top;
	width: 100%;
	background-repeat: repeat-x;
	background-image: url(../img/wrap.png);
}

.slidercontainer {
	max-width: 900px;
	margin: 0 auto;
}

.abs {
	z-index: 1001;
	width: 100%;
}


nav {
	margin: 5px 0 5px auto;
	background-position: center top;
	padding: 0;
	text-align: center;
	color: #000;
	min-height: 24px;
	z-index: 999;
}

#menu ul {
	list-style-type: none;
	min-height: 24px;
	padding: 0;
	margin: 0 auto;
	text-align: center;
	margin: 0 0 0 auto;
	background-color: #ffffff;
}

#menu li {
	list-style-type: none;
	min-height: 24px;
	margin: 0 0 0 2px;
	padding: 2px;
	display: inline-block;
	width: 26px;
}

#menu li a {
	text-decoration: none;
	color: #FFFFFF;
	font-size: small;
	display: block;
	min-height: 14px;
	font-weight: normal;
	text-transform: uppercase;
	line-height: 14px;
	padding: 5px;
	background-color: #000000;
	font-family: Arial, Helvetica, sans-serif;
}

#menu li a:hover,
#menu li a.active {
	color: #185038;
	background-color: #FFFFFF;
	border: #19573C solid 1px;
}

#menu li img {
	vertical-align: middle;
	border: none;
}

header,
.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;
	height: 110px;
	background-image: url(../img/logo.jpg);
	background-color: #fff;
}

#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 {
	border-color: #000000;
	background-position: center top;
	padding: 5px 20px 5px 20px;
	overflow: hidden;
	margin: 0 auto;
	font-size: medium;
	color: #000000;
	font-weight: bold;
	text-align: center;
	letter-spacing: 0;
	min-height: 16px;
	text-indent: 0;
	max-width: 860px;
	line-height: 1em;
	text-transform: uppercase;
	border-top-style: solid;
	border-top-width: 1px;
	font-family: Arial, Helvetica, sans-serif;
}

h2 {
	background-color: #000000;
	color: #FFFFFF;
	font-family: Arial, Helvetica, sans-serif;
	font-size: medium;
	font-weight: normal;
}

h6 {
	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 {
	padding: 12px 0;
	overflow: hidden;
	margin: 0 auto;
	font-size: 20px;
	color: #222;
	font-weight: 500;
	text-align: center;
	letter-spacing: 0;
	min-height: 24px;
	text-indent: 0;
	line-height: 24px;
	background-color: #fff;
	max-width: 960px;
}

h3 {
	color: gray;
	font-weight: 400;
}

article {
	margin-right: auto;
	margin-left: auto;
	padding: 0;
}

.tresc {
	padding: 25px;
	font-size: medium;
	line-height: 1.25em;
	text-align: left;
	font-weight: normal;
	color: #000000;
	font-family: Arial, Helvetica, sans-serif;
}

#author {
	min-height: 15px;
	padding-top: 15px;
	padding-bottom: 15px;
	font-size: 14px;
	padding-left: 0;
	text-align: center;
	background-color: rgb(255, 255, 255)
}

.photos {
	padding: 0;
	text-align: left;
	letter-spacing: 4px;
}

.photos img {
	margin-bottom: 5px;
}

footer {
	margin: 0 auto;
	max-width: 900px;
	color: #000000;
	padding-top: 0;
	padding-bottom: 0;
	background-color: #ffffff;
}

#foot {
	padding: 0;
	margin-right: auto;
	margin-left: auto;
}

footer a {
	color: #000;
	font-family: Arial, Helvetica, sans-serif;
	font-size: medium;
	font-weight: normal;
}

footer #contact {
	background-position: right center;
	min-height: 40px;
	padding: 20px;
	text-align: center;
	letter-spacing: 0;
	font-size: medium;
	line-height: 1.35em;
	background-repeat: no-repeat;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: normal;
	color: #000000;
}

footer #contact strong {
	font-weight: 700;
	font-size: 16px;
}

footer a:hover {
	color: #ffffff;
}

#author img {
	border-style: none;
}

#author img.counter {
	vertical-align: -30%;
}

#author {
	color: #000000;
	max-width: 100%;
	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 {
	border-width: 0;
	padding: 0;
	height: 320px;
	margin: 0;
	width: 100%;
}

.spacer {
	width: 100%;
	margin-right: auto;
	margin-left: auto;
}

.mark2 {
	color: #9d701c;
}

.foto img {
	padding: 3px;
	background-color: #eee;
	margin: 2px;
	width: 205px;
}

.foto {
	padding: 0 10px 20px;
	text-align: center;
}

.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;
}


/* Baner container - bez layout shift */
.baner-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto 30px auto;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.10);
    border-radius: 12px;
    overflow: hidden;
    background: #f5f5f5;
    
    /* KLUCZOWE: Ustaw aspect ratio zamiast sztywnej wysokości */
    aspect-ratio: 1200 / 360; /* 3.33:1 - proporcje twojego banera */
}

/* Obraz w banerze */
.baner-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    
    /* Placeholder background podczas ładowania */
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
}

/* Fallback dla starszych przeglądarek (IE, stare Safari) */
@supports not (aspect-ratio: 1) {
    .baner-container {
        height: 0;
        padding-bottom: 30%; /* 360/1200 = 30% */
    }
}

/* Dodatkowy placeholder - będzie widoczny podczas ładowania obrazu */
.baner-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    z-index: -1;
}

/* Responsive - dostosowanie dla mniejszych ekranów */
@media (max-width: 768px) {
    .baner-container {
        margin: 0 auto 20px auto;
        border-radius: 8px;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    }
}

@media (max-width: 480px) {
    .baner-container {
        margin: 0 auto 15px auto;
        border-radius: 6px;
    }
}