﻿.loadingIcon {
    display: none;
    border-color: #A0A0A0 transparent #A0A0A0 transparent;
}
.leftArea .mainLoading .loadingIcon {
    display: inline-block;
    height: 30px;
}

.dummy4Autocomplete {
    display: none;
}
.leftArea .listTitle {
    display: flex;
    width: 218px;
    height: 60px;
    margin: 0px auto 0px auto;
    padding-bottom:2px;
    border-bottom: 1px solid #9F0000;
    font-weight: bold;
    font-size: 14px;
    color: #9F0000;
    align-items: flex-end;
    justify-content: flex-end;
}
.leftArea .searchInFleet {
    width: 218px;
    height: 30px;
    margin: 5px auto 5px auto;
    border: 1px solid #E0E0E0;
    border-radius: 15px;
}
    .leftArea .searchInFleet input {
        float: right;
        width: 185px;
        height: 17px;
        margin: 5px 5px 0px 0px;
        padding: 0px 5px 0px 0px;
        border: 0px;
        font-size: 14px;
        color: black;
        outline: none;
        direction: rtl;
    }
    .leftArea .searchInFleet .search {
        float: left;
        width: 17px;
        height: 24px;
        margin: 3px 0px 0px 7px;
    }
    .leftArea .searchInFleet .close {
        display: none;
        float: left;
        width: 13px;
        height: 13px;
        margin: 8px 0px 0px 9px;
        cursor: pointer;
    }

.leftArea .list {
    display: none;
    position: relative;
    overflow-y: auto;
    overflow-x: hidden;
    width: 100%;
    height: calc( 100% - 260px );
}
    .leftArea .list .trucks {
        margin : 0px 8px 0px 16px;
    }
    .leftArea .list .item .main {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        flex-wrap: wrap;
        min-height: 40px;
    }
        .leftArea .list .item .main .select {
            width: 16px;
            height: 16px;
            margin-right: 8px;
        }
        .leftArea .list .item .main img {
            width: 40px;
            height: 22px;
            margin-right: 10px;
            cursor: pointer;
        }
        .leftArea .list .item .main .nameDate {
            width: calc( 100% - 107px );
            cursor: pointer;
        }
            .leftArea .list .item .main .nameDate .name {
                overflow: hidden;
                font-size: 12px;
                color: var(--blueBar);
                direction: rtl;
                text-align: left;
                font-family: sans-serif;
                white-space: nowrap;
                direction: ltr;
            }
            .leftArea .list .item .main .nameDate .dateTime {
                font-size: 10px;
                color: #909090;
            }
        .leftArea .list .item .main .accStatus {
            width: 14px;
            height: 29px;
        }
            .leftArea .list .item .main .accStatus.switchedOff {
                background: url('/Images/Report/SwitchedOff.png') top center no-repeat;
            }

.leftArea .list .item .main .dots {
    width: 19px;
    height: 23px;
    background: url('/Images/Report/Dots.png') center center no-repeat;
    cursor: pointer;
}
        .leftArea .list .item .creditEndDate {
            height: 18px;
            font-size: 12px;
            color: var(--blueBar);
        }
            .leftArea .list .item .creditEndDate .showCredit {
                width: 70px;
                cursor: pointer;
            }
                .leftArea .list .item .creditEndDate .showCredit img {
                    margin-right: 2px;
                }
                .leftArea .list .item .creditEndDate .showCredit.hide {
                    display: none;
                }
            .leftArea .list .item .creditEndDate .credit {
                display: none;
                width: 180px;
                height: 18px;
                line-height: 18px;
                padding: 0px 0px 0px 3px;
                background-color: #C4CEF6;
                text-align: left;
                border-radius: 2px;
            }
                .leftArea .list .item .creditEndDate .credit.nearExpire {
                    display: block !important;
                    background-color: red;
                    color: white;
                }
                    .leftArea .list .item .creditEndDate .credit.nearExpire .data {
                        cursor: default;
                    }
                .leftArea .list .item .creditEndDate .credit .data {
                    float: left;
                    cursor: pointer;
                }
                .leftArea .list .item .creditEndDate .credit .data .up {
                    margin: 0px 2px 0px 3px;
                }
                .leftArea .list .item .creditEndDate .credit .data .date {
                }
            .leftArea .list .item .creditEndDate .credit .payment {
                float: right;
                height: 18px;
                line-height: 18px;
                cursor: pointer;
            }
                .leftArea .list .item .creditEndDate .credit .payment img {
                    float: right;
                    margin: 2px 6px 0px 3px;
                    width:14px;
                    height: 16px;
                }

    .leftArea .list .hLine {
        height: 1px;
        background-color: #E0E0E0;
        margin: 2px 8px 0px 0px;
    }

    .leftArea .list .menuWrapper {
        position: absolute;
        top: 0px;
        left: 16px;
        width: 218px;
    }
        .leftArea .list .menuWrapper .bottom {
            width: 1px;
            height: 1px;
            margin-top: 20px;
        }

    .leftArea .list .truckMenuBox {
        width: 218px;
        background-color: #828282;
        border-radius: 4px;
        font-size: 12px;
        color: white;
        direction: rtl;
        border: 2px solid #828282;
        border-radius: 4px;
    }
        .leftArea .list .truckMenuBox .close {
            position: absolute;
            top: 6px;
            left: 6px;
            width: 16px;
            height: 16px;
            cursor: pointer;
        }
        .leftArea .list .truckMenuBox .menuItems {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            justify-content: center;
            height: 86px;
        }
            .leftArea .list .truckMenuBox .menuItems .item {
                color: white;
                cursor: pointer;
            }
                .leftArea .list .truckMenuBox .menuItems .item::before {
                    content: "\2022";
                    margin-right: 10px;
                    margin-left: 2px;
                }

                .leftArea .list .truckMenuBox .menuItems .item:first-child {
                    margin-bottom: 16px;
                }
                .leftArea .list .truckMenuBox .menuItems .item .title {
                    margin-left: 10px;
                }
                .leftArea .list .truckMenuBox .menuItems .item .loading {
                    width: 12px;
                    height: 12px;
                    margin-right: 10px;
                    border: 2px solid white;
                    border-color: white transparent white transparent;
                }

.calTraceFrom {
    display: none;
}
.calTraceTo {
    display:none;
}
.calCTNStart {
    display:none;
}
.calCTNEnd {
    display:none;
}

        .leftArea .list .truckMenuBox .traceArea {
            width: 100%;
            padding-top: 13px;
            padding-bottom: 1px;
            background-color: white;
            border-radius: 4px;
            text-align: center;
            color: #828282;
        }
            .leftArea .list .truckMenuBox .traceArea .from {
                height: 30px;
                margin: 0px 8px 0px 8px;
                border-bottom: 2px solid #E0E0E0;
                text-align: left;
                line-height: 30px;
                display: flex;
                align-items: center;
                direction: ltr;
            }
                .leftArea .list .truckMenuBox .traceArea .from .traceDateFrom {
                    float: left;
                    margin-top: 1px;
                }
            .leftArea .list .truckMenuBox .traceArea .time {
                display: flex;
                align-items: center;
                justify-content: center;
                margin: 0px auto 0px auto;
                background-color: white;
                direction: ltr;
            }
                .leftArea .list .truckMenuBox .traceArea .time .hour {
                    width: 15px;
                    border: 0px;
                    outline: none;
                }
                .leftArea .list .truckMenuBox .traceArea .time .minute {
                    width: 15px;
                    border: 0px;
                    outline: none;
                }
                .leftArea .list .truckMenuBox .traceArea .time .arrows {
                    display: inline-block;
                    width: 12px;
                    line-height: 10px;
                    cursor: pointer;
                }
                    .leftArea .list .truckMenuBox .traceArea .time .arrows .up {
                        margin-bottom: 1px;
                    }
            .leftArea .list .truckMenuBox .traceArea .to {
                height: 30px;
                margin: 0px 8px 30px 8px;
                border-bottom: 2px solid #E0E0E0;
                text-align: left;
                line-height: 30px;
                display: flex;
                align-items: center;
                direction: ltr;
            }
                .leftArea .list .truckMenuBox .traceArea .to .traceDateTo {
                    float: left;
                    margin-top: 1px;
                }
            .leftArea .list .truckMenuBox .traceArea span {
                direction: rtl;
            }
            .leftArea .list .truckMenuBox .traceArea input::-webkit-outer-spin-button,
            .leftArea .list .truckMenuBox .traceArea input::-webkit-inner-spin-button {
                -webkit-appearance: none;
                margin: 0;
            }
            .leftArea .list .truckMenuBox .traceArea input[type=number] {
                -moz-appearance: textfield;
            }
            .leftArea .list .truckMenuBox .traceArea .btnShowTraceReport {
                display: inline-block;
                width: 200px;
                height: 30px;
                background-color: #9F0000;
                margin: 0px auto 27px auto;
                border-radius: 4px;
                color: white;
                font-size: 16px;
                font-weight: bold;
                padding-top: 4px;
                cursor: pointer;
            }
            .leftArea .list .truckMenuBox .traceArea .loading {
                display: none;
                width: 30px;
                height: 30px;
                margin: 0px auto 27px auto;
                padding-top: 4px;
            }

            .leftArea .list .truckMenuBox .traceArea a:visited, .leftArea .list .truckMenuBox .traceArea a:hover {
                color: white;
            }

            .leftArea .list .truckMenuBox .getCTNArea {
                display: none;
                width: 100%;
                padding-top: 13px;
                padding-bottom: 1px;
                background-color: white;
                border-radius: 4px;
                text-align: center;
                color: #828282;
            }
                .leftArea .list .truckMenuBox .getCTNArea .from {
                    height: 30px;
                    margin: 0px 8px 0px 8px;
                    border-bottom: 2px solid #E0E0E0;
                    line-height: 30px;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    direction: ltr;
                }
                    .leftArea .list .truckMenuBox .getCTNArea .from .ctnDateFrom {
                        margin-top: 1px;
                    }
                .leftArea .list .truckMenuBox .getCTNArea .to {
                    height: 30px;
                    margin: 0px 8px 0px 8px;
                    border-bottom: 2px solid #E0E0E0;
                    line-height: 30px;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    direction: ltr;
                }
                    .leftArea .list .truckMenuBox .getCTNArea .to .ctnDateTo {
                        margin-top: 1px;
                    }
                .leftArea .list .truckMenuBox .getCTNArea span {
                    direction: rtl;
                }
                .leftArea .list .truckMenuBox .getCTNArea input::-webkit-outer-spin-button,
                .leftArea .list .truckMenuBox .getCTNArea input::-webkit-inner-spin-button {
                    -webkit-appearance: none;
                    margin: 0;
                }
                .leftArea .list .truckMenuBox .getCTNArea input[type=number] {
                    -moz-appearance: textfield;
                }
                .leftArea .list .truckMenuBox .getCTNArea .message {
                    height: 30px;
                    line-height: 30px;
                    color: red;
                }

            #btnCreateCTN {
                display: inline-block;
                width: 200px;
                height: 30px;
                background-color: #9F0000;
                margin: 0px auto 27px auto;
                border-radius: 4px;
                color: white;
                font-size: 16px;
                font-weight: bold;
                padding-top: 4px;
                cursor: pointer;
            }
            .leftArea .list .truckMenuBox .getCTNArea .loading {
                display: none;
                width: 30px;
                height: 30px;
                margin: 0px auto 27px auto;
                padding-top: 4px;
            }

                .leftArea .list .truckMenuBox .getCTNArea a:visited, .leftArea .list .truckMenuBox .getCTNArea a:hover {
                    color: white;
                }

                .leftArea .list .truckMenuBox .showCTNArea {
                    position: relative;
                    display: none;
                    width: 100%;
                    padding-top: 13px;
                    padding-bottom: 1px;
                    background-color: white;
                    border-radius: 4px;
                    text-align: center;
                    color: #828282;
                }
                .leftArea .list .truckMenuBox .showCTNArea .from {
                    height: 30px;
                    margin: 0px 8px 0px 8px;
                    border-bottom: 2px solid #E0E0E0;
                    line-height: 30px;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    direction: ltr;
                }
                    .leftArea .list .truckMenuBox .showCTNArea .from .ctnDateFrom {
                        margin-top: 1px;
                    }
                .leftArea .list .truckMenuBox .showCTNArea .to {
                    height: 30px;
                    margin: 0px 8px 0px 8px;
                    border-bottom: 2px solid #E0E0E0;
                    line-height: 30px;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    direction: ltr;
                }
                    .leftArea .list .truckMenuBox .showCTNArea .to .ctnDateTo {
                        margin-top: 1px;
                    }
                .leftArea .list .truckMenuBox .showCTNArea span {
                    direction: rtl;
                }
                .leftArea .list .truckMenuBox .showCTNArea .data {
                    height: 30px;
                    position: relative;
                }
                    .leftArea .list .truckMenuBox .showCTNArea .data div {
                        position: absolute;
                        left: 0px;
                        right: 0px;
                        bottom: 0px;
                        color: black;
                        font-size: 16px;
                        font-weight: bold;
                    }
                        .leftArea .list .truckMenuBox .showCTNArea .data div span.expired {
                            text-decoration: line-through;
                        }

                .leftArea .list .truckMenuBox .showCTNArea .message {
                    display: none;
                    height: 30px;
                    line-height: 30px;
                    color: red;
                }
                .leftArea .list .truckMenuBox .showCTNArea .traceLink {
                    width: 0px;
                    height: 0px;
                    font-size: 0px;
                    opacity: 0;
                }
                .leftArea .list .truckMenuBox .showCTNArea .loading {
                    display: none;
                    width: 30px;
                    height: 30px;
                    margin: 10px auto 27px auto;
                    padding-top: 4px;
                }

            #btnAsk4DeleteCTN, #btnCopyCTN2Clipboard {
                display: inline-block;
                width: 200px;
                height: 30px;
                background-color: #828282;
                margin: 0px auto 27px auto;
                border-radius: 4px;
                color: white;
                font-size: 16px;
                font-weight: bold;
                padding-top: 4px;
                cursor: pointer;
            }
                #btnCopyCTN2Clipboard {
                    margin-bottom: 0px;
                    background-color: #DFE5FC;
                    color: black;
                    font-size: 12px;
                    font-weight: normal;
                }
                #btnAsk4DeleteCTN {
                    margin-top: 10px;
                }
                #btnAsk4DeleteCTN:visited, #btnAsk4DeleteCTN:hover {
                    color: white;
                }
                #btnCopyCTN2Clipboard:visited, #btnCopyCTN2Clipboard:hover {
                    color: black;
                }
            #ctnCopied2Clipboard {
                position: absolute;
                top: 88px;
                display: none;
                justify-content: center;
                align-items: center;
                width: 100%;
                height: 90px;
                background-color: #403E3E;
                border-radius: 16px;
                color: white;
                transition: opacity 0.7s;
            }
                  
        .leftArea .list::-webkit-scrollbar {/* width */
            width: 6px;
        }
        .leftArea .list::-webkit-scrollbar-track {/* Track */
            background: white;
        }
        .leftArea .list::-webkit-scrollbar-thumb {/* Handle */
            background: #CCCCCC;
            border-radius: 3px;
        }
            .leftArea .list::-webkit-scrollbar-thumb:hover { /* Handle on hover */
                background: #AAAAAA;
            }

.mainArea .expand, .mainArea .collapse {
    display: none;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 34px;
    height: 62px;
    cursor: pointer;
}

#mapArea {
    width: 100%;
    height: 100%;
}

.mapPopup {
    display: none;
    position: absolute;
    left: -48px;
    bottom: 49px;
    width: 170px;
    zmin-height: 56px;
    padding: 10px;
    background-color: var(--blueBar);
    border: 1px solid white;
    border-radius: 3px;
    color: white;
}

.mapPopup .triangle {
    position: absolute;
    left:38px;
    bottom: -7px;
}
    .mapPopup .content {
        overflow: auto;
        zzzmin-height: 34px;
    }
    .mapPopup .content img {
        float: left;
        margin-right:10px;
    }
    .mapPopup .content .title {
        display: inline-block;
        width: calc( 100% - 50px );
        font-size: 12px;
        color: white;
        white-space: nowrap;
        overflow: hidden;
        font-family: sans-serif;
    }
        .mapPopup .content .info {
            display: flex;
            justify-content: space-between;
        }
            .mapPopup .content .info .dateTime {
                font-size: 10px;
                color: #CCCCCC;
            }
            .mapPopup .content .info .accStatus {
                font-size: 10px;
                color: #E1E1E1;
            }
    .mapPopup .content .location {
        margin-top:5px;
        font-size: 12px;
        color: white;
        direction: rtl;
    }

    .mapPopup .content .speed {
        float: left;
        display:inline-block;
        position: relative;
        width:28px;
        height:28px;
        margin-top: 3px;
        border-radius: 14px;
        background-color: white;
        color:var(--blueBar);
        text-align: center;
        font-size: 13px;
        line-height: 22px;
    }
        .mapPopup .content .speed span {
            position: absolute;
            top: 18px;
            left:5px;  
            font-size: 6px;
            line-height: 6px;
            font-weight: bold;
        }
        .mapPopup .content .switchOn .tDateTime {
            float: right;
            margin-top: 11px;
            font-size: 10px;
            color: #CCCCCC;
        }
        .mapPopup .content .switchOff {
            position: relative;
            height: 29px;
        }
            .mapPopup .content .switchOff .tDateTime {
                position: absolute;
                top: 0px;
                right: 0px;
                font-size: 10px;
                color: #CCCCCC;
            }
            .mapPopup .content .switchOff .accStatus {
                position: absolute;
                bottom: 0px;
                right: 0px;
                font-size: 10px;
                color: #E1E1E1;
            }

.mapHelp {
    display: none;
    position: absolute;
    left:0px;
    right:0px;
    bottom: 20px;
    max-width: 550px;
    width: 100%;
    height: 30px;
    line-height: 30px;
    margin: 0px auto 0px auto;
    border-radius: 8px;
    background-color: #828282;
    color: white;
    text-align: center;
    direction: rtl;
    z-index: 2;
}

.ask4DeleteCTN {
    display: none;
    align-items: center;
    justify-content: center;
    position:absolute;
    top:0px;
    left:0px;
    right:0px;
    bottom:0px;
    margin: 0px auto;
    z-index: 2;
}
    .ask4DeleteCTN .main {
        position: relative;
        width: 300px;
        height: 380px;
        padding: 0px 50px 0px 50px;
        background-color: #FCFCFC;
        border: 1px solid #E0E0E0;
        border-radius: 8px;
        text-align: center;
    }
        .ask4DeleteCTN .main * {
            outline: none;
        }
        .ask4DeleteCTN .main .close {
            position: absolute;
            top: -13px;
            left: -13px;
            width: 16px;
            height: 16px;
            border: 2px solid white;
            border-radius: 8px;
            color: white;
            font-weight: bold;
            font-size: 13px;
            font-family: Arial;
            cursor: pointer;
        }
            .ask4DeleteCTN .main .close span {
                float: left;
                margin: -2px 0px 0px 2px;
            }
        .ask4DeleteCTN .main .title {
            text-align:right;
            margin: 50px 0px 0px 0px;
            font-size: 18px;
        }
        .ask4DeleteCTN .main .truckTirNo {
            display: flex;
            justify-content: center;
            align-items: center;
            height: 60px;
            font-family: Tahoma;
        }
            .ask4DeleteCTN .main .truckTirNo img {
                width: 40px;
                height: 22px;
                margin-right:10px;
            }
            .ask4DeleteCTN .main .truckTirNo .code {
                color: var(--blueBar);
            }
        .ask4DeleteCTN .main .warning {
            margin: 0px 0px 60px 0px;
            line-height: 16px;
            text-align: justify;
            font-size: 14px;
            direction: rtl;
            zzzzzzzzzzbackground-color: red;
        }

        .ask4DeleteCTN .main .message {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 230px;
            height: 59px;
            margin: 0px auto;
            color: #9F0000;
            font-size: 14px;
            direction: rtl;
        }
            .ask4DeleteCTN .main .message span {
                display: none;
            }
        #btnDeleteCTN {
            position: absolute;
            left: 0px;
            right: 0px;
            bottom: 60px;
            margin: 0px auto 0px auto;
            width: 200px;
            height: 30px;
            background-color: var(--blueBar);
            border-radius: 4px;
            color: white;
            font-size: 16px;
            font-weight: bold;
            padding-top: 4px;
        }
        #btnDeleteCTN .main a:visited, .ask4DeleteCTN .main a:hover {
            color: white;
        }

.mainArea {
    overflow: visible;
}

.mainArea .hint {
    display: none;
    position: absolute;
    left: 0px;
    top: 105px;
    width: 323px;
    height: 95px;
    background-color: #9F0000;
    padding: 15px;
    border-radius: 4px;
    color: white;
    font-size: 12px;
    text-align: justify;
    line-height: 20px;
    direction: rtl;
    transform-style: preserve-3d;
}
    .mainArea .hint .gotIt {
        position: absolute;
        left: 15px;
        bottom: 15px;
        font-weight: bold;
        text-decoration: underline;
        cursor: pointer;
    }
    .mainArea .hint::before {
        content: '';
        position: absolute;
        left: -8px;
        top: 16px;
        width: 17px;
        height: 17px;
        background-color: #9F0000;
        transform: rotate(45deg) translateZ(-1px);
    }
