html,
body,
.sidenav *,
.custom-select {
  font-family: "Sarabun-Regular" !important;
}

html,
body {
  height: 100%;
}

.h-80 {
  height: 80% !important;
}

.w-25 {
  width: 25%;
}

.w-30 {
  width: 30%;
}

a:hover {
  text-decoration: none !important;
}

.mt-custome1 {
  margin-top: 7px !important;
}

#contents {
  display: none;
}

html,
body {
  overflow-y: auto;
  overflow-x: auto;
  background-color: #edf2f8 !important;
}

.error {
  color: red !important;
}

.text-strong {
  color: #0c0c0c !important;
}

.dashboard-group {
  border-right: 2px solid rgb(0 0 0 / 7%);
}

input.form-control,
.custom-select {
  padding: 0px 10px !important;
}

.fa-user-check.text-samll,
.fa-user-slash.text-samll {
  font-size: 18px !important;
}

.btn,
.form-group,
.form-control,
.custom-select,
.dataTables_info,
.paginate_button {
  font-size: 14px !important;
}

label {
  font-size: 13px !important;
}

ul.text-small li a,
.dataTable tbody tr td,
.btn.btn-small,
.dataTable thead tr th,
.btn-sm {
  font-size: 12px !important;
}

.navbar {
  position: fixed;
  z-index: 500;
  width: 100%;
  padding: 3px 10px !important;
}

.margin-7 {
  margin-left: 7% !important;
  margin-right: 7% !important;
}

.margin-10 {
  margin-left: 10% !important;
  margin-right: 10% !important;
}

.navbar.bg-dark * {
  color: #fff !important;
}

.dataTable thead {
  background-color: #e1e1e1 !important;
}

.card-header {
  padding: 10px !important;
  border-top-left-radius: 10px !important;
  border-top-right-radius: 10px !important;
  background-color: #fff !important;
}

.card-header.focus {
  background-color: rgb(0 0 0 / 7%) !important;
}

.card-header.none-radius {
  border-top-left-radius: 0px !important;
  border-top-right-radius: 0px !important;
}

.card-body {
  border-bottom-left-radius: 10px !important;
  border-bottom-right-radius: 10px !important;
}

.dataTable thead tr th:first-child,
.dataTable tbody tr td:first-child {
  padding-left: 10px !important;
}

.dataTable thead tr th:last-child,
.dataTable tbody tr td:last-child {
  padding-right: 10px !important;
}

.dataTable tbody tr td svg,
.dataTable tbody tr td a svg,
.dataTable tbody tr td button svg {
  font-size: 25px !important;
}

.dataTable tbody tr td svg.text-small {
  font-size: 17px !important;
}

.dataTable tbody tr td button.btn-none-merge svg {
  font-size: 14px !important;
}

.dataTable thead th,
.card-header {
  color: #263753 !important;
  font-weight: 500;
}

.dataTable tbody tr td .btn {
  font-size: 10px !important;
  padding: 3px 8px !important;
}

.btn-primary,
.badge-primary,
.page-item.active .page-link {
  background-color: #27a0d6 !important;
  border-color: #27a0d6 !important;
}

.page-item a,
.page-link:hover {
  color: #27a0d6 !important;
}

.page-item.active a {
  color: #fff !important;
}

.page-item.disabled a {
  color: #5c6375 !important;
}

.btn-success,
.badge-success {
  background-color: #53c257 !important;
  border-color: #53c257 !important;
}

.btn-warning,
.badge-warning {
  background-color: #f7931e !important;
  border-color: #f7931e !important;
  color: #fff !important;
}

.text-warning {
  color: #f7931e !important;
}

.navbar-text {
  font-size: 14px;
}

.navbar-text.icon {
  font-size: 22px !important;
  margin-right: 3px;
}

th {
  padding: 15px 10px !important;
}

.dataTable tbody tr td {
  color: rgba(0, 0, 0, 0.6) !important;
}

.dataTable thead tr th,
.dataTable tbody tr td {
  padding: 10px 2.5px !important;
}

.dataTable tbody tr td .text-strong {
  color: #0c0c0c !important;
  font-weight: 400 !important;
}

tr.odd {
  background-color: #f9f9fa;
}

tr.even {
  background-color: #e1e1e1c4;
}

.card {
  border-radius: 10px !important;
}

.card-header {
  border: none !important;
}

.card-header#headerToggle{
  border-radius: 10px;
}

#btnHide {
  display: none;
}

.card,
.sidenav,
.navbar {
  box-shadow: 0px 2px 4px 0px rgba(0,0,0,0.4) !important;
}

.card-body.none-padding {
  padding: 0px !important;
}

.card-body table {
  margin-top: 0px !important;
}

table.display,
table.card {
  border-top: 1px solid rgba(0,0,0,.125) !important;
  border-bottom: 1px solid rgba(0,0,0,.125) !important;
  background-color: #fff !important;
}

.dataTable tbody tr:last-child td {
  border-bottom: none !important;
}

.dataTable tbody tr td button svg.text-small,
.dataTable tbody tr td * button svg.text-small {
  font-size: 11px !important;
}

div.dataTables_wrapper div.dataTables_paginate {
  margin-bottom: 20px !important;
}

/*
.btn {
  padding: 5px 15px !important;
}
*/

textarea.form-control {
  height: auto !important;
}

.custom-select.custom-select-sm {
  height: calc(1.5em + .5rem + 2px) !important;
}

.form-area {
  padding: 10px;
  border-radius: 5px;
  border: 1px solid rgba(0,0,0,.125);
}

.input-group-text {
  padding: 0rem .75rem !important;
}

.input-group-text,
label.input-group-text {
  font-size: 16px !important;
}

.dataTables_paginate {
  margin: 15px !important;
}

.space-div {
  margin-top: 70px !important;
}

.badge {
  font-size: 11px;
  padding: 5px;
  font-weight: normal;
}

.option-td {
  font-size: 20px;
}

.option-driver {
  border-right: 1px solid black;
  margin: 5px;
}

/* sildebar */
.sidenav {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 15px;
}

.sidenav a,
.sidebar-icon {
  color: rgba(0,0,0,.5);
}

.sidebar-icon span {
  top: -5px !important;
  position: relative !important;
}

.sidenav a {
  padding: 10px 5px 10px 25px;
  text-decoration: none;
  font-size: 14px;
  display: block;
  transition: 0.3s;
}

.sidenav .navbar-nav a:hover {
  color: rgba(0,0,0,.5);
  background-color: rgb(0 0 0 / 7%) !important;
}

.sidenav .closebtn {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 20px;
  margin-left: 50px;
  border-radius: 10px;
  border: 1.5px solid #e1e1e1c4;
  padding: 5px 10px;
}

.sidebar-icon {
  display: none;
  position: absolute;
  top: 20px;
  left: 25px;
  font-size: 20px;
}

.lists,
#sidebar-list,
#s-icon {
  display: none;
}

table {
  z-index: 200 !important;
}

.dataTables_length {
  /*
  position: absolute;
  top: -37px !important;
  z-index: 1;
  margin-left: 100px;
  */
}

.dataTables_length label select {
  width: 55px !important;
}

/* animation fade */
ul.collapsing {
  display: block !important;
}

svg.btn-li-arrow {
  position: absolute;
  left: 220px;
  font-size: 20px !important;
}

.fade-in {
  animation: fadeOnIn ease 1s;
  -webkit-animation: fadeOnIn ease 1s;
  -moz-animation: fadeOnIn ease 1s;
  -o-animation: fadeOnIn ease 1s;
  -ms-animation: fadeOnIn ease 1s;
}

.fade-in-slow {
  animation: fadeOnIn ease 2s;
  -webkit-animation: fadeOnIn ease 2s;
  -moz-animation: fadeOnIn ease 2s;
  -o-animation: fadeOnIn ease 2s;
  -ms-animation: fadeOnIn ease 2s;
}

@keyframes fadeOnIn {
  0% {opacity:0;}
  100% {opacity:1;}
}

@-moz-keyframes fadeOnIn {
  0% {opacity:0;}
  100% {opacity:1;}
}

@-webkit-keyframes fadeOnIn {
  0% {opacity:0;}
  100% {opacity:1;}
}

@-o-keyframes fadeOnIn {
  0% {opacity:0;}
  100% {opacity:1;}
}

@-ms-keyframes fadeOnIn {
  0% {opacity:0;}
  100% {opacity:1;}
}

.fade-out {
  animation: fadeOnOut ease 1s;
  -webkit-animation: fadeOnIn ease 1s;
  -moz-animation: fadeOnOut ease 1s;
  -o-animation: fadeOnOut ease 1s;
  -ms-animation: fadeOnOut ease 1s;
}

@keyframes fadeOnOut {
  100% {opacity:0;}
  0% {opacity:1;}
}

@-moz-keyframes fadeOnOut {
  100% {opacity:0;}
  0% {opacity:1;}
}

@-webkit-keyframes fadeOnOut {
  100% {opacity:0;}
  0% {opacity:1;}
}

@-o-keyframes fadeOnOut {
  100% {opacity:0;}
  0% {opacity:1;}
}

@-ms-keyframes fadeOnOut {
  100% {opacity:0;}
  0% {opacity:1;}
}

/*
@media screen and (max-height: 450px) {
  .sidenav {padding-top: 15px;}
  .sidenav a {font-size: 16px;}
}
*/

/* date picker */
.ui-datepicker {
  z-index: 100000 !important;
}

.ui-datepicker .ui-datepicker-header {
  padding: 0px !important;
}

.ui-datepicker .ui-datepicker-prev,
.ui-datepicker .ui-datepicker-next {
  top: -1px !important;
}

.ui-datepicker table {
  font-size: .7em !important;
}

.ui-state-default {
  border-radius: 3px !important;
}

.breadcrumb {
  background-color: #edf2f8 !important;
  font-size: 14px !important;
  padding: 10px 0px !important;
}

.breadcrumb-item a {
  color: #3c3a3ac4 !important;
}

.breadcrumb-item.active {
  color: #44474a !important;
}

.breadcrumb-item + .breadcrumb-item::before {
  display: inline-block;
  padding-right: .5rem;
  color: #6c757d;
  content: ">" !important;
}

.btn-file {
  position: relative;
  overflow: hidden;
}
.btn-file input[type=file] {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 100%;
  min-height: 100%;
  font-size: 100px;
  text-align: right;
  filter: alpha(opacity=0);
  opacity: 0;
  outline: none;
  background: #e9ecef !important;
  cursor: inherit;
  display: block;
}

.btn.btn-file {
  border-top-right-radius: 0px !important;
  border-bottom-right-radius: 0px !important;
  background: #e9ecef !important;
  border: 1px solid #ced4da !important;
  height: calc(1.5em + .75rem + 2px) !important;
}

#img-upload{
  width: 60%;
  border-radius: 5px !important;
}

th.th-driver,
td.td-driver {
  border-right: solid 1px #dee2e6;
}

th.th-driver:last-child,
td.td-driver:last-child {
  border-right: none !important;
}

table.tb-small thead tr th {
  font-size: 8.5px !important;
}

table.tb-small tbody tr td {
  font-size: 12px !important;
}

table.tb-samll thead tr th,
table.tb-small tbody tr td {
  padding: 5px !important;
}

#example_wrapper, .card-body {
  overflow: scroll;
}

.has-scrolling {
  display: block;
}

table.more-col {
  min-width: 1200px !important;
}

.error-class {
  color:red;
  z-index:0;
  position:relative;
  display:block;
  text-align: left;
  /* font-size: 12px !important; */
}

audio {
  border-radius: 5px;
  width: 100%;
}

iframe, object {
  border-radius: 5px !important;
  border: none !important;
}

.btn:hover * {
  color: #ffffff !important;
}

@media (max-width: 991px) {
  .dashboard-group {
    border: none;
  }
}

@media (max-width: 767px) {
  .dashboard-group {
    border-bottom: 2px solid rgb(0 0 0 / 7%);
  }

  .label-txt-none {
    display: none !important;
  }
}

@media (min-width: 1200px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl {
    max-width: 1440px !important;
  }
  .card-body {
    overflow: hidden;
  }
  .has-scrolling {
    display: none;
  }
}

ul.nav-tabs {
  position: fixed;
  z-index: 100;
  background-color: #edf2f8 !important;
  width: 100%;
  margin: -2px;
  font-size: 14px !important;
}

.nav-tabs li.active {
  border-bottom: solid 4px #d55920 !important;
}

.nav-tabs li.active a {
  color: #d55920 !important;
}

.ui-corner-all {
  font-size: 14px !important;
}