$font-primary: 'Varela Round', Arial, sans-serif;


// Overrides
$grid-gutter-width: 40px !default; 
$border-radius-base:  4px !default;
$padding-base-vertical: 14px !default;

$brand-primary: #118DF0 !default;
$brand-secondary: #4CB648 !default; 

$brand-white: #fff;
$brand-black: #000;
$brand-darker: #444;
$brand-gray: #ccc;
$brand-lighter: #e9e9e9;
$brand-body-color: #818892;
$brand-selection-color: #f9f6f0;
$brand-overlay-color: #3b3d40;
$brand-bg-color: $brand-white;

$input-border-focus:  $brand-primary !default;
$form-group-margin-bottom:       30px !default;



// Mixin
@mixin fh5co-translate($translatex) {
	-moz-transform: translateX($translatex);
	-webkit-transform: translateX($translatex);
	-ms-transform: translateX($translatex);
	-o-transform: translateX($translatex);
	transform: translateX($translatex);
}
@mixin transition($transition) {
    -moz-transition:    all $transition ease;
    -o-transition:      all $transition ease;
    -webkit-transition: all $transition ease;
    -ms-transition: 		all $transition ease;
    transition:         all $transition ease;
}
@mixin inline-block() {
	display:-moz-inline-stack;
	display:inline-block;
	zoom:1;
	*display:inline;
}

@mixin border-radius($radius) {
  -webkit-border-radius: $radius;
     -moz-border-radius: $radius;
      -ms-border-radius: $radius;
          border-radius: $radius;
}
@mixin flex() {
	display: -webkit-box;      
  	display: -moz-box;         
  	display: -ms-flexbox;      
  	display: -webkit-flex;     
  	display: flex;             
}
@mixin flexwrap() {
	flex-wrap: wrap;
	-webkit-flex-wrap: wrap; 
	-moz-flex-wrap: wrap; 
}

@font-face {
	font-family: 'icomoon';
	src:url('../fonts/icomoon/icomoon.eot?srf3rx');
	src:url('../fonts/icomoon/icomoon.eot?srf3rx#iefix') format('embedded-opentype'),
		url('../fonts/icomoon/icomoon.ttf?srf3rx') format('truetype'),
		url('../fonts/icomoon/icomoon.woff?srf3rx') format('woff'),
		url('../fonts/icomoon/icomoon.svg?srf3rx#icomoon') format('svg');
	font-weight: normal;
	font-style: normal;
}

@mixin icomoon() {
	
	font-family: 'icomoon';
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;

	/* Better Font Rendering =========== */
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	
}

// Import 
@import 'bootstrap/mixins';
@import 'bootstrap/variables';




/* =======================================================
*
* 	Template Style 
*	Edit this section
*
* ======================================================= */

// Template Base
html, body {
	overflow-x: hidden;
}
body {
	font-family: $font-primary;
	font-weight: 400;
	font-size: 16px;
	line-height: 1.8;
	color: #7f7f7f;
	background: #fff;
	height: 100%;
	position: relative;
}

a {
	color: $brand-primary;
	@include transition(.5s);
	&:hover, &:active, &:focus {
		color: $brand-primary;
		outline: none;
	}
}
p {
	margin-bottom: 30px;
}

h1, h2, h3, h4, h5, h6, figure {
	color: $brand-black;
	font-family: $font-primary;
	font-weight: 400;
	margin: 0 0 30px 0;
}
::-webkit-selection {
  color: $brand-white;
  background: $brand-primary;
}

::-moz-selection {
  color: $brand-white;
  background: $brand-primary;
}
::selection {
  color: $brand-white;
  background: $brand-primary;
}


#fh5co-header {
	background: #00E0FF;
	height: 800px;
	@media screen and (max-width: $screen-sm) {
		// height: 400px;
		height: 1000px;
	}
	.intro {
		margin-top: 18em;
		@media screen and (max-width: $screen-sm) {
			margin-top: 7em;
		}
		#fh5co-logo {
			text-transform: uppercase;
			color: $brand-white;
			margin-bottom: 10px;
			line-height: 1.5;
			a {
				border-bottom: none!important;
			}
		}
		h2 {
			font-size: 24px;
			line-height: 1.5;
			color: rgba(255,255,255,.95);
		}
		a {
			color: rgba(255,255,255,.95);
			border-bottom: 2px solid rgba(255,255,255,.3);
			&:hover {
				color: rgba(255,255,255,1);
				text-decoration: none;
				border-bottom: 2px solid rgba(255,255,255,1);
			}
		}
		.btn {
			border-bottom: none!important;
		}
	}
	.fh5co-intro-img {
		position: relative;
		bottom: -10em;
		@media screen and (max-width: $screen-sm) {
			bottom: -5em;
		}
		img {
			max-width: 380px;

			-webkit-box-shadow: 0px 0px 25px 0px rgba(0,0,0,0.25);
			-moz-box-shadow: 0px 0px 25px 0px rgba(0,0,0,0.25);
			box-shadow: 0px 0px 25px 0px rgba(0,0,0,0.25);

		}
		.img-1 {
			@media screen and (max-width: $screen-sm) {
				max-width: 380px;
			}
			@media screen and (max-width: $screen-xs) {
				max-width: 100%;
			}
		}
		.img-2 {
			position: absolute;
			top: 5em;
			right: -1em;
			@media screen and (max-width: $screen-md) {
				right: -10em;
			}
		}
		@media screen and (max-width: $screen-sm) {
			img {
				max-width: 100%;
			}
		}
	}
}

#main {
	margin-top: 14em;
	clear: both;
	@media screen and (max-width: $screen-xs) {
		margin-top: 8em;
	}
}
.fh5co-heading {
	margin-bottom: 3em;
}
.fh5co-testimonial {
	padding: 7em 0;
	background: lighten($brand-black, 95%);
	.review {
		i {
			color: lighten($brand-black, 85%);
			&.colored {
				color: #FFC12D;
			}
		}
	}
	.testimony-slide{
		// display: none;
		text-align: center;
		span{
			font-size: 12px;
			text-transform: uppercase;
			letter-spacing: 2px;
			font-weight: 700;
			display: block;
		}

		figure{
			margin-bottom: 10px;
			@include inline-block;
			
			img {
				width: 90px;
				@include border-radius(50%);
			}
		}

		blockquote{
			border: none;
			margin: 30px auto;
			width: 70%;
			position: relative;
			padding: 0;
			@media screen and (max-width: $screen-md) {
				width: 100%;
			}
			
		}

	}

}
.get-started {

	.form-control {
		background: rgba(255,255,255,.4);
		border: none!important;
		color: $brand-black;
		font-size: 16px!important;
		width: 100%;


		&::-webkit-input-placeholder {
		   color: $brand-black;
		}

		&:-moz-placeholder { /* Firefox 18- */
		   color: $brand-black;  
		}

		&::-moz-placeholder {  /* Firefox 19+ */
		   color: $brand-black;  
		}

		&:-ms-input-placeholder {  
		   color: $brand-black;  
		}
		@include transition(.5s);
		&:focus {
			background: rgba(255,255,255,.7);
		}

	}
	.btn {
		height: 54px;
		border: none!important;
		background: $brand-primary;
		color: $brand-white;
		font-size: 16px;
		text-transform: uppercase;
		font-weight: 400;
		padding-left: 50px;
		padding-right: 50px;
	}
	.form-inline {
		.form-group {
			width: 100%!important;
			margin-bottom: 10px;
			.form-control {
				width: 100%;
			}
		}
	}
}
.fh5co-feature	{
	height: 600px;
	overflow: hidden;
	border-bottom: 2px solid lighten($brand-black, 95%);
	margin-bottom: 7em;
	padding-top: 4em;
	&.last-feature {
		margin-bottom: 0em;
		border-bottom: none;
	}
	// p {
	// 	color: lighten($brand-black,60%);
	// }
	@media screen and (max-width: $screen-md) {
		overflow: hidden;
		height: inherit!important;
	}
	.fh5co-copy {
		height: 600px;
		display: table;
		@media screen and (max-width: $screen-md) {
			display: block;
			height: inherit!important;
			text-align: center;
			margin-bottom: 30px;
		}
		> .fh5co-copy-inner {
			display: table-cell;
			vertical-align: middle;
			h2 {
				position: relative;
				padding-bottom: 20px;
				margin: 0 0 20px 0;

				&:before {
					position: absolute;
					bottom: 0;
					width: 30px;
					height: 2px;
					background: $brand-primary;
					content: "";
				}
			}
		}
	}
	.fh5co-figure {
		@media screen and (max-width: $screen-md) {
			text-align: center;
			margin-bottom: -10em;
		}
		img {
			vertical-align: based;
			max-width: 380px;
			-webkit-box-shadow: 0px 0px 25px 0px rgba(0,0,0,0.25);
			-moz-box-shadow: 0px 0px 25px 0px rgba(0,0,0,0.25);
			box-shadow: 0px 0px 25px 0px rgba(0,0,0,0.25);
			@media screen and (max-width: $screen-md) {
				max-width: 380px;
			}
			@media screen and (max-width: $screen-sm) {
				max-width: 100%;
			}
		}
	}
	
	&.fh5co-reverse {
		.fh5co-figure {
			text-align: right;
			@media screen and (max-width: $screen-md) {
				text-align: center;
			}
		}
	}
	
}

#get-started {
	padding: 7em 0;
	background: #00E0FF;
	.fh5co-heading {
		h2 {
			margin-bottom: 20px;
		}
		p {
			color: darken(#00E0FF, 20%);
			font-size: 18px;
			line-height: 1.8;
		}
	}
	.btn {
		background: $brand-primary;
		&:hover, &:active, &:focus {
			background: lighten($brand-primary, 7%);
			color: $brand-white;
		}
	}
}

#footer {
	padding: 7em 0;
	.fh5co-social {
		margin: 0;
		padding: 0;
		li {
			margin: 0;
			padding: 0;
			list-style: none;
			@include inline-block;
			a {
				padding: 20px;
				i {
					font-size: 30px;
				}
				&:hover, &:focus, &:active {
					text-decoration: none;
				}
			}
		}
	}
	.copyright {
		em {
			display: block;
			font-style: normal;
		}
	}
}

#features {
	padding: 7em 0;

	.feature-center {
		text-align: center;
		// padding-left: 20px;
		// padding-right: 20px;
		.icon {
			width: 90px;
			height: 90px;
			background: #efefef;
			display: table;
			text-align: center;
			margin: 0 auto 40px auto;
			@include border-radius(10px);
			i {
				display: table-cell;
				vertical-align: middle;
				height: 90px;
				font-size: 40px;
				line-height: 40px;
				color: $brand-primary;
			}
			
		}
		p, h3 {
			margin-bottom: 10px;
		}
		h3 {
			text-transform: uppercase;
			font-size: 16px;
			color: #000;
		}
		p {
			color: darken(#ccc, 15%);
		}
	}

}


// Owl 
.owl-carousel .owl-controls .owl-dot {
	span {
		background: lighten($brand-black, 90%);
		&:hover, &:focus {
			background: lighten($brand-black, 80%);
		}
	}
	&:hover, &:focus {
		span {
			background: lighten($brand-black, 80%);
		}
	}
	&.active {
		span {
			background: transparent;
			border: 2px solid $brand-primary;
		}
	}
}


// Buttons
.btn {
	margin-right: 4px;
	margin-bottom: 4px;
	font-family: $font-primary;
	font-size: 16px;
	font-weight: 400;
	@include border-radius(30px);
	@include transition(.5s);
	padding: 12px 20px;
	&.btn-md {
		padding: 4px 20px!important;
	}
	&.btn-lg {
		padding: 18px 36px!important;
	}
	&:hover, &:active, &:focus {
		box-shadow: none!important;
		outline: none!important;
	}
}
.btn-primary {
	background: $brand-primary;
	color: $brand-white;
	border: 2px solid $brand-primary;
	&:hover, &:focus, &:active {
		background: lighten($brand-primary, 5%)!important;
		border-color: lighten($brand-primary, 5%)!important;
	}
	&.btn-outline {
		background: transparent;
		color: $brand-primary;
		border: 2px solid $brand-primary;
		&:hover, &:focus, &:active {
			background: $brand-primary;
			color: $brand-white;
		}
	}
}
.btn-success {
	background: $brand-success;
	color: $brand-white;
	border: 2px solid $brand-success;
	&:hover, &:focus, &:active {
		background: darken($brand-success, 5%)!important;
		border-color: darken($brand-success, 5%)!important;
	}
	&.btn-outline {
		background: transparent;
		color: $brand-success;
		border: 2px solid $brand-success;
		&:hover, &:focus, &:active {
			background: $brand-success;
			color: $brand-white;
		}
	}
}
.btn-info {
	background: $brand-info;
	color: $brand-white;
	border: 2px solid $brand-info;
	&:hover, &:focus, &:active {
		background: darken($brand-info, 5%)!important;
		border-color: darken($brand-info, 5%)!important;
	}
	&.btn-outline {
		background: transparent;
		color: $brand-info;
		border: 2px solid $brand-info;
		&:hover, &:focus, &:active {
			background: $brand-info;
			color: $brand-white;
		}
	}
}
.btn-warning {
	background: $brand-warning;
	color: $brand-white;
	border: 2px solid $brand-warning;
	&:hover, &:focus, &:active {
		background: darken($brand-warning, 5%)!important;
		border-color: darken($brand-warning, 5%)!important;
	}
	&.btn-outline {
		background: transparent;
		color: $brand-warning;
		border: 2px solid $brand-warning;
		&:hover, &:focus, &:active {
			background: $brand-warning;
			color: $brand-white;
		}
	}
}
.btn-danger {
	background: $brand-danger;
	color: $brand-white;
	border: 2px solid $brand-danger;
	&:hover, &:focus, &:active {
		background: darken($brand-danger, 5%)!important;
		border-color: darken($brand-danger, 5%)!important;
	}
	&.btn-outline {
		background: transparent;
		color: $brand-danger;
		border: 2px solid $brand-danger;
		&:hover, &:focus, &:active {
			background: $brand-danger;
			color: $brand-white;
		}
	}
}

.btn-outline {
	background: none;
	border: 2px solid lighten($brand-black, 50%);
	font-size: 16px;
	@include transition(.3s);
	&:hover, &:focus, &:active {
		box-shadow: none;
	}
}

.btn.with-arrow {
	position: relative;
	@include transition(.3s);
	i {
		visibility: hidden;
		opacity: 0;
		position: absolute;
		right: 0px;
		top: 50%;
		margin-top: -8px;
		@include transition(.2s);
	}
	&:hover {
		padding-right: 50px;
		i {
			color: $brand-white;
			right: 18px;
			visibility: visible;
			opacity: 1;
		}
	}
}
// Form Input Field
.form-control {
	box-shadow: none;
	background: transparent;
	border: 2px solid rgba(0, 0, 0, 0.1);
	height: 54px;
	font-size: 18px;
	font-weight: 300;
  	&:active, &:focus {
  		outline: none;
		box-shadow: none;
		border-color: $brand-primary;
  }
}



.animate-box {
	.js & {
		opacity: 0;
	}
}