@font-face {
    font-family: Khmer;
    src: url('../fonts/Khmer-Regular.ttf');
}
@font-face {
    font-family: 'simkai';
    src: url('../fonts/simkai.ttf');
}

@font-face {
    font-family: 'Battambang';
    src: url('../fonts/KhmerOSbattambang.ttf');
}
@font-face {
    font-family: 'BattambangBold';
    src: url('../fonts/KhmerOSBattambangBold.ttf');
}
@font-face {
    font-family: 'Kh KoulenL';
    src: url("../fonts/KhmerOSKoulen.ttf");
}
@font-face {
    font-family: 'Myriad Variable Concept';
    src: url('../fonts/MyriadVariableConcept.otf');
}
@font-face {
    font-family: 'Algerian';
    src: url('../fonts/Algerian.ttf');
}
@font-face {
    font-family: 'Comic Sans MS';
    src: url('../fonts/COMIC.TTF');
}
@font-face {
    font-family: 'QuicksandBold';
    src: url('../fonts/QuicksandBold.ttf');
}
@font-face {
    font-family: 'AKbalthomKhmerLer';
    src: url('../fonts/AKbalthomKhmerLer.ttf');
}
@font-face {
    font-family: 'KhmerOSMoul';
    src: url('../fonts/KhmerOSMoul.ttf');
}

@font-face {
    font-family: 'KhmerOSSiemreap';
    src: url('../fonts/KhmerOSSiemreap.ttf');
}
@font-face {
    font-family: 'KhmerOSMuolPaliRegular';
    src: url('../fonts/KhmerOSMuolPaliRegular.ttf');
}
html,body {
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans", "Khmer",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji",Battambang !important;
    font-size: 12px;
    margin: 0 auto;
}


/* ------- for parsley  validation ------*/
input.parsley-error, textarea.parsley-error, select.parsley-error, .parsley-error .ms-selection .ms-list, .parsley-error .select2-container-multi .select2-choices, .parsley-error .input_validate {
    background: none repeat scroll 0 0 #fff2f2 !important;
    border: 1px solid #cc0000 !important;
}

.parsley-error-list {
    margin: 0;
    padding: 5px 0 0;
}

.parsley-errors-list li {
    list-style: none !important;
    color: #cc0000;
    font-size: 12px;
}

div.parsley-error .parsley-error-list {
    margin-top: 5px;
}

.parsley-error-list + label {
    margin-top: 10px;
}

/* ------- end of parsley  validation ------*/
.result_info {
    background-color: #d9edf7;
    height: 45px !important;
    padding: 5px !important;
    /*border-color: #bce8f1;*/
    color: #31708f;
    /*border-radius: 4px;*/
    line-height: 37px;
    margin-left: 0px;
    margin-right: 0px;
    margin-bottom: 5px;
    margin-top: 25px;
}

.datepicker {
    z-index: 1000;
}

.navbar-brand {
    padding-top: 1.5px;
    padding-left: 2px;
}

.navbar-brand img {
    height: 46px;
}

.navbar-brand-1 {
    padding: 1px 2px 0px 0px;
}
.navbar-brand-1 img {
    height: 65px;
    margin-left: -32px;
    margin-top: -4px;
    position: absolute;
}


.ui-autocomplete {
    height: 200px;
    overflow-y: scroll;
    overflow-x: hidden;
}

.top_action_button {
    padding-left: 5px;
}

.no_wrap {
    white-space: nowrap;
}

.alright {
    text-align: right;
}

.btn span.glyphicon {
    opacity: 0;
}

.btn.active span.glyphicon {
    opacity: 1;
}

body {
    margin: 0 !important;
}

.error {
    color: red !important;
}

.form-control.error {
    border: 1px solid red !important;
}

.panel-default-success .panel-heading {
    background-color: #2b3087 !important;
    border-radius: 0px !important;
    color: #ffffff !important;
}
.note-editor .panel-default .panel-heading {
    background-color: #f5f5f5 !important;
    border-radius: 0px !important;
    color: #ffffff !important;
}
.panel {
    border-radius: 4px !important;
}

.panel-default-success {
    border: 1px solid #2b3087 !important;
}

.form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control {
    cursor: not-allowed;
    background-color: #eee;
    opacity: 1;
    border-radius: 0 !important;
}
.btn--action {
    border-radius: 50% !important;
    width: 32px !important;
    display: flex !important;
    height: 32px !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0px !important;
    margin-top: -6px !important;
    color: #222222 !important;
    font-size: 16px !important;
}
.btn--action:hover{
    background-color: #cccccc !important;
}
.btn--action[aria-expanded="true"] {
    background-color: #cccccc !important;
}
.btn-group.open .dropdown-toggle {
    box-shadow: none !important;
}
.datepicker {
    margin-top: 0 !important;
}
.form_sep {
    margin-bottom: 10px !important;
}
.form-group {
    position: relative;
}
.select2 ~ .error{
    position: absolute;
    bottom: -23px;
    left: 0;
}
.select2-multiple ~ .error{
    position: absolute;
    bottom: -23px;
    left: 0;
}
select.error ~ .select2-container .select2-selection {
    border-color: red !important;
     margin-bottom: 32px;
}
.select2-container--default .select2-selection--multiple {
    background-color: white;
    border: 1px solid #aaa;
    border-radius: 0;
    cursor: text;
}
.select2-container--default.select2-container--focus .select2-selection--multiple {
    border: 1px solid #aaa;}
.select2-container--default .select2-selection--multiple {
    min-height: 34px !important;
}
.custom-control {
    position: relative;
    display: block;
    min-height: 1.5rem;
    padding-left: 2.4rem
}

.custom-control-inline {
    display: -ms-inline-flexbox;
    display: inline-flex;
    margin-right: 1rem
}

.custom-control-input {
    position: absolute;
    left: 0;
    z-index: -1;
    width: 1rem;
    height: 1.25rem;
    opacity: 0
}

.custom-control-input:checked~.custom-control-label::before {
    color: #fff;
    border-color: #337ab7;
    background-color: #337ab7
}

.custom-control-input:focus~.custom-control-label::before {
    box-shadow: 0 0 0 .2rem rgba(0, 123, 255, .25)
}

.custom-control-input:focus:not(:checked)~.custom-control-label::before {
    border-color: #80bdff
}

.custom-control-input:not(:disabled):active~.custom-control-label::before {
    color: #fff;
    background-color: #b3d7ff;
    border-color: #b3d7ff
}

.custom-control-input:disabled~.custom-control-label,
.custom-control-input[disabled]~.custom-control-label {
    color: #6c757d
}

.custom-control-input:disabled~.custom-control-label::before,
.custom-control-input[disabled]~.custom-control-label::before {
    background-color: #e9ecef
}

.custom-control-label {
    position: relative;
    margin-bottom: 0;
    cursor: pointer;
    vertical-align: top
}

.custom-control-label::before {
    position: absolute;
    top: 0;
    left: -2.4rem;
    display: block;
    width: 1.5rem;
    height: 1.5rem;
    pointer-events: none;
    content: "";
    background-color: #fff;
    padding-right: 10px;
    border: #adb5bd solid 1px;
}

.custom-control-label::after {
    position: absolute;
    top: 0;
    left: -2.4rem;
    display: block;
    width: 1.5rem;
    height: 1.5rem;
    content: "";
    background: no-repeat 50%/50% 50%;
}

.custom-checkbox .custom-control-label::before {
    border-radius: .25rem
}

.custom-checkbox .custom-control-input:checked~.custom-control-label::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26l2.974 2.99L8 2.193z'/%3e%3c/svg%3e")
}

.custom-checkbox .custom-control-input:indeterminate~.custom-control-label::before {
    border-color: #337ab7;
    background-color: #337ab7
}

.custom-checkbox .custom-control-input:indeterminate~.custom-control-label::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' viewBox='0 0 4 4'%3e%3cpath stroke='%23fff' d='M0 2h4'/%3e%3c/svg%3e")
}

.custom-checkbox .custom-control-input:disabled:checked~.custom-control-label::before {
    background-color: rgba(0, 123, 255, .5)
}

.custom-checkbox .custom-control-input:disabled:indeterminate~.custom-control-label::before {
    background-color: rgba(0, 123, 255, .5)
}

.custom-radio .custom-control-label::before {
    border-radius: 50%
}

.custom-radio .custom-control-input:checked~.custom-control-label::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e")
}

.custom-radio .custom-control-input:disabled:checked~.custom-control-label::before {
    background-color: rgba(0, 123, 255, .5)
}

.custom-switch {
    padding-left: 2.25rem
}

.custom-switch .custom-control-label::before {
    left: -2.25rem;
    width: 1.75rem;
    pointer-events: all;
    border-radius: .5rem
}

.custom-switch .custom-control-label::after {
    top: calc(.25rem + 2px);
    left: calc(-2.25rem + 2px);
    width: calc(1rem - 4px);
    height: calc(1rem - 4px);
    background-color: #adb5bd;
    border-radius: .5rem;
    transition: background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out, -webkit-transform .15s ease-in-out;
    transition: transform .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    transition: transform .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out, -webkit-transform .15s ease-in-out
}

@media (prefers-reduced-motion:reduce) {
    .custom-switch .custom-control-label::after {
        transition: none
    }
}

.custom-switch .custom-control-input:checked~.custom-control-label::after {
    background-color: #fff;
    -webkit-transform: translateX(.75rem);
    transform: translateX(.75rem)
}

.custom-switch .custom-control-input:disabled:checked~.custom-control-label::before {
    background-color: rgba(0, 123, 255, .5)
}

.custom-select {
    display: inline-block;
    width: 100%;
    height: calc(1.5em + .75rem + 2px);
    padding: .375rem 1.75rem .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    vertical-align: middle;
    background: #fff url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") no-repeat right .75rem center/8px 10px;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none
}

.custom-select:focus {
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 .2rem rgba(0, 123, 255, .25)
}

.custom-select:focus::-ms-value {
    color: #495057;
    background-color: #fff
}

.custom-select[multiple],
.custom-select[size]:not([size="1"]) {
    height: auto;
    padding-right: .75rem;
    background-image: none
}

.custom-select:disabled {
    color: #6c757d;
    background-color: #e9ecef
}

.custom-select::-ms-expand {
    display: none
}

.custom-select:-moz-focusring {
    color: transparent;
    text-shadow: 0 0 0 #495057
}

.custom-select-sm {
    height: calc(1.5em + .5rem + 2px);
    padding-top: .25rem;
    padding-bottom: .25rem;
    padding-left: .5rem;
    font-size: .875rem
}

.custom-select-lg {
    height: calc(1.5em + 1rem + 2px);
    padding-top: .5rem;
    padding-bottom: .5rem;
    padding-left: 1rem;
    font-size: 1.25rem
}

.custom-file {
    position: relative;
    display: inline-block;
    width: 100%;
    height: calc(1.5em + .75rem + 2px);
    margin-bottom: 0
}

.custom-file-input {
    position: relative;
    z-index: 2;
    width: 100%;
    height: calc(1.5em + .75rem + 2px);
    margin: 0;
    opacity: 0
}

.custom-file-input:focus~.custom-file-label {
    border-color: #80bdff;
    box-shadow: 0 0 0 .2rem rgba(0, 123, 255, .25)
}

.custom-file-input:disabled~.custom-file-label,
.custom-file-input[disabled]~.custom-file-label {
    background-color: #e9ecef
}

.custom-file-input:lang(en)~.custom-file-label::after {
    content: "Browse"
}

.custom-file-input~.custom-file-label[data-browse]::after {
    content: attr(data-browse)
}

.custom-file-label {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1;
    height: calc(1.5em + .75rem + 2px);
    padding: .375rem .75rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: .25rem
}

.custom-file-label::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    display: block;
    height: calc(1.5em + .75rem);
    padding: .375rem .75rem;
    line-height: 1.5;
    color: #495057;
    content: "Browse";
    background-color: #e9ecef;
    border-left: inherit;
    border-radius: 0 .25rem .25rem 0
}

.custom-range {
    width: 100%;
    height: 1.4rem;
    padding: 0;
    background-color: transparent;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none
}

.custom-range:focus {
    outline: 0
}

.custom-range:focus::-webkit-slider-thumb {
    box-shadow: 0 0 0 1px #fff, 0 0 0 .2rem rgba(0, 123, 255, .25)
}

.custom-range:focus::-moz-range-thumb {
    box-shadow: 0 0 0 1px #fff, 0 0 0 .2rem rgba(0, 123, 255, .25)
}

.custom-range:focus::-ms-thumb {
    box-shadow: 0 0 0 1px #fff, 0 0 0 .2rem rgba(0, 123, 255, .25)
}

.custom-range::-moz-focus-outer {
    border: 0
}

.custom-range::-webkit-slider-thumb {
    width: 1rem;
    height: 1rem;
    margin-top: -.25rem;
    background-color: #337ab7;
    border: 0;
    border-radius: 1rem;
    -webkit-transition: background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    transition: background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    -webkit-appearance: none;
    appearance: none
}

@media (prefers-reduced-motion:reduce) {
    .custom-range::-webkit-slider-thumb {
        -webkit-transition: none;
        transition: none
    }
}

.custom-range::-webkit-slider-thumb:active {
    background-color: #b3d7ff
}

.custom-range::-webkit-slider-runnable-track {
    width: 100%;
    height: .5rem;
    color: transparent;
    cursor: pointer;
    background-color: #dee2e6;
    border-color: transparent;
    border-radius: 1rem
}

.custom-range::-moz-range-thumb {
    width: 1rem;
    height: 1rem;
    background-color: #337ab7;
    border: 0;
    border-radius: 1rem;
    -moz-transition: background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    transition: background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    -moz-appearance: none;
    appearance: none
}

@media (prefers-reduced-motion:reduce) {
    .custom-range::-moz-range-thumb {
        -moz-transition: none;
        transition: none
    }
}

.custom-range::-moz-range-thumb:active {
    background-color: #b3d7ff
}

.custom-range::-moz-range-track {
    width: 100%;
    height: .5rem;
    color: transparent;
    cursor: pointer;
    background-color: #dee2e6;
    border-color: transparent;
    border-radius: 1rem
}

.custom-range::-ms-thumb {
    width: 1rem;
    height: 1rem;
    margin-top: 0;
    margin-right: .2rem;
    margin-left: .2rem;
    background-color: #337ab7;
    border: 0;
    border-radius: 1rem;
    -ms-transition: background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    transition: background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    appearance: none
}

@media (prefers-reduced-motion:reduce) {
    .custom-range::-ms-thumb {
        -ms-transition: none;
        transition: none
    }
}

.custom-range::-ms-thumb:active {
    background-color: #b3d7ff
}

.custom-range::-ms-track {
    width: 100%;
    height: .5rem;
    color: transparent;
    cursor: pointer;
    background-color: transparent;
    border-color: transparent;
    border-width: .5rem
}

.custom-range::-ms-fill-lower {
    background-color: #dee2e6;
    border-radius: 1rem
}

.custom-range::-ms-fill-upper {
    margin-right: 15px;
    background-color: #dee2e6;
    border-radius: 1rem
}

.custom-range:disabled::-webkit-slider-thumb {
    background-color: #adb5bd
}

.custom-range:disabled::-webkit-slider-runnable-track {
    cursor: default
}

.custom-range:disabled::-moz-range-thumb {
    background-color: #adb5bd
}

.custom-range:disabled::-moz-range-track {
    cursor: default
}

.custom-range:disabled::-ms-thumb {
    background-color: #adb5bd
}

.custom-control-label::before,
.custom-file-label,
.custom-select {
    transition: background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out
}

@media (prefers-reduced-motion:reduce) {

    .custom-control-label::before,
    .custom-file-label,
    .custom-select {
        transition: none
    }
}
.input-right {
    padding-left: 0 !important;
    margin-right: 16px !important;
}
.input-right label.custom-control-label::after {
    left: auto !important;
    right: -23px !important;
}
.input-right label.custom-control-label::before {
    left: auto !important;
    right: -23px !important;
}
/*.bootstrap-select .btn {
    padding: 5px 12px;
    border: none;
}
.bootstrap-select .btn:focus {
    outline: none !important;
    background: none !important;
}
.bootstrap-select .dropdown-toggle:focus, .bootstrap-select>select.mobile-device:focus+.dropdown-toggle {
    outline: none !important;
    background: none !important;
}
.bootstrap-select .btn:active {
    outline: none !important;
    background: none !important;
}

.bootstrap-select .btn-default.active,
.bootstrap-select .btn-default.focus,
.bootstrap-select .btn-default:active,
.bootstrap-select .btn-default:focus,
.bootstrap-select .btn-default:hover,
.bootstrap-select.open>.dropdown-toggle.btn-default {
     outline: none !important;
    background: none !important;
}*/


.contant-report {
    width: 900px;
}
.contant-report table tbody tr,.contant-report table thead tr,.contant-report table tfoot tr{
    height: 22px;
}
.contant-report table thead tr th{
    border:1px solid black;
    text-align: center;
    background-color: #e6e6e6 !important;
}

.contant-report table tbody tr td{
    border: 1px solid black;
    text-align: center;
}

.bootstrap-select .btn.dropdown-toggle.btn-default
{
    outline: 0 !important;
    border: none !important;
    background: none !important;
}
.form-control-sm.bootstrap-select .btn.dropdown-toggle.btn-default
{
    margin-top: 3px !important;
}
.select2 span:focus{
    outline: none !important;
}
.navbar-brand>img {
    width: auto !important;
}

label.required::after {
    content: '*';
    color: red !important;
}
.flex-end {
    display: flex;
    justify-content: flex-end;
}
