/*
* Gardens of Infinity
* Copyright 2015, Dave Gamache
* www.gardensofinfinity.com
*/


/* Table of contents
––––––––––––––––––––––––––––––––––––––––––––––––––
- Base Styles
- Typography
- Links
- Modules
  - Header and Navigation
  - Footer
  - Article Styles
- Images
- Animations
- Code
- Buttons
  - Normal Buttons
  - Back to Top Button
- Media Queries
*/


/* Base Styles
–––––––––––––––––––––––––––––––––––––––––––––––––– */

html {
	font-size: 62.5%
}

body {
	font-size: 1.8em;
	/* currently ems cause chrome bug misinterpreting rems on body element */
	line-height: 1.5;
	font-weight: 300;
	font-family: "Lato", Helvetica, Arial, sans-serif;
	color: #bac0c6;
	height: 100%;
	color: #bac0c6
}

body.home {
	background-image: url(../images/flowers.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: bottom;
	background-attachment: fixed;
}

body.infinities {
	background-image: url(../images/swirl.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: left top;
	background-attachment: fixed;
}

body.statements {
	background-image: url(../images/spiral.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center top;
	background-attachment: fixed;
}

body.basics {
	background-image: url(../images/hiero.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center top;
	background-attachment: fixed;
}

body.first {
	background-image: url(../images/field.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center top;
	background-attachment: fixed;
}

body.second {
	background-image: url(../images/station.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center top;
	background-attachment: fixed;
}

body.third {
	background-image: url(../images/seat.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center top;
	background-attachment: fixed;
}

body.fourth {
	background-image: url(../images/port.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center bottom;
	background-attachment: fixed;
}

body.fifth {
	background-image: url(../images/sky.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center bottom;
	background-attachment: fixed;
}

body.about {
	background-image: url(../images/rockwall.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center top;
	background-attachment: fixed;
}

article {
	width: 100%;
}

footer {
	width: 100%;
	float: left;
	clear: both;
	z-index: 8;
	height: 8rem;
	padding-top: 2rem;
	border-top: 2px solid #618878;
	background-color: #bac0c6;
}


/* Typography
–––––––––––––––––––––––––––––––––––––––––––––––––– */

h1,
h2,
h3,
h4,
h5,
h6 {
	margin-top: 0;
	/*  margin-bottom: 2rem;*/
	font-weight: 300;
}

h1 {
	font: 700 10rem/.9 'PT Serif';
	color: #bac0c6;
	margin-bottom: 1rem;
}

h2 {
	font: 700 3rem/1.38 'PT Serif';
	color: #bac0c6;
}

h3 {
	font-size: 3rem;
	line-height: 1.3;
	letter-spacing: -.1rem;
}

h4 {
	font-size: 2.4rem;
	line-height: 1.35;
	letter-spacing: -.08rem;
}

h5 {
	font-size: 1.8rem;
	line-height: 1.5;
	letter-spacing: -.05rem;
}

h6 {
	font-size: 1.5rem;
	line-height: 1.6;
	letter-spacing: 0;
}

p {
	margin-top: 0;
	margin-bottom: 2.2rem;
	word-spacing: .1rem;
}

.dark-copy {
	color: #232029;
}


/*
.light-copy {
	#232029

}
*/

p.lead {
	width: 600px;
	margin-bottom: 3rem;
	font: 400 2.4rem/1.38 'PT Serif';
	color: #bac0c6;
}


/*NEW*/

p.lead-alt {
	font: 300 2.9rem/1.38 'Lato';
}

em,
i {
	font-style: italic;
	line-height: inherit;
}

strong,
b {
	font-weight: 400;
	line-height: inherit;
}

small {
	font-size: 75%;
	line-height: inherit;
}


/* Links
–––––––––––––––––––––––––––––––––––––––––––––––––– */

a {
	color: #618878
}

a:hover {
	color: #91c499;
}

.a-reverse {
	color: #618878;
	text-decoration: underline;
}

.a-reverse:hover {
	color: rgba(97, 136, 120, 0.8);
	text-decoration: none;
}


/* Modules
–––––––––––––––––––––––––––––––––––––––––––––––––– */


/* ----Header and Navigation---- */

.cd-header {
	position: absolute;
	top: 0;
	left: 0;
	background: rgba(35, 32, 41, 0.6);
	height: 55px;
	background: transparent;
	box-shadow: none;
	width: 100%;
	z-index: 3;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-webkit-transition: background-color .3s;
	-moz-transition: background-color .3s;
	transition: background-color .3s;
	/* Force Hardware Acceleration in WebKit */
	-webkit-transform: translate3d(0, 0, 0);
	-moz-transform: translate3d(0, 0, 0);
	-ms-transform: translate3d(0, 0, 0);
	-o-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.cd-header.is-fixed {
	/* when the user scrolls down, we hide the header right above the viewport */
	position: fixed;
	top: -55px;
	background-color: rgba(35, 32, 41, 0.6);
	-webkit-transition: -webkit-transform .3s;
	-moz-transition: -moz-transform .3s;
	transition: transform .3s;
}

.cd-header.is-visible {
	/* if the user changes the scrolling direction, we show the header */
	-webkit-transform: translate3d(0, 100%, 0);
	-moz-transform: translate3d(0, 100%, 0);
	-ms-transform: translate3d(0, 100%, 0);
	-o-transform: translate3d(0, 100%, 0);
	transform: translate3d(0, 100%, 0);
}

.cd-header.menu-is-open {
	/* add a background color to the header when the navigation is open */
	background-color: rgba(35, 32, 41, 0.6);
}

.cd-logo {
	display: block;
	position: absolute;
	top: 35px;
	bottom: auto;
	left: 20px;
	-webkit-transform: translateY(-50%);
	-moz-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	-o-transform: translateY(-50%);
	transform: translateY(-50%);
}

.cd-logo img {
	display: block;
}

.cd-primary-nav-trigger {
	position: absolute;
	height: 30px;
	width: 100px;
	right: 10px;
	top: 27px;
	bottom: auto;
	padding-left: 1em;
	background-color: transparent;
	line-height: 30px;
	-webkit-transform: translateY(-50%);
	-moz-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	-o-transform: translateY(-50%);
	transform: translateY(-50%);
}

.cd-primary-nav-trigger .cd-menu-icon {
	/* this span is the central line of the menu icon */
	display: inline-block;
	position: absolute;
	width: 30px;
	height: 3px;
	left: auto;
	right: inherit;
	top: 50%;
	bottom: auto;
	-webkit-transform: translateX(0) translateY(-50%);
	-moz-transform: translateX(0) translateY(-50%);
	-ms-transform: translateX(0) translateY(-50%);
	-o-transform: translateX(0) translateY(-50%);
	transform: translateX(0) translateY(-50%);
	background-color: #618878;
	-webkit-transition: background-color .3s;
	-moz-transition: background-color .3s;
	transition: background-color .3s;
}

.cd-primary-nav-trigger .cd-menu-icon::before,
.cd-primary-nav-trigger .cd-menu-icon:after {
	/* these are the upper and lower lines in the menu icon */
	content: '';
	width: 100%;
	height: 100%;
	position: absolute;
	background-color: #618878;
	right: 0;
	-webkit-transition: -webkit-transform .3s, top .3s, background-color 0;
	-moz-transition: -moz-transform .3s, top .3s, background-color 0;
	transition: transform .3s, top .3s, background-color 0;
}

.cd-primary-nav-trigger .cd-menu-icon::before {
	top: -10px;
}

.cd-primary-nav-trigger .cd-menu-icon::after {
	top: 10px;
}

.cd-primary-nav-trigger .cd-menu-icon.is-clicked {
	background-color: rgba(255, 255, 255, 0);
}

.cd-primary-nav-trigger .cd-menu-icon.is-clicked::before,
.cd-primary-nav-trigger .cd-menu-icon.is-clicked::after {
	background-color: #618878;
}

.cd-primary-nav-trigger .cd-menu-icon.is-clicked::before {
	top: 0;
	-webkit-transform: rotate(135deg);
	-moz-transform: rotate(135deg);
	-ms-transform: rotate(135deg);
	-o-transform: rotate(135deg);
	transform: rotate(135deg);
}

.cd-primary-nav-trigger .cd-menu-icon.is-clicked::after {
	top: 0;
	-webkit-transform: rotate(225deg);
	-moz-transform: rotate(225deg);
	-ms-transform: rotate(225deg);
	-o-transform: rotate(225deg);
	transform: rotate(225deg);
}

.cd-primary-nav {
	/* by default it's hidden - on top of the viewport */
	position: fixed;
	left: 0;
	top: 0;
	height: 100%;
	width: 100%;
	background: rgba(35, 32, 41, 0.95);
	z-index: 2;
	text-align: center;
	padding: 40px 0 20px;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	overflow: auto;
	/* this fixes the buggy scrolling on webkit browsers - mobile devices only - when overflow property is applied */
	-webkit-overflow-scrolling: touch;
	-webkit-transform: translateY(-100%);
	-moz-transform: translateY(-100%);
	-ms-transform: translateY(-100%);
	-o-transform: translateY(-100%);
	transform: translateY(-100%);
	-webkit-transition-property: -webkit-transform;
	-moz-transition-property: -moz-transform;
	transition-property: transform;
	-webkit-transition-duration: .4s;
	-moz-transition-duration: .4s;
	transition-duration: .4s;
}

.cd-primary-nav li {
	font-size: 3rem;
	font-weight: 300;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-transform: capitalize;
}

.cd-primary-nav a {
	display: inline-block;
	padding: 1rem 2rem;
	border-radius: .25em;
	-webkit-transition: background .2s;
	-moz-transition: background .2s;
	transition: background .2s;
}

.no-touch .cd-primary-nav a:hover {
	background-color: #e36767
}

.cd-primary-nav.is-visible {
	-webkit-transform: translateY(0);
	-moz-transform: translateY(0);
	-ms-transform: translateY(0);
	-o-transform: translateY(0);
	transform: translateY(0);
}


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

.footercontainer {
	width: 470px;
	margin: auto;
}

.footertitle {
	float: left;
	height: 4rem;
}

.footertitle .title {
	margin: auto;
	line-height: 1.38;
	text-align: center;
	color: #232029;
	font-family: 'PT Serif';
	font-size: 1.8rem;
	font-weight: 700;
}

.footertitle .tagline {
	margin: auto;
	line-height: 1.38;
	text-align: center;
	color: #232029;
	font-style: italic;
	font-size: 1.3rem;
}

.footerlinks {
	float: left;
	height: 4rem;
	padding-left: 3rem;
	margin-top: 1.5rem;
}

.footerlinks a {
	float: left;
	margin-right: 3rem;
	font-size: 1.4rem;
}

.footerlinks a:hover {
	text-decoration: underline;
	color: rgba(35, 32, 41, 0.7);
}


/* ---- Article Styles ---- */

.panel-section-overlay {
	float: left;
	clear: both;
	width: 100%;
	padding-top: 9rem;
	padding-bottom: 10rem
}

.panel-section-solid-dark {
	float: left;
	clear: both;
	width: 100%;
	padding-top: 9rem;
	padding-bottom: 10rem;
	background-color: #232029
}

.panel-section-solid-light {
	float: left;
	clear: both;
	width: 100%;
	padding-top: 9rem;
	padding-bottom: 10rem;
	background-color: #91c499
}

.headline {
	margin-left: 23.5%;
	margin-top: 5rem;
	margin-bottom: 3.5rem
}


/*NEW*/

.headline-center {
	margin-top: 5rem;
	margin-bottom: 3.5rem;
	text-align: center;
	padding: 0 1.4rem;
}


/*NEW*/

.textpanel {
	width: 640px;
	margin: auto;
	font-weight: 300;
}

.textpanel-solid {
	/*  float:left;*/
	clear: both;
	width: 640px;
	padding: 3rem 2rem 5rem
}

.textpanel-overlay {
	float: left;
	clear: both;
	width: 640px;
	padding: 3rem 2rem 5rem;
	border-left: 1px solid #618878;
	background-color: rgba(35, 32, 41, 0.8)
}

.pullquote {
	float: left;
	clear: both;
	width: 100%;
	height: 80rem;
	padding-top: 20rem;
	border-top: 2px solid #618878;
	border-bottom: 1px solid #618878;
	background: url(../images/rib.jpg) #dedede;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: left top
}

.quotetext {
	width: 690px;
	margin: auto;
	padding: 4rem;
	border-left: 5px solid #91c499;
	background-color: rgba(255, 255, 255, 0.8);
	font: italic 400 2rem/1.38 'PT Serif';
	text-align: center;
	color: #618878
}

.submenu {
	float: left;
	clear: both;
	width: 100%;
	padding-top: 9rem;
	padding-bottom: 13rem;
	border-top: 3px solid rgba(35, 32, 41, 0.7);
	background: url(../images/waves.jpg) rgba(255, 255, 255, 0.12);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: left top
}

.submenu-intro {
	width: 640px;
	margin: auto
}

.indent-twentythree {
	margin-left: 23.5%
}

.indent-fifteen {
	margin-left: 15%
}

.indent-thirtythree {
	margin-left: 33%
}

.indent-nine {
	margin-left: 9%
}

.neg-indent-ten {
	margin-left: -10%
}


/* Images
–––––––––––––––––––––––––––––––––––––––––––––––––– */

img {
	margin-bottom: 2rem
}

img.logo-body {
	width: auto;
}


/*
.image {
  display: block;
  float: left;
  height: auto;
  overflow: hidden;
  width: 109px;
  margin: 0.4% 0 0 1%;
}
*/


/* Animations
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.fade-in {
	animation: fadein 2.5s;
	-moz-animation: fadein 2.5s;
	/* Firefox */
	-webkit-animation: fadein 2.5s;
	/* Safari and Chrome */
	-o-animation: fadein 2.5s;
	/* Opera */
}

@keyframes fadein {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@-moz-keyframes fadein {
	/* Firefox */
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@-webkit-keyframes fadein {
	/* Safari and Chrome */
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@-o-keyframes fadein {
	/* Opera */
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}


/* Code
–––––––––––––––––––––––––––––––––––––––––––––––––– */

code {
	background-color: #f8f8f8;
	border-color: #dfdfdf;
	border-style: solid;
	border-width: 1px;
	color: #333;
	font-family: Consolas, "Liberation Mono", Courier, monospace;
	font-weight: 400;
	padding: .125rem .3125rem .0625rem
}


/* Buttons
–––––––––––––––––––––––––––––––––––––––––––––––––– */


/* ---- Normal Buttons ---- */

.button {
	display: block;
	float: left;
	border: .056em solid #618878;
	border-radius: .1rem;
	text-align: center;
	color: #618878;
	line-height: 1.38;
}

.button:hover {
	background-color: #618878;
	color: #bac0c6;
}

.button-down-dark {
	display: block;
	height: 4rem;
	width: 270px;
	margin: 0 auto;
	border: .056em solid rgba(35, 32, 41, 0.5);
	border-radius: .1rem;
	text-align: center;
	color: rgba(35, 32, 41, 0.5);
	line-height: 1;
}

.button-down-dark .fa {
	position: relative;
	top: 50%;
	transform: translateY(-50%);
}

.button-down-dark:hover {
	border-color: white;
	color: white;
}

.button-light {
	float: none;
	height: 4rem;
	width: 270px;
	margin: 9rem auto 0;
	line-height: 4rem;
}

.button-statements {
	float: none;
	height: auto;
	width: 640px;
	margin: 6rem auto 0;
	padding: 1rem 1.5rem;
	text-align: left;
	/*	line-height: 4rem;*/
}

.short {
	width: 150px;
	height: 3.5rem;
	line-height: 3.2rem;
	margin: 3rem 0 0 21%;
}

.meta {
	width: 420px;
	height: 4.2rem;
	line-height: 4.1rem;
	margin: 7rem 0 0 8%;
}

.depth {
	width: 250px;
	height: 5.5rem;
	line-height: 5.5rem;
	margin: 10rem 0 0 30%;
}

.story {
	width: 190px;
	height: 3rem;
	line-height: 2.7rem;
	margin: 19rem 0 0 7%;
}


/* ---- Back to Top Button ---- */

.cd-top {
	display: inline-block;
	height: 3.5rem;
	width: 6rem;
	position: fixed;
	bottom: 4rem;
	right: 21px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
	/* image replacement properties */
	overflow: hidden;
	text-indent: 100%;
	white-space: nowrap;
	background: rgba(35, 32, 41, 0.5) url(../images/cd-top-arrow.svg) no-repeat center 50%;
	visibility: hidden;
	opacity: 0;
	-webkit-transition: opacity .3s 0s, visibility 0 .3s;
	-moz-transition: opacity .3s 0s, visibility 0 .3s;
	transition: opacity .3s 0s, visibility 0 .3s
}

.cd-top.cd-is-visible,
.cd-top.cd-fade-out,
.no-touch .cd-top:hover {
	-webkit-transition: opacity .3s 0s, visibility 0 0;
	-moz-transition: opacity .3s 0s, visibility 0 0;
	transition: opacity .3s 0s, visibility 0 0
}

.cd-top:hover {
	background: rgba(145, 196, 153, 0.7) url(../images/cd-top-arrow.svg) no-repeat center 50%
}

.cd-top.cd-is-visible {
	/* the button becomes visible */
	visibility: visible;
	opacity: 1
}

.cd-top.cd-fade-out {
	/* if the user keeps scrolling down, the button is out of focus and becomes less visible */
	opacity: .5
}

.no-touch .cd-top:hover {
	background-color: #e86256;
	opacity: 1
}


/* Media Queries
–––––––––––––––––––––––––––––––––––––––––––––––––– */

@media(max-width: 980px) {
	.headline {
		margin-left: 15%
	}
	.indent-twentythree {
		margin-left: 15%
	}
	.indent-fifteen {
		margin-left: 8%
	}
	.indent-thirtythree {
		margin-left: 20%
	}
	.indent-nine {
		margin-left: 3%
	}
}

@media(max-width: 805px) {
	.headline {
		margin-left: 10%
	}
	.indent-twentythree {
		margin-left: 10%
	}
	.indent-fifteen {
		margin-left: 6%
	}
	.indent-thirtythree {
		margin-left: 15%
	}
	.indent-nine {
		margin-left: 2%
	}
	.short {
		width: 150px;
		height: 3.5rem;
		line-height: 3.5rem;
		margin: 3rem 0 0 15%;
	}
	.meta {
		width: 400px;
		height: 4.2rem;
		line-height: 4.2rem;
		margin: 7rem 0 0 3%;
	}
}

@media(max-width: 768px) {
	.statements h1 {
		font-size: 8rem;
	}
	p.lead {
		width: 100%
	}
	#basics-jump {
		line-height: 3rem;
	}
	.cd-logo {
		left: 2.5%
	}
	.cd-primary-nav-trigger {
		right: 2%
	}
	.headline {
		margin-left: 4%;
		margin-right: 4%
	}
	.panel-section-overlay {
		padding-top: 6rem;
		padding-bottom: 7rem
	}
	.panel-section-solid-dark {
		padding-top: 3rem;
		padding-bottom: 4rem
	}
	.panel-section-solid-light {
		padding-top: 3rem;
		padding-bottom: 4rem
	}
	.textpanel {
		width: 92%;
		/*	padding: 0 4% 0;*/
	}
	.indent-twentythree.textpanel {
		margin-left: 4%;
		margin-right: 4%
	}
	.textpanel-solid {
		width: 96%;
		padding: 2rem 2rem 0
	}
	.textpanel-overlay {
		width: 96%;
		padding: 2rem 2rem 1.5rem;
	}
	.pullquote {
		height: auto;
		padding-top: 5rem;
		padding-bottom: 6rem
	}
	.quotetext {
		width: 92%;
		margin-left: 4%;
		margin-right: 4%;
		padding: 3rem
	}
	.submenu {
		padding-top: 6rem
	}
	.submenu-intro {
		width: 92%;
		margin-left: 4%;
		margin-right: 4%
	}
	.indent-twentythree {
		margin-left: 2%;
		margin-right: 2%
	}
	.indent-fifteen {
		margin-left: 2%;
		margin-right: 2%
	}
	.indent-thirtythree {
		margin-left: 2%;
		margin-right: 2%
	}
	.indent-nine {
		margin-left: 2%;
		margin-right: 2%
	}
	.button-statements {
		width: 90%;
		margin: 3rem auto 0;
		padding: 1rem 1rem;
	}
	.short {
		width: 150px;
		height: 3.5rem;
		line-height: 3.5rem;
		margin: 3rem 0 0 2%;
	}
	.meta {
		width: 400px;
		height: 4.2rem;
		line-height: 4.2rem;
		margin: 7rem 0 0 2%;
	}
	.depth {
		width: 250px;
		height: 5.5rem;
		line-height: 5.5rem;
		margin: 7rem 0 0 2%;
	}
	.story {
		width: 190px;
		height: 3rem;
		line-height: 3rem;
		margin: 19rem 0 0 11%;
	}
}

@media(max-width: 465px) {
	h1 {
		font-size: 6rem
	}
	.statements h1 {
		font-size: 5.5rem;
	}
	p.lead {
		font-size: 2.1rem
	}
	p.lead-alt {
		font-size: 2.1rem;
	}
	img.logo-body {
		width: 165px;
	}
	.short {
		width: 115px;
		margin-top: 3rem;
		margin-left: 8%;
	}
	.meta {
		width: 240px;
		margin-top: 2rem;
		margin-left: 19%;
	}
	.depth {
		width: 200px;
		height: 6rem;
		line-height: 6rem;
		margin-top: 4rem;
		margin-left: 3%;
	}
	.story {
		width: 160px;
		height: 3rem;
		line-height: 3rem;
		margin-top: 1rem;
		margin-left: 30%;
	}
	.footercontainer {
		width: 100%
	}
	.footertitle {
		float: none
	}
	.footerlinks {
		float: none
	}
	footer {
		height: auto
	}
	.cd-top {
		right: 0
	}
	.cd-primary-nav {
		padding-top: 55px
	}
	.cd-primary-nav li {
		font-size: 2.2rem;
		font-weight: 300;
		-webkit-font-smoothing: antialiased;
		-moz-osx-font-smoothing: grayscale;
		text-transform: capitalize
	}
}