/*
Theme Name: Honcho
Theme URI: http://www.distinctivethemes.com/
Author: Distinctive Themes & Spiral Pixel
Author URI: http://www.distinctivethemes.com/
Description: Honcho is a professional, responsive retina ready HTML5 one page template which has been built using Bootstrap 3.
Version: 1.0.4
License: GNU General Public License
License URI: ThemeForest License
Tags: fullscreen, josweb, one page, one page template, portfolio, retina, scroll, single page, single page template, youtube
Text Domain: honcho
Domain Path: /language
*/

/*-----------------------------------------------------------------------------------*/
/*  IMPORT MAIN CSS
/*-----------------------------------------------------------------------------------*/
@import url( assets/css/style.css );
@import url( assets/css/bootstrap-wp.css );

/*-----------------------------------------------------------------------------------*/
/*  BASE
/*-----------------------------------------------------------------------------------*/
body {
	word-wrap:break-word
}

html {
	overflow-x:hidden
}

.alignleft {
	display:inline;
	float:left;
	margin-right:1.5em
}

.alignright {
	display:inline;
	float:right;
	margin-left:1.5em
}

.aligncenter {
	clear:both;
	display:block;
	margin:0 auto
}

.container.fullwidth {
	width:100%
}

.removetoppadding {
	padding-top:0!important
}

.removetoppadding .section-hue {
	margin-top: 0 !important;
	padding-top: 0!important
}

#mapwrapper {
	min-height:480px
}

img {
	display:inline-block;
	height:auto;
	max-width:100%
}

.wp-caption {
	max-width: 100%;
	border: none;
	border-radius: 4px;
	padding: 0 10px;
	margin-bottom: 20px !important;
}

.wp-caption.aligncenter {
	margin-bottom:10px
}

.wp-caption img[class*="wp-image-"] {
	display:block
}

.wp-caption .wp-caption-text {
	position: relative;
	text-align:center;
	margin-top:10px
}

.wp-caption .wp-caption-text {
	color: #444 !important;
	font-weight: 300;
	font-size: 15px;
}

.mfp-content figure figcaption {
	position: relative;
}

.post .gallery .gallery-caption {
	display: none;
}

.post .gallery {
	margin-bottom: 1.5em;
	margin-left: -1%;
	margin-right: -1%;
}

.post .gallery .gallery-item {
	border: none;
	height: auto;
	float: left;	
	margin: 0 1% 2%;
}

.gallery-columns-4 .gallery-item {
	max-width: 23%;
}

.gallery-columns-3 .gallery-item {
	max-width: 31.3%;
}

.gallery-columns-2 .gallery-item {
	max-width: 48%;
}

.gallery dd {
	margin:0
}

embed,iframe,object {
	max-width:100%
}

.screen-reader-text {
	clip:rect(1px,1px,1px,1px);
	position:absolute!important
}

.screen-reader-text:hover,.screen-reader-text:active,.screen-reader-text:focus {
	background-color:#f1f1f1;
	border-radius:3px;
	box-shadow:0 0 2px 2px rgba(0,0,0,0.6);
	clip:auto!important;
	color:#21759b;
	display:block;
	font-size:14px;
	font-weight:700;
	height:auto;
	left:5px;
	line-height:normal;
	padding:15px 23px 14px;
	text-decoration:none;
	top:5px;
	width:auto;
	z-index:100000
}

.main-content-inner {
	padding-bottom:1.5em
}

.hentry {
	margin:0 0 1.5em
}

.clear {
	clear:both
}

.sticky {
	display: block;
	padding-top: 30px;
	padding-bottom: 30px;
	border-top: 1px solid #e2e2e2;
	border-bottom: 1px solid #e2e2e2;
}

.bypostauthor {
	display: block;
}

/*-----------------------------------------------------------------------------------*/
/*  WIDGETS
/*-----------------------------------------------------------------------------------*/
.widget {
	margin-bottom:2em
}

.widget_nav_menu ul.sub-menu li,.widget_pages ul.children li {
	padding-left:15px
}

.widget_search .search-form input[type="submit"] {
	display:none
}
.widget select {
	max-width:100%
}

.widget li a {
	padding: 0;
}

.comment .children {
	margin-left:1.5em
}

.sb-slidebar aside.widget {
	padding-bottom: 50px;
}

/*-----------------------------------------------------------------------------------*/
/*  WORDPRESS TWEAKS
/*-----------------------------------------------------------------------------------*/
.admin-bar .cbp-popup-singlePage-open, .admin-bar .navbar-fixed-top, .sb-left, .sb-right {
	margin-top: 32px;
}

.cbp-popup-singlePageInline {
	z-index: 10;
}

.section-wrapper {
	padding-top:80px;
	padding-bottom:60px;
	clear:both
}

.section-hue {
	margin-top:-80px;
	padding-top:80px;
	margin-bottom:-60px;
	padding-bottom:60px
}

h6.service-title {
	margin:20px 0;
	font-weight:700
}

.background-cover {
	background-position:center center!important;
	-webkit-background-size:cover!important;
	-moz-background-size:cover!important;
	-o-background-size:cover!important;
	background-size:cover!important;
}

.aq-block-aq_ebor_text_block h1 {
	font:700 80px/70px Lato,sans-serif;
	color:#eee;
	text-align:left!important;
	margin-top:-5px;
	letter-spacing:-.2rem
}

.aq-block-aq_ebor_text_block .lead {
	text-align:left;
	margin:3px 0 15px;
	letter-spacing:-.05rem!important
}

.divider-wrapper {
	background:#2E3138
}

.divider-wrapper p,.divider-wrapper h1,.divider-wrapper h2,.divider-wrapper h3,.divider-wrapper h4,.divider-wrapper h5,.divider-wrapper h6,.divider-wrapper .lead,.light-content p,.light-content h1,.light-content h2,.light-content h3,.light-content h4,.light-content h5,.light-content h6,.light-content .lead, .light-content .percent {
	color:#fefefe;
}

.dark-content p,.dark-content h1,.dark-content h2,.dark-content h3,.dark-content h4,.dark-content h5,.dark-content h6,.dark-content .lead, .dark-content .percent {
	color:#444
}

.dark-content .owl-theme .owl-controls .owl-page span {
	background: #444;
}

.section-wrapper.light-content.background-cover a, .section-wrapper.light-content.rainbowfade a {
	color:#fefefe !important;
}

.article-block img, .item-image img {
	min-width:100%;
	width:100%;
	height:auto
}

h1.small-heading {
	font:20px/60px Lato,sans-serif;
	margin: 0 auto 30px;
	letter-spacing:2px!important;
	text-align:center;
	text-transform:uppercase;
}

.pie-chart {
	position:relative;
	display:inline-block;
	width:140px;
	height:140px;
	text-align:center
}

#commentform .form-submit {
	clear:both
}

#commentform .form-submit #submit {
	color:#fff!important
}

.paging {
	margin:0;
	padding:0;
	list-style:none
}

#logo h1 {
	font-size: 24px;
	margin: 5px 0;
	line-height: 24px;
}

#logo h1 a {
	color: #fff;
}

.aq-block-aq_map_block {
	margin-bottom: -60px;
}

.container.fullwidth .aq-block-aq_map_block.col-md-12 {
	padding-left: 0 !important;
	padding-right: 0 !important;
	margin-bottom: -75px;
}

#nav-below {
	clear: both;
}

h5.nomargintop {
	margin-top: 0;
}

img.lazyOwl {
	width: 100%;
	height: auto;
}

.aq-block-aq_header_block {
	padding-left: 0 !important;
	padding-right: 0 !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	width: 100% !important;
}

#hover_info li {
	list-style: none;
}

.featured-price .btn {
	background-color: #222 !important;
	border-color: #222 !important;
}

.postnav .next .btn-big {
	float: right;
	margin-right: 0;
}

div.wpcf7-response-output {
	margin: 10px 0 20px;
	padding: 5px 0;
	clear: both;
	border: none !important;
	color: #fff;
	text-align: center;
}

span.wpcf7-not-valid-tip, div.wpcf7 img.ajax-loader {
	display: none;
}

.wpcf7-not-valid {
	border: 1px solid red;
}

/*-----------------------------------------------------------------------------------*/
/*  OWL CAROUSEL
/*-----------------------------------------------------------------------------------*/
.owl-carousel .owl-wrapper:after {
	content:".";
	display:block;
	clear:both;
	visibility:hidden;
	line-height:0;
	height:0
}

.owl-carousel {
	display:none;
	position:relative;
	width:100%;
	-ms-touch-action:pan-y
}

.owl-carousel .owl-wrapper {
	display:none;
	position:relative;
	-webkit-transform:translate3d(0px,0px,0px)
}

.owl-carousel .owl-wrapper-outer {
	overflow:hidden;
	position:relative;
	width:100%
}

.owl-carousel .owl-wrapper-outer.autoHeight {
	-webkit-transition:height 500ms ease-in-out;
	-moz-transition:height 500ms ease-in-out;
	-ms-transition:height 500ms ease-in-out;
	-o-transition:height 500ms ease-in-out;
	transition:height 500ms ease-in-out
}

.owl-carousel .owl-item {
	float:left
}

.owl-controls .owl-page,.owl-controls .owl-buttons div {
	cursor:pointer
}

.owl-controls {
	-webkit-user-select:none;
	-khtml-user-select:none;
	-moz-user-select:none;
	-ms-user-select:none;
	user-select:none;
	-webkit-tap-highlight-color:rgba(0,0,0,0)
}

.owl-carousel .owl-wrapper,.owl-carousel .owl-item {
	-webkit-backface-visibility:hidden;
	-moz-backface-visibility:hidden;
	-ms-backface-visibility:hidden;
	-webkit-transform:translate3d(0,0,0);
	-moz-transform:translate3d(0,0,0);
	-ms-transform:translate3d(0,0,0)
}

.owl-theme .owl-controls {
	margin-top:10px;
	text-align:center
}

.owl-theme .owl-controls .owl-buttons div {
	color:#FFF;
	display:inline-block;
	zoom:1;
	margin:5px;
	padding:3px 10px;
	font-size:12px;
	-webkit-border-radius:30px;
	-moz-border-radius:30px;
	border-radius:30px;
	background:#869791;
	filter:Alpha(Opacity=50);
	opacity:.5
}

.owl-theme .owl-controls.clickable .owl-buttons div:hover {
	filter:Alpha(Opacity=100);
	opacity:1;
	text-decoration:none
}

.owl-theme .owl-controls .owl-page {
	display:inline-block;
	zoom:1;
}

.owl-theme .owl-controls .owl-page span {
	display:inline-block;
	background:#fff;
	opacity:.5;
	border-radius:0;
	margin:2px;
	width:14px;
	height:14px;
	border:0 none;
	cursor:pointer
}

.owl-theme .owl-controls .owl-page.active span,.owl-theme .owl-controls.clickable .owl-page:hover span {
	filter:Alpha(Opacity=100);
	opacity:1
}

.owl-theme .owl-controls .owl-page span.owl-numbers {
	height:auto;
	width:auto;
	color:#FFF;
	padding:2px 10px;
	font-size:12px;
	-webkit-border-radius:30px;
	-moz-border-radius:30px;
	border-radius:30px
}

.owl-item.loading {
	min-height:150px;
	background:url(AjaxLoader.gif) no-repeat center center
}

.carousel-content h3 {
	font-size:32px;
	line-height:45px;
	font-weight:700;
	margin-bottom:20px;
	color:#fff
}

/*-----------------------------------------------------------------------------------*/
/*  VIDEO
/*-----------------------------------------------------------------------------------*/
#video_top {
	position:relative;
	width:100%;
	height:100%;
	-webkit-background-size:cover!important;
	-moz-background-size:cover!important;
	-o-background-size:cover!important;
	background-size:cover!important;
	background-position:center center;
	z-index:0
}

#video_top:after {
    background: url('assets/img/overlay.png') repeat scroll 0 0 rgba(0, 0, 0, 0);
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
}

@media only screen and (device-width: 768px) {
	.mbYTP_wrapper iframe {
		display:none
	}
}

@media screen and (max-width: 1024px) {
	.mbYTP_wrapper iframe {
		display:none
	}
}

.top_video {
	background-position:top center;
	z-index:1!important;
	width:100%;
	height:100%;
	display:block;
	-webkit-background-size:cover!important;
	-moz-background-size:cover!important;
	-o-background-size:cover!important;
	background-size:cover!important
}

/*-----------------------------------------------------------------------------------*/
/*  YTPLAYER
/*-----------------------------------------------------------------------------------*/
.mb_YTVPlayer :focus {
	outline:0
}

.mb_YTVPlayer {
	display:block;
	transform:translateZ(0);
	transform-style:preserve-3d;
	perspective:1000px;
	backface-visibility:hidden;
	transform:translate3d(0,0,0);
	animation-timing-function:linear
}

.mb_YTVPlayer.fullscreen {
	display:block!important;
	position:fixed!important;
	width:100%!important;
	height:100%!important;
	top:0!important;
	left:0!important;
	margin:0!important;
	border:none!important
}

.mb_YTVPlayer.fullscreen .mbYTP_wrapper {
	opacity:1!important
}

.mbYTP_wrapper iframe {
	max-width:4000px!important
}

.inline_YTPlayer {
	margin-bottom:20px;
	vertical-align:top;
	position:relative;
	left:0;
	overflow:hidden;
	border-radius:4px;
	-moz-box-shadow:0 0 5px rgba(0,0,0,.7);
	-webkit-box-shadow:0 0 5px rgba(0,0,0,.7);
	box-shadow:0 0 5px rgba(0,0,0,.7);
	background:rgba(0,0,0,.5)
}

.inline_YTPlayer img {
	border:none!important;
	-moz-transform:none!important;
	-webkit-transform:none!important;
	-o-transform:none!important;
	transform:none!important;
	margin:0!important;
	padding:0!important
}

.mb_YTVPBar .ytpicon {
	font-size:20px;
	font-family:'ytpregular'
}

.mb_YTVPBar .mb_YTVPUrl.ytpicon {
	font-size:30px
}

.mb_YTVPBar {
	transition:opacity 1s;
	-moz-transition:opacity 1s;
	-webkit-transition:opacity 1s;
	-o-transition:opacity 1s;
	display:block;
	width:100%;
	height:10px;
	padding:5px;
	background:#333;
	position:fixed;
	bottom:0;
	left:0;
	-moz-box-sizing:padding-box;
	-webkit-box-sizing:border-box;
	text-align:left;
	z-index:1000;
	font:14px/16px sans-serif;
	color:#fff;
	opacity:.1
}

.mb_YTVPBar.visible,.mb_YTVPBar:hover {
	opacity:1
}

.mb_YTVPBar .buttonBar {
	transition:all 1s;
	-moz-transition:all 1s;
	-webkit-transition:all 1s;
	-o-transition:all 1s;
	background:transparent;
	font:12px/14px Calibri;
	position:absolute;
	top:-30px;
	left:0;
	padding:5px;
	width:100%;
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
	-o-box-sizing:border-box;
	box-sizing:border-box
}

.mb_YTVPBar:hover .buttonBar {
	background:rgba(0,0,0,0.4)
}

.mb_YTVPBar span {
	display:inline-block;
	font:16px/20px Calibri,sans-serif;
	position:relative;
	width:30px;
	height:25px;
	vertical-align:middle
}

.mb_YTVPBar span.mb_YTVPTime {
	width:130px
}

.mb_YTVPBar span.mb_YTVPUrl,.mb_YTVPBar span.mb_OnlyYT {
	position:absolute;
	width:auto;
	display:block;
	top:6px;
	right:10px;
	cursor:pointer
}

.mb_YTVPBar span.mb_YTVPUrl img {
	width:60px
}

.mb_YTVPBar span.mb_OnlyYT {
	left:185px;
	right:auto
}

.mb_YTVPBar span.mb_OnlyYT img {
	width:25px
}

.mb_YTVPBar span.mb_YTVPUrl a {
	color:#fff
}

.mb_YTVPPlaypause,.mb_YTVPlayer .mb_YTVPPlaypause img {
	cursor:pointer
}

.mb_YTVPMuteUnmute {
	cursor:pointer
}

.mb_YTVPProgress {
	height:10px;
	width:100%;
	background:#222;
	bottom:0;
	left:0
}

.mb_YTVPLoaded {
	height:10px;
	width:0;
	background:#444;
	left:0
}

.mb_YTVTime {
	height:5px;
	width:0;
	background:#fff;
	bottom:0;
	left:0;
	-moz-box-shadow:#666 1px 1px 3px;
	-webkit-box-shadow:#666 1px 1px 3px
}

.YTPOverlay {
	backface-visibility:hidden;
	-webkit-backface-visibility:hidden;
	-webkit-transform-style:flat
}

/*-----------------------------------------------------------------------------------*/
/*  CUBEFOLIO TWEAKS
/*-----------------------------------------------------------------------------------*/
.cbp-l-grid-projects .cbp-item.col-md-6,.cbp-l-grid-blog .cbp-item.col-md-6 {
	width:50%;
	height:435px;
	list-style: none;
}

.cbp-l-grid-team .cbp-item.col-md-6 {
	width:50%;
	height:377px;
	list-style: none;
}

.cbp-l-grid-team .cbp-item.col-md-6 .cbp-caption {
	height: 85%;
	margin-bottom: 8px;
}

.cbp-l-grid-team .cbp-item.col-md-4,.cbp-l-grid-projects .cbp-item.col-md-4,.cbp-l-grid-blog .cbp-item.col-md-4 {
	width:33.33333333%;
	height:287px;
	list-style: none;
}

.cbp-l-grid-team .cbp-item.col-md-3,.cbp-l-grid-projects .cbp-item.col-md-3,.cbp-l-grid-blog .cbp-item.col-md-3 {
	width:25%;
	height:214px;
	list-style: none;
}

.cbp-l-grid-team .cbp-item.col-md-6 img,.cbp-l-grid-projects .cbp-item.col-md-6 img,.cbp-l-grid-blog .cbp-item.col-md-6 img,.cbp-l-grid-team .cbp-item.col-md-4 img,.cbp-l-grid-projects .cbp-item.col-md-4 img,.cbp-l-grid-blog .cbp-item.col-md-4 img,.cbp-l-grid-team .cbp-item.col-md-3 img,.cbp-l-grid-projects .cbp-item.col-md-3 img,.cbp-l-grid-blog .cbp-item.col-md-3 img {
	min-width:100%;
	height:auto;
	list-style: none;
}

#large-gallery-carousel img {
	min-width:100%;
	width:100%;
	height:auto
}

.aq-template-wrapper {
	overflow: hidden;
}

/*-----------------------------------------------------------------------------------*/
/*  SHARING
/*-----------------------------------------------------------------------------------*/
#sharebox a {
	color: #222;
}

#sharebox .sharrre:hover a {
	color: #fff;
	-webkit-transition: .1s;
	transition: .1s;
}

#sharebox a.count {
	display: none;
}

/*-----------------------------------------------------------------------------------*/
/*  MAGNICIFC POPUP
/*-----------------------------------------------------------------------------------*/
.mfp-bg {
	top:0;
	left:0;
	width:100%;
	height:100%;
	z-index:1042;
	overflow:hidden;
	position:fixed;
	background:#0b0b0b;
	opacity:.8;
	filter:alpha(opacity=80)
}

.mfp-wrap {
	top:0;
	left:0;
	width:100%;
	height:100%;
	z-index:1043;
	position:fixed;
	outline:none!important;
	-webkit-backface-visibility:hidden
}

.mfp-container {
	text-align:center;
	position:absolute;
	width:100%;
	height:100%;
	left:0;
	top:0;
	padding:0 8px;
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	box-sizing:border-box
}

.mfp-container:before {
	content:'';
	display:inline-block;
	height:100%;
	vertical-align:middle
}

.mfp-align-top .mfp-container:before {
	display:none
}

.mfp-content {
	position:relative;
	display:inline-block;
	vertical-align:middle;
	margin:0 auto;
	text-align:left;
	z-index:1045
}

.mfp-inline-holder .mfp-content,.mfp-ajax-holder .mfp-content {
	width:100%;
	cursor:auto
}

.mfp-ajax-cur {
	cursor:progress
}

.mfp-zoom-out-cur,.mfp-zoom-out-cur .mfp-image-holder .mfp-close {
	cursor:-moz-zoom-out;
	cursor:-webkit-zoom-out;
	cursor:zoom-out
}

.mfp-zoom {
	cursor:pointer;
	cursor:-webkit-zoom-in;
	cursor:-moz-zoom-in;
	cursor:zoom-in
}

.mfp-auto-cursor .mfp-content {
	cursor:auto
}

.mfp-close,.mfp-arrow,.mfp-preloader,.mfp-counter {
	-webkit-user-select:none;
	-moz-user-select:none;
	user-select:none
}

.mfp-loading.mfp-figure {
	display:none
}

.mfp-hide {
	display:none!important
}

.mfp-preloader {
	color:#ccc;
	position:absolute;
	top:50%;
	width:auto;
	text-align:center;
	margin-top:-.8em;
	left:8px;
	right:8px;
	z-index:1044
}

.mfp-preloader a {
	color:#ccc
}

.mfp-preloader a:hover {
	color:#fff
}

.mfp-s-ready .mfp-preloader {
	display:none
}

.mfp-s-error .mfp-content {
	display:none
}

button.mfp-close {
	overflow:visible;
	cursor:pointer;
	background:transparent;
	border:0;
	-webkit-appearance:none;
	display:block;
	outline:none;
	padding:0;
	z-index:1046;
	-webkit-box-shadow:none;
	box-shadow:none
}

button.mfp-arrow {
	overflow:visible;
	cursor:pointer;
	border:0;
	-webkit-appearance:none;
	display:block;
	outline:none;
	padding:0;
	z-index:1046;
	-webkit-box-shadow:none;
	box-shadow:none
}


button::-moz-focus-inner {
	padding:0;
	border:0
}

.mfp-close {
	width:44px;
	height:44px;
	line-height:44px;
	position:absolute;
	right:0;
	top:0;
	text-decoration:none;
	text-align:center;
	opacity:.65;
	filter:alpha(opacity=65);
	padding:0 0 18px 10px;
	color:#fff;
	font-style:normal;
	font-size:28px;
	font-family:Arial,Baskerville,monospace
}

.mfp-close:hover,.mfp-close:focus {
	opacity:1;
	filter:alpha(opacity=100)
}

.mfp-close:active {
	top:1px
}

.mfp-close-btn-in .mfp-close {
	color:#333
}

.mfp-image-holder .mfp-close,.mfp-iframe-holder .mfp-close {
	color: #fff;
	right: 35px;
	text-align: right;
	padding-right: 0;
	position: fixed;
	background: url(assets/img/cbp-sprite.png) -94px -2px no-repeat;
	height: 40px;
	width: 40px;
	top: 20px;
	font-size: 0;
}

.mfp-counter {
	position:absolute;
	top:0;
	right:0;
	color:#ccc;
	font-size:12px;
	line-height:18px
}

.mfp-arrow {
	position:absolute;
	opacity:.65;
	filter:alpha(opacity=65);
	margin:0;
	top:50%;
	margin-top:-55px;
	padding:0;
	width:90px;
	height:110px;
	-webkit-tap-highlight-color:rgba(0,0,0,0)
}

.mfp-arrow:hover,.mfp-arrow:focus {
	opacity:1;
	filter:alpha(opacity=100)
}

.mfp-arrow .mfp-b,.mfp-arrow .mfp-a {
	content:'';
	display:block;
	width:0;
	height:0;
	position:absolute;
	left:0;
	top:0;
	margin-top:35px;
	margin-left:35px;
	border:medium inset transparent
}

.mfp-arrow:after,.mfp-arrow .mfp-a {
	border-top-width:13px;
	border-bottom-width:13px;
	top:8px
}

.mfp-arrow:before,.mfp-arrow .mfp-b {
	border-top-width:21px;
	border-bottom-width:21px;
	opacity:.7
}

.mfp-arrow-left {
	background: url(assets/img/cbp-sprite.png) -2px -2px no-repeat;
	width: 44px;
	height: 44px;
	top: 0;
	bottom: 0;
	left: 20px;
	margin: auto;
}

.mfp-arrow-left:after,.mfp-arrow-left .mfp-a {
	border-right:17px solid #fff;
	margin-left:31px
}

.mfp-arrow-left:before,.mfp-arrow-left .mfp-b {
	margin-left:25px;
	border-right:27px solid #3f3f3f
}

.mfp-arrow-right {
	background: url(assets/img/cbp-sprite.png) -48px -2px no-repeat;
	width: 44px;
	height: 44px;
	top: 0;
	bottom: 0;
	right: 20px;
	margin: auto;
}

.mfp-arrow-right:after,.mfp-arrow-right .mfp-a {
	border-left:17px solid #fff;
	margin-left:39px
}

.mfp-arrow-right:before,.mfp-arrow-right .mfp-b {
	border-left:27px solid #3f3f3f
}

.mfp-iframe-holder {
	padding-top:40px;
	padding-bottom:40px
}

.mfp-iframe-holder .mfp-content {
	line-height:0;
	width:100%;
	max-width:900px
}

.mfp-iframe-holder .mfp-close {
	top:-40px
}

.mfp-iframe-scaler {
	width:100%;
	height:0;
	overflow:hidden;
	padding-top:56.25%
}

.mfp-iframe-scaler iframe {
	position:absolute;
	display:block;
	top:0;
	left:0;
	width:100%;
	height:100%;
	box-shadow:0 0 8px rgba(0,0,0,0.6);
	background:#000
}

/* Main image in popup */
img.mfp-img {
	width:auto;
	max-width:100%;
	height:auto;
	display:block;
	line-height:0;
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	padding:40px 0;
	margin:0 auto
}

.mfp-figure {
	line-height:0
}

.mfp-figure:after {
	content:'';
	position:absolute;
	left:0;
	top:40px;
	bottom:40px;
	display:block;
	right:0;
	width:auto;
	height:auto;
	z-index:-1;
	box-shadow:0 0 8px rgba(0,0,0,0.6);
	background:#444
}

.mfp-figure small {
	color:#bdbdbd;
	display:block;
	font-size:12px;
	line-height:14px
}

.mfp-figure figure {
	margin:0
}

.mfp-bottom-bar {
	margin-top:-36px;
	position:absolute;
	top:100%;
	left:0;
	width:100%;
	cursor:auto
}

.mfp-title {
	text-align:left;
	line-height:18px;
	color:#f3f3f3;
	word-wrap:break-word;
	padding-right:36px
}

.mfp-image-holder .mfp-content {
	max-width:100%
}

.mfp-gallery .mfp-image-holder .mfp-figure {
	cursor:pointer
}

@media screen and (max-width: 800px) and (orientation: landscape),screen and (max-height: 300px) {
	.mfp-img-mobile .mfp-image-holder {
		padding-left:0;
		padding-right:0
	}

	.mfp-img-mobile img.mfp-img {
		padding:0
	}

	.mfp-img-mobile .mfp-figure:after {
		top:0;
		bottom:0
	}

	.mfp-img-mobile .mfp-figure small {
		display:inline;
		margin-left:5px
	}

	.mfp-img-mobile .mfp-bottom-bar {
		background:rgba(0,0,0,0.6);
		bottom:0;
		margin:0;
		top:auto;
		padding:3px 5px;
		position:fixed;
		-webkit-box-sizing:border-box;
		-moz-box-sizing:border-box;
		box-sizing:border-box
	}

	.mfp-img-mobile .mfp-bottom-bar:empty {
		padding:0
	}

	.mfp-img-mobile .mfp-counter {
		right:5px;
		top:3px
	}

	.mfp-img-mobile .mfp-close {
		top:0;
		right:0;
		width:35px;
		height:35px;
		line-height:35px;
		background:rgba(0,0,0,0.6);
		position:fixed;
		text-align:center;
		padding:0
	}
}

@media all and (max-width: 900px) {
	.mfp-arrow {
		-webkit-transform:scale(0.75);
		transform:scale(0.75)
	}

	.mfp-arrow-left {
		-webkit-transform-origin:0;
		transform-origin:0
	}

	.mfp-arrow-right {
		-webkit-transform-origin:100%;
		transform-origin:100%
	}

	.mfp-container {
		padding-left:6px;
		padding-right:6px
	}
}

.mfp-ie7 .mfp-img {
	padding:0
}

.mfp-ie7 .mfp-bottom-bar {
	width:600px;
	left:50%;
	margin-left:-300px;
	margin-top:5px;
	padding-bottom:5px
}

.mfp-ie7 .mfp-container {
	padding:0
}

.mfp-ie7 .mfp-content {
	padding-top:44px
}

.mfp-ie7 .mfp-close {
	top:0;
	right:0;
	padding-top:0
}

/*-----------------------------------------------------------------------------------*/
/*  404
/*-----------------------------------------------------------------------------------*/
.error404 .search-field {
	padding: 26px 2.5em 21px;
	letter-spacing: .05rem;
	font-size: 12px;
	font-weight: 400;
	border-radius: 0;
}

.error404 .search-submit {
	margin-bottom: 0;
}

/*-----------------------------------------------------------------------------------*/
/*  COMMENTS
/*-----------------------------------------------------------------------------------*/
ul.comments .comment h6 a {
	color: #222;
	text-transform: uppercase;
}

ul.comments .comment .date {
	margin: 5px 10px 10px 0;
}

ul.comments .comment span.reply {
	color: #E84E41;
	margin: 0 0 10px 0;
}

/*-----------------------------------------------------------------------------------*/
/*  WIDGETS
/*-----------------------------------------------------------------------------------*/
.widget {
	overflow: hidden;
	clear: both;
}

.widget-title {
  font-size: 18px;
  text-transform: uppercase;
  margin-bottom: 25px;
}

.tagcloud a {
  font-size: 12px !important;
}

.tagcloud a:hover {
  color: #fff !important;
}

.widget ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

ul.gallery {
  list-style: none;
  padding: 0;
  margin: 0;
}

ul.gallery li {
  display: block;
  width: 60px;
  padding: 0;
  margin: 0 4px 4px 0;
  float: left;
}

#error {
  text-align: center;
  margin-top: 150px;
  margin-bottom: 150px;
}

.dt-recent-post {
  margin-bottom: 20px;
}

.dt-recent-post .pull-left {
  margin-right: 15px;
}

.portfolio-widget-title {
  margin-top: 0;
  margin-bottom: 5px;
  font-size: 16px;
  text-transform: uppercase;
}

.dt-recent-post .meta-icon {
  margin-right: 5px;
}

.clearme {
  font-size: 12px;
}

.textwidget img {
  max-width: 100%;
  height: auto;
}

.widget select {
  max-width: 100%;
  width: 100%;
}

#wp-calendar {
  width:100%;
  font-size:12px;
  font-weight:300;
  border-collapse:separate;
  border-spacing:8px;
  margin-left:-2px
}

#wp-calendar caption {
  display:none
}

#wp-calendar tbody td {
  margin-bottom:10px;
  text-align:center;
  -webkit-border-radius:2px;
  -moz-border-radius:2px;
  -ms-border-radius:2px;
  -o-border-radius:2px;
  border-radius:2px;
  border:1px solid #444;
  padding:6px;
  background-color: transparent;
}

#wp-calendar tbody td:hover {
  border-color:#e2e2e2;
  background-color: transparent;
}

#wp-calendar tbody td.pad {
  border:0
}

.sb-right #wp-calendar tbody td#today {
  color:#fff;
  border-color:#fff
}

#wp-calendar tfoot td#prev a,#wp-calendar tfoot td#next
a {
  color:#888;
  font-size:12px;
  font-weight:400;
  position:relative;
  text-transform:uppercase;
  bottom:-9px;
  margin-bottom:1px
}

#wp-calendar tfoot
td#prev {
  text-align:left
}

#wp-calendar tfoot
td#next {
  text-align:right
}

#wp-calendar thead th {
  font-size:13px;
  font-weight:400;
  color:#888;
  text-align:center;
  padding-bottom:10px;
  border: none;
}

#wp-calendar tbody td a,#wp-calendar tfoot td#prev a:hover,#wp-calendar tfoot td#next a:hover {
  color:#47C2DC
}

#wp-calendar tfoot td {
  border: none;
}

.comment-list {
    padding: 0;
    list-style: none;
}

.comment-list li {
    margin: 0;
    margin-bottom: 25px;
    clear: both;
    overflow: hidden;
}

.comment-list li > div {
    display: table-cell;
}

.commentText span {
    position: relative;
    font-size: 12px;
    top: -5px;
}

.commenterImage {
    width: 50px;
    margin-right: 10px;
    height: 100%;
    float:left;
}

.commenterImage img {
    width: 100%;
    border-radius:0;
    height: auto;
}
.commentText p {
    margin:0;
}

.about-widget {
    background-image: url('../img/footer_map.png');
}

.about-widget p {
    padding: 45px;
    line-height: 2.2;
}

/*-----------------------------------------------------------------------------------*/
/*  SEARCH RESULTS
/*-----------------------------------------------------------------------------------*/
.no-results .search-field {
	width: 70%;
	min-width: 400px;
	height: 48px;
	position: relative;
	top: 2px;
	border-radius: 0;
}

.no-results .search-submit {
	margin-bottom: 0;
}

/*-----------------------------------------------------------------------------------*/
/*  RESPONSIVE
/*-----------------------------------------------------------------------------------*/
@media only screen and (max-width : 480px) {
	.cbp-l-grid-team .cbp-item {
		width: 100% !important;
		height: 300px !important;
	}

	.cbp-l-grid-team .cbp-item.col-md-6 .cbp-caption {
		height: 70% !important;
	}

	.cbp-l-grid-projects .cbp-item {
		width: 100% !important;
		height: 280px !important;
	}
	.sb-left, .sb-right {
		min-width: 300px; 
	}
}