﻿body {
    padding: 0;
    margin: 0;
    background: #596778;
    text-align: center;
    font-family: "Lato", sans-serif;
}

@media screen and (max-width: 700px) {
   body {
      padding: 1px 0 1px 0; /*170*/
      width: 100%
   }
}

a {
   color: inherit;
}

.centerbox {
    width:64px;
    height:64px;
    border:0px;
    position:fixed;
    top:50%;
    left:50%;
    margin-left:-32px;
    margin-top:-64px;
    z-index:99;
}

.menu-item,
.menu-open-button {
    background: #596778;
    border-radius: 100%;
    width: 64px;
    height: 64px;
    margin-left: -40px;
    position: absolute;
    color: #FFFFFF;
    text-align: center;
    line-height: 64px;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-transition: -webkit-transform ease-out 200ms;
    transition: -webkit-transform ease-out 200ms;
    transition: transform ease-out 200ms;
    transition: transform ease-out 200ms, -webkit-transform ease-out 200ms;
}

.menu-open {
   display: none;
}

.lines {
    width: 25px;
    height: 3px;
    background: #EEEEEE;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -12.5px;
    margin-top: -1.5px;
    -webkit-transition: -webkit-transform 200ms;
    transition: -webkit-transform 200ms;
    transition: transform 200ms;
    transition: transform 200ms, -webkit-transform 200ms;
}

.line-1 {
   -webkit-transform: translate3d(0, -8px, 0);
   transform: translate3d(0, -8px, 0);
}

.line-2 {
   -webkit-transform: translate3d(0, 0, 0);
   transform: translate3d(0, 0, 0);
}

.line-3 {
   -webkit-transform: translate3d(0, 8px, 0);
   transform: translate3d(0, 8px, 0);
}

.menu-open:checked + .menu-open-button .line-1 {
   -webkit-transform: translate3d(0, 0, 0) rotate(45deg);
   transform: translate3d(0, 0, 0) rotate(45deg);
}

.menu-open:checked + .menu-open-button .line-2 {
   -webkit-transform: translate3d(0, 0, 0) scale(0.1, 1);
   transform: translate3d(0, 0, 0) scale(0.1, 1);
}

.menu-open:checked + .menu-open-button .line-3 {
   -webkit-transform: translate3d(0, 0, 0) rotate(-45deg);
   transform: translate3d(0, 0, 0) rotate(-45deg);
}

.menu {
    margin: auto;
    position: absolute;
    bottom: 18px;
    left: 0%;
    right: 0;
    width: 64px;
    height: 64px;
    text-align: center;
    box-sizing: border-box;
    /*font-size: 26px;*/
    z-index: 0;
}


 .menu-item {
   transition: all 0.1s ease 0s;
} 

.menu-item:hover {
   background: #EEEEEE;
   color: #3290B1;
}

.menu-item:nth-child(3) {
   -webkit-transition-duration: 180ms;
   transition-duration: 180ms;
}

.menu-item:nth-child(4) {
   -webkit-transition-duration: 180ms;
   transition-duration: 180ms;
}

.menu-item:nth-child(5) {
   -webkit-transition-duration: 180ms;
   transition-duration: 180ms;
}

.menu-item:nth-child(6) {
   -webkit-transition-duration: 180ms;
   transition-duration: 180ms;
}

.menu-item:nth-child(7) {
   -webkit-transition-duration: 180ms;
   transition-duration: 180ms;
}

.menu-item:nth-child(8) {
   -webkit-transition-duration: 180ms;
   transition-duration: 180ms;
}

.menu-item:nth-child(9) {
   -webkit-transition-duration: 180ms;
   transition-duration: 180ms;
}

.menu-open-button {
   z-index: 1;
   -webkit-transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275);
   transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275);
   -webkit-transition-duration: 400ms;
   transition-duration: 400ms;
   -webkit-transform: scale(1.1, 1.1) translate3d(0, 0, 0);
   transform: scale(1.1, 1.1) translate3d(0, 0, 0);
   cursor: pointer;
   box-shadow: 3px 3px 0 0 rgba(0, 0, 0, 0.14);
}

.menu-open-button:hover {
   -webkit-transform: scale(1.2, 1.2) translate3d(0, 0, 0);
   transform: scale(1.2, 1.2) translate3d(0, 0, 0);
}

.menu-open:checked + .menu-open-button {
   -webkit-transition-timing-function: linear;
   transition-timing-function: linear;
   -webkit-transition-duration: 200ms;
   transition-duration: 200ms;
   -webkit-transform: scale(0.8, 0.8) translate3d(0, 0, 0);
   transform: scale(0.8, 0.8) translate3d(0, 0, 0);
}

.menu-open:checked ~ .menu-item {
   -webkit-transition-timing-function: cubic-bezier(0.935, 0, 0.34, 1.33);
   transition-timing-function: cubic-bezier(0.935, 0, 0.34, 1.33);
}

.menu-open:checked ~ .menu-item:nth-child(3) {
   transition-duration: 185ms;
   -webkit-transition-duration: 185ms;
   -webkit-transform: translate3d(0.08361px, -83.99997px, 0);
   transform: translate3d(-90px, -0px, 0);
}

.menu-open:checked ~ .menu-item:nth-child(4) {
   transition-duration: 295ms;
   -webkit-transition-duration: 295ms;
   -webkit-transform: translate3d(72.8px, -40px, 0);
   transform: translate3d(-63px, -63px, 0);
}

.menu-open:checked ~ .menu-item:nth-child(5) {
   transition-duration: 405ms;
   -webkit-transition-duration: 405ms;
   -webkit-transform: translate3d(72.8px, 40px, 0);
   transform: translate3d(0px, -90px, 0);
}

.menu-open:checked ~ .menu-item:nth-child(6) {
   transition-duration: 515ms;
   -webkit-transition-duration: 515ms;
   -webkit-transform: translate3d(0.08361px, 83.99997px, 0);
   transform: translate3d(63px, -63px, 0);
}

.menu-open:checked ~ .menu-item:nth-child(7) {
   transition-duration: 625ms;
   -webkit-transition-duration: 625ms;
   -webkit-transform: translate3d(-72.8px, 52.62064px, 0);
   transform: translate3d(90px, 0px, 0);
}

.menu-open:checked ~ .menu-item:nth-child(8) {
   transition-duration: 680ms;
   -webkit-transition-duration: 680ms;
   -webkit-transform: translate3d(80px, -144px, 0);
   transform: translate3d(72px, -128px, 0);
}

.menu-open:checked ~ .menu-item:nth-child(9) {
   transition-duration: 780ms;
   -webkit-transition-duration: 780ms;
   -webkit-transform: translate3d(-0.25084px, -83.9997px, 0);
   transform: translate3d(-0.25084px, -83.9997px, 0);
}

.blue {
    background-color: rgb(111, 195, 223);
    box-shadow: 3px 3px 0 0 rgba(0, 0, 0, 0.14);
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.12);
}

.blue:hover {
   color: #669AE1;
   text-shadow: none;
}

.green {
    background-color: rgb(135, 197, 164);
    box-shadow: 3px 3px 0 0 rgba(0, 0, 0, 0.14);
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.12);
}

.green:hover {
   color: #70CC72;
   text-shadow: none;
}

.red {
    background-color: rgb(236, 141, 129);
    box-shadow: 3px 3px 0 0 rgba(0, 0, 0, 0.14);
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.12);
}

.red:hover {
   color: #FE4365;
   text-shadow: none;
}

.purple {
    background-color: rgb(141, 130, 196);
    box-shadow: 3px 3px 0 0 rgba(0, 0, 0, 0.14);
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.12);
}

.purple:hover {
   color: #C49CDE;
   text-shadow: none;
}

.orange {
    background-color: rgb(231, 183, 136);
    box-shadow: 3px 3px 0 0 rgba(0, 0, 0, 0.14);
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.12);
}

.orange:hover {
   color: #FC913A;
   text-shadow: none;
}

.lightblue {
    background-color: rgb(142, 169, 232);
    box-shadow: 3px 3px 0 0 rgba(0, 0, 0, 0.14);
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.12);
}

.lightblue:hover {
   color: #62C2E4;
   text-shadow: none;
}

.credit {
   margin: 24px 20px 120px 0;
   text-align: right;
   color: #EEEEEE;
}

.credit a {
   padding: 8px 0;
   color: #C49CDE;
   text-decoration: none;
   transition: all 0.3s ease 0s;
}

.credit a:hover {
   text-decoration: underline;
}

/*覆蓋掉討厭的arcgis*/
.esri-view-width-less-than-large .esri-popup__action-text {
    display: block !important;
}

.esri-legend {
    max-width: 215px !important;
    overflow: -moz-hidden-unscrollable;
    height: 100%;
}

    .esri-legend::-webkit-scrollbar {
        display: none;
    }

.esri-legend__service {
    max-height: 480px !important;
}
    
.esri-view-width-xsmall .esri-expand__container--expanded .esri-expand__panel {
    display: flex !important;
    justify-content: space-between !important;
    padding: 3.5rem 0.8rem 0.5rem 0.8rem !important;
    align-items: center !important;
}

.esri-view-width-xsmall .esri-ui-top-right .esri-expand__container--expanded {
    width: auto !important;
}
/*.esri-ui-inner-container {
    top: 60px !important;
}*/

/*.esri-widget--button {
    background-color: #00c1c1cf;
    color: #ffffff;
}*/
.esri-ui-top-left {
    top: 4px !important;
    left: 3px !important;
}
.esri-ui-top-right {
    top: 4px !important;
    right: 3px !important;
}

/*.esri-ui-bottom-left {
    left: 6px !important;
    right: 6px !important;
    position: absolute;
    margin: auto !important;
    width: 250px;
}*/

.esri-widget * {
    border-radius: 16px; /*NT*/
}

.esri-ui-corner .esri-component {
    box-shadow: 0px 0px 2px rgba(128, 128, 0, 0.8) !important;
    border-radius: 32px; /*NT*/
    /*border: 1px #ccc solid;*/ /*NT*/
}
@keyframes expand-slide-rtl-ani {
    from {
        right: -600px;
        left: 100%
    }

    to {
        right: 0; 
    }
}

.esri-layer-list__item--has-children > .esri-layer-list__list {
    background-color: rgba(100, 200, 255, 0.75) !important;
}
.esri-layer-list__item-container {
    background-color: rgba(255, 255, 255, 0.75) !important;
}
.esri-view-width-xsmall .esri-expand__container--expanded {
    background-color: rgba(255, 255, 255, 0.5) !important;
    z-index: 20000 !important;
}
.esri-view-width-xsmall .esri-expand__mask--expanded {
    background-color: rgba(0, 0, 0, 0.5) !important;
}
.esri-layer-list {
    color: rgb(0,125,200);
    background-color: rgba(255, 255, 235, 0.75) !important;
}
.esri-popup__main-container {
    color: rgb(0,125,200) !important;
    background-color: rgba(252,252,252,0.95) !important;
    max-height: 50% !important;
}
.esri-popup__button {
    color: rgb(0,125,200) !important;
}
.esri-popup__feature-buttons {
    bottom: 2px !important;
}
.esri-ui-bottom-right {
    flex-flow: column !important;
}
.esri-widget--panel {
    max-height: 75% !important;
}
.esri-ui-bottom-left .esri-component {
    margin-right: 4px !important;
}
.esri-ui-top-right {
    margin-bottom: 6px !important;
}
.esri-component {
    margin-bottom: 6px !important;
}


/* ====================================
Burger king
==================================== */

.open-overlay {
  /*position: absolute;
  right: 5rem;
  top: 5rem;*/
  /*z-index: 100;*/
  /*width: 34px;*/
  /*display: block;*/
  cursor: pointer;
}

/*.open-overlay span {
  display: block;
  height: 1px;
  background-color: #fff;
  cursor: pointer;
  margin-top: 8px;
}*/

.animate-top-bar {
  -webkit-animation: animate-top-bar .6s linear 1 both;
  animation: animate-top-bar .6s linear 1 both
}

.animate-bottom-bar {
  -webkit-animation: animate-bottom-bar .6s linear 1 both;
  animation: animate-bottom-bar .6s linear 1 both
}

.animate-middle-bar {
  -webkit-animation: animate-middle-bar .6s linear 1 both;
  animation: animate-middle-bar .6s linear 1 both
}

.animate-out-top-bar {
  -webkit-animation: animate-out-top-bar .6s linear 1 both;
  animation: animate-out-top-bar .6s linear 1 both
}

.animate-out-bottom-bar {
  -webkit-animation: animate-out-bottom-bar .6s linear 1 both;
  animation: animate-out-bottom-bar .6s linear 1 both
}

.animate-out-middle-bar {
  -webkit-animation: animate-out-middle-bar .6s linear 1 both;
  animation: animate-out-middle-bar .6s linear 1 both
}


/* ====================================
Animation keyframes
==================================== */

@-webkit-keyframes animate-top-bar {
  0% {
    background-color: #fff;
  }
  50% {
    -webkit-transform: translateY(9px);
    transform: translateY(9px)
  }
  80% {
    -webkit-transform: translateY(5px);
    transform: translateY(5px);
    background-color: #fff
  }
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    background-color: #29363B;
  }
}

@keyframes animate-top-bar {
  0% {
    background-color: #fff;
  }
  50% {
    -webkit-transform: translateY(9px);
    transform: translateY(9px)
  }
  80% {
    -webkit-transform: translateY(5px);
    transform: translateY(5px);
    background-color: #fff
  }
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    background-color: #29363B;
  }
}

@-webkit-keyframes animate-bottom-bar {
  0% {
    background-color: #fff;
  }
  50% {
    -webkit-transform: translateY(-9px);
    transform: translateY(-9px)
  }
  80% {
    -webkit-transform: translateY(-5px);
    transform: translateY(-5px);
    background-color: #fff;
  }
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    background-color: #29363B;
  }
}

@keyframes animate-bottom-bar {
  0% {
    background-color: #fff;
  }
  50% {
    -webkit-transform: translateY(-9px);
    transform: translateY(-9px)
  }
  80% {
    -webkit-transform: translateY(-5px);
    transform: translateY(-5px);
    background-color: #fff;
  }
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    background-color: #29363B;
  }
}

@-webkit-keyframes animate-middle-bar {
  0% {
    background-color: #fff;
  }
  80% {
    background-color: #fff;
  }
  100% {
    background-color: #29363B;
  }
}

@keyframes animate-middle-bar {
  0% {
    background-color: #fff;
  }
  80% {
    background-color: #fff;
  }
  100% {
    background-color: #29363B;
  }
}

@-webkit-keyframes animate-out-top-bar {
  0% {
    background-color: #29363B
  }
  50% {
    -webkit-transform: translateY(9px);
    transform: translateY(9px)
  }
  80% {
    -webkit-transform: translateY(5px);
    transform: translateY(5px);
    background-color: #29363B
  }
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    background-color: #FFF;
  }
}

@keyframes animate-out-top-bar {
  0% {
    background-color: #29363B
  }
  50% {
    -webkit-transform: translateY(9px);
    transform: translateY(9px)
  }
  80% {
    -webkit-transform: translateY(5px);
    transform: translateY(5px);
    background-color: #29363B
  }
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    background-color: #FFF;
  }
}

@-webkit-keyframes animate-out-bottom-bar {
  0% {
    background-color: #29363B
  }
  50% {
    -webkit-transform: translateY(-9px);
    transform: translateY(-9px)
  }
  80% {
    -webkit-transform: translateY(-5px);
    transform: translateY(-5px);
    background-color: #29363B;
  }
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    background-color: #FFF;
  }
}

@keyframes animate-out-bottom-bar {
  0% {
    background-color: #29363B
  }
  50% {
    -webkit-transform: translateY(-9px);
    transform: translateY(-9px)
  }
  80% {
    -webkit-transform: translateY(-5px);
    transform: translateY(-5px);
    background-color: #29363B;
  }
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    background-color: #FFF;
  }
}

@-webkit-keyframes animate-out-middle-bar {
  0% {
    background-color: #29363B
  }
  80% {
    background-color: #29363B;
  }
  100% {
    background-color: #fff;
  }
}

@keyframes animate-out-middle-bar {
  0% {
    background-color: #29363B
  }
  80% {
    background-color: #29363B;
  }
  100% {
    background-color: #fff;
  }
}

.home a {
  font-family: "Work Sans", sans-serif;
  color: #222;
  font-weight: 300;
  font-size: 12px;
  text-transform: uppercase;
  text-decoration: none;
  position: absolute;
  z-index: 10;
  top: 50px;
  left: 50px;
  padding-bottom: 3px;
  border-bottom: 1px solid #222;
}

@media (max-width: 640px) {
  nav ul {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  nav ul li {
    height: 20%;
  }
  nav ul li a {
    font-size: 11px;
  }
  nav li a:after {
    font-size: 0.6rem;
    bottom: -25px;
  }
  nav li a:hover:after {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  nav li a:before {
    width: 25px;
  }
}

.table {
    width: 99%;
    max-width: 99%;
    margin-bottom: 0.1rem;
    background-color: transparent;
}
thead {
    display: table-header-group;
    vertical-align: middle;
    border-color: inherit;
}
tr {
    display: table-row;
    vertical-align: inherit;
    border-color: inherit;
}
.table thead th {
    vertical-align: bottom;
    border-bottom: 1px solid #c2cfd6;
}
.table th, .table td {
    padding: 0.1rem;
    vertical-align: top;
    border-top: 1px solid #c2cfd6;
}
/*儲存格單列變色*/
.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.05);
}

/*自動隱藏文字框*/
.alert3s {
    display: none;
    position: fixed;
    top: 72%;
    left: 50%;
    min-width: 300px;
    margin-left: -160px;
    margin-top: -35px;
    z-index: 99999;
    padding: 12px;
    border: 1px solid transparent;
    border-radius: 4px;
}

.closebtn {
    margin-left: 10px;
    color: white;
    font-weight: bold;
    float: right;
    font-size: 16px;
    line-height: 16px;
    cursor: pointer;
    transition: 0.3s;
}
    .closebtn:hover {
        color: black;
    }
.alert3s-success {
    color: #3c763d;
    background-color: #dff0d8;
    border-color: #d6e9c6;
}
.alert3s-info {
    color: #31708f;
    background-color: #d9edf7;
    border-color: #bce8f1;
}
.alert3s-warning {
    color: #8a6d3b;
    background-color: #fcd66f;
    border-color: #faebcc;
}
.alert3s-danger {
    color: white;
    background-color: #d62a6e;
    border-color: #ffb7bc;
}

.alertSTART {
    display: none;
    position: fixed;
    top: 108px;
    right: 32px;
    min-width: 240px;
    z-index: 99999;
    padding: 12px;
    border: 1px solid transparent;
    border-radius: 4px;
    color: white;
    background-color: #d62a6e;
    border-color: #ffb7bc;
}

.alertlt {
    display: none;
    position: fixed;
    top: 150px;
    left: 200px;
    min-width: 192px;
    z-index: 99999;
    padding: 12px;
    border: 1px solid transparent;
    border-radius: 3px;
}
.alertlt-gps {
    color: #f2dfde;
    background-color: #a94442;
    border-color: #f2dfde;
    position: fixed;
    top: 108px;
    bottom: unset;
    left: 28px;
    right: unset;
}
.alertlt-lay {
    color: #f2dfde;
    background-color: #a94442;
    border-color: #f2dfde;
    position: fixed;
    top: 64px;
    bottom :unset;
    left: unset;
    right: 32px;
}
.alertlt-lay2 {
    color: #f2dfde;
    background-color: #a94442;
    border-color: #f2dfde;
    position: fixed;
    top: 420px;
    bottom: unset;
    left: unset;
    right: 24px;
}
.alertlt-gsv {
    color: #f2dfde;
    background-color: #a94442;
    border-color: #f2dfde;
    position: fixed;
    top: unset;
    bottom :68px;
    left: 44px;
    right: unset;
}



/*layerlist調整*/

/* Customize the label (the container) */
.container {
    display: block;
    position: relative;
    padding-left: 32px;
    margin: 1px;
    cursor: pointer;
    top: 2px;
    font-size: 14px;
    vertical-align: middle;
    text-align: center;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    width: 132px;
    height: 32px;
}

    /* Hide the browser's default checkbox */
    .container input {
        position: absolute;
        opacity: 0;
        cursor: pointer;
    }

/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 32px;
    width: 32px;
    background-color: rgba(144, 108, 108, 0.25);
}

/* On mouse-over, add a grey background color */
.container:hover input ~ .checkmark {
    background-color: rgba(50, 175, 250, 0.7);
}

/* When the checkbox is checked, add a blue background */
.container input:checked ~ .checkmark {
    background-color: rgba(25, 150, 250, 0.9);
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    /*display: none;*/
    opacity:0.5;
}

/* Show the checkmark when checked */
.container input:checked ~ .checkmark:after {
    display: block;
    opacity: 1;
}

/* Style the checkmark/indicator */
.container .checkmark:after {
    left: 12px;
    top: 8px;
    width: 8px;
    height: 14px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.ui.slider.range input[type="range"] {
    -webkit-appearance: none;
    border-width: 1px;
    border-style: solid;
    border-radius: 50rem;
    border-color: rgba(180, 180, 180, 0.5);
    /*padding:3px;*/
}

    .ui.slider.range input[type="range"]::-moz-range-track {
        background: none;
        border: none;
    }

    .ui.slider.range input[type="range"]::-webkit-slider-thumb {
        -webkit-appearance: none;
        background: rgba(36, 123, 160, 0.9);
        border-radius: 50rem;
        height: 0.9em;
        width: 0.9em;
    }

    .ui.slider.range input[type="range"]::-moz-range-thumb {
        background: rgba(36, 123, 160, 0.9);
        border-color: rgba(36, 123, 160, 0.9);
        border-radius: 50rem;
        height: 0.9em;
        width: 0.9em;
    }

.pure-form-aligned .pure-control-group label{
    width:6em !important;
}