/* 
 Theme Name:   Perfect Portfolio perso
 Theme URI:    
 Description:  
 Author:       admin6991
 Author URI:   http://atelierimh.fr
 Template:     perfect-portfolio
 Version:      1.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html

 /* == Add your own styles below this line ==
--------------------------------------------*/

.gallery-section.style1 .text-holder,
.gallery-section.style5 .text-holder, 
.gal-masonry .gallery-wrap .text-holder, 
.page-template-portfolio .gallery-wrap .text-holder {
	position: absolute;
	top: 265px;
	left: 30px;
	background: rgba(255,255,255,0.9);
	right: 30px;
	bottom: 30px;
	text-align: center;
	opacity: 0;
	visibility: hidden;
	-webkit-transition: all ease 0.3s;
	-moz-transition: all ease 0.3s;
	transition: all ease 0.3s;
}

.content-area .site-main .text-holder {
    top: 220px;
}


.gallery-section.style1 .text-holder, .gallery-section.style5 .text-holder, .gal-masonry .gallery-wrap .text-holder, .page-template-portfolio .gallery-wrap .text-holder h2 {
    line-height: 1.4;
}
.wp-block-image figcaption {
    margin-bottom: 1em;
    margin-top: 0.5em;
	font-size: 0.8em;
	font-style: italic;
}
.filter-button-group button {
    text-transform: none;
}
button, input[type="button"], input[type="reset"], input[type="submit"] {
    padding: 12px 25px;
}
.gallery-section.style1 .text-holder, .gallery-section.style5 .text-holder-inner, .gal-masonry .gallery-wrap .text-holder-inner, .page-template-portfolio .gallery-wrap .text-holder-inner {
     padding: 12px;
}
@media screen and (max-width: 1024px) {
	.gallery-section.style1 .text-holder, 
	.gallery-section.style5 .text-holder, 
	.gal-masonry .gallery-wrap .text-holder, 
	.normal-view .gallery-wrap .text-holder, 
	.page-template-portfolio .gallery-wrap .text-holder {
		top: auto;
		bottom: 2px;
		left: 2px;
		right: 2px;
		opacity: 1;
		visibility: visible;
	}
	@media screen and (max-width: 980px)
.gallery-section.style1 .text-holder-inner, .gallery-section.style5 .text-holder-inner, .gal-masonry .gallery-wrap .text-holder-inner, .normal-view .gallery-wrap .text-holder-inner, .page-template-portfolio .gallery-wrap .text-holder-inner {
    padding: 20px;
}