/* FONTS */
@font-face {
	font-family: 'Avant_Garde_light';
	src: url('../fonts/Avant_Garde_light.eot');
	src: url('../fonts/Avant_Garde_light.eot') format('embedded-opentype'),
		 url('../fonts/Avant_Garde_light.woff2') format('woff2'),
		 url('../fonts/Avant_Garde_light.woff') format('woff'),
		 url('../fonts/Avant_Garde_light.ttf') format('truetype'),
		 url('../fonts/Avant_Garde_light.svg#Avant_Garde_light') format('svg');
}

@font-face {
	font-family: 'Avant_Garde_bold';
	src: url('../fonts/Avant_Garde_bold.eot');
	src: url('../fonts/Avant_Garde_bold.eot') format('embedded-opentype'),
		 url('../fonts/Avant_Garde_bold.woff2') format('woff2'),
		 url('../fonts/Avant_Garde_bold.woff') format('woff'),
		 url('../fonts/Avant_Garde_bold.ttf') format('truetype'),
		 url('../fonts/Avant_Garde_bold.svg#Avant_Garde_bold') format('svg');
}

/* GLOBAL */
* {

	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

::selection {
	background: #ffdf00; /* WebKit/Blink Browsers */
}
::-moz-selection {
	background: #ffdf00; /* Gecko Browsers */
}

html, body {

	height: 100%;
}

html {

	font-size: 16px;
}

body {

	background-color: #fff;
	height: 100%;
	font-family: 'Avant_Garde_light', Arial, sans-serif;
	font-size: 62.5%;
	line-height: 1.6;
}

.clearfix:after {

	content: "";
	display: table;
	clear: both;
}

h1 {

	font-weight: normal;
	font-size: 4em;
	margin-top: 0;
}

h2 {

	font-weight: normal;
	font-size: 3.6em;
	text-align: center;
	margin-bottom: .8em;
}
h2 span {

	display: block;
	font-size: .7em;
	line-height: 2;
	margin-bottom: -15px;
}

h4 {

	font-size: 2em;
	font-weight: normal;
	color: #ffdf00;
	text-transform: lowercase;
}

h5 {

	font-size: 1.6em;
	font-weight: normal;
}
h5 span {

	color: #ffdf00;
}

h6 {

	font-size: 1.4em;
	font-weight: normal;
	color: #ffdf00;
	margin-left: 5px;
}

p {

	font-size: 1.6em;
	margin-bottom: 1.4em;
}

ul {

	font-size: 1.4em;
	padding: 0;
	margin: 0;
	list-style: none;
}

b, strong {

	font-weight: normal;
	font-family: 'Avant_Garde_bold';
}

a:link,
a:hover,
a:active,
a:visited {

	color: #fff;
	text-decoration: none;
	cursor: pointer;
}

a:hover,
a:active,
a:visited {

	text-decoration: none;
	cursor: pointer;
}

hr {

	width: 50px;
	height: 2px;
	border: 0;
	background-color: #ffdf00;
}

img {

	max-width: 100%;
}

.padding-0 {

	padding: 0 !important;
}

.yellow-timeline-bg {

	background-image: url('../images/furniturevillage-timeline.png');
	background-repeat: repeat-y;
	background-position: top center;
	background-size: 4px;
	position: relative;
	min-height: 100px;
}
.yellow-timeline-bg.height-50 {

	min-height: 47px;
}

.border-bottom {

	background-image: url('../images/furniturevillage-dotted.png');
	background-repeat: repeat-x;
	background-position: bottom;
	background-size: 5px;
}

.white-trans-bg {

	background-color: rgba(255,255,255,.25);
}

.colour-white {

	color: #fff;
}
.bg-white {

	background-color: #fff;
}

.margin-top-20 {

	margin-top: 20px;
}
.padding-top-20 {

	padding-top: 20px;
}
.padding-bottom-20 {

	padding-bottom: 20px;
}
.padding-top-30 {

	padding-top: 30px;
}

/* BOOTSTRAP EDITS */
.container {

	max-width: 970px;
}
@media only screen and (max-width: 768px) {

	body.secondary-page .container, .container-fluid, .col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-sm-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {

		padding-right: 20px;
		padding-left: 20px;
	}

	body.secondary-page .row {

		margin-right: -20px;
		margin-left: -20px;
	}
}
@media only screen and (min-width: 768px) {

	body.secondary-page .container, .container-fluid, .col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-sm-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {

		padding-left: 40px;
		padding-right: 40px;
	}
}

/* HOMEPAGE */

/* VIDEO BACKGROUND */
#set-height {

	display: block;
	background-color: #000;
	min-height: 15200px;
}

#v0 {

	position: fixed;
	top: 0;
	left: 0;
	min-width: 100%;
	min-height: 100%;
	opacity: 0.6;
}

.trans-black-bg {

	background-color: rgba(0,0,0,.3);
}

main {

	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}

main .logo {

	width: 130px;
	position: absolute;
	top: 0;
	left: 50%;
	margin-left: -65px;
	z-index: 2000;
}

main .logo-footer {

	width: 100px;
	margin: 20px auto 0;
	display: block;
}

.down-arrow {

	position: relative;
}
.down-arrow:after {

	content: '';
	border: solid #ffdf00;
	border-width: 0 2px 2px 0;
	display: inline-block;
	padding: 7px;
	transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
}

.hamburger {

	position: absolute;
	top: 20px;
	right: 20px;
	cursor: pointer;
	width: 30px;
	height: 23px;
	z-index: 4000;
	display: none;
}
.line {

	content: '';
	display: block;	width: 30px;
	height: 2px;
	background-color: #ffdf00;
	position: absolute;
	top: 10px;
	right: 0;
}
.line:before {

	content: '';
	display: block;	width: 30px;
	height: 2px;
	background-color: #ffdf00;
	position: absolute;
	top: -10px;
	right: 0;
}
.line:after {

	content: '';
	display: block;	width: 30px;
	height: 2px;
	background-color: #ffdf00;
	position: absolute;
	top: 10px;
	right: 0;
}
.hamburger.active .line {

	transform: rotate(45deg);
}
.hamburger.active .line:before {

	top: 0;
	transform: rotate(-90deg);
}
.hamburger.active .line:after {

	display: none;
}

ul#mobile-menu {

	background-color: #ffdf00;
	width: 100%;
	padding: 20px;
	text-align: center;
	display: none;
}
ul#mobile-menu li a {

	color: #009fe3;
	font-weight: 800;
	letter-spacing: 2px;
	padding: 5px;
	display: block;
}

/* INTRO SECTION */
section#intro {

	background-image: url('../images/furniturevillage-intro-bg.jpg');
	background-size: cover;
	background-position: center;
	text-align: center;
	color: #fff;
	padding-top: 140px;
}
@media only screen and (min-width: 1023px) {
	section {

		background-attachment: fixed;
	}
}

body.homepage section#intro hr {

	margin-top: 0;
	margin-bottom: 0;
}
section#intro h2 {

	font-size: 2.6em;
}

section#intro .head-shoulders {

	background-color: #ffdf00;
	background-image: url('../images/furniturevillage-head-shoulders.png');
	background-size: cover;
	background-position: center;
	width: 180px;
	height: 180px;
	margin: 60px auto 50px;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	border-radius: 50%;
	position: relative;
	display: none;
}
section#intro .head-shoulders ul {

	position: absolute;
	top: 50%;
	left: 50%;
  	transform: translateY(-50%) translateX(-50%);
  	border: 1px solid #fff;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	border-radius: 50%;
	height: 220px;
	width: 220px;
	padding: 20px;
	display: none;
}
section#intro .head-shoulders ul li {

	display: block;
	width: 10px;
	height: 10px;
	background-color: #ffdf00;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	border-radius: 50%;
	position: absolute;
	margin-left: -5px;
	margin-top: -5px;
	display: none;
}
section#intro .head-shoulders ul li:after {

	position: absolute;
	font-weight: 800;
	font-family: 'Avant_Garde_bold';
}
section#intro .head-shoulders ul li:first-child {

	top: 6.5%;
	left: 75%;
}
section#intro .head-shoulders ul li:first-child:after {

	content: '01';
	top: -19px;
	left: 11px;
}
section#intro .head-shoulders ul li:nth-child(2) {

	top: 24%;
	left: 93.5%;
}
section#intro .head-shoulders ul li:nth-child(2):after {

	content: '02';
	top: -14px;
	left: 17px;
}
section#intro .head-shoulders ul li:nth-child(3) {

	top: 50%;
	left: 100%;
}
section#intro .head-shoulders ul li:nth-child(3):after {

	content: '03';
	top: -4px;
	left: 17px;
}
section#intro .head-shoulders ul li:nth-child(4) {

	top: 75%;
	left: 93.5%;
}
section#intro .head-shoulders ul li:nth-child(4):after {

	content: '04';
	top: 8px;
	left: 14px;
}
section#intro .head-shoulders ul li:nth-child(5) {

	top: 93.5%;
	left: 75%;
}
section#intro .head-shoulders ul li:nth-child(5):after {

	content: '05';
	top: 10px;
	left: 10px;
}
section#intro .head-shoulders ul li:nth-child(6) {

	top: 100%;
	left: 50%;
}
section#intro .head-shoulders ul li:nth-child(6):after {

	content: '06';
	top: 15px;
	left: -4px;
}
section#intro .head-shoulders ul li:nth-child(7) {

	top: 93.5%;
	left: 25%;
}
section#intro .head-shoulders ul li:nth-child(7):after {

	content: '07';
	top: 14px;
	left: -15px;
}
section#intro .head-shoulders ul li:nth-child(8) {

	top: 75%;
	left: 6.5%;
}
section#intro .head-shoulders ul li:nth-child(8):after {

	content: '08';
	top: 5px;
	left: -24px;
}
section#intro .head-shoulders ul li:nth-child(9) {

	top: 50%;
	left: 0%;
}
section#intro .head-shoulders ul li:nth-child(9):after {

	content: '09';
	top: -5px;
	left: -26px;
}
section#intro .head-shoulders ul li:nth-child(10) {

	top: 24%;
	left: 6.5%;
}
section#intro .head-shoulders ul li:nth-child(10):after {

	content: '10';
	top: -14px;
	left: -22px;
}
section#intro .head-shoulders ul li:nth-child(11) {

	top: 6.5%;
	left: 25%;
}
section#intro .head-shoulders ul li:nth-child(11):after {

	content: '11';
	top: -18px;
	left: -17px;
}
section#intro .head-shoulders ul li:nth-child(12) {

	top: 0%;
	left: 50%;
}
section#intro .head-shoulders ul li:nth-child(12):after {

	content: '12';
	top: -24px;
	left: -4px;
}

section#intro .intro {

	max-width: 580px;
	margin: 0 auto;
	padding-bottom: 20px;
}

section#intro .scroll-down-container {

	min-height: 50px;
}
section#intro .scroll-down {

	margin-bottom: 20px;
	animation: bounce 2s infinite ease;
	min-height: 1px;
}
section#intro .scroll-down:after {

	content: '';
	border: solid #ffdf00;
	border-width: 0 4px 4px 0;
	display: inline-block;
	padding: 14px;
	transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
	position: absolute;
	bottom: 0px;
	left: 50%;
	margin-left: -16px;
}

@keyframes bounce {
	0%, 100% {
		height: 47px;
	}
	50% {
		height: 17px;
	}
}

section#intro a.wake-up {

	background-color: #fff;
	padding: 20px 28px 14px;
	line-height: 1;
	text-transform: uppercase;
	color: #a59e92;
	font-family: 'Avant_Garde_bold';
	letter-spacing: 2px;
	font-size: 2em;
	margin: 0px 0px 20px;
	display: inline-block;
}
section#intro .scroll-down a.wake-up,
section#intro .scroll-down a.wake-up:hover,
section#intro .scroll-down a.wake-up:active {

	text-decoration: none;
}

/* MENU ITEMS */
ul#menu {

	position: fixed;
	top: 390px;
	right: -267px;
	width: 600px;
	margin-left: -267px;
	margin-bottom: 0;
	overflow: hidden;
	font-size: 1.2em;
	letter-spacing: 1px;
	padding-left: 0;
	height: 76px;
	z-index: 300;
	transform: rotate(-90deg);
}
ul#menu li {

	width: 130px;
	height: 130px;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	border-radius: 50%;
	background-color: #ffdf00;
	float: left;
	list-style: none;
	text-align: center;
	overflow: hidden;
	margin: 0 10px;
	transform: translateY(20px);
	transition: transform 0.5s ease;
	font-weight: 800;
	line-height: 1;
}
ul#menu li.active {

	background-color: #fff;
}
ul#menu li:hover {

	transform: translateY(0px);
}
ul#menu li a {

	color: #000;
}
ul#menu li img {

	max-width: 30px;
	display: block;
	padding: 13px 0px 13px 2px;
	margin: 0 auto;
	transform: rotate(90deg);
}

/* TIMELINE SECTION */
section#timeline {

	position: relative;
	margin-bottom: 100px;
}
.timeline-frame-01 .yellow-timeline-bg {

	padding-top: 100px;
}
section#timeline:after {

	content: '';
	border: solid #ffdf00;
	border-width: 0 4px 4px 0;
	display: inline-block;
	padding: 10px;
	transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
	position: absolute;
	bottom: 0px;
	left: 50%;
	margin-left: -12px;
}
section#timeline .timeline {

	min-height: 1000px;
}

section#timeline article {

	position: relative;
}
section#timeline article .inner {

	width: 50%;
	text-align: right;
	overflow: hidden;
}
section#timeline article .inner .emerge {

	transform: translateX(800px);
	transition: all .7s ease;
}
section#timeline article figure,
section#timeline article .content {

	overflow: hidden;
	padding-right: 70px;
}

section#timeline article figure {

	padding-bottom: 20px;
}

section#timeline article .content {

	padding-top: 20px;
	height: 220px;
}

section#timeline article .content a:link,
section#timeline article .content a:hover,
section#timeline article .content a:active,
section#timeline article .content a:visited,
section#groggy-and-tired a:link,
section#groggy-and-tired a:hover,
section#groggy-and-tired a:active,
section#groggy-and-tired a:visited {

	color: #ffdf00;
	padding-bottom: 4px;
	background-image: url('../images/furniturevillage-dotted-yellow.png');
	background-repeat: repeat-x;
	background-position: bottom;
	background-size: 5px;
}

section#timeline article .content a:hover {

	text-decoration: none;
}

section#timeline article figure img {

	transform: translateY(200px);
	transition: all 1s ease;
}

section#timeline article .content p {

	transform: translateY(-200px);
	transition: all 1s ease;
}

section#timeline article.appear figure img,
section#timeline article.appear .content p {

	transform: translateY(0);
}
section#timeline article.appear .inner .emerge {

	transform: translateX(0) !important;
}

section#timeline .time {

	position: absolute;
	bottom: 200px;
	left: 50%;
	background-color: #fff;
	font-size: 3.2em;
	width: 100px;
	text-align: center;
	margin-left: -50px;
	line-height: 1;
	padding: 8px 0 0px;
	z-index: 200;
	color: #000;
}

section#timeline .icon {

	max-height: 75px;
}

section#timeline .content {

	color: #fff;
	transition: all 0.5s ease;
}

section#timeline hr {

	width: 100%;
	background-color: transparent;
	background-image: url('../images/furniturevillage-dotted.png');
	background-repeat: repeat-x;
	background-size: 8px;
	margin-top: 0;
	margin-bottom: 0;
	height: 3px;
}

/* ALTERNATE ARTICLES */
section#timeline article:nth-child(even) .inner {

	float: right;
	text-align: left;
}

section#timeline article:nth-child(even) figure,
section#timeline article:nth-child(even) .content {

	padding-right: 0;
	padding-left: 70px;
}

section#timeline article:nth-child(even) .inner .emerge {

	transform: translateX(-800px);
}

section#groggy-and-tired ul.references .expand {

	display: block;
	height: 30px;
	cursor: pointer;
}
section#groggy-and-tired ul.references hr {

	width: 100%;
	background-color: transparent;
	background-image: url('../images/furniturevillage-dotted.png');
	background-size: 4px;
}
section#groggy-and-tired ul.references li.active .down-arrow {

	transform: rotate(180deg);
}
section#groggy-and-tired ul.references li h5 {

	color: #ffdf00;
}
section#groggy-and-tired ul.references .down-arrow {

	margin-top: 10px;
}
section#groggy-and-tired ul.references > li > h5 {

	cursor: pointer;
}
section#groggy-and-tired ul.references .sub-content {

	overflow: auto;
	padding-bottom: 20px;
	display: none;
	color: #fff;
	text-align: left;
}
section#groggy-and-tired ul.references .sub-content a:link,
section#groggy-and-tired ul.references .sub-content a:hover,
section#groggy-and-tired ul.references .sub-content a:active,
section#groggy-and-tired ul.references .sub-content a:visited {

	color: #ffdf00;
	padding-bottom: 4px;
	background-image: url('../images/furniturevillage-dotted-yellow.png');
	background-repeat: repeat-x;
	background-position: bottom;
	background-size: 4px;
	font-size: .7em;
}

.blockquote {

	color: #000;
	width: 280px;
	height: 280px;
	margin: 0 auto;
	background-color: #ffdf00;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	border-radius: 50%;
	text-align: center;
	position: relative;
}
.blockquote p {

	font-size: 1.4em;
	position: absolute;
	top: 50%;
	padding: 0 27px;
	margin-bottom: 0;
	transform: translateY(-47%);
}
.blockquote p:before {

	content: '“';
	color: #fff;
	font-size: 6em;
	font-family: 'Garamond', 'Georgia', serif;
	line-height: 1;
	position: absolute;
	top: -50px;
	left: 50%;
	margin-left: -15px;
}
.blockquote p:after {

	content: '”';
	color: #fff;
	font-size: 6em;
	font-family: 'Garamond', 'Georgia', serif;
	line-height: 1;
	position: absolute;
	bottom: -85px;
	left: 50%;
	margin-left: -15px;
}

/* SECONDARY PAGES */
body.secondary-page .in-this-section {

	position: fixed;
	top: 0;
	right: 0;
	letter-spacing: 1px;
	text-transform: uppercase;
	text-align: right;
	font-size: .8em;
	z-index: 400;
}
body.secondary-page .in-this-section h6 {

	padding-right: 15px;
}
body.secondary-page .in-this-section ul {

	list-style: none;
}
body.secondary-page .in-this-section ul li a {

	margin-bottom: 5px;
	padding-bottom: 2px;
	padding-right: 15px;
	background-image: url('../images/furniturevillage-dotted.png');
	background-repeat: repeat-x;
	background-position: bottom;
	background-size: 4px;
	display: inline-block;
}
body.secondary-page .current-section {

	position: fixed;
	top: 0;
	left: 0;
	letter-spacing: 1px;
	text-transform: uppercase;
	text-align: right;
	font-size: .8em;
	background-image: url('../images/furniturevillage-dotted.png');
	background-repeat: repeat-x;
	background-position: bottom;
	background-size: 4px;
	text-align: center;
}
body.secondary-page .current-section img {

	margin: 20px 20px 0;
	max-width: 40px;
}
body.secondary-page .current-section a {

	padding-left: 10px;
	font-size: 1.2em;
}

body.secondary-page section {

	padding-bottom: 0;
	background-size: cover;
	background-position: center;
	color: #fff;
	padding: 0;
}

body.secondary-page section#intro {

	min-height: auto;
	padding: 200px 0 0;
}

body.secondary-page section#intro hr {

	width: 130px;
	background-color: #fff;
}

body.secondary-page section#intro.sleep hr {

	width: 100px;
	background-color: #ffdf00;
}

body.secondary-page section#intro .intro {

	max-width: 500px;
}

body.secondary-page section#intro .bio {

	width: 180px;
	height: 180px;
	margin: 0 auto;
	background-color: #ffdf00;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	border-radius: 50%;
	transform: translateY(90px);
	background-size: cover;
	background-position: center;
	position: relative;
	z-index: 200;
}
body.secondary-page section#intro .bio {

	margin: 0 60px;
	display: inline-block;
}

body.secondary-page section#intro .bio.libby-limon {

	background-image: url('../images/furniturevillage-bio-libby-limon.png');
}

body.secondary-page section#intro .bio-copy {

	width: 40px;
	height: 40px;
	position: absolute;
	top: 50%;
	right: 50%;
	margin-top: -20px;
	margin-right: -108px;
	background-color: #009fe3;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	border-radius: 50%;
	overflow: hidden;
	transition: all 0.5s ease;
}
body.secondary-page section#intro .bio-left .bio-copy {

	margin-right: 68px
}
body.secondary-page section#intro .bio-copy p {

	font-size: 1.4em;
	margin-bottom: 0;
	position: absolute;
	width: 240px;
	line-height: 1.4;
	opacity: 0;
	top: 50%;
	left: 50%;
  	transform: translateY(-50%) translateX(-50%);
	transition: all 0.5s ease;
}
body.secondary-page section#intro .bio-copy .open-close {

	font-weight: 800;
	font-size: 3em;
	position: absolute;
	top: 50%;
	left: 50%;
  	transform: translateY(-50%) translateX(-50%);
  	cursor: pointer;
  	z-index: 200;
	transition: all 0.5s ease;
}

body.secondary-page section#intro .bio-copy.expand {

	width: 320px;
	height: 320px;
	margin-top: -160px;
	margin-right: -160px;
	display: table;
}
body.secondary-page section#intro .bio-copy.expand .open-close {

	top: 10px;
	transform: rotate(45deg);
	margin-left: -10px;
}
body.secondary-page section#intro .bio-copy.expand p {

	opacity: 1;
}

/* SECONDARY PAGE: CONTENT */
body.secondary-page section#rest-and-digest {

	background-image: url('../images/furniturevillage-diet-bg-01.jpg');
	padding: 60px 0 50px;
}
body.secondary-page section#sleep-vs-stimulate {

	background-image: url('../images/furniturevillage-diet-bg-02.jpg');
}
body.secondary-page section#the-fast-ers-and-the-furious {

	background-image: url('../images/furniturevillage-diet-bg-03.jpg');
}
body.secondary-page section#libby-limons-tips {

	background-image: url('../images/furniturevillage-diet-bg-04.jpg');
}
body.secondary-page section#are-you-sleepy-or-just-tired {

	background-image: url(../images/furniturevillage-distractions-bg-01.jpg);
}
body.secondary-page section#why-is-sleep-so-vital {

	background-image: url(../images/furniturevillage-distractions-bg-02.jpg);
}
body.secondary-page section#whats-keeping-you-up {

	background-image: url(../images/furniturevillage-distractions-bg-03.jpg);
}
body.secondary-page section#tips-from-the-sleep-council {

	background-image: url(../images/furniturevillage-distractions-bg-04.jpg);
}
body.secondary-page section#temperature {

	background-image: url(../images/furniturevillage-travel-bg-01.jpg);
}
body.secondary-page section#tips-for-sleeping-in-the-heat {

	background-image: url(../images/furniturevillage-travel-bg-02.jpg);
}
body.secondary-page section#jet-lag {

	background-image: url(../images/furniturevillage-travel-bg-03.jpg);
}
body.secondary-page section#sleeping-with-one-eye-open {

	background-image: url(../images/furniturevillage-travel-bg-04.jpg);
}
body.secondary-page section#sleep1 {

	background-image: url(../images/sleep/wakeup.jpg);
}
body.secondary-page section#sleep2 {

	background-image: url(../images/sleep/sleep.jpg);
}
body.secondary-page section#sleep3 {

	background-image: url(../images/sleep/bedroom.jpg);
}
body.secondary-page section#sleep4 {

	background-image: url(../images/sleep/final-image.jpg);
}

body.secondary-page.diet .head-icon {

	position: absolute;
	top: -60px;
	left: 50%;
	width: 70px;
	margin-left: 180px;
	animation: dietrotateright 2s ease;
	transform-origin: bottom left;
}
@keyframes dietrotateright {

	from {
		transform: rotate(-90deg);
	}
	to {
		transform: rotate(0deg);
	}
}
body.secondary-page section#change-in-habits {
background-image: url(../images/furniturevillage-travel-bg-05.jpg);
}

body.secondary-page section#wherever-i-rest-my-head-is-home {
background-image: url(../images/furniturevillage-travel-bg-06.jpg);
}

body.secondary-page .section-headline .icon {

	margin: 20px  auto;
	display: block;
	max-width: 80px;
}

body.secondary-page .section-headline hr {

	width: 50px;
	background-color: #fff;
}

body.secondary-page p.quote {

	text-indent: 30px;
	position: relative;
}
body.secondary-page p.quote:before,
body.secondary-page p.quote:after {

	color: #ffdf00;
	font-size: 3.6em;
	font-family: 'Garamond', 'Georgia', serif;
	line-height: 1;
}
body.secondary-page p.quote:before {

	content: '“';
	position: absolute;
	top: -3px;
	text-indent: -30px;
}
body.secondary-page p.quote:after {

	content: '”';
	position: absolute;
	margin-left: -20px;
}

body.secondary-page p.drop-cap:first-letter {

	float: left;
	font-size: 2.4em;
	margin-right: 6px;
	line-height: 1.3;
}

body.secondary-page section#rest-and-digest .blockquote {

	transform: translateY(80px);
}

body.secondary-page section#sleep-vs-stimulate .stimulate-sleep {

	padding-bottom: 100px;
}
body.secondary-page section#sleep-vs-stimulate h4 {

	padding: 30px 0 30px;
}
body.secondary-page section#sleep-vs-stimulate h4 img {

	max-width: 95px;
	margin: 0 15px;
}
body.secondary-page section#sleep-vs-stimulate .sleep-stimulate-icon {

	max-height: 40px;
	margin: 15px 0;
}
body.secondary-page section#sleep-vs-stimulate h6 {

	font-family: 'Avant_Garde_bold';
	color: #fff;
	margin-bottom: 0;
	margin-top: 15px;
	line-height: 1.6;
	font-size: 1.6em;
}
body.secondary-page section#sleep-vs-stimulate p.info-text {

	margin-bottom: 0;
	display: none;
}
body.secondary-page section#sleep-vs-stimulate p.read-more {

	color: #ffdf00;
	font-size: 1.3em;
	text-transform: lowercase;
	cursor: pointer;
}
body.secondary-page section#sleep-vs-stimulate .read-more:after {

	content: ' more +';
}
body.secondary-page section#sleep-vs-stimulate .read-more.expand:after {

	content: ' less -';
}

body.secondary-page section#the-fast-ers-and-the-furious .blockquote {

	width: 240px;
	height: 240px;
	margin-top: 50px;
	margin-bottom: 50px;
}
body.secondary-page section#the-fast-ers-and-the-furious .fast-furious {

	padding-bottom: 100px;
}

body.secondary-page section#libby-limons-tips .tip-icon {

	width: 250px;
	height: 250px;
	margin: 0 auto;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	border-radius: 50%;
	position: relative;
}
body.secondary-page section#libby-limons-tips .tip-icon ul.tip-icons li,
body.secondary-page section#libby-limons-tips ul.tips-copy li {

	display: none;
}

body.secondary-page section#libby-limons-tips ul.tip-nav {

	position: absolute;
	top: 50%;
	left: 50%;
  	transform: translateY(-50%) translateX(-50%);
  	border: 1px solid #fff;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	border-radius: 50%;
	height: 285px;
	width: 285px;
	padding: 20px;
}
body.secondary-page section#libby-limons-tips ul.tip-nav li {

	display: block;
	width: 20px;
	height: 20px;
	background-color: #fff;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	border-radius: 50%;
	position: absolute;
	margin-left: -9px;
	margin-top: -9px;
}
body.secondary-page section#libby-limons-tips ul.tip-nav li.active,
body.secondary-page section#libby-limons-tips ul.tip-nav li:hover {

	background-color: #ffdf00;
	cursor: pointer;
}
body.secondary-page section#libby-limons-tips ul.tip-nav li:after {

	padding: 4px;
	color: #000;
	font-size: .8em;
}
body.secondary-page section#libby-limons-tips ul.tip-nav li:first-child {

	top: 0%;
	left: 50%;
}
body.secondary-page section#libby-limons-tips ul.tip-nav li:first-child:after {

	content: '01';
}
body.secondary-page section#libby-limons-tips ul.tip-nav li:nth-child(2) {

	top: 18%;
	left: 89%;
}
body.secondary-page section#libby-limons-tips ul.tip-nav li:nth-child(2):after {

	content: '02';
}
body.secondary-page section#libby-limons-tips ul.tip-nav li:nth-child(3) {

	top: 61%;
	left: 99%;
}
body.secondary-page section#libby-limons-tips ul.tip-nav li:nth-child(3):after {

	content: '03';
}
body.secondary-page section#libby-limons-tips ul.tip-nav li:nth-child(4) {

	top: 95%;
	left: 72%;
}
body.secondary-page section#libby-limons-tips ul.tip-nav li:nth-child(4):after {

	content: '04';
}
body.secondary-page section#libby-limons-tips ul.tip-nav li:nth-child(5) {

	top: 95%;
	left: 28%;
}
body.secondary-page section#libby-limons-tips ul.tip-nav li:nth-child(5):after {

	content: '05';
}
body.secondary-page section#libby-limons-tips ul.tip-nav li:nth-child(6) {

	top: 61%;
	left: 1%;
}
body.secondary-page section#libby-limons-tips ul.tip-nav li:nth-child(6):after {

	content: '06';
}
body.secondary-page section#libby-limons-tips ul.tip-nav li:nth-child(7) {

	top: 18%;
	left: 12%;
}
body.secondary-page section#libby-limons-tips ul.tip-nav li:nth-child(7):after {

	content: '07';
}
body.secondary-page section#libby-limons-tips .tips {

	padding: 30px 0;
	font-size: inherit;
	padding-left: 0;
	list-style: none;
	position: relative;
	margin: 60px 0 100px;
}
body.secondary-page section#libby-limons-tips .tips:before {

	bottom: 100%;
	left: 50%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
	border-bottom-color: rgba(255, 255, 255, .25);
	border-width: 20px;
	margin-left: -20px;
}
body.secondary-page section#libby-limons-tips ul.tips-copy {

	font-size: inherit;
	padding-left: 0;
	list-style: none;
}

/* SECONDARY PAGE: DISTRACTIONS */
body.secondary-page.distractions .head-icon {

	position: absolute;
}
body.secondary-page.distractions .head-icon-01 {

	top: -80px;
	left: 50%;
	width: 55px;
	margin-left: -180px;
	animation: distrotateleft 2s;
	transform-origin: bottom right;
}
body.secondary-page.distractions .head-icon-02 {

	top: -50px;
	left: 50%;
	width: 40px;
	margin-left: 110px;
	animation: distrotateright 2s ease;
	transform-origin: bottom left;
}
@keyframes distrotateleft {

	from {
		transform: rotate(90deg);
	}
	to {
		transform: rotate(0deg);
	}
}
@keyframes distrotateright {

	from {
		transform: rotate(-90deg);
	}
	to {
		transform: rotate(0deg);
	}
}
body.secondary-page section#are-you-sleepy-or-just-tired .yellow-timeline-bg {

	min-height: 140px;
}
body.secondary-page section#are-you-sleepy-or-just-tired #sleepy,
body.secondary-page section#are-you-sleepy-or-just-tired #tired {

	margin-bottom: 30px;
}
body.secondary-page section#are-you-sleepy-or-just-tired #sleepy .icon-sleepy {

	float: right;
	margin-right: -30px;
	max-width: 130px;
	/*margin-top: 20px;*/
	margin-bottom: 40px;
}
body.secondary-page section#are-you-sleepy-or-just-tired #tired .icon-tired {

	margin-left: -39px;
	max-width: 130px;
	margin-bottom: 40px;
}
body.secondary-page section#are-you-sleepy-or-just-tired #sleepy h3,
body.secondary-page section#are-you-sleepy-or-just-tired #tired h3 {

	color: #ffdf00;
	transform: rotate(-90deg);
}
body.secondary-page section#are-you-sleepy-or-just-tired #sleepy h3 {

	float: right;
	margin: 80px -40px 70px 0;
}
body.secondary-page section#are-you-sleepy-or-just-tired #tired h3 {

	float: left;
	margin: 80px 0 70px -25px;
}

body.secondary-page section#why-is-sleep-so-vital .sleep-vital {

	padding-bottom: 100px;
}
body.secondary-page section#why-is-sleep-so-vital .sleep-vital .blockquote {

	margin-top: 40px;
	margin-bottom: 40px;
}

body.secondary-page section#whats-keeping-you-up .yellow-timeline-bg {

	padding-bottom: 80px;
}

body.secondary-page section#tips-from-the-sleep-council ul.sleep-tips {

	padding-bottom: 80px;
}
body.secondary-page section#tips-from-the-sleep-council ul.sleep-tips .expand {

	display: block;
	height: 30px;
	cursor: pointer;
}
body.secondary-page section#tips-from-the-sleep-council ul.sleep-tips hr, .dotted-bottom hr {

	width: 100%;
	background-color: transparent;
	background-image: url('../images/furniturevillage-dotted.png');
	background-size: 4px;
}
body.secondary-page section#tips-from-the-sleep-council ul.sleep-tips li.active .down-arrow {

	transform: rotate(180deg);
}
body.secondary-page section#tips-from-the-sleep-council ul.sleep-tips li.active > h5 {

	color: #ffdf00;
}
body.secondary-page section#tips-from-the-sleep-council ul.sleep-tips li.active > h5 span {

	color: #fff;
}
body.secondary-page section#tips-from-the-sleep-council ul.sleep-tips .down-arrow {

	margin-top: 10px;
}
body.secondary-page section#tips-from-the-sleep-council ul.sleep-tips > li > h5 {

	cursor: pointer;
}
body.secondary-page section#tips-from-the-sleep-council ul.sleep-tips .sub-content {

	overflow: auto;
	padding-bottom: 20px;
	display: none;
}
body.secondary-page section#tips-from-the-sleep-council ul.sleep-tips .sub-content ul.list {

	width: 20%;
	float: left;
	margin-right: 4%;
}
body.secondary-page section#tips-from-the-sleep-council ul.sleep-tips .sub-content ul.list li:hover {

	cursor: pointer;
	color: #ffdf00;
}
body.secondary-page section#tips-from-the-sleep-council ul.sleep-tips .sub-content ul.list li {

	text-transform: uppercase;
	font-size: .6em;
	font-weight: 800;
	letter-spacing: 2px;

	padding: 7px 0 4px;
	background-image: url('../images/furniturevillage-dotted.png');
	background-size: 4px;
	background-repeat: repeat-x;
	background-position: bottom;
}
body.secondary-page section#tips-from-the-sleep-council ul.sleep-tips .sub-content .content {

	width: 76%;
	font-size: 1em;
	float: left;
}
body.secondary-page section#tips-from-the-sleep-council ul.sleep-tips .sub-content .content li {

	display: none;
}
body.secondary-page section#tips-from-the-sleep-council ul.sleep-tips .sub-content .content hr {

	background-image: none;
	background-color: #fff;
	width: 40px;
	margin-left: 0;
}
body.secondary-page section#tips-from-the-sleep-council ul.sleep-tips .sub-content .content p {

	font-size: 1.1em;
}
body.secondary-page section#tips-from-the-sleep-council ul.sleep-tips .sub-content .content p a:link,
body.secondary-page section#tips-from-the-sleep-council ul.sleep-tips .sub-content .content p a:hover,
body.secondary-page section#tips-from-the-sleep-council ul.sleep-tips .sub-content .content p a:active,
body.secondary-page section#tips-from-the-sleep-council ul.sleep-tips .sub-content .content p a:visited {

	color: #ffdf00;
	padding-bottom: 4px;
	background-image: url('../images/furniturevillage-dotted-yellow.png');
	background-repeat: repeat-x;
	background-position: bottom;
	background-size: 5px;
}

body.secondary-page section#intro .bio.lisa {
background-image: url(../images/furniturevillage-bio-lisa.png);
background-repeat: no-repeat;
background-position: center 15px;
background-size: 90%;
}


body.secondary-page section#intro .bio.neil {
background-image: url(../images/furniturevillage-bio-neil.png);
background-repeat: no-repeat;
background-position: center 15px;
background-size: 90%;
}


/* SECONDARY PAGE: TRAVEL */
body.secondary-page.travel .head-icon {

	position: absolute;
}
body.secondary-page.travel .head-icon-01 {

	top: -60px;
	left: 50%;
	width: 65px;
	margin-left: -140px;
	animation: rotateleft 2s;
	transform-origin: bottom right;
}
body.secondary-page.travel .head-icon-02 {

	top: -60px;
	left: 50%;
	width: 65px;
	margin-left: 80px;
	animation: rotateright 2s ease;
	transform-origin: bottom left;
}
@keyframes rotateleft {

	from {
		transform: rotate(90deg);
	}
	to {
		transform: rotate(0deg);
	}
}
@keyframes rotateright {

	from {
		transform: rotate(-90deg);
	}
	to {
		transform: rotate(0deg);
	}
}

body.secondary-page section#temperature .blockquote {

	transform: translateY(30px);
	width: 200px;
	height: 200px;
}
body.secondary-page section#temperature .quotation-mark:before {

	content: '“';
	color: #fff;
	font-size: 6em;
	font-family: 'Garamond', 'Georgia', serif;
	line-height: 1;
	position: absolute;
	top: -50px;
	left: 50%;
	margin-left: -15px;
}
body.secondary-page section#temperature .quotation-mark:after {

	content: '”';
	color: #fff;
	font-size: 6em;
	font-family: 'Garamond', 'Georgia', serif;
	line-height: 1;
	position: absolute;
	bottom: -85px;
	left: 50%;
	margin-left: -15px;
}

body.secondary-page .browse-tips .inner {

	background-image: url('../images/furniturevillage-dotted-yellow.png');
	background-size: 6px;
	background-repeat: repeat-x;
	background-position: bottom;
	position: relative;
	margin-bottom: 10px;
}
body.secondary-page .browse-tips .browse-tips-icon {

	max-width: 120px;
}
body.secondary-page .browse-tips .travel-browse-tips {

	position: absolute;
	bottom: 15px;
	left: 0;
}
body.secondary-page .browse-tips .travel-browse-tips:before {

	content: 'Browse tips';
	position: absolute;
	top: -30px;
	left: 0;
	font-size: 1em;
}
body.secondary-page .browse-tips .travel-browse-tips li {

	display: inline-block;
	border-radius: 50%;
	border: 1px solid;
	color: #ffdf00;
	width: 30px;
	height: 30px;
	text-align: center;
	padding-top: 3px;
	font-size: 1.2em;
	margin-right: 6px;
	cursor: pointer;
}
body.secondary-page .browse-tips .travel-browse-tips li:hover,
body.secondary-page .browse-tips .travel-browse-tips li.active {

	color: #fff;
}
body.secondary-page .travel-tips li {

	font-size: 1.2em;
	position: relative;
	display: none;
	padding: 50px 0;
	margin: 20px 0 40px;
}
body.secondary-page .travel-tips li:before {

	content: '“';
	color: #ffdf00;
	font-size: 6em;
	font-family: 'Garamond', 'Georgia', serif;
	line-height: 1;
	position: absolute;
	top: 0;
	left: 0;
}
body.secondary-page .travel-tips li:after {

	content: '”';
	color: #ffdf00;
	font-size: 6em;
	font-family: 'Garamond', 'Georgia', serif;
	line-height: 1;
	position: absolute;
	bottom: -52px;
	left: 0;
}

body.secondary-page section#sleeping-with-one-eye-open .blockquote {

	width: 220px;
	height: 220px;
}

body.secondary-page section#wherever-i-rest-my-head-is-home .blockquote {

	margin-bottom: 60px;
}

/* FOOTER */
footer {

	padding-top: 20px;
	padding-bottom: 20px;
	text-align: center;
	background-color: #fff;
}
footer ul.social-icons li {

	background-color: #ccc;
	width: 35px;
	height: 35px;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	border-radius: 50%;
	display: inline-block;
	position: relative;
}
footer ul.social-icons li:hover {

	background-color: #009fe3;
}
footer ul.social-icons li img {

	max-width: 30px;
	max-height: 30px;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translateX(-50%) translateY(-50%);
}
footer .back-to-timeline {

	display: inline-block;
	background-color: #ffdf00;
	color: #009fe3;
	font-weight: 800;
	padding: 10px 15px 7px;
	line-height: 1;
	text-transform: uppercase;
	font-size: 1em;
	letter-spacing: 2px;
}


/* RESPONSIVE EDITS */
@media only screen and (max-width: 1024px) {

	body {

		background-color: #1c1936;
		background-size: cover;
		background-position: center;
	}

	.in-this-section,
	.current-section,
	#set-height,
	#v0,
	#menu {

		display: none;
	}

	.hamburger {

		display: block;
	}

	main {

		position: relative;
	}

	.timeline-frame-01, .timeline-frame-02, .timeline-frame-03, .timeline-frame-04,
	.timeline-frame-05, .timeline-frame-06, .timeline-frame-07, .timeline-frame-08 {

		background-size: cover;
	}

	section#timeline {

		background-image: url('../images/mobile_bg.jpg');
	}
}
@media only screen and (max-width: 767px) {

	.yellow-timeline-bg {

		background-image: none;
	}
	.yellow-timeline-bg.height-50 {

		display: none;
	}

	section#timeline article .inner {

		width: 100%;
		text-align: left;
	}
	section#timeline .content,
	section#timeline article .inner .emerge,
	section#timeline article figure img,
	section#timeline article .content p {

		transition: none;
	}
	section#timeline .time {

		bottom: auto;
		top: 0;
	}
	section#timeline .icon {

		margin: 70px auto 0;
		display: block;
	}
	section#timeline article:nth-child(even) figure, section#timeline article:nth-child(even) .content {

		padding-left: 0;
	}
	section#timeline article figure,
	section#timeline article .content {

		padding-right: 0;
		height: auto;
		padding-bottom: 40px;
	}
	section#timeline article .content {

		padding-bottom: 60px;
	}
	section#timeline article figure img,
	section#timeline article .content p {

		transform: translateY(0);
	}
	section#timeline article .inner .emerge {

		transform: translateX(0) !important;
	}
	body.secondary-page section#are-you-sleepy-or-just-tired #sleepy h3,
	body.secondary-page section#are-you-sleepy-or-just-tired #tired h3 {

		transform: none;
		margin: 20px auto 10px;
		float: none;
	}
	body.secondary-page section#are-you-sleepy-or-just-tired #sleepy .icon-sleepy,
	body.secondary-page section#are-you-sleepy-or-just-tired #tired .icon-tired {

		display: none;
	}

	body.secondary-page section#sleep-vs-stimulate .stimulate-sleep,
	body.secondary-page section#sleep-vs-stimulate .stimulate-sleep .text-right {

		text-align: center !important;
	}
}
@media only screen and (max-width: 640px) {

	.head-shoulders {

		display: none !important;
	}

	body.secondary-page .browse-tips .browse-tips-icon {

		visibility: hidden;
	}

	.text-right,
	.text-center {

		text-align: inherit;
	}

	h1,h2 {

		max-width: 300px;
		margin: 20px auto;
	}

	h1 {

		line-height: 1.3;
	}

	h2 {

		line-height: 1.6;
	}
	body.secondary-page p.quote:after {

		margin-left: -30px;
	}

	body.secondary-page section#tips-from-the-sleep-council ul.sleep-tips .sub-content ul.list li {

		font-size: .4em;
	}
}


/* https://victorfont.com/workaround-for-chrome-67-parallax-bug/
   apply to any element with 'background-attachment: fixed'
   kicks in GPU acceleration */

 @media screen and (-webkit-min-device-pixel-ratio:0) and (min-resolution:.001dpcm) {
	 body.secondary-page {
		transform: translate3d(0,0,0);
		-webkit-transform: translate3d(0,0,0);
	 }
}

body.secondary-page section#intro.sleep {
	/*height:100%;*/
	height: 870px;
}
.sub-heading {
	font-size: 2.3em;
	font-weight: bold;
	margin-bottom: 15px;
}

.s2,.s3,.s4,.s5,.s6,.s7,.s8, .s9, .s10, .s11, .s12, .s13, .sleep .timeline {
	display:none;
}

.sleep .timeline {
	margin-top:20px;
}


.s12 {
	overflow: hidden;
}

#footer {
	background: grey;
}
.sleep #footer {
	background: #FFF;
}

/* TIMELINE START */

@charset "UTF-8";
.multi-steps > li.is-active ~ li:before, .multi-steps > li.is-active:before {
  content: counter(stepNum);
  font-family: inherit;
  font-weight: 700;
}
.multi-steps > li.is-active ~ li:after, .multi-steps > li.is-active:after {
  background-color: #ededed;
}

.multi-steps {
  display: table;
  table-layout: fixed;
  width: 100%;
	position: relative;
	z-index: 999;
	/*margin-top: 100px;*/
}
.multi-steps > li {
  counter-increment: stepNum;
  text-align: center;
  display: table-cell;
  position: relative;
  color: grey;
}
.multi-steps > li:before {
	content: '\f00c';
content: '\2713;';
content: '\10003';
content: '\10004';
content: '\2713';
  display: block;
  margin: 0 auto 4px;
  /*background-color: #ffdf00;*/
  width: 36px;
  height: 36px;
  line-height: 32px;
  text-align: center;
  font-weight: bold;
  border-width: 2px;
  border-style: solid;
  border-color: #ffdf00;
  border-radius: 50%;
}
.multi-steps > li:after {
  content: "";
  height: 2px;
  width: 100%;
  background-color: lightgrey;
  position: absolute;
  top: 16px;
  left: 50%;
  z-index: -1;
}
.multi-steps > li:last-child:after {
  display: none;
}
.multi-steps > li.is-active:before {
  background-color: #ffdf00;
  border-color: #ffdf00;
	color:grey;
}

.multi-steps > li:before {
  /*background-color: #ffdf00;*/
	background-color: #BCBCB4;
  border-color: #ffdf00;
}

/* TIMELINE END */

.answer {
	margin-top: 130px;
}

.answer input {
	background: none;
	border:none;
	font-size:4em;
	text-align: center;
	border-bottom:1px solid #FFF;
	width: 100%;
	max-width: 360px;
}

.answer input:focus {
	outline:none;
}

.answer input::-webkit-input-placeholder {
	color:lightgrey;
}

.answer select option {
	color:#009FE3;
	font-size: 0.4em !important;
}

.sel-con {
	text-align: center;
}

.sel {
	border:2px solid #FFF;
	padding:10px;
	display: inline-block;
	margin-right: 10px;
	margin-bottom: 10px;
	font-size: 2em;
	cursor: pointer;
}

.activesel {
	background: #FFF;
	color:#009FE3;
	font-weight: bold;
}

.multi-steps {
	counter-reset: section;
}

.multi-steps li::before {
  counter-increment: section;                 /* Increment the value of section counter by 1 */
  content: counter(section);
	color:#ffdf00;                 /* Display the value of section counter */
}

.back-link, .next-link {
	color: #ffdf00;
	font-size: 1.7em;
	margin: 10px 0;
	font-weight: bold;
	cursor: pointer;
}

.back-link::-moz-selection, .next-link::-moz-selection  { color: #FFF}
.back-link::selection, .next-link::selection { color: #FFF; }

.back-link {
	float: left;
}
.back-link:before {
	content:"◄";
	color:#FFF;
	margin-right: 5px;
}

.next-link {
	float: right;
}
.next-link:after {
	content:"►";
	color:#FFF;
	margin-left: 5px;
}

.container {
	position: relative;height: 100%;
}

.timeline-container {
	position: absolute;
	bottom: 100px;
}

#result-l1 {
	font-size: 2.4em;
	font-weight: bold;
}
#result-l2 {
  font-size: 1.6em;
}
#result-l3 {
	font-size: 1.6em;
	padding-bottom:50px;
}

body.secondary-page.sleep .head-icon {

	position: absolute;
	top: -60px;
	left: 55%;
	width: 55px;
	margin-left: 180px;
	animation: dietrotateright2 2s ease;
	transform-origin: bottom left;
	transform: rotate(22deg);
}
@keyframes dietrotateright2 {

	from {
		transform: rotate(-90deg);
	}
	to {
		transform: rotate(22deg);
	}
}

.sw {
	width: 275px;
	margin: 30px auto 30px;
}

body.secondary-page section#intro .intro {
	max-width: 630px;
	margin-bottom: 0px;
}

.question-help {
	font-size:1.8em;
}

.s7 .sub-heading {
	width: 60%;
	margin: 0 auto;
}

.sleep-title {
	font-weight: bold;
	font-size: 1.5em;
}

.sleep-hours {
	font-weight: bold;
	font-size: 2.2em;
}

.sleep-title, .sleep-bar, .sleep-hours {
	display: inline;
	float: left;
}

.sleep-title {
	width:25%;
}

.sleep-bar {
	width:55%;
}

.sleep-hours {
	width:18%;
}

.result {
	margin:15px 0;
}


.stitle {
	font-size: 2.4em;
	font-weight: bold;
}

.scontent {
	font-size: 1.6em;
}

.inputGroup {
  background-color: transparent;
	border:2px solid #FFF;
  display: block;
  margin: 10px auto;
  position: relative;
	max-width: 350px;
}
.inputGroup label {
  padding: 12px 30px;
  width: 100%;
  display: block;
  text-align: left;
  color: #FFF;
  cursor: pointer;
  position: relative;
  z-index: 2;
  transition: color 200ms ease-in;
  overflow: hidden;
	font-size: 1.5em;
	margin-bottom: 0;
}
.inputGroup label:before {
  width: 100%;
  height: 10px;
  border-radius: 50%;
  content: '';
  /*background-color: #ffdf00;*/
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale3d(1, 1, 1);
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  z-index: -1;
}
.inputGroup label:after {
  width: 32px;
  height: 32px;
  content: '';
  border: 2px solid #d1d7dc;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.414 11L4 12.414l5.414 5.414L20.828 6.414 19.414 5l-10 10z' fill='%23fff' fill-rule='nonzero'/%3E%3C/svg%3E ");
  background-repeat: no-repeat;
  background-position: 2px 3px;
  border-radius: 50%;
  z-index: 2;
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  transition: all 200ms ease-in;
}

.inputGroup input:checked ~ label {
  color: #009FE3;
}

.inputGroup input:checked ~ label:before {
  transform: translate(-50%, -50%) scale3d(56, 56, 1);
  opacity: 1;
	background: #FFF;
}
.inputGroup input:checked ~ label:after {
  background-color: #009FE3;
  border-color: #009FE3;
}
.inputGroup input {
  width: 32px;
  height: 32px;
  order: 1;
  z-index: 2;
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  visibility: hidden;
}

.time-container {
	text-align: center;
}

.time-large {
	font-size: 3.5em;
	font-weight: bold;
}

.time-large span {
	color: #FFDF00;
}

.yellow-mini {
	color: #FFDF00;
	font-size: 1.6em;
}

.spacer {
	margin-bottom: 50px;
}

.enough-text {
	font-size:1.6em;
	position: absolute;
	bottom: 0px;
	left: 0;
	right: 0;
}

.enough-text span {
	font-weight: bold;
	font-size:1.1em;
}

.resultbg {
	background: rgba(0,0,0,0.2);
}

.sleep-res {
	margin-bottom: 20px;
	display: flex;
}

.sleep div {
	/*display: flex;*/
}

.icon-c {
	text-align: center;
	min-height: 145px;
	position: relative;
}

.icon-c img {
	max-height: 78px;
}

.avg-icon {
	margin:40px auto;
}

.reclaimhours-container {
	text-align: center;
	font-size: 1.7em;
	margin: 7px auto;
}
.reclaimhours {
	display: inline;
	font-weight: bold;
}

.center-text {
	text-align: center;
}

.answer {
	position: relative;
}

select {
	background: none;
	border:0;
	font-size: 5em;
	font-weight: bold;
	width:88px;
	height: 55px;
	-webkit-appearance: none;
	-moz-appearance: none;
	-ms-appearance: none;
}
select:focus {
	outline:none;
}
select::-ms-expand {
	display: none;
}
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
	/* IE10+ CSS styles go here */
	select {
		height: 95px;
	}
}

.time-divide {
	font-size: 5em;
	font-weight: bold;
	display: inline;
}

.error {
	color:red;
	font-size:2em;
	text-align: center;
	display: none;
}

/* BAR CHART */
.skills {
	 width: 100%;
	 max-width: 960px;
	 height: 30px;
	 margin: auto;
	 position: relative;
}
 .lines {
	 height: 100%;
	 position: relative;
	 z-index: 12;
	 background: rgba(255,255,255,0.1);
}
 .line2 {
	 height: inherit;
	 width: 2px;
	 position: absolute;
	 background: rgba(238, 238, 238, 0.6);
}
 .line2.l--0 {
	 left: 0;
}
.line2.l--1 {
	left: 8.33%;
}
.line2.l--2 {
	left: 16.66%;
}
.line2.l--3 {
	left: 24.99%;
}
.line2.l--4 {
	left: 33.32%;
}
.line2.l--5 {
	left: 41.65%;
}
.line2.l--6 {
	left: 49.98%;
}
.line2.l--7 {
	left: 58.31%;
}
.line2.l--8 {
	left: 66.64%;
}
.line2.l--9 {
	left: 74.97%;
}
.line2.l--10 {
	left: 83.3%;
}
.line2.l--11 {
	left: 91.63%;
}
.line2.l--12 {
	left: calc(100% - 1px);
}

 .line__label {
	 display: block;
	 width: 100px;
	 text-align: center;
	 position: absolute;
	 bottom: -20px;
	 right: -50px;
}
 .line__label.title {
	 text-transform: uppercase;
	 font-weight: bold;
}
 .charts {
	 width: 100%;
	 height: 100%;
	 position: absolute;
	 top: 0;
	 left: 0;
	 z-index: 10;
}
 .chart {
	 margin: 30px 0 0;
}
 .chart:first-child {
	 margin: 0;
}
 .chart__title {
	 display: block;
	 margin: 0 0 10px;
	 font-weight: bold;
	 opacity: 0;
	 animation: 1s anim-lightspeed-in ease forwards;
}
 .chart--prod .chart__title {
	 animation-delay: 3.3s;
}
 .chart--design .chart__title {
	 animation-delay: 4.5s;
}
 .chart--horiz {
	 overflow: hidden;
}
 .chart__bar {
	 height: 30px;
	 margin-bottom: 10px;
	 background: linear-gradient(to left, #4cb8c4, #3cd3ad);
	 opacity: 0;
	 animation: 1s anim-lightspeed-in ease forwards;
}
 .chart__label {
	 padding-left: 10px;
	 line-height: 30px;
	 color: white;
}

.pad-bottom{
	padding-bottom:80px;
}

.sleep .down-arrow:after {
	 padding:10px;
	 border-width: 0 4px 4px 0;
}
.sleep .down-arrow {
	padding-bottom: 10px;
}
.sleep#intro {
	overflow: hidden;
}

#sleep2 #nosection .col-sm-6, #sleep3 #yessection .col-sm-6 {
	padding-top: 50px;
}

#sleep2 #nosection .col-sm-6:nth-child(odd), #sleep3 #yessection .col-sm-6:nth-child(odd) {
	text-align: right;
}

.sleep h2 {
	font-size: 3em;
}

label:after {
		content: '\25BC';
		display: inline-block;
		box-sizing: border-box;
		color: #FFF;
		margin-left: -24px;
		pointer-events: none;
		position: absolute;
		top: 18px;
		font-size: 2.5em;
}

 @keyframes anim-lightspeed-in {
	 0% {
		 transform: translateX(-200%);
		 opacity: 1;
	}
	 100% {
		 transform: translateX(0);
		 opacity: 1;
	}
}

@media only screen and (max-width: 1024px) ,screen and (max-height: 835px) {
	.timeline-container {
		position: static;
	}
	.answer {
		margin-top:50px;
	}
	.multi-steps {

		margin-top: 50px;
	}
}

@media only screen and (max-width: 768px) {
.sicon {
		margin: 0 auto;
    display: flex;
	}
	#sleep2 #nosection .col-sm-6:nth-child(odd), #sleep3 #yessection .col-sm-6:nth-child(odd) {
		text-align: left;
	}
	.icon-c {
		min-height: 115px;
		margin-bottom:20px;
	}
	#sleep1 .spacer {
		margin-bottom:0px;
	}
	body.secondary-page section#intro.sleep {
		height:100%;
	}
	select {
		width:105px;
	}
}

@media only screen and (max-width: 640px) {
	body.secondary-page.sleep .head-icon {
			left:35%;
	}
}
