﻿/* 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. */
@media only screen and (max-width: 768px) {
    .desktop-only {
        display: none;
    }

    .noData {
        font-size: 11px;
        max-width: 20vh;
    }
    .printDoc {
        font-size: 11px;
        max-width: 20vh;
    }
    .multipleDocs {
        font-size: 11px;
        max-width: 20vh;
    }
}

/*.noData {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    border-radius: 5px;
}
.printDoc {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    border-radius: 5px;
}

.multipleDocs {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    border-radius: 5px;
}*/


.logonavbar {
    margin-left: -62px;
    max-height: 40px;
}
@media only screen and (min-width: 768px) {
    .logonavbar {
        max-height: 55px;
    }
}


.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* semi-transparent background */
    z-index: 1050; /* Higher than Bootstrap modal */
    display: flex;
    justify-content: center;
    align-items: center;
}

#myOverlay {
    position: fixed;
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 20000;
    cursor: pointer;
}

    #myOverlay > div {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }

.overlay {
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 20;
    cursor: pointer;
}

    .overlay > div {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }


.autocomplete {
    position: relative;
    display: inline-block;
}

.autocomplete-items {
    position: absolute;
    border: 1px solid #d4d4d4;
    border-bottom: none;
    border-top: none;
    z-index: 99;
    /*position the autocomplete items to be the same width as the container:*/
    top: 100%;
    left: 0;
    right: 0;
}

    .autocomplete-items div {
        padding: 10px;
        cursor: pointer;
        background-color: #fff;
        border-bottom: 1px solid #d4d4d4;
    }

        /*when hovering an item:*/
        .autocomplete-items div:hover {
            background-color: #e9e9e9;
        }

/*when navigating through the items using the arrow keys:*/
.autocomplete-active {
    background-color: DodgerBlue !important;
    color: #ffffff;
}
/* Reduce vertical spacing */

div.dataTables_wrapper div.dataTables_info {
    padding-top: 0px;
    font-size: .875rem !important
}

.table > tbody > tr > td, .table > tbody > tr > th, .table > tfoot > tr > td, .table > tfoot > tr > th, .table > thead > tr > td, .table > thead > tr > th {
    padding: 4px 8px 4px 8px;
    font-size: .875rem !important
}

.pagination {
    margin: 2px 0;
    white-space: nowrap;
    justify-content: flex-end;
    font-size: .875rem !important
}

div.dataTables_filter {
    float: right;
    font-size: .875rem !important
}

.select2-results__group {
    cursor: pointer!important;

}

.add-new-article{}

.remove-chain{}

.remove-new-article{}
/* End Reduce vertical spacing */


.warning-icon {
    display: inline-block;
    width: 2.2em; /* Adjust the size as needed */
    height: 2.2em; /* Adjust the size as needed */
    background-image: url('../dist/img/shared/warning.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: middle; /* Aligns with text, similar to font icons */
}

.white-warning-icon {
    display: inline-block;
    width: 2.2em; /* Adjust the size as needed */
    height: 2.2em; /* Adjust the size as needed */
    background-image: url('../dist/img/shared/warningwhite.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: middle; /* Aligns with text, similar to font icons */
}
.white-multipledocs-icon {
    display: inline-block;
    width: 2.2em; /* Adjust the size as needed */
    height: 2.2em; /* Adjust the size as needed */
    background-image: url('../dist/img/shared/multipleDocs.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: middle; /* Aligns with text, similar to font icons */
}

.myrequests-status-btn {
    min-width: 89px; /* Default minimum width */
    color: #fff !important;
}

@media (max-width: 576px) {
    .myrequests-status-btn {
        min-width: 70px; /* Smaller minimum width for small screens */
    }
}

.select2-selection__rendered {
    color: #444;
    line-height: 13px !important;
}

#vehiclesResultContainer {
    border-top: 1px solid #e0e0e0;
    border-radius: 0.25rem;
    box-shadow: 0 0.1px 0.1px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    padding: 1rem;
    /* margin: 1rem; */
}

.btnPlateSearchReset {
    /*color: #007bff;*/ /* Link blue color */
    cursor: pointer;
    text-decoration: none;
    border: none;
    background: none;
    padding: 0;
    font-size: inherit;
}

    .btnPlateSearchReset:hover {
        text-decoration: underline;
    }

    .btnPlateSearchReset:focus {
        outline: none;
    }


.full-w {
    width: -webkit-fill-available; /* Safari, Chrome */
    width: -moz-available; /* Firefox */
    width: fill-available; /* Standard */
    max-width: 100%; /* Ensure it doesn't exceed container's width */
    box-sizing: border-box; /* Include padding and borders in the width calculation */
}