/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification 
for details on configuring this project to bundle and minify static web assets. */

html, body {
    height: 100%;
    margin: 0;
}

/* Flexbox layout for the body */
body {
    display: flex;
    flex-direction: column;
}

/* Header and footer remain fixed */
header, footer {
    flex-shrink: 0; /* Prevent shrinking */
}

/* Main content area takes remaining space and scrolls */
main {
    flex: 1; /* Take remaining space */
    overflow-y: auto; /* Allow scrolling */
}

.dashboardHTMLFix{

    overflow:auto;
}

.dashboardBody {
    padding-bottom: 20px;
}



main > .container,
main > .container-fluid {
    padding-top: 60px;
    padding-right: 15px;
    padding-bottom: 0px;
    padding-right: 15px;
}
    /*main {
    overflow-y: auto;
    height: 90vh;
    padding-top:5px;
}*/

    header, header .dropdown-menu, #bdNavbar {
    background-color: #002664;
}
header .dropdown-item,
header .nav-link{
    color:white;
}

    header .dropdown-item:hover,
    nav .menu-item:hover {
        color:white;
        background-color: #002664;
        background-size: 100% calc(100% - 7px);
        font-weight: bold,
        
    }


.navbar-brand, .navbar-text, .navbar-nav {
    color: #fff !important;
}

footer {
    color: #002664;
}

.grid-filter-body {
    font-size: .7rem !important
}

    .grid-filter-body .form-control  {
        font-size: .7rem !important
    }
    .grid-filter-body .btn {
        font-size: .7rem !important
    }
/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges 
.body-content {
    padding:0;
}*/
@media (max-width: 1366px) {
    html, body, .btn, .form-control, .dropdown-menu {
        font-size: 14px;
    }
}
/* Carousel */
.carousel-caption p {
    font-size: 20px;
    line-height: 1.4;
}




/* Make .svg files in the carousel display properly in older browsers */
.carousel-inner .item img[src$=".svg"] {
    width: 100%;
}

/* QR code generator */
#qrCode {
    margin: 15px;
}


#map {
    height: 100%;
    width: 100%;
    /*z-index: 1059;*/
    position: relative;
}

.badgeMarker {
    /*border-radius: 50%;*/
    position: absolute;
    top: 0;
    width: 50%;
    height: auto;
    /*padding-top: 50%;*/
    border-radius: 50%;
    right: 0;
    color: white;
}



.toolbar {
    float: left;
    color:blue;
    padding-left:7px;
}

/* Hide/rearrange for smaller screens */
@media screen and (max-width: 767px) {
    /* Hide captions */
    .carousel-caption {
        display: none;
    }
    
}


#drawerAssign .ant-drawer-content-wrapper{
    width:50% !important;
}


.chart-container {
    position: relative;
    margin: auto;
    height: 80vh;
    width: 80vw;
}

.overflow-y-scroll {
    overflow-y: auto;
}

.navbar-dark .navbar-nav .nav-link {
    color: #fff;
}


.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > a:after {
        content: "\f0da";
        float: right;
        border: none;
        font-family: 'FontAwesome';
    }

.underline{
        text-decoration:underline;
    }

.autoCompleteContainer #autoComplete_results_list {
    /*display: none;*/
    height: 45vh;
    overflow: auto;
    position: absolute;
    left: auto;
    right: auto;
}

.txt-red{
    color:red
}

.full-width{
    width:100%!important;
}

.success-notification {
    background-color: #96c93d !important;
    background: linear-gradient(to right, #00b09b, #96c93d) !important;
}

.error-notification {
    background-color: #ff5f6d !important;
    background: linear-gradient(to right, #ff5f6d, #ffc371) !important;
}

.error-warning {
    background-color: #f6c23e !important;
    background: linear-gradient(to right, #f6c23e, #dda20a) !important;
}

.status-code-error{
    font-size:22px;
    color:#d11616;
    font-weight:bold;
    
}

#content {
    /* for the animation */
    transition: width 0.5s ease;
}
.mainContent {
    /* for the animation */
    transition: width 0.5s ease;
}
.collapsedSidebar {
    /* for the animation */
    transition: margin 0.5s ease;
}

.collapsedRight-4 {
    
    
    margin-right: -34%;
}

.collapsedLeft-4 {
    display: none;
    display: block;
    margin-left: -34%;
}
.collapsedRight-3 {
    display: none;
    display: block;
    margin-right: -25%;
}

.collapsedLeft-3 {
    display: none;
    display: block;
    margin-left: -25%;
}

/*#tblOrders_wrapper .datatable th:nth-child(3) {
    width: 30%!important;
}*/
/*#tblOrders td:nth-child(3) {
    width: 30%;
}*/

#tblUnplannedOrders {
   
}





#layoutTripsPlanning {
        height:480px;
}

@media(min-height:1000px) {
    
    
    #layoutTripsPlanning {
        height: 620px;
    }
   
}

@media (min-height:700px )and (max-height:999px) {
    

    #layoutTripsPlanning {
        height: 620px;
    }
}

@media screen and (min-width: 768px) {
    #sideWayCol{
        width:3%;
        max-height:65vh;
    }
    #sideWayContent{
        width:97%
    }
    .offcanvas{
        width:40% !important;
    }

}
 
/*same as content*/
#map-container {
    height: 85vh;
    padding: 0;
}
/*
#frmAddOrderBooking {
    height: 450px;
    overflow-y: auto;
    overflow-x: hidden;
}*/

#wrapper {
   
    display: flex;
}

#wrapper #content-wrapper {
        background-color: #f8f9fc;
        width: 100%;
        overflow-x: hidden;

    }

#wrapper #content-wrapper #content {
            flex: 1 0 auto;
        }



table.grid-table .grid-header > .grid-header-group > .grid-header-title > button {
    background-color:transparent !important;
}

.selectedRow {
    background-color: lightgray !important;
    font-weight:bolder;
}
.excludedRow {
    text-decoration: line-through
}

table.grid-table .grid-header > .grid-header-group > .grid-header-title{
    margin-right:0px !important;
    white-space:normal !important;

}



.has-search .form-control-feedback {
    position: absolute;
    z-index: 2;
    display: block;
    width: 2.375rem;
    height: 2.375rem;
    line-height: 2.375rem;
    text-align: center;
    pointer-events: none;
    color: #aaa;
}

.mt-tooltip {
    position: absolute;
    display: inline-block;
}

    .mt-tooltip .mt-tooltiptext {
        visibility: hidden;
        width: 120px;
        background-color: #555;
        color: #fff;
        text-align: center;
        /*border-radius: 6px;*/
        padding: 5px 0;
        position: absolute;
        z-index: 1;
        bottom: 100%;
        left: 50%;
        margin-left: -60px;
    }

        .mt-tooltip .mt-tooltiptext::after {
            content: "";
            position: absolute;
            top: 100%;
            left: 50%;
            margin-left: -5px;
            border-width: 5px;
            border-style: solid;
            border-color: black transparent transparent transparent;
        }

    .mt-tooltip:hover .mt-tooltiptext {
        visibility: visible;
        opacity: 1;
    }

.smallFont {
    font-size: 0.75rem;
}

.marker-cluster-small-p {
    background-color: rgba(169, 169, 169, 0.6);
}

    .marker-cluster-small-p div {
        background-color: rgba(211, 211, 211, 0.6);
    }

.table-filter-container{
    display:inline-block;
}

table>thead>tr>th {
    background-color: #f8f9fc !important;
}

.select2-container--bootstrap-5 .select2-selection, .select2-selection__choice {
    font-size: .8rem !important;
}

.required:after {
    font-weight:bold;
    position: initial !important;
    content: " *" !important;
    color: red;
}



.check {
    margin: 0px auto;
    width: 50px;
    height: 50px;
    border-radius: 100%;
    background: #fff;
    text-align: center;
}

    .check i {
        vertical-align: middle;
        line-height: 50px;
        font-size: 30px;
    }
table.dataTable.nowrap th,
table.dataTable.nowrap td {
    white-space: normal;
}
.actionDataColumn {
    padding:0 !important;
}
.nav-link.tab-clickable.active {
    font-weight: bold;
}
/*to show it with select2*/
.form-label{
    z-index:1;
}
li > input.select2-search__field{
    width:90% !important;
}
.card-header {
    background-color: #f8f9fc;
}
#offcanvasManualAssignment {
    z-index: 1099;
}

#navMenu {
    background-color: #002664;
    min-height:100%;
}

th {
    font-size: .75rem;
}

td {
    font-size: .75rem;
}
table.dataTable > tbody > tr.selected .btn {
    color:White !important;
}
/*
table:not(#tblOrders) td .badge {
    font-size: .75rem;
}
    */


element.style {
    height: calc(100% - var(--bs-modal-margin) * 2);
}

/*.modal.show .modal-dialog {
    transform: none;
}

.modal.fade .modal-dialog {
    transition: transform .3s ease-out;
    transform: translate(0,-50px);
}*/

.modal-xxl {
    width: 80%;
    max-width: 100%;
}

@media (max-width: 991.98px)  {
    .modal-xxl {
        width: 100vw;
        max-width: none;
        height: 100%;
        margin: 0;
    }
    
}


@media screen and (min-width: 768px) {
    .custom-collapse .collapse {
        display: block;
    }
}
.vh-80 {
    height:80vh;
}
.h-89 {
    height:89%;
}
.filters input {
    width: 100%;
    padding: 0px;
    box-sizing: border-box;
}

.dataTables_processing .card {
    border:none;
}

.select2-container--bootstrap-5 .select2-dropdown .select2-results__options:not(.select2-results__options--nested) {
    max-height: 60vh !important;
}

#listTripOrders {
    overflow-y: auto;
    max-height: 80vh;
}
input[readonly]:not(.form-control-plaintext), .readonly {
    background-color: #e9ecef !important;
} .mt-dropdown-confirm .btn {
    border-radius: .375rem;
} .mt-dropdown-confirm .btn.btn-primary {
    background-color: #0d6efd !important;
}
/*Fixed height tabs*/
.fixedheight.tab-content {
    display: flex;
} .fixedheight.tab-content > .tab-pane {
        display: block; /* undo "display: none;" */
        visibility: hidden;
        margin-right: -100%;
        width: 100%;
    } .fixedheight.tab-content > .active {
        visibility: visible;
    } .dataTables_scrollHeadInner {
    width: 100% !important;
} .dataTables_scrollHeadInner table {
        width: 100% !important;
    } .form-floating > .form-select {
    padding-top: 1rem;
    padding-bottom: 0;

} .form-floating > label {
    padding: .5rem .5rem;
} .form-floating .select2-container--bootstrap-5 .select2-selection--single > .select2-selection__rendered {
    margin-top: .3rem;
} .accordion-button{
    font-weight:600;
} .dataTables_processing.card {
    z-index:1;
} .dtsb-button {
    background-color: #6c757d!important;
    color:white!important;
} .filepond--root {
    font-size: .8rem !important;
} .filepond--root .filepond--drop-label {
        min-height: 2em;
    } .modal .progress-marker::after {
    z-index: auto;
} .modalFormBody {
    max-height: 725px;
    overflow-y: auto;
    padding:1rem;
} .perc5{
    width:5%;
} #frmInvoiceLines .select2-selection--single {
    height: 100% ;
} #frmInvoiceLines .select2-selection__rendered {
    word-wrap: break-word ;
    text-overflow: inherit ;
    white-space: normal ;
} #tblAddEditInvoiceLines{
    min-width:1600px;
}

td > .dropdown > ul > li > button:not(:active), td > .dropdown > ul > li > a:not(:active) {
    color: var(--bs-primary) !important;
}
.clickable {
    cursor: pointer;
}
.orderTrackingCard .progress-step .progress-marker::before {
    content: "";
}
.orderTrackingCard .progress-step.is-complete .progress-marker::before {
    content: "\2713";
}

.orderTrackingCardParent.list-group-item-action.active{
    background-color:lightgrey;
}

#orderTrackingContainer #orderTrackingInfoContent, #mapDispatchContainer {
    max-height: 400px;
    height: 400px;
}


.loading-mask {
    position: relative;    
    width: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    height: calc(100vh - 100px);
    
    

}
