#projects-loop-section .container-fluid {
    padding: 0 25px;
}

.project-loop-wrapper {
    padding: 10px;
}

.project-loop-wrapper a {
    text-decoration-line: none;
}

.project-loop-wrapper a:hover,
.project-loop-wrapper a:focus {
    text-decoration-line: none;
}


.project-loop-wrapper a:hover .loop-icon,
.project-loop-wrapper a:focus .loop-icon {
    background-color: #989898;
}

.project-loop-inner {
    height: 376px;
    border-radius: 11px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    position: relative;
    -webkit-transition: all .5s ease-out;
    -moz-transition: all .5s ease-out;
    -o-transition: all .5s ease-out;
    transition: all .5s ease-out;

}

.project-loop-content {
    width: 100%;
    flex-basis: 100%;
    margin-top: auto;
    position: relative;
}

.project-loop-inner::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    -webkit-transition: background .5s ease-out;
    -moz-transition: background .5s ease-out;
    -o-transition: background .5s ease-out;
    transition: background .5s ease-out;
    background: rgb(47, 47, 47);
    background: -moz-linear-gradient(180deg, rgba(47, 47, 47, 0.54) 0%, rgba(47, 47, 47, 0.92) 47%, rgba(47, 47, 47, 1) 70%);
    background: -webkit-linear-gradient(180deg, rgba(47, 47, 47, 0.54) 0%, rgba(47, 47, 47, 0.92) 47%, rgba(47, 47, 47, 1) 70%);
    background: linear-gradient(180deg, rgba(47, 47, 47, 0.54) 0%, rgba(47, 47, 47, 0.92) 47%, rgba(47, 47, 47, 1) 70%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#2f2f2f", endColorstr="#2f2f2f", GradientType=1);
}

.project-loop-wrapper a:hover .project-loop-inner::before {
    background: rgb(64, 64, 64);
    background: -moz-linear-gradient(180deg, rgba(64, 64, 64, 0.54) 0%, rgba(64, 64, 64, 0.924829306722689) 47%, rgba(64, 64, 64, 1) 70%);
    background: -webkit-linear-gradient(180deg, rgba(64, 64, 64, 0.54) 0%, rgba(64, 64, 64, 0.924829306722689) 47%, rgba(64, 64, 64, 1) 70%);
    background: linear-gradient(180deg, rgba(64, 64, 64, 0.54) 0%, rgba(64, 64, 64, 0.924829306722689) 47%, rgba(64, 64, 64, 1) 70%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#404040", endColorstr="#404040", GradientType=1);
}

.project-loop-logo {
    width: 100%;
    flex-basis: 100%;
    padding-bottom: 40px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.project-loop-logo img {
    /*max-height: 110px;*/
    max-width: 300px;
}

.project-loop-bottom {
    border-top: 1px solid rgba(0, 0, 0, .1);
    /*background-color: #dfdfdf;*/
    padding: 20px 25px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    position: relative;
    -webkit-transition: all .5s ease-out;
    -moz-transition: all .5s ease-out;
    -o-transition: all .5s ease-out;
    transition: all .5s ease-out;
}

/*.project-loop-wrapper a:hover .project-loop-bottom {*/
/*    background-color: rgba(255, 255, 255, 1);*/
/*}*/

.project-type {
    width: 80%;
    flex-basis: 80%;
}

.project-loop-icon {
    width: 20%;
    flex-basis: 20%;
}

.project-type p {
    font-size: 16px;
    line-height: 26px;
    color: var(--light-grey);
    font-weight: 400;
    margin-bottom: 0;
}

.loop-icon {
    width: 39px;
    height: 39px;
    border-radius: 50%;
    background-color: #3d3d3d;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: 0;
    -webkit-transition: all .5s ease-out;
    -moz-transition: all .5s ease-out;
    -o-transition: all .5s ease-out;
    transition: all .5s ease-out;
}

.loop-icon .icon {
    display: block;
    width: 7px;
    height: 13px;
    position: relative;
}

.loop-icon .icon:before {
    content: "";
    display: block;
    width: 7px;
    height: 13px;
    mask: url('../../images/arrow-right-project.svg') no-repeat center;
    -webkit-mask: url('../../images/arrow-right-project.svg') no-repeat center;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: #777777;
    position: absolute;
    top: 0;
    right: 0;
    -webkit-transition: all .5s ease-out;
    -moz-transition: all .5s ease-out;
    -o-transition: all .5s ease-out;
    transition: all .5s ease-out;
}

.project-loop-wrapper a:hover .icon:before,
.project-loop-wrapper a:focus .icon:before {
    background-color: #f9f9f9;
}

@media (max-width: 767.8px) {
    .project-loop-inner {
        height: auto;
    }

    .project-loop-logo {
        padding: 30px 10px 10px 10px;
    }
}