#wl-modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 99999; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
}
.wl-modal-overlay{
	position: fixed; /* Stay in place */
	left: 0;
    top: 0;
	bottom: 0;
	right: 0;
/*    width: 100%;  Full width 
    height: 100%;  Full height */
	z-index: 99; /* Sit on top */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
/*.wl-modal-content {*/
.wl-modal-container {
	position: relative;
    background-color: #fefefe;
    margin: 10% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
	border-radius: 32px;
    width: 90%; /* Could be more or less, depending on screen size */
	z-index: 100
}
#wl-modal.success .wl-modal-content,
#wl-modal.error .wl-modal-content{
	padding: 15px;
	border-radius:15px

}
#wl-modal.error .wl-modal-content{
	color: red;
	background: #f2dede;
}
#wl-modal.success .wl-modal-content{
	color: #468847;
	background: #dff0d8;
}
.wl-modal-content a{
	color: var( --e-global-color-accent );
	text-decoration: underline
}

/* The Close Button */
.wl-modal-close {
	--close-font-size: 28px;
    color: #aaa;
    float: right;
    font-size: var(--close-font-size);
	line-height: var(--close-font-size); 
    font-weight: bold;
	margin-top: -10px
}

.wl-modal-close:hover,
.wl-modal-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
.wl-modal-footer{
	display: flex;
	justify-content: space-between
	/*justify-content: space-around*/
}
.wl-modal-footer .wl-calendar-btn{
	/*padding: 6px 12px;*/
	line-height: 1.2em;
	margin-bottom: 10px
}

#wl-modal [aria-busy=true]:not(input):not(select):not(textarea)::before {
	--loading-spinner-opacity: 0.5;
    display: inline-block;
    width: 3em;
    height: 3em;
    /*border: 0.1875em solid currentColor;*/
    border: 0.4875em solid currentColor;
    /*border-radius: 3em;*/
    border-radius: 100%;
    border-right-color: transparent;
    vertical-align: text-bottom;
    vertical-align: -0.125em;
    animation: spinner 0.75s linear infinite;
    content: "";
    opacity: var(--loading-spinner-opacity);
}
.wl-modal-ok{
	display: none
}
#wl-modal.error .wl-modal-ok{
	display: inline-block
}

@keyframes spinner {
	to {
		transform: rotate(360deg);
	}
}

#wl-modal .order-item{
	display: flex;
	align-items: center;
	justify-content: space-around
}
#wl-modal .order-item:nth-child(1n){
	background-color: rgba(0, 0, 0, .01);
}
#wl-modal .order-item:nth-child(2n){
	background-color: rgba(0, 0, 0, .03);
}
.wl-modal-container .remove-item{
	display: block;
	text-decoration: none;	
	text-align: center;
	font-size: 24px;
    padding: 0;
    line-height: 30px;
    width: 30px;
    height: 30px;
    transition: color .2sease, background-color .2sease;
    color: rgba(0, 0, 0, .7);
    margin: 0 auto;
	border-radius: 100%;
}
.wl-modal-container .remove-item:hover{
	background-color: #2b5346;
	color: #fff
}
.delivery_dates_empty{
	display: none;
	color: red;
	margin: 20px 0
}
.delivery_dates_empty.fp-shown{
	display: block
}
.wl-submit-cont{
	text-align: center
}
.wl-submit-order-again{
	background: linear-gradient(273.41deg, #37a03b -61.08%, #2b5346 97.19%);
    background-size: 100% 100%;
    background-position: 0% 50%;
    padding: 15px 35px;
    color: white;
    border-radius: 100px;
    /*display: flex;*/
    gap: 5px;
    align-items: center;
    transition: 200ms;
	cursor: pointer;
	text-align: center
}
@media (max-width: 325px){
	.woocommerce-orders-table__cell-order-actions a:last-of-type{
		margin-top: 10px
	}
}
@media (max-width: 768px){
	.wl-modal-footer,
	#wl-modal .order-item{
		flex-direction: column
	}
	#wl-modal .order-item{
		/*padding-bottom: 10px;*/
		margin-bottom: 10px;
		border-bottom: 1px solid grey
	}
	#wl-modal .order-item>div{
		margin-bottom: 10px
	}
	
	
}
@media (min-width: 768px){

	.wl-modal-container {
		 width: 60%;
	}
	#wl-modal .order-item .item-remove{
		width: 1%
	}
	#wl-modal .order-item .item-img{
		width: 10%
	}
	#wl-modal .order-item .item-img img{
		border-radius: 25px
	}
	#wl-modal .order-item .item-name{
		width: 30%
	}
	#wl-modal .order-item .item-dates{
		width: 40%
	}
	
}
