:root {
    --bs-orange: #FA8072;
  }
  body {
    font-family:'Sarabun';
    background: rgb(82, 85, 85);
    color: #fff;
  }
  
  
  .loadding {
    width: 100%;
    height: 100%;
    background-color: black;
    display: flex;
    position:absolute;
    z-index: 99999;
    justify-content: center;
    text-align: center;
    padding: 25%;
  
  }
  .loadding label {
    color: rgb(255, 208, 0);
  }
  

  
  .pop-load label {
    color: #ff0000;
  }
  
  .sticky {
    position: fixed;
  }
  .navbar-dark {
    background-color: #201e1e;
  }

.title-h3 {    
    margin-top: 0px;
    font-size: 1.8rem;
}
.status-name {
  font-size: 1.5em;
}

.status-name > img {
  width: 42px;
}
.status-name > label {
  font-size: 1.4rem;
}

.box-chart {
  background-color: #3a3535;
  border-radius: 5px;
}
  /* logo app */
  .logo-app {
    font-family: 'Bebas Neue';
    font-size: 80px;
    margin-top: 5%;
    position:absolute;
    width: 100%;
    height: 20%;
    display: block;       
    text-align: center; 
    
  }
  .logo-app img { 
    width: 30%;
  }
  .logo-app h4 {
    margin-top: 20px;
    font-size: 8vw;
  }
  /* End logo app */
  
  /* -- LOGIN -- */
  .page-login {
    position:absolute;
    margin-top: 25%;
    text-align: center;   
    display: flex;
    justify-content: center;
    width: 100%;
  }
  .page-login .box {
    padding: 15px;
    background-color: #111010ea;
    border: 1px solid #ccc;
    border-radius: 15px;
    display: block;
  }
  
  /* แสดง รายละเอียดข้อมูล บนหัว*/
  .box-status {
    height: 50px;
    padding-left: 10px;
    padding-right: 10px;
  }
  
  .box-status .status-name {
    width: 50%;
  }
  .box-status .status-co2 {
    width: 50%;
  }
  
  .text-dashboard{
    font-size: 1.3em;
    color: #fff;
    font-weight: bold;
  }
  .boxboard {
    padding-top: 10px;
    color: #fff;   
    text-align: center;
    width: 100%; 
    background-color: #272323;
    display: flex;
    height: max-content;
    flex-wrap: wrap;
    justify-content: center;
    
  }
  
  .board-inverter {
    width: 360px;
    height: 360px;
    border-radius: 15px;
    background-color: #201e1e;
    display: block;
    padding-left: 15px;
    float: left;
  }
  
  .board-sensor {
    width: 800px;
    height: max-content;
    border-radius: 15px;
    display: flex;
    flex-wrap: wrap;
    justify-content :space-around;
    
  
  }
  
  .board-powermeter {
    background-color: #343232;
    margin: 5px;
    margin-top: 15px;
    border-radius: 15px;
    padding: 10px;
  }
  
  .box-size {
    width: 110px;
    height: 150px;
    display: block;
    /*background-color: blueviolet;*/
    position:absolute;  
  }
  
  .box-size .round-button {
    margin-left: 5px;
  }
  
  .round-button {
    display:block;
    width:100px;
    height:100px;
    line-height:50px;
    border: 2px solid #f5f5f5;
    border-radius: 50%;
    color:#f5f5f5;
    background: #1c1c1c;
    box-shadow:0 0 0 3px #1c1c1c;
    text-align:center;
    
  }
  
  .round-button img {
    width: 32px;
  }
  
  .round-button p {
    margin-top: -10px;
    font-size: 1.2em;
  }
  
  
  #pv {
    margin-top: 20px;
    margin-left:0px;
  }
  #pv .title {
    color: #fff;
    text-align: center;
    width: 100%;
  }
  #pv .round-button {
    border-color: rgb(231, 220, 13);
    box-shadow: 0 0 5px 2px rgb(231, 220, 13);
  }
  
  #grid {
    margin-top: 180px;
    margin-left: 115px;
  }
  
  #grid .title {
    color:  #fff;
    text-align: center;
    width: 100%;
  }
  
  #grid .round-button {
    border-color: rgb(231, 129, 13);
    box-shadow: 0 0 5px 2px  rgb(231, 129, 13);
  }
  
  #inverter {
    margin-top: 60px;
    margin-left: 115px;
  }
  
  
  #consumption {
    margin-top: 20px;
    margin-left: 220px;
  }
  
  #consumption .title {
    color:  #fff;
    text-align: center;
    width: 100%;
  }
  
  #consumption .round-button {
    border-color: rgb(50, 79, 224);
    box-shadow: 0 0 5px 2px rgb(50, 79, 224);
  }
  
  
  .box-sensor {
    padding: 2px;
    padding-top: 10px;
    width: 130px;
    height: 110px;
    border: 1px solid #545151;
    border-radius: 5px;
    background-color: #343232;
    text-align: center;
  }
  
  .box-sensor label{
    font-size: 1.2em;
    font-weight: bold;
  }
  .sensor-img img {
    width: 42px;
  }
  
  .sensor-img p {
    margin-bottom: -5px;
    font-size: 0.8em;
  }

  /* chart */
  .chart-board{
    display: flex;
    flex-wrap: wrap;
    justify-content:space-around;
  }
  .chart-left {
    width:45vw;
    height:max-content;
    float: left;
    display: block;
  }
  .chart-left-size {
    position: relative;
    height:40vh; 
    width:45vw;
  }
  .chart-right {
    height: max-content;
    width:45vw;
    float: left;
    display: block;
  }

  .chart-right-size {
    position: relative;
    height:40vh; 
    width:45vw;
  }