/*
Theme Name: James Sexton

Author: the SplitMango team
Version: 1.0

*/


/* =Reset default browser CSS. 
-------------------------------------------------------------- */

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 {
	background: transparent;
	border: 0;
	margin: 0;
	padding: 0;
	vertical-align: bottom;
}
body {
	line-height: normal;
	font-family: Helvetica, Arial, sans-serif;
	background: url(images/grad.jpg) repeat-x #1e1e1e;
	color: #fff;
}
h1, h2, h3, h4, h5, h6 {
	font-weight: normal;
}
ol, ul {
	list-style: none;
	color: #cdcdcd;
}
blockquote {
	quotes: none;
}
blockquote:before, blockquote:after {
	content: '';
	content: none;
}
del {
	text-decoration: line-through;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: collapse;
	border-spacing: 0;
	border: 1px solid #cecece;
}
a img {
	border: none;
}

a {
	outline: none;
	text-decoration: none;
	color: #c1ba79;
}

a:hover {
	color: #8d8649;
}

p {
	color: #f6f6f6;
	font-size: 13px;
	margin-bottom: 20px;
	line-height: 18px;
}

.cufon-loading {
	visibility: hidden;
}

.clear {
	clear: both;
}

/* =Layout
-------------------------------------------------------------- */

.inner-container {
	width: 960px;
	margin: 0 auto;
}

#container_outer {
	background: url(images/bars.png) repeat center top;
}

h1 {
	font-size: 26px;
	margin-bottom: 20px;
}

h2 {
	font-size: 22px;
	margin-bottom: 10px;
}

h3 {
	font-size: 18px;
	margin-bottom: 10px;
}

h4 {
	font-size: 14px;
	margin-bottom: 10px;
}

#content_outer {
	padding: 0 0 50px 0;
}

#content_body {
	width: 560px;
	float: left;
	background: #202020;
	padding: 25px;
	min-height: 500px;
}




/* Header
-------------------------------------------------------------- */

#header_outer {
	position: relative;
	width: 1075px;
	margin: 0 auto;
}

#header_inner {
	height: 190px;
	padding-top: 40px;
	position: relative;
}
#logo {
	float: left;
	margin-left: 250px;
}

#social {
	float: right;
}

#social li {
	margin-bottom: 10px;
	text-align: right;
}

#social li img {
	margin-left: 10px;
}

#home-banner {
	background: url(images/home-banner.png) no-repeat right top;
	width: 990px;
	height: 260px;
	margin: 0 auto;
	position: relative;
}

#home-banner img {
	margin-left: 265px;
	margin-top: 2px;
}

#other-banner {
	background: url(images/other-banner.png) no-repeat right top;
	width: 990px;
	height: 180px;
	margin: 0 auto;
	position: relative;
}

#other-banner img {
	margin-left: 18px;
	margin-top: 2px;
}

.james {
	position: absolute;
	top: 20px;
	left: -5px;
}

.james-small {
	width: 294px;
	position: absolute;
	top: 32px;
	left: 70px;
}


/* Menu
-------------------------------------------------------------- */

#nav {
	right: 0;
	width: 700px;
	bottom: 0;
	position: absolute;
	z-index: 100;
}

#menu-main {
	float: right;
}

#menu-main li{
	float: left;
	margin-left: 8px;
	position: relative;
}

#menu-main a{
	font-size: 17px;
	color: #fff;
}

#nav .menu-header,
div.menu {
	font-size: 13px;
	margin-left: 12px;
	width: 928px;
}
#nav .menu-header ul,
div.menu ul {
	list-style: none;
	margin: 0;
}
#nav .menu-header li,
div.menu li {
	float: left;
	position: relative;
}
#nav a {
	display: block;
	line-height: 35px;
	padding: 0 10px;
	text-decoration: none;
}
#nav ul ul {
	box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
	-moz-box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
	-webkit-box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
	display: none;
	position: absolute;
	top: 35px;
	left: 0;
	float: left;
	width: 180px;
	z-index: 99999;
	border: 2px solid #cecece;
	
}
#nav ul ul li {
	min-width: 180px;
	margin-left: 0;
}
#nav ul ul ul {
	left: 100%;
	top: 0;
}
#nav ul ul a {
	background: #333;
	line-height: 1em;
	padding: 10px;
	width: 160px;
	height: auto;
	font-size: 15px;
	background: url(images/dropdown.png) repeat;
}
#nav li:hover > a,
#nav ul ul :hover > a {
	color: #fff;
	background: #282828;
}
#nav ul li:hover > ul {
	display: block;
}
#nav ul li.current_page_item > a,
#nav ul li.current-menu-ancestor > a,
#nav ul li.current-menu-item > a,
#nav ul li.current-menu-parent > a,
#nav ul li.current_page_parent > a {
	background: #282828;
	color: #fff;
}
* html #nav ul li.current_page_item a,
* html #nav ul li.current-menu-ancestor a,
* html #nav ul li.current-menu-item a,
* html #nav ul li.current-menu-parent a,
* html #nav ul li a:hover {
	color: #fff;
}

/* Sidebar
-------------------------------------------------------------- */

#sidebar {
	width: 315px;
	float: right;
}

#sidebar h3 {
	font-size: 24px;
}

#sidebar h4 {
	font-size: 14px;
}

#sidebar .entry-date {
	font-size: 12px;
	margin-bottom: 15px;
	display: block;
}

.side-tile {
	margin-bottom: 30px;
}

.recent-blog {
	margin-top: 20px;
}

.blog-excerpt {
	padding-left: 35px;
	background: url(images/bubble.png) left top no-repeat;
}

img.attachment-sidebar-featured {
	border: 2px solid #fff;
	margin-bottom: 15px;
}

.gray-box {
	background: url(images/tiles.jpg) repeat;
	width: 311px;
	border: 2px solid #e2e2e2;
	padding: 20px 0 0 0;
}

.shadow {
	background: url(images/shadow.png) center top;
	width: 311px;
	height: 16px;
}

.talks,
.cat-item {
	margin-bottom: 20px;
	padding: 0 10px 0 15px;
}

.speech-date, 
.speech-title {
	float: left;
}

.speech-date {
	width: 100px;
	font-size: 16px;
}

.speech-title {
	margin-left: 10px;
	width: 150px;
	background: url(images/more.png) no-repeat right bottom;
	padding-right: 15px;
}

.side-divider {
	background:url(images/side-divider.png) no-repeat;
	width: 310px;
	height: 3px;
}

ul.archives {
	padding: 30px 0 15px 0;
	text-align: center;
}

ul.archives li {
	margin-bottom: 15px;
}


/* Blog
-------------------------------------------------------------- */


.blog #content_body,
.archive #content_body,
.author #content_body,
.category #content_body,
.search #content_body {
	padding: 0;
	background: none;
	width: 600px;
}
.blog-featured {
	width: 545px;
	background: url(images/default-blog.jpg) no-repeat;
}

.blog-info {
	width: 545px;
	margin-top: 15px;
}

.blog-info p {
	padding-bottom: 15px;
}

.blog .post,
.archive .post,
.author .post,
.category .post,
.search .post{
	padding: 25px;
	border: 1px solid #f9f9f9;
	margin-bottom: 25px;
	background: #202020;
	position: relative;
}

.blog-info h2 {
	margin-bottom: 0;
}

.blog-info h2.entry-title a{
	text-transform: capitalize;
}

.entry-meta,
.entry-utility {
	font-size: 16px;
	margin-bottom: 20px;
}

.entry-utility {
	font-size: 12px;
}

.entry-meta a span{
	color: #000;
}


#nav-below {
	margin-top: 20px;
}

.read-more {
	background: url(images/read-more.png) no-repeat;
	width: 78px;
	height: 24px;
	display: block;
	margin-top: 10px;
}

.nav-previous {
	float: left;
}

.nav-next {
	float: right;
}

.single #content_body {
	border: 1px solid #f9f9f9;
}

.fb-like {
	margin-bottom: 20px;
}


/* Images
-------------------------------------------------------------- */

/*
Resize images to fit the main content area.
- Applies only to images uploaded via WordPress by targeting size-* classes.
- Other images will be left alone. Use "size-auto" class to apply to other images.
*/
img.size-auto,
img.size-full,
img.size-large,
img.size-medium,
.attachment img {
	max-width: 100%; /* When images are too wide for containing element, force them to fit. */
	height: auto; /* Override height to match resized width for correct aspect ratio. */
}
.alignleft,
img.alignleft {
	display: inline;
	float: left;
	margin-right: 24px;
	margin-top: 4px;
}
.alignright,
img.alignright {
	display: inline;
	float: right;
	margin-left: 24px;
	margin-top: 4px;
}
.aligncenter,
img.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}
img.alignleft,
img.alignright,
img.aligncenter {
	margin-bottom: 12px;
}
.wp-caption {
	background: #f1f1f1;
	line-height: 18px;
	margin-bottom: 20px;
	max-width: 632px !important; /* prevent too-wide images from breaking layout */
	padding: 4px;
	text-align: center;
}
.wp-caption img {
	margin: 5px 5px 0;
}
.wp-caption p.wp-caption-text {
	color: #888;
	font-size: 12px;
	margin: 5px;
}
.wp-smiley {
	margin: 0;
}
.gallery {
	margin: 0 auto 18px;
}
.gallery .gallery-item {
	float: left;
	margin-top: 0;
	text-align: center;
	width: 33%;
}
.gallery-columns-2 .gallery-item {
	width: 50%;
}
.gallery-columns-4 .gallery-item {
	width: 25%;
}
.gallery img {
	border: 2px solid #cfcfcf;
}
.gallery-columns-2 .attachment-medium {
	max-width: 92%;
	height: auto;
}
.gallery-columns-4 .attachment-thumbnail {
	max-width: 84%;
	height: auto;
}
.gallery .gallery-caption {
	color: #888;
	font-size: 12px;
	margin: 0 0 12px;
}
.gallery dl {
	margin: 0;
}
.gallery img {
	border: 10px solid #f1f1f1;
}
.gallery br+br {
	display: none;
}
#content .attachment img {/* single attachment images should be centered */
	display: block;
	margin: 0 auto;
}




/* =Comments
-------------------------------------------------------------- */
#comments {
	clear: both;
	margin-top: 20px;
}
#comments .navigation {
	padding: 0 0 18px 0;
}
h3#comments-title,
h3#reply-title {
	color: #fff;
	font-size: 15px;
	font-weight: bold;
	margin-bottom: 0;
}
h3#comments-title {
	padding: 24px 0;
}
.commentlist {
	list-style: none;
	margin: 0;
	background: url(images/side-divider.png) repeat-x center bottom;
}
.commentlist li.comment {
	border-bottom: 1px solid #e7e7e7;
	line-height: 24px;
	margin: 0 0 24px 0;
	padding: 0 0 0 56px;
	position: relative;
}
.commentlist li:last-child {
	border-bottom: none;
	margin-bottom: 0;
}
#comments .comment-body ul,
#comments .comment-body ol {
	margin-bottom: 18px;
}
#comments .comment-body p:last-child {
	margin-bottom: 6px;
}
#comments .comment-body blockquote p:last-child {
	margin-bottom: 24px;
}
.commentlist ol {
	list-style: decimal;
}
.commentlist .avatar {
	position: absolute;
	top: 4px;
	left: 0;
}
.comment-author {
}
.comment-author cite {
	font-style: normal;
	font-weight: bold;
}
.comment-author .says {
	font-style: italic;
}
.comment-meta {
	font-size: 12px;
	margin: 0 0 18px 0;
}
.comment-meta a:link,
.comment-meta a:visited {
	color: #888;
	text-decoration: none;
}
.comment-meta a:active,
.comment-meta a:hover {
	color: #ff4b33;
}
.commentlist .even {
}
.commentlist .bypostauthor {
}
.reply {
	font-size: 12px;
	padding: 0 0 24px 0;
}
.reply a,
a.comment-edit-link {
	color: #888;
}
.reply a:hover,
a.comment-edit-link:hover {
	color: #ff4b33;
}
.commentlist .children {
	list-style: none;
	margin: 0;
}
.commentlist .children li {
	border: none;
	margin: 0;
}
.nopassword,
.nocomments {
	display: none;
}
#comments .pingback {
	border-bottom: 1px solid #e7e7e7;
	margin-bottom: 18px;
	padding-bottom: 18px;
}
.commentlist li.comment+li.pingback {
	margin-top: -6px;
}
#comments .pingback p {
	color: #888;
	display: block;
	font-size: 12px;
	line-height: 18px;
	margin: 0;
}
#comments .pingback .url {
	font-size: 13px;
	font-style: italic;
}

/* Comments form */
input[type=submit] {
	color: #333;
}
#respond {
	margin-top: 20px;
	background: url(images/tiles.jpg) repeat;
	padding: 20px;
	border: 2px solid #e2e2e2;
	box-shadow: 0px 3px 3px #000;
	-moz-box-shadow: 0px 3px 3px #000;
	-webkit-box-shadow: 0px 3px 3px #000;
}
#respond input,
#respond textarea,
.wpcf7-form input,
.wpcf7-form textarea{
	padding: 3px;
	border: 1px solid #cecece;
	margin-bottom: 15px;
	font-size: 12px;
}

#reply-title {
	margin-bottom: 20px !important;
}

#respond #submit,
#footer-contact .wpcf7-form .wpcf7-submit {
	display: block;
	border: none;
	text-indent: -1000em;
	font-size: 0;
	width: 45px;
	height: 21px;	
	cursor: pointer;
	float: right;
	clear: both;
}

#respond #submit {
	background: url(images/send-btn.png) 0 0 no-repeat;
}

#footer-contact .wpcf7-form .wpcf7-submit {
	background: url(images/send-btn.png) 0 0 no-repeat;
	
}

/* Footer
-------------------------------------------------------------- */

#footer_outer {
	background: #191919;
	border-top: 2px solid #797979
}

#footer_inner {
	min-height: 200px;
	padding-top: 30px;
	padding-bottom: 30px;
}

#footer_inner h4 {
	margin-bottom: 30px;
}

/* tweets */
#footer-tweets {
	background: url(images/footer-divider.png) center right repeat-y;
	width: 370px;
	float: left;
	padding-left: 30px;
	position: relative;
}

.home #footer-tweets {
	padding-left: 0;
}

ul.social-tabs li {
	display: inline;
	padding-right: 25px;
	font-size: 16px;
}
ul.social-tabs li.t-tab a { color: #00A5B8; }
ul.social-tabs li.f-tab a { color: #0068A3; }
ul.social-tabs li.t-tab a.current h4 { text-decoration: underline; }
div.social-widgets { display:none; }
div.social-widgets.currentTab { display:block; }

/* footer contact */

#footer_inner {
	padding-bottom: 50px;
}

#footer-contact, 
#footer-links {
	width: 280px;
	padding: 0 30px 0 30px;
	float: left;
	background: url(images/footer-divider.png) center right repeat-y;
	min-height: 230px;
}

#footer-links {
	padding-right: 0;
	font-size: 13px;
}

#footer-links ul li {
	margin-bottom: 5px;
}

#footer-contact .wpcf7-form input,
#footer-contact .wpcf7-form textarea {
	width: 200px;
	background: #8c8c8c;
	border: 1px solid #888;
}

#footer-contact .wpcf7 label {
	width: 60px;
	display: inline-block;
	font-size: 12px;
	color: #555;
	vertical-align: top;
}

#footer-contact .wpcf7 span {
	height: 30px;
}

#remax-box {
	float: left;
	width: 200px;
	padding-left: 30px;
	background:url(images/remax-box.jpg) no-repeat bottom right;
	height: 200px;
	font-size: 12px;
	line-height: 16px;
}

/* footer menu */

.copyright {
	font-size: 11px;
	margin-top: 25px;
	text-align: right;
}

.footer-menu {
	float: left;
	width: 230px;
	margin-right: 20px;
}

.footer-menu ul {
	height: 160px;
}

.footer-menu ul li{
	float: left;
	width: 220px;
}

.footer-menu h4{
	font-size: 16px;
	margin-bottom: 15px;
	color: #005665;
	text-transform: uppercase;
}

.footer-menu a{
	font-size: 12px;
}

#footer-links .widgettitle {
	display: none;
}


/* Contact 7
-------------------------------------------------------------- */

div.wpcf7-mail-sent-ok {
	border: 1px solid #0093ad !important;
}

div.wpcf7-validation-errors {
	border: 1px solid #ff0000 !important;
}

.contact label {
	display: block;
	margin-bottom: 10px;
}

.contact .wpcf7-text,
.contact textarea {
	font-size: 16px;
}

.contact .wpcf7-submit {
	background:url(images/submit-btn.png) no-repeat;
	width: 87px;
	height: 32px;
	border: none;
	text-indent: -1000em;
	font-size: 0;
	cursor: pointer;
}

.wpcf7-response-output {
	font-size: 13px !important;
	font-style: italic !important;
}

span.wpcf7-not-valid-tip {
	color: #333 !important;
}


/* Listings
-------------------------------------------------------------- */

.properties {
	background: #202020;
	width: 270px;
	height: 210px;
	float: left;
	border: 2px solid #E2E2E2;
	padding: 15px;
	margin-right: 24px;
	margin-bottom: 24px;
}
.properties.last {
	margin-right: 0;
}
.properties img {
	width: 170px;
	height: auto;
}
.properties .entry-summary p {
	line-height: 13px;
}
.properties .price {
	font-size: 18px;
}
.properties .bed, .properties .bath {
	font-size: 14px;
}
.properties .entry-title {
	text-align: center;
	font-size: 16px;
	min-height: 40px;
}
.properties .featured-image {
	float: left;
	margin-right: 15px;
	margin-bottom: 15px;
}
.properties p {
	margin-bottom: 0;
}
.properties .entry-content li, .properties .entry-content p {
	font-size: 11px;
	line-height: 13px;
	color: #fff;
}
#twitter-widget-0 {min-height:230px;}