/*
Theme Name: John S. James Co. White
Theme URI: http://johnsjames.com/jsjnew/themes/johnsjameswhite
Author: John S James Co.
Author URI: http://johnsjames.com/
Description: The 2012 John S James Co. White Theme
Version: 1.0
*/

/* =Reset default browser CSS. Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */

@import url("css/normalize.css");

@import url("fonts/stylesheet.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, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	border: 0;
    font-family: 'Trebuchet MS',Arial,Helvetica,sans-serif;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}

h1, h2, h3, h4, h5, h6 {
	font-weight: bold;
}
:focus {
	outline: none;
}

#wpstats, .skip-link, .assistive-text {
	display:none;
}
html body {
	background: url("images/bg.png") repeat-x scroll left top #b9b8bb;
}
html body #page {
	box-shadow: 0 5px 10px #000000;
    width: 924px;
	margin: 0px auto;
	background: #fff;
	padding: 0px;
	clear: both;
	display: block;
}

/* navigation */

#page > #branding, #page > #access, #page > #main, #page > #colophon {
	margin-bottom: 0px;
	float: left;
	display: block;
	width: 100%;
}

#page > #access, #page > #access .menu-main-container {
	display: block;
	width: 100%;
	float: left;
}

#page > #colophon {
    background: none repeat scroll 0 0 #602322;
    border-bottom: 7px solid #B7B7B7;
    border-top: 7px solid #B7B7B7;
}
#page > #colophon .aside:first-child {
	width: 595px;
}

#page > #colophon .aside {
	margin: 10px 22px;
	float: left;
	display: block; 
	height: 93px;
}
#page > #colophon .aside h3.widget-title {
	color: #fff;
}

#page > #access .menu-main-container > ul {
	
	background: none repeat scroll 0 0 #602322;
    border-bottom: 7px solid #B7B7B7;
    border-top: 7px solid #B7B7B7;
    display: block;
    list-style: none outside none;
	height: 32px;
	float: left;
	width: 100%;
	
}
#page > #access div > ul > li {
    display: inline-block;
    float: left;
    padding: 5px 0;
    text-align: center;
    width: 13.9%;
	background:#602322;
}
#page > #access div > ul > li#searchli {
	padding:0;
	width:auto;
}
#page > #access div > ul > li#searchli:hover {
	background:#602322;
}

#page > #access div > ul li a {
	color: #FFFFFF;
	font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif;
	font-size: 16px;
	text-decoration: none;
}
#page > #access div > ul > li:hover {
	background:#361e1e;
}

#page > #access div > ul li a:hover, 
#page > #access div > ul > .current-page-ancestor a, 
#page > #access div > ul > .current-menu-item a {
	color: #FFF;
}

#page > #access div ul .sub-menu {
	display: none;
	position: absolute;
	z-index: 100;
    border-bottom: none;
    border-top: none;
    list-style: none;
	clear:left;
	height: auto;
	min-width: 190px;
	padding: 0px;
	border: none;
	margin-top: 5px;
	margin-left: -17px;
	box-shadow: 0 5px 8px #000;
    
}
#page > #access div ul .sub-menu li {
	display: block;
    background: none repeat scroll 0 0 #FFFFFF;
	clear: left;
	padding: 5px 10px;
}
#page > #access div ul .sub-menu li:hover, #page > #access div ul .sub-menu li.current-menu-item {
    background: none repeat scroll 0 0 #d9d9d9;	
}

#page > #access div ul li:hover > .sub-menu {
	display: block;
}
#page > #access div ul .sub-menu li a {
	color: #313131;
    display: block;
    width: 100%;
	font-size: 90%;
}

/* Layout */

#page #content .entry-content h2 {
	background: #602322;
	padding: 5px 10px;
	text-align: center;
	color: #FFF;
	font-weight: bold;
	font-size: 90%;
	margin-bottom: 15px;
}

#page > #branding:first-child hgroup {
	box-shadow: inset 0 0 5px #363636;
}
#page #main #primary, #page #main #secondary {
	padding: 10px 20px;
	background:#FFF;
}

#page #secondary {
    display: block;
    float: left;
	width: 161px;
}

#page #main #sidebar {
	width: 195px;
	float: left;
	display: block;
}
#page #main #primary {
	width: 683px;
	float: left;
	display: block;
	background:url('images/backgroundmap.jpg');
	background-repeat: repeat-y;
	min-height: 566px;
}
#twitter-content ul {
	list-style: none;
}

#twitter-content ul li .innerpadding .my-tweets {
	margin: 0 0 10px;
	padding:10px;
	background-color:#CCC;
	border-radius: 8px;
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
	box-shadow: inset 0 0 8px #888;
	-moz-box-shadow: inset -3px -3px 5px #888;
	-webkit-box-shadow: inset -3px -3px 5px #888;
	max-height: 296px;
	overflow: hidden;
}

#page #main #secondary #rss-2  {
	margin: 0 0 10px;
	padding:10px;
	background-color:#CCC;
	border-radius: 8px;
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
	box-shadow: inset 0 0 8px #888;
	-moz-box-shadow: inset -3px -3px 5px #888;
	-webkit-box-shadow: inset -3px -3px 5px #888;
	overflow: hidden;
}

#twitter-content ul li .innerpadding .my-tweets .myinfo {
	background-color: #ffffff;
	padding: 4px;
	border-radius: 5px;
	margin-bottom: 3px;
}
#page #main #secondary #rss-2 ul li {
	background-color: #ffffff;
	padding: 4px;
	border-radius: 5px;
	margin-bottom: 13px;
	font-size: 10px;
	display: block;
    float: left;
}
#page #main #secondary #rss-2 ul li span.rss-date, #page #main #secondary #rss-2 ul li cite, #page #main #secondary #rss-2 ul li a {
	display:block;
	float:left;
}
#twitter-content ul li .innerpadding .my-tweets .innertweets {
    display: block;
    position: relative;
    top: 0px;
    z-index: 98;
}

#page #main #secondary #rss-2 ul {
    list-style: none;
	display: block;
    position: relative;
    top: 0px;
    z-index: 98;
}

#twitter-content ul li .innerpadding .my-tweets .nav {
	display: block;
	width: 161px;
	height: 55px;
	margin: -10px;
	border-radius: 8px;
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
	background:url('images/navarrowdown.png') no-repeat;
    width: 161px;
    z-index: 99;
    margin: -262px -10px -10px;
	position: absolute;
	cursor: pointer;
}

#twitter-content ul li .innerpadding .my-tweets .tweets {
    margin-bottom: 10px;
    position: relative;
    z-index: 98;
}
.my-tweets h3 {
    position: relative;
    z-index: 99;
	font-size: 12px;
	margin-bottom: -11px;
	margin-top: -10px;
	margin-left: -10px;
	margin-right: -10px;
	padding-left: 10px;
	padding-top: 10px;
	background: url("images/twittertop.png") no-repeat scroll 0 0 transparent;
	height: 38px;
}
#page #main #secondary #rss-2 h3.widget-title  {
    position: relative;
    z-index: 99;
	font-size: 12px;
	margin-bottom: -11px;
	margin-top: -10px;
	margin-left: -10px;
	margin-right: -10px;
	padding-left: 10px;
	padding-top: 10px;
	background: url("images/twittertop.png") no-repeat scroll 0 0 transparent;
	height: 38px;
}
#page #main #secondary #rss-2 h3.widget-title a.rsswidget {
	color: #000;
	text-decoration:none;
}

#page #main #secondary #rss-2 h3.widget-title a.rsswidget:first-child {
	display:none;
}

.home #content .information {
	position:relative;
	z-index:80;
	margin-top:-390px;
	height:334px;
	width:334px;
	float:right;
	padding: 28px;
	background: rgba(255,255,255,0.85);
	overflow:hidden;
}
.home #content .information p, article > p, article > div {
	padding: 15px;
	text-align:justify;
}
#page > #branding .hgroup {
	width: 100%;
	height: 164px;
	background:url('images/slide1.jpg') no-repeat;
	float: left;
}

#page #main #content div .entry-content img.alignleft {
	float: left;
	margin-right: 15px;
}

#page #main #content div .entry-content img.alignright {
	float: right;
	margin-left: 15px;
}

#page #main #content div .entry-content img.alignleft, #page #main #content div .entry-content img.alignright {
	margin-bottom: 10px;
	box-shadow: 3px 3px 5px #000;
	-moz-box-shadow: 3px 3px 5px #000;
	-webkit-box-shadow: 3px 3px 5px #000;
}
#page #main #content div .entry-content img.alignleft.noshadow, #page #main #content div .entry-content img.alignright.noshadow {
	box-shadow: none;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;

}
#page > #branding:first-child h1 {
	width: 100%;
	height: 164px;
	background:url('images/banner-1024.png') no-repeat transparent;
	float: left;
}
#page > #branding:first-child h1#site-title span a {
	font-size: 1px;
	color: transparent;
	display:block;
	height: 100%;
}
#page > #branding:first-child h2#site-description {
	display:none;
}
#page #branding #access {
	position: relative;
	top: 0px;
}

#page > footer {
	background:#363636;
	color: #FFF;
	padding-top: 16px;
}
#page > footer a {
	color: #FFF;
	text-decoration:none;
	font-size: 12px;
}
/* common styles */
p {
	font-size: 14px;
	padding-bottom: 10px;
}
a:active, a:link, a:visited {
    color: #6e0d00;
}
/* seach form */
#searchform:first-child {
    float: right;
    margin-right: 2px;
    margin-top: 4px;
}
#searchform #s {
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
    border: 2px solid #602322;
    font-size: 10px;
    padding: 3px 6px 3px;
    width: 133px;
}
#searchform input#searchsubmit.submit {
	display: none;
}
.entry-content > table {
	width: 47.9%;
	margin-right: 10px;
}
table td {
	border: 1px solid #000;
	padding: 3px 6px;
	font-size:12px;
}
table td table td{
	border: none;
	padding: 1px 2px;
}
#content tr.type-reply {
	padding-left: 80px;
}

.fb_iframe_widget {
	background: url(http://johnsjames.com/jsjnew/wp-content/themes/johnsjames/images/widget3.png); 
	background-position: initial initial;
	background-repeat: initial initial;
	margin-top: 0px;
	float: left;
	margin-right: 0px;
}

#page #secondary.widget-area aside#text-5.widget {
	background: url(http://johnsjames.com/jsjnew/wp-content/themes/johnsjames/images/widget2.png); 
	background-position: initial initial; 
	background-repeat: initial initial;
	padding: 10px;
	float: left;
	width: 326px;
	height: 253px;
}
#page #secondary.widget-area aside#text-5.widget div {
		padding-top: 10px;
		text-align: center;
}
#page #secondary.widget-area aside#text-5.widget div a img {
	box-shadow: 0px 2px 5px #000;
}

.widget_featured_post_widget .headline, .widget_featured_post_widget .thedate  {
	display: none;
}
.home .slideshow p img.attachment-full, .home .slideshow p, .home .slideshow {
	width: 1024px;
	height: 390px;
}
.smallfb { display:none; } 
.smallfb .fb-like-box { background:none;  margin-left: 80px; margin-right: auto; }

#page #colophon .textwidget a {
	height: 67px;
	display: block;
	float: left;
	margin: auto 10px;
}

#page #colophon #site-generator {
	display: block;
	float: left;
	margin: 10px 22px;
}

#page #colophon #site-generator a {
	color: #FFF;
	font-size: 10px;
	text-decoration: none;
}

#page #colophon .whiteback {
	/* width: auto; */
}
#page #colophon .whiteback img {
	background: #fff;
	box-shadow: 1px 1px 5px #000;
}
.search #page strong.search-excerpt {
	background-color:#FFC;
	font-weight: bold;
}

#main #primary #content div .entry-content p {
	text-align: justify;
}

#primary #content div .header h1.entry-title a {
	text-decoration:none;
	color: #000;
	font-size: 18px;
}
#primary #content div .header h1.entry-title {
	margin: 10px 0;
}