/* @override 
	http://davidcampany.com/site/wp-content/themes/campany/style.css */

/*
Theme Name:     David Campany
Theme URI:      http: //davidcampany.com
Description:    Child theme of Boilerplate
Author:         David Campany
Author URI:     http: //goodcaesar.com
Template:       davidcampany
Version:        1.1
*/

@import url("bootstrap.css");

body {
	height: 100%;
	background: #fff;
	color: #505050;
	z-index:10;
	font-family: 'Verlag A', 'Verlag B',helvetica,arial,sans-serif; 
}

img {
	max-width: 100%;
	height: auto;
}

a {
	-o-transition-property: color;
	-webkit-transition-property: color;
	-moz-transition-property: color;
	transition-property: color;
	 -o-transition-duration: 0.2s;
	 -webkit-transition-duration: 0.2s;
	 -moz-transition-duration: 0.2s;
	 transition-duration: 0.2s;	
	 text-decoration:underline;
	 color: #222;
}

::-moz-selection { 
	background:#3cb3e1; 
	color: #222; 
	text-shadow: none; 
}

::selection {
	background:#3cb3e1;
	color: #115782; 
	text-shadow: none;
}


*, *:after, *:before {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

/* Top header */

header#site {
	z-index:1 ;
	margin: 0 0 2em 0;
	padding: 0;	
	background:#efefef;
	
	-webkit-border-bottom-right-radius: 3px;
	-webkit-border-bottom-left-radius: 3px;
	-moz-border-radius-bottomright: 3px;
	-moz-border-radius-bottomleft: 3px;
	border-bottom-right-radius: 3px;
	border-bottom-left-radius: 3px;
	
}

	header h1 {
		font-weight: 600; 
		font-style: normal;	
		font-size: 1.4em;
		margin: 0;
		padding: 0;
		line-height:1;
	}
	
	header h1 a:link,
	header h1 a:visited {
		color: #222;
		padding: 0.5em;
		display:block;
		text-decoration:none;
	}
	
	
	
		header hgroup {
			float: left;
			margin: 0 0.4em;
		}
		
			header h1 a:hover {
				color: #999;
			}
	
	nav#access {
		text-transform:uppercase;
		display:inline-block;;
	}

		nav#access ul {
			margin: 0;
			padding: 0;
			text-align:right;
		}

			nav#access li {
				font-weight: 700; 
				font-style: normal;
				display:inline-block;
				padding: 0;
				margin:0;
				line-height:1.6;
				font-size: 1rem;
			}
						
				nav#access li a {
					color: #333;
					padding:1.1em 0.8em; 
					display:block;
					text-decoration:none;
				}
				
				nav#access li.current-menu-item a,
				nav#access li a:hover {
					background:#fff;
				}
								
				@media (min-width:989px) { 
				
					nav#access li {
						font-size:95%;
					}
					
					nav#access li a {
						padding:0.9em;
					}
					
				}
		
	
button.navbar-toggler {
	border:none;
	padding:0.4em;
	float:right;
	font-weight:600;
	font-size:1.7rem;
	background:none;
}

button.navbar-toggler.open {
	background:#222;
	color:#fff;
}
		
.menu-mobile-container{
	display:none;
}
		
.menu-mobile-container.active {
	display:block;
	position:fixed;
	top:6rem;
	left:0;
	width:100%;
	background:#fff;
	z-index:300;
	height:100vh;		
}

h2.center {
	text-align:center;
}

.menu-mobile-container ul {
	list-style:none;
	margin:0;
	padding:0;
	text-align:center;	
}

.menu-mobile-container ul li {
	font-size:2.5rem;
	padding:0.25rem 0;	
} 

.menu-mobile-container ul li a {
	text-decoration:none;
}
					
section#content {
	padding: 0;
	margin: 5em auto 0 auto;
	max-width:70em;
	background:#fff;
}
	.entry-meta {
		margin: 0 0 1em 0;
		text-transform:uppercase;
	}
	
/* Listing */

.article-teaser {
	text-align: center;
	position:relative;
	margin: 0 0 5em 0;
	padding: 0 0 1em 0;
	color: #505050;
}
		
	.article-teaser h3 {
		margin: 0.5em 0 0.1em 0;
		padding:0;
		line-height:1.4;
		font-size: 90%;
		font-weight:500;
		text-transform:uppercase;
	}
	
		.article-teaser h3 a {
			color: #505050;
		}
	
		.insider {
			padding: 0.5em;
		}
		
		.article-teaser img {
		}
	
		.article-teaser h3 a {
			text-decoration:none;
			color: #222;
		}
		
		.article-teaser:hover {
			border-color: #ccc;
			cursor:pointer;
		}

		.article-teaser ul {
			margin: 0.2em 0 0 0;
			padding:0;
		}

		.article-teaser li {
			display:inline-block;
			font-size: 100%;
			margin: 0;
			padding:0;
		}

		.article-teaser .medium {
			font-size: 85%;
			width: 100%;
			text-align:center;
			text-transform:uppercase;
		}
		
		.article-teaser .medium a {
			background:#efefef;
			padding:0.2em 0.4em;
			text-align:center;
			-webkit-border-radius:1em;
			-moz-border-radius:1em;
			border-radius:1em;
			color: #505050;
			text-decoration:none;
		}
		
			.article-teaser .medium a:hover {
				background:#ccc;				
			}

/* FULL CONTENT ARTICLE */

h1,h2 {
	font-weight:normal;
}

.full-content {
	max-width:1100px;
	margin: 0 auto;
}

.full-content h1.articletitle {
	text-align:center;
	margin: 0 0 0.1em 0;
	line-height:0.8;
	line-height:1;
	color: #333;
	font-size: 8em;
	letter-spacing:-4px;
}

.full-content h2 {
	font-size: 1.6em;
	text-align:center;
	color: #333;
	font-weight:500;
	line-height:1.1;
	margin: 0 0 0.4em 0;
}

	.full-content h2.subline {
		font-size: 2.5em;	
		line-height:1.2;
		margin: 0;
		padding: 0;
	}
	
	.full-content h2.entry-title {
		font-weight:700;
		font-size: 9em;
	}

p,h3,li {
}

p,li {
	font-size: 1.3em;
}

p {
	line-height:1.4;
}

.full-content blockquote {
	width: 20em;
	margin: 0 2em 0 -9em;
	float:left;
	display:block;
}

.full-content blockquote p {
	font-family:"kepler-std",georgia,times,"Times NewRoman",serif;
	font-size: 2em;
	line-height:1.1;
	margin: 0.5em 0;
	font-weight:500;
}

.full-content p,.full-content li {
	margin: 0 0 1em 0;
	color: #575757;
}

.full-content article.post p {
	font-weight:500;
}

.full-content .entry-content {
	position:relative;
}

.full-content footer.entry-utility {
	margin: 2em 0;
}

.full-content header.article {
	margin: 2em 0 4em 0;
}

/* CAPTION */

.full-content article.post {
	margin: 0 0 10em 0;
}

.full-content article.post .wp-caption p,
.full-content article.post .wp-caption dd {
	color: #656565;
	font-weight: 400;
	text-align:left;
	padding: 0 0 0.5em 0;
	margin: 0;
	line-height:1.5;
	font-family: kepler-std-caption,georgia,serif;
}

 article.full-content .entry-content {
	width: 50em;
	margin: 0 auto;
}
	
.full-content .wp-caption {
	margin: 0;
	max-width:100%;
	padding: 0;
	position:relative;
	text-align:center;
}

	.full-content .wp-caption-text {
		color: #fff;
		width: 100%;
		left: 0;
		bottom: 0;	
	}

	.full-content .wp-caption img {
		text-align:center;
	}
	
	.full-content .wp-caption.alignnone {
		margin: 2em 0 1em -10em;
	}
	
	.full-content .wp-caption.alignright {
		float:right;
		margin: 0 -10em 2em 2em;
	}
	
	.full-content .wp-caption.alignleft {
		float:left;
		margin: 0 1em 1em -10em;
	}
	
	.full-content .wp-caption.aligncenter {
		margin: 0 auto 2em auto;
	}
	
	.full-content .wp-caption p.wp-caption-text {
		margin: 0;
		padding: 0.5em;
		text-align:left;
		line-height:1.5;
	}
	
	.full-content article.post ol {
		width: 47em;
		clear: both;
		margin: 1em 0 1em 1.5em;
	}

		.full-content article.post ol li {
			color: #999;
			line-height:1.5;
			font-size: 90%;
			margin-bottom: 0.5em;
		}

.wp-caption {
	margin-bottom: 3em;
}
		
.wp-caption p.wp-caption-text {	
	margin: 0.3m 0;
	color: #666;
	font-size: 100%;
}	

@media handheld and (max-width: 480px), 
screen and (max-device-width: 480px), 
screen and (max-width: 600px)  {
	
	.article-teaser {
		text-align:center;	
		margin: 0 auto;
		width: 100%;
	}
	
	.article-teaser .medium { 
		margin-top: 1em;
		position:relative;
	}
	
	.full-content {
		max-width: auto;
		margin: 0 1em;
	}
	
	 article.full-content .entry-content { 
	 	width: auto;
	 }
	
	.full-content h1.articletitle {
		font-size: 2.5em;
		letter-spacing:0;
	}

	.full-content h2.subline {
		font-size: 1.4em;
		line-height:1.2;
	}

	.full-content .entry-content p {
		font-size: 1.3em;		
		line-height:1.4;
	}

	.full-content blockquote {
		float: none;
		width: auto;
		margin: 2em 0;
	}
	
	.full-content .wp-caption {
		float: none;
		margin: 0;
		padding: 0;
	}
		
	.full-content .wp-caption.alignleft,
	.full-content .wp-caption.alignright,
	.full-content .wp-caption.aligncenter {
		float: none;
		text-align:center;
		margin: 1em auto;
	}

	.full-content .wp-caption p {	
		font-size: 1.1em;
		color: #999;
	}


		.full-content article.post ol {
			width: auto;
			margin: 0;
			padding:0;
		}	
		
			.full-content article.post ol li {
				margin: 0;
				padding:0;
			}


}
	

/* REDUCED */

article.reduced-content p {
	margin: 0 0 1em 0;
}

	article.reduced-content h2 {
		font-size: 1.4em;
		margin-top: 0.3em;
		text-transform:uppercase;
		
	}

	article.reduced-content hgroup {
		margin-bottom: 1.5em;
	}

	article.reduced-content ul {
		list-style:none;
		margin: 0 0 2em 0;
	}

	article.reduced-content h1 {
		font-size: 2em;
		line-height:1.4;
		margin-top:0;
	}
	
	article.reduced-content img {
		margin-bottom:0.5em;
	}

	article.reduced-content h3 {
		margin-top: 1em;
		margin-bottom: 0.5em;	
		font-weight:normal;
		font-size: 1.4em;
	}
	
	article.reduced-content blockquote {
		margin: 0.5em 0 2em 0;
		display:block;
		padding-left: 1em;
		border-left: 7px solid #efefef;
	}
	
	article.reduced-content .more-content {		
		margin-top: 6em;
	}
	
	article.reduced-content .more-content.archive {
		margin-top: 0;				
	}
	
	article.reduced-content .more-content.archive h3 {
		margin-top: 2em;
		font-size: 1.8em;
	}
	

/*********************
VIDEO NAVIGATION & EMBEDS
*********************/

.embed-vimeo,
.embed-youtube {
	font-size: 11px;
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
	margin-top: 0em;
	margin-bottom: 1em;
}

.embed-vimeo iframe,  
.embed-vimeo object,  
.embed-vimeo embed,
.embed-youtube iframe,
.embed-youtube object, 
.embed-youtube embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}



/*layouts smaller than 600px, iPhone and mobiles*/
@media handheld and (max-width: 480px), screen and (max-device-width: 480px), screen and (max-width: 600px)  {

	h1,
	h1.articletitle {
		font-size: 3.4em;
		letter-spacing:0;
	}

	h2,
	h2.subline {
		font-size: 2em;
		margin: 0.5em 0;
	}

	section#content {
		width: 100%;
		margin: 0;
		max-width:100%;
	}
		
	article .entry-content,
	article.post ol {
		margin: 0 0.5em;
		width: auto;	
	}
	
	article .entry-content p {
		font-size: 1.1em;
		line-height:1.4;
	}
	
	.frame,
	article footer.entry-utility {
		width: 100%;
	}
	
	.wpcaption,
	.wp-caption.alignnone,
	.wp-caption.alignright,
	.wp-caption.alignleft {
		float:none;
		margin: 1em 0;
	}
	
	article ol,
	article ul {
		margin: 0 4em;
	}
	
	blockquote o
		font-size: 1.6em;
		width: auto;
		float:none;
		margin: 1em 0;
	}

/* FOOTER */

footer {
	margin: 3em 0;
	text-align:center;
}

	footer ul {
		list-style:none;
		margin: 0;		
	}
	
		footer ul li {
			display: inline-block;
			margin: 0 1em;
			font-size: 90%;
		}
		
			footer ul li a {
				text-decoration:none;
			}