
@font-face {
  font-family: 'THSarabunNew';
  src: url('/assets/fonts/THSarabunNew-Italic.eot');
  src: url('/assets/fonts/THSarabunNew-Italic.eot?#iefix') format('embedded-opentype'),
      url('/assets/fonts/THSarabunNew-Italic.woff2') format('woff2'),
      url('/assets/fonts/THSarabunNew-Italic.woff') format('woff'),
      url('/assets/fonts/THSarabunNew-Italic.ttf') format('truetype'),
      url('/assets/fonts/THSarabunNew-Italic.svg#THSarabunNew-Italic') format('svg');
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'THSarabunNew';
  src: url('/assets/fonts/THSarabunNew-BoldItalic.eot');
  src: url('/assets/fonts/THSarabunNew-BoldItalic.eot?#iefix') format('embedded-opentype'),
      url('/assets/fonts/THSarabunNew-BoldItalic.woff2') format('woff2'),
      url('/assets/fonts/THSarabunNew-BoldItalic.woff') format('woff'),
      url('/assets/fonts/THSarabunNew-BoldItalic.ttf') format('truetype'),
      url('/assets/fonts/THSarabunNew-BoldItalic.svg#THSarabunNew-BoldItalic') format('svg');
  font-weight: bold;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'THSarabunNew';
  src: url('/assets/fonts/THSarabunNew-Bold.eot');
  src: url('/assets/fonts/THSarabunNew-Bold.eot?#iefix') format('embedded-opentype'),
      url('/assets/fonts/THSarabunNew-Bold.woff2') format('woff2'),
      url('/assets/fonts/THSarabunNew-Bold.woff') format('woff'),
      url('/assets/fonts/THSarabunNew-Bold.ttf') format('truetype'),
      url('/assets/fonts/THSarabunNew-Bold.svg#THSarabunNew-Bold') format('svg');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'THSarabunNew';
  src: url('/assets/fonts/THSarabunNew.eot');
  src: url('/assets/fonts/THSarabunNew.eot?#iefix') format('embedded-opentype'),
      url('/assets/fonts/THSarabunNew.woff2') format('woff2'),
      url('/assets/fonts/THSarabunNew.woff') format('woff'),
      url('/assets/fonts/THSarabunNew.ttf') format('truetype'),
      url('/assets/fonts/THSarabunNew.svg#THSarabunNew') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

.load-screen {
  width: 100%;
  height: 100%;
  background:#e8e7ff no-repeat center center #fff;
  position: fixed;
  opacity: 0.7;
}

.lds-ellipsis {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-ellipsis div {
  position: absolute;
  top: 33px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #fff;
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
}
.lds-ellipsis div:nth-child(1) {
  left: 8px;
  animation: lds-ellipsis1 0.6s infinite;
}
.lds-ellipsis div:nth-child(2) {
  left: 8px;
  animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(3) {
  left: 32px;
  animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(4) {
  left: 56px;
  animation: lds-ellipsis3 0.6s infinite;
}
@keyframes lds-ellipsis1 {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes lds-ellipsis3 {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(0);
  }
}
@keyframes lds-ellipsis2 {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(24px, 0);
  }
}


/* Absolute Center Spinner */
.loading {
  display: none;
  position: fixed;
  z-index: 999;
  height: 2em;
  width: 2em;
  overflow: show;
  margin: auto;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

/* Transparent Overlay */
.loading:before {
  content: '';
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(rgba(20, 20, 20, .8), rgba(0, 0, 0, .8));

  background: -webkit-radial-gradient(rgba(20, 20, 20, .8), rgba(0, 0, 0, .8));
}

.datatables-invoices .tb-container {
  position: relative;
}
.datatables-invoices .tb-content {
  position: absolute;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.datatables-invoices .tb-spacer {
  height: 0;
  opacity: 0.7;
  overflow: hidden;
}


.btn-file {
  position: relative;
  overflow: hidden;
}
.form-group {
padding: 30px;
}
.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: white;
  cursor: inherit;
  display: block;
}
.input-group {
margin-bottom: 30px;
}

#img-upload{
  width: 150px;
  height: 150px;
}

.as-console-wrapper {
display: none !important;
}

#flexSwitchCheckChecked{
  width: 40px;
  height: 20px;
}
