
.text-Red {
    color: #e60012;
}

.text-Blue {
    color: #0071BC;
}

html, body {
    height: 100%;
    overflow: hidden;
}
/*圖台設定*/
#map {
    height: 100%;
}


/*文字圖層按鈕效果*/
.layerlabel .moreInput {
    width: auto;
    line-height: 20px;
    vertical-align: top;
    font-size: 2rem;
    color: #0066ff;
}

.layerlabel .moreInput input {
    position: static;
    display: inline-block;
    margin: 0;
    margin-right: 4px;
    opacity: 1;
    width: 20px;
    height: 20px;
}


.btn-mapMenuHide {
    display: block;
    width: 100%;
    line-height: 30px;
    text-align: center;
    color: #fff;
    font-size: 1.6rem;
}

.btn-mapMenuShow-close {
    z-index: 2;
    position: absolute;
    top: 50%;
    left: -70px;
    transform: translate( 0,-50%);
    display: block;
    text-align: center;
    color: #fff;
    width: 50px;
    line-height: 30px;
    font-size: 1.6rem;
    background: #2EA7E0;
}

a.btn-mapMenuHidea:hover,
a.btn-mapMenuHidea:active,
a.btn-mapMenuHidea:focus {
    color: #fff;
}


.leftLayerArea {
    z-index: 2;
    position: absolute;
    top: 50%;
    left: 0px;
    transform: translate( 0,-50%);
    transition: all 0.3s;
}

.mapMenuBox {
    width: 70px;
    height: 568px;
    background: #2EA7E0;
    transition: all 0.3s;
}

.mapMenu a {
    display: block;
    width: 100%;
    line-height: 24px;
    padding: 16px 0;
    text-align: center;
    font-size: 2rem;
    color: #fff;
    font-weight: 900;
}

    .mapMenu a.active {
        background: #0C6BB0;
    }

.menuSettingBox {
    position: absolute;
    bottom: 0;
    left: 0;
    display: block;
    width: 100%;
    margin-top: 10px;
    text-align: center;
}

    .menuSettingBox > li {
        display: block;
        padding: 2px 2px;
    }

.menuBoxBtn {
    display: inline-block;
    width: 50px;
    height: 50px;
    text-align: center;
    border-radius: 50%;
    overflow: hidden;
}

.drawingSettingBtn {
    background: #2EA7E0 url(../Images/icon_drawing.png)no-repeat;
    background-position: center center;
    background-size: 40%;
}

.layerSettingBtn {
    background: #2EA7E0 url(../Images/icon_layer.png)no-repeat;
    background-position: center center;
    background-size: 40%;
}

.drawingSettingBtn.active {
    background: #093e83 url(../Images/icon_drawing.png)no-repeat;
    background-position: center center;
    background-size: 40%;
}

.layerSettingBtn.active {
    background: #093e83 url(../Images/icon_layer.png)no-repeat;
    background-position: center center;
    background-size: 40%;
}

/*圖資設定*/
.leftLayerBox {
    z-index: -1;
    position: absolute;
    top: 50%;
    left: -540px;
    transform: translate( 0,-50%);
    width: 540px;
    height: 568px;
    background: #323333;
    transition: all 0.3s;
}

.leftBtnBox {
    width: 100%;
    height: 30px;
    padding-right: 10px;
    text-align: right;
}

    .leftBtnBox a {
        display: inline-block;
        line-height: 30px;
        padding: 0 5px;
        font-size: 1.6rem;
        color: #fff;
    }

.layerContainer {
    display: flex;
}

.layerListBox {
    width: 30%;
    color: #fff;
    padding: 0;
}

    .layerListBox > li > a {
        display: block;
        line-height: 20px;
        padding: 10px 10px;
        color: #fff;
        font-size: 1.8rem;
    }

        .layerListBox > li > a:hover {
            background: rgba(255,255,255,0.2);
        }

    .layerListBox > li.active > a {
        background: #0C6BB0;
    }

.layerBox {
    width: 70%;
    color: #fff;
}

    .layerBox > div {
        height: 100%;
        flex-direction: column;
    }

.layerScrollbar {
    height: 486px;
    margin-right: 12px;
    border: 1px solid #0C6BB0;
}

@media (max-height:812px) {
    .layerScrollbar {
        height: 730px;
    }
}

@media (max-height:736px) {
    .layerScrollbar {
        height: 666px;
    }
}

@media (max-height:667px) {
    .layerScrollbar {
        height: 597px;
    }
}

@media (max-height:568px) {
    .layerScrollbar {
        height: 490px;
    }
}

.layerCheckboxList {
    padding: 10px 14px 10px 10px;
}
/* Customize the label (the container) */
.layerlabel {
    display: block;
    position: relative;
    padding-left: 56px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 1.8rem;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

    /* Hide the browser's default checkbox */
    .layerlabel input {
        position: absolute;
        opacity: 0;
        cursor: pointer;
        height: 0;
        width: 0;
    }

/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #eee;
}

.checkImg {
    position: absolute;
    top: 0;
    left: 30px;
    height: 25px;
    width: 25px;
}

    .checkImg img {
        height: 25px;
    }
/* On mouse-over, add a grey background color */
.layerlabel:hover input ~ .checkmark {
    background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.layerlabel input:checked ~ .checkmark {
    background-color: #2196F3;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.layerlabel input:checked ~ .checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.layerlabel .checkmark:after {
    left: 9px;
    top: 8px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.opacityBox {
    display: flex;
    padding: 10px 20px 10px 10px;
    height: 50px;
}

    .opacityBox > div {
        width: 10%;
        line-height: 30px;
        color: #fff;
        text-align: center;
        font-size: 1.6rem;
    }

/*Slider bar 樣式*/
input[type="range"] {
    /*removes default webkit styles*/
    -webkit-appearance: none;
    /*fix for FF unable to apply focus style bug */
    border-style: none;
    /*required for proper track sizing in FF*/
    width: 80%;
    -webkit-margin-top: 10px;
}

    input[type="range"]::-webkit-slider-runnable-track { /*chrom*/
        width: 80%;
        height: 6px;
        background: #f2f2f2;
        border: none;
        border-radius: 3px;
    }

    input[type="range"]::-webkit-slider-thumb {
        -webkit-appearance: none;
        border: none;
        height: 14px;
        width: 14px;
        border-radius: 50%;
        background: #2EA7E0;
        margin-top: -4px;
    }

    input[type="range"]:focus {
        outline: none;
    }

        input[type="range"]:focus::-webkit-slider-runnable-track {
            background: #fff;
        }

    input[type="range"]::-moz-range-track { /*firefox*/
        width: 80%;
        height: 6px;
        background: #f2f2f2;
        border: none;
        border-radius: 3px;
    }

    input[type="range"]::-moz-range-thumb {
        border: none;
        height: 14px;
        width: 14px;
        border-radius: 50%;
        background: #2EA7E0;
    }

    /*hide the outline behind the border*/
    input[type="range"]:-moz-focusring {
        outline: 1px solid white;
        outline-offset: -1px;
    }

    input[type="range"]::-ms-track { /*IE*/
        -ms-width: 80%;
        height: 6px;
        margin-top: 0px;
        /*remove bg colour from the track, we'll use ms-fill-lower and ms-fill-upper instead */
        background: transparent;
        /*leave room for the larger thumb to overflow with a transparent border */
        border-color: transparent;
        border-width: 6px 0;
        /*remove default tick marks*/
        color: transparent;
    }

    input[type="range"]::-ms-fill-lower {
        background: #f2f2f2;
        border-radius: 10px;
    }

    input[type="range"]::-ms-fill-upper {
        background: #fff;
        border-radius: 10px;
    }

    input[type="range"]::-ms-thumb {
        border: none;
        height: 14px;
        width: 14px;
        border-radius: 50%;
        background: #2EA7E0;
    }

    input[type="range"]:focus::-ms-fill-lower {
        background: #f2f2f2;
    }

    input[type="range"]:focus::-ms-fill-upper {
        background: #fff;
    }

@media screen and (-webkit-min-device-pixel-ratio:0) {
    /*針對 Safari 的 CSS Hack */
    input[type='range'] {
        -webkit-appearance: none;
        border-radius: 3px;
        background-color: #f2f2f2;
        width: 80%;
        height: 6px;
        vertical-align: middle;
        margin-top: 10px;
    }

        input[type='range']::-webkit-slider-thumb {
            -webkit-appearance: none !important;
            border-radius: 50%;
            background-color: #2EA7E0;
            height: 14px;
            width: 14px;
        }
}

/*Slider bar 樣式 END*/


/*視窗縮放設定*/
.mapMenuBox-hide {
    left: -70px;
    transform: translate( 0,-50%);
}

.btn-mapMenuShow-open {
    left: 0px;
    transition: all 0.3s;
}

.leftLayerBox-open {
    left: 70px;
}

.leftLayerArea-hide {
    top: 50%;
    left: -620px;
}

@media (max-width:767px) {

    .mapMenuBox {
        z-index: 10000;
        position: absolute;
        top: 50%;
        left: 0px;
        transform: translate( 0, -50%);
        transition: all 0.3s;
        width: 70px;
        height: 380px;
    }

    .mapMenuBox-hide {
        top: 50%;
        left: -50%;
    }

    .leftLayerBoxBg {
        z-index: 10100;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.9);
        transition: all 0.3s;
    }

    .leftLayerBox {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
        width: 100%;
        height: 100%;
    }

    .leftLayerBox-open {
        top: 0%;
        transform: translate(-50%, -100%);
    }
}

/*圖層設定*/
.rightlayerBox {
    display: block;
    z-index: 1000;
    position: absolute;
    right: -50%;
    top: 170px;
    background: #323333;
    width: 300px;
    height: 70%;
    box-shadow: 1px 1px 10px rgba(0,0,0,0.3);
    transition: all 0.3s;
}

    .rightlayerBox.open {
        right: 1%;
    }

.btn-close a {
    color: #fff;
}

.hiderightlayerBox {
    position: absolute;
    right: 2%;
    top: 10px;
    width: 20px;
    height: 20px;
    text-align: center;
    color: #fff;
}

.rightlayerBoxScrollbar {
    width: 100%;
    overflow: hidden;
}

#layerAbgne {
    width: 100%;
    height: 95%;
}

    #layerAbgne ul, #layerAbgne li {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    #layerAbgne ul {
        display: flex;
    }

    #layerAbgne .tabs li {
        flex: 1;
        margin: 0 10px;
        padding: 10px 10px;
        border-bottom: 4px solid #fafafa;
        cursor: pointer;
    }

        #layerAbgne .tabs li.active {
            background: #323333;
            color: #fff;
            padding: 10px 10px;
            border-bottom: 4px solid #1974ff;
        }

        #layerAbgne .tabs li.hover {
            /* background: #f5f5f5;  */
        }

    #layerAbgne .tabs span {
        display: block;
        float: left;
        width: 100%;
        text-align: center;
        overflow: hidden;
        padding: 7px 15px 5px 15px;
        font-size: 1.8rem;
        color: #fff;
    }

    #layerAbgne .tab_container {
        height: inherit;
        clear: both;
        overflow: hidden;
    }

        #layerAbgne .tab_container ul {
            position: relative;
            height: 100%;
            overflow: hidden;
        }

        #layerAbgne .tab_container .tab_content li {
            position: absolute;
            width: 90%;
            height: 95%;
            padding: 10px 10px;
            margin: 2.5% 5%;
            margin-top: 10px;
            background: rgba(255,255,255,0.3);
        }

@media (max-width: 767px) {
    .rightlayerBoxBg {
        z-index: 10100;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.9);
        transition: all 0.3s;
    }

    .rightlayerBox {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
        width: 90%;
        height: 95%;
    }

    #layerAbgne .tab_container ul {
        position: relative;
        height: 95%;
        overflow: hidden;
    }

    #layerAbgne .tab_container .tab_content li {
        position: absolute;
        width: 90%;
        height: 100%;
        margin: 2.5% 5%;
        padding: 15px 10px;
        margin-top: 0px;
    }
}


/*圖層底圖套疊*/
.layerBg {
    cursor: pointer;
    position: relative;
    float: left;
    width: 48%;
    box-sizing: border-box;
    margin: 1% 1%;
    height: 120px;
    margin-bottom: 50px;
}

    .layerBg.active {
        background: rgba(255,255,255,0.8);
    }

    .layerBg span {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
        border: 1px solid #707070;
        display: block;
        width: 106px;
        height: 106px;
        overflow: hidden;
    }

    .layerBg img {
        height: 100%;
        width: auto;
    }

    .layerBg .title {
        text-align: center;
        line-height: 20px;
        padding: 124px 10px 0 10px;
        font-size: 1.6rem;
        color: #fff;
    }


/*小畫家設定*/
.drawingBox {
    display: block;
    z-index: 1000;
    position: absolute;
    right: 330px;
    top: -500px;
    background: #323333;
    width: 550px;
    width: 320px;
    box-shadow: 1px 1px 10px rgba(0,0,0,0.3);
    transition: all 0.3s;
    opacity: 0;
}

.drawingTableScrollbar {
    height: 300px;
    overflow: hidden;
}

.drawingBox.active {
    opacity: 1;
    right: 330px;
    top: 170px;
    transition: all 0.3s;
}

.drawingBox .title {
    position: relative;
    border-bottom: 1px solid #0f86e1;
    padding: 4px 10px;
    color: #fff;
    font-size: 2.2rem;
}

.hidedrawingBox {
    position: absolute;
    right: 3%;
    top: 5px;
}

.drawingPadding {
    padding: 4px 10px;
    border-bottom: 1px solid #eee;
}

    .drawingPadding li {
        display: inline-block;
    }

.drawingBtn {
    display: block;
    width: 90px;
    height: 90px;
    width: 45px;
    height: 45px;
    line-height: 30px;
    border-radius: 50%;
    background: #fff;
    text-align: center;
}

    .drawingBtn img {
        width: 90%;
    }

.drawingPadding li > a:hover {
    background: #eee;
}

.drawingPadding li.active > a {
    background: #eee;
}

.exportBtn {
    color: #3a3a3a;
    padding: 4px 10px;
    border-radius: 6px;
    background: #e6e6e6;
}

    .exportBtn:hover,
    .exportBtn:visited {
        color: #3a3a3a;
    }

.drawingToolBox {
}
    /*顏色套件*/
    .drawingToolBox .form-group {
        padding: 10px 0;
    }

    .drawingToolBox label {
        padding: 0 10px;
        color: #fff;
        font-size: 1.6rem;
    }

    .drawingToolBox .form-inline {
        padding: 0 10px;
    }




/*圖示*/
.iconArea {
    padding: 10px 10px;
}

    .iconArea .form-inline {
        margin-bottom: 10px;
    }

.iconBox .icon {
    cursor: pointer;
    display: inline-block;
    width: 60px;
    vertical-align: top;
}

    .iconBox .icon > span {
        display: block;
        transition: all 0.3s;
    }

.icon .iconImg {
    position: relative;
    border: 1px solid #eee;
    width: 60px;
    height: 60px;
    overflow: hidden;
}

    .icon .iconImg img {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
        border-radius: 50%;
        overflow: hidden;
        width: 50px;
        height: 50px;
        border: 3px solid #fff;
        box-shadow: 0 0 5px rgba(0,0,0,0.5);
    }

.icon .iconTitle {
    width: 100%;
    padding: 4px 0;
    line-height: 16px;
    font-size: 1.4rem;
    text-align: center;
}

.icon.active .iconImg {
    border: 1px solid #0f86e1;
}

.icon.active .iconTitle {
    color: #0f86e1;
}

.drawing-btn {
    display: inline-block;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0);
}

    .drawing-btn:hover {
        background: #ededed;
    }

.btn-eye {
    color: #1a6eff;
}

.btn-location {
    color: #5ccb60;
}

.btn-delete {
    color: #ff3919;
}

.btn-eye:hover, .btn-eye:active, .btn-eye:visited, .btn-eye:active {
    border: 1px solid #1a6eff;
    color: #1a6eff;
}

.btn-location:hover, .btn-location:active, .btn-location:visited, .btn-location:active {
    border: 1px solid #5ccb60;
    color: #5ccb60;
}

.btn-delete:hover, .btn-delete:active, .btn-delete:visited, .btn-delete:active {
    border: 1px solid #ff3919;
    color: #ff3919;
}

@media (max-width: 1024px) {
    .drawingBox {
        display: block;
        z-index: 10000;
        position: absolute;
        top: -1000px;
        width: 300px;
        box-shadow: 1px 1px 10px rgba(0,0,0,0.3);
        border-radius: 6px;
        transition: all 0.3s;
        opacity: 0;
    }

        .drawingBox.slide {
            opacity: 1;
            right: 330px;
            top: 70px;
            transition: all 0.3s;
        }

    .drawingBtn {
        width: 40px;
        height: 40px;
        display: inline-block;
        border-radius: 50%;
        background: #fff;
    }

        .drawingBtn img {
            width: 100%;
            height: auto;
        }
}

@media (max-width: 767px) {
    .drawingBox {
        display: block;
        z-index: 10000;
        position: absolute;
        left: 1%;
        top: -1000px;
        width: 98%;
        box-shadow: 1px 1px 10px rgba(0,0,0,0.3);
        border-radius: 6px;
        transition: all 0.3s;
        opacity: 0;
    }

        .drawingBox.active {
            opacity: 1;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%,-50%);
            min-height: 50%;
            transition: all 0.3s;
            overflow: hidden;
        }



    .drawingBtn img {
        width: 100%;
        height: auto;
    }

    .drawingTableScrollbar {
        height: 200px;
        overflow: hidden;
    }
}
