.wpfm-padding-none {
    padding: 0;
}
.wpfm-modal.wpfm-add-delivery-popup .wpfm-modal-content-wrapper {
    max-width: 400px;
    width: calc(100% - 30px);
    top: 50%;
    transform: translate(-50%, -50%);
    margin: 0 !important;
}



/*Modal CSS Start*/

.wpfm-modal-open {
    overflow: hidden
}

.wpfm-modal {
    left: 0;
    margin: 0;
    opacity: 0;
    position: fixed;
    top: 0;
    visibility: hidden;
    width: 100%;
    overflow: auto;
    height: 100%;
    box-sizing: border-box;
    z-index: 998;
    transition: .5s
}

.wpfm-modal.wpfm-modal-open {
    top: 0;
    visibility: visible;
    opacity: 1;
}

.wpfm-modal .wpfm-modal-content-wrapper {
    box-shadow: 0 3px 10px rgba(0,0,0,.25);
    background: var(--wpfm-white-color)!important;
    display: inline-block;
    position: relative;
    z-index: 1000;
    width: 80%;
    max-width: 700px;
    left: 50%;
    transform: translate(-50%,0);
    border-radius: 4px;
    margin-top: 0;
    margin-bottom: 50px;
    transition: .5s
}

.wpfm-modal.wpfm-modal-open .wpfm-modal-content-wrapper {
    margin-top: 100px
}

.wpfm-modal .wpfm-modal-overlay {
    background-color: var(--wpfm-dark-color);
    background: rgba(0,0,0,.5);
    height: 100%;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999
}

.wpfm-modal .wpfm-modal-content-wrapper .wpfm-modal-header {
    border-bottom: 1px solid var(--wpfm-gray-border-color);
    height: 50px;
    line-height: 50px;
    position: relative;
    padding: 5px 20px
}

.wpfm-modal .wpfm-modal-content-wrapper .wpfm-modal-header .wpfm-modal-header-title {
    width: calc(100% - 30px)
}

.wpfm-modal .wpfm-modal-content-wrapper .wpfm-modal-header .wpfm-modal-header-title .wpfm-modal-header-title-text {
    font-size: 20px;
    line-height: 42px;
    font-weight: 700;
    color: var(--wpfm-dark-color);
    margin: 0;
    padding: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical
}

.wpfm-modal .wpfm-modal-content-wrapper .wpfm-modal-header .wpfm-modal-header-close {
    position: absolute;
    height: 25px;
    width: 25px;
    top: 50%;
    transform: translate(0,-50%);
    right: 15px;
    text-align: center;
    line-height: normal;
    font-size: 0
}

.wpfm-modal .wpfm-modal-content-wrapper .wpfm-modal-header .wpfm-modal-header-close .wpfm-modal-close {
    height: 25px;
    width: 25px;
    display: inline-block;
    position: relative;
    opacity: .3;
    transition: .2s;
    background: transparent !important;
    border: 0;
    padding: 0;
    font-size: 0;
}

.wpfm-modal .wpfm-modal-content-wrapper .wpfm-modal-header .wpfm-modal-header-close .wpfm-modal-close::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%) rotate(45deg);
    height: 20px;
    width: 2px;
    background: var(--wpfm-dark-color)
}

.wpfm-modal .wpfm-modal-content-wrapper .wpfm-modal-header .wpfm-modal-header-close .wpfm-modal-close::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%) rotate(-45deg);
    height: 20px;
    width: 2px;
    background: var(--wpfm-dark-color)
}

.wpfm-event-filter2 .wpfm-my-location:hover,.wpfm-modal .wpfm-modal-content-wrapper .wpfm-modal-header .wpfm-modal-header-close .wpfm-modal-close:hover {
    opacity: 1
}

.wpfm-modal .wpfm-modal-content-wrapper .wpfm-modal-content {
    padding: 20px
}

.wpfm-modal .wpfm-modal-content-wrapper .wpfm-modal-content iframe {
    max-width: 100%;
    max-height: 400px
}


.wpfm-main-delivery-type label {
    margin-bottom: 5px;
    display: inline-block;
}
.wpfm-main-delivery-type .field label {
    font-size: 20px;
    margin-right: 10px;
    user-select: none;
}
.wpfm-main-delivery-type .field label input {
    width: 15px;
}
.wpfm-main-delivery-type .field label input[checked="checked"] {
    font-weight: bold;
}

.wpfm-location-container {
position: relative;
}
.wpfm-location-container .fb-locate-me {
position: absolute;
bottom: calc(50% - 24px);
right: 10px;
}
.wpfm-location-container input {
padding-right: 35px !important;
}

@media (max-width: 575px){
    .wpfm-modal .wpfm-modal-content-wrapper .wpfm-modal-header .wpfm-modal-header-title .wpfm-modal-header-title-text{
        font-size: 16px;
    }
}

/*Modal CSS End*/


.woocommerce-input-wrapper {
    display: flex;
    align-items: center;
    font-size: 20px;
    margin-right: 10px;
    user-select: none;
}
.woocommerce-input-wrapper label {
    margin-right: 15px;
    margin-left: 5px;
    margin-bottom: 0px;
}
.woocommerce-input-wrapper input {
    margin-top: 0;
}
.wpfm-main-delivery-type label span.require-field {
    color: red;
}


.wpfm-order-checkout-button-group {
    display: flex;
    flex-wrap: wrap;
}
.wpfm-order-checkout-button-group a.wpfm-theme-button {
    margin-right: 10px;
    margin-bottom: 10px
}
.wpfm-main .delivery_action {
    position: relative;
}
.wpfm-main .delivery_action .order_status_update_wrap {
    position: absolute;
    right: 10px;
    top: calc(100% - 20px);
    z-index: 1;
    background-color: var(--wpfm-gray-bg-color);
    border: 1px solid var(--wpfm-gray-border-color);
    border-radius: 4px;
    padding: 10px;
    display: none;
}
.wpfm-main .delivery_action .order_status_update_wrap select {
    border: 1px solid var(--wpfm-gray-border-color);
    font-size: 14px;
    padding: 5px;
    border-radius: 4px;
    margin-bottom: 5px;
}
.wpfm-main .delivery_action .order_status_update_wrap .wpfm-theme-button {
    border: 0;
    font-size: 14px;
    border-radius: 4px;
    padding: 5px 10px;
    font-weight: 500;
    text-transform: inherit;
    margin: 0;
    cursor: pointer;
}

.wpfm-main .delivery_action .order_status_update_wrap .order-status-update-notice .true{
    color: green;
    line-height: normal;
    margin-top: 5px;
}

.wpfm-main .delivery_action .order_status_update_wrap .order-status-update-notice .false{
    color: red;
    line-height: normal;
    margin-top: 5px;
}


.wpfm-form-wrapper .wpfm-form-group .wpfm-food-delivery-dashboard-order-status-dropdown {
    min-width: 150px;
}
.wpfm-form-wrapper .wpfm-form-group .wpfm-food-delivery-dashboard-order-status-dropdown select {
    padding: 0px 10px;
    height: 38px;
    line-height: 38px;
    font-size: 14px;
    font-weight: 500;
}




.wpfm-add-delivery-popup input::-webkit-outer-spin-button,
.wpfm-add-delivery-popup input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.wpfm-add-delivery-popup input[type=number] {
  -moz-appearance: textfield;
}



.woocommerce-orders-table__cell-order-actions .woocommerce-button.button {
    margin-right: 5px;
    margin-bottom: 2.5px;
    margin-top: 2.5px;
    white-space: nowrap;
}


.wpfm-food-cat-text {
    padding: 4px 6px;
    border-radius: 4px;
    line-height: normal;
}
.wpfm-tip-selector {
  display: flex;
  gap: 10px;
}

.wpfm-tip-bar {
  padding: 5px 25px;
  background-color: var(--wpfm-gray-bg-color);
  border: 1px solid var(--wpfm-gray-border-color);
  cursor: pointer;
  transition: background-color 0.3s;
  white-space: nowrap;
}

.wpfm-tip-bar.selected {
  background-color: var(--wpfm-primary-color);
  color: var(--wpfm-white-color);
}

.wpfm-tip-bar:hover {
  background-color: var(--wpfm-primary-color);
  color: var(--wpfm-white-color);
}

#delivery_tip_field .woocommerce-input-wrapper {
    display: none;
}

.wpfm-location-icon-fixed {
    display: none;
    position: fixed;
    right: 15px;
    top: 59%;
    z-index: 99;
}
.wpfm-location-icon-fixed p.wpfm-location-icon {
    background-color: var(--wpfm-primary-color);
    color: #fff !important;
    position: relative;
    width: 50px;
    height: 50px;
    text-align: center;
    line-height: 50px;
    border-radius: 4px;
    box-shadow: 2px 2px 4px rgb(0 0 0 / 10%);
    cursor: pointer;
    font-size: 20px;
    display: block;
    display: flex;
    align-items: center;
    justify-content: center;
}

#wpfm_add_delivery_popup {
    z-index: 999!important;
}

.woocommerce-checkout .wpfm-tip-selector {
    margin-bottom: 20px;
}
.wpfm-loader img {
    width: 20px;
    height: 20px;
}

.wpfm-delivery-discount-notice span, .wpfm-pickup-discount-notice span {
    color: var(--wpfm-primary-color);
    padding: 10px;
    border: 2px solid;
    border-radius: 10px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 15px;
    display: block;
}

/*Delivery Popup Start*/
.wpfm-delivery-tabs {
    background-color: var(--wpfm-gray-bg-color);
    padding: 10px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.wpfm-delivery-tab {
    width: 100%;
    text-align: center;
    cursor: pointer;
    padding: 10px;
    border-radius: 6px;
    font-weight: 500;
    color: var(--wpfm-gray-color);
}
.wpfm-delivery-tab-active {
    background-color: #fff;
    color: var(--wpfm-dark-color);
}
.wpfm-delivery-popup-wrapper .wpfm-heading-text {
    margin: 0;
    font-size: 18px;
    font-weight: 500 !important;
}
.wpfm-restaurant-location-link span {
    display: block;
}
.wpfm-restaurant-location-link p {
    color: var(--wpfm-gray-color);
}
.wpfm-delivery-popup-wrapper .wpfm-delivery-popup-gray-link {
    text-decoration: underline;
    font-size: 14px;
    float: right;
    color: var(--wpfm-gray-color) !important;
    font-weight: normal;
}
.wpfm-delivery-popup-wrapper .wpfm-delivery-popup-gray-link:hover {
    text-decoration: underline;
    color: var(--wpfm-dark-color) !important;
}

.wpfm-delivery-zip-code-dropdown {
    position: absolute;
    top: 30px;
    right: 0;
    background-color: #fff;
    z-index: 1;
    box-shadow: -4px 4px 10px rgb(0 0 0 / 10%);
    min-width: 160px;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid var(--wpfm-gray-border-color);
    max-height: 220px;
    overflow: auto;
}
.wpfm-delivery-zip-code-dropdown ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.wpfm-delivery-zip-code-dropdown ul li {
    margin: 0;
    padding: 0;
}
.wpfm-delivery-zip-code-dropdown ul li a {
    color: var(--wpfm-gray-color);
    padding: 10px;
    display: block;
    line-height: normal;
    transition: all 0.3s 0s;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 4px;
}
.wpfm-delivery-zip-code-dropdown ul li a:hover {
    background-color: var(--wpfm-gray-bg-color);
}
.wpfm-delivery-zip-code-dropdown ul li a:after {
    content: "\ea10";
    font-family: wpfm-restaurant-manager !important;
    font-size: 12px;
    opacity: 0;
    transition: all 0.3s 0s;
}
.wpfm-delivery-zip-code-dropdown ul li a:hover:after {
    opacity: 1;
}


/* Custom Radio Button Start */
.wpfm-delivery-label-container {
    display: block;
    position: relative;
    cursor: pointer;
    user-select: none;
    border-bottom: 1px solid var(--wpfm-gray-border-color);
    padding: 12px 0px 12px 30px;
}
.wpfm-delivery-label-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}
.wpfm-checkmark {
    position: absolute;
    top: calc(50% - 12px);
    left: 0;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    border: 2px solid var(--wpfm-gray-border-color);
}
.wpfm-delivery-label-container input:checked ~ .wpfm-checkmark {
    border-color: var(--wpfm-primary-color);
}
.wpfm-checkmark:after {
    content: "";
    position: absolute;
    display: none;
}
.wpfm-delivery-label-container input:checked ~ .wpfm-checkmark:after {
    display: block;
}
.wpfm-delivery-label-container .wpfm-checkmark:after {
    top: 3px;
    left: 3px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--wpfm-primary-color);
}

.wpfm-delivery-label-container .wpfm-delivery-est-time {
    float: right;
    color: var(--wpfm-gray-color);
}
.wpfm-delivery-label-container:last-of-type {
    border: 0;
}
/* Custom Radio Button End */


/*Delivery Popup End*/

.wpfm-add-delivery-popup.wpfm-modal-open .wpfm-delivery-type-label, .wpfm-add-delivery-popup.wpfm-modal-open #delivery_fields {
    display: none;
}

#ui-datepicker-div {
    z-index: 9999999999 !important;
}

.woocommerce-checkout .wpfm-delivery-loader {
    position: fixed !important;
}
.wpfm-delivery-loader {
    width: 30px;
    height: 30px;
    animation: 1s linear infinite spin;
    margin: auto;
    top: 40%;
    z-index: 99999 !important;
    position: absolute;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #000;
    border-radius: 50%;
    right: 45%;
}