/* Kontakt formular */

form {  /* set width in form, not fieldset (still takes up more room w/ fieldset width */
  font:100% verdana,arial,sans-serif;
  min-width:600px;
  max-width:660px;
  width:610px;  
  line-height: 120%;
  /*background-color:#ecefcb;*/  
}
fieldset {  /* clear: both; note that this clear causes inputs to break to left in ie5.x mac, commented out */
  padding:10px;        /* padding in fieldset support spotty in IE */
  border-width:2px 0 0;
  border-style:solid;
  border-color:#cecece;
  overflow:auto;
}

form fieldset legend {
	font-size:1.1em; /* bump up legend font size, not too large or it'll overwrite border on left */
                       /* be careful with padding, it'll shift the nice offset on top of border  */
}

legend {
	line-height: 100%;
	/*position:absolute;*/
	padding: 3px 5px;
	top: -10px;	
	/*background-color:#ecefcb;
	border:1px solid #ff9900;*/
	border-width:0 0 0 0;
	border-style:solid;
 	border-color:#cacaca;
	color:#5c71a2;
	font-weight:bold;
	text-transform:uppercase;
	font-size:90%;
	text-align:center;
}
form label { 
	display:block;  /* block float the labels to left column, set a width */
	float:left; 
	width:150px; 
	padding:0; 
	margin:5px 0 0; /* set top margin same as form input - textarea etc. elements */
	text-align:right; 
}
form input#name,
form input#email,
form input#phone,
form textarea,
form input#mail, 
form input#phone, 
form input#telefon, 
form input#ime, 
form input#prezime, 
form input#ordime, 
form input#ordbroj, 
form input#ulica, 
form input#kucnibroj, 
form input#mjesto, 
form input#ptt {
	/* display: inline; inline display must not be set or will hide submit buttons in IE 5x mac */
	width:auto;      /* set width of form elements to auto-size, otherwise watch for wrap on resize */
	margin:5px 0 0 10px; /* set margin on left of form elements rather than right of label aligns textarea better in IE */
}
#name, #email, #mail, #phone, #telefon, #ime, #prezime, #ordime, #ordbroj, #ulica, #kucnibroj, #mjesto, #ptt {
	border-width: 1px;
	border-style: solid;
	border-color:#5c71a2;
	margin:2px 5px 0 0;
	padding:3px;
	font-family: Verdana, Arial, "Lucida Console", Tahoma, sans-serif;
}
#name, #ime, #prezime {background:url(images/user.png) 2px center no-repeat;padding-left:20px;}
#ordime, #ordbroj {background:url(images/ordinacija.gif) 2px center no-repeat;padding-left:20px;}
#ulica, #kucnibroj, #mjesto, #ptt {background:url(images/home.gif) 2px center no-repeat;padding-left:20px;}
#email, #mail {background:url(images/email.png) 2px center no-repeat;padding-left:20px;}
#phone, #telefon {background:url(images/phone.png) 3px center no-repeat;padding-left:20px;}
#send{margin-left:160px;padding:2px;}
#reset{margin-left:10px;padding:2px;}
textarea {overflow:auto;padding:5px;}
form small {
	display: block;
	border: 1px solid #ffd324;
	background: #fff6bf;
	margin: 5px 0 8px 160px !important; /* instructions/comments left margin set to align w/ right column inputs */
	padding: 8px 10px;
	font-size: 80%;
	width:330px;
}

form .required{font-weight:bold;} /* uses class instead of div, more efficient */

form br {
	clear:left; /* setting clear on inputs didn't work consistently, so brs added for degrade */
}

form em { font-weight:bold; color: red; }
.mailSuccess, .mailError {
	margin: 5px auto;
	padding: 5px 10px 5px 45px;
	text-align:left;
	text-indent:0 !important;
	color: #000;
	font: 12px verdana, tahoma, helvetica, sans-serif;
}
.mailError {
	background: #fff6bf url('images/alert_exclamation.png') 15px 50% no-repeat;
	border: 1px solid #ffd324;
}
.mailSuccess {
	background: #f8fafc url('images/alert_information.png') 15px 50% no-repeat;
	border: 1px solid #b5d4fe;
}