/*
Theme Name: Pears Property
Theme URI: http://pearspropertygroup.co.za
Description: Theme for the Pears Property Group website
Author: Matt Bush
Version: 1.0
*/


/* Reset
-------------------------------------------------------------- */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	vertical-align: baseline;
	background: transparent;
}
html, body{height:100%; width:100%;}
body{background:url(images/bg.jpg) repeat-x #000002; font-family:Verdana, Arial, Helvetica, sans-serif; font-size:62.8%; color:#002a8c;}
body.page-template-popup-php, body.page-template-print-php{background:#fff;}
/*common classes*/
a{text-decoration:none; color:#002a8c;}
a:hover{text-decoration:underline;}
.left{float:left;}
.right{float:right;}
.clear{clear:both;}

ol li{margin:10px 0 10px 30px;}
div#page ul li, div#page2 ul li, div#page3 ul li{font-size:1.1em; margin:10px 0 10px 30px;}

/*framework*/
div#floater{position:relative; float:left; width:1px; height:50%; margin-bottom:-280px;}
div#wrapper{width:899px; height:560px; background:#fff; margin:0 auto; position:relative; clear:left;}
	div#header{height:111px; background:url(images/header_bg.jpg) repeat-x; position:relative; z-index:10;}
		div#header h1{position:absolute; left:-24px; width:224px;}
		div#topmenu{position:absolute; right:0; font-size:0.9em; text-transform:uppercase; background:url(images/topmenu_bg.jpg) no-repeat; width:191px; height:34px; text-align:center; line-height:3.5em; font-weight:bold;}
			div#topmenu a{margin:0 1px; color:#131e3b;}
			div#topmenu a:hover{text-decoration:none;}
		div#propertymenu{width:646px; height:33px; background:url(images/property_menu_bg.jpg) no-repeat; position:absolute; right:22px; bottom:0; font-size:1.0em; font-weight:bold; text-transform:uppercase; z-index:10;}
			ul.dropdown{position:relative; list-style:none;}
				ul.dropdown li{float: left; zoom: 1; width:161px; text-align:center;}
					ul.dropdown li a{display:block; padding:10px 0px; color:#fff; }
					ul.dropdown li a.toplevel:hover, ul.dropdown li.active a{text-decoration:none; background:url(images/property_menu_active.jpg) no-repeat;}
					ul.dropdown li.hover, ul.dropdown li:hover{position:relative; }
					/* LEVEL TWO */
					ul.dropdown ul{ width:160px; visibility:hidden; position:absolute; top:100%; left:0; list-style:none; }
						ul.dropdown ul li{float:left; height:25px; margin:1px 0 0 0;}
						ul.dropdown ul li.let{width:79px;}
						ul.dropdown ul li.buy{width:80px;}
						ul.dropdown li ul li.let{background:url(images/property_let_bg.gif) top left no-repeat #abc1f3; border-right:1px solid #fff;}
						ul.dropdown li ul li.buy{background:url(images/property_buy_bg.gif) top right no-repeat #abc1f3;}	
						ul.dropdown li ul li.let:hover, ul.dropdown li.let-active ul li.let{background:url(images/property_let_active_bg.gif) top left no-repeat #d52d12;}	
						ul.dropdown li ul li.buy:hover, ul.dropdown li.buy-active ul li.buy{background:url(images/property_buy_active_bg.gif) top right no-repeat #d52d12;}					  
                           ul.dropdown ul li a{width:100%; display:inline-block; padding:6px 0; text-decoration:none; } /* IE 6 & 7 Needs Inline Block */
						   ul.dropdown li.active ul li a{background:none;}
	div#content{width:668px;}
		/*home*/
		div#homepage{background:url(images/homepage.jpg) no-repeat; width:648px; height:421px; overflow:hidden;}
			div#homepage h2{font-size:1.2em; text-transform:uppercase; padding:21px 0 0 14px;}
			div#homepage p{font-size:1.1em; color:#000000; padding:9px 0 9px 14px;}
		/*about us / form pages */
		div#page, div#page3{background:url(images/page_bg.jpg) repeat-x;}
			div#page_frame{width:100%; height:421px; overflow:auto;}
				div#page_inner{padding:0 5px 0 14px;}
				div#page3 div#page_inner{padding:0 25px 0 15px;}
				div#page h2, div#page3 h2{font-size:1.2em; text-transform:uppercase; padding:21px 0 0 0;}
				div#page h3{font-size:1.1em; font-style:italic; padding:8px 0;}
				div#page p{font-size:1.1em; color:#000000; padding:8px 0; text-align:justify;}
				div#page3 p{font-size:1.1em; color:#002a8c; padding:8px 0; text-align:justify;}
				div#page img.alignright{float:right; padding:0px 20px 10px 20px;}
				div#page div.emphasis, div#page div.emphasis p{color:#002a8c; padding:6px 0; text-align:justify;}
				div#page ol{color:#000000; font-size:11px;}
				/*forms */
				div#page3 form{background:#c1c5dc; height:214px; margin:10px 0 0 0;}
					table#contact th{text-align:right; font-size:1.2em; font-weight:normal; vertical-align:top; background:#d6d8e7;}
					table#contact th, table#contact td{padding:4px 6px;}
					div.wpcf7-response-output{font-size:1.1em; color:#d52d12; font-weight:bold;}
		/*meet the team*/
		div#page2{background:#e2e3ee;}
			div#page2 h2{font-size:1.2em; text-transform:uppercase; padding:21px 0 0 0;}
			ul#agents{list-style:none; margin:20px 0;}
				ul#agents li{height:128px; background:url(images/pear.gif) no-repeat; padding:0 0 0 79px; margin:0 50px 0 0; overflow:hidden;}
				div.agent_meta{border-top:1px solid #002a8c; margin:14px 0 0 0; padding:0 0 0 18px;}
					div.agent_meta img.alignright{float:right;}
					p.agentitle{font-size:1.2em; margin:7px 0 0 0; height:44px;}
					p.agentinfo{font-size:1.1em; margin:0;}
		/*popups*/
		div#print{padding:20px;}
		a.printpage{display:block; padding:5px; background:red; font-weight:bold; width:100px; border:2px solid #002a8c; text-align:center; margin:50px 0; clear:both;}
		div#print p{font-size:1.2em; padding:4px 0 4px 50px;}
		ul#print_images{margin:10px 0 10px 50px; list-style:none;}
		ul#print_images li{float:left; margin:5px;}
		div#popup_header{text-align:center; padding:5px 0;}
		h2.popup{color:#fff; font-size:1.4em; background:#01298c; padding:3px 0; text-align:center;}
		h2.print{font-size:1.4em; padding:3px 50px;}
		
			table.popupform{margin:20px;}
				table.popupform tr#thelink{display:none;}	
					table.popupform th, table.popupform td{padding:4px; font-size:1.2em; font-weight:normal;}
					table.popupform th{font-weight:normal; text-align:right;}
			body.page-template-popup-php div.wpcf7-response-output{margin:-10px 4px; width:290px;}
		div#popup_footer{font-size:1.0em; text-align:center;}
			div#popup_footer img{padding:20px;}
			div#popup_footer a{text-decoration:underline;}
			div#popup_footer p{margin:18px 12px;}
			div#popup_agent{text-align:left; background:#01298c; color:#fff;}
				div#popup_agent img{float:left;}
				div#popup_agent h3{padding:20px 0 10px 0; font-size:1.1em;}
				div#popup_footer div#popup_agent a{color:#fff;}
			div#popup_bond{text-align:left; background:#fff; border-top: 1px solid #01298c; padding:0 20px 10px 0;}
				div#popup_bond img{float:left;}
				div#popup_bond h3{padding:20px 0 10px 0; font-size:1.1em;}
		div#agentlisting{margin:0 0 0 50px;}
		div#agentlisting h3{padding:20px 0 10px 0;}
		table#residential_results, table#commercial_results_print{font-size:1.1em; width:100%;}
			table#residential_results th, table#commercial_results_print th{text-align:left; padding:6px 30px 6px 6px; background:#d2d5e5; color:#000; border-bottom:1px solid #000;}
			table#residential_results th.header, table#commercial_results_print th.header{background:url(images/table-inactive-arrow.jpg) no-repeat top right #d2d5e5;}
			table#residential_results th.headerSortDown, table#commercial_results_print th.headerSortDown{background:url(images/table-desc.jpg) no-repeat top right #d2d5e5;}
			table#residential_results th.headerSortUp, table#commercial_results_print th.headerSortUp{background:url(images/table-asc.jpg) no-repeat top right #d2d5e5;}
			table#residential_results td, table#commercial_results_print td{border-bottom:1px solid #01298b; padding:12px;}
		/*property listing*/
		div.property_container{margin:0 5px 16px 0; border:1px solid #01298c;}
			div.property_inner{height:198px; overflow:hidden;}
			div.property_inner_full{height:361px; overflow:hidden;}
				div.property_header{background:#01298c; color:#fff; position:relative; height:33px;}
					div.property_header h3{position:absolute; top:8px; left:14px; font-size:1.2em;}
						span.property_region, span.property_type{font-weight:normal;}
						span.property_type{font-style:italic;}
				div.property_info{height:132px; overflow:hidden;}
				div.property_info_full{height:295px; overflow:hidden;}
					div.property_info img{padding:14px 14px 0 14px; float:left;}
					div.property_meta p, div.property_additional_meta, div.property_meta h4{font-size:1.2em;}
					div.property_meta{width:456px; padding:14px 0 0 0;}
					div.property_detail{height:50px; overflow:hidden;}
					/*single*/
					div#property_full_intro h4{font-size:1.0em;}
					div#property_full_images{width:305px; height:295px; background:#e8eaf5;}
						div#property_full_images_inner{font-size:1.1em; padding:6px 0 0 20px;}
						div#property_full_intro{height:70px;}
						div#property_full_images ul{list-style:none;}
					div#property_full_meta{width:321px; font-size:1.1em;}
						div#property_full_meta p{margin:12px 10px 12px 0;}
				div.property_footer{border-top:1px solid #01298c; background:#d52d12; color:#FFFFFF; font-size:1.2em; position:relative;}
					div.property_agent{position:absolute; left:0px; background:#d52d12; height:32px; width:100%; text-indent:14px; line-height:2.5em;}
					div.property_links{position:absolute; right:0px; height:32px; overflow:hidden;}
						div.property_links a.footer_btn{background:url(images/property_footer_btn_bg.jpg) repeat-x; height:32px;}
							div.property_links a.footer_btn{display:block; float:left; padding:8px; color:#FFFFFF; text-decoration:none;}
								div.property_links a.bordered{border-right:1px solid #01298c;}
			div.navigation{font-size:1.1em; font-weight:bold; padding:3px 5px 5px 0px;}
		/*residential*/
		div#residential_topbar{height:45px; position:relative; z-index:0;}
			h2.residential{font-size:1.2em; font-weight:normal; font-style:italic; position:absolute; top:20px; left:0;}
			form#search_residential{position:absolute; top:13px; right:25px; font-size:1.2em; z-index:0;}
			form#search_residential label{display:block; position:absolute; left:-160px; top:7px;}
			div#residential{height:378px; overflow:auto; position:relative;}
			div#residential_full{width:651px; height:378px; overflow:hidden; position:relative;}				
				div.residential_price{position:absolute; top:8px; right:17px; font-size:1.2em;}
		/*search*/
		div#searchmsg{padding:10px 0; font-size:1.2em; font-weight:bold;}
		div#res_back{font-size:1.2em; padding:5px 0 10px 0;}
		/*commercial*/
		div#property_topbar{margin:33px 0 8px 0;}
		h2.property{font-size:1.2em; font-style:italic; margin:0;}
		div#commercial{margin:0 22px 0 0;}
		table#commercial_results{font-size:1.1em; width:100%;}
		table#commercial_results thead{height:28px;}
		table#commercial_results tbody{height:290px; overflow-y:auto; overflow-x:hidden;}
			table#commercial_results th{text-align:left; padding:6px 20px 6px 6px; background:#d2d5e5; color:#000; border-right:4px solid #c0c4da; font-weight:normal;}
			table#commercial_results th#region{padding:6px; width:150px;}
			table#commercial_results th.sorting{background:url(images/table-inactive-arrow.jpg) no-repeat top right #d2d5e5;}
			table#commercial_results th.sorting_asc{background:url(images/table-desc.jpg) no-repeat top right #d2d5e5;}
			table#commercial_results th.sorting_desc{background:url(images/table-asc.jpg) no-repeat top right #d2d5e5;}
			table#commercial_results td{border-bottom:1px solid #01298b; padding:12px;}
			table#commercial_results td.last{padding:12px 0 12px 12px;}
			#commercial_results_filter{display:none;}
			span.new{font-style:italic; color:#d52d12; text-transform:uppercase;}
			a.commercial_more{display:block; width:86px; height:15px; font-size:1.0em; color:#fff; background:url(images/commercial-more.jpg) no-repeat #d52d12; text-align:center; text-decoration:none;}
			/*single*/
			div.commercial_property_detail{height:58px;}		
	div#sidebar{margin:2px; background:url(images/mainmenu_bg.jpg) no-repeat #01298b; overflow:hidden;}
		div#sidebar_inner{width:203px; height:419px; overflow:hidden;}
		div#sidebar ul{list-style:none; margin:0; padding:0;}
		div.menu-sidebar-container{overflow:hidden;}
			div#primary{padding:18px 24px;}
				ul#menu-sidebar li{border-bottom:1px solid #8fa5de; font-size:1.1em; text-transform:uppercase; text-align:right; padding:8px 0; font-family:Arial, Helvetica, sans-serif; font-size:1.1em; font-weight:bold;}
				ul#menu-sidebar li#menu-item-38{border-bottom:none;}
				ul#menu-sidebar li a{color:#fff;}
				ul#menu-sidebar li a{text-decoration:none;}
			div#secondary{text-align:center; margin:20px 0 0 0;}
				li#pears_contact-3{display:block; width:161px; height:126px; background:url(images/contact_bg.png) no-repeat; margin:0 auto;}
				li#pears_contact-3 h3{color:#fff; font-size:1.2em; padding:8px 0; text-transform:uppercase; font-family:Arial, Helvetica, sans-serif;}
				div#secondary li.tel{font-weight:bold; font-size:1.4em; margin:8px 0 2px 0;}
				div#secondary li.email{font-weight:bold; font-size:1.1em; font-weight:normal; margin:0 0 12px 0;}
				div#secondary li.email a{text-decoration:underline;}
	div#footer{height:26px; background:#01298b; color:#fff; position:absolute; left:0; right:0; bottom:0; font-size:1.0em;}
		div#powered{width:205px; text-align:center; margin:6px 0 0 0;}
		div#footer_menu{width:668px; text-align:center; margin:6px 0 0 0;}
			div#footer_menu a{color:#fff; text-decoration:none;}