@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&display=swap');

:root {
    --main-color: #AA8A62;
    --second-color: #252525;
    --second-color-trans: rgba(37, 37, 37, 0.85); /* Converted #252525 to rgba for opacity */
    --third-color: #EDE8E5;
    --border-color: #777;
}

body {
    font-family: 'Lato', sans-serif;
}

body.modal-open {
    overflow: hidden;
    height: 100vh;
    width: 100vw;
}

.silva > .hero--overlay-of {
    display: none;
}

#mp2web-carousel {
    position: relative;
    padding-top: 25px;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
}

.close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    margin-top: 11px;
}

@media (max-width: 768px) {
    .close-button {
        margin-top: 10px;
        margin-bottom: 4px;
    }
}


.close-button:hover,
.close-button:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.close-button-icon {
    transition: transform 0.3s ease;
}

.close-button:hover .close-button-icon {
    transform: rotate(90deg);
}


@media (max-width: 769px) {
    .close-button {
        float: none;
    }

    .close-button > svg {
        height: 28px;
    }

    .single-apartment-call-to-action {
        position: absolute;
        bottom: 0;
        width: 100%;
        left: 0;
        z-index: 999;

        h3 {
            display: none;
        }

        #contactForm {
            display: none;
            background: #fff;
            padding: 1rem 2rem;
        }

        .single-apartment-call-to-action__button {
            background: var(--main-color);
            padding: 12px 20px;
            color: #fff;
            text-align: center;
            width: 100%;

            .single-apartment-call-to-action--sent {
                display: none;
            }

            &.form-sent {
                .single-apartment-call-to-action--sent {
                    display: block;
                }

                .single-apartment-call-to-action--text {
                    display: none;
                }
            }
        }
    }
}

.filter-btn {
    background-color: #f0f0f0;
    border: 1px solid #dcdcdc;
    padding: 8px 16px;
    margin: 5px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.filter-btn.active {
    background-color: #fff !important;
    color: #000 !important;
}

.filter-btn:hover {
    background-color: #e9e9e9;
    transform: scale(1.05);
}

.filter-btn:active {
    background-color: #d4d4d4;
}

/* Optionally, style the active/selected button differently */
.filter-btn.active {
    background-color: #b0e0e6;
    color: white;
    border-color: #90c8c8;
}

/* Target the container with the specific ID */
#mp2web-carousel.slick-initialized .slick-slider {
    position: relative;
}

/* Style for the left arrow, using the specific ID for targeting */
#mp2web-carousel .slick-prev {
    position: absolute;
    top: 50%; /* Center vertically */
    left: 15px; /* Distance from the left edge of the slider */
    transform: translateY(-50%); /* Center the button relative to its height */
    z-index: 1; /* Make sure the arrow is clickable over other elements */
}

/* Style for the right arrow, using the specific ID for targeting */
#mp2web-carousel .slick-next {
    position: absolute;
    top: 50%; /* Center vertically */
    right: 15px; /* Distance from the right edge of the slider */
    transform: translateY(-50%); /* Center the button relative to its height */
    z-index: 1; /* Make sure the arrow is clickable over other elements */
}


#mp2web-carousel .slick-next:before {
    content: none;
}

#mp2web-carousel .slick-prev:before {
    content: none;
}

/* Optional: Adjust the size of the arrow images if needed */
#mp2web-carousel .slick-prev img,
#mp2web-carousel .slick-next img {
    width: 66px; /* Adjust the width as needed */
    height: auto; /* Maintain aspect ratio */
}

#mp2web {
    position: relative;
    overflow: hidden;
}

#mp2web .filter-container {
    position: absolute;
    bottom: 0;
    left:0;
    right:0;
    margin: 0 auto;
    width: 100%;
    z-index: 20;
    background-color: var(--second-color-trans);
}

#mp2web .filter-container__title {
    display: flex;
    width: 100%;
    height: 49px;
    padding: 0 25px;
    line-height: 24px;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    border-bottom: 1px solid var(--border-color);
}

#mp2web .filter-container__title > span {
    font-size: 0.875rem;
    line-height: 49px;
    text-transform: uppercase;
}

#mp2web .filter-container__title__icon {
    vertical-align: middle;
}

#mp2web .filter-container.closed .filter-container__title {
    border-top: 1px solid var(--border-color);
    border-bottom: 0;
}

#mp2web .filter-container .filter-container__title__expand svg {
    transition: transform 1s ease;
}

#mp2web .filter-container.closed .filter-container__title__expand svg {
    transform: rotate(-90deg);
}

#mp2web .expand_closed_icon svg, #mp2web .expand_closed_icon img {
    stroke: var(--main-color);
    transition: transform 0.5s ease;
    height: 6px;
    margin-bottom: 2px;
}

#mp2web .closed .expand_closed_icon svg, #mp2web .closed .expand_closed_icon img {
    transform: rotate(-90deg);
}

#mp2web .filter-container.closed .filter-container__wrapper {
    display: none;
}

@media (min-width: 769px) {
    #mp2web .filter-container {
        display: flex;
        bottom: 2px;
        height: 47px;
        width: 80%;
        justify-content: center;
        border-radius: 23px 23px 0 0;
    }

    #mp2web .filter-container__title {
        display: none;
    }

    #mp2web .filter-container__wrapper {
        display: flex;
        justify-content: space-evenly;
        width: 100%;
    }
}

@media (min-width: 1200px) {
    #mp2web .filter-container {
        width: 60%;
    }
}

@media (min-width: 1920px) {
    #mp2web .filter-container {
        width: 50%;
    }
}

/* Area Filter */
.noUi-base {
    background-color: white; /* Set the handle color */
    width: 194px; /* Width of the handle */
    outline: none; /* Removing the default focus outline */
    cursor: pointer; /* Changing cursor on hover */
    height: 1px;
}

/* Targeting the connecting line */
.noUi-connect {
    background-color: var(--main-color);
    height: 8px;
}

.noUi-handle {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
}

.noUi-handle::after {
    content: unset !important;
}

.noUi-handle::before {
    content: unset !important;
}

/* Targeting the slider base */
.noUi-target {
    background-color: #e0e0e0; /* Light background for the slider base */
    border-radius: 4px; /* Optional: rounding the corners */
    box-shadow: inset 0 0 1px #000000; /* Optional: Adding a slight inset shadow for depth */
}

/* Styling for when the handle is active or being dragged */
.noUi-active {
    box-shadow: 0 0 12px var(--main-color);
}

.area-slider-filter-wrapper,
.bedroom-filter-wrapper {
    padding: 0 25px;
}

.area-slider-filter-wrapper h3,
.area-slider-filter-wrapper h3 > .title-text {
    margin: 0.5rem 0 1rem;
    font-size: 15px;
    text-transform: uppercase;
    color: var(--main-color);
    cursor: pointer;
}

.area-slider-filter-wrapper > .content {
    width: 100%;
    padding: 7px;
}

@media (min-width: 769px) {
    .area-slider-filter-wrapper,
    .bedroom-filter-wrapper {
        position:relative;
        display: flex;
        align-items: center;
        padding: 0;
    }

    .area-slider-filter-wrapper h3 {
        margin: 0;
    }

    .area-slider-filter-wrapper h3 > .title-text {
        display: inline-block;
        color: #fff;
        margin: 0.5rem 0 1rem;
    }

    .content {
        position: absolute;
        bottom: 55px;
        left: 0;
        background-color: var(--second-color-trans);
    }

    .area-slider-filter-wrapper > .content {
        width: 15vw;
        height: 70px;
        align-content: center;
        border-radius: 3%;
        padding: 10px 25px;
        max-width: 200px;
    }
}

@media (min-width: 1200px) {
    .area-slider-filter-wrapper > .content {
        width: 12vw;
    }
}

.favorites-container {
    display: flex;
    align-items: center;
}

#slider-value {
    color: white;
    font-size: 14px;
    padding-top: 12px;
    text-align-last: center;
}

#slider-value-min, #slider-value-max {
    color: white;
    font-size: 14px;
}

.Ui-connect {
    height: 5px !important;
    background: white !important;
}

.noUi-horizontal {
    height: 5px !important;
}

.noUi-horizontal .noUi-connect {
    top: 50%;
    transform: translateY(-50%);
}

.custom-handle {
    width: 18px;
}

.noUi-handle::before {
    content: none;
}

.noUi-handle::after,
.noUi-handle::before {
    background: white !important;
    height: 1px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
}

.noUi-connect {
    background: white !important;
}

.bedroom-filter-wrapper h3,
.bedroom-filter-wrapper h3 > .title-text {
    font-size: 15px;
    margin: 0.5rem 0;
    color: var(--main-color);
    text-transform: uppercase;
}

.bedroom-filter-container > .content > .filter-btn {
    border-radius: 50%;
    width: 26px;
    height: 26px;
    text-align: center;
    margin: 0 4px 0 0;
    padding: 0;
    background-color: transparent;
    color: #fff;
    font-weight: bold;
    transition: background-color 0.3s;
    cursor: pointer;
    font-size: 12px;
}

.favorites-container {
    padding: 0 25px;
}

.favorites-container h3,
.favorites-container h3 .title-text{
    margin: 1rem 0 0.5rem;
    font-size: 15px;
    color: var(--main-color);
    text-transform: uppercase;
}

@media (min-width: 769px) {
    .bedroom-filter-wrapper h3 {
        color: white;
        cursor: pointer;
    }

    .bedroom-filter-container {
        margin: 20px 0;
        text-align: center;
    }

    .bedroom-filter-container > .content {
        display: flex;
        width: 20vw;
        height: 70px;
        align-content: center;
        justify-content: space-between;
        align-items: center;
        padding: 0 20px;
        border-radius: 3%;
        max-width: 300px;
    }

    .bedroom-filter-wrapper h3 {
        margin: 0;
    }

    .bedroom-filter-wrapper h3 > .title-text {
        display: inline-block;
        color: #fff;
        margin: 0.5rem 0 1rem;
    }

    .bedroom-filter-container > .content > .filter-btn {
        margin-right: 0;
    }

    .favorites-container h3 {
        margin: 0;
    }

    .favorites-container h3 > .title-text {
        display: inline-block;
        color: #fff;
        cursor: pointer;
        margin: 0.5rem 0 1rem;
    }
}

@media (min-width: 1200px) {
    .bedroom-filter-container > .content {
        width: 14vw;
    }
}

#new-favorites-wrapper {
    margin-top: -360px;
    z-index: 1001;
    position: relative;
    background-color: var(--second-color-trans);
}

#favorites-content {
    display: flex;
    gap: 40px;
    margin: 20px 30px;
}

.favorites-wrapper {
    place-content: center;
    width:100%;
    height:354px;
}

.favorites-wrapper-title {
    font-size: 18px;
    font-weight: bold;
    line-height: 24px;
    color: white;
    letter-spacing: .1rem;
    margin: 0 24px;

    .close-button {
        margin-top: 0;
        float: right;
    }
}

.favorite-apartment {
    width: 20%;
    height: 265px;
    background-color: #ffff;
    border-radius: 5%;
}

.favorite-toggle {
    width: 30px;
    height: 25px;
    transition: opacity 0.3s ease-in-out;
    cursor: pointer;
    display: inline-block;
}

.remove-favorite {
    width: 18px;
    height: 18px;
}

.favorite-top-wrapper {
    display: flex;
    padding: 12px 25px;
    justify-content: space-between;
    align-items: center;
}

.favorite-top-wrapper > p {
    color: #1E1E1E;
    font-size: 16px;
}

.favorite-top-wrapper > p > span {
    color: var(--main-color);
    font-size: 16px;
    font-weight: bold;
}

.favorite-plan-image {
    width: 140px;
    height: 100px;
    margin: auto;
}

.favorite-svg-icons {
    width: 24px;
    height: 22px;
}

.favorite-info-wrapper {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 15px 15px;
    background-color: var(--third-color);
}

.favorite-btn-wrapper {
    background-color: var(--third-color);
    display: flex;
    justify-content: space-between;
    padding: 15px 30px;
    align-items: center;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.favorite-btn-wrapper > p {
    color: #393939;
    font-size: 12px;
    font-weight: bold;
}

@media (max-width: 768px) {
    #new-favorites-wrapper {
        position: absolute;
        top: 0;
        bottom: 0;
        width: 100%;
        margin-top: 0;
    }

    .favorites-wrapper {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        width: 100%;
        height: 100%;
        overflow-y: auto;
    }

    .favorites-wrapper-title {
        font-size: 16px;
        margin-top: 1rem;
    }

    .favorite-info-wrapper > div {
        font-size: 10px;
    }

    .favorite-top-wrapper > div {
        font-size: 12px;
    }

    #favorites-content {
        flex-direction: column;
        margin: 0;
        padding: 20px;
    }

    .favorite-apartment {
        width: 100%;
        border-radius: 12px;
    }

    .favorite-btn-wrapper {
        justify-content: space-evenly !important;
    }
}

.show-favorite-apartment {
    background-color: var(--main-color);
    border-radius: 5%;
}

.show-favorite-apartment-text {
    color: white;
    background-color: var(--main-color);
    font-size: 12px;
    font-weight: bold;
    margin: 7px 25px;
}

.favorites-floor-container,
.favorites-rooms-container,
.favorites-net-area-container {
    display: flex;
    align-items: center;
}

.favorites-floor-container,
.favorites-rooms-container,
.favorites-net-area-container > span {
    font-size: 10px;
    font-weight: bold;
    color: #393939;
}

.favorite-svg-icons {
    margin-right: 8px; /* Podešava razmak između ikone i teksta */
}

#mp2web-carousel {
    visibility: hidden;
}

/* Media gallery */
#projectImagesSlider {
    /* width: 400px;
    height: 350px; */
    width: 78.5%;
    height: 90%;
    /*overflow: hidden;*/
    align-self: center;
    padding-top: 10px;
}

#projectImagesSlider .slick-slide img {
    width: 100%;
    height: auto;
}

#projectImagesSlider .slick-dots li button {
    font-size: 0; /* Uklanja vidljivost brojeva postavljanjem veličine fonta na 0 */
}

#projectImagesSlider .slick-dots {
    display: flex;
    padding-top: 15px;
    justify-content: center;
}

#projectImagesSlider .slick-dots .slick-active {
    color: brown;
}

#projectImagesSlider .slick-dots li button:before {
    content: ''; /* Ovo uklanja tekst iz pseudoelementa */
    background-color: #9ca; /* Boja pozadine za tačkice */
    clip-path: inset(0 0 0 0 round 30px);
    display: inline-block; /* Omogućava postavljanje visine i širine */
    width: 8px; /* Širina tačkice */
    height: 8px; /* Visina tačkice */
    opacity: 1; /* Osigurava da su tačkice vidljive */
    margin: 0 5px; /* Dodaje malo prostora između tačkica */
}

#projectImagesSlider .slick-dots li.slick-active button:before {
    background-color: white; /* Možete promeniti boju za aktivnu tačkicu ako želite */
}


#projectImagesSlider > .slick-prev, #projectImagesSlider > .slick-next {
    display: block;
    position: absolute;
    top: 50%;
    padding: 6px;
    padding-bottom: 2px;
    color: transparent;
    background: #fff8;
    border: none;
    border-radius: 4px;
    outline: none;
    cursor: pointer;
    z-index: 1;
}

#projectImagesSlider > .slick-prev {
    left: 2px;
    transform: translate(0,calc(-50% - 12px)) rotate(90deg);
}

#projectImagesSlider > .slick-next {
    right: 2px;
    transform: translate(0, calc(-50% - 12px)) rotate(-90deg);
}

#apartmentDetails {
    height: 100%;
}

/* Single prikaz */
.modal-content {
    position: relative;
    width: 95%;
    height: calc(100% - 40px);
    margin: 20px auto;
    z-index: 1002;
    border-radius: 4px;
    overflow: hidden;
}

@media (min-width: 769px) {
    .modal-content {
        width: 75%;
        height: 845px;
        border-radius: 10px;
    }

    .favorite-and-share-container {
        display: block;
    }
}

.single-apartment-container {
    height: 100%;
    overflow: hidden;
    border-radius: 0 0 4px 4px;
    padding-bottom: 40px;
}

.single-apartment-top-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #335755;
    height: 60px;
    padding-left: 6%;
}

.single-apartment-top-container p {
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
}

.single-apartment-content-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    border-radius: 0 0 1% 1%;
    height: 90%;
    background-color: #F3FFFE;
}

.single-apartment-top-wrapper {
    display: flex;
    padding-right: 25px;
}

.single-apartment-availability {
    margin: 10px 50px 10px 0;
    color: white;
    padding: 12px 30px;
    background-color: #42A363;
    opacity: 0.6;
    border-radius: 7px;
    line-height: 1rem;
}

.single-apartment-availability.reserved {
    background-color: #CC792D;
}

.single-apartment-availability.sold {
    background-color: #CF3636;
}


@media (max-width: 768px) {
    .single-apartment-availability {
        font-size: 0.75rem;
        line-height: 1rem;
        margin: 0;
        padding: 7px 12px;
    }
}

.single-apartment-media-gallery-title {
    width: 100%;
    padding-left: 25px;
    font-size: 17px;
    color: #383836;
    padding-top: 10px;
    padding-bottom: 10px;
    text-align: left;
    border-bottom: #A5A5A5 1px solid;
}

.single-apartment-share-button {
    width: 22px;
    height: 22px;
    display: block;
    margin: auto;
}

@media (max-width: 768px) {
    .single-apartment-media-gallery-title {
        padding-left: 0;
    }
    .single-apartment-top-container {
        justify-content: end;
        padding-left: 0;
        padding-right: 5px;
        height: auto;
        border-radius: 4px 4px 0 0;
    }

    .single-apartment-content-container {
        display: block;
        overflow-y: auto;
        background-color: var(--third-color);
        padding: 10px 10px 100px;
        border-radius: 0;
        height: 100%;
    }

    .single-apartment-content-container h3 {
        font-size: 1.125rem;
        text-transform: uppercase;
        margin-bottom: 20px;
    }

    .tableOfSurface {
        border-radius: 5px !important;
    }

}

.share-button-wrapper {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-color: var(--main-color);
    clip-path: inset(0 0 0 0 round 30px);
    width: 52px;
    height: 52px;
}

.share-widget {
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1002;
}

.single-apartment-room-container {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    width: 100%;
}

.single-apartment-room-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: 60px;
    border-bottom: #A5A5A5 1px solid;
}

@media (max-width: 768px) {
    .single-apartment-room-container {
        flex-wrap: nowrap;
        justify-content: space-between;
        margin: 20px 0;
        font-size: 0.875rem;
    }

    .single-apartment-room-container > div {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
    }
}

.single-apartment-room-wrapper > hr {
    height: 15px;
    color: #373733;
}

.favorite-toggle, .single-apartment-share-button {
    width: 52px;
    height: 52px;
    clip-path: inset(0 0 0 0 round 30px);
    background-color: #335755;
    display: inline-block;
    padding: 10px;
}

.favorite-toggle img, .single-apartment-share-button img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
}

@media (max-width: 768px) {
    .share-widget {
        top: 150px;
        right: 24px;
        gap: 20px;
        transform: none;
    }

    .share-button-wrapper {
        background: var(--third-color);;
        width: 42px;
        height: 42px;
    }

    .single-apartment-share-button {
        width: 38px;
        height: 38px;
        padding: 8px;
    }

    .favorite-and-share-container {
        position: absolute;
        top: 54px;
        right: 9px;
        z-index: 20;
    }
}

.single-apartment-axonometry {
    margin: auto;
    max-width: 90%;
    max-height: 300px;
}

.image-with-svg-container {
    cursor: pointer;
}

#apartmentStructure {
    margin-bottom: 25px;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

#apartmentStructure > h3 {
    color: #383836;
    font-size: 17px;
    border-bottom: #A5A5A5 1px solid;
    padding-bottom: 5px;
}

.apartment-structure h3 {
    font-size: 1.125rem;
    margin-bottom: 16px;
}

.tableOfSurface {
    display: flex;
    flex-direction: column;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 3%;
}

.tableOfSurfaceOverall {
    color: white;
    font-weight: bold;
    font-size: 16px;
}

.tableOfSurfaceOverall > strong {
    color: white;
    font-size: 16px;
    font-weight: bold;
}

.tableOfSurfaceBackground {
    background-color: #335755;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

.tableOfSurface .tableRow:nth-child(even) {
    background-color: white;
}

.tableRow {
    display: flex;
    justify-content: space-between;
    padding: 7px 15px;
}

.tableRowCondensed {
    padding-bottom: 12px;
}

.tableRow > .rowLabel {
    font-size: 14px;
}

.tableRow > .rowNumber {
    font-size: 14px;
    text-transform: uppercase;
}

.tableRow > .rowValue {
    font-size: 14px;
    text-transform: lowercase;
    white-space: nowrap;
}

.rowNumber {
    flex-basis: 10%;
    text-align: left;
}

.rowLabel {
    flex-basis: 70%;
    text-align: left;
}

.rowValue {
    flex-basis: 20%;
    text-align: right; /* Poravnava vrednosti na desno */
}

/* Stilizacija za ukupnu površinu */
.apartment-structure p {
    font-weight: bold;
    padding: 6px 6px 6px 40px;
    display: flex;
    justify-content: space-between;
}

.project-image-container {
    border-radius: 3%;
}

@media (max-width: 768px) {
    .project-image-container {
        border-radius: 0;
    }
}

.single-apartment-left-container {
    display: flex;
    flex-direction: column;
    height: calc(100% - 10px);
    width: 45%;
    padding: 15px 8% 30px 6%;
    border-right: #A5A5A5 1px solid;

    & input, & textarea {
        height: auto;
    }
}

.single-apartment-right-container {
    width: 55%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 12px;
}

.single-apartment-top-text {
    color: white;
    font-size: 24px;
    font-weight: bolder;
}

#apartmentInfoModal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1001;
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.5);
}

.slick-dots {
    bottom: 10px;
}

#projectImagesSlider .slick-dots li.slick-active button:before {
    background-color: #335755 !important;
}

.slick-dotted.slick-slider {
    margin-bottom: 0;
}

#projectImagesSlider .slick-slide img {
    border-radius: 10px;
}

.slider-and-title-container {
    display: flex;
    flex-direction: column;
    width: 60%;
}

@media (max-width: 768px) {
    .mp2web-slide {
        margin-right: -1px;
    }

    #projectImagesSlider .slick-slide img {
        border-radius: 0;
    }
    .slider-and-title-container {
        width: 100%;
        padding-bottom: 10px;
    }
}

.noUi-handle img {
    pointer-events: none;
}

/* single modal */
.floor-plan-modal {
    display: none;
    position: fixed;
    z-index: 1010;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.floor-plan-modal-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.floor-plan-close {
    color: #aaa;
    position: absolute;
    right: 15px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
}

.floor-plan-close:hover,
.floor-plan-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

#floorPlanImage {
    max-width: 100%;
    max-height: 100%;
    display: block;
    object-fit: contain;
    background-color: #F5F5F6;
    border: 1px solid #C0BEBE;
}

#contactForm > input, textarea {
    margin-bottom: 18px;
    padding: 5px;
    border-radius: 5px;
    background-color: #F5F5F6;
    border: 1px solid #C0BEBE;
}

#contactForm input, #contactForm textarea, #contactForm button {
    font-family: 'Lato', sans-serif; /* Primena fonta na input polja, textarea i dugme */
    font-size: 16px; /* Postavite željenu veličinu fonta */
}

#contactForm > textarea {
    resize: vertical;
}

/* Stilizovanje placeholder-a */
#contactForm ::placeholder {
    font-family: 'Lato', sans-serif; /* Primena fonta na placeholder */
    font-size: 16px; /* Postavite željenu veličinu fonta */
    opacity: 1; /* Osigurava da je placeholder dovoljno vidljiv */
    color: #aab; /* Boja placeholder-a, možete izabrati boju koja vam odgovara */
}

.single-apartment-left-container > h3 {
    color: #383836;
    font-size: 17px;
    margin-bottom: 16px;
    border-bottom: #A5A5A5 1px solid;
    padding-bottom: 5px;
}

.contactFormBtn {
    color: white;
    margin: auto;
    padding: 10px 0;
    background-color: #335755;
    width: 100%;
    font-size: 13px;
}

.contactFormBtn:hover {
    background-color: #335755;
}

.no-favorites-selection {
    color: white;
    text-transform: uppercase;
    font-size: 15px;
}

.popup {
    display: none; /* Defaultno sakriven */
}

.popup.is-active {
    display: block; /* Prikazuje se kada je aktivan */
}

.main {
    position: relative;
}

.share-button {
    position: absolute;
    top: 180px;
    right: 50px;
    z-index: 100;
    width: 62px; /* Širina kružnice */
    height: 62px; /* Visina kružnice */
    display: flex;
    align-items: center;
    justify-content: center;
    clip-path: inset(0 0 0 0 round 30px);
    background-color: #52514F; /* Boja pozadine kružnice */
}

@media (max-width: 768px) {
    .share-button {
        right: 10px;
    }
}

.share-button img {
    width: 26px; /* Širina SVG-a */
    height: 29px; /* Visina SVG-a */
}


.share-links {
    display: none; /* Sakrijemo sve dok se ne klikne */
}

.share-link {
    position: absolute;
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px; /* Širina kružnice */
    height: 50px; /* Visina kružnice */
    clip-path: inset(0 0 0 0 round 30px);
    background-color: #52514F; /* Boja pozadine kružnice */
    color: #FFFFFF; /* Boja ikona unutar */
    z-index: 5;
}

.share-link img {
    width: 26px; /* Širina SVG-a */
    height: 29px; /* Visina SVG-a */
}

.form-success-message {
    font-size: 14px;
}

.noUi-horizontal .noUi-handle {
    right: -26px !important;
}


.favorite-toggle {
    transition: transform 0.3s ease;
}

.favorite-toggle:hover {
    transform: scale(1.2);
}

.apartment-title {
    color: black;
    font-weight: 500;
    font-size: 20px;
}

.apartment-label-and-number {
    font-weight: bolder;
    font-size: 18px;
}


@media (max-width: 1549px) {
    .favorite-btn-wrapper {
        padding: 15px 20px;
        justify-content: center;
    }

    .show-favorite-apartment {
        margin-right: 8px;
    }
}

@media (max-width: 1400px) {
    .single-apartment-left-container {
        padding-left: 3%;
        padding-right: 4%;
    }

    .share-button {
        width: 48px;
        height: 48px;
    }

    .share-link {
        width: 32px;
        height: 32px;
    }

    .share-link img {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 1250px) {
    .share-button {
        top: 140px;
    }

    #apartmentStructure {
        margin-bottom: 20px;
    }

    .single-apartment-content-container {
        padding-top: 10px;
    }
}

@media (min-width: 769px) {
    .apartment-structure .tableOfSurface {
        overflow-y: auto;
    }

    @media (max-width:1200px) {
        .favorite-apartment {
            width: 23%;
        }

        #projectImagesSlider {
            width: 100%;
            height: 280px;
        }
    }
}

@media (max-width: 1100px) {
    .tableRow {
        padding-bottom: 10px;
    }
}

@media (max-width: 1024px) {
    /*
    .silva > .hero--overlay-of {
        display: block;
    }

    .silva > #mp2web-carousel {
        display: none;
    }

    .share-button {
        display: none;
    }
     */
}
