.checkout .optional
,.woocommerce-address-fields .optional{
  display: none;
}

#ui-datepicker-div{
  background-color: #fff;
}

#beneficiario_terzo_field{
  position: relative;
  padding: 0 0 30px 0;
}

#beneficiario_terzo_field #fattura-notice{
  position: absolute;
  display: block;
}

.compila-allievo input[name="allievi_collegati[]"]{
  display: none;
}

#billing_celiaco_field label.radio
,#celiaco_field label.radio{
  display: inline-block;
  margin: 0 10px 0 5px;
}

.group-allievo .compila-allievo{
  padding: 10px;
  background-color: #eee;
  border: 1px solid #ccc;
  text-align: center;
  font-weight: 800;
  text-transform: uppercase;
}

.group-allievo .compila-allievo > fieldset{
  padding: 0;
}

div.compila-allievo.compila-allievo > fieldset > label {
    display: flex;
    margin: 0 !important;
    cursor: pointer;
    padding: 5px !important;
    background-color: #244fa9;
    color: #fff;
    font-weight: 700 !important;
    text-transform: uppercase;
}

div.compila-allievo.compila-allievo input[onclick="svuotaAllievo()"]{
  display: flex;
  margin: auto;
  background-color: #ed1d24;
}

.woocommerce p.form-row:not(.input-checkbox):not(#account_username_field){
  min-height: 90px;
}

.select2-dropdown{
  -webkit-box-shadow: 4px 9px 21px -4px rgba(0,0,0,0.75);
  -moz-box-shadow: 4px 9px 21px -4px rgba(0,0,0,0.75);
  box-shadow: 4px 9px 21px -4px rgba(0,0,0,0.75);
}

/*DATEPICKER*/
div#ui-datepicker-div td.ui-datepicker-week-end {
    background-color: #e2171754;
}

div#ui-datepicker-div .ui-datepicker-calendar thead {
    background-color: #eee;
}

div#ui-datepicker-div .ui-datepicker-calendar td {
    text-align: center;
}

div#ui-datepicker-div {
  -webkit-box-shadow: 4px 9px 21px -4px rgba(0,0,0,0.75);
  -moz-box-shadow: 4px 9px 21px -4px rgba(0,0,0,0.75);
  box-shadow: 4px 9px 21px -4px rgba(0,0,0,0.75);
  padding: 5px 10px;
  background-color: #fff;
}

div#ui-datepicker-div select.ui-datepicker-month,select.ui-datepicker-year {
  background-color: #fff;
}

div#ui-datepicker-div a.ui-datepicker-next.ui-corner-all {
  float: right;
}

div#ui-datepicker-div .ui-datepicker-title {
  text-align: center;
}

div#ui-datepicker-div td[data-handler="selectDay"]:hover {
  background-color: #ed1c24;
  cursor: pointer;
}

div#ui-datepicker-div a.ui-state-default:hover {
  color: #fff;
}

div#ui-datepicker-div a.ui-state-default {
  color: #333;
}

div#ui-datepicker-div td.ui-datepicker-other-month.ui-datepicker-unselectable.ui-state-disabled {
  background-color: #eeeeee2e;
}

div#ui-datepicker-div td:hover >a.ui-state-default {
  color: #fff;
}

div#ui-datepicker-div a.ui-datepicker-next.ui-corner-all,div#ui-datepicker-div a.ui-datepicker-prev.ui-corner-all {
  text-decoration: underline;
}


.checkout .woocommerce-account-fields {
    order: 1;
}

.checkout .woocommerce-billing-fields {
    order: 2;
}

.checkout .woocommerce-shipping-fields {
    order: 3;
}

.checkout .woocommerce-additional-fields {
    order: 4;
}

.checkout div#customer_details > .col-1 {
    display: flex;
    flex-direction: column;
}

.checkout p#account_username_field {
    margin-bottom: 10px !important;
}

a.genera-mail {
    background: none;
    color: #1a2447;
    padding: 0;
    margin: 0;
    border: 0;
    text-decoration: underline;
}

.woocommerce .form-row{
  position: relative;
}

.woocommerce .pw_spinning_loader{
  position: absolute;
  width: 100%;
  top: 0;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #d0d0d094;
}

.woocommerce-order-received .woocommerce-order{
  text-align:center;
}

/* PWS#XXX-1 */
.pw_notice{
  padding: 10px;
  background-color: #f3828263;
}

/* START PWS#XXX-MERCHANDISING-PUBBLICATO */
p.spedizione-notice {
  font-weight: 600;
  text-decoration: underline;
  order: 3;
  margin: 10px 0 5px 0;
}

.woocommerce-shipping-totals.woocommerce-shipping-totals{
  display:table-row !important;
}

.woocommerce-shipping-totals > td,
.woocommerce-shipping-totals > th {
  display: table-row;
}
/* END PWS#XXX-MERCHANDISING-PUBBLICATO */

/* START PWS#121 */
.acquisto_rapido .woocommerce-checkout #customer_details .form-row
, .acquisto_rapido .woocommerce-checkout #customer_details #dati-allievo{
  display: none !important;
}

.acquisto_rapido .woocommerce-checkout #customer_details .form-row.input-checkbox
,.acquisto_rapido .woocommerce-checkout #customer_details .form-row.text-allergie{
  display: block !important;
}
/* END PWS#121 */
