* {
  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 !important;
	display: block !important; */
	margin:0 !important; padding:0 !important;
  /* margin-left:10px;
	margin-right:10px; */
	border:2px solid rgba(0,0,0,0.10) !important;
	width:24px !important;
	height:24px !important;
}
/* 18-10-2566 */
.txt-s12 { font-size:12px; }
.txt-s13 { font-size:13px; }
.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; }

/* Line height | 14-03-2568 */
.txt-lh12 { line-height:12px; }
.txt-lh13 { line-height:13px; }
.txt-lh14 { line-height:14px; }
.txt-lh15 { line-height:15px; }
.txt-lh16 { line-height:16px; }
.txt-lh17 { line-height:17px; }
.txt-lh18 { line-height:18px; }
.txt-lh19 { line-height:19px; }
.txt-lh20 { line-height:20px; }
.txt-lh21 { line-height:21px; }
.txt-lh22 { line-height:22px; }
.txt-lh23 { line-height:23px; }
.txt-lh24 { line-height:24px; }

/* 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:before {
  content: "";
}
.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; */

  font-family:fontAwesome;
  content: "\f00c";
  color: #fff;
  height: 21px;
  width: 21px;
  border: 0;
  border-radius: 4px;
  background-color: #339914;
   
  display: inline-block;
  padding-left: 3px;
  margin-right: 8px;
  vertical-align: text-top;
}
.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: #0e0505;
}
.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';
}
/* สีสำหรับส่วนหัวของกลุ่ม 17-05-2568 */
.select2-container--default .select2-results__group {
  background-color: #e9f5e9;
  font-weight: bold;
  padding: 6px 8px;
}

/* 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;
}
.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;
}

/*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;
}
/** The Magic **/
.btn-breadcrumb .btn:not(:last-child):after {
  content: " ";
  display: block;
  width: 0;
  height: 0;
  border-top: 17px solid transparent;
  border-bottom: 17px solid transparent;
  border-left: 10px solid white;
  position: absolute;
  top: 50%;
  margin-top: -17px;
  left: 100%;
  z-index: 3;
}
.btn-breadcrumb .btn:not(:last-child):before {
  content: " ";
  display: block;
  width: 0;
  height: 0;
  border-top: 17px solid transparent;
  border-bottom: 17px solid transparent;
  border-left: 10px solid rgb(173, 173, 173);
  position: absolute;
  top: 50%;
  margin-top: -17px;
  margin-left: 1px;
  left: 100%;
  z-index: 3;
}

/** The Spacing **/
.btn-breadcrumb .btn {
  padding:6px 12px 6px 24px;
}
.btn-breadcrumb .btn:first-child {
  padding:6px 6px 6px 10px;
}
.btn-breadcrumb .btn:last-child {
  padding:6px 18px 6px 24px;
}

/** Default button **/
.btn-breadcrumb .btn.btn-default:not(:last-child):after {
  border-left: 10px solid #fff;
}
.btn-breadcrumb .btn.btn-default:not(:last-child):before {
  border-left: 10px solid #ccc;
}
.btn-breadcrumb .btn.btn-default:hover:not(:last-child):after {
  border-left: 10px solid #ebebeb;
}
.btn-breadcrumb .btn.btn-default:hover:not(:last-child):before {
  border-left: 10px solid #adadad;
}

/** Primary button **/
.btn-breadcrumb .btn.btn-primary:not(:last-child):after {
  border-left: 10px solid #428bca;
}
.btn-breadcrumb .btn.btn-primary:not(:last-child):before {
  border-left: 10px solid #357ebd;
}
.btn-breadcrumb .btn.btn-primary:hover:not(:last-child):after {
  border-left: 10px solid #3276b1;
}
.btn-breadcrumb .btn.btn-primary:hover:not(:last-child):before {
  border-left: 10px solid #285e8e;
}

/** Success button **/
.btn-breadcrumb .btn.btn-success:not(:last-child):after {
  border-left: 10px solid #5cb85c;
}
.btn-breadcrumb .btn.btn-success:not(:last-child):before {
  border-left: 10px solid #4cae4c;
}
.btn-breadcrumb .btn.btn-success:hover:not(:last-child):after {
  border-left: 10px solid #47a447;
}
.btn-breadcrumb .btn.btn-success:hover:not(:last-child):before {
  border-left: 10px solid #398439;
}

/** Danger button **/
.btn-breadcrumb .btn.btn-danger:not(:last-child):after {
  border-left: 10px solid #d9534f;
}
.btn-breadcrumb .btn.btn-danger:not(:last-child):before {
  border-left: 10px solid #d43f3a;
}
.btn-breadcrumb .btn.btn-danger:hover:not(:last-child):after {
  border-left: 10px solid #d2322d;
}
.btn-breadcrumb .btn.btn-danger:hover:not(:last-child):before {
  border-left: 10px solid #ac2925;
}

/** Warning button **/
.btn-breadcrumb .btn.btn-warning:not(:last-child):after {
  border-left: 10px solid #f0ad4e;
}
.btn-breadcrumb .btn.btn-warning:not(:last-child):before {
  border-left: 10px solid #eea236;
}
.btn-breadcrumb .btn.btn-warning:hover:not(:last-child):after {
  border-left: 10px solid #ed9c28;
}
.btn-breadcrumb .btn.btn-warning:hover:not(:last-child):before {
  border-left: 10px solid #d58512;
}

/** Info button **/
.btn-breadcrumb .btn.btn-info:not(:last-child):after {
  border-left: 10px solid #5bc0de;
}
.btn-breadcrumb .btn.btn-info:not(:last-child):before {
  border-left: 10px solid #46b8da;
}
.btn-breadcrumb .btn.btn-info:hover:not(:last-child):after {
  border-left: 10px solid #39b3d7;
}
.btn-breadcrumb .btn.btn-info:hover:not(:last-child):before {
  border-left: 10px solid #269abc;
}

/* radio | 11-04-2568 */
.funkyradio div {
  clear: both;
  overflow: hidden;
}

.funkyradio label {
  width: 100%;
  border-radius: 3px;
  border: 1px solid #D1D3D4;
  font-weight: normal;
}

.funkyradio input[type="radio"]:empty,
.funkyradio input[type="checkbox"]:empty {
  display: none;
}

.funkyradio input[type="radio"]:empty ~ label,
.funkyradio input[type="checkbox"]:empty ~ label {
  position: relative;
  line-height: 2.5em;
  text-indent: 3.25em;
  margin-top: 0.5em;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

.funkyradio input[type="radio"]:empty ~ label:before,
.funkyradio input[type="checkbox"]:empty ~ label:before {
  position: absolute;
  display: block;
  top: 0;
  bottom: 0;
  left: 0;
  content: '';
  width: 2.5em;
  background: #D1D3D4;
  border-radius: 3px 0 0 3px;
}

.funkyradio input[type="radio"]:hover:not(:checked) ~ label,
.funkyradio input[type="checkbox"]:hover:not(:checked) ~ label {
  color: #888;
}

.funkyradio input[type="radio"]:hover:not(:checked) ~ label:before,
.funkyradio input[type="checkbox"]:hover:not(:checked) ~ label:before {
  content: '\2714';
  text-indent: .9em;
  color: #C2C2C2;
}

.funkyradio input[type="radio"]:checked ~ label,
.funkyradio input[type="checkbox"]:checked ~ label {
  color: #777;
}

.funkyradio input[type="radio"]:checked ~ label:before,
.funkyradio input[type="checkbox"]:checked ~ label:before {
  content: '\2714';
  text-indent: .9em;
  color: #333;
  background-color: #ccc;
}

.funkyradio input[type="radio"]:focus ~ label:before,
.funkyradio input[type="checkbox"]:focus ~ label:before {
  box-shadow: 0 0 0 3px #999;
}

.funkyradio-default input[type="radio"]:checked ~ label:before,
.funkyradio-default input[type="checkbox"]:checked ~ label:before {
  color: #333;
  background-color: #ccc;
}

.funkyradio-primary input[type="radio"]:checked ~ label:before,
.funkyradio-primary input[type="checkbox"]:checked ~ label:before {
  color: #fff;
  background-color: #337ab7;
}

.funkyradio-success input[type="radio"]:checked ~ label:before,
.funkyradio-success input[type="checkbox"]:checked ~ label:before {
  color: #fff;
  background-color: #5cb85c;
}

.funkyradio-danger input[type="radio"]:checked ~ label:before,
.funkyradio-danger input[type="checkbox"]:checked ~ label:before {
  color: #fff;
  background-color: #d9534f;
}

.funkyradio-warning input[type="radio"]:checked ~ label:before,
.funkyradio-warning input[type="checkbox"]:checked ~ label:before {
  color: #fff;
  background-color: #f0ad4e;
}

.funkyradio-info input[type="radio"]:checked ~ label:before,
.funkyradio-info input[type="checkbox"]:checked ~ label:before {
  color: #fff;
  background-color: #5bc0de;
}

/* underline | 12-04-2568 */
.underline {
  border-bottom: 1px dashed #999;
  line-height: 22px;
}
