﻿
.project-item-main-page {
    width: 100%;
    display: flex;
    justify-content: center; 
    margin-top: 105px;
    position: relative;
    min-height: calc(100vh - 105px);
}

.project-item-main-header {
    width: 100%;
    height: fit-content;
    display: flex;
    justify-content: space-between;
    gap: 10px;
}
.project-item-main-header h1 {
    font-size: 1.8em;
}
    .project-item-main-header span {
        height: 100%;
        display: flex;
        align-items: center;
        width: 70px;
        justify-content: center;
    }


    /***START PROJECT IMAGES CONTAINER***/
    .project-images-container {
        padding: 10px;
        display:flex;
        flex-direction: column;
        max-width: 960px;
        width: 100%;
        gap: 20px;
    }

.project-images-section-header {
    display: grid;
    grid-template-columns: 30px 1fr 30px;
    justify-content: space-between;
    align-items: center;
    /*border-bottom: 1px solid #d5d5d5;*/
    padding-bottom: 5px;
    gap: 10px;
    padding-left: 15px;
    padding-right: 15px;
}

    .project-images-section-header h3 {
        margin: 0;
        font-size: 17px;
        color: #4a4a4a;
    }

    .project-images-section-header button {
        background: #FFB606;
        border: 1px solid #FFB606;
        border-radius: 50%;
        padding: 3px;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 30px;
        height: 30px;
        cursor: pointer;
    }

        .project-images-section-header button svg {
            width: 100%;
            height: 100%;
            fill: #fff;
        }

.project-images-section-body {
    display: grid;
    grid-gap: 10px;
    padding: 15px 0;
    position: relative;
    padding-top: 5px;
    padding-left: 15px;
    padding-right: 15px;
}

.project-images-item {
    width: 100%;
    height: 100%;
    border: 1px solid #d5d5d5;
    display: grid;
    grid-template-rows: 150px auto;
    border-radius: 10px;
    /*overflow: hidden;*/
    padding-bottom: 10px;
    position: relative;
}
.project-images-section-body > * {
    min-width: 0; /* Prevent items from exceeding the grid space */
    overflow: hidden; /* Prevent content from spilling out */
}

.project-images-item-img {
    width: 100%;
    height: 100%;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    object-fit: cover;
    
}

.project-images-item-caption {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

    .project-images-item-caption p {
        margin: 0;
        font-size: 14px;
        margin-bottom: 10px;
        font-weight: 600;
        padding: 5px 10px;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        padding-bottom: 0;
        text-align: center;
    }

    .project-images-item-caption small {
        color: #999;
    }

.project-images-item-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
}

    .project-images-item-footer button {
        padding: 10px 5px;
        font-size: 13px;
        width: 100%;
        background: #fff;
        border: 1px solid #d5d5d5;
        border-radius: 5px;
        cursor: pointer;
    }




.home-slider-container {
    width: 100%;
    /* height: calc(100vh - 100px); */
    height: 600px;
    position: relative;
    overflow: hidden;
}
.slider-btn {
    position: absolute;
    width: 40px;
    height: 40px;
    padding: 10px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    background-color: #FFF;
    font-size: 18px;
    z-index: 99999;
    opacity: .5;
}
.slider-btn-next {
    top: 45%;
    right: 2%;
}
.slider-btn-prev {
    top: 45%;
    left: 2%;
}
.slide {
    width: 100%;
    position: absolute;
    transition: all 0.5s;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    top: 0;
    bottom: 0;
    overflow: hidden;
}


.project-form-group {
    margin-bottom: 10px;
}

.project-form-group input,
.project-form-group textarea {
    background-color: #fff;
    border: 1px solid #d5d5d5;
    width: 100%;
    padding: 10px;
    outline: none;
    border-radius: 10px;
}
.project-form-group textarea {
    font-size: .9rem;
}

    .proj-item.image-frame {
        height: 150px;
        background: #fff;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 10px;
        overflow: hidden;
        position: relative;
        border-radius: 10px;
        border: 1px solid #d5d5d5;
    }
.image-frame label {
    font-size: 15px;
}
.project-image {
    height: 100%;
}

.modal-saveProject {
    width: 90px;
    border: none;
    height: 35px;
    background-color: #777;
    color: #FFF;
    font-weight: 600;
    position: relative;
    cursor: pointer;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-self: end;
    justify-content: center;
}

.project-img-section-icon {
    height: 25px;
    justify-self: center;
}

.no-proj-img {
    font-size: 13px;
    padding-left: 27px;
    color: #777;
}

.login-to-view {
    display: flex;
    gap: 10px;
    border: 1px solid #e7e7e7;
    border-radius: 5px;
    overflow: hidden;
}
.login-to-view i {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #FFB606;
    padding: 7px;
}
.login-to-view svg {
    height: 15px;
    fill: #fff;
}
.login-to-view span {
    font-size: 13px;
    align-self: center;
    padding: 7px 0;
}

.image-caption-modal {
    position: absolute;
    padding: 5px 10px;
    background: #bebebe9e;
    width: 100%;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    bottom: 0;
}
.copy-notif {
    position: absolute;
    height: fit-content;
    width: fit-content;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #d5d5d5;
    border-radius: 10px;
    padding: 5px;
    font-size: 14px;
}

.remove-img-icon {
    position: absolute;
    border: 1px solid #d5d5d5;
    background: #d5d5d5bf;
    top: 5px;
    right: 5px;
    border-radius: 50%;
    height: 30px;
    width: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
.remove-img-icon svg {
    width: 15px;
}

.edit-img-icon {
    position: absolute;
    border: 1px solid #d5d5d5;
    background: #d5d5d5bf;
    top: 5px;
    right: 40px;
    border-radius: 50%;
    height: 30px;
    width: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.edit-img-icon svg {
    width: 15px;
}

.proj-img-edit-icon {
    position: absolute;
    top: 5px;
    right: 10px;
    border-radius: 50%;
    height: 30px;
    width: 30px;
    display: flex;
    justify-content: end;
    align-items: center;
    cursor: pointer;
}
.proj-img-edit-icon svg,
.project-form-group.hasDropdown span svg {
    width: 15px;
    fill: #444;
    cursor: pointer;
}
.proj-img-edit-icon svg:hover,
.project-form-group.hasDropdown span svg:hover {
    fill: #000;
}

.project-form-group.hasDropdown {
    display: grid;
    grid-template-columns: 1fr 40px;
    border-radius: 10px;
    border: 1px solid #d5d5d5;
}

.project-form-group.hasDropdown input {
    border: none;
}

.project-form-group.hasDropdown span {
    padding-right: 10px;
    display: flex;
    justify-content: end;
    align-items: center;
}

.request-ownership-container {
    padding: 10px 0;
    display: flex;
    justify-content: end;
}
.request-ownership-container button {
    font-size: 13px;
    padding: 5px;
    border-radius: 5px;
    cursor: pointer;
    border: 1px solid #d5d5d5;
}

.project-item-desc-cont {
    padding-bottom: 30px;
    /*margin-bottom: 10px;*/
    position: relative;
}
.project-item-desc-cont .see-more-txt {
    font-weight: 600;
    cursor: pointer;
    position: absolute;
    bottom: 13px;
    display: flex;
}

.project-item-desc-cont .see-more-txt span {
    font-size: 13px;
    color: #999;
}
.project-item-desc-cont .see-more-txt i {
    display: flex;
    align-items: center;

}

.project-item-desc-cont .see-more-txt svg {
    height: 18px;
    fill: #999;
}

.project-item-desc {
    font-weight: normal;
    font-size: 13px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    position: relative;
    margin-bottom: 0;
}

.project-item-desc.show {
    display: block;
}
.project-item-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
    max-height: 4.6em;
    overflow: hidden;
}

    .project-item-nav a {
        padding: 5px;
        font-size: 13px;
        border: 1px solid #d5d5d5;
        cursor: pointer;
        border-radius: 10px;
    }

.project-item-nav.show {
    max-height: unset;
}
.project-nav-cont {
    position: relative;
    padding-bottom: 20px;
    /*margin-bottom: 10px;*/
}
.project-nav-cont .see-more-txt {
    font-weight: 600;
    cursor: pointer;
    position: absolute;
    bottom: 13px;
    display: flex;
}

.project-nav-cont .see-more-txt span {
    font-size: 13px;
    color: #999;
}

.project-nav-cont .see-more-txt i {
    display: flex;
    align-items: center;
}
.project-nav-cont .see-more-txt svg {
    height: 18px;
    fill: #999;
}


.project-images-section-body.col-1 {
    grid-template-columns: 1fr;
}

#googlemaplink-section .google-map-link {
    font-size: 14px;
    color: #FFB606;
    text-decoration: none;
    padding-left: 27px;
    font-weight: 600;
}

.proj-gdrive-link-cont {
    display: flex;
    justify-content: center;
    align-items: center;
}

.proj-gdrive-link-cont a {
    font-size: 13px;
    padding: 0 10px;
    color: #FFB606;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}
.project-details-cont {
    /*margin-bottom: 20px;*/
    display: flex;
    flex-direction: column;
}

.project-badges-cont {
    display: flex;
    gap: 10px;
}

.unit-type-badge {
    background-color: #FFB606;
    color: #fff;
    border-radius: 35px;
    padding: 5px 10px;
    width: auto;
    text-align: center;
    font-size: 13px;
    font-weight: normal;
}
.for-sale-rent-badge {
    background-color: #696969;
    color: #fff;
    border-radius: 35px;
    padding: 5px 10px;
    width: auto;
    text-align: center;
    font-size: 13px;
    font-weight: normal;
}

.project-location-cont {
    display: flex;
    gap: 10px;
}

.project-location-cont i {
    display: flex;
    align-items: center;
}
.project-location-cont svg {
    height: 18px;
}

.project-location-cont h4 {
    font-size: smaller;
    font-weight: normal;
    margin-bottom: 0;
}

.project-images-section {
    padding-top: 15px;
    box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px;
    border-radius: 10px;
}

.see-more-btn {
    position: absolute;
    width: 20%;
    bottom: 0;
    padding: 5px;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    color: #fff;
    transition: all .2s ease;
    display: flex;
    gap: 5px;
    justify-content: center;
}

.see-more-btn span {
    color: #999;
    font-weight: 600;
    font-size: 15px;
}


.see-more-btn i {
    display: flex;
    justify-content: center;
    align-items: center;
}

.see-more-btn svg {
    height: 20px;
    fill: #999;
}

.project-item-option-cont {
    display: flex;
    justify-content: center;
    cursor: pointer;
    position: relative;
}

.project-item-option-cont-svg {
    height: 23px;
}


.project-item-option-cont-ul {
    position: absolute;
    top: 30px;
    list-style-type: none;
    background: #fff;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
    border-radius: 10px;
    right: 0;
    overflow: hidden;
    display: none;
}

.project-item-option-cont-ul li {
    display: flex;
    gap: 10px;
    padding: 5px 10px;
}
.project-item-option-cont-ul li i {
    display: flex;
    justify-content: center;
    align-items: center;
}
.project-item-option-cont-ul li i svg {
    height: 14px;
}
.project-item-option-cont-ul li span {
    font-size: 14px;
    width: fit-content;
    white-space: nowrap;
}

.project-item-option-cont-ul li:hover {
    background: #e7e7e7;
}

.project-item-option-cont-ul.show {
    display: block;
}

.proj-img-views-cont {
    position: absolute;
    top: 127px;
    right: 0;
    display: flex;
    gap: 5px;
    padding: 3px;
    background: #0000008a;
    border-radius: 5px;
    cursor: pointer;
}

.proj-img-views-cont small {
    font-weight: 600;
    font-size: 11px;
    color: #fff;
}
.proj-img-views-cont svg {
    height: 13px;
    align-self: center;
    fill: #fff;
}


.project-videos-container {
    max-width: 960px;
    width: 100%;
    padding: 15px;
}
.project-video-content video,
.project-video-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-video-descriptions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 15px 0;
}
.project-video-desc-1 h1 {
    font-size: .9rem;
    font-weight: normal;
}
.project-video-owner-desc-2 {
    display: flex;
    gap: 10px;
    text-decoration: none;
}
.project-video-owner-desc-2 img {
    width: 35px;
    height: 35px;
    object-fit: cover;
    border-radius: 50%;
    border: 1px solid #e7e7e7;
}

.project-video-owner-desc-2 p {
    align-self: center;
    font-size: 1.2rem;
    font-weight: 600;
}

.play-icon-cont {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 150px;
    width: 100%;
    background: #100f0f4f;
    cursor: pointer;
}
.play-icon-cont svg {
    fill: #fff;
    height: 35px;
}
.project-video-content {
    position: relative;
}

.project-video-descriptions p {
    background: #FFB606;
    width: fit-content;
    padding: 5px;
    border-radius: 5px;
    font-weight: 600;
    color: #fff;
    font-size: 14px;
}

.project-video-cont-arrow-icon {
    height: 100%;
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 0 20px;
    transition: all .3s ease;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #d5d5d5;
    gap: 5px;
}
.project-video-cont-arrow-icon svg {
    /*fill: #fff;*/
}
.project-video-cont-arrow-icon.previous-icon {
    left: 0;
}
.project-video-cont-arrow-icon.next-icon {
    right: 0;
}
.project-video-cont-arrow-icon:hover {
}

.project-video-nav-container {
    display :flex;
    justify-content: space-between;
    margin-top: 15px;
}

.project-video-cont-arrow-icon.disabled {
    opacity: .5;
    pointer-events: none;
}
/*desktop*/
@media only screen and (min-width: 1025px) {
    .right-menu-container {
        z-index: 998;
        height: 100% !important;
    }

    .project-images-section-body {
        grid-template-columns: repeat(4, 1fr);
    }
}

/*ipad*/
@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .hidden {
        display: none !important;
    }

    .right-menu-container {
        z-index: 2;
    }

    .project-images-section-body {
        grid-template-columns: repeat(2, 1fr);
    }

    .project-images-container {
        max-width: 720px;
    }
}

/*mobile*/
@media only screen and (max-width: 767px) {
    .hidden {
        display: none !important;
    }

    .right-menu-container {
        z-index: 2;
        height: calc(100vh - 120px) !important;
        top: 50px;
        right: 0;
        border-bottom: 1px solid #fff;
    }

    .project-images-section-body {
        grid-template-columns: repeat(2, 1fr);
    }

    .right-menu-cont-header {
        position: relative;
    }

    .see-more-btn {
        width: 50%;
    }

    .modal-saveProject {
        width: 100%;
    }

    .slide img {
        max-width: 100%;
        height: auto;
        object-fit: contain;
    }
}
