﻿@charset "UTF-8";

#secGallery > .cnts > .clm4 > * {
	width: 23.5%;
	overflow: hidden;
}

#secGallery .js_mdl_photos_open img {
	height: 360px;
	object-fit: cover;
	transition: all 0.5s ease;
}

#secGallery .js_mdl_photos img {
	height: 360px;
	object-fit: cover;
	transition: all 0.5s ease;
}

#secGallery .js_mdl_photos_open img:hover {
	transform:scale(1.1);
}

#secGallery .js_mdl_photos img:hover {
	transform:scale(1.1);
}

/* #imgmdl:hover {
	transform: none!important;
} */

.js_mdl_photos_open:hover{
	cursor: pointer;
}

.js_mdl_photos:hover{
	cursor: pointer;
}

.mdl_area {
	display: none;
	min-height: 100vh;
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 2;
}

.mdl_bg {
	background: rgba(240, 232, 229, 0.9);
	height: 100vh;
	position: absolute;
	width: 100%;
}

.mdl_cnt {
	background: rgb(245, 228, 221);
	left: 50%;
	padding: 5px 20px;
	position: absolute;
	top: 50%;
	transform: translate(-50%,-50%);
	width: 50%;
	height: 80%;
	min-width: 740px;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	justify-content: space-around;
	box-shadow: 0px 0px 35px rgba(51,51,51,0.3);
}

#secGallery > .cnts > .clm4 > * > * {
	animation: fadeIn 3s ease 0s 1 normal;
}

@media screen and (max-width:767px) {
	
	.mdl_cnt {
		padding: 5px 10px;
		width: 85%;
		min-width: 0;
	}

	#secGallery > .cnts > .clm4 {
		text-align: center;
	}

	#secGallery > .cnts > .clm4 > * {
		margin-top: 6px!important;
		width: 32%;
	}

	#secGallery > .cnts > .clm4 > *:nth-of-type(1),
	#secGallery > .cnts > .clm4 > *:nth-of-type(2),
	#secGallery > .cnts > .clm4 > *:nth-of-type(3) {
		margin-top: 0;
	}

	#secGallery .js_mdl_photos_open img {
		height: 180px;
	}

	#secGallery .js_mdl_photos img {
		height: 180px;
	}
}

@keyframes fadeIn {
	0% {
		opacity: 0
	}

	100% {
		opacity: 1
	}
}
