/*
Theme Name:  The Firearm Blog
Author:  10up
Author URI:  http: //10up.com
Version: 2015.07.12.01
*/

@import url(css/base.css?v2);

/* HTML5 display definitions
---------------------------------------- */

article, aside, details, figcaption, figure, footer, header, hgroup, menu, #header nav, section, dialog {
	display: block;
}

/* Structure
----------------------------------------------- */

html {
	height: 100%;
	overflow-y: scroll;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}

body {
	background: #fff url(img/body.png) repeat-x fixed;
	text-align: center;
}

/* wraps the header and the page */
#wrap {
	width: 1050px;
	margin: 0 auto;
	padding: 0 15px;
	background: url(img/page.png) no-repeat 50% 0 fixed;
	text-align: left;
}

/* contains all objects in the layout */
#container {
}

/* around #content and #sidebar */
#page {
}

.col-full {
	padding: 15px;
	margin: 0 auto;
	background: #fff;
}

.col-twothirds,
.col-onethird {
	float: left;
	padding: 15px;
}

.col-twothirds {
	width: 660px;
}

.col-onethird {
	width: 300px;
}

.potd_content_comments{
	width: 600px;
	float: left;
	
}

.potd_sidebar{
	width:300px;
	float: right;
}



/* Header
----------------------------------------------- */
#header {
}
	
	.site-name {
		float: left;
	}
	
		.site-name  a {
			display:block;
			text-indent:-9999px;
			background:url(img/logo.png) no-repeat;
			width:140px;
			height:110px;
			cursor:pointer;
		}

	.ad {
		background: #d3d3d3;
		color: #fff;
		text-align:center;
		font-weight:bold;
		line-height:90px;
	}
	
	#header .ad {
		float:right;
		width:728px;
		height:90px;
		padding:9px;
		background:none;
		border:1px solid #d3d3d3;
	}



/* Navigation
----------------------------------------------- */
.nav-container,
#nav {
	height: 40px;
	background: #000;
	padding: 0 15px;
	position:relative;
}

#nav {
	padding:0;
}

#nav-toggle {
	display:none;
}
	
	#nav li {
		float: left;
		list-style: none;
		position: relative;
	}
		
		#nav li a {
			display: block;
			float: left;
			padding: 0 15px;
			font: normal 18px/40px Oswald, Arial, Helvetica, sans-serif;
			text-transform: uppercase;
			color: #fff;
		}
		
			#nav li.menu-parent-item > a:after {
				content: "\25bc";
				font: 12px/10px Arial, Helvetica, sans-serif;
				display: inline-block;
				vertical-align: 3px;
				margin-left: 5px;
			}
			
			#nav li a:hover,
			#nav li:hover > a {
				color: #bc2025;
			}
			
			#nav > li.current-menu-item > a,
			#nav > li.current-category-ancestor > a {
				background: #fff; /* Old browsers */
				background:  -moz-linear-gradient(top,  #ffffff 0%, #f3f3f3 100%); /* FF3.6+ */
				background:  -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#f3f3f3)); /* Chrome,Safari4+ */
				background:  -webkit-linear-gradient(top,  #ffffff 0%,#f3f3f3 100%); /* Chrome10+,Safari5.1+ */
				background:  -o-linear-gradient(top,  #ffffff 0%,#f3f3f3 100%); /* Opera 11.10+ */
				background:  -ms-linear-gradient(top,  #ffffff 0%,#f3f3f3 100%); /* IE10+ */
				background:  linear-gradient(to bottom,  #ffffff 0%,#f3f3f3 100%); /* W3C */
				filter:  progid: DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f3f3f3',GradientType=0 ); /* IE6-9 */
				color: #000;
				text-decoration: none;
			}
		
		#nav ul {
			position: absolute;
			top: 40px;
			left: -9999px;
			background: #f3f3f3; /* Old browsers */
			background:  -moz-linear-gradient(top, #f3f3f3 0%, #ffffff 100%); /* FF3.6+ */
			background:  -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f3f3f3), color-stop(100%,#ffffff)); /* Chrome,Safari4+ */
			background:  -webkit-linear-gradient(top, #f3f3f3 0%,#ffffff 100%); /* Chrome10+,Safari5.1+ */
			background:  -o-linear-gradient(top, #f3f3f3 0%,#ffffff 100%); /* Opera 11.10+ */
			background:  -ms-linear-gradient(top, #f3f3f3 0%,#ffffff 100%); /* IE10+ */
			background:  linear-gradient(to bottom, #f3f3f3 0%,#ffffff 100%); /* W3C */
			filter:  progid: DXImageTransform.Microsoft.gradient( startColorstr='#f3f3f3', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */
			min-width: 140px;
			z-index: 100;
			padding: 5px 0;
			border: solid #d3d3d3;
			border-width: 0 1px 1px 0;
		}
		
			#nav ul li {
				float: none;
			}
			
				#nav ul li a {
					float: none;
					text-align: left;
					color: #000;
					white-space: nowrap;
					font-size: 14px;
					line-height: 30px;
				}
				
					#nav ul li.current-menu-item > a {
						color: #bc2025;
					}
				
		#nav li:hover ul {
			left: 0;
		}
		
#social_links {
	float: right;
	padding:5px 30px 0 0;
}

	#social_links li {
		list-style: none;
		float: left;
		margin-left:10px;
	}
	
	#social_links a {
		display:block;
		width:20px;
		height:20px;
		float:left;
	}
	
	@font-face {
		font-family: 'TFB-Social';
		src:url('fonts/TFB-Social.eot');
		src:url('fonts/TFB-Social.eot?#iefix') format('embedded-opentype'),
			url('fonts/TFB-Social.svg#TFB-Social') format('svg'),
			url('fonts/TFB-Social.woff') format('woff'),
			url('fonts/TFB-Social.ttf') format('truetype');
		font-weight: normal;
		font-style: normal;
	}
	
	#social_links a:before {
		font-family: 'TFB-Social';
		font-size:20px;
		font-style: normal;
		speak: none;
		font-weight: normal;
		line-height: 1;
	}
	#social_links a.facebook:before {
		content: "\e000";
		color: #3b5998;
	}
	#social_links a.twitter:before {
		content: "\e001";
		color: #00a0d1;
	}
	#social_links a.google:before {
		content: "\e002";
		color: #5bab4c;
	}
	#social_links a.linkedin:before {
		content: "\e003";
		color: #4a86b0;
	}
	#social_links a.stumble:before {
		content: "\e004";
		color: #e89f11;
	}
	#social_links a.youtube:before {
		content: "\e005";
		color:#c4302b;
	}
	#social_links a.rss:before {
		content: "\e006";
		color:#f17a00;
	}
	
		#social_links a:hover:before {
			color:#000;
		}
		
#subnav {
	height: 30px;
	padding: 0 15px;
	background: #f3f3f3;
	border-bottom: 1px solid #d3d3d3;
}

	#subnav li {
		list-style: none;
		float: left;
	}
	
		#subnav li a {
			display: block;
			padding: 0 15px;
			color: #555;
			line-height: 30px;
		}
		
		#subnav li a:hover,
		#subnav li.current_page_item a, 
		#subnav li.current_page_ancestor a {
			color: #bc2025;
		}



/* Slider
----------------------------------------------- */
#slider {
	margin:-10px 0 30px;
}

	#slider .gallery {
		background: none;
		filter:none;
		padding: 10px 15px 5px;
	}

		#slider .gallery li {
			width: 180px !important;
			margin: 0 15px;
			line-height:15px;
		}
		
		#slider .gallery li img {
			margin-bottom: 10px;
		}
		
	#slider a {
		color: #000;
		display: block;
	}
	
	#slider a:hover {
		color: #bc2025;
	}
	
	#slider button {
		margin-top: -30px !important;
	}

div.tagcloud {
	padding-top: 15px;
}
		
/* Content
----------------------------------------------- */	
#content {
}
	
	.post-item {
		margin: 15px 0 30px;
		border: 1px solid #d3d3d3;
		padding: 10px 10px 10px;
		position: relative;
	}
		
		.single .post-item {
			margin: 14px 0 22px;
		}
		
		.post-item:first-child,
		.single .post-item:first-child {
			margin-top: 0;
		}
		
		.post-item .attachment-thumbnail {
			float: left;
			margin: 3px 30px 20px 0;
		}
		
		.post-item .attachment-large {
			margin: 3px 0 20px;
			display: block;
		}
		
			.post-item p.featimg_caption {
				margin: -3px 0 7px;
			}
		
		.has-thumb .post-content {
			margin-left: 210px;
		}
		
		/* image */
		.post-item.format-image,
		.post-item.format-gallery {
			margin-top: 0;
		}
		
		.post-image {
			display: block;
			margin-top: 15px;
		}
		
		/* gallery */
		.post-gallery {
			height: 240px;
			position: relative;
			overflow: hidden;
			padding:0 15px;
		}
		
			.post-gallery .gallery {
				margin: 0;
				width: 9999px;
				position:absolute;
				top:0;
				left:0;
			}
			
			.bx-viewport {
				overflow:visible !important;
			}
		
			.bx-controls-direction a {
				position: absolute;
				top: 50%;
				left: 0;
				margin-top: -10px;
				background: url(img/controls.png) no-repeat 0 100%;
				width: 20px;
				height: 20px;
				border: none;
				cursor: pointer;
				text-indent:-9999px;
			}
			
				#slider .bx-controls-direction a {
					margin-top: -25px;
				}
			
			.bx-controls-direction .bx-next {
				left: auto;
				right: 0;
				background-position: 100% 100%;
			}
			
				.bx-controls-direction a:hover { background-position: 0 0; }
				.bx-controls-direction .bx-next:hover { background-position: 100% 0; }
				
		/* video */
		.format-video .post-content {
			/* float: left;
			width: 270px; */
		}
		
		.post-video {
			float: right;
		}
		
			.post-video p,
			.post-item.video p {
				margin: 0;
			}
			
			.post-video iframe {
				width: 300px;
				height: 170px;
			}
			
				.post-item.video iframe {
					width: 600px;
					height: 338px;
					margin: 3px 0 20px;
				}
			
			iframe {
				display: block;
			}
			
		/* quote */
		.post-item blockquote {
			margin: -2px 0 0;
			border: none;
			padding: 0;
		}
		
			.post-item blockquote p:first-child {
				margin-top: 0;
			}
			
			.post-item cite {
				font-size: 16px;
				margin-bottom: 20px;
				text-align:left;
			}
			
	.entry-meta,
	.page-title {
		font-size: 12px;
		color: #777;
		margin: 9px 0;
	}
	
	.format_flag {
		position: absolute;
		top: 30px;
		left: -50px;
		width: 50px;
		text-align: center;
		font: 11px/20px Oswald, Arial, Helvetica, sans-serif;
		text-transform: uppercase;
		color: #000;
		background:  #bebebe; /* Old browsers */
		background:  -moz-linear-gradient(left,  #bebebe 92%, #919191 100%); /* FF3.6+ */
		background:  -webkit-gradient(linear, left top, right top, color-stop(92%,#bebebe), color-stop(100%,#919191)); /* Chrome,Safari4+ */
		background:  -webkit-linear-gradient(left,  #bebebe 92%,#919191 100%); /* Chrome10+,Safari5.1+ */
		background:  -o-linear-gradient(left,  #bebebe 92%,#919191 100%); /* Opera 11.10+ */
		background:  -ms-linear-gradient(left,  #bebebe 92%,#919191 100%); /* IE10+ */
		background:  linear-gradient(to right,  #bebebe 92%,#919191 100%); /* W3C */
		filter:  progid: DXImageTransform.Microsoft.gradient( startColorstr='#bebebe', endColorstr='#919191',GradientType=1 ); /* IE6-9 */
	}		
	
		.single .no-thumb .format_flag {
			top: 9px;
		}
		
	.more_share {
		width: 50%;
		float: right;
	}
	
		.more_share p {
			margin-top: 2px;
		}
	
		.more_label {
			font: normal 14px/20px Oswald, Arial, Helvetica, sans-serif;
			text-transform: uppercase;
			color: #000;
		}
		
	.related_posts {
		margin: 15px 0;
		list-style: none;
		width: 45%;
	}
	
		.related_posts li {
			margin: 12px 0;
			line-height:17px;
		}
		
	.navigation {
		margin: 15px 0 0;
		border: 1px solid #d3d3d3;
		padding: 20px 23px 17px;
	}
	
		.navigation li {
			list-style: none;
			display: inline-block;
			margin-right: -.3em;
			font: 18px/20px Oswald, Arial, Helvetica, sans-serif;
			text-transform: uppercase;
		}
		
		.navigation a,
		.navigation span {
			display: inline-block;
			padding: 0 7px;
		}
		
	.author_bio {
		margin:30px 0;
	}
	
		.author_bio img {
			float:left;
			margin:10px 15px 10px 0;
		}
		
		.author_bio h4 {
			margin:10px 0 0;
		}
	a[rel='author'] {
		font-weight: bold;
	}



/* Comments
----------------------------------------------- */	
.commentlist {
	margin: 15px 0 30px;
}
		
.commentlist li {
	list-style: none;
	margin: 20px 0;
	padding: 20px 20px 0;
	background: #eee;
}

.commentlist li.alt {
	background: #fff;
}
	
	.commentmetadata {
		font-size: 11px;
		margin-bottom: 20px;
		text-transform: uppercase;
	}
		
		.commentmetadata a {
			font-size: 12px;
			text-transform: none;
			border: none;
		}
		
	.commentlist .avatar {
		float: right;
		display: block;
		margin: 0 0 20px 20px;
	}
	
#commentform p {
	position: relative;
}

#commentform label {
	position: absolute;
	top: 0;
	left: 6px;
	z-index: 10;
	line-height: 25px;
}
		
#commentform input, 
#commentform textarea {
}
	
#commentform textarea {
	width: 500px;
}
			
#commentform #submit {
}




/* Sidebar
----------------------------------------------- */
#sidebar {
}
		
	#sidebar aside {
		margin-bottom: 30px;
	}
	
	#sidebar aside ul {
	}
	
		#sidebar aside ul li {
			list-style: none;
			/*margin: 5px 0;*/
		}
			
	#sidebar h3 {
		background: #f3f3f3; /* Old browsers */
		background: -moz-linear-gradient(top,  #fafafa 0%, #e1e1e1 100%); /* FF3.6+ */
		background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fafafa), color-stop(100%,#e1e1e1)); /* Chrome,Safari4+ */
		background: -webkit-linear-gradient(top,  #fafafa 0%,#e1e1e1 100%); /* Chrome10+,Safari5.1+ */
		background: -o-linear-gradient(top,  #fafafa 0%,#e1e1e1 100%); /* Opera 11.10+ */
		background: -ms-linear-gradient(top,  #fafafa 0%,#e1e1e1 100%); /* IE10+ */
		background: linear-gradient(to bottom,  #fafafa 0%,#e1e1e1 100%); /* W3C */
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fafafa', endColorstr='#e1e1e1',GradientType=0 ); /* IE6-9 */
		padding: 15px 20px;
	}
	
	#sidebar .have-a-tip h3 {
		padding:15px 0;
	}
	
		#sidebar .have-a-tip h3 a {
			font-size:24px;
			font-weight:bold;
			color:#bc2025;
			display:block;
			text-align:center;
		}
		
			#sidebar .have-a-tip h3 a span {
				font:normal 24px/20px Arial, Helvetica, sans-serif;
				text-transform:none;
			}
			
			#sidebar .have-a-tip h3 a:hover {
				color:#000;
			}
			
	#sidebar .newsletter {
		background: #bc2025; /* Old browsers */
		background: -moz-linear-gradient(top,  #c30000 0%, #b50000 100%); /* FF3.6+ */
		background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#c30000), color-stop(100%,#b50000)); /* Chrome,Safari4+ */
		background: -webkit-linear-gradient(top,  #c30000 0%,#b50000 100%); /* Chrome10+,Safari5.1+ */
		background: -o-linear-gradient(top,  #c30000 0%,#b50000 100%); /* Opera 11.10+ */
		background: -ms-linear-gradient(top,  #c30000 0%,#b50000 100%); /* IE10+ */
		background: linear-gradient(to bottom,  #c30000 0%,#b50000 100%); /* W3C */
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c30000', endColorstr='#b50000',GradientType=0 ); /* IE6-9 */
		padding:15px 20px;
	}
		
		#sidebar .newsletter h3,
		#footer .newsletter h3 {
			background:none;
			filter:none;
			padding:0;
			color:#fff;
			font:normal 18px/20px Arial, Helvetica, sans-serif;
			text-transform:none;
		}
		
			#sidebar .newsletter h3 span,
			#footer .newsletter span {
				font:bold 18px/20px 'Noto Sans', Georgia, "Times New Roman", Times, serif;
			}
			
		#sidebar .newsletter form,
		#footer .newsletter form {
			height:30px;
			padding:12px 0 5px;
		}
		
			#sidebar .newsletter input[type=text],
			#footer .newsletter input[type=text] {
				border:none;
				-webkit-box-sizing:border-box;
				-moz-box-sizing:border-box;
				box-sizing:border-box;
				width:72%;
				height:30px;
				float:left;
			}
			
			#sidebar .newsletter input[type=submit],
			#footer .newsletter input[type=submit] {
				float:right;
				width:25%;
				padding:0;
			}
			
	#sidebar .authors li {
		margin:0;
		padding:20px 5px 5px 20px;
		float:left;
		width:70px;
		height:70px;
		position:relative;
	}
	
		#sidebar .authors li span {
			position:absolute;
			top:-10px;
			left:-9999px;
			background:#bc2025;
			color:#fff;
			font:14px/30px 'Noto Sans', Georgia, "Times New Roman", Times, serif;
			padding:0 10px;
		}
		
			#sidebar .authors li span:before {
				content:'\25ba';
				font-family: 'TFB-Social';
				font-size:30px;
				font-style: normal;
				speak: none;
				font-weight: normal;
				line-height: 1;
				color:#bc2025;
				position:absolute;
				left:-9px;
				bottom:-15px;
				width:10px;
			}
			
			#sidebar .authors li:hover span {
				left:65px;
			}
			
	#sidebar ul.featured_posts,
	#sidebar .widget_archive ul,
	#sidebar .widget_archive select {
		margin:15px 20px;
	}
			
	#sidebar ul.blogroll {
		margin: 15px 0;
	}

		#sidebar ul.blogroll li,
		#sidebar .widget_archive li {
			width:50%;
			display:inline-block;
			margin-right:-4px;
			font-size:12px;
		}
		
	.widget_links {
		display:none;
	}
	
	.home .widget_links {
		display:block;
	}


/* Forms
----------------------------------------------- */
input[type=text],
input[type=url],
input[type=email],
input[type=tel],
input[type=number],
input[type=password],
textarea {
	border: 1px solid #d3d3d3;
	padding: 5px;
	background: #fff;
	outline: none;
	font: 14px/20px Arial, Helvetica, sans-serif !important;
	color: #555;
}

.button,
input[type=submit] {
	padding: 0 9px;
	height: 30px;
	border:none;
	cursor:pointer;
	font:12px Oswald, Arial, Helvetica, sans-serif;
	text-transform:uppercase;
	color:#fff;
	text-shadow:0 -1px 0 rgba(0,0,0,.25);
	background: #bc2025; /* Old browsers */
	background: -moz-linear-gradient(top,  #ff0000 0%, #b50000 49%, #8f0000 50%, #7a0000 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ff0000), color-stop(49%,#b50000), color-stop(50%,#8f0000), color-stop(100%,#7a0000)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #ff0000 0%,#b50000 49%,#8f0000 50%,#7a0000 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #ff0000 0%,#b50000 49%,#8f0000 50%,#7a0000 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #ff0000 0%,#b50000 49%,#8f0000 50%,#7a0000 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #ff0000 0%,#b50000 49%,#8f0000 50%,#7a0000 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ff0000', endColorstr='#7a0000',GradientType=0 ); /* IE6-9 */
}

	.button:hover,
	input[type=submit]:hover {
		text-decoration: none
		;background: #ff0d0d; /* Old browsers */
		background: -moz-linear-gradient(top,  #ff0d0d 0%, #c60000 49%, #a20000 51%, #8e0000 100%); /* FF3.6+ */
		background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ff0d0d), color-stop(49%,#c60000), color-stop(51%,#a20000), color-stop(100%,#8e0000)); /* Chrome,Safari4+ */
		background: -webkit-linear-gradient(top,  #ff0d0d 0%,#c60000 49%,#a20000 51%,#8e0000 100%); /* Chrome10+,Safari5.1+ */
		background: -o-linear-gradient(top,  #ff0d0d 0%,#c60000 49%,#a20000 51%,#8e0000 100%); /* Opera 11.10+ */
		background: -ms-linear-gradient(top,  #ff0d0d 0%,#c60000 49%,#a20000 51%,#8e0000 100%); /* IE10+ */
		background: linear-gradient(to bottom,  #ff0d0d 0%,#c60000 49%,#a20000 51%,#8e0000 100%); /* W3C */
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ff0d0d', endColorstr='#8e0000',GradientType=0 ); /* IE6-9 */
	}
	
	.button.silver,
	input[type=submit].silver {
		background: #d3d3d3; /* Old browsers */
		background: -moz-linear-gradient(top,  #fff 0%, #cecece 49%, #b5b5b5 50%, #a8a8a8 100%); /* FF3.6+ */
		background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fff), color-stop(49%,#cecece), color-stop(50%,#b5b5b5), color-stop(100%,#a8a8a8)); /* Chrome,Safari4+ */
		background: -webkit-linear-gradient(top,  #fff 0%,#cecece 49%,#b5b5b5 50%,#a8a8a8 100%); /* Chrome10+,Safari5.1+ */
		background: -o-linear-gradient(top,  #fff 0%,#cecece 49%,#b5b5b5 50%,#a8a8a8 100%); /* Opera 11.10+ */
		background: -ms-linear-gradient(top,  #fff 0%,#cecece 49%,#b5b5b5 50%,#a8a8a8 100%); /* IE10+ */
		background: linear-gradient(to bottom,  #fff 0%,#cecece 49%,#b5b5b5 50%,#a8a8a8 100%); /* W3C */
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#a8a8a8',GradientType=0 ); /* IE6-9 */
		color: #555;
		text-shadow: 0 1px 0 rgba(255,255,255,.66);
	}
	
		.button.silver:hover,
		input[type=submit].silver:hover {
			background: #ffffff; /* Old browsers */
			background: -moz-linear-gradient(top,  #ffffff 0%, #dcdcdc 50%, #cacaca 51%, #c0c0c0 100%); /* FF3.6+ */
			background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(50%,#dcdcdc), color-stop(51%,#cacaca), color-stop(100%,#c0c0c0)); /* Chrome,Safari4+ */
			background: -webkit-linear-gradient(top,  #ffffff 0%,#dcdcdc 50%,#cacaca 51%,#c0c0c0 100%); /* Chrome10+,Safari5.1+ */
			background: -o-linear-gradient(top,  #ffffff 0%,#dcdcdc 50%,#cacaca 51%,#c0c0c0 100%); /* Opera 11.10+ */
			background: -ms-linear-gradient(top,  #ffffff 0%,#dcdcdc 50%,#cacaca 51%,#c0c0c0 100%); /* IE10+ */
			background: linear-gradient(to bottom,  #ffffff 0%,#dcdcdc 50%,#cacaca 51%,#c0c0c0 100%); /* W3C */
			filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#c0c0c0',GradientType=0 ); /* IE6-9 */

		}
		
#searchform {
	width: 205px;
	padding: 5px;
	height: 30px;
	background: #000;
	float:right;
	margin-right:25px;
	position:relative;
	z-index:100;
}

	#content #searchform {
		float:none;
	}
		
#s {
	width: 155px;
	height:20px;
	float: left;
	border:none;
}
	
#searchsubmit {
	width: 35px;
	float: right;
}



/* Footer
----------------------------------------------- */
#footer {
	background: #535353; /* Old browsers */
	background:  -moz-linear-gradient(top,  #000000 0%, #262626 1%, #545454 100%); /* FF3.6+ */
	background:  -webkit-gradient(linear, left top, left bottom, color-stop(0%,#000000), color-stop(1%,#262626), color-stop(100%,#545454)); /* Chrome,Safari4+ */
	background:  -webkit-linear-gradient(top,  #000000 0%,#262626 1%,#545454 100%); /* Chrome10+,Safari5.1+ */
	background:  -o-linear-gradient(top,  #000000 0%,#262626 1%,#545454 100%); /* Opera 11.10+ */
	background:  -ms-linear-gradient(top,  #000000 0%,#262626 1%,#545454 100%); /* IE10+ */
	background:  linear-gradient(to bottom,  #000000 0%,#262626 1%,#545454 100%); /* W3C */
	filter:  progid: DXImageTransform.Microsoft.gradient( startColorstr='#000000', endColorstr='#545454',GradientType=0 ); /* IE6-9 */
	padding-bottom: 30px;
}

#footer .col-full {
	background: none;
	width: 990px;
	margin: 0 auto;
	padding:30px 15px;
	font-size: 12px;
	color: #ccc;
	text-align:left;
}

	#footer a {
		color: #fff;
	}
	
		#footer a:hover {
			text-decoration: underline;
		}
		
	#footer .newsletter {
		width: 210px;
		height: 60px;
		float: left;
		background: #363636; /* Old browsers */
		background: -moz-linear-gradient(top,  #3f3f3f 0%, #363636 100%); /* FF3.6+ */
		background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#3f3f3f), color-stop(100%,#363636)); /* Chrome,Safari4+ */
		background: -webkit-linear-gradient(top,  #3f3f3f 0%,#363636 100%); /* Chrome10+,Safari5.1+ */
		background: -o-linear-gradient(top,  #3f3f3f 0%,#363636 100%); /* Opera 11.10+ */
		background: -ms-linear-gradient(top,  #3f3f3f 0%,#363636 100%); /* IE10+ */
		background: linear-gradient(to bottom,  #3f3f3f 0%,#363636 100%); /* W3C */
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3f3f3f', endColorstr='#363636',GradientType=0 ); /* IE6-9 */
		padding:15px 20px;
	}
	
		#footer .newsletter form {
			height:25px;
			padding:7px 0 5px;
		}
		
			#footer .newsletter input[type=text] {
				width:137px;
				padding:2px 5px 3px;
				height:25px;
			}
			
			#footer .newsletter input[type=submit] {
				height:25px;
			}
	
	#footer .ad {
		float: right;
		width: 728px;
		height: 90px;
		line-height: 90px;
	}
	
	#footer #social_links {
		float:left;
		margin-top:10px;
	}
	
		#footer #social_links li {
			margin:0 10px 0 0;
		}
		
		#footer #social_links a:before {
			color:#8d8d8d;
		}
		
			#footer #social_links a.facebook:hover:before {
				color: #3b5998;
			}
			#footer #social_links a.twitter:hover:before {
				color: #00a0d1;
			}
			#footer #social_links a.google:hover:before {
				color: #5bab4c;
			}
			#footer #social_links a.linkedin:hover:before {
				color: #4a86b0;
			}
			#footer #social_links a.stumble:hover:before {
				color: #e89f11;
			}
			#footer #social_links a.youtube:hover:before {
				color:#c4302b;
			}
			#footer #social_links a.rss:hover:before {
				color:#f17a00;
			}
	
		#footer #social_links a:hover {
			text-decoration: none;
		}
	
	.copyright {
		float: right;
		clear: right;
		padding-top: 15px;
	}
	
		#footer_links {
			display: inline;
		}
	
		#footer_links li {
			list-style: none;
			display: inline-block;
			margin-right: 15px;
			font-weight: bold;
		}



/**
 * Media queries
 */
@media ( max-width: 1080px ) {

	/* Make the side / background ads disappear */
	#wrapper_wrapper {
		width:100% !important;
	}
	.background_ad {
		display:none;
	}
	/* Stop making side / background ads disappear */


	#wrap {
		padding:0;
		background:none;
		width:100%;
	}
	
	#nav-toggle {
		display:inline-block;
		padding:10px 15px;
	}
	
	#nav {
		display:none;
	}
	
		#nav.open {
			-webkit-box-sizing:border-box;
			-moz-box-sizing:border-box;
			box-sizing:border-box;
			display:block;
			position:absolute;
			top:40px;
			left:0;
			z-index:1000;
			width:320px;
			height:auto;
			padding:0 15px 15px;
		}
		
			#nav.open li,
			#nav.open li a {
				float:none;
			}
			
			#nav.open li:hover ul {
				display:none;
			}
			
				#nav.open li:hover ul.open,
				#nav.open li ul.open {
					display:block;
					position:static;
				}
	
	.col-twothirds {
		-webkit-box-sizing:border-box;
		-moz-box-sizing:border-box;
		box-sizing:border-box;
		width:66.9902%;
	}
		
	
	.col-onethird {
		-webkit-box-sizing:border-box;
		-moz-box-sizing:border-box;
		box-sizing:border-box;
		width:32.0388%;
	}
	
	.format_flag {
		top:0;
		left:0;
		background:#bcbcbc;
	}
	
	#footer .col-full {
		width:auto;
	}
}

@media ( max-width: 960px ) {
	.site-name {
		float:none;
		margin:0 auto;
		width:140px;
	}
	
	#header,
	#header .col-full {
		padding:15px 0;
	}
	
	#header .ad,
	#footer .ad {
		float:none;
		margin:15px auto 0;
	}
	
	#footer .newsletter {
		float:none;
		margin:0 auto;
	}
}

@media ( max-width: 767px ) {
	#header .ad,
	#footer .ad {
		display:none;
	}
	
	.col-twothirds,
	.col-onethird {
		float:none;
		width:100%;
	}
	
	.potd_content_comments{
		float: none;
		width:100%;
		margin-left: auto;
		margin-right: auto;
	}
	
	.potd_sidebar{
		float: none;
		margin-left: auto;
		margin-right: auto;
	}

	.col-onethird aside {
		-webkit-box-sizing:border-box;
		-moz-box-sizing:border-box;
		box-sizing:border-box;
		width:50%;
		padding:0 15px;
		float:left;
	}
}

@media ( max-width: 560px ) {
	.col-onethird aside {
		padding:0;
		width:300px;
		float:none;
		margin:0 auto;

	}

	#above_comments_advertisements {
		width: 325px !important;
		margin-left: -15px;
	}
	
	.post-item .attachment-thumbnail {
		float:none;
		margin:3px 0 20px;
	}
	
	.has-thumb .post-content {
		margin:0;
	}
	
	.format-video .post-content {
		float:none;
		width:auto;
	}
	
	.post-video {
		float:none;
		margin-bottom:20px;
	}
	
	#footer #social_links {
		float:none;
		height:25px;
		width:150px;
		margin:10px auto 0;
		padding:5px 0 0 10px;
	}
	
	.copyright {
		float:none;
		clear:none;
		text-align:center;
	}
	
	img.alignleft,
	.wp-caption.alignleft,
	img.alignright,
	.wp-caption.alignright {
		float:none;
		margin:10px auto;
	}
}
	

@media ( max-width: 450px ) {
	#subnav li,
	.format_flag {
		display:none;
	}

	#subnav {
		display:none;
	}

	#social_links {
		display:none;
	}
	
	.nav-container {
		padding:0;
	}
	
	#searchform {
		margin-right:10px;
	}
	
	#social_links {
		padding-right:15px;
	}
	
	.col-full {
		padding:15px 0;
	}
	
	.post-item {
		padding:12px 15px 1px;
	}
	
	#footer_links {
		padding-left:15px;
	}
	
	.copyright span {
		white-space:nowrap;
	}
	
	.more_share {
		margin-bottom:30px;
		float:none;
		width:auto;
	}
	
	.related_posts {
		width:auto;
	}
	
	h1 {
		font-size:24px;
		line-height:30px;
	}

	/*Hide Post tags*/
	.post-tags {
		display:none;
	}

	/*Hide Youtube sidebar on single posts*/
	body.single #youtube-channel-2 {
		display:none;
	}

	/*Hide newsletter widget on single posts*/
	body.single #tfb_misc_widgets-4 {
		display:none;
	}

	/*Hide facebook widget on single posts*/
	body.single #tfb_misc_widgets-5 {
		display:none;
	}

	/*Hide G+ widget on single posts*/
	body.single #tfb_misc_widgets-8 {
		display:none;
	}

	/*Hide some share buttons on single posts*/
	body.single .st_plusone_hcount, body.single .st_stumbleupon_hcount, body.single .st_email_hcount {
		display:none;
	}

	/*Hide all share buttons on homepage*/
	body.home .st_facebook_hcount, body.home .st_fblike_hcount, body.home .st_twitter_hcount, body.home .st_reddit_hcount, body.home .st_plusone_hcount, body.home .st_stumbleupon_hcount, body.home .st_email_hcount {
		display:none;
	}

	/*Hide all share buttons on archives*/
	body.archive .st_facebook_hcount, body.archive .st_fblike_hcount, body.archive .st_twitter_hcount, body.archive .st_reddit_hcount, body.archive .st_plusone_hcount, body.archive .st_stumbleupon_hcount, body.archive .st_email_hcount {
		display:none;
	}

	/*Hide all share buttons on categories*/
	body.category .st_facebook_hcount, body.category .st_fblike_hcount, body.category .st_twitter_hcount, body.category .st_reddit_hcount, body.category .st_plusone_hcount, body.category .st_stumbleupon_hcount, body.category .st_email_hcount {
		display:none;
	}

	/*Move header up to reduce whitespace*/
	#header, #header > .col-full {
		padding-top:0px;
		padding-bottom:0px;
	}

	/*Scale logo down a bit*/
	h1.site-name > a {
		background-size: 75%;
	}
}

div.entry-summary p small {
  font-weight:bold;
}

.stButton {
    margin-left:0px !important;
}

/* Advertisements */
#above_comments_advertisements {
    text-align:center;
    width: 660px;
    margin: 0 auto;
    color: #d3d3d3;
}

#above_comments_advertisements iframe {
	width: 140px;
    height: 140px;
    display: inline-block;
    *display: inline; /* leading asterisk IS correct IE FIX*/
    zoom: 1; /* seems to fix drawing bug on border in IE 7 */
    margin-left: 10px;
    margin-right: 10px;
}

.above_comments_advertisement {
    width: 140px;
    height: 140px;
    display: inline-block;
    *display: inline; /* leading asterisk IS correct IE FIX*/
    zoom: 1; /* seems to fix drawing bug on border in IE 7 */
    margin-left: 10px;
    margin-right: 10px;
    background: #d3d3d3;
}

#sidebar_advertisement_300x250_1, #sidebar_advertisement_300x250_2 {
	width: 300px;
	height: 250px;
}

#sidebar_advertisement_300x110 {
	width: 300px;
	height: 110px;
}

#sidebar_advertisement_140x140_block div, #sidebar_advertisement_140x140_block iframe {
	width: 140px;
	height: 140px;
	display: inline-block;
    *display: inline; /* leading asterisk IS correct IE FIX*/
    zoom: 1; /* seems to fix drawing bug on border in IE 7 */
}
#sidebar_advertisement_140x140_block :nth-child(even) {
	float: right;
}

#sidebar_advertisement_140x140_block :nth-child(1) {
	margin-bottom: 15px;
}

hr.smallgap {
	margin: 10px 0;
}

/* Featured Image */
.wp-post-image{
	margin-left: auto;
	margin-right: auto;
	margin-top:0px;
	padding-top:0px;
}

/* POTD */
/* spans first 2/3 */

.potd_content_comments .ctx-module{
	display: none;
}
/* spans remaining 1/3 */

/* custom post types */

h1.special_page_title{
	margin-bottom: 10px;
}

/* highlight TFBTV. Sticky Overrides*/

body.home article.category-tfbtv {
        border: 4px solid black;
}

body.home article.category-giveaways{
    border: 4px solid grey;
}
body.home article.category-featured{
    border: 4px solid grey;
}


/* sticky highlight */

article.sticky {
        border: 4px solid #C00000;
}

/* custom category headings */

h1.header-post-type-patents{
	/* 660x248 */
	background: url(http://www.thefirearmblog.com/blog/wp-content/uploads/2015/01/patent-blog.png) no-repeat;
	width: 660px;
	height: 248px;
	text-indent: -9999px;
	display: block;
}

#nav-below{
	padding: none;
	border: none;
	margin: none;
	font-weight: bold;
}

.openx-ad {
	text-align: center;
}

.ad-heading {
	color: #999;
	font-size: 11px;
	letter-spacing: 1px;
	text-transform: uppercase;
}
.become-supporter {
    cursor: pointer;
    border: 0px solid #d3d3d3;
    padding-left: 5px;
    height: 90px;
    max-width: 100%;
    background-repeat:no-repeat; 
    background-position: right center;
}