﻿/*Loding*/
#loading-all {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999999999;
}

.loading-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.46);
}

.loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 6px solid #f3f3f3;
    border-top: 6px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loading-spinner p {
    color: #fff;
    font-size: 1rem;
}

/******/

#mobile-header {
    height: 50px;
    background-color: #4e9acf;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 9999;
    width: 100%;
}

#box-my-locate {
    position: fixed;
    z-index: 999;
    bottom: 90px;
    right: 10px;
    background: #fff;
    padding: 9px;
    border-radius: 4px;
    border: 2px solid #ccc;
}

#mask, #mask-info {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 99999;
    background-color: #000;
    display: none;
    width: 100% !important;
    height: 100% !important;
}

#boxes .window, #boxes-info .window {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: none;
    z-index: 999999;
    padding: 10px;
}

#wrap-box, #wrap-box-info {
    background: #fff;
    padding: 10px;
    font-size: 1rem;
    text-align: justify;
    font-family: 'Times New Roman', Times, serif;
}

#menu-master {
    margin-top: 50px;
    z-index: 999999;
    height: calc(100% - 50px) !important;
    min-height: unset;
}

.bold {
    font-weight: bold !important;
}

.province-label {
    font-family: Roboto, Arial, sans-serif;
    font-size: 13px;
    color: #ffffff;
    font-weight: 700;
    line-height: 1.1;
    text-align: center;
    white-space: nowrap;
    pointer-events: none; /* không chặn click bản đồ */
    text-shadow: -1px -1px 0 #111111, 1px -1px 0 #111111, -1px 1px 0 #111111, 1px 1px 0 #111111, 0 0 2px #111111;
}

.float-right {
    float: right;
}

.float-left {
    float: left;
}

.mt10 {
    margin-top: 10px;
}

.mb3 {
    margin-bottom: 3px;
}

.plr5 {
    padding: 0px 5px;
}

.marker-container {
    display: flex; /* Sử dụng flexbox */
    flex-direction: column; /* Sắp xếp các phần tử theo chiều dọc */
    align-items: center; /* Canh giữa theo chiều ngang */
    justify-content: center; /* Canh giữa theo chiều dọc */
    text-align: center; /* Canh giữa nội dung văn bản */
}

.marker-icon {
    margin-bottom: 2px; /* Khoảng cách giữa hình ảnh và văn bản */
}

.my-div-span {
    font-size: 12px;
    font-weight: 700;
    cursor: pointer; /* Thêm hiệu ứng con trỏ khi hover */
    margin: 0; /* Loại bỏ khoảng cách mặc định */
    padding: 0; /* Loại bỏ padding mặc định */
    min-width: 70px;
    max-width: 100px; /* Chiều rộng tối đa */
    word-wrap: break-word; /* Tự động xuống dòng nếu nội dung quá dài */
    text-align: center; /* Canh giữa văn bản */
}

/*.my-div-span {
    width: 70px;
    display: block;
    background: #fff;
    border: 1px solid #ccc;
    color: red;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    margin-top: 23px;
    margin-left: -22px;
}*/

.btn-no-back {
    background: none !important;
    border: none !important;
    margin: 0px;
}

#wrap-detail-journey {
    position: absolute;
    bottom: 0px;
    width: 100%;
    left: 0px;
    background: #fff;
    padding: 5px;
    z-index: 999;
    border-radius: 5px;
}

.tbl-detail-journey {
    font-size: 12px;
    height: 27vh;
    overflow: scroll;
    z-index: 1000;
}

    .tbl-detail-journey thead th {
        position: sticky;
        top: 0;
        background-color: #1fa1fd;
        border-top: none;
        font-weight: 100;
        color: #fff;
    }

#info-journey {
    z-index: 999;
    font-size: 13px;
    line-height: 20px;
    padding: 0px 15px;
}

#down-journey {
    position: absolute;
    top: -34px;
    right: 0px;
    background: white;
    border-radius: 5px;
}

#detail-body {
    /*height: 270px;*/
}

.display-none {
    display: none;
}

/* Hide the number input */
#slider-journey input {
    display: none;
}

#slider-journey .ui-slider-track {
    margin-left: 15px;
}

#panel-list-car {
    width: 100%;
    z-index: 99999 !important;
    margin-top: 50px;
    height: calc(100% - 50px) !important;
    min-height: unset;
    /*overflow: scroll;*/
}

#panel-list-notify {
    width: 100%;
    z-index: 99999 !important;
    margin-top: 50px;
    height: calc(100% - 50px) !important;
    min-height: unset;
    /*overflow: scroll;*/
}

#panel-list-car .ui-btn-icon-right:after, #menu-master .ui-btn-icon-right:after, #ul-choose-car .ui-btn-icon-right:after {
    display: none;
}


.img-lst-status {
    margin-top: 0px;
    padding-left: 0px;
    position: absolute;
    left: 0;
    top: 0px;
}

.tit-number-lst {
    font-size: 16px !important;
    font-weight: 700 !important;
    margin-left: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.li-lst-car {
    padding: .7em 0.2em !important;
}

.tbl-lst-car {
    margin-left: 40px;
    font-size: 14px;
}

#panel-list-car .ui-listview > .ui-li-has-thumb > .ui-btn, .ui-listview > .ui-li-static.ui-li-has-thumb {
    padding-left: 70px;
    font-size: 12px;
    padding-top: 0px;
}

#ul-list-view-car td {
    line-height: 23px;
}

#ul-list-view-car .address {
    color: red;
}

#ul-list-view-car table img {
    margin-bottom: 3px;
    margin-right: 5px;
}

#panel-choose-car {
    margin-top: 50px;
    height: calc(100% - 50px) !important;
    min-height: unset;
    overflow: scroll;
}


    #panel-choose-car .ui-panel-inner {
        padding: 0px;
    }

#ul-choose-car {
    margin: 0px;
    height: 40vh;
    overflow: scroll;
}

.li-choose {
    padding: 0px !important;
    border: none !important;
}

#ul-choose-car .ui-btn {
    padding-top: 5px;
    padding-bottom: 5px;
}

#ul-choose-car .ui-checkbox, .ui-radio {
    margin: 5px 0px 0px 0px;
}

#ul-choose-car label.ui-btn {
    font-weight: 300 !important;
    font-size: 15px;
}

.content-report {
    width: 100%;
    height: 100vh;
    font-size: 14px;
    line-height: 25px;
    padding: 60px 10px 0px;
}

    .content-report p {
        margin: 0px;
    }

.txt-center {
    text-align: center;
}

.box-time-choose .ui-mini {
    margin: .446em 0px;
}

.mw-200 {
    min-width: 200px;
}

.mw-150 {
    min-width: 150px;
}

.mw-100 {
    min-width: 100px;
}

.mw-50 {
    min-width: 50px;
}

.mw-250 {
    min-width: 250px;
}

.displayNone {
    display: none;
}

.pad10 {
    padding: 10px;
}

.pad0 {
    padding: 0px;
}

.ui-icon-car:after {
    background-image: url("/Images/icon/find-car.png");
    background-size: contain;
}

.leaflet-popup-content {
    line-height: 1.6 !important;
    max-width: 350px !important;
    max-height: 70vh !important;
    overflow: auto !important;
}

.hightlight-trip {
    background-color: #aedaf9ab;
}

.leaflet-control-zoom {
    margin-top: 59px !important;
}

.bar-top-img img {
    height: 25px;
    margin: 12px 0px 12px 12px;
}

.tbl-sum-trip {
    margin-top: 20px;
    float: left;
    width: 100%;
}

    .tbl-sum-trip td {
        padding: 5px;
    }

    .tbl-sum-trip td {
        border: 1px solid #ccc;
    }

.img-move-mobile {
    position: absolute;
    top: 10px !important;
    right: 10px;
    left: unset !important;
}

.my-handle {
    cursor: move;
    cursor: -webkit-grabbing;
    margin-right: 10px;
    float: right;
}

.ui-panel .ui-panel-inner {
    overflow-y: auto;
    overflow-x: hidden;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

#tbl-cam-mobile {
    width: 100%;
    list-style: none;
}

    #tbl-cam-mobile li {
        width: 50%;
        float: left;
        padding: 2px;
        min-height: 200px;
        border: 1px solid #ddd;
    }

        #tbl-cam-mobile li .popphoto {
            max-width: 100%;
        }

.cam-add {
    font-size: 12px;
    line-height: 17px;
    text-align: center;
}

.cam-time {
    font-size: 12px;
    font-weight: 700;
    text-align: center;
}

.leaflet-container .leaflet-control-attribution {
    display: none;
}

.spanIconCars {
    position: absolute;
    top: -5px;
    right: 0;
    border: none;
    background-color: lightgreen;
    margin-left: -6px;
    padding: 1px;
    border-radius: 40%;
    font-size: 0.75rem;
    font-weight: bold;
}

#tbl-detail-journey tr {
    text-shadow: none;
}

.table td, .table th {
    padding: .35rem !important;
}

.speedView {
    height: 20px;
    width: 20px;
    padding: 5px;
    border-radius: 30px;
    color: #fff;
    background-color: dodgerblue;
}

#wrap-route {
    position: absolute;
    top: 60px;
    left: 10px;
    z-index: 999;
    background: #fff;
    line-height: 22px;
    padding: 5px 20px 5px 5px;
    font-size: 12px;
    box-shadow: 3px 3px 3px #1fa1fd85;
}

    #wrap-route p {
        margin-bottom: 0px;
    }

    #wrap-route div {
        position: absolute;
        top: -5px;
        right: -10px;
        padding: 0px 7px;
        background: red;
        color: #fff;
        border-radius: 3px;
    }

#ul-list-notify p {
    font-size: .75em;
    font-weight: 400;
    margin: .6em 0;
    line-height: 22px;
    white-space: initial;
    font-size: 14px;
}

#ul-list-notify img {
    margin-top: 20px;
    margin-left: 5px;
}

#id-panel-list-notify {
    text-decoration: none;
}

    #id-panel-list-notify span {
        background: red;
        padding: 0px 2px;
        border-radius: 50%;
        color: #fff;
        font-weight: 300;
        position: absolute;
        right: 50px;
        top: 5px;
        font-size: 1rem;
    }

.isNotRead {
    background: #cbebf5 !important;
}

.status-icon {
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
    border: 1px solid #81c4f7;
    box-shadow: rgba(50, 50, 105, 0.15) 0px 2px 5px 0px, rgba(0, 0, 0, 0.05) 0px 1px 1px 0px;
    background-color: white;
    width: 38px;
    height: 38px;
    border-radius: 50%;
}

    .status-icon img {
        width: 24px;
        height: 24px;
    }
