html,
body {
  width: 100vw;
  /* height: 56.25vw; */
  height: 100vh;
  font-size: 16px;
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Microsoft JhengHei",
    "Microsoft YaHei", "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell,
    "Helvetica Neue", sans-serif;
}

html {
  padding: 0;
  overflow: -moz-hidden-unscrollable;
}

body::-webkit-scrollbar {
  display: none;
}

body {
  -ms-overflow-style: none;
  overflow: auto;
  padding: 0;
  padding-top: env(safe-area-inset-top);
  padding-right: env(safe-area-inset-right);
  padding-bottom: env(safe-area-inset-bottom);
  padding-left: env(safe-area-inset-left);
}

#q-app {
  width: 100%;
  height: 100%;
  visibility: hidden;
  position: relative;
}

#q-app:before {
  content: "";
  display: block;
  /*  background-image: url("../img/greenrock-bg3.jpg");*/
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: -99;
  opacity: 1;
}

#q-app[visible="visible"] {
  visibility: visible !important;
}

div {
  box-sizing: border-box;
}

header {
  position: relative;
  background: linear-gradient(to bottom, #ccc, #fff 38%, #fff 57%, #ddd);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 2px;
  height: 65px;
  line-height: 64px;
  text-align: center;
  box-shadow: 0px 0px 2px 1px rgba(20%, 20%, 40%, 0.4),
    0px 0px 6px 3px rgba(20%, 20%, 40%, 0.2);
  z-index: 3;
  color: #263238;
}

header > div {
  height: 100%;
}

header > .logo {
  position: absolute;
  top: 0;
  left: 10px;
  cursor: pointer;
}

header > .logo img {
  height: 80%;
  width: auto;
}

header > .menu-btn {
  position: absolute;
  top: 0;
  left: 10px;
  font-size: 2rem;
  line-height: 59px;
  cursor: pointer;
}

.h4,
.h5 {
  font-size: 20px;
  font-weight: bolder;
}

.h5 {
  font-size: 1.75rem;
}

.main-img {
  background-image: url(../img/login-background.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 0;
  /*  opacity: 1;*/
}

.container {
  width: 100%;
  height: 100%;
 /* background: radial-gradient(circle, #ddd, #eceff1);*/
  padding: 10px;
  overflow-y: auto;
  background: #F4F5F7;
}

header ~ .container {
  position: absolute;
  height: calc(100% - 65px);
  transition: all 0.4s ease-in-out;
}

nav.menu {
  width: 296px;
  padding: 0;
  transform: translate3d(-296px, 0, 0);
  background: #455a64;
  letter-spacing: 1px;
  border-right: 1px solid #263238;
}

nav.menu.opened ~ .container {
  transform: translate3d(296px, 0, 0);
}

nav.container.opened {
  transform: translate3d(0, 0, 0);
}

nav li {
  cursor: pointer;
}

nav > div,
ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
  font-size: 1.4rem;
  font-weight: 600;
}

nav .sys-time {
  font-size: 1.2rem;
}

nav > div {
  background: #eceff1;
  color: #263238;
  margin: 8px 8px 8px 7px;
  padding: 3px 8px;
  box-shadow: 0px 2px 4px 2px rgba(20%, 20%, 40%, 0.5) inset;
  border-radius: 3px;
}

li > ul {
  display: none;
}

li.opened > ul,
li:hover > ul {
  display: block;
}

li.active,
li:hover {
  color: #84ffff;
}

li.active,
li.opened {
  background: #263238;
}

nav .material-icons {
  font-size: 1.8rem;
  vertical-align: sub;
  margin-right: 8px;
}

.RealAlarm .q-table thead th,
.RealAlarm .q-table thead td {
  font-size: 1.5rem;
  color: #fff;
  background-color: #666;
  font-weight: 600;
}

.RealAlarm .q-table tbody td {
  font-size: 1.2rem;
  color: #666;
  font-weight: 600;
}

.RealAlarm .q-table-container .q-table-nodata {
  font-size: 1.2rem;
  font-weight: 600;
  justify-content: center;
}

.RealAlarm .q-table-container.Fixed_Row_Num .q-table-middle {
  height: calc(100% - 48px);
}

.RealAlarm .modal-body {
  max-height: 700px;
  padding: 0;
  padding-bottom: 2px;
}

.area-block {
  position: relative;
  width: 100%;
  height: auto;
  font-size: 1.2rem;
  font-weight: 600;
}

.area-block img {
  width: 100%;
  height: auto;
}

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

.area-block .soft-item [data-type="data"][data-value]:before {
  content: attr(data-value);
}

.area-block .soft-item [data-type="bool"][data-text]:before,
.area-block .soft-item [data-type="text"][data-text]:before {
  content: attr(data-text);
  letter-spacing: 1px;
}

.area-block .soft-item [data-type="data"][data-unit]:after {
  content: " " attr(data-unit);
}

.condition-block,
.query-block {
  display: inline-block;
  vertical-align: top;
  position: relative;
  margin-top: 35px;
  margin-left: 60px;
}

.query-block {
  margin-top: 25px;
  margin-left: 40px;
}

.condition-block:nth-child(n + 1) {
  margin-left: 80px;
}

.condition-block > div,
.query-block > div {
  height: 45px;
  line-height: 42px;
  display: inline-block;
  vertical-align: top;
}

.condition-block .title {
  position: absolute;
  left: -45px;
  top: -15px;
  width: 135px;
  font-size: 1.25rem;
  font-weight: 600;
  text-align: center;
  letter-spacing: 2px;
  background-color: #027be3;
  border-top-right-radius: 6px;
  border-bottom-right-radius: 6px;
}

.condition-block .title:after {
  content: "";
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  bottom: -15px;
  left: 0;
  border-top: 15px solid #01579b;
  border-left: 15px solid transparent;
}

.condition-block .content {
  min-width: 220px;
  padding: 1px;
  background-image: linear-gradient(
    to right,
    transparent,
    #78909c 100px,
    #78909c 100%
  );
  box-shadow: 8px 6px 15px -12px #607d8b;
  border-radius: 6px;
}

.condition-block .content > div {
  background: #fff;
  border-radius: 5px;
  height: 100%;
  padding: 0 10px 0 105px;
}

.condition-block .content .sub-item {
  display: inline-block;
  vertical-align: top;
  margin-right: 10px;
}

.condition-block .content .sub-item:after {
  margin-right: 0;
}

.query-block .outer-border {
  border-radius: 6px;
}

.query-block .outer-border > div {
  box-shadow: inset 0px 0px 0px 2px #fff;
  background: linear-gradient(to bottom, #027be3 38%, #01579b 100%);
  background-color: #2980b9;
  border: 2px solid #2980b9;
  min-width: 125px;
  border-radius: 6px;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-align: center;
  color: #fff;
  cursor: pointer;
}

.query-block .outer-border > div:hover {
  background: linear-gradient(to bottom, #01579b 38%, #027be3 100%);
}

.RealAlarmIcon {
  position: fixed;
  width: 50px;
  height: 50px;
  line-height: 45px;
  text-align: center;
  border-radius: 50%;
  right: 15px;
  bottom: 12px;
  cursor: pointer;
  box-shadow: 0px 0px 2px 1px rgba(20%, 20%, 40%, 0.4) inset;
}

.RealAlarmIcon > i {
  font-size: 1.75rem;
  opacity: 0.4;
}

.RealAlarmIcon:hover > i {
  font-size: 2rem;
  opacity: 0.8;
}

.RealAlarmIcon.AlarmActive {
  color: #db2828 !important;
  animation-name: alarm_flash;
  animation-duration: 1600ms;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

.RealAlarmIcon.AlarmActive > i {
  font-size: 2rem !important;
  opacity: 0.8;
}

@keyframes alarm_flash {
  from {
    box-shadow: 0px 0px 1px 1px rgba(20%, 20%, 40%, 0.2) inset,
      0px 0px 2px 1px rgba(228, 92, 92, 0.4);
  }
  to {
    box-shadow: 0px 0px 2px 1px rgba(228, 92, 92, 0.3),
      0px 0px 4px 2px rgba(228, 92, 92, 0.5),
      0px 0px 6px 3px rgba(228, 92, 92, 0.7);
  }
}

*:focus {
  outline: none;
}

#page-loading {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99;
  background-color: rgb(64, 80, 181);
}

.loading {
  border: 3px solid rgb(64, 80, 181);
  border-right: 3px solid #fff;
  border-bottom: 3px solid #fff;
  height: 50px;
  width: 50px;
  border-radius: 50%;
  -webkit-animation: loading 2.5s infinite linear;
  -moz-animation: loading 2.5s infinite linear;
  -o-animation: loading 2.5s infinite linear;
  animation: loading 2.5s infinite linear;
}

.abgne-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transform-origin: 50% 50%;
  height: 10rem;
  width: 10rem;
  text-align: center;
}

.abgne-loading .loading {
  border: 0.6rem solid rgb(64, 80, 181);
  border-right: 0.6rem solid #fff;
  border-bottom: 0.6rem solid #fff;
  height: 100%;
  width: 100%;
  border-radius: 50%;
  -webkit-animation: loading 1.2s infinite linear;
  -moz-animation: loading 1.2s infinite linear;
  -o-animation: loading 1.2s infinite linear;
  animation: loading 1.2s infinite linear;
}

.abgne-loading .word {
  color: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transform-origin: 50% 50%;
  height: 3.5rem;
  width: 100%;
  display: inline-block;
  font-size: 1.6rem;
  line-height: 1.6rem;
  padding: 0;
  letter-spacing: 2px;
}

/* text-shadow */
.text-white.text-white-shadow {
  text-shadow: 0px 4px 3px rgba(0, 0, 0, 0.4), 0px 8px 13px rgba(0, 0, 0, 0.1),
    0px 18px 23px rgba(0, 0, 0, 0.1);
}

#q-app[visible="visible"] + #page-loading {
  display: none !important;
}

@font-face {
  font-family: "electronicFont";
  src: url(font/DS-DIGI-1.ttf);
  src: url(font/DS-DIGIB-2.ttf);
  src: url(font/DS-DIGII-3.ttf);
  src: url(font/DS-DIGIT-4.ttf);
}

@-webkit-keyframes loading {
  from {
    -webkit-transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(360deg);
  }
}
@-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);
  }
}

@media screen and (max-width: 1680px) {
  html,
  body {
    font-size: 14px;
  }
  header {
    height: 55px;
    line-height: 54px;
  }
  header ~ .container {
    height: calc(100% - 55px);
  }
  header > .menu-btn {
    line-height: 48px;
  }
  nav.menu {
    width: 256px;
    transform: translate3d(-256px, 0, 0);
  }
  nav.menu.opened ~ .container {
    transform: translate3d(256px, 0, 0);
  }
}

@media screen and (max-width: 1280px) {
  html,
  body {
    font-size: 12px;
  }
  header {
    height: 48px;
    line-height: 47px;
  }
  header ~ .container {
    height: calc(100% - 48px);
  }
  header > .menu-btn {
    line-height: 41px;
  }
  nav.menu {
    width: 234px;
    transform: translate3d(-234px, 0, 0);
  }
  nav.menu.opened ~ .container {
    transform: translate3d(234px, 0, 0);
  }
}

/*@media screen and (max-width: 481px) {
  html,
  body {
    width: 100vw;
    height: 100%;
    overflow: hidden;
  }
  header ~ .container {
    max-height: calc(100% - 48px);
    padding: 0;
  }
}*/
.bold-span {
  font-size: 1em;
  font-weight: 800;
}

.bold-span2 {
  font-size: 1.3em;
  font-weight: 800;
}

.search-block {
  display: flex;
  align-items: center;
  margin: 10px;
  border-radius: 5px;
  font-size: 20px;
  font-weight: 600;
  overflow: hidden;
  /* border: 1px #027be3 solid;*/
  /* box-shadow: -2px 2px 2px 0px #a9a9a9; */
  box-shadow: rgb(100, 100, 100, 0.1) 0px 2px 8px 0px;
}
.search-block * {
  font-size: 20px !important;
}

.search-block .search-block-label {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0px 10px;
  background-color: #027be3;
  color: #ffffff;
}

.search-block .search-block-input {
  height: 100%;
  background-color: #ffffff;
  min-width: 120px;
}

.search-block .search-block-input input,
select {
  border-radius: 0px;
  padding: 10px;
  text-align: center;
  border: unset;
  box-shadow: unset;
}

.custom-table {
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.custom-table-header {
  font-size: 20px !important;
}
.custom-table-pagination {
  border-bottom: 1px solid #eee;
  border-left: 1px solid #eee;
  border-right: 1px solid #eee;
  padding: 10px 0px;
  background-color: #fff;
}

.custom-table td.ve-table-body-td {
  padding: 5px !important;
}


[dir] .q-layout-header {
  box-shadow: rgb(0 0 0 / 3%) 0px 20px 25px -5px, rgba(0, 0, 0, 0.04) 0px 10px 10px -5px !important;
}

[dir] .bg-grey-3 {
  background: #ffffff !important;
}

table th {
  font-size: 20px !important;
  font-weight: 600 !important;
}

td {
  font-size: 20px !important;
  font-weight: 600 !important;
}

tr {
  font-size: 20px !important;
  font-weight: 600 !important;
}

.id-btn {
  .q-btn-inner {
      font-size: 20px;
      font-weight: 600;
  }
}

.id-btn_changepass{
  .q-btn-inner {
    font-size: 20px;
    font-weight: 600;
    width: 80px; 
    padding: 8px 0px;
}
}

[dir=ltr] .q-mr-md, [dir=ltr] .q-mx-md, [dir=rtl] .q-ml-md, [dir=rtl] .q-mx-md {
  font-weight: 600;
}

.q-btn .q-btn-inner {
  font-weight: 600;
}

.q-card-title {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: normal;
  line-height: 1.5rem;
}

.q-item{
  font-size: 20px;
  font-weight: 600;
}

.q-input-target{
  font-size: 20px;
  font-weight: 600;
}


.f-20 {
  font-size: 20px !important;
}

.pointer-events-none {
  pointer-events: none;
}

.flex-1 {
  flex: 1;
}

.SwitchPage {
  display: flex;
  justify-content: left;
  align-items: center;
  height: 5.7%;
  padding: 0 1%;
}

.electricity-border {
  width: 100%;
  height: auto;
  padding: 1%;
}

.electricity-block {
  border-radius: 5px;
  background-color: white;
  box-shadow: rgb(100, 100, 100, 0.2) 0px 7px 29px 0px;
  font-size: 20px;
  font-weight: 600;
  width: 65%;
  padding: 1% 0 1% 0.7%;
}

.ele_system_frameone {
  display: flex;
  align-items: center;
  padding: 0 0 1%;
  justify-content: flex-start;
  width: 100%;
}

.ele_system_frameone_title {
  width: 100%;
  text-align: left;
}

.ele_system_frametwo {
  display: flex;
  align-items: center;
  width: 100%;
}

.ele_system_frametwo_title {
  width: 10%;
  text-align: left;
  color: #5E5E5E;
}

.ele_system_frametwo_value {
  width: 10%;
  text-align: right;
  color: #3D6ED7;
}

.ele_system_frametwo_unit {
  width: 6%;
  text-align: left;
  padding: 0 0.5%;
}

.ele_meter_block {
  display: flex;
  padding: 0 1%;
  justify-content: flex-start;
}

.electricity-block .material-icons {
  color: #244BC3 !important;
  width: 3.5%;
}

.ele_system_frameone .material-icons {
  width: 3%;
}

.modal-content{
  min-width: 380px;
}

[dir] .q-if-standard.q-if-has-label {
  margin-top: 10px;
  margin-bottom: 15px;
}

.ellipsis{
  font-size: 20px;
}