@charset "UTF-8";
html,
body {
    font-family: "微軟正黑體";
    margin: 0;
    padding: 0;
}

* {
    -webkit-tap-highlight-color: transparent;
    /* -webkit-user-select: none;
    -webkit-touch-callout: none; */
}

a[href^="http://maps.google.com/maps"],
a[href^="https://maps.google.com/maps"],
a[href^="https://www.google.com/maps"] {
    display: none !important;
}


/***** iPhone X XS, XS Max, XR *****/

@media only screen and (device-width: 430px) and (device-height: 932px) and (-webkit-device-pixel-ratio: 3) {
    .top-button {
        margin-top: 55px !important;
    }
}

@media only screen and (device-width: 393px) and (device-height: 852px) and (-webkit-device-pixel-ratio: 3) {
    .top-button {
        margin-top: 55px !important;
    }
}

@media only screen and (device-width: 428px) and (device-height: 926px) and (-webkit-device-pixel-ratio: 3) {
    .top-button {
        margin-top: 50px !important;
    }
}

@media only screen and (device-width: 390px) and (device-height: 844px) and (-webkit-device-pixel-ratio: 3) {
    .top-button {
        margin-top: 50px !important;
    }
}

@media only screen and (device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3) {
    .top-button {
        margin-top: 45px !important;
    }
}

@media only screen and (device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 3) {
    .top-button {
        margin-top: 45px !important;
    }
}

@media only screen and (device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 2) {
    .top-button {
        margin-top: 45px !important;
    }
}

.gm-bundled-control .gmnoprint {
    display: block;
}

.gmnoprint:not(.gm-bundled-control) {
    display: none;
}

:focus {
    outline: 0;
    border: none;
    -moz-outline-style: none;
}

.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}


/***** Top Area *****/

.top-button {
    background-color: rgb(255, 255, 255);
    border-radius: 15px;
    border: 2px solid rgb(255, 255, 255);
    box-shadow: rgba(0, 0, 0, 0.3) 0px 2px 6px;
    color: #1FA8FC;
    cursor: pointer;
    font-size: 14px;
    margin-bottom: 22px;
    margin-top: 22px;
    text-align: center;
    padding: 0px;
}

.top-button:active {
    background-color: #f1f1f1;
    border: 2px solid #f1f1f1;
}

.top-button-content {
    overflow: auto;
    padding-left: 15px;
    padding-right: 15px;
    line-height: 38px;
}

#get-filter-coupon,
#open-enterprise-list {
    top: 60px !important;
}

#open-autopass {
    top: 120px !important;
}

#get-store-info-btn {
    border-radius: 30px;
    /* left: 40% !important; */
}

.now-place-btn {
    display: block;
    width: 38px;
    height: 38px;
    background: url('/assets/api/map/ic_location.png') no-repeat;
    background-size: 70%;
    background-position: center;
}

.now-place-btn-active {
    display: block;
    width: 38px;
    height: 38px;
    background: url('/assets/api/map/ic_location_active.png') no-repeat;
    background-size: 70%;
    background-position: center;
}

.enterprise-list-btn {
    display: block;
    width: 38px;
    height: 38px;
    background: url('/assets/api/map/ic_store_text.svg') no-repeat;
    background-size: 75%;
    background-position: center;
}

.autopass-btn {
    display: block;
    width: 38px;
    height: 38px;
    background: url('/assets/api/map/Autopass_btn.png') no-repeat;
    background-size: 90%;
    background-position: center;
}

.filter-select-btn {
    display: block;
    width: 38px;
    height: 38px;
    background: url('/assets/api/map/ic_fliter.png') no-repeat;
    background-size: 70%;
    background-position: center;
}

.filter-select-btn-active {
    display: block;
    width: 38px;
    height: 38px;
    background: url('/assets/api/map/ic_fliter_active.png') no-repeat;
    background-size: 70%;
    background-position: center;
}

#filter-coupon {
    padding-left: 10px;
    padding-right: 10px;
    font-size: 20px;
    color: #717171;
}

.filter-coupon-btn-active {
    color: #1FA8FC !important;
}


/***** Center Area *****/

.center-content {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 15px;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 2px 6px;
    color: #fff;
    font-size: 14px;
    margin-bottom: 22px;
    margin-top: 22px;
    text-align: center;
    visibility: hidden;
    width: 220px;
    transition: visibility 0s, opacity 0.5s linear;
    opacity: 0;
}


/***** Bottom Area *****/

.bottom-panel {
    background-color: #FFF;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 2px 6px;
    position: absolute;
    transition: all 0.5s ease;
    transform: translate3d(0px, 250px, 0px);
    padding: 25px;
    width: calc(100% - 50px);
}

.bottom-panel-show {
    transition: all 0.5s ease;
    transform: translate3d(0px, 0px, 0px);
}

#bottom-panel-content {
    left: 0px !important;
}

.bottom-panel-flow {
    height: 80px;
    overflow: hidden;
    transition: height 1s ease;
}


/***** ## StoreInfo ## *****/

.info-hidden-btn {
    width: 30px;
    height: 30px;
    background: url('/assets/api/map/ic_arrow_down_sm.svg') no-repeat;
    background-size: 55%;
    background-position: center;
    display: inline-block;
    text-align: right;
    float: right;
    margin: -4px;
    margin-top: -8px;
}

.info-show-btn {
    width: 30px;
    height: 30px;
    background: url('/assets/api/map/ic_arrow_up_sm.svg') no-repeat;
    background-size: 55%;
    background-position: center;
    display: inline-block;
    text-align: right;
    float: right;
    margin: -4px;
    margin-top: -8px;
}

.store-thumb {
    float: left;
    text-align: center;
    line-height: 70px;
}

.store-thumb img {
    width: 80px;
    border-radius: 30%;
    vertical-align: middle;
}

.store-title {
    display: inline-block;
    font-size: 150%;
    font-weight: bold;
    margin-bottom: 0px;
    margin-top: 5px;
}

.store-content {
    margin-left: 100px;
}

.store-point,
.store-phone,
.store-open-hours {
    color: #8f8f8f;
    margin-top: 5px;
    margin-bottom: 5px;
    letter-spacing: 0.02em;
    min-height: 12px;
}

.store-distance {
    color: #1DA7FC;
    font-size: 12px;
}

.flex {
    display: inline-flex;
    margin-top: 0px !important;
}

.split-symbol {
    margin-left: 10px;
    border-left: 1px solid #8f8f8f;
    padding-left: 10px;
}

#store-list-filter-store-content {
    /* overflow: auto; */
    height: 50px;
    overflow-x: hidden;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
}

.filter-no-result {
    color: #8f8e8e;
    text-align: center;
    margin-top: 15px;
}

.filter-search {
    position: relative;
    display: flex;
    min-width: 100px;
    margin-bottom: 20px;
}

.search {
    /* border: 1px solid grey; */
    border: 0px;
    border-radius: 10px;
    height: 40px;
    width: 100%;
    padding: 2px 23px 2px 30px;
    outline: 0;
    font-size: 14px;
    background-color: #F3F5F8;
}

.search-icon {
    background: url('/assets/api/map/search.svg') no-repeat;
    position: absolute;
    top: 14px;
    left: 8px;
    width: 16px;
    height: 16px;
    border: 0px;
}

.store-list-filter-resize {
    text-align: center;
    margin-top: -15px;
}

#store-list-filter-resize-btn {
    display: inline-block;
    width: 80px;
    height: 6px;
    background-color: #dbdbdb;
    border-radius: 15px;
    cursor: move;
}

#store-list-filter-resize-btn:hover {
    background-color: #aaaaaa;
}

#store-list-filter-clear {
    background: url('/assets/api/map/cross.svg') no-repeat;
    position: absolute;
    top: 14px;
    right: 12px;
    width: 16px;
    height: 16px;
    cursor: pointer;
    visibility: hidden;
}

.p-discount {
    background: url('/assets/api/map/ppoint.svg')left center no-repeat;
    background-size: 24px;
    padding: 2px 5px 2px 30px;
    color: #8f8f8f;
    font-size: 14px;
}

.p-not-discount {
    background: url('/assets/api/map/ppoint_failure.svg')left center no-repeat;
    background-size: 24px;
    padding: 2px 5px 2px 30px;
    color: #8f8f8f;
    font-size: 14px;
}


/* .search:hover,
.search:focus {
    border: 1px solid #cdcdcd;
    background-color: white;
    color: #8f8e8e;
} */


/***** ## Filter ## *****/

.filter-main-title {
    font-size: 160%;
    font-weight: bold;
    margin-top: 0px;
    display: inline-block;
}

.filter-sub-title {
    color: #4a4a4a;
    font-size: 120%;
    font-weight: bold;
    margin-top: 0px;
}

.filter-btn {
    background-color: #f1f1f1;
    border-radius: 15px;
    border: 0px;
    color: #5e5e5e;
    margin-bottom: 15px;
    margin-left: 3px;
    margin-right: 3px;
    padding-bottom: 5px;
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 5px;
}

#store-type-filter-btn-content {
    margin-bottom: 30px;
}


/*.filter-btn:hover {
    color: #6e6d6d;
    background-color: #F7F7F7;
}*/

.filter-btn-focus {
    background-color: #1FA8FC;
    color: #ffffff;
}


/***** Other *****/


/***** ## Loading ## *****/

.lds-ring {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

.lds-ring div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 64px;
    height: 64px;
    margin: 8px;
    border: 8px solid #fff;
    border-radius: 50%;
    animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: #fff transparent transparent transparent;
}

.lds-ring div:nth-child(1) {
    animation-delay: -0.45s;
}

.lds-ring div:nth-child(2) {
    animation-delay: -0.3s;
}

.lds-ring div:nth-child(3) {
    animation-delay: -0.15s;
}

@keyframes lds-ring {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.visible-opacity {
    opacity: 1;
}


/* Popup box BEGIN */

.store-info-iframe {
    background: rgba(0, 0, 0, .4);
    display: none;
    height: 100%;
    position: fixed;
    text-align: center;
    top: 0;
    width: 100%;
    z-index: 10000;
}

.store-info-iframe .helper {
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

.store-info-iframe>div {
    background-color: #fff;
    box-shadow: 10px 10px 60px #555;
    display: inline-block;
    /* height: auto; */
    height: 80%;
    /* max-width: 551px; */
    min-height: 100px;
    vertical-align: middle;
    width: 85%;
    max-width: 768px;
    position: relative;
    border-radius: 8px;
    /* padding: 15px 5%; */
}

.trigger_popup_fricc {
    cursor: pointer;
    font-size: 20px;
    margin: 20px;
    display: inline-block;
    font-weight: bold;
}

.popup-close-button {
    background-position: center;
    background: url(../api/map/ic_cross.svg)left center no-repeat;
    border-top-width: 5px;
    color: #999;
    cursor: pointer;
    float: right;
    font-size: 24pt;
    height: 38px;
    margin-bottom: 3px;
    margin-top: 3px;
    width: 38px;
    z-index: 1000;
}

.popup-close-button:hover {
    color: rgb(82, 78, 78);
}

.popup-back-button {
    background-position: center;
    background: url(../api/map/ic_arrow_left.svg)left center no-repeat;
    display: none;
    color: #999;
    cursor: pointer;
    float: left;
    height: 38px;
    margin: 3px 0 3px 10px;
    width: 38px;
    z-index: 1000;
}

.popup-back-button:hover {
    color: rgb(82, 78, 78);
}

.scroll-wrapper {
    -webkit-overflow-scrolling: touch;
    position: static;
    height: 100%;
}

#iframe-block {
    height: 100%;
    width: 100%;
}


/* Popup box BEGIN */