/**
 * @name		Page Builder CK
 * @package		com_pagebuilderck
 * @copyright	Copyright (C) 2018. All rights reserved.
 * @license		GNU General Public License version 2 or later; see LICENSE.txt
 * @author		Cedric Keiflin - https://www.template-creator.com - https://www.joomlack.fr
 */


.pbck_gallery_wrap {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-between;
	/*align-items: flex-start;*/
	/*transition: all 0.2s 0.2s ease;*/
}

.pbck_gallery_wrap > * {
	flex: 1 1 auto;
	width: auto;
	/*cursor: pointer;*/
	max-width: 100%;
	min-width: 150px;
	margin: 0 10px 10px 0;
	box-sizing: border-box;
}

.pbck_gallery_hascolumns .pbck_gallery_wrap > * {
	flex: 0 1 auto;
	margin: 0;
}

.pbck_gallery_wrap img,
.pagebuilderck .pbck_gallery_wrap img {
	height: 180px;
	min-width: 150px;
	max-width: 100%;
	vertical-align: middle;
	/*transition: transform 0.3s ease 0s, -webkit-transform 0.3s ease 0s;*/
	/*width: auto;*/
	object-fit: cover;
	/*visibility: hidden;*/
	/*overflow: hidden;*/
}

.pbck_gallery_wrap figure {
	transition: transform 0.3s ease 0s, -webkit-transform 0.3s ease 0s;
	overflow: hidden;
	position: relative;
	display: block;
	flex: 1 1;
}

.pbck_gallery_wrap figcaption {
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;

	/*background: rgba(255,255,255,0.5);*/
	/*height: 50%;
	top: 50%;*/
	text-align: center;
	padding: 5px;
	box-sizing: border-box;
}

.pbck_gallery .fitie {
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
}

.pbck_gallery .fitie > div {
	background-size: cover;
	background-position: center;
	background: none !important; /* BC before 1.1.0 */
}

.pbck_gallery_item_link {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	z-index: 10;
}
