  /* ===================================================================
 * LopwonMenu Main Stylesheet
 * Template Ver. 1.0.0
 * 01-02-2023
 * -----------------------------------------------------------------*/

.Lopwon_Menu {
	margin: 3em 0;
	padding: 0;
	font-size: 100%;
	font-weight: normal;
	line-height: 1.2;
}

.Lopwon_Menu ul,
.Lopwon_Menu li {
	margin: 0;
	padding: 0;
	list-style: none;
}

.Lopwon_Menu ul {
	display: flex;
	flex-wrap: wrap;
}

.Lopwon_Menu li {
	margin: 2em 0;
	width: var(--width-li);
}

.Lopwon_Menu li a {
	display: flex;
	flex-direction: column;
	align-items: center;
	border-bottom: 0;
	text-decoration: none;
	outline: none;	
}

.Lopwon_Menu li a:hover,
.Lopwon_Menu li a:focus,
.Lopwon_Menu li a:active {
	outline-width: 0;
}

.Lopwon_Menu-image {
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	width: 64px;
	height: 64px;
	font-size: 32px;
	color: deepskyblue;
	border-radius: var(--radius-image);
	border: 0.01em dashed lightgrey;
	background-size: 100%;
	background-repeat: no-repeat;
	background-position: center;
	-webkit-transition: all .25s ease-in-out;
	-moz-transition: all .25s ease-in-out;
	-ms-transition: all .25s ease-in-out;
	-o-transition: all .25s ease-in-out;
	transition: all .25s ease-in-out;
}

.Lopwon_Menu-image img {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	border-radius: var(--radius-image);
	object-fit: cover;
	overflow: hidden;
}

.Lopwon_Menu li a:hover .Lopwon_Menu-image {
	-webkit-transform: translate(0, -3px);
	-moz-transform: translate(0, -3px);
	-ms-transform: translate(0, -3px);
	-o-transform: translate(0, -3px);
	transform: translate(0, -3px);
	-webkit-transition: all .5s ease-in-out;
	-moz-transition: all .5s ease-in-out;
	-ms-transition: all .5s ease-in-out;
	-o-transition: all .5s ease-in-out;
	transition: all .5s ease-in-out;
}

.Lopwon_Menu-name {
	margin-top: 0.5em;
	padding: 0 1em;
	font-size: 14px;
	text-overflow: -o-ellipsis-lastline;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-box-orient: vertical;	
	-webkit-line-clamp: 1;
	line-clamp: 1;
}

@media screen and (max-width: 480px) {
	
	.Lopwon_Menu li {
		width: 25% !important;
	}
	
	.Lopwon_Menu-name {
		padding: 0 0.5em;
		font-size: 14px;
	}	

}
