.demo_title{
    color:#003A69;
    font-weight: bold;
    text-align: center;
}

.btn-demo{
    background-color:#003A69;
    color:white;
    font-weight: bold !important;
    font-size: 20px !important;
    border-radius: 10px !important;
}

.btn-demo:hover{
    background-color:#003A69;
    color:white !important;
    border:1px solid #003A69;
}

.demoinput{
    border-radius: 0px !important;
    text-align: center;
    padding:0% !important;
    margin-right: 15px;
    font-size: 20px !important;
    padding: 4px !important;
}


/*Dimensione di h5 - 16px*/
.gdpr{
    color:gray;
    max-width: 100%;
    font-size: 16px;
    vertical-align: middle;
}

 /* Style the form - display items horizontally */
.form-inline {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
  }

  /* Add some margins for each label */
  /* .form-inline label {
    margin: 5px 10px 5px 0;
  } */

  /* Style the input fields */
  .form-inline input {
    /* vertical-align: middle; */
    margin: 5px 10px 5px 0;
    padding: 10px;
    background-color: #fff;
    border: 1px solid #ddd;
  }

  /* Style the submit button */
  .form-inline button {
    padding: 10px 20px;
    background-color: #003A69;
    border: 1px solid #ddd;
    color: white;
    margin-left: 10px;
  }

  .form-inline button:hover {
    background-color: #003A69;
  }

  /* Add responsiveness - display the form controls vertically instead of horizontally on screens that are less than 800px wide */
  @media (max-width: 1250px) {
    .form-inline input {
      margin: 10px 0;
    }

    .form-inline {
      flex-direction: column;
      align-items: stretch;
    }

    /*Dimensione fissa del pulsante*/
    .form-inline button{
    width: 91%;
    }

    .selectcountry{
        width: 91%;
        margin-bottom: 4%;
    }

    .form-inline button {
        margin-left: 0px;
      }

    /* .form-group{
      text-align: center;
    } */
  }

  .form-inline button:hover {
    background-color: #003A69;
}

.emailinput{
    margin-right: 2% !important;
}

.form-group input{
    width: 90% !important;
}

/* @media only screen and (max-width : 1251px) {
    #description{
        padding:8% !important;
    }
} */




/*Prima che inizia la visualizzazione mobile ma ancora nel desktop*/
@media  screen and (min-width:1250px)  and (max-width : 1470px){
    .form-inline button {
    padding: 10px 20px;
  }

}


/*Prima che inizia la visualizzazione mobile ma ancora nel desktop*/
@media  screen and (min-width:1256px)  and (max-width : 1470px){
    .custom .col-md-2 {
            width: 2.666667%;
        }
}

@media  screen and (min-width:1251px)  and (max-width : 1256px){
    .custom .col-md-2 {
            width: 1.666667%;
        }
    .form-inline button {
        padding: 6px 12px;
    }

    .form-inline input {
        margin: 5px 2px 5px 0;
    }
}


.spanmessage{
  font-size:19px;
}

.divmessage{
  display: none;
  padding-top:1%;
  padding-bottom:1%;
  background-color:#d3d3d3;
  border-radius:10px;
}

@media screen and (min-width: 300px) and (max-width: 900px) {
  .demoinput{
    font-size: 15px !important;
  }

  .btn-demo{
    font-size: 15px !important;
  }
  .selectcountry {
    font-size: 15px !important;
  }

  #form_demo{
    text-align: center;
  }
  #form_demo input[type="email"]{
    display:inline;
  }
  #form_demo button{
    width:100%;
  }
}

@media screen and (min-width: 900px) and (max-width: 1200px) {
    #form_demo{
    text-align: center;
  }
  #form_demo input[type="email"]{
    display:inline;
  }
  #form_demo button{
    width:100%;
  }
}