@charset "utf-8";


/* 재검색 영역 */
.re-search-container .re-search-wrap { position: fixed; top: 80px; left: 50%; width: 1200px; cursor: pointer; transform: translateX(-50%); z-index: 9999; }
.re-search-container .re-search-wrap .re-search-btn { padding: 5px 20px; background: #d4e1f4; border-bottom: 1px solid #637b9e; border-radius: 0 0 5px 5px; }
.re-search-container .re-search-wrap .re-search-btn:after {content: '여기를 누르면 검색 조건을 재조정할 수 있습니다.';position:absolute;top:4px;left:50%;transform:translateX(-50%);font-size:1.2rem;color: #899ab4;}
.re-search-container .re-search-wrap .re-search-btn .tit { color: #0d3268; }
.re-search-container .re-search-wrap .re-search-btn .tit img { width: 14px; height: 14px; position: relative; top: 3px; margin-right: 5px; }
.re-search-container .re-search-wrap .re-search-btn .tit .lang { padding: 1px 5px; border-radius: 3px; background: #0d3268; color: #d4e1f4; font-weight: 600; font-size: 1rem; margin-right: 3px; }
.re-search-container .re-search-wrap .re-search-btn .tit .keyword { font-weight: 600; margin-right: 3px; max-width: 230px; line-height: 13px; display: inline-block; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; }
.re-search-container .re-search-wrap .re-search-btn .btn-arrow { width: 60px; height: 14px; position: absolute; bottom: -13px; left: 50%; margin-left: -30px; background: #d4e1f4; border-radius: 0 0 5px 5px; border-bottom: 1px solid #637b9e; text-align: center; cursor: pointer;}
.re-search-container .re-search-wrap .re-search-btn .btn-arrow img { width: 8px; height: 6px; position: relative;top: 4px; }

/* 재검색 레이어 오픈 */
.re-search-container .re-search-wrap .re-search-area { display: none; }
.re-search-container.open { position: fixed; overflow: hidden; top: 80px; left: 0; height: 100%; width: 100%; background: rgba(0,0,0,0.5); z-index: 9999; }
.re-search-container.open .re-search-wrap { cursor: unset; }
.re-search-container.open .re-search-wrap .re-search-btn { padding: 0; height: 15px; border-bottom: 0; border-radius: 0; }
.re-search-container.open .re-search-wrap .re-search-btn:after { display: none; }
.re-search-container.open .re-search-wrap .re-search-btn .tit { display: none; }
.re-search-container.open .re-search-wrap .re-search-area { display: block; background: #fff; border-bottom: 15px solid #d4e1f4; border-radius: 0 0 5px 5px; height: 82vh; overflow: hidden; }
.re-search-container.open .re-search-wrap .re-search-btn .btn-arrow img { transform: rotate(180deg); }

/* 재검색 검색영역 */
.re-search-container .search-header-area { position: static; left: auto; top: auto; padding: 30px; }
.re-search-container .quick-search { width: 100%; margin-top: 0; padding: 0; }
.re-search-container .quick-search .search-bar { float: left; width: calc(100% - 285px); height: 40px; font-size: 1.4rem; }
.re-search-container .quick-search .search-bar input[type=text] { font-size: 1.3rem; }
.re-search-container .quick-search .search-btn-area { float: left; width: 210px; }
.re-search-container .quick-search .search-btn-area button { height: 40px; }
.re-search-container .quick-search .locale { width: 75px; padding-right: 15px; float: left; line-height: 40px; }
.re-search-container .quick-search .locale .flag { width: 25px; height: 25px; display: inline-block; line-height: 22px; background: #293c76; border-radius: 50%; overflow: hidden; vertical-align: middle; }
.re-search-container .quick-search .locale .flag img { width: 100%; vertical-align: middle; }
.re-search-container .quick-search .locale .language { display: inline-block; line-height: 25px; vertical-align: middle; margin-left: 5px; font-size: 1.4rem; }
.re-search-container .quick-search .search-history { width: 100%; float: left; }
.re-search-container .quick-search .search-history .history { width: 1000px; }
.re-search-container .complex-search-area { padding-top: 10px; overflow-y: auto; height: 100%; }
.re-search-container .complex-search-area .complex-search { width: 100%; padding-bottom: 60px; }


/* ipc, cpc 분류 검색 레이어팝업 */
.re-search-container.detail-search-pop { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 9999; }
.re-search-container.detail-search-pop .detail-search { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 780px; max-height: 80vh; background: #fff; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,0.15); }
.re-search-container.detail-search-pop .detail-search.large { width: 1060px; max-height: 93vh;}
.re-search-container.detail-search-pop .detail-search.large .tree-wrap { height: 660px;}
.re-search-container.detail-search-pop .detail-search .head { position: relative; padding: 20px 30px; border-bottom: 1px solid #dee3eb; }
.re-search-container.detail-search-pop .detail-search .head h3 { font-size: 1.8rem; }
.re-search-container.detail-search-pop .detail-search .head a.close { position: absolute; top: 28px; right: 30px; }
.re-search-container.detail-search-pop .detail-search .head a.close:hover { opacity: .7; }
.re-search-container.detail-search-pop .detail-search .head a.close img { width: 12px; height: 12px; }
.re-search-container.detail-search-pop .quick-search { padding: 20px; border-bottom: 1px solid #dee3eb; }
.re-search-container.detail-search-pop .quick-search .search-bar input[type=text] { width: 100%; height: 100%; border: none; background: none; outline: 0; padding: 0 20px; font-size: 1.3rem; letter-spacing: 0; background: #f8f8f8; border-radius: 4px; overflow: hidden; transition: background .25s ease; border: 1px solid #dee3eb; }
.re-search-container.detail-search-pop .quick-search .search-bar input[type=text]:hover,
.re-search-container.detail-search-pop .quick-search .search-bar input[type=text]:focus,
.re-search-container.detail-search-pop .quick-search .search-bar input[type=text]:active { background: #fff; border-color: #9CA4B1; }
.re-search-container.detail-search-pop .quick-search .lang-select { float: right; margin-top: 20px; }
.re-search-container.detail-search-pop .quick-search .lang-select span.tt { font-size: 1.1rem; margin-right: 5px; }

/*  트리 메뉴 */
.tree-wrap { width: 100%; height: 415px; overflow-y: auto; border-bottom: 1px solid #dee3eb; padding: 10px 20px; }
.tree-wrap.new { padding: 0 10px 20px;}
.tree-wrap .tree { margin: 0; padding: 0; list-style: none; }
.tree-wrap .tree li { position: relative; padding-top: 8px; }
.tree-wrap .tree li .item { position: relative; padding-left: 40px; }
.tree-wrap .tree li .item .find { font-weight: 600; color: #1652f0; }
.tree-wrap .tree > li > .item { margin-left: 5px; }
.tree-wrap .tree ul { position: relative; margin: 0 0 0 1em; padding: 0; list-style: none; }
.tree-wrap .tree ul:before { content: ""; position: absolute; top: 0; bottom: 0; left: -1px; border-left: 1px dotted rgba(0, 0, 0, 0.3); }                               
.tree-wrap .tree ul li { padding-left: 1.5em; }
.tree-wrap .tree ul li:before { content: ""; position: absolute; top: 1em; left: 0; width: 1em; height: 1px; border-top: 1px dotted rgba(0, 0, 0, 0.3); }
.tree-wrap .tree ul li:last-child:before { background-color: white; height: auto; top: 1em;  left: -1px; bottom: 0; }
.tree-wrap .tree ul ul { margin-left: 0.5em; }
.tree-wrap .tree li ul { display: none; }
.tree-wrap .tree li.on > ul { display: block; }
.tree-wrap .tree li .checkbox { position: absolute; left: 15px; top: 0; z-index: 1; display: block; }
.tree-wrap .tree li .checkbox .custom-check-input:checked + .custom-check-label { display: block; }
.tree-wrap .tree li .tree-on-off-toggle { display: inline-block; width: 7px; height: 9px; overflow-y: hidden; border: none; background: none; outline: 0; vertical-align: top; position: absolute; z-index: 1; left:1px; top:4px; background: url(../../img/search/tree_on_off_img.png) no-repeat; background-position: bottom; background-size: 7px; }
.tree-wrap .tree li.on > .item .tree-on-off-toggle { background-position: top; }
.custom-check-input { display: none; }
.custom-check-label { position: relative; height: 15px; width: 15px; display: inline-block; }
.custom-check-label:before { width: 15px; height: 15px; background: url(../../img/search/checkbox_img.png) no-repeat; background-size: 15px 30px; background-position: top; display: block;  cursor: pointer; overflow: hidden; position: absolute; content: ''; top: 7px; left: 0; margin-top: -8px; }
.custom-check-input:checked + .custom-check-label:before { width: 15px; height: 15px; background: url(../../img/search/checkbox_img.png) no-repeat; background-size: 15px 30px; background-position: bottom; top: 11px; }

/* 선택한 코드 */
.re-search-container.detail-search-pop .detail-search .foot { padding: 20px; }
.re-search-container.detail-search-pop .detail-search .selected-area { float: left; width: calc(100% - 215px); margin-right: 15px; position: relative; }
.re-search-container.detail-search-pop .detail-search .selected-area .title { float: left; line-height: 35px; width: 90px; text-align: center; background: #000f38; border-radius: 3px; color: #fff; margin-right: 10px; }
.re-search-container.detail-search-pop .detail-search .selected-area .code-area {  float: left; position: relative; width: calc(100% - 100px); line-height: 35px; border-radius: 3px; background: #f1f1f1; padding-left: 15px; padding-right: 30px; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; }
.re-search-container.detail-search-pop .detail-search .selected-area span.code { margin: 2px 0; margin-right: 10px; color: #000f38; word-break: keep-all; line-height: 25px; }
.re-search-container.detail-search-pop .detail-search .selected-area .code-area .text-more { position: absolute; right: 10px; top: 8px; width: 17px; height: 17px; border-radius: 3px; background: #dfe4ec; cursor: pointer; }
.re-search-container.detail-search-pop .detail-search .selected-area .code-area .text-more:after { content: ''; position: absolute; top: 7px; left: 5px; border-top: 4px solid #666; border-left: 3.5px solid transparent; border-right: 3.5px solid transparent; }
.re-search-container.detail-search-pop .detail-search .selected-area .text-open { display: none; float: right; margin-top: 5px; width: calc(100% - 100px); background: #f1f1f1; max-height: 60px; padding: 5px 15px; border-radius: 3px; overflow-y: auto; }
.re-search-container.detail-search-pop .detail-search .selected-area.open .text-open { display: block; }
.re-search-container.detail-search-pop .detail-search .selected-area.open .code-area .text-more:after { border-top: 0; border-bottom: 4px solid #666; border-left: 3.5px solid transparent; border-right: 3.5px solid transparent; }


/* ipc 신규 tree 레이어팝업 */
.new-pop { padding: 20px 30px 30px 30px; background: #F5F5F5; border-radius: 0px 0px 10px 10px;}
.new-pop .box-section { background: #fff; border: 1px solid #DEE3EB; margin-bottom: 50px;}
.new-pop .box-section .quick-search { padding: 20px 20px 10px;}
.new-pop .box-section.mg-bottom { margin-bottom: 15px;}
.new-pop .box-section.mg-bottom-0 { margin-bottom: 0;}


.re-search-container.detail-search-pop .new-pop .box-top { position: relative; top: 2px; display: flex; align-items: center; justify-content: space-between;}
.re-search-container.detail-search-pop .new-pop .box-top.right { justify-content: flex-end;}
.re-search-container.detail-search-pop .new-pop .box-top .select-view { font-size: 12px; font-weight: 400; padding-bottom: 10px;}
.re-search-container.detail-search-pop .new-pop .box-top .select-view .num { font-weight: 600; color: #1652F0;}
.re-search-container.detail-search-pop .new-pop .box-top ul { position: relative; display: flex;}
.re-search-container.detail-search-pop .new-pop .box-top ul li a { position: relative; display: flex; align-items: center; gap: 5px; font-size: 1.4rem; padding: 11px 18px 11px; color: #666; border-radius: 3px;  display: block; font-weight: 600;}
.re-search-container.detail-search-pop .new-pop .box-top ul li a .svg { position: relative; top: 2px;}
.re-search-container.detail-search-pop .new-pop .box-top ul li.on a { background: #ffffff; border: 1px solid #E2E7F3; border-bottom: none; border-radius: 3px 3px 0px 0px;  color: #1652F0;}
.re-search-container.detail-search-pop .new-pop .box-top ul li.on a .svg { top: 1px; filter: invert(30%) sepia(92%) saturate(2426%) hue-rotate(209deg) brightness(98%) contrast(104%);}
.re-search-container.detail-search-pop .new-pop .box-section .quick-search { border-bottom: none;}
.re-search-container.detail-search-pop .new-pop .box-section .quick-search .search-bar { width: calc(100% - 210px);}
.re-search-container.detail-search-pop .new-pop .box-section .foot .select-area { display: flex; flex-wrap: wrap; align-items: center; gap: 3px;}
.re-search-container.detail-search-pop .new-pop .box-section .foot .select-area .select { display: flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 3px; cursor: pointer; background: #DEE3EB;}
.re-search-container.detail-search-pop .new-pop .box-section .foot .select-area .select .text { font-size: 12px; font-weight: 500; color: #717472;}

@media(max-width: 1920px) { 
  .re-search-container.detail-search-pop .detail-search.large { width: 960px; max-height: 93vh;}
  .re-search-container.detail-search-pop .detail-search.large .tree-wrap { height: 350px;}
  .new-pop .box-section { margin-bottom: 40px;}
  .new-pop .box-section.mg-bottom { margin-bottom: 10px;}
}
