@font-face {
	font-family: "Notosans";
	src: url("../font/notosans/NotoSansThai-Regular.eot");
	src: url("../font/notosans/NotoSansThai-Regular.eot?#iefix") format("embedded-opentype"), url("../font/notosans/NotoSansThai-Regular.woff2") format("woff2"), url("../font/notosans/NotoSansThai-Regular.woff") format("woff"), url("../font/notosans/NotoSansThai-Regular.ttf") format("truetype"), url("../font/notosans/NotoSansThai-Regular.svg#NotoSansThai-Regular") format("svg");
}

html, body {
	font-family: "Notosans";
	color: #031b4e;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.5;

	/* filter: grayscale(10%); */
}

@media (min-width: 1600px) {
    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        max-width: 1520px;
    }
}


/* สำหรับไว้ทุกข์ */
/* .az-header-primary {
    background-color: #2955d9;
} */

.page {
	display: flex;
	flex-direction: column;
	position: relative;
	min-height: 100vh;
}

.was-validated .form-control:invalid, .form-control.is-invalid {
	border-color: #dc3545;
	padding-right: calc(1.5em + 0.75rem);
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23cd201f' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3e%3cline x1='18' y1='6' x2='6' y2='18'%3e%3c/line%3e%3cline x1='6' y1='6' x2='18' y2='18'%3e%3c/line%3e%3c/svg%3e");
	background-repeat: no-repeat;
	background-position: right calc(0.375em + 0.1875rem) center;
	background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}


.az-navbar .nav-label2 {
	font-size: 14px;
	display: none;
	/* margin-bottom: 10px; */
}

@media (min-width: 992px) {
	.az-navbar .nav-label2 {
		display: block;
	}
}

.logo-hpc {
	font-family: 'Notosans';
	color: #fff !important;
	padding-left: 10px;
}

.form-control-filter {
	display: block;
	width: 100%;
	height: 36px;
	padding: 0.375rem 0.75rem;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5;
	color: #495057;
	background-color: #fff;
	background-clip: padding-box;
	border: 1px solid #ced4da;
	border-radius: 0;
	/* transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; */
}

.form-control-filter:focus {
	color: #596882;
	background-color: #fff;
	border-color: #b3c6ff;
	outline: 0;
	box-shadow: 0 0 0 0.2rem rgba(51, 102, 255, 0.25);
}

/* end checkbox login */

.invalid-feedback {
	display: none;
	width: 100%;
	margin-top: -4px;
	font-size: inherit;
	color: #ff0000;
	text-align: center;
}

/* end checkbox */

.alert-danger {
	color: #721c24;
	background-color: #f8d7da;
	border: 1px solid #efc2c6 !important;
}

.alert-success {
	color: #1f5c01;
	background-color: #d8efcc;
	border: 1px solid #bcd8ae;
}

/* .table-bordered>thead>tr>th, .table-bordered>tbody>tr>th, .table-bordered>tfoot>tr>th, .table-bordered>thead>tr>td, .table-bordered>tbody>tr>td, .table-bordered>tfoot>tr>td {

	border-left: 0;
} */

.table-responsive {
	display: block;
	width: 100%;
	overflow-x: hidden;
	-webkit-overflow-scrolling: touch;
}

th:first-child, td:first-child {
	border-left: 0;
}

th:last-child, td:first-child {
	border-right: 0;
}

.table-hover tbody tr:hover td, .table-hover tbody tr:hover th {
	background: #fffccc;
}

.kv-panel-before {
	padding: 0px;
	border-bottom: 0 !important;
	/* border-top: 4px solid #0040ff !important; */
}

.card-header:first-child {
	border-radius: 3px;
}

.mg-t-15 {
	margin-top: 0;
	border-radius: 4px;
}

/* .card-header {

	border-bottom: 0;
} */

.card-footer {
	/* padding: 0.75rem 1.25rem; */
	height: 80px;
	background-color: rgba(0, 0, 0, 0.03);
	border-top: 0;
}

.pagination>li:first-child>a, .pagination>li:first-child>span {
	margin-left: 0;
	border-top-left-radius: 4px;
	border-bottom-left-radius: 4px;
}

.pagination>li:last-child>a, .pagination>li:last-child>span {
	border-top-right-radius: 4px;
	border-bottom-right-radius: 4px;
}

.pagination>.disabled>span, .pagination>.disabled>span:hover, .pagination>.disabled>span:focus, .pagination>.disabled>a, .pagination>.disabled>a:hover, .pagination>.disabled>a:focus {
	color: #777777;
	cursor: not-allowed;
	background-color: #fff;
	border-color: #ddd;
}

.pagination>.active>a, .pagination>.active>span, .pagination>.active>a:hover, .pagination>.active>span:hover, .pagination>.active>a:focus, .pagination>.active>span:focus {
	z-index: 3;
	color: #fff;
	cursor: default;
	background-color: #007bff;
	border-color: #007bff;
}

.pagination>.disabled>span, .pagination>.disabled>span:hover, .pagination>.disabled>span:focus, .pagination>.disabled>a, .pagination>.disabled>a:hover, .pagination>.disabled>a:focus {
	color: #333;
	cursor: not-allowed;
	background-color: #fff;
	border-color: #ddd;
}

.pagination>li>a, .pagination>li>span {
	position: relative;
	float: left;
	padding: 6px 12px;
	margin-left: -1px;
	line-height: 1.42857143;
	color: #007bff;
	text-decoration: none;
	background-color: #fff;
	border: 1px solid #dee2e6;
}

.summary {
	font-weight: 100 !important;
	margin-top: 4px;
}

.kv-loader {
	background: #fff !important;
	position: fixed;
	left: calc(50% - 50px);
	top: 50%;
	width: 56px;
	height: 56px;
	border: 8px solid rgba(0, 82, 236, 0.25);
	border-top-color: #0052ec;
	border-radius: 50%;
	-webkit-animation: spin 2s linear infinite;
	animation: spin 2s linear infinite;
}

.kv-panel-after {
	padding: 0;
	border-top: 1px solid #ddd;
}

.table tbody tr td {
	height: 40px;
	padding: 4px;
	vertical-align: middle;
}

.table thead tr th {
	vertical-align: middle;
	border-bottom: 1px solid #cdd4e0;
	height: 40px;
	padding: 2px;
}

.table thead tr td {
	vertical-align: bottom;
	border-bottom: 1px solid #cdd4e0;
	height: 40px;
	padding: 2px;
}

.table tfoot tr td {
	vertical-align: middle;
	height: 40px;
	padding: 2px;
}

.btn-secondary {
	color: #354052;
	background-color: #ffffff;
	border-color: rgba(110, 117, 130, 0.2);
	background-image: linear-gradient( -180deg, rgba(53, 64, 82, 0), rgba(53, 64, 82, 0.04) 100%);
	box-shadow: none !important;
}

.form-control {
	border-radius: 3px;
	height: 36px;
}

.az-card-signin {
	border-radius: 3px;
}

.row-sm>div {
	padding-left: 4px;
	padding-right: 4px;
}

.file-preview .fileinput-remove {
	top: 6px;
	right: 8px;
	/* line-height: 10px; */
}

.select2-container--krajee-bs4 .select2-selection--single {
	height: 36px;
	line-height: 1.5;
	padding: 0.375rem 1.5rem 0.375rem 0.75rem;
	border-radius: 1px;
}

.select2-container--krajee-bs4 .select2-results__option--highlighted[aria-selected] {
	background-color: #0052ec;
	color: #fff;
}

.select2-container--krajee-bs4.select2-container--open:not(.select2-container--disabled) .select2-selection, .select2-container--krajee-bs4:not(.select2-container--disabled) .select2-selection:focus {
	border-color: #b3c6ff;
	box-shadow: 0 0 0 0.2rem rgba(51, 102, 255, 0.25);
}

/* select เมื่อ focus */

.select2-container--krajee-bs4.select2-container--open:not(.select2-container--disabled) .select2-selection, .select2-container--krajee-bs4:not(.select2-container--disabled) .select2-selection:focus {
	border-color: #b3c6ff;
	/* box-shadow: 0 0 0 0.2rem rgba(51, 102, 255, 0.25); */
}

/* select2 เมื่อ select */

.select2-container--krajee-bs4:not(.select2-container--disabled) .select2-dropdown {
	box-shadow: 0 0.375rem 0.75rem 0.2rem rgb(0 123 255 / 25%);
	border-color: #b3c6ff;
	overflow-x: hidden;
	margin-top: -1px;
}

.select2-container--krajee-bs4 .select2-selection {
	box-shadow: none;
}

.select2-container--krajee-bs4 .select2-search--dropdown .select2-search__field {
	box-shadow: none;
	margin-bottom: 4px;
	border: 1px solid #ccc;
	border-radius: 2px;
	color: #555;
}

.select2-container--krajee-bs4 .select2-results__option[aria-selected] {
	font-size: 15px;
}

.select2-container--krajee-bs4 .select2-selection--single .select2-selection__arrow {
	border-left: 1px solid #ced3dc;
}


/* [class^='select2'] {
	border-radius: 0px !important;
  } */

  .select2-container--krajee-bs4 .select2-selection--single .select2-selection__clear {
    right: 0rem !important;
}