* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'K2D', sans-serif;
  /* font-family: 'Sarabun', sans-serif; */
}

/* Buttons with Icon and Text */
.btn-label {
  position: relative;
  left: -12px;
  display: inline-block;
  padding: 6px 10px;
  background: rgba(0, 0, 0, 0.15);
  border-radius: 3px 0 0 3px;
}

.btn-labeled {
  padding-top: 0;
  padding-bottom: 0;
}

.btn {
  margin-bottom: 10px;
}

/** Toast Style Sheet */
.colored-toast.swal2-icon-success {
  /** background-color: #a5dc86 !important; */
  /** background-color: #228B22 !important; */
  background-color: #32CD32 !important;
}

.colored-toast.swal2-icon-error {
  /** background-color: #f27474 !important; */
  background-color: #DC143C !important;
}

.colored-toast.swal2-icon-warning {
  background-color: #f8bb86 !important;
}

.colored-toast.swal2-icon-info {
  background-color: #3fc3ee !important;
}

.colored-toast.swal2-icon-question {
  background-color: #87adbd !important;
}

.colored-toast .swal2-title {
  color: white;
}

.colored-toast .swal2-close {
  color: white;
}

.colored-toast .swal2-html-container {
  color: white;
}
/* Back to top */
#btn-back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none;
}
/* circular buttons */
.btn-circle.btn-xl {
  width: 40px;
  height: 40px;
  padding: 4px 10px;
  border-radius: 30px;
  font-size: 20px;
  text-align: center;
}
/* form */
input[type=checkbox]{
	float:left;
	display: block;
	margin:0; padding:0;
  margin-left:10px;
	margin-right:10px;
	border:2px solid rgba(0,0,0,0.10);
	width:24px;
	height:24px;
}
/* 18-10-2566 */
.txt-s14 { font-size:14px; }
.txt-s15 { font-size:15px; }
.txt-s16 { font-size:16px; }
.txt-s17 { font-size:17px; }
.txt-s18 { font-size:18px; }
.txt-s19 { font-size:19px; }
.txt-s20 { font-size:20px; }
.txt-s21 { font-size:21px; }
.txt-s22 { font-size:22px; }
.txt-s23 { font-size:23px; }
.txt-s24 { font-size:24px; }
.txt-s25 { font-size:25px; }
.txt-s26 { font-size:26px; }
.txt-s27 { font-size:27px; }
.txt-s28 { font-size:28px; }

/* clock | 15-12-2566 */
.clock-body {
	background-image: url("../../images/icon/bg_clock.png");
  background-position: left;
  background-repeat: no-repeat;
	height: 75px;
  width: 100%;
	margin: 0 auto;
}
.clock-content {
  width: 90%;
  position: absolute;
}
.clock-time {
	padding: 5px 10px 5px 10px;
  margin-left: 50px;
  margin-top: -5px;
	font-size: 32px;
	text-align: center;
	font-weight: bold;
}
.clock-day {
	float: left;
  width: 100%;
  text-align: center;
}
.clock-dmy {
  float: left;
  width: 100%;
  margin-top: -8px;
  margin-left: 20px;
	text-align: center;
}
/* select2 | 15-12-2566 */
.select2-container {
  min-width: 400px;
}
.select2-results__option {
  padding-right: 20px;
  vertical-align: middle;
}
.select2-results__option:before {
  content: "";
  display: inline-block;
  position: relative;
  height: 21px;
  width: 21px;
  border: 1px solid #bebebe;
  border-radius: 4px;
  background-color: #fff;
  margin-right: 8px;
  vertical-align: text-top;
}
.select2-results__option[aria-selected=true]:before {
  font-family:fontAwesome;
  content: "\f00c";
  color: #fff;
  background-color: #339914;
  border: 0;
  display: inline-block;
  padding-left: 3px;
}
.select2-container--default .select2-results__option[aria-selected=true] {
  background-color: #fff;
}
.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background-color: #eaeaeb;
  color: #272727;
}
.select2-container--default .select2-selection--multiple {
  margin-bottom: 10px;
}
.select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple {
  border-radius: 4px;
}
.select2-container--default.select2-container--focus .select2-selection--multiple {
  border-color: #339914;
  border-width: 1px;
}
.select2-container--default .select2-selection--multiple {
  border-width: 1px;
}
.select2-container--open .select2-dropdown--below {
  border-radius: 6px;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
}
.select2-selection .select2-selection--multiple:after {
  content: 'hhghgh';
}
/* select with icons badges single*/
.select-icon .select2-selection__placeholder .badge {
  display: none;
}
.select-icon .placeholder {
  display: none;
}
.select-icon .select2-results__option:before,
.select-icon .select2-results__option[aria-selected=true]:before {
  display: none !important;
  /* content: "" !important; */
}
.select-icon  .select2-search--dropdown {
  display: none;
}

/* Topnav Logo */
.topnav_logo {
  position: absolute;
  left: 50%;
  margin-left: -50px !important;
  display: none;
}
@media screen and (max-width: 768px) {
  .topnav_logo {
    position: absolute;
    left: 50%;
    margin-left: -30px !important;
    display: block;
  }
}

.overlay-wrapper > .overlay,
.overlay-wrapper > .loading-img {
  height: 100%;
  left: 0;
  position: fixed !important;
  top: 0;
  width: 100%;
  z-index: 9999999;
}
.overlay-wrapper .overlay {
  border-radius: 0.25rem;
  -ms-flex-align: center;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.7);
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: center;
  justify-content: center;
  z-index: 50;
}

/*gradient buttons*/
.btn-grad {
  background-image: linear-gradient(to right, #314755 0%, #26a0da  51%, #314755  100%);
  margin: 10px;
  /* font-size: 14px; */
  font-size: 0.9rem;
  position: relative;
  min-width: 160px;
  height: 62px;
  padding: 15px 5px;
  text-align: center;
  text-transform: uppercase;
  transition: 0.5s;
  background-size: 200% auto;
  color: white;            
  box-shadow: 0 0 20px #eee; 
  border-radius: 8px;
}

.btn-grad:hover {
  background-position: right center; /* change the direction of the change here */
  color: #fff;
  text-decoration: none;
}
    
.btn-grad2 {
  background-image: linear-gradient(to right, #5f2c82 0%, #49a09d  51%, #5f2c82  100%);
  margin: 10px;
  font-size: 0.9rem;
  position: relative;
  width: 190px;
  height: 62px;
  padding: 15px 5px;
  text-align: center;
  text-transform: uppercase;
  transition: 0.5s;
  background-size: 200% auto;
  color: white;            
  box-shadow: 0 0 20px #eee; 
  border-radius: 8px;
}

.btn-grad2:hover {
  background-position: right center; /* change the direction of the change here */
  color: #fff;
  text-decoration: none;
}

         
.btn-grad5 {
  background-image: linear-gradient(to right, #2C3E50 0%, #4CA1AF  51%, #2C3E50  100%);
  margin: 10px;
  font-size: 0.8rem;
  position: relative;
  width: 200px;
  height: 60px;
  padding: 15px 5px;
  text-align: center;
  text-transform: uppercase;
  transition: 0.5s;
  background-size: 200% auto;
  color: white;            
  box-shadow: 0 0 20px #eee; 
  border-radius: 3px;
}

.btn-grad5:hover {
  background-position: right center; /* change the direction of the change here */
  color: #fff;
  text-decoration: none;
}


.btn-grad4 {
  background-image: linear-gradient(to right, #16222A 0%, #3A6073  51%, #16222A  100%);
  margin: 10px;
  font-size: 0.9rem;
  position: relative;
  width: 190px;
  height: 62px;
  padding: 15px 5px;
  text-align: center;
  text-transform: uppercase;
  transition: 0.5s;
  background-size: 200% auto;
  color: white;            
  box-shadow: 0 0 20px #eee; 
  border-radius: 8px;
}

.btn-grad4:hover {
  background-position: right center; /* change the direction of the change here */
  color: #fff;
  text-decoration: none;
}


.btn-grad3 {
  background-image: linear-gradient(to right, #EB3349 0%, #F45C43  51%, #EB3349  100%);
  margin: 10px;
  width: 180px;
  padding: 15px 5px;
  text-align: center;
  text-transform: uppercase;
  transition: 0.5s;
  background-size: 200% auto;
  color: white;            
  box-shadow: 0 0 20px #eee;
  border-radius: 10px;
  display: block;
}

.btn-grad3:hover {
  background-position: right center; /* change the direction of the change here */
  color: #fff;
  text-decoration: none;
}

.menu-icon {
  margin-left: .05rem;
  font-size: 1.2rem;
  margin-right: .2rem;
  text-align: center;
  width: 25px;
}

.input_form {
	margin: 10px 0px 0px 0px;
	padding: 10px;
	border: 1px #CCC solid;
	background: #F4F4F4;
}
.input_form input,.input_form select{
	border-radius: 3px;
	border: 1px solid #BBB;
	font-size: 16px;
	padding: 3px;
	box-shadow:inset 0px 0px 2px 0px #CCC, 0px 0px 2px 0px #CCC;
}
#login_pin input {
	font-size:30px;
	font-weight:bold;
}
#login_pin select {
	font-size:16px;
	font-weight:bold;
	height: 34px;
}

.bg-deep-purple {
  background-color: #673AB7 !important;
  color: #fff;
}
.bg-indigo {
  background-color: #3F51B5 !important;
  color: #fff;
}
.bg-brown {
  background-color: #795548 !important;
  color: #fff;
}
.bg-gradient-purple {
  background: #673AB7 linear-gradient(180deg, #7f4cd6, #673AB7) repeat-x !important;
  color: #fff;
}
.bg-gradient-indigo {
  background: #3F51B5 linear-gradient(180deg, #5266d4, #3F51B5) repeat-x !important;
  color: #fff;
}

/* 21-09-2567 */
.variants {
  display: flex;
  justify-content: center;
  align-items: center;
}

.variants > div {
  margin-right: 5px;
}

.variants > div:last-of-type {
  margin-right: 0;
}

.file {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.file > input[type='file'] {
  display: none
}

.file > label {
  font-size: 1rem;
  font-weight: 300;
  cursor: pointer;
  outline: 0;
  user-select: none;
  border-color: rgb(216, 216, 216) rgb(209, 209, 209) rgb(186, 186, 186);
  border-style: solid;
  border-radius: 4px;
  border-width: 1px;
  background-color: hsl(0, 0%, 100%);
  color: hsl(0, 0%, 29%);
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 5px;
  padding-bottom: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.file > label:hover {
  border-color: hsl(0, 0%, 21%);
}

.file > label:active {
  background-color: hsl(0, 0%, 96%);
}

.file > label > i {
  padding-right: 5px;
}

.file--upload > label {
  color: hsl(204, 86%, 53%);
  border-color: hsl(204, 86%, 53%);
}

.file--upload > label:hover {
  border-color: hsl(204, 86%, 53%);
  background-color: hsl(204, 86%, 96%);
}

.file--upload > label:active {
  background-color: hsl(204, 86%, 91%);
}

.file--uploading > label {
  color: hsl(48, 100%, 67%);
  border-color: hsl(48, 100%, 67%);
}

.file--uploading > label > i {
  animation: pulse 5s infinite;
}

.file--uploading > label:hover {
  border-color: hsl(48, 100%, 67%);
  background-color: hsl(48, 100%, 96%);
}

.file--uploading > label:active {
  background-color: hsl(48, 100%, 91%);
}

.file--success > label {
  color: hsl(141, 71%, 48%);
  border-color: hsl(141, 71%, 48%);
}

.file--success > label:hover {
  border-color: hsl(141, 71%, 48%);
  background-color: hsl(141, 71%, 96%);
}

.file--success > label:active {
  background-color: hsl(141, 71%, 91%);
}

.file--danger > label {
  color: hsl(348, 100%, 61%);
  border-color: hsl(348, 100%, 61%);
}

.file--danger > label:hover {
  border-color: hsl(348, 100%, 61%);
  background-color: hsl(348, 100%, 96%);
}

.file--danger > label:active {
  background-color: hsl(348, 100%, 91%);
}

.file--disabled {
  cursor: not-allowed;
}

.file--disabled > label {
  border-color: #e6e7ef;
  color: #e6e7ef;
  pointer-events: none;
}
