﻿

.tracking-container .title-logo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
}

.standard-box .title-logo {
    margin-top: 0rem;
}

.tracking-container .det-track-logo {
    max-width: 200px;
    margin: 2rem 0rem 2rem 0rem;
    padding-right: 2rem;
    padding-left: 2rem;
}

@media (min-width: 576px) {
    .tracking-container .det-track-logo {
        margin: 1rem 0rem 2rem 0rem;
    }
}

@media (min-width: 996px) {
    .tracking-container .det-track-logo {
        margin: 0rem 0rem 2rem 0rem;
    }
}

.comms {
    display: flex;
}

.whatsapp-container {
    display: flex;
    flex-direction: column;
    padding: 1rem 0rem;
}

.float .whatsapp-container {
    padding: 0;
}

.whatsapp-icon {
    max-width: 200px;
    cursor: pointer;
}

.whatsapp-icon-faq {
    margin: 12px 6px 0px 0px;
    width: 14px;
    height: 14px;
}

.comms-msg {
    padding: 0rem 1rem .5rem 0rem;
}

.faq-accordion, .comms {
    width: 100%;
    max-width: 1024px;
    margin: 0 auto;
    overflow-y: auto;
}

.job-parcel-container h3 {
    display: flex;
}

.detailed-tracking .faq-accordion, .comms {
    width: 100%;
    margin: auto;
}

.faq-item {
    background: #f9f9f9;
    margin: 10px 0;
    border-radius: var(--sub-border-radius);
}

    .faq-item.active .faq-answer {
        display: block;
    }

.faq-question {
    background: var(--grey-shade-1);
    padding: 10px;
    cursor: pointer;
}

    .faq-question.active {
        background: var(--secondary-company-color);
    }

.faq-answer {
    display: none;
    padding: 10px;
}

.faq-accordion h1 {
    color: var(--primary-company-color);
}

.faq.service-level-name {
    color: var(--primary-company-color);
    margin-right: 6px;
    font-weight: bold;
}

.faq.space {
    color: black;
    margin: 6px 0px;
}

.detailed-tracking .map-container {
    display: flex;
    justify-content: center;
    position: relative;
    align-items: center;
    margin: auto;
    height: calc(100vh - 465px);
}

    .detailed-tracking .map-container .map-canvas {
        position: absolute;
    }

.detailed-tracking .map-overlay {
    width: calc(100vw - 0px);
    bottom: 48px;
}

.detailed-tracking .button-container-bar {
    display: flex;
    justify-content: center;
    flex-direction: row;
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 48px;
    background: var(--primary-company-color);
    text-align: center;
    box-shadow: 0 -1px 3px 0 rgba(40, 40, 55, 0.4);
}

.detailed-tracking .button-container {
    display: flex;
    flex-direction: row;
    max-width: 1024px;
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 48px;
    text-align: center;
}

.detailed-tracking button {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 25%;
    background: none;
    border: none;
    font-size: 10px;
    cursor: pointer;
    /*    padding-bottom: 4px;*/
}

.detailed-tracking .button-container button:hover {
    border-right: 0px solid var(--secondary-company-color);
    border-top: 4px solid var(--secondary-company-color);
    background-color: var(--secondary-company-color);
}

.detailed-tracking .button-container button.active {
    border-right: 0px solid var(--third-company-color);
    border-top: 4px solid var(--third-company-color);
}

/*        @media (min-width: 992px) {*/
@media screen and (min-width: 996px) and (min-height: 500px) {
    .detailed-tracking .map-container {
        display: flex;
        justify-content: center;
        position: relative;
        align-items: center;
        margin: auto;
        height: calc(100vh - 400px);
        border-radius: var(--main-border-radius);
    }

    .detailed-tracking .button-container-bar {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        background: none;
        box-shadow: none;
        bottom: auto;
    }

    .detailed-tracking .button-container {
        display: flex;
        flex-direction: column;
        width: 280px;
        max-width: none;
        bottom: auto;
        padding: .5rem;
    }

    .tracking-btn {
        justify-content: flex-start;
    }

    .detailed-tracking button i {
        margin-right: 5px;
    }

    .detailed-tracking button {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        min-width: 100%;
        max-width: 248px;
        padding-left: 40px;
        align-items: center;
        margin-bottom: .5rem;
        padding: 10px;
        color: var(--secondary-company-color);
        background-color: var(--primary-company-color);
        border: none;
        border-radius: var(--sub-border-radius);
        cursor: pointer;
        height: 36px;
        padding-left: 90px;
        font-size: var(--content-font-size);
        font-weight: 600;
    }

    .detailed-tracking .map-overlay {
        width: calc(100vw - 280px);
        bottom: 0;
    }

    .detailed-tracking .button-container button:hover {
        border-right: 0px solid var(--third-company-color);
        border-top: 0px solid var(--third-company-color);
        background-color: var(--secondary-company-color);
        color: var(--primary-company-color);
    }

    .detailed-tracking .button-container button.active {
        border-right: 8px solid var(--third-company-color);
        border-top: 0px solid var(--third-company-color);
    }

        .detailed-tracking .button-container button.active:hover {
            border-left: 8px solid var(--secondary-company-color);
        }

    .tracking-btn {
        padding: .5rem;
        margin: 0rem;
        background-color: transparent;
        display: flex;
    }

    .leftside {
        position: fixed;
        top: 228px;
        height: calc(100% - 228px);
        width: 280px;
    }

    .rightside {
        margin-left: 280px;
        top: 0;
        right: 0;
        overflow: auto;
        width: calc(100% - 280px);
    }

    .job-actions-container {
        display: none;
    }
}


.map-overlay {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: fixed;
    bottom: 48px;
    width: 100%;
    z-index: 9999 !important;
    padding: 1rem 0rem 0rem 0rem;
}

@media (min-width: 996px) {
    .map-overlay {
        padding: 1rem 1rem 0rem 1rem;
    }
}

.map-box {
    width: calc(100vw - 280px);
}

.float {
    display: flex;
    flex-direction: column;
    background-color: var(--modal-background-color);
    justify-content: space-between;
    border-top-left-radius: var(--main-border-radius);
    border-top-right-radius: var(--main-border-radius);
    padding: 1rem 1.5rem 1rem 1.5rem;
    max-width: 100%;
    height: 439px;
    color: var(--primary-company-color);
    box-shadow: 0 1px 3px 0 rgba(40, 40, 55, 0.4);
}

@media(min-width: 576px) {
    .float {
        padding: 1rem 3rem 1rem 3rem;
        width: 996px;
        margin: auto;
    }
}

.detailed-tracking .float {
    bottom: 0px;
}



.track-summary-label {
    text-align: center;
    font-weight: 600;
}

.track-summary-text {
    text-align: center;
    white-space: nowrap;
}

.job-parcel-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0rem 0rem 1rem 0rem;
}

.label-with-info {
    display: flex;
}

.dc-split, .job-summary, .progress-indicator {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 280px;
}

    .dc-split .material-icons.image {
        color: var(--primary-company-color);
        font-size: 44px;
    }

.job-summary-container {
    display: flex;
    width: 100%;
    justify-content: center;
}

.dc-split .dc-1, .dc-split .dc-2 {
    display: flex;
    justify-content: center;
    align-items: center;
}

.name-number {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    padding-left: 1rem;
}

.dc-split .sms {
    display: flex;
}

.dc-split .phone {
}

.dc-split .material-icons.sms {
    color: var(--third-company-color);
    font-size: 30px;
}

.dc-split .material-icons.phone {
    margin-left: .75rem;
    color: var(--third-company-color);
    font-size: 30px;
}

.view {
    display: none;
}

    .view.progress {
        padding: 0px;
    }

    .view.active {
        display: block;
    }

.material-icons.button-container {
    display: flex;
    justify-content: center;
    vertical-align: middle;
    font-size: 1rem;
    margin-right: 5px;
}

.job-parcel-container .whatsapp-container {
    display: flex;
    align-items: center;
}


.whatsapp-container .whatsapp-icon {
    max-width: 150px;
}

.job-parcel-container .whatsapp-icon a {
    display: flex;
    align-items: center;
}

.whatsapp-container h4 {
    margin-bottom: .5rem;
}

.job-summary {
    display: flex;
    flex-direction: column;
}

.progress-bar-container {
    display: flex;
    justify-content: center;
}

.progress-bar {
    display: flex;
    justify-content: center;
    width: 100%;
    justify-content: space-evenly;
    list-style: none;
}

.material-icons.progress-booked,
.material-icons.confirmed,
.material-icons.en-route,
.material-icons.delivered {
    font-size: 76px;
    color: green;
}

.progress-booked.inactive {
    color: var(--grey-shade-1);
}

.job-progress-track {
    display: flex;
    justify-content: center;
    height: 91px;
    width: 50px;
    background-size: 50px;
    background-repeat: no-repeat;
    background-position: center center;
}

.progress-received-grey {
    background-image: url(/Images/order-received-grey.png);
}

.progress-received-green {
    background-image: url(/Images/order-received-green.png);
}

.progress-received-red {
    background-image: url(/Images/order-received-red.png);
}

.progress-offered-grey {
    display: none;
}

.progress-offered-green {
    display: none;
}

.progress-image {
    display: none;
}

.progress-offered-red {
    display: none;
}

.progress-response-grey {
    display: none;
}

.progress-response-green {
    display: none;
}

    .progress-response-green.progress-image {
        display: none;
    }

.progress-response-red {
    display: none;
}

@media (min-width: 576px) {
    .progress-image {
        display: block;
    }

    .progress-offered-grey {
        display: block;
        background-image: url(/Images/order-offered-grey.png);
    }

    .progress-offered-green {
        display: block;
        background-image: url(/Images/order-offered-green.png);
    }

    .progress-offered-red {
        display: block;
        background-image: url(/Images/order-offered-red.png);
    }

    .progress-response-grey {
        display: block;
        background-image: url(/Images/order-response-grey.png);
    }

    .progress-response-green {
        display: block;
        background-image: url(/Images/order-response-green.png);
    }

    .progress-response-red {
        display: block;
        background-image: url(/Images/order-response-red.png);
    }

    .progress-indicator {
        max-width: 600px;
    }
}

.progress-confirmed-grey {
    background-image: url(/Images/order-confirmed-grey.png);
}

.progress-confirmed-green {
    background-image: url(/Images/order-confirmed-green.png);
}

.progress-confirmed-red {
    background-image: url(/Images/order-confirmed-red.png);
}

.progress-transit-grey {
    background-image: url(/Images/order-transit-grey.png);
}

.progress-transit-green {
    background-image: url(/Images/order-transit-green.png);
}

.progress-transit-red {
    background-image: url(/Images/order-transit-red.png);
}

.progress-delivered-grey {
    background-image: url(/Images/order-delivered-grey.png);
}

.progress-delivered-green {
    background-image: url(/Images/order-delivered-green.png);
}

.progress-delivered-red {
    background-image: url(/Images/order-delivered-red.png);
}

.progress_recieved img {
    height: 40px;
}


#cpMiddle_btnSendMessage {
	display: none;
}