@charset "utf-8";

/*
 * 파일명: helpTitle.css
 * 설명: 도움말 제목줄. 새 창(전국영상)과 화면 안 모달(우리동네 낙뢰정보)이 함께 쓴다.
 *
 *       ★ 왜 따로 뺐는가 ★
 *         같은 '화면 도움말' 인데 한쪽은 파란 제목줄, 다른 쪽은 흰 제목줄이면 이용자에게는
 *         다른 기능으로 보인다. 두 화면 CSS 에 같은 규칙을 각각 적어 두면 한쪽만 고쳐지므로
 *         제목줄 몫만 여기로 모은다.
 *
 *       구성: 왼쪽에 물음표 아이콘 + 제목(+ 화면명), 오른쪽 끝에 닫기(X).
 *       아이콘은 그림 파일이 아니라 화면(JSP)이 그리는 SVG 다 - 제목줄이 파란 바탕이라
 *       글자색(흰색)을 그대로 따라가야 하고(currentColor), 배율을 키워도 뭉개지지 않아야 한다.
 *       (화면 안 도움말 버튼에 쓰는 images/icon/que.gif 는 회색이라 이 바탕에서는 묻힌다)
 *
 *       쓰는 곳
 *         - site/radar/helpPop.jsp            새 창. div.help-tit 이 창 맨 윗줄이다
 *         - site/lightning/areaLightning.jsp  모달. div.help-tit 이 모달 머리말이다
 */

.help-tit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    width: 100%;
    height: 52px;
    padding: 0 11px 0 20px;
    background-color: #2d64a7;
    color: #fff;
}

/* common.css 의 h1~h6{display:inline-block; width:auto} 를 되돌린다. */
.help-tit-name {
    display: flex;
    align-items: center;
    width: auto;
    margin: 0;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: -1px;
}

/* 물음표 아이콘. 색은 제목 글자색을 따라간다(SVG 안에서 currentColor 로 받는다). */
.help-tit-ico {
    flex: 0 0 auto;
    margin-right: 8px;
}

/* 어느 화면의 도움말인지 */
.help-tit span {
    margin-left: 8px;
    font-size: 14px;
    font-weight: normal;
    color: #cfe0f5;
    letter-spacing: 0;
}

/* 닫기(X). 도움말은 글이 길어 끝까지 내려가지 않아도 닫을 수 있어야 한다. */
.help-tit-close {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0;
    background-color: transparent;
    border: 0;
    border-radius: 3px;
    color: #fff;
    cursor: pointer;
}

.help-tit-close:hover,
.help-tit-close:focus {
    background-color: rgba(255, 255, 255, 0.2);
    outline: none;
}
