@charset "utf-8";

* { font-family: Avant Garde, Avantgarde, AvantGarde, Arial, Helvetica, Verdana, Geneva, sans-serif }

/********** GENERALI e CREATI PER contatto_buy.php ***********/

#box_form{
  height: 100%;
  width: 100%;
}
#primaFascia{
  position: relative;
  left: 4.25%;
}
.evidenza{
  color: red;
}
.error{
  margin-bottom: 2%;
  color: red;
  font-size: 200%;
}
.gruppoForm{
  margin: 0 auto;
  float:left;
  height: 100%;
  width: 100%;
}
.titoloForm{
  height: 19px;
  font-size: 18px;
  margin-top: 1%;
  margin-bottom: 1.5%;
  text-align: center;
  font-weight: bold;
  color: #0768b2;
}
.elementoForm{
  width: 100% ;
}
.nomeElemento{
  float: left;
  width: 25%;
  font-size: 110%;
  text-align: left;
}
.infoElemento{
  margin-bottom: 0.75%;
  float: left;
  width: 75%;
  text-align: left;
}
.gruppoFormPaga{
  float: center;
  width: 100%;
}
.elementoFormPaga{
  margin-bottom: 1%;
  text-align: center;
  clear: both;
}
.nomeElementoPaga{
  margin-bottom: 0.75%;
  float: left;
  width: 50%;
  text-align: right;
}
.inputForm{
  width: 80%;
  border:2px solid #0768b2;
  border-radius: 5px;
}

@media only screen and (max-width: 1024px){
  .inputForm{
    height: 60px;
  }
}

.inputError{
  width: 80%;
  border:2px solid #df0024;
  border-radius: 5px;
}
.textareaForm{
  width: 80%;
  height: 50px;
  border:2px solid #0768b2;
  border-radius: 5px;
}

@media only screen and (max-width: 1024px){
  .textareaForm{
    height: 200px;
  }
}

.textareaError{
  width: 80%;
  height: 50px;
  border:2px solid #df0024;
  border-radius: 5px;
}
.inviaForm{
  margin-top: 2%;
  text-align: center;
}
.radioForm{
  margin-bottom: 0.75%;
  width: 5%;
  float: left;
}
.infoExtra{
  float: left;
  font-size: 70% !important;
}
#submitInvia{
  border:2px solid #df0024;
  border-radius: 5px;
}

/****************** CSS PER ricercaGeneralizzata.php e contactform *****************/

.titoloFormDueRighe{
  padding-top: 1%;
  line-height: 1.2;
  font-size: 24px;
  margin-top: 1%;
  margin-bottom: 1.5%;
  text-align: center;
  color: #0768b2;
}
.nomeCx{
  line-height: 1.1;
  width: 50%;
  float: left;
  font-size: 110%;
}
.elementoCx{
  width: 49%;
  float: right;
  margin-bottom: 0.75%;
}
.extra{
  font-size: 70% !important;
  font-style: oblique;
}
.questionario{
	width:1024px;
  /* CENTRARLO in mezzo alla PAGINA */
	margin: 0 auto;
}
#avviso{
 line-height: 1.2;
 text-align: center;
 margin-top: -1%;
 margin-bottom: 2%;
}

/************* SOLO PER ricercaGeneralizzata.php *********************/

#listaComuni{
  display: none;
  position: absolute;
  background-color: white;
  max-height: 200px;
  overflow: auto;
  border: 1px solid #0768b2;
  z-index: 1;
  text-align: left;
}

@media only screen and (max-width: 480px){
  * {
      font-size: 36px !important;
	  }
  .nomeElemento{
    width: 100%;
    text-align: center;
    margin-bottom: 1%;
  }
  .infoElemento{
    width: 100%;
    text-align: center;
    margin-bottom: 3%;
  }
  .titoloForm{
    height: 38px !important;
  }

  /******* PER ricercaGeneralizzata.php ********/
  .nomeCx{
    width: 100%;
    text-align: center;
    margin-bottom: 1%;
    }
  .elementoCx{
    width: 100%;
    text-align: center;
    margin-bottom: 1%;
  }
  .extra{
    float: center;
  }
  #listaComuni{
    width: 80%;
    left: 10%;
  }
}
/* TELEFONO MIO */
@media only screen and (min-width: 481px) and (max-width: 1024px){
  * {
	    font-size: 36px !important;
	  }
  .nomeElemento{
    width: 100%;
    text-align: center;
    margin-bottom: 1%;
  }
  .infoElemento{
    width: 100%;
    text-align: center;
    margin-bottom: 3%;
  }
  .titoloForm{
    height: 38px !important;
  }

  /******* PER ricercaGeneralizzata.php ********/

  .nomeCx{
    width: 100%;
    text-align: center;
    margin-bottom: 1%;
    }
  .elementoCx{
    width: 100%;
    text-align: center;
    margin-bottom: 1%;
  }
  .questionario{
  	width:100%;
  }
  .extra{
    float: center;
  }
  #listaComuni{
    width: 80%;
    left: 10%;
  }
}
@media only screen and (min-width: 1025px) and (max-width: 1239px){
  .questionario{
	   width:80%;
	}
  .extra{
    float: left;
  }
  #listaComuni{
    width: 31%;
  }
}
/* COMPUTER MIO */
@media only screen and (min-width: 1240px){
  .gruppoForm{
    width: 49%;
  }
  .extra{
    float: left;
  }
  #listaComuni{
    width: 31%;
  }
}
