.et_pb_custom_gallery {
    /*display: flex;*/
    /*flex-wrap: wrap;*/
    padding: 0 10px;
}

.et_pb_custom_gallery_item_wrapper {
    position: relative;
    background: #000;
}

.et_pb_custom_gallery_item_content {
    display: block;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    padding: 20px;
    transition: all 0.1s ease;
    z-index: 100;
}

.et_pb_custom_gallery_item_content_inner {
    transform: translateY(-10%);
    transition: 0.2s all ease;
color: #000;
}

.et_pb_custom_gallery_item_content:hover {
    opacity: 1;
}

.et_pb_custom_gallery_item_content:hover .et_pb_custom_gallery_item_content_inner {
    transform: translateY(0);
}

.et_pb_custom_gallery_item {
    position: relative;
    float: left;
}

@media all and (max-width: 1100px) {
    .et_pb_custom_gallery_item {
        /*flex: 0 1 33.3333%;*/
    }
}

@media all and (max-width: 830px) {
    .et_pb_custom_gallery_item {
        /*flex: 0 1 50%;*/
    }
}

@media all and (max-width: 550px) {
    .et_pb_custom_gallery_item {
        /*flex: 0 1 100%;*/
    }
}

.et_pb_custom_gallery_item img {
    /*width: 100%;*/
    display: block;
    object-fit: cover;
}



.gallery_item_title {
    display: block;
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
    color: #000;
    margin-bottom: 5px;
}

.gallery_item_name {
    display: block;
    margin-bottom: 10px;
    font-size: 13px;
}

.gallery_item_date {
    font-size: 11px;
    color: #666;
    display: block;
}

.gallery_item_button {
    background: #252525;
    padding: 5px 12px;
    display: inline-block;
    width: auto;
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
    font-size: 13px;
}

.gallery_item_keywords {
    display: block;
    margin-bottom: 10px;
    font-size: 13px;
}

.gallery_item_name:before {
    /*content: "by ";*/
}