:root {
    /*--main-primary-color: #6fc9ab;*/
    --main-primary-color: #47a36e;
    --main-secondary-color: #ABE8C4;
}
html, body {
    overflow-x: hidden;
}
body {
    color: #000;
}
.font-size-16 {
    font-size: 16px;
}
a:hover {
    color: var(--main-primary-color) ;
}
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: var(--main-primary-color) ;
}
::-webkit-scrollbar-thumb:hover {
    background: #555;
}
.red {
    color: #ff0000;
}
.social {
    font-size: 30px;
}
.primary-color {
    color: var(--main-primary-color) ;
}
.phone {
    text-decoration: underline !important;
    color: var(--main-primary-color);
    font-weight: 800;
}
.phone:hover,
.phone:focus {
    color: #000 !important;
}
h2 {
    text-transform: uppercase;
}
strong {
    font-weight: 700;
}
p {
    text-align: justify;
}
.text-inherit {
    text-transform: inherit !important;
}
.text-right {
    text-align: right;
}
.relative {
    position: relative;
}
.pl-0 {
    padding-left: 0 !important;
}
.pr-0 {
    padding-right: 0 !important;
}
.m-t-35 {
    margin-top: 35px;
}

#first-capitol, #head-capitol {
    background-image: url('/images/main/001.jpg');
    background-size: auto 800px;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #fbfbfb;
}
#first-capitol {
    position: relative;
}
#first-capitol h1 {
    color: var(--main-primary-color);
    letter-spacing: 2px;
}
#first-capitol h1,
#first-capitol p {
    position: relative;
    z-index: 2;
}
/*#first-capitol:after {
    content: "";
    background: #000;
    opacity: .2;
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}*/
#head-capitol {
    max-height: 400px;
    min-height: 400px;
    background-position-y: bottom;
}
.templateux-overlap {
    border-radius: 0;
    position: relative;
    z-index: 2;
}
.lead {
    text-align:justify;
}
.w-100 {
    width: 100%;
}
.d-flex {
    display: flex;
}
.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}
.none {
    display: none;
}
.logo-text {
    padding-left: 40px;
    text-transform: lowercase;
    font-family: "Oswald", sans-serif;
    letter-spacing: 2px;
    color: var(--main-primary-color)  !important;
    font-weight: 600;
}
.logo-img {
    height: 40px;
    position: absolute;
    top: -3px;
}
footer .logo-text {
    padding-left: 25px;
    letter-spacing: 1px;
}
footer .logo-img {
    height: 25px;
}
.primary-color {
    color: var(--main-primary-color)  !important;
}
.mr-1 {
    margin-right: 1em;
}
.pull-left {
    float: left;
}
.pull-right {
    float: right;
}
.btn-primary {
    font-weight: 600;
    background-color: var(--main-primary-color);
    border-color: var(--main-primary-color);
    padding: 10px 20px;
    border-radius: 50px;
    color: #fff;
    letter-spacing: 3px;
}
.btn-primary:hover,
.btn-primary:focus {
    background-color: #111 !important;
    border-color: #111 !important;
}

.btn-primary.disabled, .btn-primary:disabled {
    background-color: #bebebe;
    border-color: #bebebe;
    cursor: not-allowed;
    pointer-events: all;
}
.btn-secondary {
    font-weight: 600;
    background-color: transparent;
    border: 3px solid var(--main-primary-color);
    padding: 10px 20px;
    border-radius: 50px;
    color: #000;
    letter-spacing: 3px;
}
.btn-secondary:hover {
    background-color: var(--main-primary-color);
    border-color: var(--main-primary-color);
}
.card .btn-primary {
    /*border-radius: 30px;*/
    border-radius: 0;
}
.contact-title {
    color: #000;
}
.contact-list {
    color: #000;
    padding-left: 0;
    list-style-type: none;
}
.templateux-menu button,
.templateux-menu li > a,
#mobile-menu li > a,
.cloned-templateux-menu button {
    outline: none;
    border: none;
    color: var(--main-primary-color) !important;
    font-weight: 800;
    background: transparent;
    text-transform: lowercase;
    padding: 15px;
    font-size: 15px !important;
    letter-spacing: .1em;
}
.pin-map, .pin-developer {
    position: relative;
    margin-left: 50px;
}
.pin-map:before, .pin-developer:before {
    content: "";
    width: 30px;
    height: 30px;
    background-size: cover;
    position: absolute;
    top: calc(50% - 15px);
    left: -50px;
}
.pin-map:before {
    background-image: url(../images/pin-blue.png);
}
.pin-developer:before {
    background-image: url(../images/pin-developer-blue.png);
}
#istrinka-table thead th {
    padding: 15px 0 15px 0;
    color: var(--main-primary-color) ;
}
#istrinka-table tbody tr:hover, .flat-sold, .flat-reserved {
    background: #f2f2f2 !important;
}
.flat-sold, .flat-reserved {
    opacity: .6 !important;
}
#istrinka-table tbody tr:hover {
    opacity: .8;
}
#istrinka-table td, #istrinka-table th {
    border-left: 1px solid #f7f7f7;
}
#istrinka-table td:first-child, #istrinka-table th:first-child {
    border-left: 0;
}
.flat-onsale {
    cursor: pointer;
}

.offer-table .status {
    padding: 2px 10px;
    border-radius: 0px;
}

.flat-onsale .status {
    background-color: #82dccb;
    color: #fff;
}

.flat-sold .status {
    background-color: #d77f83;
    color: #fff;
}

.flat-reserved .status {
    background-color: #99a4b3;
    color: #fff;
}


#istrinka-table tbody td {
    padding: 3px 0;
}

.heading-3 {
    position: relative;
    margin-left: 50px;
    margin-bottom: 20px;
}
.heading-3 .icon {
    position: absolute;
    left: -60px;
    top: -12px;
}
h2.heading, h1.heading {
    letter-spacing: 2px;
    text-transform: lowercase;
    color: #47a36e;
    position: relative;
}
h1.heading {
    text-transform: inherit;
    font-size: 2.1rem;
    margin-bottom: 30px;
    margin-top: 20px;
}
h3.heading, h5.heading {
    letter-spacing: 2px;
    /*text-transform: lowercase;*/
    color: #47a36e;
}
.benefits, .offer, .contact-title, .gallery, .montage, .showroom {
    padding: 2em 0 1em;
}
.benefits:after, .offer:after, .contact-title:after, .gallery:after, .montage:after, .showroom:after {
    position: absolute;
    opacity: .1;
    left: 7px;
    top: -15px;
    font-size: 3.5em;
    width: 1000px;
    display: inline-block;
}
.benefits:after {
    content: "benefity";
}
.offer:after {
    content: "naša ponuka";
}
.contact-title:after {
    content: "kontakt";
}
.gallery:after {
    content: "galéria";
}
.montage:after {
    content: "montáž";
}
.showroom:after {
    content: "showroom";
}

#montaz iframe {
    min-height: 300px;
}


.maklers {
    display: flex;
}
.maklers img {
    max-width: 200px;
    /*border-radius: 50%;*/
    margin-left: 5px;
}
.maklers .contact-info li {
    line-height: 30px;
    font-size: 16px;
    text-align: left;
    list-style: none;
}

.maklers .contact-info li a {
    color: #000;
}
.maklers .contact-info li a:hover {
    color: var(--main-primary-color) ;
}
.border-radius-0 {
    border-radius: 0 !important;
}
.variation-content ul li {
    list-style-type: disclosure-closed;
    padding-bottom: 15px;
}

#mobile-menu {
    background-color: #f8f9fa;
    /*position: fixed;*/
    z-index: 10;
    width: 100%;
}
#mobile-menu ul li a {
    color: #000;
}
.templateux-navbar.dark .templateux-menu li.active>a {
    color: var(--main-primary-color) ;
    font-weight: 800;
}

.personal_banner {
    padding-bottom: 100px;
    margin-top: -40px
}

.personal_banner a, .personal_banner h4, .personal_banner p,
.personal_banner .phone span {
    color: #000;
}

.personal_banner .photo {
    padding: 0
}

.personal_banner .photo img {
    width: 150px;
    transform: rotateY(180deg);
    filter: contrast(.9)
}

.personal_banner .text {
    position: absolute;
    left: 200px;
    bottom: 20px;
    top: 45px;
}

.personal_banner .phone {
    position: absolute;
    right: 30px;
    bottom: 30px;
}

.personal_banner a {
    font-size: 1.1em;
    font-weight: 400;
}

.personal_banner p {
    font-size: 16px;
    max-width: 600px;
}

.personal_banner h4 {
    font-size: 1.3em;
    text-transform: inherit;
}

.personal_banner .phone span {
    display: flex;
    text-transform: uppercase;
    font-weight: 500;
    padding-left: 52px;
    margin-bottom: -15px;
    font-size: 0.8em;
}

.overlay-50percent {
    position: absolute;
    background-color: #f8f9fa;
    height: 80%;
    width: 100%;
    bottom: 0
}
.card-img-top {
    max-height: 200px;
    min-height: 200px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
}
.list-group-item {
    background-color: transparent;
    border: 1px solid #ededed;
}
.list-group-item strong {
    text-transform: lowercase;
    color: var(--main-primary-color);
}
.price-title {
    color: var(--main-primary-color);
}
.price-title .black {
    color: #333 !important;
}
.card-price {
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid #ededed;
    font-size: 1.3em;
    font-weight: 600;
    color: var(--main-primary-color);
}
.card>.list-group {
    border: 1px solid #ededed;
    border-left: 0;
    border-right: 0;
}
.card-title {
    color: var(--main-primary-color);
    text-transform: lowercase;
    text-align: center;
    font-family: "Oswald", sans-serif;
    font-weight: 600;
}
.card-title a,
.card-title a:hover,
.card-title a:focus {
    color: var(--main-primary-color);
}
.card {
    border: 0;
    /*border-radius: 30px;*/
    border-radius: 0;
    padding: 20px 15px;
    /*background-color: transparent;*/
    background-color: #fff;
    position: relative;
    padding-bottom: 70px !important;
    box-shadow: 0 10px 20px -8px rgba(0, 0, 0, 0.2);
}
.offer-card {
    margin-bottom: 7em;
}
.offer-card:last-child {
    margin-bottom: 0;
}
.im-interested {
    position: absolute;
    text-transform: lowercase;
    bottom: 0;
    height: 70px;
    left: 0;
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
}
.fancybox__progress {
    background: var(--main-secondary-color);
}
.templateux-logo {
    position: relative;
}

.modal-dialog {
    max-width: 75vw;
}
.modal-header {
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
}
.modal-content {
    border-radius: 30px;
}

#product-detail .main-image {
    max-width: 100%;
    max-height: 500px;
}

#product-detail .templateux-cover {
    background-image: none;
}

#you-robot {
    font-size: 14px;
    padding-top: 15px;
    text-align: right;
}

.bg-image {
    height: 456px;
    object-fit: cover;
}
.sml-image {
    height: 220px;
    object-fit: cover;
}
#about-cellars h6 {
    text-transform: lowercase;
}

.address_menu .icon {
    margin-right: 5px;
    align-items: center;
    display: flex;
    justify-content: center;
}
.address_menu h3 {
    font-size: 15px;
    margin-bottom: 0;
    text-transform: lowercase;
    font-weight: 600;
    color: var(--main-primary-color);
}
.address_menu p {
    margin-bottom: 0;
    font-size: 14px;
}
.single_address:first-child,
.single_address:nth-child(2) {
    margin-right: 50px;
}
.ul-list-numbers {
    list-style-type: decimal;
}
.ul-list-abc {
    list-style-type: lower-latin;
}
.ul-list-numbers li {
    margin-bottom: 1rem;
}

#obchodne-podmienky ::marker {
    font-size: 16px;
    font-weight: 800;
    color: #47a36e;
}
.quatro-head img {
    margin-top: 5px;
}
@media screen and (max-width: 767px) {
    body {
        padding-top: 83px;
    }
    .mobile-none {
        display: none !important;
    }
    .templateux-navbar {
        position: fixed;
        z-index: 10;
        margin-top: -83px;
        background-color: #fff;
    }
    #mobile-menu {
        top: 79px;
        position: fixed;
    }
    #first-capitol, #head-capitol {
        padding-top: 30px;
    }
    .hamburger-box {
        margin-top: 5px;
        margin-bottom: -5px;
    }
    .templateux-navbar.dark .templateux-logo {
        margin-top: 10px;
    }
    th, td {
        min-width: 120px;
    }
    .hamburger-inner,
    .hamburger-inner:before,
    .hamburger-inner:after {
        background-color: var(--main-primary-color) !important;
    }
    .cookiewarning .btns {
        flex-direction: column;
    }
    .cookiewarning .btns .btn {
        width: 100%;
        margin: 0;
        margin-bottom: 10px;
    }
    .modal-dialog {
        margin: 15px auto;
        max-width: 90vw;
    }
    #settingsCookies .modal-footer button {
        width: 100%;
    }
    .templateux-cover, .templateux-cover .row {
        min-height: 600px;
    }
    #first-capitol {
        padding-top: 20px;
        background: url(/images/cellar.png);
        /* Zobrazuje sa na 200px, preto lahsia verzia 500px. Stary PNG zostava fallbackom
           pre prehliadace bez image-set. 675 kB -> 37 kB. */
        background-image: -webkit-image-set(url(/images/cellar-m.webp) type("image/webp"),
                                            url(/images/cellar.png) type("image/png"));
        background-image: image-set(url(/images/cellar-m.webp) type("image/webp"),
                                    url(/images/cellar.png) type("image/png"));
        background-size: 200px;
        background-position: center;
        background-position-y: 380px;
        background-repeat: no-repeat;
        /*padding-bottom: 105px;*/
        padding-bottom: 220px;
    }

    #first-capitol h1, #first-capitol p {
        text-align: center;
    }
    .templateux-navbar .templateux-logo a, .templateux-navbar.dark .templateux-logo a {
        font-size: 16px;
        position: absolute;
        letter-spacing: 1px;
        width: 200px;
        top: 6px;
        display: inline-block;
    }
    .first-cellar {
        padding: 50px 15px 30px 15px;
    }
    .card-img-top {
        width: 100% !important;
    }
    .logo-img {
        top: 0;
    }
    .offer-card .list-group-item {
        padding: 0.75rem 0.5rem;
        font-size: 14px;
    }
    .bg-image {
        height: 376px;
    }
    .sml-image {
        height: 180px;
    }
    .order-mobile-1 {
        order: 1;
    }
    .order-mobile-2 {
        order: 2;
    }
    .templateux-section {
        padding: 0em 0;
    }
    .price-title {
        text-align: center;
    }
    #product-detail .main-image {
        max-height: 340px;
        margin-bottom: 120px;
    }
    .cloned-templateux-menu .dropdown-content {
        position: relative;
        padding: 0 5px;
        box-shadow: none;
        border-radius: 0 !important;
    }
    #mobile-menu ul li a {
        border-radius: 0 !important;
    }
    .dropdown-content:before {
        display: none;
    }
    #mobile-menu > div {
        max-height: 460px;
    }
    .cloned-templateux-menu button,
    .cloned-templateux-menu a {
        width: 100%;
        text-align: left;
    }
    .about-cellar {
        padding: 15px !important;
    }
    .address_menu p,
    .address_menu h3 {
        font-size: 12px;
    }
    .address_menu icon i {
        font-size: 24px;
    }
    .single_address:first-child,
    .single_address:nth-child(2) {
        margin-right: 0;
    }
    .address_menu .icon {
        color: var(--main-primary-color);
    }
    .quatro-box {
        text-align: center;
    }
}
@media only screen and (min-width: 768px) and (max-width: 992px) {
    .offer-card .list-group-item {
        font-size: 13px;
        padding: 0.75rem 0.5rem;
    }
    .templateux-cover .heading {
        font-size: 35px;
    }
    #first-capitol br {
        display: none;
    }
    .single_address:first-child {
        margin-right: 20px !important;
    }
    .single_address:nth-child(2) {
        margin-right: 0px !important;
    }
}

@media screen and (min-width: 768px) {
    .templateux-navbar {
        position: fixed;
        z-index: 10;
        padding: 15px 0 0;
        background-color: #fff;
        transition: .3s;
    }
    .templateux-navbar.scrolled {
        background-color: #fff;
    }
    .contact-btn {
        padding-right: 0 !important;
    }
    .desktop-none {
        display: none !important;
    }
    header nav {
        border-top: 1px solid #f8f8f8;
    }
}

@media only screen and (max-width: 991px) {
    .personal_banner {
        display: none;
    }
    .quatro-head {
        display: none !important;
    }
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
    .personal_banner {
        display: none;
    }
    .personal_banner .text {
        top: 25px;
    }
    .overlay-50percent {
        height: 90%;
    }
    .personal_banner .phone {
        bottom: 35px;
    }
    .offer-card .list-group-item strong {
        display: block;
    }
    .offer-card .list-group-item {
        padding: 0.75rem 1rem;
    }
    #montaz iframe {
        min-height: 430px;
    }
}
@media only screen and (min-width: 1200px) and (max-width: 1399px) {
    #montaz iframe {
        min-height: 450px;
    }
}
@media only screen and (min-width: 1200px) and (max-width: 1699px) {
    .offer-card .list-group-item strong {
        display: block;
    }
    .offer-card .list-group-item {
        padding: 0.75rem;
    }
}
@media only screen and (min-width: 1400px) and (max-width: 1699px) {
    #montaz iframe {
        min-height: 500px;
    }
}
@media only screen and (min-width: 1700px) {
    #montaz iframe {
        min-height: 550px;
    }
}
@media only screen and (min-width: 1699px) and (max-width: 1799px) {
    .offer-card .list-group-item {
        padding: 0.75rem 1rem;
    }
}
@media screen and (min-width: 1200px) {
    .container {
        max-width: 75vw;
    }
}
/* ============================================================
   POISTKA PROTI PRÁZDNEJ STRÁNKE — doplnené 11. 8. 2026
   ------------------------------------------------------------
   Na homepage má 59 prvkov atribút data-aos. Knižnica AOS im
   drží opacity:0, kým na ne nepridá triedu .aos-animate. To sa
   stane až po vykonaní AOS.init(), ktorý beží až za scripts-all.js
   (306 kB). Návštevník preto videl bielu stránku 6-14 s.

   Riešenie: ak AOS do 0,6 s nezareaguje, obsah sa zobrazí sám.
   Keď AOS nabehne, pridá .aos-animate, selektor :not() prestane
   platiť a animácie fungujú ako predtým. Nič sa neodstraňuje.
   ============================================================ */
@keyframes zpAosFailsafe {
    to { opacity: 1; transform: none; }
}
[data-aos]:not(.aos-animate) {
    animation: zpAosFailsafe 0.35s ease-out 0.6s forwards;
}
/* Kto nechce animácie, dostane obsah okamžite. */
@media (prefers-reduced-motion: reduce) {
    [data-aos] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
        animation: none !important;
    }
}
