@charset "utf-8";

/* NotoSansKR */
@font-face {
    font-family: "NotoSansKR";
    src: url("../fonts/NotoSansKR-Regular.woff2") format("woff2"),
    url("../fonts/NotoSansKR-Regular.woff") format("woff"),
    url("../fonts/NotoSansKR-Regular.otf") format("opentype");
    font-style: normal;
    font-weight: lighter;
}

@font-face {
    font-family: "NotoSansKR";
    src: url("../fonts/NotoSansKR-Medium.woff2") format("woff2"),
    url("../fonts/NotoSansKR-Medium.woff") format("woff"),
    url("../fonts/NotoSansKR-Medium.otf") format("opentype");
    font-style: normal;
    font-weight: normal;
}

@font-face {
    font-family: "NotoSansKR";
    src: url("../fonts/NotoSansKR-Bold.woff2") format("woff2"),
    url("../fonts/NotoSansKR-Bold.woff") format("woff"),
    url("../fonts/NotoSansKR-Bold.otf") format("opentype");
    font-style: normal;
    font-weight: bold;
}

/* 함수 */
:root {
    --black: #191919;
    --white: #fff;
    --gray: #3d3d3d;
    --gray2: #333333;
    --gray3: #7f7f7f;
    --gray4: #fafafa;
    --primary: #182382;
    --secondary: #7686D0;
}

/* reset */
*,
*:before,
*:after {
    line-height: 1.2;
    box-sizing: border-box;
    word-break: break-all;
}

html, body, div, span, iframe, object, embed, h1, h2, h3, h4, h5, h6, dl, dt, dd, ul, ol, li,
a, abbr, address, b, bdo, blockquote, cite, code, del, dfn, p, pre, em, i, ins, kbd, q, s, samp, strong, sub, sup, u, var,
img, map, area, form, fieldset, legend, input, textarea, select, button, label, keygen, table, caption, thead, tbody, tfoot, tr, th, td,
article, aside, audio, bdi, canvas, datalist, details, dialog, figcaption, figure, footer, header, main, mark, menu, menuitem, meter,
nav, output, progress, section, rp, rt, ruby, summary, time, video, wbr, hr {
    margin: 0;
    padding: 0;
}

html, body {
    width: 100%;
    height: 100%;
    font-size: 10px;
}

body {
    font: 1rem/1 system, "NotoSansKR", "Open Sans", -apple-system, "San Francisco", "Helvetica Neue", "Lucida Grande", "Segoe UI", "Tahoma", "Roboto", sans-serif;
    font-weight: normal;
    color: #191919;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
}

article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary {
    display: block;
}

h1, h2, h3, h4, h5, pre, input, button, select, textarea {
    font: inherit;
}

input, button, select, textarea {
    color: inherit;
    vertical-align: middle;
    /* appearance: none;
    -webkit-appearance: none; */
    border-radius: 0;
    -webkit-tap-highlight-color: transparent;
    vertical-align: middle;
}

input:active,
input:focus,
textarea:active,
textarea:focus,
select:active,
select:focus,
button:active,
button:focus {
    outline: 0;
}

button:disabled {
    pointer-events: none;
}

a {
    color: inherit;
    text-decoration: none;
}

input, select, label, img, button {
    vertical-align: middle;
}

input[type="text"]::-ms-clear {
    display: none;
}

table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    border-spacing: 0;
}

img, fieldset {
    border: 0;
    max-width: 100%;
}

ol, ol li, ul, ul li {
    list-style: none;
}

a, button, label {
    cursor: pointer;
}

button {
    border: 0;
    background: transparent;
    outline: 0;
    -webkit-tap-highlight-color: transparent;
}

button::-moz-focus-inner {
    padding: 0;
    border: 0;
}

button:focus {
    outline: 0;
}

i, em, address {
    font-style: normal;
}

:disabled {
    -webkit-text-fill-color: inherit;
    opacity: 1;
}

:disabled + label {
    -webkit-tap-highlight-color: transparent;
}

/* scroll bar */
.filter_wrap *::-webkit-scrollbar {
    width: 0.6rem;
    height: 0.6rem;
    border-radius: 0.3rem;
    background-color: #f8f8f8;
}

.filter_wrap *::-webkit-scrollbar-thumb {
    width: 0.6rem;
    height: 0.6rem;
    border-radius: 0.3rem;
    background-color: #eeeeee;
}

.filter_wrap *::-webkit-scrollbar-track {
    width: 0.6rem;
    height: 0.6rem;
    border-radius: 0.3rem;
    background-color: #f8f8f8;
}

/* common */
.tag_only {
    overflow: hidden;
    position: absolute;
    margin: -1px 0 0 -1px;
    width: 1px;
    height: 1px;
    clip: rect(0, 0, 0, 0) !important;
}

.ellipsis {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ellipsis2 {
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* 딤 */
.bg_dim {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 500;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    background-color: rgba(0, 0, 0, 0.7);
}

/* 로딩 */
.bg_dim_loading {
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

.bg_dim_loading .loading_bar {
    display: flex;
    justify-content: center;
    align-items: center;
}

.bg_dim_loading .loading_bar::before {
    content: '';
    display: block;
    width: 3.8rem;
    height: 3.8rem;
    background: url('../images/ico_loading1.svg') no-repeat center / 100%;
    position: absolute;
    top: calc(50% - 1.3rem);
    left: calc(50% - 1.3rem);
    transform: translate(-50%, -50%);
    animation: loading1 3s linear infinite;
}

.bg_dim_loading .loading_bar::after {
    content: '';
    display: block;
    width: 3.8rem;
    height: 3.8rem;
    background: url('../images/ico_loading2.svg') no-repeat center / 100%;
    position: absolute;
    top: calc(50% + 1.3rem);
    left: calc(50% + 1.3rem);
    transform: translate(-50%, -50%);
    animation: loading2 3s linear infinite;
}

@keyframes loading1 {
    0%, 20% {
        transform: translate(-50%, -50%) rotate(0deg)
    }
    30%, 40% {
        transform: translate(-50%, -50%) rotate(90deg)
    }
    50%, 60% {
        transform: translate(-50%, -50%) rotate(180deg)
    }
    70%, 80% {
        transform: translate(-50%, -50%) rotate(270deg)
    }
    90%, 100% {
        transform: translate(-50%, -50%) rotate(360deg)
    }
}

@keyframes loading2 {
    0%, 15% {
        transform: translate(-50%, -50%) rotate(360deg)
    }
    25%, 35% {
        transform: translate(-50%, -50%) rotate(270deg)
    }
    45%, 55% {
        transform: translate(-50%, -50%) rotate(180deg)
    }
    65%, 75% {
        transform: translate(-50%, -50%) rotate(90deg)
    }
    85%, 100% {
        transform: translate(-50%, -50%) rotate(0deg)
    }
}

/* 팝업 */
.overflow_h {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.image_more_wrap {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

.image_more_wrap.active {
    display: block;
}

.imageMoreSwiper {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    height: auto;
    /*box-shadow: 0 0 2.4rem 0.2rem rgba(0, 0, 0, 0.25);*/
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.image_more_wrap .image_more_close {
    width: 2rem;
    height: 2rem;
    background: url('../images/ico_close_white.png') no-repeat center / 100%;
    position: absolute;
    top: 2.5rem;
    right: 3rem;
    z-index: 3;
}

.popup_wrap {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

.popup_wrap.active {
    display: block;
}

.popup_inner {
    display: flex;
    flex-direction: column;
    width: 90%;
    min-width: 26rem;
    max-width: 50rem;
    height: auto;
    background: var(--white);
    border-radius: 3rem;
    box-shadow: 0 0 2.4rem 0.2rem rgba(0, 0, 0, 0.25);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.popup_header {
    position: relative;
    padding: 2rem;
}

.popup_header h3 {
    width: 100%;
    font-size: 1.8rem;
    line-height: 3rem;
    padding-right: 4rem;
    text-align: center;
}

.popup_header .popup_close {
    width: 2rem;
    height: 2rem;
    background: url('../images/ico_close.svg') no-repeat center / 100%;
    position: absolute;
    top: 2.5rem;
    right: 3rem;
    z-index: 1;
}

.popup_cont {
    width: 80%;
    height: 26rem;
    margin: 0 auto;
    border: 1px solid var(--gray3);
    overflow-y: scroll;
    padding: 1.6rem;
    font-size: 1.4rem;
    line-height: 1.4;
}

.popup_cont p {
    font-size: 1.4rem;
    line-height: 1.4;
}

.popup_footer {
    padding: 2rem;
    margin: 0 auto;
}

.popup_footer .btn {
    width: 16rem;
    height: 3rem;
    margin: 0 auto;
}

.popup_footer .btn .btn_ui_txt {
    font-size: 1.4rem;
}

/* 알럿 */
.alert_wrap {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

.alert_wrap.active {
    display: block;
}

.alert_inner {
    display: flex;
    flex-direction: column;
    width: 90%;
    min-width: 26rem;
    max-width: 34rem;
    height: auto;
    background: var(--white);
    border-radius: 3rem;
    box-shadow: 0 0 2.4rem 0.2rem rgba(0, 0, 0, 0.25);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.alert_header {
    position: relative;
    padding: 2rem;
}

.alert_header h3 {
    width: 100%;
    font-size: 1.8rem;
    line-height: 3rem;
    padding-right: 4rem;
    text-align: center;
}

.popup_header {
    position: relative;
    padding: 2rem;
}

.alert_header .alert_close {
    width: 2rem;
    height: 2rem;
    background: url('../images/ico_close.svg') no-repeat center / 100%;
    position: absolute;
    top: 2rem;
    right: 2rem;
    z-index: 1;
}

.alert_cont {
    width: 100%;
    padding: 2rem;
    font-size: 1.4rem;
    line-height: 1.5;
    text-align: center;
}

.alert_footer {
    padding: 2rem;
    margin: 0 auto;
}

.alert_footer .btn {
    width: 12rem;
    height: 3rem;
}

.alert_footer .btn ~ .btn {
    margin-left: 1rem;
}

.alert_footer .btn .btn_ui_txt {
    font-size: 1.4rem;
}


@media all and (min-width: 480px) and (max-width: 768px) {
    /* 팝업 */
    .popup_inner {
        border-radius: 2rem;
    }

    .popup_header {
        padding: 1.6rem;
    }

    .popup_header h3 {
        font-size: 1.6rem;
        line-height: 2rem;
    }

    .popup_header .popup_close {
        width: 1.6rem;
        height: 1.6rem;
        top: 1.8rem;
        right: 2.8rem;
    }

    .popup_cont {
        width: 80%;
        height: 20rem;
        padding: 1rem;
        font-size: 1.2rem;
        line-height: 1.4;
    }

    .popup_cont p {
        font-size: 1.2rem;
        line-height: 1.4;
    }

    .popup_footer {
        padding: 1.6rem;
    }

    .popup_footer .btn {
        width: 14rem;
        height: 2.8rem;
    }

    .popup_footer .btn .btn_ui_txt {
        font-size: 1.4rem;
    }

    /* 알럿 */
    .alert_inner {
        border-radius: 2rem;
    }

    .alert_header {
        padding: 1.6rem;
    }

    .alert_header h3 {
        font-size: 1.6rem;
        line-height: 2rem;
    }

    .alert_header .alert_close {
        width: 1.6rem;
        height: 1.6rem;
        top: 1.8rem;
        right: 2.8rem;
    }

    .alert_cont {
        padding: 1.6rem;
        font-size: 1.2rem;
        line-height: 1.5;
    }

    .alert_footer {
        padding: 2rem;
    }

    .alert_footer .btn {
        width: 12rem;
        height: 3rem;
    }

    .alert_footer .btn ~ .btn {
        margin-left: 1rem;
    }

    .alert_footer .btn .btn_ui_txt {
        font-size: 1.4rem;
    }
}

@media all and (max-width: 480px) {
    /* 팝업 */
    .popup_inner {
        border-radius: 1.4rem;
    }

    .popup_header {
        padding: 1rem;
    }

    .popup_header h3 {
        font-size: 1.4rem;
        padding-right: 3rem;
    }

    .popup_header .popup_close {
        width: 1.4rem;
        height: 1.4rem;
        top: 1.8rem;
        right: 1.8rem;
    }

    .popup_cont {
        width: 84%;
        height: 20rem;
        padding: 0.6rem;
        font-size: 1.1rem;
        line-height: 1.4;
    }

    .popup_cont p {
        font-size: 1.1rem;
        line-height: 1.4;
    }

    .popup_footer {
        padding: 1rem;
    }

    .popup_footer .btn {
        width: 10rem;
        height: 2.4rem;
    }

    .popup_footer .btn .btn_ui_txt {
        font-size: 1.1rem;
    }

    /* 알럿 */
    .alert_inner {
        border-radius: 1.4rem;
    }

    .alert_header {
        padding: 1rem;
    }

    .alert_header h3 {
        line-height: 2rem;
        font-size: 1.4rem;
        padding-right: 3rem;
    }

    .alert_header .alert_close {
        width: 1.4rem;
        height: 1.4rem;
        top: 1.4rem;
        right: 1.8rem;
    }

    .alert_cont {
        padding: 1.6rem;
        font-size: 1.2rem;
        line-height: 1.5;
    }

    .alert_footer {
        padding: 1rem;
    }

    .alert_footer .btn {
        width: 10rem;
        height: 2.4rem;
    }

    .alert_footer .btn ~ .btn {
        margin-left: 0.6rem;
    }

    .alert_footer .btn .btn_ui_txt {
        font-size: 1.1rem;
    }
}
