.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% - 8px);
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;
}
