/*
Theme Name: John Bagnulo theme
Theme URI: http://bavotasan.com/
Description: A fully customizable theme developed for Robert Morrison. Designed by <a href="http://bavotasan.com">c.bavota</a>.
Version: 1.0
Author: c.bavota
Author URI: http://bavotasan.com/
Tags: right-sidebar,left-sidebar,fixed-width,three-columns,two-columns,white,custom-header,theme-options

	The CSS, XHTML and design is released under GPL:
	http://www.opensource.org/licenses/gpl-license.php

*/

/* Basic Tag Elements */

a {
	text-decoration: none;
	outline: none;
	color: #880000;
	}
	
	a:hover {
		text-decoration: underline;
		}
	
img { 
	border: 0;
	}

body {
	color: #000;
 	margin: 0 auto; 
	font-size: 13px; 
	line-height: 24px;
	padding: 0; 
	font-family: "Times New Roman", Times, serif;
	background: #E2DBB4;
	}

h1 a, h2 a, h3 a, h4 a, h5 a {
	color: #222;
	}
	
h1, h2, h3, h4, h5, h6 {
	font-family: "Times New Roman", Times, serif;
	color: #800000;
	}
	
table.services {
	margin: auto;
	}	
	
	table.services td {
		padding: 0 10px;
		}

/* Header Elements */

#header{
	float: left;
	width: 100%;
	}

#title {
	font-size: 14px;
	margin: 20px 0 0 34px;
	padding: 0;
	line-height: 22px;
	float: left;
	}
	
	#title img {
		float: left;
		}		
	
	#title h1 {
		font-size: 24px;
		margin: 40px 0 0;
		}
		
#description {
	clear: left;
	float: left;
	font-size: 16px;
	color: #24784a;
	}
	
#navigation {
	clear: left;
	float: left;
	width: 100%;
 	z-index: 100;
 	position: relative;
	}

#navigation ul * {
	margin:0; 
	padding:0
	}

	#navigation ul {
		padding: 0;
		margin: 0;
		}
	
	#navigation ul li {
		position:relative;
		font-family: Verdana, Arial, Helvetica, sans-serif;
		list-style-type: none;
		float: left;
		font-size: 12px;
		line-height: 24px;
		padding: 0;
		margin: 0;
		position: relative;
		}
	
	#navigation ul a {
		display: block;
		font-weight: bold;
		padding: 0 30px 0 0;
		}
		
		#navigation ul a:hover {
			text-decoration: underline;
			}
#navigation ul li:hover ul { display: block; z-index: 1000;}	
#navigation ul li:hover ul ul { display: none; }	
#navigation ul ul { position:absolute; top:24px; left:0; background:#f2f2f2; display:none; list-style:none;}
#navigation ul ul li {position:relative; border:1px solid #aaa; width:159px; margin:0; }
#navigation ul ul li a {display:block; padding:0 7px 0 12px; color: #555; background-color:#f2f2f2; border-right: 0; font-size: 12px; }
#navigation ul ul li a:hover {background-color:#eee}
#navigation ul ul li:hover ul { display: block; }
#navigation ul ul ul { left:159px; top:-1px; display: none; }
								
#sub-navigation {
	float: right;
	width: 60%;
	margin-top: 40px;
 	z-index: 50;
 	position: relative;
	font-family: "Times New Roman", Times, serif;
	}
	
	#sub-navigation ul {
		float: right;
		padding: 0 0 0 5px;
		margin: 0;
		}
	
	#sub-navigation li {
		list-style-type: none;
		float: left;
		font-size: 12px;
		padding: 0 0 0 10px;
		text-transform: uppercase;
		margin: 0;
		line-height: 22px;
		position: relative;
		}
		
	#sub-navigation a {
		color: #000;
		padding: 5px 0 0;
		margin: 0 5px;
		border-top: 2px solid #E2DBB4;
		}
		
		#sub-navigation a:hover, #sub-navigation .current_page_item a {
			border-top: 2px solid #880000;
			color: #880000;
			text-decoration: none;
			}
			
#sub-navigation ul li:hover ul { display: block; }	
#sub-navigation ul li:hover ul ul { display: none; }	
#sub-navigation ul ul { position:absolute; top:22px; left:0; display:none; list-style:none; margin:0;padding:0; border-top: 1px solid #000;}
#sub-navigation ul ul li {position:relative; border:1px solid #aaa; border-top: 0;width:159px; margin:0; padding: 0; background: none;}
#sub-navigation ul ul li a {display:block; padding:0 7px 0 12px; color: #555; border-right: 0; font-size: 12px; }
#sub-navigation ul ul li a:hover {background-color:#eee}
#sub-navigation ul ul li:hover ul { display: block; }
#sub-navigation ul ul ul { left:159px; top:-1px; display: none; }	

/* Main Elements */
	
#mainwrapper {
	float: left;
	width: 100%;
	padding: 20px 0 10px 0;
	margin: 0;
	}

.library {
	width: 475px;
	float: left;
	}
	
	.library a {
		color: #880000;
		}
		
	.library a:hover {
		color: #880000;
		}

#sidebar {
	float: right;
	margin: 23px 0 0;
	padding: 0;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	}
		
	#sidebar a {
		color: #880000;
		font-weight: bold;
		}	
		
	#sidebar a:hover {
		color: #880000;
		text-decoration: none;
		}	
		
.side-widget {
	float: left;
	margin: 0 0 10px;
	padding: 0 10px 15px;
	background: #eee;
	}
	
	.side-widget ul {
		padding: 0;
		margin: 0;
		list-style-type: none;
		}

	.side-widget ul li {
		padding: 0;
		margin: 0;
		font-size: 13px;
		}
		
	.side-widget ul li {
		padding-left: 15px;
		margin: 2px 0;
		}
	
	.side-widget h2 {
		font-size: 14px;
		border-bottom: 1px solid #ddd;
		padding: 10px 0 5px;
		margin-top: 0;
		text-align: center;
		text-transform: uppercase;
		}
		
	.side-widget .storycontent {
		border-bottom: 1px solid #ddd;
		}
		
	.side-widget .noline {
		border-bottom: 0;
		}		

.catposts {
	float: left;
	margin-right: 2%;
	}
	
	.catposts h4 {
		margin: 5px 0 20px;
		}

.posts {
	border-bottom: 1px solid #ccc;
	margin-bottom: 10px;
	float: left;
	}
	
	.posts h2 {
		margin: 10px 0 0;
		}
	
	.posts img {
		margin: 10px 10px 10px 0;
		float: left;
		}
		
#footer {
	clear: both;
	float: left;
	width: 100%;
	text-align: center;
	padding: 10px 0;
	margin-top: 10px;
	font-size: 14px;
	color: #880000;
	}
	
/* Main Slideshow */	
	
#mainslideshow {
	width: 800px;
	height: 475px;
	background: #880000;
	margin: 0 0 20px 0;
	}	
	
	#mainslideshow img {
		border: 1px solid #fff;
		margin: 36px 0 0 36px;
		float: left;
		}
		
	#mainslideshow p {
		width: 280px;
		color: #fff;
		float: right;
		margin: 36px;
		}
		
	

/* Left Content Elements */

#leftcontent {
	float: left;
	margin: 0;
	padding: 0;
	}

	#leftcontent h5 {
		font-family:Verdana, Arial, Helvetica, sans-serif;
		margin: 0;
		padding: 0;
		color: #cc0000;
		margin-bottom: 5px;
		font-size: 14px;
		}

	#leftcontent h1 {
		margin: 0;
		padding: 0;
		font-size: 24px;
		line-height: 26px;
		}

#leftcontent h1.catheader {
	margin-top: 3px;
	color: #cc0000;
	font-weight: normal;
	}
	
	#leftcontent .post h1, 
	#leftcontent .ind-post h1, 
	#leftcontent .twopost h1, 
	#leftcontent .threepost h1 {
		margin-top: 5px;
		font-size: 36px;
		font-family: Georgia, Times, serif;
		font-weight: normal;
		line-height: 38px;
		color: #222;
		}
		
	#leftcontent .twopost h1 {
		font-size: 26px;
		line-height: 28px;
		}
	
	#leftcontent .threepost h1 {
		font-size: 20px;
		line-height: 22px;
		}
	
	#leftcontent .postmetadata {
		clear: both;
		line-height: 14px;
		}
		
	#leftcontent .post .entry {
		font-size: 15px;
		line-height: 18px;
		}
		
	#leftcontent .date {
		margin-bottom: 5px;
		font-style: italic;
		color: #888;
		}
		
	#leftcontent .meta {
		font-family: Verdana, Arial, Helvetica, sans-serif;
		font-size: 11px;
		color: #444;
		}	
		
	#leftcontent .catdesc {
		background: #f7f7f7;
		border: 3px double #ddd;
		padding: 0 10px;
		color: #666;
		font-size: 13px;
		line-height: 15px;
		margin: 10px 0 20px;
		width: 94%;
		}
		
	.pages {
		font-family: Verdana, Arial, Helvetica, sans-serif;
		}
		
	.pages h1, .pages h2, .pages h3, .pages h4, .pages h5, .pages h6 {
		font-family: "Times New Roman", Times, serif;
		}

/* integral boxes */


.integral a {
	width: 160px;
	height: 90px;
	background: #591313;
	color: #fff;
	text-align: center;
	padding: 50px 10px 0;
	float: left;
	margin: 8px;
	font-size: 12px;
	font-family: Georgia, "Times New Roman", Times, serif;
	border: 1px solid #aaa;
	}
	
	.integral a span {
		font-size: 20px;
		}
		
	.integral a:hover {
		text-decoration: none;
		border: 1px solid #111;
		}	

.more-link {
	font-size: 11px;
	text-align: right;
	color: #cc0000;
	}

.tags a {
	color: #cc0000;
	}
	
.mainhr {
	float: left;
	background: #aaa;
	clear: both;
	width: 100%;
	height: 1px;
	border: 0;
}	
	
.threepost, .fourpost, .fivepost {
	float: left;
	margin-bottom: 2%;
	margin-top: 15px;
	}
	
	.threepost1 {
		margin-left: 4%;
		}

.fourpost {
	background: #999;
	width: 23.5%;
	height: 100px;
	text-align: center;
	padding: 10px 0;
	}
	
	.fourpost:hover {
		background: #666;
		}

	.threepost2 {
		margin: 15px 8% 0;
		}
		
	.fourpost2 {
		margin: 0 1% 0 2%;
		}
		
	.fourpost3 {
		margin: 0 2% 0 1%;
		}
		
	.fivepost2 {
		margin: 0 1% 0 2%;
		}
		
	.fivepost3 {
		margin: 0 1%;
		}	
		
	.fivepost4 {
		margin: 0 2% 0 1%;
		}		
		
	.threepost1, .fourpost1, .fivepost1 {
		clear: left;
		}
			
/* Other Elements */

.red, .entry a {
	color: #cc0000;
	}
	
#tagcloud {
	width: 400px;
	text-align: center;
	margin: auto;
	padding: 20px;
	}	
	
#tagcloud a {
	color: #cc0000;
	}

/* Comment Elements */

h3#comments {
	text-transform: none;
	padding-bottom: 5px;
	}

#postcomments {
	padding-top: 20px;
	}
			
			
	 h4#comments, #respond h3 { color:#333; font:normal 240% georgia,times,serif; margin:0 0 .1em; padding:0 0 .1em; }

	 #respond p { font-size:11px; margin:0 0 1em; }	

	 ol.commentlist { list-style:none; margin:0; padding:0; }

	 ol.commentlist li { border:1px solid #d5d5d5; border-radius:5px; -moz-border-radius:5px; -webkit-border-radius:5px; margin:0 0 10px; padding:5px 7px 5px 64px; position:relative; }

	 ol.commentlist li.pingback comment-author { padding:0 170px 0 0; }

	 ol.commentlist li div.vcard { font-weight:bold; font-size: 14px; line-height: 16px; font-family: helvetica,arial,sans-serif; }

	 ol.commentlist li div.vcard cite.fn { font-style:normal; font-size: 11px; }

	 ol.commentlist li div.vcard cite.fn a.url, .cancel-comment-reply a { color:#cc0000; text-decoration:none; }

	 ol.commentlist li div.vcard cite.fn a.url:hover, .cancel-comment-reply a:hover { color:#000; }

	 ol.commentlist li div.vcard img.avatar { background: #fff; border:1px solid #aaa; padding: 5px; left:7px; position:absolute; top:7px; }

	 ol.commentlist li div.comment-meta { font-weight:bold; font-size: 10px; line-height: 16px; font-family: helvetica,arial,sans-serif; position:absolute; right:10px; text-align:right; top:5px; }

	 ol.commentlist li div.comment-meta a { color:#205B87; text-decoration:none; }

	 ol.commentlist li p { font-weight:normal; font-size: 12px; line-height: 16px; font-family: helvetica,arial,sans-serif; margin:5px 0 12px; }

	 ol.commentlist li ul { font-weight:normal; font-size: 12px; line-height: 16px; font-family: helvetica,arial,sans-serif; list-style:square; margin:0 0 12px; padding:0; }

	 ol.commentlist li div.reply { background:#999; border:1px solid #666; border-radius:2px; -moz-border-radius:2px; -webkit-border-radius:2px; color:#fff; font:bold 9px/1 helvetica,arial,sans-serif; padding:6px 5px 4px;  text-align:center; width:36px; }

	 ol.commentlist li div.reply:hover { background:#cc0000; border:1px solid #cc0000; }

	 ol.commentlist li div.reply a { color:#fff; text-decoration:none; text-transform:uppercase; }

	 ol.commentlist li ul.children { list-style:none; margin:12px 0 0; text-indent:0; }

	 ol.commentlist li ul.children li.depth-2 { margin:0 0 3px; }

	 ol.commentlist li ul.children li.depth-3 { margin:0 0 3px; }

	 ol.commentlist li ul.children li.depth-4 { margin:0 0 3px; }

	 ol.commentlist li ul.children li.depth-5 { margin:0 0 3px; }

	 ol.commentlist ul.children li.odd { background:#fff; }

	 ol.commentlist ul.children li.even { background:#f6f6f6; }

	 ol.commentlist li.pingback div.vcard { padding:0 170px 0 0; }
			
.commentnumber {
		position: absolute;
		left: 7px;
		bottom: 3px;
		font-size: 14px;
		color: #ccc;
		}
		
.bigimage {
	width: 800px;
	height: 275px;
	background: #880000;
	}

.contact {
	width: 100%;
	margin-top: 10px;
	font-size: 12px;
	}
	
	.contact td {
		padding: 4px 5px;		
		}
	
	.contact input { 
		padding: 5px;
		}
		
	.contact .dr {
		padding: 5px;
		background: #fff;
		color: #000;
		border: 1px solid #aaa;
		margin-top: 20px;
		}
		
	.contact #submit {
		border: 1px solid #aaa;
		background: #880000;
		color: #fff;
		cursor: pointer;
		padding: 5px 10px;
		}

/* WordPress Required Elements */

.aligncenter,
div.aligncenter {
   display: block;
   margin: 5px auto;
}

.alignleft, div.alignleft {
   float: left;
   margin: 5px 15px 5px 0;
}

.alignright, div.alignright {
   float: right;
   margin: 5px 0 5px 15px;
}

.alignnone {
	margin: 5px 0;
	}

.wp-caption {
   text-align: center;
   background-color: #880000;
   padding: 15px 15px 30px 15px;
   margin: 0 11px !important;
}

.wp-caption img {
   margin: 0 0 15px;
   padding: 0;
   border: 0 none;
}

.wp-caption p.wp-caption-text {
   padding: 0 4px 5px;
   margin: 0;
   color: #fff;
}

#today {
	color: #cc0000;
	}

#wp-calendar {
	margin: auto;
	}
	
/* Tabs
----------------------------------*/
.ui-tabs { padding: 10px .2em 0; zoom: 1; }
.ui-tabs .ui-tabs-nav { list-style: none; position: relative; padding: 0; margin: 10px 0 0px; float: left;}
.ui-tabs .ui-tabs-nav li { position: relative; float: left; border-bottom-width: 0 !important; }
.ui-tabs .ui-tabs-nav li a { float: left; text-decoration: none; font-size: 14px; font-family: "Times New Roman", Times, serif; padding: 3px 177px; border-right: 1px solid #fff; background: #C8C2A0; }

.services .ui-tabs .ui-tabs-nav li a { padding: 3px 100px; }

.ui-tabs .ui-tabs-nav li.noline a { border: 0;}
.ui-tabs .ui-tabs-nav li a:hover { color: #880000; background: #A29D82; }
.ui-tabs .ui-tabs-nav li.ui-tabs-selected { padding-bottom: 1px; border-bottom-width: 0;}
.ui-tabs .ui-tabs-nav li.ui-tabs-selected a { color: #880000; background: #A29D82; }
.ui-tabs .ui-tabs-nav li.ui-tabs-selected a, .ui-tabs .ui-tabs-nav li.ui-state-disabled a, .ui-tabs .ui-tabs-nav li.ui-state-processing a { cursor: text; }
.ui-tabs .ui-tabs-nav li a, .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a { cursor: pointer; } /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */
.ui-tabs .ui-tabs-panel { margin-top: 20px; padding: 0; display: block; border-width: 0; background: none; clear: both; float: left; }
.ui-tabs .ui-tabs-hide { display: none !important; }

a.slidecontrol {
	color: #880000;
	font-weight: bold;
	font-size: 12px;
	}
	
	a:hover.slidecontrol {
		color: #880000;
		}
	
ul.refmat a {
	text-decoration: none;
	}
	
	ul.refmat a:hover {
		color: #880000;
		}
		
.vendortext p {
	clear: both;
	float: left;
	text-align: left;
	width: 98%;
	padding: 0 1% !important;
	margin: 15px 0 0;
	}
	
.vendor_box {
    padding: 1em 0 0;
	float: left;
	width: 100%;
	clear: both;
	border-top: 1px solid #D3CA9B;
	margin-top: 2em;
}

.vendor_title {
        clear: both;
        font-family: tahoma, verdana, sans-serif;
        font-variant: small-caps;
        font-size: 1.2em;
        letter-spacing: 0.1em;
        margin: .5em 0 1em .8em;
}

.slideshow_left, .image_left {
	display: block;
	width: 400px;
	float: left;
	}

.image_left {
	margin-left: 20px;
	height: 400px;
	}

.pane_right {
	position: relative;
	height: 396px;
	}

.vendor_box object {
        width: 450px;
        float: left;
}

.readmore {

	}

#content.static_page .vendor_box p {
        padding: 0;
        padding-left: 1em;
}

/* Calendar */

.calnk a:hover {
	 background-position:0 0;
	 text-decoration:none;  
	 color:#000000;
	 border-bottom:1px dotted #000000;
	 }
.calnk a:visited {
	 text-decoration:none;
	 color:#000000;
	 border-bottom:1px dotted #000000;
	}
.calnk a {
	text-decoration:none; 
	color:#000000; 
	border-bottom:1px dotted #000000;
	}
.calnk a span { 
	display:none; 
	}
.calnk a:hover span {
	color:#333333; 
	background:#F6F79B; 
	display:block;
	position:absolute; 
	margin-top:1px; 
	padding:5px; 
	width:150px; 
	z-index:100;
	}
 .calendar-table {
	border:none;
	width:100%;
 }
 .calendar-heading {
	height:25px;
	text-align:center;
	border:1px solid #D6DED5;
	background-color:#E4EBE3;
 }
 .calendar-next {
	width:25%;
	text-align:center;
 }
 .calendar-prev {
	width:25%;
	text-align:center;
 }
 .calendar-month {
	width:50%;
	text-align:center;
	font-weight:bold;
 }
 .normal-day-heading {
	text-align:center;
	width:25px;
	height:25px;
	font-size:0.8em;
	border:1px solid #DFE6DE;
	background-color:#EBF2EA;
 }
 .weekend-heading {
	text-align:center;
	width:25px;
	height:25px;
	font-size:0.8em;
	border:1px solid #DFE6DE;
	background-color:#EBF2EA;
	color:#880000;
 }
 .day-with-date {
	vertical-align:text-top;
	text-align:left;
	width:60px;
	height:80px;
	border:1px solid #DFE6DE;
	background: #fff;
	padding: 5px;
 }
 .no-events {

 }
 .day-without-date {
	width:60px;
	height:80px;
	border:1px solid #E9F0E8;
	 background: #fff;
	padding: 5px;
}
 span.weekend {
	color:#880000;
 }
 .current-day {
	vertical-align:text-top;
	text-align:left;
	width:60px;
	height:80px;
	border:1px solid #BFBFBF;
	background-color:#EFE7BE;
	padding: 5px;
}
 span.event {
	font-size:0.75em;
 }
 .kjo-link {
	font-size:0.75em;
	text-align:center;
 }
 .event-title {
	text-align:center;
	font-weight:bold;
	font-size:1.2em;
 }
 .event-title-break {
	width:96%;
	margin-left:2%;
	margin-right:2%;
	margin-top:5px;
	margin-bottom:5px;
	text-align:center;
	height:1px;
	background-color:#000000;
 }
 .event-content-break {
	width:96%;
	margin-left:2%;
	margin-right:2%;
	margin-top:5px;
	margin-bottom:5px;
	text-align:center;
	height:1px;
	background-color:#000000;
 }
 .calendar-date-switcher {
	height:25px;
	text-align:center;
	border:1px solid #D6DED5;
	background-color:#E4EBE3;
 }
 .calendar-date-switcher form {
	margin:0;
	padding:0;
 }
 .calendar-date-switcher input {
	border:1px #D6DED5 solid;
 }
 .calendar-date-switcher select {
	border:1px #D6DED5 solid;
 }
 .cat-key {
	width:100%;
	margin-top:10px;
	padding:5px;
	border:1px solid #D6DED5;
 }
 

	
a.readmore {
	font-weight: bold;
	}
	
	a:hover.readmore {
		color: #111;
		text-decoration: none;
		}