/*
Contact Form by html-form-guide.com
You can customize all the aspects of the form in this style sheet
All the style elements use form id selector(notice the #contactus). So, including this
stylesheet does not affect the other elements at all!
*/

#testata_telefoni
{
    border: 1px solid #ccc;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px; 
	min-width:160px;
    width: 260px; 
    margin:auto;
	background-color:#EBF8FF;
	text-align:center;
	
	}

#contactus fieldset
{
   padding:10px;
   border:1px solid #586168;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
-khtml-border-radius: 10px;
border-radius: 10px; 
width:520px; 
background-color:#ffffff;
}

#contactus legend, h2
{
   font-family : Arial, sans-serif;
   font-size: 1.3em;
   font-weight:bold;
   color:#333;
}

#contactus label
{
   font-family : Arial, sans-serif;
   font-size:0.8em;
   font-weight: bold;
}

#contactus input[type="text"],textarea
{
  font-family : Arial, Verdana, sans-serif;
  font-size: 1em;
  line-height:140%;
  color : #000; 
  padding : 3px; 
  border : 1px solid #999;


}

#contactus input[type="text"]
{
 height:27px;
 width:400px;  
  
}

#contactus #scaptcha
{
  width:60px;
  height:18px;
}

#contactus input[type="submit"]
{
   width:100px;
   height:30px;
   padding-left:0px;
   
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
   border-radius: 5px; 
   background-color:#EBF8FF;  
}

#contactus textarea
{
  height:120px;
   width:445px;
   -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
   border-radius: 8px;  
}

#contactus input[type="text"]:focus,textarea:focus
{
  color : #134161;
  border : 1px solid #2986C9;
  background-color : #F2F9FF;
  font-weight:bold;
}

#contactus .container
{
   margin-top:8px;
   margin-bottom: 10px;
}

#contactus .error
{
   font-family: Verdana, Arial, sans-serif; 
   font-size: 0.7em;
   color: #900;
   background-color : #ffff00;
}

#contactus fieldset#antispam
{
   padding:2px;
   border-top:1px solid #EEE;
   border-left:0;
   border-right:0;
   border-bottom:0;
   width:350px;
}

#contactus fieldset#antispam legend
{
   font-family : Arial, sans-serif;
   font-size: 0.8em;
   font-weight:bold;
   color:#333;   
}

#contactus .short_explanation
{
   font-family : Arial, sans-serif;
   font-size: 0.9em;
   color:#333;   
}

/* spam_trap: This input is hidden. This is here to trick the spam bots*/
#contactus .spmhidip
{
   display:none;
   width:10px;
   height:3px;
}
#fg_crdiv
{
   font-family : Arial, sans-serif;
   font-size: 0.3em;
   opacity: .2;
   -moz-opacity: .2;
   filter: alpha(opacity=20);   
}
#fg_crdiv p
{
    display:none;
}

/* Codice per smartphone 321 – 480 px */

@media screen and (max-device-width: 480px) {
   
      #contenitore {
       width:310px;
   }
   
      #testata_telefoni {
      margin-left:10px;
   }
 
   #contactus fieldset{
      width:290px;
   }
 
   #contactus input[type="text"]{
    width:190px;
   }
 
   #contactus textarea {
      width:255px;
   }
 }

 
/* Codice per Tablet 481 – 768 px */
@media screen and (max-device-width: 768px) {
 
     #contenitore {
       width:310px;
   }
 
 
   #contactus fieldset{
      width:290px;
   }
 
   #contactus input[type="text"]{
    width:190px;
   }
 
   #contactus textarea {
      width:255px;
   }
 }



/*Codice per PC Desktop min. 1025 px */

@media screen and (min-device-width: 1025px) {
 
 
   #contactus fieldset{
      width:520px;
   }
 
   #contactus input[type="text"]{
    width:400px;
   }
 
   #contactus textarea {
      width:445px;
   }
   
   #spostacaptcha {
      padding-left:135px;
   }
 }