:root {
    --bright-font-color: #777777;
    --bright-border-color: #e4e4e4;
    --green-color: #4CB575;
    --orange-color: #F18815;
}

.map-page-main {
    position: relative;
    overflow: hidden;
    display: flex;
    height: 48vw;
}

#map-container {
    width: 100%;
    height: 100%;
}

.list-container {
    width: 100%;
    height: 100%;
    position: relative
}

.info-nav {
    width: 460px;
    background-color: #FFF;

}

.mobile-info-nav {
    display: none;
}

.info-nav > .shop-menu {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.info-nav > .shop-menu > .shop-list {
    height: 100%;
}

.info-nav > .shop-menu > .menu-header {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.info-nav > .shop-menu > .menu-header > h5 {
    color: var(--blue-color);
    padding-top: 0.7rem;
    padding-bottom: 0.4rem;
	font-size: 14px;
    font-weight: 400;
}

.info-nav > .shop-menu > .menu-header > h4 {
    line-height: 1.4;
	font-size: 18px;
    font-weight: 600;
}

.info-nav > .shop-menu > .shop-list > .list-header, .list-container > .list-body {
    display: block;
}

.info-nav > .shop-menu > .shop-list > .list-container > .list-body {
    position: absolute;
    bottom: 0;
    overflow-y: auto;
    width: 100%;
    height: 100%;
    padding-bottom: 5rem;
}

.list-body::-webkit-scrollbar {
    width: 4px;
}

.list-body::-webkit-scrollbar-track {
    background: #FFF;
}


.list-body::-webkit-scrollbar-thumb {
    background: #D9D9D9;
    border-radius: 10px;
}

.list-body::-webkit-scrollbar-thumb:hover {
    background: #D9D9D9;
}

.info-nav > .shop-menu > .shop-list > .list-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 9px 17px 9px 24px;
    color: var(--bright-font-color);
    font-size: 16px;
    position: relative;
}

.shop-list > .list-container > .list-body > .list-item, .shop-list > .list-header {
    border-bottom: 1px solid #D9D9D9;
}


.shop-list > .list-header > p {
    font-size: 14px;
}

.shop-list > .list-header span {
    color: var(--blue-color);
}

.shop-list > .list-header button {
    border: 1px solid var(--bright-border-color);
    background: #FFF url("../images/map/icon_arrow_down_small.svg") no-repeat calc(100% - 4px) 9px;
    background-size: 12px;
    padding: 6px 8px 6px 10px;
    gap: 4px;
    width: 85px;
    height: 32px;
    font-size: 14px;
    border-radius: 4px;
    text-align: left;
    line-height: 1.4;
    letter-spacing: 0.03em;
    font-weight: 400;
}

.shop-list > .list-header > .choice-location-container {
    overflow: hidden;
    min-height: 0px;
    position: absolute;
    will-change: transform;
    top: 0px;
    right: 0px;
    left: 0;
    transform: translate3d(0px, 35px, 0px);
    z-index: 99;
    padding: 16px;
    font-size: 14px;
    width: 100%;
    display: none;

}

.shop-list > .list-header > .show {
    display: block;
}

.choice-location-container > .location-wrapper {
    border: 1px solid var(--bright-border-color);
    border-radius: 0px;
    background-color: white;
    border: 1px solid #444444;
    box-shadow: 5px 4px 11px 0px #e1e1e1;
}

.choice-location-container .location-header, .shop-list-toast > .select-location-header {
    background-color: #F1F4F8;
    padding: 0.45rem 26px;
    font-weight: 400;
    font-size: 14px;
    line-height: 140%;
    letter-spacing: -0.03em;
    color: #6D757C;
    display: flex;
    align-items: center;
}

.select-location-header > img {
    width: 12px;
    margin: 0 7px;
}

.choice-location-container .location-list {
    list-style: none;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    z-index: 201;
    padding: 14px 26px 20px;
}

.choice-location-container .location-list > li {
    text-align: left;
    width: 25%;
    flex: 0 0 25%;
    margin-bottom: 0.5rem;
    cursor: pointer;
    font-size: 14px;
    font-weight: 400;
    color: #444444;
}

.choice-location-container .location-list span {
    color: var(--blue-color);
}

.shop-list > .list-container > .list-body > .list-item {
    background: url("../images/map/icon_arrow_right_medium.svg") no-repeat calc(100% - 10px) 47px;
    background-size: 20px;
    cursor: pointer;
}

.shop-list > .list-container > .list-body > .hidden {
    display: none;
}

.shop-list > .list-container > .list-body > .list-item > .shop {
    padding: 24px;
}

.list-body > .list-item .go_detail_page_btn{
    position: absolute;
    right: 0;
    height: 100%;
    background: none;
    border: none;
    text-indent: -9999px;
    min-width: 40px;
    z-index: 99;
}

.shop-list > .list-container > .list-body > .list-item .shop-title {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.shop-title h4 {
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -0.03em;
	font-size: 16px;
}

.shop-list > .list-container > .list-body > .list-item .shop-title > div {
    margin-right: 6px;
}

.shop-list > .list-container > .list-body > .list-item .shop-title > .sale-badge {
    border: 1px solid #AFDFFF;
    color: var(--blue-color);
    font-size: 12px;
    line-height: 1.4;
    padding: 0.1rem 0.25rem;
    font-weight: 400;
    border-radius: 2px;
}

.shop-list > .list-container > .list-body > .list-item .shop-location {
    color: var(--bright-font-color);
    font-size: 14px;
    word-break: break-word;
    max-width: 300px;
    padding-top: 5px;
}

.line-1, .line-2, .line-3, .line-4, .line-5, .line-6, .line-7, .line-8, .line-9, .line-10, .line-11, .line-12, .line-13, .line-14 {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    line-height: 20px;
    font-size: 12px;
    text-align: center;
    color: #FFF;
}

.line-1 {
    background-color: #0052A4;
}

.line-2 {
    background-color: var(--green-color)
}

.line-3 {
    background-color: var(--orange-color)
}

.line-4 {
    background-color: #00A5DE;
}

.line-5 {
    background-color: #996CAC;
}

.line-6 {
    background-color: #CD7C2F;
}

.line-7 {
    background-color: #747F00;
}

.line-8 {
    background-color: #E6186C;
}

.line-9 {
    background-color: #BDB092;
}
.line-10 {
    background-color: #77C4A3;
}
.line-11 {
    background-color: #0065B3;
}
.line-12 {
    background-color: #D4003B;
}
.line-13 {
    background-color: #fabe00;
}
.line-14 {
    background-color: #25489C;
}

@media (max-width: 960px) {

    .map-page-main {
        height: 100%;
        flex-direction: column;
    }
    #map-container {
        order: 1;
    }
    .info-nav {
        display: none;
    }

    .mobile-small {
        font-size: 14px;
        line-height: 1;
        font-weight: 700;
        letter-spacing: -0.03em;
    }

    .mobile-h4 {
        font-weight: 600;
        font-size: 20px;
        line-height: 140%;
        letter-spacing: -0.03em;
    }

    .mobile-info-nav {
        display: block;
        order: 2;
        background-color: #FFF;
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
        filter: drop-shadow(0px -3px 10px rgba(0, 0, 0, 0.1));
    }

    .mobile-info-nav > .toast-popup .toast-title {
        padding: 15px 26px 15px 26px;
        display: flex;
        align-items: center;
        border-bottom: 1px solid #e4e4e4;
    }

    .toast-title > #go_back_btn {
        background: none;
        border: none;
        height: 20px;
        width: 20px;
        margin-right: 10px;
    }

    .mobile-info-nav > .toast-popup .toast-title span {
        color: var(--blue-color);
        padding-left: 5px;
    }

    .mobile-info-nav > .toast-popup > .welcome-toast {
        text-align: left;
        padding: 40px 20px 70px 20px;
    }


    .choice-location-toast, .shop-list-toast {
        display: none;
    }

    .welcome-toast > .small-txt-wrap {
        padding-bottom: 0.5rem;
        padding-left: 6px;
    }

    .welcome-toast > h4 {
        font-weight: 700;
        font-size: 24px;
        line-height: 1.4;
        letter-spacing: -0.03em;
        padding-left: 6px;
    }

    .welcome-toast > .small-txt-wrap > small {
        color: var(--blue-color);
        font-weight: 600;
        font-size: 16px;
    }

    .welcome-toast > .btn-wrap {
        padding: 34px 0 70px 0;
    }

    .welcome-toast > .btn-wrap > button {
        width: 100%;
        color: #FFF;
        background-color: #444444;
        border: none;
        border-radius: 10px;
        padding: 1.24rem 0;
        font-size: 16px;
        font-weight: 600;
    }

    .choice-location-toast > .choice-location-container {
        font-size: 14px;
        color: var(--bright-font-color);
    }

    .choice-location-container {
        height: 300px;
        position: relative;
    }

    .choice-location-container > .location-wrapper {
        border: none;
    }

    .choice-location-container > .location-header {
        border-radius: 0;
    }

    .shop-list-toast, .choice-location-toast {
        max-height: 365px
    }
    .shop-list-toast{
        transition: max-height 0.5s ease-out;
    }
    .shop-list-toast .shop-list {
        overflow: scroll;
        height: 300px;
        transition: all .5s ease-in-out;
    }
    .list-container {
        overflow: scroll;
    }

    .shop-list > .list-container > .list-body {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        padding-bottom: 200px;
    }

    .choice-location-container > .location-wrapper {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        overflow: auto;
        width: 100%;
        height: 100%;
    }

    .shop-list > .list-container > .list-body > .list-item {
        background-size: 15px;
    }

    .line-1, .line-2, .line-3, .line-4, .line-5, .line-6, .line-7, .line-8, .line-9, .line-10, .line-11 {
        width: 20px;
        height: 20px;
        font-size: 12px;
        line-height: 20px;
    }
}
