/**
 * 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 2008-2010 Yii Software LLC
 * @license http://www.yiiframework.com/license/
 */

div.form
{
	margin:0 auto;
	padding-top:8px;
	padding-bottom:8px;
	text-align:center;
	width:100%;
	max-width:400px;
	background-color:rgb(225,198,158);
	border-top-left-radius:0.8em;
	border-bottom-right-radius:0.8em;
	box-shadow: 2px 5px 20px #2b2b2b;

	
}

div.form input,
div.form textarea,
div.form select
{
	margin: 0.2em 0 0.5em 0;
	font-size:1.3em;
}

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: 1.5em;
	display: block;
	color:white;
	margin-bottom:12px;

}
div.form input
{
	width:80%;
}
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 div.success label
{
	color: inherit;
}

div.form .errorSummary
{
	border: 2px solid #C00;
	padding: 7px 7px 12px 7px;
	margin: 0 0 20px 0;
	background: #FEE;
	font-size: 1.3em;
}

div.form .errorMessage
{
	color: red;
	font-size: 1.3em;
	width:90%;
	margin:0 auto;
}

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: 100px;
}

div.wide.form .row
{
	clear: left;
}

div.wide.form .buttons, div.wide.form .hint, div.wide.form .errorMessage
{
	clear: left;
	padding-left: 110px;
}




div.form1
{	
	padding-bottom:10px;
	margin:0 auto;
	text-align:center;
	width:100%;
	max-width:500px;
	background-color:rgb(234,215,185);
	border-top-left-radius:0.8em;
	border-bottom-right-radius:0.8em;
	box-shadow: 2px 5px 20px #2b2b2b;


}

div.form1 input,
div.form1 textarea,
div.form1 select
{
	margin:0;
	font-size:1.3em;
	font-weight:normal;
}

div.form1 fieldset
{
	border: 1px solid #DDD;
	padding: 10px;
	margin: 0 0 10px 0;
    -moz-border-radius:7px;
}

div.form1 label
{
	font-weight: bold;
	font-size: 1.3em;
	color:white;
	clear:both;
	margin:0 auto;
	text-align: center;
	width:100%;

}
div.form1 input
{	margin:0 auto;
	width:85%;
}
div.form1 select
{	margin:0 auto;
	width:85%;
}
div.form1 .row1
{
	margin-bottom:0px;
}
div.form1 .submitbutton, .cancelbutton
{
 	width:85%;
	height:50px;
	margin-top:20px;
}
div.form1 .cancelbutton
{
	margin-bottom:10px;
}
div.form1 input[type="checkbox"]
{
	margin-top:0px;
	position:relative;
	top:5px;
	zoom:2;
	-moz-transform: scale(2.2);
}
div.form1 .hint
{
	margin: 0;
	padding: 0;
	color: #999;
}

div.form1 .note
{
	font-style: italic;
}

div.form1 span.required
{
	color: red;
}

div.form1 div.error label:first-child,
div.form1 label.error,
div.form1 span.error
{
	color: #C00;

	
}

div.form1 div.error input,
div.form1 div.error textarea,
div.form1 div.error select,
div.form1 input.error,
div.form1 textarea.error,
div.form1 select.error
{
	background: #FEE;
	border-color: #C00;

}

div.form1 div.success input,
div.form1 div.success textarea,
div.form1 div.success select,
div.form1 input.success,
div.form1 textarea.success,
div.form1 select.success
{
	background: #E6EFC2;
	border-color: #C6D880;
}

div.form1 div.success label
{
	color: inherit;
}

div.form1 .errorSummary
{
	border: 2px solid #C00;
	padding: 7px 7px 12px 7px;
	margin: 0 0 20px 0;
	background: #FEE;
	font-size: 1.3em;
}

div.form1 .errorMessage
{
	color: red;
	font-size: 1.2em;
	width:90%;
	margin:5px auto;
}

div.form1 .errorSummary p
{
	margin: 0;
	padding: 5px;
}

div.form1 .errorSummary ul
{
	margin: 0;
	padding: 0 0 0 20px;
}

div.wide.form1 label
{
	float: left;
	margin-right: 10px;
	position: relative;
	text-align: right;
	width: 100px;
}

div.wide.form1 .row1
{
	clear: left;
}

div.wide.form1 .buttons, div.wide.form1 .hint, div.wide.form1 .errorMessage
{
	clear: left;
	border:2px solid black;
	margin:0 auto;
}

div.form2
{	
	padding-bottom:10px;
	margin:0 auto;
	text-align:center;
	width:100%;
	max-width:400px;
	background-color:rgb(234,215,185);
	border-top-left-radius:0.8em;
	border-bottom-right-radius:0.8em;
	box-shadow: 2px 5px 20px #2b2b2b;


}

div.form2 input,
div.form2 textarea,
div.form2 select
{
	margin:0;
	font-size:1em;
	font-weight:normal;
	height:40px;
}

div.form2 fieldset
{
	border: 1px solid #DDD;
	padding: 10px;
	margin: 0 0 10px 0;
    -moz-border-radius:7px;
}

div.form2 label
{
	font-weight: bold;
	font-size: 1.13em;
	color:white;
	clear:both;
	margin:0 auto;
	text-align: center;
	width:100%;

}
div.form2 input
{	margin:0 auto;
	width:85%;
}
div.form2 select
{	margin:0 auto;
	width:85%;
}
div.form2 .row1
{
	margin-bottom:0px;
}
div.form2 .submitbutton, .cancelbutton
{
 	width:85%;
	height:40px;
	margin-top:20px;
}
div.form2 .cancelbutton
{
	margin-bottom:10px;
}

div.form2 .hint
{
	margin: 0;
	padding: 0;
	color: #999;
}

div.form2 .note
{
	font-style: italic;
}

div.form2 span.required
{
	color: red;
}

div.form2 div.error label:first-child,
div.form2 label.error,
div.form2 span.error
{
	color: #C00;

	
}

div.form2 div.error input,
div.form2 div.error textarea,
div.form2 div.error select,
div.form2 input.error,
div.form2 textarea.error,
div.form2 select.error
{
	background: #FEE;
	border-color: #C00;

}

div.form2 div.success input,
div.form2 div.success textarea,
div.form2 div.success select,
div.form2 input.success,
div.form2 textarea.success,
div.form2 select.success
{
	background: #E6EFC2;
	border-color: #C6D880;
}

div.form2 div.success label
{
	color: inherit;
}

div.form2 .errorSummary
{
	border: 2px solid #C00;
	padding: 7px 7px 12px 7px;
	margin: 0 0 20px 0;
	background: #FEE;
	font-size: 1em;
}

div.form2 .errorMessage
{
	color: red;
	font-size: 1em;
	width:90%;
	margin:5px auto;
}

div.form2 .errorSummary p
{
	margin: 0;
	padding: 5px;
}

div.form2 .errorSummary ul
{
	margin: 0;
	padding: 0 0 0 20px;
}

div.wide.form2 label
{
	float: left;
	margin-right: 10px;
	position: relative;
	text-align: right;
	width: 100px;
}

div.wide.form2 .row1
{
	clear: left;
}

div.wide.form2 .buttons, div.wide.form2 .hint, div.wide.form2 .errorMessage {
	clear: left;
	border: 2px solid black;
	margin: 0 auto;
}

#error_message
{
	padding:0px;
	margin:0 auto;
	width:100%;
}

div.form_client {
	padding-bottom:3px;
	margin:0 auto;
	text-align:center;
	width:100%;
	min-width:400px;
	background-color:rgb(234,215,185);
	border-top-left-radius:0.8em;
	border-bottom-right-radius:0.8em;
	box-shadow: 2px 5px 20px #2b2b2b;
}
div.form_client div {
	padding:5px;
	margin-bottom:5px;
}
div.form_client div label {
	margin-top:8px;
}
div.form_client div input[type="submit"] {
	margin-top:33px;
}