@charset "utf-8";

body {
	font: 100%/1.4 微軟正黑體;
	/*background: #dcdcdc;
	background-size:100%; */
	margin: 0;
	padding: 0;
	overflow:auto; 
	min-width:1500px;
	background:#fafafa url("../image/bg/dots.png") repeat fixed;
}
.box-shadow{
	box-shadow: 1px 1px 3px #dcdcdc;
	border:1px solid #ccc;
}
.flex-bottom{
	display: flex;
    align-items: baseline;	
}

/*每頁的TITLE*/
.pagetitle{
	margin: 0 0 3% 0;
	font-weight: bold;
	padding: 0 0 30px 0;
}

.pagetitle:before{
	content:"";
	position: absolute;
	bottom: 0px;
	left: 0px;
	width: 160px;
	height: 8px;
	background-color: #2ea7e0;
}
.pagetitle h1{
	font-weight: bold;
	text-shadow: 1px 1px 2px rgba(13,38,44,.75);
}

/*每個項目*/
.itemlist{
	margin:0 0 5px 0;
}
/*每個項目的標題*/
.itemtopic{
	background: rgba(13,38,44,.95) url("../image/bg/traingle.png") right+10px bottom no-repeat;
	/*background: #101317;*/
	color:#fff;
	font-size: 1.15em;
	padding: 10px 13px;
}
/*每個項目的內容區塊*/
.itemarea{
	background: rgba(255,255,255,.75);
	padding: 8px 13px;
}

/*數字的顏色*/
.numbers{
	color:#2ea7e0;
	font-size: 1.35em;
}
/*單位*/
.unit{
	font-size: 1em;
	margin: 0 0 0 5px;
}


/*主畫面----------------------------*/
.clock{
	padding: 40px 40px;
}
.clock:before{
	content:"";
	position: absolute;
	bottom: 5%;
	left: 5%;
	width: 90%;
	height: 90%;
	margin: 0 auto;
	border:1px solid #fff; 
}
.year{font-size: 2.5em;}
.day{font-size: 2em;color:#2ea7e0;margin: 0 0 10px 0;}
.time{font-size: 1.5em;background-color:#2ea7e0;color:#fff; }
.year,.day,.time{
	line-height: 1.1em;
}
.wicon{
	float: left;
	margin: 5px 15px;
}
.weather .itemarea:nth-child(odd){
	background-color: rgba(220,220,220,.85);
}

.weather .itemarea .numbers{
	font-size:1em; 
}
.transet{
	/*padding: 0 5px;*/
}
.subuiling{
	padding: 1px 1px ;
	margin: 0px 0 10px 0;
	background: rgba(91,82,80,.4);
	border:1px solid #000;
}
.mainbuiling{
	border:1.5px solid #2ea7e0;
	margin: 0px 0 15px 0;
	background: rgba(91,82,80,.4);
}
.trans{
	padding: 0px 8px;
}
.mainbg{
	background: url("../image/mainbg.png") no-repeat center center;
	height: 105px;
	background-size: contain;
}
.weather .itemtopic{
	padding: 13px 0;
	font-size: 1em;
}

/*ESS---------------------------------------*/
.areaset{
	padding: 0 4px;
}
.essarea{
	background: rgba(255,255,255,.75);
}
.esspo{
	padding: 15px 13px;
}
.essstatusall{
	margin: 0px 0 20px 0;
	border-bottom:1px solid #ccc;
}
.essstatus{
	padding: 10px 3px;
	border-top:1px solid #ccc;
	font-size: 1.3em;
	color: #999;
}
.essstatus span{
	font-size: 0.8em;
}
.essstatus .cube{
	border-radius:5px;
	margin: 0 3px 0 0;
}
.essarea .power{
	padding: 15px 0;
}
.essarea .powernum{
	padding: 15px 0;
	color: #ea5514;
	font-weight: bold;
}
.energy:before{
	content: "";
	background: #f00;
	position: absolute;
	width: 80%;
	height: 84%;
	top:33px;
	left:10%;
	z-index: -1;
}

/*.energy20:before{
	content: "";
	background: #f00;
	position: absolute;
	width: 80%;
	height: 17%;
	bottom:15px;
	left:10%;
	z-index: 0;
}
.energy40:before{
	content: "";
	background: #ea5514;
	position: absolute;
	width: 80%;
	height: 33%;
	bottom:15px;
	left:10%;
	z-index: 0;
}
.energy60:before{
	content: "";
	background: #f39800;
	position: absolute;
	width: 80%;
	height: 50%;
	bottom:15px;
	left:10%;
	z-index: 0;
}
.energy80:before{
	content: "";
	background: #13ae67;
	position: absolute;
	width: 80%;
	height: 67%;
	bottom:15px;
	left:10%;
	z-index: 0;
}
.energy100:before{
	content: "";
	background: #13ae67;
	position: absolute;
	width: 80%;
	height: 83%;
	bottom:15px;
	left:10%;
	z-index: 0;
}*/

.energyimg{
	z-index: 1;
	position: absolute;
}

.battery{
	background: blue;
	position: absolute;
	width: 92%;
	height: 100%;
	bottom:0px;
	left:0%;
	z-index: -1;
}
.pib{
	-webkit-mask-image: url(../image/battery-em-ma.png);
	background: url(../image/battery-em-ma.png) no-repeat; 
	background: transparent;
	position: relative;
	width: 100%;
	height: 310px;
	bottom:-10px;
	left:0%;
}

.pibs{
	/*content: "";
	/*background: -webkit-linear-gradient(green,red);
	background: -o-linear-gradient(green,red);
	background: -moz-linear-gradient(green,red);
	background: linear-gradient(green,red);*/
	background: #13ae67;
	position: absolute;
	width: 87%;
	height: 20%;
	bottom:0px;
	left:3%;
	z-index: -1;
}



.pib:before{
	content: "";
	background: url(../image/battery-em.png) no-repeat; 
	position: absolute;
	width: 92%;
	height: 100%;
	bottom:0px;
	left:0%;
	z-index: 5;
}

/*.coverba{
	position: absolute;
	width: 92%;
	height: 50%;
	overflow: hidden;
	bottom:0px;
	left:0%;

}*/

/*-----------------------------------*/
.pos{
	font-size: 4em;
}
.cube{
	width: 20px;
	height:20px;
	border-radius:15px;
	background: #ccc;
	float:left;
	margin: 0 10px 5px 0;
}


.charge{color:#f00;}
.charge .cube{background: #f00;}
.idle{color:#f00;}
.idle .cube{background: #f00;}
.discharge{color:#f00;}
.discharge .cube{background: #f00;}
.maintain{color:#f00;}
.maintain .cube{background: #f00;}

/*電力潮流 power flow---------------------------*/
.flowunit{
	float: none;
	margin: 0 auto;
	width: 130px;
}
.flownull{
	min-width: 8.33%;
}
.powerset{
	padding: 0 3px;
}

.powerset .itemtopic{
	font-size: 1.1em;
	padding: 8px 4px;
}
.powerset .itemarea,.dg .itemarea{
	color:#2ea7e0;
	border-bottom:2px solid #2ea7e0; 
	padding: 8px 4px;
}
.powerset .itemarea font,.dg .itemarea font{
	margin: 0 0 0 5px; 
}

/*北研館-負載-----------------------------------*/
.nrb .itemtopic{
	min-height:70px;
}

/*.itemarea .numbers{
	font-size: 1.95em;
}*/

.itemarea .unit{
	margin: 0 0 0 10px;
}
.ch{
	padding: 5px 10px;
}
.ch:nth-child(2){
 background: #f1f1f1;
}
.on{color:#13ae67;}.on .cube{background:#13ae67;}
.off{color: #e83828;  }.off .cube{background:#e83828; }

/*ESS設定---------------------------------------*/
.essunit{
	padding: 0 5px;
}
.essarea{
	background: rgba(255,255,255,.5);
	padding: 15px 5px 10px 5px;
	border:1px solid #ccc;
}
.essone{
	padding: 8px 5px;
	text-align: center;
}
.totalpower .itemtopic{
	font-size: 1.8em;
	padding: 10px 25px;
	font-weight: normal;
}

.totalpower .itemtopic h4{
	font-size: 1.2em;
	font-weight: normal;
}

.totalpower{
	margin: 0 0 20px 0; 
}

.totalpower .itemarea{
	padding: 10px 25px;
}

.essset .mode{
	font-size:1.5em; 
	font-weight: bold;
	padding: 0 0 5px 0;
	border-bottom: 1px solid #ccc;
	line-height: 1.3em;
}
.esstopic{
	font-size:2.5em; 
	font-weight: bold;
	float: none;
	margin: 0 auto;
	max-width: 130px;
}

.esstopic .cube{
	margin: 0 0 0 5px;
}

.esstopic.on{
	color:#000; 
}

.essset .setarea{
	padding: 0 5px;
}
.essset .setarea .filed{
	background: #fff;
	padding: 10px 5px;
	border:1px solid #e3e3e3;
}

.essset form{
	background: none;
	box-shadow: none;
	border: 0px;
}

.essset input[type="button"]{
  border-radius: 50px;
  padding: 8px 25px;
  margin: 5px 0;
}


.ess input[type="button"]{
  border-radius: 50px;
  padding: 8px 15px;
  margin: 5px 0 5px 2px;
}

.filedtop{
	padding:5px 0;
	border-bottom:1px solid #ccc;
}
.filedbottom{
	padding: 10px 0 0 0;
}

.filedbottom h4{
	padding: 5px 0 10px 0;
	color: #666;
	float: left;
	width: 100%;
}

.filedbottom .input{
	margin: 0 0;
	border-radius: 50px; 
}

.cmdset{
	margin: 0 0 20px 0;
}

/*生質能----------------------------------------*/
.bio .itemarea{
	font-size: 1.8em; 
}

.bioarea span{
	font-size: 1.5em;
}
.bioarea font{
	font-size: 0.85em;
	margin: 0 0 0 10px;
}

.bioarea .itemtopic{
	font-size: 1.8em; 
	padding: 10px 15px;
}


/*柴油發電機------------------------------------*/
.gentopic{
	background:#0d262c;
	color: #fff; 
	padding: 10px 13px;
}

.dgset{
	padding: 5px 10px;
	margin: 0 0 15px 0;
}

.dgset .itemtopic{
	font-size:1.2em; 
	min-height: 80px;
}

.dgmode{
	margin: 10px 0;

}

.modes{
	margin: 0 15px 0 0px;
	background: #ccc;
	color: #666;
	padding: 5px 25px;
	text-align:center;
	border-radius: 50px;
}

.modes.on{
	background: #00a29a;
	color: #FFF;
}

.emergency.on{
	background: #f00!important;
	color: #FFF;
}

.dg .itemarea font{
	color: #111;
}

.remote.on{
	background: #00a29a;
    color: #FFF;
}
.remotestop.on{
	background: #f00;
    color: #FFF;
}


/*太陽光電--------------------------------------*/
.solar .itemtopic{
	font-size: 1.8em;
	padding: 8px 13px;
}

.solar .solarmodal .itemtopic{
	font-size: 1.45em;
	padding: 8px 13px;
}

.solar .numbers{
	font-size: 2.8em;
}

.solar .solarmodal .numbers{
	font-size: 1.8em;
}

.solar .solarmodal .itemarea{
	padding: 13px 15px;
}

.solarmodal.weathers .itemarea{
	border-bottom:1px solid #ccc;
}
.solarmodal.weathers .itemarea:last-child{
	border-bottom:0px;
}

.solar .unit{
	font-size: 1.15em;
}

.areasetsut{
	margin: 0 0 15px 0;
}
/*固定功率----------------------------------*/

.alllinetype{
	padding: 0 0 50px 10px;
}

.linetype{
	margin: 5px 0;
	padding: 0 15px 0 0;
}

.linetype .cube{
	border-radius: 5px;
}


.fixpower input[type="button"]{
  border-radius: 50px;
  padding: 8px 25px;
  margin: 5px 0 5px 15px;
}


.linesolar{color:rgb(54, 162, 235,1);}
.linestarge{color:rgb(75, 192, 192,1);}
.linetarget{color:rgb(255, 159, 64,1);}
.lineresult{color:rgb(255, 99, 132,1);}
.linesolar .cube{background:rgb(54, 162, 235,1);}
.linestarge .cube{background:rgb(75, 192, 192,1);}
.linetarget .cube{background:rgb(255, 159, 64,1);}
.lineresult .cube{background:rgb(255, 99, 132,1);}


/*設定頁面*/


/*cb設定----------------------------------------------*/

.cb .itemtopic{
	padding: 10px 15px;
}
.cb input[type="button"]{
  border-radius: 60px;
  padding: 3px 10px;
  margin: 0px 3px;
  border:2px solid #ccc;
  background: none;
  color: #fff;
}
.cbset{
	padding: 0 5px;
}
.cbset .itemtopic h5{
	padding: 0 15px 0 0;
}

.cbset p{
	font-size: 1em;
}




/**/

.backnone{
	background-image: none; 
}

.marlef{
	margin: 0 .5% 0 .5%!important;
}
.right{
	float: right!important;
}

.showup{display: block;}
.shownone{display:none;}



.box{
    display:inline-flex;
    align-items: center;
    flex-direction:row;
    min-height:60px;
 }

 .marginbottom{
 	margin:0 0 15px 0;
 }
 .max300{
 	max-width: 300px;
 }

 .pictool{
 	margin: 0 10px;
 }

 .picset{
 	padding: 0 5px;
 }
 .order{
 	margin: 0 0 10px 0;
 }


img{max-width:100%}

/* ~~ 元素/標籤選取器 ~~ */
ul, ol, dl { /* 由於瀏覽器之間的差異，最佳作法是在清單中使用零寬度的欄位間隔及邊界。為了保持一致，您可以在這裡指定所要的量，或在清單包含的清單項目 (LI、DT、DD) 上指定所要的量。請記住，除非您寫入較為特定的選取器，否則在此執行的作業將重疊顯示到 .nav 清單。 */
	padding: 0;
	margin: 0;
}
h1, h2, h3, h4, h5, h6, p {
	margin-top: 0;	 /* 移除上方邊界可以解決邊界可能從其包含的 Div 逸出的問題。剩餘的下方邊界可以保持 Div 不與接在後面的元素接觸。 */
	/*padding-right: 15px;
	padding-left: 15px; /* 將欄位間隔加入至 Div 內元素的兩側 (而不是 Div 本身)，即可不需執行任何方塊模型的計算作業。具有側邊欄位間隔的巢狀 Div 也可當做替代方法。 */
}
a img { /* 這個選取器會移除某些瀏覽器在影像由連結所圍繞時，影像周圍所顯示的預設藍色邊框 */
	border: none;
}

* a {
	text-decoration: none!important;
}



.marlef{
	margin: 0 .5% 0 .5%!important;
}
.right{
	float: right!important;
}

.showup{display: block;}
.shownone{display:none;}

/* ~~ 網站連結的樣式設定必須保持此順序，包括建立滑過 (Hover) 效果的選取器群組在內。~~ */
/*a:link {
	color:#414958;
	text-decoration: underline; 
}
a:visited {
	color: #4E5869;
	text-decoration: underline;
}
a:hover, a:active, a:focus {
	text-decoration: none;
}  */

.box{
    display:inline-flex;
    align-items: center;
    flex-direction:row;
    min-height:60px;
 }

 .marginbottom{
 	margin:0 0 15px 0;
 }
 .max300{
 	max-width: 300px;
 }

 .pictool{
 	margin: 0 10px;
 }

 .picset{
 	padding: 0 5px;
 }
 .order{
 	margin: 0 0 10px 0;
 }

  .inline{display: inline-block;}

/* ~~ 這個容器環繞著所有其他的 Div，並依百分比設定其寬度 ~~ */
.container {
	width: 100%;
	/*max-width: 1920px;/* 建議您使用最大寬度，如此版面在大型螢幕上就不致於過寬，讓行保持比較方便閱讀的長度。IE6 並不適用這項宣告。 */
	/*min-width: 1024px;/* 建議您使用最小寬度，如此版面在大型螢幕上就不致於過窄，讓行在側欄中保持比較方便閱讀的長度。IE6 並不適用這項宣告。 */
	/*height:100%;*/
	min-height: 100%;
	padding-bottom: 0px;
	/*background:rgba(0,0,0,.4);*/
	background: url("../image/bg/linesbg.png") repeat;
	float: left;
	margin: 0 auto; /* 兩側的自動值與寬度結合後，版面便會置中對齊。如果將 .container 的寬度設為 100%，就不需要這麼做。 */
	/*overflow: auto;*/
}

/* ~~ 頁首沒有指定的寬度，而會橫跨版面的整個寬度。頁首包含影像預留位置，必須由您自己的連結商標加以取代 ~~ */
.header {
	background-color: #222;
	box-shadow: 0px 1px 2px #333;
	width: 100%;
	height: 32px;
	position: fixed;
	padding: 0px 20px ;
	overflow: hidden;
	z-index: 999;
	color:#FFF;
	/*border-bottom:4px solid #ef705b;*/
}

.header {
	width:50%;
}

.hearder span{
	color:#FFF!important;
}


.sidebar {
	max-width: 260px;
	min-width: 240px;
	width: 20%;
	top:0px;
 	height: 100%;
	position: fixed;
	background: #101317;
	border-right:1px solid #cfcfcf;
	float: left;
	z-index: 2;
	/*padding: 18px 0 0 0;*/
	overflow: auto;
}

.allnum{
	float: right;
    background: #2B333E;
    padding: 0px 0px;
    border-radius: 27px;
    line-height: 25px;
    width: 25px;
    text-align: center;
    height: 25px;
    font-size: 12px;
    margin: -3px 0 0 0;
    border:1px solid #454545;
}

.linkhome{
	margin: 0px 0% 0 2%;
	width:100%;
	max-width: 170px;
}
.sec a{
	 background-color: #fff!important;
    color:  #00a0e9!important;
    /*border-left-color: #f3bd43!important;*/
}
.sec:hover a{
	
    color:  #232323!important;
   
}
.sec a span{
	color: #f5a300!important;
}

.content2 {

	-webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    width: calc(100% - 260px);
    min-height: 100%;
    padding:0px 25px 0 25px;
    left: 0;
    position: relative;
    float: right;
   /* background:url("../image/bg/dots.png") repeat;
    /*overflow: auto;*/
 
    z-index:1;
}

.wrapper{
	margin:0px;
	position: relative;
	/*background-color: #f00;*/
	width: 100%;
	padding: 100px 0px 50px 0px;
	float: left;
	min-height: 100%;
	

}
.menu{
	float:left;
	width:100%;
	margin: 60px 0 0 0;
	max-width: 260px;
}

.logo{
	width: 100%;
	float: left;
	padding: 0 0% 5% 0;
	text-align: center;
	background: #444;
}

.names{
	width: 100%;
	float: left;
	padding: 5% 2%;
	background: #2ea7e0;
	color:#FFF;
	margin: 0 0 3% 0;
}
.set,.out{
	float: left;
	width: 48%;
	margin: 0 1%;
	padding: 2% 2%;
	border-radius: 3px;
	border:1px solid #777;
	color: #999;
}
.set:hover,.out:hover{
	cursor: pointer;
	color: #f00;
	border:1px solid #fff;
}
footer{
	width:100%;
	padding: 5px 15px;
	color: #666;
	position:relative!important;/* 這會為 IE6 提供 hasLayout 以進行適當的清除動作 */
	bottom: 10px;
	font-size: 12px;
	text-align: center;
}






/* ~~ 這個群組選取器會在 .content 區域空間中提供清單 ~~ */

/* ~~ 頁尾 ~~ */
.footer {
	width:60%;
	padding: 8px 0;
	color: #bcbcbc;
	/*background-color: #6F7D94;*/
	position:absolute;/* 這會為 IE6 提供 hasLayout 以進行適當的清除動作 */
	bottom: 10px;
	clear: both; /* 這個 clear 屬性可以強制 .container 辨識欄結束於何處以及包含欄的位置 */
	font-size: 10px;
}

/* ~~ 其他 float/clear 類別 ~~ */
.fltrt {  /* 這個類別可用來讓元素在頁面中浮動，浮動的元素必須位於頁面上相鄰的元素之前。 */
	float: right;
	margin-left: 8px;
}
.fltlft { /* 這個類別可用來讓元素在頁面左方浮動，浮動的元素必須位於頁面上相鄰的元素之前。 */
	float: left;
	margin-right: 8px;
}
.clearfloat { /* 這個類別可放置在 <br /> 或空白的 Div 上，當做接在 #container 內最後一個浮動 Div 後方的最後一個元素 (如果從 #container 移除或取出 #footer) */
	clear:both;
	height:0;
	font-size: 1px;
	line-height: 0px;
}




/* 上方TITLE / EX:最新消息  新增
---------------------------------------------------------

.con-head{
	float: left;
    margin: 0% 0% 0% 0%; 
    padding: .75% 1%;
    color: #666464;
    letter-spacing: 2px;
    background: #eaeaea;
}

.con-head span{
	float:left;
	position:relative;
}

.con-head .con-title{
	color:#666;
	margin:0 15px 0 0%;
	padding: 0% 0px; 
	float: left;
}

*/


/*物件列表頁
----------------------------------------------

.housepic{
	margin: 0 13px 0 0;
}
.goback{
	margin: 1.5% 0 1% .5%;
	padding: .4% 0%;
	text-align: center;
	line-height: 24px;
	border-radius: 3px;
	border:1px solid #999;
	color: #999;
	width:110px!important;
}
.goback:hover{
	border:1px solid #0091cd;
	color: #0091cd;
}*/

/*物件內容回上一層
---------------------------------------------
.prelevel{
	margin: 50px 0 20px 0;
}
.pagelist{
	width:390px;
	height:100px;
	margin:10px auto;
}

.pages{
	font-size: 14px;
	padding:5px 2px ;
	float:left;
	margin:10px 0px 0 0;
	text-align:center;
	color: #ccc;
	
}
.total{
	margin: 0 0 5px 0;
}

.pages a{
	text-decoration:none;
	color:#00AAFF;
	margin: 0 3px;
}

.pages a:hover{
	color:#00a0f0;
}

.pages .nowon {
	color:#f00;
}


.seperate{
	padding: 8px 15px;
	background: #f00;
	color: #fff;
}

.ofers{
	margin: 5px 3px;
    padding: 6px 20px;
    border: 1px solid #ccc;
    border-radius: 3px;
    color: #00a0f0;
}

.area{
	margin: 5px 20px 5px 0px ;
    padding: 6px 10px 6px 0;
	border: 0px;
	color: #353535;
}

.seperate{
	padding: 10px 20px;
	background: #efefef;
	border-bottom:1px solid #d3d3d3; 
	color: #666;
	margin:0px 0px 0px 0;
}

.seperate:hover,.seperatenow{
	background: #f3bd43;
	color: #fff;
}*/


@media only screen and (max-width: 1500px){

	/*.content2 {

    width: calc(100% - 230px);
}*/

/*.sidebar {
	max-width: 230px;
	min-width: 230px;
	width: 230px;
	top:0px;*/
 	/*height: 100%;
	position: sticky;
	background: #2B333E;*/
	/*float: left;
	z-index: 3;
	/*padding: 18px 0 0 0;*/
	/*overflow: auto;
}*/

}


@media only screen and (max-width: 1400px){

	/*.content2 {width: calc(100% - 200px);}
	.sidebar {
		max-width: 200px;
		min-width: 200px;
		width: 200px;
	}*/

}

footer{
	
	position:absolute!important;/* 這會為 IE6 提供 hasLayout 以進行適當的清除動作 */
	text-align: left;
}