#_chatbot * {
  box-sizing: border-box;
}

#_chatbot body {
  font-family: 'Noto Sans KR','Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', Arial, Helvetica,
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
	background-color: rgba(223, 242, 247, .5);
	height: 100%;
	margin: 0;
}

#_chatbot span {
	padding-right: 15px;
	padding-left: 15px;

	font-size:14px;
}

#_chatbot .container {
	display: flex;
  justify-content: center;
	align-items: center;
	width: 100%;
	height: 100%;
}

#_chatbot .chat {
	margin-top:50px;
	padding:20px;
	height: 670px;
	width: 440px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
    border-radius: 35px;
	background:#fff;
} 

#_chatbot  ::-webkit-input-placeholder { 
	color: .711 
}
 
#_chatbot #chat input { 
	border: 0; 
	padding: 15px; 
	margin-left: auto;
	border-radius: 10px; 
	width:100%;
    font-size:14px;
	margin-right: 42px;
	background-color: #f8f8f8;
}

#_chatbot #chat #close_chatbot{
    position: absolute;
    right: 20px;
    top: 70px;
	cursor: pointer;
}

#_chatbot #chat #close_chatbot input{
    padding: 0px;
	padding-bottom: 4px;
	width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #333;
    color: #fff;
    border: 0;
	font-size: 18px;
	margin: 0;
	cursor: pointer;
}

#_chatbot .messages {
	display: flex;
	flex-direction: column;
	overflow: scroll;
	height: 90%;
	width: 100%;
	background-color: white;
	padding: 15px;
	margin: 15px;
	border-radius: 10px;
}

#_chatbot .messages::-webkit-scrollbar {
    width: 4px; /* 세로 스크롤바 너비 */
    height: 30px; /* 가로 스크롤바 높이 */
}
#_chatbot .messages::-webkit-scrollbar-track {
    background: transparent; 
}
#_chatbot .messages::-webkit-scrollbar-thumb {
    background-color: #d9d9d9; /* 스크롤바 핸들 색상 */
    border-radius: 10px;
    border: 2px solid transparent; 
}
#_chatbot .messages::-webkit-scrollbar-thumb:hover {
    background-color: #888; /* 호버 시 핸들 색상 변경 */
}

#_chatbot #bot {
	align-items: flex-start;
	position: relative;
}

#_chatbot #bot em{
	position: absolute;
    left: 37px;
    top: 5px;
    font-size: 12px;
    color: #787878;
}

#_chatbot .recommend{
	border-radius: 15px;
    margin: 5px;
    padding: 5px 10px;
    color: #fff;
    background: #000;
    font-size:13px;
}

#_chatbot @font-face {font-family: 'Noto Sans KR';font-style: normal;font-weight: 100;src: url(./font/NotoSansKR-Thin.woff2) format('woff2'),url(./font/NotoSansKR-Thin.woff) format('woff'),url(./font/NotoSansKR-Thin.otf) format('opentype');}

#_chatbot @font-face {font-family: 'Noto Sans KR';font-style: normal;font-weight: 300;src: url(./font/NotoSansKR-Light.woff2) format('woff2'),url(./font/NotoSansKR-Light.woff) format('woff'),url(./font/NotoSansKR-Light.otf) format('opentype');}

#_chatbot @font-face {font-family: 'Noto Sans KR';font-style: normal;font-weight: 400;src: url(./font/NotoSansKR-Regular.woff2) format('woff2'),url(./font/NotoSansKR-Regular.woff) format('woff'),url(./font/NotoSansKR-Regular.otf) format('opentype');}

#_chatbot @font-face {font-family: 'Noto Sans KR';font-style: normal;font-weight: 500;src: url(./font/NotoSansKR-Medium.woff2) format('woff2'),url(./font/NotoSansKR-Medium.woff) format('woff'),url(./font/NotoSansKR-Medium.otf) format('opentype');}

#_chatbot @font-face {font-family: 'Noto Sans KR';font-style: normal;font-weight: 700;src: url(./font/NotoSansKR-Bold.woff2) format('woff2'),url(./font/NotoSansKR-Bold.woff) format('woff'),url(./font/NotoSansKR-Bold.otf) format('opentype');}

#_chatbot @font-face {font-family: 'Noto Sans KR';font-style: normal;font-weight: 900;src: url(./font/NotoSansKR-Black.woff2) format('woff2'),url(./font/NotoSansKR-Black.woff) format('woff'),url(./font/NotoSansKR-Black.otf) format('opentype');}

#_chatbot .bot {
	font-family: 'Noto Sans KR', Consolas, 'Courier New', Menlo, source-code-pro, Monaco,  
	monospace;
}

#_chatbot .avatar {
	width: 30px;
	height: 30px;
}

#_chatbot .response {
	display: flex;
	margin: 1%;
    flex-direction: column;
}
#_chatbot .response > span {
	background-color: #f8f8f8;
	
    align-items: center;
    margin: 1%;
	margin-right: 42px;
    border-radius: 15px;
    padding: 15px;
    color: #000;
    font-size:13px;
}

#_chatbot .user{
	align-items: flex-end;
}

#_chatbot .user.response > span{
	margin-right: 0;
    background-color: #1380ff;
    color: #fff;
    margin-left: 40px;
}

/* Mobile */

@media only screen and (max-width: 980px) {
  #_chatbot .container {
		flex-direction: column; 
		justify-content: flex-start;
	}
    #_chatbot .chat {
		width: 75vw;
		margin: 10vw;
	}
}

#_chatbot ._chatbotBtn{
    position: absolute;
    left: 93%;
    width: 10%;
    height: 100%;
    bottom: 80px;
    color: white;
    font-size: large;
}

#_chatbot .ui-autocomplete{z-index:9999}
