/*
Theme Name: Rodrigo Ortiz
Description: Designed by Rodrigo Ortiz
Author:  ROrtiz
Author URI:  https://rodrigoortiz.es
Template: Divi
Version:  1.0.0
*/
/* =Theme customizations
------------------------------------------------------- */
/*-----------------------------------------------------------------------*/ 
/*-----Show the Gallery Image Title and Caption on Hover by Divi Soup----*/ 
/*-----------------------------------------------------------------------*/
/*Position the gallery items*/
.ds-hover-gallery .et_pb_gallery_item {
    position: relative;
}
/*Remove the default top margin from the title*/
.ds-hover-gallery .et_pb_gallery_title {
    margin: 0 !important;
}
/*Set the overlay z-index*/
.ds-hover-gallery .et_overlay {
    z-index: 1;
}
/*Position and style the content text container*/
.ds-hover-gallery .ds-gallery-text {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 20px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    background: rgba(255, 255, 255, .8);
    opacity: 0;
    -webkit-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
}
/*Show the content text container on hover*/
.ds-hover-gallery .et_pb_gallery_item:hover .ds-gallery-text {
    opacity: 1;
}
/*-----------------------------------------------------------------------*/ 
/*---End Show the Gallery Image Title and Caption on Hover by Divi Soup--*/ 
/*-----------------------------------------------------------------------*/