/*
Title: CSS Styles for Moli Clark
Author: Megan Coleman Design | www.megancoleman.com
*/

/* Table of Contents
==================================================
	# Reset
	# General Styles
	# Main Content
	# Form Elements
	# Footer
	# Clear Fix
	# Browser Hacks
*/

/* @group Reset
================================================== */
/* 
Modified from html5doctor.com Reset Stylesheet v1.6.1
Author: Richard Clark - http://richclarkdesign.com 
*/
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video {margin:0; padding:0; font-size: 100%; border:0; outline:0; vertical-align:baseline; background:transparent;}
html {font-size:62.5%;}
body {line-height:1;}
article,aside,details,figcaption,figure, footer,header,hgroup,menu,nav,section { display:block;}
nav ul {list-style:none;}
blockquote, q {quotes:none;}
blockquote:before, blockquote:after, q:before, q:after {content:''; content:none;}
table {border-collapse:collapse; border-spacing:0;}
hr {display:block; height:1px; border:0; border-top:1px solid #cccccc; margin:1em 0; padding:0;clear:both;}
input, select {vertical-align:middle;}
img {max-width: 100%; height: auto; display: block;}
/* @end */

/* @group General
================================================== */

/*
font-family: 'Great Vibes', cursive;
font-family: 'Raleway', sans-serif;
font-weight: 400; regular
font-weight: 500; medium
font-weight: 700; bold
*/

body {
	background: #ffe7bc url('/c/back1.jpg') repeat;
	background-size: 1000px 1858px;
	font-family: 'Raleway', sans-serif;
	font-weight: 400;
	color: #333;
}

#intro h2, h3, body#about main h2, body#book main h2 {
	font-family: 'Great Vibes', cursive;
}

h2 {
	font-size: 24px;
	line-height: 1.3em;
	font-weight: 400;
	margin: 0 0 30px 0;
	color: #683454;
}

body#home h3, body#book h3, body#about main h2, body#book main h2 {
	font-size: 46px;
	line-height: 1.1em;
	font-weight: 400;
	color: #7a3d62;
	margin: 15px 0 30px;
}

body#book main h3 {
	font-size: 40px;
	margin-top: 50px;
}

body#about main h2,
body#book main h2 {
	margin: 55px 0 30px;
}

body#about main h2:first-child,
body#book main h2:first-child  {
	margin-top: 10px;
}

body#book main h3 {
	clear: both;
}

body#about h3 {
	font-size: 25px;
    margin: 0 0 20px 0;
    color: #7a3d62;
    font-weight: 400;
    font-family: 'Raleway', sans-serif;
}

p, ol {
	font-size: 18px;
	line-height: 1.4em;
}

ol {
	margin-bottom: 30px;
}

ol li {
	margin: 0 40px;
    padding-bottom: 10px;
}

em {
	font-weight: 400;
}

a.btn {
	background: #4f1f3c;
	display: inline-block;
	padding: 20px 30px;
	color: #fff;
	text-decoration: none;
}

a.btn.amazon {
	background: transparent url('/c/amazon-ico.png') no-repeat left top;
	background-size: 200px 62px;
	width: 140px;
	text-indent: -999999px;
}

/* @end */

/* @group Header
================================================== */

header {
	background: #996fa0 url('/c/header1.jpg') no-repeat center top;
	background-size: cover;
	background-position: top left;
	min-height: 200px;
	position: relative;
}

header img {
	padding: 8px 20px;
    max-width: 90%;
}

header h1 {
	display: none;
}

#intro h2 {
	font-size: 36px;
	line-height: .8em;
	color: #fff;
	margin-bottom: 30px;
	text-shadow: 2px 1px 4px #4e4e4e;
}

#intro {
	background: #7c4d6d;
	max-width: 100%;
}

#intro .inner {
	padding: 40px;
	position: relative;
}

#intro p {
	font-size: 20px;
	line-height: 1.3em;
	color: #fff;
	max-width: 200px;
}

#intro img {
	float: right;
    /*margin-top: -160px;*/
    max-width: 170px;
    position: absolute;
    right: 0;
	bottom: -40px;
}

/* @end */

/* @group Navigation
================================================== */

nav ul {
	background: rgba(124, 77, 109, .6);
	text-align: right;
	max-width: 335px;
	padding: 0 10px;
	float: right;
}

nav ul li {
	display: inline-block;
	text-transform: uppercase;
	font-size: 16px;
	padding: 20px 8px;
	color: #fff;
	letter-spacing: 1px;
}

nav ul li a {
	padding: 10px 10px 16px 10px;
	color: #fff;
	text-decoration: none;
}

nav ul li a:hover {
	color: #f4d9e7;
}

nav ul li.active a {
	color: #f4d9e7;
	border-bottom: 3px solid #f4d9e7;
}

/* @end */

/* @group Main
================================================== */

main {
	padding: 60px 40px;
}

main p {
	margin: 0 0 30px 0;
	max-width: 700px;
}

main a {
	color: #7a3d62;
}

main img {
	max-width: 240px;
	margin-bottom: 30px;
}

dl {
	font-size: 18px;
	line-height: 1.2em;
	margin-bottom: 40px;
}

dt {
	font-weight: 600;
	margin-bottom: 10px;
}
	dl.overwhelmed dt {
		text-transform: uppercase;
		color: #4f4f4f;
	}
	dl.fun dt {
		font-style: italic;
		color: #eb7200;
	}

dd {
	margin-bottom: 20px;
}

blockquote {
	font-size: 18px;
    line-height: 1.4em;
    color: #333;
    margin: 0 0 40px 0;
    padding: 40px 0 0px;
    border-top: 1px solid #ecc188;
}

main blockquote:first-of-type {
	border-top: none;
	padding-top: 10px;
	background-position: 0;
}
/* @end */

/* @group About the Book
================================================== */

#book-intro {
	background: #7c4d6d;
	color: #fff;
	padding: 40px;
	clear: both;
    margin-top: 30px;
}

body#home #book-intro h3 {
	color: #fff;
	text-shadow: 2px 1px 4px #4e4e4e;
}

#book-intro p {
	margin-bottom: 30px;
}

#book-intro img {
	max-width: 300px;
}

/* @end */

/* @group Email Signup
================================================== */

aside#signup {
	background: url('/c/back3.jpg') repeat-x left bottom;
	background-size: 1993px 1859px;
	min-height: 300px;
	text-align: center;
	padding: 60px;
}

.box {
	margin: 0 auto;
	padding: 60px 30px;
	max-width: 400px;
	background-color: rgba(255, 255, 255, 0.6);
	box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.2);
	-webkit-box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.2);
	-moz-box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.2);
}

aside#signup h2 {
	color: #333;
	font-size: 22px;
}

aside#signup p {
	color: #333;
	font-size: 16px;
}

aside#signup p {
	max-width: 330px;
    margin: 0 auto 30px;
}

#custom-substack-embed form {
	margin: 0 auto !important;
	max-width: 36rem !important;
	height: 4rem !important;
}

#custom-substack-embed input, 
#custom-substack-embed button {
	font-size: 16px !important;
	font-weight: 400 !important;
	letter-spacing: 0 !important;
}

#custom-substack-embed .success {
    color: #eb7200 !important;
    margin-top: 2.5rem !important;
	}

.custom-substack-widget input {
	padding: 6px 12px 6px 16px !important;
}

/* @end */

/* @group Footer
================================================== */

footer {
	background: #eb7200;
	padding: 20px;
	text-align: center;
	color: #ffefd5;
}

footer p {
	font-size: 14px;
}

footer a:link, footer a:active, footer a:visited {
	color: #ffefd5;
}

/* @end */

/* ------------------- Under 550px ------------------*/
@media all and (max-width: 34.38em) {
	#custom-substack-embed form {
	display: block !important;
	border: none !important;
	border-radius: 0 !important;
    --sce-input-text-color: #eb7200;
	}

	#custom-substack-embed input {
	padding-left: 0 !important;
	padding-right: 0 !important;
	width: 100% !important;
	text-align: center !important;
	border: none !important;
	background: #fff !important;
	color: #eb7200 !important;
	}
	
	
	#custom-substack-embed button {
	width: 100% !important;
	display: block !important;
	border: none !important;
	}
}

/* ------------------- 400px up ------------------*/
@media all and (min-width: 25em) {
		header {
			min-height: 240px;
		}
}

/* ------------------- 550px up ------------------*/
@media all and (min-width: 34.38em) {
	header {
			min-height: 260px;
		}
	#intro h2 {
	font-size: 42px;
}	
		
	body#book main h3 {
	text-align: center;
	clear: both;
	background: url('/c/back-line.png') repeat-x center;
	background-size: 1px 1px;
}

	body#book main h3 span {
	background: url(/c/back4.png) no-repeat center center;
	background-size: 1000px 2px;
	padding: 0 15px;
}

	#intro p {
			max-width: 380px;
		}
}

/* ------------------- 700px up ------------------*/
@media all and (min-width: 43.75em) {
	#intro {
		min-height: 155px;
	}
	
	#intro h2 {
	font-size: 56px;
	}
	
	#intro p {
		max-width: 500px;
	}
	
	header img {
		margin-top: 0;
		float: left;
		padding: 0 0 0 30px;
		max-width: 75%;
	}
	
	#intro img {
		/*margin-top: -230px;*/
		max-width: 240px;
	}
	
	#book-intro {
		padding: 10px 40px;
	}
	
	#book-intro p:first-of-type {
		float: left;
		max-width: 350px;
	}
	
	#book-intro p:last-of-type {
		clear: both;
	}
	
	#book-intro img {
		max-width: 300px;
		float: right;
		margin-top: -300px;
	}
	
	.btn {
		float: left;
		margin-right: 20px;
	}
	
	blockquote {
		min-height: 60px;
	}
	
	blockquote.lquote {
		padding-left: 80px;
		background: url('/c/quotes-left.png') no-repeat left 45px;
		background-size: 60px 52px;
	}
	
	blockquote.rquote {
		padding-right: 80px;
		background: url('/c/quotes-right.png') no-repeat right bottom;
		background-size: 60px 52px;
	}
	
	a.btn.amazon {    
    margin-bottom: 50px;
	}
	
	body#book main h3 {
	font-size: 52px;
	}
}

/* ------------------- 870px up ------------------*/
@media all and (min-width: 54.38em) {
	header {
		min-height: 330px;
	}
	header img {
		margin-top: 0;
		padding: 0;
	}
	
	.inner {
		max-width: 750px;
		margin: 0 auto;
	}
	
	#intro img {
		/*right: 290px;*/
	}
	
	main img.right {
		float: right;
		clear: right;
		margin-left: 30px;
		margin-bottom: 30px;
	}
	main img.left {
		float: left;
		margin-right: 30px;
	}
	
	.box {
		max-width: 500px;
	}
}

/* ------------------- 1090px up ------------------*/
@media all and (min-width: 68.13em) {
	header {
		background-position: center left;
		min-height: 300px;
	}
	
	header img {
		margin-top: 20px;
		max-width: 650px;
	}
	.inner {
		max-width: 1000px;
	}
	
	#intro h2 { 
		font-size: 66px;
	}
	
	#intro p {
		font-size: 26px;
		line-height: 1.3em;
		padding: 0 0 0 80px;
	}
	#intro img {
		margin-top: -280px;
		max-width: 300px;
	}
	
	h2 {
		font-size: 27px;
	}
	
	body#book main h3,
	body#home h3, 
	body#book h3, 
	body#about main h2,
	body#book main h2 {
		font-size: 64px;
	}
	
	dl {
		margin-top: 60px;
	}
	
	dt {
		float: left;
	    padding: 0 20px 0 0;
	    width: 190px;
	    text-align: right;
	}
	dd {
    margin-bottom: 30px;
	}
	
	main img.left {
		margin-top: 30px;
	}
	
	#book-intro p:first-of-type {
		max-width: 550px;
	}
	
	#book-intro p a {
		margin-left: 340px;
	}
	aside#signup {
		padding: 90px;
	}
	
	body#book main img {
		max-width: 280px;
	}
}