body {
	margin: 0;
	background: #000; 
	font:16px 'Comfortaa', Arial, sans-serif;
}

html,body {
	height:100%;
}

h1 {
	font-size: 2.5em;
	text-transform: uppercase;
	letter-spacing: .3rem;
	color:#666666;
}

h2:first-letter,
h4:first-letter {
	color:red;
}

h2 {
	font-size: 1.5em;
	text-transform: uppercase;
	margin:2em 0 1em 0;
	letter-spacing: .3rem;
}

h3 {
	font-size: 1.1em;
	text-transform: uppercase;
	margin:0 0 1em 0;
	letter-spacing: .2em;
	color:#999999;
}

h4 {
	font-size: 1.5em;
	text-transform: uppercase;
	margin:4em 0 4em 0;
	letter-spacing: .3rem;
	text-align:center;
	border-bottom:1px dotted #AAA;
	padding-bottom:1em;
}

a {
	text-decoration: none;
	color:#0000FF;
}

a:hover{
	color:#999999;
}

ul {
	list-style:none;
	margin:0px;
	-webkit-column-count: 2; /* Chrome, Safari, Opera */
	-moz-column-count: 2; /* Firefox */
	column-count: 2;
}

ul li {
	margin-bottom:.5em;
}

ul span {
	font-size:.75em;
	color:#666666;
}

ul a {
	font-weight:bold;
	color:#003399;
}

ul a:hover {
	font-weight:bold;
	color:#0099FF;
}

p {
	line-height:1.5em;
}

.work-thumbs div, .work-thumbs img {
	-webkit-transition: ease .3s;
	-moz-transition: ease .3s;
	-ms-transition: ease .3s;
	-o-transition: ease .3s;
	transition: ease .3s;
}

#mailDoneOverlay {
	position:fixed;
	width:100%;
	height:100%;
	z-index:1000;
	background:url(img/overlay.png) repeat;
	color:white;
	text-align:center;
}

#mailDoneOverlay h1 {
	margin-bottom:0;
	color:white;
}

#mailDoneOverlay .butt {
	display:inline-block;
	border:1px solid #00AA00;
	padding:10px;
	width:100px;
	cursor:pointer;
	background:#006600;
}

#mailDoneOverlay .butt:hover {
	background:#00AA00;
}

#nav {
	display:none;
	position:fixed;
	top:0;
	width:100%;
	background:black;
	text-align:right;
	padding:.5em 0;
	z-index:999;
}

#nav a {
	color:white;
	text-decoration:none;
	display:inline-block;
	padding-right:1em;
	color:white;
}

#nav a:hover {
	color:#00FFFF;
}

#vid_overlay_one { 
	position: fixed;
	top: 50%;
	left: 50%;
	min-width: 100%;
	min-height: 100%;
	width: auto;
	height: auto;
	z-index: -100;
	transform: translateX(-50%) translateY(-50%);
	background: url('img/vid_poster_office_idea_1.jpg') no-repeat;
	background-size: cover;
	transition: 1s opacity;
}

#grid_overlay {
	position:fixed;
	top:0;
	left:0;	
	width:100%;
	height:100%;
	background:url(img/grid_overlay.png) repeat repeat;
	z-index:-99;
}

.stopfade { 
	opacity: .5;
}

#hp_dark_div { 
	background: rgba(0,0,0,0.65);
	color: white;
	padding: .0;
	box-sizing:border-box;

	width: 100%;
	max-width:700px;
	min-width:300px;

	position:relative;
	z-index:10;

	margin: 0 auto;

	height:98%;
	display:table;
}

.logoDiv {
	text-align:center;
	display:table-cell;
	vertical-align:middle;
}

.logoDiv img {
	width:100%;
	max-width:600px;
	height:auto;
}

.sec2 {
	background:white;
	margin:0;
	border-top:10px solid black;
	position:relative;
	z-index:2;
	padding:2em 2em 8em 2em;
}

.sec3 {
	padding:2em;
	background:white;
	margin:0;
	position:relative;
	z-index:2;
	border-top:5px dotted #CCCCCC;
}

.sec4 {
	padding:2em 2em 150px 2em;
	background:white url('img/contact.jpg')  center top no-repeat;
	margin:0;
	position:relative;
	z-index:2;
	border-top:5px dotted #CCCCCC;
}

.bug {
	display:block;
	margin:50px auto 0 auto;
	width:100%;
	max-width:300px;
	height:auto;
}

.formDiv {
	max-width:800px;
	margin:0 auto;
}

label {
	display:block;
	margin-bottom:.5em;
}

input[type=text] {
	display:block;
	width:100%;
	max-width:30em;
	margin-bottom:2em;
	font-size:1.25em;
	background:rgba(255,255,255,.75);
}

input[type=submit] {
	width:150px;
}

textarea {
	display:block;
	width:100%;
	max-width:30em;
	margin-bottom:2em;
	font-size:1.25em;
	height:10em;
	background:rgba(255,255,255,.75);
}

.pseudoFooter {
	background:#760000;
	color:#ae6363 !important;
	border-top:1px solid #FF0000;
	color:white;
	padding-bottom:20px;
	padding-left:10px;
	font-size:.75em;
}

.footer {
	position:fixed;
	bottom:0;
	left:0;
	width:100%;
	height:50px;
	z-index:100;
	cursor:pointer;
	transition: opacity .25s;
}

.footer:hover {
	opacity:.65;
}

.footerTop {
	height:30px;
	text-align:center;
}

.footerTop img {
	width:50px;
	height:auto;
}



.footerBar {
	height:20px;
	background-color:black;
}

.gear_set_one {
	position:relative;
	height:800px;
	overflow:hidden;
	position:absolute;
	top:20px;
	left:0;
	width:100%;
	z-index:-1;
}

.work-thumbs {
	text-align:center;
}

.work-thumbs div {
	width:100%;
	max-width:250px;
	display:inline-block;
	text-align:center;
	position:relative;
	vertical-align:top;
	margin:1.5em;
}

.work-thumbs img {
	width:100%;
	max-width:225px;
	height:auto;
}

.work-thumbs p {
	font-size:.85em;
}


.testimg {
	/* clip-path: inset(50px 50px 50px 150px);
	clip-path:circle(60px at center);
	clip-path: ellipse(60px 40px at 75px 30px);
	clip-path: polygon(5% 5%, 100% 0%, 100% 75%, 75% 75%, 75% 100%, 50% 75%, 0% 75%);*/

	/* perfect hexagon */
	-webkit-clip-path: polygon(50% 0%, 94% 25%, 94% 75%, 50% 100%, 6% 75%, 6% 25%);
	clip-path: polygon(50% 0%, 94% 25%, 94% 75%, 50% 100%, 6% 75%, 6% 25%);
}

.captcha img {
	width: 100%;
	max-width: 300px;
	height: auto;
	margin-bottom: 1em;
}

.buttonDiv {
	width: 200px;
	padding:10px 20px 10px 0;
	background-color: #e84c3d;

	border: none;
	color: white;
	font:bold 1.5em Arial, sans-serif;
	text-align: right;
	line-height: 1em;

	border-top-right-radius: 50px;
	border-bottom-right-radius: 50px;
	cursor: pointer;
	box-sizing: border-box;

	position: relative;

	transition: background-color .25s;
}

.buttonDiv:hover {
	background-color: #ab3328;
}

.buttonDiv>span {
	display: block;
	background-color: rgba(0,0,0,.25);
	width: 55px;
	height: 100%;

	position: absolute;
	top: 0;
	left: 0;

	background-image: url('img/mailAnimation.gif');
	background-size: contain;
	background-position: left center;
	background-repeat: no-repeat;

}



@-webkit-keyframes gear-moves-CW {
	0% {
		-webkit-transform: rotate(0deg);
	}
	100% {
		-webkit-transform: rotate(360deg);
	}
}
@-moz-keyframes gear-moves-CW {
	0% {
		-moz-transform: rotate(0deg);
	}
	100% {
		-moz-transform: rotate(360deg);
	}
}
@keyframes gear-moves-CW {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

@-webkit-keyframes gear-moves-CCW {
	0% {
		-webkit-transform: rotate(382deg);
	}
	100% {
		-webkit-transform: rotate(22deg);
	}
}
@-moz-keyframes gear-moves-CCW {
	0% {
		-moz-transform: rotate(382deg);
	}
	100% {
		-moz-transform: rotate(22deg);
	}
}
@keyframes gear-moves-CCW {
	0% {
		transform: rotate(382deg);
	}
	100% {
		transform: rotate(22deg);
	}
}


.gearCW,.gearCCW {
	background: url('img/gear1.png') no-repeat 0 0;
	background-size: contain;
	

	-moz-animation-timing-function: linear;
	-moz-animation-iteration-count: infinite;
	-moz-animation-direction: normal;
	-moz-animation-delay: 0;
	-moz-animation-play-state: running;
	-moz-animation-fill-mode: forwards;

	-webkit-animation-timing-function: linear;
	-webkit-animation-iteration-count: infinite;
	-webkit-animation-direction: normal;
	-webkit-animation-delay: 0;
	-webkit-animation-play-state: running;
	-webkit-animation-fill-mode: forwards;

	animation-timing-function: linear;
	animation-iteration-count: infinite;
	animation-direction: normal;
	animation-delay: 0;
	animation-play-state: running;
	animation-fill-mode: forwards;

	-moz-animation-duration: 5s;
	-webkit-animation-duration: 5s;
	animation-duration: 5s;

	position:absolute;

}

.gearCW {
	-moz-animation-name: gear-moves-CW;
	-webkit-animation-name: gear-moves-CW;
	animation-name: gear-moves-CW;
}

.gearCCW {
	
	-moz-animation-name: gear-moves-CCW;
	-webkit-animation-name: gear-moves-CCW;
	animation-name: gear-moves-CCW;
	
}



.gear1 {
	height: 400px;
	width: 400px;
	right:-200px;
	top:50px;
}

.gear2 {
	height: 300px;
	width: 300px;
	right:160px;
	top:100px;
}

.gear3 {
	height: 300px;
	width: 300px;
	right:355px;
	top:305px;
}

.gear4 {
	height: 300px;
	width: 300px;
	right:425px;
	top:0px;
}

.bulbs {
	position:absolute;
	width:25%;
	bottom:0;
	left:0;
	transform: translateX(40%);
	z-index:-1;
	height:350px;
	margin-bottom:20px;
}

.bulbs img {
	height:350px;
	width:auto;
	position:absolute;
	top:0px;
	transform-origin:center bottom;
	-webkit-origin:center bottom;
	-moz-origin:center bottom;
	display:none;
}

.bulb1 {
	left:150px;
	/*
	-webkit-transform: rotate(0deg);
	-moz-transform: rotate(0deg);
	transform: rotate(-45deg);
	*/
}

.bulb2 {
	left:250px;
}

.bulb3 {
	left:350px;
	/*
	-webkit-transform: rotate(0deg);
	-moz-transform: rotate(0deg);
	transform: rotate(45deg);
	*/
}


@charset "utf-8";
/* CSS Document */

@-ms-keyframes 
wiggle {
	0% {
		transform:rotate(3deg);
	}
	25% {
		transform:rotate(-2.5deg);
	}
	50% {
		transform:rotate(2deg);
	}
	75% {
		transform:rotate(-1.5deg);
	}
	100% {
		transform:rotate(1deg);
	}
}
@-moz-keyframes 
wiggle {
	0% {
		transform:rotate(3deg);
	}
	25% {
		transform:rotate(-2.5deg);
	}
	50% {
		transform:rotate(2deg);
	}
	75% {
		transform:rotate(-1.5deg);
	}
	100% {
		transform:rotate(1deg);
	}
}
@-webkit-keyframes 
wiggle {
	0% {
		transform:rotate(3deg);
	}
	25% {
		transform:rotate(-2.5deg);
	}
	50% {
		transform:rotate(2deg);
	}
	75% {
		transform:rotate(-1.5deg);
	}
	100% {
		transform:rotate(1deg);
	}
}
@keyframes 
wiggle {
	0% {
		transform:rotate(3deg);
	}
	25% {
		transform:rotate(-2.5deg);
	}
	50% {
		transform:rotate(2deg);
	}
	75% {
		transform:rotate(-1.5deg);
	}
	100% {
		transform:rotate(1deg);
	}
}

.do-wiggle:hover {
	-ms-animation:wiggle .3s 1;
	-moz-animation:wiggle .3s 1;
	-webkit-animation:wiggle .3s 1;
	animation:wiggle .3s 1;
}



@media all and (max-width: 1000px) { 
	.work-thumbs div {
		max-width:150px;
		margin:.5em;
	}

	.work-thumbs p {
		font-size:.65em;
	}
}



@media all and (max-width: 700px) { 


	h1 {
		font-size:1.25em;
	}

	h2 {
		font-size: 1.1em;
	}

	h3 {
		font-size: 1em;
	}

	ul {
		padding:0;
		-webkit-column-count: 1; /* Chrome, Safari, Opera */
		-moz-column-count: 1; /* Firefox */
		column-count: 1;
	}

	#nav {
		font-size:.75em;
		text-align:center;
	}

}

@media screen and (max-width: 500px) {
	html { 
		background: url(img/vid_poster_office_idea_1.jpg) #000 no-repeat center center fixed; 
	}
	
	#vid_overlay_one { 
		display: none; 
	}

	.work-thumbs div {
		max-width:300px;
		display:block;
		margin:0 auto;
	}

}