/*
 * jQuery FlexSlider v2.0
 * http://www.woothemes.com/flexslider/
 *
 * Copyright 2012 WooThemes
 * Free to use under the GPLv2 license.
 * http://www.gnu.org/licenses/gpl-2.0-rainbow.html
 *
 * Contributing author: Tyler Smith (@mbmufffin)
 */

 
/* Browser Resets */
.flex-container a:active,
.flexslider a:active,
.flex-container a:focus,
.flexslider a:focus  {outline: none;}
.slides,
.flex-control-nav,
.flex-direction-nav {margin: 0; padding: 0; list-style: none;} 

/* FlexSlider Necessary Styles
*********************************/ 
.flexslider {margin: 0; padding: 0; }
.flexslider .slides > li {display: none; -webkit-backface-visibility: hidden;} /* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides img {width: 100%; display: block;}
.flex-pauseplay span {text-transform: capitalize;}

/* Clearfix for the .slides element */
.slides:after {content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0;} 
html[xmlns] .slides {display: block;} 
* html .slides {height: 1%;}

/* No JavaScript Fallback */
/* If you are not using another script, such as Modernizr, make sure you
 * include js that eliminates this class on page load */
.no-js .slides > li:first-child {display: block;}


/* FlexSlider Default Theme
*********************************/
.flexslider { position:relative; margin-bottom:35px; margin-top:15px;}
.flex-viewport {max-height: 2000px; -webkit-transition: all 1s ease; -moz-transition: all 1s ease; transition: all 1s ease;}
.loading .flex-viewport {max-height: 300px;}
.flexslider .slides {zoom: 1;}

.carousel li {margin-right: 5px}


/* Direction Nav */
.flex-direction-nav {*height: 0; z-index:20;}
.flex-direction-nav a { margin: 0px 0 0; z-index:20; display: block; position: absolute; top: 50%; margin-top:-32px; cursor: pointer; text-indent: -9999px; opacity: 0; -webkit-transition: all 0.2s  ease-in-out 0s; -moz-transition: all 0.2s  ease-in-out 0s; -o-transition: all 0.2s  ease-in-out 0s; transition: all 0.2s  ease-in-out 0s; display:inline-block; width:54px; height:54px;}

.flex-direction-nav .flex-next {background:url(../images/bg-next.png) center no-repeat #fff; background-size:24px 24px; right: -55px; border: 0; }
.flex-direction-nav .flex-prev {background:url(../images/bg-prev.png) center no-repeat #fff; background-size:24px 24px; left: -55px; border: 0; }

.flexslider .flex-next {opacity: 1; }
.flexslider .flex-prev {opacity: 1; }

/* Control Nav */
.flex-control-nav {width: 100%; position: absolute; bottom: -40px; text-align: center; display:none !important;}
.flex-control-nav li {margin: 0 6px; display: inline-block; zoom: 1; *display: inline;}
.flex-control-paging li a {width: 11px; height: 11px; display: block; background: #666; background: rgba(0,0,0,0.5); cursor: pointer; text-indent: -9999px; -webkit-border-radius: 20px; -moz-border-radius: 20px; -o-border-radius: 20px; border-radius: 20px; box-shadow: inset 0 0 3px rgba(0,0,0,0.3);}
.flex-control-paging li a:hover { background: #333; background: rgba(0,0,0,0.7); }
.flex-control-paging li a.flex-active { background: #000; background: rgba(0,0,0,0.9); cursor: default; }

.flex-control-thumbs {margin: 5px 0 0; position: static; overflow: hidden;}
.flex-control-thumbs li {width: 25%; float: left; margin: 0;}
.flex-control-thumbs img {width: 100%; display: block; opacity: .7; cursor: pointer;}
.flex-control-thumbs img:hover {opacity: 1;}
.flex-control-thumbs .flex-active {opacity: 1; cursor: default;}
@charset "utf-8";

@media only screen and (min-width: 992px) {
.container {
	width: 910px;
}
}

/* Large Devices, Wide Screens */
@media only screen and (max-width: 1200px) {
#content {
	position: absolute;
	padding-left: 0px;
	z-index: 102
}
header {
	position: absolute;
	min-height: 100%;
	height: auto;
	padding-top: 53px;
}
#background-color {
	background: #fff;
	height: 100%;
	width: 100%;
	position: fixed;
	z-index: 101;
	-webkit-overflow-scrolling: touch;
	top: 0;
	left: 0;
	display: block
}
#bottom-header {
	position: relative;
	bottom: auto;
	width: 100%;
	text-align: center;
}
#menu-button {
	display: block;
}
#fixed-barrier {
	display: none;
}
.pushed-left #fixed-barrier {
	left: 0px;
	top: -200px;
	display: block;
	height: calc(100% + 200px);
}
h1#logo {
	background: #fff;
	width: 100%;
	position: relative;
	top: auto;
	padding: 25px 0;
}
.pushed-left h1#logo {
	border-left: 1px solid #d8d8d8;
}
.wrapper {
	overflow-x: hidden !important;
}
.border-bottom-on-header #logo {
	border-bottom: 1px solid #d8d8d8;
}
}

/* Medium Devices, Desktops */
@media only screen and (max-width: 992px) {
.client {
	width: 33.33333%;
}
}

/* Small Devices, Tablets */
@media only screen and (max-width: 767px) {
.containing-image-wrapper {
	position: relative;
	height: 370px;
}
.flex-direction-nav .flex-next {
	right: -15px !important;
}
.flex-direction-nav .flex-prev {
	left: -15px !important;
}
.extra-padding-left {
	padding-left: 15px;
}
}

/* Extra Small Devices, Phones */
@media only screen and (max-width: 480px) {
h2 {
	font-size: 36px;
	line-height: 1.2;
	letter-spacing: -1px;
}
.info-box-content .parent {
	padding: 30px;
}
.containing-image-wrapper {
	position: relative;
	height: 270px;
}
.centered-on-xs {
	text-align: center;
}
.col-lg-12 .client {
	width: 50%;
}
.teaser-content {
	padding: 25px 15px;
}
.comment {
	padding: 30px 0 25px
}
.commenter-avatar {
	padding: 0;
	margin: 0 auto;
	width: 150px;
	display: inline-block;
	float: none
}
.comment-content {
	padding-top: 20px;
	display: block;
	width: 100%;
	max-width: 100%;
}
.comment.reply.level-1 {
	padding-left: 0
}
.comment-form-wrapper {
	padding-top: 29px;
}
.comment-form-icon-wrapper {
	position: relative;
	top: 0;
	left: 0;
	text-align: center;
	margin: 0 auto;
	margin-bottom: 30px;
}
.comment-form-icon-wrapper:before {
	display: inline-block;
}
.comment-form {
	padding: 0;
}
input, textarea {
	width: 100% !important;
}
.nav-tabs > li.active > a, .nav-tabs > li.active > a:focus, .nav-tabs > li.active > a:hover {
	border: 0;
}
.height-500 {
	height: 450px;
}
}


/* Safari 6.1+ (9.0 is the latest version of Safari at this time) */

@media screen and (min-color-index:0) and(-webkit-min-device-pixel-ratio:0) {
@media {
 .button {
padding:11px 25px 0px;
}
}
}
html {
	overflow: hidden;
}
.wrapper {
	width: 100%;
	height: 100%;
	position: fixed;
	overflow: auto;
	overflow-x: auto;
}
.wrapper.hide2 {
	overflow: auto;
	width: 100%;
	height: 100%;
	position: fixed;
}
body {
	overflow: hidden;
}
#menu-button.open #nav-button span:nth-child(1) {
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	-o-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
	position: relative;
	top: 2px;
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}
#menu-button.open #nav-button span:nth-child(2) {
	-webkit-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
	-o-transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
	transform: rotate(-45deg);
	position: relative;
	top: -2px;
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}
#menu-button.open #nav-button span:nth-child(3) {
	display: none;
}
#ajax-content {
	height: 100%;
	width: 100%;
	background: rgba(0, 0, 0, 0.92);
	position: fixed;
	opacity: 0;
	z-index: 9999;
	filter: alpha(opacity=0);
	overflow: hidden;
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
	/*z-index: 0;*/
	-webkit-transition-delay: 0.2s;
	transition-delay: 0.2s;
	visibility: hidden;
}
#ajax-content.visible {
	height: 100%;
	z-index: 9999;
	opacity: 1;
	filter: alpha(opacity=1);
	visibility: visible;
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}
#ajax-content .ajax-sidebar {
	width: 0;
	background: #fff;
	height: 100%;
	float: right;
	-webkit-transition: all 0.4s ease-in-out;
	-moz-transition: all 0.4s ease-in-out;
	-o-transition: all 0.4s ease-in-out;
	transition: all 0.4s ease-in-out;
	z-index: 999;
}
#ajax-content.visible .ajax-sidebar {
	float: right;
	width: 380px;
	-webkit-transition: all 0.4s ease-in-out;
	-moz-transition: all 0.4s ease-in-out;
	-o-transition: all 0.4s ease-in-out;
	transition: all 0.4s ease-in-out;
	-webkit-transition-delay: 0.3s; /* Safari */
	transition-delay: 0.3s;
}
.ajax-sidebar #project-title {
	padding: 55px;
	width: 380px;
	height: 100%;
}
#ajax-content .ajax-slider {
	opacity: 0;
	float: left;
	width: auto;
	height: 100%;
}
#ajax-content.visible .ajax-slider {
	width: auto;
	float: left;
	height: 100%;
	opacity: 1;
	-webkit-transition: all 0.6s ease-in-out;
	-moz-transition: all 0.6s ease-in-out;
	-o-transition: all 0.6s ease-in-out;
	transition: all 0.6s ease-in-out;
	-webkit-transition-delay: 0.4s; /* Safari */
	transition-delay: 0.4s;
}
#ajax-content.visible .ajax-slider figure.images {
	max-height: 100vh;
	text-align: center;
}
#ajax-content.visible .ajax-slider figure.images img {
	display: inline-block;
	width: auto;
	max-height: 90vh;
	padding: 0 5%;
}
.ajax-close {
	width: 48px;
	height: 48px;
	display: inline-block;
	position: absolute;
	top: 28px;
	right: 28px; /*background: #888;*/
	cursor: pointer;
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
	z-index: 999999;
	background: url(../images/icons/bg-close@2x.png) center no-repeat #fff;
	background-size: 36px 36px;
	opacity: 0
}
.ajax-close.test {
	opacity: 1
}
.ajax-prev {
	background: url(../images/icons/bg-prev@2x.png) center no-repeat #fff;
	background-size: 48px 48px;
	display: block;
	position: absolute;
	width: 54px;
	height: 74px;
	top: 50%;
	margin-top: -34px;
	left: 25px;
}
.ajax-next {
	background: url(../images/icons/bg-next@2x.png) center no-repeat #fff;
	background-size: 48px 48px;
	display: block;
	position: absolute;
	width: 54px;
	height: 74px;
	top: 50%;
	margin-top: -34px;
	right: 25px;
}
#project-slider {
	position: relative;
}
.ajax-more {
	display: none;
}

@media only screen and (max-width : 768px) {
.ajax-more {
	display: block;
	width: 100%;
	position: absolute;
	bottom: 0;
	height: 50px;
	background: #fff;
	text-align: center;
	padding-top: 15px;
	cursor: pointer;
	z-index: 99999;
}
#ajax-content.visible .ajax-sidebar {
	position: absolute;
	width: 0;
	right: 0;
}
#ajax-content.visible .ajax-sidebar.collapsed {
	width: 100%;
}
#ajax-content.visible .ajax-slider {
	width: 100%;
	-webkit-transition: all 0s ease-in-out;
	-moz-transition: all 0.0s ease-in-out;
	-o-transition: all 0.0s ease-in-out;
	transition: all 0.0s ease-in-out;
}
.ajax-sidebar #project-title {
	padding: 40px;
	margin: 0 auto;
	margin-top: 30px;
	width: 300px;
	text-align: center;
}
.bottom {
	position: relative;
	padding-top: 20px;
	bottom: auto
}
#project-title h3 {
	font-size: 24px;
	line-height: 1.25;
	letter-spacing: -0.5px;
}
.ajax-more {
	font-size: 12px;
}
.ajax-prev, .ajax-next {
	display: none !important;
}
#project-title .child {
	vertical-align: top;
}
}
/*! fancyBox v2.1.4 fancyapps.com | fancyapps.com/fancybox/#license */
.fancybox-wrap,
.fancybox-skin,
.fancybox-outer,
.fancybox-inner,
.fancybox-image,
.fancybox-wrap iframe,
.fancybox-wrap object,
.fancybox-nav,
.fancybox-nav span,
.fancybox-tmp
{
	padding: 0;
	margin: 0;
	border: 0;
	outline: none;
	vertical-align: top;
}

.fancybox-wrap {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 8020;
}

.fancybox-skin {
	position: relative;
	background: #fff;
	color: #444;
	text-shadow: none;
}

.fancybox-opened {
	z-index: 8030;
}

.fancybox-outer, .fancybox-inner {
	position: relative;
}

.fancybox-inner {
	overflow: hidden;
	background:#333;
}

.fancybox-type-iframe .fancybox-inner {
	-webkit-overflow-scrolling: touch;
}

.fancybox-error {
	color: #444;
	font: 14px/21px "Lato", Georgia, "Times New Roman", Times, serif;
	margin: 0;
	font-size:13px; font-weight:400;
	padding: 15px;
	white-space: nowrap;
}

.fancybox-image, .fancybox-iframe {
	display: block;
	width: 100%;
	height: 100%;
}

.fancybox-image {
	max-width: 100%;
	max-height: 100%;
}

#fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
	background-image: url('fancybox_sprite.png');
}

#fancybox-loading {
	position: fixed;
	top: 50%;
	left: 50%;
	margin-top: -22px;
	margin-left: -22px;
	background-position: 0 -108px;
	opacity: 0.8;
	cursor: pointer;
	z-index: 8060;
}

#fancybox-loading div {
	width: 44px;
	height: 44px;
	background: url(../images/ajax-loader2.gif) center center no-repeat;
}

.fancybox-close {
	position: absolute;
	top: -60px;
	left: -24px;
	margin-left:50%;
	width: 48px;
	height: 48px;
	background: url(../images/bg-close@2x.png) center no-repeat;
	background-size:36px 36px;
	cursor: pointer;
	z-index: 8040;
}


.fancybox-nav {
	position: absolute;
	top: 0;
	width: 40%;
	height: 100%;
	cursor: pointer;
	text-decoration: none;
	background: transparent url('blank.gif'); /* helps IE */
	-webkit-tap-highlight-color: rgba(0,0,0,0);
	z-index: 8040;
}

.fancybox-prev {
	left: 0;
}

.fancybox-next {
	right: 0;
}

.fancybox-nav span {
	position: absolute;
	top: 50%;
	width: 58px;
	height: 78px;
	margin-top: -39px;
	cursor: pointer;
	z-index: 8040;
	visibility: visible !important;
}

.fancybox-prev span {
	left: -90px;
	width: 58px;
	height: 78px;
	background: url(../images/icons/bg-prev@2x.png) center no-repeat #fff;
	background-size:48px 48px;
	cursor: pointer;
	z-index: 8040;
}

.fancybox-next span {
	right: -90px;
	width: 58px;
	height: 78px;
	background: url(../images/icons/bg-next@2x.png) center no-repeat #fff;
	background-size:48px 48px;
	cursor: pointer;
	z-index: 8040;
}

.fancybox-nav:hover span {
	visibility: visible;
}

.fancybox-tmp {
	position: absolute;
	top: -99999px;
	left: -99999px;
	visibility: hidden;
	max-width: 99999px;
	max-height: 99999px;
	overflow: visible !important;
}

/* Overlay helper */

.fancybox-lock {
	overflow: hidden;
}

.fancybox-overlay {
	position: absolute;
	top: 0;
	left: 0;
	overflow: hidden;
	display: none;
	z-index: 8010;
	background:rgba(0, 0, 0, 0.92);
}

.fancybox-overlay-fixed {
	position: fixed;
	bottom: 0;
	right: 0;
}

.fancybox-lock .fancybox-overlay {
	overflow: auto;
	overflow-y: scroll;
}

/* Title helper */

.fancybox-title {
	visibility: hidden;
	font: 16px "Lato", Arial, Helvetica, sans-serif;
	margin: 0; font-weight:400;
	 font-style:normal;
	position: relative;
	text-shadow: none;
	z-index: 8050;
}

.fancybox-opened .fancybox-title {
	visibility: visible;
}

.fancybox-title-float-wrap {
	position: absolute;
	bottom: 0;
	right: 50%;
	margin-bottom: -35px;
	z-index: 8050;
	text-align: center;
}

.fancybox-title-float-wrap .child {
	display: inline-block;
	margin-right: -100%;
	padding: 2px 20px;
	background: transparent; /* Fallback for web browsers that doesn't support RGBa */
	color: #FFF;
	line-height: 24px;
	white-space: nowrap;
}

.fancybox-title-outside-wrap {
	position: relative;
	margin-top: 10px;
	color: #fff;
}

.fancybox-title-inside-wrap {
	padding-top: 10px;
}

.fancybox-title-over-wrap {
	position: absolute;
	bottom: 0;
	left: 0;
	color: #fff;
	padding: 10px;
	background: #000;
	background: rgba(0, 0, 0, .8);
}
/*
 * jQuery FlexSlider v2.0
 * http://www.woothemes.com/flexslider/
 *
 * Copyright 2012 WooThemes
 * Free to use under the GPLv2 license.
 * http://www.gnu.org/licenses/gpl-2.0-rainbow.html
 *
 * Contributing author: Tyler Smith (@mbmufffin)
 */

 
/* Browser Resets */
.flex-container a:active,
.flexslider a:active,
.flex-container a:focus,
.flexslider a:focus  {outline: none;}
.slides,
.flex-control-nav,
.flex-direction-nav {margin: 0; padding: 0; list-style: none;} 

/* FlexSlider Necessary Styles
*********************************/ 
.flexslider {margin: 0; padding: 0; }
.flexslider .slides > li {display: none; -webkit-backface-visibility: hidden;} /* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides img {width: 100%; display: block;}
.flex-pauseplay span {text-transform: capitalize;}

/* Clearfix for the .slides element */
.slides:after {content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0;} 
html[xmlns] .slides {display: block;} 
* html .slides {height: 1%;}

/* No JavaScript Fallback */
/* If you are not using another script, such as Modernizr, make sure you
 * include js that eliminates this class on page load */
.no-js .slides > li:first-child {display: block;}


/* FlexSlider Default Theme
*********************************/
.flexslider { position:relative; margin-bottom:35px; margin-top:15px;}
.flex-viewport {max-height: 2000px; -webkit-transition: all 1s ease; -moz-transition: all 1s ease; transition: all 1s ease;}
.loading .flex-viewport {max-height: 300px;}
.flexslider .slides {zoom: 1;}

.carousel li {margin-right: 5px}


/* Direction Nav */
.flex-direction-nav {*height: 0; z-index:20;}
.flex-direction-nav a { margin: 0px 0 0; z-index:20; display: block; position: absolute; top: 50%; margin-top:-32px; cursor: pointer; text-indent: -9999px; opacity: 0; -webkit-transition: all 0.2s  ease-in-out 0s; -moz-transition: all 0.2s  ease-in-out 0s; -o-transition: all 0.2s  ease-in-out 0s; transition: all 0.2s  ease-in-out 0s; display:inline-block; width:54px; height:54px;}

.flex-direction-nav .flex-next {background:url(../images/bg-next.png) center no-repeat #fff; background-size:24px 24px; right: -55px; border: 0; }
.flex-direction-nav .flex-prev {background:url(../images/bg-prev.png) center no-repeat #fff; background-size:24px 24px; left: -55px; border: 0; }

.flexslider .flex-next {opacity: 1; }
.flexslider .flex-prev {opacity: 1; }

/* Control Nav */
.flex-control-nav {width: 100%; position: absolute; bottom: -40px; text-align: center; display:none !important;}
.flex-control-nav li {margin: 0 6px; display: inline-block; zoom: 1; *display: inline;}
.flex-control-paging li a {width: 11px; height: 11px; display: block; background: #666; background: rgba(0,0,0,0.5); cursor: pointer; text-indent: -9999px; -webkit-border-radius: 20px; -moz-border-radius: 20px; -o-border-radius: 20px; border-radius: 20px; box-shadow: inset 0 0 3px rgba(0,0,0,0.3);}
.flex-control-paging li a:hover { background: #333; background: rgba(0,0,0,0.7); }
.flex-control-paging li a.flex-active { background: #000; background: rgba(0,0,0,0.9); cursor: default; }

.flex-control-thumbs {margin: 5px 0 0; position: static; overflow: hidden;}
.flex-control-thumbs li {width: 25%; float: left; margin: 0;}
.flex-control-thumbs img {width: 100%; display: block; opacity: .7; cursor: pointer;}
.flex-control-thumbs img:hover {opacity: 1;}
.flex-control-thumbs .flex-active {opacity: 1; cursor: default;}
