﻿
/* Global styles */

html {
	height: 100%;
}

body {
	background: #F7F7F3;
	padding-top:75px;
	
}

a dl {
	color: #333;
}

.even {
	background: #F2F2F4;
	border-bottom: 1px solid lightgrey;
	border-top: 1px solid lightgrey;
}

.row {
	margin-bottom: 30px;
}

.page dl {
	margin-top: 0;
	background: #fff;
	text-align: center;
}

.page {
	padding-bottom: 60px;
	padding-top: 20px;
}

dl.span4 {
	box-shadow: 1px 1px 1px lightgrey;
}

.page dd {
	
	margin: 0;
}

	.page dd p {
		padding-left: 15px;
		padding-right: 15px;
	}
	
.tooltip-inner {
	-webkit-border-radius: none;
	border-radius: none;
}

/* Carousel styles */

.carousel-inner .callout {
	text-align: center;
}

	.carousel-inner .callout {
		position: absolute;
		top: 150px;
		left: 0;
		right: 0;
	}
		
		.carousel-inner .callout h1 {
			font-size: 4.3em;
			margin: 0 100px;
			line-height: 140%;
			text-transform: uppercase;
		}
		
			.dark-background h1 {
				color: #fff;
			}
			
			.light-background h1 {
				color: #444;
			}
		
		.carousel-inner .callout p {
			color: #eee;
			font-size: 1.6em;
			margin-top: 10px;
		}


		

/* Navigation styles */
		
.navbar-inner {
	padding: 30px;
}

.nav-collapse .nav > li > a,
.nav-collapse .dropdown-menu a {
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
	border-radius: 0px;
}

/* Team section styles */

.teamrow .span4 p {text-align: left;}
.teamrow .span4 h3 {color: grey;}
	.teamrow .span4 h3 strong {color: #333;}
	
.teamrow .social p {
	text-align: center;
	text-transform: uppercase;
	font-weight: bold;
	font-size: 0.8em;
	color: #616161;
}

	.social ul {
		margin: 0 0 10px 0;
		text-align: center;
		padding-bottom: 10px;
	}
	
	.social ul li {
		opacity: 0.4;
		margin-right: 10px;
		display: inline-block;
		list-style-type: none;
		-webkit-transition: all 0.3s ease;
	}
	
		.social ul li:hover {
			opacity: 1;
			-webkit-transform: scale(1.09);
		}
		



/* Portfolio styles */
		
.portfolio-row a:hover {
	text-decoration: none;
}

.portfolio-item {
	text-align: center;
	background: #fff;
	
	-webkit-transition: all 0.3s ease;
}

	.portfolio-item:hover {
		position: relative;
		top: -4px;
		
		box-shadow: 4px 4px 4px lightgrey;
	}
	
	.portfolio-item:active {
		position: relative;
		top: 0px;
		box-shadow: 1px 1px 1px lightgrey;
		-webkit-transition: none;
	}

	.portfolio-item h3 {
		text-transform: uppercase;
		letter-spacing: -1px;
	}
	
.modal-body ul {
	list-style: square;
}

/* Page headers styles */

.page-header {
	text-align: center;
	border: none;
}

	.page-header p {
		font-size: 1.55em;
	}


h2 span:active {
	border-bottom: none !important;
}
	
.page-title {
	margin-bottom: 30px;
}

	.page-title a {
		text-decoration: none;
	}
	
		.page-title a h2 span:active {
			position: relative;
			top: 4px;
		}
	
	#portfolio h2 span {
		color: white;
		background: #D70060;
		border-bottom: 4px solid #a11051;
	}
	
	#team h2 span {
		color: white;
		background: #00A1CB;
		border-bottom: 4px solid #0090b5;
	}
	
	#services h2 span {
		color: white;
		background: #01A4A4;
		border-bottom: 4px solid #009292;
	}
	
	#connect h2 span {
		color: white;
		background: #61AE24;
		border-bottom: 4px solid #569a1f;
	}
	
	#clients h2 span {
		color: white;
		background: #D0D102;
		border-bottom: 4px solid #b7b815;
	}
	
	#contact h2 span {
		color: white;
		background: #E54028;
		border-bottom: 4px solid #cb3922;
	}
	
		
/* Social media section styles */	
		
.social-icon {
	-webkit-transition: opacity 0.3s ease;
}
	.social-icon:hover {
		opacity: 0.8;
	}
	
#connect .row .span2 {
	text-align: center;
}

/* Client section styles */

.clientsrow blockquote {
	padding-top: 10px;
	font-style: italic;
	color: #5B5A5A;
	border-left: none;
}

	.clientsrow blockquote p {
		font-size: 1.3em;
		text-align: left;
	}
	
	
/* Services section styles */

.servicesrow dt strong {
	display: block;
	font-size: 24.5px;
	line-height: 40px;
	margin: 10px 0;
	font-weight: bold;
}

.servicesrow em {
	color: grey;
	font-style: normal;
}

.servicesrow dl {
	background: none;
	box-shadow: none;
}

.servicesrow dd p {
	text-align: left;
}

.servicesrow dt i {
	font-size: 165px;
	margin-bottom: 40px;
	margin-top: 30px;
	color: #CCC8B7;
}

/* Contact section styles */

.contact-row {
	text-align: left;
}

.contact-row input[type=text], input[type=email], textarea {
	background: white;
	font-size: 18px;
	display: block;
	width: 100%;
	box-shadow: none;
	line-height: 46px;
	padding: 0;
	text-indent: 14px;
	margin: 0 0 14px;
	border: 1px solid lightgrey;
	box-sizing: border-box;
}

.contact-row input[type=text], input[type=email] {
	height: 80px;
	padding: 0;
	margin: 0;
	margin-bottom: 10px;
}

.smaller-input {
	height: 64px !important;
}

.contact-row textarea:focus {
	border-color: rgba(82, 168, 236, 0.8);
	outline: thin dotted \9;
  -webkit-box-shadow: none;
     -moz-box-shadow: none;
          box-shadow: none;
}

.contact-row label {
	height: 19px;
	display: block;
	font-size: 1.3em;
	color: #333;
}

.btn-square {
	text-transform: uppercase;
	background: #E6E6E6;
	background-image: none;
	border: none;
	-webkit-border-radius: 0px;
	   -moz-border-radius: 0px;
		    border-radius: 0px;
	box-shadow: 0px 4px 0px lightgrey;
}

	.btn-square:active {
		box-shadow: none;
		position: relative;
		top: 4px;
	}
	
	.btn-square:hover {
		opacity: 0.8;
	}

.contact-row address {
	text-align: center;
	font-size: 1.4em;
}

.contact-row textarea {
	height: 260px;
}

.btn-submit {
	display: inline-block;
	background: #E54028;
	box-shadow: 0px 4px 0px #cb3922;
	color: white;
	border: none;
	font-size: 1.75em;
	padding: 10px 20px 10px 20px;
	text-transform: uppercase;
	font-weight: bold;
	float: right;
	margin: 0;
	margin-right: 14px;
}

	.btn-submit:active {
		position: relative;
		top: 4px;
		box-shadow: none;
	}
	
.error {background: red;}
	
#map {
	height: 300px;
}

	#map img {
		max-width: none;
	}

/* Footer styles */

footer {
	position: relative;
	bottom: 0;
	text-align: left;
	padding-top: 20px;
	background: #323232;
	color: #E5E5E5;
}

footer p {
	line-height: 160%;
	color: #969696;
}

footer a {
	color: #F9715E;
}

	footer a:hover {
		text-decoration: none;
		color: #F4A297;
	}


footer h4 {
	text-transform: uppercase;
	font-weight: normal;
	display: inline-block;
	color: #F2F2F2;
	background: #565656;
	padding: 10px 15px 10px 15px;
	border-bottom: 4px solid #212121;
	margin-bottom: 20px;
}

footer h5 {
	margin: 0;
	padding: 0;
}

.widget-header {
	text-align: center;
}

.blog-posts, .tweet_list {
	list-style: none;
	padding: 0;
	margin: 0;
}

	.blog-posts li {
		padding-bottom: 10px;
	}

.tweet_list {
	text-align: left;
}

	.tweet_list li {
		margin-bottom: 10px;
	}

#copyright {
	vertical-align: middle;
	border-top: 1px solid #444;
	height: 34px;
}

#copyright small {
	color: #A7A7A7;
}

#copyright p {
	text-align: center;
}

/*Misc*/

/*Section header 3D effect styles*/

h2 {
	text-transform: uppercase;
}

	h2 span {
		padding: 10px 20px 10px 20px;
		font-size: 25px;
	}

.flip {
	display: inline-block;
	overflow: hidden;

	vertical-align: top;

	-webkit-perspective: 400px;
	   -moz-perspective: 400px;
	    -ms-perspective: 400px;
	     -o-perspective: 400px;
	        perspective: 400px;

	-webkit-perspective-origin: 50% 50%;
	   -moz-perspective-origin: 50% 50%;
	    -ms-perspective-origin: 50% 50%;
	     -o-perspective-origin: 50% 50%;
	        perspective-origin: 50% 50%;
}

	.flip span {
		display: block;
		position: relative;
		padding: 0 2px;
		
		padding: 10px;
		 
		-webkit-transition: -webkit-transform 0.3s ease;
		   -moz-transition: -moz-transform 0.3s ease;
		    -ms-transition: -ms-transform 0.3s ease;
		     -o-transition: -o-transform 0.3s ease;
		        transition: transform 0.3s ease;
		
		-webkit-transform-origin: 50% 0%;
		   -moz-transform-origin: 50% 0%;
		    -ms-transform-origin: 50% 0%;
		     -o-transform-origin: 50% 0%;
		        transform-origin: 50% 0%;
		
		-webkit-transform-style: preserve-3d;
		   -moz-transform-style: preserve-3d;
		    -ms-transform-style: preserve-3d;
		     -o-transform-style: preserve-3d;
		        transform-style: preserve-3d;
	}
	
	.flip span:hover { 
		-webkit-transform: translate3d( 0px, 0px, -30px ) rotateX( 90deg );
		   -moz-transform: translate3d( 0px, 0px, -30px ) rotateX( 90deg );
		    -ms-transform: translate3d( 0px, 0px, -30px ) rotateX( 90deg );
		     -o-transform: translate3d( 0px, 0px, -30px ) rotateX( 90deg );
		        transform: translate3d( 0px, 0px, -30px ) rotateX( 90deg );
	}
	
	.flip span:active {
		position: relative;
		top: 4px;
		border-bottom: none;
		margin-bottom: 4px;
	}
	
	.flip span:after {
		font-size: 18px;
		content: "GO TO TOP▲";
		
		width: 100%;
		display: inline;
		text-align: center;
		position: absolute;
		left: 0;
		top: 0;
		padding: 0 2px;
		
		padding: 11px 20px 8px 5px;
		
		color: #fff;
		background: lightgrey;
		border-bottom: 6px solid grey;
		
		-webkit-transform-origin: 50% 0%;
		   -moz-transform-origin: 50% 0%;
		    -ms-transform-origin: 50% 0%;
		     -o-transform-origin: 50% 0%;
		        transform-origin: 50% 0%;
		 
		-webkit-transform: translate3d( 0px, 100%, 0px ) rotateX( -90deg );
		   -moz-transform: translate3d( 0px, 105%, 0px ) rotateX( -90deg );
		    -ms-transform: translate3d( 0px, 105%, 0px ) rotateX( -90deg );
		     -o-transform: translate3d( 0px, 105%, 0px ) rotateX( -90deg );
		        transform: translate3d( 0px, 105%, 0px ) rotateX( -90deg );
	}
	
	
/* Responsive stuff */

@media (max-width: 480px) {
	dt img {
		width: 100%;
	}
	
	.carousel-inner .callout {
		position: absolute;
		top: 20px;
		left: 0;
		right: 0;
	}
	
	.carousel-inner .callout h1 {
		font-size: 1.3em;
		margin: 0 20px;
		line-height: 140%;
	}
	
	.carousel-inner .callout p {
		font-size: 0.97em;
		margin: 0 35px;
		margin-top: 10px;
	}
}

@media (max-width: 979px) and (min-width: 481px) {
	dt img {
		width: 100%;
	}
	
	.carousel-inner .callout {
		position: absolute;
		top: 20px;
		left: 0;
		right: 0;
	}
	
	.carousel-inner .callout h1 {
		font-size: 2.7em;
		margin: 0 20px;
		line-height: 140%;
	}
	
	.carousel-inner .callout p {
		font-size: 1.6em;
		margin: 0 35px;
		margin-top: 10px;
	}
}

@media (max-width: 768px) and (min-width: 481px) {
	dt img {
		width: 100%;
	}
	
	.carousel-inner .callout {
		position: absolute;
		top: 20px;
		left: 0;
		right: 0;
	}
	
	.carousel-inner .callout h1 {
		font-size: 1.5em;
		margin: 0 20px;
		line-height: 140%;
	}
	
	.carousel-inner .callout p {
		font-size: 1.6em;
		margin: 0 35px;
		margin-top: 10px;
	}
}