/* Minification failed. Returning unminified contents.
(1084,1): run-time error CSS1019: Unexpected token, found '}'
(1300,17): run-time error CSS1039: Token not allowed after unary operator: '-fc-button-text-color'
(1302,28): run-time error CSS1039: Token not allowed after unary operator: '-fc-button-bg-color'
(1304,24): run-time error CSS1039: Token not allowed after unary operator: '-fc-button-border-color'
(1366,17): run-time error CSS1039: Token not allowed after unary operator: '-main-Black-color'
(1388,28): run-time error CSS1039: Token not allowed after unary operator: '-main-Red-color'
(1908,1): run-time error CSS1019: Unexpected token, found '@keyframes'
(1909,10): run-time error CSS1035: Expected colon, found '{'
 */
* {
    padding: 0;
    margin: 0;
    list-style: none;
    box-sizing: border-box;
    transition: .6s ease;
}

html,
body {
    width: 100%;
    height: 100%;
    font-size: 16px;
    color: #333;
    overflow-y: hidden;
}

@media (max-width:991.98px) {
    html,
    body {
        /* padding-bottom: 25px */
    }
}

.container-Map {
    width: 100%;
    height: 100%;
    display: flex;
    position: relative;
}

.container-Bg {
    background-image: url(../img/bg.jpg);
    background-size: cover;
}

img {
    width: 100%;
    height: auto;
}

a {
    text-decoration: none;
}

    a:active,
    a:hover {
        text-decoration: none;
    }

.btn {
    width: 100%;
    padding: .6rem;
    display: block;
    font-size: 1em;
    border: 0;
    border-radius: 5px;
}

.btn-ok {
    margin-top: 4rem;
    color: #fff;
    background-color: rgb(210, 93, 47);
}

.btn-cancel {
    margin-top: 1.5rem;
    color: #fff;
    background-color: rgb(159, 159, 159);
}

select {
    width: 100%;
    height: 40px;
    margin-top: 2.5rem;
    padding: 0 20px;
    border-color: #aaa;
    border-radius: 25px;
    text-align: center;
    text-align-last: center;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23007CB2%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat, repeat;
    background-position: right .7em top 50%, 0 0;
    background-size: .65em auto, 100%;
}

    select::-ms-expand {
        display: none;
    }

.Title {
    width: 300px;
    height: 110px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0 40px 0;
    background-color: darkgrey;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 15;
}

.TitleBg {
    width: 100%;
    height: 12px;
    background-image: url("../img/titleBg.png");
    background-repeat: repeat-x;
    position: absolute;
    bottom: 15px;
}

.Title img {
    width: 60px;
    margin-right: 10px;
}

.Title .TitleText {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 70px;
    filter: drop-shadow(2px 2px 7px rgba(0, 0, 0, 0.2));
}

.Bigtitle {
    color: #fff;
    display: block;
}

.Subtitle {
    font-size: 1.4em;
    font-weight: 900;
    color: rgb(1, 165, 127);
    letter-spacing: 3px;
    display: block;
    filter: drop-shadow(2px 2px 7px rgba(255, 255, 255, 0.509));
    position: absolute;
    bottom: 5px;
    margin: 0 auto;
    z-index: 10;
}

@media (max-width:991.98px) {
    .Title {
        width: 100%;
        height: 60px;
        padding: 10px 0 20px 0;
        z-index: 2;
    }

        .Title img {
            display: none;
        }

        .Title .TitleText {
            height: 60px;
            padding-bottom: 10px;
            padding-left: 55px;
        }

    .TitleBg {
        bottom: 0px;
    }

    .Subtitle {
        font-size: 1.1em;
        bottom: 2px;
        padding-left: 55px;
    }
}

.navBar {
    width: 300px;
    height: 100%;
    background-image: linear-gradient(to right, rgba(0, 187, 143, 0.7), rgba(0, 187, 143, 0.7)), url("../img/paper.jpg");
    background-repeat: no-repeat, no-repeat;
    background-position: bottom right, right;
    font-size: 1em;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    /* position: fixed; */
    top: 0;
    left: 0;
    z-index: 2;
    filter: drop-shadow(2px 2px 7px rgba(0, 0, 0, 0.2));
}

    .navBar .menu {
        width: 100%;
        margin-top: auto;
        margin-bottom: auto;
    }

    /*20211129修正*/
    /*.navBar .menu {
        display: flex;
        justify-content: center;
        align-items: center;
    }*/
    .navBar .menu {
        display: flex;
        justify-content: center;
        align-items: flex-start;
        padding-top: 110px;
        margin: 0 !important;
    } 
    /*20211129修正*/
        /*.navBar .menu li a,
        .navBar .menu li .popupView {
            display: flex;
            align-items: center;
            padding: .5rem 2rem;
            margin: 1rem 0;
            color: #fff;
            cursor: pointer;
            transition: .4s ease;
        }*/
        .navBar .menu li a, .navBar .menu li .popupView {
            display: flex;
            align-items: center;
            padding: .5rem 2rem;
            margin: .8rem 0;
            color: #fff;
            cursor: pointer;
            transition: .4s ease;
        } 

@media (min-width:992px) {
    .navBar .menu ul {
        margin-top: 1rem;
    }
}

.navBar .menu li a:hover {
    background-color: rgba(2, 222, 170, 0.7);
}

.navBar .menu img {
    width: 50px;
    padding-right: 10px;
}

.navCube {
    width: 100%;
    display: grid;
    grid-template-columns: auto auto;
    grid-template-rows: auto;
    grid-gap: 10px;
    padding: 10px;
    margin-bottom: 15px;
}
/*20211129修正*/
    /*.navCube div {
        width: auto;
        height: 100px;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 10px;
        cursor: pointer;
        filter: drop-shadow(2px 2px 7px rgba(0, 0, 0, 0.4));
    }*/
    .navCube div {
        width: auto;
        height: 75px;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 10px;
        cursor: pointer;
        -webkit-filter: drop-shadow(2px 2px 7px rgba(0, 0, 0, 0.4));
        filter: drop-shadow(2px 2px 7px rgba(0, 0, 0, 0.4));
    }

        .navCube div a {
            color: #fff;
            letter-spacing: 2px;
        }

        .navCube div:nth-child(1) {
            background-image: linear-gradient(to right, rgba(254, 120, 67, 0.6), rgba(254, 120, 67, 0.6)), url("../img/paper.jpg");
            background-repeat: no-repeat, no-repeat;
            background-position: bottom right, right;
        }

        .navCube div:nth-child(2) {
            background-image: linear-gradient(to right, rgba(106, 90, 205, 0.6), rgba(106, 90, 205, 0.6)), url("../img/paper.jpg");
            background-repeat: no-repeat, no-repeat;
            background-position: bottom right, right;
        }

        .navCube div:nth-child(3) {
            background-image: linear-gradient(to right, rgba(238, 130, 238, 0.6), rgba(238, 130, 238, 0.6)), url("../img/paper.jpg");
            background-repeat: no-repeat, no-repeat;
            background-position: bottom right, right;
        }

        .navCube div:nth-child(4) {
            background-image: linear-gradient(to right, rgba(70, 130, 138, 0.6), rgba(70, 130, 138, 0.6)), url("../img/paper.jpg");
            background-repeat: no-repeat, no-repeat;
            background-position: bottom right, right;
        }

.mapView {
    /* padding-left: 300px; */
    width: 100%;
    height: 100%;
    background-color: #fff;
    overflow: hidden;
    position: relative;
}

    .mapView #mapDiv {
        height: 100%;
        width: 100%;
    }

.formCenter {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 30px;
    margin-right: auto;
}

.formView {
    width: 100%;
    height: 100%;
}

    .formView h3 {
        margin-top: 2rem;
    }

div.dataTables_wrapper div.dataTables_paginate {
    float: right;
    margin: 0;
}

#TableView {
    white-space: break-spaces;
}

.mapContainer{
    display: flex;
    flex-direction: column;
    width: calc(100% - 300px);
    height: 100%;
}

@media (max-width:991.98px) {
    .navBar {
        /* left: -300px; */
        width: 0;
        display: none;
    }

    .mapView {
        /* padding-left: 55px; */
        background-size: cover;
    }

    .formCenter {
        margin-left: 65px;
        /*新增起始點*/
        margin-right: 0px;
        /*新增結束點*/
        overflow-y: auto;
    }

    #TableView tbody tr td {
        white-space: break-spaces;
    }
    .mapContainer{
        padding-top: 60px;
        width: calc(100% - 55px);
    }

}

.footer {
    width: 100%;
    height: 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: darkgrey;
    color: #fff;
    font-size: .6em;
    text-align: center;
    padding: 0 15px;
    /* position: fixed; */
    bottom: 0;
    z-index: 1;
}

    .footer span {
        padding-left: 300px;
    }

@media (max-width:991.98px) {
    .footer {
        height: 50px;
    }

        .footer span {
            padding-left: 60px;
        }
}
/*地圖設置*/

.mapSearchInput {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 1;
}

@media (max-width:991.98px) {
    .mapSearchInput {
        top: 80px;
        right: 15px;
    }
}

.mapSearchInput .material-icons {
    position: absolute;
    bottom: 0;
    right: 5px;
    z-index: 1;
    color: rgb(210, 93, 47);
    width: 40px;
    height: 50px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mapSearchInput {
    width: 50px;
    height: 50px;
    border: 0;
    border-radius: 25px;
    filter: drop-shadow(2px 2px 7px rgba(0, 0, 0, 0.2));
    font-size: 1em;
    background-color: #fff;
    cursor: pointer;
}

.maptagList {
    width: 160px;
    height: auto;
    position: fixed;
    bottom: 150px;
    left: 335px;
    display: none;
}

.maptagList-show {
    display: block;
}

@media (max-width:991.98px) {
    .maptagList {
        bottom: 120px;
        left: 75px;
    }
}

.maptagList img {
    width: 40px;
    padding-right: 10px;
}

.maptagList span {
    display: flex;
    align-items: center;
    padding: .5rem;
    margin: .5rem 0;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 5px;
    cursor: pointer;
}

.mapLegendList{
    margin-bottom: 20px;
}

.mapLegendList img {
    width: 40px;
    padding-right: 10px;
}

.mapLegendList span {
    display: flex;
    align-items: center;
    padding: .5rem;
    margin: .5rem 0;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 5px;
}
/*mobile*/

.mobileMenu {
    width: 55px;
    height: 100%;
    font-size: .9em;
    background-image: linear-gradient(to right, rgba(0, 187, 143, 0.7), rgba(0, 187, 143, 0.7)), url("../img/paper.jpg");
    background-repeat: no-repeat, no-repeat;
    background-position: bottom right, right;
    position: relative;
    left: -55px;
    top: 0;
    display: flex;
    justify-content: center;
    z-index: 2;
    filter: drop-shadow(2px 2px 7px rgba(0, 0, 0, 0.2));
}

    .mobileMenu img {
        width: 30px;
        padding-bottom: 5px;
    }

    .mobileMenu ul {
        margin-top: .5rem;
        padding-left: 0;
    }

    .mobileMenu li a,
    .mobileMenu li .popupViewM {
        color: #fff;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: .5rem 0;
        cursor: pointer;
        transition: .4s ease;
    }

@media (max-width:991.98px) {
    .mobileMenu {
        left: 0;
    }
}

.modelSelect {
    width: 200px;
    height: auto;
    position: absolute;
    top: 0;
    left: -200;
    display: none;
    transform: translateY(-130px);
    z-index: 10;
}

    .modelSelect a {
        height: 50px;
        display: flex;
        justify-content: center;
    }

.modelViewClose {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: none;
}

.popupSelect {
    width: 200px;
    height: auto;
    position: absolute;
    top: 190px;
    left: 305px;
    display: none;
    z-index: 10;
    border-radius: 5px;
    background-image: linear-gradient(to right, #CE6A6B, #CE6A6B), url(../img/paper.jpg);
    background-repeat: no-repeat, no-repeat;
    background-position: bottom right, right;
    opacity:0.8;
}

    .popupSelect a {
        text-align: center;
    }

        .popupSelect a:hover {
            background-color: transparent !important;
        }

.popupSelectM {
    width: 200px;
    height: auto;
    position: absolute;
    top: 80px;
    left: 60px;
    display: none;
    z-index: 10;
    border-radius: 5px;
    background-image: linear-gradient(to right, rgba(254, 120, 67, 0.6), rgba(254, 120, 67, 0.6)), url(../img/paper.jpg);
    background-repeat: no-repeat, no-repeat;
    background-position: bottom right, right;
}

@media (max-width:991.98px) {
    .modelViewClose-show {
        display: block;
    }

    .modelSelect-show {
        display: block;
        left: 55px;
    }

    .popupSelect {
        display: none !important;
    }
}

@media (min-width:992px) {
    .popupSelectM {
        display: none !important;
    }
}

.popupSelect a,
.popupSelectM a {
    height: 50px;
    line-height: 35px;
}

.modelSelect1 {
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    background-image: linear-gradient(to right, rgba(254, 120, 67, 0.6), rgba(254, 120, 67, 0.6)), url("../img/paper.jpg");
    background-repeat: no-repeat, no-repeat;
    background-position: bottom right, right;
}

.modelSelect2 {
    background-image: linear-gradient(to right, rgba(106, 90, 205, 0.6), rgba(106, 90, 205, 0.6)), url("../img/paper.jpg");
    background-repeat: no-repeat, no-repeat;
    background-position: bottom right, right;
}

.modelSelect3 {
    background-image: linear-gradient(to right, rgba(238, 130, 238, 0.6), rgba(238, 130, 238, 0.6)), url("../img/paper.jpg");
    background-repeat: no-repeat, no-repeat;
    background-position: bottom right, right;
}

.modelSelect4 {
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    background-image: linear-gradient(to right, rgba(70, 130, 138, 0.6), rgba(70, 130, 138, 0.6)), url("../img/paper.jpg");
    background-repeat: no-repeat, no-repeat;
    background-position: bottom right, right;
}

.mapMenuView {
    width: 100%;
    height: 0;
    padding: 0;
    filter: drop-shadow(2px 2px 7px rgba(0, 0, 0, 0.2));
    /* position: absolute; */
    bottom: -300px;
    right: 0;
    background-color: #fff;
    z-index: 1;
}

.CancelBtn2 {
    position: absolute;
    right: 8px;
    top: 8px;
    z-index: 5;
    display: block;
    width: 40px;
    height: 40px;
    border-radius: 40px;
    background-color: #fff;
    filter: drop-shadow(2px 2px 7px rgba(0, 0, 0, 0.2));
    text-align: center;
    line-height: 40px;
    color: rgb(210, 93, 47);
    cursor: pointer;
    transform: translateY(10px);
    transition: .4s ease;
}

.CloseBtn {
    position: absolute;
    right: 20px;
    top: 0px;
    z-index: 5;
    display: block;
    width: 40px;
    height: 40px;
    border-radius: 40px;
    background-color: #fff;
    filter: drop-shadow(2px 2px 7px rgba(0, 0, 0, 0.2));
    text-align: center;
    line-height: 40px;
    color: rgb(210, 93, 47);
    cursor: pointer;
    transform: translateY(10px);
    transition: .4s ease;
}

.CloseBtn-show {
    /* left: 340px; */
    top: -30px;
}

.mapMenu {
    position: absolute;
    left: 10px;
    top: 0;
    transform: translateY(-55px);
    display: flex;
}

    .mapMenu div {
        width: 110px;
        height: 40px;
        background-color: #fff;
        border-radius: 5px;
        border-top: 8px solid rgba(0, 164, 126, 0.7);
        filter: drop-shadow(2px 2px 7px rgba(0, 0, 0, 0.2));
        text-align: center;
        line-height: 30px;
        color: #333;
        margin-top: .5em;
        margin-right: .5em;
        cursor: pointer;
        transform: translateY(10px);
        transition: .4s ease;
    }

.mapMenuView-show {
    bottom: 0;
    /* margin-bottom: 50px; */
    padding: 10px;
    height: 370px;
}

.mapMenu-show {
    bottom: 400px;
}

.mapsideTable {
    width: 100%;
    height: 100%;
    padding: 0px 1rem;
    z-index: 1;
    display: flex;
    overflow-y: hidden;
}

.mapsideTableTitle {
    color: #fff;
    text-align: center;
    width: 100%;
    background-color: rgb(1, 165, 127);
    font-size: 1.1em;
    padding: .5rem;
    top: 0;
    left: 0;
}

.roadstopSearch {
    display: none;
    max-width: 400px;
    width: 100%;
    z-index: 3;
    padding: 4rem 2rem 2.5rem 2rem;
    margin: 1rem;
    background-color: #fff;
    border-radius: 5px;
    position: relative;
}

.roadstopSearch-show {
    display: block;
    animation-name: upAnimation;
    animation-duration: .5s;
    animation-timing-function: ease;
    animation-fill-mode: forwards;
    margin-top: 50px;
    opacity: 0;
}

@keyframes upAnimation {
    from {
        margin-top: 50px;
        opacity: 0;
    }

    to {
        margin-top: 0px;
        opacity: 1;
    }
}

.modalBg {
    background-color: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999;
    opacity: 0;
    animation-name: opacityAnimation;
    animation-duration: .5s;
    animation-timing-function: ease;
    animation-fill-mode: forwards;
}

@keyframes opacityAnimation {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modalBg-show {
    display: flex;
}

.mobileBtn {
    display: none;
}

.mapsideTable .tableStyle {
    width: 100%;
    white-space: nowrap;
    border-collapse: collapse;
    background-color: #fff;
}

.tableStyle thead th {
    padding: 1rem 8px;
    border-bottom: 2px solid rgba(0, 164, 126, 0.7);
}

.tableStyle th {
    text-align: center;
    padding: .5rem 1rem;
}

.tableStyle td {
    text-align: center;
    padding: .5rem 1rem;
}

.tableStyle .material-icons {
    color: rgba(0, 164, 126, 0.7);
    cursor: pointer;
}

.tableStyle tbody td {
    padding: 1rem 8px;
    border-bottom: 1px solid rgb(111, 245, 214);
}

/*20211129修正*/
/*.mapsideTable .tableInput {
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    flex-direction: column;
    margin-top: 1rem;
}*/
.mapsideTable .tableInput {
    width: 100%;
    height: calc(100% - 70px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    margin-top: 3rem !important;
    padding: 1rem 0;
}

.searchTitle {
    color: #fff;
    text-align: center;
    width: 100%;
    background-color: rgb(1, 165, 127);
    font-size: 1.1em;
    padding: 1rem;
    margin-bottom: 2rem;
    position: absolute;
    top: 0;
    left: 0;
}

.tableInput .inputTitle {
    width: 100%;
    margin-top: 1rem;
}

.tableInput .material-icons {
    vertical-align: middle;
    padding: 0 0 5px 5px;
    cursor: pointer;
}

.tableInput .inputTitle input {
    width: 100%;
    height: 40px;
    border: 0;
    border-radius: 25px;
    background-color: rgb(237, 237, 237);
    padding: 0 1em 0 1em;
    margin-top: .5rem;
    text-align: center;
    font-size: 1.2em;
}
/*MAP Search*/
/*MAP Search*/
/*MAP Search*/

.modalBg2 {
    background-color: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999;
    opacity: 0;
    animation-name: opacityAnimation;
    animation-duration: .5s;
    animation-timing-function: ease;
    animation-fill-mode: forwards;
}

.modalBg2-show {
    display: flex;
}

.mapSearchView {
    min-width: 375px;
    max-width: 500px;
    width: 100%;
}

.mapSearchView-show {
    display: block;
    animation-name: upAnimation;
    animation-duration: .5s;
    animation-timing-function: ease;
    animation-fill-mode: forwards;
    margin-top: 50px;
    opacity: 0;
}

@keyframes upAnimation {
    from {
        margin-top: 50px;
        opacity: 0;
    }

    to {
        margin-top: 0px;
        opacity: 1;
    }
}

.tab {
    overflow: hidden;
    background-color: #f1f1f1;
    border-top: 8px solid rgb(1, 165, 127);
}

    .tab button {
        background-color: inherit;
        float: left;
        border: none;
        /* outline: none; */
        cursor: pointer;
        padding: 1em 1.2em;
        transition: 0.3s;
        font-size: 1.1em;
    }

        .tab button:hover {
            background-color: #ddd;
        }

        .tab button.active {
            color: #fff;
            background-color: rgb(1, 165, 127);
        }

.tabcontent {
    display: none;
    padding: 1rem 2rem 3.5rem 2rem;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    background-color: #fff;
}
/*新增起始點*/

@media (min-width:992px) {
    .modalBg2 {
        background-color: rgba(255, 255, 255, 0);
        width: 300px;
        height: 100%;
        position: relative;
        top: 0;
        right: 0;
        left: auto;
        display: none;
        justify-content: center;
        align-items: center;
    }

    .modalBg2-show {
        display: block;
    }

    .mapSearchView {
        min-width: 300px;
        max-width: 500px;
        width: 100%;
        height: 100%;
        box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.1);
    }

    .mapSearchView-show {
        display: block;
        animation-name: leftAnimation;
        animation-duration: .5s;
        animation-timing-function: ease;
        animation-fill-mode: forwards;
        margin-top: 0px;
        opacity: 0;
    }

    .tabcontent {
        height: 100%;
    }

    @keyframes leftAnimation {
        from {
            margin-left: 50px;
            opacity: 0;
        }

        to {
            margin-left: 0px;
            opacity: 1;
        }
    }
}
/*新增結束點*/
/*MAP Search*/
/*MAP Search*/
/*MAP Search*/

.mapsideCalendar {
    width: 100%;
    height: 100%;
    padding: 0px 1rem;
    z-index: 1;
    overflow-y: auto;
    opacity: 0;
    background-color: #fff;
    padding-left: 300px;
}

.mapsideCalendar-show {
    opacity: 1;
}

.mapsideTable {
    opacity: 0;
}

.mapsideTable-show {
    opacity: 1;
}

.SearchBtn {
    position: absolute;
    right: 80px;
    top: 0;
    z-index: 5;
    transform: translateY(-25px);
    display: block;
    width: 40px;
    height: 40px;
    border-radius: 40px;
    background-color: #fff;
    filter: drop-shadow(2px 2px 7px rgba(0, 0, 0, 0.2));
    text-align: center;
    line-height: 40px;
    color: rgb(210, 93, 47);
    cursor: pointer;
    transform: translateY(10px);
    transition: .4s ease;
}

.SearchBtn-show {
    /* left: 405px; */
    top: -30px;
}

@media (max-width:991.98px) {
    .mapsideTable {
        flex-direction: column;
    }

    .mapMenuView {
        height: 0;
        padding: 0;
        filter: drop-shadow(2px 2px 7px rgba(0, 0, 0, 0.2));
        /* position: absolute; */
        bottom: -400px;
        left: 10px;
        background-color: #fff;
        z-index: 1;
    }

    .mapMenuView-show {
        bottom: 0;
        margin-bottom: 0;
        height: 400px;
        padding: 10px;
    }
    
    .mapMenu {
        left: 10px;
        margin-bottom: 0px;
    }

    .CloseBtn {
        left: 5px;
        transform: translateY(-25px);
    }

    .CloseBtn-show {
        right: 30px;
    }

    .SearchBtn-show {
        right: 30px;
    }

    .mobileBtn {
        display: block;
    }

    .CloseBtn {
        position: absolute;
        left: -50px;
        top: -30px;
        z-index: 5;
        display: block;
        width: 40px;
        height: 40px;
        border-radius: 40px;
        background-color: #fff;
        filter: drop-shadow(2px 2px 7px rgba(0, 0, 0, 0.2));
        text-align: center;
        line-height: 40px;
        color: rgb(210, 93, 47);
        cursor: pointer;
        transform: translateY(10px);
        transition: .4s ease;
    }

    .CloseBtn-show {
        right: 30px;
        left: auto;
        top: -90px;
    }

    .tableViewHide {
        display: none;
    }

    .Mobileinput {
        height: 35px !important;
    }

    .btnTop {
        margin-top: 2rem;
    }
}

/*20211129修正*/
/*@media (max-width:767.98px) {
    .mapsideTable {
        flex-wrap: wrap;
    }
}*/
@media (max-width:767.98px) {
    .mapsideTable {
        flex-wrap: wrap;
    }

    .fc-toolbar h2 {
        font-size: 1.2em !important;
    }

    .fc-today-button, .fc-dayGridMonth-button, .fc-timeGridWeek-button, .fc-timeGridDay-button, .fc-listWeek-button {
        display: none !important;
    }
} 

/*ScrollBar*/
/* .Scrollbar::-webkit-scrollbar {
    width: 14px;
    background-color: transparent;
    }

    .Scrollbar::-webkit-scrollbar-track {
    background-color: rgba(215, 215, 215, 0.6);
    border: 1px solid #fff;
    }

    .Scrollbar::-webkit-scrollbar-thumb {
    background-color: rgb(157, 157, 157);
    } */
/*Calendar*/
/*Calendar*/
/*Calendar*/

#calendar-container {
    position: fixed;
    top: 20px;
    left: 300px;
    right: 0;
    bottom: 0;
    box-sizing: content-box;
    height: 100%;
    width: auto;
}

@media (max-width:991.98px) {
    #calendar-container {
        left: 55px;
    }
}

#calendar {
    height: 100%;
    width: auto;
    padding: 10px 15px 30px 15px;
    box-sizing: border-box;
}

.fc .fc-toolbar-title {
    font-size: 1.4em;
    margin: 0;
}

.fc .fc-daygrid-day-frame {
    padding: 5px 20px;
}

@media (max-width:767.98px) {
    .fc .fc-daygrid-day-frame {
        padding: 5px 5px;
    }
}

.fc .fc-button-primary {
    color: #fff;
    color: var(--fc-button-text-color, #fff);
    background-color: rgb(70, 99, 128);
    background-color: var(--fc-button-bg-color, rgb(70, 99, 128));
    border-color: rgb(70, 99, 128);
    border-color: var(--fc-button-border-color, rgb(70, 99, 128));
}
/*Calendar*/
/*Calendar*/
/*Calendar*/

div.dataTables_wrapper {
    z-index: 1;
    height: calc(100% - 50px);
}

.formView div.dataTables_wrapper {
    z-index: 1;
    height: calc(100% - 50px);
    margin-top: -30px;
    margin-right: 30px;
}

@media (max-width:767.98px) {
    .formView div.dataTables_wrapper {
        margin-right: 0px;
    }
}

.dataTables_length {
    margin-bottom: 15px;
}

    .dataTables_length select {
        width: 100%;
        height: calc(1.5em + .75rem + 2px);
        padding: .5rem .75rem;
        font-size: 1rem;
        font-weight: 400;
        line-height: 1.5;
        color: #495057;
        background-color: #fff;
        background-clip: padding-box;
        border: 1px solid #ced4da;
        border-radius: .25rem;
        transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
        box-sizing: border-box;
    }

table.dataTable {
    border: 1px solid #ddd;
}

    table.dataTable.no-footer {
        border-bottom: 1px solid #ddd;
    }

.TableView thead {
    background-color: rgb(240, 240, 240);
}

table.dataTable thead th,
table.dataTable thead td {
    border-bottom: 1px solid #ddd;
}

#TableView thead tr th {
    color: var(--main-Black-color);
    padding: .4rem .8rem;
    text-align: left;
}

#TableView tbody tr td {
    padding: .65rem .8rem;
    text-align: left;
}

table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > td:first-child:before,
table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > th:first-child:before {
    left: 5px;
    height: 18px;
    width: 18px;
    text-indent: 2px !important;
    line-height: 18px;
}

table.dataTable.dtr-inline.collapsed > tbody > tr.parent > td:first-child:before,
table.dataTable.dtr-inline.collapsed > tbody > tr.parent > th:first-child:before {
    content: '-';
    background-color: var(--main-Red-color);
}

div.dataTables_wrapper div.dataTables_info {
    padding-top: 6px;
    float: left;
}

div.dataTables_wrapper div.dataTables_length label {
    margin-bottom: 10px;
}

#TableView.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > td:first-child,
#TableView.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > th:first-child {
    position: relative;
    padding-left: 30px;
    cursor: pointer;
}

#TableView .textCenter {
    text-align: center;
}

    #TableView .textCenter .material-icons {
        color: rgba(106, 90, 205, 0.6);
        cursor: pointer;
    }

table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > td:first-child:before,
table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > th:first-child:before {
    background-color: rgba(106, 90, 205, 0.6);
}
/*Form*/

.formBox {
    width: 100%;
    margin: 3rem auto 80px auto;
    min-width: 300px;
    max-width: 660px;
}

.formFlex {
    width: 100%;
    margin: 0 auto;
}

.formBtnView {
    min-width: 300px;
    max-width: 660px;
    display: flex;
    justify-content: center;
    margin: 0 auto;
    padding: 2rem 0;
}

    .formBtnView .btn {
        margin: 1rem;
        width: 100%;
    }

.inputFormView {
    padding: 1rem 2rem 2.5rem 2rem;
    background-color: #fff;
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    box-sizing: border-box;
}

.radioFormView {
    padding: 4.5rem 2rem 2.5rem 2rem;
    margin-bottom: .5rem;
    background-color: #fff;
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    box-sizing: border-box;
    position: relative;
}

.formTitle {
    color: #fff;
    text-align: center;
    width: 100%;
    background-color: rgb(1, 165, 127);
    font-size: 1.1em;
    padding: 1rem;
    margin-bottom: 2rem;
    position: absolute;
    top: 0;
    left: 0;
}

.radioGroup {
    width: 100%;
    display: flex;
}

@media (max-width:991.98px) {
    .radioGroup {
        flex-wrap: wrap;
    }
}

.radioTitle {
    margin: 1.5rem 0 0.5rem 0;
    font-size: 16px !important;
}

[type="checkbox"]:checked,
[type="checkbox"]:not(:checked),
[type="radio"]:checked,
[type="radio"]:not(:checked) {
    position: absolute;
    left: -9999px;
    width: 0;
    height: 0;
    visibility: hidden;
}

.checkbox:checked + label,
.checkbox:not(:checked) + label {
    position: relative;
    display: inline-block;
    padding: 10px;
    width: 100%;
    height: 40px;
    font-size: 1em;
    line-height: 20px;
    margin: 0 auto;
    margin-left: 5px;
    margin-right: 5px;
    text-align: center;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    text-transform: uppercase;
    color: #fff;
    -webkit-transition: all 300ms linear;
    transition: all 300ms linear;
    white-space: nowrap;
}

.checkbox:not(:checked) + label {
    background-color: rgba(106, 90, 205, 0.9);
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
    margin-bottom: .5rem;
}

.checkbox:checked + label {
    background-color: transparent;
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
    color: #333;
    /* outline: 2px solid rgba(106, 90, 205, 0.6); */
    background-color: rgba(255, 255, 255, 0.9);
    margin-bottom: .5rem;
}

.checkbox:not(:checked) + label:hover {
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
}

.checkbox:checked + label::before,
.checkbox:not(:checked) + label::before {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 4px;
    z-index: -1;
}

.checkbox:checked + label .uil,
.checkbox:not(:checked) + label .uil {
    font-size: 24px;
    line-height: 24px;
    display: block;
    padding-bottom: 10px;
}

.textAreaView {
    width: 100%;
    border: 0;
    border-radius: 5px;
    background-color: rgb(237, 237, 237);
    margin-top: .5rem;
}

table.dataTable thead > tr > th.sorting_asc,
table.dataTable thead > tr > th.sorting_desc,
table.dataTable thead > tr > th.sorting,
table.dataTable thead > tr > td.sorting_asc,
table.dataTable thead > tr > td.sorting_desc,
table.dataTable thead > tr > td.sorting {
    padding-right: 0rem;
}

table.dataTable thead th,
table.dataTable thead td {
    padding: 10px 12px;
}
/*新增起始點*/

.responsive-table {
    width: 100%;
    height: 240px;
    overflow: scroll;
    border-bottom: 1px solid #ddd;
}

@media (max-width:991.98px) {
    .responsive-table {
        height: 260px;
    }
}

.responsive-table table {
    border-spacing: 0px;
}

.responsive-table th,
.responsive-table td {
    text-align: center;
    vertical-align: middle;
    padding: 0.5rem;
}

.responsive-table td,
.responsive-table th {
    border-top: 1px solid #ddd;
    width: 100px;
}

.responsive-table th {
    background-color: lightblue;
}

.responsive-table table {
    table-layout: fixed;
}

.responsive-table td:first-child,
.responsive-table th:first-child {
    position: sticky;
    left: 0;
    z-index: 1;
    background-color: #fff;
}

.responsive-table thead tr th {
    position: sticky;
    top: 0;
}

.responsive-table th:first-child {
    z-index: 2;
    background-color: lightblue;
}

.pagination {
    display: flex;
    justify-content: center;
    padding-left: 0;
    list-style: none;
    border-radius: .25rem;
    margin-top: 15px;
}

.page-item:first-child .page-link {
    margin-left: 0;
    border-top-left-radius: .25rem;
    border-bottom-left-radius: .25rem;
}

.page-link:not(:disabled):not(.disabled) {
    cursor: pointer;
}

.page-link {
    position: relative;
    display: block;
    padding: .5rem .75rem;
    margin-left: -1px;
    line-height: 1.25;
    color: rgb(1, 165, 127);
    background-color: #fff;
    border: 1px solid #dee2e6;
}

/*20201015 rocky*/
.page-item .page-link-disabled {
    position: relative;
    display: block;
    padding: .5rem .75rem;
    margin-left: -1px;
    line-height: 1.25;
    color: darkgray;
    background-color: #fff;
    border: 1px solid #dee2e6;
}

.page-link-disabled a{
    text-decoration:dashed;
}

.require{
    color:red;
}
/*新增結束點*/


/*--新建案新增起始點--*/
/*--新增起始點--*/

.formTitle {
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.formTitle {
    font-size: 1.15em !important;
}

.tableInput .inputTitle input {
    font-size: 1em !important;
}

.tableInput .inputTitle {
    width: 100%;
    height: 90px;
    font-size: 16px !important;
}

.formFull {
    min-width: 300px;
    max-width: 90%;
}

.formTwoCol {
    display: flex;
}

.formFull .material-icons {
    vertical-align: middle;
}

.formFull .inputFormView {
    padding: 6rem 4rem 2.5rem 4rem;
    position: relative;
    margin-bottom: 1rem;
}

.inputGroup {
    display: flex;
    align-items: center;
}

    .inputGroup .textLine {
        padding-right: .5rem;
    }

.formFull input {
    width: 100%;
}

.inputGroup input {
    margin-right: .5rem;
}

    .inputGroup input:last-child {
        margin-right: 0;
    }

.formTwoCol .inputTitle {
    display: flex;
    flex-direction: column;
    font-weight: 400;
}

.formTwoCol .radioTitle {
    display: flex;
    flex-direction: row;
    font-weight: 400;
}

.formLeft {
    margin-right: 1rem;
}

.formRight {
    margin-Left: 1rem;
}

.formLeft,
.formRight,
.formMiddle {
    width: 100%;
}

@media(max-width:1199.98px) {
    .formFull .inputFormView {
        padding: 6rem 1rem 2.5rem 1rem;
    }
}

@media(max-width:991.98px) {
    .formFull .inputFormView {
        padding: 5rem 1.5rem 1.5rem 1.5rem;
    }

    .formTwoCol {
        flex-direction: column;
    }

    .formLeft {
        margin-right: 0rem;
    }

    .formRight {
        margin-Left: 0rem;
    }

    .formFull input {
        max-width: 100%;
    }
}

.select-box {
    position: relative;
    display: block;
    width: 100%;
    margin: 0 auto;
}

.select-box__current {
    position: relative;
    cursor: pointer;
    outline: none;
}

    .select-box__current:focus + .select-box__list {
        opacity: 1;
        animation-name: none;
    }

        .select-box__current:focus + .select-box__list .select-box__option {
            cursor: pointer;
        }

    .select-box__current:focus .select-box__icon {
        transform: translateY(-50%) rotate(180deg);
    }

.select-box__icon {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    width: 20px;
    opacity: 0.3;
    transition: 0.2s ease;
    margin-top: .3rem;
}

.select-box__value {
    display: flex;
}

.select-box__input {
    display: none;
}

    .select-box__input:checked + .select-box__input-text {
        display: block;
        margin-top: .5rem;
    }

.select-box__input-text {
    display: none;
    width: 100%;
    margin: 0;
    padding: 7px;
    background-color: #fff;
    border: 2px solid rgba(106, 90, 205, 0.6);
    border-radius: 4px;
    text-align: center;
}

.select-box__list {
    position: absolute;
    z-index: 10;
    width: 100%;
    margin-top: .3rem;
    padding: 0;
    list-style: none;
    opacity: 0;
    animation-name: HideList;
    animation-duration: 0.5s;
    animation-delay: 0.5s;
    animation-fill-mode: forwards;
    animation-timing-function: step-start;
    box-shadow: 0 7px 20px -5px rgba(0, 0, 0, 0.3);
    border-radius: 5px;
}

.select-box__option {
    display: block;
    padding: 15px;
    background-color: #fff;
    transition: .3s all;
    text-align: center;
}

    .select-box__option:hover,
    .select-box__option:focus {
        color: #fff;
        background-color: rgba(106, 90, 205, 1);
        transition: .3s all;
    }

@keyframes HideList {
    from {
        transform: scaleY(1);
    }

    to {
        transform: scaleY(0);
    }
}

.checkbox-round:checked + label,
.checkbox-round:not(:checked) + label {
    position: relative;
    display: inline-block;
    padding: 10px;
    width: 25px;
    height: 25px;
    margin: 0 auto;
    margin-left: 10px;
    margin-right: 5px;
    text-align: center;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    text-transform: uppercase;
    transition: .1s all;
}

.checkbox-round:not(:checked) + label {
    background-color: rgba(106, 90, 205, 0.6);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.1);
    margin-bottom: .5rem;
    border-radius: 50%;
}

.checkbox-round:checked + label {
    background-color: transparent;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2);
    border: 3px solid rgba(106, 90, 205, 1);
    margin-bottom: .5rem;
    border-radius: 50%;
}

.checkbox-round:not(:checked) + label:hover {
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2);
}

.checkbox-round:checked + label .uil,
.checkbox-round:not(:checked) + label .uil {
    font-size: 24px;
    line-height: 24px;
    display: block;
    padding-bottom: 10px;
}

.radioSelect {
    display: flex;
    line-height: 25px;
    margin-right: 1rem;
    margin-top: 1rem;
}

.inputTitleTag {
    color: red;
    padding-right: .3rem;
}

.inputWidth20 {
    max-width: 20% !important;
}

.inputWidth30 {
    max-width: 30% !important;
}

.inputWidth40 {
    max-width: 40% !important;
}

.inputWidth50 {
    max-width: 50% !important;
}

.inputWidth60 {
    max-width: 60% !important;
}

.inputWidth70 {
    max-width: 70% !important;
}

.inputWidth80 {
    max-width: 80% !important;
}

.inputWidth90 {
    max-width: 90% !important;
}

.inputMargin .inputGroup input {
    margin-right: .5rem;
}

.uploadFile {
    background-color: transparent !important;
    margin-top: .8rem !important;
}

@media(max-width:991.98px) {
    .inputWidth40,
    .inputWidth50,
    .inputWidth60,
    .inputWidth70,
    .inputWidth80,
    .inputWidth90 {
        max-width: 100% !important;
    }
}
/*--新增結束點--*/

.skip-link {
    position: absolute;
    top: -40px; /* 預設隱藏在畫面外 */
    left: 0;
    background: #fff;
    color: #000;
    padding: 8px 16px;
    z-index: 100;
    transition: top 0.3s;
    text-decoration: none;
    font-size: 16px;
    border-radius: 4px;
}

.skip-link:focus {
    top: 0; /* 當使用者按 Tab 聚焦時出現 */
}
