form{margin-bottom: 20px;}

fieldset{border: 0px; margin: 0px; padding: 0px;}
legend{display: none;}
label{font-size: 110%; font-weight: bold; padding: 0; padding-top: 7px; text-align: left; display: block;}
label span.description{font-weight: normal; color: #666; font-size: 80%; display: block;}
div.input{clear: both; margin-bottom: 10px; float: none; width: 100%; }
div.checkbox{clear: both;}
div.checkbox label{display: inline; float: none; font-size: 110%; font-weight: normal; padding: 0 0 0 5px; text-align: left; width: auto;}

div.radio{clear: both;}
div.radio label{display: inline; font-weight: normal; font-size: auto; padding-right: 10px;}
div.radio legend{display: block; font-size: 110%; font-weight: bold; padding: 0px; text-align: left;}
div.input.radio input{width: auto; border: none;}

div.submit{clear: both; margin-left: 175px; margin-top: 20px;}

div.input input{border: 1px solid #bbb; padding: 5px; width: 300px; }
div.input input[type=checkbox]{border: 1px solid #bbb; padding: 5px; width: auto; }
div.input input, div.select select, div.textarea textarea{-moz-border-radius: 3px; -webkit-border-radius: 3px;}
div.textarea textarea{border: 1px solid #bbb; padding: 5px; width: 300px;}

div.input input:hover, div.textarea textarea:hover{border: 1px solid #666; padding: 5px;}
div.input input:focus, div.textarea textarea:focus{border: 1px solid #666; padding: 5px;}
div.select select{width: 313px; padding: 5px; border: 1px solid #BBBBBB;}
div.field{margin-left: 180px;}
input.short_input{border: 1px solid #bbb; padding: 5px; width: 40px;}

/* live validation errors*/
label.error {margin-left: 0px; width: auto; font-weight: normal; color: #f00; font-size: 85%; padding: 5px; float: none; display: inline; margin: 0px;}
div.input input.error{background: #fff url(../img/failed.gif) center right no-repeat; color: #f00;}
label.checked {background: #fff url(../img/allow.png) top left no-repeat; margin-left: 5px;}

/* post validation errors */
.error-message{margin-left: 0px;width: auto; /*display: inline;*/ font-weight: normal; color: #f00; font-size: 85%; }
.error-bgr {background-color: #f00;}

/*Captcha*/
img.captcha {vertical-align: top;}

/*Simple-form*/
form.simple-form{background-color: #eee; border: 1px dashed #888; padding: 20px 20px 10px 20px; margin-bottom: 20px; float: left; clear:both; width: auto;}
form.simple-form div.input {float: left; width: auto;}
form.simple-form div.submit {float: left; clear: none; margin: 0px; padding: 3px;}

/* bordered-fieldset*/
fieldset.bordered{background-color: #fff; border: 1px dashed #888; padding: 20px 20px 10px 20px; margin-bottom: 20px; float: left; clear:both; width: 90%;}

.button-above{margin-bottom: 10px;}

/*Apartament id*/

.form-header{ background-color: #ddd; border: 1px solid #999; float: left; width: 100%; margin-bottom: 20px; padding: 7px 0px;}
.form-header label{font-size: 100%;padding: 3px; float: none;text-align: left; width: auto; margin-left: 7px; color: #000;}

.property { background-color: #fff; }

fieldset.droppable-hover {border: 2px dashed #000;}

.form-header div.input {float:left; clear:none; width: auto; margin-right: 20px; margin-bottom: 0px;}
.property .form-header div.input input{font-size: 80%;padding: 3px; float: none; width: auto; background-color: #fff}
.property .form-header { height: 18px; }

/* Property criterion big table */
div.year{/*float: right; width: 100px;*/ padding: 0px 0px 30px 0px;}
div.year .next-prev{float: right; line-height:1.7em;}
div.year .next-prev span{color: #000;}
div.year .next-prev a{border: 1px solid #888; padding: 0px 7px 0px 7px; text-decoration: none; }
div.year .next-prev a:hover{background-color: #ccc;}
div.year #current-year {padding: 0px 10px; font-weight: bold; color:#888;}
table tr td.month {padding: 0px; border-bottom: 1px solid #000; text-align: right}
table tr td.month {width: 53px;}
table tr td.apartment{border-bottom: 1px solid #000;}
table tr td.month input{width: 90%; border: none; text-align: right; padding:3px 2px; background: transparent;}
table tr.selected{background-color: #ccc;}
table tr.selected td{background-color: #ccc;}
table tr td.current {background-color: #abc7ff;}
table tr td.current input, table tr td.future input{background: transparent;}
table tr td.future {background-color: #888; border-bottom: 1px solid #000;}

/*Loading*/
.loading{background: transparent url(../img/loadingAnimation.gif) center center no-repeat; padding: 20px !important; clear:both;}
.loading1{background: transparent url(../img/loadingAnimation.gif) center center no-repeat; padding: 0px; clear:both;}
.loading2{background-image: url(../img/ajax-loader.gif); background-position: center right; background-repeat: no-repeat;}
.loading3{background-image: url(../img/ajax-loader.gif); background-position: center left; background-repeat: no-repeat;}
.left-subimit{padding: 15px 0;}

.floor-editor {}
.floor-editor div.input{margin: 0px; float:left; width: auto;}
.floor-editor div.input input{padding: 2px; font-size: 80%;}

div#price div.field span{color: #f00; font-weight:bold}
div.building label.radio{float: none; padding: 0px; text-align: left; width: auto;}

table.morder, table.morder td,table.morder tr{
    border: none;
    text-align: left;
}

table.morder tr:hover{
    background-color: transparent;
}

table.morder {
    width: auto;
}

table.morder td {
    vertical-align:top;
}

table.morder_up td {
    vertical-align:top;
}