html {
	height: 100%;
}

body {
	position: relative;
	margin: 0px;
	padding: 0px;
	height: 100%;
	background-color: #a8a8a8;
	background-image: url('/images/design/body-bg.gif');
	background-repeat: repeat-x;
	background-position: top center;
	font-family: AvenirLight, Arial;
	color: #505050;
}

#container {
	position: relative;
	width: 940px;
	margin: 0px auto;
	padding: 0px 6px;
	background-image: url('/images/design/container-bg.png');
}

#header {
	height: 219px;
}

#main-nav {
	width: 955px;
	height: 32px;
	margin: 0px;
	padding: 0px;
	margin-left: -15px;
}

#main-content {
	position: relative;
	clear: left;
	width: 600px;
	min-height: 600px;
	padding: 0px 40px;
}

#sidebar {
	position: absolute;
	left: 686px;
	top: 211px;
	width: 260px;
}

#footer {
	position: relative;
	left: 0px;
	right: 0px;
	bottom: 0px;
}

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
 
h1 {
	position: relative;
	margin: 0px; 
	padding: 0px;
	font-family: AvenirHeavy;
	font-weight: normal;
	overflow: hidden;
} 

h1 span {
	position: absolute;
	top: -150px;
}

h4 {
	font-family: AvenirMedium;   
    font-weight: normal;
}
    
hr {
	clear: both;
	display: none;
}

.clear {
	display: block;
	clear: both;
}

/* EDIT LINK
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

a.edit {
 	display: block;
    text-indent: 1000px;
	overflow: hidden;
    width: 21px;
    height: 18px;
    padding: 0px;
    background-color: transparent;
    background-image: url('/images/design/edit-button.png');
    -moz-box-shadow:    none;
 	-webkit-box-shadow: none;
  	box-shadow:         none;
  	border-radius: 0px;   
}

a.edit:hover {
	background-color: transparent;
	background-position: right;    
}

/* HEADER
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
 
#header {
	position: relative;
	background-color: #777;
	background-image: url('/images/design/main-header.jpg');
}

#header a {
	color: white;
}

#header .top {
	position: absolute;
	top: 0px;
	left: 0px;
	right: 0px;
	height: 40px;
	background-color: #FFF;
	border-bottom: 1px solid #999;
	z-index: 1;
}

#header .top a.phone {
	display: block;
	float: right;
	padding: 14px 22px 10px 33px;
	font-size: 17px;
	letter-spacing: 1px;
	color: #ff9900;
	font-family: AvenirBook;
	text-decoration: none;
	background-image: url('/images/design/phone-icon.png');
	background-repeat: no-repeat;
	background-position: 0px 11px;
}

#header .top a.edit-phone-number {
    position: absolute;
	right: 0px;
    top: 10px;
	background-image: url('/images/design/edit-button-left.png');
}

#header .logo {
	position: relative;
	display: block;
	width: 260px;
	height: 200px;
	top: 6px;
	left: 32px;
	background-image: url('/images/design/nyc-office-space-logo.png');
	z-index: 2;
	overflow: hidden;
	text-indent: -1000px;
}

/* MAIN NAV 
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

ul#main-nav {
	list-style: none;
	background-color: #000;	
	padding-left: 15px;
	z-index: 10;
	height: 32px;
}

ul#main-nav > li {
	float: left;
	padding: 0px;
}

body.home 			ul#main-nav > li.home > .title,
body.index.level-0	ul#main-nav > li.home > .title,
body.services 		ul#main-nav > li.services > .title,
body.spaces 		ul#main-nav > li.office-spaces > .title,
body.search 		ul#main-nav > li.search > .title,
body.links 			ul#main-nav > li.links > .title,
body.contact		ul#main-nav > li.contact > .title {
	background-image: url('/images/design/main-nav-selected.png');
	background-position: center bottom;
	background-repeat: no-repeat;
}

body.home 			ul#main-nav > li.hover.home > .title,
body.index.level-0	ul#main-nav > li.hover.home > .title,
body.services 		ul#main-nav > li.hover.services > .title,
body.spaces 		ul#main-nav > li.hover.office-spaces > .title,
body.search 		ul#main-nav > li.hover.search > .title,
body.links 			ul#main-nav > li.hover.links > .title,
body.contact		ul#main-nav > li.hover.contact > .title {
	background-image: none;
}

body.home 			ul#main-nav > li.home > .title:hover,
body.index.level-0	ul#main-nav > li.home > .title:hover,
body.services 		ul#main-nav > li.services > .title:hover,
body.spaces 		ul#main-nav > li.office-spaces > .title:hover,
body.search 		ul#main-nav > li.search > .title:hover,
body.links 			ul#main-nav > li.links > .title:hover,
body.contact		ul#main-nav > li.contact > .title:hover {
	background-image: none;
}

ul#main-nav > li .title {
	position: relative;
	display: block;
	padding: 8px 24px 7px 24px;
	height: 17px;
	color: #ff9900;
    text-decoration: none;
	font-family: AvenirRoman;
	font-size: 15px;
	letter-spacing: 1px;
	z-index: 20;
}

ul#main-nav > li > .title {
	position: relative;
	background-color: #000;	
	border-left: 1px solid #333;
	z-index: 20;
}

ul#main-nav > li.home > .title {
	border: 0px;
}

ul#main-nav > li a.title:hover {
	color: #CCC;
 	background-color: #4a4a4a;
}

ul#main-nav > li.hover .main.title {
    color: #CCC;
    color: #ff9900;
    /* background-color: #4a4a4a; */
    background-color: #000;	
}

ul#main-nav > li a.main.title:hover {
    color: #CCC;
    background-image: url('/images/design/arrow-down.png');
    background-position: center bottom;
	background-repeat: no-repeat;
 	background-color: #000;	
}

body.home 			ul#main-nav > li.home > a.main.title:hover,
body.index.level-0	ul#main-nav > li.home > a.main.title:hover,
body.services 		ul#main-nav > li.services > a.main.title:hover,
body.spaces 		ul#main-nav > li.office-spaces > a.main.title:hover,
body.search 		ul#main-nav > li.search > a.main.title:hover,
body.links 			ul#main-nav > li.links > a.main.title:hover,
body.contact		ul#main-nav > li.contact > a.main.title:hover {
	background-image: url('/images/design/arrow-down.png');
    background-position: center bottom;
	background-repeat: no-repeat;
}

ul#main-nav li ul {
    margin-top: 5px;
    padding: 0px;
	width: 200px;
	-moz-box-shadow:    1px 3px 5px 0px rgba(0,0,0,0.7);
 	-webkit-box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.7);
  	box-shadow:         0px 2px 5px 0px rgba(0,0,0,0.7);
  	z-index: 15;
}

ul#main-nav li.home ul 			{ width: 130px; }
ul#main-nav li.office-spaces ul { width: 101px; }
ul#main-nav li.search ul 		{ width: 188px; }
ul#main-nav li.links ul 		{ width: 88px; }
ul#main-nav li.contact ul 		{ width: 105px; }

ul#main-nav li ul a.title {
	color: #FFF;
	height: auto;
    line-height: 14px;
}

ul#main-nav li ul a.title:hover {
	color: #FFF;
    color: #ff9900;
}

ul#main-nav li.contact-us .wd-2 {
	display: none;    
}

/* MAIN CONTENT 
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

#main-content {
	font-size: 15px;
	padding-bottom: 30px;
    border: 0px dotted green;
}

#main-content .body {
	position: relative;
    color: #505050;
    border: 0px dotted red;
}

#main-content .excerpt {
    position: relative;
}

#main-content p {
	line-height: 20px;
	text-align: justify;
}

#main-content ul,
#main-content ol {
	margin: 0px;
	margin-left: 27px;
	padding: 0px;
}

#main-content ul {
	list-style: square;
}

#main-content li {
	margin-bottom: 5px;
	line-height: 20px;
	margin-left: 20px;
	padding-left: 0px;
}

#main-content a {
	color: #333;
	font-family: AvenirBook;
}

#main-content a:hover {
	color: #ff9900;
}

#main-content b,
#main-content strong,
#main-content b a {
	font-family: AvenirMedium;
	font-weight: normal;
}	

#main-content .body a,
#main-content .excerpt a {
    font-family: AvenirHeavy;
	color: #ff9900;
    text-decoration: underline; 
}

#main-content .body a:hover,
#main-content .excerpt a:hover {
	color: #000;    
}

#main-content .section-header {
	display: block;
	margin-top: 20px;
	margin-bottom: 20px;
	font-family: AvenirHeavy;
	font-size: 24px;
	font-weight: normal;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #cecece;
}

#main-content .section-header a {
	color: #cecece;
	text-decoration: none;
	font-family: AvenirHeavy;
}

#main-content .section-header a:hover {
	color: #AAA;
}

#main-content .boilerplate {
    position: relative;
    clear: left;
	border-top: 1px dotted #AAA;
    color: #505050;
}

#main-content .boilerplate a {
	text-decoration: none;    
}

#main-content .boilerplate a.edit {
  	position: absolute;
	top: 20px;
    right: -25px;
}

#main-content a.edit.main {
	position: absolute;
	top: 0px;
	right: 37px;    
}

#main-content div.body a.edit,
#main-content div.excerpt a.edit {
	position: absolute;
	top: 0px;
	right: -25px;    
}

/* PREV/NEXT
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

#main-content #pagination {
	position: relative;
	clear: both;
	top: 20px;
	height: 20px;
	padding-top: 2px;
	border-top: 1px solid #CCC;
}

#main-content #pagination span {
	display: none;
}

#main-content #pagination a {
	text-transform: uppercase;
	text-decoration: none;
	font-size: 11px;
	letter-spacing: 1px;
	color: #ff9900;
	font-family: AvenirHeavy;
}

#main-content #pagination a b {
	font-weight: normal;
	font-family: AvenirHeavy;
}

#main-content #pagination a:hover {
	color: #444;
}

#main-content #pagination a span {
	display: inline;
	font-size: 17px;
}

#main-content #pagination a.prev,
#main-content #pagination a.newer {
	float: left;
}

#main-content #pagination a.next,
#main-content #pagination a.older {
	float: right;
}

/* SIDEBARS 
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
  
.sidebar {
	border: 0px dotted green;
}

.sidebar p,
.sidebar a {
	margin-left: 15px;
}

.sidebar p,
.sidebar a {
	font-size: 14px;
}

.sidebar p {
	color: #000;
	opacity: 0.6;
	margin-top: 7px;
	margin-bottom: 0px;
	margin-right: 27px;
	line-height: 18px;
}

.sidebar ul {
	font-size: 12px;
	list-style: none;
	margin-left: 15px;
	margin-right: 15px;
	padding: 0px;
}

.sidebar ul li {
	margin: 0px;
	padding: 0px;
}

.sidebar h3 {
	margin-top: 0px;
	margin-bottom: 0px;
	padding-top: 15px;
	padding-left: 15px;
	padding-bottom: 2px;
	font-family: AvenirHeavy;
	font-weight: normal;
	font-size: 17px;
	text-transform: uppercase;
	color: #7e7e7e;
}

/* Broker Assistance & Database */

.sidebar.broker-db {
	position: absolute;
	left: 0px;
	right: 0px;
	height: 205px;
	z-index: 2;
	overflow: hidden;
}

.sidebar.broker-db.closed {
	height: 38px;
	z-index: 1;
}

.sidebar.broker-db.closed .content {
	opacity: 1.0;
}

.sidebar.broker-db.closed .content {
	opacity: 0.0;
}

.sidebar.broker-db h3 {
	color: #FFF;
	text-shadow: 0px 0px 3px rgba(0, 0, 0, 0.6);
	margin-bottom: 11px;
}

.sidebar.broker-db a {
	display: block;
	position: absolute;
	width: 167px;
	left: 10px;
	top: 145px;
	padding: 7px 25px 4px 15px;
	text-align: center;
	letter-spacing: 1px;
	font-family: AvenirHeavy;
	font-size: 18px;
	color: #FFF;
	text-decoration: none;
	border-radius: 3px;
	border: 1px solid #6f8d38;
	-moz-box-shadow:    1px 1px 1px 0px rgba(0,0,0,0.3);
 	-webkit-box-shadow: 1px 1px 2px 0px rgba(0,0,0,0.3);
  	box-shadow:         1px 1px 2px 0px rgba(0,0,0,0.3 );
  	background-color: #8eb34a;
  	background-image: url('/images/design/button-arrow.png');
  	background-position: 180px center ;
  	background-repeat: no-repeat;
	z-index: 2;
}

.sidebar.broker-db p {
	font-family: AvenirBook;
}

.sidebar.broker-db a:hover {
	background-color: #7e7e7e;
	border-color: #8e8e8e;
}

/* Broker Assistance */

.sidebar#broker {
	top: 0px;
	border-top: 1px solid #d1d9e8;
	border-bottom: 1px solid #a9b4c8;
	background-color: #b9c5db;
	background-image: url('/images/design/broker-bg.jpg');
}

.sidebar#broker h3 {
	position: relative;
	color: #eff1f6;
	z-index: 2;
}

.sidebar#broker p {
	position: relative;
	margin-right: 75px;
	z-index: 2;
}

.sidebar#broker .person {
	display: block;
	position: absolute;
	top: 0px;
	left: 0px;
	right: 0px;
	bottom: 0px;
	background-repeat: no-repeat;
	background-position: right 10px;
	z-index: 1;
	opacity: 1.0;
}

.sidebar#broker.closed .person {
	opacity: 0.1;
}

/* Database */

.sidebar#database {
	top: 207px;
	border-top: 1px solid #e7cccd;
	border-bottom: 1px solid #ceb1b2;
	background-color: #e4c4c5;
	background-image: url('/images/design/database-bg.jpg');
}

.sidebar#database.closed,
.sidebar#database.open {
	top: 40px;
}

.sidebar#database h3 {
	color: #f9f1f2;
}

/* Neighborhood Listings */

.sidebar#neighborhood {
	position: absolute;
	top: 431px;
	left: 0px;
	right: 0px;
	border-top: 1px solid #efefef;
    z-index: 1;
}

.sidebar#neighborhood h3 {
	font-size: 15px;
	letter-spacing: 0px;
	background-color: #e5e5e5;
}

.sidebar#neighborhood ul {
	margin-top: 0px;
	padding-top: 0px;
	margin-left: 0px;
	margin-right: 0px;
}

.sidebar#neighborhood ul li {
	padding: 0px 0px;
	padding-left: 0px;
	margin: 0px;
	border-bottom: 1px solid #d6d6d6;
} 

.sidebar#neighborhood ul li.pos-1 {
	border-top: 0px solid #d6d6d6;
}

.sidebar#neighborhood ul li a {
	display: block;
	margin: 0px;
	padding: 7px;
	padding-left: 33px;
	color: #666;
	font-size: 15px;
	line-height: 11px;
	text-decoration: none;
	background-image: url('/images/design/list-square.gif');
	background-position: 16px top;
	background-repeat: no-repeat;
}

.sidebar#neighborhood ul li a:hover {
	color: #222;
	background-position: bottom 16px;
	background-color: #DDD;
}

.sidebar#neighborhood ul li.selected a {
	color: #705f46;
	background-color: #f4cf98;
	background-image: url('/images/design/list-square-selected.gif');
	background-position: 16px 6px;
}

.sidebar#neighborhood ul li.selected a:hover {
	color: #705f46;
}

.sidebar#neighborhood ul li a .title {
	float: left;
	display: block;
	min-width: 125px;
	margin-right: 12px;
}

.sidebar#neighborhood ul li a .num {
	color: #a2a2a2;
}

.sidebar#neighborhood ul li a:hover .num {
	color: #555;
}

.sidebar#neighborhood li a .num span {
	display: none;
}

/* Google Map */

#map-canvas {
	position: absolute;
	top: 20px;
	right: -260px;
	width: 260px;
	height: 350px;
	border-bottom: 1px solid #b5b5b5;
    z-index: 2;
}	

/* FOOTER
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
 
#footer {
	background-color: #747474;
	background-image: url('/images/design/footer-bg.jpg');
	background-position: bottom;
	color: #fefefe;
}

#footer a {
	color: #fefefe;
	text-decoration: none;
}

#footer a:hover {
	color: #ff9900;
}

#footer .main {
    position: relative;
	float: left;
	width: 640px;
	min-height: 100px;
	padding: 23px 0px 23px 36px;
}

#footer .main ul {
	list-style: none;
	margin: 0px;
	margin-right: 0px;
	padding: 0px;
	font-size: 14px;
	font-family: AvenirLight;
}

#footer .main ul li {
    width: 210px;
    float: left;
	margin-bottom: 0px;
    border: 0px dotted red;
}

#footer .main ul li a span {
	font-size: 20px;
}

#footer .main p {
	font-size: 14px;
}

#footer .main a.edit {
	position: absolute;
    top: 22px;
    left: 8px;
}

#footer .logos {
	float: right;
	width: 260px;
}

#footer .logos p {
	float: left;
	margin: 20px 0px 0px 28px;
}

#footer .logos p a {
	display: block;
	height: 88px;
	background-position: center;
	background-repeat: no-repeat;
	overflow: hidden;
	text-indent: -1000px;
	opacity: 0.7;
}

#footer .logos p a:hover {
	opacity: 1.0;
}

#footer .logos p a#bbb {
	width: 56px;
	background-image: url('/images/design/bbb-logo.png');
}

#footer .logos p a#rebny {
	width: 119px;
	margin-top: 8px;
	background-image: url('/images/design/rebny-logo.png');
}

#footer .copyright {
    position: relative;
	clear: both;
	padding: 0px 0px 15px 36px;
}

#footer .copyright p {
	margin: 0px;
	padding: 0px;
	font-size: 12px;
	color: #8c8c8c;
}

#footer .copyright a.edit {
	position: absolute;
    top: -4px;
	left: 8px;
}

/* DATE PICKER
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

.ui-datepicker {
	width: 286px;  
    margin-left: -1px;
}

.ui-corner-all {
	border-bottom-right-radius: 0px;   
    border-bottom-left-radius: 0px;   
	border-top-right-radius: 0px;   
    border-top-left-radius: 0px;   
}

.ui-datepicker .ui-datepicker-header {
	padding: 0px;    
}

.ui-datepicker .ui-datepicker-title span {
 	font-family: AvenirMedium;	   
    font-weight: normal;
}

.ui-datepicker .ui-datepicker-calendar th {
	padding: 2px 0px 0px 0px;    
}

.ui-datepicker .ui-datepicker-calendar th span {
    font-family: AvenirMedium;	   
    font-weight: normal;
}

.ui-datepicker .ui-datepicker-calendar td a {
    font-family: AvenirMedium;	   
    font-weight: normal;
}

/* FONTS 
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

@font-face {
    font-family: 'AvenirLight';
    src: url('/fonts/avenir/avenir_35_light-webfont.eot');
    src: url('/fonts/avenir/avenir_35_light-webfont.eot?#iefix') format('embedded-opentype'),
         url('/fonts/avenir/avenir_35_light-webfont.woff') format('woff'),
         url('/fonts/avenir/avenir_35_light-webfont.ttf') format('truetype'),
         url('/fonts/avenir/avenir_35_light-webfont.svg#avenirlight') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'AvenirBook';
    src: url('/fonts/avenir/avenir_45_book-webfont.eot');
    src: url('/fonts/avenir/avenir_45_book-webfont.eot?#iefix') format('embedded-opentype'),
         url('/fonts/avenir/avenir_45_book-webfont.woff') format('woff'),
         url('/fonts/avenir/avenir_45_book-webfont.ttf') format('truetype'),
         url('/fonts/avenir/avenir_45_book-webfont.svg#avenirbook') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'AvenirRoman';
    src: url('/fonts/avenir/avenir_55_roman-webfont.eot');
    src: url('/fonts/avenir/avenir_55_roman-webfont.eot?#iefix') format('embedded-opentype'),
         url('/fonts/avenir/avenir_55_roman-webfont.woff') format('woff'),
         url('/fonts/avenir/avenir_55_roman-webfont.ttf') format('truetype'),
         url('/fonts/avenir/avenir_55_roman-webfont.svg#avenirroman') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'AvenirMedium';
    src: url('/fonts/avenir/avenir_65_medium-webfont.eot');
    src: url('/fonts/avenir/avenir_65_medium-webfont.eot?#iefix') format('embedded-opentype'),
         url('/fonts/avenir/avenir_65_medium-webfont.woff') format('woff'),
         url('/fonts/avenir/avenir_65_medium-webfont.ttf') format('truetype'),
         url('/fonts/avenir/avenir_65_medium-webfont.svg#avenirmedium') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'AvenirHeavy';
    src: url('/fonts/avenir/avenir_85_heavy-webfont.eot');
    src: url('/fonts/avenir/avenir_85_heavy-webfont.eot?#iefix') format('embedded-opentype'),
         url('/fonts/avenir/avenir_85_heavy-webfont.woff') format('woff'),
         url('/fonts/avenir/avenir_85_heavy-webfont.ttf') format('truetype'),
         url('/fonts/avenir/avenir_85_heavy-webfont.svg#avenirheavy') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'AvenirBlack';
    src: url('/fonts/avenir/avenir_95_black-webfont.eot');
    src: url('/fonts/avenir/avenir_95_black-webfont.eot?#iefix') format('embedded-opentype'),
         url('/fonts/avenir/avenir_95_black-webfont.woff') format('woff'),
         url('/fonts/avenir/avenir_95_black-webfont.ttf') format('truetype'),
         url('/fonts/avenir/avenir_95_black-webfont.svg#avenirblack') format('svg');
    font-weight: normal;
    font-style: normal;
}