/* reset */
* {
  padding: 0;
  margin: 0;
}

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

html {
	scroll-behavior: smooth;
}

body {
    text-rendering: optimizeSpeed;
    line-height: 1.5;
}

img {
	max-width: 100%;
	display: block;
}

input,
button,
textarea,
select {
	font: inherit;
}

 /* sticky footer */
html, body {
	height: 100%;
}

body {
	display: flex;
    flex-direction: column;
	font-family: 'Open Sans', sans-serif;
}

#container {
	padding: 110px 0 0 0;
	flex: 1 0 auto;
}

#footer {
	flex-shrink: 0;
}

/* header */
#header {
	width: 100%;
	padding: 30px 40px 30px 40px;
	background: #fff;
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-bottom: 1px solid #ddd;
	position: fixed;
	top: 0;
	left: 0;
	transition: top 0.3s;
	z-index: 9999;
}

#header.header-hidden {
	top: -115px;
}

#header h2 {
	color: #111;
	font-size: 2em;
	font-weight: 700;
	text-transform: uppercase;
	line-height: 1;
}

#header h3 {
	color: #fe0a0a;
	font-weight: 700;
	font-size: 1em;
	line-height: 1;
}

.navigation {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 15px;
}

.navigation a, .download-button {
	padding: 10px 15px 10px 15px;
	background: #fdfbfb;
	color: #333;
	font-size: 1em;
	font-weight: 700;
	transition : all .2s ease;
	text-decoration: none;
	border-radius: 11px;
	border: 3px solid #3b457f;
	display: inline-block;
}

.download-button {
	margin: 15px 0 0 0;
}

.navigation a:hover, .navigation a:focus {
	color: #000;
	border: 3px solid #263171;
}

.nav-toggle {
    width: 30px;
    height: 30px;
    color: #fff;
    text-align: center;
    line-height: 1;
    font-size: 0;
    text-indent: -9999px;
    appearance: none;
    box-shadow: none;
    border-radius: none;
    border: none;
    cursor: pointer;
    overflow: hidden;
    position: absolute;
    top: 24px;
    right: 40px;
    display: none;
}

/*nav toggle hamburger icon to x */
.nav-toggle span {
    height: 3px;
    display: block;
    position: absolute;
    top: 11px;
    left: 0px;
    right: 0;
    background: #222;
    transition: all 0s 0.2s;
}

.nav-toggle span::before,
.nav-toggle span::after {
    height: 3px;
    position: absolute;
    display: block;
    left: 0;
    width: 100%;
    background: #222;
    content: '';
}

.nav-toggle span::before {
    top: -10px;
}

.nav-toggle span::after {
    bottom: -10px;
}

.nav-toggle span::before,
.nav-toggle span::after {
    transition-duration: 0.2s, 0.2s;
    transition-delay: 0.2s, 0s;
}

.nav-toggle span::before {
    transition-property: top, transform;
}

.nav-toggle span::after {
    transition-property: bottom, transform;
}

.nav-open .nav-toggle span {
    background: none;
    left: 5px;
    right: 5px;
}

.nav-open .nav-toggle span::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-open .nav-toggle span::after {
    bottom: 0;
    transform: rotate(-45deg);
}

.nav-open .nav-toggle span::before,
.nav-open .nav-toggle span::after {
    transition-delay: 0s, 0.2s;
}

/* content */
#featured-image {
	padding: 50px 20px 0 20px;
}

#featured-image img {
	width: 100%;
	max-width: 400px;
	margin: 0 auto 0 auto;
}

.content-inner {
	max-width: 1200px;
	margin: 0 auto 0 auto;
}

.content-inner h1, .content-inner h2 {
	text-align: center;
}

.content-inner h2 {
	margin: 0 0 30px 0;

}

.featured-content {
	padding: 50px 40px 50px 40px;
	position: relative;
	overflow: hidden;
}

.red {
	background: #dd282a;
}

.blue {
	background: #263171;
}

.yellow {
	background: #ffdf00;
}

.featured-content h2 {
	color: #fff;
	font-size: 2em;
	font-weight: 800;
	line-height: 1.2;
	text-align: center;
}

.featured-content h2:before {
	content: '\201C';
	opacity: .5;
}

.featured-content h2:after {
	content: '\201D';
	opacity: .5;
}

.featured-content h4 {
	color: #222;
	font-size: 1.6em;
	text-align: center;
	line-height: 1;
	font-weight: 800;
	position: relative;
}

.featured-content h4:before {
	content: '\201C';
	font-size: 1.4em;
	position: relative;
	top: 5px;
	line-height: .1;
	opacity: .3;
}

.featured-content h4:after {
	content: '\201D';
	font-size: 1.4em;
	position: relative;
	top: 5px;
	line-height: .1;
	opacity: .3;
}

.featured-content .attr {
	font-size: .90em;
	font-style: italic;
	text-align: center;
	display: block;
}

.featured-content img {
	width: 15%;
	max-width: 15%;
	height: auto;
	position: absolute;
	top: 0;
	opacity: .1;
}

.blue img {
	left: 15%;
}

.red img {
	right: 15%;
}

.yellow img {
	left: 15%;
}

.normal-content {
	padding: 50px 40px 50px 40px;
}

.normal-content h3 {
	margin: 0 0 40px 0;
	color: #111;
	font-size: 1.6em;
	font-weight: 700;
	line-height: 1;
	text-align: center;
}

.normal-content h5 {
	margin: 50px 0 0 0;
	text-align: center;
	font-size: 1.1em;
}

.normal-content p {
	margin: 0  0 1.5em 0;
	color: #000;
	text-align: justify;
}

.normal-content p:last-child {
	margin: 0;
}

.normal-content a {
	color: #263171;
}

.normal-content a:hover {
	text-decoration: none;
}

.accordion {
	margin: 30px 0 30px 0;
}

h3.accordion-title {
	margin: 0 0 30px 0;
	padding: 20px 15px 20px 15px;
	background: #fdfbfb;
	color: #333;
	font-size: 1.1em;
	font-weight: 700;
	transition : all .2s ease;
	text-decoration: none;
	border-radius: 11px;
	border: 3px solid #3b457f;
	text-align: left;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
}

h3.accordion-title:after {
	content: '\25BC';
}

h3.accordion-title.active-title:after {
	content: '\25B2';
}

.accordion-content {
    padding: 10px 20px 40px 20px;
    display: none;
}

.accordion-content > :last-child {
	margin: 0;
}

.content-image, .footer-image {
	width: 100%;
	height: auto;
}

.first .content-image {
	max-width: 450px;
	margin: 20px auto 30px auto;
}

.last .content-image {
	max-width: 650px;
	margin: 20px auto 0 auto;
}

.footer-image {
	max-width: 300px;
 	margin: 0 auto 0 auto;
}

.flex-box, .inner-flex-box {
	display: flex;
	justify-content: space-between;
}

#get-a-copy .flex-box {
	flex-direction: row-reverse;
}

.flex-box.last {
	margin-top: 1.5em;
}

.flex-col {
	width: calc(50% - 30px);
}

.inner-flex-box .flex-col {
	width: calc(50% - 10px);
	align-self: flex-end;
}

.details {
	margin: 0;
	display: block;
	font-size: .90em;
	font-weight: 700;
}

.book-cover {
	width: 100%;
	max-width: 400px;
	border: 1px solid #ccc;
	box-shadow: 0 0 3px -2px #999;
	/*box-shadow: 0 8px 6px -6px #888;*/
}

/* pp form */
label {
	font-size: .85em;
	font-weight: 700;
	display: block;
}

form {
	padding: 30px;
	background: #fefefe;
	/*border: 1px solid #ccc;*/
	border: 3px solid #3b457f;
	border-radius: 7px;
}

select {
	padding: 9px;
	background: #fff;
	border: 1px solid #999;
	border-radius: 5px;
}

.pp-message p {
	padding: 20px;
	margin: 40px 0 40px 0 !important;
	background: #fdfbfb;
	color: green;
	font-weight: 700;
	border: 1px solid #ccc;
	border-radius: 3px;
}

.footnote {
	margin: 0 0 25px 0;
	display: block;
	font-size: .80em;
}

.asterisk {
	color: red;
}

.contact-us {
	text-align: left !important;
}

.contact-us a {
	color: #006ab1;
}

/* footer */
#footer {
	padding: 15px 40px 15px 40px;
	background: #263171;
	text-align: center
}

#footer p {
	margin: 0;
	color: #eee;
	font-size: .80em;
}

/*responsive*/
@media only screen and (max-width: 1080px) {
	#header {
		padding: 10px 40px 12px 40px;
		text-align: center;
		display: block;
	}

    .nav-toggle {
    	display: block;
    }

    .navigation {
    	margin: 15px auto 0 auto;
    	display: none;
    }

    .nav-open .navigation {
    	display: flex;
    }

    #container {
		padding: 71px 0 0 0;
	}

    .flex-col.image {
    	width: calc(40% - 20px);
    }

    .flex-col.text {
    	width: calc(60% - 20px);
    }
}

@media only screen and (max-width: 768px) {
	.flex-box {
		display: block;
	}

	.flex-col, .flex-col.image, .flex-col.text {
    	width: 100%;
    }
}

@media only screen and (max-width: 767px) {
	#header {
		padding: 10px 20px 12px 20px;
	}

	.nav-toggle {
		right: 20px;
	}

	.site-title {
		max-width: calc(100% - 70px);
		text-align: left;
	}

	.normal-content {
		padding: 40px 20px 40px 20px;
	}

	.featured-content {
		padding: 30px 20px 30px 20px;
	}

	.featured-content h2 {
		font-size: 1.5em;
	}

	.featured-content img {
		width: 33%;
		max-width: 33%;
	}

	#footer {
		padding: 15px 20px 15px 20px;
	}
}

@media only screen and (max-width: 550px) {
	.nav-toggle {
		top: 30px;
	}

	#header h2 {
		font-size: 1.6em;
	}
}

@media only screen and (max-width: 480px) {
	#container {
		padding: 87px 0 0 0;
	}
}