﻿form {
    margin: 0;
}

.card {
    cursor: pointer;
    transition: 0.4s all;
    overflow: hidden;
}

.card-shadow {
    box-shadow: 0px 0px 13px 0px rgba(62, 44, 90, 0.15);
}

    .card-shadow:hover {
        box-shadow: 0px 0px 13px 0px rgba(62, 44, 90, 0.30);
    }

.card-img {
    position: relative;
    height: 260px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    transition: 0.6s all;
    z-index: 1;
}

    .card-img img {
        height: 100%;
    }

    .card-img:after {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        background-color: rgba(0, 0, 0, 0.05);
    }

    .card-img:hover {
        transform: scale(1.05);
    }

.card-details {
    position: relative;
    padding: 1.8rem 1rem 1rem;
    background-color: #fff;
    z-index: 2;
}

    .card-details h3 {
        color: #181A1C;
        margin: 0;
        line-height: normal;
        font-size: 1.4rem;
    }

    .card-details .date,
    .card-details .images-no {
        position: absolute;
        top: 0.4rem;
        right: 1rem;
        font-size: .9rem;
    }

    .card-details .images-no {
        left: 1rem;
    }

        .card-details .date i,
        .card-details .images-no i {
            margin-right: 5px;
        }

/* Start preview-modal */
.preview-modal {
    display: none;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 4rem;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 99999;
    height: 100vh;
    overflow-y: auto;
    transition: 0.5s all;
}

.preview-title {
    display: flex;
    justify-content: center;
    color: #fff;
}

.preview-content {
    display: flex;
    justify-content: center;
}

    .preview-content img {
        width: 100%;
        max-width: 70vw;
    }

.preview-modal-close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-size: 2rem;
    color: #e7608c;
    cursor: pointer;
    transition: 0.5s all;
}

    .preview-modal-close:hover {
        color: #e7497c;
    }

.preview-title,
.preview-content {
    animation-name: zoom;
    animation-duration: 0.6s;
}

.modal-gallery::-webkit-scrollbar-track,
.preview-modal::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    background-color: #ddd;
}

.modal-gallery::-webkit-scrollbar,
.preview-modal::-webkit-scrollbar {
    width: 8px;
    background-color: #ddd;
}

.modal-gallery::-webkit-scrollbar-thumb,
.preview-modal::-webkit-scrollbar-thumb {
    background-color: #43464a;
}
/* End preview-modal */

.list-tree {
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: center;
}

    .list-tree li {
        color: #fff;
        font-size: 1.3rem;
    }

        .list-tree li a {
            color: #fff;
            transition: 0.4s all;
        }

            .list-tree li a:hover {
                color: #0088cc;
            }

            .list-tree li a i {
                padding-right: 5px;
            }

        .list-tree li:after {
            content: "/";
            padding: 0 10px;
        }

        .list-tree li:last-child:after {
            display: none;
        }

/* Start Project Details */
.project-images {
    position: relative;
}

.project-img {
    height: 100%;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    min-height: 200px;
    cursor: pointer;
}

.project-images .images-no {
    position: absolute;
    bottom: 20px;
    left: 1.5rem;
    font-size: 1rem;
    background-color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 40px;
    box-shadow: 0px 0px 13px 0px rgba(62, 44, 90, 0.3);
}

    .images-no i {
        margin-right: 3px;
    }

.project-location {
    line-height: 40px;
}

    .project-location:before {
        content: "\f3c5";
        font-family: 'Font Awesome 5 Free';
        font-weight: 600;
        margin-right: 5px;
    }

h3.project-user {
    margin: 0;
    color: #fff;
    display: flex;
    align-items: center;
    font-size: 1.3rem;
}

.project-user img {
    height: 23px;
    width: auto;
    margin-right: 5px;
}

.project-details {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

    .project-details > div:last-child {
        /*flex: 0.7;*/
        /*border-left: 1px solid #7e868e;*/
        padding-left: 2rem;
        width: 55%;
    }

    @media (max-width: 992px) {
        .project-details {
            flex-direction: column;
        }

            .project-details > div:last-child {
                width: auto;
                padding: 0;
            }
    }

@media (max-width: 767px) {
    .project-img {
        min-height: 300px;
    }
}
/* End Project Details */
