$font-primary: 'Work Sans', Arial, sans-serif;


$brand-primary: #52d3aa !default;
$brand-secondary: #3f95ea !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;

$footer-height: 450px;



// 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 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
body {
	font-family: $font-primary;
	font-weight: 300;
	font-size: 20px;
	line-height: 1.7;
	color: lighten($brand-darker, 20%);
	color: #7f7f7f;
	background: $brand-bg-color;
	height: 100%;
	position: relative;
	@media screen and (max-width :$screen-sm) {
		font-size: 17px;
		line-height: 1.5;
	}
	
}
a {
	color: $brand-primary;
	@include transition(.5s);
	&:hover, &:active, &:focus {
		color: $brand-primary;
		outline: none;
		text-decoration: none;
	}
}
p {
	margin-bottom: 1.5em;
}

h1, h2, h3, h4, h5, h6 {
	color: $brand-black;
	font-family: $font-primary;
	font-weight: 300;
	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-wrap {
	position: relative;
	background: $brand-white;
	z-index: 2;
	margin-bottom: $footer-height;
	@media screen and (max-width: $screen-md) {
		margin-bottom: auto;
	}
}
#fh5co-footer {
	padding-top: 4em;
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	z-index: 1;
	height: $footer-height;
	background: lighten($brand-black, 20%);
	font-size: 18px;
	@media screen and (max-width: $screen-md) {
		height: inherit;
		position: relative;
		padding: 5em 0;
	}
	.fh5co-social {
		li {
			display: block;
		}
	}
	p {
		line-height: 1.5;
	}
	h3 {
		color: $brand-white;
		font-size: 20px;
	}
	a {
		color: rgba(255,255,255,.7);
		&:hover {
			color: $brand-primary;
		}
	}
	ul {
		padding: 0;
		margin: 0;
		li {
			padding: 0;
			margin: 0;
			list-style: none;
		}
	}
	.fh5co-copyright {
		padding-top: 3em;
		small {
			display: block;
		}
	}
}
#fh5co-header {
	position: absolute;
	top: 0;
	width: 100%;
	z-index: 1000;
	nav {
		text-align: center;
		ul {
			padding: 0;
			margin: 0;
		}
		li {
			padding: 0;
			margin: 0;
			list-style: none;
			display: inline;
			a {
				padding: 20px;
				color: rgba(255,255,255,.7);
				@include inline-block;
				@include transition(.1s);
				span {
					@include transition(.5s);
					border-bottom: 2px solid transparent;
					display: block;
				}
				@media screen and (max-width: $screen-sm) {
					padding: 10px 2px;
				}
				&:hover {
					color: rgba(255,255,255,1);
					span {
						border-bottom: 2px solid $brand-white;
					}
				}
			}
			&.fh5co-active {
				a {
					color: $brand-white;
					span {
						border-bottom: 2px solid $brand-white;
					}
				}
			}
		}
	}
}

.fh5co-table,
.fh5co-table-cell,	
.fh5co-hero, 
.fh5co-parallax {
	height: 670px;
}


.fh5co-hero, .fh5co-parallax {
	background-color: #555;
	background-attachment: fixed;
	background-size: cover;
	position: relative;
	.overlay {
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		background: lighten($brand-black, 0%);
		opacity: .2;
	}
}
.fh5co-hero, .fh5co-parallax {
	@media screen and (max-width: $screen-sm) {
		height: inherit;
		padding: 4em 0;
	}	
	.fh5co-intro {
		h1 {
			color: $brand-white;
			font-size: 70px;
			font-weight: 300;
			margin-bottom: 10px;
			@media screen and (max-width: $screen-sm) {
				font-size: 30px;
			}
		}
		p {
			color: $brand-white;
			a {
				color: $brand-white;
				border-bottom: 2px solid rgba(255,255,255,.2);
				&:hover {
					color: $brand-white;
				}
			}
		}
	}
}


.fh5co-table {
	display: table;
}
.fh5co-table-cell {
	display: table-cell;
	vertical-align: middle;
}
.fh5co-section {
	padding: 5em 0;
	@media screen and (max-width: $screen-sm) {
		padding: 3em 0;
	}
}


.fh5co-feature {
	text-align: left;
	width: 100%;
	float: left;
	padding: 20px;
	.fh5co-icon {
		float: left;
		width: 10%;
		display: block;
		margin-top: 5px;
		i {
			color: $brand-primary;
			font-size: 70px;
			@media screen and (max-width: $screen-lg) {
				font-size: 40px;
			}
		}
	}
	&.fh5co-feature-sm {
		.fh5co-icon {
			i {
				color: $brand-primary;
				font-size: 28px;
				@media screen and (max-width: $screen-lg) {
					font-size: 28px;
				}
			}
		}
	}
	.fh5co-text {
		float: right;
		width: 80%;
		@media screen and (max-width: $screen-sm) {
			width: 82%;
		}
		@media screen and (max-width: $screen-xs) {
			width: 72%;
		}
		h2, h3 {
			margin: 0;
			padding: 0;
		}
		h3 {
			
			margin-bottom: 20px;
			color: rgba(0,0,0,.8);
		}
	}
}


.fh5co-social {
	padding: 0;
	margin: 0;
	li {
		padding: 0;
		margin: 0;
		list-style: none;
		@include inline-block;
		a {
			span {
				@include inline-block;
				padding-left: 10px;
			}
		}
	}
}


// Buttons
.btn {
	margin-right: 4px;
	margin-bottom: 4px;
	font-family: $font-primary;
	font-size: 18px;
	font-weight: 400;
	@include border-radius(0px);
	@include transition(.5s);
	padding: 8px 20px!important;
	&.btn-sm {
		padding: 4px 15px!important;
	}
	&.btn-md {
		padding: 8px 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;
	}
}

// Form Input Field
.form-control {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	box-shadow: none;
	background: transparent;
	border: 2px solid rgba(0, 0, 0, 0.1);
	height: 54px;
	font-size: 18px;
	font-weight: 300;
	@include border-radius(0px);
  	&:active, &:focus {
  		outline: none;
		box-shadow: none;
		border-color: $brand-primary;
  }
}


.fh5co-check {
	padding: 0 0 0 0;
	margin: 0 0 1.5em 0;
	li {
		padding: 0 0 0 40px;
		margin: 0;
		list-style: none;
		position: relative;
		&:before {
			@include icomoon();
			position: absolute;
			left: 0;
			top: .3em;
			content: "\f00c";
			color: $brand-primary;
		}
	}
}


.fh5co-staff {
	img {
		margin-bottom: 1em;
	}
	h3 {
		margin: 0;
	}
	h4 {
		margin: 0 0 20px 0;
		font-weight: 300;
		color: rgba(0,0,0,.4);
	}
}

#map {
	width: 100%;
	height: 700px;	
	@media screen and (max-width: $screen-sm) {
		height: 200px;
	}
}

// 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;
	}	
}
