/*
Theme Name: TFG
Theme URI: http://TheFiliceGroup.com
Description: TFG re-design
Version: 1
*/

/* Reset */

html{color:#000;background:#FFF;}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,button,textarea,p,blockquote,th,td{margin:0;padding:0;}table{border-collapse:collapse;border-spacing:0;}fieldset,img{border:0;}address,caption,cite,code,dfn,em,strong,th,var,optgroup{font-style:inherit;font-weight:inherit;}del,ins{text-decoration:none;}li{list-style:none;}caption,th{text-align:left;}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal;}q:before,q:after{content:'';}abbr,acronym{border:0;font-variant:normal;}sup{vertical-align:baseline;} sub{vertical-align:baseline;}legend{color:#000;}input,button,textarea,select,optgroup,option{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;}input,button,textarea,select{*font-size:100%;}

/* The Real Deal */

body {
	font-family: Georgia, serif;
	font-size: 14px;
	line-height: 1.5em;
	color: #333;
	}
a {
	color: inherit;
	outline: none;
	}
strong {
	font-weight: bold;
	}
em {
	font-style: italic;
	}
span.caps {
	font-size: .9em;
	letter-spacing: .1em;
	}

h1 {
	font-size: 3em;
	line-height: 1em;
	margin: .5em 0;
	}
h1 {
	font-size: 2em;
	line-height: 1.5em;
	margin: .75em 0;
	}
h2 {
	font-size: 1.5em;
	line-height: 1.5em;
	margin: 1em 0;
	}
h3 {
	font-size: 1.25em;
	line-height: 1.2em;
	margin: 1.2em 0;
	}
h4 {
	font-size: 1em;
	line-height: 1.5em;
	margin: 1.5em 0;
	}
p {
	font-size: 1em;
	line-height: 1.5em;
	margin: 1.5em 0;
	}

.wrapper {
	width: 960px;
	margin: 0 auto;
	}

#head {
	font-family: Helvetica Neue, Arial, Helvetica, sans-serif;
	background-image: url(/media/images/bg.png);
	background-position: center center;
	background-repeat: repeat;
	}
#head .wrapper * {
	margin: 0;
	}
#head .logo {
	float: left;
	margin-top: 20px;
	}
#head .wrapper {
	background-image: url(/media/images/topgradient.png);
	background-position: bottom center;
	background-repeat: no-repeat;
	}
#head .logo a {
	display: block;
	text-indent: -9999px;
	background-image: url(/media/images/logo.png);
	background-position: center center;
	background-repeat: no-repeat;
	width: 178px;
	height: 75px;
	}
#head .sothebys {
	float: right;
	}
#head .sothebys a {
	display: block;
	text-indent: -9999px;
	background-image: url(/media/images/logosothebys.png);
	background-position: center center;
	background-repeat: no-repeat;
	width: 134px;
	height: 60px;
	}
#head .info {
	float: right;
	line-height: 4.5em;
	margin-right: 0px;
	color: #999;
	}
#head .info .weather div {
	display: inline;
	}
#head .info .weather img {
	margin: 0 .75em;
	position: relative;
	top: -3px;
	}
#head .nav {
	float: right;
	clear: right;
	width: 763px;
	}
#head .nav li {
	float: left;
	}
#head .nav li a {
	display: block;
	text-indent: -9999px;
	background-image: url(/media/images/nav.png);
	background-repeat: no-repeat;
	height: 52px;
	}
	#head .nav li.home a { background-position: 0px top; width: 59px; }
	#head .nav li.home a:hover, .home #head .nav li.home a { background-position: 0px bottom; }
#head .nav li.properties a { background-position: -59px top; width: 184px; }
#head .nav li.properties a:hover, .properties #head .nav li.properties a { background-position: -59px bottom; }
#head .nav li.about a { background-position: -243px top; width: 108px; }
#head .nav li.about a:hover, .about #head .nav li.about a { background-position: -243px bottom; }
#head .nav li.contact a { background-position: -351px top; width: 97px; }
#head .nav li.contact a:hover, .contact #head .nav li.contact a { background-position: -351px bottom; }
#head .nav li.blog a { background-position: -448px top; width: 102px; }
#head .nav li.blog a:hover, .blog #head .nav li.blog a { background-position: -448px bottom; }
#head .nav li.buyers a { background-position: -550px top; width: 105px; }
#head .nav li.buyers a:hover, .buyers #head .nav li.buyers a { background-position: -550px bottom; }
#head .nav li.sellers a { background-position: -655px top; width: 108px; }
#head .nav li.sellers a:hover, .sellers #head .nav li.sellers a { background-position: -655px bottom; }

#featured {
	background-image: url(/media/images/bluebg.png);
	background-position: top center;
	background-repeat: repeat-x;
	color: #FFF;
	border-top: 3px solid #FFF;
	padding: .75em 0;
	}

#main {
	background-image: url(/media/images/bottom_shadow.png);
	background-position: bottom center;
	background-repeat: no-repeat;
	}
#main .wrapper {
	padding: 1.5em 0;
	background-image: url(/media/images/top_bottom_shadow.png);
	background-position: top center;
	background-repeat: no-repeat;
	}

#footer {
	clear: both;
	padding: 1.5em 0;
	background-image: url(/media/images/bluebg.png);
	background-position: top center;
	background-repeat: repeat-x;
	color: #FFF;
	}

#footer {
	height: 124px;
	background-image: url(/media/images/footer/bg.png);
	padding: 0;
	}
#footer .wrapper {
	text-indent: -9999px;
	height: 124px;
	!background-image: url(/media/images/footer/footer.png);
	background-position: top left;
	background-repeat: no-repeat;
	}

.content {
	width: 640px;
	float: left;
	}
.sidebar {
	width: 280px;
	float: right;
	}

.content img {
	border: 1px solid #CCC;
	padding: 2px;
	}
.content a:hover img {
	border-color: #12254D;
	}
.content ul {
	list-style: square outside none;
	margin: 1.5em 0 1.5em 1.5em;
	}
.content ul li {
	list-style: square outside none;
	}
.content h3 {
	font-family: Helvetica Neue, Arial, Helvetica, sans-serif;
	color: #12254D;
	}
.content h3 small {
	color: #999;
	}

.sidebar {
	font-family: Helvetica Neue, Arial, Helvetica, sans-serif;
	}
.sidebar a {
	color: #999;
	text-decoration: none;
	}
.sidebar a:hover {
	color: #12254D;
	text-decoration: underline;
	}
.sidebar img {
	border: 1px solid #CCC;
	padding: 2px;
	}
.sidebar a:hover img {
	border-color: #12254D;
	}
	
#search img {
	border: none;
	padding: 0;
	}
#search a:hover img {
	border: none;
	}
.sidebar .widget {
	margin: 15px 0;
	}
.sidebar .widget h3, .sidebar .widget .h3 {
	text-transform: uppercase;
	letter-spacing: .2em;
	border-bottom: 3px double #DDD;
	color: #12254D;
	color: #4D676E;
	font-size: .75em;
	line-height: 2em;
	margin: 0 0 2em 0;
	}
.sidebar .widget h3.twitter a {
	color: #12254D;
	color: #4D676E;
	text-decoration: none;
	display: block;
	}
.sidebar .widget h3.twitter a.back {
	background-image: url(/media/images/icons/twitter.png);
	background-position: left center;
	background-repeat: no-repeat;
	padding-left: 30px;
	}
.sidebar .widget h3.twitter a:hover {
	text-decoration: underline;
	}
.sidebar .widget .body {
	font-size: 0.857142857em;
	line-height: 1.75em;
	color: #999;
	}
.sidebar .widget .post {
	clear: both;
	margin: 1.5em 0;
	}
.sidebar .widget img {
	float: left;
	!width: 50px;
	margin: 0 20px 0 0;
	}
#mls_button { width: 282px; }
.sidebar .widget .more {
	float: right;
	font-size: .75em;
	line-height: 1em;
	}
.sidebar .widget .more a {
	text-decoration: none;
	color: #999;
	}

.letter {
	}
.letter h2 {
	color: #666;
	font-style: italic;
	}
.letter h2 strong {
	font-weight: normal;
	font-style: normal;
	color: #12254D;
	}
.letter h2 em {
	color: #333;
	}

/* Homepage Tabs */

#home-tabs {
	margin: 1.5em 0;
	}
#home-tabs ul {
	list-style: none;
	margin: 0;
	padding: 0;
	}
#home-tabs ul li {
	list-style: none;
	float: left;
	font-family: Helvetica Neue, Arial, Helvetica, sans-serif;
	text-transform: uppercase;
	letter-spacing: .2em;
	font-size: .75em;
	line-height: 4em;
	height:43px;
	margin: 0;
	padding: 0;
	}
#home-tabs ul li a {
	display: block;
	padding: 0 20px;
	text-decoration: none;
	border: 1px solid #DDD;
	border-bottom: none;
	margin: 0 2px 0 0;
	position: relative;
	top: 1px;
	height:42px
	}
#home-tabs ul li.ui-tabs-selected a {
	z-index: 10;
	}
#home-tabs ul li.featured a {
	background-image: url(/media/images/icons/house.png);
	background-position: 20px center;
	background-repeat: no-repeat;
	padding-left: 50px;
	background-color: #FBF2DB;
	color: #958566;
	}
#home-tabs ul li.high-rises a {
	background-image: url(/media/images/icons/buildings.png);
	background-position: 20px center;
	background-repeat: no-repeat;
	padding-left: 50px;
	background-color: #EBFADB;
	color: #68882E;
	}
#home-tabs ul li.sold a {
	background-image: url(/media/images/icons/sold.png);
	background-position: 20px center;
	background-repeat: no-repeat;
	padding-left: 50px;
	background-color: #DFEBF8;
	color: #5D7D8A;
	}
#home-tabs .ui-tabs-panel {
	clear: left;
	padding: 20px;
	margin: 0;
	border: 1px solid #DDD;
	}
#home-tabs .ui-tabs-panel hr {
	clear: both;
	border: none;
	border-bottom: 1px solid #CCC;
	padding-top: 10px;
	margin-bottom: 20px;
	}
#home-tabs-featured { background-color: #FBF2DB; }
#home-tabs-high-rises { background-color: #EBFADB; }
#home-tabs-sold { background-color: #DFEBF8; }
.ui-tabs-hide { display: none; }

/* Property Tabs */

#property-tabs {
	margin: 1.5em 0;
	}
#property-tabs ul {
	list-style: none;
	margin: 0;
	padding: 0;
	}
#property-tabs ul li {
	list-style: none;
	float: left;
	font-family: Helvetica Neue, Arial, Helvetica, sans-serif;
	text-transform: uppercase;
	letter-spacing: .2em;
	font-size: .75em;
	line-height: 4em;
	height:43px;
	margin: 0;
	padding: 0;
	}
#property-tabs ul li a {
	display: block;
	padding: 0 20px;
	text-decoration: none;
	border: 1px solid #DDD;
	border-bottom: none;
	margin: 0 2px 0 0;
	position: relative;
	top: 1px;
	height: 42px;
	}
#property-tabs ul li.ui-tabs-selected a {
	z-index: 10;
	}
#property-tabs ul li.map a {
	background-color: #FBF2DB;
	color: #958566;
	}
#property-tabs ul li.gallery a {
	background-color: #EBFADB;
	color: #68882E;
	}
#property-tabs .ui-tabs-panel {
	clear: left;
	padding: 20px;
	margin: 0;
	border: 1px solid #DDD;
	}
#property-map {
	background-color: #FBF2DB;
	}
#property-gallery {
	background-color: #EBFADB;
	}
#property-tabs .ui-tabs-hide {
	display: none;
	}

/* Featured Properties */

.properties .featured {
	width: 290px;
	border: 1px solid #DDD;
	float: left;
	margin: 1.5em 0;
	text-align: center;
	}
.properties .featured.left {
	clear: both;
	margin-right: 42px; 
	}
.properties .featured.center {
	}
.properties .featured.right {
	margin-left: 42px;
	}
.properties .featured a {
	display: block;
	padding: 15px 19px;
	background-color: #E6EAED;
	color: #12254D;
	text-decoration: none;
	position: relative;
	}
	
	.properties .featured #narrow_search a {
	display: inline;
	padding: 0;
	background-color: #ffffff;
	color: #12254D;
	text-decoration: none;
	position: inherit;
	}
	
	.properties .featured #narrow_search a:hover {
	text-decoration:underline;	
	}
	
.properties .featured a img {
	margin-bottom: .75em;
	border: 1px solid #DDD;
	}
.properties .featured a strong {
	display: block;
	font-size: 1.2em;
	line-height: 1.5em;
	font-weight: normal;
	margin-bottom: .5em;
	}
.properties .featured a small {
	font-family: Helvetica Neue, Arial, Helvetica, sans-serif;
	display: block;
	font-size: .75em;
	line-height: 2em;
	height: 4em;
	}
.properties .featured .recently-sold,
.properties .featured .reduced,
.properties .featured .high-rise,
.properties .featured .private-select,
.properties .featured .open-house {
	display: block;
	width: 100px;
	height: 100px;
	position: absolute;
	top: -1px;
	left: -1px;
	background-position: center center;
	background-repeat: no-repeat;
	text-indent: -9999px;
	}
.properties .featured .recently-sold { background-image: url(/media/images/flags/sold.gif); }
.properties .featured .reduced { background-image: url(/media/images/flags/reduced.gif); }
.properties .featured .high-rise { background-image: url(/media/images/flags/high-rise.gif); }
.properties .featured .private-select { background-image: url(/media/images/flags/private-select.gif); }
.properties .featured .open-house { background-image: url(/media/images/flags/open-house.gif); }

#wp_page_numbers { float: right; }
#wp_page_numbers li { float: left; margin-left: 5px; list-style: none; }
#wp_page_numbers li a { display: block; }
#wp_page_numbers li.active_page a { text-decoration: none; }

#subnav {
	background: url(/media/images/bottom_shadow.png) bottom center no-repeat;
	background: none;
	border-bottom: 1px solid #DDD;
	padding: 0 0 10px 0;
	}
	
#subnav_bottom {
	background: url(/media/images/bottom_shadow.png) bottom center no-repeat;
	background: none;
	border-bottom: 1px solid #DDD;
	padding: 0 0 10px 0;
	}	

/* Content Indices */

.content .post {
	clear: both;
	margin: 1.5em 0;
	}
.content .thumb {
	float: left;
	width: 150px;
	margin-right: 20px;
	}
.content .thumb img {
	width: 140px;
	padding: 5px;
	}
.content .body {
	margin-left: 170px;
	}

/* YouTube Videos */

.youtube-video {
	width:560px;
	height:340px;
	display:none;
	text-align:right;
	clear:both;
	}

/* Remainders */

table { width: 100%; }
table td { vertical-align: top; padding: 5px 20px 5px 0; }

.alignleft {
	float: left;
	margin: 0 1.5em 1.5em 0;
	}
.alignnone {
	float: left;
	margin: 0 1.5em 1.5em 0;
	}

.clear {
	clear: both;
	}
	
.sidebar .thumbnail {width:50px; height:50px}
.sidebar .property-image .thumbnail { width: 100px; height: 100px; }

.attachment-thumbnail img {width:125px; height:94px; overflow:hidden; max-width:125px; max-height:94px;}
	
.gallery-icon {width:125px; height:94px; overflow:hidden; max-width:125px; max-height:94px;}


.body p, .widget p, .entry p {margin:0px; padding:0px}
.content p { margin: 1.5em 0 !important; }
.gallery-item {height:145px; width:145px; max-height:145px; max-width:145px}

.biopop {background:white; padding:5px; !margin:5px; border:1px solid #666666; display:none; width:600px; !height:200px; z-index:10; position:absolute; margin-left:-350px; margin-top:-350px; !top:100px; cursor:pointer}
.biopop_close {margin-top:25px; font-size:75%; color:#666666}


.postpop { background:white; padding:15px; border:1px solid #666666; display:none; !width:400px; !z-index:10; !position:absolute; }
.postpop_close {margin-top:25px; font-size:75%; color:#666666;cursor:pointer}

.open-house-info {
	background: #121D56;
	color: #FFF;
	text-align: center;
	border: 1px solid #CCC;
	margin: 2em 0 0 0;
	}
.open-house-info .inside {
	border: 3px solid #FFF;
	padding: 10px;
	}
.open-house-info h3 {
	text-transform: uppercase;
	letter-spacing: .2em;
	}
.open-house-info h4 {
	font-family: Georgia, serif;
	font-style: italic;
	font-size: 1.1em;
	margin-bottom: .5em;
	}
.open-house-info .ec3_schedule {
	margin: .5em 0 1.5em 0;
	font-size: .85em;
	}

.open-house-arrow {
	display: block;
	text-indent: -9999px;
	background: url(/media/images/flags/open-house-arrow.gif) center center no-repeat;
	width: 100px;
	height: 20px;
	}

.ui-tabs-hide { display: none; }

#mls_search_button {width:282px; height:44px}

#ie-sucks {display:none}