#main-content {
	min-height: 800px;
}

#main-content .section-header {
	margin-right: 150px;
}

#main-content .boilerplate {
    border-top: 0px;
    padding-top: 20px;   
}

#main-content .boilerplate a.edit {
	top: 35px;	
}

#main-content .body {
    position: relative;
    color: #111;
    padding-bottom: 5px;
}

#main-content .body a.edit {
    position: absolute;
    top: 0px;
    right: -25px;
}

/* SORT BY
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
 
#main-content #sortby {
	float: right;
	margin-top: -50px;
	font-size: 14px;
}

#main-content #sortby span {
	display: block;
	font-size: 11px;
	color: #afafaf;
	text-transform: uppercase;
	font-family: AvenirBlack;
}

#main-content #sortby a {
	color: #ff9900;
	text-decoration: none;
}

#main-content #sortby a.title {
	color: #444;        
}

#main-content #sortby.date a.title,
#main-content #sortby.size a.title,
#main-content #sortby.size a.newest,
#main-content #sortby.price a.newest {
	color: #ff9900;
}

#main-content #sortby.date a.newest,
#main-content #sortby.size a.size,
#main-content #sortby.price a.price {
	color: #444;    
}

/* ARTICLE
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

#main-content .space-listing {
    min-height: 400px;
}

#main-content .article {
    position: relative;
    width: 636px;
	min-height: 150px;
	margin-top: 15px;
	margin-left: -40px;
	margin-bottom: 10px;
	margin-right: -10px;
	padding-bottom: 10px;
	padding-right: 10px;
} 

#main-content .article.hover {
	background-color: #F3F3F3;
}

#main-content .article img {
	position: absolute;
	top: -5px;
	left: 35px;
	border: 5px solid #FFF;
	-moz-box-shadow:    1px 1px 4px 0px rgba(0,0,0,0.4);
 	-webkit-box-shadow: 1px 1px 4px 0px rgba(0,0,0,0.4);
  	box-shadow:         1px 1px 4px 0px rgba(0,0,0,0.4);
}

#main-content .article div.excerpt {
    min-height: 88px;
}

#main-content .article div.posted {
    position: absolute;
    top: -12px;
    left: 248px;
    font-size: 11px;
}

#main-content .article p {
	margin-left: 248px;	
	font-size: 13px;
	font-family: AvenirRoman;
	line-height: 15px;
	text-align: left;
}

#main-content .article h2 {
	margin: 0px;
	padding: 0px;
    padding-right: 0px;
	margin-bottom: 0px;
	font-size: 17px;
    font-weight: normal;
    font-family: AvenirHeavy;
    
}

#main-content .article .buttons {
    position: relative;
    float: right;
}

#main-content .article .buttons a {
 	display: block;
    float: left;
    color: #FFF;
	font-size: 13px;
	font-family: AvenirRoman;
	text-decoration: none;
	padding: 0px 5px 0px 5px;
	margin-top: -5px;
	margin-right: 5px;
    margin-left: 5px;
	-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 );
  	border-radius: 2px;
}

#main-content .article .buttons a.more {
    background-color: #8eb34a;
}

#main-content .article a.edit {
    position: absolute;
    top: 3px;
    right: 12px;
	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;   
}

#main-content .article .buttons a:hover {
	background-color: #999;
}

#main-content .article a.edit:hover {
    background-color: transparent;
	background-position: right;    
}

#main-content .article .buttons a span {
	font-size: 16px;
}

#main-content .article p.sizes {
	margin-top: 0px;
	color: #737373;
	font-family: AvenirMedium;
}

#main-content .article h2 span.num {
	position: relative;
	display: block;
	background-color: #7f7f7f;
	border: 1px solid #6c6c6c;
	border-left-color: #777777;
	float: left;
	color: #e8e8e8;
	width: 23px;
	height: 19px;
	padding-top: 4px; 
	padding-bottom: 0px;
	text-align: center;
	letter-spacing: -1px;
	margin-left: -6px;
}

#main-content .article h2 span.num span {
	position: absolute;
	width: 6px;
	top: -1px;
	bottom: -1px;
	left: -6px;
	background-image: url('/images/design/photo-shadow.png');
	overflow: hidden;
	text-indent: -50px;
}

#main-content .article h2 a {
	display: block;
	text-decoration: none;
	margin-left: 241px;
	padding-top: 5px;
	padding-left: 5px;
    padding-right: 40px;
	border-top: 1px solid #e5e5e5;
	font-size: 18px;
    font-family: AvenirHeavy;
}

#main-content table.sort td {
	padding: 0px 20px 10px 0px;
}

#main-content table.sort td.num span {
    background-color: #999;
	color: #FFF;
    padding: 2px 5px 0px 5px;
    
}