/* AVP 3D – style przeniesione z Templates/Template/css (example1.css + example2.css) */

body {
    margin: 0;
    padding: 0;
    color: #868789;
    font-size: 11px;
    font-family: Arial, sans-serif;
    background: #fff url('../images/bg1.jpg') repeat-x;
}

img { border: 0; }
p { margin: 0; }
[hidden] { display: none !important; }

.SW { width: 996px; margin: 0 auto; }
.CL { clear: both; }
.minheight { min-height: 505px; }

/* Nagłówek */

.header .leftSide { float: left; width: 178px; height: 75px; }
.header .rightSide { float: left; width: 818px; height: 75px; }
.header .rightSide .mineMenu { margin-top: 12px; margin-left: 21px; }
.header .rightSide .mineMenu div { width: 100%; clear: both; }

.header .rightSide .mineMenu > div:first-child div.menu:first-child > ul.menu > li:first-child a {
    color: #fff;
    font-weight: bold;
    background-color: #90d401;
    padding: 2px 4px;
}

.header .rightSide .mineMenu .breaker {
    height: 18px;
    background: url('../images/menu_separator.png') no-repeat 50% 50%;
}

.header .rightSide .mineMenu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center;
    width: 100%;
}

.header .rightSide .mineMenu ul li {
    display: inline-table;
    font-size: 14px;
    margin-right: 10px;
    padding-right: 10px;
    color: #868789;
    text-transform: uppercase;
    background: url('../images/slash.png') no-repeat 100% 50%;
}

.header .rightSide .mineMenu ul li:last-child { background: none; }
.header .rightSide .mineMenu ul li a { color: #868789; text-decoration: none; }
.header .rightSide .mineMenu ul li a:hover { color: #8fd400; }
.header .rightSide .mineMenu ul li a.active { font-weight: bold; color: #8fd400; }

/* Treść */

.content .contentContent .leftSide { float: left; width: 178px; min-height: 1px; }
.content .contentContent .rightSide { float: left; width: 818px; }
.rightSide h2 { text-align: center; margin-top: 27px !important; }
.description { position: relative; }
.description img { max-width: 818px; height: auto; }
.notFound h2 { text-align: center; padding-top: 100px; }

/* Lewe menu kategorii */

/* Długie listy (np. Livre d'or) przewijają się w obrębie szarego tła (bg1.jpg ma 605 px wysokości) */
.leftSide ul.menu {
    list-style: none;
    margin: 30px 0 0;
    padding: 0;
    max-height: 480px;
    overflow-y: auto;
    position: relative; /* punkt odniesienia dla offsetTop w site.js */
    scrollbar-width: thin;
    scrollbar-color: #c4c5c6 transparent;
}
.leftSide ul.menu::-webkit-scrollbar { width: 6px; }
.leftSide ul.menu::-webkit-scrollbar-thumb { background: #c4c5c6; border-radius: 3px; }
.leftSide ul.menu::-webkit-scrollbar-track { background: transparent; }
.leftSide ul.menu li { list-style: none; text-align: right; }

.leftSide ul.menu li a {
    display: block;
    padding: 0 5px 0 0;
    font-family: Arial, sans-serif;
    font-size: 11px;
    line-height: 19px;
    color: #868789;
    text-decoration: none;
    text-transform: uppercase;
}

.leftSide ul.menu li a:hover { text-decoration: underline; color: #8fd400; }
.leftSide ul.menu li a.depth { padding-right: 25px; }
.leftSide ul.menu li a.active { background-color: #8fd400; color: #fff; }

/* Galeria */

.gallery table.gallery { border-collapse: collapse; }
.gallery table.gallery tr td { padding: 0; margin: 0; width: 202px; }

.gallery table.gallery tr td a {
    display: block;
    width: 202px;
    height: 165px;
    position: relative;
    overflow: hidden;
}

.gallery table.gallery tr td a img { width: 100%; height: 100%; object-fit: cover; display: block; }

.gallery .hover,
.references .hover {
    display: none;
    width: 202px;
    height: 165px;
    position: absolute;
    top: 0;
    left: 0;
    background: url('../images/ref_hover.png') no-repeat center center;
}

.gallery a:hover .hover,
.references a:hover .hover { display: block; }

.gallery.fullPack > a { display: block; position: relative; width: 814px; height: 499px; overflow: hidden; }
.gallery.fullPack > a img { width: 814px; height: 499px; object-fit: cover; display: block; }
.gallery.fullPack .hover { width: 814px; height: 499px; background-image: url('../images/full_pack_hover.png'); }

table.pagination { width: 100%; margin-top: -2px; border-collapse: collapse; }

table.pagination tr td {
    height: 25px;
    background-color: #8fd400;
    width: 25%;
    text-align: center;
    color: #fff;
    text-transform: uppercase;
}

.references table.pagination tr td { width: 50%; }
table.pagination tr td a { color: #fff; text-decoration: none; }
table.pagination tr td a:hover { text-decoration: underline; }
table.pagination tr td span { font-weight: bold; }

/* Referencje */

.references table.references { border-collapse: collapse; }
.references table.references tr td { padding: 0; margin: 0; }
.references table.references tr td a { display: block; width: 202px; height: 165px; position: relative; }
.references .item { width: 202px; height: 165px; background-position: 0 0; background-size: 202px auto; }
.references a:hover .item { background-position: 0 100%; }

/* Wideo */

.videoPlayer video { display: block; width: 818px; height: auto; background: #000; }

/* Kontakt */

.contact { padding-top: 20px; }
.contact .left { width: 450px; float: left; font-size: 11px; }
.contact .left .contentContact { margin-left: 190px; margin-bottom: 15px; font-size: 13px; line-height: 17px; }
.contact .left .contentContact a { color: #868789; }
.contact .left table tr td { padding: 2px 3px; }

.contact .left table tr td:first-child {
    width: 170px;
    text-align: right;
    vertical-align: top;
    text-transform: uppercase;
}

.contact .left input,
.contact .left textarea {
    width: 258px;
    border: none;
    background-color: #fff;
    font-family: Arial, sans-serif;
    box-shadow: inset 0 0 0 1px #e2e2e2;
}

.contact .left input { height: 18px; }
.contact .left textarea { height: 108px; resize: vertical; }

.contact .left input.submit {
    float: right;
    width: 260px;
    height: 22px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    color: #fff;
    background-color: #8fd400;
    box-shadow: none;
    cursor: pointer;
}

.contact .left .notice {
    float: right;
    width: 260px;
    margin: 0 13px 10px 0;
    padding: 2px 0;
    text-align: center;
    text-transform: uppercase;
    color: #fff;
    background-color: #868788;
    font-size: 12px;
}

.contact .left .hp { position: absolute; left: -9999px; }
.contact .right { width: 540px; float: left; padding-top: 20px; }

/* Stopka */

.footer {
    margin: 30px auto 20px;
    width: 996px;
    text-align: center;
    color: #868789;
    font-size: 12px;
    font-family: Tahoma, Verdana, Arial, sans-serif;
    line-height: 17px;
}

.footer a { color: #868789; }
.footer a:hover { color: #8fd300; }

/* Lightbox (zamiast jQuery Colorbox) */

.lb { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; }
.lb-overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, .85); }
.lb-box { position: relative; background: #fff; padding: 10px 10px 34px; max-width: calc(100vw - 40px); }
.lb-box img, .lb-box video { display: block; max-width: calc(100vw - 60px); max-height: calc(100vh - 100px); }
.lb-bar { position: absolute; left: 10px; right: 10px; bottom: 8px; height: 18px; line-height: 18px; font-size: 12px; color: #868789; }
.lb-bar a { color: #868789; text-decoration: none; text-transform: uppercase; }
.lb-bar a:hover { color: #8fd400; }
.lb-prev, .lb-next { position: absolute; top: 0; }
.lb-prev { left: 0; }
.lb-next { right: 30px; }
.lb-info { text-align: center; padding: 0 100px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb-info a { color: #8fd400; text-transform: none; font-weight: bold; }
.lb-close { position: absolute; right: 0; top: 0; font-size: 18px; line-height: 18px; }
