:root {
    --main-color: #305CAD;
    --error-color: #FF5757;
    --success-color: #1A9D40;
    --red-color: #FF5151;
    --mint-color: #00C0DB;
    --sub-color: #2B4C9C;
    --highlight-color: #FFB400;
}

/* font */
@font-face {
    font-family: 'Paperlogy';
    src: url("/static/app_www_allcar/base/font/Paperlogy-4Regular.ttf") format('truetype');
    font-weight: 400;
}

@font-face {
    font-family: 'Paperlogy';
    src: url("/static/app_www_allcar/base/font/Paperlogy-7Bold.ttf") format('truetype');
    font-weight: 700;
}

@font-face {
    font-family: 'Paperlogy';
    src: url("/static/app_www_allcar/base/font/Paperlogy-8ExtraBold.ttf") format('truetype');
    font-weight: 800;
}

@font-face {
    font-family: 'Paperlogy';
    src: url("/static/app_www_allcar/base/font/Paperlogy-9Black.ttf") format('truetype');
    font-weight: 900;
}

/* pc */
#base_wrap {
    position: relative;
    width: 100%;
    height: 100dvh;
    padding-top: 64px;
    overflow-y: auto;
    overflow-x: hidden;
}

.inner {
    max-width: 1164px;
    padding: 0 16px;
    margin: 0 auto;
}

/* font color*/
.font_p {
    font-family: 'Paperlogy', sans-serif !important;
}

.mint_font {
    color: var(--mint-color) !important;
}

.blue_font {
    color: var(--main-color) !important;
}

.blue_font a {
    /* safari */
    color: var(--main-color);
}

.black_font {
    color: #444 !important;
}

.gray_font {
    color: #A8A8A8 !important;
}

.green_font {
    color: #00692A !important;
}

.error_font {
    color: #D20D0D;
}

.red_font {
    color: var(--red-color);
}

.purple_font {
    color: #6761CB;
}

/* font weight */
.bold {
    font-weight: 700 !important;
}


/* 마이페이지, 마이페이지 수정, 이용약관 */
#mypage_area,
#update_area,
#terms_area,
#board_container {
    max-width: 1148px;
    padding: 0 16px;
    margin: 0 auto;
    color: #333;
}

/* 화면 100% 맞춰서 높이 조절 */
#base_wrap>div.adjust_height {
    height: calc(100% - 63px);
    /* min-height: calc(100% - 63px); */
    overflow: auto;
}

body.scroll-lock {
    overflow: hidden !important;
}

.scroll-lock {
    overflow-y: hidden !important;
}

.scroll-no {
    /* 인터넷 익스플로러 스크롤바 삭제 */
    -ms-overflow-style: none;
    /* 파이어폭스 스크롤바 삭제 */
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

/* ( 크롬, 사파리, 오페라, 엣지 ) 스크롤바 삭제 */
.scroll-no::-webkit-scrollbar {
    /* 가로 스크롤바 숨기기 */
    width: 0;
    /* 세로 스크롤바 숨기기 */
    height: 0;
    display: none;
}

/* 텍스트 ... 처리 */
.text_reduce {
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.is_pc {
    display: block;
}

.is_mobile {
    display: none !important;
}

.hidden {
    display: none !important;
}

/* btn */
.btn_default {
    display: flex;
    border-radius: 10px;
    justify-content: center;
    align-items: center;
    gap: 0 8px;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
}

.btn_default.main_fill {
    background-color: var(--main-color);
    color: #fff;
}

.btn_default.sub_fill {
    background-color: var(--sub-color);
    color: #fff;
}

.btn_border {
    display: block;
    width: 100%;
    border-radius: 10px;
    border-width: 1px;
    border-style: solid;
    background-color: transparent;
    text-align: center;
    font-weight: 700;
    cursor: pointer;
}

.btn_border.main_border {
    border-color: var(--main-color);
    color: var(--main-color);
}

.btn_wrap {
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn_wrap.btn_gap_24 {
    gap: 0 24px;
}

.btn_wrap.btn_gap_24 button {
    width: calc((100% - 24px)/2);
}

.border_red {
    border-color: var(--red-color);
    color: var(--red-color);
    background-color: transparent;
}

.border_blue {
    border-color: var(--main-color);
    background-color: transparent;
    color: var(--main-color);
}

.fill_gradient {
    background: linear-gradient(150.53deg, #305CAD 5.32%, #3232B1 94.49%);
    color: #fff;
}

.border_gradient {
    background-image: linear-gradient(150.53deg, #305CAD 5.32%, #3232B1 94.49%);
    padding: 1px;
    position: relative;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
}

.border_gradient::before {
    content: "";
    display: block;
    width: calc(100% - 2px);
    height: calc(100% - 2px);
    position: absolute;
    left: 1px;
    top: 1px;
    background-color: #fff;
    border-radius: 50px;
}

.border_gradient .text {
    display: block;
    background-image: linear-gradient(150.53deg, #305CAD 5.32%, #3232B1 94.49%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    position: relative;
    z-index: 2;
}

/* 리뷰버튼 */
.review_btn::before {
    content: '';
    width: 20px;
    height: 20px;
    display: block;
    background: url(/static/app_www_tw/base/img/icon_write_white.png) no-repeat center/contain;
}

/* btn end */

#main_wrap {
    background-color: #F0F0F0;
    min-height: 100%;
}

#main_wrap>div:not(#reserve_container, #landing_area, #mypage_area, #update_area, #terms_area,
    #board_container, .car_cont, .review_cont, .log_cont, .program_cont, .app_cont, .main_footer) {
    max-width: 1164px;
    margin: 0 auto;
}

#main_wrap>div .section_list {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-end;
}

#main_wrap>div .section_list .select_item {
    border-radius: 8px;
    color: #828282;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: 600;
    background-color: #F5F5F5;
    border: none;
}

#main_wrap>div .section_list .select_item.black {
    border: 1px solid #5E5E5E;
    color: #5E5E5E;
    background-color: #fff;
}

/* #base_wrap #main_wrap>div .section_list .select_item.type_shuttle {
    color: #222;
} */

#base_wrap #main_wrap>div .section_list .select_item:not(.black):hover,
#base_wrap #main_wrap>div .section_list .select_item:not(.black).active {
    background: linear-gradient(150.53deg, #305CAD 5.32%, #3232B1 94.49%);
    /* background-color: var(--main-color); */
    color: #fff;
}

#base_wrap #main_wrap>div .section_list .select_item.black:hover,
#base_wrap #main_wrap>div .section_list .select_item.black.active {
    border-color: #222222;
    background-color: #222222;
    color: #FFF;
}

#base_wrap #main_wrap>div .section_list .select_item .thin_text,
#base_wrap #main_wrap>div .section_list .select_item .thin_text {
    font-weight: 400;
}

/* box */
/* white radius 10 */
.bg_white_radius {
    background-color: #fff;
    border-radius: 10px;
}

.bg_white_radius .wrap_title {
    font-size: 22px;
    font-weight: bold;
    padding: 16px 64px;
    border-bottom: 1px solid #F1F1F1;
    display: flex;
    align-items: center;
    gap: 0 15px;
}

.bg_white_radius .wrap_title .back_btn {
    width: 16px;
    display: flex;
    align-items: center;
    padding: 0;
    background-color: transparent;
}

.list_gray .list_item {
    width: 100%;
    padding: 13px 32px 13px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: transparent;
    font-size: 20px;
    color: #777;
}

/* box end */
/* 시간 선택 alert */
.time_select_alert {
    margin-bottom: 16px;
    border: 1px solid #1E96F5;
    border-radius: 10px;
    background-color: #F7FCFF;
    padding: 15px 12px;
    color: #1E96F5;
    font-size: 13px;
    font-weight: 400;
    word-break: keep-all;
    text-align: center;
}

.time_select_alert span {
    font-weight: 700;
}

/* background 있는 title 레이아웃 */
.history_wrap .history_box:not(:first-child) {
    margin-top: 40px;
}

.history_wrap .history_box:not(:first-child) .box_title {
    margin-bottom: 4px;
}

.history_box .box_title {
    background-color: #F6F6F6;
    color: #333;
    font-size: 22px;
    font-weight: bold;
    padding: 12px 16px;
    border-radius: 10px;
}

.history_box .box_title.bg_blue {
    background-color: #F6F8FF;
}

.history_box .box_body {
    margin: 0 auto;
    padding: 0 16px;
}

/* 경유지 */
.stop_over_list {
    margin: 30px auto 0;
    border-left: 1px dashed #777;
    width: 96%;
}


.stop_over_list li {
    font-size: 16px;
    position: relative;
    padding-left: 18px;
}

.stop_over_list li:not(:last-child) {
    margin-bottom: 35px;
}

.stop_over_list li span {
    display: block;
    width: 9px;
    height: 22px;
    position: absolute;
    top: 0;
    left: -6px;
    background-color: #fff;
}

.stop_over_list li:last-child span {
    height: 100%;
}

.stop_over_list li span::before {
    content: '';
    width: 100%;
    display: block;
    padding-bottom: 100%;
    border-radius: 50%;
    border: 1px solid;
    position: absolute;
    top: 5px;
    left: 0;
}

.stop_over_list li.border_spot span::before {
    border-color: #222222;
    background-color: #fff;
}

.stop_over_list li.mint_spot span::before {
    border-color: var(--mint-color);
    background-color: var(--mint-color);
}

.stop_over_list li.blue_spot span::before {
    border-color: var(--main-color);
    background-color: var(--main-color);
}

.stop_over_list li strong {
    color: var(--main-color);
    font-weight: 700;
}

.history_box .item_wrap {
    padding: 20px 0;
}

.history_box .item_line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 32px;
    margin-bottom: 32px;
}

/* 2줄 목록 간격 */
.history_box .item_line.half_area {
    gap: 32px;
}

.history_box .item_line:last-child {
    margin-bottom: 0;
}

.history_box .half_line {
    display: flex;
    width: calc((100% - 32px) / 2);
    align-items: center;
    gap: 0 32px;
}

.history_box .half_line.line_full {
    width: 100%;
}

/* .history_box .half_line:not(:nth-last-child(-n+2)) {
    margin-bottom: 32px;
} */

.history_box .item_title {
    width: 100%;
    max-width: 122px;
    color: #777777;
    font-size: 16px;
    word-break: keep-all;
}

.history_box .item_text {
    width: calc(100% - 154px);
    padding: 12px 16px;
    border-bottom: 1px solid #D8D8D8;
    font-size: 16px;
    min-height: 46px;
    font-weight: 500;
}

.history_box .item_text.red_font {
    font-weight: 700;
}


/* 총 금액 변경 영역 */
.history_box .item_line.price_change .text_wrap {
    width: calc(100% - 154px);
    display: flex;
    gap: 8px 16px;
    flex-wrap: wrap;
    align-items: center;
}

.history_box .item_line.price_change .text_wrap .item_text {
    width: calc(100% - 141px);
}

.history_box .item_line.price_change .text_wrap .btn_change {
    max-width: 125px;
    padding: 13px 0;
}

.history_box .item_line.price_change .text_wrap .alert_text {
    width: 100%;
    color: var(--red-color);
    font-weight: 700;
    /* font-size: 14px; */

}



/* tablet */
@media screen and (max-width: 1023px) {
    #base_wrap {
        padding: 48px 0 51px;
        height: initial;
        min-height: calc(100vh + 1px);
    }

    /* 화면 100% 맞춰서 높이 조절 */
    #base_wrap>div.adjust_height {
        height: calc(100% - 95px);
        /* min-height: calc(100% - 95px); */
    }

    .is_pc {
        display: none !important;
    }

    .is_mobile {
        display: block !important;
    }

    .is_mobile.flex {
        display: flex !important;
    }

    /* box */
    /* white radius 10 */
    .list_gray .list_item {
        padding: 11px 14px;
        font-size: 16px;
    }

    /* box end */

    /* background 있는 title 레이아웃 */
    .bg_white_radius {
        border-radius: 0;
    }

    .history_box .box_title {
        font-size: 18px;
        text-align: center;
    }

    .history_box .box_body {
        padding: 0;
    }

    /* 경유지 */
    .history_box .stop_over_list_wrap {
        padding: 0 4px;
    }

    .history_box .stop_over_list {
        margin: 25px auto 0;
    }

    .history_box .stop_over_list li {
        font-size: 14px;
    }

    .history_box .stop_over_list li:not(:last-child) {
        margin-bottom: 35px;
    }

    .history_box .stop_over_list_wrap {
        border: none;
    }

    .history_box .stop_over_list li span {
        height: 20px;
    }

    .stop_over_list li:last-child span {
        height: 100%;
    }

    .history_box .item_line,
    .history_box .half_line {
        flex-direction: column;
        align-items: flex-start;
    }

    /* .history_box .half_line:last-child {
        margin-bottom: 0;
    } */
    .history_box .item_line {
        margin-bottom: 12px;
    }

    .history_box .item_line.half_area {
        gap: 12px 32px;
    }


    .history_box .item_title {
        font-size: 16px;
    }

    .history_box .item_title {
        margin-bottom: 4px;
    }

    .history_box .half_line:last-child .item_title {
        text-align: left;
    }

    .history_box .item_text {
        width: 100%;
    }

    .history_box .half_line {
        width: 100%;
        /* margin-bottom: 12px; */
    }

    .history_wrap .history_box:not(:first-child) {
        margin-top: 50px;
    }

    .history_wrap .history_box:not(:first-child) .box_title {
        margin-bottom: 5px;
    }

    .history_box .item_wrap {
        padding: 18px 0;
    }


    /* 총 금액 변경 영역 */
    .history_box .item_line.price_change .text_wrap {
        width: 100%;
    }

    .history_box .item_line.price_change .text_wrap .item_text {
        width: calc(100% - 106px);
    }

    .history_box .item_line.price_change .text_wrap .btn_change {
        max-width: 90px;
    }


    .history_wrap .history_box:not(:first-child) {
        margin-top: 50px;
    }

    .history_wrap .history_box:not(:first-child) .box_title {
        margin-bottom: 5px;
    }

    .history_box .item_wrap {
        padding: 18px 0;
    }


}

/* mobile */
@media screen and (max-width: 767px) {

    /* 화면 100% 맞춰서 높이 조절 */
    /* #base_wrap>div.adjust_height {
        min-height: calc(100% - 95px);
    } */
    #base_wrap #main_wrap>div .section_list .select_item:hover:not(.active) {
        border-color: #fff;
        background-color: rgba(255, 255, 255, 0.8);
        color: #777;
    }
}


/* 상세페이지 리스트 */
.reserve_detail {
    width: 100%;
}


.reserve_detail ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    font-size: 14px;
    margin-bottom: 50px;
    gap: 8px 1%;
}

.reserve_detail ul.post {
    margin-bottom: 30px;
}

.reserve_detail ul:last-of-type {
    margin-bottom: 0;
}

.reserve_detail ul li {
    padding: 10px 15px;
    background-color: #fff;
    border: 1px solid #F4F1EE;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    word-break: break-all;
}

.reserve_detail ul li.space {
    width: 49.5%;
    border: none;
}

.reserve_detail ul li.sm {
    width: 13%;
    background-color: #F4F1EE;
    font-weight: 600;
}

.reserve_detail ul li.lg {
    width: 35.5%;
}

.reserve_detail ul li.md {
    width: 17.25%;
    justify-content: center;
}

.reserve_detail ul li.xl {
    width: 86%;
}

.reserve_detail ul li.xxl {
    width: 100%;
}

.reserve_detail p.sub_title {
    font-size: 1.5rem;
    border-bottom: 1px solid #ccc;
    padding-bottom: 5px;
}

.reserve_detail ul li span.color_red {
    color: red;
}


.reserve_detail ul li span.color_obj {
    width: 20px;
    height: 20px;
    border-radius: 20px;
    background-color: black;
    display: inline-block;
}

.xxl.reserve_detail_title {
    background-color: #E7E0DA;
}

.xxl.reserve_detail_title span {
    color: #353535;
    font-size: 14px;
    font-weight: 700;
}