@charset "utf-8";

@font-face {
    font-family: 'pretendard';
    src: url('../font/Pretendard-1.3.9/web/static/woff2/Pretendard-Regular.woff2') format('woff2'),
         url('../font/Pretendard-1.3.9/web/static/woff/Pretendard-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}










/* Common */

body, p, h1, h2, h3, h4, h5, h6, ul, ol, li, dl, dt, dd, table, th, td, form, fieldset, legend, input, textarea, button, select {
    margin: 0;
    padding: 0;
    -webkit-text-size-adjust: none;
}
body, html {
    width: 100%;
    height: 100%;
    min-width: 940px; /* main_body의 width와 동일하게. */
    //background-color: #eeeeee;
    background-repeat: no-repeat;
}
body, input, textarea, select, button, table {
    font-family: 'pretendard';
    font-size: 12px;
    -webkit-font-smoothing: antialiased;
}
img, fieldset, button {
    border: 0;
}
ul, ol {
    list-style: none;
}
em, address {
    font-style: normal;
}
a {
    text-decoration: none;
}
a:hover, a:active, a:focus {
    text-decoration: none;
}
.blind {
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 1px;
    font-size: 0;
    line-height: 0
}
.edge {
    position: absolute;
    top: 12px;
    right: 4px;
    width: 0;
    height: 0;
    border-width: 0 8px 8px;
    border-style: solid;
    border-color: transparent transparent #333;
}
.clear {
    clear: both;
}










/* layout.css */

#main_body { /* 가운데 정렬과 전체크기를 조절하기 위한 CSS */
    margin-left : auto; /* 왼쪽바깥여백 자동 */
    margin-right : auto; /* 오른쪽바깥여백 자동 */
    width : 940px; /* main_content의 padding만큼 개산해서 넓히기. (body, html의 min-width와 동일하게) */
    //box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.main_body_empty_space {
    width : 100%;
    height : 30px;
}










/*  header */

header {

}

#header_bg {
    position: absolute; /* 또는 fixed 가능 */
    width: 100%;       /* 브라우저 전체 폭 */
    height: 60px;       /* header_top 높이와 동일 */
    background-color: #336edc;
    //z-index: -1;         /* 내용을 뒤로 보내기 */
}

#header_top {
    width : 100%;
    height : 60px;
    display: flex;
    align-items: center;
    //background-color: #336edc;
    position: relative;
}

#header_top div,
#header_top a {
    text-decoration: none;
    color: white;  /* 링크 기본 색상 */
}

#header_top_logo {
    margin : 0px 70px 0px 60px;
    font-size : 22px;
    font-weight: bold;
}

#header_top_menu {
    font-size : 14px;
}





/*  header - 상단 메뉴 */

#header_top_menu ul {
    list-style-type: none;  /* 기본 점 스타일 제거 */
    margin: 0;
    padding: 0;
    display: flex;  /* li 요소들을 옆으로 나열 */
}

#header_top_menu li {
    position: relative; /* submenu 위치 기준 */
    display: flex;
    align-items: center;
    padding-left: 0px;   /* 항목 간 간격 설정 */
    padding-right: 0px;  /* 항목 간 간격 설정 */
    margin-left: 0px;  /* 항목 간 간격 설정 */
    margin-right: 0px;  /* 항목 간 간격 설정 */
}

#header_top_menu a {
    text-decoration: none;
    //color: black;  /* 링크 기본 색상 */
    padding: 18px 12px 18px 12px;
    margin : 2px;
}

#header_top_menu .on a {
    font-weight: bold; /* 텍스트 굵기 */
    //color: black;  /* 링크 기본 색상 */
}





/*  header - 상단 메뉴 - 서브메뉴 */

#header_top_menu .submenu {
    display: none;
    position: absolute;
    top: 100%; /* 부모 바로 아래에 위치 */
    left: 0;
    font-size: 13px;
//    background-color: #fff4fa;
    background-color: #ffffff;
    border: 1px solid #cce8ff;
    //border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    z-index: 999;
    min-width: 160px;
    padding: 0px;
}

#header_top_menu .submenu li {
    display: block;
    margin: 0;
}

#header_top_menu .submenu a {
    display: block;
    padding: 10px;
    color: black;
    font-weight: normal; /* 굵기 해제 */
    text-decoration: none;
    white-space: nowrap;
}

#header_top_menu .submenu .on a {
    font-weight: bold; /* 텍스트 굵기 */
}

#header_top_menu .submenu .on a::after { /* 서브메뉴에서는 하단 밑줄 금지 */
    left: 0px;
    right: 0px;
    height: 0px;
    background-color: #ffffff;
    border-radius: 0px;
}

#header_top_menu .submenu a:hover {
    background-color: #cce6ff;
}

/* 마우스를 올렸을 때 드롭다운 표시 */
#header_top_menu li:hover .submenu {
    display: block;
}





/*  header - 로그인 */

#header_top_login {
    margin : 0px 0px 0px auto; /* 남은 공간을 밀어넣어 오른쪽 끝으로 배치 */
    font-size : 12px;
}

#header_top_login .before_login{
    list-style-type: none;  /* 기본 점 스타일 제거 */
    display: flex;  /* li 요소들을 옆으로 나열 */
    margin-right: 6px;
}

#header_top_login .before_login li{
    //border: 1px solid #cce8ff;
    border: 1px solid #7facff;
    border-radius: 4px;
    padding: 5px 0px 5px 0px;
    margin-left: 8px;
    margin-right: 8px;
}

#header_top_login .before_login li a{
    padding: 20px 12px 20px 12px;
    margin : 0px;
}

#header_top_login .after_login{
    list-style-type: none;  /* 기본 점 스타일 제거 */
    display: flex;  /* li 요소들을 옆으로 나열 */
    margin-right: 6px;
}

#header_top_login .after_login li{
    position: relative;     /* submenu 위치 기준 */
    display: flex;          /* li 안을 flex로 */
    align-items: center;    /* 세로 가운데 정렬 */
    margin-left: 8px;
    margin-right: 8px;
}

#header_top_login .after_login li a{
    padding: 8px;
}







/* 프로필 서브메뉴 */

#header_top_login .submenu {
    display: none;
    position: absolute;
    top: 100%; /* 부모 바로 아래에 위치 */
    Right: -14px;
    font-size: 13px;
    background-color: #ffffff;
    border: 1px solid #cce8ff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    z-index: 999;
    min-width: 160px;
    padding: 0px;
}

#header_top_login .submenu li {
    display: block;
    margin: 2px;
}

#header_top_login .submenu a {
    display: block;
    padding: 10px !important;
    color: black;
    font-weight: normal; /* 굵기 해제 */
    text-decoration: none;
    white-space: nowrap;
}

#header_top_login .submenu .on a {
    font-weight: bold; /* 텍스트 굵기 */
}

#header_top_login .submenu .on a::after { /* 서브메뉴에서는 하단 밑줄 금지 */
    left: 0px;
    right: 0px;
    height: 0px;
    background-color: #ffffff;
    border-radius: 0px;
}

#header_top_login .submenu a:hover {
    background-color: #cce6ff;
}

/* 마우스를 올렸을 때 드롭다운 표시 */
#header_top_login li:hover .submenu {
    display: block;
}










/*  header - 배너 */

#header_banner {
    width : 100%;
    //background-color: #439630;
}










/*  main */

main {
    display: inline-block;
    width : 100%;
    height : 100%;
    background-color: white;
}

#main_content {
    padding : 20px;
}










/*  footer */

footer {
    width : 100%;
    height : 80px;
    color: #999999;
}

#main_footer {
    width : 100%;
    height : 100%;
    /* padding : 20px;*/
    display: flex;
    justify-content: center;    /* 수평으로 가운데 정렬 */
    align-items: center;        /* 세로로 가운데 정렬 */
    flex-direction: column;     /* 자식 요소들을 세로 방향으로 배치 */
}

#main_footer_menu {
    width : 100%; 
    margin : 4px 0px;
    display: flex;
    justify-content: center;    /* 수평으로 가운데 정렬 */
}

#main_footer_menu a{
    color: #999999;
}

#main_footer_menu ul {
    list-style-type: none;  /* 기본 점 스타일 제거 */
    margin : 0px;
    padding : 0px;
    display: flex;  /* li 요소들을 옆으로 나열 */
}

#main_footer_menu ul li {
    margin : 0px 4px 0px 4px;
    padding : 0px 4px 0px 4px;
}



#main_footer_text {
    width : 100%;
    margin : 4px 0px;
    display: flex;
    justify-content: center;    /* 수평으로 가운데 정렬 */
}
