/* Make the number input arrows visible at all times */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    opacity: .7 !important;
    width: 40px!important;
    height: 30px; 
    padding: 5px 25px 5px 5px; 
}

#ella_acf_adjustment_warning {
    text-align: center;  
	  margin-bottom:5%;
	  margin-top: -2%;
}

#reset_main_dimensions:hover, #reset_custom_dimensions:hover {
  color: #344ea3;
}


#reset_main_dimensions, #reset_custom_dimensions {
	color: #4A6CD8;
	text-align: right;
	font-size: 16px;
    display: block;
    float: right!important;
  	margin-top:-3%;
}

.ella-acf-field {
    flex: 1;
    min-width: 0;
	  text-align:center;
}

.ella-acf-field input {
    width: 100%;
	  text-align: center;
	  font-size: 20px;
}

.ella-acf-field-price {
    flex: 1;
    margin-left: 10px;
    font-size: 1.5em;
    display: flex;
    align-items: center;
}

@media (max-width: 768px) {
	
	.ella-acf-field-price {
  margin-top: -4%;
}
	
	#ella_acf_adjustment_warning {
    text-align: center;  
	  margin-bottom:5%;
	  margin-top: 1%;
}
	
	#reset_main_dimensions, #reset_custom_dimensions {
		margin-top: 5%!important;
		
	}
	
	#reset_custom_dimensions {
		margin-bottom: 10%;;
	}

    .ella-acf-fields-row {
        flex-wrap: wrap;
    }

    .ella-acf-field-price {
        flex: 1 0 100%!important;
        justify-content: center;
        margin-left: 0; 
    }
    .ella-acf-field-price + .adjustment-warning {
        order: -1;
        margin-bottom: 10px; 
    }
}

#custom_price_display.loading {
    animation: strong-pulse 1.5s infinite;
}

@keyframes strong-pulse {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.08);
    }
}


.woocommerce-Price-amount.loading{
	    animation: strong-pulse2 1.5s infinite;
}

@keyframes strong-pulse2 {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.03);
    }
}