/*
Medium purple: #57497f
Dark purple: #453663
Very light purple: #c9c0e1
Teal: #017680
Dark teal: #01535a
*/

html,body {
	background: #fff;
	font-family: 'Raleway', sans-serif;
	font-size: 16px;
}
body {
	color: #333;
	padding: 0;
	overflow-x: hidden;
}
img {
	height: auto;
}
figcaption {
	border-bottom: 2px #aba4bf solid;
	color: #666;
	font-size: 0.75em;
	padding: 4px 6px 12px 6px;
	text-align: center;
}
strong {
	font-weight: 700;
}
hr {
	border: none;
	background: #dad2f1;
	height: 4px;
	margin: 0;
}
h1,h2 {
	color: #453663;
	display: block;
	font-size: 2.5em;
	padding-bottom: 20px;
}
h1 a, h2 a {
	color: #57497f;
}
h1 a:hover,
h2 a:hover {
	color: #017680;
}
h3 {
	font-size: 1.5rem;
	font-weight: 500;
	letter-spacing: 0.063rem;
	padding-bottom: 20px;
	text-transform: uppercase;
}
h4 {
	color: #453663;
	font-size: 1.25em;
	font-weight: 700;
	padding-bottom: 15px;
	text-transform: uppercase;
}
article {
	font-weight: 500;
}
article h2 {
	border-top: 7px #cce4e6 solid;
	clear: both;
	color: #017680;
	font-size: 1.5rem;
	margin-top: 20px;
	padding: 30px 0;
	text-align: center;
	text-transform: uppercase;
}
article h3 {
	clear: both;
	color: #017680;
	font-size: 1.25em;
	margin-top: 30px;
	padding-bottom: 8px;
	text-align: center;
	text-transform: uppercase;
}
article h2.thick {
	border-top: 9px #cce4e6 solid;
	margin-top: 40px;
}
article h2.purple {
	border-top: 9px #dddbe5 solid;
	color: #57497f;
	margin-top: 40px;
}

body.page-id-4281 h2 {
	margin-top: 40px;
}

p {
	line-height: 170%;
	padding-bottom: 20px;
}
blockquote {
	line-height: 160%;
	padding-bottom: 20px;
}
a {
	color: #017680;
	font-weight: 500;
	text-decoration: none;
}
a:hover {
	color: #453663;
}

.more,
.more a {
	font-weight: 500;
	letter-spacing: 0.063em;
	text-transform: uppercase;
}

.button {
	background: #57497f;
	border: 0;
	display: inline-block;
	color: #fff;
	cursor: pointer;
	font-weight: 400;
	letter-spacing: 0.063em;
	padding: 20px 40px;
	text-align: center;
	text-transform: uppercase;
}
.button:hover {
	color: #fff;
	background: #6751a7;
}

.buy_button {
	background-color: #57497f;
	margin: 30px auto;
	width: 250px;
}
.buy_button span {
	color: #fff;
	display: block;
	font-weight: 500;
	letter-spacing: 0.125em;
	padding: 20px 0;
	text-align: center;
	text-transform: uppercase;
	width: 250px;
}
.buy_button nav {
	display: none;
}
.buy_button:hover nav,
.buy_button.open nav {
	background-color: #57497f;
	display: inline-block;
	margin: 0;
	list-style: none;
	position: absolute;
	width: 250px;
	z-index: 600;
}
.buy_button nav a {
	color: #fff;
	font-weight: 500;
	display: block;
	padding: 10px;
	text-align: center;
	text-transform: uppercase;
}
.buy_button nav a:hover {
	color: #c9c0e1;
}


.wp-block-embed {
	display: block;
	margin: 0 auto 20px auto;
	text-align: center;
}

.wp-block-media-text {
	padding-bottom: 20px;
}

.wp-block-pb-accordion-item {
	padding: 8px 0;
}
.wp-block-pb-accordion-item h4 {
	text-transform: none;
}
.c-accordion__content {
	padding: 15px 30px;
}


@media( max-width: 950px ) {
	.wp-block-image {
		display: block;
		text-align: center;
	}
}

.content_wrapper {
	margin: 0 auto;
	max-width: 1100px;
	min-width: 350px;
	padding: 0 15px;
	width: 100%;
}
.page_wrapper {
	padding: 60px 15px 20px 15px;
}
.standard_page .content_wrapper {
	max-width: 950px;
}
p.has-large-font-size {
	font-size: 2em;
}

article ul,
.page_wrapper ul {
	margin: 20px 20px 40px 20px;
	list-style-type: circle;
}
article ol,
.page_wrapper ol {
	margin: 20px 20px 40px 20px;
	list-style-type: square;
}
.page_wrapper ul li,
.page_wrapper ol li,
article ul li,
article ol li {
	line-height: 150%;
	margin: 15px;
}
article ul li,
.page_wrapper ul li {
	background: transparent url('../images/list-dot.png') left 7px no-repeat;
	padding-left: 20px;
}

article ol li,
.page_wrapper ol li {
	list-style-type: decimal;
}


.aligncenter,
.wp-block-image .aligncenter {
	display: block;
	margin: 15px auto;
}

.alignright,
.wp-block-image .alignright {
	float: right;
	margin-bottom: 30px;
	margin-left: 30px;
}
.alignleft,
.wp-block-image .alignleft {
	float: left;
	margin-bottom: 30px;
	margin-right: 30px;
}

@media( max-width: 600px ) {
	.alignright,
	.alignleft {
		display: block;
		float: none;
		margin: 15px auto;
	}

}

.cell_gray		{ background-color: #f5f3f0; color: #333 }
.cell_purple	{ background-color: #57497f; color: #fff; }
.cell_teal		{ background-color: #017680; color: #fff; }
.cell_teal a	{ color: #acd7e4; }
.cell_teal a:hover	{ color: #01535a; }

/* flex grid */
.grid_wrapper {
	display: flex;
	flex: 0 0 50%;
	justify-content: start;
	flex-wrap: wrap;
}

.grid_cell {
	align-items: stretch;
	display: flex;
	flex: 0 0 50%;
	height: auto;
	justify-content: center;
	overflow: hidden;
}
.grid_cell::before {
	content: '';
	float: left;
	padding-top: 100%;
}
.grid_cell img {
	width: 100%;
}
.grid_text h2 {
	font-size: 1.5rem;
	text-transform: uppercase;
}
.grid_text_large h2 {
	font-size: 1.125em;
	line-height: 1.5em;
}
.grid_text {
	align-items: center;
	flex-grow: 1;
	flex: 1 0 auto;
	border: 0;
	display: flex;
	justify-content: center;
	padding: 50px;
	width: 100%;
}
.grid_text_large {
}
.grid_text_medium {
	font-size: 1.25em;
}
.subgrid {
	display: flex;
	flex-wrap: wrap;
	justify-content: start;
}
.subgrid_cell {
	align-items: stretch;
	display: flex;
	flex: 0 0 50%;
	height: auto;
	justify-content: center;
	overflow: hidden;
}
.subgrid_cell::before {
	content: '';
	float: left;
	padding-top: 100%;
}
.subgrid_cell .grid_text {

}

@media( max-width: 1300px ) {
	.has_subgrid,
	.has_subgrid .grid_cell {
		display: block;
	}
}

@media( max-width: 1000px ) {
	.grid_wrapper {
		display: block;
	}

	.grid_cell {
		display: block;
	}
}
@media( max-width: 700px ) {
	.grid_cell,
	.subgrid,
	.subgrid_cell {
		display: block;
		flex: none;
	}

	.grid_cell::before,
	.subgrid_cell::before {
		content: '';
		float: none;
		padding-top: 0;
	}
	.grid_text {
		display: block;
		flex: none;
		padding: 30px 20px 0 20px;
	}
	.subgrid_cell .grid_text {
		padding: 0 20px;
	}
	.subtext .grid_text {
		padding: 10px 20px;
	}
	.first_subtext .grid_text {
		padding: 30px 20px 0 20px;
	}
	.grid_text blockquote {
		padding-bottom: 0;
	}

}

/* header / navigation */
#rollout_menu {
	background: #cdc6e2;
	box-shadow: 2px 2px 6px 2px rgba( 0, 0, 0, 0.2 );
	max-width: 800px;
	right: -810px;
	position: fixed;
	top: 0;
	transition: right 1s;
	width: 90%;
	z-index: 500;
}
#rollout_menu a {
	color: #332850;
	font-weight: 500;
}
#rollout_menu a:hover {
	color: #017680;
}
body.menu_open #rollout_menu {
	right: 0;
}

#rollout_menu > ul {
	display: table;
	margin: 10px 0 30px 0;
	width: 100%;
}
#rollout_menu > ul > li {
	border-right: 3px #c0b8d7 solid;
	display: table-cell;
	padding: 5px 25px;
	vertical-align: top;
}
#rollout_menu > ul > li:last-child {
	border-right: 0;
}
#rollout_menu > ul > li ul {
	padding: 0 20px;
}
#rollout_menu > ul > li:last-child ul {
	padding: 0;
}
#rollout_menu > ul > li:last-child ul ul {
	padding: 0 20px;
}

#rollout_menu li {
	padding: 5px;
}
#nav_close {
	padding: 20px 20px 0 0;
	text-align: right;
}
#close_button {
	background: transparent url('../images/nav_close.png') no-repeat;
	cursor: pointer;
	display: inline-block;
	height: 27px;
	width: 80px;
}
#rollout_footer {
	background-color: #57497f;
	display: table;
	padding: 20px;
	text-align: center;
	width: 100%;
}
#rollout_newsletter {
	display: table-cell;
	vertical-align: middle;
}
#rollout_newsletter a.button {
	background-color: #017680;
	color: #fff;
}
#rollout_newsletter .button:hover {
	background-color: #019ca9;
}


#rollout_social {
	display: table-cell;
	vertical-align: middle;
}
#rollout_social h4 {
	color: #cdc6e2;
	font-size: 1.625em;
}
#rollout_social h5 {
	color: #978abb;
	font-size: 0.5em;
	letter-spacing: 0.063em;
	text-transform: uppercase;
}
#rollout_social .social_nav {
	margin-top: 20px;
}


#site_header {
	display: table;
	height: 110px;
	width: 100%;
}
#site_logo {
	display: table-cell;
	padding: 25px 15px;
	vertical-align: middle;
	width: 375px;
}
#site_nav {
	display: table-cell;
	padding: 25px;
	text-align: right;
	vertical-align: middle;
	width: auto;
}
#site_burger {
	display: table-cell;
	padding: 25px 0;
	text-align: center;
	width: 83px;
}
#burger_button {
	background: transparent url('../images/burger_button.png') no-repeat;
	cursor: pointer;
	display: inline-block;
	height: 53px;
	width: 53px;
	transition: all 0.5s;
}
body.menu_open #burger_button {
	transform: rotate(90deg);
}


#menu_overlay_bg {
	display: none;
}
body.menu_open #menu_overlay_bg {
	background-color: rgba( 0, 0, 0, 0.3 );
	display: block;
	height: 100%;
	position: fixed;
	width: 100%;
	z-index: 100;
}


#main_menu > ul > li {
	display: inline-block;
}
#main_menu > ul > li > ul {
	display: none;
}
#main_menu > ul > li:hover > ul {
	background-color: #fff;
	box-shadow: 1px 1px 3px rgba( 0, 0, 0, 0.4 );
	display: block;
	position: absolute;
	z-index: 9000;
}
#main_menu > ul > li:hover > ul > li {
	display: block;
	text-align: left;
}
#main_menu a {
	display: block;
	font-size: 0.813em;
	font-weight: 700;
	padding: 12px 15px;
	text-transform: uppercase;
}
#main_menu a:hover,
#main_menu .current-menu-item a {
	color: #57497f;
}

@media( max-width: 1100px ) {
	#main_menu a {
		padding: 12px;
	}
}
@media( max-width: 1000px ) {
	#main_menu {
		display: none;
	}

	#site_header {
		display: block;
		height: auto;
	}
	#site_logo {
		display: block;
		text-align: center;
		width: 100%;
	}
	#site_logo img {
		max-width: 325px;
		width: 100%;
	}
	#site_nav {
		display: none;
	}
	#site_burger {
		display: block;
		width: 100%;
	}
}
@media( max-width: 750px ) {
	#rollout_menu > ul {
		columns: 2;
		display: block;
		margin-top: 0;
		position: relative;
	}
	#rollout_menu li {
		padding: 4px;
	}
	#rollout_menu > ul > li {
		border-right: 0;
		display: inline-block;
		padding-bottom: 15px;
	}
	#rollout_menu > ul > li ul ul {
		display: none;
	}

	#rollout_footer {
		display: block;
	}
	#rollout_newsletter,
	#rollout_social {
		display: block;
	}
	#rollout_newsletter {
		padding-bottom: 20px;
	}
}


/* homepage */
.slider_item {
	background-size: cover;
	background-position: 50% 50%;
	background-repeat: no-repeat;
	height: calc( 100vh - 110px );
	max-height: 700px;
	min-height: 550px;
}
.slider_inner {
	padding: 130px 6% 0 52%;
}
.slider_inner > figure {
	display: block;
	padding: 50px;
}
.slider_inner p {
	font-size: 0.938em;
}

.slick-dots {
	margin-top: -30px;
	position: absolute;
	text-align: center;
	width: 100%;
}
.slick-dots li {
	display: inline-block;
	margin: 0 10px;
	vertical-align: middle;
}
.slick-dots button {
	background: transparent url('../images/slider_dot_off.png') no-repeat;
	border: 0;
	cursor: pointer;
	display: inline-block;
	font-size: 0 !important;
	height: 12px;
	vertical-align: middle;
	width: 12px;
}
.slick-dots .slick-active button {
	background: transparent url('../images/slider_dot_on.png') no-repeat;
}
.slick-arrow {
	background-color: transparent;
	background-repeat: no-repeat;
	cursor: pointer;
	border: 0;
	font-size: 0 !important;
	height: 61px;
	position: absolute;
	top: calc( 100vh / 2.6 );
	width: 33px;
	z-index: 50;
}
.slick-prev {
	background-image: url('../images/arrow_left_2.png');
	left: 50px;
}
.slick-next {
	background-image: url('../images/arrow_right_2.png');
	right: 50px;
}
@media( max-width: 780px ) {
	.slider_item {
		background-position: 0 50%;
		height: auto;
	}
	.slider_inner {
		padding: 80px 5% 90px 5%;
	}
	.slider_inner figure {
		background-color: rgba( 255, 255, 255, 0.6 );
	}
	.slick-arrow {
		display: none;
	}
}

.banner {
	padding: 80px 50px 50px 50px;
	text-align: center;
}
.banner_large {
	padding: 50px;
}
.banner p {
	margin: 0 auto;
	max-width: 1100px;
}
#hp_banner_immortal_life {
	font-size: 1.875em;
	padding-left: 0;
	padding-right: 0;
}
#hp_banner_immortal_life p {
	padding-bottom: 0;
	padding-left: 0;
	padding-right: 0;
}
#hp_meet_rebecca .more {
	font-weight: 700;
}
@media( max-width: 950px ) {
	.banner {
		padding: 60px 0;
	}
	.banner_large {
		padding: 25px;
	}
}


/* books page */
#books_hero {
	background-position: 100% 100%;
	background-repeat: no-repeat;
	background-size: cover;
	font-size: 1.875em;
	padding: 100px 0;
}
#books_hero blockquote {
	max-width: 620px;
}
#books_hero cite {
	color: #017680;
	font-size: 20px;
}
@media( max-width: 950px ) {
	#books_hero {
		background-position: 50% 0;
		padding: 60px 0;
	}
	body.page-template-page-about #books_hero {
		background-image: url('../images/Skloot-Mobile-AboutRebecca.jpg') !important;
	}
	body.page-template-page-articles #books_hero,
	body.page-id-33 #books_hero {
		background-image: url('../images/Skloot-Mobile-Articles_Contact.jpg') !important;
	}
	body.page-template-page-immortal-life #books_hero {
		background-image: url('../images/Skloot-Mobile-Book.jpg') !important;
	}
	body.page-template-page-human-animal #books_hero {
		background-image: url('../images/Skloot-Mobile-ForthcomingBook.jpg') !important;
	}
	body.page-id-103 #books_hero,
	body.page-id-107 #books_hero,
	body.page-id-109 #books_hero {
		background-image: url('../images/Skloot-Mobile-Movie.jpg') !important;
	}
	body.page-id-121 #books_hero,
	body.page-id-123 #books_hero {
		background-image: url('../images/Skloot-Mobile-Teachers_Reading.jpg') !important;
	}
	body.page-id-4540 #books_hero {
		background-image: url('../images/Skloot-Mobile-WritingResources.jpg') !important;
	}
	body.page-template-page-speaking #books_hero {
		background-image: url('../images/Skloot-Mobile-Speaking.jpg') !important;
	}


	#books_hero blockquote {
		background-color: rgba( 0, 0, 0, 0.7 );
		color: #fff;
		margin: 0 auto;
		padding: 40px;
	}
}

#books_banner {
	font-size: 1.875em;
}

/* book subpages */
.subpage_wrapper {
	display: table;
	margin: 80px auto 40px auto;
	max-width: 1100px;
	width: 100%;
}
.subpage_content {
	display: table-cell;
	padding-right: 80px;
	vertical-align: top;
}
.subpage_sidebar {
	display: table-cell;
	vertical-align: top;
	width: 320px;
}
.subpage_sidebar img {
	width: 100%;
}

.subpage_nav h4 {
	border-bottom: 4px #cddbe1 solid;
	font-weight: 700;
	font-size: 0.875em;
	color: #4e4d4d;
	padding: 12px 0;
	text-align: center;
	text-transform: uppercase;
}
.subpage_nav a {
	border-bottom: 1px #e1e9ed solid;
	color: #553862;
	display: block;
	font-weight: 700;
	font-size: 0.875em;
	padding: 16px 0 16px 35px;
	text-transform: uppercase;
}
.subpage_nav a:hover {
	color: #017680;
}
.subpage_nav a.current_page {
	color: #017680;
}
.subpage_nav nav a {
	color: #017680;
	padding-left: 70px;
}
.subpage_nav nav a:hover {
	color: #553862;
	padding-left: 70px;
}
.subpage_content blockquote {
	border-bottom: 2px #b1a8cb solid;
	margin-bottom: 20px;
}
.subpage_content blockquote cite {
	color: #453663;
	font-size: 14px;
	text-align: right;
}


@media( max-width: 950px ) {
	.subpage_wrapper {
		display: block;
	}
	.subpage_content {
		display: block;
		padding: 20px;
	}
	.subpage_sidebar {
		display: block;
		margin: 0 auto;
	}
}


div.translated img {
 	-webkit-box-shadow: 1px 2px 9px 4px rgba(0,0,0,0.22);
	box-shadow: 1px 2px 9px 4px rgba(0,0,0,0.22);
}

/* contact form */
label {
	display: inline-block;
	min-width: 120px;
}
label.full {
	display: block;
}
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea {
	border: 1px #ccc solid;
	padding: 8px;
	max-width: 450px;
	width: 100%;
}
.form_error {
	color: #f00;
	display: block;
}
#c_sa,
textarea {
	max-width: 570px;
}
textarea {
	height: 250px;
}

#c_last_name {
	display: none;
}

@media( max-width: 600px ) {
	label {
		display: block;
		width: 100%;
	}
}


/* site footers */
#newsletter {
	margin: 0 auto;
	max-width: 1060px;
	padding: 80px 25px;
	text-align: center;
}
body.page-template-page-about #newsletter,
body.page-template-page-articles #newsletter,
body.page-template-page-speaking #newsletter {
	border-top: 9px #cce4e6 solid;
}
#newsletter h2 {
	color: #453663;
	font-size: 1.5rem;
	letter-spacing: 0.063em;
	text-transform: uppercase;
}
#newsletter input {
	background-color: #f6f4f1;
	border: 0;
	font-size: 0.875em;
	margin: 7px;
	line-height: 1em;
	height: 56px;
	letter-spacing: 0.063em;
	padding: 22px;
	max-width: 360px;
	text-transform: uppercase;
	width: 100%;
}
#newsletter input[type="submit"] {
	background-color: #017680;
	color: #fff;
	text-align: center;
	width: 170px;
}

#footer_links {
	background-color: #57497f;
	color: #fff;
	padding: 70px 25px;
	text-transform: uppercase;
}
#footer_links .links_wrapper {
	display: table;
	width: 100%;
}
#footer_nav {
	display: table-cell;
	font-size: 0.75em;
	vertical-align: top;
}
#footer_nav a {
	color: #fff;
	display: block;
	padding-bottom: 10px;
}
#footer_nav a:hover {
	color: #c9c0e1;
}
#footer_nav > ul {
	display: table;
	width: 100%;
}
#footer_nav > ul > li {
	display: table-cell;
	vertical-align: top;
}
#footer_nav > ul > li ul {
	display: block;
	padding-left: 20px;
}

#footer_social {
	display: table-cell;
	text-align: right;
	vertical-align: top;
	width: 370px;
}
#footer_social h3 {
	color: #aea5c9;
	font-size: 1.875em;
	letter-spacing: 0.063em;
	padding-bottom: 10px;
}
.social_nav a {
	background-image: url('../images/sprite_social.png');
	background-repeat: no-repeat;
	display: inline-block;
	height: 44px;
	width: 44px;
}
.social_nav a.twitter	{ background-position: 0 50%; }
.social_nav a.facebook	{ background-position: -44px 50%; }
.social_nav a.instagram	{ background-position: -88px 50%; }
.social_nav a.goodreads	{ background-position: -132px 50%; }

.social_nav a span {
	display: none;
}

@media( max-width: 1000px ) {
	#footer_links .links_wrapper {
		display: block;
	}

	#footer_nav {
		display: block;
		padding-bottom: 50px;
	}
	#footer_social {
		display: block;
		margin: 0 auto;
		max-width: 370px;
		text-align: center;
		width: 100%;
	}
}
@media( max-width: 650px ) {
	#footer_nav {
		display: block;
	}
	#footer_nav > ul {
		display: block;
		margin: 0 auto 20px auto;
		max-width: 500px;
		text-align: center;
		width: 100%;
	}
	#footer_nav > ul > li {
		display: block;
		padding-bottom: 20px;
	}
	#footer_nav > ul > li > a {
		font-size: 1rem;
		font-weight: 500;
	}
	#footer_nav > ul > li ul {
		padding-left: 0;
	}

}

#site_footer {
	background-color: #453663;
	color: #9088bc;
	padding: 50px 25px 30px 25px;
	font-size: 0.625em;
	letter-spacing: 0.063em;
	text-align: center;
	text-transform: uppercase;
}
#site_footer a {
	color: #9088bc;
}

iframe {
	max-width: 100%;
}

.mobile_image {
	display: none;
}
@media( max-width: 700px ) {
	.mobile_image {
		display: block;
	}
	.subpage_hero {
		background-position: calc(100% + 100px) 50% !important;
	}
}
@media( max-width: 550px ) {
	body.page-template-page-about #books_hero,
	body.page-template-page-articles #books_hero,
	body.page-id-33 #books_hero,
	body.page-template-page-immortal-life #books_hero,
	body.page-template-page-human-animal #books_hero,
	body.page-id-103 #books_hero,
	body.page-id-107 #books_hero,
	body.page-id-109 #books_hero,
	body.page-id-121 #books_hero,
	body.page-id-4540 #books_hero,
	body.page-template-page-speaking #books_hero {
		background-position: 0 0 !important;
		font-size: 1.25rem;
	}
}
