.parcel-allocation-search {
    max-width: 100%;
}

.parcel-allocation-search__form {
    margin-bottom: 1rem;
}

.parcel-allocation-search__label {
    display: inline-block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.parcel-allocation-search__controls {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.parcel-allocation-search__input {
    flex: 1 1 18rem;
    xmin-width: 16rem;
    max-width: 315px;
    padding: 0.75rem;
    border: 1px solid #767676;
    border-radius: 0.25rem;
}

.parcel-allocation-search__button {
    padding: 0.75rem 1rem;
    border: 1px solid #1a1a1a;
    border-radius: 0.25rem;
    font-size: 0.25rem;
    background: #ffffff;
    color: #1a1a1a;
    cursor: pointer;
}

.parcel-allocation-search__button:hover {
    background: #f3f3f3;
}

.parcel-allocation-search__input:focus,
.parcel-allocation-search__button:focus,
.parcel-allocation-search__table-wrap:focus {
    xoutline: 3px solid #005fcc;
    xoutline-offset: 2px;
}

.parcel-allocation-search__status {
    margin-bottom: 1rem;
}

.parcel-allocation-search__meta {
    margin-bottom: 1rem;
}

.parcel-allocation-search__meta p {
    margin: 0 0 0.5rem 0;
}

.parcel-allocation-search__table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid #d0d7de;
    border-radius: 0.25rem;
}

.parcel-allocation-search__table {
    width: 100%;
    xmin-width: 42rem;
    border-collapse: collapse;
    background: #ffffff;
}

.parcel-allocation-search__caption {
    text-align: left;
    padding: 0.75rem 0.75rem 0.75rem 0;
    font-weight: 700;
}

.parcel-allocation-search__table th,
.parcel-allocation-search__table td {
    border: 1px solid #d0d7de;
    padding: 0.75rem;
    text-align: left;
    vertical-align: top;
    word-break: break-word;
}
.parcel-allocation-search__table thead th {
    background: #f5f5f5;
}
.parcel-allocation-search__table thead tr th:nth-child(2) {
    border-radius: 4px 0 0 0;
}
.parcel-allocation-search__table thead tr th:nth-child(4){
    border-radius: 0 4px 0 0;
}
.parcel-allocation-search__table thead tr th:nth-child(4) span:first-child {
    display: none;
}
.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 640px) {
    x.parcel-allocation-search__controls {
        flex-direction: column;
    }

    .parcel-allocation-search__input,
    .parcel-allocation-search__button {
        width: 100%;
    }
    x.parcel-allocation-search__table {
        min-width: 36rem;
    }
    .parcel-allocation-search__table thead tr th:nth-child(1) {
        width: 1%;
    }
    .parcel-allocation-search__table thead tr th:nth-child(2) {
        width: 39%;
    }
    .parcel-allocation-search__table thead tr th:nth-child(3) {
        width: 30%;
    }
    .parcel-allocation-search__table thead tr th:nth-child(4) {
        width: 30%;
    }
}

@media (max-width: 375px) {
    .parcel-allocation-search__input {
        max-width: 80%;
    }
    .parcel-allocation-search__table thead tr th:nth-child(1) {
        width: 1%;
    }
    .parcel-allocation-search__table thead tr th:nth-child(2) {
        width: 44%;
    }
    .parcel-allocation-search__table thead tr th:nth-child(3) {
        width: 30%;
    }
    .parcel-allocation-search__table thead tr th:nth-child(4) {
        width: 25%;
    }
}

@media (max-width: 320px) {
    .parcel-allocation-search__table * {
        font-size: 0.725rem;
    }
	.parcel-allocation-search__table thead tr th {
       vertical-align: middle;
       text-align: center;
    }
    .parcel-allocation-search__table thead tr th:last-child {
       text-align: center;
    }

}

@media (max-width: 700px) {
    .parcel-allocation-search__table thead tr th:nth-child(4) span:nth-child(1) {
        display: initial;
    }
    .parcel-allocation-search__table thead tr th:nth-child(4) span:nth-child(2) {
        display: none;
    }
}


/* Parcel Allocation Search */
.parcel-allocation-search__button {
	width: 2rem;
    height: 2rem;
    padding: 1rem !important;
    border: 0 !important;
    border: 0 !important;
    background: url(../../../../../../content/dam/ttc/images/MagnifyingGlass.png/jcr:content/renditions/cq5dam.thumbnail.48.48.png) !important;
    background-repeat: no-repeat !important;
    background-size: contain !important;
    background-position: center !important;
	color: transparent !important;
}
.parcel-allocation-search__table tbody tr:nth-child(even) :is(th, td:not(:first-child)) {
    background-color: #eee !important;
}
.parcel-allocation-search__table-wrap, 
.parcel-allocation-search__table * {
    border: none !important;
}
x.parcel-allocation-search__table tr > td:last-child {
    text-align: right !important;
}
.parcel-allocation-search__table thead {
    font-size: initial;
}
.parcel-allocation-search__table tbody:nth-child(even) * {
    background-color: #f1f1f1;
}
.parcel-allocation-search__table tbody:nth-child(odd) * {
    background-color: #fff;
}
.parcel-allocation-search__table thead tr th {
    background-color: #0072BC !important;
    color: #fff;
}
.parcel-allocation-search__table > thead> tr:first-child > th:first-child {
    background-color: #fff !important;
    border: 0;
}
.parcel-allocation-search__table thead:first-child tr:first-child th:first-child + th,
.parcel-allocation-search__table thead:first-child tr:first-child + tr th:first-child {
    border-radius: 4px 0 0 0;
}
.parcel-allocation-search__table thead:first-child tr:first-child th:first-child + th + th {
    border-radius: 0 4px 0 0;
}
