/*
Theme Name: LF
Theme URI: Custom work
Author: LFP
Author URI: http://www.larryflynt.com
Description: Primary layout for LarryFlynt.com blog.
Version: 1.0
License: Do not redistribute.
*/


body{
	background-color:#fff;
	color:#7a7a7a;
	font-family: 'Open Sans', sans-serif;
	font-size:100%;
	margin:0 auto;}

h1,h2,h3,h4,h5,h6{font-family: 'Oswald', sans-serif;}

a{outline:none;}

a:hover{
	color:#ed0000;
	text-decoration:underline;}

a img{border:0;}

img{
	max-width:100%;
	width:auto;}
	
.post section .wp-caption{
	font-size:12px;
	font-style:italic;
	margin:15px;}
	
	.post section .wp-caption p{margin:0;}

header{
	float:left;
	margin-bottom:35px;
	max-width:100%;
	width:100%;}
	
	.brand{
		display:block;
		margin:0 auto;
		max-width:60%;}
		
		.brand img{width:100%;}
	
	.larry-quote{
		display:none;
		clear:both;
		margin:20px auto;
		max-width:40%;
		width:100%;}
		
	.quote{
		color:#131313;
		float:left;
		max-width:60%;
		text-align:right;
		width:100%;}
		
		.quote h1, .quote h2{margin:8px 0 0 0;}
		
		.quote h1, .quote h2{
			font-size:18px;
			font-weight:normal;}
	
		.larry-quote img{
			float:right;
			margin-left:10px;}
			
nav{
	background-color:#221e1f;
	clear:both;
	float:left;
	max-width:100%;
	padding:0;
	text-align:center;
	width:100%;}
	
	nav a{
		box-sizing:border-box;
		-moz-box-sizing:border-box;
		-ms-box-sizing:border-box;
		-webkit-box-sizing:border-box;
		color:#fff;
		display:block;
		font-family: 'Oswald', sans-serif;
		font-size:20px;
		max-width:100%;
		padding:16px 0;
		text-decoration:none;
		text-transform:uppercase;
		width:100%;}
		
		nav a:hover{
			background-color:#312c2e;
			color:#fff;
			text-decoration:none;}
		
	nav ul{
		margin:0;
		padding:0;}
		
		nav li{
			float:left;
			list-style:none;
			margin:0;
			max-width:20%;
			padding:0;
			width:100%;}
			
			nav li:first-child{margin-left:0;}
			
			nav li:last-child{margin-right:0;}
			
			nav li.current_page_item a{
					background-color:#ed0000;
					color:#fff;}

main{
	box-sizing:border-box;
	-moz-box-sizing:border-box;
	-ms-box-sizing:border-box;
	-webkit-box-sizing:border-box;
	display:block;
	margin:0 auto;
	max-width:1000px;
	padding:40px 10px;
	width:100%;}
	
.banner-ad{
	box-sizing:border-box;
	-moz-box-sizing:border-box;
	-ms-box-sizing:border-box;
	-webkit-box-sizing:border-box;
	clear:both;
	float:left;
	height:auto;
	margin:30px 0;
	max-width:100%;
	width:100%;}
	
	.banner-ad img{
		display:block;
		margin:0 auto;
		max-width:728px;
		width:100%;}
	
.column-left{
	clear:both;
	float:none;
	max-width:100%;
	width:100%;}
	
	.search.mobile form{
		float:left;
		max-width:100%;}
	
.column-right{
	clear:both;
	float:none;
	max-width:100%;
	width:100%;}
	
	.column-right .search{display:none;}

.post{
	clear:both;
	float:left;
	margin-bottom:33px;
	max-width:100%;
	width:100%;}
	
.posted{
	box-sizing:border-box;
	-moz-box-sizing:border-box;
	-ms-box-sizing:border-box;
	-webkit-box-sizing:border-box;
	float:left;
	max-width:37%;
	position:relative;
	width:auto;}
	
	.posted img{
		display:block;
		position:relative;
		max-height:220px;
		width:100%;}
	
	.posted span{
		background-color:#fff;
		border:1px solid #dedede;
		bottom:17px;
		box-sizing:border-box;
		-moz-box-sizing:border-box;
		-ms-box-sizing:border-box;
		-webkit-box-sizing:border-box;
		color:#2e2e2e;
		display:inline-block;
		font-family: 'Oswald', sans-serif;
		font-size:12px;
		left:0;
		max-width:90%;
		padding:10px;
		position:absolute;
		text-align:center;
		width:100%;}

.post.summary section{
	float:left;
	font-size:15px;
	margin-left:3%;
	max-width:60%;
	width:100%;}
	
	.column-left .post.summary:last-of-type{margin-bottom:15px;}
	
	.post.summary section p{
		max-height:85px;}
	
	.post.summary h1, .post.summary h5{
		color:#464646;
		font-weight:normal;
		margin:0;
		padding:0;}
		
		.post.summary h5, .publication{text-transform:uppercase;}
		
	.post.summary h1 a, .post.summary h5 a{
		color:#464646;
		text-decoration:none;}
		
		.post.summary h1:hover a, .post.summary h5:hover a{color:#ed0000;}
	
	.post.summary h1{
		font-size:23px;
		line-height:28px;
		text-transform:uppercase;}
	
	.post.summary h5{
		font-size:16px;
		font-weight:lighter;}
		
	.post.summary p{line-height:22px;}
	
	.read-more{
		color:#000;
		font-family: 'Oswald', sans-serif;
		font-size:11px;
		text-decoration:none;
		text-transform:uppercase;}
		
		.read-more:hover{text-decoration:underline;}
		
.view-all{
	box-sizing:border-box;
	-moz-box-sizing:border-box;
	-ms-box-sizing:border-box;
	-webkit-box-sizing:border-box;
	clear:both;
	float:left;
	max-width:100%;
	width:100%;}
	
	.view-all .button{
		background-color:#ebebeb;
		color:#000;
		float:right;
		font-family: 'Oswald', sans-serif;
		font-size:11px;
		padding:11px 8px;
		text-decoration:none;
		text-transform:uppercase;}
		
		.view-all .button:hover{
			background-color:#dddddd;
			color:#ed0000;}
		
.search{
	float:left;
	margin-bottom:26px;
	max-width:100%;
	width:100%;}
	
	.search.mobile{display:block;}
	
	.rss{
		background-color:#aeaeae;
		color:#fff;
		float:left;
		font-size:32px;
		padding:10px 14px;}
		
	.rss:hover{background-color:#e67e22;}
		
	.search form{
		float:right;
		max-width:73%;
		position:relative;
		right:0;
		width:100%;}
	
	.search-icon{
		font-size:26px;
		position:absolute;
		right:20px;
		top:13px;}
		
	.search input{
		border:1px solid #747474;
		box-sizing:border-box;
		-moz-box-sizing:border-box;
		-ms-box-sizing:border-box;
		-webkit-box-sizing:border-box;
		float:right;
		font-size:18px;
		height:52px;
		max-width:100%;
		padding:0 50px 0 0;
		text-align:center;
		width:100%;}
		
		::-webkit-input-placeholder {
			color: #3d3d3d;
			font-family: 'Oswald', sans-serif;
			text-transform:uppercase;}
		
		:-moz-placeholder { /* Firefox 18- */
			color: #3d3d3d;
			font-family: 'Oswald', sans-serif;
			text-transform:uppercase;}
		
		::-moz-placeholder {  /* Firefox 19+ */
			color: #3d3d3d;
			font-family: 'Oswald', sans-serif;
			text-transform:uppercase;}
		
		:-ms-input-placeholder {
			color: #3d3d3d;
			font-family: 'Oswald', sans-serif;
			text-transform:uppercase;}
			
.latest-posts{
	border:1px solid #9c9b9b;
	box-sizing:border-box;
	-moz-box-sizing:border-box;
	-ms-box-sizing:border-box;
	-webkit-box-sizing:border-box;
	float:left;
	margin-top:30px;
	max-width:100%;
	width:100%;}
	
	.latest-posts h2{
		background-color:#aeaeae;
		color:#272727;
		font-size:23px;
		font-weight:normal;
		margin:0;
		padding:16px;
		text-align:center;
		text-transform:uppercase;}
		
	.latest-posts ul{
		box-sizing:border-box;
		-moz-box-sizing:border-box;
		-ms-box-sizing:border-box;
		-webkit-box-sizing:border-box;
		float:left;
		margin:10px 0 0 0;
		max-width:100%;
		padding:6% 6% 0 6%;
		width:100%;}
		
		.latest-posts li{
			clear:both;
			float:left;
			list-style:none;
			margin:8px 0;
			max-width:100%;
			padding:0;
			width:100%;}
			
			.latest-posts li:first-child{margin-top:0;}
			
			.latest-posts li:last-child{margin-bottom:0;}
			
	.latest-posts img{
		float:left;
		height:100%;
		margin-right:4.5%;
		max-width:30%;
		width:100%;}
		
	.latest-posts a{
		color:#131212;
		text-decoration:none;}	
		
		.latest-posts a:hover{color:#ed0000;}
		
	.latest-posts p{
		float:left;
		font-family: 'Oswald', sans-serif;
		font-size:16px;
		margin:2%;
		max-width:60%;
		text-transform:uppercase;}
		
	.latest-posts .button{
		background-color:#ebebeb;
		color:#000;
		float:right;
		font-family: 'Oswald', sans-serif;
		font-size:11px;
		margin:10px 20px 20px 10px;
		padding:11px 8px;
		text-decoration:none;
		text-transform:uppercase;}
		
		.latest-posts .button:hover{background-color:#dddddd;}
		
.block-ad{
	box-sizing:border-box;
	-moz-box-sizing:border-box;
	-ms-box-sizing:border-box;
	-webkit-box-sizing:border-box;
	float:left;
	margin:33px 0;
	max-width:100%;
	width:100%;}
		
.latest-issue{
	border:1px solid #9c9b9b;
	box-sizing:border-box;
	-moz-box-sizing:border-box;
	-ms-box-sizing:border-box;
	-webkit-box-sizing:border-box;
	float:left;
	max-width:100%;
	padding:20px;
	text-align:center;
	width:100%;}
	
	.latest-issue h3{
		color:#000;
		font-size:19px;
		font-weight:normal;
		margin:0;
		margin-bottom:20px;
		padding:0;
		text-transform:uppercase;}
		
.post{
	font-size:14px;
	line-height:24px;}
	
.post.single{margin-bottom:0;}
	
.post section p{margin:20px 0;}

.post p a{
	color:#122ada;
	text-decoration:none;}
	
	.post p a:hover{text-decoration:underline;}

.post section h3{
	font-size:20px;
	font-weight:lighter;
	line-height:28px;
	margin:0;}
	
.post section h1, .sub-header h1{
	color:#464646;
	font-size:33px;
	font-weight:normal;
	line-height:42px;
	margin:0;	
	text-transform:uppercase;}
	
	.sub-header{margin-bottom:30px;}
	
.featured-image{
	float:left;
	margin:30px 0;
	max-width:100%;
	width:100%;}
	
	.featured-image img{
		max-width:100%;
		width:100%;}
		
.social-share{
	clear:both;
	float:left;
	max-width:100%;
	width:100%;}
	
.button.prev, .button.next{
	box-sizing:border-box;
	-moz-box-sizing:border-box;
	-ms-box-sizing:border-box;
	-webkit-box-sizing:border-box;
	max-width:110px;
	text-align:center;
	width:100%;}

.button.prev{float:left;}
	
.post-meta{
	border:1px solid #898989;
	border-left:0;
	border-right:0;
	clear:both;
	float:left;
	font-family: 'Oswald', sans-serif;
	font-size:12px;
	margin:30px 0;
	max-width:100%;
	padding:30px 0;
	text-transform:uppercase;
	width:100%;}
	
	.post-meta ul{
		margin:0;
		padding:0;}
		
	.post-meta li{
		color:#2e2e2e;
		list-style:none;
		margin:0;
		padding:0;}
		
	.post-meta span{color:#7a7a7a;}
	
	.post-meta a{
		color:#2e2e2e;
		text-decoration:none;}
	
	.post-meta a:hover{color:#ed0000;}
	
.sub-header{
	clear:both;
	float:left;}

	.sub-header h1{
		font-weight:normal;
		margin-top:0;
		text-transform:uppercase;}
	
.pagination-wrapper{
	box-sizing:border-box;
	-moz-box-sizing:border-box;
	-ms-box-sizing:border-box;
	clear:both;
	float:left;
	margin:20px 0 0 0;
	max-width:100%;
	width:100%;}
	
	.pagination-wrapper.post a{
		background-color:#ebebeb;
		color:#000;
		font-family: 'Oswald', sans-serif;
		font-size:11px;
		margin:0;
		max-width:120px;
		padding:11px 8px;
		text-align:center;
		text-decoration:none;
		text-transform:uppercase;
		width:100%;}
		
		.pagination-wrapper.post a:hover{background-color:#dddddd;}
		
		.alignleft, .float-left a{float:left;}
		.alignright, .float-right a{float:right;}
		
		img.alignleft{margin:20px 20px 20px 0;}
		img.alignright{margin:20px 0 20px 20px;}
		
footer{
	border-top:7px solid #221e1f;
	box-sizing:border-box;
	-moz-box-sizing:border-box;
	-ms-box-sizing:border-box;
	clear:both;
	font-size:13px;
	margin:0 auto;
	max-width:1000px;
	width:100%;}
	
	.footer-items{
		clear:both;
		float:left;
		max-width:100%;
		padding:40px 0;
		width:100%;}
	
	.footer-section{
		box-sizing:border-box;
		-moz-box-sizing:border-box;
		-ms-box-sizing:border-box;
		clear:both;
		float:left;
		max-width:100%;
		padding:10px 30px;
		width:100%;}
		
		.footer-section h4{
			color:#000;
			font-size:16px;
			font-weight:normal;
			margin:0;
			text-transform:uppercase;}
		
		.footer-section ul{
			float:left;
			margin:20px 0 0 0;
			padding:0;}
			
			.footer-section li{
				list-style:none;
				margin:0 0 5px 0;
				padding:0;}
				
		.footer-section a{
			color:#7a7a7a;
			text-decoration:none;}
			
			.footer-section a:hover{
				color:#ed0000;
				text-decoration:underline;}
	
.footer-copyright{
	border-top:1px solid #7a7a7a;
	float:left;
	font-size:11px;
	text-align:center;
	width:100%;}
		
		
		
 
/* Landscape phones and down */
@media (max-width: 480px) { 

	.brand{max-width:80%;}
	
	.brand img{
		max-width:100%;
		width:100%;}
		
	nav a{font-size:12px;}
	
	.posted, .posted img{
		max-width:100%;
		width:100%;}
		
	.post.summary{border-bottom:1px solid #ccc;}	
		
	.post.summary section{
		margin:20px 0;
		max-width:100%;}
		
	.latest-posts li{
		border-bottom:1px solid #ccc;
		padding:5px;}
		
	.latest-posts p{
		font-size:14px;
		max-width:100%;}
	
	.latest-posts img{display:none;}
	
	.read-more{font-size:13px;}

}
 
/* Landscape phone to portrait tablet */
@media (max-width: 768px) { ... }
 
/* Portrait tablet to landscape and desktop */
@media (min-width: 768px) and (max-width: 980px) { ... }
 
 
/* Large desktop */
@media (min-width: 980px) { 

	.brand{
		float:left;
		max-width:50%;}
	
	.larry-quote{
		clear:none;
		display:block;
		float:right;
		margin:0 auto;
		max-width:54%;
		width:100%;}
		
		.quote{
			float:left;
			max-width:72%;}
		
		.quote h1, .quote h2{font-size:22px;}
		
		.search.mobile{display:none;}
		
		.column-left{
			clear:none;
			float:left;
			max-width:70%;
			width:100%;}
			
			.search.mobile{display:none;}
		
		.column-right{
			clear:none;
			float:right;
			max-width:27%;
			width:100%;}
			
			.column-right .search{display:block;}
			
		.banner-ad{
			height:90px;
			margin:40px 0;}
			
		.latest-posts{
			border:1px solid #9c9b9b;
			box-sizing:border-box;
			-moz-box-sizing:border-box;
			-ms-box-sizing:border-box;
			-webkit-box-sizing:border-box;
			float:left;
			margin:0;
			max-width:100%;
			width:100%;}
			
			.latest-posts p{
				float:left;
				font-family: 'Oswald', sans-serif;
				font-size:12px;
				margin:2%;
				max-height:55px;
				max-width:61%;
				text-transform:uppercase;}
				
				.footer-section{
					clear:none;
					float:left;
					max-width:30%;
					padding:0;
					width:100%;}
					
					.footer-section:last-of-type{max-width:10%;}

}