.postcodeOrAddressContainer {
    position: relative;
}
#deleteSearch {
    width: 15px;
    height: 15px;
    position: absolute;
    top: 16px;
    right: 20px;
    background-image: url('../img/deleteSearch.svg');
    background-repeat: no-repeat;
    background-size: contain;
    cursor: pointer;
    display: none;
}
#deleteSearch.show {
    display: block;
}

.loader {
    border: 8px solid #ccc;
    border-radius: 50%;
    border-top: 8px solid #E21B23;
    width: 28px;
    height: 28px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
    position: absolute;
    top: 12px;
    right: 20px;
}
@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0)
    }
    100% {
        -webkit-transform: rotate(360deg)
    }
}
@keyframes spin {
    0% {
        transform: rotate(0)
    }
    100% {
        transform: rotate(360deg)
    }
}

#map-box {
    height: 616px;
}
@media(max-width:767px) {
    #map-box {
        position: relative;
        padding-bottom: 56.25%;
        height: 0;
        overflow: hidden;
        max-width: 100%;
    }
    #map-box iframe,
    #map-box object {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    .full-width-on-mobile {
        width: 100%;
    }
}


img.branchPin {
    width: 30px;
}

div.error-message {
    background-color: #ED1C24;
    color: #FFFFFF;
}
div.error-message:not(:empty) {
    display: inline-block;
    -ms-flex-item-align: start;
    align-self: flex-start;
}

.overflow-box {
    overflow-y: scroll;
}
.branch-search-results-box {
    height: 616px;
    background-color: #FFFFFF;
}

.branch-search-results-box .branch-search-result-box {
    border-left: 5px solid #FFFFFF;

    -webkit-transition: border-left-color 1000ms linear;
    -moz-transition: border-left-color 1000ms linear;
    -o-transition: border-left-color 1000ms linear;
    -ms-transition: border-left-color 1000ms linear;
    transition: border-left-color 1000ms linear;
}

.branch-search-results-box .branch-search-result-box.highlight {
    border-left: 5px solid #ED1C24;
}

.add-line-separator {
    border-bottom: 1px solid #DCDCDC;
}

.distancePin {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
.distancePin::before {
    content: "";
    width: 12px;
    height: 16px;
    background-image: url('../img/greyDistancePin.svg');
    background-repeat: no-repeat;
    background-size: contain;
    display: inline-block;
    margin-right: 10px;
}

@media(max-width: 767px) {
    .branch-search-results-box {
        height: auto;
    }
    .overflow-box {
        overflow-y: auto;
    }
}


body .overflow-box::-webkit-scrollbar {
    width: 8px;                     /* width of the entire scrollbar */
    border-radius: 4px;
}
body .overflow-box::-webkit-scrollbar-track {
    border-radius: 4px;
    background: #F5F5F5;            /* color of the tracking area */
}
body .overflow-box::-webkit-scrollbar-thumb {
    background-color: #B3B3B3;      /* color of the scroll thumb */
    border-radius: 4px;             /* roundness of the scroll thumb */
    border: 0;                      /* creates padding around scroll thumb */
}
body .overflow-box::-webkit-scrollbar-thumb:hover {
    background: #000;
    border-radius: 4px;
    cursor: hover;
}

form input#postcodeOrAddress {
    margin-bottom: 0 !important;
}

.selected-branch-box,
.highlight-border {
    border: 2px solid #006FFF;
    border-radius: 7px;
}

a#showOrHideMap,
a#showOrHideMap:hover,
a#showOrHideMap:active,
a#showOrHideMap:visited {
    color: #FFFFFF;
}