@font-face {
  	font-family: 'Blender';
  	src: url('./fonts/Blender-Pro-Heavy.otf') format('opentype');
	font-weight: 700;
}

@font-face {
  	font-family: 'Blender';
  	src: url('./fonts/Blender-Pro-Medium-Italic.otf') format('opentype');
	font-weight: 500;
	font-style: italic;
}

@font-face {
  	font-family: 'Blender';
  	src: url('./fonts/Blender-Pro-Medium.otf') format('opentype');
  	font-weight: 500;
}

@font-face {
  	font-family: 'Blender';
  	src: url('./fonts/Blender-Pro-Thin-Italic.otf') format('opentype');
  	font-weight: 300;
  	font-style: italic;
}

@font-face {
  	font-family: 'Blender';
  	src: url('./fonts/Blender-Pro-Thin.otf') format('opentype');
  	font-weight: 300;
}

@font-face {
  	font-family: 'Agency';
  	src: url('./fonts/AGENCYR.ttf') format('truetype');
	font-weight: 500;
}

@font-face {
  	font-family: 'Agency';
  	src: url('./fonts/AGENCYB.ttf') format('truetype');
	font-weight: 700;
}

html {
	font-size: 62.5%;
}

html * {
	font-family: "Helvetica Neue", Helvetica, Liberation, sans-serif;
	color: #333;
}

h1, h2, h3, h4, h5, h6, .headline-font {
	font-family: "Agency", "Helvetica Neue", Helvetica, Liberation, sans-serif;
}

body {
	margin: 0;
}

a {
	text-decoration: none;
}

h1 {
	font-size: 5rem;
}

h2 {
	font-size: 4rem;
}

h3 {
	font-size: 3rem;
}

p, a, span, li {
	font-size: 1.6rem;
	line-height: 1.6rem;
}

a {
	cursor: pointer;
}

input {
	box-sizing: border-box;
}

.hero {
	/*color: white;*/
	min-height: 96vh;
	font-size: 1.3rem;
	letter-spacing: 0.1rem;
	font-weight: 300;
	line-height: 4rem;
	width: 100%;
	z-index: 1;
	overflow: hidden;
	/*background-image: url('./images/hero_book.jpg');*/
	/*background-color: #eee;*/
	background-size: cover;
	background-position: center;
}

.hero .navbar {
	/*opacity: 0.8;*/
	background-color: rgba(255,255,255,0.9) !important;
	position: fixed;
	width: 100%;
	z-index: 5000;
}

.hero .navbar .logo {
	height: 36px;
}

.hero .nav-link {
    color: #6cc5d8 !important;
    font-weight: 400;
    padding: 8px 10px;
    letter-spacing: 0;
    /* Need to overwrite Bootstrap */
    padding-left: 10px !important;
    padding-right: 10px !important;
}

.hero .nav-cta {
	border: solid 1px #6cc5d8;
	border-radius: 6px;
}

.hero .jumbotron {
	background: transparent;
	/* To offset fixed nav */
	margin-top: 6rem;
}

.hero .jumbotron-text {
	margin-top: 4vh;
}

.hero .jumbotron-image {
	margin-top: 14vh;
}

@media only screen and (max-width: 768px) {
	.hero {
		/*background-image: url('./images/hero_book_mobile.jpg');*/
	}

	.hero .jumbotron-image, .hero .jumbotron-text {
		margin-top: 1vh;
	}
}

.hero .jumbotron h1,
.hero .jumbotron p {
	color: #333;
}

.hero .jumbotron h1 {
	font-weight: 700;
	margin-bottom: 0.4em;
	line-height: 1.1em;
	font-size: 5em;
}

.hero .jumbotron p {
	font-size: 1.6rem;
	line-height: 2.6rem;
	font-weight: 400;
}

.header-container {
	padding:  0 10%;
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.logo {
	color: white;
}

.nav {
	float: right;
}

.nav a {
	color: white;
	font-size: 1.6rem;
}

.nav a+a {
	margin-left: 2rem;
}

header span {
	border-bottom: 1px solid white;
	padding-bottom: 4px;
	font-size: 2rem;
	padding-top: 10px;
}

.main-cta {
	padding: 15px 65px;

	margin: 0;
    width: auto;
    overflow: visible;
    background: transparent;
    color: inherit;
    font: inherit;
    line-height: normal;
    text-align: inherit;
    -webkit-font-smoothing: inherit;
    -moz-osx-font-smoothing: inherit;
    -webkit-appearance: none;
    font-family: Graphik Web,proxima-nova,Helvetica Neue,Helvetica,Arial,sans-serif!important;
    cursor: pointer;
    white-space: nowrap;
    border-radius: 4px;
    font-size: 16px;
    line-height: 22px;
    text-align: center;
    /*padding: 15px 20px;*/
    color: #fff !important;
    /*background: #53b1c5;
    border: 1px solid #53b1c5;*/
    background: #01A9ED;
    border: 1px solid #01A9ED;
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;

    font-weight: 500;
}

.main-cta:hover {
	opacity: 1;
    color: #fff !important;
    background-color: #9ce7f7;
    border: 1px solid #9ce7f7;
}

.modal-btn {
	border: none;
	background-color: transparent;
	font-size: 1.6rem;
	color: white;
	padding-top: 10px;
}

.modal-btn:hover, .modal-btn:focus {
	cursor: pointer;
}

.form-group {
	display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.form-group label {
	font-size: 1.4rem;
	padding: 5px;
}

#warning-message {
  color: #e8004b;
  text-align: center;
  font-size: 1.4rem;
}

content {
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	overflow: auto;
	z-index: -1;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	display: block;
}

.video-container {
	position: relative;
	width: 100%;
	/*height: 100%;*/
	height: 100vh;
	overflow: hidden;
	/*background: url('https://kaffae.com/images/hero_book.jpg');*/
	background: url('./images/hero_book.jpg');
	background-size: cover;
	background-position: center;

}

.video-container video {
	/* Make video to at least 100% wide and tall */
	min-width: 100%;
	min-height: 100%;

	/* Setting width & height to auto prevents the browser from stretching or squishing the video */
	width: auto;
	height: auto;

	/* Center the video */
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.overlay {
	/*height: 100%;*/
	height: 100vh;
	width: 100%;
	position: absolute;
	top: 0;
	background-color: rgba(0,0,0,0.4);
}

.flex {
	height: 100%;
	display: flex;
	flex-direction: column;
}

.flex-placeholder {
	flex: 0.85;
}

.big-sub-headline {
	font-size: 4em;
    text-align: center;
    font-weight: 700;
    margin-bottom: 1em;
    letter-spacing: 0.05em;
}

.sub-headline {

}

.hero .jumbotron h1, .big-sub-headline, .sub-headline {
	font-family: Doyle,Times New Roman,Times,serif;
}

article {
	padding-left: 10%;
	padding-bottom: 50px;
	color: white;
	text-align: right;
	padding-right: 5%;
}

article h1, article p, article input {
	margin-left: auto;
	color: white;
}

article h1 {
	width: 40%;
	line-height: 4.8rem;
	letter-spacing: 0.2rem;
    margin-bottom: 10px;
    margin-left: auto;
}

article p {
	width: 37%;
	margin-top: 0;
	line-height: 2.4rem;
	letter-spacing: 0.06rem;
	font-size: 1.6rem;
	font-weight: 300;
    margin-bottom: 40px;
}

.chrome-extension {
	background-color: #01A9ED;
	border: none;
	color: #FFF;
	cursor: pointer;
	display: inline-block;
	font-weight: 600;
	line-height: 1;
    letter-spacing: 0.1em;
	margin-top: 8px;
	min-width: 190px;
	padding: 12px 20px;
	text-decoration: none;
	border-radius: 10px 10px 10px 10px;
	margin-left: -4px;
    margin-bottom: 1px;
    height: 46px;
}

/* Extension Feature*/
.extension-feature {
	padding: 10% 5%;
}

.extension-feature-content {
	background-color: #a4dcff;
}

.extension-feature h3 {
	color: #444;
}

.extension-feature li {
	color: #444;
	line-height: 1.4em;
}

/*Horizontal line*/
/*.hows:before {
	content: '';
	position: absolute;
	top: 50%;
	left: 0;
	border-top: 1px solid black;
	width: 100%;
}*/

.brand {
	text-align: center;
	background-color: #eeeeee;
	/*padding-top: 50px;*/
	/*padding-bottom: 90px;*/
	/*margin-bottom: 50px;*/
}

.brand p {
	color: #555;
}

.brand-logos {
	display: flex;
	justify-content: center;
	align-items: center;
	max-width: 1080px;
    flex-wrap: wrap;
    margin: auto;
}

.brand-logos img {
	width: 140px;
	margin: 15px 60px;
}

.case-study .article {
	display: flex;
	flex-direction: column;
	align-self: flex-start;
}

.case-study .article .article-text {
	font-size: 1.3rem;
}

.gallery-overlap {
    position: relative;
    height: 13vw;
}

@media only screen and (max-width: 1600px) {
	.gallery-overlap {
		height: 15vw;
	}
}

@media only screen and (max-width: 1400px) {
	.gallery-overlap {
		height: 17vw;
	}
}

@media only screen and (max-width: 1024px) {
	.gallery-overlap {
		height: 19vw;
	}
}

@media only screen and (max-width: 768px) {
	.gallery-overlap {
		height: 24vw;
	}
}

@media only screen and (max-width: 480px) {
	.gallery-overlap {
		height: 29vw;
	}
}


.gallery-overlap-image {
	box-shadow: #fff 3px 3px 3px;
	position: absolute;
    width: 28%;
    border: 1px solid #666;
    border-radius: 6px;
}

.gallery-overlap-image:nth-child(1) {
	left: 0px;
	z-index: 5;
}

.gallery-overlap-image:nth-child(2) {
	left: 18%;
	z-index: 4;
}

.gallery-overlap-image:nth-child(3) {
	left: 36%;
	z-index: 3;
}

.gallery-overlap-image:nth-child(4) {
	left: 54%;
	z-index: 2;
}

.gallery-overlap-image:nth-child(5) {
	left: 72%;
	z-index: 1;
}

.gallery-overlap-image, .gallery-overlap-elipsis {
	position: absolute;
}

.gallery-overlap-image img {
	border-radius: 5px;
}

.benefits {
	margin-bottom: 8em;
}

.benefit .number {
	position: absolute;
    border: 1px solid black;
    padding: 5px;
    border-radius: 100%;
    left: 10px;
    top: 0;
}

.benefit p {
	line-height: 2rem;
	color: #555;
}

@media only screen and (max-width: 768px) {
	.benefit {
		display: flex;
		text-align: left !important;
		margin-bottom: 10px;
	}

	.benefit-image {
		flex: 3;
	}

	.benefit-text {
		flex: 7;
		margin-left: 4rem;
	}

	.benefit-image img {
		margin-left: 10px;
		margin-top: 10px;
	}
}

.how {
	background-color: #fafafa;
	padding-top: 50px;
	padding-bottom: 50px;
}

.how h2 {
	text-align: center;
	margin-bottom: 70px
	margin-top: ;
}

.hows {
	padding: 3% 10% 0%;
	display: flex;
	justify-content: space-between;
	text-align: center;
}

.how-point {
	vertical-align: top;
	letter-spacing: 0.02rem;
	padding: 0 8%;
	width: 18%;
	position: relative;
}

.how-point img {
	width: 126px;
}

.how-point h4 {
	font-weight: 500;
	font-size: 18px;
	font-size: 1.8rem;
	margin-bottom: 10px;
	margin-left: 10px;
}

.how-point p {
	color: #333;
	font-size: 1.6rem;
	line-height: 1.9rem;
	margin-top: 0px;
	margin-left: 10px;
}

.value-line {
	border-right: 0;
    border-top: 1px solid #aaa;
    left: calc(16% + 71%);
    position: absolute;
    top: 80px;
    width: calc(16% + 12%);
}

.cta input {
	height: 54px;
    margin-top: 30px;
    padding-right: 16px;
    padding-left: 16px;
    text-align: center;
    color: white;
    background-color: #01A9ED;
    font-size: 16px;
    border-radius: 5px;
}

.references {
	padding: 8% 10% 0;
}

.reference-par {
	font-size: 1.4rem;
}

.reference-num {
	font-size: 0.5rem;
}

.stats {

}

.stats .number {
	/*color: #01A9ED;*/ /*blue*/
	color: brown;
}

footer {
	border-top: 1px solid #111;
	margin: 0 10%;
	height: 50px;
	padding-top: 27px;
	display: flex;
    justify-content: space-between;
}

footer .copy-rights {
	color: #333;
	font-size: 1.2rem;

}

footer .sitemap a{
	color: #333;
	font-size: 1.2rem;

	/* anchor gets collapsed somehow. Fix*/
	padding: 1rem;
}

.modal {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 100;
	height: 100%;
	width: 100%;
	background: rgba(0, 0, 0, 0.5);
	display: none;
}

.modal-content {
	margin: 16vh auto;
	background-color: #fff;
	padding: 20px;
	padding-bottom: 50px;
	box-shadow: 0 5px 8px rgba(0, 0, 0, 0.2), 0 7px 20px rgba(0, 0, 0, 0.2);
	animation-name: modalopen;
	animation-duration: 0.5s;
}

.close-btn {
	float: right;
	font-size: 2rem;
	color: #aaa;
}

.close-btn:hover, .close-btn:focus {
	cursor: pointer;
}

@keyframes modalopen {
	from {
		opacity: 0
	}
	to {
		opacity: 1
	}
}

.modal-body {
	margin: 0 auto 10px;
	text-align: center;
}

.modal-body h5 {
	font-size: 2.5rem;
}

.modal-body input {
	height: 30px;
	padding-left: 1rem;
	font-size: 1.6rem;
	font-family: helvetica;
	color: #777;
	max-width: 327px;
}

.modal-body button {
	width: 100%;
	max-width: 327px;
	margin-top: 10px;
	height: 30px;
	font-size: 1.6rem;
	letter-spacing: 0.2rem;
	font-weight: 700;
	color: white;
	background: brown;
	cursor: pointer;
}

.doyle {
	font-family: Doyle,Times New Roman,Times,serif;
}

@media only screen and (max-width: 700px) {
  .benefit-image {
  	padding: 0 !important;
  }

  .hows {
  	display: block;
  }

  .how-point {
  	width: 100%;
  	margin-bottom: 40px;
	    box-sizing: border-box;
  }

  .value-line {
  	display: none;
  }

  .features-photo {
  	flex-direction: column;
  	justify-content: normal;
	    height: 500px;
  }

  .feature-photo {
  	height: 420px;
  	width: 100%;
  }

  .feature-quote {
  	width: 100%;
  	text-align: center;
  }

  .feature-quote .quote, .feature-quote .quote-author {
  	display: none;
  }
}