/**
 * 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/
 */

div.form
{
}

div.form input,
div.form textarea,
div.form select
{
	margin: 0.2em 0 0.5em 0;
}

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

div.form label
{
	color: #790000;
    display: inline;
    float: right;
    font-size: 1.00em;
    font-weight: bold;
    width: 190px;
        
}

div.form .row
{
	margin: 0;
	padding-bottom: 20px;
}

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

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

div.form span.required
{
	color: red;
        float: right;
        padding-left: 2px; 
        margin-right: -9px;
}

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 30px 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: inherent;
	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;
}

.hpm_shift_left {
	padding-right: 100px;
        margin-bottom: 15px;
}





.fbutton {
    display:inline;
    -moz-box-shadow:inset 0px 1px 0px 0px #fff6af;
    -webkit-box-shadow:inset 0px 1px 0px 0px #fff6af;
    box-shadow:inset 0px 1px 0px 0px #fff6af;
    background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #ffec64), color-stop(1, #f3b415) );
    background:-moz-linear-gradient( center top, #ffec64 5%, #f3b415 100% );
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffec64', endColorstr='#f3b415');
    background-color:#ffec64;
    -moz-border-radius:6px;
    -webkit-border-radius:6px;
    border-radius:6px;
    border:1px solid #f3b415;
    display:inline-block;
    color:#333333;
    font-family:arial;
    font-size:15px;
    font-weight:bold;
    padding:6px 6px;
    text-decoration:none;
    text-shadow:1px 1px 0px #ffee66;
    cursor: pointer;
    white-space: nowrap;
    margin: -3px 0px 0px;
}
.fbutton:hover {
    background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #f3b415), color-stop(1, #ffec64) );
    background:-moz-linear-gradient( center top, #f3b415 5%, #ffec64 100% );
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f3b415', endColorstr='#ffec64');
    background-color:#f3b415;
    cursor: pointer;
}
.fbutton:active {
    position:relative;
    top:1px;
    cursor: pointer;
}



div.fileinputs {
    position: relative;
    cursor: pointer;
}

div.fakefile {
    position: relative;
    top: 0px;
    right: 0px;
    z-index: 1;
    cursor: pointer;
}
.file{
    cursor: pointer;
    position: fixed;
}
.reallyHiddenFile {
    display: none;
    visibility: hidden;
}
input.file {
    position: relative;
    text-align: right;
    *-moz-opacity:0 ;
    *filter:alpha(opacity: 0);
    *opacity: 1;
    z-index: 2;
    cursor: pointer;
}

.search-form .row {
    float: right;
    width: auto;
}
.search-form .buttons {
    padding-right: 60px;
}    
.summary{
    width: 100%;
    float: right;
}
.templateTarget input {
    width: 63px;
}

.new_comment_div{
    display: none;
}
.saving {
        display: none;
	margin-right: 0 auto 0 auto;
	margin-left: auto;
	min-height: 100%; 
	min-width: 100%;
	background: rgba(0,0,0,0.5) url(../images/wait.gif) 50% 50%;	 
	background-repeat: no-repeat;
	background-size: 50px 50px;
	top: 0px;
	left: 0px;
	z-index: 5000000;
	position: fixed;
}
.jamal {
    float: right;
}
#hpm_demand_type {
    background-color: #fcfcfc;
}
#hpm_bank_name {
    background-color: #fcfcfc;
}
.hasDatepicker{
    width: 70px;
}
.hpm_holder {
	position: relative;
}
.hpm_locker {
    background: rgba(0,0,0,0.5);
    height: 100%;
    position: absolute;
    width: 100%;
    z-index: 2;
}
div .form .complex label
{
    width: auto;
}