/* main-container 재정의 */
.main-container {
	height: calc(100vh - 80px);
	min-height: 0;
}

.aichat-page {
	height: 100%;
	background-color: #fffaf2;
}


.aichat-wrap {
	height: 100%;
	max-width: calc(100% - 40px);
	box-sizing: border-box;
	margin: 0 auto;
	display: flex;
	flex-direction: column;

}

.result-box {
	height: calc(100% - 100px);
	width: 900px;
	margin: 0 auto;
	box-sizing: border-box;
	padding: 20px;
	overflow-y: auto;
	display: none;
}

.aichat-search {
	flex: 1;
}

.searchform {
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
}

.search-box {
	width: 70%;

}

.search-box .guide {
	text-align: center;
	font-size: 1.5rem;
	color: #444;
	margin-bottom: 20px;
	margin-top: -100px;
}

.search-input-wrap {
	flex: 1;
	height: 50px;
	border: 2px var(--brand-color) solid;
	border-radius: 30px;
	box-sizing: border-box;
	overflow: hidden;
	display: flex;
	flex-direction: row;
	align-items: center;
	padding: 0 5px 0 30px;
}

.search-input-wrap input[type=text] {
	border: 0;
	height: 100%;
	width: 100%;
	background-color: transparent;
	text-align: center;
	vertical-align: middle;
	font-size: 0.9rem;
}
.search-input-wrap input::placeholder {
	color: #929292;
	font-weight: 400;
}
.search-input-wrap input[type=text]:focus {
	outline: none;
}

.search-box button {
	width: 40px;
	height: 40px;
	vertical-align: middle;
	border: 0;
	background-color: var(--brand-color);
	border-radius: 20px;
	color: #fff;
	font-size: 0.8rem;
	cursor: default;
}



@media (max-width: 767px)
{
	.main-container {
		height: calc(100vh - 60px);
		min-height: 0;
	}

	.aichat-wrap {
		max-width: unset;
	}
	.aichat-page .common-width {
		width: 100%;
	}

	.result-box {
		/*height: calc(100% - 150px);*/
		width: unset;
		padding: 5px 0;
	}


	.search-box {
		width: calc(100% - 40px);
	}
	.search-box .guide {
		font-size: 1.1rem;
	}
	.search-input-wrap {
		height: 40px;
	}
	.search-input-wrap input[type=text] {
		font-size: 0.8rem;
	}
	.search-box button {
		height: 30px;
	}
}




