@charset "utf-8";
/* =====================================================================
 * hnlab 헤더 리디자인 (휴온빌더 hn.css 의 헤더 규칙을 덮어씀)
 *  - 흰 배경 + 옅은 그림자, 로고 + 부제, 산세리프 글로벌 메뉴(활성: 주황 밑줄)
 *  - 2차 메뉴는 헤더 아래 전체폭 띠, 유틸/검색은 작고 정돈된 형태
 * 색상: 청록 #1d7891 (브랜드), 주황 #FF8000 (강조, 좌측 로컬메뉴와 통일)
 * ===================================================================== */
#headerWrap {
    background:#fff !important; background-image:none !important;
    border-bottom:0; box-shadow:0 1px 0 #e3e8ea, 0 2px 8px rgba(0,0,0,.04);
    position:relative; z-index:20;
    font-family:'Malgun Gothic','Apple SD Gothic Neo','Noto Sans KR',sans-serif;
}
#header { height:130px; }

/* 로고 */
h1#logo { left:0; top:34px; width:auto; height:auto; line-height:1; margin:0; text-align:left; }
h1#logo a:link, h1#logo a:visited {
    display:block; font-family:inherit; font-size:27px; font-weight:800; letter-spacing:-.6px;
    color:#1d6f86; text-decoration:none;
}
h1#logo a:hover { color:#155566; }
h1#logo a:after {
    content:"Laboratory of Genome Biology \00B7  Konkuk University"; display:block; margin-top:10px;
    font-size:10.5px; font-weight:400; letter-spacing:.4px; color:#8a979c; text-transform:uppercase;
}

/* 유틸 메뉴 (상단 우측, 작게) */
#utilMenu { right:214px; top:10px; width:auto; height:auto; }
#utilMenu ul { display:flex; flex-direction:row-reverse; align-items:center; }
#utilMenu li { float:none; display:flex; align-items:center; }
#utilMenu li + li:after { content:""; width:1px; height:9px; background:#d5dcdf; margin:0 1px; }
#utilMenu a, #utilMenu a.util { padding:0 8px; font-size:11px; letter-spacing:.3px; color:#7d8a8f; }
#utilMenu a strong { font-weight:600; color:#4a5a60; }
#utilMenu a:hover { color:#1d7891; text-decoration:none; }
#utilMenu .small { font-size:10px; color:#a3aeb2; margin-left:1px; }

/* 검색 */
#search { right:0; top:6px; width:200px; height:auto; }
#searchForm { position:relative; }
#searchForm #stx {
    box-sizing:border-box; width:200px; height:26px; padding:0 30px 0 12px;
    border:1px solid #d9e1e4; border-radius:13px; background:#f7f9fa;
    font-size:12px; color:#333; transition:border-color .15s, background .15s;
}
#searchForm #stx:focus { outline:0; border-color:#1d7891; background:#fff; }
#searchForm .hn_sch_btn {
    position:absolute; right:3px; top:3px; width:22px; height:20px; padding:0; border:0;
    background:transparent; color:#7d8a8f; cursor:pointer; font-size:12px;
}
#searchForm .hn_sch_btn:hover { color:#1d7891; }

/* 글로벌 메뉴 */
#globalMenu { left:auto; right:0; bottom:auto; top:44px; width:auto; height:auto; font-family:inherit; }
#globalMenu ul { margin:0; text-align:right; display:flex; }
#globalMenu li { display:block; margin:0 0 0 6px; position:relative; }
#globalMenu li.first { margin-left:0; }
#globalMenu li a:link, #globalMenu li a:visited,
#globalMenu .normal a:link, #globalMenu .normal a:visited,
#globalMenu .active a:link, #globalMenu .active a:visited, #globalMenu .active a:hover {
    display:block; padding:6px 12px 24px; font-family:inherit; font-size:14.5px; font-weight:700;
    letter-spacing:.4px; color:#33434a; text-decoration:none; position:relative;
}
#globalMenu li a:after {
    content:""; position:absolute; left:12px; right:12px; bottom:0; height:3px; border-radius:2px 2px 0 0;
    background:#FF8000; transform:scaleX(0); transition:transform .18s ease;
}
#globalMenu li a:hover { color:#1d7891; }
#globalMenu li a:hover:after { transform:scaleX(.6); background:#bcd7df; }
#globalMenu .active a:link, #globalMenu .active a:visited, #globalMenu .active a:hover { color:#1d7891; }
#globalMenu .active a:after, #globalMenu .active a:hover:after { transform:scaleX(1); background:#FF8000; }

/* 2차 메뉴: 헤더 아래 전체폭 띠 */
#globalSubMenu {
    left:0; right:0; bottom:0; height:36px;
    background:#f4f7f8; box-shadow:0 0 0 100vmax #f4f7f8; clip-path:inset(0 -100vmax);
    border-top:1px solid #e6ecee;
}
#globalSubMenu > div { height:36px; }
.globalSub, #globalSubMenu .globalSub { background:transparent; padding:0; border-radius:0; }
#globalSubMenu ul { display:flex; align-items:center; height:36px; margin:0; white-space:nowrap; }
#globalSubMenu li { display:flex; align-items:center; padding:0; border:0; }
#globalSubMenu li + li:before { content:""; width:3px; height:3px; border-radius:50%; background:#c3cfd3; margin:0 4px; }
#globalSubMenu li a:link, #globalSubMenu li a:visited,
#globalSubMenu li.normal a:link, #globalSubMenu li.normal a:visited {
    display:block; padding:0 10px; line-height:36px; font-size:12.5px; color:#56666c; text-decoration:none;
}
#globalSubMenu li a:hover, #globalSubMenu li.normal a:hover { color:#1d7891; }
#globalSubMenu li.active a:link, #globalSubMenu li.active a:visited, #globalSubMenu li.active a:hover {
    color:#1d7891; font-weight:700; box-shadow:inset 0 -2px 0 #1d7891;
}

/* 페이지 경로(breadcrumb) */
#historyPath { margin:14px 0 0; text-align:right; font-family:inherit; font-size:11px; color:#9aa6aa; letter-spacing:.2px; }
#historyPath a:link, #historyPath a:visited { color:#9aa6aa; font-size:11px; }
#historyPath a:hover { color:#1d7891; }
/* ul 폭을 내용만큼 (스크립트가 메뉴 아래 가운데로 위치시킴) */
#globalSubMenu ul { display:inline-flex; }

/* 2차 메뉴 항목이 많을 때(LAB BOARD 13개) 스크립트가 붙이는 압축 모드 */
#globalSubMenu .globalSub.is-compact li + li:before { margin:0 1px; }
#globalSubMenu .globalSub.is-compact li a:link, #globalSubMenu .globalSub.is-compact li a:visited { padding:0 6px; font-size:11.5px; letter-spacing:-.1px; }

/* 2차 메뉴가 없는 페이지(홈 등): 띠 자리는 그대로 두고(내용을 덮지 않음) 평소엔 투명,
   글로벌 메뉴에 마우스를 올렸을 때만 그 자리에 2차 메뉴 표시 */
#headerWrap.hn_nosub #globalSubMenu { background:transparent; box-shadow:none; border-top-color:transparent; transition:background .15s; }
#headerWrap.hn_nosub #globalSubMenu.is-open { background:#f4f7f8; box-shadow:0 0 0 100vmax #f4f7f8; border-top-color:#e6ecee; }
#globalSubMenu .globalSub.is-tight li + li:before { width:1px; height:9px; border-radius:0; margin:0; background:#d3dcdf; }
#globalSubMenu .globalSub.is-tight li a:link, #globalSubMenu .globalSub.is-tight li a:visited { padding:0 5px; font-size:11px; letter-spacing:-.2px; }

/* 비회원에게 숨기는 글로벌 메뉴 (LAB BOARD) — 자리 번호 유지를 위해 출력은 하고 감춤 */
#globalMenu li.hn_guest_hide { display:none !important; }
