::-webkit-scrollbar {
    width: 10px; /* for vertical scrollbars */
    height: 10px; /* for horizontal scrollbars */
}

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

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

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

body {
    padding-top: 60px;
    padding-bottom: 40px;
    background: #ddd;
    font-family: "Helvetica Neue", "Helvetica", "Arial", sans-serif, "Kh Siemreap";
}

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: #337AB7 !important;
    border-bottom: none;
    box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.1)
}

.navbar-brand, .navbar-brand:hover {
    background: rgba(0, 0, 0, 0) url("../images/anchorcity.jpg") no-repeat scroll left center / 30% auto;
    color: #ffffff;
    margin-left: 1px !important;
    padding-left: 60px;
}

#navbar ul .active {
    background: #2E6DA4 !important;
}

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

#navbar ul li a:hover, #navbar ul li a:focus {
    background: #2E6DA4 !important;
}

#navbar ul li a {
    color: #ffffff !important;
}

.footer {
    background: #337AB7 !important;
    color: #ffffff;
    padding: 6px;
    font-size: 90%;
}

.loading {
    position: absolute;
    z-index: 2;
    background: rgba(255, 255, 255, 0.8) url("../img/loading.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: #2E6DA4 !important;
    color: #0f0f0f !important;
}

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

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

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

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

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

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

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

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

.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: -1px;
    background: #337AB7 !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: #2E6DA4 !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;
}

.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 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.12), 0 1px 5px 0 rgba(0, 0, 0, 0.2);
    border: 1px solid #eee;
    border-radius: 8px;
    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;
    }
}

@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;
    }
}

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

.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-total {
    position: fixed;
    bottom: 27px;
    right: 0;
    left: 0;
    background: #DDDDDD;
    padding: 10px;
}

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

.tab-menu {
}

.tab-menu li {
}

.tab-menu li.active a, .tab-menu li.active a:hover, .tab-menu li.active a:focus {
    border-top: 2px solid #337AB7;
}

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

.tab-menu li > a:focus, .tab-menu li > a:hover {
    background: none;
    border-top: 2px 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;
}

.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
}

.required {
    color: #ff0000;
}

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

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

.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-10 {
    margin-top: 10px
}

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

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

.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 {
    left: 50%;
    bottom: 0;
    position: absolute;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 7px solid #2E6DA4;
    display: inline-block;
    margin: 0 0 -7px -7px;
    width: 0;
    height: 0;
}

/* override class */
.pagination {
    margin: 0;
}

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

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

.table {
    background: #dddddd
}

#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;
    background-color: #fff;
}

.p-0 {
    padding: 0;
}

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

.modal {
    text-align: center
}

.mb-50 {
    margin-bottom: 50px;
}

.mb-0 {
    margin-bottom: 0;
}

.mt-7 {
    margin-top: 7px;
}

.mt-25 {
    margin-top: 25px;
}

.mtb-5-10 {
    margin-top: 5px;
    margin-bottom: 10px;
}

@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
}
.bg-red{
    background: rgba(255, 49, 56, 0.44) !important;
}

.mt-0 {
    margin-top: 0;
}

.mt-5 {
    margin-top: 5px;
}

.mt-25 {
    margin-top: 25px;
}

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

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

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

.p-7-0 {
    padding: 7px 0;
}

.table-info fieldset {
    border: 1px solid #cccccc !important;
    padding: 0 15px !important;
    border-radius: 5px;
}

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

.type-ahead-loading {
    position: absolute;
    bottom: 17px;
    right: 5px;
}

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

.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;
}

.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
}