body {
	font-family: 'Microsoft JhengHei', "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.mobile_titlebar {
  border: 1px solid #0f9ac5;
  background: #23b7e5;
  color: #ffffff;
  font-weight: bold;
  padding: 0.4em 10px;
  display: inline-block;
  width: 100%;
  margin-bottom: 10px;
}
.mobile_titlebar #mobile_titlebar_title {
  font-size: 16px;
  float: left;
  margin: 0.1em 0;
  white-space: nowrap;
  width: 16em;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mobile_titlebar .mobile_titlebar_close {
  background: #ffffff;
  border: 1px solid #ffffff;
  cursor: pointer;
  float: right;
}
.mobile_titlebar .mobile_titlebar_close:before {
  content: "✖";
  color: #03A9F5;
}

.mainBox{
	padding: 0 10px
}

.box_grid2{
	width: 48%;
	height: 400px;
	display: none;
}

.pumpStatus{
	display: inline-block;
    width: 10px;
    height: 10px;
    margin-left: 5px;
    background: #00ff00;
    border-radius: 50%;
}

.pumpStatus_trun_on{
	background: #ea0000;
}

.card-view {
    position: relative;
    padding: 5px 0;   
}
.card-view + .card-view{
	 border-top: 1px solid #ddd;
}
.card-view:nth-child(odd){
	background: #f5f5f5;
}
.fixed-table-body .card-view .title{
	min-width: 10em;
	top: 5px;
    left: 5px;
    position: absolute;
}

.fixed-table-body .card-view .value{
	padding-left: 10em;
    display: inline-block;
}
.chartImgBox{
	width: 1000px;
	height:500px;
	margin:0 auto;
}

.chartImg{
	width: 600px;
	height:500px;
	margin:0 auto;
}

.chartImg2{
	width: 100%;
	height: 40vh;
	margin:0 auto;
}

.chartImg3{
	width: 640px;
	height: 360px;
	margin:0 auto;
}

.myframe{
	/* width:100vh; */
	/* height:40vh; */
	/* width: 640px;
	height: 360px; */
	transform: scale(0.90);
	transform-origin:0 0;
	/* -ms-transform: scale(0.8);
	-ms-transform-origin:0 0; 
	-moz-transform: scale(0.8);
	-moz-transform-origin:0 0; 
	-o-transform: scale(0.8);
	-o-transform-origin: 0 0; 
	-webkit-transform: scale(0.8);
	-webkit-transform-origin: 0 0;  */
	}
	.myframe2{
		/* width: 640px;
		height: 360px; */
		transform: scale(1.2);
		transform-origin:0 0;
		}	
.chartImg3{
	/* display:inline-block; */
	width: 100%;
	min-width: 300px;
	height: 300px;
	margin: 0 auto;
	/* vertical-align: top; */

}
.pumpImg{
	width: 650px;
	height: 250px;
	margin: 0,auto;
}

.echartImg{
	width: 100%;
	min-width: 300px;
	height: 500px;
	margin: 0 auto;
}

/*nodata**/

.nodata{
	width: 100%;
    position: absolute;
    height: 100%;
    background: rgba(43, 52, 59, 0.85);
    z-index: 1;
    top: 0;
	left: 0;
	display: none;
}

.nodata:before{
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	margin-left: -50px;
	margin-top: -50px;
	border: 3px solid #00afc5;
	border-right: 3px solid #fff;
	border-bottom: 3px solid #fff;
	height: 100px;
	width: 100px;
	border-radius: 50%;
	-webkit-animation: loading 1s infinite linear;
	-moz-animation: loading 1s infinite linear;
	-o-animation: loading 1s infinite linear;
	animation: loading 1s infinite linear;
}
.nodata:after{
	content: "loading...";
	position: absolute;
	left: 50%;
	top: 50%;
	margin-left: -25px;
	margin-top: -13px;
	color: #ffffff;
}

@-moz-keyframes loading {
    from {
        -moz-transform: rotate(0deg);
    }
    to {
        -moz-transform: rotate(360deg);
    }
}
@-o-keyframes loading {
    from {
        -o-transform: rotate(0deg);
    }
    to {
        -o-transform: rotate(360deg);
    }
}
@keyframes loading {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
/*------table color---------*/
.table > tbody > tr.active.rain_alert3 > td
{
background-color: rgba(255, 240, 106, 0.863);
}
.table > tbody > tr.rain_alert3 > td
{
background-color: rgba(255, 246, 166, 0.863);
}
.table > tbody > tr.alert3 > td
{
background-color: rgba(68, 190, 169, 0.8);
}

.table > tbody > tr.active.alert3 > td{
background-color: rgba(60, 162, 169, 0.65);
} 

.table > tbody > tr.alert2 > td
{
	background-color: rgba(241, 145, 24, 0.65);
}

.table > tbody > tr.active.alert2 > td{
	background-color: rgba(252, 142, 4, 0.8);
} 

.table > tbody > tr.alert1 > td
{
	background-color: rgba(255, 65, 65, 0.65);
}

.table > tbody > tr.active.alert1 > td{
	background-color: rgba(219, 41, 41, 0.8);
}

.table > tbody > tr.repair > td
{
	background-color: rgba(190, 186, 183, 0.911);
}

.pageBox .nav-tabs {
	margin-bottom: 20px;
}

.pageBox .nav-tabs > li {
	width: 14%;
	/* width: 12%; */
    text-align: center;
    font-size: 18px;
}

.text-info2{
	color: rgb(255, 255, 255);
}

.pageBox .nav-tabs > li > a{
	color: #5d5d5d;
}
.pageBox .nav-tabs > li.active > a{
	color: #337ab7;
	font-weight: 700;
}

.imgbox{
	/* position: relative; */
    width: 100%;
    height: 0;
    padding-bottom: 65%;
}

.cctv_media {
	width: 100%;
	aspect-ratio: 16/9;
    position: relative;
    border: 1px solid #fff;
    margin: 15px auto;
    border-radius: 5px;
    box-sizing: border-box;
    position: relative;
}
.cctv_media2{
	-webkit-overflow-scrolling: touch;
    width: 100%;
    /* height: 40vh; */
	aspect-ratio: 16/9;
	display:inline-block;
}
.cctv_media iframe{
	height: 100%;
  	width: 100%;
}
.cctv_media img{
	width:auto;
	height:auto;
	max-width:100%;
	max-height:100%;
	/* position: absolute; */
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	margin: auto;	
}
.water_img{
	width: 400px;
    height: 338px;
}
.cctv_media2 iframe{
	height: 300px;
	 width: 100%;
}
.card-header{
	padding:var(--bs-card-cap-padding-y) var(--bs-card-cap-padding-x);
	margin-bottom:0;color:var(--bs-card-cap-color);
	background-color:#6d96c0;
	border-bottom:var(--bs-card-border-width) solid var(--bs-card-border-color);
	font-weight:bold;
	font-size: 18px;
	height: 3em;
	overflow:auto;
	/* margin: auto; */
}
/**/
.ml10{
	margin-left: 10px;
}
.mb5{
	margin-bottom: 5px;
}

.mb10{
	margin-bottom: 10px;
}


.ib100{
	display: inline-block;
	width: 100%;
}

.btnline{
	line-height: 2.429em;
}

.red{
	color: #ff0000;
}

.dateInput{
	width: 160px;
}
.select{
	width: 179px;
}
.em-9{
	width: 9em;
}
.em-8{
	width: 8em;
}
.em-7{
	width: 7em;
}
.em-78{
	width: 7.8em;
}
.disib{
	display: inline-block;
}
input[type="text"],input[type="number"],select{
	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;
}
/*map*/
.map {
	width: 100%;
	height: 100%;
}
#disasterMap .ol-zoom .ol-zoom-out,#gapMap .ol-zoom .ol-zoom-out {
	margin-top: 204px;
}
#disasterMap .ol-zoomslider,#gapMap .ol-zoomslider {
	background-color: transparent;
	top: 2.3em;
}
#disasterMap .ol-touch .ol-zoom .ol-zoom-out,#gapMap .ol-touch .ol-zoom .ol-zoom-out{
	margin-top: 212px;
}
#disasterMap .ol-touch .ol-zoomslider {
	top: 2.75em;
}
#disasterMap .ol-zoom-in.ol-has-tooltip:hover [role=tooltip],
#disasterMap .ol-zoom-in.ol-has-tooltip:focus [role=tooltip],
#gapMap .ol-zoom-in.ol-has-tooltip:hover [role=tooltip],
#gapMap .ol-zoom-in.ol-has-tooltip:focus [role=tooltip] {
	top: 3px;
}
#disasterMap .ol-zoom-out.ol-has-tooltip:hover [role=tooltip],
#disasterMap .ol-zoom-out.ol-has-tooltip:focus [role=tooltip],
#gapMap .ol-zoom-out.ol-has-tooltip:hover [role=tooltip],
#gapMap .ol-zoom-out.ol-has-tooltip:focus [role=tooltip] {
	top: 232px;
}
div#popup {
	padding: 5px;
}

@media only screen and (min-width: 769px) {
	.overViewBoxLine{
		height: 44vh;
	}

	.overViewBox{
		height: 40vh;
	}

	.overViewImg{
		height: 100%;
	}
}
@media only screen and (max-width: 768px) {
	.table > tbody > tr > td{
		border-top: 4px solid #dddddd;
	}
	.ml10 {
	    margin-left: 0;
	}
	.chartImgBox{
		width: calc(100vw - 50px);
		height: 285px;
	}
	.chartImg{
		width: calc(100vw - 50px);
		height: 400px;
	}
	.panel-default>.panel-heading{
		display: inline-block;
   		width: 100%;
	}
	.ui-dialog .ui-dialog-content{
	    padding: .5em 0;
	}
	.pageBox .nav-tabs > li {
		font-size: 14px;
	}
	.nav > li > a{
		padding: 10px;
	}
	
	.cctv_media{	
	    width:  calc(100vw  - 30px);  
	    height : calc(100vw  - 136px);  
		overflow-y: auto;
	}
	#cctv_media > div > img{	
	    width:  calc(100vw  - 60px);  
	    height : calc(100vw  - 136px);  
	}
	.overViewBox{
		height: 410px;
	}
	.overViewImg{
		height: 350px;
	}
}