/* Hack to disable yellow bg color on filled fields and allow js to listen for it  */
@-webkit-keyframes onAutoFillStart { 0% { } 100% { } }
@keyframes onAutoFillStart { 0% { } 100% { } }

input:-webkit-autofill {
    -webkit-animation-name: onAutoFillStart;
    animation-name: onAutoFillStart;
    transition: background-color 50000s ease-in-out 0s;
}

/* End of hack */

#mypa-load,
#mypa-delivery-date-text,
#header-delivery-options-title,
#mypa-delivery-option-form,
#mypa-location-details,
.mypa-message-model,
.woocommerce form .optional {
    display: none;
}

.woocommerce-page form .form-row-third {
    float: left;
    width: 16%;
    overflow: visible;
}

.woocommerce form .form-row-third {
    margin-right: 4%;
}

.woocommerce form .form-row-third.first {
    width: 60%;
}

.woocommerce-page form .form-row-third.last {
    margin-right: 0 !important;
}

@media screen and (max-width: 450px) {
    .woocommerce-page form .form-row-third.first {
        width: 100%;
    }

    .woocommerce-page form .form-row-third {
        width: 48%;
    }
}

#billing_house_number::-webkit-outer-spin-button,
#billing_house_number::-webkit-inner-spin-button,
#shipping_house_number::-webkit-outer-spin-button,
#shipping_house_number::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

#billing_house_number, #shipping_house_number {
    -moz-appearance: textfield;
}

/*
 * Styling delivery options
 */
.mypa-time {
    margin-left: 5px;
}

#mypa-send-per-carrier {
    font-weight: bold;
    width: 100%;
    background-color: transparent;
}

#mypa-delivery-option-form label {
    width: 66%;
}

#mypa-select-date {
    width: 100%;
}

.mypa-error label {
    display: inline-block;
    width: 50%;
}

#mypa-pickup-location-selector li,
#mypa-delivery-option-form li {
    list-style-type: none;
    padding: 2px 0 0 0;
}

#mypa-pickup-location-selector ul:last-child,
#mypa-delivery-option-form ul:last-child {
    margin-top: 10px;
}

#mypa-delivery-option-form label {
    display: inline-block;
    width: 80%;
    margin: 0;
}

#mypa-error-try-again {
    margin-top: 18px;
}

#mypa-delivery-selectors-be div {
    display: block;
    margin-top: 20px;
}

#mypa-delivery-selector li {
    margin: 15px 0 0;
    display: inline-block;
    width: 100%;
    padding: 5px 0 2px 0;
}

.mypa-help {
    color: black;
    text-decoration: none;
}

#mypa-shop-mock {
    margin-top: 500px;
    background-color: #ccc;
    width: 100%;
    margin-bottom: 25px;
}

.mypa-full-width {
    display: inline-block;
    width: 100%;
    margin-bottom: 1px;
    padding-bottom: 2px;
}

#mypa-pickup-location-selector li:nth-last-of-type(-n+2) {
    margin-left: 30px;
}

#mypa-pickup-location {
    width: calc(100% - 25px);
}

#mypa-location-details {
    padding: 20px;
    border: 1px solid black;
    border-radius: 3px;
    min-width: 300px;
    max-width: 400px;
    margin: 5px;
    background-color: white;
}

.mypa-pickup-location-details-location,
.mypa-pickup-location-details-phone,
.mypa-pickup-location-details-city,
.mypa-pickup-location-details-time {
    margin-bottom: 5px;
    display: inline-block;
    width: 65%;
    float: left;
}

.mypa-openings-title {
    width: 200px;
    height: auto;
}

.mypa-pickup-location-details-day {
    display: inline-block;
    width: 30%;
}

.mypa-extra-delivery-options-padding-top {
    padding-top: 10px;
}

.mypa-fa-clock {
    width: 16px;
    margin-bottom: -3px;
}

.mypa-fa-times {
    width: 16px;
    float: right;
}

.mypa-delivery-option-table {
    width: 100%;
}

.mypa-delivery-option-table tr td:first-child {
    white-space: nowrap;
    width: 20px;
}

.mypa-delivery-option input {
    width: 20px;
}

.mypa-delivery-option-table tr td:last-child {
    white-space: nowrap;
    vertical-align: top;
}

.mypa-postnl-logo {
    width: 100px;
    float: right;
    margin: 45px 8px 0 0;
}

.mypa-message-model {
    padding: 20px 0 20px 20px;
    border: 1px solid black;
    border-radius: 3px;
    min-width: 300px;
    background-color: white;
}

#mypa-list-postnl-pickup option {
    padding: 5px 0 5px 0;
}

.mypa-bold-price {
    font-weight: bold;
}

.colorGreen{
    color: green;
}

#mypa-spinner-model {
    position: relative;
    display: table;
    margin: auto auto;
}

#mypa-spinner-model svg {
    position: absolute;
    top: 19%;
    left: 22%;
    width: 62%;
}

#mypa-spinner {
    position: relative;
    display: inline-block;
    width: 90px;
    height: 90px;
    border-top: 3px solid #ff8c00;
    border-radius: 100%;
    animation: mypa-spin 1.2s linear infinite;
}

@keyframes mypa-spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@media only screen and (max-width: 400px) {
    .mypa-delivery-option-table tr {
        height: 30px !important;
    }

    .mypa-postnl-logo {
        float: none;
        margin: 0 100% 0 0;

    }

    .mypa-extra-delivery-options-padding-top {
        padding: 15px 0 10px 0;
    }

    .mypa-pickup-location-details-location, .mypa-pickup-location-details-phone, .mypa-pickup-location-details-city, .mypa-pickup-location-details-time {
        width: 90%;
    }
}