/*
Theme Name: Martin-WPBootstrap
Theme URI: http://www.denmarassociates.com
Description: A simple responsive theme based on the Bootstrap framework. Includes multiple page templates, two different sidebars and a theme options panel.
Version: 1.0
Author: Denmar Associates, LLC
Author URI: http://www.denmarassociates.com
Tags: black, white, one-column, two-columns, flexible-width, custom-background, custom-colors, custom-menu, full-width-template, theme-options
License: GNU General Public License v2.0 & Apache License 2.0
License URI: http://www.gnu.org/licenses/gpl-2.0.html http://www.apache.org/licenses/LICENSE-2.0
*/

/* micro clearfix: http://nicolasgallagher.com/micro-clearfix-hack/ */
/* For modern browsers */
.clearfix:before,
.clearfix:after {
    content:"";
    display:table;
}

.clearfix:after {
    clear:both;
}

/* For IE 6/7 (trigger hasLayout) */
.clearfix {
    zoom:1;
}

/* wp-specific classes */
.wp-caption{
	
}

.wp-caption-text{
	
}

.sticky{
	
}

.gallery-caption{
	
}

h1 {font-size: 24px; color: #77B137; border-bottom: 1px solid rgba(119, 177, 55, 0.34); padding-bottom: 3px;}
h2, h3 {font-size: 18px; color: #182F00;}

/* layout */

body{
	padding-top: 0;
	background-color: #777777;
}

/* Admin Top Navigation fixes */

body.admin-bar .navbar-fixed-top{ 
	top: 28px; 
}

.navbar .brand{
	color: #000 !important;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.1), 0 0 30px rgba(255, 255, 255, 0.125);
	font-weight: bold !important;
}

.nav-container{
	padding-left: 0;
	padding-right: 0;
}

#inner-header{
	width: 100%;
}

input, textarea, select, .uneditable-input {
	margin-bottom: 0;
}

.navbar-form, .navbar-search {
	margin: 0 0 9px;
}

.navbar-search{
	padding-left: 0;
}

#s{
	width: 100px;
}

.more-link{
	white-space: nowrap;
}

.footer-links{
	float: right;
	margin-bottom: 18px;
}

.footer-links .menu{
	list-style-type: none;
	margin-left: 0;
}

.footer-links .menu li{
	float: left;
	margin-left: 10px;
}

/* post styling */

#main p.meta{
	font-style: italic;
	color: #808080;
}

#main article{
	/*margin-bottom: 18px;*/
	border-bottom: 1px solid #eeeeee;
	padding: 0 0 9px;
}

.sidebar{
	margin-top: 18px !important;
}

#main article footer{
	border-top: none;
	margin-top: 0;
	padding-top: 0;
	position: relative;
	/*min-height: 20px;*/
}

#main article footer a.edit-post{
	position: absolute;
	right: 0;
	top: 0;
	display: none;
}

.post:hover a.edit-post{
	display: inline;
}

p.tags{
	line-height: 20px;
}

div[id*='attachment_']{
	max-width: 100%;
	height: 100%;
}

#credit320{
	background: url('images/320press_mini.png') no-repeat left top transparent;
	padding-left: 20px;
}

#main .hero-unit img{
	margin-bottom: 1em;
}

#main article img{
	height: auto;
	max-width: 100%;
}

img.alignleft{
	margin-right: 10px;
	float: left;
}

img.alignright{
	margin-left: 10px;
	float: right;
}

img.aligncenter{
	display: block;
	margin: 0 auto;
}

.post header img{
	margin-bottom: 18px;
}

.archive #main .post h3{
	line-height: 24px;
	margin-bottom: 10px;
}

video {
	max-width: 100%;
	height: auto;
}

.video-container {
	position: relative;
	padding-bottom: 56.25%;
	padding-top: 30px;
	height: 0;
	overflow: hidden;
}

.video-container iframe,  
.video-container object,  
.video-container embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.video-wrapper {
	width: 630px;
	max-width: 100%;
	margin-bottom: 18px;
}

/* page styling */

#featured-carousel .item{
	width: 970px;
	height: 600px;
}

.carousel-caption p{
	display: none;
}

.page-template-page-homepage-php #main article{
	border-bottom: none;
}

.page-template-page-homepage-php .hero-unit,
.blog .hero-unit{
	padding: 1em;
}

.hero-unit h1 {
	font-size: 3em;
	text-shadow: 1px 1px 1px #505050;
}
.hero-unit h3 {
	text-shadow: 1px 1px 1px #505050;
}

/* comments */



#comments{
	line-height: 24px;
	margin-bottom: 18px;
}

ol.commentlist,
ol.commentlist ul.children{
	list-style-type: none;
	margin-left: 0;
}

.comment .vcard div{
	margin-top: 8px;
	padding: 0 10px;
}

ol.commentlist time{
	font-size: .8em;
	color: #eeeeee;
}

ol.commentlist div.comment-author{
	position: relative;
}

ol.commentlist a.comment-edit-link{
	color: #ffffff;
	text-decoration: none;
	padding-left: 5px;
}

ol.commentlist span.edit-comment{
	position: absolute;
	right: 0;
	top: 8px;
}

ol.commentlist li.bypostauthor{
	/*background-color: #dddddd;*/
}

ol.commentlist ul.children li{
	background-color: #cccccc;
}

ol.commentlist ul.children li ul.children li{
	background-color: #bbbbbb;
}

ol.commentlist ul.children li ul.children li ul.children li{
	background-color: #aaaaaa;
}

ol.commentlist article{
	border-bottom: none !important;
}

a.comment-reply-link{
	position: absolute;
	right: 0;
	bottom: 0;
}

#comment-nav ul{
	list-style-type: none;
	margin: 0;
}

#comment-form-elements{
	list-style-type: none;
	margin: 0;
}

.comment .vcard .avatar{
	padding-right: 0;
}

.comment .vcard .comment-text{
	margin-left: 0;
}

img.avatar{
	border-top: 1px solid #ddd;
	border-bottom: 1px solid #dedede;
	border-right: 1px solid #dedede;
	border-left: 1px solid #ddd;
	
}

ol.commentlist li{
	padding-right: 10px;
	/*background-color: #F0F0F0;*/
}

#pings{
	margin-bottom: 9px;
}

ol.pinglist{
	list-style-type: none;
	margin: 0 0 9px 0;
}

#comment{
	width: 270px;
}

ol.commentlist #respond{
	padding: 5px 10px;
}

/* specific post-type styles */

/* image attachment */

.attachment #main .post_content img{
	max-width: 100%;
}

.ie8 #main .media-grid img{
	max-height: none !important;
	max-width: none !important;
}

.attachment-img{
	margin-bottom: 18px;
}

.metadata p.alert-message{
	margin-right: 0;
	margin-bottom: 18px;
}

#gallery-nav{
	list-style-type: none;
	margin-left: 0;
}

li.next a, li.previous a{
	position: relative;
}

li.next a:hover:before{
	content: "\2190";
	position: absolute;
	display: block;
	top: 42%;
	left: 0;
	background-color: #BFBFBF;
	color: #444;
	width: 20px;
	height: 20px;
	padding-left: 5px;
	text-decoration: none;
	box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25);
}

li.previous a:hover:before{
	content: "\2192";
	position: absolute;
	display: block;
	top: 42%;
	right: 0;
	background-color: #BFBFBF;
	color: #444;
	width: 20px;
	height: 20px;
	padding-left: 5px;
	text-decoration: none;
	box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25);
}


/* widget styles */

.widget{
	margin-bottom: 18px;
}

.widgettitle{
	margin-bottom: 9px;
}

#tag-cloud{
	margin-bottom: 18px;
	line-height: 160%;
}

/* for some reason the bs version currently available for download doesn't have this style */
.label{
	text-transform: uppercase;
}

/* override standard link hover for the tag cloud widget */
#tag-cloud a:hover,
.tags a:hover{
	color: #ffffff;
	text-decoration: none;
}

#tag-cloud a{
	white-space: pre;
	text-transform: uppercase;
}

/* change default form padding for search */

.widget_search form{
	padding-left: 0;
}

.widget_search input{
	width: 121px;
}

/* calendar widget */

#calendar_wrap{
	border: 1px solid #ddd;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	padding: 5px;
}

#wp-calendar{
	width: 100%;
	
}

#wp-calendar caption{
	font-weight: bold;
	padding: 8px;
}

#wp-calendar tr{
	border-top: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
}

#wp-calendar tr:last-child{
	border-bottom: none;
}

#wp-calendar td{
	text-align: center;
	padding: 8px 0;
}

blockquote.pull-left{
	padding-right: 15px;
}

@media only screen and (min-width: 768px) {
	.carousel-caption p{
		display: block;
	}
	#main {
		padding: 10px;
	}
	body {
		background-color: #d7d6d6;
	    background-image: url('images/creek-compressed.jpg');
	    background-repeat: no-repeat;
	    background-attachment: fixed;
	    background-position: center center;
	    -webkit-background-size: cover;
	    -moz-background-size: cover;
	    -o-background-size: cover;
	    background-size: cover;
	}
}
@media only screen and (min-width: 768px) and (max-width: 919px) {
	#main {
		width: 100%;
		margin-left: 0;
	}
}
@media only screen and (max-width: 919px) {
	body {
		padding-left: 5px;
		padding-right: 5px;
	}
	.hero-unit {
		padding: 0 0 20px 0;
		height: inherit;
	}
	#content{
		padding: 0;
		overflow: hidden;
	}
	h1 {
		margin-top: 0;
	}
	.post_content {
		padding: 10px;
	}
	div#homeSubBoxesText .span4 {
    		padding: 10px;
	}
	.homeParagraph {
		padding: 10px;
	}
	#widget-footer .span4 {
		padding: 10px;
	}
}
@media only screen and (min-width: 920px) {
	.container-fluid{
		max-width: 910px;
		margin: 0 auto;
		padding-left: 10px;
		padding-right: 10px;
	}
	
	#inner-footer{
		padding: 0;
	}
	
	#content{
		overflow: hidden;
		padding: 0;
	}
	.topbar-inner{
		padding: 0;
	}
	
	.topbar form.pull-right {
		float: right;
	}
	
	.navbar-form, .navbar-search {
		margin-top: 18px;
		margin-bottom: 0;
	}
	
	.navbar-search{
		padding-left: 0;
	}
	
	.sidebar{
		margin-top: 0 !important;
	}
	
	.widget_search input{
		width: 230px;
	}
	
	.blog .hero-unit{
		margin-top: 10px;
	}
	
	.page-template-page-homepage-php .hero-unit,
	.blog .hero-unit{
		padding: 60px;
	}
	.hero-unit {
		height: 195px;
	}
	.hero-unit h1 {
		font-size: 60px;
	}
	
	/* hide edit comment button and show on hover on desktop version */
	.edit-comment{
		display: none;
	}
	
	.vcard:hover .edit-comment{
		display: inline-block;
	}
	
	#s{
		width: 210px;
		margin-bottom: 6px;
	}
	
	.widget_search input{
		width: 209px;
	}
	
	.comment .vcard .comment-text{
		/*padding-left: 0;
		padding-right: 0;*/
	}
	
	/*------------------------------------*\
		NAV
	\*------------------------------------*/
	#menu-main-menu li.active, #menu-main-menu li:hover {
    	border-bottom: 3px solid #77B137;
	}

	#menu-main-menu li.active a {
		background-color: #FFF;
	}

	#menu-sub-menu{
		list-style:none;
		/* Clear floats */
		float:left;
		width:100%;
		/* Bring the nav above everything else--uncomment if needed.
		position:relative;
		z-index:5;
		*/
		text-align: center;
		margin-bottom: 0;
	}
	#menu-sub-menu li{
		float:left;
		position:relative;
	}

	/*--- DROPDOWN ---*/
	#menu-sub-menu ul{
		background:#fff; /* Adding a background makes the dropdown work properly in IE7+. Make this as close to your page's background as possible (i.e. white page == white background). */
		list-style:none;
		position:absolute;
		left:-9999px; /* Hide off-screen when not needed (this is more accessible than display:none;) */
	}
	#menu-sub-menu ul li{
		padding-top:1px; /* Introducing a padding between the li and the a give the illusion spaced items */
		float:none;

	}
	#menu-sub-menu ul a{
		white-space:nowrap; /* Stop text wrapping and creating multi-line dropdown items */
	}
	.no-touch #menu-sub-menu li:hover ul{ /* Display the dropdown on hover */
		left:0; /* Bring back on-screen when needed */
		padding-left: 0;
		margin-left: 0;
	}
	#menu-sub-menu li:hover a{ /* These create persistent hover states, meaning the top-most link stays 'hovered' even when your cursor has moved down the list. */
		background:#f3f3f3;
	}
	#menu-sub-menu li:hover ul a{ /* The persistent hover state does however create a global style for links even before they're hovered. Here we undo these effects. */
		display: block;
		padding: 10px 10px 10px 10px;
		width: 130px;
	}
	#menu-sub-menu li:hover ul li a:hover{ /* Here we define the most explicit hover states--what happens when you hover each individual link. */
		background:#333;
		text-decoration: none;
		color: #FFF;
	}

} /* End mobile section */

#mainContainer {
	background-color: #FBF9F5;
	padding-top: 10px;
}
#home_mainphoto {margin-bottom: 1em;}
#homeSubBoxes .span4 {
	margin-bottom: 1em;
	text-align: center;	
}
#homeSubBoxesText .span4 h2 {font-size: 1.6em;}
.lead {
    font-size: 14px;
    font-weight: normal;
    line-height: 20px;
    margin-bottom: 10px;
}
.container, .navbar-static-top .container, .navbar-fixed-top .container, .navbar-fixed-bottom .container {max-width: 970px;}
.headerLogo {float: left;}
#headerSocial {
    margin-left: -20px;
    padding: 20px 20px;
    display: block;
    float: left;
}
.homeButton {
    margin-left: -20px;
    padding: 10px 20px;
    display: block;
    float: left;
}
.navbar{position: static;}
.navbar-inner {min-height: 60px;}
.navbar .nav  li  a {padding: 23px 10px;}
.page-header {
	padding: 0px; 
	margin-top: 0px;
	border-bottom: none;
}
/*
.page-header h1 {
	color: #3d4045;
	font-size: 24px;
    border-top: 1px solid rgba(83, 83, 67, 0.02);
    border-bottom: 1px solid rgba(83, 83, 67, 0.02);
    padding: 6px;
}
.page-header h1 a {color: #3d4045;}
*/
#contactForm input, 
#contactForm textarea, 
#contactForm .uneditable-input {width: 96%;}
h2 {font-size: 25px; color: #3d4045;}
.navbar-inner {border-color: #256EB9;}
.navbar-fixed-top .navbar-inner, .navbar-static-top .navbar-inner {box-shadow: 0 -1px 0 rgba(72, 15, 28, 0.2) inset, 0 1px 10px rgba(72, 15, 28, 0.2)}

.hero-unit {
	/*
	background-image: url(http://www.martinfurniturepa.com/wp-content/uploads/Martins-Furniture-Red-Carpet-Pic.jpg);
	background-position: right;
	background-repeat: no-repeat;
	*/
	
	color: #FFFFFF;
	text-align: center;
}
.hero-unit h1 {padding-top: 40px;}
.hero-unit a {margin-right: 5px;}
#headerSocial a {float: left;}
#menu-sub-menu ul li {z-index: 1;}
#menu-sub-menu li.current_page_item a, #menu-sub-menu li.current_page_parent a {background-color: #F5F5F5; color: #000}
#menu-sub-menu li a {color: #000;}
#menu-sub-menu li:hover a {color: #000;}
#subMenuContainer {
	background: rgba(226,226,226,1);
	background: -moz-linear-gradient(top, rgba(226,226,226,1) 0%, rgba(219,219,219,1) 50%, rgba(209,209,209,1) 51%, rgba(254,254,254,1) 100%);
	background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(226,226,226,1)), color-stop(50%, rgba(219,219,219,1)), color-stop(51%, rgba(209,209,209,1)), color-stop(100%, rgba(254,254,254,1)));
	background: -webkit-linear-gradient(top, rgba(226,226,226,1) 0%, rgba(219,219,219,1) 50%, rgba(209,209,209,1) 51%, rgba(254,254,254,1) 100%);
	background: -o-linear-gradient(top, rgba(226,226,226,1) 0%, rgba(219,219,219,1) 50%, rgba(209,209,209,1) 51%, rgba(254,254,254,1) 100%);
	background: -ms-linear-gradient(top, rgba(226,226,226,1) 0%, rgba(219,219,219,1) 50%, rgba(209,209,209,1) 51%, rgba(254,254,254,1) 100%);
	background: linear-gradient(to bottom, rgba(226,226,226,1) 0%, rgba(219,219,219,1) 50%, rgba(209,209,209,1) 51%, rgba(254,254,254,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e2e2e2', endColorstr='#fefefe', GradientType=0 );
}
.ngg-gallery-thumbnail {margin-right: 25px;}
.ngg-gallery-thumbnail-box {margin-right: 0px;}
.alignCenter {text-align: center;}
.cImgContainer {height: 300px; display: table-cell; vertical-align: middle}
.header_social {
	padding-top: 20px;
	padding-left: 10px;
	text-align: center;
}
.form-allowed-tags {display: none;}
.pad10 {padding: 10px;}
.nopad {padding: 0;}
a.btn.btn-navbar.menuButton {
	color: #000;
	margin-right: 20px;
}
#sidebar1 {
    padding-left: 20px;
}
p, p.lead {
	line-height: 23px;
}
.nav-collapse ul#menu-main-menu {
    padding: 10px;
}