/*
 * Custom style goes here.
 * A template should always ship with an empty custom.css
 */

 .available-in-stock{
    color: #ffffff !important;
    background: #46B64F !important;
    display: block!important;
    font-size: 13px;
    width: 180px;
    text-align: center;
    padding: 2px 7px;
    margin-left: 10px;
 }

 .bookable{
     background-color: #fe9126;
     color: #ffffff!important;
     font-size: 13px;
     padding: 2px 7px;
     width: 180px;
     text-align: center;
     display: block!important;
     margin-left: 10px;
 }


 .label-top{
    margin-top: 15px;
 }


 #alert-msg-qty{
   background: #fe9126;
   padding: 5px 10px;
   font-size: 13.4px;
   font-weight: 300;
   text-align: left;
   color:white;
 }







/* Campi personalizzati */
.g_customfields_content .form-group.checkbox_box, .g_customfields_content #g_customfields_10 .html_box {
   margin-bottom: 0; 
}

.g_customfields_content #g_customfields_10 .html_box p {
   margin-top: -28px;
   margin-bottom: 0;
}

.g_customfields_content #g_customfields_10 .html_box p a {
   color: #c30c0c;
   text-decoration: underline; 
}

.g_customfields_content #g_customfields_10 .html_box {
   margin-left: 24px;
}

.page-authentication .g_customfields_content .form-group.checkbox_box {
   display: flex;
}

.page-authentication .g_customfields_content .form-group.checkbox_box .checkbox_item_wp {
   order: 1;
   margin-top: 2px;
}

.page-authentication .g_customfields_content .form-group.checkbox_box label {
   order: 2;
   text-align: left;
   font-weight: 400;
   padding: 0;
}

.page-authentication .g_customfields_content .form-group.checkbox_box .help-block {
   order: 3;
   margin-top: 0;
}

/* Nascondi l’input nativo */
.page-authentication .g_customfields_content .checkbox_item_wp input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

/* Finto checkbox */
.page-authentication .g_customfields_content .checkbox_item_wp label {
  display: inline-block;
  width: 16px;               /* dimensione del box */
  height: 16px;
  border: 1px solid #c7c7c7; /* bordo iniziale */
  border-radius: 0;          /* quadrato */
  background-color: #fff;    /* sfondo default */
  position: relative;
  cursor: pointer;
  margin-right: 8px; 
}

/* Sfondo quando selezionata */
.page-authentication .g_customfields_content .checkbox_item_wp input:checked + label {
  background-color: #c30c0c; /* colore interno quando selezionata */
  border-color: #c30c0c;     /* bordo dello stesso colore */
}

/* Spunta (tick) */
.page-authentication .g_customfields_content .checkbox_item_wp input:checked + label::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 8px;
  border: solid #fff;      /* colore spunta bianco */
  border-width: 0 2px 2px 0;
  transform: translate(-50%, -60%) rotate(45deg);
}

.formbuilder_group {
   margin-bottom: 0;
}

#authentication #g_customfields_content_box_6, #authentication #g_customfields_content_box_7 {
   margin-bottom: 1.25rem;
}



/* Aumento larghezza checkobx nella pagina di registrazione */
#authentication #g_customfields_content_box_6 {
   margin-top: 2.5rem;
}

#authentication .form-group.row.optin > label, #authentication .form-group.row.optin > div {
   flex: 0 0 100%;
   max-width: 100%;
}

#authentication .form-group.row.newsletter > label, #authentication .form-group.row.newsletter > div  {
   flex: 0 0 100%;
   max-width: 100%;
}

#authentication .form-group.row.psgdpr > label, #authentication .form-group.row.psgdpr > div {
   flex: 0 0 100%;
   max-width: 100%;
}

#authentication .form-group a {
   color: #c30c0c;
   text-decoration: underline;
}