#propertyImageViewArea {
    aspect-ratio: 16/9;
    transition: all 0.3s ease;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

#zoomInImage {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    font-size: 2rem;
    color: var(--color-secondary);
    opacity: .6;
}

.view-this-image {
    aspect-ratio: 16 / 9;
    width: 100%;
    background-color: var(--light);
    border: none;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: var(--border-radius);
    position: relative;
}

#fullscreenCarouselModal .carousel-control-next-icon,
#fullscreenCarouselModal .carousel-control-prev-icon {
    background-color: var(--laakkonen-red);
    border-radius: var(--btn-border-radius);
}

.col-y-buffer {
    padding-top: 7rem;
    padding-bottom: 7rem;
}

.carousel-buttons-outside-slides {
    position: relative;
}

.carousel-buttons-outside-slides .custom-carousel-control {
    width: 5%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    opacity: 1;
}

.carousel-buttons-outside-slides .custom-carousel-control .bi {
    font-size: 1.25rem;
    line-height: 1;
    color: var(--light);
    background-color: var(--dark);
    border-radius: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
}

.carousel-buttons-outside-slides .custom-carousel-control.carousel-control-prev .bi {
    padding: 0.4rem 0.5rem 0.4rem 0.3rem;
}

.carousel-buttons-outside-slides .custom-carousel-control.carousel-control-next .bi {
    padding: 0.4rem 0.3rem 0.4rem 0.5rem;
}

.carousel-buttons-outside-slides .carousel-inner-wrapper {
    max-width: 100%;
    overflow: hidden;
    margin-left: auto;
    margin-right: auto;
    padding-left: 5%;
    padding-right: 5%;
}

.carousel-buttons-outside-slides .carousel-inner .row {
    margin-left: 0;
    margin-right: 0;
}

.carousel-buttons-outside-slides .custom-carousel-control.carousel-control-prev {
    left: 0;
}

.carousel-buttons-outside-slides .custom-carousel-control.carousel-control-next {
    right: 0;
}

/* Full screen modal */
#fullscreenCarouselModal .modal-dialog {
    max-width: 100%;
    height: 100%;
    margin: 0;
}

#fullscreenCarouselModal .modal-content {
    height: 100%;
    background-color: var(--dark-overlay);
    border: none;
    border-radius: 0;
}

#fullscreenCarouselModal .carousel-item img {
    object-fit: contain;
    width: 100%;
    height: 100vh;
    display: block;
}

.marked-for-removal {
    border: 1px solid red;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    color: white;
    z-index: 9999;
    background: none;
    border: none;
}

.view-this-image.active {
    border: 3px solid var(--laakkonen-red);
}

/* Text info */

.highlight-columns [class^="col-"],
.highlight-columns [class*=" col-"] {
    border-left: 1px solid var(--lightgray);
}

.highlight-columns [class^="col-"]:first-of-type,
.highlight-columns [class*=" col-"]:first-of-type {
    border-left: none;
}

.highlight-columns .h5 {
    color: gray;
}

.highlight-columns .h3 {
    margin-bottom: 0;
}

.text-content.h3 {
    line-height: 1.2;
}

.page-template-property-single-template table.table {
    font-size: 0.8rem;
}

@media (max-width: 991px) {
    .highlight-columns .h3 {
        margin-bottom: 1rem;
    }

    .highlight-columns [class^="col-"],
    .highlight-columns [class*=" col-"] {
        border-left: none;
    }

    .carousel-buttons-outside-slides .custom-carousel-control .bi {
        font-size: 1rem;
    }

    .carousel-buttons-outside-slides .custom-carousel-control {
        top: 60%;
    }

    #propertyImageViewArea {
        aspect-ratio: 16 / 11;
    }
}