@font-face {
  font-family: 'Christopher Hand';
  src: url('../../fonts/comesinhandy.woff2') format('woff2'),
       url('../../fonts/comesinhandy.woff') format('woff'),
       url('../../fonts/comesinhandy.ttf') format('truetype');
}

/* Common Stuff */

h2 {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #333;
    font-size: 25px;
}

.main-content h2 {
    font-weight: 300;
	font-size: 30px;
    letter-spacing: 5px;
	color: #777;
	text-align: center;
	margin-top: 60px;
	margin-bottom: 90px;
}

@media (max-width: 550px) {

	.main-content h2 {
		font-size: 28px;
		margin-top: 40px;
		margin-bottom: 40px;
	}
}

blockquote:before
{
	color: #5bc0de; /* #1ABC9C #2c3e50 */
	content: '\201C'; /* http://monc.se/kitchen/129/rendering-quotes-with-css */
	font-family: "Source Sans Pro", sans-serif;
	font-size: 3.7em;
	font-weight: bold;
	line-height: 0px;
	margin: 0px 5px 0px -40px;
	vertical-align: bottom;
}

blockquote {
	border: 0px;
	font-size: 25px;
    font-weight: 300;
    color: #666; /* #2c3e50 */
	line-height: 35px;
    font-family: "Source Sans Pro", sans-serif;
}

@media (max-width: 992px) {

	blockquote {
		margin-top: 20px;
	}
}

@media (max-width: 768px) {

	blockquote {
		padding: 0px;
	}
}


@media (max-width: 768px) {

	blockquote {
		font-size: 20px;
	}
}

.underlined-text {
	text-decoration: none;
	border-bottom: 3px solid #b4e7f8;
    box-shadow: inset 0 -5px 0 #b4e7f8;
}

@media (max-width: 768px) {
	
	.container {
		padding-left: 20px;
		padding-right: 20px;
	}
}

/* Fixes taken from Assan 2.0 to prevent icons to shift downwards when moving 
   the mouse over them in Safari. */

.social-icon {
	display: block;
	float: left;
}

.social-icon-lg {
	display: block;
	float: left;
}

.social-icon-sm {
	display: block;
	float: left;
}

/* Welcome */

.mfp-iframe-holder .mfp-content {
	width: 320px !important;
	height: 568px !important;
}

#welcome {
	position: relative;
	background-color: rgb(251,251,251); /* #ECE9E6; */
	border-bottom: 1px solid #ddd;
}

#welcome .container {
	position: relative;
	padding: 0;
}

#welcome h1 {
	display: block;
	margin-bottom: 30px;
	font-family: "Christopher Hand", sans-serif;
	font-size: 75px;
	font-weight: 400;
	opacity: 0.7;
}

#welcome h1 colored-text {
	opacity: 0.8;
}

#welcome p {
	padding-left: 50px;
	padding-right: 50px;
	font-family: "Source Sans Pro", sans-serif;
	font-size: 20px;
	font-weight: 400;
	text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.05);
	opacity: 0.75;
}

.intro-left {
	display: table;
	/* Very important for Firefox, otherwise max-width for .banner-iphone won't 
	   be respected.
	   See http://stackoverflow.com/questions/2923710/why-do-firefox-and-opera-ignore-max-width-inside-of-display-table-cell */
	table-layout: fixed;
	height: 600px;
}

.intro-right {
	height: 600px;
}


.bottom-block {
	display: table-cell;
    vertical-align: bottom;
}

.banner-iphone {
	display: block;
	max-width: 100%;
	height: auto;
	margin-left: 30px; /* 20px */
}

@media (max-width: 970px) {
	.banner-iphone {
		max-width: 100%;
	}
}

.intro-video {
    padding: 10px 18px 10px 18px;
	/* No margin bottom since we align top-down and set each column height 
	   explicitly, since bootstrap makes it hard to have equal height columns 
	   with dynamically sized content. */
	margin-top: 30px;
	font-size: 15px;
	font-weight: 400;
	letter-spacing: 4px;
	vertical-align: middle;
	border-radius: 100px;
}

.intro-video .fa {
	padding-right: 8px;
	font-size: 23px;
	vertical-align: -4px;
}

.download-area {
 	width: auto;
	height: 150px;
	text-align: right;
}

.download-appstore {
	display: inline-block;
	margin-top: 20px;
	width: 169px;
    height: 50px;

	background-image: url(../../images/download-appstore.png);
    background-repeat: no-repeat;
    background-size: 100%;
	opacity: .75;

	/* Hide link text if the image is visible (we inherit text-align: right) */
	text-align: left;
	text-indent: -999em;
    white-space: nowrap;
    overflow: hidden;
}

.download-area .download-appstore {
	float: right;
}

.app-icon {
	max-width: 20%;
	margin-bottom: 30px;
	opacity: 0.9;
	
	/*border-radius: 25px;
    -webkit-box-shadow: 0 0 8px 1px rgba(0,0,0,.1),0 0 1px 1px rgba(0,0,0,.1);
    -moz-box-shadow: 0 0 8px 1px rgba(0,0,0,.1),0 0 1px 1px rgba(0,0,0,.1);
    -o-box-shadow: 0 0 8px 1px rgba(0,0,0,.1),0 0 1px 1px rgba(0,0,0,.1);
    -ms-box-shadow: 0 0 8px 1px rgba(0,0,0,.1),0 0 1px 1px rgba(0,0,0,.1);
    box-shadow: 0 0 8px 1px rgba(0,0,0,.1),0 0 1px 1px rgba(0,0,0,.1);*/
}

@media (max-width: 1200px) {
	.intro-left {
		height: 500px;
	}

	.intro-right {
		height: 500px;
	}
	
	.download-area {
		height: 130px;
	}
	
	.app-icon {
		margin-bottom: 20px;
	}
	
	#welcome h1 {
		margin-bottom: 20px;
		font-size: 60px;
    }
	
	#welcome p {
		font-size: 18px;
	}
	
	.intro-video {
		margin-top: 20px;
	}
}

@media (max-width: 992px) {
	.intro-left {
		height: 380px;
	}

	.intro-right {
		height: 380px;
	}
	
	.download-area {
		display: none;
		height: 100px;
	}
	
	.app-icon {
		margin-top: 50px;
		margin-bottom: 10px;
	}
	
	#welcome h1 {
		font-size: 47px;
    }
	
	#welcome p {
		padding-left: 20px;
		padding-right: 20px;
		font-size: 16px;
	}
	
	.intro-video {
		margin-top: 10px;
	}
}

@media (max-width: 768px) {

	.intro-left {
		height: auto;
	}

	.intro-right {
		height: auto;
	}
	
	.banner-iphone {
		width: 80%;
		margin-left: auto;
		margin-right: auto;
	}
	
	.app-icon {
		max-width: 20%;
		margin-top: 70px;
		margin-bottom: 40px;
		
	}
	
	#welcome h1 {
		padding-left: 20px;
		padding-right: 20px;
		font-size: 60px;
    }
	
	#welcome p {
		padding-left: 20px;
		padding-right: 20px;
    }
	
	.intro-video {
		margin-top: 20px;
		margin-bottom: 50px;
	}
}

@media (max-width: 550px) {
	
	.app-icon {
		max-width: 25%;
		margin-top: 50px;
		margin-bottom: 20px;
	}

	#welcome h1 {
		font-size: 55px;
    }
	
	.intro-video {
		margin-top: 30px;
		margin-bottom: 50px;
	}
}

/* Launch */

/* Override some stuff defined in intro-text */
#launch {
	padding: 40px;
	background-color: white; /* #ECE9E6; */
	border-bottom: solid 1px #eee;
}

#launch h2 {
	margin: 0px;
}

#launch blockquote {
	margin: 0px;
}

@media (min-width: 992px) {

	#launch .download-appstore {
		display: none;
	}
}

@media (max-width: 992px) {

	#launch .download-appstore {
		margin-top: 20px;
	}
}

/* Screenshot Gallery */

#screenshots {
	/*background-color: #eee;*/
}

#screenshots .container {
	padding-top: 40px;
	padding-bottom: 40px;
	border-bottom: solid 1px #eee;
}

.owl-spaced .owl-item > div {
    margin: 20px;
}

.item-img-wrap {
    border-radius: 5px;
    border: solid 1px #ddd;
}

/* Hide the big + on mouse over */
.item-img-overlay span {
	background: rgba(0, 0, 0, 0.7);
}

/* Hide the arrow over the image bottom */
.work-desc:before {
  display: none;
}

/* We have to use 479px since owl is initialized width itemsMobile: [479, 1] 
   in custom.js for #work-carousel. This represents the size at which owl 
   starts to present a single item. */
@media (max-width: 479px) {

	/* Turn off gray overlay on mouse over and popup on click */

	.item-img-overlay {
		display: none;
	}
	
	/* Turn off zoom animation on mouse over */

	.item-img-wrap:hover img {
  		-moz-transform: none;
  		-o-transform: none;
		-ms-transform: none;
  		-webkit-transform: none;
  		transform: none;
	}
}

/* Press */

#press {
	padding: 40px;
}

#press p {
	margin: 0px;
}

#press img {
	height: 20px;
	width: auto;
	opacity: 0.95;
}

#press .thenextweb-logo {
	height: 30px;
}

.colored-separator {
	margin-left: 5px;
	margin-right: 10px;
	font-size: 18px;
	font-weight: 800;
	color: #5bc0de;
}

#press .author {
	font-size: 15px;
	color: #444;
}


@media (max-width: 550px) {

	.colored-separator {
		margin-left: 0px;
		margin-right: 5px;
	}

	#press {
		padding-left: 30px;
		padding-right: 30px;
	}
	
	#press img {
		height: 17px;
	}
}


/* Features */

.services-box-info h4 {
    font-weight: 500;
    font-size: 18px;
    color: #111;
    text-transform: uppercase;
    margin-bottom: 5px;
}

p {
	font-size: 17px; /* or 16px but with a different line height */
	color: #888;
}

p.lead {
  font-size: 17px;
}

#features p {
	font-weight: 400;
	font-size: 17px; /* or 16px but with a different line height */
	color: #888;
}

#features {
	/* Bottom padding is 20 + 15 for the feature columns on the last line, 
	   if we add 35, the result is 60px and matches what we have usually. */
	padding-bottom: 35px;
}

/* News */

.intro-text .container {
	max-width: 800px;
}

.intro-text h2 {
	margin-bottom: 15px;
    font-weight: 300;
	font-size: 30px;
    letter-spacing: 4px;
	word-spacing: 1px;
}

.intro-text p {
	margin-bottom: 40px;
}

.intro-text {
	padding-bottom: 70px;
}

#platform-news {
	background-color: white;
}

@media (max-width: 768px) {

	.intro-text {
		padding-top: 50px;
		padding-bottom: 55px;
	}
	
	.intro-text h2 {
   		font-size: 25px;
    	letter-spacing: 3px;
    	word-spacing: 1px;
	}
}

@media (max-width: 550px) {

	.intro-text {
		padding-top: 40px;
		padding-bottom: 45px;
	}

}


/* Beta */

.intro-text-1 {
  background: #1ABC9C;/*#32c5d2;*/
  padding: 40px 0;
}

.intro-text-1 h4 {
  color: #fff;
  font-size: 20px;
  text-transform: uppercase;
  font-weight: 700;
}

.intro-text-1 h4 strong {
  color: #32c5d2;
  font-weight: 700;
}

.intro-text-1 p {
  font-size: 17px;
  color: #333;
}

.intro-text-1 a {
  margin-top: 15px;
}

.intro-text-1.light {
  background-color: #f5f5f5;
}

.intro-text-1.light h4 {
  color: #333;
  text-transform: uppercase;
  font-weight: 700;
}

/* Form */

/* http://stackoverflow.com/questions/31861349/bootstrap-input-group-addons-with-input-max-width */
input, .input-group {
  max-width: 700px;
}

/*
 * To center and resize form to fit input group, on Chrome and Safari, 
 * setting form.display to inline-block is enough, but not on Firefox.
 */

/* Center form */
form {
   width: 100%;
}

/* Fill form up to max-width */
.input-group {
    margin: 0 auto;
}

.work-desc span {
   text-transform: none;
   /*font-style: italic;*/
   font-size: 15px;
}

.about a {
  color: #777;
}

.about a:hover {
  color: #32c5d2;
}

select,
textarea,
input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"],
.form-control {
  border: 1px solid #ddd;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -ms-border-radius: 0;
  border-radius: 0;
  font-size: 15px;
  color: #7a7a7a;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  -ms-box-shadow: none;
  box-shadow: none;
  background: #FFF;
  -moz-transition: all 200ms ease-in;
  -o-transition: all 200ms ease-in;
  -webkit-transition: all 200ms ease-in;
  transition: all 200ms ease-in;
}

/* Footer */

.footer-col h3:first-letter {
    border-bottom: 0px;
}

#footer p {
	font-size: 14px;
}

/* Prevent the mail address to be broken on two lines */
#footer [class*="col-"] {
	min-width: 270px;
}

@media (max-width: 992px) {
	#footer h3 {
		margin-bottom: 15px;
	}
}

@media (max-width: 768px) {
	
	#footer {
		padding-top: 40px;
	}
}

