/**
 * 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 table
{
border: solid 1px #CCC;
border-right: 0px;
border-bottom: 0px;
}

div.form table td
{
font-weight: bold;
border-right: solid 1px #CCC;
border-bottom: solid 1px #CCC;
width: 25%;
padding: 3px;
}

div.form table.buyers td
{
font-weight: bold;
border-right: solid 1px #CCC;
border-bottom: solid 1px #CCC;
padding: 3px;
}


div.form input,
div.form textarea,
div.form select
{
	border: solid 1px #CCC;
}

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.9em;
}
/*
div.form label.error {*/
    /* Move the error above the input element. */
    /*position: absolute;
    line-height: 1.5em;
    margin-top: -1.6em;
	background: #CCC;
    border: solid 1px red;
    color: red;
    padding: 0 2px;
}
*/
div.form label.error 
{  
	display: none;
    position: absolute;
	margin-top: -2.0em;
    min-width: 100px;
	padding-left: 5px;
	padding-right: 5px;
    height: 20px;  
    text-align: center;  
    line-height: 20px;  
    background-color: #fff;  
    border: 1px solid #666;  
    -webkit-border-radius: 30px;  
    -moz-border-radius: 30px;  
    border-radius: 30px;  
    -webkit-box-shadow: 2px 2px 4px #888;  
    -moz-box-shadow: 2px 2px 4px #888;  
    box-shadow: 2px 2px 4px #888;  
}

div.form label.error:before  
{  
    content: ' '; 
	margin-top: -3.2em;
    position: absolute;  
    width: 0;  
    height: 0;  
    left: 30px;  
    top: 58px;  
    border: 5px solid;  
    border-color: #666 transparent transparent #666;  
}

div.form label.error:after  
{  
    content: ' '; 
	margin-top: -3.2em;
    position: absolute;  
    width: 0;  
    height: 0;  
    left: 31px;  
    top: 58px;  
    border: 5px solid;  
    border-color: #fff transparent transparent #fff;  
} 

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: #ef200a;
}

div.form div.error label,
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: 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#bedrms_container {
  display: none;
  position: absolute;
  width: 205px;
  padding: 10px;
  background: #eeeeee;
  color: #000000;
  border: 1px solid #808080;
  border-radius: 5px;
  font-size: 90%;
}

a#show_bedrms {
	width: 0;
	height: 0;
	border-top: 12px solid #ff6600;
	border-bottom: 8px solid transparent; 
	border-left:12px solid transparent;
}

div#bathrms_container {
  display: none;
  position: absolute;
  width: 235px;
  padding: 10px;
  background: #eeeeee;
  color: #000000;
  border: 1px solid #1a1a1a;
  border-radius: 5px;
  font-size: 90%;
}

a#show_bathrms {
	width: 0;
	height: 0;
	border-top: 12px solid #ff6600;
	border-bottom: 8px solid transparent; 
	border-left:12px solid transparent;
}

div#sq_container {
  display: none;
  position: absolute;
  width: 235px;
  padding: 10px;
  background: #eeeeee;
  color: #000000;
  border: 1px solid #1a1a1a;
  border-radius: 5px;
  font-size: 90%;
}

a#show_sq {
	width: 0;
	height: 0;
	border-top: 12px solid #ff6600;
	border-bottom: 8px solid transparent; 
	border-left:12px solid transparent;
}

a#show_suburbs {
	width: 0;
	height: 0;
	border-top: 12px solid #ff6600;
	border-bottom: 8px solid transparent; 
	border-left:12px solid transparent;
}

div#suburbs_container {
  display: none;
  position: absolute;
  width: 250px;
  padding: 10px;
  background: #eeeeee;
  color: #000000;
  border: 1px solid #1a1a1a;
  border-radius: 5px;
  font-size: 90%;
}

#submit, #button, #backend_submit, #submenu a{
	color: white;
	border-color: white;
	background: #ff6600;
	font-weight: bold;
	border: none;
	height: 24px;
}

.add_more {
	color: white;
	background: #ff6600;
	border-radius: 10px;
	font-weight: bold;
	height: 20px;
	width: 20px;
	float: left;
	margin-left: 3px;
	text-align: center;
	font-size: 16px;
	cursor: pointer;
}

.asterisks {
	color: red;
	font-weight: bold;
}

#buyersuggest, #street_name_suggest{
	position: absolute;
	margin-top: 20px;
	padding: 10px;
	background: #eeeeee;
	color: #000000;
	border: 1px solid #1a1a1a;
	border-radius: 5px;
	font-size: 90%;
}

#street_name_suggest{
	margin-top: 0px;
        margin-left: 30px;
}

#buyersuggest a, #street_name_suggest a {
	text-decoration: none;
	color: #555555;
}

/*---------------*/
/*Added by Justin*/
/*---------------*/
#button, #submenu a{
    text-decoration: none;
    padding: 5px;
}

#submenu ul{
    list-style: none;
    padding-left: 0px;
}

.row label{
    float: left;
    width: 17%;
}

#login-form label{
    float: none !important; 
}

#offerAmountFormatted{
    color: #999999;
}

#deal-form .row label{
    float: left;
    width: 25%;
}

#backend_submit{
    cursor: pointer;
}

#section_heading
{
	color: #333333;
	font-weight: bold;
	font-size: 16px;
}

#sellers-grid th
{
    padding: 5px;
	background: #c7c9c8;
	color: #001823;
	font-weight: bold;
	border-right: solid 1px #FFFFFF;
}

#sellers-grid td
{
   border-right: solid 1px #dfdfdf;
   border-bottom: solid 1px #dfdfdf;
}

#sellers-grid a
{
	text-decoration: none;
}

#sellers-grid #button{
    padding-top: 1px;
    padding-bottom: 1px;
}

.row-new{
    background-color: #ffcf53;
}

.row-expired{
    background-color: #EE3B3B;
    color: #2F2F2F;
}

.row-expired a{
    color: #FFFFFF;
}

.row-expired a:hover{
    color: #CCCCCC;
}

.row-expires-soon{
    background-color: #FFB5C5;
}

.row-pending-bond-complete{
    background-color: #00FFFF;
}

.row-pending-registration-lodged{
    background-color: #FF99FF;
}

.instruction{
    color: #999999;
    font-size: 10px;
    
}

.searchForm{
    float:right;
    margin-bottom: 5px;
}

.searchworks-contact-form{
	display: block;
	text-align: center;
	margin-bottom: 30px;
}


#prepopulate{
        display: none;
	position: absolute;
	padding: 10px;
	background: #eeeeee;
	color: #000000;
	border: 1px solid #1a1a1a;
	border-radius: 5px;
	font-size: 90%;
        width:auto;
}

prepopulate a{
	text-decoration: none;
	color: #555555;
}

.print-comments{
    background-color: #FFFFFF;
}

.print-comments .comment-back-button{
    display: none;
}

.filters input, .filters select{
    width: 100%;
}
#form1{
	clear: both;
}
#drop_zone{
	border: 2px dotted #cccccc;
	text-align: center;
	padding: 1rem;
	margin: 1rem 0;
	clear: left;
}
#drop_zone p{
	margin-bottom: .75rem;
}

.drop-zone-highlight{
	border: 2px dotted green!important;
}