/*
Theme Name: Base
Version: 1.0
Theme URI: 
Description: 
Author: 
Author URI: 
*/

/*--[ HTML5 Boilerplate RESET ]--------------------------------------------------------------------------------*/
html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,var,b,i,dl,dt,dd,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,figure,footer,header,hgroup,menu,nav,section,menu,time,mark,audio,video{border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent;margin:0;padding:0}
article,aside,figure,footer,header,hgroup,nav,section{display:block}
nav ul{list-style:none}
blockquote,q{quotes:none}
blockquote:before,blockquote:after,q:before,q:after{content:none}
a{font-size:100%;vertical-align:baseline;background:transparent;margin:0;padding:0}
ins{background-color:#ff9;color:#000;text-decoration:none}
mark{background-color:#ff9;color:#000;font-style:italic;font-weight:bold}
del{text-decoration:line-through}
abbr[title],dfn[title]{border-bottom:1px dotted #000;cursor:help}
table{border-collapse:collapse;border-spacing:0}
hr{display:block;height:1px;border:0;border-top:1px solid #ccc;margin:1em 0;padding:0}
input,select{vertical-align:middle}

/*--[ HTML5 Boilerplate MINIMAL BASE STYLES ]--------------------------------------------------------------------------------*/
table { font-size:inherit; font:100%; }
select, input, textarea { font:99% sans-serif; }
pre, code, kbd, samp { font-family: monospace, sans-serif; } 
body, select, input, textarea { color:#444; }
h1,h2,h3,h4,h5,h6 { text-rendering: optimizeLegibility; }
html { -webkit-font-smoothing: antialiased; }
a:hover, a:active { outline: none; }
a { color:#036; }
a:hover { color:#036; }
strong, th { font-weight: bold; }
td, td img { vertical-align:top; } 
sub { vertical-align: sub; font-size: smaller; }
sup { vertical-align: super; font-size: smaller; }
pre { padding: 15px; white-space: pre; /* CSS2 */ white-space: pre-wrap; white-space: pre-line; word-wrap: break-word; }
input[type="radio"] { vertical-align: text-bottom; }
input[type="checkbox"] { vertical-align: bottom; *vertical-align: baseline; }
input[type=text],input[type=email],textarea { width:100%;-webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box;margin-bottom:5px; }
.ie6 input { vertical-align: text-bottom; }
label, input[type=button], input[type=submit], button { cursor: pointer; }
::-moz-selection{ background: #999; color:#fff; text-shadow: none; }
::selection { background:#999; color:#fff; text-shadow: none; } 
html { overflow-y: scroll; }
button {  width: auto; overflow: visible; }
.ie7 img { -ms-interpolation-mode: bicubic; }


/*--[ HELPER CLASSES ]--------------------------------------------------------------------------------*/
.ir { display:block; text-indent:-999em; overflow:hidden; background-repeat: no-repeat; } /* for image replacement */
.hidden { display:none; visibility:hidden; }  /* Hide for both screenreaders and browsers */
.visuallyhidden { position:absolute !important; clip: rect(1px 1px 1px 1px); clip: rect(1px, 1px, 1px, 1px); } /* Hide only visually - available for screenreaders */
.invisible { visibility: hidden; } /* Hide visually and from screenreaders, but maintain layout */
.clear { clear: both; display: block; overflow: hidden; visibility: hidden; width: 0; height: 0; }
.clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
.clearfix { display: inline-block; }
* html .clearfix { height: 1%; } /* Hides from IE-mac \*/
.clearfix { display: block; }
 
/*--[ Layout ]--------------------------------------------------------------------------------*/
html {
	height:100%;
	font: 62.5% Arial, Helvetica, sans-serif; /* Reset to 10px equivilent */
	text-align: center;
	}
body { height:100%; }

#wrapper { min-height:100%; position:relative; }
	
#header{ position:relative;width:970px;height:auto;z-index:999;background:#e9e6dd;margin:0 auto;
	-moz-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
	-webkit-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
	box-shadow: 0 3px 3px rgba(0,0,0,0.2);
	}
#top-nav-wrap { height:30px;background-color:rgba(249,249,249,0.98); }
#top-nav { width:970px;margin:0 auto;text-align:right; }
#logo-wrapper { float:left;position:relative;top:0;margin:0;padding:0;width:100%;height:auto;text-align:center; }
#logo-wrapper img { margin:10px auto; }
#top-info-wrapper { display:none;float:right;position:relative;top:0;margin:0;padding:0;width:0; }
#page {
	position: relative;
	background:#e9e6dd;
	width:970px;
	margin:1em auto 0 auto;
	padding:0;
	text-align: left;
	color: #46382b;
	font-size:1em;
	line-height: 1.2em;
		-moz-box-shadow: 0 0 5px rgba(0,0,0,0.2);
	-webkit-box-shadow: 0 0 5px rgba(0,0,0,0.2);
	box-shadow: 0 0 5px rgba(0,0,0,0.2);
	}
#main {
	overflow: hidden;
	zoom: 1;
	clear: both;
	}
#slider { margin:0 0 20px 0;
	-moz-box-shadow: 0 0 5px rgba(0,0,0,0.7);
	-webkit-box-shadow: 0 0 5px rgba(0,0,0,0.7);
	box-shadow: 0 0 5px rgba(0,0,0,0.7);
	}
#main-content { float:left;width:640px;margin:20px;font-size:1.4em;line-height:1.4em; }
#sidebar { width:240px; margin:20px 20px 20px 0;padding-left:19px;float:left;border-left:1px dotted #ccc;font-size:1em;line-height:1.4em; }
#sidebar ul { list-style:none; margin:0;padding:0; }
#sidebar ul { margin:0;padding:0; }


#footer-wrap { position:relative;
	width:970px;
	margin:0 auto;
}
#footer {
	width:98%; margin:0 auto;
	padding: 2%;
	text-align:left;
	font-size:1.4em;
	overflow: hidden;
	zoom: 1;
	clear: both;
	}
#footer, #footer h3, #footer a {color:#fff;}

.col2 { float:left;width:46%;margin-right:8%; }
.col3 { float:left;width:30%;margin-right:5%; }
.last { margin-right:0; }


/*--[ Anchors ]--------------------------------------------------------------------------------*/
a { color: #700d3c; text-decoration: none; }
a:hover, a:focus { color: #700d3c; text-decoration: none; }

/*--[ Typography ]--------------------------------------------------------------------------------*/
h1, h2, h3, h4, h5, h6 { color:#777; line-height: 1.125em; margin: 0 0 .5em 0; letter-spacing: 0; font-weight:normal; }
h1 { font-size:1.8em;color:#700d3c; } 
h2 { font-size:1.4em; }
h3 { font-size:1.2em; }
h4 { font-size:1em; }
h5 { font-size:.8em; }
h6 { font-size:.7em; text-transform: uppercase; }

#header h1 { line-height:80px;font-size:3em;margin:0 0 0 20px;padding:0;text-shadow:0 2px 4px rgba(0,0,0,.2); }
.hentry h1 { border-bottom:1px dotted #ccc;margin-bottom:.5em;padding-bottom:.25em; }
.hentry h3 { color:#333; }
#sidebar h3 { border-bottom:1px dotted #ccc;padding-bottom:.25em; }

.hentry p { margin:0 0 2em 0; }
#sidebar p { margin:0 0 1em 0; }

blockquote, hr, pre, table, fieldset, article, article footer, nav {
	margin: 0 0 1.5em 0;
	line-height: 1.8em;
}
ul, ol {
	margin:0 0 1em .25em;
}
article ul {
	margin: 0 0 2em 2em;
	list-style: disc outside;
}
article ol {
	margin: 0 0 2em 2em;
	list-style: decimal outside;
}
article blockquote {
	margin: 0 0 1.25em 2.5em;
	font-family: cambria, georgia, times, serif;
	border-top: 1px solid #eee;
	border-bottom: 1px solid #eee;
	background: #f6f6f6;
	padding: 1.19em 1.25em 0;
	font-style: italic;
}
.post { margin:0 0 2em 2em;padding-bottom:1em;border-bottom:1px dotted #ddd; }
small {font-size:0.6875em;}


/*--[ Form Elements and Buttons ]------------------------------------------------------------------------------------*/
input[type=submit], .button {
	border:none;
	background:#4f87b8;
	padding:3px 10px;
	color:#fff;
	border:1px solid #fff;
	text-shadow: 1px 1px 2px rgba(0,0,0,0);
	-webkit-transition-duration: 0.50s;
    -moz-transition-duration: 0.50s;
	-o-transition-duration: 0.50s;
	transition-duration: 0.50s;
	}
input[type=submit]:hover, .button:hover {
	background:#5490c4;
	color:#fff;
	text-shadow: 1px 1px 2px rgba(0,0,0,.8);
	border:1px solid #5490c4;
	}
label { font-size:.8em; }

/*--[ Search ]------------------------------------------------------------------------------------*/
#top-nav .search-box{
	float:right; margin:2px 2px 2px 20px;
	overflow:hidden;
	width:223px;
	}
#top-nav input.search-field{ 
	display:block;
	width:223px;
	margin:0;
	}
#top-nav input.search-field:focus{}

/* Search Form */
.search-box fieldset { border:1px solid #ccc;background:#fff; padding:2px; margin:0; }
.search-box input.search-input { background:transparent; border:none;color:#555; float:left; margin:0; max-width:80%; padding:2px; width:100px; font-size: 12px; }
.search-box input.search-input { width: 85%; }
.search-box input[type="submit"] { background-image:url('images/search.png'); background-color:transparent !important; background-repeat:no-repeat; border:none; cursor:pointer; display:block; float:right; margin:3px 5px 0 0; padding:0; width:16px !important; height:16px; }
.search-box input[type="submit"]:hover { background-image:url('images/search-over.png'); background-color:transparent !important; }

.search-highlight { background:#ff9; }

/*--[ Responsive Images ]--------------------------------------------------------------------------------*/
.entry-content img,
.comment-content img,
.widget img {
	max-width: 100%; /* Fluid images for posts, comments, and widgets */
}
img[class*="align"],
img[class*="wp-image-"],
img[class*="attachment-"] {
	height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */
}
img.size-full,
img.size-large,
img.header-image,
img.wp-post-image {
	max-width: 100%;
	height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */
}

/* Make sure videos and embeds fit their containers */
embed,
iframe,
object,
video {
	max-width: 100%;
}
.entry-content .twitter-tweet-rendered {
	max-width: 100% !important; /* Override the Twitter embed fixed width */
}
.entry-content embed,
.entry-content iframe,
.entry-content object,
.entry-content video {
	margin-bottom: 24px;
	margin-bottom: 1.714285714rem;
}


/*--[ Images ]--------------------------------------------------------------------------------*/
img {
	max-width: 100%;
	height: auto;
	width: auto\9; /* ie8 */
}
img[class*="wp-image-"] {
	/* No styles needed */
}
img.size-full {
	max-width: 100%;	
	width: auto; /* Prevent stretching of full-size images in IE8 */
}
.wp-post-image,
img.alignright, 
img.alignleft, 
img.aligncenter { }
a:hover .wp-post-image, a:focus .wp-post-image {
	padding: 0 !important;
	border: none !important;
}
.alignleft {
	float: left;
	clear: left;
	margin: 0 20px 20px 0;
}
.alignright {
	float: right;
	clear: right;
	margin: 0 0 20px 20px;
}
.aligncenter {
	margin: 0 auto 1.62em;
	display: block;
}
div.wp-caption {
	text-align: center;
	background: #11161a;
	border: 1px solid #1a1f23;
	outline: 4px solid #0d1015;
	padding: 0 !important;
	text-align: center !important;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}
div.wp-caption img {
	margin: 0;
	padding: 5px 5px 0;
	outline: 0;
	border: 0;
}
p.wp-caption-text {
	margin: 0 !important;
	padding: 0 3px 3px !important;
	font-weight: bold;
	clear: both;
	font-size: 0.92em;
	color: #eee;
}
img.shadow { 
	-moz-box-shadow: 0px 1px 3px rgba(0,0,0,0.2); 
	-webkit-box-shadow: 0px 1px 3px rgba(0,0,0,0.2); 
	box-shadow: 0px 1px 3px rgba(0,0,0,0.2); 
	}

/*--[ Comments ]--------------------------------------------------------------------------------*/

#comment {
	width: 100%;
	height: 150px;
}
#respond {
	margin-top: 0;
}
.comment_container {
	position: relative;
}
ol.comment-list {
	margin: 0 0 2em 1em;
	padding: 0;
	}
ol.comment-list img.avatar {
	display:none;
}
ol.comment-list li {
	margin: 0 0 .5em 0;
	padding: 0;
	list-style: none;
	overflow: hidden;
	position: relative;
	-moz-border-radius: 5px;
	-khtml-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	border: 1px dotted #eee;
}

ol.comment-list li header {
	margin: 0;
	line-height: 1.5em;

}
ol.comment-list li article nav {
	float: right;
	margin: 0; padding:0;
}
ol.comment-list li ul {
	margin: 0 0 0 1em;
	padding: 0;
}
ol.comment-list li li {
	border: 0;
	margin: 0;
	padding: 0;
}
ol.comment-list li .comment {
	overflow: hidden;
	margin:0; padding: .5em;	
	}
ol.comment-list li.bypostauthor .comment-text, ol.comment-list li.bypostauthor img.avatar {
	border-color: #D4E2EB;
}
ol.comment-list li p {
	margin: 0;
	padding:0;
	}
ol.comment-list li p.meta {
	font-weight: normal;
	background: transparent;
	padding: 0;
	font-style: italic;
	color: #777;
	font-size: 0.9em;
	margin: 0;
	}
ol.comment-list li p.meta strong {
	font-weight: bold;
	}
#respond {
	margin-bottom: 0;
	}
#respond input.text, #respond select, #respond textarea,
.comment-form-author input,
.comment-form-email input,
.comment-form-url input,
.widget_search input#s {
	border: 1px solid #eee;
	background: #f6f6f6;

	color: #777;
	font-size: 1em;
	line-height: 1em;
	padding: 0.375em;
	width: 50%;
	margin: 0 4px 0 0;
	outline: 0;
	display: block;
}

#respond input.text:focus, #respond select:focus, #respond textarea:focus,
.comment-form-author input:focus,
.comment-form-email input:focus,
.comment-form-url input:focus,
.widget_search input#s:focus { border:1px solid #ccc; }
.borderradius #respond input.text, .borderradius #respond select, .borderradius #respond textarea,
.borderradius .comment-form-author input,
.borderradius .comment-form-email input,
.borderradius .comment-form-url input,
.borderradius .widget_search input#s {
	-moz-border-radius:0.5em;
	-webkit-border-radius:0.5em;
	-khtml-border-radius:0.5em;
	-o-border-radius:0.5em;
	border-radius:0.5em;
}
#respond textarea {
	width: 98%;
	margin-right: 0;
}
#respond label {
	font-size: 1em;
	font-weight: bold;
}

.form-allowed-tags { display:none; }

/*--[ Widgets ]--------------------------------------------------------------------------------*/
.widget_search {
	overflow: hidden;
	zoom: 1;
}
.widget_search input#s {
	float: left;
	width: 50%;
}
.widget_search #searchsubmit {
	font-size: 0.875em;
	padding: 0 1em;
	border: 0;
	margin: 1px 0 0 0;
	line-height: 2.29em;
}
.widget_search label { display: none; }	
.widget_categories ul, 
.widget_archive ul, 
.widget_links ul,
.widget_recent_entries ul,
.widget_recent_comments ul,
.widget_meta ul,
.widget_pages ul,
.widget_rss ul,
.widget_pages ul,
.widget_nav_menu ul,
.widget_categories ul {
	padding: 0;
	list-style-type: none;
} 
.widget_archive ul li, 
.widget_links ul li,
.widget_recent_entries ul li,
.widget_recent_comments ul li,
.widget_meta ul li,
.widget_rss ul li,
.widget_pages ul li,
.widget_nav_menu ul li,
.widget_categories ul li {
	display: block;
}
.widget_archive ul li a,
.widget_links ul li a,
.widget_recent_entries ul li a,
.widget_recent_comments ul li a,
.widget_meta ul li a,
.widget_rss ul li a,
.widget_pages ul li a,
.widget_nav_menu ul li a,
.widget_categories ul li a {
	text-decoration: none;
	} 
.widget_archive ul li a:hover, .widget_archive ul li a:focus,
.widget_links ul li a:hover, .widget_links ul li a:focus,
.widget_recent_entries ul li a:hover, .widget_recent_entries ul li a:focus,
.widget_recent_comments ul li a:hover, .widget_recent_comments ul li a:focus,
.widget_meta ul li a:hover, .widget_meta ul li a:focus,
.widget_rss ul li a:hover, .widget_rss ul li a:focus,
.widget_pages ul li a:hover, .widget_pages ul li a:focus,
.widget_nav_menu ul li a:hover, .widget_nav_menu ul li a:focus,
.widget_categories ul li a:hover, .widget_categories ul li a:focus {
	text-decoration: underline;
	}
.widget_tag_cloud div { padding: 0;	overflow: hidden; }
.widget_tag_cloud a { line-height: 1.62em; }
.widget_tag_cloud a:hover, .widget_tag_cloud a:focus { text-decoration: underline; }

#sidebar .widget { margin-bottom:2em; }

/* =Menu -------------------------------------------------------------- */
#top-nav ul {
	list-style: none;
	margin: 0;
	padding-left:0;
}
#top-nav li {
	float: right;
	position: relative;
}
#top-nav a { line-height:30px;padding:0 10px;color:#555;text-decoration:none;}

#main-nav a.menu-toggle { display: none; } 
#main-nav-wrap {
	clear: both;
	position:relative;
	z-index:999;
	width: 100%;
	height:40px;
	display: block;
	margin: 0 auto;
}
#main-nav {
	clear:both;
	display: block;
	margin: 0 auto;
	width: 970px;
	font-size:1.2em;
}
#main-nav ul {
	list-style: none;
	position: relative;
	margin: 0;
	padding-left: 0;
	float: left;
	left: 50%;
}
#main-nav li {
	float: left;
	right:50%;
	position: relative;
}

#main-nav li:first-child {  }
#main-nav a {
	background:none;
	color: #675542;
	display: block;
	line-height: 40px;
	padding: 0 20px;
	text-decoration: none;
	text-align:left;
	-webkit-transition-duration: 0.50s;
    -moz-transition-duration: 0.50s;
	-o-transition-duration: 0.50s;
	transition-duration: 0.50s;
}
#main-nav ul ul {
	-moz-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
	-webkit-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
	box-shadow: 0 3px 3px rgba(0,0,0,0.2);
	display: none;
	float: left;
	margin: 0;
	position: absolute;
	top: 40px;
	left: 0;
	width: 228px;
	z-index: 99999;
}
#main-nav ul ul li {right:0;}
#main-nav ul ul ul {
	left: 100%;
	top: 0;
}
#main-nav ul ul a {
	background: #e9e6dd;
	font-size:1em;
	font-weight: normal;
	height: auto;
	line-height: 1.2em;
	padding: 1em 20px;
	width: 188px;
}
#main-nav ul li:hover > a { background:#fff; }
#main-nav ul li:hover > a, #main-nav ul a:focus {}
#main-nav ul li:hover > ul { display: block; }
#menu-main-menu > li.current_page_item > a {}
li.current_page_ancestor > a {}


#main-nav li > a:after {
	position: absolute;
	right: 5px;
	content: '\25BE';
	color:#aaa;
}
#main-nav ul ul li > a:after {
	position: absolute;
	right: 5px;
	content: '\25B8';
}
#main-nav li > a:only-child:after {
    content: '';
}

.boxshadow #main-nav ul li ul { -moz-box-shadow: 0px 1px 2px rgba(0,0,0,0.2); -webkit-box-shadow: 0px 1px 2px rgba(0,0,0,0.2); box-shadow: 0px 1px 2px rgba(0,0,0,0.2); }

.paging { overflow: hidden; zoom: 1; }
.paging .prev { float: left;}
.paging .next { float: right; }
article blockquote { margin-left: 0 }
#main-content article {margin-bottom:4em;}


/*  Template Specific

-----------------------------------*/
.page-template-page-homepage-php #main-content { float:none;width:100%;margin:0;padding:20px 0 0 0; }
.page-template-page-homepage-php #main-content .hentry { width:66%;margin:0 auto 3em auto; }

.page-template-page-homepage-php #main-content #cta { }

.single h1 {  }

.single #info-box { float:right;width:200px;margin:0 0 2em 2em;padding:0;text-align:center;font-size:.875em;line-height:1.2em; }
.single #info-box h3 { margin:0;padding:0;line-height:1.2em; }
.single #info-box img { width:200px;margin-bottom:.5em; }


.single img.photo { float:left;width:150px;margin:0 1em 1em 0; }


/*   Responsive Layouts 
-----------------------------------*/

@media screen and (max-width: 480px) {

html, body { width:100%; }
#header, #page, #footer-wrap { width:100%;height:auto;margin:0; }
#header h1 { margin:0; }
#logo-wrapper, #top-info-wrapper { width:96%; height:auto; margin:0 auto 1em auto;padding:0; float: none; clear:both; }	
#logo-wrapper { position:relative;float:none;margin:0;padding:0;height:auto;width:100%; }
#logo-wrapper img { max-width: 100%; height: auto; }

#main-content, #sidebar { width:90%; margin:2em auto; float: none; clear:both; }
#sidebar { border:none; padding:0; }

#mobile-menu {position:relative;float:left;top:0;z-index:9999;width:100%;height:42px;background:#2d5c53;}

#footer { text-align:center;padding:1em 0 0 0; }

.col2 { float:none;clear:both;width:90%;margin-right:0;margin:1em auto; }
.col3 { float:none;clear:both;width:90%;margin-right:0; }
.last { margin-right:0; }

}

/*--[ PRINT STYLES ]--------------------------------------------------------------------------------*/
@media print {
  * { background: transparent !important; color: #444 !important; text-shadow: none; }
  a, a:visited { color: #444 !important; text-decoration: underline; }
  a:after { content: " (" attr(href) ")"; } 
  abbr:after { content: " (" attr(title) ")"; }
  .ir a:after { content: ""; }  /* Don't show links for images */
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  img { page-break-inside: avoid; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3{ page-break-after: avoid; }
}