﻿html, body {
    height: 100%;
}
:root {
    --primary-text-color: rgb(0, 102, 236);
}
.container {
    height: 100%;
}

.main_container {
    height: 100%;
    overflow: hidden;
}

.right_col {
    height: calc(100% - 30px);
    overflow: auto;
    position: relative;
}

.margin_menu_section {
    /*margin-top: 80px;*/
}

.content-margin-top {
    margin-top: 42px;
}

.hr-line-dashed {
    border-top: 1px dashed #999999;
    color: #ffffff;
    background-color: #ffffff;
    height: 1px;
    margin: 20px 0;
}

.hr-line-solid {
    border-bottom: 1px solid #999999;
    background-color: rgba(0, 0, 0, 0);
    border-style: solid !important;
    margin-top: 15px;
    margin-bottom: 15px;
}

#footer {
    position: fixed;
    left: 0px;
    bottom: 0px;
    height: 30px;
    width: 100%;
    background: #999;
}

/*IE 6*/
* html #footer {
    position: absolute;
    top: expression((0-(footer.offsetHeight)+(document.documentElement.clientHeight ? document.documentElement.clientHeight : document.body.clientHeight)+(ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop))+'px');
}

body {
    margin: 0;
    font-family: "Lato", sans-serif;
}


/*.sidebar {
    margin: 0;
    padding: 0;
    width: 230px;
    position: fixed;
    height: 100%;
    overflow: auto;
}

    .sidebar a {
        display: block;
        color: black;
        padding: 16px;
        text-decoration: none;
    }

div.content {
    margin-left: 200px;
    padding: 1px 16px;
    height: 1000px;
}

@media screen and (max-width: 700px) {
    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }

        .sidebar a {
            float: left;
        }

    div.content {
        margin-left: 0;
    }
}

@media screen and (max-width: 400px) {
    .sidebar a {
        text-align: center;
        float: none;
    }
}*/

.footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 10px;
    text-align: center;
    background: #fafafa;
    border-top: 1px solid #aaa;
}

.btn-action {
    font-size: 15px;
    color: red
}

/*.navbar {
    border: 0;
}*/

/*.row-header {
}

a:hover {
    text-decoration: underline;
}

a:active {
    text-decoration: underline;
}*/

.link-customer {
    color: deepskyblue !important;
}

th {
    text-align: center;
}

.btn-search {
    margin-top: 0px;
}

.br-theme-bars-reversed .br-widget a {
    background-color: pink;
}

    .br-theme-bars-reversed .br-widget a.br-active,
    .br-theme-bars-reversed .br-widget a.br-selected {
        background-color: #ff446a;
    }

.br-theme-bars-reversed .br-widget .br-current-rating {
    color: #ff446a;
    font-size: 20px;
}

.require-field {
    color: #f50831 !important;
}

.confirm-password {
    color: #f50831;
}

.ml-2 {
    margin-left: 20px !important;
}

.mb-0 {
    margin-bottom: 0px !important;
}

.mt-0 {
    margin-top: 0px !important;
}

.mt-1 {
    margin-top: 10px: !important;
}

.mt-2 {
    margin-top: 20px !important;
}

.top_nav .navbar-right {
    width: auto !important;
}

.nav-title {
    padding: 2px;
}
/*a:hover {
    background-color: #4B5F71;
}*/
.btn-addkh {
    color: #f5f5f5 !important;
}

.table > thead > tr > th {
    vertical-align: middle;
}

.nav-sm .navbar.nav_title {
    width: 50px;
}

.nav-sm .container.body .col-md-3.left_col {
    width: 50px;
}

.nav-sm .nav.side-menu > li > a {
    width: 50px;
}

.nav-sm .main_container .top_nav {
    margin-left: 50px;
}

.nav-sm .container.body .right_col {
    margin-left: 50px;
    z-index: auto;
}

.nav-sm .nav.side-menu li a {
    font-size: 12px;
}

    .nav-sm .nav.side-menu li a i {
        margin-bottom: 0;
    }

.nav-md .nav.side-menu > li > a {
    width: 225px;
}

.fa-icon-action {
    font-size: 22px !important;
    color: red;
}

.active a span.fa {
    text-align: center !important;
    margin-right: 0;
}

/*.nav-sm .container.body .right_col {
    margin-top: 0;
    padding-top: 70px !important;
}*/

a.phone:hover, a.phone-cs:hover {
    text-decoration: underline;
}

.pagination {
    margin-top: 0;
}

/*------------------------------------*/

a {
    color: #0DACE3;
}

    a:focus, a:hover {
        color: #0D2C6C;
    }

body {
    color: #333333;
    background: #fafafa;
}

div[style="margin-top: 20px;"] {
    display: none;
}

.panel {
    background-color: initial;
    border: none;
    box-shadow: none;
    margin-bottom: 0;
}

.panel-heading {
    padding: 0;
    border: none;
}

h4.panel-title {
    display: none;
}

.panel-body {
    padding: 0;
}

.nav_menu {
    background: #0DACE3;
    box-shadow: 0 0 5px #888;
    border-bottom: none;
    margin-bottom: 0;
}

.nav-title {
    color: #fafafa;
    font-size: 20px;
    padding: 0;
}

.nav.navbar-nav > li > a {
    color: #fafafa !important;
}

.nav a {
    color: #fafafa;
}

.toggle {
    padding: 0;
    width: 50px;
}

    .toggle a {
        padding: 10px 15px;
        display: block;
    }

        .toggle a i {
            font-size: 20px;
        }

.menu_section > ul {
    margin-top: 42px;
}

.nav.side-menu > li > a {
    margin-bottom: 0;
    padding: 10px;
    padding-right: 15px;
    font-size: 12px;
    color: #fafafa;
}

    .nav.side-menu > li > a:hover {
        color: #fafafa !important;
        background: #0DACE3 !important;
    }

.nav > li > a {
    padding: 5px 15px;
}

.left_col {
    background: #0D2C6C;
    z-index: 1040 !important;
}

.nav_title {
    background: #0D2C6C;
    height: 42px;
    min-height: 42px;
}

.nav.side-menu > li.active, .nav.side-menu > li.current-page, .nav-sm .nav.child_menu li.active, .nav-sm .nav.side-menu li.active-sm {
    border-right: none;
}

    .nav.side-menu > li.active > a {
        text-shadow: none;
        box-shadow: none;
        background: #0DACE3;
    }

.nav-md .nav.side-menu > li > a {
    width: 230px;
}

.nav.child_menu {
    position: absolute;
    top: 0;
    left: 230px;
    box-shadow: 3px 3px 5px #aaa;
    background: #fafafa;
}

    .nav.child_menu li {
        padding-left: 0;
    }

    .nav.child_menu > li > a {
        color: #333;
        width: 270px;
        padding: 8px 10px;
        border-top: 1px solid #ccc;
    }


    .nav.child_menu > li > ul {
        display: block;
        position: absolute;
        left: 270px;
        top: -2px;
        margin-left: 1px;
    }

.dropdown-menu > li > a {
    color: inherit;
    padding: 8px 10px;
    width : 270px;
    border-top: 1px solid #ccc;
    white-space: normal !important;
}

li.dropdown-submenu ul { 
    display: none !important;
    border: none;
    border-radius: inherit;
    box-shadow: 3px 3px 5px #aaa;
}

li.dropdown-submenu.open ul {
    display: block !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: #888;
    margin-top: 3px;
    margin-right: 0px;
}

.dropdown-submenu > a:hover:after {
    border-left-color: #fafafa;
}


.dropdown-menu > li > a:focus, .dropdown-menu > li > a:hover {
    background: #0DACE3;
    color: white;
}

.nav-md ul.nav.child_menu li:before, .nav-md ul.nav.child_menu li:after {
    display: none;
}

.nav.child_menu > li > a:hover {
    background: #0DACE3;
    color: #fafafa;
}

.nav .open > a, .nav .open > a:focus, .nav .open > a:hover {
    background-color: #0DACE3;
    color:white!important;
    border-color: #ccc;
}

    .nav .open > a:after {
        color: #fafafa !important;
    }

.main_menu .fa {
    width: 30px;
    text-align: center;
    margin-right: 10px;
}

.main_menu span.fa {
    text-align: right;
    margin-top: 0px;
    margin-right: 0;
    font-size: 15px;
    color: #fafafa;
}

.active a span.fa {
    text-align: right !important;
}

.nav-sm .navbar.nav_title a i {
    font-size: inherit;
    margin: 0;
}

.nav-sm .nav.side-menu li a i {
    font-size: 18px !important;
}

.nav-sm .nav.side-menu li a span {
    display: none;
}

.site_title {
    padding-left: 0;
    font-size: 20px;
    height: 42px;
    line-height: 42px;
}

    .site_title i {
        border: none;
        width: 50px;
        text-align: center;
        color: #0DACE3;
    }

    .site_title span {
        color: #0DACE3;
    }

.nav-sm ul.nav.child_menu {
    width: 270px;
    background: #fafafa;
}

    .nav-sm ul.nav.child_menu li {
        padding: 0;
    }

    .nav-sm ul.nav.child_menu a {
        padding: 8px 10px;
    }

    .nav-sm .nav.side-menu li.active-sm ul ul, .nav-sm ul.nav.child_menu ul {
        position: absolute;
        width: 270px;
        background: #fafafa;
    }

.nav-sm #SearchInputId, .nav-sm #version-id {
    display: none;
    visibility: hidden;
}

.user-profile span {
    margin-left: 10px;
}

.top_nav .nav .open > a, .top_nav .nav .open > a:focus, .top_nav .nav .open > a:hover, .top_nav .nav > li > a:focus, .top_nav .nav > li > a:hover {
    background: #B2D24B;
}

.top_nav .dropdown-menu li a {
    padding: 10px 15px;
}

.navbar-nav .open .dropdown-menu {
    border: none;
    border-radius: 0;
    box-shadow: -3px 3px 5px #aaa;
}

/* Change Company */

#changeCompany {
    position: absolute;
    bottom: 0;
    left: 230px;
    width: 255px;
    z-index: 10000;
}

.nav-sm #changeCompany {
    left: 50px;
}

#leftPanelCompany .dropdown-toggle {
    width: 100%;
    margin: 0;
    color: #fafafa;
    background: #0DACE3;
    border-radius: 0;
    border: none;
}

.contentleftPanelCompany {
    float: left;
    display: none;
    width: 230px;
}

#LeftPanelToggle {
    float: left;
    background: #fff;
    padding: 3px 5px;
    border: 1px solid #999;
    border-left: none;
    text-align: center;
    height: 32px;
    line-height: 32px;
    cursor: pointer;
}

.fa-caret-left-right:before {
    content: "\f0da";
    color: #000;
    font-size: 25px;
}

.fa-caret-right-left:before {
    content: "\f0d9";
}

.dropup .dropdown-menu, .navbar-fixed-bottom .dropdown .dropdown-menu {
    margin: 0;
    border: none;
    box-shadow: 2px -1px 5px #aaa;
}

    .dropup .dropdown-menu > li > a {
        border: none;
        border-bottom: 1px solid #ccc;
    }

        .dropup .dropdown-menu > li > a.active {
            color: #fafafa;
            background: #B2D24B;
        }

/* Trace/Online */

.stoppedandaccon {
    color: #000;
    margin: 10px;
    padding: 3px;
    font-weight: bold;
    border-radius: 5px;
    -webkit-box-shadow: 0 1px 5px #fff,inset 0 10px 20px #fff;
    -moz-box-shadow: 0 1px 5px #fff,inset 0 10px 20px #fff;
    box-shadow: 0 1px 5px #fff,inset 0 10px 20px #fff;
    background: #fff;
}

    .stoppedandaccon.onclickMarker {
        animation: 1s ease-in-out 0s normal none infinite running pulsate;
        -moz-animation: 1s ease-in-out 0s normal none infinite running pulsate;
        -o-animation: 1s ease-in-out 0s normal none infinite running pulsate;
        -webkit-animation: 1s ease-out 0s infinite left;
        animation-iteration-count: 10;
        -moz-animation-iteration-count: 10;
        -o-animation-iteration-count: 10;
        -webkit-animation-iteration-count: 10;
    }

#map, #googleMap {
    position: absolute;
    left: 0;
    top: 0;
}

.floating-panel {
    position: absolute;
    right: 0px;
    top: 0 !important;
}

.rightPanel {
    position: relative;
    top: 0 !important;
    right: 0px;
    float: right;
    /*width: 370px;*/
    z-index: 1;
}

.contentPanel {
    float: right;
    background-color: white;
    display: none;
}

.contentPanel-right {
    display: block !important;
}

#routeRightPanelToggle {
    background-color: #fff;
    padding: 5px;
    border: 1px solid #ccc;
    text-align: center;
    font-family: 'Roboto','sans-serif';
    padding-left: 10px;
    cursor: pointer;
    float: right;
    border-right: none;
    border-radius: 1px 0px 0px 1px;
}

#rightPanel .fa-caret-right:before {
    content: "\f0d9";
    color: #000;
    font-size: 25px;
}

#rightPanel .fa-caret-left:before {
    content: "\f0da";
}

.leftPanel .content, .rightPanel .content {
    padding: 5px;
    border: 1px solid #ccc;
}

    .leftPanel .content .row, .rightPanel .content .row {
        margin: 0;
    }

.form-horizontal .form-group {
    margin-left: -10px;
    margin-right: -10px;
}

.k-button-right {
    float: right !important;
    margin: 0;
    padding: 2px 7px 2px;
    line-height: 1.66em;
    text-align: center;
    cursor: pointer;
    border: 1px solid gray;
    border-radius: 2px;
    width: 27px;
}

.gridView {
    clear: both;
    margin-top: 25px;
    width: 320px;
    overflow: auto;
    height: 350px;
}

.content table td {
    height: 35px;
    vertical-align: middle;
}

#tblData * {
    padding: 0px !important;
    height: 25px;
}

#tblData2 * {
    padding: 0px !important;
    height: 25px;
}

#tblData3 * {
    padding: 0px !important;
    height: 25px;
}

.activeRow {
    background-color: #3399FF;
    color: #fff;
}

#tblData tr:hover td {
    background-color: initial;
}

.tabs ul {
    height: 25px;
    padding: 0;
}

    .tabs ul li {
        display: inline-block;
        padding: 5px;
    }

        .tabs ul li a {
            text-decoration: none;
            color: gray;
        }


.ui-state-active {
    border: 1px solid #ccc;
    border-bottom: none;
    border-radius: 1px 1px 0px 0px;
    background-color: white;
    height: 26px;
}

.partwidth {
    width: 150px;
    margin-right: 20px;
}

#tabs-1, #tabs-2, #tabsCurrent {
    width: 320px;
}

#messagebox {
    text-align: center;
    position: absolute;
    padding: 15px;
    top: 50%;
    left: 50%;
    z-index: 15;
    display: none;
}

.infoMessageBox {
    color: #B43104;
    background-color: #FA8258;
    border: 1px solid #B43104;
    box-shadow: 0 0 10px #B43104;
}

.successMessageBox {
    color: #349946;
    background-color: #c3e8ca;
    border: 1px solid #349946;
    box-shadow: 0 0 10px #349946;
}

.es-list {
    font-size: 12px !important;
}

.notDisplay {
    display: none !important;
}

#detailInfo {
    width: 320px;
    position: absolute;
    /*top: 30%;*/
    top:15%;
    left: 25%;
    height: auto;
    display: block;
    background-color: rgb(255, 255, 255);
    border: 1px solid #ccc;
}
    #detailInfo table{
        width: 100%;
    }
    #detailInfo table td:first-child{
            width:34%;
   }
    #tabsCurrent {
        vertical-align: top;
        padding: 10px;
        width: 100%;
    }

#contextMenu {
    display: none;
    position: absolute;
    background: #333;
    color: #ddd;
    border: #333 1px solid;
    z-index: 5;
}

.dropdown-submenu-extend li a {
    text-decoration: none;
    font-size: 13px;
}

.dropdown-menu a:after {
    content: none;
}

.NoneMenu:hover a {
    background-color: white !important;
    color: #4d4d4d !important;
}

.NoneMenu a:hover {
    background-color: white !important;
    color: #4d4d4d !important;
}

.k-button:hover {
    background-color: #ebebeb;
}

.k-window {
    min-width: 90px;
    min-height: 50px;
    width: 150px;
    display: block !important;
    top: 230px;
    right: 270px;
    position: absolute;
    z-index: 10003;
    transform: scale(1);
    opacity: 1;
    background-color: white;
}

.k-window-display {
    display: none !important;
    transform: scale(0.7);
}

.k-header {
    background-color: #f5f5f5;
    padding: 5px;
}

.labels {
    color: white;
    background-color: red;
    font-family: "Lucida Grande", "Arial", sans-serif;
    font-size: 10px;
    font-weight: bold;
    text-align: center;
    white-space: nowrap;
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(0,0,0,0.8);
}

.nodisplay {
    display: none;
}

.floating-left-panel {
    position: absolute;
    left: 0px;
    top: 0 !important;
    /*width: 300px;*/
}

.leftPanel {
    position: relative;
    top: 0 !important;
    left: 0px;
    float: left;
    /*width: 380px;*/
    z-index: 1;
}

.contentleftPanel {
    float: left;
    background-color: white;
    display: none;
    /*width:300px;*/
}

.routeleftPanel {
    width: 270px;
}

.contentleftPanel2 {
    float: left;
    background-color: white;
    display: none;
    /*width:300px;*/
}

#routeLeftPanelToggle, #routeLeftPanelToggle2 {
    background-color: #fff;
    padding: 5px;
    margin: 0;
    border: 1px solid #ccc;
    border-left: none;
    text-align: center;
    font-family: 'Roboto','sans-serif';
    line-height: 38px;
    padding-left: 10px;
    height: 42px;
    cursor: pointer;
    float: left;
    border-radius: 0px 1px 1px 0px;
}

.fa-caret-left-right:before {
    content: "\f0da";
    color: #000;
    font-size: 25px;
}

.fa-caret-right-left:before {
    content: "\f0d9";
}

.k-button {
    float: left;
    margin: 0 1px 0px 1px;
    line-height: 1.66em;
    text-align: center;
    cursor: pointer;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 30px;
    height: 30px;
    padding-top: 3px;
}

.icon-download-alt:before {
    content: "\f019";
}

.icon-cog:before {
    content: "\f013";
}

.fullwidth {
    width: 100%;
    margin-right: 20px;
    height: 30px;
}

.gridViewRoute {
    margin-top: 15px;
    overflow: auto;
    height: 450px;
}

.k-window-left {
    min-width: 90px;
    min-height: 50px;
    width: 150px;
    display: block;
    top: 230px;
    left: 230px;
    position: absolute;
    z-index: 10003;
    transform: scale(1);
    opacity: 1;
    background-color: white;
}


#helpWindow tr td:nth-child(1) {
    width: 10px;
    height: 31px;
}

#helpWindow * {
    padding: 5px;
}

#tblDataRoute * {
    padding: 2px !important;
    line-height: 1;
    height: 20px;
}

#tblDataRoute tr:hover td {
    background-color: initial;
}

.search-left-panel, .left-panel {
    top: 0 !important;
    position: absolute;
    left: 0px;
    max-width: 350px;
}

    .search-left-panel input {
        width: 200px;
        height: 30px;
        margin-right: 5px;
    }


#configPanel {
    text-align: left;
    position: absolute;
    top: 30%;
    left: 40%;
    z-index: 10;
    width: 350px;
    background-color: rgb(255, 255, 255);
    border: 1px solid gray;
    padding-bottom: 20px;
}

    #configPanel input[type='text'], #configPanel input[type='number'] {
        width: 190px;
        height: 26px;
    }

.cboLoadMethod {
    width: 190px;
    height: 26px;
}

input.error, select.error, textarea.error, input.input-validation-error, select.input-validation-error, textarea.input-validation-error {
    border: 1px solid #ED0707;
    color: #000;
}

.color-red {
    color: red;
}

.font-bold {
    font-weight: bold;
}

#landmarkInfo {
    width: 500px;
    position: absolute;
    top: 20%;
    left: 30%;
    height: auto;
    display: block;
    background-color: rgb(255, 255, 255);
    border: 1px solid gray;
}

.inputLandmark {
    width: 100%;
    height: 28px;
}

#landmarkInfo .modal-footer {
    margin-top: 0;
    padding: 0;
    text-align: right;
    border-top: 0;
}

.validation-summary-errors {
    color: #E80C0C;
    font-weight: bold;
    font-size: 0.9em;
}

    .validation-summary-errors ul {
        list-style-type: none;
    }

.field-validation-error {
    color: #E80C0C;
    font-size: 12px;
}

/*.field-validation-valid {
    display: none;
}*/

input[type="text"].input-validation-error, input[type="password"].input-validation-error, textarea.input-validation-error {
    border: 1px solid #e80c4d;
}

.validation-summary-valid {
    display: none;
}

#Speed {
    width: 160%;
}

/* toastr */
.toast-top-center {
    top: 120px;
}

/* datatable */
.dataTables_filter {
    display: none;
}

.table.dataTable .sorting, .table.dataTable .sorting_desc, .table.dataTable .sorting_asc {
    color: #0090d0;
}

table.dataTable thead .sorting:after, table.dataTable thead .sorting_asc:after, table.dataTable thead .sorting_desc:after, table.dataTable thead .sorting_asc_disabled:after, table.dataTable thead .sorting_desc_disabled:after {
    display: none;
}

.table tr th {
    background: #eee;
}

.table thead > tr > th {
    vertical-align: top;
}

#addDriverInLotPanel {
    text-align: left;
    position: absolute;
    top: 30%;
    left: 40%;
    z-index: 10;
    width: 350px;
    background-color: rgb(255, 255, 255);
    border: 1px solid gray;
    padding-bottom: 20px;
}

    #addDriverInLotPanel input[type='text'], #addDriverInLotPanel input[type='number'] {
        height: 26px;
    }

#editDriverInLotPanel {
    text-align: left;
    position: absolute;
    top: 30%;
    left: 40%;
    z-index: 10;
    width: 350px;
    background-color: rgb(255, 255, 255);
    border: 1px solid gray;
    padding-bottom: 20px;
}

    #editDriverInLotPanel input[type='text'], #addDriverInLotPanel input[type='number'] {
        height: 26px;
    }

#deleteDriverInLotPanel {
    text-align: left;
    position: absolute;
    top: 30%;
    left: 40%;
    z-index: 10;
    width: 350px;
    background-color: rgb(255, 255, 255);
    border: 1px solid gray;
    padding-bottom: 20px;
}

    #deleteDriverInLotPanel input[type='text'], #addDriverInLotPanel input[type='number'] {
        height: 26px;
    }

#changeIndexDriverInLotPanel {
    text-align: left;
    position: absolute;
    top: 30%;
    left: 40%;
    z-index: 10;
    width: 350px;
    background-color: rgb(255, 255, 255);
    border: 1px solid gray;
    padding-bottom: 20px;
}

    #changeIndexDriverInLotPanel input[type='text'], #addDriverInLotPanel input[type='number'] {
        height: 26px;
    }

#showLotNotify {
    text-align: left;
    position: absolute;
    bottom: 1%;
    left: 82%;
    z-index: 10;
    width: 350px;
    background-color: rgb(255, 255, 255);
    border: 1px solid gray;
    padding-bottom: 0px;
}

    #showLotNotify input[type='text'] input[type='number'] {
        height: 26px;
    }

.text-danger:hover {
    color: #a81515;
}

.bg-info:hover td {
    background-color: #c7e3f1 !important;
}

.map-tyle {
    display: none;
}

.pull-left .form-group, .pull-left .btn {
    margin-bottom: 10px;
    margin-right: 10px;
}

.required:after {
    content: "(*)";
    color: red;
    margin-left: 5px;
}

/*td {
    word-break: break-word;
}*/

.pagermvc {
    margin: 0 !important;
    padding: 0 !important;
    margin-top: 10px !important;
    margin-left: -13px !important;
    margin-right: -13px !important;
}

.panel-heading .panel-title {
    text-transform: uppercase;
    line-height: 40px;
    font-size: 15px;
}

    .panel-heading .panel-title a {
        color: #fff;
    }

    .panel-heading .panel-title strong a {
        color: #333;
    }

.panel-title .btn {
    margin: 5px;
}

div[style="margin-left: 1px;"] {
    margin-left: 10px !important;
}

.btn-white {
    color: #333;
    background-color: #fff;
    border-color: #e6e7e8;
}

table.dataTable {
    clear: both;
    margin-top: 0 !important;
    margin-bottom: 10px !important;
}

span.timeline-icon, span.timeline-date, article.timeline-item:first-child, article.timeline-item:last-child {
    display: none;
}

article.timeline-item {
    border: 1px solid #ccc;
    margin: 15px;
    padding: 10px;
    border-radius: 5px;
}

    article.timeline-item .panel {
        margin-bottom: 0;
    }

    article.timeline-item h1.red {
        font-size: 20px;
        color: #0DACE3;
    }

.loading {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7);
    z-index: 9999;
    text-align: center;
    padding-top: 20%;
}

    .loading img {
        width: 100px; /* Kích thước hình ảnh chờ */
    }

.breadcrumb {
    background-color: #ffffff;
    padding: 0;
    margin: 5px;
    font-size: 13px;
    font-family: "open sans", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    font-weight: 100 !important;
    color: white;
}

    .breadcrumb > li a {
        color: inherit;
    }

    .breadcrumb > .active {
        color: inherit;
    }

.breadcrumb {
    background: transparent;
}



/* new style https://bawork.bagroup.vn/browse/STAXI-25256 */
.nav-sm .container.body div.right_col, .nav-md .container.body div.right_col {
padding: 10px 10px;
overflow: auto;
}
.nav-sm .container.body div.right_col > section#main-content > section.wrapper > form#formMain, .nav-md .container.body div.right_col > section#main-content > section.wrapper > form#formMain {
overflow-x: hidden;
overflow-y: auto;
}
.nav-sm .container.body div.right_col > section#main-content > section.wrapper > form#formMain > div.row:has(.pull-left), .nav-md .container.body div.right_col > section#main-content > section.wrapper > form#formMain > div.row:has(.pull-left) {
margin-left: 0px;
margin-right: 0px;
}
.nav-sm .container.body div.right_col > section#main-content > section.wrapper > form#formMain > div#searchpanel > div.row:has(.pull-left), .nav-md .container.body div.right_col > section#main-content > section.wrapper > form#formMain > div#searchpanel > div.row:has(.pull-left) {
margin-left: 0px;
margin-right: 0px;
}
.nav-sm .container.body div.right_col > section.wrapper > div.row > div.col-lg-12.col-md-12 > div.panel.panel-grape > form#formMain > div#searchpanel > div.row, .nav-md .container.body div.right_col > section.wrapper > div.row > div.col-lg-12.col-md-12 > div.panel.panel-grape > form#formMain > div#searchpanel > div.row {
margin-left: 0px;
margin-right: 0px;
}
.nav-sm .container.body div.right_col > section.wrapper > div.row > div.col-lg-12.col-md-12 > div.panel.panel-grape > form#formMain > div#searchpanel > div.row > div.table-inbox-wrap > section > table > tbody > tr:first-child > th, .nav-md .container.body div.right_col > section.wrapper > div.row > div.col-lg-12.col-md-12 > div.panel.panel-grape > form#formMain > div#searchpanel > div.row > div.table-inbox-wrap > section > table > tbody > tr:first-child > th {
position: sticky;
z-index: 1;
top: -1px;
background: #eee;
}
.nav-sm .container.body div.right_col > section.wrapper > div.row > div.col-lg-12.col-md-12 > div.panel.panel-grape > form#formMain > div#searchpanel > div.row > div.table-inbox-wrap > section > table > tbody > tr:has(>th):last-child, .nav-md .container.body div.right_col > section.wrapper > div.row > div.col-lg-12.col-md-12 > div.panel.panel-grape > form#formMain > div#searchpanel > div.row > div.table-inbox-wrap > section > table > tbody > tr:has(>th):last-child {
position: sticky;
z-index: 1;
bottom: -1px;
background: #eee;
}
.container.body div.right_col > section.wrapper > div.row > div.col-lg-12.col-md-12 > div.panel.panel-grape > form#formMain > div#searchpanel > div.row:has(.pull-left):first-child {
position: sticky;
z-index: 2;
top: 0;
background: #f7f7f7;
}
@media only screen and (max-width: 932px) {
    .container.body div.right_col > section.wrapper > div.row > div.col-lg-12.col-md-12 > div.panel.panel-grape > form#formMain > div#searchpanel > div.row:has(.pull-left):first-child {
        position: relative;
        background: #f7f7f7;
    }
    .nav-sm .container.body div.right_col > section.wrapper > div.row > div.col-lg-12.col-md-12 > div.panel.panel-grape > form#formMain > div#searchpanel > div.row > div.table-inbox-wrap > section > table > tbody > tr:first-child > th, .nav-md .container.body div.right_col > section.wrapper > div.row > div.col-lg-12.col-md-12 > div.panel.panel-grape > form#formMain > div#searchpanel > div.row > div.table-inbox-wrap > section > table > tbody > tr:first-child > th {
        position: relative;
    }
}
.nav-sm .container.body div.right_col > section.wrapper > div.row > div.col-lg-12.col-md-12 > div.panel.panel-grape > form#formMain > div#searchpanel > div.row:has(.table-inbox-wrap), .nav-md .container.body div.right_col > section.wrapper > div.row > div.col-lg-12.col-md-12 > div.panel.panel-grape > form#formMain > div#searchpanel > div.row:has(.table-inbox-wrap) {
    overflow: auto;
}
.nav-sm .container.body div.right_col > section.wrapper > div.row > div.col-lg-12.col-md-12 > div.panel.panel-grape > form#formMain > div#searchpanel > div.row:has(.table-inbox-wrap) > div.table-inbox-wrap > section#flip-scroll > table.table.table-hover.table-bordered > thead:first-child, .nav-md .container.body div.right_col > section.wrapper > div.row > div.col-lg-12.col-md-12 > div.panel.panel-grape > form#formMain > div#searchpanel > div.row:has(.table-inbox-wrap) > div.table-inbox-wrap > section#flip-scroll > table.table.table-hover.table-bordered > thead:first-child {
top: -1px;
}
.nav-sm .container.body div.right_col > section.wrapper > div.row > div.col-lg-12.col-md-12 > div.panel.panel-grape > form#formMain > div#searchpanel > div.row:has(.table-inbox-wrap) > div.table-inbox-wrap > section#flip-scroll > table.table.table-hover.table-bordered > thead:first-child > tr:first-child > th, .nav-md .container.body div.right_col > section.wrapper > div.row > div.col-lg-12.col-md-12 > div.panel.panel-grape > form#formMain > div#searchpanel > div.row:has(.table-inbox-wrap) > div.table-inbox-wrap > section#flip-scroll > table.table.table-hover.table-bordered > thead:first-child > tr:first-child > th {
position: sticky;
z-index: 1;
top: -1px;
background: #eee;
}
.nav-sm .container.body div.right_col > section.wrapper > div.row > div.col-lg-12.col-md-12 > div.panel.panel-grape > form#formMain > div#searchpanel > div.row:has(.table-inbox-wrap) > div.table-inbox-wrap > table.table.table-hover.table-bordered > thead:first-child, .nav-md .container.body div.right_col > section.wrapper > div.row > div.col-lg-12.col-md-12 > div.panel.panel-grape > form#formMain > div#searchpanel > div.row:has(.table-inbox-wrap) > div.table-inbox-wrap > table.table.table-hover.table-bordered > thead:first-child {
top: -1px;
}
.nav-sm .container.body div.right_col > section.wrapper > div.row > div.col-lg-12.col-md-12 > div.panel.panel-grape > form#formMain > div#searchpanel > div.row:has(.table-inbox-wrap) > div.table-inbox-wrap > table.table.table-hover.table-bordered > thead:first-child > tr:first-child > th, .nav-md .container.body div.right_col > section.wrapper > div.row > div.col-lg-12.col-md-12 > div.panel.panel-grape > form#formMain > div#searchpanel > div.row:has(.table-inbox-wrap) > div.table-inbox-wrap > table.table.table-hover.table-bordered > thead:first-child > tr:first-child > th {
position: sticky;
z-index: 1;
top: -1px;
background: #eee;
}
.nav-sm .container.body div.right_col > section.wrapper > div.row > div.col-lg-12.col-md-12 > div.panel.panel-grape > form#formMain > div#searchpanel > div.row:has(.table-inbox-wrap) > div.table-inbox-wrap > table.table.table-hover.table-bordered > tbody > tr:first-child > th, .nav-md .container.body div.right_col > section.wrapper > div.row > div.col-lg-12.col-md-12 > div.panel.panel-grape > form#formMain > div#searchpanel > div.row:has(.table-inbox-wrap) > div.table-inbox-wrap > table.table.table-hover.table-bordered > tbody > tr:first-child > th {
position: sticky;
z-index: 1;
top: -1px;
background: #eee;
}
.nav-sm .container.body div.right_col > section.wrapper > div.row > div.col-lg-12.col-md-12 > div.panel.panel-grape > form#formMain > div#searchpanel > div.row:has(.table-inbox-wrap) #DataTables_Table_0, .nav-md .container.body div.right_col > section.wrapper > div.row > div.col-lg-12.col-md-12 > div.panel.panel-grape > form#formMain > div#searchpanel > div.row:has(.table-inbox-wrap) #DataTables_Table_0 {
width: 100% !important;
}
.nav-sm .container.body div.right_col > section.wrapper > div.row > div.col-lg-12.col-md-12 > div.panel.panel-grape > form#formMain > div#searchpanel > div.row:has(.table-inbox-wrap) #DataTables_Table_0 > thead:first-child, .nav-md .container.body div.right_col > section.wrapper > div.row > div.col-lg-12.col-md-12 > div.panel.panel-grape > form#formMain > div#searchpanel > div.row:has(.table-inbox-wrap) #DataTables_Table_0 > thead:first-child {
position: sticky;
z-index: 1;
top: -1px;
background: #eee;
}
.nav-sm .container.body div.right_col > section.wrapper > div.row > div.col-lg-12.col-md-12 > div.panel.panel-grape > form#formMain > div#searchpanel > div.row:has(.table-inbox-wrap) #DataTables_Table_0_info, .nav-md .container.body div.right_col > section.wrapper > div.row > div.col-lg-12.col-md-12 > div.panel.panel-grape > form#formMain > div#searchpanel > div.row:has(.table-inbox-wrap) #DataTables_Table_0_info {
padding-left: 12px;
}
.nav-sm .container.body div.right_col > section.wrapper > div.row > div.col-lg-12.col-md-12 > div.panel.panel-grape > form#formMain > div#searchpanel > div.row:has(.table-inbox-wrap)::-webkit-scrollbar, .nav-md .container.body div.right_col > section.wrapper > div.row > div.col-lg-12.col-md-12 > div.panel.panel-grape > form#formMain > div#searchpanel > div.row:has(.table-inbox-wrap)::-webkit-scrollbar {
width: 8px;
height: 8px;
}
.nav-sm .container.body div.right_col > section.wrapper > div.row > div.col-lg-12.col-md-12 > div.panel.panel-grape > form#formMain > div#searchpanel > div.row:has(.table-inbox-wrap)::-webkit-scrollbar-thumb, .nav-md .container.body div.right_col > section.wrapper > div.row > div.col-lg-12.col-md-12 > div.panel.panel-grape > form#formMain > div#searchpanel > div.row:has(.table-inbox-wrap)::-webkit-scrollbar-thumb {
background: gray;
border-radius: 8px;
}
.nav-sm .container.body div.right_col > section.wrapper > div.row > div.col-lg-12.col-md-12 > div.panel.panel-grape > div#searchpanel > div.row, .nav-md .container.body div.right_col > section.wrapper > div.row > div.col-lg-12.col-md-12 > div.panel.panel-grape > div#searchpanel > div.row {
margin-left: 0px;
margin-right: 0px;
}
.nav-sm .container.body div.right_col > section.wrapper > div.row > div.col-lg-12.col-md-12 > div.panel.panel-grape > div#searchpanel > div.row:has(.pull-left):first-child, .nav-md .container.body div.right_col > section.wrapper > div.row > div.col-lg-12.col-md-12 > div.panel.panel-grape > div#searchpanel > div.row:has(.pull-left):first-child {
position: sticky;
z-index: 1;
top: 0;
background: #f7f7f7;
}
.nav-sm .container.body div.right_col > section.wrapper > div.row > div.col-lg-12.col-md-12 > div.panel.panel-grape > div#searchpanel > div.row:has(div.table-inbox-wrap), .nav-md .container.body div.right_col > section.wrapper > div.row > div.col-lg-12.col-md-12 > div.panel.panel-grape > div#searchpanel > div.row:has(div.table-inbox-wrap) {
overflow-x: hidden;
overflow-y: auto;
max-height: calc(100vh - 43px);
}
.nav-sm .container.body div.right_col > section.wrapper > div.row > div.col-lg-12.col-md-12 > div.panel.panel-grape > div#searchpanel > div.row:has(div.table-inbox-wrap) #DataTables_Table_0, .nav-md .container.body div.right_col > section.wrapper > div.row > div.col-lg-12.col-md-12 > div.panel.panel-grape > div#searchpanel > div.row:has(div.table-inbox-wrap) #DataTables_Table_0 {
width: 100% !important;
}
.nav-sm .container.body div.right_col > section.wrapper > div.row > div.col-lg-12.col-md-12 > div.panel.panel-grape > div#searchpanel > div.row:has(div.table-inbox-wrap) #DataTables_Table_0 > thead:first-child, .nav-md .container.body div.right_col > section.wrapper > div.row > div.col-lg-12.col-md-12 > div.panel.panel-grape > div#searchpanel > div.row:has(div.table-inbox-wrap) #DataTables_Table_0 > thead:first-child {
position: sticky;
z-index: 1;
top: -1px;
background: #eee;
}
.nav-sm .container.body div.right_col > section.wrapper > div.row > div.col-lg-12.col-md-12 > div.panel.panel-grape > div#searchpanel > div.row:has(div.table-inbox-wrap) #DataTables_Table_0_info, .nav-md .container.body div.right_col > section.wrapper > div.row > div.col-lg-12.col-md-12 > div.panel.panel-grape > div#searchpanel > div.row:has(div.table-inbox-wrap) #DataTables_Table_0_info {
padding-left: 12px;
}
.nav-sm .container.body div.right_col > section.wrapper > div.row > div.col-lg-12.col-md-12 > div.panel.panel-grape > div#searchpanel > form#formMain > div.row, .nav-md .container.body div.right_col > section.wrapper > div.row > div.col-lg-12.col-md-12 > div.panel.panel-grape > div#searchpanel > form#formMain > div.row {
margin: 0;
}
.ui-helper-hidden-accessible {
display: none;
}
div.right_col > section.wrapper > div.row:first-child {
    max-width: 100%;
    margin: 0;
}
div.right_col > section.wrapper > div.row:first-child > div.col-lg-12.col-md-12 {
    max-width: 100%;
    padding: 0;
}
/* end new style https://bawork.bagroup.vn/browse/STAXI-25256 */

input[type="search"]::-webkit-search-cancel-button {
    height: 12px;
    width: 12px;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%236e6e6e' fill-rule='evenodd' d='M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16M4.22 4.22a.75.75 0 0 1 1.06 0L8 6.94l2.72-2.72a.75.75 0 1 1 1.06 1.06L9.06 8l2.72 2.72a.75.75 0 1 1-1.06 1.06L8 9.06l-2.72 2.72a.75.75 0 0 1-1.06-1.06L6.94 8L4.22 5.28a.75.75 0 0 1 0-1.06' clip-rule='evenodd'/%3E%3C/svg%3E")
}

    input[type="search"]::-webkit-search-cancel-button:hover {
        transition: transform 0.25s;
        transform: rotate(90deg);
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='black' fill-rule='evenodd' d='M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16M4.22 4.22a.75.75 0 0 1 1.06 0L8 6.94l2.72-2.72a.75.75 0 1 1 1.06 1.06L9.06 8l2.72 2.72a.75.75 0 1 1-1.06 1.06L8 9.06l-2.72 2.72a.75.75 0 0 1-1.06-1.06L6.94 8L4.22 5.28a.75.75 0 0 1 0-1.06' clip-rule='evenodd'/%3E%3C/svg%3E")
    }

input[type="search"] {
    padding-right: 4px;
}
.ag-header-cell-label {
    justify-content: center;
}

.ag-overlay {
    /* top: 15px !important; */
}

div:where(.swal2-container) .swal2-html-container {
    font-size: 1.5em !important;
}

div:where(.swal2-container) button:where(.swal2-styled) {
    font-size: 1.25em !important;
}

.ag-theme-quartz {
    --ag-cell-horizontal-border: solid #adadad59 !important;
}

.ag-header-cell, .ag-header-group-cell {
    padding-left: 5px !important;
    padding-right: 5px !important;
}
.ag-cell, .ag-full-width-row .ag-cell-wrapper.ag-row-group {
    padding-left: 5px !important;
    padding-right: 5px !important;
}

.swal2-popup.swal2-toast .swal2-title {
    font-size: 1.45em !important;
}

.ag-theme-quartz .ag-side-bar, .ag-theme-quartz-dark .ag-side-bar, .ag-theme-quartz-auto-dark .ag-side-bar {
    min-width: 20px !important;
}
.ag-theme-quartz .ag-side-bar .ag-side-buttons, .ag-theme-quartz-dark .ag-side-bar .ag-side-buttons, .ag-theme-quartz-auto-dark .ag-side-bar .ag-side-buttons {
    width: 20px !important;
}
.nav-sm .main_container .top_nav {
    z-index: 3;
}
@media (max-width: 768px), (max-height: 768px) {
    .pull-left .form-group, .pull-left .btn {
        margin-bottom: 4px;
        margin-right: 5px;
    }

    .form-control {
        padding: 6px 2px;
        font-size: 13px;
    }

    .pull-left .btn {
        padding: 6px;
    }
}

.ag-overlay {
    height: calc(100% - 50px) !important;
    top: 50px !important;
}
.ag-overlay-loading-center {
    border: unset !important;
    background: unset !important;
    border-radius: unset !important;
    box-shadow: unset !important;
    padding: unset !important;
}
.jstree-default .jstree-search {
    color: var(--primary-text-color) !important;
}
.top_nav.navbar-fixed-top > div.nav_menu > nav > ul.nav.ex-navbar-top-links.navbar-left > li > a,
.top_nav.navbar-fixed-top > div.nav_menu > nav > ul.nav.ex-navbar-top-links.navbar-right > li > a {
    padding: 10px 10px;
    min-height: 43px;
}
.top_nav.navbar-fixed-top > div.nav_menu > nav > ul.nav.ex-navbar-top-links.navbar-right > li > ul.dropdown-menu.ex-dropdown-alerts {
    padding: 0;
    width: 200px;
    margin: 0;
}
.top_nav.navbar-fixed-top > div.nav_menu > nav > ul.nav.ex-navbar-top-links.navbar-right > li > ul.dropdown-menu.ex-dropdown-alerts > li > a {
    padding: 10px;
    min-height: unset;
}

@media screen and (max-width: 767px) {
    .nav_menu nav ul:last-child li:last-child {
        display: none;
    }

    .nav_menu nav {
        display: flex;
        justify-content: space-between;
    }

    .nav_menu nav ul {
        width: fit-content;
    }

    .nav_menu nav ul:first-child {
        display: flex;
    }

    .ex-navbar-top-links li:last-child {
        margin-right: 0 !important;
    }

    .nav_menu nav ul li.nav-title h3 {
        padding: 5px 0 !important;
        font-size: 14px;
    }

    .top_nav.navbar-fixed-top > div.nav_menu > nav > ul.nav.ex-navbar-top-links.navbar-right > li > a {
        padding: 12px 3px 0px 0;
    }

    .top_nav.navbar-fixed-top > div.nav_menu > nav > ul.nav.ex-navbar-top-links.navbar-left > li > a {
        padding: 10px 0 10px 5px;
    }

    .nav.ex-navbar-top-links.navbar-right .ex-user-profile.dropdown-toggle {
        gap: 2px;
    }

    .nav.ex-navbar-top-links.navbar-right .ex-user-profile.dropdown-toggle i.fa.fa-user {
        font-size: 10px;
    }
    .nav-title {
        width: 100%;
        overflow: hidden;
        max-width: 60vw;
        width: auto;
    }

    .nav-title ol {
        animation: 10s slide-right 1s forwards;
        transform: translateX(110%);
        animation-iteration-count: infinite;
        display: flex;
        flex-direction: row;
        text-wrap-mode: nowrap;
        text-wrap: none;
    }

    @keyframes slide-right {
        to {
            transform: translateX(-210%);
        }
    }
}
ul.dropdown-menu.dropdown-submenu-extend.arrow-extend::-webkit-scrollbar-thumb {
    background: gray;
    border-radius: 8px;
}
ul.dropdown-menu.dropdown-submenu-extend.arrow-extend::-webkit-scrollbar {
    width: 3px;
    height: 3px;
}