/*
Theme Name: Kris Calvert Podcast
Author: iSimplifyMe
Author URI: http://isimplifyme.com/
Description: A custom theme for the Kris Calvert Podcast.
Version: 1.0
License: GNU General Public License
License URI: license.txt

*/

/* =Structure
-------------------------------------------------------------- */

* {
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	-o-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}
html {
	height: 100%;
}
body {
	height: 100%;
	margin: 0;
	font-family: brandon-grotesque, sans-serif;
}
a {
	color: #ccc2cc;
	text-decoration: none;
}
h1#site-headline,
h1.entry-title,
h3.widget-title {
    text-align: center;
    font-size: 30px;
	margin: 0 0 60px;
}
h1, h2, h3, h4, h5, h6 {
    margin: 0 0 20px;
}
p {
	margin: 20px 0;
}
#page {
	display: block;
	margin: 0 auto;
	min-height: 100%;
	background-color: #22263f;
	color: #FFF;
	padding-bottom: 40px;
}
#page:after {
	content: '';
	clear: both;
	display: block;
}
#primary {
	padding: 80px 0;
	width: 60%;
	margin: 0 auto;
}
#content {
}
#main .widget-area {
}
#secondary {
	clear: both;
	background-color: #FFF;
	padding: 80px 20%;
	color: #000;
}
#pod-descrip {
    font-size: 20px;
    text-align: center;
    margin-bottom: 100px;
}
article.post {
    margin: 100px 0;
}
article.post.blog-roll-item {
    margin: 40px 0;
    padding: 20px;
    background-color: #ccc2cc;
    color: #22263F;
}
article.post.blog-roll-item:after {
	clear: both;
	display: block;
	content: '';
}
article.post.blog-roll-item img {
    display: block;
    width: 25%;
    height: auto;
    float: left;
    margin-right: 30px;
}
article.post.blog-roll-item h2 {
	margin: 0;
	width: calc(75% - 30px);
    margin-left: calc(25% + 30px);
}
article.post.blog-roll-item a {
    color: #22263F;
}
article.post.blog-roll-item .entry-content a {
	text-decoration: underline;
}
time.entry-date {
    font-size: 10px;
    text-transform: uppercase;
    font-weight: bold;
    margin: 0 0 20px;
    display: block;
}
article.post.blog-roll-item time.entry-date {
	margin: 0;
}
article.post.blog-roll-item .entry-meta {
	clear: none;
	width: calc(75% - 30px);
    margin-left: calc(25% + 30px);
}
article.post.blog-roll-item .entry-content,
.itunes-link-wrapper {
	width: calc(75% - 30px);
    margin-left: calc(25% + 30px);
}
a.itunes-link {
    color: #22263f;
}
a.itunes-link:before {
    content: '▶';
    display: inline-block;
    color: #ccc2cc;
    background-color: #22263f;
    width: 20px;
    height: 20px;
    line-height: 22px;
    text-align: center;
    font-size: .6em;
    border-radius: 20px;
    margin: 1px 5px 0 0;
    vertical-align: top;
}

/* Increase the size of the content area for templates without sidebars */
.full-width #content,
.image-attachment #content,
.error404 #content {
	margin: 0;
}

/* Text meant only for screen readers */
.screen-reader-text,
.assistive-text {
	position: absolute !important;
	clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
	clip: rect(1px, 1px, 1px, 1px);
}

/* Alignment */
.alignleft {
	display: inline;
	float: left;
}
.alignright {
	display: inline;
	float: right;
}
.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

p#itunes-badge-wrapper {
    width: 200px;
    margin: 0 auto;
}
a#itunes-badge {
    display: block;
}
a#itunes-badge img {
    display: block;
    width: 100%;
    height: auto;
}


@media only screen and (max-width : 1000px) {
	#primary {
		width: 80%;
	}
	#secondary {
		padding: 80px 10%;
	}
}
@media only screen and (max-width : 800px) {
	#primary {
		width: 90%;
	}
	#secondary {
		padding: 80px 5%;
	}
}
@media only screen and (max-width : 600px) {
	#primary {
		width: auto;
		margin: 0 10px;
	}
	#secondary {
		padding: 80px 10px;
	}
	#page {
		padding-bottom: 0px;
	}
	#pod-descrip {
		font-size: 16px;
		margin-bottom: 50px;
	}
}
@media only screen and (max-width : 500px) {
	article.post.blog-roll-item img {
		width: 100%;
		float: none;
		margin-right: 0;
		margin-bottom: 20px;
	}
	article.post.blog-roll-item h2,
	article.post.blog-roll-item .entry-meta,
	article.post.blog-roll-item .entry-content,
	.itunes-link-wrapper {
		width: 100%;
		margin-left: 0;
	}
}


/* =Header
-------------------------------------------------------------- */

#branding {
	color: #22263f;
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ccc2cc+0,e6e1e6+87 */
	background: #ccc2cc; /* Old browsers */
	background: -moz-linear-gradient(left, #ccc2cc 0%, #e6e1e6 87%); /* FF3.6-15 */
	background: -webkit-linear-gradient(left, #ccc2cc 0%,#e6e1e6 87%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to right, #ccc2cc 0%,#e6e1e6 87%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ccc2cc', endColorstr='#e6e1e6',GradientType=1 ); /* IE6-9 */
	text-align: center;
	padding-top: 35%;
	position: relative;
}
#branding-table-wrapper {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0px;
	right: 0px;
	left: 0px;
	bottom: 0px;
}
#branding-table {
	background-image: url('img/kris-calvert.png');
	background-size: auto 95%;
	background-position: bottom right;
	background-repeat: no-repeat;
	width: 100%;
	height: 100%;
	display: table;
}
#branding-cell {
	width: 100%;
	height: 100%;
	display: table-cell;
	vertical-align: middle;
}
#site-title {
    font-size: 80px;
    margin: 0;
    line-height: 70px;
}
#site-title a {
	color: #000;
}
img#site-logo {
    display: block;
    margin: 0 auto;
    width: 500px;
    height: auto;
}
img#text-logo {
	display: none;
}
#branding h2 {
    font-size: 18px;
    margin: 0;
    line-height: 8px;
    text-transform: uppercase;
    letter-spacing: .15em;
}
@media only screen and (max-width : 1000px) {
	img#site-logo {
		width: 400px;
	}
}
@media only screen and (max-width : 800px) {
	img#site-logo {
		width: 300px;
	}
}
@media only screen and (max-width : 600px) {
	img#site-logo {
		display: none;
	}
	img#text-logo {
		display: block;
		height: auto;
		width: 60%;
		margin: 0 20px;
	}
	#branding h2 {
		font-size: 14px;
		line-height: normal;
	}
	#branding-table {
	}
}



/* =Menu
-------------------------------------------------------------- */

#access {
	background: #eee;
	display: block;
	float: left;
	margin: 0 auto 1em;
	width: 100%;
}
#access ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
}
#access li {
	float: left;
	position: relative;
}
#access a {
	display: block;
	line-height: 2em;
	padding: 0 1em;
	text-decoration: none;
}
#access ul ul {
	box-shadow: 0 3px 3px rgba(0,0,0,0.2);
	-moz-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
	-webkit-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
	display: none;
	float: left;
	position: absolute;
	top: 2em;
	left: 0;
	z-index: 99999;
}
#access ul ul ul {
	left: 100%;
	top: 0;
}
#access ul ul a {
	background: #dedede;
	line-height: 1em;
	padding: .5em .5em .5em 1em;
	width: 10em;
	height: auto;
}
#access li:hover > a,
#access ul ul :hover > a {
	background: #dedede;
}
#access ul ul a:hover {
	background: #cecece;
}
#access ul li:hover > ul {
	display: block;
}



/* =Forms
-------------------------------------------------------------- */

#searchform label {
	display: none;
}
#searchform input#s {
	width: 60%;
}
input[type=text],
input#s {
	margin: 0 1em 0 0;
	width: 60%;
}
textarea {
	width: 80%;
}
textarea,
input[type="text"],
input[type="email"],
input[type="button"],
input[type="submit"] {
     -webkit-appearance: none !important;
     border-radius: 0 !important;
}

/* Class for labelling required form items */
.required {
	color: #cc0033;
}

span.select {
	display: block;
	height: 40px;
	min-width: 100%;
	position: relative;
	vertical-align: top;
	margin-right: 40px;
}
span.select select {
	position: absolute;
	left: -10000px;
}
span.select-replace {
	border-radius: 4px;
	color: #FFF;
	display: block;
	width: 100%;
	position: absolute;
	top: 0px;
	left: 0px;
	box-sizing: border-box;
	outline: none;
	vertical-align: middle;
	zoom: 1;
	height: 40px;
	line-height: 40px;
	font-size: 16px;
	padding-left: 10px;
	background-color: #0055b7;
}
span.select-replace .toggle {
	position: absolute;
	right: 0px;
	top: 0px;
	bottom: 0px;
	background: #0055b7;
}
span.select-replace .toggle:before {
	content: '';
	display: block;
	position: absolute;
	width: 0px;
	height: 0px;
	border-style: solid;
	border-width: 6px 4px 0 4px;
	border-color: #FFF transparent transparent transparent;
	top: 20px;
	right: 15px;
}
span.select-replace .toggle:after {
	content: '';
	display: block;
	position: absolute;
	width: 0px;
	height: 0px;
	border-style: solid;
	border-width: 0 4px 6px 4px;
	border-color: transparent transparent #FFF transparent;
	top: 10px;
	right: 15px;
}
span.select-replace-label {
	display: block;
	height: 100%;
	padding-right: 40px;
	overflow: hidden;
}
span.drop-replace {
	text-align: left;
	min-width: 100%;
	display: block;
	position: absolute;
	top: 0px;
	left: 0px;
	background: #FFF;
	z-index: 5;
	max-height: 210px;
	overflow-y: scroll;
	border-radius: 4px;
	color: #0055b7;
	border: solid 2px #0055b7;
}
span.option-replace {
	display: block;
	padding: 0 10px;
	height: 30px;
	line-height: 30px;
	white-space: nowrap;
	cursor: pointer;
}
span.option-replace.selected {
	background: #0055b7;
	color: #FFF;
}
span.option-replace:hover {
	background: #000;
	color: #FFF;
}
span.checkbox {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	display: inline-block;
	position: relative;
	width: 30px;
	height: 30px;
	margin: 5px 0;
	vertical-align: middle;
}
span.checkbox-replace {
	display: block;
	position: absolute;
	text-align: center;
	top: 0px;
	left: 0px;
	z-index: 2;
	width: 30px;
	height: 30px;
	line-height: 26px;
	cursor: pointer;
	border: solid 8px #0055b7;
	border-radius: 4px;
	background-color: #0055b7;
}
span.checkbox-replace.checked {
	background-color: #fff;
}
span.checkbox input {
	position: absolute;
	z-index: 4;
	width: 30px;
	height: 30px;
	margin: 0;
	opacity: 0;
}


/* =Content
-------------------------------------------------------------- */

.entry-header {
    text-align: center;
}
.entry-header img {
	display: block;
	width: 100%;
	height: auto;
	max-width: 600px !important;
    margin: 0 auto 30px;
}
.sticky {
}
.entry-meta {
	clear: both;
	display: block;
}
.single-author .entry-meta .byline {
	display: none;
}
#content nav {
	display: block;
	overflow: hidden;
	display: none;
}
#content nav .nav-previous {
	float: left;
	width: 50%;
}
#content nav .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}
#content #nav-above {
	display: none;
}
.paged #content #nav-above,
.single #content #nav-above {
	display: block;
}
#nav-below {
	margin: 1em 0 0;
}
.page-link {
	clear: both;
	margin: 0 0 1em;
}
.page .edit-link {
	clear: both;
	display: block;
}

/* 404 page */
.error404 .widget {
	float: left;
	width: 33%;
}
.error404 .widget .widgettitle,
.error404 .widget ul {
	margin-right: 1em;
}
.error404 .widget_tag_cloud {
	clear: both;
	float: none;
	width: 100%;
}

/* Notices */
.post .notice,
.error404 #searchform {
	background: #eee;
	display: block;
	padding: 1em;
}

/* Image Attachments */
.image-attachment div.entry-meta {
	float: left;
}
.image-attachment nav {
	float: right;
	margin: 0 0 1em 0;
}
.image-attachment .entry-content {
	clear: both;
}
.image-attachment .entry-content .entry-attachment {
	background: #eee;
	margin: 0 0 1em;
	padding: 1em;
	text-align: center;
}
.image-attachment .entry-content .attachment {
	display: block;
	margin: 0 auto;
	text-align: center;
}

/* Aside Posts */
.format-aside .entry-header {
	display: none;
}
.single .format-aside .entry-header {
	display: block;
}
.format-aside .entry-content,
.format-aside .entry-summary {
	padding-top: 1em;
}
.single .format-aside .entry-content,
.single .format-aside .entry-summary {
	padding-top: 0;
}

/* Gallery Posts */
.format-gallery .gallery-thumb {
	float: left;
	margin: 0 1em 0 0;
}

/* Image Posts */
.format-image .entry-header {
	display: none;
}
.single .format-image .entry-header {
	display: block;
}
.format-image .entry-content,
.format-image .entry-summary {
	padding-top: 1em;
}
.single .format-image .entry-content,
.single .format-image .entry-summary {
	padding-top: 0;
}


/* =Images
-------------------------------------------------------------- */

a img {
	border: none;
}
p img {
	margin-bottom: 0.5em; /* a small bottom margin prevents content floating under images */
}
/*
Resize images to fit the main content area.
- Applies only to images uploaded via WordPress by targeting size-* classes.
- Other images will be left alone. Use "size-auto" class to apply to other images.
*/
img.size-auto,
img.size-full,
img.size-large,
img.size-medium,
.attachment img,
.widget-area img,
.wp-caption {
	max-width: 100%; /* When images are too wide for containing element, force them to fit. */
	height: auto; /* Override height to match resized width for correct aspect ratio. */
}
img.alignleft {
	margin-right: 1em;
}
img.alignright {
	margin-left: 1em;
}
.wp-caption {
	padding: .5em;
	text-align: center;
}
.wp-caption img {
	margin: .25em;
}
.wp-caption .wp-caption-text {
	margin: .5em;
}
.gallery-caption {
}
.wp-smiley {
	margin: 0;
}


/* =Comments
-------------------------------------------------------------- */

article.comment {
	display: block;
}
#respond input[type=text] {
	display: block;
	width: 60%;
}
#respond textarea {
	display: block;
	margin: 0 0 1em;
	width: 80%;
}
#respond .form-allowed-tags {
	clear: both;
	width: 80%;
}
#respond .form-allowed-tags code {
	display: block;
}


/* =Widgets
-------------------------------------------------------------- */

.widget {
	display: block;
}
.widget-area .widget_search {
	overflow: hidden;
}
.widget-area .widget_search input {
	float: left;
}

/* =Footer
-------------------------------------------------------------- */

#colophon {
    clear: both;
    display: block;
    width: 100%;
    position: fixed;
    height: 40px;
    line-height: 40px;
    background-color: #22263f;
    color: #FFF;
    bottom: 0px;
    left: 0px;
    right: 0px;
	z-index: 1000;
	font-size: 12px;
}
#colophon p {
	margin: 0 20px;
}
#footer-widgets {
	width: 50%;
	float: right;
	padding-left: 10px;
	border-left: 2px solid #3e4573;
}
#footer-address {
	width: 50%;
	float: left;
	padding-left: 10px;
}
@media only screen and (max-width : 600px) {
	#colophon {
		position: static;
		height: auto;
		line-height: normal;
		background-color: #22263f;
		padding-top: 20px;
	}
	#footer-widgets {
		width: 100%;
		float: none;
		padding: 0 10px;
		border-left: none;
	}
	#footer-address {
		width: 100%;
		float: none;
		padding: 20px 10px 1px;
		text-align:  center;
	}
	#footer-address p {
		margin: 0 0 20px;
	}
}
