article.projects-list {
    margin-bottom: 120px;
}

article.projects-list:after {
    display: table;
    height: 1px;
    content: ' ';
    width: 100%;
}

.projects-grid {
    font-size: 0;
    line-height: 0;
}

.projects-grid:after {
    content: '';
    display: block;
    clear: both;
}

.grid-sizer,
.grid-item {
    float: left;
    width: 20% !important;
    padding-top: 20% !important;
    overflow: hidden;
    position: relative;
    max-height: 0;
}

.grid-item:hover {}

.grid-item-2-2 {
    width: 40% !important;
    padding-top: 40% !important;
}

.grid-item-1-2 {
    width: 20% !important;
    padding-top: 40% !important;
}

.grid-item-2-1 {
    width: 40% !important;
    padding-top: 20% !important;
}


.project-list-item {
    border: 0px solid #999;
    cursor: pointer;
}

.project-list-item .inner {
    position: absolute;
    top: 5px;
    left: 5px;
    height: calc(100% - 10px);
    width: calc(100% - 10px);
}

.project-list-item .cover {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-size: cover;
    background-position: center;
}

.project-list-item .over {
    position: absolute;
    bottom: -75px;
    left: 0;
    width: 100%;
    background-color: rgba(100, 100, 100, 0.8);
    font-size: 1rem;
    display: flex;
    flex-direction: row;
    padding: 5px 15px 5px 5px;
    color: white;
    transition: all 400px;
}

.project-list-item:hover .over {
    bottom: 0px;
}

.project-list-item .over .name {
    flex: 1;
    line-height: 1.1rem;
    font-size: 0.9rem;
}

.project-list-item .over .more {
    flex: 0;
    cursor: pointer;
}

.grid-item.ui-draggable-dragging,
.grid-item.is-positioning-post-drag {
    z-index: 2;
}

.packery-drop-placeholder {
    outline: 3px dashed #444;
    outline-offset: -6px;
    transition: transform 0.2s;
}

.project-embed {
    position: fixed;
    top: 0;
    left: 100%;
    width: 100vw;
    height: 100vh;
    transition: left 1500ms;
    z-index: 1000;
    background-color: #f2eee9;
}

.project-embed .inner {
    height: 90vh;
    width: 96vw;
    overflow-y: auto;
    overflow-x: hidden;
}

.pt body.project-embed-opened {
    overflow: hidden;
}

body.project-embed-opened .project-embed {
    left: 0;
}

.project-embed .toolbar {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10001;
}

.project-embed button {
    padding: 0;
    height: 50px;
    width: 50px;
    background-color: transparent;
    border: none;
    line-height: 1;
    opacity: 0.5;
    transition: all 700ms;
}

.project-embed button:hover {
    opacity: 1;
}

.project-embed button i {
    font-size: 36px;
}

.project-embed button i.bi-x {
    font-size: 42px;
}

.project-embed .inner {
    transition: opacity 300ms;
}

#project {
    max-height: 100%;
}

#project .row {
    max-height: 100%;
}

#project .left-side {
    overflow: hidden;
    padding-bottom: 50px;
    position: relative;
    max-height: 100%;
}

#project .valerie {
    max-height: 70vh;
    position: relative;
    border: 0px salmon solid;
}

#project .swiper-wrapper {
    align-items: center;
}

#project .swiper-slide {
    align-items: center;
    justify-content: center;
    display: flex;
    max-height0: 75vh;
}

#project .swiper-slide img {
    max-width: 100%;
    max-height: 70vh;
    flex: 0;
}

#project .swiper-pagination {
    bottom: -35px;
}

#project .swiper-pagination-bullet-active {
    background-color: #845825;
}

#project .project-more a {
    color: #6c757d;
    font-size: 0.8rem;
}

#project .project-name h2 {
    font-size: 1.7rem;
    text-transform: none;
    margin-bottom: 15px;
}

#project .project-features p {
    color: #6c757d;
    color: #845825;
    line-height: 1.1;
}

#project .right-side {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#project .wordings {
    font-size: 0.95rem;
}

#project-page .left-side {
    overflow: hidden;
    padding-left: 0 !important;
}

#project-page .wordings {
    flex: 0;
}

body.project-embed-opened {
    overflow: hidden;
}

@media screen and (min-width: 992px) {
    #project .right-side {
        padding-left: 2rem;
    }
}

@media screen and (min-width: 512px) and (max-width: 991px) {


    .grid-sizer,
    .grid-item {
        float: left;
        width: 33.33333333% !important;
        padding-top: 33.33333333% !important;
        overflow: hidden;
        position: relative;
        max-height: 0;
    }

    .grid-item:hover {}

    .grid-item-2-2 {
        width: 66.6666666% !important;
        padding-top: 66.6666666% !important;
    }

    .grid-item-1-2 {
        width: 33.33333333% !important;
        padding-top: 66.6666666% !important;
    }

    .grid-item-2-1 {
        width: 66.6666666% !important;
        padding-top: 33.33333333% !important;
    }

    .project-list-item .inner {
        position: absolute;
        top: 2px;
        left: 2px;
        height: calc(100% - 4px);
        width: calc(100% - 4px);
    }


    #project {
        padding-top: 80px;
        max-height: 10000000px;
    }

    #project .row {
        max-height: 10000000px;
    }

    #project .left-side {
        display: block !important;
        max-height: 70vh;
        margin-bottom: 50px;
    }



    #project .swiper-slide img {
        max-height: 55vh;
    }

    #project .wordings {
        margin-bottom: 80px;
    }

    .project-embed .inner {}

    #project .right-side {
        flex-direction: column-reverse;
    }

}

@media screen and (max-width: 551px) {


    .grid-sizer,
    .grid-item {
        float: left;
        width: 50% !important;
        padding-top: 50% !important;
        overflow: hidden;
        position: relative;
        max-height: 0;
    }

    .grid-item:hover {}

    .grid-item-2-2 {
        width: 100% !important;
        padding-top: 100% !important;
    }

    .grid-item-1-2 {
        width: 50% !important;
        padding-top: 100% !important;
    }

    .grid-item-2-1 {
        width: 100% !important;
        padding-top: 50.33333333% !important;
    }

    .project-list-item .inner {
        position: absolute;
        top: 2px;
        left: 2px;
        height: calc(100% - 4px);
        width: calc(100% - 4px);
    }


}