/*==========================PROJECT======================*/
.project {
    width: 100%;
    position: relative;
    border: 1px solid rgba(0,0,0,0.1);
}
.project .img {
	display: block;
	position: relative;
    overflow: hidden;
    padding-top: 67%;
}
.project .img img, .gallery .img img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -webkit-transition: transform 0.8s cubic-bezier(0.44, 0.185, 0.575, 0.86);
    -moz-transition: transform 0.8s cubic-bezier(0.44, 0.185, 0.575, 0.86);
    -o-transition: transform 0.8s cubic-bezier(0.44, 0.185, 0.575, 0.86);
    transition: transform 0.8s cubic-bezier(0.44, 0.185, 0.575, 0.86);
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    backface-visibility: hidden;
}
.project:hover .img img{
    transform: scale(1.05);
}
.project:hover .decs a{
    color: #0077be;
}
.project .caption {    
    position: relative;    
}
.project .decs{
    text-align: center;
    padding: 15px 30px;
    background-color: #FFFFFF;
}
.project .decs .title{
    font-size: 20px;
    line-height: 30px;
    font-weight: 500;
    height: 60px;
    overflow: hidden;
}
.proj-list .project {
	margin-bottom: 30px
}
.proj-list .project .caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 12px 30px;
    background-color: rgba(0,0,0,0.5);
    -moz-transform: all 0.3s linear;
    -ms-transform: all 0.3s linear;
    -webkit-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
    transition: all 0.3s linear;
}
.proj-list .project .tend { 
    font-weight: 600;
    text-transform: uppercase;
    -webkit-line-clamp: 3;    
}
.proj-list .project .link-txt {
    color: #FFFFFF;
}
.proj-list .project:hover .caption {
    background-color: #034ea1;
}
.masonry {
    max-width: 100%;
    margin: 0 -15px 15px;
}
.masonry .item, .grid-sizer {
    float: left;
    width: 25%;
    padding: 15px;
}
.masonry .item:nth-child(2) {
    width: 50%;
}
.gallery {
    position: relative;
}
.gallery .bg {
    top: 10%
}
.gallery .img {    
    display: block;
    position: relative;
    overflow: hidden;
    padding-top: 100%;
}
/*----------OTHER PROJECT-------------*/
.otherItems .project {
    margin: 0;
}
.pagination {
    padding-top: 30px
}

.vhproject{
    position: relative;
}
.vhproject .thumb{
    position: relative;
    overflow: hidden;
    padding-top: 66.56%;
}
.vhproject .thumb a{
    display: block;
}
.vhproject .thumb img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}
.vhproject .decs{
    position: absolute;
    top: 25px;
    right: 40px;
    bottom: 25px;
    left: 40px;
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
    pointer-events: none;
    opacity: 0;
}
.vhproject:hover .decs{
    opacity: 1;
}
.vhproject .decs::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    mix-blend-mode: multiply;
    pointer-events: none;
    background-color: #d40000;
    opacity: 0.9;
}
.vhproject .scdecs{
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    align-content: center;
    padding: 20px 10px;
    height: 100%;
}
.vhproject .title{
    max-width: 240px;
    font-size: 18px;
    line-height: 27px;
    font-weight: 600;
    color: #FFFFFF;
    text-align: center;
    max-height: 100%;
    overflow: hidden;
}
/*================================================================*/
/*=========================RESPONSIVE=============================*/
/*================================================================*/
@media all and (min-width: 992px) {    
    .proj-list .project .tend {
        font-size: 20px;
        line-height: 32px;
        max-height: 96px;
    }
}
@media all and (max-width: 991px) {
    .proj-list .project .caption {
        padding: 10px 15px;
    }
    .proj-list .project .tend {
        font-size: 16px;
        line-height: 28px;
        max-height: 84px;
    }
    .masonry {
        margin: 0 -10px 15px;
    }
    .masonry .item, .grid-sizer {
        padding: 10px;
    }
	.otherItems .proj .tend a {
	    -webkit-line-clamp: 2;
	    height: 56px;
	}
    .pagination {
        padding-top: 10px;
    }

    .project .decs .title{
        font-size: 18px;
        line-height: 27px;
        height: 81px;
    }
}
@media all and (max-width: 575px){
    .masonry .item, .grid-sizer {
        width: 50%;
    }
    .masonry .item:nth-child(2) {
        width: 100%;
    }  
}