.footer-action a, .footer-action form {
    float: left;
    margin-right: 20px;
}

.no-padding {
    padding: 0;
}

/*table.dataTable thead .sorting_desc:after,*/
/*table.dataTable thead .sorting_asc:after,*/
/*table.dataTable thead .sorting:after{*/
/*content: ''!important;*/
/*}*/
/*.dataTables_wrapper .dataTables_paginate .paginate_button {*/
/*box-sizing: border-box;*/
/*display: contents;*/
/*min-width: 0;*/
/*padding: 0;*/
/*margin-left: 0;*/
/*text-align: center;*/
/*text-decoration: none !important;*/
/*cursor: pointer;*/
/*color: #333 !important;*/
/*border: 1px solid transparent;*/
/*border-radius: 2px;*/
/*}*/
.content-header > h1 {
    margin: 0;
    font-size: 24px !important;
}

.h1, h1 {
    font-size: 24px !important;
}

.required:after {
    content: ' *';
    color: #dd4b39;
}

.col-nopad {
    padding-left: 0;
    padding-right: 0;
}

.is_default_radio {
    padding-top: 30px;
}

.shifts-fields .delete-stakeholder,
.shifts-fields #add-stop-address,
.shifts-fields #add-stakeholder,
.shifts-fields #directionsEdit {
    min-width: unset;
    border-radius: 5px !important;
    font-size: .75rem;
    line-height: 1.6667;
    font-weight: bold;
}

.shifts-fields .stakeholder span.select2-container{
    max-width: none!important;
}

.on-behalf-header {
    position: fixed;
    top: 0;
    z-index: 9999;
    background-color: #dd4b39;
    color: #ffffff;
    padding: 15px 25px;
    left: 50%;
    transform: translateX(-50%);
    height: 50px;
    min-width: 240px;
    text-align: center;
}

.on-behalf-header::after {
    height: 0;
    border-top: 50px solid #dd4b39;
    border-right: 40px solid transparent;
    content: '';
    position: absolute;
    right: -40px;
    top: 0;
}

.on-behalf-header::before {
    width: 0;
    height: 0;
    border-top: 50px solid #dd4b39;
    border-left: 40px solid transparent;
    content: '';
    position: absolute;
    left: -40px;
    top: 0;
}

.on-behalf-header .fa {
    margin-left: 10px;
    color: #ffffff;
}

.on-behalf-header:hover {
    color: #eeeeee;
}

.box-body {
    padding: 15px;
}

.clearfix {
    clear: both;
}

/*Fix layout */

.main.content-wrapper {
    padding-left: 8px;
    padding-right: 8px;
}

.stakeholder small {
    position: relative;
    top: 5px;
    left: 10px;
    display: none;
}

.stakeholder:last-child small {
    display: block;
}

body.app .main.content-wrapper > .page-header h4,
body.app .content-wrapper .breadcrumb a,
body.app .content-wrapper .card h5,
body.app .content-wrapper .breadcrumb span {
    color: #182050;
    font-weight: bold;
    font-size: 1rem;
}

.main.content-wrapper > .page-header {
    margin-left: 20px;
    margin-right: 20px;
}

.main.content-wrapper > .page-header .page-header-content {
    padding: 5px 0 0 20px;
}

.main.content-wrapper > .page-header .page-title {
    margin: 0;
}

.breadcrumb-item+.breadcrumb-item::before {
    content: "\f105";
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/*--------------------------------------------------------------*/

.select2-container .select2-selection--multiple {
    min-height: 34px;
}

.organization-name {
    font-size: 18px !important;
    font-weight: 700;
}

.skin-blue .main-header .navbar, .skin-blue .main-header .logo {
    background-color: #222d32;
}

.user-panel > .info {
    padding: 0 5px 0 15px;
    line-height: 45px;
}

.user-panel > .info > a {
    font-size: 18px !important;
    font-weight: 700;
}

.white-dropdown button {
    background-color: #ffffff;
    min-width: 150px;
}

.booking-driver-dropdown.white-dropdown button {
    width: 100%;
}

#loading-div {
    z-index: 10000;
    background-color: rgba(0, 0, 0, 0.5);
    color: #ffffff;
    width: 100%;
    height: 100vh;
    position: fixed;
    text-align: center;
    padding-top: 20%;
    font-size: 2rem;
    font-style: italic;
    top: 0;
    left: 0;
}

.over-hidden {
    overflow: hidden !important;
}

textarea {
    resize: none;
}

.modal-dialog {
    margin-top: 80px;
}

.pre-wrap {
    white-space: pre-wrap;
}

.import-employee {
    display: inline-block;
    float: right;
}

.import-employee label {
    margin-bottom: 0;
}

table:not(.not-hover) > tbody > tr:nth-of-type(odd) {
    /*background-color: #f9f9f9 !important;*/
}

table:not(.not-hover) > tbody > tr:hover {
    /*background-color: #d9edf7 !important;*/
    background-color: #343b6524 !important;
}

table.dataTable td {
    padding: 0.5rem 1rem;
}

table.dataTable th {
    padding-left: 1rem;
}

.content-header .btn {
    margin-left: 10px;
}

.profile_image_image {
    margin-top: 10px;
    max-height: 120px;
    max-width: 100%;
}

.image-profile-circle {
    padding: 0;
    width: 34px;
    height: 34px;
}

.hidden {
    display: none !important;
}

.dashboard-no-content {
    min-height: 500px;
    width: 100%;
    background: url('/images/unsplash.jpg') no-repeat center center;
    background-size: cover;
    text-align: center;
    display: table;
}

.dashboard-no-content .text-welcome {
    display: table-cell;
    vertical-align: middle;
    color: #ffffff;
    font-size: 4rem;
    font-weight: 700;
    text-shadow: 1px 4px 20px #000000;
}

.dataTables_scrollHead {
    border-top: 1px solid #ddd !important;
}

.dataTables_info {
    margin-left: 1.25rem;
    margin-top: 1.25rem;;
}

.dataTables_length, .dataTables_paginate {
    margin-right: 1.25rem;
    margin-top: 1.25rem;
}

.dataTables_filter {
    margin-top: 1.25rem;
}

.dataTables_filter input {
    margin-left: 10px;
}

.page-title {
    padding: 13px 0;
}

.full-width {
    width: 100%;
}

.datatable-basic, table.dataTable {
    width: 100% !important;
}

/* Dashboard */
.ant-content .card {
    min-height: 300px;
}

.ant-content .card-header {
    padding-top: 40px !important;
}

.ant-content .card-header.text-center {
    display: inline-block;
}

.manage-accounts .rounded-round {
    padding: 0;
    width: 50px;
    height: 50px;
}

.manage-accounts .rounded-round > span {
    width: auto;
    line-height: 50px;
}

.ant-content .circle-icon-wrapper {
    position: relative;
    height: 35px;
}

.ant-content .circle-icon {
    width: 70px;
    height: 70px;
    background: #333;
    border-radius: 50%;
    margin: 0 auto;
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
    bottom: -35px;
    z-index: 2;
}

.ant-content .circle-icon i {
    color: #fff;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 25px;
    position: absolute;
}

.pass-counter .progress {
    margin-bottom: 0;
    height: 25px;
    border-radius: 15px;
    font-size: 13px;
}

.pass-counter .progress-expiration {
    margin-bottom: 15px;
    display: inline-block;
    text-align: right;
    width: 100%;
    margin-top: 2px;
}

.pass-counter .progress-bar {
    text-align: right;
    padding-right: 10px;
}

.pass-counter .progress-bar.white {
    color: #fff;
}

.pass-counter .progress-bar.progress-bar-0 {
    padding: 0;
    color: #333 !important;
}

.hr-row > hr {
    margin-top: 5px;
    margin-bottom: 5px;
}

.ant-content .type-circle {
    padding: 0;
    width: 40px;
    height: 40px;
}

.ant-content .type-circle > span {
    text-align: center;
    width: 100%;
    line-height: 40px;
}

.ant-content .shift-record {
    cursor: pointer;
}

.ant-content .logo-circle {
    padding: 0;
    width: 32px;
    height: 32px;
}

.tt-logo {
    font-size: 1rem;
    line-height: 16px;
    font-weight: 700;
}

/* Dashboard */

.sidebar-user {
    margin-top: 10px;
}

.glyphicon {
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.glyphicon-chevron-up:before {
    content: "\f077";
}

.glyphicon-chevron-down:before {
    content: "\f078";
}

.upload-image-btn .uniform-uploader {
    width: calc(100% - 60px);
    float: left;
}

.upload-image-btn .btn {
    border-radius: 0;
}

.upload-image-btn .remove-upload-image {
    border-top-right-radius: .1875rem;
    border-bottom-right-radius: .1875rem;
}

.ant-logo-small {
    display: none;
}

.sidebar-xs .ant-logo {
    display: none;
}

.sidebar-xs .ant-logo-small {
    display: block;
}

.btn-group.ant-btn-group > .btn-group:not(:last-child) > .btn, .btn-group.ant-btn-group > .btn:not(:last-child):not(.dropdown-toggle) {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.btn-group.ant-btn-group > form > label.btn {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.th-icon {
    color: #fff;
    margin-right: 5px;
}

.th-icon.fa {
    font-size: 16px;
    height: 16px;
    width: 16px;
}

.dataTable thead .sorting:before, .dataTable thead .sorting:after {
    opacity: 1;
}

.dataTable thead > tr {
    background: #333;
    color: white;
}

table.dataTable th {
    padding-left: 0.5rem;
}

.dataTable thead .sorting:after, .dataTable thead .sorting:before, .dataTable thead .sorting_asc:after, .dataTable thead .sorting_asc_disabled:after, .dataTable thead .sorting_desc:after, .dataTable thead .sorting_desc_disabled:after {
    right: 0.5rem;
}

.tongtar-bg {
    background: url('/images/unsplash.jpg') no-repeat center center;
    background-size: cover;
}

.bootbox-confirm button[data-bb-handler="confirm"] {
    color: #fff;
    background-color: #f44336;
    border: 1px solid #f44336;
}


.bootbox-confirm button[data-bb-handler="confirm"].btn-primary {
    background-color: #2196f3;
    border: 1px solid #2196f3;
}

.dataTable input.minimal {
    position: absolute;
    opacity: 0;
    width: 0;
}

.dataTable .icheckbox_minimal-blue.iCheck-helper {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    background: rgb(255, 255, 255);
    border: 0;
    opacity: 0;
}

.dataTable .icheckbox_minimal-blue:hover {
    background-position: -20px 0;
}

.dataTable .icheckbox_minimal-blue.checked:hover {
    background-position: -40px 0;
}

.modal-assign .dataTable th.sorting_asc {
    padding-left: 10px;
    padding-right: 10px;
    max-width: 20px;
}

.modal-assign .dataTable th.sorting_asc:after {
    display: none;
}

/*Route*/

.shifts-fields .form-group label {
    display: block;
}

.shifts-fields .repeat_day_list {
    max-width: 350px;
}

.shifts-fields span.alert-dismissible {
    display: block!important;
}

.booking-assign .table button.edit::before {
    content: url(../assets/images/icon/icon-assign-operator.png);
    display: block;
}

.table button.paid::before {
    content: url(../assets/images/icon/icon-paid.png);
    display: block;
}

.table button.sub-remove-booking::before {
    content: url(../assets/images/icon/icon-delete.png);
    display: block;
}

.booking-assign .table button.edit,
.table button.paid,
.table button.sub-remove-booking {
    border: none !important;
    background: none !important;
    box-shadow: none !important;
    height: 22px;
    width: 22px;
    padding: 0;
    margin: 0 5px;
    font-size: 0;
    min-width: 20px;
}

.bootbox-confirm .modal-body{
    padding-top: 30px;
    padding-bottom: 40px
}

.datatable-scroll {
    overflow: auto;
}

.modal .datatable-scroll {
    max-height: calc(100vh - 430px);
}

.dataTables_filter > label {
    position: static;
}

.content-table_booking {
    max-height: 700px;
    overflow-y: auto;
    border: 1px solid rgba(0,0,0,.125);
}

body.app .btn-style-ttrms {
    border: 1px solid #79CDD0;
    border-radius: 15px;
    min-width: 145px;
    color: #fff;
    background-color: #79CDD0;
}

body.app table .row-alert {
    background-color: #ff9000!important;
}

body.app table#table-booking-trip tbody tr,
body.app table .row-alert-unassigned {
    background-color: lightyellow!important;
}

.disabled-action {
    pointer-events: none!important;
    opacity: 0.5;
}

.max-width-none {
    max-width: none!important;
}

/*route*/
.delete-address-wrapper {
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: 42px;
    max-width: 42px;
}

.bootbox-confirm .modal-dialog {
    max-width: 500px;
}

.passenger-action .row {
    min-width: 70px;
}

#modal_view_passenger_image img{
    max-width: 100%;
}

.bootstrap-timepicker-widget table td input {
    width: 31px;
}

.view_passenger_image_btn {
    color: #2196f3;
}

.view_passenger_image_btn:hover {
    color: #0a6ebd;
}

.navbar-badge {
    font-size: .6rem;
    font-weight: 300;
    padding: 2px 4px;
    position: absolute;
    right: 5px;
    top: 9px;
}

.dropdown-menu-lg {
    max-width: 300px;
    min-width: 280px;
    padding: 0;
}

.navbar-nav .dropdown-menu-lg .dropdown-item {
    padding: .5rem 1rem;
    white-space: nowrap;
    display: block;
    color: #212529;
    font-size: 13px;
}

.navbar-nav .badge-warning {
    color: #1f2d3d;
    background-color: #ffc107;
}

.navbar-nav .dropdown-item.active, .navbar-nav .dropdown-item:active {
    color: #fff;
    text-decoration: none;
    background-color: #007bff;
}

.navbar-nav .dropdown-item:focus, .navbar-nav .dropdown-item:hover {
    color: #16181b;
    text-decoration: none;
    background-color: #f8f9fa;
}

.navbar-nav .dropdown-item i {
    font-size: .875rem;
}

.navbar-nav .dropdown-footer.dropdown-item, .navbar-nav .dropdown-header.dropdown-item {
    display: block;
    font-size: .75rem;
    padding: .5rem 1rem;
    text-align: center;
}

.navbar-nav .dropdown-header.dropdown-item {
    color: #6c757d;
}

.modal-assign .modal-dialog {
    max-width: 80%;
}

.modal-assign .modal-dialog span.select2 {
    margin-top: 0;
}

.modal-assign .select_driver ~ .select2 {
    margin-top: 0!important;
    min-width: 200px;
}

.select_bus ~ .select2 {
    margin-top: 0!important;
    min-width: 150px;
}

.has-alert_row {
    min-width: 160px;
}

body.app #pending-add-driver::before {
    left: 20px;
    top: 8px;
}

.modal-body .job-pre-assign .table tbody td {
    padding: 15px 5px;
    text-align: center;
}

#job-assign-table th.sorting {
    min-width: 145px;
}

#job-assign-table th.sorting.sort-drag {
    min-width: 70px;
}

.dataTables_empty .fa-sort{
    display: none;
}

#job-assign-table .btn .fa-map-marker {
    font-size: 24px;
    position: relative;
    top: -3px;
    left: -8px;
}

#job-assign-table .btn.delete {
    margin-left: 0;
    margin-right: 5px;
}

.check-location {
    font-size: 15px;
    position: relative;
    color: #ff9000;
}

.column-time {
    min-width: 155px;
}

table .check-location {
    top: 0;
    left: 10px;
    cursor: pointer;
}

.datepicker-orient-top {
    z-index: 9999!important;
}

.ui-sortable tr {
    cursor: all-scroll;
}

#job-assign-table_wrapper .datatable-scroll {
    max-height: 600px;
}

#trip-table {
    min-width: 1055px;
}
table.dataTable td,
table.dataTable th {
    white-space: nowrap;
}

table .passenger-address:not(.guest-address) {
    cursor: pointer;
}

/*Fix Css IE*/

body.ie.login_page.app {
    flex-direction: row!important;
    flex-wrap: wrap;
}

body.ie .container.od_logo,
body.ie .container.welcome {
    flex: 100%;
}

body.ie .container.welcome > div {
    width: 100%;
}

#routeLogs .filters .btn#date-prev,
.filter-time-dataTable .fc-prev-button {
    padding: 3.5px 8px 3.5px 13px;
    border-top-left-radius: 50%;
    border-bottom-left-radius: 50%;
    margin: 0;
    background: white;
    border: 1px solid #343b65;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.filter-time-dataTable .fc-prev-button span{
    border: solid #343b65;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 3px;
    transform: translateY(0) rotate(135deg);
    -webkit-transform: translateY(0) rotate(135deg);
}

#routeLogs .filters .btn#date-next,
.filter-time-dataTable .fc-next-button {
    padding: 3.5px 13px 3.5px 8px;
    border-top-right-radius: 50%;
    border-bottom-right-radius: 50%;
    margin: 0;
    background: white;
    border: 1px solid #343b65;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

#routeLogs .filters .btn#date-next,
#routeLogs .filters .btn#date-prev {
    height: 37px;
}

.filter-time-dataTable .fc-next-button span{
    border: solid #343b65;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 3px;
    transform: translateY(0) rotate(315deg);
    -webkit-transform: translateY(0) rotate(315deg);
}

.filter-time-dataTable input#date {
    border-radius: 0;
    border-top: 1px solid black;
    border-bottom: 1px solid black;
    z-index: 99;
    position: relative;
    background: transparent;
}

.filter-time-dataTable {
    margin-top: 10px;
    display: flex;
    max-height: 36px;
}

.filter-trip-dataTable {
    margin-left: 15px
}

.filter-trip-dataTable > div {
    max-width: 245px;
    flex: 245px;
}

/*Custom dataTable*/

.dt-button-collection {
    z-index: 9999;
}

body.app .dataTables_wrapper .dt-buttons.btn-group .btn.collection-btn {
    display: block !important;
    border: none;
    width: 100%;
    padding: 10px;
    text-align: left;
    border-radius: 0;
    color: #2196f3;
}

body.app .dataTables_wrapper .dt-buttons.btn-group .btn.collection-btn:focus,
body.app .dataTables_wrapper .dt-buttons.btn-group .btn.collection-btn:hover {
    background-color: #f5f5f5 !important;
    box-shadow: 0 0 !important;
}

.bootstrap-select {
    border: 0;
    outline: 0!important;
}

body.app .bootstrap-select button.dropdown-toggle {
    box-shadow: 0 0;
    outline: 0 !important;
    outline-offset: 0;
    border: 1px solid black;
}

@media (max-width: 1300px) {
    .booking-assign .location-start label,
    .booking-assign .location-end label {
        display: block;
    }
}

@media (max-width: 1200px) {
    .shifts-fields.flex-jtc-sa {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 400px) {
    .shifts-fields.flex-jtc-sa {
        padding: 0;
    }
}

@media (max-width: 576px) {
    .shifts-fields .stakeholder span.select2-container,
    .has_is_static .form-start-location input,
    .has_is_static .form-end-location input,
    .has_is_static .address_input {
        max-width: calc(100% - 42px) !important;
    }
}

/*@media (max-width: 1200px) {*/
/*    body:not(.sidebar-xs) .shifts-fields.flex-jtc-sa > div{*/
/*       flex: 100%;*/
/*    }*/
/*}*/

@media (min-width: 768px) {
    .navbar-expand-md .navbar-brand {
        text-align: center;
        padding-right: 20px;
    }
}

.font-1rem {
    font-size: 1rem;
}

#toast-container {.booking-assign .table button.edit, .table button.sub-remove-booking
    margin-top: 40px;
}

.expiry-list-card table > thead > tr > th:first-child {
    width: 100%;
}

.sidebar-dark .nav-sidebar > .nav-item-open > .nav-link:not(.disabled), .nav-group-sub .nav-link {
    background-color: inherit;
}

.nav-group-sub .nav-link.active {
    background-color: #26a69a;
}

.clickable-cell {
    cursor: pointer;
    display: block;
}

.working-shift-detail-table-wrapper .close-table {
    cursor: pointer;
}

.navbar-brand img {
    height: 28px;
}

.login-logo {
    height: 30px;
    margin-bottom: 5px;
    margin-top: 15px;
}

.spinner-container-50 {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 50%;
    margin-top: -25px;
}

.spinner-container-50 .spinner {
    font-size: 50px;
}

.capitalize {
    text-transform: capitalize;
}

.shifts-fields .form-group .select2-selection--multiple .select2-selection__clear {
    right: 10px;
    position: absolute;
    font-size: 22px;
    cursor: pointer;
}

#mapModal .modal-dialog,
#mapAddressModal .modal-dialog {
    max-width: 80vw;
    margin-top: 28px;
}

#mapModal .modal-dialog iframe,
#mapAddressModal .modal-dialog iframe {
    height: 75vh;
    border: none;
}

.table-booking-list .passenger-address.editable {
    cursor: pointer;
    pointer-events: none;
}

.pointer-events-none {
    pointer-events: none;
}

.trip-detail-status, .trip-detail-status.pending {
    background-color: #79B5D0;
}

.trip-detail-status.ongoing, .trip-detail-status.submitted, .trip-detail-status.assigned {
    background-color: #F7CD5C;
}

.trip-detail-status.completed {
    background-color: #A5D079;
}

.trip-detail-status.failed, .trip-detail-status.suspend, .trip-detail-status.no-booking, .trip-detail-status.unassigned {
    background-color: #FFB2BB;
}

.trip-detail-status.disabled {
    background-color: #9E9E9E;
}

.trip-detail-status.active{
    background-color: #A5D079;
}

.trip-detail-status.inactive{
    background-color: #9E9E9E;
}

.notifications-dropdown .dropdown-menu {
    overflow-y: scroll;
    max-height: 500px;
}

.notifications-dropdown .dropdown-menu .dropdown-item {
    cursor: default;
}
.notifications-dropdown .dropdown-menu a.dropdown-item {
    cursor: pointer;
}

.dataTable .btn_status{
    padding: 3px 0;
    border-radius: 8px;
    text-transform: capitalize;
    font-weight: 600;
    width: 85px;
    display: block;
    text-align: center;
}

.dataTable .btn_status.active{
    background-color: #A5D079;
}

.dataTable .btn_status.suspend{
    background-color: #FFB2BB;
}

.dataTable .btn_status.inactive{
    background-color: #9E9E9E;
}

.dataTables_scroll .dataTables_scrollBody td, .dataTables_scroll .dataTables_scrollBody th {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width:350px;
}

.preview_images {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.preview_image {
    width: 19%;
    margin-right: 5px;
}

.preview_claim_image {
    width: 31%;
    margin-right: 5px;
}

.route_image, .claim_image {
    border: 1px solid #343B65;
    height: 120px;
    object-fit: cover;
    width: 100%;
    border-radius: 17px;
}

.container-via-address .via-address-wrapper .delete-address-wrapper{
    margin-bottom: 1.25rem !important;
}