body, nav, ul, li, a  {margin: 0; padding: 0;}
body {
	background-color:#efefef;
	background-position:center bottom;
	background-repeat:repeat-x;
	font-family:kanit;
	font-size:15px;
	color: #000000;
	line-height:20px;
	margin: 0px;
	padding: 0px;
	overflow-x:hidden;
	overflow-y:hidden;
}
a:link {
	color:#5c2705;
	text-decoration: none;
}
a:visited {
	color:#5c2705;
	text-decoration: none;
}
a:hover {
	color:#2e0000;
	text-decoration: none;
}
a:active {
	color:#5c2705;
	text-decoration: none;
}
@font-face {
    font-family: kanit;
    src: url('Kanit-Light.ttf');
}
#loadMain{
	background:url(images/loading.gif);
	background-repeat:no-repeat;
	width: 126px;
	height: 22px;
	margin-top: 25%;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 45%;
}
#loadMain1{
	background:url(images/loading1.gif);
	background-repeat:no-repeat;
	width: 32px;
	height: 32px;
	margin-top: 100px;
	margin-right: 0px;
	margin-bottom: 50px;
	margin-left: 600px;
}
.divMain {
	text-align:left;
	background-position:center;
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
	clear: both;
	height:auto;
}
.divHeadMenu{
	float:left;
	width:100%;
	height:40px;
	background-color:#2a2725;
}
.divHead{
	float: left;
	width: 100%;
	color: #FFF;
	height: 100px;
	background-color: #8C1887;
	position: absolute;
	z-index: 4;
}
.boxHeadL{
	float:left;
	width:40%;
}
.boxHeadLMenuIcon{
	float:left;
	width:50px;
	text-align: center;
	font-size: 25px;
	margin-top: 40px;
	cursor: pointer;
}
.boxHeadLIcon{
	float:left;
	width:50px;
	margin-top:5px;
	margin-left:20px;
}
.boxHeadLIcon img{
	width:100%;
}
.boxHeadLName{
	float:left;
	width:calc(100% - 230px);
	font:30px kanit;
	text-align:left;
	margin-top:10px;
	margin-left:20px;
	color:#FFF;
	border-left: 3px solid #FFF;
	padding-left: 10px;
}
.boxHeadLName span{
	font:20px kanit;
}
.boxHeadR{
	float:left;
	width:60%;
}
.divBody{
	float:left;
	width:100%;
	//width:calc(100% - 50px);
	height:100%;
	position:absolute;
	//margin-left:50px;
}
.boxMainPage{
	float:left;
	width:100%;
	height: 100%;
	position:absolute;
	transition: all 10s ease;
}
.boxMainPage img{
	float:left;
	width:100%;
}
.imgMap,.imgMapIn{
	width: 100%;
	left: 0%;
	top: 0%;
	z-index: 3;
	position: relative;
	//-webkit-transform: perspective(300px);
}
.svgTxt{
	position: absolute;
	width: 490px;
	height: 250px;
	margin-top: 8%;
	margin-left: 40%;
  	display: block;
  	transform: perspective(1000px) rotate3d(1, 0, 0, 65deg) rotate(-67deg);
  	z-index: 1;
  	//background-color: red;
}
.filter {
    filter: drop-shadow( 0 2px 5px #03fcd7 );
}
.core {
	fill: #fa6800;
	cursor: pointer;
}
.radar  {
	fill: rgba(#ff4f81, .5);
	fill-opacity: 0;
	animation: pulse2 1.5s ease-in-out infinite;
	stroke: #fa6800; 
	stroke-width: 2px;
	stroke-opacity: 1;
}
@keyframes pulse2 {
	0% {
		transform: scale(1);
		opacity: 0;
	}

	50% {
	    opacity: 1;
	}

	100% {
	    transform: scale(3.5);
	    opacity: 0;
	}
}
.st1{
    stroke:#fa6800;
    stroke-width:5;
    stroke-dasharray: 190;
    stroke-dashoffset: 190;
    animation: process 0.5s linear forwards;
}
.st2{
    fill:none;
    stroke:#fa6800;
    stroke-width:5;
    stroke-miterlimit:0;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: dash 5s linear 0.5s infinite;
}
@keyframes process {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes dash {
  to {
    stroke-dashoffset: 1000;
  }
  50% {
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dashoffset: 0;
  }
}
.boxBuLabel{
	float:left;
	position:absolute;
	width:15%;
	background-color:#b74a59;
	border:2px solid #862633;
	border-radius:5px;
	color:#FFF;
	cursor:pointer;
	z-index:1;
}
.boxBuLabelName{
	float:left;
	width:96%;
	margin-left:2%;
	font:27px kanit;
}
.boxBuLabelCapa{
	float:left;
	width:96%;
	margin-left:2%;
	font:17px kanit;
	margin-top:-5px;
	margin-bottom:5px;
}
.boxBuLabelL{
	float:left;
	width:60%;
	margin-left:2%;
	font-size:20px;
}
.boxBuLabelR{
	float:left;
	width:36%;
	text-align:right;
	font-size:20px;
}
.boxLabelTotal{
	margin-top:8px;
}
.boxEnvi{
	position:fixed;
	width:100%;
	bottom:20px;
	z-index:1;
}
.boxEnviItem{
	float: left;
	width: 15.6%;
	margin-left: 0.5%;
	margin-right: 0.5%;
	margin-top: 15px;
}
.boxEnviItem_first{
	float: left;
	width: 25%;
	margin-left: 20%;
	margin-right: 1%;
}
.boxEnviSensorL{
	float:left;
	width:25%;
	margin-top:0px;
	text-align: center;
	color: #f4b538;
	font-size: 40px;
	margin-top: 10px;
}
.boxEnviSensorR{
	float:left;
	width:70%;
	margin-left:5%;
	font-family:kanit;
	margin-top:5px;
}
.boxEnviSensorRName{
	float:left;
	width:100%;
	font-size:16px;
	color: #FFF;
}
.boxEnviSensorRVal{
	float:left;
	font-size:17px;
	margin-top:15px;
}
.boxEnviSensorRVal span{
	font-size:25px;
}
.boxMainMenu{
	float:left;
	width:50px;
	height:100%;
	color:#FFF;
	background-image:url(../images/bg-body.png);
	position:fixed;
	z-index:5;
	margin-left:-50px;
}
.boxMainMenu .boxMainMenuItemTop{
	margin-top:50px;
}
.boxMainMenuItem{
	float:left;
	width:100%;
	text-align:center;
	margin-top:15px;
	cursor:pointer;
}
.boxMainMenuItem_icon{
	float:left;
	width:100%;
	font-size:20px;
	text-align:center;
}
.boxMainMenuItem_Name{
	float:left;
	width:100%;
	font-size:13px;
}
.boxFrameDetail{
	float: left;
	width: 100%;
	background-color: #FFF;
	border-radius: 5px;
	margin-top: 2%;
}
.boxConClose{
	float: right;
	font-size: 30px;
	margin-top: 20px;
	margin-bottom: 10px;
	margin-right: 20px;
	cursor: pointer;
	color: #333;
}
.boxConDiagram{
	float:left;
	width:100%;
	display:none;
	position:fixed;
	margin-top:0px;
	margin-left:0px;
	z-index:10;
	color:#333;
}
.graphAllView{
	float:left;
	width:100%;
	height:500px;
}
.boxRowGraphH{
	float: left;
	width: 100%;
	height: 35px;
	line-height: 35px;
	border-bottom: 1px solid #b1b1b1;
}
.boxTabAllChartActive{
	float:right;
	width:100px;
	height:33px;
	cursor:pointer;
	color:#333;
	text-align: center;
	border-top: 2px solid #2e9dcd;
	border-left: 1px solid #b1b1b1;
	border-right: 1px solid #b1b1b1;
	border-bottom: 1px solid #FFF;
	font-weight: bold;
}
.boxTabAllChart{
	float:right;
	width:100px;
	height:35px;
	cursor:pointer;
	color:#333;
	text-align: center;
	border-top: none;
	border-left: 1px solid #FFF;
	border-right: 1px solid #FFF;
	border-bottom: 1px solid #b1b1b1;
}
.boxTabAllChart:hover{
	background-color:#e7e7e7;
}
.boxTabMenu{
	display: table;margin: 0 auto; text-align:center; z-index:5; position:relative;
}
.boxClosePara{
	float:left;
	width:99%;
	text-align:right;
	font-size:30px;
	cursor:pointer;
	margin-top:15px;
}
.boxSavingItemIn{
	float:left;
	width:50%;
	margin-left:25%;
}
.boxBuL{
	float: left;
	width: 35%;
}
.boxBuR{
	float: left;
	width: 63%;
	margin-left: 2%;
	position:relative;
	//background-color:#FFF;
}
.boxRowH{
	float: left;
	width: 100%;
	height: 35px;
	background-color: #7e4097;
	font-family:kanit;
}
.boxRowHL{
	float: left;
	width: 60%;
	font-size: 14px;
	color: #FFF;
	margin-left: 5%;
	line-height: 35px;
}
.boxRowHR{
	float: right;
	padding-top: 3px;
	padding-bottom: 3px;
	padding-left: 5px;
	padding-right: 5px;
	background-color: #56b60a;
	font-size: 14px;
	color: #FFF;
	margin-right: 5%;
	margin-top: 4px;
}
.boxBuDetailName{
	float:left;
	width:100%;
	text-align:center;
	font:25px kanit;
	font-weight:bold;
	color:#7e4097;
	margin-top:10px;
	margin-bottom:10px;
}
.boxTabBuAc{
	float:left;
	width:100px;
	height:33px;
	cursor:pointer;
	color:#333;
	text-align: center;
	border-top: 2px solid #2e9dcd;
	border-left: 1px solid #b1b1b1;
	border-right: 1px solid #b1b1b1;
	border-bottom: 1px solid #FFF;
	font-weight: bold;
}
.boxEnvoiL{
	float:left;
	width:30%;
}
.boxEnvoiL img{
	float:left;
	width:100%;
}
.boxEnvoiR{
	float:left;
	width:65%;
	margin-left:5%;
}
.boxEnRT{
	float:left;
	width:100%;
	font-family:kanit;
	font-size:16px;
	font-weight:bold;
	//text-shadow:0px 0px 2px #000;
}
.boxEnRB{
	float:left;
	width:100%;
	font:20px kanit;
	margin-top:5px;
	color:#000;
	text-align:right;
}
.boxEnRB span{
	font:30px kanit;
	color:#7f12b3;
}
.boxEnviAll{
	float:left;
	width:42%;
	margin-left:7%;
	margin-right:1%;
	margin-top: 20px;
	height: auto;
}
.boxBarFoot{
	float: left;
	width: 100%;
	position:fixed;
	bottom: 0px;
	z-index: 6;
	background-color: #8C1887;
	//background-image:url(../images/bg-body.png);
	border-top: 2px solid #FFF;
}
.boxBarFootL,.boxBarFootR{
	float: left;
	width: 33%;
	height: auto;
}
.boxBarFootC{
	float: left;
	width: 34%;
	//border-radius: 50% 50% 0% 0%;
	//height: 110px;
}
.boxFooter{
	width: 100%;
	position: fixed;
	bottom: 0px;
	z-index: 4;
	//display: none;
}
.boxFooterBar{
	float: left;
	width: 100%;
	height: 100px;
	background-color: #FFF;
}
.boxFootLogo{
	width: 30%;
	height: 100px;
	position: absolute;
	float: left;
	background-color: #FFF;
	border:5px solid #0070c0;
}
.boxFootLogoImg{
	float: left;
	width: 150px;
	margin-left: 10px;
	margin-top: 15px;
}
.boxFootLogoImg img{
	float: left;
	width: 100%;
}
.boxFootLogoName{
	float:left;
	width:calc(100% - 230px);
	font:20px kanit;
	text-align:left;
	margin-top:15px;
	margin-left:10px;
	color:#0070c0;
	border-left: 3px solid #0860a8;
	padding-left: 10px;
}
.boxFootLogoName span{
	font:17px kanit;
}
.boxFooterCon{
	float: left;
	width: 33%;
	height: 150px;
	background-color: #0070c0;
	position: absolute;
	margin-top: -50px;
	left: 31%;
}
.boxFooterCon:before{
    border-bottom: 150px solid #0070c0;
    border-left:100px solid transparent; 
    border-right: 10px solid #0070c0;
	position:absolute;
	left:-100px;
	margin-top:00px;
    content: "";
    width: 0; 
}
.boxWtIcon{
	float: left;
	width: 90px;
	margin-top: -10px;
}
.boxWtTxt{
	float: left;
	width: calc(100% - 90px);
	color: #fff;
	margin-top: 10px;
}
.boxFooterGraph{
	float: left;
	width: 36%;
	height: 240px;
	background-color: #0070c0;
	position: absolute;
	margin-top: -140px;
	right: 0px;
}
.boxFooterGraph:before{
    border-bottom: 150px solid #0070c0;
    border-left:100px solid transparent; 
    border-right: 10px solid #0070c0;
	position:absolute;
	left:-100px;
	margin-top:00px;
    content: "";
    width: 0; 
}
.boxFooterGraphIn{
	float: left;
	width: 99%;
	height: calc(100% - 20px);
	margin-top: 10px;
	position: relative;
}
.boxOVConerT{
	position: absolute;
	width: 50px;
	height: 50px;
	border-top: 3px solid #FFF;
	border-left: 3px solid #FFF;
	top: -2px;
	left: -2px;
}
.boxOVConerB{
	position: absolute;
	width: 50px;
	height: 50px;
	border-right: 3px solid #FFF;
	border-bottom: 3px solid #FFF;
	right: -2px;
	bottom: -2px;
}
.boxFooterConLable{
	float: left;
	width: 90%;
	height: 50px;
	background-color: #FFF;
	position: absolute;
	margin-top: 5px;
	text-align: center;
	color: #0070c0;
	font-size: 35px;
	font-weight: bold;
	line-height: 45px;
}
.boxFooterConLable:before{
    border-bottom: 50px solid #FFF;
    border-left:32px solid transparent; 
    border-right: 00px solid #FFF;
	position:absolute;
	left:-32px;
	margin-top:00px;
    content: "";
    width: 0; 
}
.boxFooterConL{
	float: left;
	width: 90%;
	margin-top: 55px;
}
.boxEnviL{
	float:left;
	width:50px;
	margin-top: 5px;
}
.boxEnviL img{
	float:left;
	width:100%;
}
.boxEnviR{
	float:left;
	width:calc(100% - 105px);
	margin-left:15px;
}
.boxEnviRName{
	float:left;
	width:100%;
	font:17px kanit;
	font-weight:bold;
	color: #FFF;
	//text-shadow:0px 0px 2px #000;
}
.boxEnviRVal{
	float:left;
	width:100%;
	font:17px kanit;
	color:#FFF;
	margin-top:-10px;
}
.boxEnviRVal span{
	color:#FFF;
	font:27px kanit;
}
.boxChartPopUp{
	float:left;
	width:100%;
	height:450px;
}
.boxConDiagram{
	float:left;
	width:100%;
	display:none;
	position:fixed;
	margin-top:0px;
	margin-left:0px;
	z-index:10;
}
.frameLogin{
	float:left;
	width:25%;
	height:auto;
	margin-left:37.5%;
	background-color:#fefefe;
	border:1px solid #c6d8d8;
	border-radius:5px;
	margin-top:8%;
	box-shadow: 0px 0px 5px #575757;
}
.boxLoginText{
	float:left;
	width:100%;
	text-align:center;
	margin-top:5%;
	font:50px kanit;
	color:#333;
}
#frameForm{
	float:left;
	width:90%;
	height:auto;
	//margin-left:25px;
	margin-left:5%;
}
#frameFormBox{
	float:left;
	width:100%;
	color:#555;
	font-weight:bold;
	margin-top:5px;
}
#frameLoginBtn{
	float:left;
	width:90%;
	height:80px;
	border-top:1px solid #d4d8d9;
	margin-top:30px;
	background-color:#f0f5f8;
	border-radius:0px 0px 5px 5px;
	padding-right:5%;
	padding-left:5%;
}
#frameLoginBtnL{
	float:left;
	width:70%;
	margin-top:25px;
	color:#999;
}
#frameLoginBtnR{
	float:left;
	width:30%;
	text-align:right;
	margin-top:20px;
}
.chartBoxGauge{
	float: left;
	width: 100%;
	height: 230px;
	margin-top: -5px;
}
.boxTabInvAllAc{
	float:left;
	width:100px;
	height:40px;
	cursor:pointer;
	color:#333;
	border-radius:5px 5px 0px 0px;
	margin-right:5px;
	line-height:40px;
	font-weight:bold;
	border-bottom:3px solid #57c301;
}
.boxTabInvAll{
	float:left;
	width:100px;
	height:40px;
	cursor:pointer;
	color:#666;
	margin-right:5px;
	line-height:40px;
	border-bottom:2px solid #CCC;
}
.boxTabInvAll:after{
    display: block;
    content: "";
    height: 2px;
    width: 0%;
    background-color:#57c301;
    transition: width 0.5s ease-in-out;
}
.boxTabInvAll:hover:after{
	width:100%;
}
.boxTitleH{
	float:left;
	width:100%;
	text-align:center;
	font-weight:bold;
	font-size:20px;
	margin-top:20px;
}
.graphAllView{
	float: left;
	width: 100%;
	height: 350px;
}
.boxBgDiagramIn{
	float: left;
	width: 100%;
	margin-top: 5%;
}
.boxTitleInv{
	float: left;
	width: 90%;
	margin-top: 0px;
	margin-left: 5%;
	margin-right: 5%;
	font-size: 20px;
}
.show-time {
	color:#FFF;
	font:35pt digital;
	text-shadow:1px 1px 4px #333333;
	margin-top: -10px;
}
.show-weekday {
	color:#008ec3;
	font-size:1.3em;
}
.show-date {
	color:#FFF;
	font-size:1.2em;
}
.boxMainPageL{
	float:left;
	position:absolute;
	width:23%;
	z-index:4;
	margin-left:50px;
	margin-top:140px;
	height:100%;
	overflow:auto;
}
.boxBodyLIn{
	float: left;
	width: 100%;
	height: 100%;
	position: absolute;
	z-index: 6;
}
.boxUValueTitle{
	float:left;
	width:70%;
	height:35px;
	border-radius:3px 3px 0px 0px;
	background-color:#8C1887;
	position: relative;
}
.boxUValueTitle::after{
    border-left: 35px solid #8C1887;
    border-top:35px solid rgba(255,255,255,0); 
    border-bottom: 0px solid rgba(255,255,255,0);
	position:absolute;
	margin-left: 0%;
    content: "";
    width: 0; 
    height: 0;
}
.boxUValueTitle span{
	float:left;
	width: 94%;
	margin-left:5%;
	font-weight:bold;
	color:#FFF;
	margin-top:5px;
	font:13pt Kanit;
}
.boxRowH{
	float: left;
	width: 100%;
	height: 35px;
	background-color: #105bac;
	font-family:kanit;
}
.boxRowB{
	float: left;
	width: 100%;
	height: auto;
	//background-color: #FFF;
	background-image: url(../images/bgOver2.png);
	box-shadow: 0px 0px 1px #7e7e7f;
}
.boxRowHL{
	float: left;
	width: 60%;
	font-size: 15px;
	color: #FFF;
	margin-left: 5%;
	line-height: 35px;
}
.boxRowHR{
	float: right;
	padding-top: 3px;
	padding-bottom: 3px;
	padding-left: 5px;
	padding-right: 5px;
	background-color: #56b60a;
	font-size: 14px;
	color: #FFF;
	margin-right: 3%;
	margin-top: 4px;
	border-radius: 4px;
}
.boxNowGen{
	float: left;
	width:96%;
	margin-left: 2%;
	z-index:4;
	margin-bottom: 10px;
	margin-top: 10px;
}
.boxGenList{
	float:left;
	width:100%;
	margin-left:0%;
	margin-top:5px;
	margin-bottom:5px;
}
.boxGenListL{
	float:left;
	width:60%;
	font:17px kanit;
	font-weight:bold;
	text-align:left;
	margin-top: 2px;
}
.boxGenListL span{
	font:15px Boon;
}
.boxGenListR{
	float:left;
	width:30%;
	margin-left:10%;
	text-align:right;
	background-color:#0860a8;
	color:#FFFFFF;
	padding-top: 2px;
	padding-bottom: 2px;
}
.boxGenListR span{
	font-size: 25px;
}
.boxBarDiagramL,.boxBarDiagramC,.boxBarDiagramR{
	float: left;
	width: 23%;
	position: relative;
	border-radius: 5px;
}
.boxBarDiagram-arrow{
	float: left;
	width: 13%;
	margin-left: 1%;
	margin-right: 1%;
}
.boxBarDiagram_icon{
	float: left;
	width: 100%;
	text-align: center;
	height: auto;
}
.boxBarDiagram_icon img{
	float: left;
	width: 70%;
	margin-left: 15%;
	margin-top: 15px;
}
.boxBarDiagram_val{
	float: left;
	width: 100%;
	text-align: center;
	color: #FFF;
	margin-top: 10px;
	font-size: 18px;
}
.boxBarDiagram_val span{
	font-size: 25px;
}
.boxArrowCharge1{
	transform: rotate(-90deg);
	margin-top:70px;
	margin-left: 20%;
	float: left;
	position: relative;
}
.boxArrowCharge2{
	transform: rotate(90deg);
	margin-top:67px;
	margin-left: 50%;
	position: relative;
}
.arrow{
	opacity: 0;
	position: absolute;
	transform-origin: 50% 50%;
	transform: translate3d(-50%, -50%, 0) ;
}
.arrow-1 {
    animation: arrow-movement 3s ease-in-out infinite;
}
.arrow-2 {
    animation: arrow-movement 3s 1.5s ease-in-out infinite;
}
.arrow:before,
.arrow:after {
  	content: '';
	display: block;
	height: 5px; 
  	position: absolute;
	top: 0;
    left: 0;
  	width: 22px;
}
.arrow:before {
	transform: rotate(50deg) translateX(-3%);
  	transform-origin: top left;
}
.arrow:after {
	transform: rotate(-50deg) translateX(3%);
	transform-origin: top right;
}
.arrowRed:before,
.arrowRed:after {
  	background: orange;
}

@keyframes arrow-movement {
	0%   { 
		opacity: 0;
  	}
  	70% {
    	opacity: 1;
  	}
	100% { 
	    opacity: 0;
	    top: 15px;
	}
}
.boxLoadPro{
	float: left;
	width: 100%;
	height: 180px;
}
.boxValListL{
	float: left;
	width: 22%;
	border-right: 2px solid #666;
}
.boxValListL img{
	float: left;
	width: 90%;
	margin-left: 5%;
}
.boxValListR{
	float: left;
	width: 58%;
}
.boxValListR_ov{
	float: left;
	width: 75%;
}
.boxValListR-title{
	float: left;
	width: 100%;
	border-bottom: 2px solid #999;
}
.boxValListR-title span{
	margin-left: 10px;
	font: 20px kanit;
}
.boxValListR-val{
	float: left;
	width: 95%;
	text-align: right;
	font: 17px kanit;
	margin-top: 5px;
}
.boxValListR-val span{
	font: 22px kanit;
}
.boxTxtTitle{
	float: left;
	width: 95%;
	margin-left: 5%;
	font-size: 17px;
	margin-top: 10px;
	margin-bottom: 10px;
	font-weight: bold;
}
.screen_video{position:absolute;top:0;left:0;right:0;bottom:0;z-index:1; height: 100%; width: 100%;}
.screen_video video{width:100%;height:100%;position:absolute;top:0;bottom:0;-o-object-fit:cover;object-fit:cover;-o-object-position:bottom;object-position:top}
.videoOut,.videoIn{
	opacity:0;
}
.boxPreloadVdo{
	float:left;
	width:30%;
	position:absolute;
	z-index:5;
	margin-left:35%;
	display:none;
	bottom:5%;
}
.boxPreloadLineBg{
	float:left;
	width:100%;
	height:11px;
	background-color:#292b2f;
	border-radius:3px;
	position:relative;
}
.boxPreloadLine{
	float:left;
	width:0%;
	height:5px;
	background-color:#00afdd;
	margin-top:3px;
	margin-left:1%;
}
.boxPreloadIcon{
	float:left;
	width:45px;
	height:35px;
	line-height:35px;
	background-color:#333;
	color:#00afdd;
	margin-top:-50px;
	text-align:center;
	margin-left:-20px;
	position:relative;
	border-radius:3px;
}
.boxPreloadIcon:after{
    border-top: 20px solid #333;
    border-left:10px solid transparent; 
    border-right: 10px solid transparent;
	position:absolute;
	left:13px;
	margin-top:30px;
    content: "";
    width: 0; 
}
.boxBack,.boxBackToBu{
	position:absolute;
	margin-left:1%;
	z-index:4;
	margin-top:1%;
	background-color:#03fcd7;
	color:#222;
	width:150px;
	text-align:center;
	height:35px;
	line-height:35px;
	border-radius:5px;
	cursor:pointer;
}
.boxBackToBu{
	background-color:#105bac;
	color:#FFF;
}
.boxBuSceneINV{
	position: absolute;
	width: 100%;
	height: 100%;
	display: none;
	z-index: 4;
}
.hexRotate{
	transform-origin: center center;
  	transform-box: fill-box;
  	animation: spin 1s cubic-bezier(.8, 0, .2, 1) forwards;
}
.hexRotateBack{
	transform-origin: center center;
  	transform-box: fill-box;
  	animation: ckwBack 1s cubic-bezier(.8, 0, .2, 1) forwards;
}
@keyframes ckw {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
@keyframes ckwBack {
    0% {
        transform: rotate(360deg);
    }
    100% {
        transform: rotate(0deg);
    }
}
.dcLine{
    fill:none;
    stroke:#03fcd7;
    stroke-width:5;
    stroke-miterlimit:0;
    stroke-dasharray: 10;
    stroke-dashoffset: 200;
    animation: dash 3s linear 0.5s infinite;
}
.acLine{
	fill:none;
    stroke:red;
    stroke-width:5;
    stroke-miterlimit:0;
    stroke-dasharray: 10;
    stroke-dashoffset: 200;
    animation: dash 3s linear 0.5s infinite;
}
@keyframes dash {
  to {
    stroke-dashoffset: 200;
  }
  100% {
    stroke-dashoffset: 0;
  }
}
.coreInv {
	fill: #105bac;
	cursor: pointer;
}
.radarInv  {
	fill: rgba(#ff4f81, .5);
	fill-opacity: 0;
	animation: pulse2 1.5s ease-in-out infinite;
	stroke: #105bac; 
	stroke-width: 2px;
	stroke-opacity: 1;
}
@keyframes pulse2 {
	0% {
		transform: scale(1);
		opacity: 0;
	}

	50% {
	    opacity: 1;
	}

	100% {
	    transform: scale(3.5);
	    opacity: 0;
	}
}
.poly{
	opacity: 0;
  	cursor: pointer;
  	fill:#06bf9b;
}
.polyHover{
	fill:#06bf9b;
	opacity: 0.5;
}
.poly:hover{
	fill:#06bf9b;
	opacity: 0.5;
}
.buLable{
	cursor: pointer;
}
.boxViewRt{
	position: absolute;
	width: 100%;
	height: 100%;
	z-index: 5;
	display: none;
}
.boxCloseRT{
	position: absolute;
	right: 0px;
	margin-top: 10px;
	width: 10px;
	height: 10px;
	background-color: #FFF;
	z-index: 4;
	cursor: pointer;
}
.boxMainRt{
	float: left;
	position: absolute;
	width: 10px;
	height: 10px;
	z-index: 4;
	//background-color: red;
	//transform: rotate(20deg);
}
#pointB1{
	margin-top: 16.5%;
	margin-left: 37.5%;
}
#pointB2{
	margin-top: 34%;
	margin-left: 71.2%;
}
.boxMainOGL{
	float:left;
	position:absolute;
	width:20%;
	z-index:4;
	margin-left:50px;
	margin-top:85px;
	height:100%;
	overflow:auto;
}
.boxTxtTitleRT{
	float: left;
	width: 95%;
	margin-left: 5%;
	font-size: 17px;
	margin-top: 10px;
	margin-bottom: 10px;
	font-weight: bold;
	color: #333;
}
.boxValListR-val-rt{
	float: left;
	width: 95%;
	text-align: right;
	font: 17px kanit;
	margin-top: 5px;
	color: #333;
}
.boxValListR-val-rt span{
	font: 30px kanit;
}
.windTurbine{
	animation: rotating 1s linear infinite;
    transform-origin: 90px 108px;
}
@keyframes rotating {
	 from {-webkit-transform: rotate(360deg);
	   	-moz-transform: rotate(360deg);
	   	-o-transform: rotate(360deg);
	   	-ms-transform: rotate(360deg);
	   	transform: rotate(360deg);
	 }
	 to {
	    -webkit-transform: rotate(0deg);
	   	-moz-transform: rotate(0deg);
	   	-o-transform: rotate(0deg);
	   	-ms-transform: rotate(0deg);
	   	transform: rotate(0deg);
	 }
}

@media only screen and (min-width: 1536px) and (max-width: 1919px) {/*max1536*/
	.boxWeatherItemL{
		width:42%;
	}
	.boxWeatherItemR{
		width:54%;
		padding-bottom:10px;
		font-size:14px;
	}
	.boxEnRT{
		font-size:15px;
		font-weight:bold;
	}
	.boxEnRB{
		margin-bottom:5px;
	}
	.boxEnL{
		font-size:20px;
	}
	.boxEnviSensorL{
		width:30%;
		margin-top:0px;
	}
	.boxEnviSensorR{
		width:65%;
		margin-left:5%;
		margin-top:0px;
	}
	.boxEnviSensorRName{
		font-size:15px;
	}
	.boxEnviSensorRVal{
		font-size:17px;
		margin-top:5px;
	}
	.boxEnviSensorRVal span{
		font-size:30px;
	}
	.boxBuLabel{
		width:16%;
	}
	.boxBuLabelName{
		float:left;
		width:96%;
		margin-left:2%;
		font:20px kanit;
	}
	.boxLabelTotal{
		margin-top:0px;
	}
	.boxBuLabelCapa{
		font:12px kanit;
		margin-bottom:0px;
	}
	.boxBuLabelL{
		font-size:15px;
	}
	.boxBuLabelR{
		font-size:15px;
	}
	.boxEnviR{
		margin-top:0px;
	}
	.boxBuL{
		width: 40%;
	}
	.boxBuR{
		width: 58%;
	}
	.boxSavingItemL{
		float:left;
		width:60px;
	}
	.boxSavingItemR{
		width:calc(100% - 60px);
		height:34px;
		margin-top:15px;
		margin-left:-3px;
		font:20px kanit;
	}
	.boxMainChartHour{
		position:fixed;
		width:38%;
		height:250px;
		left:2%;;
		bottom:120px;
		z-index:1;
	}
	.boxMainChartHourIn{
		height:250px;
	}
	.divHead{
		height: 80px;
	}
	.boxHeadLIcon{
		width:40px;
		margin-top:3px;
	}
	.boxHeadLIcon img{
		width:100%;
	}
	.boxHeadLName{
		width:calc(100% - 165px);
		font:30px kanit;
		margin-top:0px;
	}
	.boxEnviRName{
		font:14px kanit;
	}
	.boxEnviRVal{
		margin-top: -10px;
	}
	.boxEnviRVal span{
		font:23px kanit;
	}
	.boxBarFootL,.boxBarFootR{
		height: 100px;
		margin-top: 00px;
	}
	.boxEnviL{
		width:35px;
	}
	.chartBoxGauge{
		height: 200px;
	}
	.boxBgDiagramIn{
		margin-top: 2%;
	}
	.boxChartPopUp{
		height:350px;
	}
	.boxBarDiagram_icon img{
		width: 50%;
		margin-left: 25%;
		margin-top: 5px;
	}
	.boxLoadPro{
		float: left;
		width: 100%;
		height: 120px;
	}
}

@media only screen and (min-width: 1024px) and (max-width: 1366px)  {/*max1366*/
	.boxWeatherItemL{
		width:42%;
	}
	.boxWeatherItemR{
		width:54%;
		padding-bottom:10px;
		font-size:14px;
	}
	.boxEnRT{
		font-size:15px;
		font-weight:bold;
	}
	.boxEnRB{
		margin-bottom:5px;
	}
	.boxEnL{
		font-size:20px;
	}
	.boxEnviSensorL{
		width:30%;
		margin-top:0px;
	}
	.boxEnviSensorR{
		width:65%;
		margin-left:5%;
		margin-top:0px;
	}
	.boxEnviSensorRName{
		font-size:15px;
	}
	.boxEnviSensorRVal{
		font-size:17px;
		margin-top:5px;
	}
	.boxEnviSensorRVal span{
		font-size:30px;
	}
	.boxBuLabel{
		width:16%;
	}
	.boxBuLabelName{
		float:left;
		width:96%;
		margin-left:2%;
		font:20px kanit;
	}
	.boxLabelTotal{
		margin-top:0px;
	}
	.boxBuLabelCapa{
		font:12px kanit;
		margin-bottom:0px;
	}
	.boxBuLabelL{
		font-size:15px;
	}
	.boxBuLabelR{
		font-size:15px;
	}
	.boxEnviR{
		margin-top:0px;
	}
	.boxBuL{
		width: 40%;
	}
	.boxBuR{
		width: 58%;
	}
	.boxSavingItemL{
		float:left;
		width:60px;
	}
	.boxSavingItemR{
		width:calc(100% - 60px);
		height:34px;
		margin-top:15px;
		margin-left:-3px;
		font:20px kanit;
	}
	.boxMainChartHour{
		position:fixed;
		width:38%;
		height:250px;
		left:2%;;
		bottom:120px;
		z-index:1;
	}
	.boxMainChartHourIn{
		height:250px;
	}
	.divHead{
		height: 80px;
	}
	.boxHeadLIcon{
		width:40px;
		margin-top:3px;
	}
	.boxHeadLIcon img{
		width:100%;
	}
	.boxHeadLName{
		width:calc(100% - 165px);
		font:30px kanit;
		margin-top:0px;
	}
	.boxEnviRName{
		font:14px kanit;
	}
	.boxEnviRVal{
		margin-top: -10px;
	}
	.boxEnviRVal span{
		font:23px kanit;
	}
	.boxBarFootL,.boxBarFootR{
		height: 100px;
		margin-top: 00px;
	}
	.boxEnviL{
		width:35px;
	}
	.chartBoxGauge{
		height: 200px;
	}
	.boxBgDiagramIn{
		margin-top: 2%;
	}
	.boxChartPopUp{
		height:350px;
	}
	.boxBarDiagram_icon img{
		width: 50%;
		margin-left: 25%;
		margin-top: 5px;
	}
	.boxLoadPro{
		float: left;
		width: 100%;
		height: 120px;
	}
}


@media only screen and (min-width: 40.063em) and (max-width: 79.063em)  {
	.divHead{
		height: auto;
	}
	.boxHeadL{
		width:30%;
	}
	.boxHeadLMenuIcon{
		float:left;
		width:50px;
		text-align: center;
		font-size: 20px;
		margin-top: 20px;
		cursor: pointer;
	}
	.boxHeadLIcon{
		width:25px;
		margin-top:5px;
		margin-left:10px;
		margin-bottom: 5px;
	}
	.boxHeadLName{
		width:calc(100% - 100px);
		font:14px kanit;
		margin-top:15px;
		margin-left:10px;
		border-left: 2px solid #FFF;
	}
	.boxHeadLName span{
		display: none;
	}
	.boxHeadR{
		margin-top: 0px;
		width: 70%;
	}
	.boxEnviSensorL{
		font-size: 20px;
		margin-top: 10px;
	}
	.boxEnviSensorR{
		margin-top: 0px;
	}
	.boxEnviSensorRName{
		font-size:13px;
		margin-top: 0px;
	}
	.boxEnviSensorRVal{
		font-size:14px;
		margin-top:0px;
	}
	.boxEnviSensorRVal span{
		font-size:18px;
	}
/*	.boxEnviItem{
		width: 31%;
		margin-left: 1%;
		margin-right: 1%;
	}
	.boxEnviItem_first{
		width: 31%;
		margin-left: 1%;
		margin-right: 1%;
	}*/
/*	.boxBarFootL,.boxBarFootR{
		height: 80px;
		margin-top: 00px;
	}*/
	.boxEnviItem{
		margin-top: 5px;
	}
	.boxBarFootC{
		height: 120px;
	}
	.boxEnviL{
		width:30px;
		margin-top: 5px;
	}
	.boxEnviL img{
		float:left;
		width:100%;
	}
	.boxEnviR{
		width:calc(100% - 40px);
		margin-left:10px;
		margin-top:10px;
	}
	.boxEnviRName{
		font:11px kanit;
	}
	.boxEnviRVal{
		font:12px kanit;
		margin-top:-5px;
	}
	.boxEnviRVal span{
		color:#ffda5d;
		font:20px kanit;
	}
	.chartBoxGauge{
		height: 150px;
	}
	.boxBuLabel{
		width:20%;
	}
	.boxBuLabelName{
		float:left;
		width:96%;
		margin-left:2%;
		font:17px kanit;
	}
	.boxLabelTotal{
		margin-top:0px;
	}
	.boxBuLabelCapa{
		font:10px kanit;
		margin-bottom:0px;
	}
	.boxBuLabelL{
		font-size:13px;
	}
	.boxBuLabelR{
		font-size:13px;
	}
	.boxBarDiagram_val{
		font-size: 15px;
	}
	.boxBarDiagram_val span{
		font-size: 20px;
	}
	.boxLoadPro{
		height: 110px;
	}
}


@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : portrait) { /*แนวตั้ง*/

}

@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : landscape) {/*แนวนอน*/

}

@media screen and (max-width: 40em){/*smartphone*/
	body{
		overflow-y: auto;
	}
	.boxHeadLMenuIcon,.imgMap,.boxBarFootC{
		display: none;
	}
	.divHead{
		height: auto;
		background-color: #FFF;
	}
	.boxHeadL{
		width:100%;
		background-color: #862633;
	}
	.boxHeadLIcon{
		width:20%;
		margin-top:10px;
		margin-left:40%;
		margin-bottom: 5px;
	}
	.boxHeadLName{
		display: none;
	}
	.boxHeadR{
		margin-top: 0px;
		width: 100%;
	}
	.boxEnviSensorRName{
		font-size:13px;
		color: #333;
	}
	.boxEnviSensorRVal{
		font-size:15px;
		margin-top:5px;
		color: #333;
		margin-bottom: 10px;
	}
	.boxEnviSensorRVal span{
		font-size:25px;
	}
	.boxBuLabel{
		position: relative;
		width:96%;
		margin-left: 2% !important;
		margin-top: 10px !important;
	}
	.boxBuLabelName{
		float:left;
		width:96%;
		margin-left:2%;
		font:22px kanit;
	}
	.boxLabelTotal{
		margin-top:0px;
	}
	.boxBuLabelCapa{
		font:13px kanit;
		margin-bottom:0px;
	}
	.boxBuLabelL,.boxBuLabelR{
		font-size:15px;
	}
	.boxBarFoot{
		float: left;
		width: 100%;
		position:relative;
		bottom: 0px;
	}
	.boxBarFootL,.boxBarFootR{
		width: 96%;
		margin-left: 2%;
		margin-right: 2%;
		height: auto;
		margin-top: 10px;
	}
	.boxEnviAll{
		width:98%;
	}
}




#popup_container {
	font-family: Arial, sans-serif;
	font-size: 12px;
	min-width: 300px; /* Dialog will be no smaller than this */
	max-width: 600px; /* Dialog will wrap after this width */
	background: #FFF;
	border: solid 5px #999;
	color: #000;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}

#popup_title {
	font-size: 14px;
	font-weight: bold;
	text-align: center;
	line-height: 1.75em;
	color: #666;
	background: #CCC url(../images/icon/icon_title.gif) top repeat-x;
	border: solid 1px #FFF;
	border-bottom: solid 1px #999;
	cursor: default;
	padding: 0em;
	margin: 0em;
}

#popup_content {
	background: 16px 16px no-repeat url(../images/icon/icon_info.gif);
	padding: 1em 1.75em;
	margin: 0em;
}

#popup_content.alert {
	background-image: url(../images/icon/icon_important.gif);
}

#popup_content.confirm {
	background-image: url(../images/icon/icon_important.gif);
}

#popup_content.prompt {
	background-image: url(../images/icon/icon_help.gif);
}

#popup_message {
	padding-left: 48px;
}

#popup_panel {
	text-align: center;
	margin: 1em 0em 0em 1em;
}

#popup_prompt {
	margin: .5em 0em;
}

.toggleMenu {
    display:  none;
    background: #666;
    padding: 10px 15px;
    color: #fff;
}