* {
  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; }

/* 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;
}
