/*=  gallery portfolio  =*/
.gallery-filter-5 {
    text-align: center;
    margin-bottom: 3rem;
}

.gallery-filter-5 span {
    cursor: pointer;
    margin: 0 5px 10px 5px;
    overflow: visible;
    line-height: 1.2;
    color: #18191d;
    padding: 6px 20px;
    font-size: 16px;
    font-weight: 500;
    position: relative;
    display: inline-block;
    border-radius: 50px;
    -webkit-transition: color .3s ease-in-out, border-color .3s ease-in-out;
    transition: color .3s ease-in-out, border-color .3s ease-in-out;
}

.gallery-filter-5 span:hover {
    color: #00bcd4;
}

.gallery-filter-5 .active {
    color: #00bcd4;
    border: 1px solid #00bcd4;
    background-color: transparent;
}

.gallery-5 {
    position: relative;
    width: 100%;
    margin: 0;
}

.gallery-5 .items {
    position: relative;
    overflow: hidden;
    padding: 15px;
}

#gallery-5 .stamp1 {
    left: 0%;
    top: 0;
    width: 20%;
    height: 80px;
    margin: 15px;
}

#gallery-5 .stamp2 {
    right: 0%;
    top: 0;
    width: 20%;
    height: 80px;
    margin: 15px;
}

#gallery-5 .stamp {
    position: absolute;
}

.gallery-5 .items.top-space:nth-child(2) {
    margin-top: -100px;
}

.gallery-5 .item-img {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.gallery-5 .item-img img {
    width: 100%;
    height: 100%;
    transition: all .3s ease-in-out;
}

.gallery-5 .items:hover .item-img img {
    transform: scale(1.1);
    transition: all .3s ease-in-out;
}

.gallery-5 .item-overlay {
    position: absolute;
    text-align: center;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
     background: rgba(50, 100, 245, 0.63);
    background: -moz-linear-gradient(left, rgba(0, 55, 30, 0.61) 2%, rgba(0, 132, 81, 0.6) 82%);
    background: -webkit-linear-gradient(left, rgba(0, 55, 30, 0.61) 2%, rgba(0, 132, 81, 0.6) 82%);
    background: linear-gradient(to right, rgba(0, 55, 30, 0.61) 2%, rgba(0, 132, 81, 0.6) 82%);
    padding: 15px;
    opacity: 0;
    display: flex;
    align-items: center;
    transition: all .3s ease-in-out;
}

.gallery-5 .item-overlay:before {
    content: "";
    position: absolute;
    top: 10%;
    left: 7%;
    height: 80%;
    width: 86%;
    /*border: 1px solid #fff;*/
    overflow: hidden;
    pointer-events: none;
}

.gallery-5 .items:hover .item-overlay {
    opacity: 1;
    transition: all .3s ease-in-out;
}

.gallery-5 .item-overlay .overlay-content {
    width: 100%;
    color: #fff;
}

.gallery-5 .item-overlay .overlay-content p {
    font-size: 13px;
}

.gallery-5 .item-overlay a {
    font-size: 15px;
    color: #b49949;
    background: #fff;
    text-align: center;
    height: 40px;
    width: 40px;
    line-height: 38px;
    border: 1px solid #fff;
    border-radius: 50px;
    margin-top: 10px;
    display: inline-block;
    transition: all .1s ease-in-out;
}
