/*

Theme Name: SupaFlex
Version: 1.0.3

Theme URI: http://www.wpbakery.com
Description: Corporate / Create WordPress Theme
Author: Michael M, WPBakery
Author URI: http://www.wpbakery.com
License: GNU General Public License version 3.0
License URI: http://www.gnu.org/licenses/gpl-3.0.html

*/

/* 

WARNING! DO NOT EDIT THIS FILE!

To make it easy to update your theme, you should not edit the styles in this file. Instead use 
the custom.css file to add your styles. You can copy a style from this file and paste it in 
custom.css and it will override the style in this file. You have been warned! :)

*/

/* Reset, Rebuild, Default WP - vertical rhythm
---------------------------------------------------------- */
@import url('css/reset-rebuild-wp.css');
@import url('css/layout/2c-r.css');
@import url('css/vc_grid.css');

/*
	0.    Transitions
	1.    Layout and basic styles setup
	2.    Header
	3.    Menu
	4.    Footer
	5.    Sidebar
	6.    Archive - Blog page (index.php)
	         6.1 Single post
	7.    Page.php
	8.    Page with column
	9.    Portfolio archive (taxonomy)
	         9.1 Portfolio single
	10.   Comments & inputs
	11.   Widgets
	12.   Visual Composer elements
*/


/* 0. Transitions & styles that elements share
---------------------------------------------------------- */
a,
h4.wpb_toggle {
	transition: color 0.2s linear;
    -moz-transition: color 0.2s linear;
    -webkit-transition: color 0.2s linear;
    -o-transition: color 0.2s linear;
}

/*.entry-content a,*/
.h_portfolio_controls a,
.wpb_carousel .prev,
.wpb_carousel .next,

#primary_menu ul a:hover,
#primary_menu ul li.hover a,
#primary_menu ul li.current-cat a,
#primary_menu ul li.current_page_item a,
#primary_menu ul li.current-menu-item a,

.wpb_tabs_nav a,
.entry-content .small_tour_menu_ul li,

.quick_preview,
.view_case {
	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;
}

.wpb_carousel .prev,
.wpb_carousel .next,
.preview_prev,
.preview_next {
	transition: opacity 0.2s linear;
    -moz-transition: opacity 0.2s linear;
    -webkit-transition: opacity 0.2s linear;
    -o-transition: opacity 0.2s linear;
}

.flickr_badge_image img,
.link_image {
	transition: border-color 0.2s linear;
    -moz-transition: border-color 0.2s linear;
    -webkit-transition: border-color 0.2s linear;
    -o-transition: border-color 0.2s linear;
}

#primary_menu ul a:hover,
#primary_menu ul li.hover a,
#primary_menu ul li.current-cat a,
#primary_menu ul li.current_page_item a,
#primary_menu ul li.current-menu-item a,

#footer_info_block,
.wpb_tabs_nav a,
.wpb_tabs,
.entry-content .wpb_twitter_widget .wpb_wrapper .tweets,
.vc_text_separator div,
.entry-content .small_tour_menu_ul li,
.small_tour_slides,
.button_blue, .button_blue:link, .button_blue:visited,
.wpb_call_to_action h2,

button,
#submit,
input.submit,

.floating_nav .nav-previous a,
.floating_nav .nav-next a,

.wpb_box .wpb_wrapper {
	text-shadow: rgb(33,44,54) 0px 1px 0px;
	text-shadow: rgba(33,44,54, 0.5) 0px 1px 0px;
}

.wpb_tabs h1, .wpb_tabs h2, .wpb_tabs h3, .wpb_tabs h4, .wpb_tabs h5, .wpb_tabs h6,
.small_tour_slides h1, .small_tour_slides h2, .small_tour_slides h3, .small_tour_slides h4, .small_tour_slides h5, .small_tour_slides h6,
.wpb_box h1, .wpb_box h2, .wpb_box h3, .wpb_box h4, .wpb_box h5, .wpb_box h6 {
	/*text-shadow: none;*/
	color: #FFFFFF;
}

/* 1. Layout and basic styles setup
---------------------------------------------------------- */
@font-face {
	font-family:'LeagueGothicRegular';
	font-style:normal;
	font-weight:normal;
	src: url('fonts/League_Gothic-webfont.eot');
	src: local('☺'), url('fonts/League_Gothic-webfont.woff') format('woff'), url('fonts/League_Gothic-webfont.ttf') format('truetype'), url('fonts/League_Gothic-webfont.svg#webfont') format('svg');
}

*::-moz-selection {
    background: #6096ca;
    color: #FFFFFF;
}

#wrapper {
	border-top: 3px solid #6096CA;
}

#container {
	margin-right: -260px;/*-253*/
}
#content {
	margin-right: 260px; /*253*/
}
#primary, #secondary { /* This is sidebar */
	width: 220px; /*235*/
}

#header,
#main,
.footer_wrapper {
	margin: 0 auto;
	width: 940px;
	padding: 0 20px;
}
#main {
	margin-bottom: 0px;
	padding: 20px;
}

body {
	background: #ffffff url(images/pattern/1.png);
}

body, input, textarea {
	color: #757c82;
    font: 13px "Georgia", serif;
    line-height: 1.7em;
}
p, ul, ol, dd, pre {
    margin-bottom: 1.5em;
}
p strong, p b {
	color: #444444;
}
pre, code {
	font: 11px Monaco, monospace;
	line-height: 1.5em;
}

a { 
    color: #6096ca;
    text-decoration: none;
}
a:hover,
.portfolio_meta a:hover,
.wpb_sort a:hover { 
    color: #252b36;
    text-decoration: none;
}
a img { 
	border: none; 
	vertical-align: inherit;
}

/*.entry-content a {
	border-bottom: 1px dotted;
}
	.entry-content a:hover {
		border: none;
		color: #FFFFFF; 
		background: #6096ca;
	}
*/

h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: normal;
	padding: 0;
	color: #252b36;
	margin-bottom: 7px;
	clear: none;
}

h1,
h2,
h3 {
	font-family: "League Gothic", "LeagueGothicRegular", "LeagueGothicRegular", "Helvetica", "Arial", "Lucida Grande", "Verdana", "Gill Sans", sans-serif;
	text-transform: uppercase;
}

.posts_grid .teaser_title,
.portfolio_teaser h2.entry-title,
#content h2.wpb_call_text,
h3.p_caption,
h1.entry-title,
h2.entry-title,
#entry-author-info h2 {
	text-transform: none;
}
#content h2.wpb_call_text,
h1.entry-title, h2.entry-title,
#entry-author-info h2 {
	font-family: Georgia, Times, "Georgia", "Times New Roman", serif;
}

h1 {
	font-size: 24px;
	line-height: 28px;
	margin-bottom: 8px;
}

h2 {
	font-size: 20px;
	line-height: 22px;
	margin: 0 0 10px 0;
}
h2.page-title,
h1.page-title,
#portfolio_preview h1 {
	font-family: "League Gothic", "LeagueGothicRegular", "Helvetica", "Arial", "Lucida Grande", "Verdana", "Gill Sans", sans-serif;
	font-size: 70px;
	line-height: 70px;
	margin-bottom: 40px;
	text-align: left;
	text-transform: uppercase;
}
h1.archive_title {
	font-size: 20px;
	margin-bottom: 0;
	line-height: 21px;
	padding-bottom: 15px;
}

h3,
body #content h3 {
	text-transform: none;
	/*font-size: 16px;
	line-height: 19px;*/
	/* same as .posts_grid .teaser_title */
}
	
	h3.p_caption,
	.error404 #main p,
	.error404 .entry-content p {
		width: 74%;
		color: #8c9196;
		font-family: Georgia, Times, "Georgia", "Times New Roman", serif;
		font-style: italic;
		font-size: 18px;
		line-height: 24px;
		position: relative;
		margin-bottom: 5px;
		top: -35px;
	}
	h3.caption_without_title {
		position: static;
		margin-bottom: 50px;
	}

h4 {
	font-size: 14px;
	color: #6096CA;
	/*font-weight: bold;*/
	line-height: 17px;
}

h5 {
	font-size: 12px;
	line-height: 16px;
}

h6 {
	font-size: 11px;
	line-height: 15px;
}

h1 img,
h2 img,
h3 img,
h4 img,
h5 img,
h6 img,
h1 img.alignnone,
h2 img.alignnone,
h3 img.alignnone,
h4 img.alignnone,
h5 img.alignnone,
h6 img.alignnone {
	margin: 0 10px 0 0;
	position: relative;
	top: 3px;
}

.entry-content ul {
	margin-left: 1.2em;
}
.entry-content ul li {
	list-style: none;
	list-style-type: none;
	background: url(images/bullet.png) no-repeat left 9px;
	padding-left: 17px;
}

.wpb_clear { clear: both; display: block; overflow: hidden; visibility: hidden; width: 0; height: 0; }
.clear-both { clear:both; }

.hidden { display: none; }

.alignleft { float: left; }
.alignright { float: right; }
.aligncenter {
	margin-left: auto;
	margin-right: auto;
	display: block;
	clear: both;
}

.textaligncenter { text-align: center; }
.textalignleft { text-align: left; }
.textalignright { text-align: right; }

img.alignleft {
	margin:5px 20px 5px 0;
}
img.alignright {
	margin:5px 0 5px 20px;
}
.column img,
.wpb_wrapper img {
	max-width: 100%;
	height: auto;
}
.img_no_margin img { margin-bottom: 0; position: relative; top: -5px; }

div.wp-caption.alignnone {
	width: auto !important;
	padding-top: 0px;
}
.wp-caption {
	font-size: 10px;
	font-family: Arial, "Arial", "Helvetica Neue", Helvetica, sans-serif;
	padding: 4px 0 4px 0;
	background: #ffffff;
	-webkit-box-shadow:0px 0px 1px #BFBFBF;
	     -o-box-shadow:0px 0px 1px #BFBFBF;
	   -moz-box-shadow:0px 0px 1px #BFBFBF;
	        box-shadow:0px 0px 1px #BFBFBF;
	
	overflow: hidden;
	position: relative;
	/*-webkit-border-radius: 5px;
	   -moz-border-radius: 5px;
	        border-radius: 5px;
	*/
}
.sticky {}
.bypostauthor {}


img.th_icon {
	float:left;
	margin:0 20px 10px 0;
	margin-right:20px !important;
}

.last { margin-right: 0 !important; }
.no_bottom_padding { padding-bottom: 0 !important; }
.no_bottom_margin { margin-bottom: 0 !important; }
.overflow_hidden { overflow: hidden; }

#nav-below {
	clear: both;
}
.static_nav .nav-previous,
.static_nav .nav-next {
	width: 50%;
	float: left;
}
.static_nav .nav-next { text-align: right; }


/* 2. Header
---------------------------------------------------------- */
#header {
	margin: 50px auto 50px auto;
}
#branding { /*this is logo container */
	float: left;
}
#site-description {
	font-size: 11px;
	font-style: italic;
}


/* 3. Menu
---------------------------------------------------------- */


/* 4. Footer
---------------------------------------------------------- */
#footer {
	background: #252b36;
	padding-top: 20px;
}
#footer_info_block {
	background: #6096ca;
	color: #ffffff;
	font-size: 17px;
	font-style: italic;
	text-align: center;
	padding: 27px 0 20px 0;
	border-bottom: 1px solid #68AFEF;
	-webkit-box-shadow:0px 0px 6px #999999;
	     -o-box-shadow:0px 0px 6px #999999;
	   -moz-box-shadow:0px 0px 6px #999999;
	        box-shadow:0px 0px 6px #999999;
}
	#footer_info_block a {
		color: #FFFFFF;
	}
	
.footer_phone,
.footer_email,
.footer_details {
	margin: 0 2%;
	display: inline-block;
	min-height: 35px;
	padding-top: 5px;
	padding-left: 55px;
}
.footer_phone {
	padding-left: 52px;
	background: url(images/footer_phone.png) no-repeat left 0px;
}
.footer_email {
	background: url(images/footer_email.png) no-repeat left 0px;
}
.footer_details {
	background: url(images/footer_details.png) no-repeat left 0px;
}


	#footer a:hover {
		color: #ffffff;
	}

#footer .footer_wrapper .one-fourth { margin-bottom: 0; }
.footer_copyright {
	font-size: 11px;
	font-style: italic;
	padding-top: 10px;
}

/* 5. Sidebar
---------------------------------------------------------- */
.sidebar {
}
.sidebar a {
	color: #6096ca;
	border-bottom: 1px dotted;
}
.sidebar a:hover {
	color: #6096ca;
	border: none;
}

/* 6. Archive - Blog page (index.php)
---------------------------------------------------------- */
h1.entry-title,
h2.entry-title {
	margin-bottom: 15px;
	font-size: 20px;
	font-style: italic;
	line-height: 22px;
	text-align: center;
}

.teaser_readmore {
	display: inline;
	background: url(images/read_more.gif) left 5px no-repeat;
	padding-left: 15px;
	font-size: 12px;
	font-style: italic;
}

.post {
	margin-bottom: 4em;
	padding-bottom: 1.9em;
	
	border-bottom: 1px dotted #c8c8c8;
	/*background: url(images/dotted_stroke.gif) repeat-x bottom left;*/
}
.post.error404 {
	border-bottom: none;
	padding-bottom: 0;
	margin-bottom: 0;
}

.post .entry-title,
.post .entry-content,
.post .teaser_readmore {
	/*margin-left: 4px;
	margin-right: 4px;*/
}
.entry-meta {
	/*float: left;*/
	font-family: Georgia, Times, "Georgia", "Times New Roman", serif;
	font-style: italic;
	font-size: 12px;
	text-align: center;
	
	position: relative;
	top: -10px;
	
	/*margin: 0 4px 10px 4px;*/
	margin-bottom: 10px;
	padding-bottom: 30px;
	
	/*background: url(images/dotted_stroke.gif) repeat-x bottom left;*/
	background: url(images/divider.png) no-repeat center bottom;
}

.post .link_image,
.post .p_video {
	margin-bottom: 20px;
}
.p_video iframe {
	display: block;
}

	/* 6.1 Single post
	---------------------------------------------------------- */
	.floating_nav .nav-previous a,
	.floating_nav .nav-next a {
		position: fixed;
		left: 20px;
		bottom: 15px;
		display: none;
		max-width: 95px;
		text-align: center;
		
		background: #37A7DF;
		color: #FFFFFF;
		font-size: 12px;
		font-style: italic;
		line-height: 1.3;
		padding: 5px 15px 6px 15px;
		
		border-bottom: 3px solid #1A688F;
		
		-webkit-border-radius: 5px;
		   -moz-border-radius: 5px;
		        border-radius: 5px;
	}
		.floating_nav .nav-previous a:hover,
		.floating_nav .nav-next a:hover {
			background: #29A3DF;
		}
	.floating_nav .nav-next a {
		left: auto;
		right: 20px;
	}
	
	.single .post {
		/*background: url(images/divider.png) no-repeat center bottom;
		padding-bottom: 2.1em;*/
		padding-bottom: 0;
		border: none;
		margin-bottom: 1.6em;
	}
	.single .post_img_holder,
	.horizon div {
		background: #ffffff;
		border: 3px solid #FFFFFF;
		-webkit-box-shadow:0px 0px 6px #BFBFBF;
		     -o-box-shadow:0px 0px 6px #BFBFBF;
		   -moz-box-shadow:0px 0px 6px #BFBFBF;
		        box-shadow:0px 0px 6px #BFBFBF;
		margin-bottom: 20px;
		
		-webkit-border-radius: 5px;
		   -moz-border-radius: 5px;
		        border-radius: 5px;
	}
	.single .post_img {
		display: block;
		/*-webkit-border-radius: 5px;
		   -moz-border-radius: 5px;
		        border-radius: 5px;*/
	}
	
	#entry-author-info {
		padding: 21px 30px 20px 30px;
		margin: 0 0 1.6em 0;
		font-size: 12px;
		font-style: italic;
		line-height: 21px;
		
		border: 1px solid #E5E5E5;
		background-image: url(images/notes.png);	
		box-shadow: 0 1px 3px rgba(255, 255, 255, 1) inset;
		
		-webkit-border-radius: 5px;
		   -moz-border-radius: 5px;
		        border-radius: 5px;
	}
		#entry-author-info h2 {
			font-size: 15px;
			margin-bottom: 0;
		}
		#entry-author-info #author-avatar {
			width: 60px;
			float: left;
			/*border: 3px solid #FFFFFF;
		    box-shadow: 0 0 1px #BFBFBF;*/
		    border: 1px solid #ffffff;
			-webkit-box-shadow:0px 0px 3px #999999;
			     -o-box-shadow:0px 0px 3px #999999;
			   -moz-box-shadow:0px 0px 3px #999999;
			        box-shadow:0px 0px 3px #999999;
		}
			#entry-author-info #author-avatar img { display: block; }
			
		#entry-author-info #author-description {
			float: right;
			width: 530px;
		}
	
	
	blockquote {
		background: url(images/block_quote.png) no-repeat top left;
		padding: 0 0 0 35px;
		color: #333333;
		margin: 0 10% 1.5em 10%;
		font-family: Georgia, Times, "Georgia", "Times New Roman", serif;
		font-style:italic;
	}
	
	address {
		margin-bottom: 1.2em;
		color: #333333;
	}
	
	pre {
		background: #ffffff url(images/pre_bg.gif) left -10px;
		border: 1px solid #E5E5E5;
		padding: 10px 20px;
		margin: 0 10% 1.5em 15%;
		line-height: 20px;
		
		/*box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) inset;*/
		-webkit-border-radius: 5px;
		   -moz-border-radius: 5px;
		        border-radius: 5px;
	}
	


	
/* 7. Page.php
---------------------------------------------------------- */
.page-template-default #content,
.page-template-default #container {
	margin-left: 0;
	margin-right: 0;
}

/* 8. Page with column
---------------------------------------------------------- */


/* 9. Portfolio archive (taxonomy)
---------------------------------------------------------- */
.portfolio_archive,
.portfolio_archive #content {
	margin-left: 0 !important;
	margin-right: 0 !important;
	position: relative;
}
	.portfolio_archive .wpb_separator {
		margin-bottom: 2em;
	}
.portfolio_teaser .teaser_content { 
	margin: 0 4px;
}

	/* Sortable portfolio
	---------------------------------------------------------- */
	.wpb_sort {
		margin: 0;
		position: absolute;
		top: 25px;
		right: 0;
		max-width: 60%;
		font-size: 12px;
	}
		.wpb_sort li {
			list-style-image: none;
			list-style: none;
			float: left;
			margin: 0 15px 0 0;
		}
		
		.wpb_sort li a.wpb_sortable_current {
			border-bottom: 1px dotted;
			color: #252b36
		}
		
		.wpb_sort li.wpb_all_cats span {
			background: url(images/sort_alphabet.png) no-repeat;
			display: block;
			height: 16px;
			width: 16px;
			position: absolute;
			left: -29px;
			top: 1px;
		}

	/* 9.1 Single portfolio
	---------------------------------------------------------- */
	.single-wpb_portfolio #preview_carousel img,
	.single-wpb_portfolio #preview_carousel li {
		max-width: none;
		width: 940px;
	}
		.single-wpb_portfolio #preview_carousel img {
			width: 934px;
		}
	
	.single-wpb_portfolio #content,
	.single-wpb_portfolio #container {
		margin-left: 0;
		margin-right: 0;
	}
	.single_wpb_portfolio .attached_thumbnail_gallery .animated_th {
		display: inline-block;
		margin: 0 34px 15px 0;
	}
	
	.portfolio_meta {
		font-size: 12px;
		margin-bottom: 2px;
	}
		.portfolio_meta span,
		.wpb_sort li.wpb_all_cats span,
		.posts_grid .posts_grid_teaser_wpb_testimonials .client_position {
			font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
			/*font-weight: bold;*/
			font-size: 11px;
			color: #252b36;
			padding-right: 5px;
		}
	
	.last_attached_image,
	.wpb_slider_fading {
		margin-bottom: 0 !important;
	}
	
	.attached_attached_images .image_frame {
		position: relative;
		margin-bottom: 1.5em;
	}
		.attached_attached_images .image_frame .img_caption,
		.attached_carousel .img_caption,
		#preview_carousel .img_caption {
			position: absolute;
			bottom: 0;
			right: 0;
			
			font-size: 11px;
			font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
			color: #252b36;
			background: #ffffff;
			padding: 2px 12px 0 13px;
		}
		
		.attached_attached_images a img { display: block; }
	
	/* Portfolio preview
	---------------------------------------------------------- */
	.quick_preview,
	.view_case {
		background: #6096CA url(images/zoom.png) no-repeat 10px center;
		font-size: 11px;
		color: #ffffff;
		font-family: Arial, "Arial", "Helvetica Neue", Helvetica, sans-serif;
		padding: 5px 10px 5px 26px;
		margin: 0 2px;
		-webkit-border-radius: 5px;
		   -moz-border-radius: 5px;
		        border-radius: 5px;
	}
	.view_case {
		background-image: url(images/link.png);
		padding-left: 23px;
	}
		.quick_preview:hover,
		.view_case:hover {
			background-color: #252B36;
			color: #FFFFFF;
		}
	
	.thumbs_controls {
		display: none;
		position: absolute;
		top: 35%;
		z-index: 5;
		width: 100%;
		text-align: center;
	}
		.small_thumbs_controls a { padding: 5px 0px 5px 26px; }
		.small_thumbs_controls span,
		.title_text .thumbs_controls { display: none !important; }
	
	
	.portfolio_preview_eye {
		opacity: 0;
		position: absolute;
		top: 0px;
		right: 0px;
		padding: 0px 2px 2px 2px;
	}
		.thumbnail_title_text .portfolio_preview_eye {
			top: -22px;
		}
		.portfolio_preview_eye img {
			margin-bottom: 0;
		}
	.thumbnail_title .portfolio_preview_eye {
		top: auto;
		bottom: 0;
	}
	body > #portfolio_preview {
		position: fixed;
		width: 100%;
		height: 100%;
		top: 0;
		left: 0;
		background: #ffffff url(images/pattern/1.png);
		/*background: #ffffff;
		background: rgba(255,255,255, 0.9);*/
		opacity: 0;
		
		z-index: 9999;
	}
	#portfolio_preview h1 {
		/*position: absolute;*/
		margin: 60px 140px 70px 140px;
	}
		#portfolio_preview .p_caption {
			margin-left: 140px;
			margin-right: 140px;
			max-width: 695px;
		}
	#close_portfolio_preview {
		position: absolute;
		top: 15px;
		right: 15px;
	}
	#preview_carousel {
		height: 100%;
	}
		body > #portfolio_preview #preview_carousel {
			background: url(images/loading.gif) no-repeat 140px 0px;
		}
		
	#preview_carousel .wpb_wrapper {
		margin: 0 auto;
		width: 100% !important;
		height: 100% !important;
	}
		#preview_carousel .wpb_wrapper ul {
			height: 100%;
			top: 1px;
			margin-left: 0;
		}
		#preview_carousel .wpb_wrapper li {
			height: 100% !important;
			margin-right: 0px;
			margin-left: 140px;
			overflow: visible !important;
			list-style: none;
		}
		body.single-wpb_portfolio {
			overflow-x: hidden !important;
		}
		#content #preview_carousel .wpb_wrapper {
			overflow: visible !important;
		}
		#content #preview_carousel .wpb_wrapper li {
			/* In single portfolio view */
			margin-left: 0;
			margin-right: 140px;
		}
		body.single-wpb_portfolio #preview_carousel .preview_prev,
		body.single-wpb_portfolio #preview_carousel .preview_next { display: none; }
				
			#preview_carousel .wpb_wrapper li img {
				display: block;
				margin: 0 auto;
				max-height: 90%;
			}
	
	body #preview_carousel .preview_prev,
	body.single-wpb_portfolio .preview_prev {
		left: 35px;
	}
	body #preview_carousel .preview_next,
	body.single-wpb_portfolio .preview_next {
		right: 35px;
	}
	
	.horizon {
		/*height: 1px;
		overflow: visible;
		position: relative;
		top: 50%;*/
	}
	.horizon div {
		position: relative;
		margin-bottom: 0;
		/*top: -50%;*/
	}
	
	
	
/* 10. Comments & inputs
---------------------------------------------------------- */
input, textarea {
	padding: 5px 10px;
	
	border: 1px solid #E5E5E5;
	background: #FFFFFF;
	background: rgba(255,255,255, 0.8);
	
	/*box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.3) inset;*/
}
input {
	width: 49%;
	max-width: 250px;
	margin-right: 1%;
}
textarea {
	width: 96%;
}
button,
#submit,
input.submit,
input.wpcf7-submit,
input[type="submit"] {
	width: auto;
	cursor: pointer;
	font-style: italic;
	border: none;
	padding: 5px 10px 4px;
	color: #ffffff;
	background: #6096ca;
	border-bottom: 3px solid #1A688F;
	
	-webkit-border-radius: 5px;
	   -moz-border-radius: 5px;
	        border-radius: 5px;
}

	.button:hover,
	#submit:hover,
	input.submit:hover {
		background: #29A3DF;
	}

label { font-style: italic; }


#comments {
	max-width: 680px;
	width: 680px;
}
.logged-in-as { font-style: italic; }

#comments #comments-title,
#comments #reply-title {
	padding-bottom: 0;
}
.comment #respond {
	margin-top: 2%;
}

#commentform {
	padding-top: 2%;
	padding-top: 2.5%;
}

p.comment-form-comment {
	margin-bottom: 1.2em;
}

.comment-form-email span.mail_note {
	color: #8C9196;
	font-style: italic;
}

#comments {
	background: url(images/divider.png) no-repeat center top;
	padding-top: 2.1em;
}
#comments .commentlist {
	background: url(images/divider.png) no-repeat center bottom;
	padding-bottom: 2.4em;
	margin: 0 0 1.5em 0;
}

	.commentlist ol {
		margin-left: 2%;
	}
	.commentlist li {
		list-style: none;
		margin-bottom: 2%;
	}
	.commentlist li:last-child {
		margin-bottom: 0;
	}
	
	.commentlist li > div:first-child,
	.commentlist li ul.children li > div:first-child {
		border-top: 1px dotted #c6c6c6;
		padding-top: 3%;
	}
		.commentlist li ul.children li > div:first-child {
			margin-top: 3%;
		}
		
	.commentlist li.comment:first-child > div {
		border-top: none;
	}
	.comment .avatar {
		float: left;
		margin-right: 3%;
		position: relative;
		top: -7px;
		/*border: 3px solid #FFFFFF;
	    box-shadow: 0 0 1px #BFBFBF;*/
	    border: 1px solid #ffffff;
		-webkit-box-shadow:0px 0px 3px #999999;
		     -o-box-shadow:0px 0px 3px #999999;
		   -moz-box-shadow:0px 0px 3px #999999;
		        box-shadow:0px 0px 3px #999999;
	}
	/*.commentlist cite {
		font-style: normal;
	}*/
	
	.comment-author,
	.comment-author a {
		color: #6096ca;
	    font-size: 14px;
	    font-style: italic;
	    line-height: 16px;
	    margin-top: 7px;
	}
	.comment-meta,
	.comment-meta a {
		font-size: 11px;
		color: #252b36;
		font-family: Arial, "Arial", "Helvetica Neue", Helvetica, sans-serif;
	}
	.comment-body {
		margin-top: 3%;
		margin-left: 2%;
	}
	.comment .reply {
		margin-left: 2%;
	}


/* 11. Widgets
---------------------------------------------------------- */


/* 12. Visual Composer elements
---------------------------------------------------------- */
.wpb_gallery .nivo-directionNav .nivo-prevNav {
	background-image: url(images/arrow_l.png);
	height: 32px;
	width: 32px;
}
.wpb_gallery .nivo-directionNav .nivo-nextNav {
	background-image: url(images/arrow_r.png);
	background-position: 0 0;
	height: 32px;
	width: 32px;
}

span.wpcf7-not-valid-tip {
	position: static;
	width: auto;
	display: block;
	color: #ff0000;
	background: no-repeat;
	border: none;
	margin-top: 2px;
	font-size: 11px;
	font-style: italic;
}
div.wpcf7-validation-errors {
	background: #FFFADE;
	border: 1px solid #F8ECA9;
	padding: 10px 15px;
	margin: 0 0 2.1em 0;
}

.wpb_gallery img { margin-bottom: 0; }
.wpb_box {
	background: url(images/pattern/denim.png);
	-webkit-border-radius: 5px;
	   -moz-border-radius: 5px;
	        border-radius: 5px;
}
	.wpb_box .wpb_wrapper {
		margin: 15px; /* 4%;*/
		color: #CCCCCC;
	}

h2.wpb_heading {
	margin-bottom: 13px;
}
.pp_social {
	display: none;
}
.teaser_content p:last-child {
	margin-bottom: 0;
}
.posts_grid_teaser_post .teaser_content .teaser_readmore {
	display: none;
}
.post_teaser_meta {
	font-style: italic;
	margin: 0 4px;
}
.post_teaser_meta  .p_date {
	display: block;
	font-size: 11px;
	color: #8C9196;
}

/* Carousel */
div.wpb_carousel {
	margin-bottom: 2.1em;
}
.wpb_carousel ul li {
	padding-left: 10;
	background-image: none;
}

.wpb_carousel .prev,
.wpb_carousel .next,
#preview_carousel .prev,
#preview_carousel .next,
.preview_next,
.preview_prev {
	position: absolute;
	background: url(images/arrow_r.png) no-repeat center center;
	width: 32px;
	height: 32px;
	border: none;
	padding: 0;
	
	top: 50%;
	right: -15px;
	
	z-index: 10;
	
	opacity: 0.5;
}
.wpb_carousel .prev,
#preview_carousel .prev,
.preview_prev {
	background: url(images/arrow_l.png) no-repeat center center;
	right: auto;
	left: -15px;
}
	.wpb_carousel .prev:hover,
	.wpb_carousel .next:hover,
	.preview_prev:hover,
	.preview_next:hover,
	#preview_carousel .preview_prev:hover,
	#preview_carousel .preview_next:hover {
		opacity: 1;
	}

/* Testimonials */
.posts_grid_teaser_wpb_testimonials {
	/*-webkit-box-shadow:0px 0px 1px #BFBFBF;
	     -o-box-shadow:0px 0px 1px #BFBFBF;
	   -moz-box-shadow:0px 0px 1px #BFBFBF;
	        box-shadow:0px 0px 1px #BFBFBF;*/
}
	.posts_grid_teaser_wpb_testimonials .wpb_wrapper {
		padding: 20px;
		border: 1px solid #efefef;
		background: #FFFFFF;
		-webkit-border-radius: 5px;
		   -moz-border-radius: 5px;
		        border-radius: 5px;
	}
	
	.posts_grid_teaser_wpb_testimonials .teaser_grid_img {
		float: right;
		margin-bottom: 5px;
		
		border: 1px solid #ffffff;
		-webkit-box-shadow:0px 0px 3px #CCCCCC;
		     -o-box-shadow:0px 0px 3px #CCCCCC;
		   -moz-box-shadow:0px 0px 3px #CCCCCC;
		        box-shadow:0px 0px 3px #CCCCCC;
	}
	.posts_grid .posts_grid_teaser_wpb_testimonials .teaser_title,
	.posts_grid .posts_grid_teaser_wpb_testimonials .client_position {
		margin: 0 0 0 0;
		float: left;
		clear: none;
		width: 190px;
		padding-right: 0;
	}
		.three-fourth .posts_grid_teaser_wpb_testimonials .teaser_title,
		.three-fourth .posts_grid_teaser_wpb_testimonials .client_position { width: 111px; }
		
		.two-third .posts_grid_teaser_wpb_testimonials .teaser_title,
		.two-third .posts_grid_teaser_wpb_testimonials .client_position { width: 84px; }
		
		.one-half .posts_grid_teaser_wpb_testimonials .teaser_title,
		.one-half .posts_grid_teaser_wpb_testimonials .client_position { width: 98px; text-align: center; }
		.one-half .posts_grid_teaser_wpb_testimonials .teaser_grid_img { margin-left: 27px; float: none; }
		
		.one-third.posts_grid_wpb_testimonials .one-third  { width: 48%; }
		.one-third.posts_grid_wpb_testimonials .teaser_title,
		.one-third.posts_grid_wpb_testimonials .client_position { width: 98px; text-align: center; }
		.one-third.posts_grid_wpb_testimonials .teaser_grid_img { margin-left: 27px; float: none; }
		
		.one-fourth.posts_grid_wpb_testimonials .one-third  { width: 100%; }
		.one-fourth.posts_grid_wpb_testimonials .teaser_title,
		.one-fourth.posts_grid_wpb_testimonials .client_position { width: 98px; }
		
	
	.posts_grid .posts_grid_teaser_wpb_testimonials .teaser_title {
		font-size: 14px;
		line-height: 16px;
		color: #6096ca;
		margin-top: 7px;
	}
	
	/*.posts_grid .posts_grid_teaser_wpb_testimonials .client_position {
		color: #8c9196;
		font-size: 11px;
		font-family: Arial, "Arial", "Helvetica Neue", Helvetica, sans-serif;
		font-weight: bold;
	}*/
	
	.posts_grid .posts_grid_teaser_wpb_testimonials .teaser_content {
		background: url(images/divider.png) no-repeat center top;
		/*background: url(http://cdn3.iconfinder.com/data/icons/woothemesiconset/32/comment.png) no-repeat left 22px;*/
		padding-top: 23px;
		
		font-size: 12px;
		line-height: 16px;
		margin: 0 0 0 0;
		clear: both;
	}

/* Fading gallery */
.ss_nav {
	right: 6px;
}

/* Tabs */
.wpb_tabs_nav {
	top: 0;
}
.wpb_tabs_nav a {
	border-radius: 5px 5px 0 0;
	border: none;
	background: #252b36;
	margin-right: 2px;
	padding: 7px 15px 5px 15px;
	
	color: #757c82;
	font-style: italic;
	font-size: 15px;
}
	.wpb_tabs_nav .activeSlide {
		border: none;
		background: #6096ca;
		color: #FFFFFF;
		padding: 7px 15px 5px 15px;
	}
		.wpb_tabs_nav .activeSlide:hover {
			color: #FFFFFF;
		}
	
.wpb_tabs {
	border: none;
	border-bottom: 3px solid #1a688f;
	-webkit-border-radius: 5px;
	   -moz-border-radius: 5px;
	        border-radius: 5px;
	
	-webkit-border-top-left-radius: 0;
	    -moz-border-radius-topleft: 0;
	        border-top-left-radius: 0;
	
	background: #6096ca url(images/bg_glow.png) no-repeat bottom center;
	color: #FFFFFF;
	padding-bottom: 5px;
}
	.wpb_tabs .tab {
		margin: 12px 15px 1px 15px;
		width: auto !important;
		min-width: 97%;
	}

/* Tab and Slides hover */
.wpb_tabs_nav a:hover,
.entry-content .small_tour_menu_ul li:hover {
	background: #6096ca;
	color: #FFFFFF;
}
.entry-content .small_tour_menu_ul li:hover a { color: #FFFFFF; }


/* Twitter widget */
#footer .wpb_twitter_widget .tweets .tweet_time {
	font-style: italic;
	position: relative;
	top: -1px;
}
	#footer .wpb_twitter_widget .tweets .tweet_time:before {
		content: ' – ';
	}
	#footer .wpb_twitter_widget .tweets .tweet_time a {
		color: inherit;
	}
p.loading {
	margin: 0;
	display: none;
}

/* Shadows collection */
	.entry-content .wpb_twitter_widget {
		background: url(images/shadow_c_full-width.png) no-repeat center bottom;
		padding-bottom: 55px;
		margin-bottom: 1.5em;
	}
	.entry-content .wpb_twitter_widget.three-fourth {
		background: url(images/shadow_c_34.png) no-repeat center bottom;
	}
	.entry-content .wpb_twitter_widget.two-third {
		background: url(images/shadow_c_23.png) no-repeat center bottom;
	}
	.entry-content .wpb_twitter_widget.one-half {
		background: url(images/shadow_c_12.png) no-repeat center bottom;
	}
	.entry-content .wpb_twitter_widget.one-third {
		background: url(images/shadow_c_13.png) no-repeat center bottom;
	}
	.entry-content .wpb_twitter_widget.one-fourth {
		background: url(images/shadow_c_14.png) no-repeat center bottom;
	}
	
	.page-template-default .entry-content .wpb_twitter_widget {
		background: url(images/shadow_full-width.png) no-repeat center bottom;
	}
	.page-template-default .entry-content .wpb_twitter_widget.three-fourth {
		background: url(images/shadow_34.png) no-repeat center bottom;
	}
	.page-template-default .entry-content .wpb_twitter_widget.two-third {
		background: url(images/shadow_23.png) no-repeat center bottom;
	}
	.page-template-default .entry-content .wpb_twitter_widget.one-half {
		background: url(images/shadow_12.png) no-repeat center bottom;
	}
	.page-template-default .entry-content .wpb_twitter_widget.one-third {
		background: url(images/shadow_13.png) no-repeat center bottom;
	}
	.page-template-default .entry-content .wpb_twitter_widget.one-fourth {
		background: url(images/shadow_14.png) no-repeat center bottom;
	}

.entry-content .wpb_twitter_widget .wpb_wrapper {
	position: relative;
}
	.entry-content .wpb_twitter_widget .wpb_wrapper .tweets {
		background: url(images/dotted_stroke.gif);
		padding: 5px;
		color: #ffffff;
		text-align: center;
	}
		.entry-content .wpb_twitter_widget .wpb_wrapper .tweets a {
			color: #ffffff;
			border-bottom: 1px dotted;
		}
			.entry-content .wpb_twitter_widget .wpb_wrapper .tweets a:hover {
				border: none;
			}
		
		.entry-content .wpb_twitter_widget .tweet_list {
			background: #6096ca url(images/bg_glow.png) no-repeat bottom center;
			padding: 20px 20px;
		}
		
		.entry-content .wpb_twitter_widget .tweets li {
			border-bottom: 1px solid #238BBF;
			padding-bottom: 14px;
			margin-bottom: 10px;
			background-image: none;
			padding-left: 0;
		}
		.entry-content .wpb_twitter_widget .tweets li:last-child {
			margin-bottom: 0px;
			padding-bottom: 0;
			border-bottom: none;
		}
		.entry-content .wpb_twitter_widget .wpb_wrapper .tweets .tweet_time {
			display: none;
		}
		
	.wpb_twitter_widget .wpb_wrapper .twitter_follow_button {
		font-size: 10px;
		font-family: Arial, "Arial", "Helvetica Neue", Helvetica, sans-serif;
		color: inherit;
		border: none;
		
		background: url(images/twitter_bird.png) no-repeat 5px 2px;
		padding-left: 31px;
	}
		.wpb_twitter_widget .wpb_wrapper .twitter_follow_button:hover {
			color: #6096ca;
		}
	.entry-content .wpb_twitter_widget .wpb_wrapper .twitter_follow_button {
		position: absolute;
		bottom: -25px;
		right: 7px;
	}

/* Message box */
.wpb_vc_messagebox {
	background-position: 20px 50%;
	margin-bottom: 2.1em;
}
.wpb_vc_messagebox .messagebox_text {
	margin-left: 56px;
}
.messagebox_text p:last-child {
	margin-bottom: 0;
}

.wpb_address_book span.ico, .wpb_alarm_clock span.ico, .wpb_anchor span.ico, .wpb_application_image span.ico, .wpb_arrow span.ico, .wpb_asterisk span.ico, .wpb_hammer span.ico, .wpb_balloon span.ico, .wpb_balloon_buzz span.ico, .wpb_balloon_facebook span.ico, .wpb_balloon_twitter span.ico, .wpb_battery span.ico, .wpb_binocular span.ico, .wpb_document_excel span.ico, .wpb_document_image span.ico, .wpb_document_music span.ico, .wpb_document_office span.ico, .wpb_document_pdf span.ico, .wpb_document_powerpoint span.ico, .wpb_document_word span.ico, .wpb_bookmark span.ico, .wpb_camcorder span.ico, .wpb_camera span.ico, .wpb_chart span.ico, .wpb_chart_pie span.ico, .wpb_clock span.ico, .wpb_play span.ico, .wpb_fire span.ico, .wpb_heart span.ico, .wpb_mail span.ico, .wpb_shield span.ico, .wpb_video span.ico {
	padding-right: 25px;
	text-align: center;
}
.wpb_button, .wpb_vc_button {
	font-style: italic;
	border: none;
	margin-right: 7px;
	margin-bottom: 2.1em;
	padding: 7px 11px 6px 15px; /* 11px 15px 10px 15px;*/
	-webkit-border-radius: 5px;
	   -moz-border-radius: 5px;
	        border-radius: 5px;
}

.button_blue, .button_blue:link, .button_blue:visited {
	background: #6096ca;
	border-bottom: 3px solid #1A688F;
}
	.button_blue:hover {
		background: #29A3DF;
	}

.button_yellow, .button_yellow:link, .button_yellow:visited {
	background: #FBF323;
	border-bottom: 3px solid #EFDE2C;
	color: #3F3D00;
}
	.button_yellow:hover {
		background: #FFF95F;
	}
.button_green, .button_green:link, .button_green:visited {
	background: #33CC00;
	border-bottom: 3px solid #207D01;
	color: #FFFFFF;
}
	.button_green:hover {
		background: #44DF0D;
	}
.button_grey, .button_grey:link, .button_grey:visited {
	background: #E6E3E6;
	border-bottom: 3px solid #CCCCCC;
	color: #3F3F3F;
}
	.button_grey:hover {
		background: #EFEFEF;
	}
.button_red, .button_red:link, .button_red:visited {
	background: #FF0000;
	border-bottom: 3px solid #8C0202;
	color: #ffffff;
}
	.button_red:hover {
		background: #FF3F3F;
	}
.button_orange, .button_orange:link, .button_orange:visited {
	background: #FFCC00;
	border-bottom: 3px solid #C98930;
	color: #3F3200;
	text-shadow: none;
}
	.button_orange:hover {
		background: #FFD52F;
	}

/* Separator with text & simple separator */
.vc_text_separator,
.wpb_separator {
	/*background: #FFFFFF url('images/dotted_stroke.gif');*/
	background: url(images/divider.png) no-repeat center -3px;
	height: 4px;
	border: none;
	position: inherit;
}
.vc_text_separator div {
	background: #6096ca;
	color: #FFFFFF;
	top: -8px;
	padding: 2px 12px;
	font-size: 12px;
	font-style: italic;
	
	-webkit-border-radius: 5px;
	   -moz-border-radius: 5px;
	        border-radius: 5px;
}
	.separator_align_left {
		background-position: left -3px;
	}
	.separator_align_right {
		background-position: right -3px;
	}

.wpb_separator {
	background-position: center bottom;
	height: 12px;
	margin-bottom: 2.5em;/*1.5*/
	margin-top: 0;
	position: relative;
	top: 4px;/*-2*/
}



/* Tour section */
.wpb_tab b,
.wpb_tab strong,
.small_tour_slide b,
.small_tour_slide strong {
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
	color: #252b36;
}
.wpb_tab a,
.small_tour_slide a {
	color: inherit;
	border-bottom: 1px dotted #BFEBFF;
}

.small_tour_slides {
	margin-left: 255px;
	background: #6096ca url(images/bg_glow.png) no-repeat bottom center;
	color: #FFFFFF;
	-webkit-border-radius: 5px;
	   -moz-border-radius: 5px;
	        border-radius: 5px;
	        
	/*-webkit-border-top-left-radius: 0;
	    -moz-border-radius-topleft: 0;
	        border-top-left-radius: 0;*/
	border-bottom: 3px solid #1A688F;
}
.small_tour_slide_content {
	margin: 12px 15px;
}

.small_tour_menu {
	border: none;
	width: 255px;
	margin-top: 13px;
}
.entry-content .small_tour_menu_ul li {
	font-style: italic;
	font-size: 15px;
	background: #252b36;
	margin-bottom: 2px;
	
	-webkit-border-top-left-radius: 5px;
	    -moz-border-radius-topleft: 5px;
	        border-top-left-radius: 5px;
	        
	-webkit-border-bottom-left-radius: 5px;
	    -moz-border-radius-bottomleft: 5px;
	        border-bottom-left-radius: 5px;
}
.entry-content .small_tour_menu_ul li a {
	color: #757C82;
	padding: 7px 15px 5px;
}
.entry-content .small_tour_menu_ul li.activeSlide {
	background: #6096ca;
}
	.entry-content .small_tour_menu_ul li.activeSlide a {
		color: #FFFFFF;
	}

.small_tour_slide .tourPrevSlide,
.small_tour_slide .tourNextSlide {
	margin-bottom: 12px;
	color: #FFFFFF;
	border-bottom: 1px dotted #BFEBFF;
	font-size: 12px;
	padding-bottom: 1px;
}
.small_tour_slide .tourPrevSlide { margin-left: 15px; }
.small_tour_slide .tourNextSlide { margin-right: 15px; }
	
	.small_tour_slide .tourPrevSlide:hover,
	.small_tour_slide .tourNextSlide:hover {
		color: #252b36;
		border: none;
		text-shadow: none;
	}

/* FAQ - Toggle */
.last_toggle_el_margin {
	margin-top: 2.1em;
	height: 1px;
}
#content h4.wpb_toggle {
	padding-left: 23px;
	margin-bottom: 9px;
	padding-bottom: 0px;
	/*border-bottom: 1px dotted #C8C8C8;*/
	border-bottom: none;
	font-weight: normal;
	font-style: inherit;
	color: inherit;
	font-size: inherit;
	
	background-position: left 0;
}
	#content h4.wpb_toggle:hover {
		color: #6096CA;
	}
.wpb_toggle_content {
	padding: 0 0 0 23px;
	margin: 0 0 1.5em 0;
}
	#content .wpb_toggle_content p:last-child {
		margin-bottom: 0;
	}
	/*#content .wpb_toggle:last-of-type {
		background: red;
		margin-bottom: 2.1em;
	}*/
	/*#content h4.wpb_toggle_title_active:last-of-type {
		margin-bottom: 3px;
	}*/
	
.wpb_toggle_content p,
#content .wpb_toggle_content p {
	margin-bottom: 1.5em;
}

/*#content .wpb_toggle_content:last-of-type {
	margin-bottom: 0;
}*/

/* Call to action */
.wpb_call_to_action {
	background: #6096ca url(images/bg_glow.png) no-repeat bottom center;
	border-bottom: 3px solid #1A688F;
	-webkit-border-radius: 5px;
	   -moz-border-radius: 5px;
	        border-radius: 5px;
	padding: 30px 40px 28px 40px;
}
	.wpb_call_to_action h2 {
		color: #FFFFFF;
		font-style: italic;
		line-height: 1.2em;
	}
#content .cta_align_bottom h2.wpb_call_text {
	margin-bottom: 5px;
}
.cta_align_left .wpb_button,
.cta_align_right .wpb_button {
	margin-top: 0;
}
	.cta_align_right .wpb_button {
		margin-left: 5%;
	}
	.cta_align_left .wpb_button {
		margin-right: 5%;
	}

.cta_align_left .wpb_call_text,
.cta_align_right .wpb_call_text {
	width: 68%;
}


/* Teaser grid */
#content h3,
.posts_grid .teaser_title,
.portfolio_teaser h2.entry-title {
	font-family: Georgia, Times, "Georgia", "Times New Roman", serif;
	font-size: 15px;
	font-style: italic;
	text-align: left;
}
	.posts_grid .teaser_title,
	.portfolio_teaser h2.entry-title {
		margin: 0 4px 10px 4px;
	}

.link_image:hover {
	border-color: #6096CA;
}	
.link_image,
.p_video,
.animated_th,
.image_frame,
.attached_carousel .wpb_gallery_slides,
.img_frame,
.wpb_slider_fading,
.wpb_slider_nivo {
	display: block;
	background: #ffffff;
	/*padding: 3px;*/
	margin: 0 0 10px 0;
	/*border: 1px solid #e9e9e9;*/
	border: 3px solid #ffffff;
	-webkit-box-shadow:0px 0px 6px #BFBFBF;
	     -o-box-shadow:0px 0px 6px #BFBFBF;
	   -moz-box-shadow:0px 0px 6px #BFBFBF;
	        box-shadow:0px 0px 6px #BFBFBF;
	
	overflow: hidden;
	position: relative;
	-webkit-border-radius: 5px;
	   -moz-border-radius: 5px;
	        border-radius: 5px;
}
.img_frame,
h3 img.img_frame {
	display: inline;
	margin-right: 0;
	position: static;
}
	.img_frame img { display: block; }

.p_video {
	overflow: visible;
	margin-bottom: 2.1em;
	width: auto;
}

.link_image img,
.animated_th img {
	margin: 0;
	display: block;
	/*-webkit-border-radius: 5px;
	   -moz-border-radius: 5px;
	        border-radius: 5px;*/
}
.posts_grid .teaser_content {
	margin: 0 4px 0 4px;
}

/* Title - Thumbnail - Text Layout */
.title_thumbnail_text .teaser_title,
.portfolio_teaser h2.entry-title {
	/*margin: 0 4px 6px 4px;*/
}

/* Thumbnail - Title - Text Layout */
.thumbnail_title_text .link_image {
	margin-bottom: 10px;
}

/* Thumbnail - Title Layout */
.thumbnail_title .teaser_title {
	margin-bottom: 0;
}

/* Title - Text Layout */
.title_text .teaser_title,
.title_text .teaser_content {
	margin-left: 0;
	margin-right: 0;
}



#responsive-nav {
	margin-top: 20px;
	display: none;
}
	#responsive-nav,
	#responsive-nav select {
		width: 280px;
	}
	
#primary_menu {
	font-family: Georgia, Times, "Georgia", "Times New Roman", serif;
	font-style: italic;
	font-size: 15px;
	
    color: #252b36;
	height: 35px;
	float: right;
}

#primary_menu ul {
	margin: 0;
	padding: 0;
	list-style: none;
	line-height: 35px;
}

#primary_menu ul a {
	display: inline-block;
	position: relative;
}

#primary_menu ul li {
	float: left;
	position: relative;
	z-index: 40;
	margin-left: 3px;
}


#primary_menu > ul li:first-child { padding-left: 0; }
#primary_menu ul li:hover { visibility: inherit; /* fixes IE7 'sticky bug' */ }

#primary_menu ul ul {
	font-size: 12px;
	font-style: normal;
	position: absolute;
	top: -9999em;
	width: 130px; /* left offset of submenus need to match (see below) */
}

#primary_menu ul ul li {
	width: 100%;
	margin-left: inherit;
}

/*  Make sub menus appear */
#primary_menu ul li:hover ul,
#primary_menu ul li.hover ul {
	left: -1px;
	top: 36px; /* match top ul list item height */
	z-index: 99;
}

/* Hide all subs subs (4 levels deep) */
#primary_menu ul li:hover li ul,
#primary_menu ul li.hover li ul,
#primary_menu ul li li:hover li ul,
#primary_menu ul li li.hover li ul,
#primary_menu ul li li li:hover li ul,
#primary_menu ul li li li.hover li ul { top: -9999em; }

/* Displays all subs subs (4 levels deep) */
#primary_menu ul li li:hover ul,
#primary_menu ul li li.hover ul,
#primary_menu ul li li li:hover ul,
#primary_menu ul li li li.hover ul,
#primary_menu ul li li li li:hover ul,
#primary_menu ul li li li li.hover ul {
	left: 130px; /* match .nav ul width */
	top: -1px;
}
	
/* top level skin */
#primary_menu ul a {
	padding: 0 13px;
	color: #252b36;
	height: 30px;
	line-height: 30px;
	
	-webkit-border-radius: 5px;
	   -moz-border-radius: 5px;
	        border-radius: 5px;
}

#primary_menu ul a:hover,
#primary_menu ul li.hover a,
#primary_menu ul li.current-cat a,
#primary_menu ul li.current_page_item a,
#primary_menu ul li.current-menu-item a {
	text-decoration: none;
	background: none;
	color: #FFFFFF;
	background: #6096ca;
}
	#primary_menu ul li.has-sub-menu a:hover,
	#primary_menu ul li.hover.has-sub-menu a {
		/*border-bottom: 2px solid #6096ca;*/
		padding-bottom: 3px;
		 -webkit-border-bottom-left-radius: 0;
		-webkit-border-bottom-right-radius: 0;
		     -moz-border-radius-bottomleft: 0;
		    -moz-border-radius-bottomright: 0;
		         border-bottom-left-radius: 0;
		        border-bottom-right-radius: 0;
	}

/* 2nd level skin */
#primary_menu ul ul {
	padding: 2px 0 3px 0;
	background: #6096ca;
	border-bottom: 3px solid #1a688f;
	 /*-webkit-border-bottom-left-radius: 5px;
	-webkit-border-bottom-right-radius: 5px;
	     -moz-border-radius-bottomleft: 5px;
	    -moz-border-radius-bottomright: 5px;
	         border-bottom-left-radius: 5px;
	        border-bottom-right-radius: 5px;*/
	-webkit-border-radius: 5px;
	   -moz-border-radius: 5px;
	        border-radius: 5px;
	
	-webkit-border-top-left-radius: 0;
	    -moz-border-radius-topleft: 0;
	        border-top-left-radius: 0;
}

#primary_menu ul ul li {
	/*min-height: 25px;*/
	margin: 3px 0;
	height: auto;
	line-height: 13px;
	float: none;
	background: none;
}


#primary_menu ul ul li a {
	line-height: 15px;
	height: auto;
/*	height: 28px;*/
	font-size: 12px;
	padding: 0 15px;
}

#primary_menu ul li.hover ul a { 
    /*background: #333333;*/
	color: #ffffff;
}

#primary_menu ul li.hover ul a:hover { 
    /*background: #333333; */
    color: #252b36;
    text-shadow: none;
}

/* 3rd level skin */
#primary_menu ul ul ul {
	padding: 0 0 5px 0;
	background: #333333;
}








/* Widget tmp
---------------------------------------------------------- */
.sidebar .wpb_twitter_widget .widget-title {
	margin-bottom: 10px;
}

.sidebar .wpb_twitter_widget .wpb_wrapper .loading {
	display: inline;
	margin-bottom: 0;
}
.sidebar .wpb_twitter_widget .wpb_wrapper .tweets {
	padding: 21px 30px 20px 30px;
	margin: 7px 0 5px 0;
	line-height: 21px;
	
	border: 1px solid #E5E5E5;
	background-image: url(images/notes.png);	
	box-shadow: 0 1px 3px rgba(255, 255, 255, 1) inset;
	
	-webkit-border-radius: 5px;
	   -moz-border-radius: 5px;
	        border-radius: 5px;
}
	.sidebar .wpb_twitter_widget .wpb_wrapper .tweets li {
		padding-bottom: 0;
		margin-bottom: 21px;
	}
		.sidebar .wpb_twitter_widget .wpb_wrapper .tweets li:last-child {
			margin-bottom: 0;
		}
	.sidebar .wpb_twitter_widget .wpb_wrapper .tweets .tweet_time {
		line-height: 21px;
		display: block;
	}



.widget { 
    margin-bottom: 20px;
}

.widget-title,
#comments-title,
#respond h3#reply-title {
	font-family: "League Gothic", "LeagueGothicRegular", "Helvetica", "Arial", "Lucida Grande", "Verdana", "Gill Sans", sans-serif;
	font-size: 20px;
	line-height: 22px;
	text-transform: uppercase;
	font-style: normal;
}
	#footer .widget-title {
		color: #ffffff;
	}

.widget ul {
	list-style-type: none;
	margin-bottom: 0;
	margin-left: 0;
}

.widget ol {
	list-style-type: decimal;
	margin-bottom: 0;
	margin-left: 0;
}

.widget li { text-align: left; }

/* Custom menu
---------------------------------------------------------- */
.widget .sub-menu { margin-left: 10px; }

/* Search widget
---------------------------------------------------------- */
.widget_search #s { 
	width: 54%;
}
.widget_search label { display: none; }

.widget_search form,
.widget_search fieldset { margin: 0; }

/* Calendar widget
---------------------------------------------------------- */
.widget_calendar caption { 
    margin-bottom: 5px; 
    text-align: center;
}
.widget_calendar table { width: 100% }


/* Flickr stream
---------------------------------------------------------- */
.wpb_flickr_widget .widget-title {
	margin-bottom: 10px;
}
.flickr_badge_image {
	margin: 0 14px 14px 0;
	width: 54px;
	height: 54px;
	float: left;
}
.sidebar .flickr_badge_image {
	width: 59px;
	height: 59px;
}

.flickr_badge_image a {
	border: none;
}
.flickr_badge_image img {
	background: #ffffff;
	margin: 0 0 10px 0;
	border: 3px solid #ffffff;
	-webkit-box-shadow:0px 0px 1px #BFBFBF;
	     -o-box-shadow:0px 0px 1px #BFBFBF;
	   -moz-box-shadow:0px 0px 1px #BFBFBF;
	        box-shadow:0px 0px 1px #BFBFBF;
	
	overflow: hidden;
	position: relative;
	-webkit-border-radius: 5px;
	   -moz-border-radius: 5px;
	        border-radius: 5px;
	        
	max-width: 100%;
	max-height: 100%;
}
	#footer .flickr_badge_image img {
		border-color: #999999;
	}

.flickr_badge_image img:hover,
#footer .flickr_badge_image img:hover { border-color: #6096ca; }