/*
Template: Sneaky Peeky Ltd
Author: Xavier Wing Hing
Version: 1.0
*/

/* Icon font
-------------------------------------------------*/

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

[class^="icon-"], [class*=" icon-"] {
	font-family: 'entypo';
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.icon-phone:before {
	content: "\e600";
}
.icon-mobile:before {
	content: "\e602";
}
.icon-mail:before {
	content: "\e603";
}
.icon-location:before {
	content: "\e604";
}
.icon-address:before {
	content: "\e605";
}
.icon-cross:before {
	content: "\e601";
}
.icon-plus:before {
	content: "\e60b";
}
.icon-github:before {
	content: "\e606";
}
.icon-flickr:before {
	content: "\e60c";
}
.icon-vimeo:before {
	content: "\e60d";
}
.icon-twitter:before {
	content: "\e607";
}
.icon-facebook:before {
	content: "\e608";
}
.icon-googleplus:before {
	content: "\e609";
}
.icon-pinterest:before {
	content: "\e60e";
}
.icon-tumblr:before {
	content: "\e60f";
}
.icon-linkedin:before {
	content: "\e610";
}
.icon-dribbble:before {
	content: "\e60a";
}
.icon-stumbleupon:before {
	content: "\e611";
}
.icon-lastfm:before {
	content: "\e612";
}
.icon-rdio:before {
	content: "\e613";
}
.icon-spotify:before {
	content: "\e614";
}
.icon-instagram:before {
	content: "\e615";
}
.icon-dropbox:before {
	content: "\e616";
}
.icon-evernote:before {
	content: "\e617";
}
.icon-skype:before {
	content: "\e618";
}
.icon-paypal:before {
	content: "\e619";
}
.icon-picasa:before {
	content: "\e61a";
}
.icon-soundcloud:before {
	content: "\e61b";
}
.icon-behance:before {
	content: "\e61c";
}

/* Reset
-------------------------------------------------*/
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section,
summary {
	display: block;
}

audio,
canvas,
video {
	display: inline-block;
}

audio:not([controls]) {
	display: none;
	height: 0;
}

[hidden] {
	display: none;
}

html {
	font-size: 100%;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
	-webkit-font-smoothing: antialiased;
}

html,
body {
	height: 100%;
}

html,
button,
input,
textarea {
	font-family: 'Open Sans', sans-serif;
}

body {
	color: #212121;
	line-height: 1.75;
	margin: 0;
	font-family: 'Open Sans', sans-serif;
	font-size: 1.2em;
}

a {
	color: #4C40A5;
	text-decoration: underline;
}
.contact-deets a {
	color: #AAC7FF;
}

a:active,
a:focus,
a:hover {
	outline: 0;
	color:#99B2F3;
}

a:hover {
	text-decoration: none;
}

h1,
h2,
h3,
h4 {
	color: #798ECF;
	font-family: 'Open Sans', sans-serif;
	font-weight: 400;
	line-height: 1.16667;
	margin: 0 0 28px;
	text-align: center;
}

h1 {
	font-size: 35px;
}

h2 {
	font-size: 30px;
}

h3 {
	font-size: 24px;
}

h4 {
	font-size: 18px;
}

b,
strong {
	font-weight: 700;
}

i,
em {
	font-style: italic;
}

p {
	margin: 0 0 28px;
}

ul,
ol {
	margin: 0 0 28px;
	padding: 0 0 0 24px;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

blockquote,
q {
	quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
	content: none;
}

img {
	border: 0;
	vertical-align: middle;
	-ms-interpolation-mode: bicubic;
}

form {
	margin: 0;
}

button,
input,
textarea {
	border-radius: 0;
	font-size: 14px;
	margin: 0;
	max-width: 100%;
	vertical-align: baseline;
	-webkit-box-sizing:	border-box;
	-moz-box-sizing:	border-box;
	box-sizing:			border-box;
}

button,
input {
	line-height: normal;
}

button,
input[type="submit"] {
	-webkit-appearance: button;
	cursor: pointer;
}

textarea {
	overflow: auto;
	vertical-align: top;
}

/* General styles (grid, forms, common classes, etc)
-------------------------------------------------*/
/* Clearing floats */
.row:after { 
	clear: both; 
}

.row:before,.row:after { 
	content: ""; 
	display: table; 
}

.content.container {
	padding: 0 30px;
}

.get-in-touch a {
	color: ;
}

/* Assistive text */
.screen-reader-text {
	border: 0 none;
	clip: rect(1px, 1px, 1px, 1px);
	height: 1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
}

/* Grid */

.one-half {
	-webkit-box-sizing:	border-box;
	-moz-box-sizing:	border-box;
	box-sizing:			border-box;
	float: left;
	padding-left: 48px;
}

.one-half {
	width: 50%;
}

.projects-flatten {
	margin-left: -30px;
	margin-right: -31px;
  margin-top: 1em;
	margin-bottom: 1em;
}

.projects-flatten li {
  margin: 0;
  padding: 0;
}

/* Forms */
input,
textarea {
	background: #6e6e6e;
	background: rgba(169,169,169,0.44);
	border: 1px solid rgba(255, 255, 255, 0.29);
	color: #fff;
	font-weight: 700;
	letter-spacing: 1px;
	padding: 12px;
}

input:focus,
textarea:focus {
	outline: 0;
}

button,
input[type="submit"] {
	/*background: #73ba37;
	background: rgba(115,186,55,0.8);*/
	background: #92CEA2;
	-webkit-transition:	all 0.3s;
	-moz-transition:	all 0.3s;
	transition:			all 0.3s;
}

button:hover,
button:focus,
input[type="submit"]:focus,
input[type="submit"]:hover {
	background: #5BAF71;
	color: #dadada;
	outline: 0;
}

.form-field {
	position: relative;
}

.form-field label {
	font-size: 14px;
}

.form-field span.error {
	/*background: #73ba37;
	background: rgba(115,186,55,0.8);
	border: 1px solid #73ba37;*/
	background: rgba(199, 89, 89, 0.8);
	border: 1px solid #E6B0B0;
	color: #f7f7f7;
	font-size: 10px;
	letter-spacing: 1px;
	padding: 6px;
	position: absolute;
	right: 23px;	
	text-transform: uppercase;
	top: -14px;
}

.form-wrap .loading {
	height: 42px;
	margin: 0 auto 28px;
	text-align: center;
}

.form-wrap .success {
	color: #dadada;
	font-family: 'Open Sans', sans-serif;
	min-height: 42px;
	text-align: center;
}

/* Placeholder text color */
::-webkit-input-placeholder {
	color: #a9a9a9;
}

::-moz-placeholder {
	color: #a9a9a9;
	opacity: 1;
}

.placeholder {
	color: #a9a9a9;
}

/* Responsive images */
.content img {
	height: auto;
	max-width: 100%;
}

/* Custom text styles */
.subtitle {
	font-size: 14px;
	letter-spacing: 1px;
	margin: 28px 0;
	text-align: center;
	text-transform: uppercase;
	
}

.email_lead {
	color: #FDF77D;
}

.row h2 {
	font-size: 24px;
	margin-bottom: 14px;
	text-align: left;
}

#modal .section-title {
	margin-bottom: 42px;
}

/* Icons */
.social .icon,
.modal-toggle .icon {
	color: #f7f7f7;
	display: inline-block;
	font-size: 25px;
	height: 46px;
	line-height: 36px;
	text-align: center;
	text-decoration: none;
	width: 46px;
	-webkit-transition:	all 0.3s ease;
	-moz-transition:	all 0.3s ease;
	transition:			all 0.3s ease;
}

#modal-close-2 {
	display: none;
}

.social .icon:hover,
.modal-toggle .icon:hover {
	color: #9BE0AD;
}

.row h2 .icon {
	font-size: 18px;
	line-height: 1.55556;
	margin-right: 10px;
}

#modal-open {
	font-size: 40px;
}

/* Preload */
#preload {
	background: #1f1f1f url(images/overlay.png) repeat;
	height: 100%;
	left: 0;
	position: fixed;
	top: 0;	
	width: 100%;
	z-index: 998;
}

#preload-content {
	height: 100px;
	left: 50%;
	margin-left: -50px;
	margin-top: -50px;
	position: absolute;
	top: 50%;
	width: 100px;
	z-index: 999;
}

.preload-text {
	color: #88A4FB;
	font-family: 'Open Sans', sans-serif;
	font-size: 14px;
	text-align: center;
}

.preload-spinner {
	margin: 0 auto 14px;
	text-align: center;
}

.bounce1,
.bounce2,
.bounce3 {
	-webkit-animation-name: bounce;
	-webkit-animation-duration: 1.4s;
	-webkit-animation-iteration-count: infinite;
	-webkit-animation-timing-function: ease-in-out;
	-webkit-animation-fill-mode: both;
	-moz-animation-name: bounce;
	-moz-animation-duration: 1.4s;
	-moz-animation-iteration-count: infinite;
	-moz-animation-timing-function: ease-in-out;
	-moz-animation-fill-mode: both;
	animation-name: bounce;
	animation-duration: 1.4s;
	animation-iteration-count: infinite;
	animation-timing-function: ease-in-out;
	animation-fill-mode: both;
	background: #474747;
	display: inline-block;
	height: 14px;
	margin: 0 3px;
	opacity: 0.6;
	width: 14px;
}

.bounce1 {
	-webkit-animation-delay: -0.32s;
	-moz-animation-delay: -0.32s;
	animation-delay: -0.32s;
}

.bounce2 {
	-webkit-animation-delay: -0.16s;
	-moz-animation-delay: -0.16s;
	animation-delay: -0.16s;
}

@-webkit-keyframes bounce {
	0%, 80%, 100% { -webkit-transform: scale(0.0) }
	40% { -webkit-transform: scale(1.0) }
}
@-moz-keyframes bounce {
	0%, 80%, 100% { -moz-transform: scale(0.0) }
	40% { -moz-transform: scale(1.0) }
}
@keyframes bounce {
	0%, 80%, 100% { transform: scale(0.0) }
	40% { transform: scale(1.0) }
}

/* Basic Structure
-------------------------------------------------*/
.wrap {
	min-height: 100%;
	position: relative;
	padding-bottom: 2em;
}

.inner {
	margin: 0 auto;
}

#main {
	position: relative;
}

#main .inner {
	max-width: 850px;
	padding-bottom: 80px;
	padding-top: 0;
	background-color: rgba(255, 255, 255, 0.95);
	margin-top: 2em;
}

#modal {
	background: #1f1f1f;
	background: rgba(31,31,31,0.8);
	display: none;
	left: 0;
	min-height: 100%;
	position: absolute;
	right: 0;
	top: 0;
	z-index: 997;
}

#modal .inner {
	max-width: 900px;
}

/* Background Overlay */
.body-bg {
	background: rgba(0,0,0,0.25) url(images/overlay.png) repeat;
	height: 100%;
	left: 0;
	position: fixed;
	top: 0;
	width: 100%;
	z-index: -1;
}

.contact-deets ul {
  background-color: #372D83;
  margin: 0;
  margin-left: -48px;
  margin-right: -48px;
  padding-top: 20px;
  margin-bottom: 3em;
}

.contact-deets ul li {
	color: white;
	font-size: 1.2em;
}

/* Main
-------------------------------------------------*/
/* Header */
.site-title {
	font-size: 30px;
	margin-bottom: 0;
  padding-bottom: 0;
  letter-spacing: 1px;
}

.site-title img {
  max-width: 850px;
	margin-left: -50px;
	margin-right: -50px;
	border-bottom: 1px solid white;
}
/* Countdown */
.countdown-row {
	display: block;
	text-align: center;
}

.countdown-section {
	border-left: 1px dotted #dadada;
	border-color: rgba(218,218,218,0.8);
	color: #dadada;
	display: inline-block;
	font-size: 12px;
	letter-spacing: 1px;
	padding: 42px 12px 28px;
	text-align: center;
	text-transform: uppercase;
	width: 25%;
	-webkit-box-sizing:	border-box;
	-moz-box-sizing:	border-box;
	box-sizing:			border-box;
}

.countdown-section:first-child {	
	border-left: 0;
}

.countdown-amount {
	color: #fff;
	display: block;
	font-family: 'Open Sans', sans-serif;
	font-size: 60px;
	font-weight: 700;
	letter-spacing: normal;
	line-height: 1;
	padding-bottom: 21px;
}

/* Newsletter */
#newsletter {
	margin: 0 auto;
	max-width: 588px;	
}

#newsletter-form {
	position: relative;
}

#newsletter-form .form-field {
	margin-right: 180px;
}

#newsletter-form .form-submit {
	height: 42px;
	position: absolute;
	right: 0;
	top: 0;
	width: 180px;
}

#newsletter_submit {
	text-transform: uppercase;
	border-top-right-radius: 3px;
	border-bottom-right-radius: 3px;
	padding-top: 10px;
}

#newsletter_email,
#newsletter_submit {
	display: block;
	height: 42px;
	width: 100%;
}

#newsletter_email {
	border-right: 0;
	border-top-left-radius: 3px;
	border-bottom-left-radius: 3px;
}

/* Social */
.social {
	margin: 28px 0;
}

.social ul {
	list-style: none;
	margin: 0;
	padding: 0;
	text-align: center;
}

.social li {
	display: inline-block;
	margin: 4px;
}

/* Modal toggle */
#main .modal-toggle {
	bottom: 42px;
	height: 42px;
	left: 0;
	position: absolute;
	text-align: center;
	width: 100%;
}

.modal-note {
	color: #dadada;
	display: block;
	font-size: 12px;
	letter-spacing: 1px;
	text-align: center;
	text-transform: uppercase;
}

/* Modal page: About Us
-------------------------------------------------*/
/* Modal toggle */
#modal .modal-toggle {
	margin-bottom: 42px;
	text-align: center;
}

.contact_methods h2 {
	margin-bottom: 30px;
	margin-top: 40px;
}

.contact_methods a.icon {
	border-bottom: none;
	text-decoration: none;
	margin-right: 10px;
}

.contact_methods a.icon:before {
	margin-right: 10px;
}

span.cta_text {
	font-family: 'Open Sans', sans-serif;
	color: #FDF77D;
}

.email_address a {
	color: #FDF77D;
}

.contact_methods i.icon.icon-mail {
	margin-right: 10px;
}

.contact_methods a {
	text-decoration: none;
}

.one-half h3 {
	text-align: left;
	font-size: 23px;
}


/* No JS
-------------------------------------------------*/
.no-js #timer,
.no-js .modal-toggle,
.no-js #preload {
	display: none;
}

/* Media Queries
-------------------------------------------------*/
@media only screen and (max-width: 850px) {
	h1 {
		font-size: 36px;
	}
	.countdown-amount {
		font-size: 48px;
	}
	h2 {
		font-size: 30px;
	}
	.site-title img {
		max-width: 100%;
	}
	.projects-flatten {
		margin-right: -30px;
}

@media only screen and (max-width: 540px) {
	.one-half {
		width: 100%;
	}	
		#newsletter_email {
	  border-top-right-radius: 3px;
	  border-bottom-right-radius: 3px;
	  border-right: 1px solid rgba(255, 255, 255, 0.29);
	}
	#newsletter_submit {
		border-top-left-radius: 3px;
	  border-bottom-left-radius: 3px;
	}
}

@media only screen and (max-width: 480px) {
	h1 {
		font-size: 30px;
	}
	.countdown-section {
		padding: 28px 6px 28px;
	}
	.countdown-amount {
		font-size: 42px;
	}
	#newsletter-form .form-field {
		margin: 0 0 14px;
	}
	#newsletter-form .form-submit {
		margin: 0 auto;
		position: static;
		right: auto;
		top: auto;
	}
	.form-field span.error {
		margin-top: 10px;
		position: relative;
	}
	#modal-close-2 {
		display: inline-block;
	}
	#main .inner {
		
	}
	.site-title {
	}
}

@media only screen and (max-width: 360px) {
	.countdown-section {
		font-size: 10px;
		padding: 21px 6px;
	}
	.countdown-amount {
		font-size: 36px;
	}
}