body {
    background: radial-gradient(circle, #ddd, #eceff1) !important;
    font-size: 20px;
}

#q-app[target=old] {
    background-image: url("../img/greenrock-bg.png");
}

.label-text-style {
    font-size: 20px;
    font-weight: 600;
    color: #7fd5ff;
    background: #0d244e;
}

.span-text-label {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
}

.span-value-unit {
    font-size: 20px;
    font-weight: 600;
    color: #00ffff;
}

.info-bg {
    background: #0d244e
}


.text-border-corner {
    position: relative;
    border-image-source: radial-gradient(52.5% 80%, transparent 0px, transparent 100%, #2c4167 100%);
    border-image-slice: 1;
    border-width: 3px;
    border-style: solid;
    /*	border-image-outset: 10px;*/
}

.border-box {
    position: relative;
    border-image-source: radial-gradient(0% 0%, transparent 0px, transparent 100%, #2c4167 100%);
    border-image-slice: 1;
    border-width: 3px;
    border-style: solid;
}

.border-box::after {
    position: absolute;
    top: -3px;
    bottom: -3px;
    left: -3px;
    content: "";
    border-image-source: radial-gradient(56.5% 94.5%, transparent 0px, transparent 100%, #4a7091 100%);
    border-image-slice: 1;
    border-width: 3px;
    border-style: solid;
    z-index: 0;
    width: calc(100% + 6px);
}

.layout {
    display: flex;
    width: 100%;
    height: 100%;
}

.layout>div {
    height: 100%;
    flex-grow: 1;
    box-sizing: border-box;
}

.all-station-mapbox {
    display: flex;
    flex-flow: column wrap;
}

.all-station-mapbox>div {
    display: flex;
    flex-flow: wrap;
    align-items: center;
    height: 25px;
    font-size: 20px;
    font-weight: bold;
}

.mapbox-label {
    display: flex;
    justify-content: flex-start;
    width: 40%;

}

.mapbox-value {
    display: flex;
    justify-content: flex-end;
    padding-right: 10px;
    width: 40%;
}

.mapbox-unit {
    display: flex;
    justify-content: flex-start;
    width: 20%;
}

.flex-fcsc {
    display: flex;
    flex-flow: column wrap;
    justify-content: center;
    align-items: flex-start;
}

.flex-frbc {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: center;
}

.flex-frac {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
    align-items: center;
}

.flex-frcc {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
}

.flex-fcfs {
    display: flex;
    flex-flow: column wrap;
    justify-content: flex-start;
    align-items: center;
}

.flex-frce {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: flex-end;
}

.flex-fs {
    display: flex;
    justify-content: flex-start;
}

.flex-fe {
    display: flex;
    justify-content: flex-end;
}


/*********************************************************************************************************/
/******************									新版									******************/
/*********************************************************************************************************/
.Kanban-def {
    position: relative;
    height: 55vh;
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    margin-top: 50%;
    border-radius: 5px;
}

.text-label-2 {
    font-size: 20px;
    font-weight: 600;
}







/* --  moblie device  -- */
@media all and (max-width: 575.98px) {

    .img-width {
        width: 100%;
    }

}

/* --  tablets and ipads  -- */
@media all and (min-width: 576px) and (max-width: 767.98px) {

    .img-width {
        width: 65%;
    }

}

/* --  laptops  -- */
@media all and (min-width: 768px) and (max-width: 1199.98px) {

    .img-width {
        width: 65%;
    }

}

/* --  desktops  -- */
@media all and (min-width: 1200px) {

    .img-width {
        width: 65%;
    }
}

.q-table-container {
    background-color: #fff;
}

.q-table>thead>tr>th {
    background-color: #2660ad;
    font-size: 20px;
    font-family: Microsoft JhengHei;
    font-weight: bold;
    color: white;
    border: solid 1px lightgrey !important;
}

.q-table>tbody>tr>td {
    font-size: 1.1em;
    border: solid 1px lightgrey !important;
}

table thead:first-child th {
    background-color: #1e88e5;
    font-size: 18px;
    font-family: Microsoft JhengHei;
    font-weight: bold;
    color: white;
    border: solid 1px lightgrey;
}

.colField {
    font-family: Microsoft JhengHei;
    font-weight: bold;
    font-size: 1.2em;
}

#electricity_area_header {
    /* border-bottom: 2px solid #00000014; */
    margin: 1%;
    /* padding: 10px;*/
}

#electricity_area_header .header_right_border{
	position: relative;
    padding: 0.2% 0 0.2% 0.5%;
    background-color: #244BC3;
    border-radius: 1em;
    /* background-image: linear-gradient(90deg, rgb(36, 103, 201), rgb(36, 75, 193)); */
    color: rgb(255, 255, 255);
    box-shadow: #244bc33d 0px 0px 7px 2px;
}

#electricity_area_header .header_right_block {
	/*position: relative;*/
	color: #fff;
	font-weight: 800;
	/*padding: 0 1% 0 0;*/
}

#electricity_area_header .header_right_block .q-input-target {
    color: #fff;
}

#electricity_area_header .header_right_block .material-icons {
    color: #fff;
    margin: 0px 10px;
}

#electricity_area_header .header_right_block::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    left: -14%;
    top: -14%;
    height: 128%;
    width: 2px;
    background-color: #00000014;
}

.demand-icon{
    color:#244BC3; padding: 0 2%;
}

.shape {
    position: absolute;
    top: 0;
    left: 0;
    width: 6em;
    height: 100%;
    display: block;
    z-index: 100;
    background-color:#4C4566;
  }


.shape::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    bottom: 0;
    z-index: -1;
    background-color:#4C4566;
}

.shape::after {
    transform: skew(35deg);
    right: auto;
    left: 30px;
}

/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
  }
  
  /* Hide default HTML checkbox */
  .switch input {
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  /* The slider */
  .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  .slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  input:checked + .slider {
    background-color: #2196F3;
  }
  
  input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
  }
  
  input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
  }
  
  /* Rounded sliders */
  .slider.round {
    border-radius: 34px;
  }
  
  .slider.round:before {
    border-radius: 50%;
  }

  button.tab-btn{
	font-weight: 800; 
	font-size:1em;  
}

.area-block-t {
    position: relative;
    font-size: 20px !important;
    font-weight: 600;
    background-color: inherit !important;
    color: #244BC3;
    padding: 0 5px;
    border-radius: 5px;
    border: none !important;
    display: flex;
    align-items: center;
    justify-content: end !important;
    cursor: pointer;
    width: 100%;
}

.area-block-t .base-image {
    width: 100%;
    height: auto;
}

.area-block-t .soft-light {
    border-radius: 50%;
}

.area-block-t .custom-input [data-type='data'][data-value]:before {
    content: attr(data-value);
}

.area-block-t .custom-input [data-type='bool'][data-text]:before,
.area-block-t .custom-input [data-type='text'][data-text]:before {
    content: attr(data-text);
    letter-spacing: 1px;
}

.area-block-t .custom-input [data-type='data'][data-unit]:after {
    content: ' ' attr(data-unit);
}

.area-block-t .custom-input div {
    text-align: center;
}

.btn-tab div {
    font-weight: 800;
}

.demand-border{
    display: flex;
    padding: 1%;
}

.demand-card {
    background-color: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.06) 0px 10px 23px;
    /*margin:10px;*/
}

#page1-plant.demand-card {
    width:25%;
}

#page2-meter.demand-card{
    margin:5px;
}

#page3-Carbon.demand-card {
    width:25%;
}

.demand-title{
    display:flex; 
    justify-content:center;
    align-items: center;
}

.demand-unit{
    display: flex;
    justify-content: end;
}

.demand-label {
    color: #777;
    display: flex;
    justify-content: flex-start;
    font-weight: 600;
}

.demand-border-mark{
    display:flex; 
    justify-content:end; 
    height:8%;
}

.demand-mark{
    font-size:14px; 
    color: #999999;
    font-weight: 600;
}

.card-input {
    background-color: #FBF9F9;
    border: 1px solid #DDDDDD;
    border-radius: 10px;
    margin: 10px 0;
    padding: 3px 1%;
    display: flex;
    justify-content: center !important;
    align-items: center;
    font-weight: 600;
}

.card-input:hover {
    background-color: white;
    border: 1px solid white;
    /* box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px; */
    box-shadow: rgba(0, 0, 0, 0.06) 0px 10px 23px;
}

*,
*:after,
*:before {
    box-sizing: border-box;
}

.checkbox {
    position: relative;
    display: inline-block;
}

.checkbox:after,
.checkbox:before {
    font-family: FontAwesome;
    font-feature-settings: normal;
    -webkit-font-kerning: auto;
    font-kerning: auto;
    font-language-override: normal;
    font-stretch: normal;
    font-style: normal;
    font-synthesis: weight style;
    font-variant: normal;
    font-weight: normal;
    text-rendering: auto;
}

.checkbox label {
    width: 90px;
    height: 42px;
    background: #ccc;
    position: relative;
    display: inline-block;
    border-radius: 46px;
    transition: 0.4s;
}

.checkbox label:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 100%;
    left: 0;
    top: -5px;
    z-index: 2;
    background: #fff;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    transition: 0.4s;
}

.checkbox input {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    opacity: 0;
    cursor: pointer;
}

.checkbox input:hover+label:after {
    box-shadow: 0 2px 15px 0 rgba(0, 0, 0, 0.2), 0 3px 8px 0 rgba(0, 0, 0, 0.15);
}

.checkbox input:checked+label:after {
    left: 40px;
}

.model-switch {
    text-align: center;
    font-size: 20px;
    font-weight: 600;
}

.model-switch .checkbox:after {
    content: attr(data-str) " ";
    font-family: Arial;
    position: absolute;
    color: #666;
    top: 6px;
    right: 15px;
    white-space:normal;
}

.model-switch .checkbox label {
    background: none;
    border: 3px solid #777;
    height: 40px;
    border-radius: 20px;
}

.model-switch .checkbox label:after {
    content: attr(data-str) " ";
    font-family: Arial;
    color: #fff;
    line-height: 28px;
    text-indent: 100px;
    background: #777;
    overflow: hidden;
    box-shadow: none;
    border-radius: 14px;
    transform: translateX(-50px);
    -moz-transition: all 0.4s 0.2s, width 0.2s linear, text-indent 0.4s linear;
    -o-transition: all 0.4s 0.2s, width 0.2s linear, text-indent 0.4s linear;
    -webkit-transition: all 0.4s, width 0.2s linear, text-indent 0.4s linear;
    -webkit-transition-delay: 0.2s, 0s, 0s;
    transition: all 0.4s 0.2s, width 0.2s linear, text-indent 0.4s linear;
    top: 3px;
    left: auto;
    right: 2px;
    width: 28px;
    height: 28px;
    white-space:normal;
}

.model-switch .checkbox input:checked+label {
    border-color: #244BC3;
}

.model-switch .checkbox input:checked+label:after {
    background: #5573cf;
    left: auto;
    transform: translateX(0px);
    -moz-transition: all 0.4s, width 0.2s linear 0.4s, text-indent 0.3s linear 0.4s;
    -o-transition: all 0.4s, width 0.2s linear 0.4s, text-indent 0.3s linear 0.4s;
    -webkit-transition: all 0.4s, width 0.2s linear, text-indent 0.3s linear;
    -webkit-transition-delay: 0s, 0.4s, 0.4s;
    transition: all 0.4s, width 0.2s linear 0.4s, text-indent 0.3s linear 0.4s;
    width: 80px;
    text-indent: 0;
}

.fullscreen{
    z-index: 1999;
}

.meter-title{
    /*color:white;*/
    font-weight:800; 
    /*background-color:#51A451; */
   /* padding:5px 10px; */
    /*border-radius:5px;*/
}

.required_input {
    position: relative;
}

.required_input::before {
    content: "*";
    color: red;
}

.custom-modal * {
    font-size: 20px;
    font-weight: 800;
}

.ve-table * {
    font-size: 20px !important;
}

.search-block {
    height: 40px;
}

.custom-table {
    margin: 10px;
}

/* 透明遮罩 */
.hidden-input{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 15; 
}





.tab-btn {
    .q-btn-inner {
        font-size: 20px;
        font-weight: 600;
        min-width: 50px !important;
        min-height: 35px !important;
    }

}