﻿/* CSS Reset */
*, p, ul {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

li {
    list-style-type: none;
}

h1, h2, h3, h4 {
    margin-bottom: 0.5rem;
    color: var(--apc-color__blue-dark-main);
}

.tracking-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-bottom:3rem;
}

@media (min-width: 768px) {
    .tracking-container {
        width: 600px;
        margin: 1rem auto;
    }
}

.intro p {
    margin-bottom: 0.5rem;
}

.con-summary {
    /* background-color: #eeffee; */
}

    .con-summary table {
        border: 0;
    }

    .con-summary tr {
        vertical-align: top;
    }

    .con-summary th,
    td {
        padding-bottom: 0.5rem;
        padding-right: 1rem;
        text-align: left;
    }

#item-placeholder {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 6rem;
}

.item-details {
    display: none;
}

.item-buttons-container {
    display: flex;
    flex-flow: row nowrap;
    gap: 2px;
    justify-content: flex-start;
    align-items: flex-end;
    overflow-x: auto;
}

.item-button {
    display: flex;
    flex-direction: column;
    gap: 0;
}

    .item-button button {
        height: 2.75rem;
        width: 6rem;
        padding: 0.5rem 1rem;
        background-color: var(--apc-color__grey-500);
        color: white;
        font-weight: 500;
        border: 1px solid var(--apc-color__grey-500);
        border-top-left-radius: 0.5rem;
        border-top-right-radius: 0.5rem;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        cursor: pointer;
    }

        .item-button button.active {
            height: 3rem;
            background-color: var(--apc-color__blue-dark-main);
            border: 1px solid var(--apc-color__blue-dark-main);
        }

.details-container {
    padding-inline: 1rem;
    padding-bottom: 1rem;
    background-color: #ddd;
    border-top: 0.25rem solid var(--apc-color__blue-dark-main);
}

.detailed-journey-container {
    margin-top: 0.5rem;
}

.detailed-delivery-container {
    margin-top: 0.5rem;
}

.image-and-map-container {
    display: flex;
    flex-flow: column;
    gap: 1rem;
    margin-top: 0.5rem;
    justify-content: space-between;
}

@media (min-width: 768px) {
    .image-and-map-container {
        flex-flow: row wrap;
    }
}

#verify-form {
    border-top: 3px solid var(--apc-color__blue-dark-main);
}

#postcode {
    width: 220px;
}