.clearfix:after 
{  
  content: ".";  
  display: block;  
  clear: both;  
  visibility: hidden;  
  line-height: 0;  
  height: 0;
}  
.clearfix 
{  
  display: inline-block;
  margin-bottom: 10px;  
}  
.input
{
  float:left;
  margin: 0 10px 0 10px;
  width: 45%;
}
.input_long
{
  float: left;
  margin: 0 10px 0 10px;
  width: 97%;
}   
.validation_failed
{
  color: red;
  font-weight: bold;
  margin-bottom: 15px;
}
html[xmlns] .clearfix 
{  
  display: block;  
}  
* html .clearfix 
{  
  height: 1%;  
}  
.clear 
{  
  clear: both;  
}
fieldset label.required
{
	font-weight: bold;
}

fieldset input.error,   
fieldset select.error,   
fieldset textarea.error 
{   
  border: 1px dashed red;   
  background: #ffe691;  
}  


/* Nastavení formuláře */  

form#hfc_form fieldset
{
	margin-bottom: 10px;
	background-color: #efefef;
}
form#hfc_form fieldset legend
{
	font-weight: bold;
	font-size: 17px;
}


/* NASTAVENÍ PÍSMA */  
form#hfc_form, form#hfc_form input,   
form#hfc_form textarea,   
form#hfc_form select
{  
  font-family: Calibri, "Trebuchet MS", Arial, Helvetica, sans-serif;  
  font-size: 14px;  
  color: #464646;  
}  

/* ŠÍŘKA FORMULÁŘE */  
form#hfc_form, form#hfc_form fieldset,   
form#hfc_form fieldset h4 
{  
  width: 500px;  
}  
/* ŠÍŘKA LABELU */  
form#hfc_form fieldset label 
{  
  display: block;
  width: 120px;  
  margin-right: 5px;  
}
/* vetsi label */
form#hfc_form fieldset label.long 
{  
  width: 250px;  
  margin-right: 5px;  
}
/* label pres cele */
form#hfc_form fieldset label.extralong 
{  
  display: block;
  width: 473px;  
}
form#hfc_form fieldset label.error 
{  
  float: left;  
  color: red;  
  width: 200px;  
  text-align: left;  
  padding: 0px 10px 0px 10px;  
}  
/* ŠÍŘKA TEXTOVÉHO INPUTU */  
form#hfc_form fieldset input[type=text],   
form#hfc_form fieldset input[type=password]   
{  
  width: 150px;  
}
form#hfc_form fieldset input.readonly
{
  background-color: #d4d4d4; 
}   
/* specialni inputy*/
form#hfc_form fieldset input.birthday_number_first
{
  width: 50px;
}
form#hfc_form fieldset input.birthday_number_second
{
  width: 35px;
} 
form#hfc_form fieldset input.postal_code
{
  width: 40px;
} 
/* ŠÍŘKA DLOUHÉHO TEXTOVÉHO INPUTU + TEXTAREA */  
/* mělo by být přes celý formulář  
(šířka labelu + šířka textového inputu * 2 + mezera mezi labelem a inputy + 2)*/  
form#hfc_form fieldset input[type=text].long,   
form#hfc_form fieldset input[type=password].long,   
form#hfc_form fieldset textarea 
{  
  width: 407px; /* (100 + 150*2 + 5 + 2) proč tam musí být +2 netuším ale vychází to */  
}  
/* VÝŠKA JEDNOHO ŘÁDKU A INPUTU */  
form#hfc_form fieldset label,   
form#hfc_form fieldset input[type=text],   
form#hfc_form fieldset input[type=password],   
form#hfc_form fieldset input[type=checkbox],   
form#hfc_form fieldset input[type=radio] 
{  
  height: 18px;  
}
form#hfc_form fieldset select
{
  height: 22px;
  margin-right: 10px;  
}   
  
form#hfc_form fieldset label 
{  
  line-height: 20px; /* Nutné pro zarovnání textu v labelu na střed vertikálně */  
}  
/* MEZERA MEZI ŘÁDKY */  
form#hfc_form fieldset div 
{  
  margin-top: 5px;  
}  
/* NASTAVENÍ OHRANIČENÍ INPUTŮ */  
form#hfc_form fieldset input[type=text],   
form#hfc_form fieldset textarea,   
form#hfc_form fieldset input[type=password],   
form#hfc_form fieldset select 
{  
  border: 1px solid #9c9c9c;
}
form#hfc_form fieldset input[type=text],
form#hfc_form fieldset input[type=password]
{
  border: 1px solid #9c9c9c;
  padding: 3px;
}
/* NADPISY */  
form#hfc_form fieldset h4 
{  
  border-bottom: 1px solid #005cb1;  
  font-weight: bold;  
  color: #005cb1;  
  margin: 15px 0px 10px 0px;  
}  
/* MEZERA PRO div.space */  
form#hfc_form fieldset div.space 
{  
  margin-top: 20px;  
}  
/* ŠÍŘKA PRO CHECKBOX */  
/* Ukázalo se, žze Opera bere checkboxy o něco větší */
form#hfc_form fieldset input[type=checkbox] 
{  
  width: 15px;  
}  
/* VÝŠKA PRO TEXTAREU */  
form#hfc_form fieldset textarea 
{  
  height: 120px;
  padding: 3px;
}  
/* SUBMIT TLAČÍTKO */  
form#hfc_form fieldset input[type=submit] 
{  
  width: 140px;  
  height: 50px;  
  position: relative;  
  left: 134px;  
  margin-top: 15px;  
}  
/* BARVA HVEZDIČKY */  
form#hfc_form fieldset label span 
{  
  color: #005cb1;  
}

form#hfc_form .submit
{
  text-align: center;
  margin: 0 auto;
  width: 100%;
  background-color: transparent;
  border: 0;
}

form#hfc_form div.note
{
  float:left;
  margin: 10px 0 10px 10px;
  color: gray;
  width: 90%;
  font-size: 90%;
  border-top: 1px solid gray;
}

form#hfc_form div.right_info
{
	float: right;
	font-size: 90%;
}
