﻿
.tgoverlayview {
    z-index: 1;
}

.tgoverlay {
    z-index: 2;
}

body {
    position: relative;
    overflow: hidden;
    font-size: 12px;
    font-family: 'Microsoft JhengHei',Tahoma,微軟正黑體, 'Trebuchet MS',Arial,san-serif;
    padding: 0px;
    margin: 0px;
    height: 100%;
    width: 100%;
    border: 0px;
}

#CurrentCoordinate {
    z-index: 1;
    position: absolute;
    bottom: 0px;
    left: 0px;
    background-color: #fff;
    opacity: 0.9;
    padding: 5px 10px;
    border-radius: 0 5px 0 0;
    color: gray;
    display: none;
}

#Soil_LiqueLegendBox {
    position: absolute;
    right: 5px;
    bottom: 45px;
    z-index: 2;
    border: 1px solid #333;
    display: none;
}


#NavControlBar_FullMap {
    border: 1px solid #fff;
    border-top: 1px solid #888;
    border-bottom: 1px solid #888;
    width: 32px;
    height: 32px;
    cursor: pointer;
    width: 32px;
    height: 32px;
    cursor: pointer; /*-webkit-border-radius: 5px 5px;   border-radius: 5px 5px;   margin-bottom: 5px;*/
}

#NavControlBar_ZoomOut {
    border-left: 1px solid #fff;
    border-right: 1px solid #fff;
    border-bottom: 1px solid #fff;
    width: 32px;
    height: 32px;
    cursor: pointer;
    -webkit-border-radius: 0 0 5px 5px;
    border-radius: 0 0 5px 5px;
}

#NavControlBar_ZoomIn {
    border-left: 1px solid #fff;
    border-right: 1px solid #fff;
    border-top: 1px solid #fff;
    width: 32px;
    height: 32px;
    cursor: pointer;
    -webkit-border-radius: 5px 5px 0 0;
    border-radius: 5px 5px 0 0;
}

.LayerBtn {
    cursor: pointer;
    display: block;
    padding: 10px 8px;
    azimuth: inherit;
    color: #000;
    /*margin-bottom: 5px;*/
}

.ItemHover {
    background-color: #d6e5e8;
    color: #000;
    /*border-radius: 5px;*/
}

.SelectPosition {
    padding: 10px 0;
    font-size: 12px;
    cursor: pointer;
    background-color: #c47728;
    color: #fff;
}

.NotSelectOverLayer {
    color: rgb(195, 195, 195);
}

.hidden {
    display: none !important;
}

.SearchResultRow, .MixSearchResultRow {
    padding: 8px;
    border-bottom: 1px solid #F2F2F2;
    cursor: pointer;
    overflow: auto;
}

    .SearchResultRow:hover, .MixSearchResultRow:hover {
        background-color: #f0f0f0;
        color: #000;
    }

.HelpBtn {
    cursor: pointer;
    display: block;
    padding: 10px 8px;
    azimuth: inherit;
    color: #000;
    margin-bottom: 5px;
}

    .HelpBtn:hover {
        background-color: #F2F2F2;
        color: #000;
    }

    .HelpBtn a {
        text-decoration: none;
    }

        .HelpBtn a:link {
            text-decoration: none;
            color: #333;
        }

        .HelpBtn a:visited {
            text-decoration: none;
            color: #000;
        }

        .HelpBtn a:hover {
            text-decoration: none;
            color: #313131;
        }

        .HelpBtn a:active {
            text-decoration: none;
            color: #333;
        }

.SearchBtn {
    padding: 10px;
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2), 0 -1px 0px rgba(0, 0, 0, 0.02);
    cursor: pointer;
    background-color: #c47728;
    color: #fff;
    border-radius: 0 2px 2px 0;
    margin-right: 5px;
}

    .SearchBtn:active {
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2), 0 -1px 0px rgba(0, 0, 0, 0.02), inset 0px 2px 2px rgba(0, 0, 0, 0.3);
    }

.SearchTxt {
    width: 400px;
    border: 1px solid #eee;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2), 0 -1px 0px rgba(0, 0, 0, 0.02);
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 2px;
}

* {
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
    font-family: microsoft jhenghei;
    box-sizing: border-box;
}

.BoxBtn {
    padding: 10px;
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2), 0 -1px 0px rgba(0, 0, 0, 0.02);
    cursor: pointer;
    background-color: #c47728;
    color: #fff;
    border-radius: 0 2px 2px 0;
    margin-right: 5px;
}

.Position {
    margin-left: 5px;
    color: #fff;
    background-color: #5cb85c;
    border-color: #4cae4c;
}

.VillageClear {
    margin-right: 10px;
    color: #fff;
    background-color: #f0ad4e;
    border-color: #eea236;
}

.VillageCancel {
    float: right;
    color: #fff;
    background-color: #d9534f;
    border-color: #d43f3a;
}

.VillageSelect {
    padding: 10px;
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2), 0 -1px 0px rgba(0, 0, 0, 0.02);
    cursor: pointer;
    background-color: #c47728;
    color: #fff;
    border-radius: 0 2px 2px 0;
    margin-right: 5px;
}


#legend {
    position: absolute;
    right: 0;
    bottom: 0;
    padding: 10px;
    background-color: #fff;
    margin-right: 5px;
    margin-bottom: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2), 0 -1px 0px rgba(0, 0, 0, 0.02);
    z-index: 1;
}

    #legend li {
        line-height: 30px;
        display: inline-block;
        padding: 0 5px;
        font-size: 14px;
    }

    #legend span {
        display: inline-block;
        width: 16px;
        height: 16px;
        margin-right: 2px;
    }

.content {
    width: 65%;
    min-width: 650px;
    right: 0;
    left: 0;
    margin: auto;
    padding: 10px;
    background-color: #fff;
    border-radius: 2px;
    margin-bottom: 5px;
    overflow: hidden;
}

.msg {
    display: none;
    background-color: #efefef;
    opacity: 0.9;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    color: #555;
    padding: 30px 0;
    overflow: auto;
    z-index: 2;
}

    .msg .circle-btn {
        position: absolute;
        right: 10px;
        top: 15px;
    }



ol, ol li {
    list-style: decimal;
    margin-left: 20px;
    line-height: 24px;
    font-size: 20px;
}

h3 {
    font-size: 18px;
}

#AdminVillageTxt {
    width: 300px;
}

#legendBottom {
    /*display: none;*/
}

header #outer-links {
    position: relative;
    height: 30px;
    background-color: #233f5f;
    z-index: 1;
    padding-right: 15px;
    text-align: right;
}

    header #outer-links li {
        display: inline-block;
        line-height: 27px;
        font-size: 12px;
        padding: 0 10px;
        color: #d8d8d8;
        cursor: pointer;
    }

        header #outer-links li a {
            color: #d8d8d8;
        }

header #nav {
    position: relative;
    height: 50px;
    background-color: #FFCD28;
    z-index: 1;
}

header #logo-txt {
    font-size: 12px;
    font-weight: bold;
    color: #555;
    text-shadow: 0 0 1px #ffdc68;
    display: inline-block;
    margin-left: 5px;
}

    header #logo-txt span {
        font-size: 18px;
        top: 4px;
        position: relative;
    }

#nav #logo {
    display: inline-block;
    width: 40px;
    margin-top: 5px;
    margin-left: 5px;
}

    #nav #logo img {
        width: 100%;
    }

#nav ul {
    display: inline-block;
    line-height: 49px;
    vertical-align: text-bottom;
    float: right;
    margin-right: 10px;
}

    #nav ul li {
        display: inline-block;
        color: #555;
        padding: 0 15px;
        cursor: pointer;
        font-size: 14px;
    }

        #nav ul li.selected {
            background-color: #FFDE0B;
        }

#BtnPosition {
    display: inline-block;
    vertical-align: top;
    position: absolute;
    left: 0;
}

#SearchBar_Position {
    width: 131px;
}

#PositionBox {
    width: 130px;
    position: absolute;
    background-color: #fff;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2), 0 -1px 0px rgba(0, 0, 0, 0.02);
    display: none;
    padding: 7px;
}

    #PositionBox li {
        padding: 10px 0;
        font-size: 12px;
        cursor: pointer;
    }

#ToolBar1 {
    position: absolute;
    left: 10px;
    bottom: 185px;
    z-index: 1;
    background-color: #fff;
    box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.60);
    -moz-box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.60);
    -webkit-box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.60);
    display: block;
}

    #ToolBar1 img {
        border: 0px;
        cursor: pointer;
        width: 32px;
    }



#NavControlBar {
    position: absolute;
    bottom: 75px;
    left: 10px;
    border: 0px;
    z-index: 1;
    box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.60);
    -moz-box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.60);
    -webkit-box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.60);
    -webkit-border-radius: 5px 5px;
    border-radius: 5px 5px;
    display: block;
}

#SearchBar {
    position: absolute;
    z-index: 1;
    display: block;
    padding: 10px;
}

#SearchBar_Data {
    padding-left: 140px;
    height: 40px;
}

#SearchResultBox {
    position: absolute;
    top: 51px;
    min-width: 69%;
    max-height: 250px;
    overflow: auto;
    padding: 0px 0;
    background-color: #fff;
    border-right: 1px solid #ccc;
    border-left: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    z-index: 2;
    display: none;
    width: 50%;
}

#AdminBox {
    display: none;
    position: absolute;
    z-index: 3;
    top: 0px;
    background-color: #fff;
    padding: 12px 12px;
    border: 1px solid #ccc;
    max-width: 69%;
}

#GisBox {
    display: none;
    width: 310px;
    position: absolute;
    z-index: 3;
    top: 0px;
    left: 132px;
    background-color: #fff;
    padding: 12px 12px;
    border: 1px solid #ccc;
    /*max-width: 69%;*/
}

#AdminVillageListBox li {
    position: relative;
    display: block;
    padding: 5px;
    text-decoration: none !important;
    border-radius: 4px;
    display: inline-block;
    border: 1px solid #fff;
    border-radius: 3px;
    margin: 5px;
    font-size: 14px;
}

    #AdminVillageListBox li:hover {
        color: #555;
        background-color: #fff;
        border: 1px solid #ddd;
        background-color: #e5e5e5;
        border-radius: 4px;
        display: inline-block;
    }

.TwonSerach {
    display: inline-block;
    padding: 10px 5px;
    color: #555;
    background-color: #fff;
    border: 1px solid #fff;
    text-decoration: none;
    font-size: 14px;
    width: 55px;
}

    .TwonSerach:hover {
        display: inline-block;
        padding: 10px 5px;
        color: #555;
        background-color: #fff;
        border: 1px solid #ddd;
        text-decoration: none;
        background-color: #e5e5e5;
        font-size: 14px;
    }

.GroupLiActive {
    display: inline-block;
    padding: 10px 5px;
    color: #fff;
    background-color: #c47728;
    border: 1px solid #ddd;
    text-decoration: none;
    background-color: #337ab7;
    font-size: 14px;
}

.circle-btn {
    position: relative;
    width: 30px;
    height: 30px;
    margin-bottom: 5px;
    border-radius: 100%;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.4);
    background-color: #fff;
    border: none;
    color: #757575;
}

#side-toolbar {
    position: absolute;
    margin-top: 15px;
    margin-right: 10px;
    right: 0;
    top: inherit;
    bottom: 90px;
    width: 40px;
    z-index: 1;
}

.content .col3-img {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.content p {
    margin-left: 0;
    line-height: 24px;
    margin-bottom: 10px;
}

.LayerBtn {
    cursor: pointer;
    display: block;
    padding: 10px 8px;
    azimuth: inherit;
    color: #000;
    font-size: 12px;
    cursor: pointer;
    /*margin-bottom: 5px;*/
}

#LayerBox {
    position: absolute;
    background-color: #fff;
    width: 87px;
    text-align: left;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2), 0 -1px 0px rgba(0, 0, 0, 0.02);
    display: none;
    padding: 7px;
}

.SelectLayer {
    padding: 10px 8px;
    font-size: 12px;
    cursor: pointer;
    background-color: #c47728;
    color: #fff;
}

.ItemHover {
    background-color: #d6e5e8;
    color: #000;
    /*border-radius: 5px;*/
}

#logo {
    display: inline-block;
    width: 180px;
}


.panel {
    margin-bottom: 20px;
    background-color: #fff;
    border: 1px solid transparent;
    border-radius: 4px;
    -webkit-box-shadow: 0 1px 1px rgba(0,0,0,.05);
    box-shadow: 0 1px 1px rgba(0,0,0,.05);
    border-color: #337ab7;
}

.panel-heading {
    color: #fff;
    background-color: #c47728;
    border-color: #337ab7;
    padding: 5px;
    border-bottom: 1px solid transparent;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}

.panel-body {
    padding: 5px;
}

    .panel-body li {
        padding: 4px 0;
    }

.glyphicon {
    background: #f90;
    color: #fff;
    font-family: 'Helvetica', 'Arial', sans-serif;
    font-size: 2em;
    font-weight: bold;
    text-align: center;
    width: 40px;
    height: 40px;
    border-radius: 5px;
}

#moveDiv fieldset {
    border: groove;
    padding: 10px;
    margin: 10px 0px;
}

#NavControlBar div {
    text-align: center;
    font-size: 16px;
    line-height: 25px;
    background-color: #FFF;
    color: #555555;
}

.SelectList {
    display: block;
    /*width: 100%;*/
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}

/********************************************************************
  media setting
*********************************************************************/

@media screen and (max-width: 480px) {


    #moveDiv img {
        max-width: 100px;
    }

    .MoveDivSetp1 {
        position: absolute;
        overflow: hidden;
        min-width: 200px;
        max-width: 250px;
        height: auto;
        z-index: 2;
        top: auto;
        left: auto;
        bottom: 70px;
        right: 60px;
    }

    .MoveDivSetp2 {
        position: absolute;
        overflow: hidden;
        min-width: 100%;
        height: 100%;
        z-index: 3;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
    }



    .MixHidden {
        display: none;
    }

    #SearchBar_Position {
        width: 121px;
        padding: 10px 0px;
    }

    #NavControlBar {
        bottom: 85px;
    }

    #SearchResultBox {
        min-width: 98%;
    }

    #PositionBox {
        width: 121px;
    }

    #nav ul {
        display: none;
        margin-right: 0px;
    }

        #nav ul li {
            display: block;
            padding-left: 50px;
        }

            #nav ul li.selected {
                background-color: #FFDE0B;
            }

    #AdminBox {
        top: 0px;
        left: 0px;
        padding: 5px;
        max-width: 99%;
    }

        #AdminBox li {
            display: inline-block;
            border-radius: 3px;
        }

    .TwonSerach {
        padding: 5px;
    }

        .TwonSerach:hover {
            padding: 5px;
        }

    .GroupLiActive {
        padding: 5px;
    }

    .ImgPosition {
        height: 24px;
        border: 0px;
        margin: 0px;
        cursor: pointer;
    }

    #logo {
        display: none;
    }

    .circle-btn {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    #legend {
        margin: 0;
    }

    #AdminVillageTxt {
        width: 230px;
    }

    .SearchTxt {
        width: auto;
    }

    .content {
        min-width: 320px;
    }

    #legend {
        padding: 5px;
        z-index: 2;
    }

        #legend li {
            width: 75px;
            padding: 0px;
        }

    #legendBottom {
        display: inline-block;
        width: 30%;
    }

    #legendContent {
        width: 69%;
        display: inline-block;
    }

    #CurrentCoordinate {
        z-index: 1;
    }
}

@media screen and (min-width: 481px) and (max-width: 767px) {

    .MixHidden {
        display: none;
    }

    #SearchResultBox {
        min-width: 98%;
    }

    #PositionBox li {
        padding: 10px 0;
        font-size: 12px;
        cursor: pointer;
    }

    #AdminBox {
        top: 0px;
        left: 0px;
        padding: 12px 12px;
        max-width: 99%;
    }

    #legendBottom {
        display: none;
    }

    #AdminListBox li {
        display: inline-block;
        border-radius: 3px;
        margin-top: 5px;
    }

    .TwonSerach {
        padding: 4px;
    }

        .TwonSerach:hover {
            padding: 4px;
        }

    #AdminVillageListBox li:hover {
        position: relative;
        display: block;
        padding: 5px;
        color: #555;
        background-color: #fff;
        border: 1px solid #ddd;
        background-color: #e5e5e5;
        border-radius: 4px;
        display: inline-block;
        font-size: 14px;
    }

    #AdminVillageListBox a {
        text-decoration: none;
    }

    #side-toolbar {
        width: 30px;
        top: 0;
        z-index: 1;
    }

    .SearchTxt {
        width: 300px;
    }

    #AdminVillageTxt {
        width: 200px;
    }

    #logo {
        display: none;
    }

    .content {
        width: 90%;
        min-width: 320px;
    }
}

@media screen and (min-width: 768px) and (max-width: 979px) {

    #SearchResultBox {
        min-width: 69%;
    }

    #PositionBox li {
        padding: 10px 0;
        font-size: 12px;
        cursor: pointer;
    }

    #legendBottom {
        display: none;
    }

    #AdminListBox li {
        display: inline-block;
        border-radius: 3px;
        margin-top: 5px;
    }

    #AdminVillageListBox a {
        text-decoration: none;
    }

    #side-toolbar {
        width: 30px;
        top: 0;
    }

    #MixHelpBox {
        display: none;
    }
}

@media screen and (min-width: 980px) {

    #links-area {
        width: 100%;
    }

    #LayerBox {
        width: 220px;
        text-align: center;
        /*height: 70vh;
        overflow-y: scroll;*/
    }

    #SearchResultBox {
        min-width: 69%;
    }

    #PositionBox li {
        padding: 10px 0;
        font-size: 12px;
        cursor: pointer;
    }

    #AdminListBox li {
        display: inline-block;
        border-radius: 3px;
        margin-top: 5px;
    }

    #AdminVillageListBox a {
        text-decoration: none;
    }

    #MixAdminBox {
        display: none;
    }

    #side-toolbar {
        width: 30px;
        top: 0px;
    }

    #MixHelpBox {
        display: none;
    }

    #legendBottom {
        display: none;
    }

    .content {
        width: 90%;
        background-color: #fff;
    }

        .content .col3-img {
            width: 30%;
            margin-left: 27px;
            margin-right: 10px;
            border: 1px solid #e2f0f4;
            padding: 5px;
            border-radius: 2px;
            float: left;
        }

        .content p {
            margin-left: 27px;
            line-height: 24px;
            margin-bottom: 10px;
        }
}
