/*
.gal-layout-flex{
	display: flex;
	flex-wrap: wrap;
}

.gal-layout-flex img{
	width: auto;
	margin: 2px;
	transition: 0.2s;
	box-shadow: 2px 2px 0px 0px rgba(0, 0, 0, 0.0);
	flex-grow: 1;
}

.gal-layout-flex img:hover{
	cursor: pointer;
	transform: scale(1.1);
	box-shadow: 2px 2px 10px 0px rgba(0, 0, 0, 0.4);
}
*/

.gal-layout-flex ul{
	list-style-type: none;
	display: flex;
	flex-wrap: wrap;
}

.gal-layout-flex li{
	height: 150px;
	flex-grow: 1;
	margin: 2px;
}

.gal-layout-flex img{
	max-height: 100%;
	min-width: 100%;
	object-fit: cover;
	vertical-align: bottom;
	transition: 0.2s;
	box-shadow: 2px 2px 6px 0px rgba(40, 40, 40, 0.2);
	border-radius: 6px;
	overflow: hidden;
}

.gal-layout-flex img:hover{
	cursor: pointer;
	transform: scale(1.1);
	box-shadow: 2px 2px 10px 0px rgba(40, 40, 40, 0.4);
}

.gal-layout-flex li:last-child{
	flex-grow: 10;
}



/*img-modal*/
.img-modal-wrapper{
	display: none;
}

.img-modal-wrapper.active{
	display: block;
	pointer-events: all;
}

.modal-img-content{
	position: fixed;
	top: 1vh;
	bottom: 1vh;
	left: 2vw;
	right: 2vw;
	background-color: rgba(0, 0, 0, 0.0);
	z-index: 92;
}

#modal-gal-img-wrapper{
	position: fixed;
	top: 1vh;
	bottom: 1vh;
	left: 2vw;
	right: calc(2vw + 32px);
	display: flex;
	justify-content: center;
	align-items: center;
	transition: 0.15s;
}

#modal-gal-content-inner.shown #modal-gal-img-wrapper{
	right: calc(40vw + 32px);
}

#modal-gal-info-div{
	position: fixed;
	top: calc(1vh + 60px);
	bottom: 2vh;
	left: 98vw;
	right: 2vw;
	overflow: hidden;
	background-color: var(--vilagosszurke);
	box-shadow: 4px 4px 12px 0 rgba(0, 0, 0, 0.4);
	border-radius: 12px;
	transition: 0.15s;
}

#modal-gal-content-inner.shown #modal-gal-info-div{
	left: 61vw;
}

#modal-gal-img-wrapper img{
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 4px 4px 20px 0px rgba(40, 40, 40, 0.4);
	max-width: 100%;
	max-height: 100%;
}

#modal-gal-show{
	position: fixed;
	top: 110px;
	right: 2vw;
	bottom: 1vh;
	width: 32px;
	display: flex;
	justify-content: center;
	align-items: center;
	transition: 0.15s;
}

#modal-gal-show:hover{
	cursor: pointer;
}

#modal-gal-show div{
	width: 30px;
	height: 30px;
	border-bottom: 2px solid var(--feher);
	border-left: 2px solid var(--feher);
	transform: rotate(45deg);
	box-shadow: -2px 2px 4px 0 rgba(255, 255, 255, 0.4);
}

#modal-gal-content-inner.shown #modal-gal-show{
	right: 40vw;
}

#modal-gal-content-inner.shown #modal-gal-show div{
	transform: rotate(-135deg);
}

#modal-gal-info-div h3{
	color: var(--sotetkek);
	text-align: center;
	margin: 2vh 3vw 1vh 3vw;
	font-size: 24px;
	font-family: Roboto-thin;
	font-weight: 100;
}

#modal-gal-info-div p{
	margin: 2vh 3vw 1vh 3vw;
	overflow-y: auto;
	text-align: justify;
}

.img-modal-close{
	position: fixed;
	top: 1vh;
	right: 2vw;
	width: 40px;
	height: 40px;
	background-color: rgba(255, 255, 255, 0.2);
	border: 1px solid var(--piros);
	border-radius: 20px;
	transition: 0.2s;
	z-index: 94;
}

.img-modal-close p{
	font-size: 30px;
	color: var(--piros);
	display: flex;
	justify-content: center;
	align-items: center;
}

.img-modal-close:hover{
	cursor: pointer;
	background-color: var(--piros);	
}

.img-modal-close:hover p{
	color: var(--feher);
}

