/**
* 2007-2023 Weblir
*
*  @author    weblir <hello@weblir.com>
*  @copyright 2012-2023 weblir
*  @license   https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
*  International Registered Trademark & Property of weblir.com
*
*  You are allowed to modify this copy for your own use only. You must not redistribute it. License
*  is permitted for one Prestashop instance only but you can install it on your test instances.
*/

button.btn.btn-primary.whatsapp-order-button {
    display: block;
    margin: 15px auto;
	padding: .5rem;
}

#product button.btn.btn-primary.whatsapp-order-button {
    margin: 15px;
}

#order-on-whatsapp-form {
	width: auto;
	margin: 20px auto 40px auto;
	text-align: center;
	position: relative;
}

#OrderOnWhatsAppModal .modal-content {
    background-color: rgba(255, 255, 255, 0);
}

#order-on-whatsapp-form label {
    margin: 0;
	color: #eb7025;
    font-family: 'Poppins';
    font-weight: 700;
}

#order-on-whatsapp-form fieldset {
	background: white;
	border: 0 none;
	border-radius: 0px;
	box-shadow: 0 0 15px 1px rgba(0, 0, 0, 0.4);
	padding: 10px 17px;
	box-sizing: border-box;
	width: 115%;
	margin: 0 -8%;
	
	/*stacking fieldsets above each other*/
	position: relative;
}
/*Hide all except first fieldset*/
#order-on-whatsapp-form fieldset:not(:first-of-type) {
	display: none;
}
/*inputs*/
#order-on-whatsapp-form input, #order-on-whatsapp-form textarea {
	padding: 15px;
	border: 1px solid #000;
	border-radius: 0px;
	margin-top: 10px;
	width: 100%;
	box-sizing: border-box;
	font-family: 'Poppins';
	color: #000000;
	font-size: 13px;
}
/*buttons*/
#order-on-whatsapp-form .action-button {
	width: auto;
	background: #eb7025;
	font-weight: bold;
	color: white;
	border: 0 none;
	border-radius: 1px;
	cursor: pointer;
	padding: 10px;
	margin: 10px 5px;
}
#order-on-whatsapp-form .action-button:hover,
#order-on-whatsapp-form .action-button:focus {
	box-shadow: 0 0 0 2px white, 0 0 0 3px #eb7025;
}

#order-on-whatsapp-form #progressbar li.active-step:after {
    background: #000000 !important;
    z-index: 99;
}

/*headings*/
#order-on-whatsapp-form .fs-title {
	font-size: 15px;
	text-transform: uppercase;
	color: #2C3E50;
	margin-bottom: 10px;
}
#order-on-whatsapp-form .fs-subtitle {
	font-weight: 900;
	font-size: 14px;
	color: #eb7025;
	margin-bottom: 20px;
	
}
/*progressbar*/
#order-on-whatsapp-form #progressbar {
	overflow: hidden;
	/*CSS counters to number the steps*/
	counter-reset: step;
	max-width: 50%;
    margin: 0 auto;
}
#order-on-whatsapp-form #progressbar li {
	list-style-type: none;
	color: white;
	text-transform: uppercase;
	font-size: 9px;
	width: 33.33%;
	float: left;
	position: relative;
}
#order-on-whatsapp-form #progressbar li:before {
	content: counter(step);
	counter-increment: step;
	width: 25px;
	line-height: 20px;
	display: block;
	font-size: 16px;
	color: #000;
	background: white;
	border-radius: 0px;
	margin: 0 auto 5px auto;
	border: 1px solid #000000;
}
/*progressbar connectors*/
#order-on-whatsapp-form #progressbar li:after {
	content: '';
	width: 100%;
	height: 2px;
	background: white;
	position: absolute;
	left: -50%;
	top: 9px;
	z-index: -1; /*put it behind the numbers*/
}
#order-on-whatsapp-form #progressbar li:first-child:after {
	/*connector not needed before the first step*/
	content: none; 
}
/*marking active/completed steps green*/
/*The number of the step and the connector before it = green*/
#order-on-whatsapp-form #progressbar li.active:before, 
#order-on-whatsapp-form #progressbar li.active:after{
	background: #eb7025;
	color: white;
}

#order-on-whatsapp-form input.is-empty,
#order-on-whatsapp-form textarea.is-empty,
#order-on-whatsapp-form select.is-empty {
    border: 1px solid #e74c3c;
}

#order-on-whatsapp-form span.warning-message {
    color: #e74c3c;
    font-size: 10px;
    text-align: right;
    display: block;
}

.form-group {
    text-align: left;
}

.whatsapp-order-button {
    background-color: #eb7025;
    padding: .5rem;
    margin-top: 15px;
	color: #ffffff;
}

.whatsapp-order-button:hover {
	background-color: #25d366;
	padding: .5rem;
}

.whatsapp-ordered-products .badge-pill {
    float: right;
    border-radius: 15px;
    padding: 0;
    text-align: center;
    color: #fff;
    font-size: 12px;
    margin-top: -5px;
}

.whatsapp-ordered-products .badge-pill input#wa_product_qty {
    padding: 0;
    margin: 0;
    width: 40px;
    height: 30px;
    text-align: center;
}

#OrderOnWhatsAppModal .modal-header {
	display: none;
}

#order-confirmation-message {
    padding: 40px 20px;
    text-align: center;
    background: #eee;
}

#OrderOnWhatsAppModal .wa-loading:after {
  content: ' .';
  animation: dots 1s steps(5, end) infinite;}

@keyframes dots {
  0%, 20% {
    color: rgba(0,0,0,1);
    text-shadow:
      .25em 0 0 rgba(0,0,0,1),
      .5em 0 0 rgba(0,0,0,1);}
  40% {
    color: white;
    text-shadow:
      .25em 0 0 rgba(0,0,0,1),
      .5em 0 0 rgba(0,0,0,1);}
  60% {
    text-shadow:
      .25em 0 0 white,
      .5em 0 0 rgba(0,0,0,1);}
  80%, 100% {
    text-shadow:
      .25em 0 0 black,
      .5em 0 0 black;}}

#order-on-whatsapp-form .list-group li {
    color: #000;
}

#order-on-whatsapp-form .list-group li.active {
    color: #fff;
	font-weight: 900;
}