@charset "utf-8";
@import url(https://fastly.jsdelivr.net/gh/moonspam/NanumSquare@2.0/nanumsquare.css);
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600&display=swap');

/* reset -------------------------------------------------------------------------------------------------------------------------- */
html, body, header, footer, main, section, article, div, table, thead, tbody, tfoot, tr, th, td, h1, h2, h3, h4, h5, h6, p, span, strong, small, ul, ol, li, dl, dt, dd, a, button, form, input, label, textarea, select, option, img, address {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
ul, ol, li { list-style: none; }
a { color: #333; text-decoration: none; }
address { font-style: normal; }
button {
    font-size: 16px;
    font-family: 'NanumSquareAc', "Malgun Gothic", sans-serif, "Times New Roman";
    background: none; 
    border: 0; 
    cursor: pointer;
}
img { 
    width: 100%; 
    vertical-align: middle;
}
input, textarea {
    font-family: 'NanumSquareAc', "Malgun Gothic", sans-serif, "Times New Roman";
    letter-spacing: -0.5px;
}
textarea { resize: vertical; }
input::placeholder,
textarea::placeholder { color: #B1B1B1; }
input:read-only:not([type="checkbox"]) { background-color: #F2F2F2; }
input:read-only::placeholder { color: var(--color03); }
input[type="checkbox"] {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    appearance: none;
    border: 1px solid #D1D1D1;
    border-radius: 0;
}
input[type="checkbox"]:checked {
    background: url(../images/check.svg) no-repeat center/70%;
    background-color: var(--color01) !important;
    border-color: var(--color01);
}
input:-webkit-autofill { -webkit-box-shadow: 0 0 0 30px white inset !important; }
input:focus,
textarea:focus { outline:none; }
input[type*="date"] {
    position: relative;
    width: 120px !important;
    text-align: center;
}
input[type*="date"]::-webkit-calendar-picker-indicator {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.select_wrap { 
    position: relative; 
    width: 150px;
    min-width: 150px;
    background: #fff url('../images/down_arrow.svg') no-repeat right 15px top 50%/10px auto;
    border: 1px solid #D1D1D1;
  }
select {
    width: 100%;
    padding: 11px 35px 11px 15px;
    color: #333;
    font-family: 'NanumSquareAc', "Malgun Gothic", sans-serif, "Times New Roman";
    font-size: 1rem;
    border: 0;
    appearance: none;
    background-color: transparent;
    letter-spacing: -0.5px;
    cursor: pointer;
}
option { font-family: 'NanumSquareAc', "Malgun Gothic", sans-serif, "Times New Roman"; }

table { width: 100%; border-collapse: collapse; }
tr { border-top: 1px solid #D1D1D1; border-bottom: 1px solid #D1D1D1; }
td, th { border-right: 1px solid #D1D1D1; }
td:last-child, th:last-child { border-right-width: 0; }

html, body {
    overflow-x: hidden;
    width: 100vw;
    height: 100vh;
    color: #333;
    font-size: 16px;
    font-family: 'NanumSquareAc', "Malgun Gothic", sans-serif, "Times New Roman";
    letter-spacing: -0.5px;
    word-spacing: -1.5px;
    line-height: 1;
    cursor: default;
}

/* 공통 클래스 --------------------------------------------------------------------------------------------------------- */
:root {
    --color01: #1C67D8;
    --color02: #07B178;
    --color03: #686868;
}

.f14 { font-size: 0.875rem; }
.f17 { font-size: 1.0625rem; }
.f18 { font-size: 1.125rem; }
.f20 { font-size: 1.25rem; }
.f24 { font-size: 1.5rem; }
.f28 { font-size: 1.75rem; }
.f32 { font-size: 2rem; }
.f36 { font-size: 2.25rem; }
.f40 { font-size: 2.5rem; }
.f48 { font-size: 3rem; }

.hidden { display: none !important; }
.m_only { display: none; }
.white { filter: brightness(0) invert(1); }

.container {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
}

.scroll_hide {
    -ms-overflow-style: none; /* 인터넷 익스플로러 */
    scrollbar-width: none; /* 파이어폭스 */
}
.scroll_hide::-webkit-scrollbar {  display: none; }

[class*="cm_btn"] {
    padding: 8px 16px;
    color: #fff;
    line-height: 1;
    background-color: var(--color01);
    cursor: pointer;
}
.cm_btn02 { background-color: var(--color02); }
.cm_btn03 {
    color: #FF0000;
    background-color: #fff;
    border: 1px solid #FF0000;
}
.cm_btn04 {
    color: var(--color01);
    background-color: #fff;
    border: 1px solid var(--color01);
}

.tag {
    display: flex;
    gap: 6px;
}
.tag span {
    width: fit-content !important;
    padding: 4px 10px;
    color: #898989;
    font-size: 15px;
    background-color: #F3F3F3;
    border-radius: 50px;
}

.cm_modal {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 100000;
}
.cm_modal .cm_modal_tit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 30px;
    color: #fff;
    background-color: #06a693;
}
.cm_modal_close { width: 15px; } 
.cm_modal_cont .tab {
    display: flex;
    margin-bottom: 30px;
    border-bottom: 1px solid #E1E1E1;
}
.cm_modal_cont .tab button {
    flex: 1 1 auto;
    color: var(--color03);
    padding: 10px;
}
.cm_modal_cont .tab button.active {
    color: #333;
    font-weight: bold;
    border-bottom: 1px solid transparent;
    border-image: linear-gradient(to right, #004ea1, #0079b4);
    border-image-slice: 1;
}
.cm_modal_content {
    overflow-y: auto;
    max-height: 70vh;
    padding: 30px;
    color: #333;
    font-size: 1rem;
    line-height: 1.5;
    background-color: #fff;
}
.cm_modal_cont .cm_modal_content .cm_btn01 {
    margin: 30px 0 0 auto;
    line-height: 1;
    background-color: #004ea1 !important;
    border-radius: 5px;
}
.cm_modal_bg {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    cursor: pointer;
}

/* 데이터피커 */
.daterangepicker { font-family: 'NanumSquareAc', "Malgun Gothic", sans-serif, "Times New Roman" !important; z-index: 10000 !important; }
.daterangepicker tr { border: 0; }
.daterangepicker th.month { font-size: 0.9rem !important; }
.daterangepicker .calendar-table thead tr:first-of-type {
  height: 38px !important;
  background-color: #06a693;
  border-radius: 0;
}
.daterangepicker .calendar-table .next span, .daterangepicker .calendar-table .prev span { border-color: #fff !important; }
.daterangepicker .calendar-table th, .daterangepicker .calendar-table td {
  width: 35px !important;
  height: 32px !important;
  line-height: 32px !important;
  border: 0 !important;
  border-radius: 0 !important;
}
.daterangepicker td.available:hover, .daterangepicker th.available:hover {
    color: #fff;
    background-color: #06a693;
    border-radius: 30px !important;
}
.daterangepicker select {
  width: auto !important;
  padding: 5px 18px 5px 0 !important;
  font-size: 14px !important;
  background: url(../images/down_arrow_w.svg) no-repeat right center/8px;
  border-radius: 0;
}
.daterangepicker select.monthselect { margin-right: 20px !important; }
.daterangepicker .calendar-table thead tr:first-of-type select { color: #fff; }
.daterangepicker .calendar-table thead tr:first-of-type select option { color: #333; }
.daterangepicker.show-calendar .drp-buttons {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #eee;
}
.daterangepicker.show-calendar .custom-text { margin: 0 0 0 auto !important; font-weight: bolder; }
.daterangepicker.drop-up:after { border-top-color: #eee !important; }
.daterangepicker .drp-selected { font-size: 13px !important; }
.daterangepicker .drp-buttons .btn {
  padding: 8px 12px !important;
  font-weight: normal !important;
}
.daterangepicker .drp-buttons .cancelBtn {
  margin-left: auto !important;
  color: #FF0000;
  background-color: #fff;
  border: 1px solid #FF0000;
}
.daterangepicker .drp-buttons .applyBtn {
  margin-left: 0 !important;
  color: #fff;
  background-color: var(--color01);
  border: 1px solid var(--color01);
}
.daterangepicker td.in-range { background-color: #FFF5F5 !important; }
.daterangepicker td.active, .daterangepicker td.active:hover {
  color: #fff !important;
  background-color: #FF0000 !important;
}
.daterangepicker td.start-date.end-date { border-radius: 20px !important; }
.daterangepicker td.start-date { border-radius: 20px 0 0 20px !important; }
.daterangepicker td.end-date { border-radius: 0 20px 20px 0 !important; }
.daterangepicker .calendar-time { margin-bottom: 8px !important; }
.daterangepicker select.hourselect, .daterangepicker select.minuteselect, .daterangepicker select.secondselect, .daterangepicker select.ampmselect {
  padding: 5px 20px !important;
  background-color: #fff !important;
}

/* header/footer 공통 */
header .container,
footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* header --------------------------------------------------------------------------------------------------------- */
header {
    padding: 30px 0;
    background-color: #fff;
    box-shadow: 0 4px 6px 0 rgba(0, 0, 0, 0.05);
}
.user_header { position: sticky; top: 0; z-index: 10000; }
header h1 { width: 250px; }
header h1 a { display: block; }
header h1 img { width: auto; max-width: 100%; max-height: 50px; }
header nav>ul {
    display: flex;
    align-items: center;
    gap: 33px;
}
header nav>ul>li {
    position: relative;
    padding: 8px 17px;
}
header nav>ul>li:not(.outlink):hover,
header nav>ul>li:not(.outlink).active>a,
header nav>ul>li:not(.outlink):hover>a { color: var(--color01); }
header nav>ul>li.outlink>a { border-radius: 4px; }
header nav>ul>li.outlink>a::after {
    content: "";
    display: inline-block;
    width: 13px;
    height: 17px;
    margin-left: 12px;
    vertical-align: middle; 
    background: url(../images/menu_ico.svg) no-repeat center center/contain;
}
header nav>ul>li p { cursor: pointer; }
header nav>ul>li .sub {
    display: none;
    position: absolute;
    left: 0;
    top: calc(100% + 0px);
    min-width: 100%;
    text-align: center;
}
header nav>ul>li .sub::before {
    content: "";
    position: absolute;
    left: 0;
    top: -42.39px;
    width: 100%;
    height: calc(100% + 47.39px);
    background-color: #fff;
    border-radius: 5px;
    z-index: -1;
}
header nav>ul>li .sub li a {
    display: inline-block;
    padding: 10px;
    color: #686868;
}
.full_page .user_header {
    position: fixed;
    width: 100%;
    background-color: transparent;
    box-shadow: none;
}
.full_page .user_header h1 { filter: brightness(0) invert(1); }
.full_page .user_header nav>ul>li>a, .full_page .user_header nav>ul>li:hover>a,
.full_page .user_header nav>ul>li>p, .full_page .user_header nav>ul>li:hover>p:not(.active) { color: #fff; }
.full_page header nav>ul>li p.active { color: #333 !important; }

/* footer --------------------------------------------------------------------------------------------------------- */
footer {
    padding: 50px 0;
    color: #BCB7B7;
    font-size: 13.5px;
    background-color: #333;
}

footer .f_logo { max-width: 210px; filter: grayscale(100%) invert(1) contrast(20%) brightness(100%); }
footer .f_logo img { max-height: 50px; }
footer address span {
    display: block;
    text-align: right;
    line-height: 1.5;
}
footer .copyright { margin-top: 18px; }
footer address strong a {
    margin-left: 10px;
    color: #ccc6c6;
}
footer .email_modal .cm_modal { max-width: 800px; }
footer .email_modal .cm_modal_content span {
    display: block;
    margin-top: 15px;
}


/* ----------------------------------------------------------------------------------------- @ 반응형 --------------------------------------------------------------------------------------------------------- */
@media (max-width: 1280px) {
    html, body { font-size: 14px; }
    .pc_only { display: none; }
    header h1 { line-height: 100%; }
    footer .f_logo img { max-height: 35px; }
    header nav>ul { gap: 0; }
}

@media (max-width: 1024px) {
    .f20 { font-size: 1.15rem; }
    .f24 { font-size: 1.35rem; }
    .f40 { font-size: 2.25rem; }

    .tag { width: max-content; }
    .tag span { font-size: 13.5px; }

    .cm_modal { max-width: 90%; }

    footer { padding: 30px 0; }
    footer .container {
        flex-direction: column;
        align-items: baseline;
        gap: 20px;
    }
    footer address span { text-align: left; }
    footer address strong { display: block; margin-top: 5px; }
    footer address strong a:first-of-type { margin-left: 0; }
}

@media (max-width: 768px) {
    .m_only { display: block; }
    html, body { line-height: 1.45; word-break: break-word; }

    .f36 { font-size: 1.85rem; }
    .f40 { font-size: 2.1rem; }

    .cm_modal { width: 90%; min-width: auto !important; }
    .cm_modal .cm_modal_tit, .cm_modal_content { padding: 20px; }
    .cm_modal .cm_modal_tit p { width: 90%; }
    .cm_modal_cont .cm_modal_content .cm_btn01 { margin-top: 20px; }

    header { padding: 15px 0; }
    header h1 { flex-basis: 180px; z-index: 1000; }
    header nav {
        display: none;
        position: fixed;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        padding: 80px 5%;
        background-color: #fff;
    }
    header nav>ul { flex-direction: column; align-items: inherit; }
    header nav>ul>li {
        padding: 0;
        font-size: 1.35rem;
        border-bottom: 1px solid #D1D1D1;
    }
    header nav>ul>li:first-child { border-top: 1px solid #D1D1D1; }
    header nav>ul>li:last-child { margin-top: 20px; padding-left: 0; border-bottom: 0; }
    header nav>ul>li a { display: block; padding: 20px 10px; }
    header nav>ul>li p { padding: 20px 10px; }
    header nav>ul>li .sub {
        position: relative;
        text-align: left;
        font-size: 1.15rem;
    }
    header .menu { width: 18px; z-index: 10; }

    .full_page header .menu img:first-of-type { filter: brightness(0) invert(1); }
    .full_page .user_header nav>ul>li:not(:last-child)>a, .full_page .user_header nav>ul>li>p { color: #333 !important; }
}
