.gallery-title{
	float:left;
	display:block;
	width:100%;
	font-size:28px;
	color:#333;
	text-align:center;
	display:block;
	margin-top:15px;
}

.gallery-title:after {
	margin:0 auto;
    height: 5px;
    display: block;
    width: 100px;
    background:#F2784B;
    content: '';
}

/* ---- button ---- */
.gallery-button-group .filter-button{
	display: inline-block;
	padding: 7px 15px;
	background: none;
	border: 1px solid #ccc;
	text-transform:capitalize;
	color: #222;
	font-family: 'Roboto', sans-serif;
	font-size: 14px;
	cursor: pointer;
	margin-bottom:2px;
}

.gallery-button-group .filter-button:hover{
	text-decoration:none;
	color:#000;
}

.gallery-button-group .filter-button:active,
.gallery-button-group .filter-button.is-checked{
	color:#fff;
	background:#555;
}

/* ---- button-group ---- */

.gallery-button-group {
	margin: 10px auto;
	width: 100%; 
	text-align: center;
	margin-bottom: 20px;
}

.gallery-button-group:after {
	content: '';
	display: block;
	clear: both;
}

/* ---- isotope ---- */


/* ---- .grid-item ---- */

/* clearfix because of floats */
.grid-gallery:before,
.grid-gallery:after {
	content: "";
	display: table;
}
.grid-gallery:after {
	clear: both;
}
.gallery-grid-item {
	float: left;
	margin-bottom: 6px;
	cursor: pointer;
}

.gallery-grid-item .grid-thumbnail-image {
	max-width: 100%;
	max-height: 100%;
	vertical-align: bottom;
	overflow:hidden;
	position: absolute;
}
.gallery-first-item {
	clear: both;
}

/* remove margin bottom on last row */
.grid-gallery .last-row,
.grid-gallery .last-row ~ .gallery-grid-item {
	margin-bottom: 0;
}



/* ---- .gallery-grid-item ---- */

.grid-gallery-section{
	margin:15px;
}

.gallery-grid-item{
	display: inline-block;
	position:relative;
	background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center center;

}

html[dir=rtl] .gallery-grid-item {float:right;}

.gallery-grid-item .gallery-overly, .item .gallery-overly{
	position:absolute;
	top:0;
	left:0;
	right:0;
	bottom:0;
	width:100%;
	height:100%;
	background:rgba(0,0,0, 0.1);
	opacity:0;
	box-shadow: inset 0px 0px 40px 9px rgb(0 0 0 / 56%);
}

.gallery-grid-item:hover .gallery-overly, .item:hover .gallery-overly{
	opacity:1;
}

.gallery-grid-item:before,
.gallery-grid-item:after {
	position: absolute;
	top: 20px;
	right: 20px;
	bottom: 20px;
	left: 20px;
	content: '';
	opacity: 0;
	-webkit-transition: opacity 0.6s, -webkit-transform 0.6s;
	transition: opacity 0.6s, -webkit-transform 0.6s, -moz-transform 0.6s, -o-transform 0.6s, transform 0.6s;
}

.gallery-grid-item:before {
	/* border-top: 3px solid #fff;
	border-bottom: 3px solid #fff; */
	-webkit-transform: scale(0, 1);
	transform: scale(0, 1);
}

.gallery-grid-item:after {
	/* border-right: 3px solid #fff;
	border-left: 3px solid #fff; */
	-webkit-transform: scale(1, 0);
	transform: scale(1, 0);
}

.gallery-grid-item:hover:before,
.gallery-grid-item.hover:before,
.gallery-grid-item:hover:after,
.gallery-grid-item.hover:after {
	opacity: 1.0;
	-webkit-transform: scale(1);
	transform: scale(1);
}

.gallery-grid-item:hover .gallery-collection-icon {
    opacity: 1;
}
.gallery-grid-item:hover span.collection_text , .item:hover span.collection_text {
    opacity: 1;
}
.gallery-grid-item span.collection_text, .item span.collection_text  {
	color: white;
	font-size: 12px;
	font-family: "Times New Roman", Times, serif;
    position: absolute;
    top: calc(100% - 25px);
    right: 15px;
    opacity: 0;
}

     .flex-images .item{
        position: relative;

     }
     html[dir=rtl] .flex-images .item{
        float: right;
     }
	.gallery-grid-item .gallery-zoom-icon, .item .gallery-zoom-icon {
	border-radius: 5px;
    display: block;
    content: '';
    position: absolute;
    background: #4240406b;
    top: 3%;
    right: 3%;
    height: 30px;
    width: 30px;
    /* border: 4px double #fff; */
    opacity: 1;
    border-radius: 50%;
    -webkit-transition: all 0.6s;
    transition: all 0.6s;
    z-index: 5;
}

.gallery-grid-item span.similar_text {
	color: white;
    position: absolute;
    top: calc(100% - 30px);
    right: 20%;
}
.gallery-grid-item .gallery-similar-icon {
	border-radius: 5px;
    display: block;
    content: '';
    position: absolute;
    background: url(..//img/icon/similar.png) no-repeat center center;
	background-size: 27px 27px;
    top: calc(100% - 45px);
    right: 13.5%;
    height: 50px;
    width: 50px;
    /* border: 4px double #fff; */
    opacity: 0;
    /* border-radius: 50%; */
    -webkit-transition: all 0.6s;
    transition: all 0.6s;
    z-index: 5;
}
.gallery-grid-item span.show_text {
	color: white;
	font-size: 12px;
	font-family: "Times New Roman", Times, serif;
    position: absolute;
    top: calc(100% - 25px);
    right: 50px;
}
.gallery-grid-item .gallery-show-icon {
	border-radius: 5px;
    display: block;
    content: '';
    position: absolute;
    background: url('/static/front_office/assets/responsive_grid_gallery/img/icon/show_icon.png') no-repeat center center;
	background-size: 25px 25px;
    top: calc(100% - 40px);
    right: 15px;
    height: 50px;
    width: 50px;
    /* border: 4px double #fff; */
    opacity: 0;
    /* border-radius: 50%; */
    -webkit-transition: all 0.6s;
    transition: all 0.6s;
    z-index: 5;
}
.gallery-grid-item .gallery-collection-icon , .item .gallery-collection-icon {
	border-radius: 5px;
    display: block;
    content: '';
    position: absolute;
    background: url('/static/front_office/assets/responsive_grid_gallery/img/icon/collection_icon.png') no-repeat center center;
    background-size: 30px 30px;
    bottom: 10px;
    right: 0px;
    height: 50px;
    width: 50px;
    opacity: 0;
    -webkit-transition: all 0.6s;
    transition: all 0.6s;
    z-index: 10;
}
.gallery-zoom-icon::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
	right: 0%;
    background: url('/static/front_office/assets/responsive_grid_gallery/img/icon/zoom_icon.png') no-repeat center center;
	background-size: 15px 15px;
    border-radius: 50%;
}

.gallery-grid-item:hover .gallery-collection-icon, .item:hover .gallery-collection-icon  {
	opacity: 1;
}
.gallery-grid-item:hover .gallery-similar-icon  {
	opacity: 1;
	-webkit-transform: translate(-50%, -50%) ;
	transform: translate(-50%, -50%);
}
.gallery-grid-item:hover .gallery-show-icon  {
	opacity: 1;
	-webkit-transform: translate(-50%, -50%) ;
	transform: translate(-50%, -50%);
}

.gallery-grid-item .image-details {
	position: absolute;
    left: 17.5%;
    top: 28%;
    display: block;
    /* width: 100%; */
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    -webkit-transition: all 0.6s;
    transition: all 0.6s;
}

.gallery-grid-item:hover .image-details {
	opacity: 1;
	margin-top:-50px;
}

.gallery-grid-item .image-title{
	width:100%;
	display:block;
	font-weight:500;
	color:#fff;
	padding: 2px 5px;
	text-align:center;
	text-transform: uppercase;
}

.gallery-grid-item .social-icon-area{
	position:absolute;
	bottom:5px;
	left:auto;
	right:auto;
	width:100%;
	display:block;
	z-index:5;
}

.gallery-grid-item .social-icon-area .social-icons{
	margin:0 auto;
	width:120px;
	height:30px;
}

.gallery-grid-item .social-icon-area ul{
	float:left;
	list-style-type:none;
	margin-left:-40px;
}

.gallery-grid-item .social-icon-area ul li{
	float:left;
	width:30px;
	height:30px;
}

.gallery-grid-item .social-icon-area ul li a{
	color:#fff;
	font-size:20px;
	line-height:20px;
	text-align:center;
	display:block;
}
.gallery-grid-item .social-icon-area ul li a:hover{
	color:#ddd;
}


.flex-images-list{

    width: 100vw;
    max-width: 100vw;

}