/*
 * $Id: listing.css,v 1.46.4.3 2008/04/18 20:08:40 ctandy Exp $
 *
 * Listing related styles
 */

.listing {
    width: 100%;
    padding-bottom: 4px;
}

.listing td {
    padding: 1px;
}

.listing * {
    color: #000099;
}

.listing .business {
    padding-left: 3px;
    font-weight: bold;
    padding-top: 0px;
}

.listing .business .listingName {
	padding-top: 0px;
	text-align: left;
	margin-top: 0px;
	width: auto;
	float: left;
}

.listing .business .compare {
	padding-top: 0px;
	text-align: right;
	margin-top: 0px;
	width: auto;
	margin-right: 6px;
	float: right;

}

.listing .promoText {
    padding-left: 3px;
}

.listing .logo {
    padding: 0px;
    vertical-align: top;
}

.listing .logo div {
    position: relative;
    float: right;
    padding-top: 5px;
    padding-right: 5px;
    z-index: 100;
}

.listing .category {
    padding-left: 3px;
    font-style: italic;
}

.listing .category a {
    text-decoration: underline;
    color: blue;
}

.listing .addresses {
    padding: 0px 0px 0px 10px;
}

.listing .addresses .address {
    padding: 0px 0px 0px 0px;
    width: 100%;
}

.listing .addresses .address .mapLinks {
    padding: 0px;
}

.listing .addresses .address .mapLinks a {
    color: blue;
    padding-right: 3px;
}
#officeSeparator {
    height: 9px;
}
/* accomodate 1cols x 1 row of addresses */
#addressBox0x1 {
    width: 155px;   
    min-height: 25px;
    height: auto;
}
/* accomodate 1cols x 1 row of addresses */
#addressBox1x1 {
    width: 155px;
    min-height: 50px;
    height: auto;
}
/* accomodate 2cols x 1 row of addresses */
#addressBox2x1 {
    width: 310px;   
    min-height: 50px;
    height: auto;
}
/* accomodate 2cols x 2rows of addresses */
#addressBox2x2 {
    width: 340px;
    min-height:130px;
    height: auto;
}
/* accomodate 2cols x 2rows of addresses but scroll beyhond that*/
#scrollAddressBox2x2{
    width: 310px;
    min-height: 110px;
    height: 110px;
    overflow: auto;
}

.listing .addresses .address .location {
    display: block;
    height: auto;
}
.listing .addresses .address .phone {
    font-weight: bold;
    width: auto;
}

.listing .buttons {
    text-align: right; 
    padding-top: 3px; 
    height: 25px;
    width: auto;
    vertical-align: top;
}

.listing .buttons a img {
    border: none;    
    padding: 0px;
}


.listing div.hiddenByDefault {
    display: none;
    width: 100%;
}

.listing div.profileVisible h1 {
    margin-bottom: 0px;
}

.listing div.profileVisible, .listing div.displayAdVisible {
    padding-top: 10px;
    padding-left: 5px;
    padding-right: 5px;
    height: auto;
    display: block;
    text-align: center;
    white-space: normal;
}

.listing div.profileVisible{
    color: #000099;
}

.listing div.profileVisible li {
    padding-right: 5px;
}

.listing div.profileVisible ul {
    margin-top: 0px;
}

.listing div.displayAdVisible {
    text-align: center;
}
/* alternate style to use when a display ad is bigger than 490 px */
.listing div.displayAdVisibleScaled img{
    width: 490px;
    padding-left: 5px;
    padding-right: 5px;
    text-align: center;
}

.listing .extra .mapEmailCompare a.mapEmail, .listing .extra .mapEmailCompare a.media {
    padding-left: 10px;
    padding-top: 0px;
    float: left;
    color: blue;
    vertical-align: bottom;
}

.listing .websiteEmail a {
    padding-left: 10px;
    color: blue;
}

#profile .websiteLink {
        padding-left: 10px;
}

/* positions the "compare selected" buttons */
#listings {
	position: relative;
}

#upperCompare, #lowerCompare {
	width: 100%;
	height: 25px;
	position: relative;
	vertical-align: middle;
}

#upperCompareButton {
	position: absolute;
	right: 5px;
	top: 3px;
	width: 125px;
	vertical-align: middle;
	font-size: 11px;
}

#lowerCompareButton {
	position: absolute;
	right: 5px;
	bottom: 3px;
	width: 125px;
	font-size: 11px;
	vertical-align: middle;
}

.groupCategory {
	position: relative;
}

/* zoom feature specific css */
.smallAdLink {
    cursor: url(../../images/shared/lightbox/magnify.cur), pointer;
}

.buttons a {
	float: right;
	margin-right: 5px;
}