﻿.slick-slide img {
    width: 100%;
}

#photoTourModal .photo-tour-header{
    position: sticky;
    top: 0;
    z-index: 10000;          /* از بقیه محتوا جلوتر */
    background: #fff;        /* که محتوا از زیرش دیده نشه */
    padding: 12px 0;         /* یه نفس */
    border-bottom: 1px solid #eee;
}


button.close {
    padding: 0;
    background-color: transparent;
    border: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.close {
    float: right;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: .5;
}

.gallery-modal {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(100, 100, 100, 0.85) !important;
    z-index: 10;
}

.gallery-modal-close {
    position: absolute;
    top: 30px;
    right: 30px;
    color: white;
    opacity: 1;
    font-weight: normal;
    z-index: 1;
}

.gallery-modal-dialog {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0px;
    top: 0px;
}

.gallery-modal-content {
    width: 100%;
    height: 100%;
}

.modal-slick-slide {
    display: flex;
    height: 100vh;
    justify-content: space-between;
    align-items: center;
}

    .modal-slick-slide .slick-next, .modal-slick-slide .slick-prev {
        position: unset;
        margin: 25px;
    }

    .modal-slick-slide .slick-list {
        width: 100%;
        height: 100%;
    }

    .modal-slick-slide .slick-track, .modal-slick-slide .property-details-image-layer {
        height: 100%;
        max-height: 100%;
    }

        .modal-slick-slide .property-details-image-layer a {
            padding: 10px;
        }

        .modal-slick-slide .property-details-image-layer div {
            height: calc(100% - 50px);
            max-height: calc(100% - 50px);
        }

.property-details-image-div {
    background-size: contain;
    background-position: center;
    background-position-x: center;
    background-position-y: center;
}

@media (max-width: 500px) {
    .modal-slick-slide .slick-arrow {
        position: absolute;
        margin: 0;
    }
}


.photo-main {
    width: 100%;
    height: 500px;
    background-repeat:no-repeat;
    background-size:cover;
    border-radius:6px;
}

.photo-side {
    width: 100%;
    height: 240px;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 6px;
}
