/*!
 * By 509335
 * Provincial Electricity Authority
 */
body {font-family: 'Kanit', sans-serif;}
* {box-sizing: border-box;}

/* Button used to open the contact form - fixed at the bottom of the page */
.open-button {
  background-color: #555;
  color: white;
  padding: 16px 20px;
  border: none;
  cursor: pointer;
  opacity: 0.8;
  position: fixed;
  bottom: 23px;
  right: 28px;
  width: 280px;
}

/* The popup form - hidden by default */
.form-popup {
  display: none;
  position: fixed;
  bottom: 0;
  right: 15px;
  border: 3px solid #f1f1f1;
  z-index: 9;
}

/* Add styles to the form container */
.form-container {
  max-width: 300px;
  padding: 10px;
  background-color: white;
}

/* Full-width input fields */
.form-container input[type=text], .form-container input[type=password] {
  width: 100%;
  padding: 15px;
  margin: 5px 0 22px 0;
  border: none;
  background: #f1f1f1;
}

/* When the inputs get focus, do something */
.form-container input[type=text]:focus, .form-container input[type=password]:focus {
  background-color: #ddd;
  outline: none;
}

/* Set a style for the submit/login button */
.form-container .btn {
  background-color: #4CAF50;
  color: white;
  padding: 16px 20px;
  border: none;
  cursor: pointer;
  width: 100%;
  margin-bottom:10px;
  opacity: 0.8;
}

/* Add a red background color to the cancel button */
.form-container .cancel {
  background-color: red;
}

/* Add some hover effects to buttons */
.form-container .btn:hover, .open-button:hover {
  opacity: 1;
}

body{
  background-color: #e6e6e6;
  font-family:'Kanit', sans-serif
}
.w3-theme-d5 {color:#fff !important; background-color:#172531 !important}
h1, h2, h3, h4, h5, h6{font-family:'Kanit', sans-serif}
a, p, th, tr, td{font-family:'Kanit', sans-serif}
img{border:none}

table {
  border-collapse: collapse;
  width: 100%;
  border: 2px solid #6bc7be   ;
}

th{
  padding: 8px;
  border-top: 1px solid #ddd;
}
td {
 
  padding: 8px;
  border-top: 1px solid #ddd;
  font-size: 14px;
}
tr:nth-child(even){background-color: #f2f2f2}

th {
  background-color: #6bc7be  ;
  color: #2D3E50;
}
input {
  width: auto ;
  padding: 2px;
  border: 1px solid #000;
  border-radius: 4px;
}
input:focus {
  background-color: lightblue;
.flex-container {
  padding: 0;
  list-style: none;  
}
textarea {
  width: 50%;
  padding: 2px;
  border: 1px solid #fff;
  border-radius: 4px;
  resize: vertical;
}
textarea:focus {
  background-color: lightblue;
.flex-container {
  padding: 0;
  list-style: none;
 
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  
  -webkit-flex-flow: row wrap;
  justify-content: space-around;
}
.flex-smallPie {
  padding: 0px;
  width: 280px;
  margin-top: 10px;
  color: white;
  font-size: 18px;
  text-align: center;
}
.flex-item {
  padding-top: 10px;
  width: 13%;
  height: 100px;
  margin-top: 10px;
  font-size: 12px;
  color:#192938;
  text-align: center;
  /*background-image: linear-gradient(#8EAF2D, #CFD861);*/
  background-color: #b3b3cc;

}
.flex-forchartBar {
  padding: 0px;
  width: 33%;
  margin-top: 10px;
  font-size: 18px;
  text-align: center;
}
.flex-forchartColumn {
  padding: 0px;
  width: 60%;
  margin-top: 10px;
  font-size: 18px;
  text-align: center;
}
.btn {
  background-color: #3333cc; /* Blue background */
  border: none; /* Remove borders */
  color: white; /* White text */
  padding: 12px 16px; /* Some padding */
  font-size: 16px; /* Set a font size */
  cursor: pointer; /* Mouse pointer on hover */
  height: 50px;
}
#customers {
  font-family:'Kanit', sans-serif;
  border-collapse: collapse;
  width: 100%;
}

#customers td, #customers th {
  border: 2px solid #ddd;
  padding: 8px;
  font-family:'Kanit', sans-serif;
}

#customers tr:nth-child(even){background-color: #f2f2f2;
font-family:'Kanit', sans-serif;"
}

#customers tr:hover {background-color: #ddd;
font-family:'Kanit', sans-serif;"
}

#customers th {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: center;
  background-color: #192938;
  color: white;
  font-family:'Kanit', sans-serif;"  
  position: sticky;
}

body {font-family: Arial, Helvetica, sans-serif;}
* {box-sizing: border-box;}

/* Button used to open the contact form - fixed at the bottom of the page */
.open-button {
  background-color: #555;
  color: white;
  padding: 16px 20px;
  border: none;
  cursor: pointer;
  opacity: 0.8;
  width: 280px;
}

/* The popup form - hidden by default */
.form-popup {
  display: none;
  position: fixed;
  bottom: 0;
  right: 15px;
  border: 3px solid #f1f1f1;
  z-index: 9;
}

/* Add styles to the form container */
.form-container {
  max-width: 300px;
  padding: 10px;
  background-color: white;
}

/* Full-width input fields */
.form-container input[type=text], .form-container input[type=password] {
  width: 100%;
  padding: 15px;
  margin: 5px 0 22px 0;
  border: none;
  background: #f1f1f1;
}

/* When the inputs get focus, do something */
.form-container input[type=text]:focus, .form-container input[type=password]:focus {
  background-color: #ddd;
  outline: none;
}

/* Set a style for the submit/login button */
.form-container .btn {
  background-color: #4CAF50;
  color: white;
  padding: 16px 20px;
  border: none;
  cursor: pointer;
  width: 100%;
  margin-bottom:10px;
  opacity: 0.8;
}

/* Add a red background color to the cancel button */
.form-container .cancel {
  background-color: red;
}

/* Add some hover effects to buttons */
.form-container .btn:hover, .open-button:hover {
  opacity: 1;
}
/*---------------------------------box - homepage--------------------------------------*/
body {
  background: #f06d06;
  font-size: 80%;
}

main {
  background: white;
  height: 300px;
  margin: 20px;
  width: 300px;
  position: relative;
  resize: vertical;
  overflow: auto;
}

main div {
  position: absolute;
  top: 50%;
  left: 20px;
  right: 20px;
  background: black;
  color: white;
  padding: 20px;
  transform: translateY(-50%);
  resize: vertical;
  overflow: auto;
}

/*---------------------------dropdown menu---------------------------------*/
.dropbtn {
  background-color: #3498DB;
  color: white;
  padding: 16px;
  font-size: 16px;
  border: none;
  cursor: pointer;
}

.dropbtn:hover, .dropbtn:focus {
  background-color: #2980B9;
}

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

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f1f1f1;
  min-width: 160px;
  overflow: auto;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown a:hover {background-color: #ddd;}

.show {display: block;}