/* 검색어 입력창 */
#header {
	background-color: #fff;
}

.fixed-top {
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
	z-index: 1030;
}

button.search_detail,
.search_fixed,
.page_back {
	display: none;
}

#header .header_top {
	position: relative;
	padding: 8px 0 10px;
	box-sizing: border-box;
	background: #fff;
	z-index: 1002;
}

#header .header_top .container {
	position: static;
	padding-right: 16px;
}

#header .header_top .top_area {
	position: static;
	align-items: center;
	width: 100%;
	justify-content: space-between;
}

#header .header_top .top_area > div {
	position: static;
	display: flex;
	flex-direction: row;
	align-items: center;
}

#header .all_menu img {
	height: 30px;
}

/* @media */
@media (min-width: 768px) {
	.gnb {
		min-height: 60px;
	}

	#header .header_top {
		padding: 18px 0;
		transition: height 1.5s ease-in-out;
	}
}

@media (min-width: 992px) {
	#header .header_top {
		height: 100px;
		box-sizing: border-box;
	}

	#header ~ #container .contents {
		padding-top: 263px;
	}

	#header ~ #container.non-banner-top .contents {
		padding-top: 224px;
	}
}

@media (max-width: 991px) {
	#header .header_top .container {
		padding: 0 16px;
	}
	#header .header_top .top_area {
		display: flex;
		flex-direction: column;
		position: relative;
	}
	#header .header_top .top_area .div_search {
		padding-top: 10px;
	}

	#header ~ #container.non-banner-top .contents {
		padding-top: 227px;
	}

	#header ~ #container .contents {
		padding-top: 195px;
	}
	#header .header_top {
		min-height: 68px;
	}
}

@media (max-width: 767px) {
	.gnb {
		min-height: 44px;
	}

	#header.scrolled .header_top {
		height: 0;
		padding: 0;
		overflow: hidden;
		transition: height 1.5s ease-in-out;
	}

	#header ~ #container.non-banner-top .contents {
		padding-top: 144px;
	}

	#header ~ #container .contents {
		padding-top: 176px;
	}

	#header .search_detail,
	#header .page_back {
		font-size: 0;
		width: 28px;
		height: 28px;
		justify-content: center;
		align-items: center;
		margin-right: 15px;
		background-size: 100% auto;
		background-repeat: no-repeat;
		background-position: center;
		cursor: pointer;
	}

	#header .page_back {
		background-image: url(/content/images/icon/ico_page_back.png);
		display: inline-flex;
		width: 32px;
		height: 32px;
		margin-right: 8px;
		font-size: 0;
	}

	#header .search_detail {
		position: absolute;
		top: 50%;
		right: 40px;
		width: 24px;
		height: 24px;
		display: inline-flex;
		margin: 0;
		background-image: url(/content/images/icon/ico_search_new.svg);
		transition: display 0.35s linear;
		transform-origin: center center;
		transform: translateY(-50%);
	}

	#header .close_searcher,
	#header.show-searcher .router_back {
		display: none;
	}

	#header.show-searcher .close_searcher,
	#header .router_back {
		display: inline-flex;
	}

	#header.show-searcher .search_detail {
		display: none;
	}
}

@media (max-width: 480px) {
	/* show-searcher */
	#header.show-searcher .header_top .top_area {
		flex-direction: unset;
	}

	#header.show-searcher .header_top .top_area .div_search {
		position: relative;
		justify-content: flex-start;
		width: calc(100vw - 120px);
		height: 34px;
		padding: 0;
		margin: 0;
	}

	#header .header_top.header_shadow {
		padding: 8px 0;
		box-shadow: 0 2px 6px rgb(0 0 0 / 8%);
	}
}
