body {
	margin: 0px;
	padding: 0px;
	font-size: 12px;
	font-family: Verdana; 
}

pre {
	color: #888;
}

body.detail pre {
	margin-left: 50px;
}

button, a.button {
	display: inline-block;
	font-size: 12px;
	color: #444;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 1px;
	padding: 4px 8px;
	background-color: #EEE;
	cursor: pointer;
	border: 0px;
	border-radius: 2px;
}

button:hover, a.button:hover {
	background-color: #DDD;
	color: #222;
}

.clear {
	clear: both;
}

.relative {
	position: relative;
}

.error {
	color: red;
}

/* HEADER 
 * * * * * * * * * * * * * * * * * * * * * * * * */

div#header {
	position: fixed;
	background-color: #888;
	padding: 5px 15px; 
	top: 0px;
	left: 220px;
	right: 0px;
	height: 40px;
}

div#header h1 {
	font-weight: normal;
	margin: 5px 0px;
	padding: 0px;
}

div#header p {
	float: left;
	margin-right: 20px;
	color: #BBB;
	text-transform: uppercase;
}

div#header p span {
	font-weight: bold;
	color: #EEE;
}

div#header p.total {
	float: left;
}	

div#header p.buttons {
	position: relative;
	float: right;
	margin-top: 7px;
}

div#header p.buttons a.button {
	margin-left: 5px;
}

div#header p.buttons a.button:hover {

}

div#header p.buttons a.button.list {
	font-size: 12px;
	color: #444;
	text-decoration: none;
	margin-left: 10px;
	margin-right: 20px;
}

/* FOOTER 
 * * * * * * * * * * * * * * * * * * * * * * * * */
 
 #footer {
	position: absolute;
	left: 220px;
	right: 0px;
	bottom: 0px;
	padding: 10px 20px;
	background-color: #888;
	height: 40px;	
	z-index: 2;
}

 #footer .clear-cache-result {
 	display: none;
 	position: absolute;
 	color: #FFF;
 	background-color: #999;
 	width: 280px;
 	padding: 10px;
 	padding-top: 20px;
 	padding-bottom: 5px;
 	bottom: 60px;
 	left: 10px;
 	z-index: 3;
 	border-radius: 3px 3px 0px 0px;
 }
 
 #footer .clear-cache-result .message {
 	display: none;
 }
 
 #footer .clear-cache-result table {
 	width: 100%;
 }
 
 #footer .clear-cache-result table td {
 	font-size: 11px;
 }
 
 #footer .clear-cache-result table td:last-child {
 	width: 40px;
 }
 
 #footer .clear-cache-result table td:first-child {
 	width: auto;
 }
 
 #footer .clear-cache-result a.close {
 	display: block;
 	position: absolute;
 	top: 0px;
 	right: 5px;
 	padding: 0px 5px;
 	color: #CCC;
 	text-decoration: none;
 	font-size: 15px;
 }
 
 #footer .clear-cache-result a.close:hover {
 	color: #FFF;
 }
 
 #footer a.delete-expired {
 	position: relative;
 	margin-left: 10px;
 	
 }
 
 #footer a.delete-expired img {
 	display: none;
  	position: absolute;
  	right: -28px;
  	top: 0px;
 }
 
 #footer a.logout {
 	color: #BBB;
 	text-decoration: none;
 	letter-spacing: 1px;
 	float: right;
 	padding: 10px;
 	text-transform: uppercase;
 }
 
 #footer a.logout:hover {
 	color: #FFF;
 }

/* SIDEBAR 
 * * * * * * * * * * * * * * * * * * * * * * * * */
 
#sidebar {
	position: absolute;
	top: 0px;
	left: 0px;
	bottom: 0px;
	width: 220px;
	padding: 0px;
	background-color: #CCC;
	overflow: hidden;
	border: 0px dotted red;
}

#sidebar > .header {
	position: absolute;
	top: 0px;
	left: 0px;
	right: 0px;
	height: 27px;
	background-color: #777;
	padding: 10px 10px; 
	padding-top: 13px;
}

#sidebar .header h4 {
	margin-top: 12px;
	margin-bottom: 0px;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: #BBB;
}

#sidebar button.search {
	padding-left: 35px;
	padding-right: 35px;
	padding-top: 5px;
}

#sidebar a.button.clear-search {
	float: right;
}

/* SIDEBAR FILTER
 * * * * * * * * * * * * * * * * * * * * * * * * */

form#search {

}

form#search .form-body {
	position: fixed;
	top: 50px;
	left: 0px;
	bottom: 60px;
	width: 200px;
	padding-left: 10px;
	padding-right: 10px;
	overflow-y: scroll;
	overflow-x: hidden;
	border: 0px dotted green;
}

form#search .form-body .padding {
	height: 10px;
}

form#search .form-submit {
	position: absolute;
	left: 0px;
	bottom: 0px;
	right: 0px;
	height: 40px;
	background-color: #777;
	padding: 10px 10px;
}

form#search .form-submit button {
	width: 90%;
	padding: 8px;
	margin: 0px 5px;
	text-transform: uppercase;
	letter-spacing: 1px;
	background-color: #EEE;
	border: 0px;
	cursor: pointer;
	display: none;
}

form#search .form-submit button:hover {
	background-color: #DDD;
}

form#search .form-item {
	border-top: 1px solid #AAA;
	margin-top: 8px;
	padding-top: 8px;
} 

form#search .form-item > .label {
	margin-bottom: 4px;
}

form#search .form-item .input.text input {
	width: 95%;
}

form#search .form-item .input.select select {
	width: 100%;
}

form#search .form-item .input.select select option.level-2 {
	/* display: none; */
}

form#search .form-item .input.checkbox ul {
	list-style: none;
	margin: 0px;
	padding: 0px;
}

form#search .form-item .input.checkbox ul li {
	position: relative;
	font-size: 10px;
}

form#search .form-item .input.checkbox ul li input {
	float: left;
	display: block;
}

form#search .form-item .input.checkbox ul li .label {
	display: block;
	margin-left: 15px;
	padding-top: 3px;
	margin-right: 40px;
}

form#search .form-item .input.checkbox ul li .label span.featured.yes {
	color: orange;
	text-shadow: 0px 0px 3px #EEE;
}

form#search .form-item .input.checkbox ul li .label span.featured.no {
	color: #999;
}

form#search .form-item .input.checkbox ul li .count {
	display: block;
	position: absolute;
	top: 3px;
	right: 0px;
	color: #777;
	font-size: 9px;
}

form#search .form-item .input.checkbox ul li .count.none {
	padding-right: 1px;
}

form#search .form-item#Status {
	border-top: 0px;
	margin-top: 0px;
}

form#search .form-item#NumBedrooms .input.checkbox ,
form#search .form-item#NumBaths .input.checkbox {
	margin-left: -10px;
	margin-right: -10px;
}

form#search .form-item#NumBedrooms .input.checkbox ul li,
form#search .form-item#NumBaths .input.checkbox ul li {
	width: 88px;
	float: left;
	margin-left: 10px;
	margin-right: 0px;
}

form#search .form-item#NumBedrooms .input.checkbox ul li .label,
form#search .form-item#NumBaths .input.checkbox ul li .label {
	margin-right: 30px;
}

/* MAIN CONTENT  
 * * * * * * * * * * * * * * * * * * * * * * * * */

#maincontent {
	position: absolute;
	top: 50px;
	left: 220px;
	bottom: 60px;
	right: 0px;
	overflow: hidden;
}
 
/* TABLE 
 * * * * * * * * * * * * * * * * * * * * * * * * */

#maincontent table {
	border-collapse: collapse;
	table-layout: fixed;
}

#maincontent table th, #maincontent table td {
	display: block;
	width: 100px;
  	float: left;
  	vertical-align: top;
  	padding: 5px 10px;
  	border-right: 1px dotted #CCC;
}

#maincontent thead {
	background-color: #AAA;
}

#maincontent thead tr th {
	font-size: 11px; 
	font-weight: bold;
	background-color: #AAA;
	color: #FFF;
	text-align: left;
	width: 100px;
}

#maincontent thead tr th a {
	color: #FFF;
	text-decoration: none;
}

#maincontent thead tr th a:hover {
	color: blue;
}

table.sort-id thead tr a.id,
table.sort-mod thead tr a.mod,
table.sort-address thead tr a.address,
table.sort-zip thead tr a.zip,
table.sort-neighborhood thead tr a.neighborhood,
table.sort-price thead tr a.price,
table.sort-rent thead tr a.rent {
	text-decoration: underline;
} 

#maincontent tbody {
	width: 1500px;
	height: 700px;
	display: block;
	overflow-x: scroll;
	overflow-y: scroll;
	background-color: #F1F1F1;
}

#maincontent thead tr, #maincontent tbody tr {
	display: block;
	width: 1550px;
	clear: left;
}

#maincontent tbody tr td {
	font-size: 11px; 
	height: 80px;
}

#maincontent tbody tr.odd td {
	background-color: #F9F9F9;
}

#maincontent tbody tr.even td {
	background-color: #EAEAEA;
}

#maincontent tbody tr.expired td {
	color: #BBB;
}

#maincontent td.num, #maincontent th.num						{ width: 50px; }
#maincontent td.neighborhood, #maincontent th.neighborhood		{ width: 100px; }
#maincontent td.address, #maincontent th.address				{ width: 130px; }
#maincontent td.aptnum, #maincontent th.aptnum				    { width: 70px; }
#maincontent td.building-type, #maincontent th.building-type	{ width: 70px; }
#maincontent td.sale-rent, #maincontent th.sale-rent			{ width: 70px; }
#maincontent td.ownership, #maincontent th.ownership			{ width: 90px; }
#maincontent td.price, #maincontent th.price					{ width: 80px; }
#maincontent td.rent, #maincontent th.rent						{ width: 60px; }
#maincontent td.image, #maincontent th.image					{ width: 80px; }
#maincontent td.doorman, #maincontent th.doorman				{ width: 100px; }
#maincontent td.petpolicy, #maincontent th.petpolicy			{ width: 80px; }
#maincontent td.status, #maincontent th.status					{ width: 60px; }
#maincontent td.date, #maincontent th.date						{ width: 70px; }

td.sale-rent span {
	white-space: nowrap;
}

td.price,
td.rent {
	text-align: right;
}

td.image {
	position: relative;
	color: #999;
	font-size: 10px;
	z-index: 1;
}

#maincontent tbody tr.expired td span.error {
	color: #BBB;
}

td.image span.error.has-images {
	position: absolute;
	display: block;
	left: 0px;
	right: 0px;
	top: 5px;
	padding-left: 9px;
}

tr.odd td.image span.error.has-images {
	background-color: #F9F9F9;
}

tr.even td.image span.error.has-images {
	background-color: #EAEAEA;
}

td.image > img {
	cursor: pointer;
}

td.image .images {
	position: fixed;
	display: none;
	top: 200px;
	left: 300px;
	width: 520px;
	height: 420px;
	padding: 30px;
	background-color: #444;
	z-index: 2;
	overflow: hidden;
	-webkit-box-shadow: 2px 4px 5px 0px rgba(0,0,0,0.23);
	-moz-box-shadow: 2px 4px 5px 0px rgba(0,0,0,0.23);
	box-shadow: 2px 4px 5px 0px rgba(0,0,0,0.23);
}

td.image .images a.close {
	position: absolute;
	top: 5px;
	right: 10px;
	color: #FFF;
	font-size: 18px;
	cursor: pointer;
}

td.image .images a.close:hover {
	color: orange;
}

td.image .images ul {
	margin: 0px;
	padding: 0px;
}

td.image .images ul li {
	display: block;
	float: left;
	margin: 0px;
	padding: 0px;
	width: 82px;
	height: 82px;
	margin-right: 3px;
	margin-bottom: 3px;
	overflow: hidden;
}

td.image .images ul li img {
	cursor: pointer;
	border: 1px solid #444;
}

td.image .images ul li img:hover {
	border: 1px solid #CCC;
}

td.image .images ul li:first-child {
	width: 252px;
	height: 166px;
	margin-right: 3px;
	margin-bottom: 3px;
}

td.image .images ul li:first-child img {
	cursor: auto;
	border: 0px;
	border-top: 1px solid #444;
	border-left: 1px solid #444;
}

td.features {
	width: 600px;
}

td.doorman span {
	font-weight: bold;
}

td.num a {
	text-decoration: none;
}

td.num a:hover {
	color: orange;
}

td.status {
	position: relative;
}

td.status .featured {
	display: block;
	position: absolute;
	font-size: 22px;
	top: 60%;
	left: 50%;
	width: 25px;
	height: 30px;
	margin-left: -12px;
	margin-top: -15px;
	opacity: 0.1;
	cursor: pointer;
	text-decoration: none;
	background-color: transparent;
	text-align: center;
	color: black;
}

td.status .featured.yes,
td.status a.featured.no:hover,
td.status.progress a.featured.no {
	color: orange;
	opacity: 1.0;
}

td.status a.featured.yes:hover,
td.status.progress a.featured.yes {
	color: black;
	opacity: 0.1;
}

tr.expired td.status .featured.yes {
	opacity: 0.2;
}

tr.expired td.status .featured.yes:hover {
	opacity: 0.2;
	cursor: default;
}

tr.expired td.status .featured.no:hover {
	opacity: 0.2;
	cursor: default;
}

td.status.progress a.featured {
	animation: rotation 1s infinite linear;
	cursor: default;
}

@keyframes rotation {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(359deg);
  }
}

/* INSPECTOR 
 * * * * * * * * * * * * * * * * * * * */

#inspector {
	position: fixed;
	height: 300px;
	bottom: 0px;
	left: 0px;
	right: 0px;
	background-color: #444;
	z-index: 5;
}

#inspector .header {
	position: relative;
	height: 24px;
	background-color: #666;
	margin: 0px;
	padding: 0px;
}

#inspector .header h4 {
	text-transform: uppercase;
	font-size: 12px;
	color: #999;
	margin: 0px;
	padding: 0px;
	padding: 5px 20px;
	margin-left: 0px;
	letter-spacing: 1px;
}

#inspector .header a.close {
	position: absolute;
	top: 5px;
	right: 25px;
	text-decoration: none;
	color: #AAA;
	font-size: 12px;
} 

#inspector .header a.close:hover {
	color: #FFF;
}

#inspector .body {
	position: absolute;
	top: 30px;
	left: 0px;
	right: 0px;
	bottom: 0px;
	overflow: scroll;
	padding: 20px;
	padding-top: 5px;
}

#inspector .body pre {
	font-family: "Monaco";
	font-size: 11px;
	color: #EEE;
	padding: 0px;
	margin: 0px;
	padding-top: 10px;
	margin-top: 10px;
	border-top: 1px dotted #999;
}

#inspector .body pre:first-child {
	padding-top: 0px;
	margin-top: 0px;
	border-top: 0px;
}

#inspector .body pre:last-child {
	margin-bottom: 20px;
}































 