@import url('https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;1,100;1,200;1,300&family=Sarabun:ital,wght@0,100;0,200;0,300;0,400;1,100;1,200;1,300;1,400&display=swap');

@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.4.0/font/bootstrap-icons.css");
/*
font-family: 'Kanit', sans-serif;
font-family: 'Sarabun', sans-serif;
*/
body{
    font-family: 'Kanit', sans-serif;
}

h1,h2,h3{
    font-family: 'Kanit', sans-serif;
}

h4{
  font-family: 'Sarabun', sans-serif;
  font-size: 1rem;
  font-weight: bold;
  line-height: 1.5rem;
}
h5{
  font-family: 'Sarabun', sans-serif;
  font-size: 1rem;
  line-height: 1.5rem;
}
h6{
  font-family: 'Sarabun', sans-serif;
  font-size: 0.75rem;
  line-height: 1.25rem;
  color: darkslategray;
}

@media only screen and (max-width: 768px) {
  a.navbar-brand{
    font-size: 1rem;
  }
  h4,h5 {
    font-size: 0.85rem;
    line-height: 1.35rem;
  }

}

P{
    font-family: 'Sarabun', sans-serif;
}

.error {
  color: red;
  background-color: rgb(248, 235, 227);
}
.error-message {
  color:rgb(231, 9, 9);
}

.page-header {
    margin-top: 0rem;
    font-size: 1.25rem;
    color: #fff;
}
.gradient_menu {
  background: rgb(50, 238, 166);
  background: linear-gradient(
    135deg,
    rgb(7, 53, 112) 0%,
    rgb(16, 119, 216) 100%
  );
}
.gradient {
    background: rgb(50, 238, 166);
    background: linear-gradient(
      135deg,
      rgb(236, 148, 89) 0%,
      rgb(185, 9, 2) 100%
    );
}
.margin-bottom-10 {
  margin-bottom: -10px;
}
.margin-top-10 {
  margin-top: -50px;
}

.responsiveV1 {
  width: 100%;
  max-width: 150px;
  height: auto;
}


footer {
  background: #fff;
  font-size: 1.25rem;
  padding: 5vh 0;
  text-align: center;
  position: relative;
}

.box-input {
  background-color: rgb(241, 238, 238);
  border-radius: 4px;
  box-shadow: 2px 2px 2px #aaaaaa;
  padding: 1rem;
  color: #000;
  font-family: 'Sarabun', sans-serif;
  font-size: 1rem;
  line-height: 1.25rem;
}


/* Floating column for labels: width */
.col-10 {
  float: left;
  width: 10%;
  padding: 0 10px 0 10px;
}
.col-20 {
  float: left;
  width: 20%;
  padding: 0 10px 0 10px;
}
.col-30 {
  float: left;
  width: 30%;
  padding: 0 10px 0 10px;
}
.col-40 {
  float: left;
  width: 40%;
  padding: 0 10px 0 10px;
}
.col-50 {
  float: left;
  width: 50%;
  padding: 0 10px 0 10px;
}
.col-60 {
  float: left;
  width: 60%;
  padding: 0 10px 0 10px;
}
.col-70 {
  float: left;
  width: 70%;
  padding: 0 10px 0 10px;
}
.col-80 {
  float: left;
  width: 80%;
  padding: 0 10px 0 10px;
}
.col-100 {
  float: left;
  width: 100%;
  padding: 0 10px 0 10px;
}
/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}


/* Preview */
a.hiddenTab {visibility:hidden; display:none;}
/* Button */
.button-upload{
  border: 0px;
  background-color: deepskyblue;
  color: white;
  padding: 5px 15px;
  margin-left: 10px;
}

/* list */
.comtext {
    background-color: transparent;
    border-radius: 0px;
    border-bottom: #ffffff dashed 1px;
    color: #fff;
    font-family: 'Sarabun', sans-serif;
    font-size: 0.90rem;
    line-height: 1.5rem;
}

.login-btn{
  border:2px solid white;
  background-color: rgb(253, 43, 6);
  color: white;
  padding: 15px;
  border-radius: 5px;
}
.login-btn:hover{
  border:2px solid white;
  background-color: rgb(131, 23, 4);
  color: white;
  padding: 15px;
  border-radius: 5px;
  text-decoration: none;
}

.login_container{
  max-width: 100%;
  background-color: #ffffff;
  padding: 5px;
  margin: 0 auto;
  border: 1px solid #cccccc;
  border-radius: 2px;
}

.login_img{
  overflow: hidden;
  width: 50px;
  height: 50px;
  margin: 0 auto;
  border-radius: 50%;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}
.login_img > img{
  width: 50px;
  min-height: 50px;
}
.login_info{
  text-align: center;
}
.login_info h1{
  margin:10px 0;
  text-transform: capitalize;
}
.login_info p{
  font-size: 1rem;
  color: #555555;
}
.login_info a{
  font-size: 1rem;
  display: inline-block;
  background-color: #E53E3E;
  color: #fff;
  text-decoration: none;
  padding:3px 3px;
  border-radius: 2px;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

/* table style */
table {
  border: 0px solid #ccc;
  border-collapse: collapse;
  margin: 0;
  padding: 0;
  width: 100%;
  table-layout: fixed;
  font-family: 'Sarabun', sans-serif;
  font-size: 0.90rem;
  color: #000;
}

table caption {
  font-size: 1.5em;
  margin: .5em 0 .75em;
}

table tr {
  background-color: #f8f8f8;
  border: 1px solid #ddd;
  padding: .35em;
}

table th,
table td {
  padding: .625em;
  text-align: center;
}

table th {
  font-size: .85em;
  letter-spacing: .1em;
  text-transform: uppercase;
}

table tbody tr:hover{
  background-color: #f8dede;
}

.t-t{
  font-size: 0.5rem;
}
.tr-n{
  color: #000;
}
.tr-w{
  color: rgb(182, 179, 179);
}

@media screen and (max-width: 600px) {
  table {
    border: 0;
  }

  table caption {
    font-size: 1.3em;
  }
  
  table thead {
    border: none;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
  }
  
  table tr {
    border-bottom: 1px solid rgb(239, 145, 252);
    display: block;
    margin-bottom: .625em;
  }
  
  table td {
    border-bottom: 1px dotted #ddd;
    display: block;
    font-size: .8em;
    text-align: right;
  }
  
  table td::before {
    /*
    * aria-label has no advantage, it won't be read inside a table
    content: attr(aria-label);
    */
    content: attr(data-label);
    float: left;
    font-weight: bold;
    text-transform: uppercase;
  }
  
  table td:last-child {
    border-bottom: 0;
  }
}

/* modal */
.modal-lg {
  max-width: 85%;
}