@font-face {
    font-family: "Kh Siemreap";
    src: url("../fonts/KH-SIEMREAP.TTF") format("truetype");
}

@font-face {
    font-family: "KhmerOSBattambang";
    src: url("../fonts/KhmerOSbattambang.ttf");
}
@font-face {
    font-family: 'khmerOsMoulLighy';
    src: url('../fonts/KhmerOSmuollight.ttf');
}

@font-face {
    font-family: "Calibri";
    src: url("../fonts/calibri.ttf?#iefix") format("embedded-opentype"), url("../fonts/calibri.ttf") format("woff2");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "VerelaRoundRegular";
    src: url("../fonts/VarelaRound-Regular.ttf?#iefix") format("embedded-opentype"), url("../fonts/VarelaRound-Regular.ttf") format("woff2");
    font-weight: normal;
    font-style: normal
}

@font-face {
    font-family: "RobotoRegular";
    src: url("../fonts/Roboto-Regular.woff2?#iefix") format("embedded-opentype"), url("../fonts/Roboto-Regular.woff2") format("woff2");
    font-weight: normal;
    font-style: normal
}

body {
    padding-top: 60px;
    padding-bottom: 40px;
    background: #808080;
    font-family: "RobotoRegular", "VerelaRoundRegular", "Calibri", "Helvetica Neue", "Helvetica", "Arial", sans-serif, "Kh Siemreap";
    scrollbar-face-color: #000000;
    scrollbar-highlight-color: #000000;
    scrollbar-3dlight-color: #000000;
    scrollbar-darkshadow-color: #000000;
    scrollbar-shadow-color: #000000;
    scrollbar-arrow-color: #FF99FF;
    scrollbar-track-color: #FFCCFF;
}
html,body,*,
.sweet-alert h2
{
    font-family: KhmerOSBattambang,sans-serif;
}
::-webkit-scrollbar {
    width: 8px; /* for vertical scrollbars */
    height: 8px; /* for horizontal scrollbars */
}

::-webkit-scrollbar-track {
    background: #fff;
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

::-webkit-scrollbar-thumb {
    background: #4283f4;
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

div.container a.brand {
    background: url("../img/zf2-logo.png") no-repeat scroll 0 10px transparent;
    margin-left: 0;
    padding: 8px 20px 12px 40px;
}

.nav-menu {
    background: #0F4FA1 !important;
    border-bottom: none;
    -webkit-box-shadow: 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    box-shadow: 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
}

.navbar-brand, .navbar-brand:hover {
    /*background: rgba(0, 0, 0, 0) url("../img/boot/logo_done_construction_store.png") no-repeat scroll left center / 34% auto;*/
    color: #ffffff;
    margin-left: 0px !important;
    padding: 0;
}

#navbar ul .active {
    background: #4284f4 !important;
}

#navbar ul .dropdown .open {
    background: none !important;
}

#navbar ul li a:hover, #navbar ul li a:focus {
    background: #4284f4 !important;
    color: #fff !important;
}

#navbar ul li a {
    color: #fff;
}

#navbar ul.dropdown-menu-right li a {
    color: #333;
}

#navbar ul li a.login-profile:hover {
    background-color: #4285f4 !important;
    cursor: default
}

.footer {
    background: #fff !important;
    color: #000;
    font-size: 90%;
    -webkit-box-shadow: 0 5px 5px 6px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 5px 5px 6px rgba(0, 0, 0, 0.2);
    box-shadow: 0 5px 5px 6px rgba(0, 0, 0, 0.2);
    padding: 3px 10px 3px 3px;
}

.footer img {
    height: 30px;
}

.loading {
    position: absolute;
    z-index: 2;
    background: rgba(255, 255, 255, 0.8) url("../img/progress_spinner.gif") no-repeat center;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    text-align: center;
}

.navbar-header > span {
    background: none !important;
}

.nav .open > a, .nav .open > a:focus, .nav .open > a:hover {
    background: #4285f4 !important;
    color: #fff !important;
}

.nav .open > ul {
    color: #1a242f !important;
    background: #f5f5f5 !important;
}

.nav .open > .dropdown-menu {
    border: none !important;
}

.nav .custom-dropdown-menu a {
    color: #333 !important;
}

.navbar-nav > li > .dropdown-menu {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.navbar-toggle {
    background: transparent;
    border-radius: 0 !important;
}

.navbar-toggle .icon-bar {
    background: #e7effe;
    display: block;
    height: 2px;
    width: 22px;
    z-index: 58;
}

.navbar-brand:focus {
    color: #fff
}

nav.header a {
    font-size: 13.5px !important;
}

nav.header a.navbar-brand {
    font-size: 18px !important;
}

.dropdown-menu > li > a {
    padding: 8px 15px
}

.btn-group .dropdown-menu > li > a:hover {
    background-color: #4283f4;
    color: #fff;
    cursor: pointer;
}

/* Sub Menu */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: -1px;
    background: #f5f5f5 !important;
    border-radius: 0;
    border: none !important;
}

.dropdown-submenu:hover > .dropdown-menu {
    display: block;
}

.dropdown-menu > .active > a, .dropdown-menu > .active > a:focus, .dropdown-menu > .active > a:hover {
    background: #4284f4 !important;
    color: #fff !important;
}

.dropdown-submenu > a:after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-left-color: #ccc;
    margin-top: 5px;
    margin-right: -10px;
}

.dropdown-submenu:hover > a:after {
    border-left-color: #fff;
}

.dropdown-submenu.pull-left {
    float: none;
}

.dropdown-submenu.pull-left > .dropdown-menu {
    left: -100%;
    margin-left: 10px;
    -webkit-border-radius: 6px 0 6px 6px;
    -moz-border-radius: 6px 0 6px 6px;
    border-radius: 6px 0 6px 6px;
}

/* End sub menu*/

/* Customize some class or id existing name */
.border-top-0 {
    border-top: 0;
}

.padding-0 {
    padding: 0 !important;
}

.padding-left-0 {
    padding-left: 0 !important;
}

.padding-left-5 {
    padding-left: 5px !important;
}

.padding-left-15 {
    padding-left: 15px !important;
}

.padding-left-20 {
    padding-left: 20px !important;
}

.padding-right-0 {
    padding-right: 0 !important;
}

.padding-right-5 {
    padding-right: 5px !important;
}

.padding-right-15 {
    padding-right: 15px !important;
}

.padding-top-0 {
    padding-top: 0;
}

.padding-top-5 {
    padding-top: 5px !important;
}

.padding-top-10 {
    padding-top: 10px;
}

.padding-top-15 {
    padding-top: 15px !important;
}

.padding-top-25 {
    padding-top: 25px !important;
}

.padding-0-5 {
    padding: 0 5px;
}

.padding-0-10 {
    padding: 0 10px;
}

.padding-0-15 {
    padding: 0 15px;
}

.padding-15 {
    padding: 15px !important;
}

.padding-10 {
    padding: 10px !important;
}

.padding-5 {
    padding: 5px !important;
}

.padding-25-0 {
    padding: 25px 0;
}

.pl-30 {
    padding-left: 30px
}

.p15-0-15 {
    padding: 15px 0 15px
}

.pt-15 {
    padding-top: 15px
}

.b-t-2 {
    border-top: 2px solid #000
}

.b-t-b-2 {
    border-top: 2px solid #000;
    border-bottom: 2px solid #000
}

.margin-left-15 {
    margin-left: 15px !important;
}

.margin-0 {
    margin: 0;
}

.margin-left-20 {
    margin-left: 20px;
}

.padding-bottom-0 {
    padding-bottom: 0 !important;
}

.padding-bottom-3 {
    padding-bottom: 3px;
}

.padding-bottom-5 {
    padding-bottom: 5px;
}

.padding-bottom-15 {
    padding-bottom: 15px;
}

.padding-15-15-0 {
    padding: 15px 15px 0
}

th, td {
    white-space: nowrap;
}

#add-new, #sale-management-detail {
    display: none;
}

#form-login {
    margin: 0 auto;
    box-shadow: 0 10px 25px #959fb7;
    border: 1px solid #eee;
    background-color: #fff
}

.form-control[disabled], fieldset[disabled] .form-control {
    cursor: auto !important;
}

.msg-box, .msg-box-warning {
    background: none;
    position: fixed;
    z-index: 9;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}

.msg-label {
    position: absolute;
    background: #ffffff;
    width: auto;
    height: 40px;
    top: 40%;
    left: 40%;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-right: 3px;
    -webkit-box-shadow: -5px 1px 92px 22px rgb(92, 184, 92);
    -moz-box-shadow: -5px 1px 92px 22px rgb(92, 184, 92);
    box-shadow: -5px 1px 92px 22px rgb(92, 184, 92);
    padding: 10px !important;
    text-align: center;
}

.msg-label-warning {
    position: absolute;
    background: #ffffff;
    width: auto;
    height: 40px;
    top: 40%;
    left: 40%;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-right: 3px;
    -webkit-box-shadow: -5px 1px 92px 22px rgb(240, 173, 78);
    -moz-box-shadow: -5px 1px 92px 22px rgb(240, 173, 78);
    box-shadow: -5px 1px 92px 22px rgb(240, 173, 78);
    padding: 10px !important;
    text-align: center;
}

.control-label-left {
    text-align: left !important;
    padding-top: 7px;
    padding-right: 0px;
    margin-bottom: 5px;
}

.input-group-addon {
    cursor: pointer;
}

.print-invoice {
    margin: 0 auto;
    min-height: 200px;
    width: 5in;
    border: 1px solid #28a4c9;
    background: #efefef;
    text-align: center;
}

.purchase-rs > .tab-menu {
    margin-top: -45px;
}

.m-5-0 {
    margin: 5px 0
}

@media print {
    div#print-invoice {
        height: 100% !important;
        overflow-x: auto;
    }
}

.font-size-bold {
    font-weight: bold;
}

.f-100 {
    font-size: 100%;
}

.due {
    font-size: 14px !important;
    font-weight: bold;
    color: #DD5145 !important;
}

.paid {
    font-size: 14px !important;
    font-weight: bold;
    color: #18A15F !important;
}

.partial {
    font-size: 14px !important;
    font-weight: bold;
    color: #a19e1f !important;
}

.page-ul > li:focus {
    background: red !important;
}

input[disabled], button[disabled] {
    cursor: default !important;
}

.panel-default > .panel-heading {
    /*background-color: #2D3E50 !important;*/
    /*color: #fff;*/
}

.panel-total {
    position: fixed;
    bottom: 27px;
    right: 0;
    left: 0;
    background: #DDDDDD;
    padding: 10px;
}

.panel-total #total {
    color: red;
    font-size: 22px;
}

.tab-menu > ul > li.active a, .tab-menu > ul > li.active a:hover, .tab-menu > ul > li.active a:focus {
    border-top: 3px solid #337ab7;
}

.tab-menu > ul > li a {
    border-radius: 0;
    color: #434343
}

.tab-menu > ul > li > a:focus, .tab-menu > ul > li > a:hover {
    background: none;
    border-top: 3px solid #337ab7;
    transition: all .2ms;
    background: #FFFFFF;
}

.tab-content {
    border-left: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    border-right: 1px solid #ddd;
    background: #FFFFFF;
    min-height: 300px;
    padding: 10px;
}

.role-list {
    list-style: none;
    font-size: 14px;
    padding-left: 10px
}

.role-list li a {
    color: #333;
    line-height: 24px
}

.role-list li a.active {
    color: #ff0000
}

.role-list li a:hover {
    border: none
}

fieldset {
    border: 1px solid #cccccc !important;
    padding: 0 15px !important;
}

fieldset legend {
    width: auto;
    padding: 10px;
    margin: 0 0 0 10px;
    border: none;
    font-size: 16px !important;
}

.table-info fieldset {
    border: 1px solid #ccc;
    padding: 3px 15px;
    border-radius: 4px;
}

.table-info fieldset legend {
    width: auto !important;
    padding: 0 10px !important;
    margin: 0 0 5px 10px !important;
    border: none;
    font-size: 14px !important;
    font-weight: bold;
}

.data-content {
    border-left: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    border-right: 1px solid #ddd;
    background: #FFFFFF;
    padding: 10px;
}

select, input {
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
}

#sale_form th, #sale_form td,
#sale_sale_journal th, #sale_journal td,
#price_checking th, #price_checking td {
    font-size: 13px;
    padding: 5px;
}

.custom-backdrop {
    background: rgba(0, 0, 0, 0.4)
}

.custom-modal {
    width: 420px
}

.custom-modal .modal-header {
    padding: 10px 15px;
}

.custom-modal .modal-header h3 {
    font-size: 18px;
    color: #337AB7
}

.p-3-0 {
    padding: 3px 0
}

.p-15 {
    padding: 15px !important;
}

.p-10-15 {
    padding: 10px 15px !important;
}

.required {
    color: #ff0000;
}

.font-22 {
    font-size: 18px;
}

.font-12 {
    font-size: 12px;
}

.font-13 {
    font-size: 13px;
}

.font-14 {
    font-size: 14px;
}

#purchase_inventory th, #purchase_inventory td, #purchase_journal th,
#purchase_journal td {
    font-size: 13px;
    padding: 5px;
}

.readonly {
    color: #ff0000;
}

.btn-delete {
    color: #D9534F;
}

.btn-delete:hover, .btn-delete:focus {
    color: #D43F3A;
}

/*~~~~~~~~~~~~~~~~~~ sale form 2 ~~~~~~~~~~~~~~~~~~*/
.panel-right {
    background: #FFFFFF;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    padding: 15px;
    position: relative
}

.panel-top {
    border-bottom: 1px solid #DDDDDD
}

.panel-top ul {
    list-style: none;
    padding: 0;
}

.panel-top ul li span:first-child {
    width: 50%;
    display: inline-block;
    font-size: 20px;
}

.panel-top ul li span:last-child {
    color: red;
    font-size: 20px;
}

.m-t-5 {
    margin-top: 5px
}

.m-t-6 {
    margin-top: 6px
}

.m-t-15 {
    margin-top: 15px
}

.m-t-10 {
    margin-top: 10px
}

.m-t-20 {
    margin-top: 20px
}

.m-t-25 {
    margin-top: 25px
}

.m-t-32 {
    margin-top: 32px
}

.m-t-50 {
    margin-top: 50px
}

.m-0-0-15 {
    margin: 0 0 15px
}

.m-r-0 {
    margin-right: 0
}

.bottom-bar {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    height: 50px;
    background: #bbbbbb;
    padding: 11px;
    text-align: right;
}

.panel-middle {
}

.panel-bottom {
    position: absolute;
    left: 16px;
    bottom: 2px;
    border-top: 1px solid #DDDDDD;
    right: 16px;
}

.panel-bottom h3 {
    margin-top: 10px;
}

ul.nav li.active .selected, ul.nav li a:hover .selected {
    left: 50%;
    bottom: 0;
    position: absolute;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #4284f4;
    display: inline-block;
    margin: 0 0 -10px -10px;
    width: 0;
    height: 0;
}

/* override class */
.btn-danger {
    background-color: #E64C66;
    border-color: #e8566f;
}

.btn-danger:hover, .btn-danger:focus {
    background-color: #e6626f;
    border-color: #e85764;
}

.text-red {
    color: red
}

.text-gold {
    color: goldenrod;
}

.text-danger {
    color: #E64C66;
}

.text-danger:hover, .text-danger:focus {
    color: #e6626f;
}

.text-blue {
    color: darkblue;
}

.pagination {
    margin: 0;
}

.pagination > .active > a {
    z-index: 0
}

.table-container {
    overflow-x: auto;
    margin-top: 10px;
    margin-bottom: 15px;
}

.table {
    background: linear-gradient(#e9e9e9, #e2e2e2, #d8d8d8, #cfcfcf) !important;
}

.table tr:first-child th {
    background: #ffffff;
    background: -moz-linear-gradient(top, #f7f7f7 0%, #f6f6f6 30%, #f6f6f6 30%, #e5e5e5 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ffffff), color-stop(30%, #f6f6f6), color-stop(30%, #f6f6f6), color-stop(100%, #e5e5e5));
    background: -webkit-linear-gradient(top, #f7f7f7 0%, #f6f6f6 30%, #f6f6f6 30%, #e5e5e5 100%);
    background: -o-linear-gradient(top, #f7f7f7 0%, #f6f6f6 30%, #f6f6f6 30%, #e5e5e5 100%);
    background: -ms-linear-gradient(top, #f7f7f7 0%, #f6f6f6 30%, #f6f6f6 30%, #e5e5e5 100%);
    background: linear-gradient(to bottom, #f7f7f7 0%, #f6f6f6 30%, #f6f6f6 30%, #e5e5e5 100%);
    border-bottom: 1px solid #ddd;
    color: #000;
}

.table > thead > tr > th {
    /*color: #e64c66;*/
}

.table > thead > tr > th, .table > tbody > tr > td {
    padding: 6px;
    font-size: 12px;
}

.table-striped > tbody > tr:nth-of-type(even) {
    background-color: #e9f3ff;
}

.table-striped > tbody > tr:nth-of-type(even).items,
.table-striped > tbody > tr:nth-of-type(odd).items,
.table-striped > tbody > tr:nth-of-type(even).items_blank,
.table-striped > tbody > tr:nth-of-type(odd).items_blank {
    background-color: #fff;
}

.table-striped > tbody > tr.items_blank > td {
    padding: 26px
}

.table-striped > tbody > tr:nth-of-type(odd):hover,
.table-hover > tbody > tr:hover {
    background-color: #FFFFB0 !important;
    color: #4f888a;
}

.even > tr:first-child > td,
.odd > tr:first-child > td {
    padding: 0 5px;
    vertical-align: middle;
}

.odd > tr:first-child > td {
    background-color: #e9f3ff;
}

.even > tr:first-child > td {
    background-color: #f9f9f9 !important;
}

.even > tr:hover > td, .odd > tr:hover > td {
    background-color: #FFFFB0 !important;
    color: #4f888a;
}

#icon_date, .btn-shadow {
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2)
}

.font-16 {
    font-size: 16px;
}

.font-24 {
    font-size: 24px;
}

#croppic {
    width: 200px; /* MANDATORY */
    height: 150px; /* MANDATORY */
    position: relative; /* MANDATORY */
    border: 3px solid #FFF;
    box-sizing: content-box;
    -moz-box-sizing: content-box;
    border-radius: 2px;
    background-image: url(../images/item/default.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    box-shadow: 8px 8px 0px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
}

.bg-white {
    background-color: #fff !important;
}

.invoice-container {
    border: 1px solid #333;
}

.p-0 {
    padding: 0;
}

.p-5 {
    padding: 5px !important
}

.p-l-0 {
    padding-left: 0;
}

.p-r-0 {
    padding-right: 0;
}

.m-b-0 {
    margin-bottom: 0 !important;
}

.m-b-20 {
    margin-bottom: 20px;
}

.m-b-60 {
    margin-bottom: 60px;
}

.m-b-70 {
    margin-bottom: 70px;
}

.modal {
    text-align: center
}

.tooltip.top {
    z-index: 9999;
    position: absolute
}

/* over popover */
.popover.bottom {
    margin-top: 5px
}

.popover.bottom > .arrow {
    margin-left: -8%
}

.popover-content .list-group .list-group-item {
    border: none;
    padding: 10px 12px;
    font-size: 13px;
    cursor: pointer;
    color: #0066aa;
}

.popover-content .list-group .list-group-item .delete {
    color: #4285f4 !important;
}

.popover-content .list-group .list-group-item span {
    margin-right: 10px;
    font-weight: bold;
}

.popover {
    width: auto;
    border-radius: 0;
    padding: 0;
    left: inherit;
    position: absolute;
}

.popover-content .list-group {
    margin-bottom: 0;
}

/* end override popover */

/* block page error */
.page-login {
    height: 400px;
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    background-color: #808080;
}

.page-login .media {
    margin-left: 20px;
    font-family: Arial, sans-serif
}

.page-login .media .media-heading {
    font-size: 22px;
    margin: 0 0 15px;
}

.page-login .media-left {
    width: 280px;
}

.page-login .media p {
    margin: 0 0 4px 0;
    font-size: 14px;
    color: rgba(106, 106, 106, 0.87);
}

.login {
    border: 1px solid;
    border-color: #e5e6e9 #dfe0e4 #d0d1d5;
    border-radius: 3px;
    padding: 40px 0 35px;
    margin: 0 auto;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .1);
}

.login form {
    width: 300px;
    margin: 0 auto;
    text-align: center;
}

.login form h2 {
    font-size: 18px;
    line-height: 22px;
    margin-top: 0;
}

.login form .form-control {
    border: 1px solid #dddfe2;
    color: #1d2129;
    font-size: 14px;
    padding: 5px 8px;
    height: 36px;
}

.login form .btn-danger {
    line-height: 42px;
    padding: 0 24px;
    border-radius: 2px;
    font-size: 14px;
}

/* end block page error */

@media screen and (min-width: 768px) {
    .modal:before {
        display: inline-block !important;
        vertical-align: middle !important;
        content: "";
        height: 100% !important;
    }
}

.modal-dialog {
    display: inline-block;
    text-align: left;
    vertical-align: middle;
}

.custom-backdrop {
    background: rgba(0, 0, 0, 0.4)
}

.modal .modal-header {
    padding-top: 2px;
    padding-bottom: 2px
}

.modal .modal-header h5 span {
    top: -1px;
    right: -5px
}

.modal .modal_custom {
    max-width: 400px !important
}

.modal .modal-footer {
    padding: 8px 15px
}

.modal-50 {
    width: 50%;
}

.modal-65 {
    width: 65%;
}

.modal-95 {
    width: 95%;
}

.has-error .form-control {
    border: 2px solid #4285f4;
}

.type-ahead-loading {
    width: 20px;
    position: absolute;
    top: 30px;
    right: 6px;
}

.type-ahead-loading-group {
    width: 20px;
    position: absolute;
    top: 7px;
    right: 92px;
    z-index: 3;
}

.r-20 {
    right: 20px
}

.auto_num {
    font-size: 16px;
    font-weight: bolder
}

.relative {
    position: relative;
}

.bs-example > .nav-tabs > li.active > a,
.bs-example > .nav-tabs > li.active > a:focus,
.bs-example > .nav-tabs > li.active > a:hover {
    background: url("../img/bg.png") !important
}

.bs-example > .nav-tabs > li > a {
    margin-right: 0;
    border-radius: 0
}

.money-balance > .bs-example > .nav-tabs > li.active > a,
.money-balance > .bs-example > .nav-tabs > li.active > a:focus,
.money-balance > .bs-example > .nav-tabs > li.active > a:hover {
    background: #fff!important;
}

.money-balance > .bs-example > .nav-tabs > li > a {
    margin-right: 0;
    border-radius: 0
}

.lang {
    display: flex !important;
}

.flat {
    width: 20px;
    height: 18px;
    background: #FFFFFF;
    display: inline-block;
}

.flat.kh {
    background: url("../img/flat_kh.png") no-repeat center;
    background-size: 20px 18px;
}

.flat.en {
    background: url("../img/flat_en.png") no-repeat center;
    background-size: 20px 18px;
}

textarea {
    resize: vertical
}

.load-data .sub_menu {
    background: #ffffff;
    background: -moz-linear-gradient(top, #f7f7f7 0%, #f6f6f6 30%, #f6f6f6 30%, #e5e5e5 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ffffff), color-stop(30%, #f6f6f6), color-stop(30%, #f6f6f6), color-stop(100%, #e5e5e5));
    background: -webkit-linear-gradient(top, #f7f7f7 0%, #f6f6f6 30%, #f6f6f6 30%, #e5e5e5 100%);
    background: -o-linear-gradient(top, #f7f7f7 0%, #f6f6f6 30%, #f6f6f6 30%, #e5e5e5 100%);
    background: -ms-linear-gradient(top, #f7f7f7 0%, #f6f6f6 30%, #f6f6f6 30%, #e5e5e5 100%);
    background: linear-gradient(to bottom, #f7f7f7 0%, #f6f6f6 30%, #f6f6f6 30%, #e5e5e5 100%);
}

.load-data .sub_menu, .load-data .sub_menu:hover {
    background-color: #ddd !important;
    color: #000 !important
}

.load-data .sub_menu th {
    padding: 5px;
    font-size: 12px
}

.load-data .row-details.row-details-close {
    background: url(../img/datatable-row-openclose.png) no-repeat;
}

.load-data .row-details.row-details-close:focus {
    display: none
}

.load-data .row-details {
    margin-top: 3px;
    display: inline-block;
    cursor: pointer;
    width: 14px;
    height: 14px;
}

.load-data .row-details.row-details-open {
    background: url(../img/datatable-row-openclose.png) 0 -23px no-repeat !important;
}

.b-r-b-l-0 {
    border-bottom-left-radius: 0
}

.ui-typeahead > .dropdown-menu {
    border-radius: 0;
    top: 34px !important;
    border-top: 0;
    margin-top: 0
}

.profit-loss .table > thead > tr > th {
    padding: 8px;
}

.profit-loss .table > tbody > tr > td {
    padding: 10px;
}

.dropdown-menu .divider {
    margin: 0 !important;
    background-color: #ddd !important
}

.no-b {
    border: none;
}

.balance fieldset {
    background-color: #fff;
}

.balance legend {
    margin: 0 auto;
    background-color: #fff;
    border: 1px solid #ccc;
    border-bottom-style: dotted;
    -webkit-box-shadow: 0 0 5px 0 #ccc;
    -moz-box-shadow: 0 0 5px 0 #ccc;
    box-shadow: 0 0 5px 0 #ccc;
}

.navbar-brand img {
    display: inline-block;
    height: 50px;
}

.navbar-brand span {
    display: inline-block;
    margin-left: 8px;
    margin-right: 8px;
}

.info-container {
    padding: 15px;
    border: 1px solid #0f4fa1;
    border-radius: 5px;
    background: #f7f6f7;
}

.info-container .info-title {
    margin: 10px 0;
}
.stock-in {
    overflow-y: auto;
    overflow-x: hidden;
    margin-bottom: 0;
    height: calc(100vh - 225px);
}
.dropdown-menu-container .dropdown-menu{
    overflow-y: auto;
    max-height: 300px;
}
.mt-0 {
    margin-top: 0;
}
.mt-7 {
    margin-top: 7px;
}
.mb-0 {
    margin-bottom: 0;
}
input[type=checkbox] {
    height: 18px;
    width: 18px;
    margin: 5px 0 0;
    cursor: pointer;
}

p.panel-title, h4.modal-title, h5.modal-title {
    font-weight: bold;
}

.input-total {
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    border: none;
    box-shadow: none !important;
    background: transparent !important;
    border-bottom: 2px solid red;
    pointer-events: none;
    font-weight: bold;
}

ul.unit-list {
    list-style: none;
    padding: 0 0 0 15px;
    margin: 0;
}

.unit-cont {
    border: 1px solid #c7c1c1;
    padding: 10px;
    border-radius: 5px;
}

@media screen and (max-height: 768px) {
    .purchase-rs {
        overflow-x: auto;
        max-height: 419px;
    }

    .purchase-rs > .tab-menu {
        margin-top: -15px;
    }

    #purchase_inventory {
        min-height: 700px;
    }

    .p-l-xs-0 {
        padding-left: 0
    }

    /*.p-r-xs-0 {
        padding-right: 0
    }*/

    .p-l-xs-15 {
        padding-left: 15px
    }

    .p-r-xs-15 {
        padding-right: 15px
    }

    /*.p-xs-15 {
        padding: 0 15px
    }*/

    .bottom-bar {
        position: absolute;
    }

    .page-login {
        display: block;
        padding-top: 15px;
    }

    .login {
        /*padding: 20px 0 10px;*/
    }

    .m-t-xs-0 {
        margin-top: 0 !important
    }

    .float-right-xs {
        text-align: right !important
    }

    /*.m-t-25 {
        margin-top: 0
    }

    .text-center-xs {
        text-align: center
    }

    .m-b-60 {
        margin-bottom: 0
    }

    .panel-total {
        position: relative;
        bottom: 0;
        padding: 0;
    }*/
}

@media (max-width: 768px) {
    .p-xs-15 {
        padding-left: 15px;
        padding-right: 15px;
    }

    .p-xs-0 {
        padding: 0 !important;
    }

    .p-xs-5 {
        padding-left: 5px !important;
        padding-right: 5px !important;
    }

    .mt-xs-0 {
        margin-top: 0 !important;
    }

    .pl-xs-0 {
        padding-left: 0 !important;
    }

    .text-xs-center {
        text-align: center !important;
    }

    .w-x-auto {
        width: auto;
    }

    .f-xs-right {
        float: right;
    }
}