* {
  box-sizing: border-box;
}

#myTable {
  font-family: 'Bai Jamjuree', sans-serif;
  /* font-size: 20px; */
}

/* CSS สำหรับเปลี่ยนฟอนต์ของช่องค้นหาข้อมูลใน DataTables */
.dataTables_filter label,
.dataTables_filter input,
.dataTables_filter input[type=search],
.dataTables_paginate,
.dataTables_info,
.dataTables_length label,
.dataTables_length select,
.dataTables_info {
  font-family: 'Bai Jamjuree', sans-serif;
  /* font-size: 20px; */
  font-weight: bold;
}

.left {
  /* background-color: #fff; */
  padding: 20px;
  float: left;
  width: 30%;
  /* The width is 20%, by default */
}

.main {
  background-color: #fff;
  padding: 20px;
  float: left;
  width: 40%;
  /* The width is 60%, by default */
}

.right {
  /* background-color: #fff; */
  padding: 20px;
  float: left;
  width: 30%;
  /* The width is 20%, by default */
}

.mainmini {
  background-color: #fff;
  padding: 10px 0px;
  float: left;
  width: 100%;
  /* The width is 20%, by default */
}

.leftmini {
  background-color: #fff;
  padding: 10px 0px;
  float: left;
  width: 50%;
  /* The width is 20%, by default */
}

.rightmini {
  background-color: #fff;
  padding: 10px 0px;
  float: left;
  width: 50%;
  /* The width is 20%, by default */
}

.p1 {
  font-size: 42px;
  margin-top: 0;
  margin-bottom: 0;
  font-family: 'Bai Jamjuree', sans-serif;
  color: #3F3D56;
}

.p2 {
  font-size: 36px;
  margin-top: 0;
  margin-bottom: 0;
  font-family: 'Bai Jamjuree', sans-serif;
  color: #3F3D56;
}

.p3 {
  font-size: 24px;
  margin-top: 0;
  margin-bottom: 0;
  font-family: 'Bai Jamjuree', sans-serif;
  color: #3F3D56;
}

.button {
  background-color: #F7F8F8;
  /* Green */
  border: 1;
  color: #3F3D56;
  padding: 40px;
  text-align: left;
  text-decoration: none;
  display: inline-block;
  font-size: 24px;
  font-family: 'Bai Jamjuree', sans-serif;
  margin: 0px 0px;
  cursor: pointer;
  border-radius: 12px;
  width: 100%;
}

.buttonstart {
  background-color: #FFCC78;
  /* Green */
  border: 1;
  color: #3F3D56;
  padding: 40px;
  text-align: left;
  text-decoration: none;
  display: inline-block;
  font-size: 24px;
  font-family: 'Bai Jamjuree', sans-serif;
  margin: 0px 0px;
  cursor: pointer;
  border-radius: 12px;
  width: 100%;
}

.button:hover {
  background-color: #D7E0E0;
}

.buttonstart:hover {
  background-color: #DEA74C;
}

.buttons {
  background-color: #F7F8F8;
  /* Green */
  border: 1;
  color: #3F3D56;
  padding: 40px;
  text-align: left;
  text-decoration: none;
  display: inline-block;
  font-size: 24px;
  font-family: 'Bai Jamjuree', sans-serif;
  margin: 0px 0px;
  cursor: pointer;
  border-radius: 12px;
  width: 100%;
}

.buttoncard {
  background-color: #fff;
  /* Green */
  border: 1;
  color: #3F3D56;
  padding: 40px;
  text-align: left;
  text-decoration: none;
  display: inline-block;
  font-size: 24px;
  font-family: 'Bai Jamjuree', sans-serif;
  margin: 0px 0px;
  border-radius: 12px;
  width: 98%;
}

.buttoncard2 {
  background-color: #F7F8F8;
  color: #3F3D56;
  border: 1;
  padding: 20px 40px;
  text-align: left;
  text-decoration: none;
  display: inline-block;
  font-size: 24px;
  font-family: 'Bai Jamjuree', sans-serif;
  margin: 0px 0px;
  border-radius: 12px;
  width: 100%;
  margin-bottom: 15px;
}

.buttoncardhow {
  background-color: #F7F8F8;
  /* Green */
  border: 1;
  color: #3F3D56;
  padding: 20px;
  text-align: left;
  text-decoration: none;
  display: inline-block;
  font-size: 24px;
  font-family: 'Bai Jamjuree', sans-serif;
  margin: 0px 0px;
  border-radius: 12px;
  width: 99%;
}

.buttoncardgraph {
  background-color: #fff;
  color: #3F3D56;
  border: 1;
  padding: 20px 20px;
  text-align: left;
  text-decoration: none;
  display: inline-block;
  font-size: 24px;
  font-family: 'Bai Jamjuree', sans-serif;
  margin: 0px 0px;
  border-radius: 12px;
  width: 100%;
  margin-bottom: 15px;
}

.buttonicon {
  background-color: #3F3D56;
  /* Green */
  border: none;
  color: white;
  padding: 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
  border-radius: 12px;
  width: 100%;
}

.buttonicongreen {
  background-color: #1AAD66;
  /* Green */
  border: none;
  color: white;
  padding: 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
  border-radius: 12px;
  width: 100%;
}

.buttoniconyellow {
  background-color: #F9A826;
  /* Green */
  border: none;
  color: white;
  padding: 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
  border-radius: 12px;
  width: 100%;
}

.buttonicondelete {
  background-color: #F93E26;
  /* Green */
  border: none;
  color: white;
  padding: 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
  border-radius: 12px;
  width: 100%;
}

.buttonicon:hover {
  background-color: #26253E;
}

.buttonicongreen:hover {
  background-color: #04924E;
}

.buttoniconyellow:hover {
  background-color: #D38506;
}

.buttonicondelete:hover {
  background-color: #D31E06;
}

/* from */
input[type=text],
select {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 2px solid #3F3D56;
  border-radius: 4px;
  box-sizing: border-box;
  -webkit-transition: 0.5s;
  transition: 0.5s;
  outline: none;
  font-size: 20px;
  font-family: 'Bai Jamjuree', sans-serif;
}


input[type=password],
select {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 2px solid #3F3D56;
  border-radius: 4px;
  box-sizing: border-box;
  -webkit-transition: 0.5s;
  transition: 0.5s;
  outline: none;
  font-size: 20px;
  font-family: 'Bai Jamjuree', sans-serif;
}

input[type=text]:focus {
  border: 2px solid #F9A826;
}

.divcard {
  border-radius: 10px;
  width: 100%;
  border: solid 2px #3F3D56;
  background-color: #F7F8F8;
  padding: 50px;
}

/* Use a media query to add a break point at 800px: */
@media screen and (max-width: 800px) {

  .left,
  .main,
  .right {
    width: 100%;
    /* The width is 100%, when the viewport is 800px or smaller */
  }
}

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

  .leftmini,
  .rightmini {
    width: 100%;
    /* The width is 100%, when the viewport is 800px or smaller */
  }
}