.packstation-hidden {
    display: none;
}

/*
 * Hide Packstation finder placeholder input field
 */
#packstation_finder_placeholder_field input {
    display: none;
}

#packstation_finder_placeholder_field label {
    opacity: 1 !important;
    padding: 0px 20px;
    /*background: #13388c;*/
    color: #FFF;
    cursor: pointer;
}

#packstation-finder {
    background: none;
    cursor: pointer;
}

#packstation_finder_placeholder {
    height: 1px;
}

#packstation_finder_placeholder_field {
    margin: 0px;
    height: 52px;
}

#packstation_finder_placeholder_field span.optional, #packstation_customer_number_field span.optional, #packstation_packstation_number_field span.optional {
    display: none;
}

/*
 * Popup style
 */
#packstation-finder-address {
    display: flex;
    align-item: center;
}

#derweili-packstation-popup-bg {
    display: none;
    background: rgba(0, 0, 0, 0.8);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
}

#packstation-finder-address-input {
    margin-left: 20px;
}

#derweili-packstation-popup {
    display: none;
    width: 100%;
    max-width: 640px;
    margin-top: 100px;
    position: fixed;
    top: 0;
    left: 50%;
    -moz-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    background: white;
    padding: 40px;
    z-index: 1000;
}

#derweili-packstation-popup.visible, #derweili-packstation-popup-bg.visible {
    display: block;
}

#derweili-packstation-popup .results {
    max-height: 300px;
    overflow-y: scroll;
}

#derweili-packstation-popup .results:not(:empty) {
    border: 1px solid grey;
    padding: 10px;
}

#derweili-packstation-popup .result {
    display: flex;
    justify-content: space-between;
    align-content: center;
    padding-bottom: 20px;
}

#derweili-packstation-popup .result:not(:last-child) {
    border-bottom: 1px solid;
    margin-bottom: 20px;
}

.loader {
    width: 40px;
    height: 40px;
    margin: 20px auto;
    animation-name: loaderrotate;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    background-size: contain;
    background-repeat: no-repeat;
}

.loader .fa {
    font-size: 40px;
}

@keyframes loaderrotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.packstation-label {
    display: inline-block;
    height: 0.8em;
    width: 7.1em;
    max-width: 100%;
    background-image: url("../images/packstation-logo.png");
    background-repeat: no-repeat;
    background-size: contain;
}

.packstation-label > span {
    display: none;
}

a.set-packstation-button {
    color: #FFF !important;
    cursor: pointer;
}

a.set-packstation-button {
    display: inline-block;
    line-height: 1.6;
    font-size: inherit;
    color: #fff;
    padding: .75rem 1.75rem;
    border: 2px solid transparent;
    text-align: center;
    opacity: 1;
    background: #282828;
    -webkit-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
    will-change: transform;
    border-radius: 25px;
}

a#packstation-finder {
    background: black;
    padding: 10px;
    border-radius: 15px;
    color: white;
}
