@font-face {
    font-family: 'Pretendard';
    font-weight: 100;
    font-style: normal;
    src: url('/fonts/pretendard/Pretendard-Thin.eot');
    src: url('/fonts/pretendard/Pretendard-Thin.eot?#iefix')
            format('embedded-opentype'),
        url('/fonts/pretendard/Pretendard-Thin.woff2')
            format('woff2'),
        url('/fonts/pretendard/Pretendard-Thin.woff')
            format('woff'),
        url('/fonts/pretendard/Pretendard-Thin.ttf')
            format('truetype');
    font-display: swap;
}
@font-face {
    font-family: 'Pretendard';
    font-weight: 200;
    font-style: normal;
    src: url('/fonts/pretendard/Pretendard-ExtraLight.eot');
    src: url('/fonts/pretendard/Pretendard-ExtraLight.eot?#iefix')
            format('embedded-opentype'),
        url('/fonts/pretendard/Pretendard-ExtraLight.woff2')
            format('woff2'),
        url('/fonts/pretendard/Pretendard-ExtraLight.woff')
            format('woff'),
        url('/fonts/pretendard/Pretendard-ExtraLight.ttf')
            format('truetype');
    font-display: swap;
}
@font-face {
    font-family: 'Pretendard';
    font-weight: 300;
    font-style: normal;
    src: url('/fonts/pretendard/Pretendard-Light.eot');
    src: url('/fonts/pretendard/Pretendard-Light.eot?#iefix')
            format('embedded-opentype'),
        url('/fonts/pretendard/Pretendard-Light.woff2')
            format('woff2'),
        url('/fonts/pretendard/Pretendard-Light.woff')
            format('woff'),
        url('/fonts/pretendard/Pretendard-Light.ttf')
            format('truetype');
    font-display: swap;
}
@font-face {
    font-family: 'Pretendard';
    font-weight: 400;
    font-style: normal;
    src: url('/fonts/pretendard/Pretendard-Regular.eot');
    src: url('/fonts/pretendard/Pretendard-Regular.eot?#iefix')
            format('embedded-opentype'),
        url('/fonts/pretendard/Pretendard-Regular.woff2')
            format('woff2'),
        url('/fonts/pretendard/Pretendard-Regular.woff')
            format('woff'),
        url('/fonts/pretendard/Pretendard-Regular.ttf')
            format('truetype');
    font-display: swap;
}
@font-face {
    font-family: 'Pretendard';
    font-weight: 500;
    font-style: normal;
    src: url('/fonts/pretendard/Pretendard-Medium.eot');
    src: url('/fonts/pretendard/Pretendard-Medium.eot?#iefix')
            format('embedded-opentype'),
        url('/fonts/pretendard/Pretendard-Medium.woff2')
            format('woff2'),
        url('/fonts/pretendard/Pretendard-Medium.woff')
            format('woff'),
        url('/fonts/pretendard/Pretendard-Medium.ttf')
            format('truetype');
    font-display: swap;
}
@font-face {
    font-family: 'Pretendard';
    font-weight: 600;
    font-style: normal;
    src: url('/fonts/pretendard/Pretendard-SemiBold.eot');
    src: url('/fonts/pretendard/Pretendard-SemiBold.eot?#iefix')
            format('embedded-opentype'),
        url('/fonts/pretendard/Pretendard-SemiBold.woff2')
            format('woff2'),
        url('/fonts/pretendard/Pretendard-SemiBold.woff')
            format('woff'),
        url('/fonts/pretendard/Pretendard-SemiBold.ttf')
            format('truetype');
    font-display: swap;
}
@font-face {
    font-family: 'Pretendard';
    font-weight: 700;
    font-style: normal;
    src: url('/fonts/pretendard/Pretendard-Bold.eot');
    src: url('/fonts/pretendard/Pretendard-Bold.eot?#iefix')
            format('embedded-opentype'),
        url('/fonts/pretendard/Pretendard-Bold.woff2')
            format('woff2'),
        url('/fonts/pretendard/Pretendard-Bold.woff')
            format('woff'),
        url('/fonts/pretendard/Pretendard-Bold.ttf')
            format('truetype');
    font-display: swap;
}
@font-face {
    font-family: 'Pretendard';
    font-weight: 800;
    font-style: normal;
    src: url('/fonts/pretendard/Pretendard-ExtraBold.eot');
    src: url('/fonts/pretendard/Pretendard-ExtraBold.eot?#iefix')
            format('embedded-opentype'),
        url('/fonts/pretendard/Pretendard-ExtraBold.woff2')
            format('woff2'),
        url('/fonts/pretendard/Pretendard-ExtraBold.woff')
            format('woff'),
        url('/fonts/pretendard/Pretendard-ExtraBold.ttf')
            format('truetype');
    font-display: swap;
}
@font-face {
    font-family: 'Pretendard';
    font-weight: 900;
    font-style: normal;
    src: url('/fonts/pretendard/Pretendard-Black.eot');
    src: url('/fonts/pretendard/Pretendard-Black.eot?#iefix')
            format('embedded-opentype'),
        url('/fonts/pretendard/Pretendard-Black.woff2')
            format('woff2'),
        url('/fonts/pretendard/Pretendard-Black.woff')
            format('woff'),
        url('/fonts/pretendard/Pretendard-Black.ttf')
            format('truetype');
    font-display: swap;
}

* {
    font-family: 'Pretendard', sans-serif;
    color: #303030;
}

@media (min-width: 769px) {
    body {
        max-width: 390px;
        margin: 0 auto;
    }
    #buy-tab,
    #back-bg,
    #buy-bottom,
    #result-bottom,
    #hd {
        max-width: 390px;
        margin: 0 auto;
    }
}

p {
    margin-bottom: 0;
}

.text-primary {
    color: #4b83f0 !important;
}
.text-secondary {
    color: #c2c2c2 !important;
}
.text-dark {
    color: #333333 !important;
}

#hd {
    position: absolute;
    top: 0;
    background: #fff;
    width: 100%;
    z-index: 1;
    box-shadow: 0px 4px 12px rgba(0, 18, 63, 0.04);
}
@import url(http://fonts.googleapis.com/earlyaccess/notosanskr.css);
#hd p {
    /* font-family: 'Noto Sans KR, san-serif'; */
}

.cart {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    /* height: 19px; */
}
.f-12 {
    font-size: 12px;
}
.f-20 {
    font-size: 20px;
}
.f-22 {
    font-size: 22px;
}

.btn {
    border-radius: 100px;
    background-color: #f7f8fb;
    border: 1px solid #dee4f5;
}
.btn-primary {
    background-color: #4b83f0;
    border: 1px solid #4b83f0;
}
.btn-primary.off {
    background-color: #c8cacb !important;
    border: 1px solid #c8cacb !important;
}
.top-margin {
    margin-top: 116px;
    /* margin-top: 62px; */
}

.tab {
    border-top: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
    padding: 13px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.wrapper {
    padding: 24px 16px;
}

.msg-bar {
    background: #f7f8fb;
    border-radius: 4px;
    padding: 10px 12px;
}

.subBar {
    background-color: #f8fbfe;
    padding: 8px 0;
    text-align: center;
    border-bottom: 1px solid #dee2e6;
}

.flex-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.flex-wrap > div {
    width: calc(50% - 5px);
    margin-bottom:10px;
}
.bg-option {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.square {
    width: 100%;
    padding-bottom: 100%;
}

.square.half {
    padding-bottom: 50%;
}

.square.thirds {
    padding-bottom: 33.33%;
}

.br-10 {
    border-radius: 10px;
}
.badge {
    border-radius: 4px;
    margin-right: 1px;
    align-items: center;
    display: flex;
}
.badge.pink {
    background-color: #ff7777;
    color: #fff;
}

.badge.red {
    background-color: #ff0000;
    color: #fff;
    text-align: center;
}

.text-through {
    text-decoration: line-through;
}

hr {
    margin: 0;
}

.color_gray {
    color: rgba(48, 48, 48, 0.5);
}

.f-13 {
    font-size: 13px;
}

.f-10 {
    font-size: 10px;
}
.f-15 {
    font-size: 15px;
}
.f-16 {
    font-size: 16px;
}
.f-14 {
    font-size: 14px;
}
.f-30 {
    font-size: 30px;
}
.f-18 {
    font-size: 18px;
}
.f-11 {
    font-size: 11px;
}
.wrapper_title {
    padding: 16px 16px;
    display: inline-block;
    border-bottom: 1px solid rgba(75, 131, 240, 0.5);
}
.border-bottom:last-child {
    border-bottom: 0 !important;
}
.span_bold span {
    font-weight: bold;
}
.f-14 {
    font-size: 14px;
}
.q_wrap_btoc {
    background: #f7f8fb;
    border-radius: 10px;
    padding: 23px;
}
.q_wrap_btoc_in {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.word-keep-all {
    word-break: keep-all;
}

#result-bottom {
    background: #ffffff;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.25);
    border-radius: 5px 5px 0px 0px;
    position: fixed;
    z-index: 1;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    padding: 15px;
}

#result-bottom .btn-primary {
    background: #4b83f0;
    border-radius: 2px;
    width: 50%;
    text-align: center;
    padding: 9px 0;
    cursor: pointer;
}

#result-bottom .price-text {
    font-size: 15px;
    color: #767474;
    text-align: left;
}

#result-bottom .hypr_dprice,
#result-bottom .totalPrice {
    font-size: 22px;
    color: #1d1d1b;
    font-weight: 600;
}

.rq {
    font-size: 13px;
    color: #ff0000;
}

#next_btn {
    color: #fff;
    background-color: #c8cacb;
    padding: 14.5px 0;
    text-align: center;
    border-radius: 2px;
}

#next_btn.on {
    background-color: #4b83f0;
}

#calendar-wrap {
    background-color: white;
    margin: 0px;
    margin: 0 auto;
}

.Calendar td {
    width: 50px;
    height: 50px;
}

.Calendar {
    text-align: center;
    width: 100%;
}

.Calendar > thead > tr:first-child > td {
    font-family: 'Questrial', sans-serif;
    font-size: 1.1em;
    font-weight: bold;
}

.Calendar > thead > tr:last-child > td {
    font-family: 'Questrial', sans-serif;
    font-weight: 600;
}

.Calendar > tbody > tr > td > p {
    border-radius: 90%;
    transition-duration: 0.2s;
    line-height: 42px;
    margin: 2.5px;
    display: block;
    text-align: center;
}

.pastDay {
    color: lightgray;
}

.today {
    background-color: #f5d042;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

.futureDay {
    background-color: #ffffff;
    cursor: pointer;
}
.futureDay:hover {
    background: #eee;
}

.futureDay.choiceDay,
.today.choiceDay {
    background: #4b83f0;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

#bottom-modal .modal-body {
    max-height: 300px;
    overflow: auto;
}

#bottom-modal .modal-body.auto-height {
    max-height: 400px;
}

#time-wrap .inner {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
}
.time-div {
    background: #fff;
    border-radius: 2px;
    padding: 10px 0;
    width: calc(33.33% - 18px);
    margin-bottom: 10px;
    border: 1px solid #f2f2f2;
    border-radius: 2px;
    text-align: center;
}

.time-block {
    width: calc(33.33% - 18px);
    padding: 10px 0;
}

.time-div.on {
    color: #fff;
    background-color: #4b83f0;
    border: 1px solid #4b83f0;
}

.order_box {
    background: #ffffff;
    border: 1px solid #f2f2f2;
    border-radius: 4px;
    padding: 16px;
}

.order_text {
    font-style: normal;
    font-weight: 400;
    font-size: 13px;
    line-height: 18px;
    /* or 138% */

    color: #9e9e9e;
    margin-top: 8px;
}

.order_price {
    font-weight: 700;
    font-size: 16px;
    line-height: 19px;
    /* identical to box height */

    color: #1d1d1b;
}

.order_item {
    padding: 0 22px 0;
}

.order_bar {
    border-bottom: 10px solid #f2f2f2;
    margin: 24px 0;
}

.let_sp {
    letter-spacing: -1px;
}

.required {
    margin-left: 5px;
    font-size: 12px;
    color: #dc3545;
}
.required.not {
    margin-left: 5px;
    font-size: 12px;
    color: #000;
}
