@media print {
    .gm-style div > img {
        position: absolute;
    }

    #map {
        width: calc(100% - 427px) !important;
        height: 100vh !important;
    }

        #map div > img {
            position: absolute;
        }

    .App-Map {
        position: relative;
    }

    .gpsitem.tracked {
        background-color: #e2f4db !important;
    }

    .list-menu {
        display: none !important;
    }

    #panel {
        display: none;
    }
}
/* Task Download Dialog Styles */
.task-download-dialog {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
}

.task-dialog-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

#dash-task {
    position: relative;
}

.task-dialog-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
}

.side-dash-panel {
    position: relative;
}

.dash-panel.control-panel {
    position: absolute;
    width: 100%;
    background-color: #fff;
    top: 50px;
}

.dash-panel.task-panel {
    position: absolute;
    width: 100%;
    background-color: #fff;
    top: 50px;
}

.task-dialog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 14px;
    border-bottom: 1px solid #e0e0e0;
    background: #d32f2f;
    color: white;
    border-radius: 8px 8px 0 0;
}

    .task-dialog-header h3 {
        margin: 0;
        font-size: 18px;
        font-weight: 600;
    }

        .task-dialog-header h3 i {
            margin-right: 8px;
        }

/* Task Dialog Tabs */
.task-dialog-tabs {
    display: flex;
    border-bottom: 2px solid #e0e0e0;
    background: #f5f5f5;
    flex-direction: row;
}

.task-tab {
    flex: 1;
    padding: 12px 16px;
    border: none;
    background: transparent;
    color: #666;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
}

    .task-tab i {
        margin-right: 6px;
    }

    .task-tab:hover {
        background: #e0e0e0;
        color: #333;
    }

    .task-tab.active {
        background: white;
        color: #d32f2f;
        border-bottom: 3px solid #d32f2f;
    }

.task-dialog-close {
    background: transparent;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 4px 8px;
    transition: opacity 0.2s;
}

    .task-dialog-close:hover {
        opacity: 0.7;
    }

.task-dialog-body {
    flex: 1;
    overflow-y: auto;
    padding: 2px 4px;
    min-height: calc(100% - 88px);
    height: calc(100% - 88px);
}

.task-list-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.task-item {
    border-bottom: 1px solid #e0e0e0;
    padding: 2px 4px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s;
}

    .task-item.completed {
        border-color: #9ccc65;
    }

    .task-item.error {
        background: #ffebee;
        border-color: #f44336;
    }

.task-icon {
    font-size: 24px;
    flex-shrink: 0;
}

    .task-icon.pending {
        color: #ffa726;
    }

    .task-icon.downloading {
        color: #d32f2f;
        animation: spin 1s linear infinite;
    }

    .task-icon.completed {
        color: #388e3c;
    }

    .task-icon.error {
        color: #e53935;
    }

@@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.task-info {
    flex: 1;
    min-width: 0;
}

.task-panel .task-title .close, .control-panel .task-title .close {
    width: 20px;
    position: absolute;
    right: 0px;
    top: 2px;
    cursor: pointer;
}

.task-title {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
    color: #333;
    position: relative;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.task-details {
    font-size: 12px;
    color: #666;
}

.task-status {
    font-size: 12px;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 4px;
    flex-shrink: 0;
}

    .task-status.pending {
        background: #fff3e0;
        color: #f57c00;
    }

    .task-status.downloading {
        background: #ffebee;
        color: #c62828;
    }

    .task-status.completed {
        background: none;
        color: #388e3c;
    }

    .task-status.error {
        background: #ffebee;
        color: #c62828;
    }

.task-dialog-footer {
    padding: 2px 4px;
    background-color: #f3f3f3;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.task-clear-completed {
    background: #ccc;
    color: #fff;
    border: none;
    padding: 6px 12px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s;
}

    .task-clear-completed:hover {
        color: #000;
    }

    .task-clear-completed i {
        margin-right: 6px;
    }

.task-clear-all {
    background: #ccc;
    color: #fff;
    border: none;
    padding: 6px 12px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s;
}

    .task-clear-all:hover {
        color: #000;
    }

    .task-clear-all i {
        margin-right: 6px;
    }

.task-delete-btn {
    background: transparent;
    border: none;
    color: #757575;
    cursor: pointer;
    padding: 4px 8px;
    font-size: 16px;
    cursor: pointer;
    transition: color 0.3s;
    flex-shrink: 0;
}

    .task-delete-btn:hover {
        color: #d32f2f;
    }

.task-item {
    position: relative;
}

.download-link {
    color: #d32f2f;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

    .download-link:hover {
        color: #b71c1c;
        text-decoration: underline;
    }

    .download-link i {
        margin-right: 4px;
    }

.expired-link {
    color: #ff9800;
    font-size: 13px;
    font-weight: 500;
}

    .expired-link i {
        margin-right: 4px;
    }

.task-item.expired {
    opacity: 0.7;
    background: #fff3e0;
}

/* Custom Confirmation Dialog */
.custom-confirm-dialog {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-confirm-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.custom-confirm-container {
    position: relative;
    background: white;
    border-radius: 8px;
    padding: 30px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    z-index: 10001;
    text-align: center;
}

.custom-confirm-icon {
    margin: 0 auto 20px auto;
    display: block;
    width: 95px;
}

    .custom-confirm-icon svg {
        width: 100%;
        height: 100%;
    }

.custom-confirm-content h3 {
    margin: 0 0 10px 0;
    font-size: 20px;
    color: #333;
    font-weight: 600;
}

.custom-confirm-content p {
    margin: 0 0 25px 0;
    font-size: 16px;
    color: #666;
    line-height: 1.5;
}

.custom-confirm-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.custom-btn {
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    min-width: 100px;
}

.custom-btn-cancel {
    background: #757575;
    color: #505050ff;
}

    .custom-btn-cancel:hover {
        background: #616161;
    }

.custom-btn-confirm {
    background: #d32f2f;
    color: #505050ff;
}

    .custom-btn-confirm:hover {
        background: #b71c1c;
    }

/* Channel Selection Buttons */
.channel-select-buttons {
    display: flex;
    flex-direction: row;
    gap: 10px;
    margin-top: 10px;
    justify-content: center;
}

.channel-btn {
    padding: 6px 12px;
    border: 2px solid #d32f2f;
    background: white;
    color: #d32f2f;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

    .channel-btn:hover {
        background: #d32f2f;
        color: white;
    }

/* Toast Notification */
.custom-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: white;
    padding: 16px 24px;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10002;
    font-size: 14px;
    animation: slideIn 0.3s ease-out;
}

    .custom-toast i {
        font-size: 20px;
    }

    .custom-toast.success {
        border-left: 4px solid #4caf50;
    }

        .custom-toast.success i {
            color: #4caf50;
        }

    .custom-toast.error {
        border-left: 4px solid #f44336;
    }

        .custom-toast.error i {
            color: #f44336;
        }

    .custom-toast.info {
        border-left: 4px solid #2196f3;
    }

        .custom-toast.info i {
            color: #2196f3;
        }

@@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Floating Task Button */
.task-download-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #d32f2f;
    color: #505050ff;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    font-size: 24px;
    transition: all 0.3s;
    z-index: 999;
}

    .task-download-btn:hover {
        background: #b71c1c;
        transform: scale(1.1);
    }

.task-count-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #ffc107;
    color: #333;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.task-empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #999;
}

    .task-empty-state i {
        font-size: 48px;
        margin-bottom: 16px;
        opacity: 0.5;
    }

    .task-empty-state p {
        font-size: 14px;
        margin: 0;
    }

.input-group {
    position: relative;
}

.gm-style-iw-chr {
    position: relative !important;
}

    .gm-style-iw-chr > div {
        padding-top: 8px !important;
    }

    .gm-style-iw-chr > button {
        width: 38px !important;
        height: 38px !important;
        position: absolute !important;
        top: -9px !important;
        right: 9px !important;
    }

button:not(.gm-control-active,.swal2-styled,.gm-iv-close,.ui-button,.gm-ui-hover-effect,.gm-svpc) {
    width: fit-content;
    height: 35px;
    /*padding: 8px;*/
    border-radius: 5px;
    border: 2.5px solid #E0E1E4;
    box-shadow: 0px 0px 20px -20px;
    cursor: pointer;
    background-color: white;
    transition: all 0.2s ease-in-out 0ms;
    user-select: none;
    font-family: 'Poppins', sans-serif;
}

.task-actions {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
}

.preview-btn {
    width: fit-content;
    height: 35px;
    /*padding: 8px;*/
    border-radius: 5px;
    border: none !important;
    box-shadow: 0px 0px 20px -20px;
    cursor: pointer;
    background: none !important;
    transition: all 0.2s ease-in-out 0ms;
    user-select: none;
    font-family: 'Poppins', sans-serif;
}

button:not(.gm-control-active.swal2-styled,.gm-iv-close,.ui-button,.gm-ui-hover-effect):hover {
    background-color: #F2F2F2;
    box-shadow: 0px 0px 20px -18px;
}

button:not(.gm-control-active,.swal2-styled,.gm-iv-close,.ui-button,.gm-ui-hover-effect):active {
    transform: scale(0.95);
}

button:not(.gm-control-active,.swal2-styled,.gm-iv-close,.ui-button,.gm-ui-hover-effect):focus {
    outline: none;
    background-color: #fff;
}

button:not(.gm-control-active,.swal2-styled,.gm-iv-close,.ui-button,.gm-ui-hover-effect)[disabled]:active {
    transform: scale(1);
}

button:not(.gm-control-active,.swal2-styled,.gm-iv-close,.ui-button,.gm-ui-hover-effect):disabled,
button:not(.gm-control-active,.swal2-styled,.gm-iv-close,.ui-button,.gm-ui-hover-effect)[disabled] {
    border: 1px solid #999999;
    background-color: #cccccc;
    color: #666666;
    cursor: not-allowed;
}

.input-dash-control[disabled] {
    background-color: #cccccc;
}

.input-dash-control {
    border: solid 1.5px #9e9e9e;
    border-radius: 5px;
    background: none;
    padding: 1rem;
    font-size: 1rem;
    color: #767676;
    transition: border 150ms cubic-bezier(0.4,0,0.2,1);
}

.user-label {
    position: absolute;
    left: 15px;
    color: #e8e8e8;
    pointer-events: none;
    transform: translateY(1rem);
    transition: 150ms cubic-bezier(0.4,0,0.2,1);
}

.input-dash-control:focus, input:valid {
    outline: none;
    border: 1.5px solid #1a73e8;
}

    .input-dash-control:focus ~ label.user-label, input:valid ~ label.user-label {
        transform: translateY(-50%) scale(0.8);
        background-color: #fff;
        padding: 0 .2em;
        color: #2196f3;
    }


.detail-command > div > div {
    margin-bottom: 10px;
}

.detail-command .result-cmd.hide > div {
    display: none
}

.detail-command .result-cmd.pending > div.loader {
    display: block;
}

.detail-command .result-cmd.pending > div.result {
    display: none;
}

.detail-command .result-cmd.result > div.loader {
    display: none;
}

.detail-command .result-cmd.result > div.result {
    display: flex;
    width: 380px;
    word-wrap: anywhere;
    padding: 4px;
}

.task-panel {
    border: 1px solid #ccc;
}

    .task-panel .task-list {
        height: 400px;
    }

    .task-panel .task-title, .control-panel .task-title {
        background-color: #656565;
        color: #fff;
        text-align: center;
        font-size: 12px;
        padding: 2px;
    }

#event-window.four_channal {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

    #event-window.four_channal > div {
        width: 50%;
    }

#event-window.one_channal {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

    #event-window.one_channal .video-event2, #event-window.one_channal .video-event3 {
        display: none;
    }

    #event-window.one_channal .video-event1 {
        width: 100%;
    }

#event-window.one_channal {
}

.conflict-warning.show {
    display: block
}

.conflict-warning {
    color: red;
    display: none
}

.loader-video-button {
    width: 100%;
    height: 60px;
    border: 1px solid #ccc;
    display: flex;
    padding: 0 4px;
    justify-content: center;
    align-items: center;
}

.order-2 {
    margin-right: 30px;
}

.event-list-result {
    color: red;
    font-size: 18px;
    text-align: center;
    padding: 10px;
}

.pending-list-container {
    width: 100%;
    height: 60px;
    display: flex;
    flex-direction: column;
    border: 1px solid #ccc;
    justify-content: center;
    padding: 0 4px;
}

.complete-list-container {
    width: 100%;
    height: 60px;
    border: 1px solid #ccc;
    display: flex;
    padding: 0 4px;
    margin: 4px 0;
}

.complete-list-item {
    display: flex;
    justify-content: center;
    width: 60%;
    flex-direction: column;
    padding: 0 8px;
}

.complete-list-item1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 40%;
    padding: 0 8px;
}

.pending-preview-item {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.tab-style-replay{
    display: none;
}
.replay-cloud-list-area{
    display: none;
}
.tab-style-replay div{
    width: 50%;
    display:flex;gap:10px;
    justify-content: center;
    border-bottom: 1px solid #ccc;
    align-items: center;
    cursor: pointer;
    padding: 3px;
    font-size: 14px;
}
.tab-style-replay div:hover{
    background-color: #eee;
}
.tab-style-replay div.active {
    background-color: #e3e3e3;
    border-bottom: 4px solid #f00;
    padding-bottom: 2px;
}


.event-menu-container {
    width: 100%;
    height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 8px;
    border: 1px solid #0000001f;
    margin: 2px 0;
}

.video-live-container {
    display: flex;
    /* width: 100px; */
    flex-grow: 1;
    min-width: 350px;
}

.event-not-found {
    color: red;
    display: none;
    display: block;
    width: 100%;
    text-align: center;
    margin: auto;
    position: absolute;
    top: 50%;
}

.event-menu-container .bt-download-event-cam {
    cursor: pointer
}

.event-menu-container:hover {
    border: 1px solid #06060661;
}

.event-download-file1 {
    display: flex;
    width: 100%;
}

.gallery-list {
    cursor: pointer;
    width: 100%;
    height: 60px;
    border: 1px solid #ccc;
    display: flex;
    padding: 0 4px;
    margin: 4px 0;
}

.live-window-title-dialog {
    height: 33px;
    width: 100%;
    background: #efefef;
    display: flex;
    justify-content: space-between;
    border: 1px solid #000;
    padding: 4px;
}

.event-window-header {
    display: flex;
    color: #000;
    justify-content: space-between;
    align-items: center;
    background: #efefef;
    height: 35px;
    padding: 0 12px;
    border: 1px solid #000;
}

.gallery-window-header {
    display: flex;
    color: #000;
    justify-content: center;
    align-items: center;
    background: #efefef;
    height: 35px;
    padding: 0 12px;
    border: 1px solid #000;
}

.replay-download-btn {
    color: gray;
}

.video-event1, .video-event2, .video-event3 {
    height: 50%;
    position: relative;
}

.live-stream-video {
    height: 100%;
    padding: 4px;
}

.event-list-result, .picture-list-result {
    color: red;
    text-align: center;
    font-size: 18px;
}

.picture-list-loading, .event-list-loading {
    width: 20px;
    margin: 10px auto;
    display: none;
}

.replay-list-loading {
    width: 50px;
    margin: auto auto;
    height: 50px;
}

#pictureMenu, #eventMenu {
    overflow: auto;
    height: 100%;
    display: flex;
    flex-direction: column;
}

#picture-list, #event-list {
    overflow: auto;
    flex-grow: 1;
    height: 100px;
}

.replay-item-selected {
    background: rgb(234, 234, 234);
}

.event-list-loading {
    width: 20px;
    margin: 10px auto;
    display: none;
}

.event-loading {
    display: flex;
    justify-content: center;
    align-items: center;
}

.replay-item-loading-layout {
    width: 100%;
    background-color: #0000003b;
    position: absolute;
    height: 100%;
    z-index: 1;
    display: flex;
    display: none;
}

.event-loading-list {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    z-index: 99;
    background: #f4f4f49e;
}

.menu-replay-select {
    width: 100%;
    height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 8px;
    border: 1px solid #0000001f;
    margin: 2px 0;
    cursor: pointer;
}

.show-event-window {
    height: 100%;
    width: 90%;
    display: flex;
    align-items: center;
}

.replay-file-item {
    height: 100%;
    width: 90%;
    display: flex;
    align-items: center;
}

.replay-loading {
    width: 20px;
    margin: 10px auto;
    display: none;
}

.dash-vehicle-list {
    width: 100%;
    flex-grow: 1;
    overflow: auto;
    min-height: 100px;
    height: 100px;
}

.dashcam {
    height: calc(100% - 80px);
    position: relative;
    display: flex;
    width: 100%;
    flex-direction: column;
}

.event-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transfrom: translate(-50%,-50%);
}

.counterContainer {
    display: flex;
}

    .counterContainer .circle {
        background-color: #e9e9e9;
        border-radius: 16px;
        padding: 8px;
        color: #000;
    }

    .counterContainer .counterStatus {
        margin-left: 10px;
    }

    .counterContainer > div {
        margin: 3px;
        padding: 5px 15px;
        border-right: 1px solid #dddddd;
        cursor: pointer;
    }

        .counterContainer > div:hover {
            background: #f8f8f8;
        }

/*live session*/
.liveMenu {
    display: flex;
    justify-content: space-between
}

.dash-control-dialog {
    top: calc(50% - 200px);
    left: calc(50% - 200px);
    position: fixed;
    width: 400px;
    height: 400px;
    box-shadow: 0px 0px 6px 0px #d7d7d7;
    z-index: 1;
    justify-content: center;
    align-items: center;
}

.jc3 {
    display: none;
}

.dash-control-dialog.hide {
    display: none;
}

.dash-control-dialog.show {
    display: flex;
}

.dash-control-dialog > div {
    width: 400px;
    height: 400px;
    background-color: #fff;
    border-radius: 5px;
}

.liveMenu > div {
    margin: 3px;
    padding: 5px 5px;
    border-right: 1px solid #dddddd;
    cursor: pointer;
    width: 100%;
    text-align: center;
}

    /*.liveMenu > div:last-child {
    margin: 3px;
    padding: 5px 5px;
    width: 40%;
    text-align: center;
}

    .liveMenu > div:last-child > i {
        padding: 5px 10px;
        cursor: pointer;
    }

        .liveMenu > div:last-child > i:hover {
            background: #f8f8f8;
        }*/

    .liveMenu > div:hover {
        background: #f8f8f8;
    }

.gridIcon {
    font-size: 20px;
    margin-right: 8px;
    cursor: pointer;
}

.liveContainerSearch {
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.liveSearchInput {
    height: 20px !important;
    border: 1px solid rgb(166, 201, 226);
    margin: 0 !important;
    max-width: 200px;
}

.blink_live {
    animation: blinker 1s linear infinite;
}

@keyframes blinker {
    50% {
        opacity: 0;
    }
}

.dashcam-item {
    padding: 4px;
    border: 1px solid #e3e3e3;
    cursor: pointer;
    font-size: 13px;
    margin-bottom: 1px;
}

#dialog-live {
    height: 360px !important;
}

.dash-sub-menu {
    border-bottom: 2px solid #0000;
    transition: 0.2s;
}

.dashcam-active {
    border-bottom: 2px solid #75A853;
    transition: 0.2s;
    transform: rotate(180)
}

/*#dash-live {
    transition: 0.2s;
}*/
/*----------------------------------------*/
.select2-drop-mask {
    display: none !important;
}

.ui-datepicker-today a.ui-state-active.ui-state-default, .ui-datepicker-current-day a.ui-state-active.ui-state-default {
    background-color: #b4b4b4 !important;
}

#dialog-createplacemark,
#dialog-search,
#dialog-createzone {
    padding: 6px 0 0 6px
}

#dialog-cutEngine > fieldset,
#cutEngine-form > fieldset,
#OverSpeed-form > fieldset {
    border: 1px solid #acacac;
    text-align: center;
    padding: 0
}

#dialog-warningboard {
    padding: 0;
    overflow: hidden
}

#dvProvince,
#dvPointType,
#dvPointLat,
#dialog-createplacemark > div:first-child {
    margin-bottom: 10px
}

.base {
    border-top: #ddd 1px solid;
    text-align: center;
    margin: 0 -11px;
    padding: 8px 0 4px
}

.inner > h2 {
    font-size: 1.25em;
    color: #f60;
    margin-bottom: 5px;
    font-weight: 700;
    text-align: center;
}

#dialog-listplacemark > div:first-child > span.ui-icon-search {
    margin-left: 5px;
    float: left
}

#dialog-cutEngine > fieldset > legend,
#cutEngine-form > fieldset > legend,
#OverSpeed-form > fieldset > legend {
    padding-left: 5px;
    text-align: left
}

#cutEngine-form .select2-container,
#OverSpeed-form .select2-container {
    text-align: left
}

#dialog-mornitor {
    overflow: hidden;
    padding: 0;
}

#dialog-listzone {
    padding: 0
}

#dialog-newRoute {
    overflow: hidden !important
}

#dvArea > span:first-child,
#dvZoneName > span:first-child,
#dvZoneType > span:first-child {
    width: 45px;
    display: inline-block
}

#dialog-listplacemark > div:first-child {
    border-bottom: none;
    padding: 5px 0
}

#txtFind:focus {
    box-shadow: none;
}

.accordion-content {
    width: 100%;
    height: 200px;
    display: block
}

#destiationHead > p {
    display: inline-block;
    font-size: 12px;
    border: 1px solid #C5DBEC;
    text-align: center;
    margin-top: 2px;
    margin-bottom: 0;
}

#txtFind {
    position: absolute;
    padding: 0px 5px 0px 5px;
    border: 1px solid rgb(166, 201, 226);
    height: 19px !important;
    right: 2px;
    display: inline-block;
    width: 150px;
    background-color: #fff;
    top: 4px;
}

.bt-side {
    cursor: pointer;
    display: inline-block;
    padding: 0px 4px;
    position: relative;
    top: 5px;
}

    .bt-side:hover {
        background-color: #ebebeb
    }

    .bt-side.hideside .icon-show, .bt-side.showside .icon-hide {
        display: none;
    }

    .bt-side.showside .icon-show, .bt-side.hideside .icon-hide {
        display: inline-block;
    }

#content-mornitor > h3 {
    outline: none;
}

#content-mornitor > div.ui-accordion-content,
#accordion-warningboard > div.ui-accordion-content {
    padding: 0 0 0 3px
}

#mornitorStation > li, #mornitorZone > li, #mornitorNearest > li, #mornitorDestination > li {
    text-align: left;
    border: 1px solid #e8e8e8 !important;
    background-color: #ffffff !important;
    background-image: none;
    margin: 2px 0;
    padding: 10px 2px;
}

#dialog-newRoute {
    overflow: hidden !important
}

div.route-container {
    display: inline-block;
    width: 330px;
    position: absolute;
    margin-top: 5px
}

.menu-item.active {
    background-color: #c3c3c3;
}

.menu-dialog {
    overflow: hidden !important;
}

.secureForm {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    top: 0;
    left: 0;
    z-index: 1;
    padding: 10px;
}

#someThingWant {
    font-weight: bold;
    padding: 5px;
}

.zone-item {
    cursor: pointer;
    position: relative;
    border: 1px solid #e2f4db;
}

    .zone-item:hover {
        border: 1px solid rgba(94,94,94,1);
    }

div.route-one {
    height: 140px
}

div.route-two {
    display: none;
    height: 413px;
    overflow: hidden
}

div.route-three {
    display: none;
    height: 413px;
    overflow: hidden
}

div.control-one {
    height: 140px;
    position: absolute;
    top: 0px;
    width: 100%;
}

div.control-two {
    display: none;
    height: 413px;
    overflow: hidden;
    position: absolute;
    top: 0px;
    width: 100%;
}

div.placemark-one {
    height: 200px;
    font-size: 12px;
    position: absolute;
    top: 0px;
}

div.placemark-two {
    display: none;
    height: 388px;
    overflow: hidden;
    position: absolute;
    top: 0px;
    width: 360px;
}

div.newZone-one {
    height: 400px;
    font-size: 12px;
    position: absolute;
    top: 0px;
    width: 100%;
}

div.direction-two {
    display: none;
    height: 400px;
    overflow: hidden;
    position: absolute;
    top: 0px;
    width: 100%;
}

div.direction-one {
    height: 200px;
    font-size: 12px;
    position: absolute;
    top: 0px;
    width: 100%;
}

div.newZone-two {
    display: none;
    height: 230px;
    overflow: hidden;
    position: absolute;
    top: 0px;
    width: 100%;
}

.list-mp-item {
    display: block;
    padding: 10px;
    cursor: pointer;
    border: 1px solid #ccc;
    height: 60px;
    position: relative;
}

.mp-info .editPM {
    float: right;
    cursor: pointer;
    margin-right: 5px;
    font-size: 10px
}

.mp-info {
    width: 230px;
    overflow: hidden;
    padding: 10px
}

    .mp-info .delPM {
        float: right;
        cursor: pointer;
        font-size: 10px
    }

.list-mp-item .mp-order {
    display: inline-block;
    width: 30px
}

.list-mp-item .mp-name {
    font-size: 12px;
    font-weight: 900;
    color: #007FE5
}

#MMMAP_notice,
#MMMAP_scale,
#route,
#formInfoDel,
#UL_result,
#CE_result,
#legDistancePart {
    display: none
}

.list-mp-item .mp-area {
    margin-left: 15px;
    font-size: 10px;
    position: absolute;
    right: 0;
    top: 35px;
    width: 45px
}

.list-mp-item:hover {
    background-color: #e2fce1 !important
}

.list-mp-item .mp-icon {
    position: absolute;
    width: 22px;
    right: 15px;
    top: 9px;
}

.list-mp-item .mp-loc {
    margin-left: 30px
}

.listIconPM {
    z-index: 10;
    cursor: pointer;
    display: none;
    position: absolute;
    background-color: #fff;
    border: 1px solid;
    padding: 4px
}

#listIconPM,
#listIconPM2 {
    margin-bottom: 10px;
    display: none;
    padding: 3px;
    position: absolute;
    right: 0px;
}


.route-add label {
    vertical-align: middle;
    margin-left: 5px;
    font-size: 12px;
    height: 24px;
    display: inline-block;
    padding-top: 2px
}

.txtRouteName {
    margin-top: 10px;
    margin-bottom: 10px
}

#routeDistance {
    margin-top: 10px;
    margin-bottom: 10px
}

.routeItemSetting {
    display: inline-block;
    width: 100%;
    border: 1px solid #c5dbec !important;
    cursor: pointer;
    padding: 5px;
    margin-bottom: 1px
}

.routeItem {
    display: inline-block;
    border: 1px solid #c5dbec !important;
    cursor: pointer;
    padding: 5px;
    margin-bottom: 1px
}

    .routeItem:hover,
    .routeItemSetting:hover {
        background-color: #e9fee8
    }

    .routeItem button {
        float: right
    }

#controlRoute span.manual {
    padding: 5px;
}

.lbvehicleName {
    display: inline-block;
    width: 120px;
    vertical-align: top;
    margin-top: 10px;
}

.no-titlebar .ui-dialog-titlebar {
    display: none
}

.lbRouteMatch {
    display: inline-block;
    width: 120px;
    vertical-align: top;
    margin-top: 10px;
}

.lbRouteDistance {
    display: inline-block;
    width: 120px;
    vertical-align: middle;
    margin-top: 5px
}

.r-list {
    height: 355px;
    overflow-x: hidden;
    overflow-y: scroll;
    border: 1px solid #f1f1f1;
}

.r-setting-list {
    height: 360px;
    overflow-x: hidden;
    overflow-y: scroll;
    clear: both;
    margin-top: 30px;
    border: 1px solid #f1f1f1;
}

.ui-icon, .ui-widget-content .ui-icon {
    background-image: url(../../css/images/ui-icons_333_256x240.png) !important;
}

.route-mainmenu, .newPlaceMark-mainmenu, .control-mainmenu, .newZone-mainmenu, .direction-mainmenu {
    padding: 5px 10px;
    border: 1px solid #ccc;
    display: inline-block;
}

    .route-mainmenu.active, .newPlaceMark-mainmenu.active, .control-mainmenu.active, .newZone-mainmenu.active, .direction-mainmenu.active {
        background-color: #e2f4db;
    }


.route-add input[type="radio"] {
    vertical-align: top
}

.btDeleteRoute {
    margin-left: auto;
    margin-right: auto;
    width: 60px;
    display: inherit
}

.lbRouteName {
    display: inline-block;
    width: 180px;
    vertical-align: middle;
    margin-top: 5px
}

html, body {
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    font-family: 'CSChatThaiUI';
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    font-size: 13px;
    overflow: hidden;
}

@font-face {
    font-family: 'CSChatThaiUI';
    src: url('../font/CSChatThaiUI.ttf') format('truetype');
}

body * {
    font-family: 'CSChatThaiUI';
    font-size: 13px;
}

.advancInfo .info .infoItem {
    display: inline-block;
    padding: 0px 8px;
    border-right: 1px solid #ddd;
    font-size: 11px;
    text-align: center;
    -webkit-touch-callout: none;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
}

button, input, optgroup, select, textarea {
    font-family: 'CSChatThaiUI';
}

button, input, optgroup, select, textarea {
    font-family: sans-serif;
    font-size: 15px !important;
    line-height: 1.15;
    margin: 0;
}

.App {
    width: 100%;
    height: 100%;
}

.gm-style-iw.gm-style-iw-c {
    margin-top: -5px;
}

.gm-style-iw-tc {
    margin-top: -5px;
}

.gm-style .gm-style-iw.gm-style-iw-c > button > img {
    width: 25px !important;
    height: 25px !important;
    margin: 0px !important;
    position: relative !important;
    top: 4px !important;
}

.App-Tab {
    display: flex;
    height: 98px;
    background-color: rgba(102, 158, 64, 0.9);
    background-image: url("../img/radbar.png");
    background-repeat: no-repeat;
    background-position: 0px 0px;
    background-size: 104% 98px;
    justify-content: start;
    gap: 185px;
    position: relative;
    width: 100%;
}

.gray-bar {
    background-image: url("../img/graybar.png");
    width: 100%;
    height: 100%;
    position: absolute;
    background-repeat: no-repeat;
    background-size: 100% 70px;
}

.App-Tab .App-BarIcon {
    margin-top: 0px;
}

.icon-panal-map {
    display: inline-block;
    margin-top: 1px;
}

.icon-panal {
    display: inline-block;
}

.App-BarIcon {
    display: inline-block;
    height: 50px;
    /* border-left: 1px solid #fff; */
}

    .App-BarIcon img {
        height: 50px;
    }

.lastest {
    display: flex;
    gap: 10px;
}

.lastest-text {
    vertical-align: top;
    height: 40px;
    display: flex;
    flex-grow: 1;
}

.advancInfo {
    border-radius: 25px;
    position: absolute;
    bottom: 25px;
    left: 5px;
    background-color: #fff;
    padding-right: 15px;
    border: 1px solid #d0d0d0;
    z-index: 999;
}

    .advancInfo .icon {
        font-size: 25px;
        color: #776f6f;
        cursor: pointer;
        margin: 4px;
    }

.message-type {
    width: 150px;
    display: inline-block !important;
}

.advancInfo.close .info {
    width: 0px;
    opacity: 0;
    padding-top: 4px;
    padding-left: 0px;
    -webkit-transition: width 1s;
    height: 30px;
    vertical-align: top;
    display: inline-block;
    background-color: #fff;
}

.advancInfo.active .info {
    height: 30px;
    vertical-align: top;
    display: inline-block;
    background-color: #fff;
    opacity: 1;
    -webkit-transition: width 1s;
}

.advancInfo .closeIcon, .advancInfo .openIcon {
    position: absolute;
    right: -10px;
    bottom: 3px;
    cursor: pointer;
}

.advancInfo.close .closeIcon {
    display: none;
}

.advancInfo.active .closeIcon {
    display: inline-block;
}

.advancInfo.active .openIcon {
    display: none;
}

.advancInfo .closeIcon:hover, .advancInfo .openIcon:hover {
    color: red;
}

.resetSearch.hidden {
    display: none;
}

.windows-info .ar-in {
    height: 40px;
    width: 40px;
    background-color: #fff;
    margin: 0 auto;
    transform: rotate(45deg);
    border-radius: 3px;
    position: absolute;
    left: calc(50% - 20px);
    bottom: -12px;
    -webkit-box-shadow: -1px 3px 10px -1px rgba(94,94,94,1);
    -moz-box-shadow: -1px 3px 10px -1px rgba(94,94,94,1);
    box-shadow: -1px 3px 10px -1px rgba(94,94,94,1);
    z-index: -1;
}

.windows-info .container {
    width: 100%;
    background-color: #fff;
    z-index: 1;
    border-radius: 6px;
    position: absolute;
    top: 0;
    left: 0;
    padding: 5px;
    text-align: left;
}

#infoVehicle {
    margin-right: 20px;
    font-weight: 700
}

#btNoteControl {
    width: 200px;
    padding-left: 55px;
    display: inline-block
}

    #btNoteControl > input {
        margin-right: 4px;
        padding: 1px 8px
    }

#noteLoad {
    width: 200px;
    padding-left: 55px;
    display: none
}

#svcard {
    width: 665px;
    height: 410px
}

#svcard2 {
    width: 665px;
    height: 410px;
    margin-top: -14px
}

#linkUser {
    cursor: pointer
}

#linkDoc,
#linksv,
#linksv2 {
    text-decoration: underline;
    cursor: pointer
}

#linkDoc {
    float: right;
    position: relative;
    top: 12px;
    right: 30px
}

.noteCardLabel {
    width: 55px;
    margin-bottom: 8px;
    font-family: Tahoma;
    font-size: 11px !important;
    display: inline-block
}

.close-info {
    position: absolute;
    z-index: 2;
    right: 2px;
    top: 3px;
    font-size: 15px;
    font-weight: bold;
    /* padding: 5px; */
    cursor: pointer;
    /* height: 10px; */
    display: inline-block;
}

#driverCard {
    height: 173px;
    width: 258px;
    padding-top: 20px;
    display: block;
    text-align: center
}

.info-wrapper-nostreet {
    display: block;
    width: 300px;
    line-height: 1.7;
    height: 100%;
    /* position: relative; */
    left: 8px;
}

#infoSpeed {
    float: right;
    margin-right: 6px;
    font-size: 30px;
    width: 50px;
    text-align: center;
}

#infoSpeed3 {
    font-size: 30px;
}

#infoSpeed2 {
    font-size: 12px;
    position: absolute;
    z-index: 100;
    margin-top: -18px;
    margin-left: -14px;
}

.dw-milestone {
    float: left
}

#info-bt-l {
    /* position: absolute; */
    /* bottom: 5px; */
    /* left: -5px; */
    /* display: inline-block; */
    height: 0px;
    /* width: 200px; */
    /* padding-top: 8px; */
}

#info-bt-r {
    /* position: absolute; */
    /* bottom: 5px; */
    /* right: 0px; */
    display: inline-block;
    height: 20px;
    width: 65px;
    vertical-align: top;
    /* float: right; */
    /* margin-right: auto; */
    margin-left: auto;
    /* display: flex; */
}

#cellinfo {
    float: right;
    /* height: 10px; */
}

#winInfoTrack {
    /* margin-top: 18px; */
    border-top: 2px solid #76b976;
    padding-top: 4px;
}

#selfPM {
    text-decoration: underline;
    cursor: pointer;
    /* position: absolute; */
    /* left: 9px; */
    /* top: 35px; */
    display: inline-block;
    margin-top: 2px;
}

#infoLoc {
    display: block;
    padding-bottom: 5px;
    min-height: 50px;
    line-height: 18px;
}

#selfPM img {
    width: 18px;
    vertical-align: middle;
    position: relative;
}

#winInfoDate {
    display: block;
    /* float: left */
}

#locPart {
    display: inline-block;
    width: 100%
}

.winostreet {
    /* width: 290px !important; */
}

.win-tab {
    display: flex;
    gap: 60px;
}

.main-tab {
    cursor: pointer;
}

    .main-tab.active {
        border-bottom: 2px solid #76b976;
    }

.sub-tab {
    cursor: pointer;
}

    .sub-tab.active {
        border-bottom: 2px solid #76b976;
    }

.main-info {
    display: none;
    gap: 10px;
}

    .main-info.active {
        display: block;
    }

.sub-info {
    display: none;
    gap: 10px;
}

    .sub-info.active {
        display: block;
        width: 400px;
    }

.info-wrapper {
    display: inline-block;
    width: 249px;
    line-height: 1.7;
    height: 100%;
    position: relative;
    left: 5px
}

.summary-card {
    width: 400px;
}

/* ส่วนหัวของการ์ด (วันที่, Summary, ปุ่มปิด) */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    color: #555;
}

    .card-header .title {
        font-size: 1.2em;
        font-weight: bold;
        position: relative;
        padding-bottom: 5px;
        margin: 0;
        color: #000;
    }

        /* สร้างเส้นใต้สีแดง */
        .card-header .title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 3px;
            background-color: #e53935; /* สีแดง */
        }

    .card-header .close-btn {
        font-size: 1.5em;
        cursor: pointer;
        color: #888;
    }

/* ชื่อทริป */
.trip-name {
    font-size: 1.1em;
    font-weight: bold;
    margin-bottom: 5px;
    margin-top: 5px;
}

/* ไทม์ไลน์ของทริป */
.trip-timeline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    margin-bottom: 0px; /* เพิ่มพื้นที่สำหรับ tooltip */
    margin-top: 42px;
}

    /* เส้นเชื่อมระหว่างจุด */
    .trip-timeline::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 15px; /* เริ่มหลังครึ่งหนึ่งของจุดแรก */
        right: 15px; /* สิ้นสุดก่อนครึ่งหนึ่งของจุดสุดท้าย */
        height: 2px;
        background-color: #ccc;
        transform: translateY(-50%);
        z-index: 1;
    }

/* 1. สร้างกรอบสำหรับเลื่อน (Scroll Container) */
.timeline-container {
    overflow-x: auto; /* ทำให้เลื่อนแนวนอนได้เมื่อเนื้อหาล้น */
    padding-bottom: 5px; /* เพิ่มพื้นที่สำหรับ scrollbar */
    cursor: grab; /* เปลี่ยน cursor เป็นรูปมือเมื่อเอาเมาส์ไปวาง */
    display: flex;
}

    /* ตกแต่ง Scrollbar ให้สวยงาม (สำหรับ Chrome/Safari) */
    .timeline-container::-webkit-scrollbar {
        height: 5px;
    }

    .timeline-container::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 4px;
    }

    .timeline-container::-webkit-scrollbar-thumb {
        background: #ccc;
        border-radius: 4px;
    }

        .timeline-container::-webkit-scrollbar-thumb:hover {
            background: #888;
        }

/* 2. ทำให้ตัวไทม์ไลน์ขยายตามเนื้อหา */
.trip-timeline {
    display: inline-flex; /* เปลี่ยนเป็น inline-flex เพื่อให้ความกว้างเท่ากับเนื้อหาข้างใน */
    align-items: center;
    position: relative;
    padding: 0 15px; /* เพิ่มช่องว่างซ้ายขวา */
    gap: 30px; /* กำหนดระยะห่างคงที่ระหว่างจุด */
}

    /* 3. ปรับเส้นเชื่อมให้ยืดตามความกว้างของเนื้อหา */
    .trip-timeline::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 15px; /* เริ่มจากขอบซ้าย */
        right: 15px; /* ไปจนถึงขอบขวา */
        height: 2px;
        background-color: #ccc;
        transform: translateY(-50%);
        z-index: 1;
    }

.timeline-step {
    position: relative;
    z-index: 2;
}

/* จุดวงกลมสีเขียว */
.timeline-dot {
    width: 30px;
    height: 30px;
    background-color: #4CAF50; /* สีเขียว */
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
}

.tooltip {
    position: absolute;
    bottom: 100%; /* ตำแหน่งเหนือจุด */
    left: -50px; /* จัดตำแหน่งให้อยู่กึ่งกลาง */
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 4px 6px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    white-space: nowrap; /* ไม่ให้ข้อความขึ้นบรรทัดใหม่ */
    display: none;
    flex-direction: column;
}

.timeline-step:first-child .tooltip {
    left: 0px;
}

.timeline-step:last-child .tooltip {
    right: 0px;
    left: auto;
}

.timeline-step:hover > .tooltip {
    display: flex;
    flex-direction: column;
}

.timeline-step:hover > .timeline-dot {
    background-color: #e53935;
}


.tooltip p {
    margin: 4px 0;
}

/* ตารางข้อมูลการขับขี่ */
.driving-data {
    display: grid;
    grid-template-columns: 1fr 1fr; /* แบ่งเป็น 2 คอลัมน์ */
    gap: 8px 37px; /* ระยะห่างระหว่างแถวและคอลัมน์ */
}

.data-item {
    display: flex;
    justify-content: space-between;
}

    .data-item .title {
        min-width: 41px;
        text-align: right;
    }

.data-value {
    font-weight: bold;
    color: #e53935; /* สีแดง */
    margin-left: 10px;
}

#mileinfo {
    align: left;
}

#wininfo {
    min-height: 140px;
    /*width: 460px;
    display: block;*/
    /* padding: 5px; */
}

.linkUser {
    /* float: right; */
    white-space: nowrap;
}

.linkUser-nolink {
    position: relative;
    float: right;
    top: 3px
}

.close-info:hover {
    background-color: #efefef;
}

.sound.s-off .s-off {
    margin-right: -4.5px;
}

.miniddlStartHour, .miniddlStartMinute, .miniddlEndHour, .miniddlEndMinute {
    -webkit-appearance: menulist;
    -moz-appearance: menulist;
    appearance: menulist;
    display: inline-block !important;
    width: 50px;
    height: 30px;
    padding: 0px;
    border: 1px solid black;
}

.windows-info {
    /* background-color: #ccc; */
    display: block;
    margin: 0 auto;
    border-radius: 6px;
    /* margin-top: 50px; */
    text-align: center;
    -webkit-box-shadow: -1px 3px 10px -1px rgba(94,94,94,1);
    -moz-box-shadow: -1px 3px 10px -1px rgba(94,94,94,1);
    box-shadow: -1px 3px 10px -1px rgba(94,94,94,1);
    position: relative;
}

.ui-widget-header {
    border: 1px solid #f3f3f3;
    background: #bdbdbd #75a853 !important;
    color: #ffffff;
    font-weight: bold;
}

.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited {
    color: #000000 !important;
    text-decoration: none;
}

.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active {
    border: 1px solid #f3f3f3;
    background: #e6e6e6 !important;
    font-weight: normal;
    color: #000000;
}

.map-container-show {
    height: 345px;
    transition: all 0.2s;
}

.map-container-hide {
    height: 250px;
    width: 250px;
    right: -170px;
    position: relative;
    transition: all 0.2s;
}

.side-dash-panel .live-panel, .side-dash-panel .replay-panel, .side-dash-panel .picture-panel, .side-dash-panel .event-panel {
    display: flex;
    flex-direction: column;
}

.side-dash-panel {
    width: 427px;
    display: flex;
    flex-direction: column;
}

#frmusercode input {
    background-color: #fff;
}

.dashcam-list-panel {
    flex-grow: 1;
    height: 100px;
    display: flex;
    flex-direction: column;
}

.dash-cam, .basic-wrapper {
    position: relative;
    height: 100%;
    z-index: 2;
}

.liveContainer {
}

.dash-cam {
    display: flex;
    flex-direction: row;
    position: relative;
}

.live-panel, .replay-panel, .event-panel, .picture-panel {
    height: 100%;
}

.main-dash-panel {
    width: 100px;
    height: 100%;
    flex-grow: 1;
}

.side-dash-panel {
    width: 427px;
}

.dash-setting-zone {
    display: flex;
    justify-content: end;
    gap: 20px;
    padding: 5px;
    padding-right: 20px;
}

#dash-task .bt-dash-task {
    width: 30px;
    position: relative;
    cursor: pointer;
}

#dash-control .bt-dash-control {
    width: 20px;
    position: relative;
    top: 4px;
    cursor: pointer;
}

@-webkit-keyframes blinker {
    from {
        opacity: 1.0;
    }

    to {
        opacity: 0.0;
    }
}

.live-stream-video.isLive > .pauseLiveText {
    display: none;
}

.live-stream-video.isPause > .pauseLiveText {
    display: flex;
}

.isLive {
    position: relative;
}

.dashcam-item .liveText {
    display: none;
}

.dashcam-item.isLive {
    border-color: #adadad;
}

@keyframes blinker {
    50% {
        opacity: 0;
    }
}

.dashcam-item.isLive .liveText {
    color: red;
    position: absolute;
    bottom: 0;
    right: 0;
    display: inline;
    margin: 5px;
    font-size: 10px;
    animation: blinker 2s linear infinite;
    z-index: 100000;
}

.camWindow {
    padding: 4px;
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
}

.dascam-map-container {
    z-index: 99;
}

.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default {
    border: 1px solid #f3f3f3;
    background: #bdbdbd;
    font-weight: normal;
    color: #333;
}

.tabs {
    background-color: rgba(102, 158, 64, 0);
    overflow: hidden;
    padding-top: 30px;
    height: 80px;
}



#saveRoute,
#seeAni {
    margin-right: -3px
}
/*#lstGPSID, #routeCompare {
    height: 30px;
    width: 180px;
}*/
.select-dropdown.dropdown-trigger, .select-wrapper svg.caret {
    display: none !important;
}

#splstGPSID > button {
    font-size: 1.1em;
    -webkit-box-align: center;
    border-image: initial;
    white-space: pre;
    -webkit-rtl-ordering: logical;
    border: 1px solid #C5DBEC;
    font-weight: 400;
    color: #2E6E9E;
    border-left: none;
    height: 29px
}

.history tr {
    border: none;
    padding: 6px;
}

#headTime > span:first-child {
    margin-left: 140px
}

#headTime > span:last-child {
    margin-left: 23px
}

.history td, .history th {
    padding: 0px 0px;
    display: table-cell;
    text-align: left;
    vertical-align: middle;
    border-radius: 2px;
    border: none;
}

#PBLoad {
    text-align: center;
    width: 100%;
    display: block;
    margin: 0 0 4px;
    padding: 0;
}

    #PBLoad.hide, #hisMenu.hide {
        display: none;
    }

#ExportExcel {
    display: none;
}

#Ani_progress {
    margin-left: 2px;
    width: 115px;
    display: inline-block;
    height: 18px;
    vertical-align: top;
}

#AniSpeed span {
    vertical-align: middle;
    margin: -2px -3px 0 0;
    padding: 2px;
    font-size: 13px;
}

#AniControl {
    margin: 5px 0px;
    display: inline-block;
    padding: 5px 5px 0;
    width: 100%;
}

#AniSpeed {
    width: 170px;
    font-size: 14px !important;
    display: inline-block;
    margin-left: 10px;
    vertical-align: top;
}

#ctAdvancebt {
    position: relative;
    clear: both;
    display: inline-block;
    margin: 0;
    padding: 8px 6px 6px 6px;
    width: 100%;
}

    #ctAdvancebt.hide {
        display: none !important;
    }

#saveRoute, #seeAni {
    margin-right: -3px;
}

.icon-pause, .icon-play, .icon-stop {
    font-size: 24px;
    color: #2E6E9E;
    cursor: pointer;
    margin: 5px;
}

.aniCtrl.play .icon-pause, .aniCtrl.pause .icon-play {
    display: none;
}

.ui-progressbar .ui-progressbar-value {
    margin-top: -1px !important;
    height: 18px;
    background: #76b976;
}

.aniCtrl.stop.disabled .icon-stop {
    color: #e3e3e3;
    cursor: default;
}

#tdName,
.tdHistoryform {
    padding-left: 10px
}

#splstGPSID > input {
    background: #DFEFFC;
    font-size: 1em;
    -webkit-box-align: center;
    border-image: initial;
    white-space: pre;
    -webkit-rtl-ordering: logical;
    border: 1px solid #C5DBEC;
    font-weight: 400;
    color: #2E6E9E;
    height: 27px;
    border-right: none;
    width: 213px;
    padding: 0 0 0 8px
}

#dtmStart, #dtmStop {
    width: 100px;
    height: 30px !important;
    text-align: center;
}

#spPBExcel {
    position: relative;
    right: 4px;
    margin-top: 4px;
    float: right
}

#iDoPlayBack {
    position: relative;
    left: .5px;
    margin: 4px 0;
    border: 1px solid #B9B9B9;
    padding: 3px 12px;
}

#submitReplay, #submitPicture, #submitEvent {
    position: relative;
    left: .5px;
    margin: 4px 0;
    border: 1px solid #B9B9B9;
    padding: 3px 12px;
}





#ddlStopHour,
#ddlStartHour,
#ddlStopMinute,
#ddlStartMinute {
    width: 65px;
    display: inline-block;
    height: 30px;
}

#dvRouteList > div:last-child {
    margin-top: 6px;
    text-align: center;
    margin-bottom: 10px
}

#dvSpecial {
    width: 100%;
    text-align: center;
    margin: 4px 0;
}

#blockHistoryInfo {
    width: 98%;
    display: block;
    margin: 4px 0 0 4px;
    font-size: 13px;
    padding: 10px;
}

#blockHistoryInfoContent {
    width: 100%
}

#blockHistoryInfoHeader {
    display: block;
    padding: 5px 0
}

#blockHistoryInfo > table {
    border-collapse: collapse;
    width: 100%;
    line-height: 2.9;
}

.tab-container {
    height: 100%;
    /* width: calc(100% - 420px); */
    position: relative;
    z-index: 2;
}

.c-map, .c-report, .c-app, .c-dashboard, .c-dashcam {
    display: none;
}

.tab-container.active {
    display: block;
}

.bt-closeSV {
    display: none;
}

    .bt-closeSV.show {
        display: block;
    }

.SideBar {
    width: 427px;
    display: inline-block;
    height: 100%;
    /* background-color: #ccc; */
    position: absolute;
    right: 0;
    top: 1px;
    padding: 2px;
}

    .SideBar.realtime .realtime, .SideBar.history .history, .SideBar.realtime .filter-panal-map {
        display: block;
    }

    .SideBar.realtime .history, .SideBar.history .realtime, .SideBar.history .filter-panal-map {
        display: none;
    }
/*hidden filter bar input dashcam tab*/
/*       .SideBar.dashcam .filter-panal-map {
            display: none;
        }*/


.menu-button {
    font-size: 27px;
    padding: 1px 10px;
    color: #979090;
    cursor: pointer;
    z-index: 100000000000;
    display: inline-block;
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none;
}

.selSubfleet {
    padding: 0;
    height: 40px;
    max-width: 180px;
}

.close-a-filter i {
    padding: 3px;
}

    .close-a-filter i:hover {
        background-color: #d3d3d3;
    }

.menu-button:hover, .tools-icon:hover, .tools-icon.active:hover, .menu-button.active:hover, .open-filter:hover, .open-filter.active:hover, .open-filter.active, .menu-button.active {
    background-color: #ebebeb;
}

.tools-icon.notification.no-hover {
    background-color: rgba(0,0,0,0) !important;
    cursor: pointer;
}

.sound.s-on .s-on, .sound.s-off .s-off {
    display: inline-block;
}

.sound.s-off .s-on, .sound.s-on .s-off {
    display: none;
}

.orderType {
    display: inline-block;
    cursor: pointer;
    vertical-align: middle;
    text-align: center;
    padding: 7px;
    width: 30px;
    height: 45px;
}

    .orderType i {
        display: inline-block;
    }

    .orderType.asc .asc, .orderType.desc .desc {
        display: inline-block;
    }

    .orderType.asc .desc, .orderType.desc .asc {
        display: none;
    }

    .orderType:hover {
        background-color: #e3e1e1;
    }

.menu .list-menu .menu-item:hover {
    background-color: #bcbcbc;
}

.menu .list-menu .menu-item {
    padding: 10px 32px;
    cursor: pointer;
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none;
    background: #fff;
    font-size: 14px;
}

.menu.active .list-menu {
    display: block;
    z-index: 3;
    background-color: rgba(255, 255, 255, 0);
    position: absolute;
    border: 5px solid rgba(10, 10, 10, 0.3215686274509804);
}

.filter-input {
    margin: 7px !important;
    border: 1px solid #9e9e9e !important;
    height: 24px !important;
    width: 120px !important;
    /* position: absolute; */
    /* left: -20px; */
}

    .filter-input:focus {
        outline: none !important;
        box-shadow: 0 0px 0 0 #26a69a !important;
    }

.open-filter {
    display: inline-block;
    font-size: 19px;
    padding: 2px 8px;
    /* position: absolute; */
    float: left;
    margin-top: 6px;
    margin-left: -6px;
    position: relative;
    z-index: 3;
}

    .open-filter .advance-filter {
        display: none;
        background-color: #ebebeb;
        width: 280px;
        height: 150px;
        position: absolute;
        left: -128px;
        top: 32px;
        padding-top: 20px;
    }

    .open-filter.active .advance-filter {
        display: block;
    }

.trackingicon img {
    height: 25px;
    position: relative;
    top: -5px;
    left: 0;
}

#direct > div > span,
#direct > span#multiNav > div > span {
    display: block;
    margin: 5px;
    padding: 5px
}

#direcCustom,
#tdName,
.tdHistoryform {
    padding-left: 10px
}

#dirSource > span:last-child,
#dirDestintion > span:last-child {
    display: inline-block
}

#direct {
    height: 500px;
    overflow: auto;
    font-size: 12px !important;
    font-family: Tahoma;
    clear: both;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 5px
}

#totalDistance,
#mdistance > span:last-child,
#PBLoad > span,
#spLoadPM,
#spLoadZone {
    color: red
}

.MultiDetail {
    display: none;
}

#legDistance {
    color: red;
    display: inline
}

#direcCustom > .select-wrapper, #direcDetail > .select-wrapper {
    display: inline-block;
}

#dirDestintion > span:first-child {
    width: 35px;
    padding-right: 5px;
    display: inline-block;
    text-align: right;
    vertical-align: top
}

#NavMenu > span, #infoLoc {
    display: block;
}

#direcCustom, #tdName, .tdHistoryform {
    padding-left: 10px;
}

#direcDetail {
    padding-left: 39px;
    margin-top: 20px;
}

#direcDescript {
    margin: 30px 0 30px 20px;
}

#direcManual {
    padding-left: 10px;
    margin-bottom: 10px;
}

#hrdirec {
    width: 98%;
    margin: 30px 0 10px 3px;
}

#NavDetalis {
    display: block;
    margin-bottom: 10px;
}

#mdistance {
    margin-bottom: 10px;
    display: block;
}

#direcManual > input,
#direcCustom > input {
    margin-right: 5px
}

.gpsitem .trackingicon {
    display: inline-block;
    width: 47px;
    vertical-align: middle;
    height: 100%;
    position: relative;
}

.default-data {
    display: inline-flex;
    flex-direction: column;
    width: 100%;
    position: relative;
}

.second-line {
    display: flex;
}

.pbitem {
    padding: 4px;
    border: 1px solid #e3e3e3;
    cursor: pointer;
    font-size: 13px;
    margin-bottom: 1px;
}

.gpsitem {
    padding: 4px;
    border: 1px solid #e3e3e3;
    cursor: pointer;
    font-size: 13px;
    margin-bottom: 1px;
}

.left-zone {
    display: inline-block;
    text-align: right;
    width: 66px;
    margin-right: 6px;
    color: #acacac;
    font-size: 12px;
}

.right-zone {
    text-align: right;
    color: #acacac;
    font-size: 12px;
    white-space: nowrap;
}

.location2 {
    color: #007FE5;
}

.message-container {
    overflow: auto;
}

    .message-container > div:nth-child(even) {
        background-color: #e2e2e2;
    }

    .message-container > div:nth-child(odd) {
        background-color: #f9f9f9;
    }

.message-control {
    height: 100%;
}

.message-control {
    width: 600px;
}

.message-list {
    height: calc(100% - 45px);
    overflow: auto;
    background: #fff;
}

.loading-data.hidden, .Loading.hidden {
    height: 0px;
}

.minimap-area {
    width: 100%;
    height: 100%;
    background-color: #B3D1FF
}

.dialog-minimap {
    border: 1px solid #B09D9D
}

    .dialog-minimap .ui-dialog-titlebar {
        font-size: 13px;
        font-weight: 700 !important
    }

.minimap.ui-dialog-content {
    padding: 0 !important;
    overflow: hidden !important
}

.minimap {
    position: relative;
}

.pbtoggle {
    position: relative;
    top: 0;
    right: 0;
    background-color: #fff;
}

    .pbtoggle i {
        display: inherit;
        font-size: 22px;
        cursor: pointer;
        padding: 5px;
    }

.closeForm {
    position: absolute;
    top: 0;
    right: 0;
    cursor: pointer;
    width: 30px;
    height: 32px;
}

.pbform {
    display: none;
    position: relative;
}

.pbtoggle.active > i {
    display: none;
}

.pbtoggle.active .pbform {
    display: inline-block;
    width: 195px;
}

.miniPb {
    position: absolute;
    top: 0;
    right: 2px;
    background-color: #fff;
    text-align: left;
    line-height: 2.5;
    border: 1px solid #ccc;
    box-shadow: 0 2px 7px 1px rgba(0,0,0,0.3);
}

.minipicker {
    padding: 0px !important;
    border: 1px solid !important;
    margin: 0px 0px !important;
    height: 20px !important;
    width: 100px !important;
}

.minimap .ui-dialog-titlebar {
    padding: 5px;
    font-size: 13px
}

.loading-data {
    text-align: center;
    /* vertical-align:middle; */
    font-size: 20px;
    font-weight: bold;
    height: 40px;
    overflow: hidden;
    transition: height 600ms;
}

.btClearMessage {
    text-decoration: underline;
    cursor: pointer;
    margin-left: 10px;
}

.Loading {
    text-align: center;
    /* vertical-align:middle; */
    font-size: 20px;
    font-weight: bold;
    height: 40px;
    overflow: hidden;
    transition: height 600ms;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

    .Loading img {
        width: 40px;
        vertical-align: middle;
    }

.loading-data img {
    width: 40px;
    vertical-align: middle;
}

.location-zone {
    display: inline-block;
    flex-grow: 1;
}

.gpsitem .more-data {
    height: 0px;
    display: flex;
    margin-top: 0px;
    -webkit-transition: height 500ms, margin-top 500ms;
    transition: height 500ms, margin-top 500ms;
    overflow: hidden;
    padding-left: 10px;
}

#dashcam-car-search {
    margin-left: 0 !important;
    margin-top: 4px !important;
    height: 24px !important;
    width: 50% !important;
    margin-left: auto !important;
    text-align: revert;
    display: block;
    padding-left: 8px !important;
}

.refresh-video, .refresh-video > button {
    cursor: pointer;
}

.LayerContent {
    position: absolute;
    right: 0px;
    margin-top: -1px;
}

    .LayerContent.hiddenContent {
        display: none;
    }

    .LayerContent > .toolbar input[type="checkbox"] {
        margin: 0px;
    }

    .LayerContent .fuelType {
        border: none;
        /*box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.14902) inset;*/
        background: #fff;
        width: 100px;
        float: right;
        clear: both;
        cursor: pointer;
        padding: 7px;
    }

    .LayerContent > .toolbar {
        border: none;
        /*box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.14902) inset;*/
        background: #fff;
        width: 100px;
        float: right;
        clear: both;
        cursor: pointer;
        font-size: 13px;
        padding: 7px;
    }

.toolbar label,
.fuelType label {
    display: inline-block;
    vertical-align: middle;
}

.fuelWrap.hiddenContent {
    display: none;
}

.lbCarMT {
    margin-top: 10px;
    margin-left: 5px;
    background-color: #FFFFE1;
    color: #000;
    /* width: 80px; */
    padding: 2px;
    word-wrap: break-word;
    font-size: 11.5px;
    text-align: center;
    font-weight: 700;
    display: inline-block;
}

.Layerhead, .ddlMapSelect {
    text-align: center;
    color: #000 !important;
    font-family: Roboto, Arial, sans-serif;
    -webkit-user-select: none;
    -webkit-background-clip: padding-box;
    /* margin-top: 10px; */
    height: 30px;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    font-family: Roboto, Arial, sans-serif;
    font-size: 11px;
    padding: 8px;
    border-radius: 2px;
    box-shadow: rgba(0, 0, 0, 0.298039) 0 1px 4px -1px;
    background-color: #fff;
    background-clip: padding-box;
    display: inline-block;
}

.gm-style-mtc {
    display: none;
}

.ddlMapSelect {
    text-align: center;
    color: #000;
    font-family: Roboto, Arial, sans-serif;
    -webkit-user-select: none;
    -webkit-background-clip: padding-box;
    margin-top: 10px;
    margin-right: 0;
    height: 30px;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    font-family: Roboto, Arial, sans-serif;
    font-size: 11px;
    padding: 8px !important;
    border-radius: 2px;
    box-shadow: rgba(0, 0, 0, 0.298039) 0 1px 4px -1px;
    font-weight: 500;
    background-color: #fff;
    background-clip: padding-box;
    display: inline-block;
}

#poi, #admin_div {
    display: none;
}

img {
    max-width: none !important;
}


.chkLayer {
    vertical-align: middle;
}
/*#rightTopMapCtrl {
    padding-right: 0px;
}

#rightTopMapCtrl [type="checkbox"]:not(:checked), #rightTopMapCtrl [type="checkbox"]:checked {
    position:relative !important;
    opacity:1;
}*/
#admin_div {
    text-align: center;
    color: #000;
    font-family: Roboto, Arial, sans-serif;
    -webkit-user-select: none;
    -webkit-background-clip: padding-box;
    margin-top: 10px;
    margin-right: 0;
    height: 30px;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    font-family: Roboto, Arial, sans-serif;
    font-size: 11px;
    padding: 8px !important;
    border-radius: 2px;
    box-shadow: rgba(0, 0, 0, 0.298039) 0 1px 4px -1px;
    background-color: #fff;
    background-clip: padding-box;
    display: inline-block;
}

.fuelWrap {
    position: absolute;
    bottom: -39px;
    left: -114px;
}

#poi:hover .Layerhead, #mapSelector:hover .ddlMapSelect {
    background-color: #ebebeb;
}

#poi, #mapSelector {
    margin-right: 0px;
    display: inline-block;
    position: relative;
    top: 0px;
    height: 40px;
}

.LayerContent > .toolbar.selected {
    background-color: #ebebeb !important;
}

.LayerContent > .toolbar:hover,
.LayerContent .fuelType:hover {
    background-color: #ebebeb;
}

.fuel-icon {
    font-size: 15px;
    /* position: absolute; */
    /* left: 0; */
    /* color: #cacaca; */
}

.fuel {
    position: relative;
    display: inline-block;
    /* text-align: right; */
    width: 72px;
}

.SideBar .realtime {
    overflow: auto;
    height: calc(100% - 80px);
    width: 100%;
}

.gpsitem.tracked .arrow-box-inside {
    border-bottom: 10px solid rgba(0, 0, 0, 0);
    border-left: 10px solid #b4b4b4;
    border-top: 10px solid rgba(0, 0, 0, 0);
    height: 0;
    position: absolute;
    top: 35%;
    left: -5px;
    width: 0;
    display: inline-block;
    opacity: 1;
    transition: opacity 500ms;
}

label {
    color: #636363 !important;
}

.gpsitem .arrow-box-inside {
    opacity: 0;
    display: none;
}

.gpsitem.tracked .more-data {
    display: flex;
    margin-top: 10px;
    height: auto;
    padding-left: 10px;
    color: rgb(143, 143, 143);
    font-weight: normal;
}

.more-data .column {
    width: 40%;
}

.gpsitem:hover, .pbitem:hover {
    background-color: #f1f1f1;
}

.gpsitem.tracked, .pbitem.tracked {
    /*background-color: #e2f4db;*/
    border: 1px solid #000000;
}

.first-line {
    height: 20px;
    display: inline-flex;
    width: 100%;
}

.specer {
    flex-grow: 1;
}

.first-line > span {
    margin: 0px;
}

.gpsitem .order {
    display: inline-block;
    width: 26px;
    height: 100%;
}



.filter-panal-map {
    display: inline-block;
    width: 426px;
    position: relative;
    height: 40px;
    color: #979090;
}

.close-a-filter {
    position: absolute;
    right: 8px;
    top: 0px;
    padding: 0px;
    cursor: pointer;
    display: inline-block;
    width: 20px;
    height: 20px;
}

.lastest-message {
    display: inline-block;
    float: right;
    margin: 0px 0px;
    cursor: pointer;
    border: 1px solid #aaa;
    position: relative;
    width: 500px;
}
/*.lastest-message:hover{
        background-color:#ebebeb;
    }*/
.message-detail {
    display: none;
    width: 550px;
    height: 470px;
    position: absolute;
    background-color: rgba(255, 255, 255, 0);
    z-index: 3;
    right: 70px;
    margin-top: 10px;
    /* bottom: -200%; */
}

.arrow-box {
    border-bottom: 10px solid #fff;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    height: 0;
    position: absolute;
    top: -10px;
    right: 30%;
    width: 0;
}

.lastest-message.opened .message-detail {
    display: inline-block;
}

.lastest-message .open-message {
    margin-left: 15px;
}

.tools-icon {
    display: inline-block;
    padding: 0px 7px;
    margin: 0px 0px;
    font-size: 27px;
    color: #979090;
    cursor: pointer;
    position: relative;
}

.not-badge {
    display: none;
    color: #ffffff;
    font-size: 11px;
    background-color: rgb(243, 26, 26);
    border-radius: 20px;
    padding: 2px;
    position: absolute;
    height: 20px;
    min-width: 20px;
    text-align: center;
    right: 0px;
    top: 3px;
}

.menu {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none;
    display: inline-block;
}

    .menu .list-menu {
        display: none;
        z-index: 3;
        background-color: #ebebeb;
        position: absolute;
    }



.tabs .tab a {
    color: #666666;
    /* font-size: 14px; */
    padding: 0px 20px;
    font-size: 17px;
}

.alwayshow {
    text-align: right;
}

.ui-dialog .ui-dialog-title {
    font-size: 15px;
    font-weight: normal;
}

#dialog-warningboard {
    font-size: 15px;
}

.ui-datepicker {
    font-size: 15px;
}

.ui-tooltip {
    padding: 5px 10px;
    border-radius: 0px;
    opacity: 1;
    font-size: 15px;
    box-shadow: none;
    background-color: #fff !important;
    background: #fff !important;
    color: #000;
}

.ui-tooltip-content {
    background-color: #fff !important;
}

#iF_report, #iF_setting, #iF_dashboard, #iF_app, #iF_dashcam {
    width: 100%;
    height: 100%;
}

.tbalert tbody tr:nth-child(odd), .tbmaintain tbody tr:nth-child(odd), .tbinsure tbody tr:nth-child(odd) {
    background: #f3fff3;
}

.tbalert tbody tr:nth-child(even), .tbmaintain tbody tr:nth-child(even), .tbinsure tbody tr:nth-child(even) {
    background: #FFF;
}

.tbalert tbody tr:hover, .tbmaintain tbody tr:hover, .tbinsure tbody tr:hover {
    background-color: #f5f5f5;
}

.tbalert tbody tr, .tbmaintain tbody tr, .tbinsure tbody tr {
    cursor: pointer;
}

#dialog-setting {
    overflow: hidden;
}

.tbalert tr td,
.tbmaintain tr td,
.tbinsure tr td {
    border: 1px solid #e0e0e0;
    padding: 6px;
    font-size: 13px;
    font-weight: normal;
}

.tbalert thead tr td,
.tbmaintain thead tr td,
.tbinsure thead tr td {
    font-size: 13px;
    font-weight: normal;
    border: none;
    border-bottom: 1px solid #e0e0e0
}

.totalwaring {
    float: right;
    margin-right: 10px;
    font-size: 13px;
    color: red;
    margin-top: -3px;
}

.gpsallmessage {
    overflow-x: hidden !important
}

.tools-icon-top {
    display: inline-block;
    padding: 0px;
    margin: 3px 10px;
    width: 30px;
    color: #fff;
    cursor: pointer;
    position: relative;
    top: 12px;
}

    .tools-icon-top img {
        width: 30px;
    }

.color-empty {
    width: 65px;
    height: 12px;
    background-color: rgba(182, 255, 0, 0.65);
    clip-path: polygon(20% 0, 100% 0%, 80% 100%, 0% 100%);
    position: absolute;
    bottom: 0;
    left: 10px;
}

.GPS-Label {
    display: inline-block;
    background-color: rgba(182, 255, 0, 0.65);
    transform: rotate(-52deg);
    position: absolute;
    left: 125px;
    top: 23px;
    font-size: 13px;
    padding: 0px 10px;
    font-weight: bold;
    clip-path: polygon(0 0, 100% 0%, 100% 100%, 15% 100%);
    width: 109px;
}

.tabs .tab a.active {
    color: #666666;
}

.tabs .tab a:focus, .tabs .tab a:focus.active {
    background-color: rgba(102, 158, 64, 0);
    outline: none;
}

.tabs .tab a:hover, .tabs .tab a.active {
    background-color: rgba(102, 158, 64, 0);
    color: #666666;
}

.tabs .indicator {
    background-color: #eb3236;
    height: 4px;
    bottom: 0px;
    /* margin-bottom: -6px; */
}

.row .col {
    display: inline-block;
    vertical-align: top;
    padding: 0;
}

    .row .col.s12 {
        width: 735px;
        /*width: 615px;*/
        overflow: hidden;
        margin-left: 0px;
        vertical-align: top;
        height: 60px;
        position: relative;
        display: inline-block;
        left: 0;
        right: 0;
        /* left: 281px; */
    }

#map {
    height: calc(100% - 40px);
    /* width:100%; */
    display: inline-block;
    width: calc(100% - 427px);
    overflow: hidden;
}

.realtime.hideside, .loading-data.hideside {
    display: none !important;
}

#map.full {
    width: calc(100%);
}

.App-Container {
    height: calc(100% - 98px);
    overflow: hidden;
}

.App-Menubar {
    width: calc(100% - 427px);
    height: 40px;
    z-index: 3;
    display: flex;
    justify-content: space-between;
}

.infoVehicleName {
    color: #000;
    font-weight: bold;
}

[type="radio"]:checked + span:after, [type="radio"].with-gap:checked + span:after {
    background-color: rgba(102,158,64,0.9);
}

[type="radio"]:checked + span:after, [type="radio"].with-gap:checked + span:before, [type="radio"].with-gap:checked + span:after {
    border: 2px solid rgba(102,158,64,0.9);
}

.yNHHyP-marker-view {
    margin-top: 20px;
}

    .yNHHyP-marker-view img.markerMain {
        height: 36px;
        width: auto;
    }

.HJDHPx-interactive text {
    font-size: 50px;
}

.HJDHPx-interactive img.markpoint {
    height: 24px;
    width: auto;
}

.HJDHPx-interactive img.marker_pbicon {
    height: 17px;
    width: auto;
}

    .HJDHPx-interactive img.marker_pbicon.marker_pb1 {
        display: none;
    }

.HJDHPx-interactive img.marker_pbicon2 {
    height: 40px;
    width: auto;
}

.hv_m:hover {
    cursor: pointer;
    opacity: 0.8;
}

.HJDHPx-interactive img.markerPM {
    height: 28px;
    width: auto;
}

.countsp {
    width: 16px;
    height: 16px;
    display: inline-block;
    border-radius: 16px;
    background-color: #fff400;
    text-align: center;
    margin-left: 6px;
    position: absolute;
    margin-top: 2px;
}


@media only screen and (min-width: 1441px) {
    .col.icon-panal {
        position: absolute;
        right: 25px;
        top: 25px;
    }

    .logoContainer {
        width: 250px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-left: 45px;
        margin-top: 10px;
        /*padding-right: 75px;*/
    }

    .btMapSwitch {
        display: none;
        position: absolute;
        right: 180px;
        top: 33px;
    }

    .App-Tab {
        display: flex;
        height: 70px;
        background-color: rgba(102, 158, 64, 0.9);
        background-image: url(../img/radbar.png);
        background-repeat: no-repeat;
        background-position: 0px 0px;
        background-size: 100% 70px;
        justify-content: start;
        gap: 145px;
        position: relative;
        width: 100%;
    }

    .App-BarIcon img {
        height: 36px;
    }

    .App-Tab .App-BarIcon {
        margin-top: 10px;
    }

    .tabs .tab {
        display: inline-block;
        text-align: center;
        line-height: 28px;
        height: 28px;
        padding: 0;
        margin: 0;
        text-transform: uppercase;
    }

    .tabs {
        background-color: rgba(102, 158, 64, 0);
        overflow: hidden;
        padding-top: 20px;
        height: 55px;
    }

        .tabs .tab a {
            color: #666666;
            /* font-size: 14px; */
            padding: 0px 15px;
            font-size: 14px;
        }

    .col.icon-panal {
        position: absolute;
        right: 25px;
        top: 5px;
    }

    .App-Container {
        height: calc(100% - 70px);
        overflow: hidden;
    }
}

@media only screen and (max-width: 1440px) {
    .col.icon-panal {
        position: absolute;
        right: 25px;
        top: 25px;
    }

    .logoContainer {
        /*width: 270px;*/
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-left: 20px;
        margin-top: 10px;
        /*padding-right: 75px;*/
    }

    .btMapSwitch {
        display: none;
        position: absolute;
        right: 280px;
        top: 15px;
    }

    .App-Tab {
        display: flex;
        height: 98px;
        background-color: rgba(102, 158, 64, 0.9);
        background-image: url("../img/radbar.png");
        background-repeat: no-repeat;
        background-position: 0px 0px;
        background-size: 104% 98px;
        justify-content: start;
        gap: 120px;
        position: relative;
        width: 100%;
    }

    .gray-bar {
        background-image: url(../img/graybar.png);
        width: 100%;
        height: 100%;
        position: absolute;
        background-repeat: no-repeat;
        background-size: 120% 98px;
    }
}

@media only screen and (max-width: 1024px) {
    .col.icon-panal {
        position: absolute;
        right: 15px;
        top: 25px;
    }

    .logoContainer {
        /*width: 270px;*/
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-left: 20px;
        margin-top: 10px;
        /*padding-right: 75px;*/
    }

    .btMapSwitch {
        display: none;
        position: absolute;
        right: 100px;
        top: 15px;
    }

    .tabs .tab a {
        color: #666666;
        /* font-size: 14px; */
        padding: 0px 10px !important;
        font-size: 17px;
    }

    .tools-icon-top {
        display: inline-block;
        padding: 0px;
        margin: 0px;
        width: 30px;
        color: #fff;
        cursor: pointer;
        position: relative;
        top: 12px;
    }

    .App-Tab {
        display: flex;
        height: 98px;
        background-color: rgba(102, 158, 64, 0.9);
        background-image: url("../img/radbar.png");
        background-repeat: no-repeat;
        background-position: 0px 0px;
        background-size: 104% 98px;
        justify-content: start;
        gap: 80px;
        position: relative;
        width: 100%;
    }

    .gray-bar {
        background-image: url(../img/graybar.png);
        width: 100%;
        height: 100%;
        position: absolute;
        background-repeat: no-repeat;
        background-size: 140% 98px;
    }
}

@media only screen and (min-width: 1025px) and (max-width: 1366px) {
    .App-Tab {
        display: flex;
        height: 70px;
        background-color: rgba(102, 158, 64, 0.9);
        background-image: url(../img/radbar.png);
        background-repeat: no-repeat;
        background-position: 0px 0px;
        background-size: 100% 70px;
        justify-content: start;
        gap: 120px;
        position: relative;
        width: 100%;
    }

    .gray-bar {
        background-image: url(../img/graybar.png);
        width: 100%;
        height: 100%;
        position: absolute;
        background-repeat: no-repeat;
        background-size: 100% 70px;
    }

    .App-BarIcon img {
        height: 36px;
    }

    .App-Tab .App-BarIcon {
        margin-top: 10px;
    }

    .tabs .tab {
        display: inline-block;
        text-align: center;
        line-height: 28px;
        height: 28px;
        padding: 0;
        margin: 0;
        text-transform: uppercase;
    }

    .tabs {
        background-color: rgba(102, 158, 64, 0);
        overflow: hidden;
        padding-top: 20px;
        height: 55px;
    }

        .tabs .tab a {
            color: #666666;
            /* font-size: 14px; */
            padding: 0px 15px;
            font-size: 14px;
        }

    .col.icon-panal {
        position: absolute;
        right: 25px;
        top: 5px;
    }

    .App-Container {
        height: calc(100% - 70px);
        overflow: hidden;
    }
}

@media only screen and (min-width: 1367px) and (max-width: 1600px) {
    .App-Tab {
        display: flex;
        height: 70px;
        background-color: rgba(102, 158, 64, 0.9);
        background-image: url(../img/radbar.png);
        background-repeat: no-repeat;
        background-position: 0px 0px;
        background-size: 100% 70px;
        justify-content: start;
        gap: 120px;
        position: relative;
        width: 100%;
    }

    .gray-bar {
        background-image: url(../img/graybar.png);
        width: 100%;
        height: 100%;
        position: absolute;
        background-repeat: no-repeat;
        background-size: 100% 70px;
    }

    .App-BarIcon img {
        height: 36px;
    }

    .App-Tab .App-BarIcon {
        margin-top: 10px;
    }

    .tabs .tab {
        display: inline-block;
        text-align: center;
        line-height: 28px;
        height: 28px;
        padding: 0;
        margin: 0;
        text-transform: uppercase;
    }

    .tabs {
        background-color: rgba(102, 158, 64, 0);
        overflow: hidden;
        padding-top: 20px;
        height: 55px;
    }

        .tabs .tab a {
            color: #666666;
            /* font-size: 14px; */
            padding: 0px 15px;
            font-size: 14px;
        }

    .col.icon-panal {
        position: absolute;
        right: 25px;
        top: 5px;
    }

    .App-Container {
        height: calc(100% - 70px);
        overflow: hidden;
    }
}
