@charset "utf-8";
/* CSS Document */

body { 
/*  margin: 0; background: #131212;  */
}

.ui-gallery-s {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;

	max-width: 770px;
	margin: 0 auto;	
}
.ui-gallery-s p {
/*	display: inline-block;*/
	margin: 0;
	padding: 0;
}
.ui-gallery-s a {
	display: block;
	width: 350px;
	height: 350px;
	
	box-sizing: border-box;
	font-size: 0;
	
	transition: all .2s ease-in-out;
	
/*	border: 10px solid transparent;	*/
    margin: 10px;
    
    overflow: hidden;
    position: relative;
}

.ui-gallery-s a img {
	width: 100%;
	height: 100%;
	object-fit: cover;

    transition: all .35s ease-in-out; 
}


.ui-gallery-s a:hover img { 
	transform: scale(1.05, 1.05);
    filter: brightness(0.9);
}


/* ------ Add Supprt icon hint ------ */
/*
.ui-gallery-s a:after { 
    font-family: "Font Awesome 5 Free";
    content: "\f00e";
    width: 1px;
    height: 1px;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    
    font-size: 24px;
    color: #FFF;
    visibility: hidden;
}
.ui-gallery-s a:hover:after {    
    visibility: visible;
}
*/


@media screen and (max-width: 992px) {

/*
.ui-gallery-s {
	max-width: 700px;
}	
.ui-gallery-s a {
	width: 300px;
	height: 300px;
}
*/
@media screen and (max-width: 767px) {

.ui-gallery-s {
	max-width: 450px;
    justify-content: center;
}
.ui-gallery-s a {
	width: 350px;
	height: 350px;
    margin-left: 0;
    margin-right: 0;
}

}
@media screen and (max-width: 320px) {

.ui-gallery-s {
	max-width: 300px;
}	
.ui-gallery-s a {
	width: 300px;
	height: 300px;
}

}





/*------------------------------------------------*/







.ui-gallery-l {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	
	
/*	background-color: #777;*/
}
.ui-gallery-l a {

/*
	max-width: 300px;
	max-height: 300px;
*/
	
	width: 200px;
	height: 200px;
	
	box-sizing: border-box;
/*	margin: 12px;*/
	
/*	border-radius: 5px;*/
	font-size: 0;
	
/*	flex: auto; */

	
/*
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
*/
	
/*
	flex-grow: 0;
	flex-shrink: 0;
*/
/*	flex-basis: 300px;*/
	
/*	background-color: red;*/
	
	transition: all .2s ease-in-out;
	
	border: 1px solid #FFF;
	
	overflow: hidden;
	
/*	float: left;*/

}
.ui-gallery-l a img {
/*	display: inline-block;*/
	width: 100%;
/*	height: auto;*/
	height: 100%;
/*
	max-width: 300px;
	max-height: 200px;
*/
	
	object-fit: cover;
	
/*	flex-grow: 0;*/
/*	flex-basis: 100%;*/


    transition: all .2s ease-in-out; 
	
	
/*	border-radius: 5px;*/

	
/*
	padding: 7px;
	border: 1px solid #DDD;
	background-color: #EEE;
*/
}
/*
.ui-gallery a:hover { 
	transform: scale(1.1, 1.1);
	box-shadow: 0 0 45px 0px #777;
}
*/

.ui-gallery-l:hover a { 
	opacity: 0.65;
}
.ui-gallery-l:hover a:hover { 
	opacity: 1;
}


@media screen and (max-width: 767px) {
	
.ui-gallery-l a {
	width: 150px;
	height: 150px;
}

}
	

