@charset "utf-8";
/* CSS Document */
#content h1
{
	text-align:center;
	width:20em;
	margin:0em auto;
}

#content
{
	position:relative;
}

#salelist
{
	list-style:none;
	background-color:white;
	padding:0em;
	margin:0em;
	text-align:center;
	min-height:20em;
}

#salelist .saleimg
{
	float:right;
	max-height:6em;
	max-width:6em;
	margin-top:1em;
	margin-right:0.5em;
}

#salelist.list
{
	border: 1px #7CEFFC ridge;
	width:70%;
	margin:0em auto;
}

#views
{
	position:absolute;
	right:1em;
	top:2.2em;
}

#salelist .sale
{
	display:inline-block;
	text-align:left;
	margin:0.5em;
	overflow:hidden;
	position:relative;
	vertical-align:top;
	border: 1px #7CEFFC ridge;
	background-color:#FFF;
	cursor:pointer;
}

.sale .images
{
	display:none;
}

#salelist .sale:hover
{
	background-color:#7CEFFC;
}

.gallery .sale
{
	width:45%;
	margin:0.5em 1em;
	height:10em;
	max-height:10em;
}

#salelist.list .sale
{
	display:block;
	height:auto;
	border:none;
	margin:0em;
	padding:0.2em 0em;
}

#salelist.list .sale a,
#salelist.list .desc,
#salelist.list .location,
#salelist.list img
{
	display:none;
}

#salelist.list .sale h1
{
	display:inline-block;
	text-align:left;
	font-weight:normal;
}

#salelist.list .sale .price
{
	float:right;
}

.sale h1
{
	font-size:1.1em;
	margin:0em;
	position:relative;
	z-index:1;
	white-space:nowrap;
	width:auto;
}

.sale p
{
	margin:0em;
	max-height:1.2em;
	overflow:hidden;
	text-overflow:ellipsis;
	white-space:nowrap;
}

#viewsale .sale
{
	width:55em;
	margin:auto;
	display:block;
	height:auto;
	max-height:30em;
	overflow-y:auto;
	margin-top:2em;
	border:3px black ridge;
}

#viewsale .saleimg
{
	display:none;
}

#viewsale .sale p
{
	max-height:none;
	max-width:40em;
	white-space:normal;
}

#viewsale .link
{
	margin-left:1em;
}

#viewsale .respond
{
	width:35em;
	display:inline-block;
	margin-top:1em;
	margin-bottom:1em;
}

#viewsale .respond h1
{
	text-align:left;
	font-size:1.2em;
	margin-bottom:0.5em;
}

#saleadd,
#salesearch
{
	float:right;
	margin-left:0.3em;
	margin-right:0.5em;
}

#saleadd
{
	max-height:1.5em;
	max-width:1.5em;
}

#saleform
{
	border:3px solid rgb(153, 153, 153);
	border-radius:1em 1em 1em 1em;	
	box-shadow:2px 2px 5px gray;
	background-color:#FFF;
	z-index:2;
	padding:1em 1em 1em;
	margin:5em 10em auto;
	top:5em;
	width:35em;
	display:none;
	position:fixed;
	top:1em;
}

#saleform .icon
{
	float:right;
	margin:0.3em;
}

#saleform label,
#viewsale .respond label
{
	text-align:right;
	display:inline-block;
	width:10em;
	margin-right:0.2em;
}

#viewsale .respond label
{
	width:5em;
	vertical-align:top;
}

#description
{
	vertical-align:middle;
	margin-bottom:0.5em;
}

#saleBtn
{
	margin-top:1em;
	text-align:center;
}

.price
{
	color:#dd0538;
	font-weight:bold;
}

#map
{
	width:50%;
	height:10em;
	margin-top:0.5em;
}

#imgthumbs
{
	max-height:10em;
	position:absolute;
	bottom:0em;
}
#imgthumbs img
{
	margin-left:0.3em;
	display:inline-block;
}

#images
{
	width:25em;
	border-radius:0.5em;
	box-shadow:1px 1px 3px gray;
	text-align:center;
	padding:0.2em;
	float:right;
	right:0.2em;
	position:relative;
	padding-bottom:10em;
}

#images > img
{
	max-height:18em;
	max-width:20em;
}

#note
{
	max-width:50em;
	margin:0 auto;
	color:red;
	margin-top:0.5em;
	padding-bottom:0.5em;
}