/**
 * CSS styles for forms generated by yiic.
 *
 * The styles can be applied to the following form structure:
 *
 * <div class="form">
 *     <div class="row">
 *         <label for="inputid">xyz</label>
 *         <input name="inputid" id="inputid" type="text" />
 *         <p class="hint">hint text</p>
 *     </div>
 *     <div class="row">
 *         <label for="inputid">xyz</label>
 *         <input name="inputid" id="inputid" type="text" />
 *         <p class="hint">hint text</p>
 *     </div>
 *     <div class="row buttons">
 *         <label for="inputid">xyz</label>
 *         <input name="inputid" id="inputid" type="text" />
 *         <p class="hint">hint text</p>
 *     </div>
 * </div>
 *
 * The above code will render the labels and input fields in separate lines.
 * In order to render them in the same line, please use the "wide" form as follows,
 *
 * <div class="wide form">
 *     ......
 * </div>
 *
 * @author Qiang Xue <qiang.xue@gmail.com>
 * @link http://www.yiiframework.com/
 * @copyright Copyright &copy; 2008-2010 Yii Software LLC
 * @license http://www.yiiframework.com/license/
 */

* { margin: 0; padding: 0; }
body {font-family: Verdana, Arial; font-size: 12px; line-height: 18px; }
a { text-decoration: none; }
/*.container{margin: 20px auto; width: 900px; background: #fff;}*/
h1, h3 { font-size: 22px; text-shadow: 2px 2px 2px #ccc; }
h3 {margin-bottom: 15px}
h1 {margin-bottom: 5px}
 
div.form
{
	/*width: 530px; */
	padding: 20px;
	background: #f0f0f0;
	overflow:auto;
	
	border: 1px solid #cccccc;
	-moz-border-radius: 7px;
	-webkit-border-radius: 7px;
	border-radius: 7px;	
	
	-moz-box-shadow: 2px 2px 2px #cccccc;
	-webkit-box-shadow: 2px 2px 2px #cccccc;
	box-shadow: 2px 2px 2px #cccccc;
    
    
}

label {
	font-family: Arial, Verdana; 
	text-shadow: 2px 2px 2px #ccc;
	display: block; 
	float: left; 
	font-weight: bold; 
	margin-right:10px; 
	text-align: right; 
	width: 120px; 
	line-height: 25px; 
	/*font-size: 15px; */
}

/*div.form input, */
div.form textarea,
div.form select,
/* div.form a, - musim odstranit, pak to vypada divne v seznamech */
.input
/* puvodne .input */
{
	/*margin: 0.2em 0 0.5em 0;*/
   /* font-size: 80%;
    border: 1px solid #EFFDFF;
    padding: 4px;
    background: #EFFDFF;*/
	font-family: Arial, Verdana; 
	font-size: 12px; 
	padding: 5px; 
	border: 1px solid #b9bdc1; 
	width: 300px; 
	color: #797979;	
   
    margin-bottom:7px;
}

.field{margin-bottom:7px;}

div.form input:focus,
div.form textarea:focus,
div.form select:focus,
.input:focus{
	background-color:#E7E8E7;	
}
	
.textarea-10 {
	height:100px;	
}
	
.hint{
	display:none;
}
	
.row:hover .hint, .field:hover .hint {  
	position: absolute;
	display: block;  
	margin: -30px 0 0 455px;
	color: #FFFFFF;
	padding: 7px 10px;
	background: rgba(0, 0, 0, 0.6);
	
	-moz-border-radius: 7px;
	-webkit-border-radius: 7px;
	border-radius: 7px;	
}

div.form input.submit {
 /*   background-color: #C6D880;
    border: 2px solid #060;
    padding: 4px 18px 4px 18px;
    width: 150px;*/
 
	float: right;
	margin:10px 55px 10px 0;
	font-weight: bold;
	line-height: 1;
	padding: 6px 10px;
	cursor:pointer;   
	color: #fff;
	
	text-align: center;
	text-shadow: 0 -1px 1px #64799e;
	
	/* Background gradient */
	background: #a5b8da;
	background: -moz-linear-gradient(top, #a5b8da 0%, #7089b3 100%);
	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#a5b8da), to(#7089b3));
	
	/* Border style */
  	border: 1px solid #5c6f91;  
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
  
	/* Box shadow */
	-moz-box-shadow: inset 0 1px 0 0 #aec3e5;
	-webkit-box-shadow: inset 0 1px 0 0 #aec3e5;
	box-shadow: inset 0 1px 0 0 #aec3e5;
	
 
}
div.form input.submit2 {
    margin:10px 10px 10px 0;
}

div.form input.submit:hover {
	background: #848FB2;
    cursor: pointer;
}

div.form fieldset
{
	border: 1px solid #DDD;
	padding: 10px;
	margin: 0 0 10px 0;
    -moz-border-radius:7px;
}

div.form label
{
	font-weight: bold;
	font-size: 0.8em;
	display: block;
}

div.form .row
{
	margin: 5px 0;
}

div.form .hint
{
	margin: 0;
	padding: 0;
	color: #999;
}

div.form .note
{
	font-style: italic;
}

div.form span.required
{
	color: red;
}

div.form div.error label:first-child,
div.form label.error,
div.form span.error
{
	color: #C00;
}

div.form div.error input,
div.form div.error textarea,
div.form div.error select,
div.form input.error,
div.form textarea.error,
div.form select.error
{
	background: #FEE;
	border-color: #C00;
}

div.form div.success input,
div.form div.success textarea,
div.form div.success select,
div.form input.success,
div.form textarea.success,
div.form select.success
{
	background: #E6EFC2;
	border-color: #C6D880;
}


div.form .errorSummary
{
	border: 2px solid #C00;
	padding: 7px 7px 12px 7px;
	margin: 0 0 20px 0;
	background: #FEE;
	font-size: 0.9em;
}

div.form .errorMessage
{
	color: red;
	font-size: 0.9em;
}

div.form .errorSummary p
{
	margin: 0;
	padding: 5px;
}

div.form .errorSummary ul
{
	margin: 0;
	padding: 0 0 0 20px;
}

div.wide.form label
{
	float: left;
	margin-right: 10px;
	position: relative;
	text-align: right;
	width: 120px;
    padding: 6px;
    /*border: 1px solid #EFFDFF;
    
    display: block;
    background: #EFFDFF;*/
}

div.wide.form .row
{
	clear: left;
}

div.wide.form .buttons, div.wide.form .hint, div.wide.form .errorMessage
{
	clear: left;
	padding-left: 110px;
}


/* form width */
div.form .width-1 {
    width: 10px;
}
div.form .width-5 {
    width: 50px;
}
div.form .width-7 {
    width: 70px;
}
div.form .width-10 {
    width: 100px;
}
div.form .width-12 {
    width: 120px;
}
div.form .width-14 {
    width: 140px;
}
div.form .width-16 {
    width: 160px;
}
div.form .width-20 {
    width: 200px;
}
div.form .width-30 {
    width: 300px;
}

div.form.fwidth-30 {
    width: 300px;
}
div.form.fwidth-37 {
    width: 370px;
}
div.form.fwidth-50 {
    width: 500px;
}
div.form.fwidth-53 {
    width: 530px;
}
div.form.fwidth-60 {
    width: 600px;
}
div.form.fwidth-100 {
    width: 1050px;
}
/* form with */

