/* from static file */
/* this line is important for overriding .LogoCell backgrounds in portal-gen-*.css generated before 5.1.4 * 
[although all such portal-gen-*.css should be deleted and regen'd when discovered to get rid of 404 errors] */
td.LogoCell { BACKGROUND-IMAGE: none; }
.ThemeHeaderLayoutPanel .EmailTemplateHeader{ border-top-width: 4px; border-top-style: solid;} 
.Separator { color: #ffffff; font-weight: bold; font-size:10px}
.DataList .TopNavigationDataList td{ width: 100px;}
.CommandPanel { text-align: right; }
a.Secondary:link,a.Secondary:visited,a.Secondary:active,a.Secondary:hover{ text-decoration:underline; font-weight:bold;}
.LeftNavCell{ border-right: 3px solid;}
.DesktopPortalFooterPanel .SelectedItem .Text { font-weight:bold;} 
.ListingsSummaryPanel a:link,.ListingsSummaryPanel a:visited,.ListingsSummaryPanel a:active{ text-decoration:underline; font-weight:bold;}
.ListingsSummaryPanel a:hover,.ListingsSummaryPanel .HeaderSelected a:link,.ListingsSummaryPanel .HeaderSelected a:visited,.ListingsSummaryPanel .HeaderSelected a:hover,.ListingsSummaryPanel .HeaderSelected a:active { text-decoration: none; font-weight:bold;} 
.ListingsSummaryPanel .ListingsDataGrid .Header td { font-size:12px; font-weight:bold;}
.ListingsSummaryPanel .ListingsDataGrid .Item { background-color:white; color:Black;}
.ListingsSummaryPanel .ListingsDataGrid .AlternatingItem { background-color:#f5f5f5; color:Black;}
a.Secondary:link,a.Secondary:visited,a.Secondary:active,a.Secondary:hover{ text-decoration:none; }
.Module .Title { color: #000000; font-size: 15px; font-weight: bold;}
.AgencyContactInfoPanel .PhotoPanel img,.UserContactInfoPanel .PhotoPanel img{ border:1px solid #ffffff;} 
.PhotoPanel img{ border:1px solid #000000;}
.Label { font-weight: bold;}
.DataGrid .Header { background-color:#dd0000; }
.DataGrid .Header td,.DataGrid .Header a:link,.DataGrid .Header a:visited,.ListingsSummaryPanel .ListingsDataGrid .Header th{ font-size:12px; font-weight:bold; color:#ffffff;}
.DataGrid .Header a:hover,.DataGrid .Header a:active{ font-size:12px; font-weight:bold; text-decoration:none;} 
a.EmailAgentLink:link,a.EmailAgentLink:visited, input.CommandButton { color: #ffffff; font-weight: 600; font-size:11px; cursor:hand}
A:link,A:visited,A:active,A:hover{ text-decoration: underline;}
.CurveToLine,.ThemeHeaderLayoutStandalone { border-bottom: solid 1px #ffffff;}
.ListingsSummaryPanel .ListingsDataGrid .Header a:link,.ListingsSummaryPanel .ListingsDataGrid .Header a:visited,.ListingsSummaryPanel .ListingsDataGrid .Header a:active{ color:White;}
.MainContentCell{ border-left-style: solid; border-left-width: 1px;}
.AgentPhoto{ border: solid 1px black; border-left-width: 0px; border-right-width: 0px;}
.EmailTemplateHeader .AgentPhoto{ border-width: 0px; border-left-width: 1px;}

.Bullet,
.CommandButton a:link,
.CommandButton a:visited,
.CommandButton a:active,
.CommandButton a:hover,
.ThemeHeaderLayoutPanel .EmailTemplate a:link,
.EmailTemplate a:visited,
.ThemeHeaderLayoutPanel .EmailTemplate,
.DesktopPortalFooterPanel .EmailTemplateFooter,
.ListingsSummaryPanel a:active,
.ListingsSummaryPanel tr.Pager td a:link,
.ListingsSummaryPanel .Pager td a:visited,
.Page .MortgageCalculator .Title,
.ViewListing .Selected a:link,
.Selected a:visited,
.ViewListing .Header .Subtitle,
.ViewListing .Unselected a:active,
.ViewListing .Unselected a:hover,
.ViewBrochureDetailsPage .FeatureSheetAddress,
.ViewBrochureDetailsPage .FeatureSheetWebsiteSlogan,
A.Secondary:active,
A.SiteLinkFooter:link,
.SiteLinkFooter:visited,
A:link,
A:visited
{ color: #095BA4; }

.AgentPhoto,
.ThemeHeaderLayoutPanel .EmailTemplate,
.ThemeHeaderLayoutPanel .EmailTemplateHeader,
.DesktopPortalFooterPanel .EmailTemplateFooter,
.ViewBrochureDetailsPage .FeatureSheetCoverHomePhoto .PhotoPanel img,
.ViewBrochureDetailsPage .UserContactInfoPanel img
{ border-color: #095BA4; }

.DataGrid .Header td,
.ListingsSummaryPanel .ListingsDataGrid .Header td, .ListingsSummaryPanel .ListingsDataGrid .Header th
{ background-color: #095BA4; }
a.EmailAgentLink:link,a.EmailAgentLink:visited, input.CommandButton { border-bottom-color: #095BA4; }
a.EmailAgentLink:link,a.EmailAgentLink:visited, input.CommandButton { border-right-color: #095BA4; }
.HeaderGraphicCell { border-top-color: #095BA4; }
.MainContentCell { border-left-color: #095BA4; }

.ThemeHeaderLayoutPanel .EmailTemplate a:active,
.ThemeHeaderLayoutPanel .EmailTemplate a:hover,
.ListingsSummaryPanel a:hover,
.ListingsSummaryPanel tr.Pager td a:active,
.ListingsSummaryPanel tr.Pager td a:hover,
.ListingsSummaryPanel tr.Pager td,
.Module .SubTitle,
.Module .Title,
.Page .Title,
.ViewListing .Selected a:active,
.ViewListing .Selected a:hover,
.ViewListing .Unselected a:link,
.Unselected a:visited,
A.Secondary:hover,
A.SiteLinkFooter:active,
A.SiteLinkFooter:hover,
A.ViewListingLink:visited,
A:active,
A:hover
{ color: #3398CC; }
.ViewBrochureDetailsPage .FeatureSheetCoverHomePhoto { border-color: #3398CC; }
a.EmailAgentLink:link,a.EmailAgentLink:visited, input.CommandButton { background-color: #3398CC; }

.ThemeHeaderLayoutPanel .EmailTemplateHeader,
.FooterLinkSeparator,
.DataGrid .Header a:hover,
.ListingsSummaryPanel .ListingsDataGrid .Header a:hover,
.ListingsSummaryPanel .ListingsDataGrid .HeaderSelected a:link,
.ListingsSummaryPanel .ListingsDataGrid .HeaderSelected a:visited,
.ListingsSummaryPanel .ListingsDataGrid .HeaderSelected a:active,
.ListingsSummaryPanel .ListingsDataGrid .HeaderSelected a:hover
{ color: #BEDDF8; }

.Selected,
.Page .MortgageCalculator .Title
{ background-color: #BEDDF8; }
a.EmailAgentLink:link,a.EmailAgentLink:visited, input.CommandButton { border-top-color: #BEDDF8; }
a.EmailAgentLink:link,a.EmailAgentLink:visited, input.CommandButton { border-left-color: #BEDDF8; }

.ViewListing .Top,
.ViewListing .Header,
.ViewListing .Separator,
.ViewListing .BottomSeparator
{ background-color: #BEDDF8; }

.ViewListing .Top,
.ViewListing .Header,
.ViewListing .Body,
.ViewListing .Bottom
{ border-color: #BEDDF8; }

.AttachmentsPanel hr,
.VTNavDiv hr,
.NavDiv hr
{ color: #BEDDF8; }

.ThemeHeaderLayoutPanel .EmailTemplateHeader .SiteTitleLabel,
.SiteTitleLabel
{ color: #ffffff; }

.ThemeHeaderLayoutPanel .EmailTemplateHeader .SiteTagLine,
.SiteTagLine
{ color: #ffffff; }

body, 
.FloorPanel .RoomPanel
{ background-color: #ffffff; }
.FloorPanel .RoomPanel { border-right-color: #ffffff; }
.FloorPanel .RoomPanel { border-bottom-color: #ffffff; }
body, hr, .FloorPanel .RoomPanel .SubTitle span { color: #000000; }

.LogoCell { text-align: Left; }

.SiteTitleLabel
{
	font:Normal Bold 16px Arial, Helvetica, Sans Serif; 
}
.SiteTagLine
{
	font:Normal Bold 12px Arial, Helvetica, Sans Serif; 
}

.DemographicDataGrid .Header{background-color:#095BA4 !important;}
.DemographicDataGrid .Header td{color: white !important;font-weight:bold;}
.DemographicDataGrid .Item{background-color:white;color:black;}
.DemographicDataGrid .AlternatingItem{background-color:whitesmoke;color:black;}
.DemographicDataGrid .barsBelowAverage{background-color:#095BA4;opacity:.8;}
.DemographicDataGrid .barsAboveAverage{background-color:#095BA4;opacity:.6;}

.PhotoViewer {
    width: 600px;
    margin-left:auto;
    margin-right:auto;
}

.user-photo .delete-photo {
    right: auto !important;
}

.LikeBox .fb_iframe_widget, .LikeBox .fb_iframe_widget span, .LikeBox .fb_iframe_widget span iframe[style] {
    min-width: 272px !important;
}

.edit-website-title{position: absolute !important; top: 195px !important;}
.edit-website-slogan{position: absolute !important; top: 195px !important; right: 0px;}


/******  Listing details theme colors   *****/
.p2a-ldw.listing-details{
    max-width: 1030px;
    margin-left: auto;
    margin-right: auto;
}
.p2a-ldw h1,
.p2a-ldw h3,
.p2a-ldw a{
    color:#095BA4;
}
.p2a-ldw .listing-feature-list li:before,
.p2a-ldw .btn-cnt a{
    color:#fff;
    background:#095BA4;
}
.p2a-ldw .btn-cnt a{
    background:#095BA4;
    border: 1px solid #095BA4;
    border-radius: 2px;
}
.p2a-ldw .listing-tabs,    
.p2a-ldw .listing-tabs li.selected{
    border-color:#095BA4;
}
.p2a-ldw .listing-tabs li.selected a,
.p2a-ldw .listing-tabs li.selected a:hover,
.p2a-ldw .photo-map-cnt a.selected{
    color:#095BA4;
}

.p2a-ldw .gotop:after {
    border-bottom-color: #095BA4;
}
.p2a-ldw #listing-details-map,
.p2a-ldw .photos_widget {
    background: rgba(0,0,0,0.03);
    border-color:rgba(0,0,0,0.06);
}
.p2a-ldw .photo-map-cnt a,
.p2a-ldw .map-btn-cnt{
    border-color:rgba(0,0,0,0.06);
}
.p2a-ldw .photo-map-cnt a.selected{
    background: rgba(0,0,0,0.03);
}
.p2a-ldw .listing-attachments li a:before,
.p2a-ldw .contact-agent-phone:before,
.p2a-ldw .rfs-tools li a:before{
    background-image:url(../../_MVC/content/images/dark-sprite.png);
}



/* custom colors for listing list module*/


.ListingsSummaryPanel .SortPanel .SelectedLink,
.ListingsSummaryPanel .ListingsDataGrid .Header .HeaderSelected a {
    color:#095BA4 !important;
}
.ListingsSummaryPanel .ListingsDataGrid .Header {
    border-color: #095BA4 !important;
}
.ListingsSummaryPanel .listview-item-cnt .item-address h2 a,
.ListingsSummaryPanel .ListingsDataGrid .ViewListingLink,
.ListingsSummaryPanel .Pager td div a,
.ListingsSummaryPanel .Pager td div a:link{
    color:#095BA4;
}
.ListingsSummaryPanel .listview-item-cnt .btn-cnt a,
.ListingsSummaryPanel .listview-item-cnt .btn-cnt a:hover{
    color:#fff;
    background:#095BA4;
    border-color:#095BA4;
}