/*
Theme Name:         Photik
Theme URI:          http://wpbakery.com/
Description:        Photo orientated theme for a creative person.
Version:            1.0.4
Author:             Michael M
Author URI:         http://wpbakery.com/

License: 			GNU General Public License version 3.0
License URI:		http://www.gnu.org/licenses/gpl-3.0.html

Designed & Developed in WPBakery
*/



/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 *
 * Detailed information about this CSS: h5bp.com/css
 *
 * ==|== normalize ==========================================================
 */

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }

html { font-size: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
html, button, input, select, textarea { font-family: sans-serif; color: #222; }
body { margin: 0; font-size: 1em; line-height: 1.4; }

a { color: #00e; }
a:hover { color: #06e; }
a:focus { outline: none; }
a:hover, a:active { outline: 0; }

abbr[title] { border-bottom: 1px dotted; }
b, strong { font-weight: bold; }
blockquote { margin: 1em 40px; }
dfn { font-style: italic; }
hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }
ins { background: #ff9; color: #000; text-decoration: none; }
mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }
pre, code, kbd, samp { font-family: monospace, serif; _font-family: 'courier new', monospace; font-size: 1em; }
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }
q { quotes: none; }
q:before, q:after { content: ""; content: none; }
small { font-size: 85%; }
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }
ul, ol { margin: 0; padding: 0; }
dd { margin: 0 0 0 40px; }
nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; }
img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }
svg:not(:root) { overflow: hidden; }
figure { margin: 0; }

form { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; }
label { cursor: pointer; }
legend { border: 0; *margin-left: -7px; padding: 0; white-space: normal; }
button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }
button, input { line-height: normal; }
button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; *overflow: visible; }
button[disabled], input[disabled] { cursor: default; }
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; padding: 0; *width: 13px; *height: 13px; }
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
input[type="search"]::-webkit-search-decoration, input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }
textarea { overflow: auto; vertical-align: top; resize: vertical; }
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #f0dddd; }

table { border-collapse: collapse; border-spacing: 0; }
td { vertical-align: top; }

.chromeframe { margin: 0.2em 0; background: #ccc; color: black; padding: 0.2em 0; }

*:focus {outline: none;}
.clear { clear: both; }







/* CSS Transitions
---------------------------------------------------------- */
a,
h4.wpb_toggle,
.site_nav a {
	transition: color 0.2s linear;
    -moz-transition: color 0.2s linear;
    -webkit-transition: color 0.2s linear;
    -o-transition: color 0.2s linear;
}
a {
	transition: background-color 0.2s linear;
    -moz-transition: background-color 0.2s linear;
    -webkit-transition: background-color 0.2s linear;
    -o-transition: background-color 0.2s linear;
}

/* Styles that elements share between each other, like same
   font or accent color
---------------------------------------------------------- */
h1, h2, h3, h4, h5, h6,
.site_nav .main-nav li,
.site_nav .second-nav li,
.wpb_content_element .ui-tabs .ui-tabs-nav li a,
.vc_text_separator div,
blockquote,
blockquote p/*,
.post > header > time,
.portfolio > header > time*/ {
	font-family: "PT Sans Narrow";
}

a,
.site_nav .main-nav a:hover,
.site_nav .second-nav a:hover,
.site_nav li.current-menu-item a,
h4.wpb_toggle:hover {
	color: #5EA0DD;
}
a:hover,
#page-nav a:hover,
.wpb_carousel .prev:hover, .wpb_carousel .next:hover {
	color: #4093CE;
	background: #D9EFFF;
	text-decoration: none;
}

a {
	text-decoration: none;
}


.hidden { display: none; }

.alignleft { float: left; }
.alignright { float: right; }
.aligncenter {
	margin-left: auto;
	margin-right: auto;
	display: block;
	clear: both;
}

img.alignright,
img.alignleft,
img.aligncenter,
.wpb_content_wrapper .post-thumb,
.gallery img,
.wpb_gallery .wpb_flexslider,
.wpb_image_grid img,
.wp-caption {
	border: 1px solid #ffffff;
	
	-webkit-box-shadow:0px 0px 10px #CCCCCC;
	     -o-box-shadow:0px 0px 10px #CCCCCC;
	   -moz-box-shadow:0px 0px 10px #CCCCCC;
	        box-shadow:0px 0px 10px #CCCCCC;
}

img.alignright,
img.alignleft,
img.aligncenter,
.wpb_content_wrapper .post-thumb,
.gallery img {
	margin-bottom: 20px;
	margin-top: 20px;
}

img.alignright,
.wp-caption.alignright {
	margin-left: 15px;
}
img.alignleft,
.wp-caption.alignleft {
	margin-right: 15px;
}

img.aligncenter {
}

img.size-full { height: auto; }

.wp-caption {
	text-align: center;
	margin-bottom: 20px;
	max-width: 100%;
}
	.wp-caption img {
		margin-top: 5px;
		height: auto;
	}
	.wp-caption .wp-caption-text {
		font-size: 11px;
		margin: 10px 0;
	}

.sticky {}
.bypostauthor {}

/* [gallery] shortcode styles - Thanks to wpengineer
---------------------------------------------------------- */
.gallery {
    margin: auto;
    /* gallery clearing*/
    width: 100%;
}
.gallery .gallery-item {
    float: left;
    margin-top: 10px;
    text-align: center;
}
.gallery .gallery-item a:hover { background: none; }
.gallery img {
	height: auto;
	margin-top: 0;
	margin-bottom: 10px;
}
.gallery .gallery-caption {
    margin-left: 0;
    font-size: 11px;
}
.gallery br { clear: both; }

/* available Columns */
.col-2 { width: 50%; }
.col-3 { width: 33.333%; }
.col-4 { width: 25%; }
.col-5 { width: 20%; }
.col-6 { width: 16.666%; }
.col-7 { width: 14.285%; }
.col-8 { width: 12.5%; }
.col-9 { width: 11.111%; }





::-moz-selection { background: #5EA0DD; color: #fff; text-shadow: none; }
::selection { background: #5EA0DD; color: #fff; text-shadow: none; }

html, html a {
    -webkit-font-smoothing: antialiased !important;
}

html,
body {
	margin: 0;
}

body {
	background: #f3f3f3;
}
/*.single-portfolio #content {
	position: relative;
	top: -60px;
}*/

body,
p {
	font-family: Tahoma, Verdana, Segoe, sans-serif;
	font-size: 12px;
	color: #999999;
}

p {
	margin: 0 0 15px 0;
}

.site_nav {
	width: 300px;
	height: 100%;
	position: fixed;
	top: 0;
	left: 0;
	
	/*-webkit-box-shadow:0 0 10px #CCCCCC inset;
	     -o-box-shadow:0 0 10px #CCCCCC inset;
	   -moz-box-shadow:0 0 10px #CCCCCC inset;
	        box-shadow:0 0 10px #CCCCCC inset;*/
}
	.admin-bar .site_nav .brand {
		margin-top: 40px;
	}
	.site_nav .brand {
		margin: 10px 0 60px 0;
		display: block;
		text-align: center;
		float: none;
		padding: 0;
	}
		.site_nav .brand:hover {
			background: none;
		}

#wrap,
#content {
}
#wrap {
	padding: 0;
}
#wrap {
	margin-left: 300px;
}

body.page-template-page-portfolio-php,
body.tax-portfolio_category {
/*	background: #ffffff;*/
}

.page-template-page-portfolio-php #main,
.tax-portfolio_category #main {
	background: none;
	-webkit-box-shadow: none;
	     -o-box-shadow: none;
	   -moz-box-shadow: none;
	        box-shadow: none;
}
/*.page-template-page-portfolio-php #wrap,
.tax-portfolio_category #wrap,
#main {
	background: #ffffff;
	-webkit-box-shadow:10px 0 10px #CCCCCC;
	     -o-box-shadow:10px 0 10px #CCCCCC;
	   -moz-box-shadow:10px 0 10px #CCCCCC;
	        box-shadow:10px 0 10px #CCCCCC;* /
}*/

#main {
	background: #ffffff;
	/*-webkit-box-shadow:0px 0 10px #CCCCCC;
	     -o-box-shadow:0px 0 10px #CCCCCC;
	   -moz-box-shadow:0px 0 10px #CCCCCC;
	        box-shadow:0px 0 10px #CCCCCC;*/
}
.wpb_content_wrapper,
.wpb_navbar-inner {
	padding: 45px 50px;
}


h1,
h2,
h3,
h4,
h5,
h6 {
	margin-top: 0;
	font-weight: normal;
	color: #5EA0DD;
}

.page-header {
	margin-top: 0;
	margin-bottom: 40px;
	padding-bottom: 17px;
	font-size: 20px;
	line-height: 22px;
	border-bottom: 1px solid #F0F0F0;
}
	.page-header h1 {
		color: #666666;
		margin: 0 0 10px 0;
	}

.page .page-header,
.error404 .page-header,
.single .page-header,
header h1,
header h2 {
	background: url(images/h_pattern.png) repeat-x left bottom;
	padding-bottom: 15px;
	margin: 0 0 35px 0;
	border: none;
	
	font-size: 20px;
	line-height: 22px;
}
.wpb_teaser_grid h2.post-title a,
header h2 a {
	padding: 0 5px;
}

h1 {
	font-size: 20px;
	line-height: 25px;
	margin-bottom: 10px;
}

h2 {
	font-size: 18px;
	line-height: 22px;
	margin-bottom: 10px;
}

h3,
.wpb_teaser_grid h2.post-title,
#content h4.wpb_toggle,
.wpb_content_element .ui-tabs .ui-tabs-nav li a,
.wpb_content_element .ui-accordion-icons .ui-accordion-header a {
	font-size: 16px;
	line-height: 20px;
	margin-bottom: 5px;
}

h4 {
	font-size: 14px;
	line-height: 18px;
	margin-bottom: 5px;
}

h5 {
	font-size: 13px;
	line-height: 17px;
	margin-bottom: 0px;
}

h6 {
	font-size: 12px;
	line-height: 16px;
	margin-bottom: 0;
}

.widget-title {
	color: #666666;
	background: url(images/h_pattern.png) repeat-x left 7px;
	margin-bottom: 10px;
}
	.widget-title span {
		background: #F3F3F3;
		padding-right: 20px;
	}

ul, ol {
	margin: 0 0 15px 40px;
}
	ol {
		margin-left: 45px;
	}
ul li, ol li {
	list-style-position: outside;
}

dd {
	margin-left: 30px;
}

blockquote {
	margin: 0;
	padding: 20px 0 20px 20px;
}
	blockquote p {
		font-size: 16px;
		line-height: 18px;
		font-style: italic;
		color: #5EA0DD;
	}

code {
	display: block;
	margin: 30px 25px;
}

.wpb_content_wrapper table {
	border: 1px solid #DFDCD1;
	border-width: 1px;
	line-height: 18px;
	margin: 0 0 15px 0;
	text-align: left;
	padding: 0 5px;
}
.wpb_content_wrapper table .even { background: #ddd; }
.wpb_content_wrapper tr { border-bottom: 1px solid #DFDCD1; }
.wpb_content_wrapper th,
.wpb_content_wrapper td {
	padding: 5px;
	vertical-align: middle;
	text-align: center;
}
	

/* Navigation
---------------------------------------------------------- */
.wpb_navbar-inner #mobile_nav_toggle { display: none; }
.site_nav .main-nav li,
.site_nav .second-nav li {
	line-height: 18px;
	position: relative;
}
.wpb_navbar-inner .container-fluid {
	padding: 0;
}
.site_nav .main-nav > li {
	float: none;
}
	/* Primary navigation */
	.site_nav .main-nav a {
		color: #666666;
		font-size: 20px;
		text-shadow: none;
		display: block;
		padding: 3px 0 3px 0;
	}
	.site_nav .main-nav a:hover,
	.site_nav .second-nav a:hover {
		text-decoration: none;
		background: none;
	}
	
	/* Secondary navigation */
	.site_nav .second-nav {
		margin-top: 30px;
	}
	.site_nav .second-nav a {
		color: #bdbbbc;
		font-size: 16px;
		text-shadow: none;
		display: block;
		padding: 1px 0 1px 0;
	}
	
	
/* Sub navigation
---------------------------------------------------------- */
.site_nav .sub-menu {
	display: none;
	position: absolute;
	z-index: 9999;
	background: #ffffff;
	min-width: 160px;
	max-width: 200px;
}

.site_nav ul li:hover > .sub-menu {
	display: block;
}

.site_nav .sub-menu {
	border: none;
	border-left: 2px solid #5EA0DD;

	padding: 0;
	margin: 0;
	left: 80px;
	top: -5px;
	max-width: 200px;
	
	-webkit-box-shadow:0px 0 10px #CCCCCC;
	     -o-box-shadow:0px 0 10px #CCCCCC;
	   -moz-box-shadow:0px 0 10px #CCCCCC;
	        box-shadow:0px 0 10px #CCCCCC;
	
	-webkit-border-radius: 0px;
	   -moz-border-radius: 0px;
	        border-radius: 0px;
}
	.site_nav .sub-menu .sub-menu {
		left: 160px;
		top: 0px;
	}

	.site_nav .sub-menu li {
		border-bottom: 1px solid #dfdcd1;
	}
	
	.site_nav .sub-menu a,
	.site_nav li.current-menu-item li a {
		color: #7b7b77;
		font-size: 14px;
		line-height: 16px;
		padding: 8px 10px;
		white-space: inherit;
	}
		.site_nav .sub-menu li.current-menu-item a {
			background: none;
		}



.entry-content > *:last-child,
.wpb_content_wrapper > *:last-child,
.wpb_wrapper > *:last-child,
blockquote > *:last-child,
.entry-content > .row-fluid > .wpb_content_element:last-child {
	margin-bottom: 0;
}


/* Post format icons
---------------------------------------------------------- */
.post > header .post-format,
.portfolio > header .post-format {
	color: #FFFFFF;
	background-color: #5EA0DD;
	background-repeat: no-repeat;
	background-position: center center;
	width: 45px;
	height: 45px;
	display: block;
	
	position: absolute;
	left: -70px;
	top: 10px;
	
	text-align: center;
	
	-webkit-border-radius: 50%;
	   -moz-border-radius: 50%;
	        border-radius: 50%;
}

.format-standard > header .post-format,
.format-aside > header .post-format {
	background-image: url(images/post_formats/post.png);
}
	article.format-aside > header .post-format,
	article.format-quote > header .post-format {
		top: -2px;
	}

.format-gallery > header .post-format {
	background-image: url(images/post_formats/gallery.png);
}
.format-link > header .post-format {
	background-image: url(images/post_formats/link.png);
}
.format-image > header .post-format,
.format-gallery > header .post-format {
	background-image: url(images/post_formats/image.png);
}
.format-quote > header .post-format {
	background-image: url(images/post_formats/quote.png);
}
.format-video > header .post-format,
.portfolio > header .post-format.video_project_format {
	background-image: url(images/post_formats/video.png);
}

article.format-quote h1.entry-title {
	font-family: "Droid Serif", serif;
	font-size: 18px;
	font-style: italic;
	line-height: 19px;
	color: inherit;
}
.quote-author {
	display: block;
	display: inline-block;
	margin-top: 5px;
	font-size: 11px;
	color: #cccccc;
}

/* Index / Blog
---------------------------------------------------------- */
.more-link,
.wpb_carousel .prev, .wpb_carousel .next,
#mobile_nav_toggle {
	background: #f9f9f9;
	font-size: 11px;
	padding: 3px 7px 4px;
	
	display: inline-block;
	
	border: 1px solid #F0F0F0;
	
	-webkit-border-radius: 3px;
	   -moz-border-radius: 3px;
	        border-radius: 3px;
}
.blog #main,
.category #main,
.archive #main,
.single-post #main {
	width: 580px;
}
.blog aside#sidebar,
.category aside#sidebar,
.archive aside#sidebar,
.single-post aside#sidebar {
	width: 300px;
}

article.post,
.search-results .wpb_content_wrapper article {
	margin: 0 0 50px 0;
	padding-bottom: 50px;
	border-bottom: 1px solid #F0F0F0;
}
	.single article.post {
		border: none;
		padding-bottom: 0;
	}
article header {
	position: relative;
}

.single-post article.post footer,
.blog article.post footer,
.archive article.post footer {
	margin-top: 30px;
}

.post_categories {
	font-size: 11px;
	border: 1px solid #F0F0F0;
	padding: 7px 0;
	border-left: none;
	border-right: none;
}

article.post .post-thumb {
	margin: 35px 0 25px 0;
}
article .post-thumb iframe {
	display: block;
	max-width: 100%;
}

.post-thumb img {
	display: block;
	height: auto;
	max-width: 100%;
}
	article.has_thumbnail header h2 {
		margin-bottom: 0;
	}

body article.post > header > time {
	background: url(images/date.gif) no-repeat left 3px;
	padding-left: 20px;
	text-decoration: none;
	top: 5px;
}
	body article.format-quote > header > time,
	body article.format-link > header > time,
	body article.format-aside > header > time { display: none; }

p.tags {
	font-size: 11px;
	background: url(images/tag.png) left 5px no-repeat;
	padding-left: 20px;
}

/* Pagination
---------------------------------------------------------- */
.page-template-page-portfolio-php #page-nav,
.tax-portfolio_category #page-nav {
	padding-top: 40px;
	margin-left: 40px;
}

#page-nav {
	text-align: center;
	clear: both;
	margin-top: 30px;
}
	.single #page-nav {
		margin-bottom: 30px;
	}
	.blog #page-nav,
	.category #page-nav {
		margin-bottom: 10px;
	}
	#page-nav p {
		font-size: 11px;
	}
	
	#page-nav span,
	#page-nav a {
		display: inline-block;
		width: 20px;
		height: 20px;
		font-size: 9px;
		line-height: 20px;
		color: #FFFFFF;
		background: #5EA0DD;
		text-align: center;
		
		margin: 0 0 0 0;
		
		-webkit-border-radius: 10px;
		   -moz-border-radius: 10px;
		        border-radius: 10px;
	}
	#page-nav a {
		color: inherit;
		background: #f3f3f3;
	}
		#page-nav a span {
			color: inherit;
			background: none;
		}
	
	#page-nav span.pages {
		display: none;
		color: #CCCCCC;
		background: none;
		width: auto;
		height: auto;
		text-align: left;
		padding-right: 15px;
		-webkit-border-radius: 0px;
		   -moz-border-radius: 0px;
		        border-radius: 0px;
	}
	#page-nav .last-page {
		margin: 0 15px 0 0;
	}


/* Comments
---------------------------------------------------------- */
section#comments,
section#respond {
	margin: 30px 0 0 0;
}
section#respond {
	position: relative;
}

section#comments > h3,
section#respond > h3 {
	background: url(images/h_pattern.png) repeat-x left 7px;
	margin: 0 0 25px 0;
}
	section#comments > h3 span,
	section#respond > h3 span {
		background: #ffffff;
		padding-right: 20px;
	}

ol.commentlist {
	margin: 0;
}
	ol.commentlist li {
		list-style: none;
		margin-bottom: 15px;
	}
	ol.commentlist li article { position: relative; }
	
		ol.commentlist li:last-child {
			margin-bottom: 0;
		}
	
	header.comment-author {
		float: left;
		width: 120px;
		
		background: url(images/h_pattern.png) repeat-x 1px 29px;
	}
	
	ol.commentlist .avatar-wrap {
		padding: 5px;
		margin-bottom: 5px;
		width: 60px;
		height: 60px;
		
		background: url(images/h_pattern.png);
		
		-webkit-border-radius: 42px;
		   -moz-border-radius: 42px;
		        border-radius: 42px;
	}
	ol.commentlist .avatar {
		display: block;		
		-webkit-border-radius: 42px;
		   -moz-border-radius: 42px;
		        border-radius: 42px;
	}
	ol.commentlist .comment-author cite.fn {
		font-size: 11px;
		display: block;
		color: #666666;
	}
	
	ol.commentlist .comment-author time a,
	ol.commentlist .comment-edit-link,
	ol.commentlist .comment-reply-link {
		font-size: 10px;
	}
	ol.commentlist .comment-author time a {
		color: #cccccc;
	}
		ol.commentlist .comment-author time a:hover,
		ol.commentlist .comment-reply-link:hover {
			color: #4093CE;
		}
	
	ol.commentlist section.comment,
	li.comment #respond {
		border: 1px solid #f0f0f0;
		background: #f9f9f9;
		margin-left: 120px;
		padding: 15px 20px;
		
		-webkit-border-radius: 10px;
		   -moz-border-radius: 10px;
		        border-radius: 10px;
	}
	
	ol.commentlist .comment-reply-link {
		display: none;
		bottom: 5px;
	    position: absolute;
	    right: 10px;
	}
		ol.commentlist li.comment article:hover > .comment-reply-link {
			display: inline;
		}
	
	ol.commentlist li ul.children {
		position: relative;
		top: -1px;
		margin-left: 20px;
	}
	ol.commentlist li ul.children li {
		margin-bottom: -1px;
		position: relative;
	}
	ol.commentlist li ul.children li section.comment {
		background: none;
	}
		
	li.comment #respond {
		margin: 10px 0 10px 120px;
	}
		li.comment section#respond > h3 {
			margin-bottom: 10px;
		}
		li.comment section#respond > h3 span {
			background-color: #f9f9f9;
		}
	.cancel-comment-reply {
		position: absolute;
		top: -10px;
		right: -10px;
	}
	#cancel-comment-reply-link {
		outline: none;
		display: block;
		height: 20px;
		width: 20px;
		background: #5EA0DD url(images/close.png) no-repeat center center;
		
		-webkit-border-radius: 10px;
		   -moz-border-radius: 10px;
		        border-radius: 10px;
		
		font-size: 1px;
		font-size: 0px;
	}
	
	.comment-author,
	.comment-email,
	.comment-url,
	.comment-comment {
		margin-bottom: 10px;
		float: left;
		width: 30%;
	}
		.comment-author, .comment-email { margin-right: 5px; }
		
	.comment-author input,
	.comment-email input,
	.comment-url input {
		width: 90%;
	}
	.comment-comment {
		width: 100%;
	}
		.comment-comment textarea {
			width: 100%;/*470px;*/
		}
			.depth-1 .comment-comment textarea {
				width: 310px;
			}
			.depth-2 .comment-comment textarea {
				width: 290px;
			}
			.depth-3 .comment-comment textarea {
				width: 270px;
			}
			.depth-4 .comment-comment textarea {
				width: 250px;
			}
		
	.comment-submit {
		margin-bottom: 0px;
		clear: both;
	}


.trackback header.vcard,
.pingback header.vcard { display: none; }

/* Forms
---------------------------------------------------------- */
input, textarea {
	-webkit-box-shadow:0px 0px 0;
	     -o-box-shadow:0px 0px 0;
	   -moz-box-shadow:0px 0px 0;
	        box-shadow:0px 0px 0;
}
input, textarea, select, .uneditable-input {
	width: 96%;
	border: 1px solid #F0F0F0;
	padding: 7px 4px;
	-webkit-border-radius: 3px;
	   -moz-border-radius: 3px;
	        border-radius: 3px;
}
	button, input[type="button"], input[type="reset"], input[type="submit"] {
		width: auto;
	}
	
label {
	display: block;
	margin-bottom: 3px;
	font-size: 11px;
	color: #999999;
}


/* Password protected
---------------------------------------------------------- */
#password_protected_form label { display: none; }
#password_protected_form .password_protected_input {
	width: 99%;
	margin-bottom: 20px;
}

/* Portfolio page
---------------------------------------------------------- */
.page-template-page-portfolio-php #portfolio_top_loader,
.tax-portfolio_category #portfolio_top_loader { position: absolute; z-index: 99; }


.portfolio_thumb,
#content .portfolio_thumb {
	position: relative;
	margin-left: 0;
}
.portfolio_thumb img,
#content .portfolio_thumb img {
	max-width: 100%;
	/* IE 8 */ -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=1)";
	/* IE 5-7 */ filter: alpha(opacity=1);
	opacity: 0.0001275;
}

#content .portfolio_thumb.span6 { width: 50%; }
#content .portfolio_thumb.span4 { width: 33.33%; }
#content .portfolio_thumb.span3 { width: 25%; }

	.portfolio_thumb header,
	.single-portfolio .portfolio_thumb header {
		position: absolute;
		top: 0;
		left: 0;
		background: #ffffff;
		background: rgba(255,255,255, 0.9);
		
		width: 100%;
		height: 100%;
		
		cursor: pointer;
		
		display: none;
	}
	.portfolio_thumb .post-thumb {
		margin: 0 1px 1px 0px;
		overflow: hidden;
		background: #FFFFFF;
	}
	.portfolio_thumb header h2,
	.portfolio_categories {
		margin: 0 0 2px 0;
		background: none;
		padding: 0 40px;
		text-align: center;
	}
	
	.portfolio > header time {
		color: #FFFFFF;
		background-color: #5EA0DD;
		background-repeat: no-repeat;
		background-position: center center;
		width: 45px;
		height: 45px;
		display: block;
		
		position: absolute;
		left: -63px;
		top: 10px;
		
		text-align: center;
		
		-webkit-border-radius: 50%;
		   -moz-border-radius: 50%;
		        border-radius: 50%;
	}
	.portfolio > header time .p_month {
		font-size: 12px;
		position: relative;
		top: 5px;
	}
	.portfolio > header time .p_date {
		font-size: 15px;
		display: block;
		position: relative;
		top: 2px;
	}
	
	/* TODO: */
	.portfolio_thumb header h2 {
		margin-top: 65px;
	}
	
	.portfolio_categories a,
	article.post > header > time {
		font-size: 11px;
		color: #999999;
		text-decoration: underline;
	}
		.portfolio_categories a:hover {
			text-decoration: none;
			background: none;
		}
	
	.portfolio_thumb > header .post-format {
		left: -22px;
		top: 45px;
	}
	
	.portfolio > header .post-format {
		background-image: url(images/post_formats/image.png);
	}

/* Portoflio single page
---------------------------------------------------------- */
#portfolio_top_loader {
	display: block;
	height: 45px;
	width: 45px;
	background: url(images/loading.gif) no-repeat 20px center;
}

.single-portfolio article header {
	position: relative;
}
.single-portfolio .portfolio_categories,
article.post > header > time {
	position: absolute;
	top: 0;
	right: 0;
	padding: 0;
	color: #cccccc;
}
	.single-portfolio .portfolio_categories a,
	article.post > header > time {
		color: #cccccc;
	}


	/* Portfolio slider
	---------------------------------------------------------- */
	#wrap .wpb_top_slider {
		margin: 0;
		background: #fff;
		/*-webkit-box-shadow:0px 0 10px #CCCCCC;
		     -o-box-shadow:0px 0 10px #CCCCCC;
		   -moz-box-shadow:0px 0 10px #CCCCCC;
		        box-shadow:0px 0 10px #CCCCCC;*/
	}
	.wpb_top_slider ul, .wpb_top_slider ul li {
		margin: 0;
		list-style: none;
	}
	
	.wpb_top_slider ul li iframe {
		display: block;
		width: 100%;
		height: 515px;
	}
	.wpb_top_slider ul.two_plus_slides li iframe { margin-bottom: 30px; }
	
		.wpb_top_slider .wpb_flexslider {
			border: none;
			-webkit-box-shadow:none;
			     -o-box-shadow:none;
			   -moz-box-shadow:none;
			        box-shadow:none;
		}
		.wpb_top_slider .flexslider .slides img {
			min-width: 100%;
		}
	
	body .wpb_top_slider .wpb_flexslider .flex-control-nav {	left: 125px; }
	.wpb_top_slider .wpb_gallery_slides .flex-direction-nav { left: 50px; }
		
	
	/** single-portfolio-details **/
	.single-portfolio-details {
		font-size: 11px;
	}
	.single-portfolio-details span {
		color: #5EA0DD;
		margin-right: 5px;
		display: inline-block;
	}
	.portfolio_meta {
		margin-bottom: 1px;
	}
	.portfolio_url {
		margin-top: 20px;
		margin-bottom: 15px;
	}
	
	/** Sidebar **/
	.top_slider_controls {
		text-align: center;
		margin-bottom: 25px;
	}
	.top_slider_controls a {
		background: #b5b4b4;
		width: 45px;
		height: 45px;
		display: inline-block;
		
		margin: 0 5px 0 5px;
		
		-webkit-border-radius: 50%;
		   -moz-border-radius: 50%;
		        border-radius: 50%;
	}
		.top_slider_controls a:hover {
			background-color: #5EA0DD;
		}
		
		.top_slider_controls a[rel="prev"],
		.top_slider_controls a[rel="next"],
		.top_slider_controls a.back {
			background-repeat: no-repeat;
			background-position: center center;
		}
		.top_slider_controls a[rel="prev"] {
			background-image: url(images/arr_l.png);
		}
		.top_slider_controls a[rel="next"] {
			background-image: url(images/arr_r.png);
		}
		.top_slider_controls a.back {
			background-image: url(images/fullscreen.png);
		}


/* Footer
---------------------------------------------------------- */
footer#content-info {
	padding: 0 50px;
	margin: 20px 0 0 300px;
}
footer#content-info,
footer#content-info p {
	font-size: 11px;
}
.wpb_copyright_message {
	margin-bottom: 0px;
}

/* 404 page
---------------------------------------------------------- */
.error404 .row-fluid .alert {
	margin-bottom: 0px;
}
/* Password protected
---------------------------------------------------------- */
#password_protected_form br { display: none; }



/* Sidebar
---------------------------------------------------------- */
aside#sidebar {
	margin-left: 0;
	width: 34%;
}
.wpb_sidebar_wrapper {
	margin: 50px 50px 0 50px;
	font-size: 11px;
	line-height: 16px;
}
article.widget {
	margin-bottom: 25px;
}

#sidebar ul {
	padding: 0;
	margin: 0;
}
	#sidebar ul.children {
		margin-left: 15px;
		list-style: none;
	}


.flickr_sidebar .widget-title,
.widget_search .widget-title,
.wpb_video_widget .widget-title { margin-bottom: 15px; }
/* Search widget
---------------------------------------------------------- */
.widget_search { text-align: center; }

#searchsubmit {
	background-image: url(images/search.png);
	background-position: center center;
	background-repeat: no-repeat;
	padding: 4px 12px;
}
.chrome #searchsubmit,
.safari #searchsubmit {
	position: relative;
	top: -2px;
}

.blog .widget_search #s,
.archive .widget_search #s,
.single-post .widget_search #s {
	width: 160px;
}
.page .widget_search #s {
	width: 70%;
}
.widget_search label { display: none; }

.widget_search form,
.widget_search fieldset { margin: 0; }

/* Widget custom menu
---------------------------------------------------------- */
.widget .sub-menu {
	margin-left: 10px;	
	margin-bottom: 0;
}
.widget_nav_menu li {
	list-style: none;
}

/* Calendar widget
---------------------------------------------------------- */
#calendar_wrap {
	width: 90%;
	margin: 0 auto;
}
.widget_calendar caption { 
    margin-bottom: 5px; 
    text-align: center;
}
.widget_calendar table { width: 100% }
.widget_calendar #next { text-align: right; }
.widget_calendar #prev { text-align: left; }


/* Flickr
---------------------------------------------------------- */
#sidebar .flickr_badge_image {
	width: 60px;
	height: 60px;
	float: none;
	margin: 0 5px 10px 5px;
	display: inline-block;
}
.flickr_sidebar { text-align: center; }
.flickr_sidebar .widget-title { text-align: left; }

/* Video widget
---------------------------------------------------------- */
.wpb_video_widget iframe {
	max-width: 100%;
}
#sidebar .wpb_video_widget iframe {
	display: block;
	width: 100%;
	height: 150px;
}
.wpb_video_widget .wpb_video_description {
	margin-top: 15px;
}

/* Visual Composer styles
---------------------------------------------------------- */
.col_2, .col_3, .col_4, .col_5, .col_6 {
	-webkit-column-gap: 30px;
	-moz-column-gap: 30px;
	column-gap: 30px;
}
.col2, .col_2 .wpb_wrapper {
	-webkit-column-count: 2;
	-moz-column-count: 2;
	column-count: 2;
}
.col_3, .col_3 .wpb_wrapper {
	-webkit-column-count: 3;
	-moz-column-count: 3;
	column-count: 3;
}
.col_4, .col_4 .wpb_wrapper {
	-webkit-column-count: 4;
	-moz-column-count: 4;
	column-count: 4;
}
.col_5, .col_5 .wpb_wrapper {
	-webkit-column-count: 5;
	-moz-column-count: 5;
	column-count: 5;
}
.col_6, .col_6 .wpb_wrapper {
	-webkit-column-count: 6;
	-moz-column-count: 6;
	column-count: 6;
}


.wpb_button_a:hover {
	background: none;
	background-color: none;
}

h2.wpb_heading {
	margin-bottom: 15px;
}
.row-fluid [class*="span"] { min-height: 5px; }

.row-fluid .wpb_tabs, .row-fluid .wpb_tour, .wpb_call_to_action, .row-fluid .wpb_twitter_widget, .row-fluid .wpb_gmaps_widget .wpb_map_wraper, .row-fluid .wpb_accordion, .row-fluid .wpb_gallery, .wpb_separator, .last_toggle_el_margin, .fb_like, .twitter-share-button, .wpb_button, .wpb_video_widget, 
.row-fluid .wpb_flickr_widget,
.wpb_wrapper > div.last_toggle_el_margin:last-child,
.wpb_text_column {
	margin-bottom: 35px;
}

.wpb_teaser_grid {
	margin-bottom: 20px;
}

ul.wpb_thumbnails-fluid > li { margin-bottom: 15px; }
.wpb_carousel ul.wpb_thumbnails-fluid > [class*="span"] {
	margin-right: 10px;
}

.wpb_thumbnails-fluid .post-thumb {
	margin-top: 0;
}
.grid_layout-thumbnail .wpb_thumbnails-fluid .post-thumb {
	margin-bottom: 0;
}

.wpb_carousel ul.wpb_thumbnails-fluid .post-thumb {
	border: none;
	-webkit-box-shadow:none;
	     -o-box-shadow:none;
	   -moz-box-shadow:none;
	        box-shadow:none;
}
.wpb_carousel .prev, .wpb_carousel .next {
	line-height: 16px;
}


.vc_text_separator {
	margin-bottom: 20px;
}
.vc_text_separator div {
	font-size: 14px;
}

.alert p { color: #C09853; }
.alert-info p { color: #3A87AD; }
.alert-success p { color: #468847; }
.alert-error p, .alert-danger p { color: #B94A48; }

#content .wpb_twitter_widget ul.tweet_list,
.wpb_twitter_widget ul.tweet_list {
	padding: 0;
}
.wpb_twitter_widget .tweet_time { display: none; }

.wpb_tour_tabs_wrapper .wpb_tab > .row-fluid:last-child > .wpb_content_element:last-child,
.wpb_accordion_wrapper .ui-accordion-content > .row-fluid:last-child > .wpb_content_element:last-child { margin-bottom: 0; }

.wpb_tour_tabs_wrapper .wpb_content_element,
.wpb_accordion_wrapper .wpb_content_element { margin-bottom: 15px; }

div.flexslider {
	border: none;
	border-radius: 0;
	margin-bottom: 0;
}
.wpb_gallery_slides .flex-direction-nav {
		position: absolute;
		left: 0px;
		bottom: 0px;
		height: auto;
		opacity: 1;
	}
		.wpb_gallery_slides ul.flex-direction-nav li {
			background: #5EA0DD;
			display: block;
			float: left;
		}

.wpb_gallery_slides .flex-direction-nav li a {
			position: static;
			margin: 0;
			/* IE 5-7 */ filter: alpha(opacity=100);
			opacity: 1;
		}
		.wpb_gallery_slides .flex-direction-nav li a {
			background: url(images/arr_l.png) no-repeat center center;
		}
			.wpb_gallery_slides .flex-direction-nav li a:hover {
				background-color: #B5B4B4;
			}
		.wpb_gallery_slides .flex-direction-nav li .flex-next {
			background: url(images/arr_r.png) no-repeat center center;
		}
		
.wpb_gallery_slides .nivo-controlNav a,
.wpb_gallery_slides .flex-control-nav a,
.wpb_gallery .wpb_gallery_slides .nivo-controlNav a, .wpb_gallery .wpb_gallery_slides .flex-control-nav a {
	background: #b5b4b4;
	width: 6px;
	height: 6px;
	margin-left: 3px;
	
	-webkit-border-radius: 3px;
	   -moz-border-radius: 3px;
	        border-radius: 3px;
}
.wpb_gallery_slides .nivo-controlNav a.active,
.wpb_gallery_slides .nivo-controlNav a:hover,
.wpb_gallery_slides .flex-control-nav a.active,
.wpb_gallery_slides .flex-control-nav a:hover,

.wpb_gallery .wpb_gallery_slides .nivo-controlNav a.active, .wpb_gallery .wpb_gallery_slides .flex-control-nav a.active, .wpb_gallery .wpb_gallery_slides .nivo-controlNav a:hover, .wpb_gallery .wpb_gallery_slides .flex-control-nav a:hover, .wpb_gallery .wpb_gallery_slides .nivo-controlNav a.flex-active, .wpb_gallery .wpb_gallery_slides .flex-control-nav a.flex-active {
	background: #5EA0DD;
	border-color: #5EA0DD;
}

.nivo-controlNav,
.wpb_flexslider .flex-control-nav,
.wpb_gallery .wpb_gallery_slides .nivo-controlNav,
.wpb_gallery .wpb_gallery_slides .flex-control-nav {
	line-height: 1px;
	bottom: 15px;
	left: 77px;
	right: auto;
	top: auto;
}

/* Posts slider
---------------------------------------------------------- */
.wpb_flexslider .flex-caption {
	padding: 15px 20px 45px 20px;
	font-size: 11px;
	background: none;
}
.flex-caption .more-link { display: none; }

/* Image slider
---------------------------------------------------------- */
.wpb_image_grid_ul { margin-bottom: 0; overflow: visible !important; }
.wpb_image_grid_ul .isotope-item {
	margin: 0 -1px -1px 0;
	max-width: 100%;
}
.wpb_image_grid_ul a:hover { background-color: none; }

/*** Teaser grid ***/
.wpb_teaser_grid h2.post-title {
	text-align: center;
}
	.wpb_teaser_grid h2.post-title a {
	}

/*** Toggle / FAQ ***/
h4.wpb_toggle {
	color: #666666;
	background-position: left 2px;
}

/*** Google maps ***/
.wpb_gmaps_widget .wpb_map_wraper {
	border: 1px solid #fff;
	background: none;
	padding: 0;
	-webkit-box-shadow:0px 0px 10px #CCCCCC;
	     -o-box-shadow:0px 0px 10px #CCCCCC;
	   -moz-box-shadow:0px 0px 10px #CCCCCC;
	        box-shadow:0px 0px 10px #CCCCCC;

}

/*** Call to action box ***/
.wpb_call_to_action {
	background: #5EA0DD;
	padding: 25px 30px;
	border-color: #fff;
	-webkit-box-shadow:0px 0px 10px #CCCCCC;
	     -o-box-shadow:0px 0px 10px #CCCCCC;
	   -moz-box-shadow:0px 0px 10px #CCCCCC;
	        box-shadow:0px 0px 10px #CCCCCC;
}
	.wpb_call_to_action h2 {
		color: #ffffff;
	}
	

/** UI tabs ***/

.wpb_tabs .ui-tabs .ui-tabs-panel,
.wpb_content_element .ui-state-active,
.wpb_content_element .ui-widget-content .ui-state-active,
.wpb_content_element .ui-widget-header .ui-state-active,

.wpb_content_element .ui-state-default, .wpb_content_element .ui-widget-content .ui-state-default, .wpb_content_element .ui-widget-header .ui-state-default,	
 
.wpb_accordion .ui-accordion .ui-accordion-content,
.wpb_content_element .ui-widget-header {
	 border-color: #F0F0F0;
}
.wpb_tour .ui-tabs .ui-tabs-nav li, .wpb_tour .ui-tabs .ui-tabs-nav li.ui-tabs-selected {
	 border-bottom-color: #F0F0F0 !important;
}

.wpb_content_element .ui-tabs .ui-tabs-nav li {
}
.wpb_content_element .ui-state-active,
.wpb_content_element .ui-widget-content .ui-state-active,
.wpb_content_element .ui-widget-header .ui-state-active {
	border-top: 2px solid #5EA0DD;
}
	.wpb_content_element .ui-widget-header li a:hover,
	.wpb_content_element .ui-accordion-icons .ui-accordion-header a:hover {
		background: inherit;
	}
	.wpb_content_element .ui-tabs .ui-tabs-nav li a,
	.wpb_content_element .ui-accordion-icons .ui-accordion-header a {
		margin-bottom: 0;
		padding: 6px 12px 4px;
		font-weight: normal;
	}
	.wpb_content_element .ui-tabs li.ui-state-active a {
		padding-top: 5px;
	}
	
	.wpb_content_element .ui-tabs .ui-tabs-panel,
	.wpb_accordion .ui-accordion .ui-accordion-content {
		padding: 12px 12px 12px 12px;
	}
	.wpb_tour .wpb_tab { margin-bottom: 10px; }
	.wpb_tour .ui-tabs .ui-tabs-panel {
		padding: 0;
	}
	
	.wpb_content_element.wpb_tour .ui-tabs .ui-tabs-nav li {
		margin: 0 0 -1px 0;
	}
	
	
	.wpb_content_element .ui-accordion-icons .ui-accordion-header a {
		padding-left: 28px;
	}
	.wpb_content_element .ui-accordion .ui-accordion-header .ui-icon {
		background: url("images/toggle_open.png") no-repeat scroll left center;
		margin-top: -7px;
	}
	.wpb_content_element .ui-accordion .ui-accordion-header .ui-icon-triangle-1-e {
		background: url("images/toggle_close.png") no-repeat scroll left center;
	}




/* Bootstrap override
---------------------------------------------------------- */
.btn-primary {
  background: none;
  background-color: #5EA0DD;
  *background-color: #5EA0DD;
}
	.btn-primary:hover,
	.btn-primary:active,
	.btn-primary.active,
	.btn-primary.disabled,
	.btn-primary[disabled] {
	  background-color: #4D92CF;
	  *background-color: #4D92CF;
	}

.btn-warning {
  background: none;
  background-color: #FAA732;
  *background-color: #FAA732;
}
.btn-danger {
  background: none;
  background-color: #DA4F49;
  *background-color: #DA4F49;
}
.btn-success {
  background: none;
  background-color: #5BB75B;
  *background-color: #5BB75B;
}
.btn-info {
  background: none;
  background-color: #49afcd;
  *background-color: #2f96b4;
}
.btn-inverse {
  background: none;
  background-color: #414141;
  *background-color: #222222;
}

input:focus,
textarea:focus {
  border-color: rgba(94, 160, 221, 0.8);

  -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(94, 160, 221,.6);
  -moz-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(94, 160, 221,.6);
  box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(94, 160, 221,.6);
}


/**
* VVV
*/

.wpb_navbar-inner nav li {
    list-style: none;
}

.widget-inner > ul {
    list-style: none;
}

header h2 a.image {
    display: block;
    float: left;
}

.portfolio_thumb header {
    opacity: 1;
}
