@charset "UTF-8";

/* 검색 키워드 제안 (게시판, 통합검색) */
.srch-kywd-suggest {
    position: absolute;
    top: 40px;
    right: 0;
    width: 100%;
    font-size: 14px;
    color: #373B44;
    background-color: #fff;
    border: 1px solid #d8dbe1;
    border-radius: 0 0 5px 5px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
    box-sizing: border-box;
    z-index: 2;
}
.suggest-content {
    border-bottom: 1px solid #d8dbe1;
    padding: 15px;
}
#suggestSection,
#headerSuggestSection {
    display: flex;
}
#suggestSection .suggest-content,
#headerSuggestSection .suggest-content {
    flex: 0 1 calc(50% - 4px);
}

@media (max-width: 500px) {
    #suggestSection,
    #headerSuggestSection {
        display: block;
    }
}

.suggest-content .suggest-head {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}
.suggest-head .title {
    font-size: 12px;
    color: #696d76;
    cursor: default;
}
.suggest-head .delete-all {
    font-size: 12px;
    color: #757575;
    background: none;
    border: none;
    cursor: pointer;
}
.suggest-list {
    /*display: flex;
    flex-wrap: wrap;
    gap: 8px;*/
    padding-left: 0;
    margin: 0;
    list-style: none;
}
.suggest-list li {
    /*flex: 0 1 calc(50% - 4px);*/
    /*border: 1px solid #d8dbe1;
    border-radius: 50px;*/
    box-sizing: border-box;
    padding: 5px;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; /* 말줄임표 */
}
.suggest-list li:hover {
    /*background-color: #f3f3f3;*/
    cursor: pointer;
    text-decoration: underline;
}
.recent-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.recent-list li {
    position: relative;
    padding: 5px 5px 5px 0;
    border-radius: 5px;
}
.recent-list li:hover {
    /*background-color: #f3f3f3;*/
    cursor: pointer;
    text-decoration: underline;
}
.recent-list li svg {
    color: #757575;
}
.recent-list li .kywd-text {
    margin-left: 5px;
}
/* 최근검색어 시계 아이콘 */
/*.recent-list li .kywd-text::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background-color: #757575; !* 원하는 아이콘 색상 - color 속성처럼 자유 변경 가능 *!
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8'/%3E%3Cpath d='M3 3v5h5'/%3E%3Cpath d='M12 7v5l4 2'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8'/%3E%3Cpath d='M3 3v5h5'/%3E%3Cpath d='M12 7v5l4 2'/%3E%3C/svg%3E"); !* SVG를 '틀'로만 사용 *!
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}*/
.recent-list li .remove {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: none;
    background-color: transparent;
    cursor: pointer;
    border-radius: 50%;
}
.recent-list li .remove::before {
    content: "";
    width: 14px;
    height: 14px;
    position: static;
    background-color: #757575;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 6 6 18'/%3E%3Cpath d='M6 6l12 12'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 6 6 18'/%3E%3Cpath d='M6 6l12 12'/%3E%3C/svg%3E");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
}
.recent-empty {
    display: none;
    font-size: 12px;
    color: #696d76;
    text-align: center;
}

#recommendSection,
#headerRecommendSection {
    border-right: 1px solid #d8dbe1;
}

/* 추천검색어 돋보기 아이콘 */
/*#recommendSection .suggest-list li {
  position: relative;
  padding: 10px 10px 10px 34px;
}
#recommendSection .suggest-list li::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background-color: #757575;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}*/
/*
#popularSection .suggest-list li {
  padding: 10px 10px 10px 15px;
}
*/
#popularSection .suggest-list li span {
    color: #757575;
    /*margin-right: 5px;*/
}

/* 통합검색 키워드 제안 */
.integrated-search .srch-kywd-suggest {
    top: 60px;
    font-size: 16px;
}
.integrated-search .suggest-content {
    padding: 20px;
}
.integrated-search .suggest-head .title,
.integrated-search .suggest-head .delete-all,
.integrated-search .recent-empty {
    font-size: 14px;
}
.integrated-search .recent-list li,
.integrated-search .suggest-list li {
    padding: 5px 5px 10px;
}
