@charset "utf-8";

#wrap {
	position: relative;
	width: 100%;
	min-width: 1200px;
	min-height: 100%;
	background-color: #fafafa;
	height: auto;
}

.sidebar-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.2);
	display: none;
	z-index: 2;
}

.header-side-menu {
	display: none;
}

.inner {
	position: relative;
	width: 1200px;
	margin: auto;
}

header {
	position: relative;
	width: 100%;
	height: 65px;
	box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.15);
	border-bottom: solid 1px #dcdcdc;
	line-height: 65px;
	background-color: #fff;
}

header ul.menu {
	float: right;
	position: relative;
}

header ul.menu li {
	display: inline-block;
}

header ul.menu li:not (:first-child ) {
	margin-left: 32px;
}

header ul.menu li button {
	padding: 5px;
	font-size: 14px;
	font-weight: normal;
	line-height: 50px;
	color: #242931;
	background: none;
}

header ul.menu li button:hover, header ul.menu li button:active, header ul.menu li button:focus
	{
	color: #005fae;
	font-weight: bold;
}

header .header-logo {
	background: url(../images/logo.png) no-repeat;
	display: inline-block;
	margin-top: 15px;
	width: 134px;
	height: 31px;
}

header .top-menu-btn {
	display: none;
}

footer {
	position: absolute;
	bottom: 0;
	background-color: #242931;
	text-align: center;
	width: 100%;
}

footer .title-wrap {
	padding: 15px 0;
	border-bottom: 1px solid #f3f3f3; /* 바깥 원 */
	width: 100%;
	display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
}

footer .footer-title {
	font-size: 28px;
	color: #fff;
}

footer .footer-privacy a:link, footer .footer-privacy a:visited {
	font-size: 16px;
    color: #2d7fff;
}

footer .copyright-wrap {
	padding: 10px 0;
}

footer ul.copyright {
	display: inline-block;
	margin-left: 24px;
	vertical-align: middle;
	position: relative;
	opacity: 0.8;
	font-size: 14px;
	font-weight: 300;
	font-stretch: normal;
	font-style: normal;
	line-height: 1.43;
	letter-spacing: normal;
	color: #fff;
	text-align: justify;
}

footer ul.copyright li {
	display: block;
}

.close-btn {
	background: url('../images/close-btn.png');
	border: none;
	width: 32px;
	height: 32px;
	font-size: 24px;
	cursor: pointer;
}

button.menu-item {
	border: none;
}

/*  스피너 start */
#spinner {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 1000; /* 화면 위에 표시 */
	background-color: rgba(255, 255, 255, 0.8); /* 반투명 배경 */
	padding: 20px;
	border-radius: 10px;
}

/* 기본 스피너 애니메이션 */
.loader {
	border: 10px solid #f3f3f3; /* 바깥 원 */
	border-top: 10px solid #005eae; /* 움직이는 부분 */
	border-radius: 50%; /* 원형 모양 */
	width: 100px;
	height: 100px;

	/* IE11 호환 가능한 애니메이션 */
	-webkit-animation: spin 1s linear infinite; /* 구형 브라우저 */
	animation: spin 1s linear infinite;
}

@-webkit-keyframes spin {
	0% { -webkit-transform: rotate(0deg); }
	100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}
/*  스피너 end */

@media ( max-width : 1024px) {
	#wrap {
		min-width: 0;
		min-height: 0;
		overflow-x: hidden;
	}

	header {
        height: 72px;
        line-height: 48px;
        text-align: center;
        padding-top: 24px;
		box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.15);
	}

	header .header-logo {
		background: url(../images/logo.webp) no-repeat;
		width: 91px;
		height: 22px;
		margin-top: 13px;
	}

	header .top-menu-btn {
		background: url(../images/top-menu-btn.webp) no-repeat;
		width: 32px;
		height: 32px;
		position: absolute;
		left: 16px;
		top: 8px;
		display: block;
	}

	header ul.menu {
		display: none;
	}

	.inner {
		width: 100%;
	}

	.header-side-menu {
		position: fixed;
		top: 0;
		left: -280px;
		width: 280px;
		height: 100%;
		background-color: #fff;
		box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
		transition: left 0.3s ease;
		z-index: 3;
		display: block;
	}

	.header-side-menu .menu-header  {
		display: flex;
		justify-content: end;
		align-items: center;
		height: 48px;
		margin-top: 24px;
		padding: 0 16px;
		border-bottom: 1px solid #ddd;
	}

	.header-side-menu .menu-title {
		width: 100%;
		height: 85px;
		background: url('../images/side-menu-title-bg.png') no-repeat
			center/cover;
		display: flex;
		padding-left: 20px;
		align-items: center;
		letter-spacing: -0.68px;
		font-size: 18px;
		font-weight: bold;
		color: #fff;
	}

	.header-side-menu .menu-items {
		display: flex;
		flex-direction: column;
	}

	.header-side-menu .menu-item {
		display: flex;
		justify-content: space-between;
		align-items: center;
		width: 100%;
		height: 56px;
		padding: 0 16px;
		cursor: pointer;
		font-size: 16px;
		color: #888787;
		letter-spacing: -0.44px;
	}

	.header-side-menu .menu-item:hover, .header-side-menu .menu-item.on {
		color: #14237f;
		font-weight: bold;
		background-color: #f2f4ff;
	}

	.header-side-menu .menu-item .arrow-btn {
		width: 8px;
		height: 12px;
		background: url('../images/side-menu-arrow.png') no-repeat;
	}

	.header-side-menu .menu-item:hover .arrow-btn, .header-side-menu .menu-item.on .arrow-btn {
	  	background: url('../images/side-menu-arrow-on.png') no-repeat;
	}

	footer {
		height: auto;
		line-height: normal;
		margin: 0;
		text-align: left;
	}
	
	footer .title-wrap {
        padding: 10px 8px;
        display: block;
        text-align: center;
    }

    footer .footer-title {
    	font-size: 17px;
    }
    
    footer .footer-privacy {
    	display: block;
        margin-top: 5px;
    }
    
    footer .footer-privacy a:link, footer .footer-privacy a:visited {
    	font-size: 14px;
    }
    
    footer .copyright-wrap {
        padding: 10px 8px;
	}

	footer .copyright-wrap img{
		width: 82px;
		height: 19px;
		vertical-align: top;
		margin-bottom: 8px;
	}

	footer ul.copyright {
		display: block;
		margin: 0;
		font-size: 12px;
	}

	footer ul.copyright li {
		display: block;
	}
}