/*===========================================================================
	웹폰트
============================================================================*/

/* 폰트 */
@font-face {
    font-family: 'Pretendard';
    font-weight: 100;
    font-style: normal;
    src: url('../fonts/Pretendard-Thin.otf') format("truetype");
    font-display: swap;
}
@font-face {
    font-family: 'Pretendard';
    font-weight: 200;
    font-style: normal;
    src: url('../fonts/Pretendard-ExtraLight.otf') format("truetype");
    font-display: swap;
}
@font-face {
    font-family: 'Pretendard';
    font-weight: 300;
    font-style: normal;
    src: url('../fonts/Pretendard-Light.otf') format("truetype");
    font-display: swap;
}
@font-face {
    font-family: 'Pretendard';
    font-weight: 400;
    font-style: normal;
    src: url('../fonts/Pretendard-Regular.otf') format("truetype");
    font-display: swap;
}
@font-face {
    font-family: 'Pretendard';
    font-weight: 500;
    font-style: normal;
    src: url('../fonts/Pretendard-Medium.otf') format("truetype");
    font-display: swap;
}
@font-face {
    font-family: 'Pretendard';
    font-weight: 600;
    font-style: normal;
    src: url('../fonts/Pretendard-SemiBold.otf') format("truetype");
    font-display: swap;
}
@font-face {
    font-family: 'Pretendard';
    font-weight: 700;
    font-style: normal;
    src: url('../fonts/Pretendard-Bold.otf') format("truetype");
    font-display: swap;
}
@font-face {
    font-family: 'Pretendard';
    font-weight: 800;
    font-style: normal;
    src: url('../fonts/Pretendard-ExtraBold.otf') format("truetype");
    font-display: swap;
}
@font-face {
    font-family: 'Pretendard';
    font-weight: 900;
    font-style: normal;
    src: url('../fonts/Pretendard-Black.otf') format("truetype");
    font-display: swap;
}
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    src: url('../fonts/Montserrat-VariableFont_wght.ttf') format("truetype");
    font-display: swap;
}
@font-face {
    font-family: 'xeicon';
    font-style: normal;
    src: url('../fonts/xeicon.ttf') format("truetype");
    font-display: swap;
}

/*===========================================================================
	CSS 초기화
============================================================================*/
* { font-family: "Pretendard", sans-serif; box-sizing:border-box; margin:0; padding:0; word-break: keep-all; line-height: 1.2;}
html, body, div, object, iframe, h1, h2, h3, h4, h5, h6, p, em, img, b, dl, dt, dd, ol, ul, li, form, label, legend, caption, article, aside, footer, header, menu, nav, section, video {border:0; outline:0; font-size: 16px; color:#202020; }
html { scroll-behavior: smooth; }
body { line-height:1; -ms-overflow-style: none; width: 100%; }
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section {display:block;}
ul, ol, li {list-style:none;}
a {margin:0; padding:0; font-size:100%; line-height: 100%; display: block; text-decoration: none; color:#202020; }
pre { font-family: "Pretendard", sans-serif; white-space: pre-line; line-height: 1.2; }
img {width: 100%;}
input, select {vertical-align:middle; outline:0; border: 0; background: none; font-family: "Pretendard", sans-serif;}
input::-webkit-outer-spin-button, input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
input[type="file"], input[type="checkbox"], input[type="radio"] { display: none; }
input[type="date"] { appearance: none; -webkit-appearance: none; -moz-appearance: none; text-align: left; } 
input::-webkit-date-and-time-value { text-align: left; }
select { appearance: none; background-image: url(../images/icon_arrow_down.png); background-repeat: no-repeat; background-position: right 8px center; background-size: 18px; width: 100%; min-width: 100%; }
select option { width: 100%; }
select option[value="disabled"][disabled] {display: none;}
label { cursor: pointer; }
button {cursor:pointer; border: 0; outline: 0; background: none; color:#202020; }
textarea { border: 0; outline: 0; resize: none; font-family: "Pretendard", sans-serif;}
i { font-family: 'xeicon'; font-style: normal; color: inherit; line-height: inherit; }

/* 콘텐츠 공통 */
#wrap { position: relative; }
main { width: 100%; min-height: calc( 100dvh - 217px ); }
.col-group {display:flex;}
.col-group.wrap { flex-flow: wrap; }
.row-group {display:flex; flex-flow: column;}
.container { width: 100%; margin: 0 auto; max-width: 1312px; padding-left: 16px; padding-right: 16px; }
.container.w1440 { max-width: 1440px; }
.container.w1280 { max-width: 1280px; }
.container.w1080 { max-width: 1080px; }
.img-container { width: 100%; position: relative; }
.img-container img, .img-container video { position: absolute; width: 100%; height: 100%; object-fit: cover; left: 0; top: 0; right: 0; bottom: 0; object-position: center; }

::-webkit-scrollbar { width: 2px; height: 2px; }
::-webkit-scrollbar-track { background: #a8a8a8; }
::-webkit-scrollbar-thumb { background: #0088db; border-radius: 4px;}

.blue { color: #0031b8; }
.red { color: #f72f2f; }
.green { color: #0088db; }
.lightgreen { color: #00ff44; }
.yellow { color: #fcdb00; }
.dagr { color: #636363; }
.gray { color: #999999; }

.pc { display: block; }
.mb { display: none; }

.mon { font-family: "Montserrat", sans-serif; }

@media screen and (max-width:1280px) {
    main { min-height: calc( 100dvh - 56px - 280px ); }

    .pc:not(img) { display: none; }
    .mb:not(img) { display: block; }
}
@media screen and (max-width:840px) {
    img.pc { display: none; }
    img.mb { display: block; }
}

/* header */
#header {  width: 100%; position: relative; z-index: 99999; transition: .3s; }
#header * { transition: .3s; }
.header-top { background: #0088db; }
.header-top .container { display: flex; align-items: center; justify-content: flex-end; gap: 48px; }
.header-top-btn { line-height: 40px; font-size: 16px !important; color: #fff !important; }
.header-top-btn:not(:last-child) { position: relative; }
.header-top-btn:not(:last-child)::after { content: ''; display: block; position: absolute; width: 1px; height: 12px; background: #fff; right: -24px; top: 50%; transform: translate(-50%, -50%); }

.header-wrap { height: 88px; width: 100%; position: relative; display: flex; justify-content: space-around; align-items: center; background: #fff; border-bottom: 1px solid transparent; }
.header-wrap .container { display: flex; justify-content: space-between; align-items: center; }
.header-wrap .logo a { width: 220px; height: 40px; background-image: url(../images/logo.png); background-repeat: no-repeat; background-size: contain; }
.gnb-wrap { gap: 40px; }
.gnb-wrap, .gnb-group { display: flex; justify-content: flex-end; width: 100%; }
.gnb-item, .sub-gnb-item { width: 100%; max-width: 168px; }
.gnb-item.home-menu { max-width: 48px; }
.gnb-title { width: 100%; text-align: center; font-size: 18px !important; display: flex; height: 88px; align-items: center; gap: 4px; justify-content: center; cursor: pointer; white-space: nowrap; }
.gnb-title i { transition: 0s !important; }
.side-gnb-group { display: flex; gap: 40px; }
.side-gnb-item { display: flex; height: 88px; align-items: center; opacity: 0.7; }
.side-gnb-title { font-size: 16px !important; }

.sub-gnb-wrap { padding: 32px 0 40px; transform: translateY(-100%); background-color: #fff; position: absolute; top: 0; width: 100%; z-index: -1; transition: .4s !important; transition-delay: .1s; box-shadow: 0 3px 5px 0 rgba(0, 0, 0, 0.16); }
.sub-gnb-group { display: flex; padding-right: 140px; justify-content: flex-end; }
.sub-gnb-item { display: flex; flex-flow: column; text-align: center; align-items: center; gap: 24px; font-size: 16px; font-weight: 300; }
.sub-gnb-title { font-size: 16px !important; }

#header.active .header-wrap { background: #fff; }
#header.active .header-wrap { border-bottom: 1px solid #e4e4e4; }
#header.active .header-wrap .logo a { background-image: url(../images/logo.png); }
#header.active .gnb-title { color: #222; }
#header.active .toggle-btn { color: #222; }
#header.active .sub-gnb-wrap { transform: translateY(128px); }

.mb-header-btn-wrap { display: none; }

@media screen and (max-width:1280px) {
    #header { position: fixed; top: 0; }
    .header-top .container { justify-content: center; gap: 32px; }
    .header-top-btn { line-height: 32px; font-size: 13px !important; }
    .header-top-btn:not(:last-child)::after { height: 10px; right: -16px; }
    
    .header-wrap { height: 48px; }
    .header-wrap .logo a { width: 174px; height: 32px; }
    .gnb-wrap { display: none; }
    
    .sub-gnb-wrap { display: none;}

    .mb-header-btn-wrap { display: flex; align-items: center; gap: 16px; }
    .mb-header-btn-wrap i { font-size: 20px; }
}

/* sitemap */
.site_map { position: fixed; left: 0; top: 0; right: 0; bottom: 0; z-index: 999999; width: 100%; height:100vh; transform: translateX(100%); transition: .5s !important; background-color: #fff; }
.site_map.active { transform: translateX(0); }
.sm-top { background-color: #0088db; padding: 16px; position: relative; display: flex; flex-flow: column; gap: 24px; }
.sm-top .logo { width: 174px; height: 32px; object-fit: contain; object-position: left center; }
.sm-top .header-top-btn-wrap { display: flex; align-items: center; gap: 16px; }
.sm-top .header-top-btn { line-height: 1; }
.sm-top .header-top-btn:not(:last-child)::after { right: -8px; }
.sm-top .close-btn { color: #fff; font-size: 24px; top: 16px; right: 16px; }
.sm-content { display: flex; height: calc( 100vh - 101px - 157px ); }
.sm-content .item-default-wrap { width: 125px; background-color: #f5f5f5; padding: 16px 0; }
.sm-content .item-default { width: 100%; line-height: 48px; border-radius: 24px; padding: 0 16px; font-size: 14px; transition: .2s; }
.sm-content .item-default.active { background-color: #0088db; color: #fff; transform: translateX(16px); }
.sm-content .item-user-wrap { display: none; width: calc( 100% - 125px ); padding: 24px 32px; }
.sm-content .item-user-wrap.active { display: block; }
.sm-content .item-user-title { font-size: 16px; font-weight: 500; padding-bottom: 16px; border-bottom: 1px solid #0088db; margin-bottom: 16px; }
.sm-content .item-user { padding: 10px 0; font-size: 14px; }
.sm-btm { border-top: 1px solid #f5f5f5; }
.sm-btm .side-gnb-group { padding: 16px; border-bottom: 1px solid #F5F5F5; gap: 48px; }
.sm-btm .side-gnb-item { height: auto; font-size: 14px; position: relative;}
.sm-btm .side-gnb-item:not(:last-child)::after { content: ''; display: block; position: absolute; width: 1px; height: 12px; background: #aeaeae; right: -24px; top: 50%; transform: translate(-50%, -50%); }
.header-footer-wrap { padding: 16px; display: flex; flex-flow: column; gap: 8px; }
.header-footer-wrap .txt { font-size: 14px; font-weight: 500; }
.header-footer-wrap .title { font-size: 28px; font-weight: bold; color: #004b9a; }
.header-footer-wrap .sub-txt { font-size: 14px; color: #aeaeae; }

/* footer */
#footer { background-color: #484848; }
#footer .container { position: relative; }
.footer-btn-wrap { padding: 24px 0; gap: 56px; border-bottom: 1px solid #e4e4e4; }
.footer-btn { font-size: 16px !important; font-weight: 500; color: #fff !important; }
.footer-btn:hover { text-decoration: underline; }
.footer-wrap { padding: 24px 0 40px; display: flex; flex-flow: column; gap: 24px; }
.footer-txt { font-size: 14px; font-weight: 300; color: #fff; line-height: 1.7; }
.footer-txt .pc { display: inline-block; }
.footer-copy-txt { font-size: 14px; font-weight: 300; opacity: .5; color: #fff; }
.footer-logo { width: 175px; opacity: .6; }

@media screen and (max-width:1280px) {
    .footer-btn-wrap { padding: 16px 0; gap: 24px; }
    .footer-btn { font-size: 14px !important; }
    .footer-wrap { padding: 16px 0 24px; gap: 16px; }
    .footer-txt { font-size: 13px; }
    .footer-txt .pc { display: none; }
    .footer-copy-txt { font-size: 12px; }
}

/* pagination */
.pagination { justify-content: center; margin-top: 56px; align-items: center; }
.pagination .page-nav-btn { width: 40px; height: 40px; line-height: 40px; text-align: center; font-size: 20px; margin: 0 8px; }
.pagination .page-btn { width: 40px; height: 40px; line-height: 40px; text-align: center; font-size: 17px; font-weight: 300; color: #333; border-radius: 50%; transition: .2s; }
.pagination .page-btn.active { background: #333; color: #fff; }
.modal-content-wrap > .pagination { margin-top: 0; }

@media screen and (max-width: 1280px) {
    .pagination { margin-top: 24px; }
    .pagination .page-nav-btn { width: 32px; height: 32px; line-height: 32px;font-size: 18px; margin: 0 4px; }
    .pagination .page-btn { width: 32px; height: 32px; line-height: 32px; font-size: 14px; }
}

/* top btn */
#top_menu { position: fixed; right: 56px; bottom: 48px; z-index: 99999; }
.top-btn-wrap { display: flex; flex-flow: column; gap: 8px; align-items: flex-end; }
.Top_Scroll_btn { width: 72px; height: 72px; border-radius: 100%; box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.16); background-color: #fff; display: flex; align-items: center; justify-content: center; opacity: 0; transition: .3s; position: relative; }
.Top_Scroll_btn.active { opacity: 1; }
.Top_Scroll_btn i { font-size: 24px; color: #003167; z-index: 2; }
.Top_Scroll_btn .progress_bar { width: 100%; height: 100%; border-radius: 50%; position: absolute; left: 0; top: 0; z-index: 0; }
.Top_Scroll_btn .progress_bar::before { content: ''; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 90%; height: 90%; background-color: #fff; border-radius: 100%; }

.top-toggle-btn-wrap { position: relative; }
.top-toggle-btn { width: 72px; height: 72px; box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.16); background: #003167; text-align: center; border-radius: 50%; cursor: pointer; }
.top-toggle-btn .icon { line-height: 72px; font-size: 32px; color: #fff; }
.top-toggle-btn .icon.xi-minus { display: none; }
.top-toggle-btn-wrap.active .icon.xi-minus { display: block; }
.top-toggle-btn-wrap.active .icon.xi-plus { display: none; }
.top-toggle-wrap { width: 72px; position: absolute; padding: 20px 4px; box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.16); background-image: linear-gradient(to bottom, #0a55a7, #0088db); border-radius: 36px; bottom: 80px; overflow: hidden; height: 72px; bottom: 0; z-index: -1; transition: .3s; }
.top-toggle-wrap.init { transition: none !important; }
.top-toggle-btn-wrap.active .top-toggle-wrap { bottom: 80px; height: 688px; } 
.top-toggle-item { height: 72px; display: flex; align-items: center; justify-content: center; text-align: center; font-size: 15px !important; font-weight: bold; color: #fff !important; cursor: pointer; line-height: 1.2; }
.top-toggle-item:not(:last-child) { border-bottom: 1px dashed rgba(255, 255, 2550, 0.5); }

@media screen and (max-width: 1280px) {
    #top_menu { right: 16px; bottom: 64px; }
    .Top_Scroll_btn { width: 48px; height: 48px; }
    .Top_Scroll_btn i { font-size: 20px; }
    
    .top-toggle-btn { width: 48px; height: 48px; }
    .top-toggle-btn .icon { line-height: 48px; font-size: 20px; }
    .top-toggle-wrap { width: 48px; position: absolute; padding: 16px 0; border-radius: 28px; bottom: 0; right: 0; height: 48px; }
    .top-toggle-btn-wrap.active .top-toggle-wrap { width: 120px; bottom: 56px; height: 320px; }
    .top-toggle-item { height: 32px; font-size: 13px !important; font-weight: 500; }
}