@media only screen and (max-width: 600px) {
    body {
        font-size: 8px;
    }
}

@media only screen and (max-width: 800px) {
    body {
        font-size: 10px;
    }
}

@media only screen and (max-width: 1200px) {
    body {
        font-size: 12px;
    }
}

@media only screen and (max-width: 2000px) {
    body {
        font-size: 14px;
    }
}

html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

body {
    margin: 8px;
    margin-bottom: 60px;
    height: 100%;
    background-image: url(../images/iFleetBackground2.png);
    background-attachment: fixed;
}

#editor {
    height: 200px;
}

.bd-placeholder-img {
    font-size: 1.125rem;
    text-anchor: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

@media (min-width: 768px) {
    .bd-placeholder-img-lg {
        font-size: 3.5rem;
    }
}

.b-example-divider {
    width: 100%;
    height: 3rem;
    background-color: rgba(0, 0, 0, .1);
    border: solid rgba(0, 0, 0, .15);
    border-width: 1px 0;
    box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);
}

.b-example-vr {
    flex-shrink: 0;
    width: 1.5rem;
    height: 100vh;
}

.bi {
    vertical-align: -.125em;
    fill: currentColor;
}

.nav-scroller {
    position: relative;
    z-index: 2;
    height: 2.75rem;
    overflow-y: hidden;
}

.nav-scroller .nav {
    display: flex;
    flex-wrap: nowrap;
    padding-bottom: 1rem;
    margin-top: -1px;
    overflow-x: auto;
    text-align: center;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

.btn-bd-primary {
    --bd-violet-bg: #712cf9;
    --bd-violet-rgb: 112.520718, 44.062154, 249.437846;
    --bs-btn-font-weight: 600;
    --bs-btn-color: var(--bs-white);
    --bs-btn-bg: var(--bd-violet-bg);
    --bs-btn-border-color: var(--bd-violet-bg);
    --bs-btn-hover-color: var(--bs-white);
    --bs-btn-hover-bg: #6528e0;
    --bs-btn-hover-border-color: #6528e0;
    --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb);
    --bs-btn-active-color: var(--bs-btn-hover-color);
    --bs-btn-active-bg: #5a23c8;
    --bs-btn-active-border-color: #5a23c8;
}

.bd-mode-toggle {
    z-index: 1500;
}

.field-validation-error {
    font-size: 0.8rem;
    color: darkred;
}

thead,
tfoot {
    background-color: #3f87a6;
    color: #fff;
}

th {}

.TableColumnHeader {
    font-weight: bold;
}

.icon-lg {
    font-size: 24px;
}

.small-table-header {
    font-size: small;
}

@media (min-width: 768px) {
    .small-table-header {
        font-size: medium;
    }
}

.sort-link:hover {
    cursor: pointer;
}


.wrapper {
    justify-content: center;
    align-items: center;
}

.pulse {
    display: flex;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    position: relative;
    animation: animate 3s linear infinite
}

.pulse i {
    position: relative;
    justify-content: center;
    align-items: center;
    color: #fff;
    height: 100%;
    cursor: pointer
}

@keyframes animate {
    0% {
        box-shadow: 0 0 0 0 rgb(255, 109, 74, 0.7), 0 0 0 0 rgb(255, 109, 74, 0.7)
    }

    40% {
        box-shadow: 0 0 0 50px rgb(255, 109, 74, 0), 0 0 0 0 rgb(255, 109, 74, 0.7)
    }

    80% {
        box-shadow: 0 0 0 50px rgb(255, 109, 74, 0), 0 0 0 30px rgb(255, 109, 74, 0)
    }

    100% {
        box-shadow: 0 0 0 0 rgb(255, 109, 74, 0), 0 0 0 30px rgb(255, 109, 74, 0)
    }
}

.cust-min-width {
    min-width: 300px;
}



/* icons */

.icon-hover:hover {
    cursor: pointer;
    opacity: 0.7;
}

.hover-lighten:hover {
    opacity: 0.7;
}





.htmx-indicator {
    display: none;
}

.htmx-request .htmx-indicator {
    opacity: 1 !important;
    display: inline-block !important;
}

.htmx-request.htmx-indicator {
    opacity: 1 !important;
    display: inline-block !important;
}

h1 {
    font-size: 3.2rem;
    font-weight: bold;
    color: midnightblue;
    text-shadow: 2px 2px 4px gray;
}

.swal-container h1 {
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
    text-shadow: inherit;
}

h2 {
    font-size: 1.8rem;
    font-weight: bold;
    color: midnightblue;
    text-transform: uppercase;
    text-shadow: 2px 2px 2px gray;
}

.swal-container h2 {
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
    text-transform: inherit;
    text-shadow: inherit;
}

.nav-tabs .nav-item .nav-link {
    color: gray;
}

.nav-tabs .nav-item .nav-link.active {
    color: midnightblue;
    font-weight: 600;
}

.tab-content {
    border: 1px solid lightgray;
    padding: 15px;
}


.tab-content .tab-pane {
    background-color: #FFF;
    color: #0080FF;
    min-height: 200px;
    height: auto;
}

.tripBreadCrumbDetail {
    font-size: 0.8rem;
    font-weight: bold;
    color: midnightblue;
    border: 1px solid black;
}

.shadow-box {
    background-color: rgba(0, 0, 0, 0.5);
    /* Semi-transparent background */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    /* Shadow effect */
    color: white;
    /* Text color for visibility */
    padding: 20px;
    margin: 20px;
    border-radius: 10px;
}