/*
 Theme Name:     Wtraining
 Theme URI:      https://www.marcobaldocchi.com
 Description:    Tema Wtraining
 Author:         Luigi @ Marco Baldocchi Group
 Author URI:     https://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.0
*/
 
 
/* =Theme customization starts here
------------------------------------------------------- */

body.page-id-33513  .wpcf7-form label {
    margin-top:20px;
}

body.page-id-33513  div.dfs-row .wpcf7-list-item label {
    margin-top:0;
}


body.page-id-33513 input[type=text].wpcf7-text,
body.page-id-33513 input[type=email].wpcf7-email{
    background-color: #fff;
    border: 1px solid hsla(0, 0%, 7%, .8);
    border-radius: 4px;
    box-sizing: border-box;
    color: #53565A;
    font-family: inherit;
    font-size: 1em;
    line-height: 1em;
    margin:0;
    min-height: 0;
    padding: 1em;
    width: 100%;

}
body.page-id-33513 .wpcf7-submit{
    margin-top:20px;
}

.subscription_wrapper.lead,
.subscription_wrapper.company
{
    margin-top:40px;
}
.lead-progress-bar{
    width:100%;
    height:30px;
    backgorund-color: #dedede;
}
.lead-progress-bar>div{
    border-top: 1px solid #bbbbbb;
    border-bottom: 1px solid #bbbbbb;
    border-left: 1px solid #bbbbbb;
    height:30px;
    float:left;
}
.lead-progress-bar>div:last-child{
    border-right: 1px solid #bbbbbb;

}
.lead-progress-bar .lead-subscribed{
    background-color:#008000;
}
.lista-miei-corsi >li{
    padding-bottom:10px;
    margin-bottom:10px;
    border-bottom: 2px solid #002544;
}
.checkout-redirect-box {
    background-color:#008000;
    padding:30px 30px 20px 30px;
    margin-top:30px;
    margin-bottom:30px;
    border-radius: 100px;
    text-align: center;
}
.checkout-redirect-box h2{
    font-size:24px;
    font-family: "Lato", Helvetica, Arial, sans-serifLato;
}
.checkout-redirect-box h2 a{
    color:white;
}

div.woocommerce-message >a.button.wc-forward{
    display:none;
}
p.checkout-inline-error-message{
    color:red !important;
}

#aihelper-wrapper{
    min-height:300px;
    height:300px;
    position:relative;
}
#aihelper-loader{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2; /* livello superiore */
    text-align: center;

}
#aihelper-loader>img{
    width:300px;
}
#aihelper-container{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* livello inferiore */
    display:none;
    overflow-y: scroll;
    min-height:300px;
    height:200px;
}
.aihelper-ajax {
    color:white;
    border-radius:100px;
    display:block;
    margin:10px;
}
.aih-red {
    color:white;
    border-radius:100px;
    display:block;
    margin:10px;
    background-color: #E03C31 !important;
    border-color: #E03C31 !important;

}
.aih-blue {
    color:white;
    border-radius:100px;
    display:block;
    margin:10px;
    background-color:#3b4f9b !important;
    border-color: #3b4f9b !important;
}

#aihelper-wrapper h3 {
    font-size:24px;
}

table.aihelper-result {
  border: 1px solid #ccc;
  border-collapse: collapse;
  margin: 20px 0 0 0;
  padding: 0;
  width: 100%;
  table-layout: fixed;
}

table.aihelper-result caption {
  margin: .5em 0 .75em;
  text-align:left
}

table.aihelper-result tr {
  background-color: #f8f8f8;
  border: 1px solid #ddd;
  padding: .35em;
}

table.aihelper-result th,
table.aihelper-result td {
  padding: .625em;
  text-align: left;
}

table.aihelper-result th {
  font-size: .85em;
  letter-spacing: .1em;
}


table colgroup col:last-child {
    width: 10%;
}
form.wpcf7-form label {
    color:white;
}
form.wpcf7-form div.subscription_wrapper label{
    color:black;
}
span.wpcf7-form-control-wrap[data-name="Pivacymarketing"] label,
span.wpcf7-form-control-wrap[data-name="Privacyprofilazione"] label
{
    margin-top:0;
}

form.wpcf7-form  span.wpcf7-list-item {
    display: block;
    clear:both;
}
form.wpcf7-form div.subscription_wrapper span.wpcf7-list-item {
  display:inline;
    float:left;
    clear:none;
    margin-right: 20px;
}

form.wpcf7-form  span.wpcf7-list-item input{
    width:auto;
    float:left;
}

form.wpcf7-form input,  form.wpcf7-form textarea{
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 16px;
  margin-bottom: 10px;
  display: block;
  width: 100%;
  box-sizing: border-box;
}

form.wpcf7-form input:focus, form.wpcf7-form textarea:focus {
  outline: none;
  border-color: #007BFF;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}
form.wpcf7-form button{
    color:white;
    background-color:#E03C31;
}
.form-light .wpcf7 form.invalid .wpcf7-response-output {
    background-color:white;
    border-color:red;
    font-size:18px;
}
.wpcf7 form.sent .wpcf7-response-output{
    background-color:white;
}

/*results helper*/

span.result-software{
    background: #008000;
    padding: 3px;
    color: white;
    display:block;
    margin-top:10px;
    margin-bottom:5px;
}
span.result-resources{
    background: #E03C31;
    padding: 3px;
    color: white;
    display:block;
    margin-top:10px;
    margin-bottom:5px;

}
ul.list-result-items{
    padding:0;
}
ul.list-result-items>li img {
    margin-right:10px;
}
ul.list-result-items>li{
    display: block;
    height: 50px;
    place-content: flex-end;
}

.woocommerce-NoticeGroup.woocommerce-NoticeGroup-checkout ul.woocommerce-error a{
    color:white;
}

@media screen and (max-width: 600px) {
  table.aihelper-result {
    border: 0;
  }

  table.aihelper-result caption {
    font-size: 1.3em;
  }

  table.aihelper-result thead {
    border: none;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    text-align:left;
  }

  table.aihelper-result tr {
    border-bottom: 3px solid #ddd;
    display: block;
    margin-bottom: .625em;
  }

  table.aihelper-result td {
    border-bottom: 1px solid #ddd;
    display: block;
    font-size: .8em;
    text-align: left;
  }

  table.aihelper-result td::before {
    /*
    * aria-label has no advantage, it won't be read inside a table.aihelper-result
    content: attr(aria-label);
    */
    content: attr(data-label);
    float: left;
    font-weight: bold;
  }

  table.aihelper-result td:last-child {
    border-bottom: 0;
      text-align: right;

  }

    table colgroup {
        display:none;
    }

}