@import "font.css";

body {
    font-family: "Done", "Roboto", "Khmer OS Battambang", "Helvetica Neue", Arial, sans-serif;
    background: #f2f2f2;
    margin: 0;
    padding: 0;
    font-size: 13px;
}

strong {
    font-weight: 500;
}

h4 {
    color: gray;
    padding-left: 20px;
    font-size: 2.28rem;
    line-height: 110%;
    margin: 1.14rem 0 0.912rem 0;
}

p.noresult {
    padding-left: 20px;
    color: gray;
}

html, body, .container-table {
    height: 100%;
}

.container-table {
    display: table;
}

.vertical-center-row {
    display: table-cell;
    vertical-align: middle;
}

/*login*/
.well {
    margin: 0 auto;
    width: 420px;
    padding: 40px 25px 40px;
    background-color: #ffffff;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.24), 0 0 2px 0 rgba(0, 0, 0, 0.12);
    border-style: solid;
    border-width: 1px;

    border-image-source: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0) 80%, rgba(0, 0, 0, 0.02) 95%, rgba(0, 0, 0, 0.04));
    border-image-slice: 1;

    background-image: -webkit-linear-gradient(top, #fafeff, #28a74505);
    background-image: -o-linear-gradient(top, #fafeff, #28a74505);
    background-image: linear-gradient(top, #fafeff, #28a74505);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fafeff', endColorstr='#f0f5f9', GradientType=0);
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

.well .logo {
    margin-bottom: 20px;
    text-align: center;
}

.well .logo img {
    max-width: 225px;
}

.form-control {
    display: inline-block;
    width: 100%;
    overflow: hidden;
    position: relative;
    z-index: 1;
    font-size: 15px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1);
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .16);
    border: 0;
}

.selectize-input,
.input-group {
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1);
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .16);
}


.form-control:focus {
    box-shadow: 0 0 0 0.1rem #005080;
}

.bg-success {
    background-color: #005080
}

.text-success {
    color: #005080
}
.bg-head {
    background-color: #005080
}

.navbar-header {
    height: 65px;
    background: #034065;
    color: #FFF;
    font-size: 20px;
    font-weight: 500;
    font-style: normal;
    font-stretch: normal;
    position: relative;
    width: 100%;
    padding: 0;
    z-index: 10;
    box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.13), 0 2px 4px 0 rgba(0, 0, 0, 0.2);
}

.navbar-header ul li a {
    color: white;
}

.sub-head {
    background-color: #006c9c;
    color: white;
    font-size: 16px;
    width: 100%;
    z-index: 8;
    padding: 12px 15px;
    position: relative;
    border-radius: 0;
}
.indicator{
    height: 4px;
    background-color: #ff5050;
    position: absolute;
    left: 0;
    bottom: -14px;
    right: 0;
}
.navbar-brand img {
    border-right: 1px solid #fff;
}

.navbar-brand span {
    color: white;
}

.btn-menu {
    padding: 0;
    border-radius: 100%;
    width: 44px;
    height: 44px;
    display: block;
    justify-content: center;
    align-items: center;
    line-height: 44px;
    text-align: center;
    background: #005080;
    margin-left: 10px;
}

.btn-menu span {
    font-size: 17px;
}

.btn-menu.active,
.btn-menu:hover {
    background: #054871;
    box-shadow: 0 5px 11px 0 rgba(0, 0, 0, 0.18), 0 4px 15px 0 rgba(0, 0, 0, 0.15);
    color: white;
}

/*side nav*/
.drawer {
    position: fixed;
    width: 300px;
    left: 0;
    margin: 0;
    top: 66px;
    z-index: 99999;
    height: 100%;
    height: calc(100% + 60px);
    height: -moz-calc(100%);
    padding-bottom: 60px;
    background-color: #fff;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    overflow-y: auto;
    will-change: transform;
    -o-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;

    -o-transform: translateX(-105%);
    -moz-transform: translateX(-105%);
    -webkit-transform: translateX(-105%);
    transform: translateX(-105%);

    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
    transition: transform .25s ease-in-out;
}

.drawer.open {
    transform: translateX(0);
}

.overlay-mask {
    position: fixed;
    left: 0;
    right: 0;
    height: 120vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 997;
    will-change: opacity;
    top: 66px;
    opacity: 1;
}

.blocked-page {
    overflow: hidden;
}

.ui-hidden {
    display: none;
}

.drawer .nav-link span {
    font-size: 24px;
    color: #666;
    margin-right: 25px;
    margin-left: 10px;
}

.drawer .nav-link {
    display: flex;
    justify-content: left;
    align-items: center;
    color: #333;
    height: 48px;
    font-size: 16px;
}

.drawer .nav-item {
    transform-transform: translateX(-100%);
    -webkit-transform: translateX(-100%);
    -moz-transform: translateX(-100%);
    -o-transform: translateX(-100%);
    transition: transform .1s, opacity 2s;
    -webkit-transition: transform .1s, opacity 2s;
    -moz-transition: transform .1s, opacity 2s;
    -o-transition: transform .1s, opacity 2s;
    opacity: 0;
}

.drawer .nav-item:hover {
    background: #f2f2f2;
}

.drawer .nav-item.show {
    opacity: 1;
    transform: translateX(0%);
    -webkit-transform: translateX(0%);
    -moz-transform: translateX(0%);
    -o-transform: translateX(0%);
}

.drawer .nav-item:hover a,
.drawer .nav-item:hover span {
    color: #005080
}

.datepicker table tr td.active, .datepicker table tr td.active.highlighted, .datepicker table tr td.active.highlighted:hover, .datepicker table tr td.active:hover {
    background: #005080;
}

.table-list {
    background: #FFF;
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.13), 0 2px 4px 0 rgba(0, 0, 0, 0.2);
}

.table-responsive thead {
    border-bottom: 1px solid #d0d0d0;
}

.table-responsive thead th {
    font-size: 10px;
    padding-left: 6px;
    background: #f5f5f5;
    color: #005080;
    font-weight: 400;
    text-transform: uppercase;
}

.table-responsive td, .table-responsive th {
    padding: 5px;
    display: table-cell;
    text-align: left;
    vertical-align: middle;
}

.table-responsive tbody tr {
    border-bottom: 1px solid #d0d0d0;
}

.table-responsive table tr td {
    padding: 4px;
    font-size: 10px;
    cursor: pointer;
}

.table-responsive table tbody tr:hover:not(.no-hover) {
    background-color: #005080;
    color: white;
}

.ui-shadow {
    box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.13), 0 2px 4px 0 rgba(0, 0, 0, 0.2);
}

.md-radio label:after {
    background-color: #005080;
}

.text-status {
    position: relative;
    font-size: 10px;
    font-weight: 500;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: normal;
}

.text-status:before {
    content: "⬤";
    font-size: 4px;
    margin-right: 4px;
    position: relative;
    top: -1.5px;
}
.search-panel {
    border-radius: 2px;
    background-color: #ffffff;
    box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.13), 0 2px 4px 0 rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
}

.search-panel .input-search {
    border-radius: 0;
    outline: none;
    font-size: 1rem;
    margin: 0;
    padding: 0;
    box-shadow: none;
    box-sizing: content-box;
    transition: all 0.3s;
    border: none;
    border-bottom: solid 1px rgba(0, 0, 0, 0.12);
    background-color: transparent;
}

.search-panel .btn-search {
    object-fit: contain;
    border-radius: 1px;
    cursor: pointer;
    top: 0;
    right: 0;
    text-align: right;
    padding-right: 0;
    width: 44px;
    z-index: 4;
    background-image: none;
    background-color: transparent;
    box-shadow: none;
}

.search-panel .btn-search:hover {
    box-shadow: none;
}

.search-panel .btn-search icon-search {
    color: #005080;
    font-size: 1.5rem;
}
.search-panel .form-inline label{
    margin-right: 8px;
}
.search-panel .form-inline .form-control{
    margin-right: 8px;
}
.head-title h1 {
    font-size: 26px;
    margin: 0;
}

.bg-grey {
    background: #f2f2f2;
}

.form-panel .form-control {
    background-color: white;
}

.input-group-text,
.selectize-dropdown, .selectize-input, .selectize-input input {
    font-size: 15px;
    border: 0;
}

.box-thumb {
    width: 64px;
    height: 64px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 100%;
}

.hidden-file {
    display: block;
    width: 0;
    height: 0;
}

.table-list tr[aria-expanded="true"] {
    background-color: #F2F2F2;
}

input.error {
    box-shadow: 0 0 0 0.1rem rgba(255, 0, 0, 0.7);
}

label.error {
    color: #f13333;
    font-size: 12px;
    margin-top: 5px;
}

.text-red {
    color: red
}

.box-thumb.thumb.active i {
    width: 44px;
    height: 44px;
    background: #ddd;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    color: #444;
    border-radius: 100%;
}

.box-thumb.thumb.active:hover {
    background: #f5f5f5;
    cursor: pointer;
}

.box-thumb.thumb.active {
    height: 200px;
    background: white;
    display: flex;
}

.box-thumb.thumb {
    border-radius: .25rem;
    position: relative;
    height: 200px;
    margin: 0 auto;
    background: white;
    display: block;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .075);
    padding: 4px;
    width: 100%;
}

.box-thumb.thumb .img-thumbnail {
    border-radius: 0;
    max-width: 100%;
    max-height: 100%;
    padding: 0;
    border: 0;
    box-shadow: none;
}

.thumb .img-delete {
    position: absolute;
    z-index: 100;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #ddd;
    color: #333;
    font-size: 14px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    display: none;
    cursor: pointer;
}

.box-thumb.thumb:hover .img-delete {
    display: block;
}

.box-thumb .img-primary .md-radio-inline {
    display: block;
    float: left;
    margin: 0;
    padding: 0;
}

.box-thumb .img-primary .md-radio label {
    padding: 0
}

.box-thumb .img-primary {
    position: absolute;
    top: 4px;
    right: 4px;
    z-index: 11;
    width: 20px;
    height: 20px;
    background: white;
    border: 2px solid;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    border-radius: 100%;
}

.box-thumb .img-primary i {
    display: none;
}

.box-thumb .img-primary.active {
    background-color: #005080;
    border-color: #005080;
}

.box-thumb .img-primary.active i {
    display: block;
    color: white;
}

.selectize-dropdown [data-selectable].option {
    cursor: pointer;
}

.card {
    box-shadow: 0 1px 6px 0 rgba(32, 33, 36, .28);
    background-color: #f5f5f5;
    border: 0;
}
.card-body{
    padding: 8px;
}
.table-summary {
    width: 100%;

}

.table-summary td, .table-summary th {
    padding: 0;
    font-size: 14px;
}

.bg-transparent {
    background: none;
}

::-webkit-scrollbar {
    background: #eee;
    border-left: 1px solid #ddd;
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-thumb {
    background: #DADCE0;
    border: 1px solid #ccc;
    border-radius: 30px;
}

.selectize-dropdown-content::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.form-control:disabled, .form-control[readonly] {
    background-color: #e9ecef !important;
}

.form-control:focus {
    border-color: #d0d0d0;
}

.img-circle {
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    border-radius: 100%;
}

.pure-material-checkbox > span::after {
    top: 4px;
    left: 2px;
}

.pure-material-checkbox > input:checked + span::before, .pure-material-checkbox > input:indeterminate + span::before {
    border-color: #005080;
    background-color: #005080;
}

.md-radio input[type="radio"]:checked + label:before {
    border: 2px solid #005080;
}

.hidden {
    display: none !important;
}

.lazy-load {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    height: 150px;
    z-index: 1;
    background: rgba(255, 255, 255, 0) 2%;
    background: -webkit-linear-gradient(rgba(255, 255, 255, 0) 2%, #ffffff);
    background: -o-linear-gradient(rgba(255, 255, 255, 0) 2%, #ffffff);
    background: -moz-linear-gradient(rgba(255, 255, 255, 0) 2%, #ffffff);
    background: linear-gradient(rgba(255, 255, 255, 0) 2%, #ffffff);
}

.loading-spin {
    background: rgba(0, 0, 0, .1);
    top: 0;
    z-index: 999999;
    position: fixed;
    right: 0;
    left: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loading-spin img {
    width: 84px;
}

code {
    font-size: 100%;
    word-break: break-word;
    color: #005080;
}


.btn-toolbar-header .btn-group .btn {
    box-shadow: none;
    border: 0;
    color: #202124;
    font-size: 1.75rem;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 2.25rem;
    padding: 0 20px 0 0;
    background-color: transparent;
}

.btn-toolbar-header .btn-group .btn.back {
    color: #5f6368;
    font-size: 24px;
}

.table-bordered thead th, .table-bordered thead td {
    border-bottom-width: 1px;
    padding: 8px;
}

.activity-log {
    position: absolute;
    right: 0;
    top: 185px;
    background: #f4f4f4;
    bottom: 0;
    width: 300px;
    height: 100%;
    border: 1px solid #ddd;
    padding: 8px;
    border-top-left-radius: 8px;
    overflow: auto;
}
.pricelist ul {
    margin: 0;
    list-style: none;
    padding: 0;
}

.pricelist ul li {
    padding: 0;
    float: left;
    display: block;
    width: 100%;
    margin: 2px 0;
}

.pricelist ul li span {
    width: 20px;
    height: 20px;
    background: #ffa20d;
    border-radius: 100%;
    float: left;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 12px;
    text-transform: uppercase;
    margin-right: 8px;
}
.btn-outline-danger:hover{
    color: #fff;
    border-color: #f5365c;
    background-color: #f5365c;
}
.unlisted {
    list-style: none;
    margin: 0;
    padding: 0;
}

.unlisted li {
    display: inline-block;
    margin-right: 8px;
}

.unlisted li a {
    border: 1px solid #ddd;
    padding: 6px 14px;
    border-radius: 4px;
    background: white;
}

.btn.btn-lg {
    width: 160px;
    padding: 8px;
    border-radius: 47px;
    height: auto;
    font-size: 15px;
}

.icon-avatar {
    background: #737373;
    width: 40px;
    float: left;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    margin-top: -8px;
    margin-right: 8px;
    border-radius: 100%;
    padding: 0;
}

.ui-widget.ui-widget-content {
    box-shadow: 0 1px 6px 0 rgba(32, 33, 36, .28);
    border: 0 !important;
    border-radius: 4px;
}

.ui-menu .ui-menu-item-wrapper {
    padding: 4px 15px !important;
    font-family: 'Lucida Sans', KhmerOSbattambang, sans-serif;
    font-size: 14px;
    text-transform: capitalize;
}

.ui-menu-item:first-child .ui-menu-item-wrapper {
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.ui-menu-item:last-child .ui-menu-item-wrapper {
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

.swal-footer {
    border-top: 1px solid #ddd;
}

.swal-button {
    padding: .375rem 1.8rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 4px;
}

.swal-button.swal-button--confirm {
    background-color: #005080;
}

.swal-button.swal-button--confirm:not([disabled]):hover {
    background-color: #06639a;
}

fieldset {
    border: 1px solid #ddd !important;
    padding: 0 15px;
    border-radius: 4px;
}

legend {
    width: auto;
    font-size: 16px;
    padding: 0 8px;
}

label {
    margin-bottom: 0;
}

.wrap {
    position: relative;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 1;
}
.wrap .menu{
    width: 180px;
    border-right: 1px solid #ddd;
    position: fixed;
    left: 0;
    height: 100%;
    background-color: white;
    padding: 15px 15px 15px 0;

}
.wrap .main{
    position: fixed;
    left: 180px;
    right: 0;
    padding: 15px;
    bottom: 55px;
    top: 107px;
    overflow: auto;
}
.wrap.none .main{
    left: 0;
}
.wrap .nav-pills .nav-link.active, .nav-pills .show > .nav-link{
    background-color: #f2f2f2;
    color: #005080;
}
.wrap .nav-pills .nav-link{
    background-color: transparent;
    color: black;
    box-shadow: none;
    border-top-right-radius: 32px;
    border-bottom-right-radius: 32px;
    padding: .65rem 1rem;
    width: 100%;
    text-transform: uppercase;
    font-size: 12px;
}
.table-responsive{
    border-radius: 3px;
}
.bottom-bar {
    background: white;
    bottom: 0;
    position: fixed;
    right: 0;
    left: 240px;
    padding: 8px 15px;
    border-top: 1px solid #ddd;
}
.wrap .main .bottom-bar{
    left: 0;
}
.nav-item.disabled a{
    opacity: 0.5;
    cursor: not-allowed;
}
.select2-container--default .select2-selection--single{
    background-color: white;
    font-size: 15px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1);
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .16);
    border: 0;
    height: 30px;
}
.select2-dropdown{
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1);
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .16);
    border: 0;
}
.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 0;
    background: #f4f4f4;
    border-radius: 4px;
    padding: 4px 8px;
}
.select2-results__option {
    user-select: none;
    -webkit-user-select: none;
    font-size: 12px;
    padding: 4px 8px;
}
.loader {
    border: 4px solid #f3f3f3;
    border-radius: 50%;
    border-top: 4px solid #3498db;
    width: 40px;
    height: 40px;
    -webkit-animation: spin 0.25s linear infinite; /* Safari */
    animation: spin 0.25s linear infinite;
}

/* Safari */
@-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.modal {
    position: fixed;
    z-index: 1050;
    display: none;
    -webkit-overflow-scrolling: touch;
    outline: 0;
}

.modal.fade .modal-dialog {
    -webkit-transition: -webkit-transform .3s ease-out;
    -o-transition: -o-transform .3s ease-out;
    transition: transform .3s ease-out;
    -webkit-transform: translate(0, -25%);
    -ms-transform: translate(0, -25%);
    -o-transform: translate(0, -25%);
    transform: translate(0, -25%);
}

.modal.in .modal-dialog {
    -webkit-transform: translate(0, 0);
    -ms-transform: translate(0, 0);
    -o-transform: translate(0, 0);
    transform: translate(0, 0);
}

.modal-open .modal {
    overflow-x: hidden;
    overflow-y: auto;
}

.modal-dialog {
    position: relative;
    width: auto;
}

.modal-content {
    position: relative;
    background-color: #fff;
    background-clip: padding-box;
    outline: 0;
}

.modal-backdrop {
    position: fixed;
    z-index: 1040;
    background-color: #000;
}

.fade:not(.show) {
    opacity: 1;
}

.modal-backdrop.fade {
    filter: alpha(opacity=0);
    opacity: 0;
}

.modal-backdrop.in {
    filter: alpha(opacity=50);
    opacity: .5;
}
.modal-header{
    padding: 15px;
}
.modal-title {
    font-size: 18px;
    font-weight: bold;
}
.modal-footer{
    padding: 8px 15px;
}
table.tbl tr td{
    padding: 6px 0;
}
.footer{
    padding: 15px 0;
    background-color: rgba(255, 255, 255, 0.2);
}
.footer ul{
    margin: 0;
    padding: 0;
    list-style: none;
    color: rgba(158, 158, 158, 0.2);
}
.footer ul li{
    display: inline;
}
.footer ul li a{
    color: #9e9e9e;
}
.content{
    padding: 20px 0;
    background-color: rgba(255, 255, 255, 0.1);
}
.list-image{
    margin: 0;
    padding: 0;
    list-style: none;
}
.list-image li{
    display: inline;
    padding: 0 20px;
}
.list-image li img{
    width: 220px;
}
ul{
    margin: 0;
    padding: 0;
}
.text-warning{
    color: #FFBD17;
}
.btn.btn-sm-2 {
    font-size: 12px;
    line-height: 0;
    padding: 4px 8px;
    border-radius: 4px;
}
.img-thumbnail{
    max-width: 100%;
    height: auto;
    padding: 0;
    border: .0625rem solid #dee2e6;
    border-radius: 12px;
    background-color: transparent;
    box-shadow: 0 1px 2px rgba(0 0 0 0.4);
    margin-bottom: 6px;
}

.flex {
    display: flex;
}

.flex-middle {
    align-items: center;
}

.flex-right {
    justify-content: flex-end;
}

.flex-between {
    justify-content: space-between;
}

.flex-bottom {
    align-items: flex-end;
}

.flex-wrap {
    flex-wrap: wrap;
}

.flex-center {
    justify-content: center;
}

@media only screen and (max-width: 600px) {
    .footer{
        text-align: center;
    }
    .footer .text-right{
        text-align: unset!important;
    }
}