
.woocommerce-checkout .woocommerce form .form-row label,
.woocommerce-checkout .form-row label {
  font-size: 20px;
  line-height: 1.35;
}
.apl-short-2 input { max-width: 90px; }
.apl-short-cap input { max-width: 110px; }
.apl-short-phone input { max-width: 180px; }
.apl-email-pair input { width: 100%; }

.apl-short-cf input { max-width: 280px; }

#billing_country_field {
  display: none !important;
}

#billing_city_field,
#billing_postcode_field,
#billing_state_field {
  float: left;
  clear: none;
}
#billing_city_field {
  clear: both;
  width: 48%;
  margin-right: 4%;
}
#billing_postcode_field {
  width: 18%;
  margin-right: 4%;
}
#billing_state_field {
  width: 18%;
  margin-right: 0;
}
#billing_city_field input,
#billing_postcode_field input,
#billing_state_field input {
  width: 100%;
}

#apl_codice_fiscale_field,
#billing_phone_field {
  float: left;
  clear: none;
}
#apl_codice_fiscale_field {
  clear: both;
  width: 38%;
  margin-right: 4%;
}
#billing_phone_field {
  width: 28%;
}
#apl_codice_fiscale_field input,
#billing_phone_field input {
  width: 100%;
}

@media (max-width: 767px) {
  #billing_city_field,
  #billing_postcode_field,
  #billing_state_field,
  #apl_codice_fiscale_field,
  #billing_phone_field {
    float: none;
    clear: both;
    width: 100%;
    margin-right: 0;
  }
  .apl-short-cf input,
  .apl-short-phone input,
  .apl-short-cap input,
  .apl-short-2 input {
    max-width: 100%;
  }
}


#billing_phone_field { text-align:left !important; }
#billing_phone_field label,
#billing_phone_field .woocommerce-input-wrapper { text-align:left !important; }
#billing_phone_field { justify-content:flex-start !important; }

.woocommerce-checkout #payment ul.payment_methods li label,
.woocommerce-checkout #payment .payment_method label,
#payment ul.payment_methods li label {
  font-size: 18px;
  line-height: 1.4;
}


/* Newsletter: font più grande */
#apl_newsletter_field label,
#apl_newsletter_field span,
#apl_newsletter_field { font-size: 16px; line-height: 1.35; }
.apl-checkout-version { display: none; margin: 4px 0 12px; color: #555; font-size: 14px; line-height: 1.4; }
.apl-checkout-version.apl-checkout-version--ready { display: block; }
.apl-readonly-province input,
.apl-readonly-province select,
#apl_provincia_nascita,
#billing_state,
.apl-province-locked {
  background: #f7f7f7;
  pointer-events: none;
  caret-color: transparent;
}
#billing_state_field .select2-selection,
#billing_state_field .select2-container {
  pointer-events: none;
}
#billing_state_field .select2-selection {
  background: #f7f7f7;
}

.apl-payment-notice {
  margin: 12px 0 0;
  padding: 12px 14px;
  border-radius: 6px;
  border: 1px solid #ead37a;
  font-size: 14px;
  line-height: 1.5;
}
.apl-payment-notice--warning {
  background: #fff8dc;
  border-color: #ead37a;
  color: #5b4a00;
}


/* Gateway descriptions: usa il testo WooCommerce e differenzia i box */
#payment .payment_box.payment_method_bacs,
.woocommerce-checkout #payment .payment_box.payment_method_bacs {
  background: #fff8dc;
  border: 1px solid #ead37a;
  border-left: 4px solid #d9b200;
  border-radius: 6px;
  color: #5b4a00;
}
#payment .payment_box.payment_method_bacs::before,
.woocommerce-checkout #payment .payment_box.payment_method_bacs::before {
  border-bottom-color: #fff8dc;
}
#payment .payment_box.payment_method_bacs p,
#payment .payment_box.payment_method_bacs,
.woocommerce-checkout #payment .payment_box.payment_method_bacs p,
.woocommerce-checkout #payment .payment_box.payment_method_bacs {
  color: #5b4a00;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.55;
}

#payment .payment_box.payment_method_apl_payroll,
.woocommerce-checkout #payment .payment_box.payment_method_apl_payroll {
  background: #eef9ef;
  border: 1px solid #a7d4aa;
  border-left: 4px solid #5aa35f;
  border-radius: 6px;
  color: #1f5b2a;
}
#payment .payment_box.payment_method_apl_payroll::before,
.woocommerce-checkout #payment .payment_box.payment_method_apl_payroll::before {
  border-bottom-color: #eef9ef;
}
#payment .payment_box.payment_method_apl_payroll p,
#payment .payment_box.payment_method_apl_payroll,
.woocommerce-checkout #payment .payment_box.payment_method_apl_payroll p,
.woocommerce-checkout #payment .payment_box.payment_method_apl_payroll {
  color: #1f5b2a;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.55;
}

.apl-registro-results {
  position: relative;
  margin-top: 6px;
  width: 100%;
  z-index: 9999;
  max-height: 240px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #ccd0d4;
  border-radius: 4px;
  box-shadow: 0 6px 14px rgba(0,0,0,.08);
}
.apl-registro-empty {
  padding: 10px 12px;
  color: #666;
  font-size: 14px;
}
.apl-registro-item {
  display: block;
  width: 100%;
  text-align: left;
  background: #fff;
  border: 0;
  border-bottom: 1px solid #eef0f1;
  padding: 10px 12px;
  cursor: pointer;
  font-size: 18px;
  line-height: 1.45;
}
.apl-registro-item:last-child { border-bottom: 0; }
.apl-registro-item:hover,
.apl-registro-item:focus,
.apl-registro-item.is-active {
  background: #eef4ff;
}

.apl-short-cap input[readonly],
#billing_postcode[readonly] {
  background: #f7f7f7;
}

.apl-geo-results {
  position: relative;
  margin-top: 6px;
  width: 100%;
  z-index: 9999;
  max-height: 240px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #ccd0d4;
  border-radius: 4px;
  box-shadow: 0 6px 14px rgba(0,0,0,.08);
}
.apl-geo-empty {
  padding: 10px 12px;
  color: #666;
  font-size: 14px;
}
.apl-geo-item {
  display: block;
  width: 100%;
  text-align: left;
  background: #fff;
  border: 0;
  border-bottom: 1px solid #eef0f1;
  padding: 10px 12px;
  cursor: pointer;
  font-size: 18px;
  line-height: 1.45;
}
.apl-registro-item__meta {
  display: block;
  font-size: 14px;
  color: #666;
  margin-top: 2px;
}
.apl-geo-item__label,
.apl-registro-item__label {
  font-size: 18px;
  line-height: 1.45;
}
.apl-geo-item:last-child { border-bottom: 0; }
.apl-geo-item:hover,
.apl-geo-item:focus,
.apl-geo-item.is-active {
  background: #eef4ff;
}
.apl-geo-item__meta {
  display: block;
  font-size: 14px;
  color: #666;
  margin-top: 2px;
}

/* 3.2.5 */
.woocommerce-checkout #payment .wc_payment_method > label,
.woocommerce-checkout #payment .payment_method_paypal > label,
.woocommerce-checkout #payment .payment_method_stripe > label {
  font-size: 18px;
}

.apl-registro-item__label,
.apl-geo-item__label {
  font-size: 18px;
}


/* 2.6.10: evita il ritorno a capo dell'etichetta Bonifico bancario */
.woocommerce-checkout #payment .payment_method_bacs > label,
.woocommerce-checkout #payment li.payment_method_bacs label,
#payment li.payment_method_bacs label {
  white-space: nowrap;
  display: inline-block;
  width: auto !important;
  max-width: none;
}
