﻿@import "https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700";

body {
    margin: 0;
    overflow: hidden;
}

/* 全畫面遮罩 */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000; /* 確保在最上層 */
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    background-color: #FFF;
    background-image: url('/App_Themes/Front/assets/images/login-bg.png');
    background-attachment: fixed;
    border-bottom: 1px solid #eee;
    -webkit-box-shadow: 0px 1px 5px 0px rgba(85,85,85,1);
    -moz-box-shadow: 0px 1px 5px 0px rgba(85,85,85,1);
    box-shadow: 0px 1px 5px 0px rgba(85,85,85,1);
}

a,
a:hover,
a:focus {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}

    a[aria-expanded="true"]::after {
        transition: transform 0.3s ease;
        transform: rotate(180deg);
    }

.layout {
    display: flex;
    height: calc(100vh - 56px);
    margin-top: 56px;
    overflow: hidden;
}

.sidebar {
    width: 280px;
    background: #13adca;
    overflow-y: auto;
    border-right: 1px solid #ddd;
    /*    min-width: 250px;
    max-width: 250px;*/
    color: #fff;
    transition: all 0.3s;
    padding: 12px 0;
}

.sidebar-right {
    width: 280px;
    border-right: 0;
    border-left: 1px solid #ddd;
    background-color: #f8f9fa;
    overflow-y: auto;
    color: #333;
    transition: all 0.3s;
    padding: 12px 0;
}

.main {
    flex: 1;
    overflow-y: hidden;
    padding: 0;
}

/*Henry*/

a.navbar-brand {
    font-size: 24px;
    color: #13adca;
}

    a.navbar-brand > img {
        width: 100px;
        height: auto;
        margin-left: 10px;
    }

/*left sidebar*/
.lang-group {
    margin: 5px auto;
    text-align: center;
}

.sidebar ul.collapse, #sidebar_mobile ul.collapse {
    padding: 8px;
}

.sidebar ul li a, #sidebar_mobile ul li a {
    padding: 5px;
    font-size: 1.1em;
    display: block;
    border-radius: 4px;
}

.sidebar ul li.active > a, #sidebar_mobile ul li.active > a, a[aria-expanded="true"] {
    color: #fff;
    background: #0592ad;
}

.sidebar ul li a:hover, #sidebar_mobile ul li a:hover {
    color: #0592ad;
    background: #fff;
}

#pavilionList {
    margin: 0;
    padding: 0;
    list-style: none;
}

    #pavilionList li {
        list-style: none;
        margin-bottom: 5px;
    }

        #pavilionList li a {
            text-align: left;
            background: #30b3cc;
        }

            #pavilionList li a:hover {
                color: #0592ad;
                background: #fff;
            }
/*map*/
#container {
    width: 100%;
    height: calc(100vh - 58px);
    overflow: hidden;
}

.north {
    left: 290px;
    top: 70px;
    position: fixed;
    z-index: 1000;
}

    .north > img {
        max-width: 40px !important;
    }

.floorBar {
    position: fixed;
    left: calc(50vw - 80px);
    top: 75px;
    z-index: 999;
}

    .floorBar > div {
        border-radius: 16px 0 0 16px;
        width: 100px;
        height: 40px;
        background: #555;
        vertical-align: middle;
        border-bottom: 2px solid #fff;
        border: 2px solid #fff;
        display: inline-block;
        -webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.25);
        -moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.25);
        box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.25);
    }

        .floorBar > div:last-child {
            border-radius: 0 16px 16px 0;
        }

        .floorBar > div > a {
            display: inline-block;
            width: 100%;
            line-height: 40px;
            text-align: center;
            color: #fff;
            font-weight: bold;
        }

        .floorBar > div:hover, .floorBar > div.selected {
            background: #13adca;
        }

.pillarSwitch {
    left: 260px;
    bottom: 10px;
    position: fixed;
    z-index: 1000;
    visibility: hidden;
}

    .pillarSwitch button {
        border: none;
        background: none;
    }

        .pillarSwitch button:focus {
            outline: 0;
        }

    .pillarSwitch img {
        max-width: 32px !important;
    }

/*route*/
.routeIcon {
    position: fixed;
    top: 100px;
    right: 4px;
    z-index: 9999;
}

    .routeIcon a {
        text-indent: -9999px;
        width: 64px;
        height: 64px;
        display: inline-block;
        background: url(/map2/image/route2.png) no-repeat;
        background-size: 64px 64px;
        box-shadow: 2px 3px 5px 0px rgba(0,0,0,0.57);
        -webkit-box-shadow: 2px 3px 5px 0px rgba(0,0,0,0.57);
        border-radius: 64px;
    }

@keyframes blink {
    0%, 100% {
        opacity: 1; /* 顯示 */
    }

    50% {
        opacity: 0; /* 隱藏 */
    }
}
.movement {
    z-index: 999 !important;
}
.escalator {
    margin: 0 !important;
    animation: blink 2s infinite; /* 每1秒循環一次 */
    cursor: pointer;

}

.start_pin2 {
    background: url(/map2/js/tilezoom/images/arrow_map_start.png) no-repeat;
    background-size: 24px 24px;
    background-position-x: center;
    background-color: transparent !important;
    padding-top: 24px;
    font-size: 14px;
    text-shadow: 0px 0px 5px #fff, 0px 0px 5px #fff, 0px 0px 5px #fff, 0px 0px 5px #fff, 0px 0px 5px #fff, 0px 0px 5px #fff, 0px 0px 5px #fff;
    font-weight: bold;
}
.startBoothBtn, .toBoothBtn {
    border: 0;
    background-color: #0592ad;
    color: #fff;
    border-radius: 12px;
    margin-right:10px;
    padding:4px;
}

.steps_container {
    position: absolute;
    left: calc(50% + 125px);
    transform: translate(-50%, -10px);
    bottom: 15px;
    z-index: 999999;
    white-space: nowrap;
}

#steps {
    justify-content: center;
    display:none;
}

    #steps > div {
        text-align: center;
        font-size: 17px;
    }

    #steps > .item {
    }

.startBooth, .toBooth {
    background: none !important;
    color: #333 !important;
    margin: 8px;
}

/*#steps > .item a {
    background-color: #333;
    color: #FFF;
    padding:4px 9px;
    border-radius:4px;
}*/
#steps > .item a.selected {
    background-color: #CF0000;
    color: #FFF;
}

.start_pin_icon {
    padding: 8px;
    border: 3px solid #0094ff;
    border-radius: 50%;
    display: inline-block;
    background-color: #fff;
    width: 24px !important;
    height: 24px !important;
}

    .start_pin_icon > div {
        width: 40px;
        left: -8px;
        position: absolute;
        line-height: 18px;
        top: 24px;
        text-shadow: 0px 0px 10px #FFFFFF;
        font-weight: bold;
    }

.start_pin {
    padding: 8px;
    border: 3px solid #0094ff;
    border-radius: 50%;
    display: inline-block;
    background-color: #fff;
    color: #333;
    font-size: 20px;
    width: 50px;
    height: 50px;
    justify-content: center; /* 水平置中 */
    align-items: center; /* 垂直置中 */
}

.pin_selected {
    background-color: #d9f3ff;
}

.vline {
    width: 2px;
    height: 35px;
    margin: 0 auto;
    padding: 10px;
    background-image: linear-gradient(#666 50%, transparent 50%);
    background-size: 2px 10px; /* 虛線長度與間距 */
    background-repeat: repeat-y;
    background-position-x: 8px;
}

.end_pin {
    background: url(/map2/js/tilezoom/images/arrow_map.png) no-repeat;
    background-size: 24px auto;
    background-color: transparent !important;
    background-position: bottom;
    height: 32px;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: -10px;
    padding: 0 !important;
}

.arrow-right {
    width: 0;
    height: 0;
    padding: 0 !important;
    background: none !important;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 5px solid #888;
    margin-left: 5px;
    margin-right: 5px;
    display: inline-block;
}

.pin_start {
    border: none;
    font-size: 12px;
    background: url(/map2/js/tilezoom/images/arrow_map_start.png) no-repeat;
    background-size: 16px 16px;
    text-indent: 14px;
    line-height: 16px;
    margin-bottom: 12px;
}

.pin_to {
    border: none;
    font-size: 12px;
    background: url(/map2/js/tilezoom/images/arrow_map.png) no-repeat;
    background-size: auto 16px;
    text-indent: 10px;
    line-height: 16px;
    margin-left: 4px;
    margin-bottom: 12px;
}

.clearRoute {
    background-image: url(/map2/js/tilezoom/images/remove.png);
    background-repeat: no-repeat;
    background-size: 32px 32px;
    text-indent: -9999px;
    line-height: 32px;
    width: 48px;
    padding-top: 0 !important;
}


.boothTooltip {
    display: inline-block;
    background: #FF0;
    padding: 2px;
    position: absolute;
    z-index: 11000;
    font-size: 11px;
    width: auto;
    border: 1px solid #888;
    visibility: hidden;
    -webkit-box-shadow: 5px 5px 8px -3px rgba(0,0,0,0.75);
    -moz-box-shadow: 5px 5px 8px -3px rgba(0,0,0,0.75);
    box-shadow: 5px 5px 8px -3px rgba(0,0,0,0.75);
}

/*對話框*/

/* Bootstrap Modifications */
.modal-header {
    background: #4ECDC4;
}

.modal-title {
    color: white;
}

a.url {
    background: url(../image//home.png) no-repeat;
    background-size: 24px auto;
    width: 24px;
    height: 24px;
    display: inline-block;
    text-indent: -9999px;
}
#unitBoothExhibitors ul {
    margin: 0;
    padding: 0;
}

#unitBoothExhibitors li {
    font-size: 0.9em !important;
    display: block;
    border-radius: 5px;
    margin-bottom: 5px;
    padding: 5px;
    border: 1px solid #EEE;
}

    #unitBoothExhibitors li:hover {
        background-color: #b1eee9;
    }

    #unitBoothExhibitors li a {
        width: 100%;
        display: inline-block;
    }


.ui-autocomplete {
    z-index: 99999;
}

#searchResultList {
    margin: 0;
    padding: 0;
    list-style: none;
}

#searchResultText {
    margin: 10px 0;
    font-weight: bold;
}

#searchResultList > li {
    list-style: none;
}

    #searchResultList > li > a {
        text-align: left;
    }

span.boothNo {
    font-size: 12px;
    font-weight: bold;
    display: inline-block;
    margin-right: 5px;
}



    /*mobile*/
#offcanvasLeft {
    background: #13adca;
    overflow-y: auto;
    border-right: 1px solid #ddd;
    color: #fff;
    transition: all 0.3s;
    padding: 0;
}
.offcanvas-body {
    padding:10px 0;
}
.offcanvas-close {
    float: right;
    margin-top:5px;
    margin-right:10px;
}
.heading_title2 {
    display: none;
}
.route_menu {
    margin: 0;
    padding: 0;
}
.route_menu img {
    width:32px;
    height:auto;
}
#route_content {
    padding:8px;
}

::-ms-clear {
    display: none;
}

.clear-button {
    border-color: #bbb;
}
.form-control-clear {
    z-index: 10;
    pointer-events: auto;
    cursor: pointer;
}


@media (max-width: 991px) {
    .sidebar-right {
        display: none;
    }

    .heading_title1 {
        display: none;
    }

    .heading_title2 {
        display: inline-block;
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .sidebar {
        display: none;
    }

    .show_icon {
        max-width: 110px;
    }
    a.navbar-brand > img {
        width: 80px;
        height: auto;
        margin: 0;
    }
    .heading_title1 {
        display: none;
    }

    .heading_title2 {
        display: inline-block;
        font-size: 14px;
        font-weight: bold;
    }

    .floorBar {
        position: fixed;
        left: calc(50vw - 100px);
        top: 75px;
    }

    .lang-group {
        margin: 0 auto 10px;
    }

    .north {
        left: 10px;
    }

    .friendly_print {
        display: none !important;
    }

    #routeSidebar_mobile #route_content {
        padding: 10px;
    }
}
