.modal-open {
    z-index: 100 !important;
}

.btn {
    margin-bottom: 5px;
}

@media (min-width: 576px) {
    .modal-dialog {
        max-width: 100% !important;
    }    
}

@media (max-width:768px) {
    #divNavbarContainer {
        display: none
    }
}

@media (min-width:992px) {
    .modal-dialog {
        width: auto;
        margin: 30px auto
    }

    .modal-lg {
        max-width: 1024px;
    }
}

@media (min-width:1152px) {
    .modal-dialog {
        width: 850px
    }
}

@media (min-width:1024px) {
    .modal-dialog {
        width: 750px
    }
}

@media (min-width:1920px) {
    .modal-dialog {
        width: 1100px
    }
}

@media (min-width:1680px) {
    .modal-dialog {
        width: 1100px
    }
}

@media (min-width:1366px) {
    .modal-dialog {
        width: 1100px !important;
    }
}

@media (min-width:1360px) {
    .modal-dialog {
        width: 1100px !important;
    }
}

@media (min-width:1280px) {
    .modal-dialog {
        width: 1100px !important;
    }
}

.table-responsive {
    /*padding-bottom: 200px*/
}

.table-padding-bottom {
    padding-bottom: 200px;
    margin-bottom: 200px;
}

.table td, .table th {
    padding: 5px;
}

.col, .col-1, .col-10, .col-11, .col-12, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-auto, .col-lg, .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-auto, .col-md, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-auto, .col-sm, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-auto, .col-xl, .col-xl-1, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-auto {
    padding-right: 10px;
    padding-left: 10px;
}

.select2, input[type="search"], ui-select-container ui-select-multiple ui-select-bootstrap dropdown form-control ng-valid open ng-not-empty ng-dirty, .ui-select-multiple.ui-select-bootstrap {
    width: 100% !important;
}

.ui-select-bootstrap > .ui-select-choices, .ui-select-bootstrap > .ui-select-no-choice {
    width: 100%;
    height: auto;
    max-height: 200px;
    overflow-x: hidden;
    margin-top: -1px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 9999;
    display: none;
    float: left;
    min-width: 160px;
    padding: 5px 0;
    margin: 2px 0 0;
    font-size: 13px;
    list-style: none;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ccc;
    border: 1px solid rgba(0, 0, 0, .15);
    border-radius: 4px;
    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
    box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
}

.dropdown {
    position: relative;
}

.ui-select-bootstrap .ui-select-choices-row.active > span {
    color: #fff;
    text-decoration: none;
    outline: 0;
    background-color: #428bca;
}

[ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], .ng-cloak, .x-ng-cloak, .ng-hide:not(.ng-hide-animate) {
    display: none !important;
}

input[type="search"] {
    -webkit-appearance: none;
}

.open > .dropdown-menu {
    display: block;
}

.ui-select-multiple.ui-select-bootstrap .ui-select-match-item {
    color: #76838f;
    background: #e4eaec;
    border: 1px solid #e4eaec;
    border-radius: .215rem;
    cursor: default;
    float: left;
    margin: .3rem 0 0 .5rem;
    padding: 0 .429rem;
    font-size: 13px;
}

body {
    font-size: 13px;
}

.form-control {
    font-size: 13px;
    height: 33px;
}

.form-group {
    margin-bottom: 13px;
}


.panel-title {
    font-size: 16px;
}

.site-menubar-unfold .site-menu > .site-menu-item > a .site-menu-title {
    font-size: 13px
}

.site-menubar-unfold .site-menu-icon {
    margin-right: 13px
}

.site-menu .site-menu-sub {
    font-size: 13px;
}

.btn {
    font-weight: 450;
    font-size: 13px;
}

/*in phiếu*/

.printModal {
    background-color: hsla(0,0%,100%,.91);
    color: #0460b5;
    display: flex;
    font-family: sans-serif;
    font-size: 30px;
    font-weight: 300;
    height: 100%;
    left: 0;
    position: absolute;
    text-align: center;
    top: 0;
    width: 100%
}

.printClose {
    position: absolute;
    right: 10px;
    top: 10px
}

    .printClose:before {
        content: "\D7";
        cursor: pointer;
        display: block;
        font-family: Helvetica Neue,sans-serif;
        font-size: 2em;
        font-weight: 100;
        height: 1.25em;
        line-height: 1px;
        overflow: hidden;
        padding-top: .5em;
        text-align: center;
        text-indent: 1px;
        width: 1.25em
    }
/*Kết thúc in phiếu*/

.checkbox-custom label {
    font-weight: 400;
}

label {
    font-weight: 400;
}

.input-group-addon {
    padding: .429rem 0.85rem;
    margin-bottom: 0;
    font-size: 0.9rem !important;
    font-weight: 300;
    line-height: 1.571429;
    color: #76838f;
    text-align: center;
    background-color: #e4eaec;
    border: 1px solid #e4eaec;
    border-radius: 0 .215rem .215rem 0;
}

/* hoand add css to datetimepicker and calendar 4.0, 2019-05-01 */
/* fullcalendar */
.fc-content, td.fc-list-item-title.fc-widget-content {
    cursor: pointer !important;
}

.ui-datepicker {
    margin: 0 !important;
    -webkit-border-radius: 0 !important;
    -moz-border-radius: 0 !important;
    border-radius: 0 !important;
    z-index: 10000 !important; /*hiển thị trên modal*/
}

.ui-widget-header {
    background: #ffffff !important;
    color: #000 !important;
    font-weight: bold !important;
    border-bottom: 1px solid gray !important;
    border-radius: 0px !important;
}

    .ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default, .ui-button, html .ui-button.ui-state-disabled:hover, html .ui-button.ui-state-disabled:active {
        border: 1px solid #c5c5c5 !important;
        background: #ffffff !important;
        font-weight: normal !important;
        color: #454545 !important;
    }

        .ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active, a.ui-button:active, .ui-button:active, .ui-button.ui-state-active:hover {
            border: 1px solid #0099b8 !important;
            background: #0099b8 !important;
            font-weight: normal !important;
            color: #fff !important;
        }

    .ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {
        border: 1px solid #11c26d !important;
        background: #11c26d !important;
        color: #ffffff !important;
    }

button.ui-datepicker-current.ui-state-default.ui-priority-secondary.ui-corner-all {
    color: black !important;
}

button.ui-datepicker-close.ui-state-default.ui-priority-primary.ui-corner-all {
    color: orangered !important;
}

.ui-datepicker .ui-datepicker-header {
    position: relative !important;
    padding: .2em 0 !important;
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid gray !important;
}

select.ui-datepicker-year, select.ui-datepicker-month {
    border: none !important;
    cursor: pointer !important;
}

a.ui-datepicker-prev.ui-corner-all, a.ui-datepicker-next.ui-corner-all {
    cursor: pointer !important;
}

/* /end hoand add css to datetimepicker and calendar 4.0, 2019-05-01 */

.padding-left0 {
    padding-left: 0px !important;
}

.padding-right0 {
    padding-right: 0px !important;
}

.btn-subadd {
    margin-top: 26px;
    padding-left: 2px !important;
}

.click-detail {
    color: #3e8ef7;
    cursor: pointer
}

.m-radio {
    margin-top: 6px;
    margin-bottom: 14px;
}

.table > tbody > tr > td {
    vertical-align: middle;
}

.ui-select-bootstrap .ui-select-toggle {
    position: relative;
    background-color: #fff;
}

.readonly {
    background: #e9ecef !important;
}

.caret {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 2px;
    vertical-align: middle;
    border-top: 4px solid;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
}

.sub-btn {
    width: 35px;
    border-radius: 0 .25rem .25rem 0;
}

.group-control {
    width: calc(100% - 35px);
}

    .group-control > .ui-select-match > .btn {
        border-radius: 4px 0 0 4px !important;
    }

.width-100 {
    width: 100%;
}

.chon-hanghoa-500 > .ui-select-choices-content {
    width: 500px !important;
}

.chon-dvt-150 > .ui-select-choices-content {
    width: 150px !important;
}

.chon-kho-300 > .ui-select-choices-content {
    width: 300px !important;
}

@media only screen and (max-width: 768px) {
    /* For mobile phones: */
    .ui-tooltip-content, div#ui-id-5 {
        display: none;
    }
}

.modal-content {
    top: 65px;
}

.lbl-total-home {
    color: #00B1EB;
    font-size: 20px;
    font-weight: 700;
    margin-left: 10px;
    position: absolute;
    right: 22px;
    top: 13px;
}

.dropdown-home-right {
    position: absolute;
    right: 35px;
    top: 21px;
}

/* hoan, 2019-06-29, checkbox style */

h5.modal-title {
    width: 100% !important;
    text-align: center !important;
}

.ui-menu {
    z-index: 10000 !important;
}

/*th, td {
    white-space: nowrap;
}*/

/*checkbox*/
.checkbox .cr {
    position: relative;
    display: inline-block;
    border: 1px solid #a9a9a9;
    border-radius: .25em;
    width: 1.3em;
    height: 1.3em;
    float: left;
    margin-right: .5em;
    color: green;
    cursor: pointer;
}

    .checkbox .cr .cr-icon {
        position: absolute;
        font-size: .8em;
        line-height: 0;
        top: 50%;
        left: 20%;
    }

.checkbox label input[type="checkbox"] {
    display: none;
}

    .checkbox label input[type="checkbox"] + .cr > .cr-icon {
        transform: scale(3) rotateZ(-20deg);
        opacity: 0;
        transition: all .3s ease-in;
    }

    .checkbox label input[type="checkbox"]:checked + .cr > .cr-icon {
        transform: scale(1) rotateZ(0deg);
        opacity: 1;
    }

    .checkbox label input[type="checkbox"]:disabled + .cr {
        opacity: .5;
    }

.width-120 {
    width: 120px;
    min-width: 120px;
}

.width-70 {
    width: 70px;
    min-width: 70px;
}

.width-75 {
    width: 76px;
    min-width: 76px;
}

.width-80 {
    width: 80px;
    min-width: 80px;
}

.width-130 {
    width: 130px;
    min-width: 130px;
}

.width-150 {
    width: 150px;
    min-width: 150px;
}

.width-50_text-right {
    width: 50px;
    min-width: 50px;
    text-align: right;
}

.width-50-text-right {
    min-width: 50px;
    text-align: right;
}

.sub-span {
    border-color: #3e8ef7;
    background-color: #3e8ef7;
    cursor: pointer;
    color: white
}

.js-height-50 {
    height: 50px;
}

/*.btn + .btn {
    margin-left: 5px;
}*/

.panel-heading h6.panel-title {
    MARGIN-LEFT: -5px;
}

span.btn.btn-default.form-control.ui-select-toggle {
    margin: 0;
}

.modal-header h6.modal-title, h5.modal-title, h4.modal-title {
    text-align: center;
    width: 100%
}

.clsSelect {
    background-color: #f1f4f5a1;
    color: lightseagreen;
    padding: 8px;
    border: 1px solid #cccccc;
    font-weight: 700;
}

.clsUnSelect {
    background-color: #ffffff;
    color: black;
    padding: 8px;
    border: 1px solid #cccccc
}

.modify {
    margin: 29px 0 0 -10px;
    position: fixed;
    z-index: 1000;
    width: 60%;
    display: flex;
}

/* lịch sử */
.my-modal-history {
    min-width: 90% !important;
}

.zig-zag {
    border: none;
    width: 90%;
    margin: auto;
    margin-top: 10px;
    margin-bottom: 10px;
    height: 10px;
    background: linear-gradient(135deg, #ECEDDC 25%, transparent 25%) -20px 0, linear-gradient(225deg, #ECEDDC 25%, transparent 25%) -20px 0, linear-gradient(315deg, #ECEDDC 25%, transparent 25%), linear-gradient(45deg, #ECEDDC 25%, transparent 25%);
    background-size: 40px 40px;
    background-color: #EC173A;
}

.line-dot {
    border: 1px dashed #000;
    width: 100%;
    margin: auto;
    margin-top: 10px;
    margin-bottom: 10px;
}

.table-wrap {
    height: 231px;
    overflow-y: auto;
}

.table-wrap-150 {
    height: 150px;
    overflow-y: auto;
}

.text-red {
    color: red;
    font-weight: 600
}

.color-violet {
    color: darkviolet;
}

.color-red {
    color: red;
}

.color-orange {
    color: orange;
}

.color-green {
    color: green;
}

.color-default {
    color: black;
}

.border-left-history {
    border-left: 1px solid gray;
}
/*/ lịch sử */

.quetphieu {
    font-size: 15px;
    font-weight: bold;
    color: red;
    text-align: left
}

@media (max-width:375px) {
    .quetphieu {
        font-size: 15px;
        font-weight: bold;
        color: red;
        text-align: left
    }
}

.mar-top-5 {
    margin-top: 5px;
}

.mar-top-10 {
    margin-top: 10px;
}

.cursor-pointer {
    cursor: pointer
}

.css-chinhanh {
    font-size: 15px;
    font-weight: 600;
    color: black !important;
}

.no-padding {
    padding: 0 0 0 0 !important
}

.no-margin {
    margin: 0 0 0 0 !important
}

.input-group-append .btn, .input-group-prepend .btn {
    padding: 6px 10px 5px 10px;
}

.modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1400;
    display: none;
    overflow: hidden;
    outline: 0;
}

.color-blue {
    color: #00ff89;
}

.color-blue1 {
    color: blue;
}

.dropdown-menu-media .list-group-item .media {
    padding: 10px 0;
    border-top: 1px solid #e4eaec;
}

.avatar {
    position: relative;
    display: inline-block;
    width: 45px;
    white-space: nowrap;
    vertical-align: bottom;
    border-radius: 1000px;
}

    .avatar:hover img,
    .r100:hover {
        -webkit-border-radius: 0;
        -moz-border-radius: 0;
        border-radius: 0;
        -webkit-transition: all .2s ease-out;
        -moz-transition: all .2s ease-out;
        -o-transition: all .2s ease-out;
        transition: all .2s ease-out
    }

.bold {
    font-weight: 700 !important
}

.site-menubar-unfold .site-menu-title {
    display: inline-block;
    max-width: 185px;
}

.css-view {
    background-color: transparent !important;
}

.dx-datagrid-rowsview .dx-select-checkboxes-hidden > tbody > tr > td > .dx-select-checkbox {
    display: block !important;
}

.pdl-10 {
    padding-left: 10px;
}

.dx-header-row {
    background-color: #2F90FF;
    color: #fff;
}

.dx-datagrid .dx-header-filter {
    color: #fff !important;
}

.dx-texteditor-input {
    padding: 5px 8px 7px !important;
    min-height: 31px !important;
}

.row-2 {
    display: flex;
    margin-right: -10px;
    margin-left: -10px;
}

table .btn {
    margin-bottom: 0px !important;
}

.table-bordered thead:first-child th {
    border-top: none !important;
    vertical-align: middle;
    background-color: #3e8ef7;
    color: #fff;
}

.modal-header {
    padding: 5px 20px;
}

.modal-body {
    padding: 5px 15px 5px 15px;
}

/*.modal-body .form-group {
        margin-bottom: 0px !important;
    }*/

.dx-datagrid-header-panel .dx-toolbar {
    margin-bottom: 3px;
    margin-top: 3px;
    padding-left: 3px;
    padding-right: 3px;
}

.dx-datagrid-header-panel .dx-toolbar {
    margin-bottom: 3px !important;
}

.dx-datagrid-rowsview .dx-row > .dx-master-detail-cell {
    padding: 10px 10px !important;
}

.dx-textbox {
    height: 34px !important;
}

.cke_show_borders {
    border: solid 1px #e4eaec;
}

.text-center-middle {
    text-align: center;
    vertical-align: middle !important;
}

.vertical-middle {
    vertical-align: middle !important;
}

.mar-bot-15 {
    margin-bottom: 15px !important;
}

.mar-bot-10 {
    margin-bottom: 10px;
}

.js-permission {
    display: none
}

.required {
    color: red !important;
}

    .required::after {
        content: " (*)";
        color: red !important;
    }

.validation span,
.validation div span,
.validation {
    border-color: red;
}

.open-datetimepicker {
    cursor: pointer;
}

.loading {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: #232121 !important;
    opacity: 0.5;
    z-index: 1410;
}

.lds-facebook {
    display: inline-block;
    position: fixed;
    z-index: 999;
    height: 2em;
    width: 2em;
    margin: auto;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

    .lds-facebook div {
        display: inline-block;
        position: absolute;
        left: 6px;
        width: 13px;
        background: #cef;
        animation: lds-facebook 1.2s cubic-bezier(0, 0.5, 0.5, 1) infinite;
    }

        .lds-facebook div:nth-child(1) {
            left: 6px;
            animation-delay: -0.24s;
        }

        .lds-facebook div:nth-child(2) {
            left: 26px;
            animation-delay: -0.12s;
        }

        .lds-facebook div:nth-child(3) {
            left: 45px;
            animation-delay: 0;
        }

@keyframes lds-facebook {
    0% {
        top: 6px;
        height: 51px;
    }

    50%, 100% {
        top: 19px;
        height: 26px;
    }
}

.mar-rap {
    margin-top: 5px;
    margin-right: 3px;
}

.group-control-rap {
    width: calc(100% - 21px);
}

    .group-control-rap .caret {
        display: none !important;
    }

.dx-datagrid-rowsview .dx-adaptive-detail-row .dx-adaptive-item-text {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
    padding-left: 0px !important;
}

.dx-layout-manager.dx-layout-manager-one-col .dx-box-item:not(:first-child) .dx-single-column-item-content > .dx-field-item {
    padding-top: 4px !important;
}

.dx-datagrid-hidden-column {
    white-space: nowrap !important;
}

.word-wrap {
    white-space: unset !important;
    word-wrap: break-word;
}

.btn-floating.btn-xss, .btn-group-xss > .btn-floating.btn {
    width: 2rem;
    height: 2rem;
    padding: 0;
    font-size: .529rem;
}

.padding-bottom-200 {
    padding-bottom: 200px;
}

.modal-body-mobile {
    padding: 0px 0px 0px 0px;
}

.modal-content-mobile {
    min-width:650px !important;
}