a { color: #000; text-decoration: underline; }
a.orange { color: #d37b00; text-decoration: none; }
a:hover { text-decoration: underline; }

/* Fix's #container not clearing inner floats in firefox */
.floatfix:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
}

/* Hides from IE-mac \*/
* html .floatfix {
height: 1%;
}
/* End hide from IE-mac */  
.clearfix:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}

.clearfix {display: inline-table;}

/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */



/* *********************
	Error / Success messages
************************/
.error 
	{ 
	border: 1px solid #dd3c10;
	background-color: #ffebe8;
	}

.success
	{
	border:1px solid #508b58;
	background-color:#d9eedc;
	}

#notice
	{
	border:1px solid #f29514;
	background-color:#fff;
	height:70px;
	}
	
.message 
	{
	color:#000;
	padding:10px;
	width:500px;
	margin: 0 auto;
	text-align:center;
	}
	.message ul { margin-top:0px; text-align:left; }
	.message_title { font-size:16px; font-weight:bold; margin:0px; padding:0px; text-align:center; }
	.message_description { font-size:12px; margin-top:5px; padding:0px; text-align:left; }

/* notice box for old leads on detail sheet */
.infobox
	{
	background-image:url(http://www.mlscapecod.net/admin/views/images/notice.gif);
	background-repeat:no-repeat;
	background-position:left;
	border:1px solid #000;
	font-size:11px;
	margin:auto;
	margin-bottom:5px;
	text-align:left;
	padding:5px;
	background-color:#fcedcb;
	}
	.infobox .infobox_title { margin-left:30px; font-weight:bold; }
	.infobox .infobox_body { margin-left:30px; }



/* *********************
	Main Elements
************************/
body
	{
	width: 100%;
	height: 95%;
	text-align: center;
	margin: 0 auto;
	font: 10pt arial;
	background-image: url(../images/bg.gif);
	}

html
	{
	height: 95%;
	}

h1
	{
	margin: 0px;
	padding: 0px;
	font-size: 14pt;
	font-weight: bold;
	color: #8d876f;
	}

h2
	{
	margin: 0px;
	padding: 0px;
	font-size: 11pt;
	font-weight: bold;
	color: #000;
	}


h3
	{
	margin: 0px;
	padding: 0px;
	font-size: 9pt;
	font-weight: bold;
	color: #000;
	}

hr
	{
	height: 1px;
	background-color: #000;
	}

img
	{
	border: 0px;
	}


input.text
	{
	font: 8pt verdana;
	border: 1px solid #000;
	height: 15px;
	padding: 2px;
	}

input.submit
	{
	font: 7pt verdana;
	height: 18px;
	border: 1px solid #000;
	}

input.select
	{
	font: 7pt verdana;
	height: 18px;
	border: 1px solid #000;
	}

textarea
	{
	border: 1px solid #000;
	padding:2px;
	font-family: arial;
	font-size: 9pt;
	}

select
	{
	font-size: 9pt;
	}

form
	{
	margin: 0px;
	padding: 0px;
	}

.highlight { background-color:#fde6b4; }
.grey { color:#707070; }
.category { text-align:right; font-weight:bold; }
.heading { font-weight:bold; }
.bold { font-weight:bold; }
.center { text-align:center; }
.small { font-size:10px; line-height:normal; }
.smallbold { font-size: 8pt; font-weight: bold; }
.new { font-size:8px;font-weight:bold;color:#b4aa04;}
.icon { margin-bottom:-2px; }

/* *********************
	Design containers
************************/

div#container
	{
	margin: 0 auto;
	text-align: left;
	width: 850px;
	min-height: 100%;
	border: 1px solid #f29514;
	background-color: #fffae4;
	}
	
	
/* header + nav */
div#container div#headerContainer
	{
	width: 100%;
	height: 115px;
	margin: 0px;
	padding: 0px;
	background-color: #f4f3ef;
	background-image:url(../images/header.gif);
	position:relative;
	}
	
	div#headerContainer div#navContainer
		{
		margin: 0px;
		padding: 0px;
		height: 20px;
		width: 100%;
		}
	
	div#container div#contentContainer
		{
		clear: both;
		min-height: 100%;
		text-align:left;
		}
		
		div#content
			{
			clear:both;
			}
			
	div#leftContent
	{
		width: 600px;
		float: left;
		padding-left: 15px;
	}

	div#rightContent
	{
		width: 200px;
		float: left;
	}


.orange_bar
	{
	background-color:#fde6b4;
	text-align:center;
	padding:2px 0px 2px 0px;
	}
	
	
.button
	{
	height:25px;
	background-image:url(../images/button_bg.gif);
	background-repeat:repeat-x;
	border:1px solid #f29513;
	padding:2px 10px 2px 10px;
	color:#000;
	text-decoration:none;
	}
	
/******************************************/
/* AJAX Search */
/******************************************/

#ajax_search_container
	{
	margin-left:615px;
	margin-top:20px;
	position:relative;
	width:200px;
	}

#ajax_search_container #ajax_search
	{
	position: absolute;
	right: 10;
	top: 0;
	}
	
#ajax_search_container #ajax_submit
	{
	position: absolute;
	right: 0;
	top: 0;	
	}

	
	
	
/******************************************/
/* list of leads an agent need to take ownership of on homepage */
/******************************************/

table#homepage_lead_listing
	{
	width:95%;
	}
	
	table#homepage_lead_listing td, table#homepage_lead_listing th { font-size:11px; }
	table#homepage_lead_listing th { background-color:#f3eed8; }

table#homepage_lead_listing_header
	{
	width:95%;
	margin-top:15px;
	}
	
/******************************************/
/* dropdown navigation */
/******************************************/
#cssdropdown, #cssdropdown ul 
{
	padding: 0;
	margin: 0;
	list-style: none;
	width: 100%;
	z-index:100;
	position:relatve;
	left:0;
}

#cssdropdown li 
{
	float: left;
	position: relative;
	width: 120px;
	z-index:100;
}

.mainitems
{
	background-color: transparent;
}

.mainitems a
{
	font-weight:bold;
	margin-left: 6px;
	margin-right: 8px;
	text-decoration: none;
}

.subuls
{
	display: none;
	width: 10em;
	position: absolute;
	top: 1.2em;
	left: 0;
	background-color: #fff;
	border: 1px solid black;
	padding: 2px;
	text-align: left;
	z-index:100;
}

.subuls li { width: 100%; }
.subuls li  a 
{
	padding:1px 0px 1px 3px; 
	margin:0;
	font-weight:normal; 
	display:block;
}
.subuls li a:hover { background-color:#e1e1e1; }

#cssdropdown li>ul { /* to override top and left in browsers other than IE, which will position to the top right of the containing li, rather than bottom left */
top: 10;
left: 0;
}

/*#cssdropdown li:hover ul, li.over ul { /* lists nested under hovered list items */
display: block;
}*/

#restofcontent 
	{ /* wrap rest of content of the page inside this div */
	clear: left;
	}

li.heading
	{
	background-color:#fde6b4;
	padding:2px 0px 2px 0px;
	font-size:8pt;
	font-weight:bold;
	}
	
.togglemenu
	{
	height:20px;
	padding: 0 3px;
	}
	
.togglemenu:hover
	{
	background-color:#e7d6a9;
	}
	

	
	
	
	
	
 div#leadname_choices {
      position:absolute;
	  text-align:left;
      width:250px;
      background-color:white;
      border:1px solid #888;
      margin:0px;
      padding:0px;
    }
    div#leadname_choices ul {
      list-style-type:none;
      margin:0px;
      padding:0px;
    }
    div#leadname_choices ul li.selected { background-color: #FFE7B5;}
    div#leadname_choices ul li {
      list-style-type:none;
      display:block;
      margin:0;
      padding:2px;
      cursor:pointer;
    }
	
	
	
	
	
	
	
	
	
	
	
	

div#LeadManangement
{
	clear:both;
	width:100%;
	background-image:url(../images/header_leads.gif);
	background-repeat:no-repeat;
	background-position:top left;
}

div#AgentManagement
{
	clear:both;
	width:100%;
	height:85px;
	margin-top:20px;
	background-image:url(../images/header_agents.gif);
	background-repeat:no-repeat;
	background-position:top left;
}	

div#SearchAndEmail
{
	clear:both;
	width:100%;
	height:85px;
	margin-top:20px;
	background-image:url(../images/header_search.gif);
	background-repeat:no-repeat;
	background-position:top left;
}	

	.NavigationLinks
	{
		padding:50px 0px 0px 85px;
	}

	.NavigationLinks a { text-decoration:none; }
	.NavigationLinks a:hover { text-decoration:underline; }


	

div#icon
{
	width: 90px;
	text-align: center;
	padding: 3px;
	border: 1px solid #f29514;
	background-color: #fff;
}

span.required
{
	color: red;
	font-size:70%;
	position:relative;
	bottom: 0.5em;
}



/* *********************
	left boxes
************************

div#boxContainer
{
	width: 194px;
	background-image: url(../images/box_bg.gif);
	background-repeat: repeat;
}

div#boxTop
{
	text-align: center;
	font-weight: bold;
	height: 20px;
	background-image: url(../images/box_top.gif);
}

div#boxBottom
{
	background-image: url(../images/box_bottom.gif);
	background-repeat: no-repeat;
	background-color: #fffae4; 
	height: 7px;
}

div#boxContent
{
	margin: 2px 8px 2px 8px;
	width: 175px;
	font-size: 8pt;
}*/


div#boxContainer
	{
	width: 200px;
	border:1px solid #a6a098;
	clear:both;
	}

div#boxTop
	{
	text-align: left;
	font-weight: bold;
	padding:4px;
	background-color:#fde6b4;
	font-size:12px;
	}
	
	div#boxTopRight
		{
		float:right;
		margin-top:-20px;
		font-size:10px;
		color:#5c564e;
		padding:4px;
		}
	
div#boxContent
	{
	padding:5px;
	font-size:11px;
	background-color:#fff;
	}







/* *********************
	top boxes on lead detail boxes
************************/

div#box1_container
{
	width: 267px;
	background-image: url(../images/box1_bg.gif);
	background-repeat: repeat;
	position: relative;
}

div#box1_top
{
	text-align: left;
	padding: 1px 0px 0px 5px;
	font-weight: bold;
	height: 20px;
	background-image: url(../images/box1_top.gif);
}

div#box1_bottom
{
	background-image: url(../images/box1_bottom.gif);
	background-repeat: no-repeat;
	background-color: #fffae4; 
	height: 7px;
}

div#box1_content
{
	margin: 2px 8px 0px 8px;
	width: 250px;
	min-height: 165px;
}
* html #box1_content {height:165px}

div#additional_links
{
	text-align: center;
	font-size: 8pt;
	position: absolute;
	bottom: 15px;
	width: 99%;
}

/* *********************
	REVISION 2 top boxes on lead detail boxes
************************/

div.box2_container
{
	width: 262px;
	background-image: url(../images/box2_bg.gif);
	background-repeat: no-repeat;
	background-position: bottom;
}

div.box2_top_container
{
	height: 19px;
	background-image: url(../images/box2_top.gif);
	background-repeat: no-repeat;
}

	div.box2_top_left
	{
		float: left;
		text-align: left;
		padding: 1px 0px 0px 4px;
		font-weight: bold;
	}

	div.box2_top_right
	{
		float: right;
		font: 9pt arial;
		padding-right: 7px;
		padding-top: 2px;
		text-align: right;
	}
	
div.box2_top
{
	text-align: left;
	padding: 1px 0px 0px 4px;
	font-weight: bold;
	height: 19px;
	background-image: url(../images/box2_top.gif);
	background-repeat: no-repeat;
}

	div.edit
	{
		font: 9pt arial;
		margin-top: -15px;
		padding-right: 5px;
		clear:none;
		text-align: right;
	}

div.box2_content
{
	margin: 2px 8px 0px 4px;
	width: 250px;
	min-height: 140px;
	font-size:11px;
}

* html .box2_content {height:140px}


div.additional_links
{
	clear:both;
	text-align: center;
	font-weight:Bold;
	padding-top:5px;
	font-size: 8pt;
	width: 99%;
}


/* ********************************** */
/* pages/next/back links on lead pages */
/* ********************************** */
div.pagination
{
	padding: 3px 0px 3px 0px;
	margin:0;
	height:15px;
	background-color: #fde6b4;
	font-weight: normal;
	font-size: 8pt;
}

	div.paginationLeft
	{
		float: left;
	}
	div.paginationRight
	{
		float: right;
	}
	

/*******************************************/
/* styles in the lead detail page */
/*******************************************/
div#comments
{
	font-size: 8pt;
	width:415px;
	height:180px;
	overflow: scroll;
	overflow-x:hidden; 
}


div#indent
{
	margin: 5px 0px 10px 10px;
}

div#orangebox
{
	width: 90%;
	padding: 3px;
	border: 1px solid #f29514;
	background-color: #fff;
	text-align: left;
	margin-top:5px;
}
div#orangeboxsmall
{
	width: 60%;
	padding: 3px;
	border: 1px solid #f29514;
	background-color: #fff;
	text-align: left;
}

div#orangeboxlarge
{
	width: 90%;
	padding: 3px;
	border: 1px solid #f29514;
	background-color: #fff;
	text-align: left;
}


/*********************************/
/* this styles the hidden div on the leads page */
/* ********************************/
table#details td
{
	font-size: 8pt;
	font-family: arial;
}


/*********************************/
/* filters on leadall */	
/*********************************/
fieldset#allLeads_filters
{
	border:1px solid #000;
	width:620px;
	margin:auto;
	text-align:left;
	padding:5px;
}

fieldset#allLeads_filters { padding:0px 8px 8px 8px; margin:0; }
fieldset#allLeads_filters legend { font-weight:bold; padding-bottom:0; margin-bottom:0; }
fieldset#allLeads_filters div#filters_clear { text-align:right; float:right; width:100px; margin-top:-4px; }
fieldset#allLeads_filters table#allLeads_filters_tbl { width:100%; }
fieldset#allLeads_filters table#allLeads_filters_tbl td#allLeads_filters_left { width:220px; }
	fieldset#allLeads_filters table#allLeads_filters_tbl td#allLeads_filters_left table { width:100%; }
fieldset#allLeads_filters table#allLeads_filters_tbl td#allLeads_filters_middle { width:10px; }
fieldset#allLeads_filters table#allLeads_filters_tbl td#allLeads_filters_right { text-align:center; }
	fieldset#allLeads_filters table#allLeads_filters_tbl td#allLeads_filters_right img#or{ margin:3px 0px 3px 0px; }



ul#namefilter
{
	padding: 0;
	margin: 0;
	list-style:none;
	width:620px;
}

ul#namefilter li
{
	float:left;
	margin: 2px;
	width: 15px;
	border: 1px solid #55915e;
	font: 8pt arial;
	font-weight: bold;
	text-align: center;
}

ul#namefilter li a
{
	display:block;
	padding: 2px;
	text-decoration:none;
}

ul#namefilter li a:hover{ background-color:#d9eedc; text-decoration:none; }



ul#namefilter li.namefilterlong
{
	margin: 2px;
	width: 60px;
	border: 1px solid #55915e;
	font: 8pt arial;
	font-weight: bold;
	text-align: center;
}



/******************************************/
/* tabs within body */
/******************************************/

div#content_tabs
	{
	border-bottom: 2px solid #f1d18d;
	}

#content_tabs ul
	{
	list-style: none;
	width: 100%;
	margin: 0px;
	padding: 0px;
	}
	
#content_tabs li
	{
	text-align: center;
	display: inline;
	margin-bottom:2px;
	padding:2px 10px 0px 10px;
	}
	
	#content_tabs li:hover
		{
		background-color:#feeeca;
		border-bottom: 2px solid #f1d18d;
		}
	
	#content_tabs li a
		{
		text-decoration:none;
		}

#content_tabs .selected
	{
	background-color: #f1d18d;
	}
	






div#backlink
	{
	float: right;
	font-weight: bold;
	padding-right: 10px;
	margin-top:-20px;
	}





td.tdHeader
	{
	font: 8pt verdana;
	font-weight: bold;
	background-color: #ECF3F8;
	color: #000;
	padding: 2px;
	}

td.activityPath
	{
	font: 8pt verdana;
	}











div#mlsLogo
{
	clear: both;
}

span.copyright
{
	color: #000;
}








/******************************************/
/* links on the lead listing page - "today" / "this week" etc */
/******************************************/
#welcome_buttons 
{
  padding:0px;
  text-align:center;
  margin:auto;
  height:45px;
}

#welcome_buttons .current
{
  background-color:#FDE6B4;
}

#welcome_buttons a 
{
  float:left;
  display:block;
  width:85px;
  height:35px;
  padding:5px;
  margin-bottom:5px;
  color:#666;
  background-color:#fff;
  margin-right:5px;
  border:1px solid #f29514;
  text-decoration:none;
}

#welcome_buttons a:hover {
  text-decoration:none;
  color:#333;
  background:#FFE7B5;
  border:1px solid #f29514;
}

#welcome_buttons a h4 {
  margin:0;
  padding:0 0 0 0px;
  font-size:12px;
  color:#333;
  border: 0px;
}

#welcome_buttons a:hover h4 {
  color:#000;
}

#welcome_buttons a p {
  font-size:10px;
  margin:0;
  padding:3px 0 2px 0px;
}

#welcome_buttons a p span {
  display:block;
}






/******************************************/
/* leads.leadAll table */
/******************************************/
table.leads_listing
{
	width:100%;
	text-align:left;
	border:0;
}

	table.leads_listing td { padding:0px 2px; }
	table.leads_listing td.heading { font-weight:bold; }
	table.leads_listing .col_info { width:20px; text-align:center; }
	table.leads_listing .col_lastlogindate { width:110px; text-align:center;}
	table.leads_listing .col_rating { width:55px; text-align:center; }
	table.leads_listing .col_preview { width:65px; text-align:center; }
	table.leads_listing1 .col_lead_name { width:250px; }
	table.leads_listing1 .col_lead_email { width:250px; }
	table.leads_listing .col_new { width:35px; text-align:center;}
	table.leads_listing .col_regdate { width:110px;text-align:center; }
	table.leads_listing .col_released { width:110px;text-align:center; }
	table.leads_listing .col_expiration { width:150px; text-align:left; }
	table.leads_listing .col_assigned_agent { width:125px; text-align:center; }
	table.leads_listing td#lead_origin { width:125px; }
	table.leads_listing .col_dateassigned { text-align:center; width:100px; }
	table.leads_listing .col_ownershiptaken { width:75px; text-align:center; }
	table.leads_listing td#divider hr
		{
		width: 100%; 
		height: 2px; 
		background-color: #2F3A64;	
		}
	
	
	
/******************************************/
/* e-mail a lead page | leads.email */
/******************************************/
fieldset#find_leads { text-align:left; border:1px solid #f49416;}
fieldset#find_leads legend
{
	font-weight:bold;
}
	
.SelectList
{
	width:350px;
}


/******************************************/
/* merge leads  */
/******************************************/

/* in ajax */
#lead1_table, #lead1_table td { text-align:right; }
#lead2_table, #lead2_table td { text-align:left; }

td#lead1 { width:40%; text-align:right; }
td#lead2 { width:40%; text-align:left; }

#col_headers table { width:100%; }
#col_headers td { font-weight:bold; text-align:center; }
#col_headers tr:hover { background-image:url(../images/double_arrow.gif); background-repeat:no-repeat; background-position:top center; }

.nodata { color:#b2b2b2; font-size:11px; }


/******************************************/
/* trends  */
/******************************************/
div#trends_container { text-align:center; }
div#trends_search
	{
	width:390px;
	margin:0 auto;
	text-align:left;
	}

div#trends_chart
	{
	text-align:center;
	margin-top:10px;
	}

table.trends_two_col_table { width:70%; margin:0 auto; }
	table.trends_two_col_table td { text-align:center; }
	table.trends_two_col_table td td { text-align:left; } /* this is for the property address, num views and mls number on main trends pg */
