/* Stili per la modal */
.cf-corsi-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    z-index: 999 !important; 
}
.cf-corsi-modal.active {
    display: flex !important;
}



.cf-corsi-modal-content {
    background-color: #fff;
    padding: 20px 20px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 600px;
    max-height: 90%;
    overflow-y: auto;
}

@media (max-width: 600px) {
  .cf-corsi-modal-content {
  max-width: 300px;
  }
}

.cf-corsi-modal-content h6 {
  text-align: center;
  color: #49b7de !important;
  font-size: 1.4rem;
  margin: 0 0 1rem 0;
}



/* login-registro.css */

.login-reg-form {
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
  }
  
  .login-reg-form input[type="text"],
  .login-reg-form input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
  }
  
  .login-reg-form button {
    background-color: #0073aa;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }
  
  .login-reg-form button:hover {
    background-color: #005d85;
  }
  



  /* ROW */
  .cf-row {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-gap: 20px;
  }
  .cf-row,   .cf-row *{
    box-sizing: border-box;
  }
  
  [class^="col-"] {
    grid-column: span 12
  }

  .col-12 {
    grid-column: span 12
  }
  
  .col-11 {
    grid-column: span 11;
  }
  
  .col-10 {
    grid-column: span 10
  }
  
  .col-9 {
    grid-column: span 9
  }
  
  .col-8 {
    grid-column: span 8
  }
  
  .col-7 {
    grid-column: span 7
  }
  
  .col-6 {
    grid-column: span 6
  }
  
  .col-5 {
    grid-column: span 5
  }
  
  .col-4 {
    grid-column: span 4
  }
  
  .col-3 {
    grid-column: span 3
  }
  
  .col-2 {
    grid-column: span 2
  }
  
  .col-1 {
    grid-column: span 1
  }
  
  @media (min-width: 768px) {
    .col-sm-12 {
      grid-column: span 12
    }
  
    .col-sm-11 {
      grid-column: span 11;
    }
  
    .col-sm-10 {
      grid-column: span 10
    }
  
    .col-sm-9 {
      grid-column: span 9
    }
  
    .col-sm-8 {
      grid-column: span 8
    }
  
    .col-sm-7 {
      grid-column: span 7
    }
  
    .col-sm-6 {
      grid-column: span 6
    }
  
    .col-sm-5 {
      grid-column: span 5
    }
  
    .col-sm-4 {
      grid-column: span 4
    }
  
    .col-sm-3 {
      grid-column: span 3
    }
  
    .col-sm-2 {
      grid-column: span 2
    }
  
    .col-sm-1 {
      grid-column: span 1
    }
  }
  
  @media (min-width: 992px) {
    .col-md-12 {
      grid-column: span 12
    }
  
    .col-md-11 {
      grid-column: span 11;
    }
  
    .col-md-10 {
      grid-column: span 10
    }
  
    .col-md-9 {
      grid-column: span 9
    }
  
    .col-md-8 {
      grid-column: span 8
    }
  
    .col-md-7 {
      grid-column: span 7
    }
  
    .col-md-6 {
      grid-column: span 6
    }
  
    .col-md-5 {
      grid-column: span 5
    }
  
    .col-md-4 {
      grid-column: span 4
    }
  
    .col-md-3 {
      grid-column: span 3
    }
  
    .col-md-2 {
      grid-column: span 2
    }
  
    .col-md-1 {
      grid-column: span 1
    }
  }
  
  @media (min-width: 1200px) {
    .col-lg-12 {
      grid-column: span 12
    }
  
    .col-lg-11 {
      grid-column: span 11;
    }
  
    .col-lg-10 {
      grid-column: span 10
    }
  
    .col-lg-9 {
      grid-column: span 9
    }
  
    .col-lg-8 {
      grid-column: span 8
    }
  
    .col-lg-7 {
      grid-column: span 7
    }
  
    .col-lg-6 {
      grid-column: span 6
    }
  
    .col-lg-5 {
      grid-column: span 5
    }
  
    .col-lg-4 {
      grid-column: span 4
    }
  
    .col-lg-3 {
      grid-column: span 3
    }
  
    .col-lg-2 {
      grid-column: span 2
    }
  
    .col-lg-1 {
      grid-column: span 1
    }
  }

.cf-input{
    width:100%;
}

.cf-authform-error-message{
    font-weight: bold;
    color:red;
}


.loading-area{
    width:100%;
    text-align: center;
    padding:15px;
}
.loading-icon {
    width: 30px;
    height: 30px;
    display: inline-block;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
  
  .loading-area > span{
    padding: 0 5px;
    display: inline-block;
    position: relative;
    color: #29303d;
    font-style: italic;
    top: -12px;

  }



  /* Stile generale della card utente */
.user-card {
    display: flex;
    align-items: center;
    padding: 20px;
    border: 1px solid rgba(0,0,0,.1);
    border-radius: 8px;
    /*box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);*/
    box-shadow: 0;
    max-width: 100%;
    margin: 0 auto;
    margin-bottom: 1rem;
  }
  
  /* Stile dell'immagine utente */
  .user-card .user-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 20px;
  }
  
  /* Stile del contenuto utente */
  .user-card .user-content {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    padding-left: 1rem;
    text-overflow: ellipsis;
  }
  
  .user-card .user-name, .user-card .user-name > a{
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 0px;
    color: #343f47;
  }
  
  .user-card .user-email {
    color: #666;
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .user-card .user-card {
      flex-direction: column;
      text-align: center;
    }
  
    .user-card .user-image {
      margin: 0 auto 10px;
    }
  }

  .user-card .user-name,
  .user-card .user-email {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}


div#google-login-button, div#google-login-button * {
    margin: 0 !important;
    box-sizing: border-box;
}


#google-login-button iframe {
    margin: 0 auto !important;
    max-width: 300px !important;
}

/*
div#facebookSignInButton {
  border: 1px solid #3b5998;
  background: #3b5998;
  color: white;
  font-weight: 600;
  padding: 6px 15px;
  border-radius: 8px;
  width: fit-content;
  margin: 0 auto;
}*/

/* BOTTONI SOCIAL LOGIN */
.facebook-login-btn,
button#custom-google-login-button {
  color: #5a5a5a;
  box-shadow: none;
  border: 1px solid #d6d6d6;
  outline: none;
  background: white;
  font-size: 12px;
  height: 32px;
  letter-spacing: 0.25px;
  padding: 0 10px;

  padding: 0 10px;
  flex-grow: 1;
  font-weight: 600 !important;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: top;
}

button#custom-google-login-button{
  color: white !important;
  background: #DB4437 !important;
}

.facebook-login-btn{
  color: white !important;
  background: #4267B2 !important;
}


.top_panel_fixed .top_panel_wrap,
.menu_main_nav_area {
  z-index: 90 !important;
}

.social-login-button{
  width:100% !important;
  margin-bottom: 1.5rem;
}
.social-login-button > div{
  width:100% !important;
}

.woocommerce .checkout #order_review_heading, .woocommerce-page .checkout #order_review_heading {
  padding-top: 0 !important;
}


.cf-input-forck-checkout {
  border: 1px solid #80808033;
  padding: 0.8rem !important;
  border-radius: 15px;
}

.cf-input-forck-checkout label {
  font-size: .7rem;
  font-weight: 800;
}

.cf-input-forck-checkout input.input-text,
.cf-input-forck-checkout textarea{
  font-weight: 400;
  padding:0 !important;
  border: none !important;
  font-size: .7rem;
}



#cf-corsi-buy-modal table, #cf-corsi-buy-modal th,#cf-corsi-buy-modal td {
  border: 1px solid #ddd;
  text-align: left;

}

#cf-corsi-buy-modal th, #cf-corsi-buy-modal td {
  padding: 8px 10px;
  text-align: left;
}

#cf-corsi-buy-modal th {
  background-color: #f2f2f2;
}


