$really-small: 600px;
$mobile-top: 767px;
$tablet-bottom: 768px;
$tablet-top: 979px;
$desktop-bottom: 980px;
$font-stack: 'Open Sans', helvetica, arial, sans-serif;
$light-gray: #fafafa;
$light-mid-gray: #aaaaaa;
$mid-gray: #444444;
$dark-gray: #222222;
$accent-main: #505070;
$accent-second: #707090; 

body {
	margin: 0;
	background: $light-gray;
	font-family: $font-stack;
	font-size: 16px;
	color: $dark-gray;
	
	&.home {
		background: $accent-main;
	}
	
		#menu {
			box-shadow: 1px 0px 8px $mid-gray;
		}
	
	div,
	ul {
		display: inline-block;
		margin: 0;
	}
	
	p {
		line-height: 1.8em;
		margin: 4px 0 16px;
		font-size: 1em;
		padding: 0 2.5%;
	}
	
	li {
		font-size: 1em;
	}
	
	a {
		color: $mid-gray;
		text-decoration: none;
		
		&:hover {
			color: $accent-main;
		}
	}
	
	img {
		max-width: 100%;
	}
	
	h1, 
	h2, 
	h3,
	h4,
	h5,
	h6 {
		font-weight: normal;
		margin-bottom: 4px;
		padding: 0 2.5%;
	}
	
	h1 {
		font-size: 36px;
	}
	
	h2 {
		font-size: 30px;
	}
	h3 {
		font-size: 24px;
	}
	h4 {
		font-size: 18px;
	}
	
	.eight-columns {
		width: 64.666%;
		padding: 0;
		margin: 0 1%;
		display: block;
		float: left;
		
		@media all and (max-width: $mobile-top) {
			width: 100%;
			padding: 0 0 0 0;
			margin: 0 0 0 0;
		}
	}

	.six-columns {
		width: 48%;
		padding: 0;
		margin: 0 1%;
		display: block;
		float: left;
		
		@media all and (max-width: $mobile-top) {
			width: 100%;
			padding: 0 0 0 0;
			margin: 0 0 0 0;
		}
	}
	
	.four-columns {
		width: 31.333%;
		padding: 0;
		margin: 0 1%;
		display: block;
		float: left;
		
		@media all and (max-width: $mobile-top) {
			width: 100%;
			padding: 0 0 0 0;
			margin: 0 0 0 0;
		}
	}
	
	.bottom-border {
		border-bottom: 5px solid $accent-main;
		margin-bottom: 16px;
	}
	
	.top-border {
		border-top: 5px solid $accent-main;
		padding-top: 16px;
		margin-top: 16px;
	}
	
	.bottom-border-mobile-only {
		border-bottom: 0px solid transparent;
		margin-bottom: inherit;
		
		@media all and (max-width: $mobile-top) {
			border-bottom: 5px solid $accent-main;
			margin-bottom: 16px;
		}
	}
	
	.centered {
		text-align: center;
	}
	
	.right {
		text-align: right;
	}
	
	.dropcap {
		float: left; 
		color: $accent-main; 
		font-size: 5.4em; 
		line-height: 1em;
		font-weight: 600;
		margin-top: -3px;
	}
	
	.green {
		margin: auto 0 15px 10px;
		padding: 10px;
		color: rgba(0, 128, 0, 1);
		background-color: rgba(231, 255, 231, 1);
		border: 1px solid rgba(0, 128, 0, 1);
		border-radius: 5px;
		width: calc(100% - 40px);
		
		h3, p {
			margin: 0px;
		}
	}
	
	.red {
		margin: auto 0 15px 10px;
		padding: 10px;
		color: rgba(190, 0, 0, 1);
		background-color: rgba(255, 231, 231, 1);
		border: 1px solid rgba(190, 0, 0, 1);
		border-radius: 5px;
		width: calc(100% - 40px);
		
		h3, p {
			margin: 0px;
		}
	}
	
	.large-padding-top {
		padding-top: 16px;
	}
	
	.large-padding-right {
		padding-right: 16px;
	}
	
	.large-padding-bottom {
		padding-bottom: 16px;
	}
	
	.large-padding-left {
		padding-left: 16px;
	}
	
	.no-margin-top {
		margin-top: 0;
	}
	
	.small-margin-top {
		margin-top: 4px;
	}
	
	.no-margin-bottom {
		margin-bottom: 0px;
	}
	
	.small-margin-bottom {
		margin-bottom: 4px;
	}
	
	.medium-margin-bottom {
		margin-bottom: 8px;
	}
	
	.large-margin-bottom {
		margin-bottom: 16px;
	}
	
	.extra-large-margin-bottom {
		margin-bottom: 32px;
	}

	.small-text {
		font-size: 12px;
		color: #999;
	}
	
	.bold {
		font-weight: bold;
	}
	
	.huge-text {
		margin-bottom: 48px;
	}

	ul.dashes {
		list-style-type: none;
		padding-left: 28px;
		color: $accent-main;
		
		li {
		
			&:before {
				content: '- ';
				font-weight: 600;
				font-size: 1.5em;
				line-height: .5em;
			}
		}
	}
	
	.social-icons {
		width: 31.333%;
		padding: 0;
		margin: 0 1%;
		display: block;
		float: left;
	}
	
	a.btn,
	input.submit {
		width: 100%;
		max-width: 325px;
		min-width: 225px;
		padding: 10px 0px;
		position: relative;
		top: 8px;
		margin-bottom: 5px;
		background: $accent-main;
		background: -moz-linear-gradient(top, $accent-second 0%, $accent-main 100%);
		background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,$accent-second), color-stop(100%,$accent-main));
		background: -webkit-linear-gradient(top, $accent-second 0%, $accent-main 100%);
		background: -o-linear-gradient(top, $accent-second 0%,$accent-main 100%);
		background: -ms-linear-gradient(top,  $accent-second 0%,$accent-main 100%);
		background: linear-gradient(to bottom,  $accent-second 0%,$accent-main 100%);
		font-size: 18px;
		color: $light-gray;
		border: 1px solid $accent-second;
		border-radius: 5px;
		box-shadow: 0 5px 0 0 $accent-second;
		transition: top .15s linear, box-shadow .15s linear, margin-bottom .15s linear;
		outline: 0;
		display: block;
		text-align: center;
		margin: auto;
		
		&:hover {
			top: 10px;
			box-shadow: 0 3px 0 0 $accent-second;
			margin-bottom: 5px;
		}
		
		&:active {
			top: 13px;
			box-shadow: 0 0 0 0 $accent-second;
			margin-bottom: 5px;
		}
		
		@media all and (max-width: $mobile-top) {
			margin: auto;
			display: block;
			float: none;
			text-align: center;
		}
	}

	a.btn a {
		color: $light-gray;
	}
	
	#menu {
		height: 70px;
		width: 100%;
		background-color: $light-gray;
		display: block;
		position: fixed;
		box-shadow: 1px 0px 8px $light-mid-gray;
		z-index: 999;
		font-weight: 600;
		
		#menu-container {
			display: block;
			width: 98%;
			max-width: 1000px;
			margin: 0px auto;
			
			.menu-item {
				text-align: center;
				font-size: 10px;
				float: left;
				
				@media all and (min-width: $tablet-bottom) {
					font-size: 20px;
					line-height: 70px;
					padding-top: 0px;
					padding-bottom: 0px;
					
					&.first {
						margin-left: 26px;
					}
					
					a {
						
						span {
							display: none;
						}
					}
				}
				
				a {
					padding: 0 10px;
					display: block;
					
					@media all and (max-width: $mobile-top) {
						height: 63px;
						padding-top: 7px;
					}
					
					&:hover {
						color: $light-gray;
						background: $accent-main;
						background-color: -moz-linear-gradient(top,  $accent-second 0%, $accent-main 100%);
						background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,$accent-second), color-stop(100%,$accent-main));
						background: -webkit-linear-gradient(top,  $accent-second 0%,$accent-main 100%);
						background: -o-linear-gradient(top,  $accent-second 0%,$accent-main 100%);
						background: -ms-linear-gradient(top,  $accent-second 0%,$accent-main 100%);
						background: linear-gradient(to bottom,  $accent-second 0%,$accent-main 100%);
					}
					
					span {
						font-size: 3em;
						line-height: 1.2em;
					}
				}
				
				&.first {
					
					a {
						margin-left: 6px;
					}
				}
			}
		}
		
		#logo {
			margin-right: 25px;
			float: right;
			vertical-align: top;
			color: $mid-gray;
			font-size: 10px;
			line-height: 1.9em;
			text-align: center;
			padding: 14px 14px 	10px;
			color: $light-gray;
			background: $accent-main;
			background-color: -moz-linear-gradient(top,  $accent-second 0%, $accent-main 100%);
			background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,$accent-second), color-stop(100%,$accent-main));
			background: -webkit-linear-gradient(top,  $accent-second 0%,$accent-main 100%);
			background: -o-linear-gradient(top,  $accent-second 0%,$accent-main 100%);
			background: -ms-linear-gradient(top,  $accent-second 0%,$accent-main 100%);
			background: linear-gradient(to bottom,  $accent-second 0%,$accent-main 100%);
		
			@media all and (max-width: $mobile-top) {
				margin-right: 6px;
			}
		
			span {
				font-size: 3em;
			}
		}
		
		.menu_name {
			vertical-align: top;
			height: 70px;
			line-height: 70px;
			font-size: 36px;
			text-transform: uppercase;
			color: #444;
		}
	}
	#content { 
		width: 100%;
		min-height: calc(100vh - 70px);
		overflow: hidden;
		position: relative;
		top: 70px;
		margin: 0;
		padding: 0;
		
		p {
		
			a {
				font-weight: bold;
				text-decoration: underline;
				transition: text-decoration .25s ease;
				-webkit-transition: all .25s ease;
				
				&:hover {
					text-decoration: none;
				}
			}
		}
		
		.home-image {
			
			.home-intro {
				
				h1 {
					
					span {
						font-size: 4em;
						font-weight: 600;
					}
				}
			}
		}
		
		#content-container {
			display: block;
			margin: auto;
			width: 95%;
			max-width: 1000px;
			padding: 0 2.5% 20px;
		
			.twelve-columns {
				width: 98%;
				padding: 0;
				margin: 0 1%;
				
				h1 {
					margin-top: 16px;
					margin-bottom: 0px;
					font-weight: normal;
					font-size: 36px;
				}
				
				h2 {
					margin-top: 0px;
					margin-bottom: 4px;
					font-weight: normal;
					font-size: 18px;
				}
		
				@media all and (max-width: $mobile-top) {
					width: 100%;
					padding: 0 0 0 0;
					margin: 0 0 0 0;
				}
			
				.huge-text {
					
					h1 {
						font-size: 10em;
						color: $accent-main;
						font-weight: bold;
						letter-spacing: -10px;
						margin: 0 0 12px 0;
						line-height: .9em;
					}
				
					h2 {
						margin: 48px 0 0 0;
						font-size: 3em;
						text-transform: uppercase;
						line-height: .9em;
					}
				}
			}
		}
		
		.home-image {
			width: 100%;
			height: calc(100vh - 70px);
			background-image: url('../uploads/background.jpg');
			background-size: cover;
			background-position: center center;
			
			@media all and (max-width:$mobile-top) and (orientation: landscape) {
				height: 100vh;
			}
			
			.home-intro {
				width: 100%;
				height: calc(100vh - 70px);
				color: $light-gray;
				text-align: center;
				
				h1 {
					top: 25%;
					position: absolute;
					width: calc(100% - 30px);
					margin: 0 15px;
					font-size: 36px;
					font-weight: normal;
					line-height: 1.4em;
					
					@media all and (max-width:$mobile-top) and (orientation: landscape) {
						top: 18px;
						font-size: 24px;
					}
					
					@media all and (max-width:$really-small) {
						font-size: 24px;
					}
				}
			}
		}
		
		.work {
			
			p {
				margin-bottom: 32px;
			}
			
			a {
				display: block;
				position: relative;
				text-decoration: none;
				font-weight: normal;
				text-align: center;
				font-size: 20px;
			}
		}
		
		.thumb-hover {
			display: block;
			position: absolute;
			z-index: 997;
			top: 0px;
			left: 0px;
			bottom: 0px;
			right: 0px;
			opacity: 0;
			background-color: rgba(80, 80, 112, .5);
			transition: opacity .5s ease, top .5s ease, left .5s ease, bottom .5s ease, right .5s ease;
			-webkit-transition: opacity .5s ease, top .5s ease, left .5s ease, bottom .5s ease, right .5s ease;
			
			&:hover {
				top: 20px;
				left: 20px;
				bottom: 27px;
				right: 20px;
				opacity: 1;
				
				.text {
					top: calc(50% - 18px);
					opacity: 1;
				}
			}
			
			.text {
				top: calc(50% + 18px);
				left: 0;
				width: 100%;
				position: absolute;
				color: $light-gray;
				font-size: 36px;
				text-align: center;
				opacity: 0;
				transition: opacity .5s ease, top .5s ease;
				-webkit-transition: opacity .5s ease, top .5s ease;
			}
		}
	}
	
	form.contact {
		height: 445px;
		
		input {
			
			&:not(.submit) {
				margin-bottom: 18px;
				width: calc(100% - 40px);
				font-size: 18px;
				padding: 10px 20px;
				border: 1px solid rgba(80, 80, 112, .5);
				border-radius: 3px;
				font-family: $font-stack;
			}
		}
		
		textarea {
			width: calc(100% - 40px);
			font-size: 18px;
			padding: 10px 20px;
			border: 1px solid rgba(80, 80, 112, .5);
			border-radius: 3px;
			font-family: $font-stack;
			height: 150px;
			max-width: calc(100% - 40px);
			min-height: 150px;
			min-width: calc(100% - 40px);
		}
	}
	
	#name-icon,
	#phone-icon,
	#email-icon {
		display: block;
		float: right;
		position: relative;
		top: -53px;
		right: 24px;
		height: 0px;
	}
	
	.valid {
		color: rgba(0, 128, 0, 1);
		background-color: rgba(231, 255, 231, 1);
		border: 1px solid rgba(0, 128, 0, 1);
	}
	
	.invalid {
		color: rgba(190, 0, 0, 1);
		background-color: rgba(255, 231, 231, 1);
		border: 1px solid rgba(190, 0, 0, 1);
	}
	
	.valid-icon {
		
		&:before {
			content: '\f00c';
			font-family: 'FontAwesome';
			color: rgba(0, 128, 0, 1); 
			font-size: 18px;
		}
	}
	
	.invalid-icon {
		
		&:before {
			content: '\f00d';
			font-family: 'FontAwesome';
			font-size: 18px;
			color: rgba(190, 0, 0, 1);
		}
	}	
	
	.faqs {
		
		p {
			font-size: 15px;
		}
	}
}
