﻿.photo-image {
    width: 350px;
    height: 350px;
}

.propertysummary .photo-image {
    float: left;
    margin: 1%;
    width: 22%;
    height: 200px;
    margin-top: 150px;
    margin-bottom: 25px
}

.imagetext {
    float: left;
    margin-left: -22.5%;
    color: white;
    font-weight: 600;
    font-size: 15px;
    width: 21%;
    background: #ea5073;
    padding: 10px 20px;
    border-radius: 15px;
}

.photo-image:hover {
    cursor: pointer
}

.photo-image-note {
    float : left;
}

.photo-left, .photo-right {
    float: left;
    width: 10%;
    padding-top: 160px
}

.photo-middle {
    float:left;
    width: 80%
}

.photo-right .fa, .photo-left .fa, .photo-modal-content .fa {
    color: #10779e;
    font-size: 36px
}

    .photo-right .fa:hover, .photo-left .fa:hover, .photo-modal-content .fa:hover {
        cursor: pointer
    }

.photo-modal {
    display: none;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.6);
}

.photo-modal-content {
    background: none;
    margin: auto;
    padding: 17.5px;
    border-radius: 25px;
    width: 57.5%;
    height: 80%;
    margin-top: 1%;
    color: #134067;
}

.photo-modal-content img {
    max-width: 100%
}

.photosreport {
    display: flow-root
}

#photo-carousel p {
    color: black;
    margin-top: 25px;
    margin-bottom: 15px;
    font-size: 14px;
    font-weight: 600
}

@media screen and (max-width: 675px) {
    .photo-left, .photo-right {
        float: left;
        width: 10%;
        padding-top: 80px
    }

    .photo-middle {
        float: left;
        width: 80%;
        padding:2.5%
    }

    .photo-right .fa, .photo-left .fa, .photo-modal-content .fa {
        color: #10779e;
        font-size: 26px
    }

    .photo-image {
        width: 100%;
        height: auto
    }

    .photo-modal {
        display: none;
        position: fixed;
        z-index: 1;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        overflow: auto;
        background-color: rgb(0,0,0);
        background-color: rgba(0,0,0,0.6);
    }

    .photo-modal-content {
        background: none;
        margin: auto;
        padding: 17.5px;
        border-radius: 25px;
        width: 90%;
        height: 90%;
        margin-top: 1%;
        color: #134067;
    }
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin: auto;
}

.gallery-holder {
    flex: 0 0 calc(25% - 15px);
    margin: 7.5px;
    box-sizing: border-box;
}

.gallery-placeholder {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f1f1f1;
    width: 100%;
    height: 200px;
}

.gallery-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block
}

.gallery-caption {
    font-weight: 500;
    font-size: 14px;
    padding: 10px 12px;
    background-color: #fbe2e7;
    color: #373737;
    border-radius: 8px;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
}

.image-zoom {
    position: absolute;
    top: 7px;
    right: 7px;
    color: #ea5073;
    font-size: 20px;
    transform: scaleX(-1);
    -moz-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    -ms-transform: scaleX(-1);
}

    .image-zoom:hover {
        cursor: pointer;
        transform: scale(1.15) scaleX(-1);
    }

@media (max-width: 1200px) {
    .gallery-holder {
        flex: 0 0 calc(33% - 15px);
    }
}

@media (max-width: 1050px) {
    .gallery-holder {
        flex: 0 0 calc(50% - 15px);
    }
}

@media (max-width: 500px) {
    .gallery-holder {
        flex: 0 0 calc(100% - 15px);
    }
}