﻿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;
	background-image: url(../img/flowers.png);
	overflow-x: hidden;
}

* {
	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: 25px;
	padding: 0;
	margin: 0 auto;
	text-align: center;
	margin: 0 0 0 auto;
}

#menu li {
	list-style-type: none;
	min-height: 24px;
	margin: 0 0 0 1px;
	padding: 0;
	display: inline-block
}

#menu li a {
	border: 0px solid #3d4c73;
	text-decoration: none;
	color: #000000;
	font-size: small;
	display: block;
	min-height: 15px;
	font-weight: normal;
	border-radius: 5px;
	text-transform: uppercase;
	line-height: 14px;
	padding: 6px 6px;
	background-color: #FFCC00;
	font-family: Arial, Helvetica, sans-serif;
}

#menu li a:hover,
#menu li a.active {
	color: #185038;
	background-color: #FFFFFF;
	border: 1px solid #19573C
}

#menu li img {
	vertical-align: middle;
	height: 15px;
	border: none
}

header,
.header {
	background-position: center center;
	overflow: hidden;
	text-align: left;
	z-index: 998;
	margin-right: auto;
	margin-left: auto;
	color: #fff;
	font-weight: 400;
	max-width: 900px;
	padding: 20px 0 0;
	background-repeat: no-repeat;
	min-height: 110px;
	background-image: url(../img/logo.jpg);
}

#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: #0C5A39;
	background-position: center top;
	padding: 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: #FFCC00;
	color: #000000;
	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
}


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: 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: #eee
}

#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: #555
}

#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
}

.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;
	width: 900px;
	border: none;
}

.grasscontainer {
	width: 900px;
	margin: auto;
}

.spacer {
	width: 100%;
	margin-right: auto;
	margin-left: auto
}

.mark2 {
	color: #9d701c
}

.foto img {
	padding: 3px;
	background-color: #eee;
	margin: 2px;
	width: 200px
}

.foto {
	padding: 0 10px 30px;
	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
}
.slidercontainer {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    /* Responsywna wysokość utrzymująca aspect ratio 16:9 */
    aspect-ratio: 16/9;
    /* Fallback dla starszych przeglądarek */
    height: 0;
    padding-bottom: 56.25%; /* 9/16 * 100% = 56.25% */
}

/* Dla przeglądarek obsługujących aspect-ratio */
@supports (aspect-ratio: 16/9) {
    .slidercontainer {
        height: auto;
        padding-bottom: 0;
    }
}

.slider1 {
    display: flex;
    width: 400%; /* 4 slajdy = 400% */
    height: 100%;
    animation: slide 12s infinite; /* 3s na slajd * 4 slajdy = 12s */
    /* Dla fallback padding-bottom */
    position: absolute;
    top: 0;
    left: 0;
}

.slide {
    width: 25%; /* 100% / 4 slajdy = 25% */
    height: 100%;
    flex-shrink: 0;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@keyframes slide {
    0%, 22% { transform: translateX(0); }
    25%, 47% { transform: translateX(-25%); }
    50%, 72% { transform: translateX(-50%); }
    75%, 97% { transform: translateX(-75%); }
    100% { transform: translateX(0); }
}

/* Media queries dla różnych rozmiarów ekranu */
@media (max-width: 768px) {
    .slidercontainer {
        aspect-ratio: 4/3; /* Na mobile lepszy stosunek 4:3 */
        max-width: 100%;
        margin: 0;
    }
    
    /* Fallback dla starszych przeglądarek na mobile */
    @supports not (aspect-ratio: 4/3) {
        .slidercontainer {
            padding-bottom: 75%; /* 3/4 * 100% = 75% */
        }
    }
}

@media (max-width: 480px) {
    .slidercontainer {
        aspect-ratio: 3/2; /* Na małych ekranach jeszcze inny stosunek */
    }
    
    /* Fallback dla starszych przeglądarek na małych ekranach */
    @supports not (aspect-ratio: 3/2) {
        .slidercontainer {
            padding-bottom: 66.67%; /* 2/3 * 100% = 66.67% */
        }
    }
}

/* Dla bardzo dużych ekranów */
@media (min-width: 1200px) {
    .slidercontainer {
        max-width: 900px;
    }
}