$font-primary: 'Inconsolata', Arial, sans-serif;

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

$brand-primary: #8C7676 !default;
$brand-secondary: #00ADB5 !default; 



$brand-white: #fff;
$brand-black: #000;
$brand-darker: #333;
$brand-gray: #ccc;
$brand-lighter: #e9e9e9;
$brand-body-color: #f2f2f2;
$brand-selection-color: #f9f6f0;
$brand-overlay-color: #3b3d40;
$brand-bg-footer: #41444B;
$brand-bg-color: $brand-white;

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



// Mixin
@mixin transition($transition) {
    -moz-transition:    $transition ease;
    -o-transition:      $transition ease;
    -webkit-transition: $transition ease;
    -ms-transition: 		$transition ease;
    transition:         $transition ease;
}
@mixin inline-block() {
	display:-moz-inline-stack;
	display:inline-block;
	zoom:1;
	*display:inline;
}
@mixin flex() {
	display: -webkit-box;
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flexbox;
	display: flex;
}
@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; 
}

@mixin fh5co-gradient() {
	// Gradient
		background-color: $brand-primary;
		/* IE9, iOS 3.2+ */
		background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHZpZXdCb3g9IjAgMCAxIDEiIHByZXNlcnZlQXNwZWN0UmF0aW89Im5vbmUiPjxsaW5lYXJHcmFkaWVudCBpZD0idnNnZyIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiIHgxPSIwJSIgeTE9IjAlIiB4Mj0iMTAwJSIgeTI9IjEwMCUiPjxzdG9wIHN0b3AtY29sb3I9IiMzZjk1ZWEiIHN0b3Atb3BhY2l0eT0iMSIgb2Zmc2V0PSIwIi8+PHN0b3Agc3RvcC1jb2xvcj0iIzUyZDNhYSIgc3RvcC1vcGFjaXR5PSIxIiBvZmZzZXQ9IjEiLz48L2xpbmVhckdyYWRpZW50PjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIGZpbGw9InVybCgjdnNnZykiIC8+PC9zdmc+);
		background-image: -webkit-gradient(linear, 0% 0%, 100% 100%,color-stop(0, rgb(82, 211, 170)),color-stop(1, rgb(63, 149, 234)));
		/* Android 2.3 */
		background-image: -webkit-repeating-linear-gradient(top left,rgb(82, 211, 170) 0%,rgb(63, 149, 234) 100%);
		/* IE10+ */
		background-image: repeating-linear-gradient(to bottom right,rgb(82, 211, 170) 0%,rgb(63, 149, 234) 100%);
		background-image: -ms-repeating-linear-gradient(top left,rgb(82, 211, 170) 0%,rgb(63, 149, 234) 100%);
}

@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
body {
	font-family: $font-primary;
	font-weight: 300;
	font-size: 20px;
	line-height: 1.5;
	color: darken($brand-white, 20%);
	background: $brand-black;
	height: 100%;
	position: relative;
	
}
a {
	color: $brand-primary;
	@include transition(.5s);
	&:hover, &:active, &:focus {
		color: $brand-primary;
		outline: none;
	}
}
p {
	margin-bottom: 1.5em;
	font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
	color: $brand-white;
	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;
}


.navbar-collapse{
	border: none !important;
}

#fh5co-header {
	position: absolute;
	z-index: 999999;
	width: 100%;
	opacity: 1;
	top: 0;
	float: left;

	.navbar {
		padding-bottom: 0;
		margin-bottom: 0;
		display: table;
	}
	#navbar {
		display: table-cell;
		vertical-align: middle;
		li {
			width: 16px;
			height: 16px;
			display: block !important;
			margin: 15px 0;
			clear: both;
			@include border-radius(50%);
			@media screen and (max-width :$screen-sm) {
				margin-left: 10px !important;
			}
			a {
				font-family: $font-primary;
				background: rgba($brand-white,.2);
				position: relative;
				font-size: 16px;
				font-weight: 400;
				margin: 0 auto;
				width: 12px;
				height: 12px !important;
				text-indent: -999999px;
				padding: 0;
				@include border-radius(50%);

				span {
					position: relative;
					display: block;
					padding-bottom: 2px;
				}
				&:hover {
					color: $brand-black;
					span {
						&:before {
							visibility: visible;
							-webkit-transform: scaleX(1);
							-moz-transform: scaleX(1);
							-ms-transform: scaleX(1);
							-o-transform: scaleX(1);
							transform: scaleX(1);
						}
					}
				}

			}
			&.active {
				width: 16px;
				height: 16px;
				background: $brand-white;
				a {
					background: $brand-black;
					background: none;
					@media screen and (max-width: $screen-xs) {
						color: $brand-primary;
					}
				}
			}
		}
	}
	.navbar-brand {
		float: left;
		display: block;
		font-size: 24px;
		font-weight: 700;
		padding-left: 28px;
		color: #535659;
		text-transform: uppercase;
		letter-spacing: 3px;
		position: relative;
		&:after, &:before {
			content: "";
			position: absolute;
			display: block;
			width: 24px;
			height: 24px;
			left: -12px;
			margin-left: 0px;
			bottom: 16px;
			@include border-radius(50%);
		}
		&:before{
			left: 0px;
			background: rgba($brand-primary,.8);
		}
		> span {
			color: $brand-primary;
		}
		@media screen and (max-width: $screen-md) {
			padding-left: 55px!important;
			padding-right: 0!important;
			&:after, &:before {
				margin-left: 25px;
			}
		}
		
	}
	&.navbar-fixed-top {
		position: fixed!important;
		-webkit-box-shadow: 0 0 9px 0 rgba(0,0,0,.1);
		-moz-box-shadow: 0 0 9px 0 rgba(0,0,0,.1);
		-ms-box-shadow: 0 0 9px 0 rgba(0,0,0,.1);
		box-shadow: 0 0 9px 0 rgba(0,0,0,.1);
		margin-top: 0px;
		top: 0;
		.navbar-brand {
			color: #535659;
		}
		#navbar {

			li {
				a {
					@include transition(.3s);
					&:hover {
						color: $brand-primary;
					}
					@media screen and (max-width :$screen-md) {
						font-size: 20px;
					}
				}
				&.active {
					a {
						color: $brand-primary!important;	
						@media screen and (max-width: $screen-sm) {
							color: $brand-primary!important;	
						}
						
						span {
							&:before {
								visibility: visible;
								-webkit-transform: scaleX(1);
								transform: scaleX(1);
								background-color: $brand-primary;
								@media screen and (max-width: $screen-sm) {
									background-color: transparent;
								}
								
							}
						}
					}
				}
			}
		}
	}
	.navbar-default {
		border: transparent;
		background: transparent;
		margin: 0;
		padding-left: 50px;
		padding-right: 50px;
		@include border-radius(0px);
		@media screen and (max-width: $screen-sm) {
			margin-top: 0px;
			padding-right: 0px;
			padding-left: 0px;
		}
	}

}

#fh5co-home {
	background-color: transparent;
	background-size: cover;
	// background-attachment: fixed;
	position: relative;
	width: 100%;
	color: $brand-white;
	@media screen and(max-width: $screen-xs){
		background-position: center center;
		background-attachment: initial;
	}
	a {
		color: rgba(255,255,255,.8)!important;
		text-decoration: underline;
		&:hover {
			color: $brand-white;
			text-decoration: none;
		}
	}
	.gradient {
		position: absolute;
		top: 0;
		bottom: 0;
		left: 0;
		right: 0;
		z-index: 2;
		background: rgba(0, 0, 0, .3);
	}
	&, .text-wrap {
		height: 900px;
		@media screen and(max-width: $screen-sm){
			height: 500px;
		}
	}
	.text-wrap {
		display: table;
		width: 100%;
		position: relative;
		z-index: 4;
	}
	.text-inner {
		display: table-cell;
		vertical-align: middle;
		h1 {
			font-size: 60px;
			color: rgba(255,255,255,1);
			margin: 0 0 30px 0;
			font-weight: 700;
			line-height: 58px;
			span{
				color: $brand-primary;
			}
			@media screen and(max-width: $screen-sm){
				font-size: 40px;
			}
		}
		h2 {
			font-size: 20px;
			line-height: 30px;
			font-weight: 300;
			color: rgba(255,255,255,.8);
			margin: 0 0 60px 0;
		}
	}
}


#fh5co-services, 
#fh5co-explore, 
#fh5co-team, 
#fh5co-footer,
#fh5co-work, 
#fh5co-counters,
#fh5co-pricing{
	padding: 8em 0;
	@media screen and (max-width: $screen-sm) {
		padding: 3em 0;
	}
}
#fh5co-services{
	padding-bottom: 0;
}

.fh5co-explore{
	padding-bottom: 40px;
}

.fh5co-project{
	.project-grid{
		width: 100%;
		height: 800px;
		background-size: cover;
		background-position: center center;
		position: relative;
		margin-bottom: 30px;
		display: table;

		@media screen and(max-width: $screen-sm){
			height: 400px;
		}

		.desc{
			position: relative;
			display: table-cell;
			vertical-align: middle;
			width: 100%;
			height: 250px;
			background: rgba($brand-black,.5);
			opacity: 0;
			@include transition(.3s);
			@media screen and (max-width: $screen-sm){
				opacity: 1;
			}
			h3{
				margin-bottom: 10px;
				a{
					color: $brand-white;
					&:hover, &:focus{
						text-decoration: none;
					}
				}
			}
			span{
				font-size: 12px;
				text-transform: uppercase;
				color: rgba($brand-white,.6);
				letter-spacing: 2px;
			}
			p{
				padding: 0;
				a{
					padding: 0;
					color: $brand-white;
					&:hover, &:focus{
						text-decoration: none;
					}
				}
			}
			// .download, .love{
			// 	position: absolute;
			// 	bottom: 0;
			// 	border: 1px solid rgba($brand-white,.5);
			// 	padding: 7px 10px;	
			// 	line-height: 0;
			// 	@include border-radius(2px);		
			// }
			// .download{
			// 	left: 30px;
			// }
			// .love{
			// 	right: 30px;
			// 	color: red;
			// }
		}

		&:hover{
			.desc{
				opacity: 1;
			}
		}
	}
}


.getting-started{
	background: $brand-primary;
	@include flex();
	@include flexwrap();
	// height: 400px;
	.getting-grid{
		background-size: cover;
		background-position: center center;
		position: relative;
		width: 100%;
		display: table;
		// height: 400px;
		.desc{
			width: 50%;
			display: table-cell;
			vertical-align: middle;
			height: 400px;
			padding: 0 3em;
		}
	}

	h2{
		color: $brand-white;
		margin-bottom: 10px;
	}

	p{
		color: rgba(255,255,255,.8);
	}
}


#fh5co-pricing {
	.price-box {
	    border: 2px solid rgba($brand-white,.1);
	    text-align: center;
	    padding: 30px;
	    @include border-radius(5px);
	    margin-bottom: 40px;
	    position: relative;
	    &.popular {
	    	border: 2px solid $brand-primary;
	    	.popular-text {
	    		top: 0;
	    		left: 50%;
	    		margin-left: -65px;
	    		margin-top: -2em;
				position: absolute;
				padding: 4px 20px;
				background: $brand-primary;
				color: $brand-white;
				@include border-radius(4px);
				&:after {
				   content: "";
				   position: absolute;
				   top: 100%;
				   left: 50%;
				   margin-left: -10px;
				   border-top: 10px solid black;
				   border-top-color: $brand-primary; 
				   border-left: 10px solid transparent;
				   border-right: 10px solid transparent; 
				}
	    	}
	    }
	    hr{
	    	border: 1px solid darken($brand-white,90%);
	    }
	}
	.pricing-plan {
		margin: 0;
		padding: 0;
		font-size: 15px;
		letter-spacing: 2px;
		text-transform: uppercase;
		font-weight: 700;
	}
	.price {
		font-size: 50px;
		color: $brand-white;
		.currency {
			font-size: 20px;
			top: -1.2em;
		}
		small {
			font-size: 16px;
		}
	}
	.pricing-info {
		padding: 0;
		margin: 0 0 30px 0;
		li {
			padding: 0;
			margin: 0;
			list-style: none;
			text-align: center;
		}
	}
}

.core-features{
	@include flex();
	@include flexwrap();
	width: 100%;
	.grid2{
		width: 50%;
		background-size: cover;
		background-position: center center;
		position: relative;
		@media screen and (max-width: $screen-sm){
			width: 100%;
		}
		.core-f{
			padding: 40px;
			h3 {
				// font-size: 20px;
				margin-bottom: 10px;
			}
			.core{
				margin-bottom: 2em;
				i{
					float: left;
					color: $brand-primary;
					font-size: 28px;
				}
				.fh5co-post{
					padding-left: 50px;
				}
			}
		}
	}
}
// Counters
.fh5co-counters {
	padding: 3em 0;
	background-size: cover;
	background-attachment: fixed;
	background-position: center center;
	.counter-wrap{
		border: 1px solid red !important;
	}
	.fh5co-counter {
		font-size: 30px;
		display: block;
		color: rgba($brand-white,1);
		font-family: $font-primary;
		width: 100%;
		font-weight: 400;
		margin-bottom: .3em;
	}
	.fh5co-counter-label {
		color: rgba($brand-white,.5);
		text-transform: uppercase;
		font-size: 12px;
		letter-spacing: 2px;
		margin-bottom: 2em;
		display: block;
	}
}




#fh5co-team{
	// background: #f1faff;

	.team-box{
		position: relative;
		padding: 30px;
		// padding-top: 5em;
		// background: $brand-white;
		float: left;
		width: 100%;
		

		-webkit-box-shadow: 0px 2px 10px -1px rgba(0,0,0,0.19);
		-moz-box-shadow: 0px 2px 10px -1px rgba(0,0,0,0.19);
		-ms-box-shadow: 0px 2px 10px -1px rgba(0,0,0,0.19);
		-o-box-shadow: 0px 2px 10px -1px rgba(0,0,0,0.19);
		box-shadow: 0px 2px 10px -1px rgba(0,0,0,0.19);
		@include border-radius(5px);
		@media screen and (max-width: $screen-md) {
			margin-bottom: 110px;
		}

		.user{
			// position: absolute;
			// top: 0;
			// left: 50%;
			// margin-top: -73px;
			// margin-left: -73px;
			margin: 0 auto;
			margin-bottom: 20px;
			width: 80%;

			img{
				width: 80%;
				@include border-radius(50%);
			}

		}

		h3{
			margin-bottom: 10px;
			font-weight: 700;
			// text-transform: uppercase;
		}
		.position{
			font-size: 16px;
			color: #8f989f;
			display: block;
			margin-bottom: 30px;
		}

		.social-media{
			margin: 0;
			padding: 0;

			li{
				display: inline-block;
				margin: 0;
				padding: 0;
				font-size: 24px;
				margin-right: 10px;

				a{
					color: rgba($brand-white,.8);

					&:hover, &:focus, &:active{
						text-decoration: none;
						color: $brand-primary!important;
					}
				}
			}
		}
	}
}

.section-heading {
	float: left;
	width: 100%;
	padding-bottom: 50px;
	margin-bottom: 0px;
	// clear: both;
	h2 {
		margin: 0 0 20px 0;
		font-size: 40px;
		font-weight: 400;
		position: relative;
		padding-bottom: 10px;
		line-height: 1.5;
		@media screen and (max-width: $screen-sm) {
			font-size: 28px;
		}
	}
	h3 {
		font-size: 18px;
		font-weight: 400;
		line-height: 1.5;		
		position: relative;
		display: block;
		padding-bottom: 30px;

		@media screen and (max-width: $screen-sm) {
			font-size: 16px!important;
			line-height: 28px;
		}
	}
}

#fh5co-footer{
	color: rgba($brand-white,.6);
	a{
		color: rgba($brand-white,.6);
			&:hover {
				color: $brand-white!important;
				text-decoration: underline;
			}
	}

	.section-title{
		font-size: 22px;
		color: $brand-white;
		position: relative;
		padding-bottom: 20px;
	}

	.copy-right{
		position: relative;
		padding-top: 20px;
		margin-top: 40px;

		> a{
			color: rgba($brand-white,.6);
		}
	}
	.contact-info{
		margin: 0 0 60px 0;
		padding: 0;
		li{
			font-size: 16px;
			list-style: none;
			margin: 0 0 20px 0;
			position: relative;
			padding-left: 40px;

			i{
				position: absolute;
				top: 0;
				left: 0;
				font-size: 22px;
				color: $brand-primary;
			}

			
		}
	}
	.social-media{
		margin: 0 0 30px 0;
		padding: 0;
		
		li{
			display: inline-block;
			margin: 0;
			padding: 0;
			font-size: 24px;
			margin-right: 10px;

			a{
				color: $brand-primary;

				&:hover, &:focus, &:active{
					text-decoration: none;
				}
			}
		}
	}

	.contact-form{
		.form-group{
			input[type="name"],
			input[type="text"],
			input[type="email"],
			textarea {
				font-size: 16px;
				&::-webkit-input-placeholder {
				    color: rgba(255,255,255,.5);
				}

				&:-moz-placeholder { /* Firefox 18- */
				    color: rgba(255,255,255,.5);  
				}

				&::-moz-placeholder {  /* Firefox 19+ */
				    color: rgba(255,255,255,.5);  
				}

				&:-ms-input-placeholder {  
				   color: rgba(255,255,255,.5);  
				}
			}

			input{
				color: #fff;
				background: transparent;
				border: none;
				background: rgba($brand-white,.1);
				box-shadow: none;
			
			}
			textarea{
				color: #fff;
				// color: #74889e !important;
				background: transparent;
				border: none;
				background: rgba($brand-white,.1);
				box-shadow: none;
			}
		}
		
		
	}
	#btn-submit {
		color: rgba(255,255,255,.9)!important;
		background: $brand-primary!important;

	}
}

.btn {
	@include transition(.3s);
}


.btn {
	text-transform: uppercase;
	letter-spacing: 2px;
	@include transition(.3s);
	&.btn-primary {
		background: $brand-primary;
		color: $brand-white;
		border: none!important;
		border: 2px solid transparent!important;
		&:hover, &:active, &:focus {
			box-shadow: none;
			background: $brand-primary;
		}
	}
	&:hover, &:active, &:focus {
		background: #393e46!important;
		color: $brand-white;
		outline: none!important;
	}
	&.btn-default {
		&:hover, &:focus, &:active {
			border-color: transparent;
		}
	}
}

// Social
.social {
	padding: 0;
	margin: 0;
	display: inline-block;
	position: relative;
	width: 100%;
	li {
		list-style: none;
		padding: 0;
		margin: 0;
		display: inline-block;
		a {
			font-size: 16px;
			display: table;
			width: 40px;
			height: 40px;
			margin: 0 4px;

			i {
				display: table-cell;
				vertical-align: middle;
			}
			&:hover, &:active, &:focus {
				text-decoration: none;
				border-bottom: none;
			}
			&.social-box {
				background: $brand-primary;
				color: $brand-white;
			}
			&.social-circle {
				background: $brand-primary;
				color: $brand-white;
				@include border-radius(50%);
			}
			&:hover {
				background: #393e46!important;
			}

		}
	}
	&.social-box {
		a {
			background: $brand-primary;
			color: $brand-white;
		}
	}
	&.social-circle {
		a {
			background: $brand-primary;
			color: $brand-white;
			@include border-radius(50%);
		}
	}
}


// Magnific Popup
// Zoom
.mfp-with-zoom .mfp-container,
.mfp-with-zoom.mfp-bg {
  opacity: 0;
  -webkit-backface-visibility: hidden;
  /* ideally, transition speed should match zoom duration */
  -webkit-transition: all 0.3s ease-out;
  -moz-transition: all 0.3s ease-out;
  -o-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}

.mfp-with-zoom.mfp-ready .mfp-container {
    opacity: 1;
}
.mfp-with-zoom.mfp-ready.mfp-bg {
    opacity: 0.8;
}

.mfp-with-zoom.mfp-removing .mfp-container,
.mfp-with-zoom.mfp-removing.mfp-bg {
  opacity: 0;
}



.js .to-animate,
.js .to-animate-2,
.js .to-animate-3,
.js .single-animate {
	opacity: 0;
}


// Helper Class
.col-xxs-12 {
	@media screen and (max-width: 480px) {
		float: none;
		width: 100%;
	}
}
.row-bottom-padded-lg {
	padding-bottom: 7em;
	@media screen and (max-width: $screen-sm ) {
		padding-bottom: 2em;
	}
}
.row-bottom-padded-md {
	padding-bottom: 4em;
	@media screen and (max-width: $screen-sm ) {
		padding-bottom: 2em;
	}	
}
.row-bottom-padded-sm {
	padding-bottom: 2em;
	@media screen and (max-width: $screen-sm ) {
		padding-bottom: 2em;
	}	
}

// Menu bar Animate
.fh5co-animated {
  -webkit-animation-duration: .3s;
  animation-duration: .3s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}
