:root {
    --colorPrimary: #003399;
    --colorPrimarySlightlyDarker: #022D83;
    --colorPrimaryDark: #323333;
    --colorPrimaryLight: #648EE1;
    --colorAccent: #da3c2f;
    --colorBrown: #F28C50;
    --colorWhite: #FFFFFF;
    --colorGray: #F3F2F2;
    --gray: #a9aaac;
    --textInputColor: #100b20;
    --icons: #6a737c;
    --actionbar_opacity: #33000000;
    --red: #da3c2f;
    --bgColor: #f4f7fc;
    --light_green: #e8f5e9;
    --hint_color: @color;
    --colorDarkGray: #555555;
    --colorMediumGray: #6080BF;
    --colorNegativeButtonUnPressed: #990033;
    --colorNegativeButtonPressed: #D99FB3;
    --colorRoute: #990080;
    --bbgsbg: #DFE6F2;
    --bs-popover-bg: #003399 !important;
}

/* Define the fade-in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Apply the fade-in animation to the chat message div */
.message-appear {
    animation: fadeIn 0.5s;
}

@font-face {
    font-family: futura;
    src: url("../font/book.ttf") format("opentype");
}

@media (max-width: 576px) {
    .offcanvas {
        width: 75vw !important
    }


    .btn {
        font-size: 3.5vw;
        padding-left: 0.25rem;
        padding-right: 0.25rem;
    }

    p {
        font-size: 0.9rem
    }

    p.card-text.text-muted {
        font-size: .8rem;
    }

    h5.card-title {
        font-size: 0.9rem;
    }

    a.nav-link.active {
        font-size: 1rem;
    }

}

body {
    font-family: futura;
    color: #555555 !important;
}

.nav {
    --bs-nav-link-color: #555555;
}

body .container-fluid,
.accordion-item button:not(.collapse) {
    color: #555555;
}

.navbar {
    background: linear-gradient(90deg, #648EE1, #003399, #003399);
}


#spadmin_main .nav-tabs {
    background-color: #0037BD;
}

#spadmin_main .nav-tabs .nav-link {
    color: #a9aaac;
    background-color: #0037BD;
    border: none;
}

#spadmin_main .nav-link.active {
    color: white;
}

#loading-image {
    animation: fadein 5s;
}

#loading {
    position: fixed;
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    text-align: center;
    background-color: #fff;
    z-index: 10030;
}

#loading-image {
    margin-top: 29vh !important;
    display: none;

}

#btn_overlap {
    position: fixed;
    right: 0px;
    bottom: 48px;
    border-radius: 20px 0px 0px 20px;
    width: 2rem;
    height: 2.5rem;
    z-index: 1061;
    transition: width 0.3s;
}

.profile_image {
    width: 5rem;
    margin-bottom: 1rem;
}

.user_slide:hover {
    background: #e9ecef;
    cursor: pointer
}

.user_slide_chat>img {
    width: 5rem;
    margin-bottom: 1rem;
}

.user_slide_chat:hover {
    background: #e9ecef;
    cursor: pointer
}

.blue-dot {
    position: absolute;
    top: 10px;
    /* Adjust this value to position the dot vertically */
    right: 10px;
    /* Adjust this value to position the dot horizontally */
    width: 10px;
    height: 10px;
    background-color: var(--colorPrimary);
    border-radius: 50%;
}


/* CSS */
.message {
    max-width: 70%;
    padding: 10px;
    margin: 10px;
    border-radius: 10px;
    color: white;
}

.sender {
    background-color: purple;
    text-align: left;
}

.receiver {
    background-color: blue;
    text-align: right;
}

.message-time {
    font-size: small;
    text-align: right;
    margin-top: 5px;
}

#chat_users_recycler {
    flex: 1;
    /* Cover the whole available height */
    margin-bottom: 4rem;
}

#chat_msgs_recycler {
    margin-bottom: 4rem;
}


.marker-cluster span {
    line-height: 30px;
    color: white;
}

.marker-cluster div {
    width: 30px;
    height: 30px;
    margin-left: 5px;
    margin-top: 5px;
    text-align: center;
    border-radius: 15px;
    font: 12px "Helvetica Neue", Arial, Helvetica, sans-serif;
}




#myToast {
    width: -moz-fit-content;
    width: fit-content;
}


.input-group-text {
    background: none;
    border: none;
}

.form-control {
    border: none;
}

.bottom-border-custom {
    border-bottom: 1px solid #d3d3d3;
    margin-bottom: 5px;
}

.return_button_map {
    z-index: 9999;
    top: 75px;
    right: 20px;
}

.btn-danger {
    background-color: #990033 !important;
}

.text-danger {
    color: var(--colorBrown) !important;
}

.btn-secondary {
    background-color: #555555 !important;
}

.btn-primary {
    background-color: #003399 !important;
}

.bi .fa {
    color: #555555 !important;
}

.form-control {
    padding-left: 0px;
}

#toastCustom {
    position: fixed;
    bottom: 20px;
    z-index: 10000;
    border: none;
    /* background: red; */
    left: 0px;
    right: 0px;
    margin: auto;
    width: 80vw;
    color: var(--bgColor);
    border-radius: 20px;
}

.leaflet-popup-content {
    max-height: 200px;
    overflow-y: auto;
}



.table.table-striped-columns th,
.table.table-striped-columns td {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
}

/* Optional: Adjust the width of specific columns if needed */
.cell-style {
    width: 150px;
    /* Example fixed width */
    overflow: auto;
}

.user_fab_button {
    bottom: 60px;
    right: 20px;
}

.bigicon {
    width: 150px;
    height: 150px;
}

.smallicon {
    width: 60px;
    height: 60px;
}


.xSmallicon
{
    width: 30px;
    height: 30px;
}

@media (max-width: 576px) {
    #video {
        width: 80px;
    }
}


#polygon_steps_div {
    bottom: 50px;
    z-index: 400;
}

.leaflet-draw-guides {
    display: none;
}

.gps_data_pin {
    width: 40px;
    height: 40px;
}


#gps_data_div {
    z-index: 400;
    left: 13px;
    top: 190px;
    width: 140px;
}

.gps_icon_wrapper{
    width: -moz-fit-content;
    width: fit-content;
    position: relative;
}

.my-div-image {
   width: 60px;
   height: 60px;
}
.my-div-span{
    position: absolute;
    color: white;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: large;
}

.edit_location{
    position:absolute;
    z-index: 1050;
    background: white;
    width: 98vw;
    min-height: 90vh;
    margin: 1vw;
    padding: 1rem;
    margin-top: 100px;
    overflow-y:scroll;
    height: 90vh;
}
.info_div_icon {
    height: 15px;
    width: 15px;
    border-radius: 0px;
}
.close_edit_loc{
    position:fixed;
    right:2rem;
    z-index: 1010;
    border:1px solid 
}

#edit_location .form-control{
    margin-bottom: 20px;
    background: #DADCDE;
    border: 1px solid var(--bs-gray-500);
}

.backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 100005;
}
