/*
Theme Name:     Clear Tranquil
Description:    Clear Tranquil is a Highwind Child Theme with a strong focus on blogging / readability. Everything has been stripped back allowing your content room to breath and be the focus of your visitors attention.
Author:         James Koster
Template:       highwind
Version:        1.0.0
Tags:			white, sticky-post, threaded-comments, custom-background, custom-colors, custom-header, custom-menu, featured-images, light

*/

@import '../highwind/framework/less/grid.less';
@import '../highwind/framework/less/mixins.less';
@import '../highwind/style.css';

body {
	font-family: "Droid Serif", "Cambria", "Georgia", serif;
	font-size: 1.125em;
	color: #85868a;
	line-height: 1.777;
}

body,
.header,
.main-nav {
	background-color: #f5f6f6;
}

h1,
h2,
h3,
h4,
h5,
h6,
.heading,
.omega,
.psi,
.alpha,
.beta,
.gamma,
.delta {
	font-family: 'Lato', 'Helvetica Neue', sans-serif;
	font-weight: 400;
	margin-bottom: 1em;

	a {
		font-weight: 700;
		border-bottom: 1px solid rgba(0,0,0,0.1);

		&:hover {
			border-bottom: 1px solid rgba(0,0,0,0.2);
		}
	}
}

h1,
h2 {
	letter-spacing: -1px;
}

h3 {
	font-size: 1em;
	font-weight: 700;
}

* + h1,
* + h2,
* + h3,
* + h4 {
	margin-top: 1.777em;
}

.gallery-caption,
.wp-caption-text {
	font-family: 'Lato', 'Helvetica Neue', sans-serif;
	font-weight: 400;
	.opacity(0.5);
}

em {
	font-family: 'Lato', 'Helvetica Neue', sans-serif;
}

strong,
dt {
	font-weight: 700;
}

p,
li {
	text-align: justify;
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="search"],
input.input-text,
textarea,
input[type="submit"],
.button,
input[type="button"],
.navigation-post a,
.navigation-paging a,
fieldset,
.comments .comment-content {
	.border_radius(0);
}

img {
	.border_radius(0);
}

.main-nav {
	font-family: 'Lato';
	font-weight: 400;
}

.header {
	border-bottom: 4px double rgba(0,0,0,0.1);
	margin-bottom: 0;
	text-align: center;

	.site-intro {
		.avatar {
			margin: 0 auto 1em;
			-webkit-box-shadow:
				.563em .317em 0 0 fade(#e05753,50%),	// red
				0 .563em 0 0 fade(#e0aa53, 50%),		// orange
				-.317em .563em 0 0 fade(#dcdf53,50%),	// yellow
				-.563em -.563em 0 0 fade(#49c458, 50%),	// green
				0 -.317em 0 0 fade(#49a1c4, 50%),		// blue
				.563em 0 0 0 fade(#6449c4,50%),			// indigo
				.563em -.317em 0 0 fade(#cc4c8c, 50%);	// violet
			box-shadow:
				.563em .317em 0 0 fade(#e05753,50%),	// red
				0 .563em 0 0 fade(#e0aa53, 50%),		// orange
				-.317em .563em 0 0 fade(#dcdf53,50%),	// yellow
				-.563em -.563em 0 0 fade(#49c458, 50%),	// green
				0 -.317em 0 0 fade(#49a1c4, 50%),		// blue
				.563em 0 0 0 fade(#6449c4,50%),			// indigo
				.563em -.317em 0 0 fade(#cc4c8c, 50%);	// violet
		}
	}

	.site-title {
		font-weight: 700;
	}

	.site-title,
	.site-description {
		text-shadow: none;
		text-align: left;
		text-align: center;
	}

	.site-description {
		font-family: "Droid Serif", serif;
		text-transform: none;
		letter-spacing: 0;
		border: 0;
		margin-top: 0;
		font-style: italic;
	}
}
.site-title,
.site-description {
	color: #383737;
}

.main-nav {
	border-bottom: 1px solid rgba(0,0,0,0.1) !important;
}

.comment-author {
	font-family: "Lato", sans-serif;
	font-weight: 400;
}

.comments .comment-author .comment-meta {
	font-size: .75em;
}

.comment-content {
	font-family: "Lato" sans-serif;
}

.comments .reply {
	font-size: .75em;
}

.post .article-content {
	padding-bottom: 1.777em;
}

.post-meta {
	font-family: "Lato", sans-serif;
	font-size: .844em;
	border-top: 4px double rgba(0,0,0,0.1);
	padding-top: 1.777em;
	font-weight: 400;
	text-align: center;

	li {
		margin-right: 1.5em;
		padding-right: 1.5em;

		&:last-child {
			padding-right: 0;
			margin-right: 0;
		}
	}
}

.post-date {
	font-size: .75em;
	font-style: italic;
	position: relative;
	display: block;

	&:before {
		display: none;
	}
}

input[type="submit"],
.button,
input[type="button"],
.navigation-post a,
.navigation-paging a,
input[type="submit"]:hover,
.button:hover,
input[type="button"]:hover,
.navigation-post a:hover,
.navigation-paging a:hover {
	font-family: "Lato", sans-serif;
	font-weight: 700;
	font-size: .844em;
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="search"],
input.input-text,
textarea {
	-webkit-box-shadow:none;
	box-shadow:none;
}

.comments .bypostauthor .comment-content,
.comments .comment-content {
	-webkit-box-shadow:none;
	box-shadow:none;
}

.footer {
	background-color: none !important;
	border-top: 4px double rgba(0,0,0,0.1);
}

.navigation-post,
.navigation-paging {
	margin-left: -999em;
	margin-right: -999em;
	padding: 1.5em 999em;
	margin-bottom: 5.61em;
	background-color: rgba(0,0,0,0.025);
}

.comments-title {
	margin-bottom: 1.5em;
}

article.post,
article.page {
	padding: 5.61em 0;
	margin: 0;

	&:nth-child(even) {
		background-color: rgba(0,0,0,0.025);
		position: relative;
		margin-left: -999em;
		margin-right: -999em;
		padding-left: 999em;
		padding-right: 999em;
	}

	&:nth-child(1) {
		border-top: 0;
	}

	.post-header {
		text-align: center;
		margin-bottom: 1.5em;
		padding-bottom: 1.5em;

		.post-title {
			text-align: center;
			margin-top: 0;
			font-weight: 700;
		}
	}

	blockquote {
		margin-left: -999em;
		margin-right: -999em;
		padding: 2.665em 999em;
		color: #f5f6f6;
		background: #5fb9c6;
		.opacity(1);
		font-family: "Lato" sans-serif;
	}
}

.single {
	article.post,
	article.page {
		.article-content > p:first-of-type {
			&:first-letter {
				font-size: 2em;
				float: left;
				font-style: normal;
				padding: 0 .201em;
				color: #f5f6f6;
				background-color: #5fb9c6;
				margin-right: .201em;
				font-family: "Droid Serif", "Cambria", "Georgia", serif;
				text-shadow: 2px 2px 0 rgba(0,0,0,0.1);
			}
		}
	}
}

img.wp-post-image {
	margin-bottom: 2.665em;
	box-shadow:
		0 0 0 1em rgba(0,0,0,0.025);
}

@media only screen and (min-width: 769px) {
	body {
		font-size: 1.333em;
	}

	.inner-wrap,
	.main-nav .highwind-navigation {
		max-width:41.995em;
	}

	.inner-wrap {
		padding: 0 5.61em;
	}

	.background-contrast {
		.header,
		.footer {
			margin-left: -5.61em;
			margin-right: -5.61em;
		}

		a.site-intro {
			padding: 0;
			width: 100%;
			float: none;
		}

		.footer {
			padding-left: 5.61em;
			padding-right: 5.61em;
		}
	}

	.content,
	.footer .footer-content {
		width: 100%;
		float: none;
		margin: 0;

		p {
			float: none;
		}
	}

	.footer {
		background-color: none !important;

		.footer-content {
			display: block;

			p {
				text-align: center;
			}
		}
	}

	.main-nav .highwind-navigation {
		ul {
			font-size:.844em;
		}
	}

	.page-title,
	.site-title {
		font-weight: 700;
		font-size: 2.369em;
	}

	.post-title {
		font-size: 1.777em;
	}

	img.alignleft,
	.alignleft {
		margin-left: -3.157em;
	}

	img.alignright,
	.alignright {
		margin-right: -3.157em;
	}

	.csstransforms3d.csstransitions .background-contrast .main-nav {
		left: 0;
	}

	.background-contrast .site-intro {
		padding: 0 3.157em;
		margin-left: 0;
		margin-right: 0;
	}

	.background-contrast .main-nav ul.menu {
		margin-left: 0;
		margin-right: 0;
	}
}

@media only screen and (min-width: 1500px) {
	body {
		font-size: 1.333em;
	}
}