/* @font-face {
	font-family: 'cambria_win';
	src: url('../../fonts/cambria/Cambria-Font-For-Windows.ttf');
}

@font-face {
	font-family: 'cambria_mac';
	src: url('../../fonts/cambria/Cambria-Font-For-MAC.ttf');
}

@font-face {
	font-family: 'cambria_linux';
	src: url('../../fonts/cambria/Cambria-Font-For-Linux.ttf');
}
@font-face {
	font-family: khmerosbattambang_r;
	src: url("../../fonts/khmerosbattambang_r.ttf");
	font-weight: regular;
} */

html {
	-webkit-font-smoothing: antialiased;
}
.page-header-margin {
	margin-top: 50px !important;
}

.dropdown-auto-width .dropdown-menu {
	min-width: auto;
	width: 100%;
}
.dropdown-menu {
	/* border: 1px solid rgba(0, 0, 0, .15) !important; */
}
#notification .media.active {
	background: #0000000d;
}

#notification .media {
	border-bottom: 1px solid #dddddd;
}

#notification .media:last-child {
	border-bottom: none;
}

.slim-scroll {
	position: relative;
	overflow-y: hidden;
}

.content-chat .media-list-linked a.media.active {
	background-color: rgba(0, 0, 0, 0.04) !important;
}

.content-chat .media-list-linked .media {
	padding: 0.3125rem 0.3125rem !important;
	margin: 0 0.625rem !important;
	border-radius: 0.5rem !important;
}
.content-chat .media-chat-item {
	padding: 0.25rem 1rem !important;
}
.content-chat .media-chat-item:before {
	top: 0.625rem;
}

/*Page header*/
.page-header .breadcrumb-line-component {
	margin-left: 0;
	margin-right: 0;
}

table.dataTable {
	width: 100% !important;
}

/* table td{
    white-space: nowrap !important;
} */

.bg-darkblue {
	background-color: #0e2040 !important;
}

.navbar-brand img {
	height: 3rem;
	display: block;
}

.navbar-brand {
	padding: 0;
}
.card {
	border: 1px solid rgba(0, 0, 0, 0.125);
}
.paginate_button.current {
	background-color: #0e2040 !important;
}

.img_thumb {
	object-fit: cover;
	border: 1px solid #ccc;
	width: 55;
	height: 70;
}

.fancytree-container ul {
	padding-left: 2.3rem;
}

.sidebar {
	width: 20.875rem;
}
.hidden {
	display: none !important;
}

.borderless td,
.borderless th {
	border: none;
}
.box-tbl {
	min-height: 200px;
	background: #f5f6f7;
	border: 1px solid #f3f2f2;
}
#teacher_subject i {
	cursor: pointer;
}

#teacher_subject thead {
	background: #f4f4f4;
	border-radius: 3px;
}
.select_subject {
	background: #fff;
}
#box-select {
	background: #f4f4f4;
	padding: 7px;
}

.select2-selection--multiple .select2-search--inline {
	float: none;
	padding: 1px;
}

.select2-selection--multiple .select2-selection__choice {
	background-color: #455a64;
	color: #fff;
	cursor: default;
	float: left;
	margin-right: 0.125rem;
	margin-top: 0.125rem;
	padding: 0.3125rem 0.875rem;
	white-space: normal;
	word-break: break-all;
	border-radius: 0.1875rem;
	transition: color ease-in-out 0.15s, background-color ease-in-out 0.15s;
}

.select2-selection--multiple
	.select2-selection__choice
	.select2-selection__choice__remove {
	cursor: pointer;
	float: right;
	font-size: 1.275rem;
	margin-top: 0.18752rem;
	line-height: 1;
	margin-left: 0.625rem;
	opacity: 0.75;
	transition: opacity ease-in-out 0.15s;
}
table.table * {
	white-space: nowrap !important;
}

table.table td {
	padding: 0.60rem .30rem;
    font-weight: 450;
    color: #374957;
}

.form-control:disabled,
.form-control[readonly] {
	background-color: #f5f5f5;
	opacity: 1;
	border: 1px solid #dddddd;
}

.error {
	color: #f44336 !important;
}
[data-toggle="collapse"] {
	cursor: pointer;
}

.div-bordered {
	border: 1px solid rgb(243, 245, 249) !important;
	border-radius: 0.1875rem !important;
	padding: 1.5% 0 !important;
	margin: 0 1% !important;
	/* background-color: rgb(243, 245, 249) !important; */
}
.div-bordered tr td{
	color: #031b4e !important;
}
.medium-img-thumb {
	width: 110px;
	height: 140px;
}

.form-group {
	align-items: baseline;
}

.bg-readonly {
	background-color: #f5f5f5;
	opacity: 1;
	border-radius: none;
	border: none;
}

.text-darkblue {
	color: #004 !important;
}

.badge {
	font-size: 95%;
}

i.text-desc {
	font-size: 0.9em;
}

/* BLUR MODAL BACKDROP */
.modal-backdrop {
	background-color: rgba(0, 0, 0, 0.5);
	/* backdrop-filter: blur(1px); */
	/* -webkit-backface-visibility: hidden;
    -webkit-perspective: 1000;
    -webkit-transform: translate3d(0,0,0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000;
    transform: translate3d(0,0,0);
    transform: translateZ(0); */
}

.modal-backdrop.show {
	opacity: inherit;
}

.bootbox.modal {
	display: flex !important;
	align-items: center;
	/* justify-content: center; */
}

.bootbox .modal-dialog {
	min-width: 30%;
}

.rounded-circle {
	object-fit: cover;
}

th {
	font-weight: bold !important;
}

@font-face {
	font-family: Moul;
	src: url("../../fonts/Moul_Regular.ttf");
}
@font-face {
	font-family: Felipa;
	src: url("../../fonts/Felipa-Regular.ttf");
}

.font_moul {
	font-family: Moul;
}

.noty_body {
	word-break: break-all;
}
.ui-front {
	z-index: 1050;
}

a.disabled {
	cursor: not-allowed;
	pointer-events: none;
}
.card-title {
	white-space: nowrap;
}

.select2-selection--multiple .select2-selection__choice:hover {
	background-color: #e5e5e5;
	color: #666;
}
.select2-selection--multiple .select2-selection__choice {
	background-color: #eaeaea;
	color: #666;
	border-radius: 0;
	height: 100%;
	display: flex;
	flex-direction: row-reverse;
	align-items: center;
}

.ui-datepicker
	.ui-datepicker-calendar
	td.ui-datepicker-current-day
	.ui-state-active {
	background-color: #000044;
	color: white;
}
select.form-control[multiple],
select.form-control[size] {
	height: 160px;
	padding: 5px;
}

select[multiple] option,
select[size] option {
	padding: 0px 5px;
}

label.required:after {
	content: " *";
	color: red;
}

.table-scroll {
	position: relative;
	margin: auto;
	overflow: hidden;
}
.table-wrap {
	width: 100%;
	overflow: auto;
}
.table-scroll table {
	width: 100%;
	margin: auto;
	border-collapse: collapse;
	border-spacing: 0;
}
.main-table thead tr th,
.main-table tbody tr td {
	font-size: 12px;
}
.main-table tbody tr.has-input td {
	padding: 0.15rem 0.28rem;
	vertical-align: middle;
}
.main-table thead tr.has-input th {
	padding: 0.42rem 0.35rem;
}
/* .main-table thead tr th{
    padding: 0.30rem 0.25rem;
} */
.table-scroll th {
	padding: 5px 0.25rem;
}
.table-scroll th,
.table-scroll td {
	border: 1px solid #9caeaf;
	white-space: nowrap;
	vertical-align: top;
}
.table-scroll td {
	padding: 5px 0.25rem;
}
.table-scroll thead,
.table-scroll tfoot {
	background: #f9f9f9;
}
.clone {
	position: absolute;
	top: 0;
	left: 0;
	pointer-events: none;
}
.clone th,
.clone td {
	visibility: hidden;
}
.clone td,
.clone th {
	border-color: transparent;
}
/* .clone tbody th {
	visibility:visible;
	color:red;
} */
.clone .fixed-side {
	border: 1px solid #cbd9da;
	background: #fff;
	visibility: visible;
	padding-left: 4px;
	padding-right: 4px;
	/* padding-top: 3px; */
}
.clone thead,
.clone tfoot {
	background: transparent;
}

.bg_attendance {
	background: #a3f3a759 !important;
}
.bg-submited {
	background: #dff0d8 !important;
	color: #333 !important;
}
.bg-total {
	background: #fabf8e !important;
	font-size: 0.9em;
	font-weight: 400;
	text-align: center;
	color: #333 !important;
}
.main-table thead tr th {
	font-size: 11px;
}
.bg-red {
	background: #ff0100 !important;
	font-size: 9px !important;
}
.bg-ot {
	background: #31869b !important;
}
.tr_head th {
	vertical-align: middle !important;
	color: #fff;
	padding: 2px 5px !important;
	border-top: 1px solid #fff !important;
}
.table-bordered td,
.table-bordered th {
	border: 1px solid #9caeaf;
}
.btn-group-sm > .btn,
.btn-sm {
	padding: 0.1125rem 0.75rem;
}

.main-table tbody tr td {
	white-space: nowrap;
	text-align: right;
	font-size: 11px;
}
.bg-header,
.fixed-side-header-color {
	background: #2c1f72 !important;
	font-size: 11px !important;
}

.bg-orange {
	background: #db9704 !important;
}
.bg-yello {
	background: #e1f410 !important;
	color: #333 !important;
}

.b-danger {
	background: #efe9e9;
}
.b-danger1 {
	background: #efeee9;
}
.warning {
	background: #db9704 !important;
}
.color-yellow {
	color: #ffc107 !important;
}
.bg-yellow {
	background: #e1f410 !important;
	color: #333 !important;
}
.btn-group-sm > .btn,
.btn-sm {
	padding: 0.125rem 0.45rem;
}
.btn-sm i {
	font-size: 0.85rem;
}
.text-3186A0 {
	color: #3186a0 !important;
}
.text-yellow {
	color: #8c9252 !important;
}

.table-wrap {
	width: 100%;
	overflow: auto;
}

.sideways {
	margin: auto;
	border-collapse: collapse;
	width: 100%;
}

.sideways thead th {
	text-align: center;
	vertical-align: middle;
}

.sideways thead th {
	padding: 0.29rem 0.4rem;
}

.sideways thead span {
	-ms-writing-mode: tb-lr;
}

@supports (writing-mode: vertical-lr) {
	.sideways thead .subhead span {
		display: inline-block;
		writing-mode: vertical-lr;
		white-space: nowrap;
		transform: rotate(180deg);
		line-height: 0;
	}
}

/* .form-control,.form-select{
    padding: 0.45rem 0.7rem;
    font-size: 0.65rem;
} */
/* .col-form-label {
    font-size: 0.75rem;
} */
/* .page-title-box h4 {
    font-size: .78rem !important;
}
.navbar-menu .navbar-nav .nav-link{
    font-size: .8675rem;
}
.navbar-menu .navbar-nav .nav-sm .nav-link {
    font-size: .753rem;
}
.navbar-menu .navbar-nav .nav-link {
    padding: 0.315rem 1.5rem;
}
.navbar-menu .navbar-nav .nav-link {
    padding: 0.375rem 1.5rem;
} */
/* .btn {
    padding: .4rem .9rem;
    font-size: .7125rem;
} */
/* .form-select {
    background-size: 8px 12px;
} */

.table th,
.table td {
	vertical-align: middle;
}
.icon-font-16 {
	font-size: 16px;
}

.sideways {
	text-align: left;
	table-layout: fixed;
	border-collapse: collapse;
}

.sideways th {
	position: sticky;
	position: -webkit-sticky;
	top: 0;
	z-index: 1;
}

[role="region"][aria-labelledby][tabindex] {
	width: 100%;
	max-height: 93vh;
	overflow: auto;
}

#filter_div label {
    margin-bottom: 0.2rem !important;
	font-size: 9.5pt;
}
#filter_div .mb-2 {
    margin-bottom: 0.3rem !important;
}
#filter_div .select2-selection--multiple,
#filter_div .custom-select,
#filter_div .form-control,
#filter_div .select2-selection--single {
    border-radius: 0.1475rem;
}
#filter_div .select2-selection--multiple .select2-selection__rendered {
    padding: 0 0.1rem 0.1rem 0.125rem;
}
#filter_div .col-1 ,
#filter_div .col-3 ,
#filter_div .col-md-1 ,
#filter_div .col-md-2 ,
#filter_div .col-md-4 ,
#filter_div .col-md-3,
	#filter_div .col-md-6,
	#filter_div .col-md-4
	#filter_div .col-xl-1,
	#filter_div .col-xl-2,
	#filter_div .col-xl-3,
		#filter_div .col-xl-4	 {
	padding-right: 0.225rem;
    padding-left: 0.225rem;
}
#filter_div .select2-selection--multiple .select2-selection__choice {
    font-size: 9pt;
}
.clear_filter{
	margin-top: 1.44rem;
}
.select2-selection--multiple .select2-search--inline {
    /* float: none; */
    padding: 0px;
}
#filter_div .btn {
	padding: 0.2375rem 0.635rem;
    height: 2rem;
}

#filter_div .form-group {
    margin-bottom: 0.55rem;
}
td span.p-1{
	padding-bottom: 0.1125rem !important;
	padding-top: 0.1125rem !important;
}
.btn-white {
	background-color: #ffffff;
    border-color: #ddd;
}
.table-student-profile tr td,
.table-student-academic tr td{
	padding: 2px 5px;
	font-size: 12px;
}
.table-student-profile tr td{
	padding: 3px 5px;
}
.table-student-academic label{
	margin-bottom: 0px;
}
#profile_div{
	width: 100%;
}
#profile_div table tr,.div-bordered table tr {
	background-color: transparent !important;
}
#div-bordered tr td{
	white-space: nowrap;
}
.div-bordered .student-photo{
	/* flex:16%; */
	align-self: center;
}
.div-bordered .student-photo img{
	width: 110px;
    height: 130px;
}
@media (max-width: 1024px) {
	.div-bordered .student-photo img{
		width: 55px;
		height: 60px;
	}
	#profile_div table tr,.div-bordered table tr {
		font-size: 8.5pt;
	}
	.div-bordered .student-photo{
		flex:4%;
	}
  }

  /* Remove default sorting icons */
  table.dataTable thead .sorting,
  table.dataTable thead .sorting_asc,
  table.dataTable thead .sorting_desc {
	  background: none;
  }

  /* Add custom icons for sorting */
  table.dataTable thead .sorting:after {
	  content: "\f0dc";
	  /* FontAwesome icon for sort */
	  font-family: "Font Awesome 5 Free";
	  font-weight: 900;
	  padding-left: 10px;
	  color: #000;
  }

  table.dataTable thead .sorting_asc:after {
	  content: "\f0de";
	  /* FontAwesome icon for sort up */
	  font-family: "Font Awesome 5 Free";
	  font-weight: 900;
	  padding-left: 10px;
	  color: #000;
  }

  .dataTable thead .sorting:after,
  .dataTable thead .sorting:before,
  .dataTable thead .sorting_asc:after,
  .dataTable thead .sorting_asc_disabled:after,
  .dataTable thead .sorting_desc:after,
  .dataTable thead .sorting_desc_disabled:after {
	  content: '';
	  font-family: icomoon;
	  position: absolute;
	  top: 50%;
	  right: 1rem;
	  font-size: .75rem;
	  margin-top: -.375rem;
	  display: inline-block;
	  line-height: 1;
	  -webkit-font-smoothing: antialiased;
	  -moz-osx-font-smoothing: grayscale
  }

  table.dataTable thead .sorting_desc:after {
	  content: "\f0dd";
	  /* FontAwesome icon for sort down */
	  font-family: "Font Awesome 5 Free";
	  font-weight: 900;
	  padding-left: 10px;
	  color: #000;
  }
  .navbar-dark .navbar-nav-link {
    color: #000 !important;
}

.sidebar-dark .nav-sidebar .nav-link, .sidebar-light .card[class*=bg-]:not(.bg-light):not(.bg-white):not(.bg-transparent) .nav-sidebar .nav-link {
    color: #ffffff;
}
/* .datatable-ajax td, .datatable-ajax th {
    padding: .75rem .0rem;
} */
.dataTable thead .sorting, .dataTable thead .sorting_asc, .dataTable thead .sorting_asc_disabled, .dataTable thead .sorting_desc, .dataTable thead .sorting_desc_disabled {
    padding-right: 1.8rem;
}
.dataTable tbody td, .dataTable tbody th,
.dataTable thead td, .dataTable thead th {
    font-size: 9pt;
}
.cover-search {
	background: #f3f8ff;
	padding: 5px;
	border-radius: 2px;
	border: 1px solid #f1f1f1;
	box-shadow: 1px 2px 4px 0 rgba(0, 0, 0, .03);
}

#default_row {
	height: 50px;
}

.card-footer {
	padding: .9375rem 1.25rem;
	background-color: transparent;
}

#searchStudentCode {
	height: 40px;
	/* border: 1px solid #719ECE; */
}

#btn_search_left {
	border-top-left-radius: 2px;
	border-bottom-left-radius: 2px;

	border: 1px solid #ddd;
	border-right: none;
}


#searchStudentCode:focus {
	outline: none !important;
	border: 1px solid #719ECE;
	box-shadow: 0 0 10px #719ECE;
}
.table-striped tbody tr:nth-of-type(odd) {
    /* background-color: rgb(243, 245, 249); */
	background-color: transparent;
}
.dataTable tbody tr:hover {
	background-color:  #f3f5f9 !important;
	/* transform: scale(1.002); */
}
/* .table th{
	color: #031b4e;
} */
.table td {
	/* font-family: cambria_mac, cambria_win, cambria_linux, khmerosbattambang_r; */
    border-top:1px solid rgb(229, 232, 237) !important;
}
.dataTable thead tr{
	background-color: #f3f5f9;
}
.text-brand {
	color: #0e2040 !important;
}
.text-disabled{
	color: #cccccc !important;
}
table.formTable{
	border-collapse: separate;
    border-spacing: 10px;
}
table.formTable tbody tr:nth-of-type(odd) {
    background-color:transparent;
}
.company-color,
.company-color a{
	color: #0e2040 !important;
}
.company-color a {
	text-decoration: underline;
}
.header-elements .bg-darkblue,
.card-header .bg-darkblue,
.filter_btn{
	background-color: #d3dbec !important;
    color: #000 !important;
    border: 1px solid #c5ccdd;
}
.form-control{
	border: 1px solid rgb(193, 199, 208);
	border-radius: 0;
}
.select2-selection--single:not([class*=bg-]):not([class*=border-]) {
	border: 1px solid rgb(193, 199, 208);
	border-radius: 0;
}
label {
    color: #172B4D;
}
.select2-selection--single .select2-selection__placeholder {
    color: #dcd9d9;
}
.select2-selection--single .select2-selection__placeholder {
    color: #dcd9d9;
}
.form-control::placeholder { /* For most modern browsers */
    color: #dcd9d9; /* Red color */
    opacity: 1; /* Firefox reduces opacity by default */
}

.form-control  :-ms-input-placeholder { /* For Internet Explorer 10-11 */
    color: #dcd9d9;
}

.form-control  ::-ms-input-placeholder { /* For Microsoft Edge */
    color: #dcd9d9;
}
.badge {
	display: inline-block;
	padding: 0.35em 0.65em;
	font-size: 0.75em;
	font-weight: 700;
	line-height: 1;
	/* color: white; */
	text-align: center;
	white-space: nowrap;
	vertical-align: baseline;
	border-radius: 0.25rem;
  }
.badge-success { background-color: #2ecc71; } 
a.btn,
button.btn {
    padding: .2375rem .875rem;
}