body { background: url('/assets/i/grid.png') repeat-x top; }

.navbar .nav li a { color: #FFF !important; }

.subhead { margin-top: 50px; }
.mobile .subhead { margin-top: 0; }

/* defaults */
small { font-size: 11px; }
footer { width: 100%; height: 100px; position: absolute; bottom: 0; background: #FFF; }
body, html { height: 100%; }
#wrapper { position: relative; min-height: 100%; }
.main-content { padding-bottom: 100px; }
.text-right { text-align: right !important; }
.text-center { text-align: center !important; }
.nowrap { white-space: nowrap; }
.label-frame { border: 1px solid #999999; padding: 1px 4px 2px; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px;
  font-size: 10.998px;
  font-weight: bold;
  line-height: 14px;
  color: #555;
  white-space: nowrap;
  vertical-align: baseline;
  background: #FFF;
}
.clear { clear: both; }

table .thin-row { width: 1%; white-space: nowrap; }
table .thin-col { width: 1%; white-space: nowrap; }
label.checked { font-weight: bold; }
table td.cell-comment { width: 30%; text-indent: -18px; padding-left: 25px !important; }
table td.cell-comment i { position: relative; top: 2px; }

.local { color: #000; border-bottom: 1px dotted #000; cursor: pointer; }
.local:hover { border-bottom: 1px dotted #b94a48; color: #b94a48; cursor: pointer; }

/* fields */
.field-long { width: 100%; }
.input-short { width: 30px; }

/* Colors */
.color-lightgrey { color: #999; }
.color-grey { color: #777; }
a.color-grey { text-decoration: underline; }
.color-red { color: #b94a48; }
a.color-red:hover { color: #b94a48; }
.color-blue { color: #3a87ad; }
.color-green { color: #468847; }
.color-orange { color: #f89406; }

/* orders */
.items-list { margin-top: 10px; }

/* auth */
#login-form { width: 210px; position: absolute; top: 30%; left: 50%; margin: 0 0 0 -125px; }
#login-form input { width: 200px; }
.auth-fields { padding-top: 10px; }

/* Select */
.btn-group-select button { padding-right: 20px !important; font-weight: bold; position: relative; }
.btn-group-select button .caret { float: right; position: absolute; right: 7px; }
.btn-group-select button label { line-height: normal; font-weight: bold; display: inline; margin: 0; cursor: pointer; font-size: 12px; }
.btn-group-select li.selected a { font-weight: bold !important; }
.btn-group-select li:hover .icon-ok { background-image: url("../img/glyphicons-halflings-white.png"); }
.btn-group-select li:hover a small { color: #FFF; }

/* Dashboard */
.dashboard {
	margin-bottom: 10px;
	padding: 10px 10px 10px 0;
	background: #FFF;
	border: 1px solid #CCC;
	  -webkit-border-radius: 4px;
	     -moz-border-radius: 4px;
	          border-radius: 4px;
}

.total-digits strong  { white-space: nowrap; font-size: 15px; }
.total-digits span { white-space: nowrap; }

.dashboard table { width: 100%; margin: 0; padding: 0; }
.dashboard table td { width: 14%; padding: 0 10px 0 11px; border-right: 1px solid #CCC; }
.dashboard table td:last-child { border: none; }

/* Subnav */
.subnav {
  width: 100%;
  height: 36px;
  margin-bottom: 10px;
  background-color: #eeeeee; /* Old browsers */
  background-repeat: repeat-x; /* Repeat the gradient */
  background-image: -moz-linear-gradient(top, #f5f5f5 0%, #eeeeee 100%); /* FF3.6+ */
  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f5f5f5), color-stop(100%,#eeeeee)); /* Chrome,Safari4+ */
  background-image: -webkit-linear-gradient(top, #f5f5f5 0%,#eeeeee 100%); /* Chrome 10+,Safari 5.1+ */
  background-image: -ms-linear-gradient(top, #f5f5f5 0%,#eeeeee 100%); /* IE10+ */
  background-image: -o-linear-gradient(top, #f5f5f5 0%,#eeeeee 100%); /* Opera 11.10+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f5f5f5', endColorstr='#eeeeee',GradientType=0 ); /* IE6-9 */
  background-image: linear-gradient(top, #f5f5f5 0%,#eeeeee 100%); /* W3C */
  border: 1px solid #e5e5e5;
  -webkit-border-radius: 4px;
     -moz-border-radius: 4px;
          border-radius: 4px;
}
.subnav .nav {
  margin-bottom: 0;
}
.subnav .nav > li > a {
  color: #000;
  margin: 0;
  padding-top:    11px;
  padding-bottom: 11px;
  border-left: 1px solid #f5f5f5;
  border-right: 1px solid #e5e5e5;
  -webkit-border-radius: 0;
     -moz-border-radius: 0;
          border-radius: 0;
}
.subnav .nav > .active > a,
.subnav .nav > .active > a:hover {
  padding-left: 13px;
  color: #000;
  font-weight: bold;
  background-color: #e9e9e9;
  border-right-color: #ddd;
  border-left: 0;
  -webkit-box-shadow: inset 0 3px 5px rgba(0,0,0,.05);
     -moz-box-shadow: inset 0 3px 5px rgba(0,0,0,.05);
          box-shadow: inset 0 3px 5px rgba(0,0,0,.05);
}
.subnav .nav > .active > a .caret,
.subnav .nav > .active > a:hover .caret {
  border-top-color: #777;
}
.subnav .nav > li:first-child > a,
.subnav .nav > li:first-child > a:hover {
  border-left: 0;
  padding-left: 12px;
  -webkit-border-radius: 4px 0 0 4px;
     -moz-border-radius: 4px 0 0 4px;
          border-radius: 4px 0 0 4px;
}
.subnav .nav > li:last-child > a {
  border-right: 0;
}
.subnav .dropdown-menu {
  -webkit-border-radius: 0 0 4px 4px;
     -moz-border-radius: 0 0 4px 4px;
          border-radius: 0 0 4px 4px;
}

/* Fixed subnav on scroll, but only for 980px and up (sorry IE!) */
@media (min-width: 980px) {
  .subnav-fixed {
    position: fixed;
    top: 40px;
    left: 0;
    right: 0;
    z-index: 1020; /* 10 less than .navbar-fixed to prevent any overlap */
    border-color: #d5d5d5;
    border-width: 0 0 1px; /* drop the border on the fixed edges */
    -webkit-border-radius: 0;
       -moz-border-radius: 0;
            border-radius: 0;
    -webkit-box-shadow: inset 0 1px 0 #fff, 0 1px 5px rgba(0,0,0,.1);
       -moz-box-shadow: inset 0 1px 0 #fff, 0 1px 5px rgba(0,0,0,.1);
            box-shadow: inset 0 1px 0 #fff, 0 1px 5px rgba(0,0,0,.1);
    filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); /* IE6-9 */
  }
  .subnav-fixed .nav {
    margin: 0 0 0 40px;
    padding: 0 1px;
  }
  .subnav .nav > li:first-child > a,
  .subnav .nav > li:first-child > a:hover {
    -webkit-border-radius: 0;
       -moz-border-radius: 0;
            border-radius: 0;
  }
}

/* Orders */
.items-list .label, .items-list .label-frame, #mc-users .label { font-size: 12px; }
#orders-list tr.order-new td { font-weight: bold; }
#orders-list tr.sold-waiting td { opacity: 0.4; }
#orders-list tr.sold-waiting td.cell-imp { opacity: 1; }

#order-info { width: 900px; position: absolute; top: 50px; margin: 0 0 50px -450px; }
#orders-list tr:hover td { cursor: pointer; }
.modal-body .line { margin-bottom: 15px; }
.modal-body .line h4 { margin-bottom: 10px; }

.line-docs .docs-box { width: 33%; float: left; }
.line-docs .docs-box ul { padding-right: 20px; }
.line-docs .docs-box ul li { text-indent: -18px; padding-left: 18px; }
.table-zalog td { padding: 0 10px 0 0; }
.alert-zalog p { margin: 0; }

#orders-list .btn-delete-order { opacity: 0.3; }
#orders-list tr:hover .btn-delete-order { opacity: 1; }
.delete-cell { white-space: nowrap; }
.delete-cell img { margin-left: 5px; }

/* client info table */
.changed-row td { background: #f9ebeb !important; }
#error-no-plot { display: none; margin: 10px 0 0 0; }

#order-edit-form .order-comment { width: 860px; height: 50px; }
.client-info-table { width: 100%; }
.client-info-table td { padding: 5px 10px; vertical-align: top; border-bottom: 1px solid #eee; }
.client-info-table tr:hover td { background-color: #f5f5f5; }
.edit-mode td { padding-bottom: 0 !important; border: none !important; background: none !important; }
.edit-mode td.table-label { padding-top: 5px !important; }
.client-info-table td.table-label { width: 1%; white-space: nowrap; }
.client-info-table .row-passport { display: none; }

.sold-cell label { display: inline; padding-right: 2px; }
.sold-cell label input { position: relative; top: -1px; }

.order-price { margin-bottom: 5px; white-space: nowrap; }

#order-info .modal-body { max-height: none; overflow-y: visible; }
#order-info input[type="text"], #order-info textarea { color: #000; }

#order-info .ui-datepicker { z-index: 3000; display: block; position: absolute; }

.modal-load { height: 100px; background: url('/assets/i/modal_load.gif') no-repeat center center; }

.order-base-info .label-frame, .order-base-info .label { font-size: 12px; }
#order-edit-form .order-base-info .error .input-short { color: #b94a48 !important; }
.short-info .input-short { margin-bottom: 0; line-height: normal; font-weight: bold; padding-bottom: 0; position: relative; top: -2px; }
.short-info td { vertical-align: top; }

.order-info { display: none; }
.order-edit {  }

.btn-group-select button { white-space: nowrap; }

.field-passport-serie { width: 4em; }
.field-passport-num { width: 6em; }
.field-passport-date { width: 8em; }
.textarea-vidan { width: 100%; height: 50px; }

.plot-services-table tbody td { width: 33%; white-space: nowrap; }
.plot-services-table tbody td input { margin: -3px 0 0 0; position: relative; }

.order-payments { margin: 0 0 0 0; padding: 0; }
.order-payments li { margin: 0 0 0 0; padding: 0; list-style: none; }

.order-docs { margin-left: 0; }
.order-docs li { list-style: none; }

.modal .ajax-load { float: left; position: relative; top: 5px; }
.modal-footer { position: relative; }
.modal-footer .alert { text-align: left; position: absolute; left: 15px; top: 9px; }

.passport-cell input { margin-right: 10px; float: left; }
.passport-cell .input-append { margin-right: 10px; float: left; }
.passport-cell .input-append input { margin-right: 0; }

.ui-datepicker-title select { line-height: 12px !important; height: auto; }

.house-type-wrap { padding: 0; margin: 0; }
.house-type-wrap label { padding: 0 0 0 5px; margin: 5px 0 0 0; font-size: 12px; white-space: nowrap; }
.house-type-wrap input { margin: 0 2px 0 0 !important; font-size: 11px; position: relative; top: 1px; }

.sold-approve-2 { visibility: hidden; }

/* vacancies */
.vacancies-list .table { width: auto !important; }
#vacancy-form { width: 70%; padding-top: 20px; }
#vacancy-form .line input { width: 100%; color: #000; }
#vacancy-form .line textarea { width: 100%; height: 300px; color: #000; }

h1 .btn { position: relative; top: -2px; margin-left: 20px; }

.title-box h1 { float: left; }
.title-box-content { padding-top: 8px; float: right; }

h1 { margin-bottom: 0; }
h2 { margin-bottom: 10px; }
h3 { margin-bottom: 10px; }
h4 { margin-bottom: 10px; }

.mobile h1 { font-size: 22px; }

.table tbody tr.success td {
  background-color: #dff0d8;
}

.table tbody tr.error td {
  background-color: #f2dede;
}

.table tbody tr.warning td {
  background-color: #fcf8e3;
}

.table tbody tr.info td {
  background-color: #d9edf7;
}

.table-hover tbody tr.success:hover td {
  background-color: #d0e9c6;
}

.table-hover tbody tr.error:hover td {
  background-color: #ebcccc;
}

.table-hover tbody tr.warning:hover td {
  background-color: #faf2cc;
}

.table-hover tbody tr.info:hover td {
  background-color: #c4e3f3;
}

/* plots */
.list-legend { padding: 10px 0 0 0; }
.list-legend span { font-size: 12px; }

#plots-list .label, #plots-list .label-frame { font-size: 12px; }
#plots-list tr:hover td { cursor: pointer; }

.modal-header h3 .label, .modal-header h3 .label-frame { margin: 0; font-size: 12px; position: relative; top: -2px; }

#plot-info { width: 700px; position: absolute; top: 50px; margin: 0 0 50px -350px; }
#plot-info .modal-body { max-height: none; overflow-y: visible; }

.docs-table td { width: 1%; white-space: nowrap; }
.docs-table td.docs-progress { width: 97%; }
.docs-table td.docs-progress .progress { margin-bottom: 0; }
.docs-table .upload-file-name { margin-right: 10px; position: relative; top: -2px; }
.docs-table .delete-file { display: none; }

.delete-file {
  font-size: 20px;
  font-weight: bold;
  line-height: 18px;
  color: #000000;
  text-shadow: 0 1px 0 #ffffff;
  opacity: 0.2;
  filter: alpha(opacity=20);
}

.delete-file:hover {
  color: #000000;
  text-decoration: none;
  cursor: pointer;
  opacity: 0.4;
  filter: alpha(opacity=40);
}

/* Electricity */
.title-right-box { padding: 10px 0 0 0; font-size: 20px; float: right; }
.expense-form { margin: 0 50px 0 0; }
.expense-form .line input { margin-bottom: 0; }
.expense-form .counter-field { margin-left: 5px; position: relative; top: 1px; }
.expense-form .btn-primary { margin-left: 10px; }
.expense-form { float: left; }
.expense-form .line { padding-right: 50px; float: left; }

.mc-balance { padding-top: 3px; float: right; }

.payment-notice { margin-bottom: 10px; padding-right: 10px; }
.payment-notice .btn-danger { float: right; }

/* services form */
#services-form label { margin: 0 10px 0 0; display: inline; }
#services-form label input { margin-right: 1px; position: relative; top: -1px; border: 1px solid red; }

.disabled-fields { opacity: 0.5; }

.buttons-row td { vertical-align: middle; }

#order-service-form { margin: 0; }
#order-service-form .line {  }
#order-service-form .line-item { margin: 0 15px 0 0; float: left; }
#order-service-form input { margin: 0; }
#order-service-form .line-label { margin: 0 5px 0 0 !important; }
#order-service-form .radio-line label { margin: 0 10px 0 0; display: inline; }
#order-service-form .radio-line label input { position: relative; top: -3px; }
#order-service-form .sum-frame { border: 1px solid #999999; padding: 3px 6px 2px 6px; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; white-space: nowrap; vertical-align: baseline; background: #FFF; }
#order-service-form .sum-frame strong { font-size: 16px; }

#order-houseclean tbody td { vertical-align: middle; }

.radio-label { margin-right: 10px; display: inline; }
.radio-label input { position: relative; top: -3px; }

#order-grass { width: 300px; margin: -250px 0 0 -150px; }
#order-outside { width: 300px; margin: -250px 0 0 -150px; }


/* Председатель */
#users-form input { margin: 0; }
#users-form tbody td { vertical-align: middle; }

.add-client .table { margin: 0; }
.add-client table td { vertical-align: middle; }
.add-client table td input[type="text"] { margin: 0; color: #000; }
.add-client table td .btn { color: #FFF; }

.activate { width: 1%; white-space: nowrap; text-align: center; }
.activate .fileinput-button { float: none; }
.activate .progress { margin: 10px 0 0 0; display: none; }

/* smeta */
.report-objects li { background: #fff; }
.small-crumbs { font-size: 22px; }
h1 .color-grey a { color: #777; text-decoration: underline; }
.table-smeta h3 { margin-bottom: 0; cursor: pointer; }
.report-section { display: none; }
.report-caption:hover td h3 span { color: #000 !important; }
.section-sum { font-size: 16px; position: relative; top: 4px; }
.add-item-row { display: none; }
.receipt-col { width: 12%; }

td.salary-sum { vertical-align: middle; }

.report-add-item { display: none; }

.input-long { width: 95%; }

.blank { display: none; }
.report-section input { margin-bottom: 0 !important; }
.report-section .progress { min-width: 50px; margin-bottom: 0 !important; }
.report-section .input-mini { text-align: right; }
.report-section tr:hover .btn { visibility: visible; }
.file-box { min-width: 170px; }

.select-unit { width: auto !important; margin: 0; font-size: 11px; }
.count-cell { white-space: nowrap; vertical-align: middle; }

.receipt-result { clear: both; }

.edit-note { float: right; visibility: hidden; margin: 0; }
.report-section .edit-field { display: none; }
.edit-receipt { padding-top: 5px; }
.edit-note-mode .edit-note { display: none; }

.table-small th { padding: 5px 10px; vertical-align: middle; }
.table-small td { padding: 5px 10px; vertical-align: middle; }
.table-small td input { margin-bottom: 0; }

.well-credit span { margin-right: 50px; }

.edit-fine-field { display: none; }

.statements-year { display: none; }
.date-year { padding-left: 20px !important; }

.table-guard { background: #FFF; }
.guard-user-title td { border-top: 2px solid #000; font-size: 20px; }
.guard-plot-num { font-weight: bold; font-size: 25px; vertical-align: middle !important; color: #999; }
.guard-counter-field { background: #e2f1f9; }
.guard-counter-field input { width: 95%; margin: 0; font-size: 18px; font-weight: bold; }
.guard-last-statement { background: #f7f7f7; }
.guard-last-statement strong { font-size: 16px; }

.mobile .alert-success { font-size: 18px; font-weight: bold; }

/* Modal */
.modal-body .line { margin-bottom: 15px; }
.modal-body .line h4 { margin-bottom: 10px; }
.modal-load { height: 100px; background: url('/assets/i/modal_load.gif') no-repeat center center; }

.block-list { overflow: hidden; }
.photo-list .photo-block div { height: 100px; margin: 0 15px 15px 0; display: block; float: left; }
.photo-list .photo-block { margin-bottom: 20px; }
.photo-list .photo-block a img { -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px;  }
.photo-list .photo-block a.link-file { white-space: nowrap; }
.photo-list .photo-block a.new-thumb { width: 98px; height: 98px; border: 1px solid #CCC; background: url('/assets/i/ajax.gif') center center no-repeat; }

#photo-list .photo-block div { height: 100px; margin: 0 15px 15px 0; display: block; float: left; }
#photo-list .photo-block { margin-bottom: 20px; }
#photo-list .photo-block a img { -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px;  }
#photo-list .photo-block a.link-file { white-space: nowrap; }
#photo-list .photo-block a.new-thumb { width: 98px; height: 98px; border: 1px solid #CCC; background: url('/assets/i/ajax.gif') center center no-repeat; }

.new-thumb img { display: none; }

.v-middle { vertical-align: middle; }

.info .file-box { padding-top: 5px; margin-bottom: 0; padding-bottom: 0; }

#obj-payments-table { width: 400px; }
#obj-payments-table .success td { vertical-align: middle; }
#obj-payments-table .obj-payment-delete { display: none; }
#obj-payments-table tr:hover .obj-payment-delete { display: inline-block; }
