@import "icons.css";

/* EWA Content */
.ewa-content, .ewa-content td
{
	font-size: 13px;
	line-height: 1.5em;
	font-family: Verdana, Arial, Helvetica, Sans-Serif;
}
.ewa-content
{
	margin: 0px 8px;
	min-width: 520px;
}
	/* Quick and dirty CSS reset */
	.ewa-content *
	{
		margin: 0;
		padding: 0;
	}

.ewa-content .clear
{
	clear: both;
	display: block;
	overflow: hidden;
	visibility: hidden;
	/* Note sure why stupid IE7 doesn't use this... */
	/*
	width: 0;
	height: 0;
	*/
	width: 1px;
	height: 1px;
}

.ewa-content a:link
{
	color: blue;
	text-decoration: underline;
}
.ewa-content a:visited
{
	color: purple;
	text-decoration: underline;
}
.ewa-content a:hover
{
	color: red;
	text-decoration: underline;
}
.ewa-content a:active
{
	color: purple;
	text-decoration: underline;
}

.ewa-content h1,
.ewa-content h2,
.ewa-content h3,
.ewa-content h4,
.ewa-content h5
{
	text-align: left;
}

.ewa-content h1
{
	font-size: 25px;
	margin-bottom: 5px;
}

.ewa-content h2
{
	font-size: 23px;
	margin-bottom: 5px;
}

.ewa-content h3
{
	font-size: 21px;
	margin-bottom: 5px;
}

.ewa-content h4
{
	font-size: 19px;
	margin-bottom: 5px;
}

.ewa-content h5
{
	font-size: 17px;
	margin-bottom: 5px;
}

.ewa-content h6
{
	font-size: 15px;
	margin-bottom: 5px;
}

.ewa-content abbr,
.ewa-content acronym
{
	border-bottom: dashed 1px #666666;
	cursor: help;
}

.ewa-content p, 
.ewa-content dl, 
.ewa-content hr, 
.ewa-content pre, 
.ewa-content table, 
.ewa-content address, 
.ewa-content fieldset
{
	margin-bottom: 10px;
}

.ewa-content table td h3
{
	margin-top: 10px;
	margin-bottom: 10px;
}

/* Newspaper Details */
table.ewa-npinfo
{
}
	table.ewa-npinfo td
	{
		padding: 4px 8px 4px 0px;
	}

/* Breadcrumbs */
.ewa-breadcrumbs
{
	display: block;
	border: solid 1px #e5e5e5;
	padding: 6px;
	background: #f5f5f5;
	margin: 6px 0px 10px 0px;
	color: #666666;
}
.ewa-breadcrumbs a:link
{
	color: blue;
	text-decoration: underline;
}
.ewa-breadcrumbs a:visited
{
	color: blue;
	text-decoration: underline;
}
.ewa-breadcrumbs a:hover
{
	color: red;
	text-decoration: underline;
}
.ewa-breadcrumbs a:active
{
	color: purple;
	text-decoration: underline;
}


/* FAQ Page */
dl.ewa-faq
{
	margin: 20px 6px;
}
dl.ewa-faq dt
{
	background: transparent url(img/question.png) no-repeat;
	font-family: inherit;
	font-weight: bold;
	margin-top: 6px;
	margin-bottom: 6px;
	padding-left: 22px;
}
dl.ewa-faq dd
{
	background: transparent url(img/answer.png) no-repeat;
	font-family: inherit;
	margin-bottom: 10px;
	margin-left: 0px;
	margin-left: 20px;
	padding-left: 36px;
}

/* Categories */
table.ewa-categories
{
	border: none;
	border-collapse: collapse;
}
	table.ewa-categories td
	{
		padding: 6px;
	}

a.ewa-categorylink:link
{
	color: blue;
	text-decoration: underline;
}
a.ewa-categorylink:visited
{
	color: purple;
	text-decoration: underline;
}
a.ewa-categorylink:hover
{
	color: red;
	text-decoration: underline;
}
a.ewa-categorylink:active
{
	color: purple;
	text-decoration: underline;
}

.ewa-category-desc
{
	color: #666666;
}

/* Search Terms */
div.ewa-searchterms-section
{
	border-top: solid 1px #e5e5e5;
	border-bottom: solid 1px #e5e5e5;
	margin: 10px 0;
	padding: 6px 0;
}

dl.ewa-searchterms
{
	margin: 0 20px 0px 0;
	padding: 0;
	display: block;
	float: left;
	
	/* background: silver; */
}
	dl.ewa-searchterms dt
	{
		/* background: yellow; */
		display: inline;
		width: auto;
		
		white-space: nowrap;		
		font-weight: bold;
		
		margin-right: 6px;
	}
	dl.ewa-searchterms dd
	{
		/* background: orange; */
		display: inline;
	}

div.ewa-searchterms
{
	margin: 0;
	padding: 0;
	display: block;
}
	div.ewa-searchterms div:first-child
	{
		margin: 0 0 10px 0;
	}

/* EWA Footer */
.ewa-footer
{
	font-family: Verdana, Arial, Helvetica, Sans-Serif;
	border: solid 1px #e5e5e5;
	padding: 3px;
	background: #f5f5f5;
	margin: 20px 8px 0px 8px;
	color: #999999;
	font-size: 10px;
	
	height: 50px;
}

/* EWA-Powered Text */
.ewa-footer .ewa-powered
{
	font-family: Verdana, Arial, Helvetica, Sans-Serif;
	font-weight: bold;
	float: right;
	width: 320px;
	
	/*border: solid 1px #e5e5e5;*/
}

/* EWA Copyright */
.ewa-footer .ewa-copyright
{
	clear: right;
	width: 320px;
	float: right;

	/*border: solid 1px #e5e5e5;*/
}

/* Classified Ad Source - block */
.ewa-ad-source
{
	font-family: Verdana, Arial, Helvetica, Sans-Serif;
	margin-top: 16px;
	margin-right: 0px;
	float: right;
	font-size: 11px;
	color: #666;
	width: auto;
	min-width: 365px;

	/* border: solid 1px red; */
}

/* Components of the ad's source */
.ewa-ad-source div
{
	/* border: solid 1px green; */
}

/* The label of the source component */
.ewa-ad-source div span.ewa-ad-source-name
{
	display: block;
	margin-right: 6px;
	
	white-space: nowrap;
	width: 100px;
	float: left;
	
	/*background: red;*/
}
/* The value of the source component's label */
.ewa-ad-source div span.ewa-ad-source-value
{
	display: inline;
	margin-right: 6px;
	white-space: nowrap;
}

/* CSF Components */

/* Publication Dates */
.ewa-csf-publicationdates
{
}
.ewa-csf-publicationdates label
{
	font-weight: normal;
}

/* Category */
.ewa-csf-category
{
}

/* Location */
fieldset#locationSearchFields
{
	
}
.ewa-csf-location-region
{
	width: 280px;
	float: left;
}
.ewa-csf-location-radius
{
	width: 200px;
	float: left;
}

/* Keywords */
.ewa-csf-keywords
{
	width: 320px;
	float: left;
}

.ewa-csf-keywords-logic
{
	width: 200px;
	float: left;
}
.ewa-csf-keywords-logic label
{
	font-weight: normal;
}

/* Price Range */
.ewa-csf-minprice, 
.ewa-csf-maxprice
{
	float: left;
	width: 180px;
}

/* Real Estate */
.ewa-csf-realestate-beds
{
	width: 150px;
	float: left;
}
.ewa-csf-realestate-baths
{
	width: 200px;
	float: left;
}

/* Automobile */
.ewa-csf-automobile-minyear,
.ewa-csf-automobile-maxyear
{
	width: 150px;
	float: left;
}
.ewa-csf-automobile-maxmileage
{
	width: 150px;
	float: left;
}


/*****************
 Data Grid Styles 
 *****************/
.grid
{
	border-collapse: collapse;
	border: none;
}
	.grid td
	{
		border-right: none;
	}

.grid-footer
{
	background: #999;
	color: #ffffff;
	white-space: normal;
}

.grid-pager
{
	background: transparent;
	border: none;
}
	.grid-pager td
	{
		padding: 10px 0px;
		font-weight: bold;
	}
	.grid-pager span
	{ /* Represents "disabled" buttons */
		color: #999;
	}
	.grid-pager strong.current
	{ /* Represents the selected page */
		font-weight: bold;
		font-size: larger;
		padding: 4px 6px;
		
		background: #eee;
		color: #333;

		border: solid 1px #ddd;
	}
	.grid-pager a
	{
		color: #0000ff;
		text-decoration: none;
		padding: 4px 4px;
		border: solid 1px #fff;
	}
	.grid-pager a:link
	{
		color: #0000ff;
		text-decoration: none;
	}
	.grid-pager a:visited
	{
		color: #0000ff;
		text-decoration: none;
	}
	.grid-pager a:hover
	{
		background: #999;
		color: #fff;
		text-decoration: none;
		border: solid 1px #666;
	}
	.grid-pager a:active
	{
		text-decoration: none;
	}
	
	
td.grid-item
{
	background: #fff;
}

/* GridView Alternatives */
.grid-header
{
	background: #57587F;
	border-collapse: collapse;
	color: #ffffff;
	font-weight: bold;
}
	.grid-header th, .grid-header td
	{
		background: #57587F !important;
		color: #ffffff !important;
		padding: 4px;
		font-size: 16px;
	}
	.grid-header a
	{
		color: #ffffff;
		text-decoration: none;
		border-bottom: dotted 1px #ffffff;
	}
	.grid-header a:link
	{
	}
	.grid-header a:visited
	{
	}
	.grid-header a:hover
	{
		border-bottom: solid 1px #ffffff;
	}
	.grid-header a:active
	{
	}
.grid-item td
{
	background: #ffffff;
	padding: 6px;
	padding-top: 3px;
	border-top: solid 1px #ccc;
	border-bottom: solid 1px #ccc;
}
.grid-alternating-item td
{
	background: #eeeeee;
	padding: 6px;
	padding-top: 3px;
	border-top: solid 1px #ccc;
	border-bottom: solid 1px #ccc;
}
/* End of GridView Alternatives */

/*****************
 End of Data Grid Styles 
 *****************/

/* Classified Ad Results */
.ewa-ad
{
	display: block;
	font-family: Verdana, Arial, Helvetica, Sans-Serif;
	margin-top: 6px;
	margin-bottom: 6px;
	
	padding: 20px 6px 6px 6px;
	
	border: 0px;
}
.ewa-ad-over
{
	display: block;
	font-family: Verdana, Arial, Helvetica, Sans-Serif;
	margin-top: 6px;
	margin-bottom: 6px;
	
	padding: 18px 4px 4px 4px;	/* .ewa-ad padding - border width of .ewa-ad-over */
	
	border: dashed 2px #090;
	background: url(img/highlight.png) no-repeat top center;

	cursor: hand;
	cursor: pointer;
}

.ad-highlight-box
{
	border: dashed 2px #090;
	background: rgba( 255, 255, 204, .7 );
}

.ewa-highlighted-item td
{
	background: #ffffcc;
	padding: 6px;
	padding-top: 3px;
	border-top: solid 1px #ccc;
	border-bottom: solid 1px #ccc;
}
	.ewa-highlighted-item td .ewa-ad
	{
		background: url(img/highlighted-ad.png) no-repeat top center;
		padding: 18px 4px 4px 4px;
		border: solid 2px #ffffcc;
	}

	.ewa-highlighted-item td .ewa-ad-over
	{
		background: url(img/dehighlight.png) no-repeat top center;
		border: dashed 2px #900;
	}
	
.highlighted-ads-grid td .ewa-ad
{
	background-image: none;
}
.highlighted-ads-grid td .ewa-ad-over
{
	background: url(img/remove-ad.png) no-repeat top center;
	border: dashed 2px #900;
}
.highlighted-ads-grid tr.ewa-ad-selected .ewa-ad
{
	border: dashed 2px #900;
	padding: 18px 4px 4px 4px;
}

.ewa-ad p,
.ewa-ad-over p
{
	margin: 0px;
}



table.ResultsItemCount
{
	margin-top: 20px;
	margin-bottom: 0px;
}
table.ResultsItemCount tr td
{
}


/*************************
	Form Field Styles
 *************************/
.RequiredMark
{
	font-weight: bold; 
	color: #ff0000;
}

.Example
{
	color: #666;
	font-size: inherit;
}

.ValidationSummary
{
	display: block;
	background: #FFEFF2 url(img/attention_32x32.png) no-repeat 6px 6px;
	color: #990000;
	border: solid 2px #990000;
	padding: 6px 6px 6px 44px;
	width: auto;
	text-align: left;
	
	font-family: Verdana, Arial, Helvetica, Sans-Serif;
	
	margin-bottom: 15px;
	
	/* For standards-compatible browsers like FireFox. 
		Unfortunately, IE7 still can't recognize this. */
	/* intentionally commented out...
	margin: 6px auto 12px auto; */
}
	/* Because ASP.NET is rendering the validation summary as a table! */
	table.ValidationSummary
	{
		padding: 0px;
	}
	.ValidationSummary td
	{
		padding: 6px 6px 6px 44px;
	}
	
	.ValidationSummary p, .ValidationSummary font
	{
		color: #990000;
		margin-top: 0px;
		margin-bottom: 6px;
		font-family: Verdana, Arial, Helvetica, Sans-Serif;
	}
	.ValidationSummary ul
	{
		margin: 6px 10px;
		padding: 10px;
		font-weight: normal;
		color: #990000;
		font-family: Verdana, Arial, Helvetica, Sans-Serif;
	}
	.ValidationSummary li
	{
		font-family: Verdana, Arial, Helvetica, Sans-Serif;
		font-weight: normal;
		color: #990000;
	}

.ewa-content .validator
{
	background: #ffc url(img/exclamation.png) no-repeat 2px 1px;
	padding: 2px 4px 2px 24px;
	border: solid 1px #9E9F00;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	border-radius: 6px;
}
	.ewa-content .validator,
	.ewa-content .validator font
	{
		font-weight: bold;
		font-family: Verdana, Arial, Helvetica, Sans-Serif;
		font-size: 12px;
		color: #900;
	}

.ewa-content fieldset
{
	border: solid 1px #ccc;

	padding: 10px;
	margin: 10px 0px 20px 0px;
	clear: both;
}
	.ewa-content fieldset fieldset
	{
		margin: 0 20px 10px 0;
		float: left;
		clear: none;
		border: none;
	}
		.ewa-content fieldset fieldset legend
		{
			color: #666;
			font-size: 14px;
			font-weight: bold;
		}
	
	.ewa-content fieldset legend
	{
		color: #666;
		font-size: 16px;
		font-weight: bold;
	}

	.ewa-content fieldset label
	{
		margin-right: 0px;
	}
		.ewa-content fieldset label.strong
		{
			font-weight: bold;
		}
	
	.ewa-content fieldset table
	{
		margin-bottom: 0px;
	}
	
	.ewa-content fieldset div
	{
		margin-bottom: 10px;
		margin-right: 20px;
	}

	.ewa-content fieldset p
	{
		margin-top: 3px;
		margin-bottom: 10px;
	}

	.ewa-content fieldset label
	{
	}

.ewa-content input[type=radio]
{
	margin-right: 4px;
}

.ewa-content input[type=text]
{
	border: solid 1px #999;
	font-size: 16px;
}

.ewa-content select
{
	border: solid 1px #999;
}
	.ewa-content select option
	{
		padding: 1px 4px;
	}

.ewa-button
{
	
}


/* Button Section */
div.ewa-csf-buttonsection
{
	clear: both;
	width: auto;
	margin: 10px 0px;

	background: #e5e5e5;
	padding: 6px;
	padding-right: 40px;
	text-align: right;
	border: solid 1px #ccc;
}

div.ewa-csf-buttonsection a,
div.ewa-csf-buttonsection input,
div.ewa-csf-buttonsection button
{
    display: block;
    float: left;
    margin: 0 10px 0 0;
    background-color: #f5f5f5;
    border: 1px solid #ccc;

    font-family: "Lucida Sans", Verdana, Tahoma, Arial, Helvetica, Sans-Serif;
    font-size: 100%;
    line-height: 130%;
    text-decoration: none;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    padding: 5px 10px 6px 30px; /* Links */

	background-repeat: no-repeat;
	background-position: 8px center;
}

div.ewa-csf-buttonsection a:link,
div.ewa-csf-buttonsection a:visited,
div.ewa-csf-buttonsection a:active
{
	padding: 6px 10px 7px 30px; /* Links */
	text-decoration: none;
	color: #333;
}
div.ewa-csf-buttonsection a:hover,
div.ewa-csf-buttonsection input:hover
{
	text-decoration: none;
	color: #333;
	background-color: #DFE0FF;
}

div.ewa-csf-buttonsection .search
{
	background-image: url(img/magnifier.png);
}

div.ewa-csf-buttonsection .faq
{
	background-image: url(img/help.png);
}

div.ewa-csf-buttonsection .highlighted-ads
{
	background-image: url(img/tag_blue.png);
}

div.ewa-csf-buttonsection .advanced-search
{
	background-image: url(img/page_white_gear.png);
}

div.ewa-csf-buttonsection .new-search
{
	background-image: url(img/arrow_undo.png);
}

div.ewa-csf-buttonsection .edit-search
{
	background-image: url(img/pencil_add.png);
}

div.ewa-csf-buttonsection .print
{
	background-image: url(img/printer.png);
}

div.ewa-csf-buttonsection .search-results,
div.ewa-csf-buttonsection .back
{
		background-image: url(img/arrow_left.png);
}

@media print
{
	div.ewa-csf-buttonsection
	{
		display: none;
	}
}
/****************************
	End ofForm Field Styles
 ****************************/
