ul#propertyphotos {
	float:left;
	list-style:none;
	position:relative;
	z-index:1;
}


ul#propertyphotos li {
	display:inline;
	margin:0;
	padding:0;
}

ul#propertyphotos img {
	border:1px solid black;
	margin:5px;
	width:97px;
}

ul#propertyphotos li:first-child img {
	margin-bottom:9px;
	margin-top:0;
	width:206px;
}

ul#propertyphotos img:hover {
	border:3px solid rgb(87, 0, 5);
	margin:3px;
}

ul#propertyphotos li:first-child img:hover {
	margin-bottom:5px;
	margin-top:0;
}


/* BEGIN CSS FOR IMAGE VIEWER */


*.viewer {
	background-color:white;
	border:3px solid rgb(87, 0, 5);
	height:450px;
	margin:10px 0;
	position:relative;
	width:579px;
	z-index:6000;
	-moz-border-radius:10px;
	-webkit-border-radius:10px;
}

*.viewer p.image a {
	display:none;
}

*.viewer img {
	border:1px solid black;
	height:100%;
	max-width:533px;
}

*.viewer p { margin:10px; }

*.viewer a {
	color:rgb(143, 0, 14);
	font-weight:bold;
	margin:5px;
	text-decoration:none;
}

*.viewer *.navigation_links *.disabled { visibility:hidden; }

p.close_link, p.navigation_links { font-size:16px; }

p.close_link {
	text-align:right;
	width:90%;
}

p.image {
	height:80%;
	text-align:center;
	width:100%;
}

p.navigation_links {
	position:absolute;
	left:0;
	bottom:0;
	text-align:center;
	width:100%;
}

p.navigation_links *.back_nav,
p.navigation_links *.forward_nav {
	position:absolute;
	top:0;
}

p.navigation_links *.back_nav { left:10%; }

p.navigation_links *.forward_nav { right:10%; }

p.instructions {
	font-weight:bold;
	margin:5px;
	text-align:center;
	width:90%;
}

*.count_message {
	font-size:larger;
	font-weight:bold;
}

/* END CSS FOR IMAGE VIEWER */


