/*  
Theme Name: Lightning
Theme URI: http://www.wpbakery.com/
Version: 1.3
Description: Designed in <a href="http://www.wpbakery.com">WPBakery</a>.
Author: WPBakery
Author URI: http://www.wpbakery.com
Tags: wpbakery
*/

/* 

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! :)

*/

/*@import url(css/grid.css);*/
/*@import url(css/common.css);*/

/* Reset
---------------------------------------------------------- */
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent}


/* Transitions
---------------------------------------------------------- */
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;
}

.h_portfolio_controls a,
.wpb_carousel .prev,
.wpb_carousel .next,
.p_controls 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;
}
/* Common classes
---------------------------------------------------------- */
body,
textarea, input, #author, #email, #url, textarea#comment {
	font: 12px/1.67em "Helvetica Neue",Helvetica,Arial,sans-serif;
	color:#131313;
}
body {	
	background: #ffffff;
	color: #444444;
}
body p strong,
body p b {
	color: #131313;
}

body a strong,
body a b {
	color: inherit;
}

br.dirtyLittleTrick { clear:both; display:block; height:1px; margin:-1px 0 0 0 } /* Use this br class to clear your floated columns */
.wpb_clear { clear: both; display: block; overflow: hidden; visibility: hidden; width: 0; height: 0; }
.clear-both { clear:both; }

.alignnone {
    margin: 5px 20px 20px 0;
}
.aligncenter, div.aligncenter {
    display:block;
    margin: 5px auto 5px auto;
}
.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}
.alignleft {
    float:left;
    margin: 5px 20px 20px 0;
}
.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

a img.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}
a img.alignnone {
    margin: 5px 20px 20px 0;
}
a img.alignleft {
    float:left;
    margin: 5px 20px 20px 0;
}
a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}
.wp-caption {
    background: #ccc;
    border: 1px solid #666666;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin:0;
    max-width: 98.5%;
    padding:0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size:11px;
    line-height:17px;
    margin:0;
    padding:0 4px 5px;
}


.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;
}


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; }

.prettyPhoto img {
	border: 3px solid #E5E5E5;
	margin-right: 5px;
}
	.prettyPhoto img:hover {
		border-color: #437EA1;
	}


h1, h2, h3, h4, h5, h6 {
	font-weight:normal;
	color: #333333;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
	text-decoration:none;
	color: inherit;
}
h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover {
}

h1 {
	font-size:2em;
	line-height: 1.17em;
	margin-bottom: 15px;
}

	h1.title {
		font-size: 3.3em;
	    margin-bottom: 25px;
	}

.main_content h2, h2 {
	font-size: 1.5em;
	line-height:1.25em;
	margin-bottom:15px;
}

.main_content h3, h3 {
	line-height:1.25em;
	margin-bottom: 5px;
	
	font-size: 1.1em;
	font-weight: bolder;
}

.main_content h4, h4 {
	font-size:1.15em;
	line-height:1.29em;
	margin-bottom: 5px;
}

.main_content h5, h5 {
	font-size:1em;
	line-height:1.5em;
	margin-bottom: 5px;
	color: #437EA1;
}
.main_content h6, h6 {
	line-height:1.6em;
	margin-bottom: 5px;
	font-size: 0.99em;
	color: #437EA1;
}

h4.toggle,
h4.wpb_toggle {
	margin-bottom:5px;
	text-transform: none;
	background-position: left 1px;
}

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;
}

.p_caption,
h3.p_caption,
.main_content .p_caption {
	font-family: Georgia,"Times New Roman",Times, serif;
    font-size: 1.3em;
    font-style: italic;
    font-weight: normal;
    line-height: 1.3em;
    margin-bottom: 30px;
}

a {
	text-decoration:none;
	color: #437EA1;
}
	a:hover,
	.post_teaser .read_more:hover,
	#footer .footer_menu a:hover,
	h4.wpb_toggle:hover,
	h4.wpb_toggle_title_active,
	#footer .copyright_message a:hover,
	.small_tour_menu li a:hover {
		color: #0D94DF;
	}
p {
	margin-bottom: 15px;
}

ul,
ol,
.main_content ul,
.main_content ol {
	margin:0 0 15px 0;
}

ul li,
ol li {
	margin-left: 20px;
	margin:0 0 0px 4%;
	list-style-position: inside;
}
ul li {
	list-style-image: url(images/res/arrow_r.gif);
}

.rounded {
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}

.main_content table tr {
	background: #ffffff;
}

.main_content table {
	border: 1px solid #e7e7e7;
	text-align: left;
	margin: 0 0 25px 0;
	border-collapse: collapse; 
	width:100%;
}
.main_content tr th,
.main_content thead th {
	color: #888888;
	background:#f7f7f7;
	background: -webkit-gradient(linear, left bottom, left top, color-stop(0.15, rgb(239,239,239)), color-stop(1, rgb(255,255,255)));
	background: -moz-linear-gradient( center bottom, rgb(239,239,239) 15%, rgb(255,255,255) 100% );
	
	font-weight: bold;
	line-height: 1.385em;
	padding: 10px 15px;
}
.main_content tr td {
	border-top: 1px solid #e7e7e7;
	padding: 5px 15px;
}

.main_content .tags {
	background: url("images/tag.png") no-repeat center left;
	padding-left: 30px;
	min-height: 16px;
	padding-top: 2px;
	
	font-family: Georgia,"Times New Roman",Times, serif;
	font-style: italic;
	font-size: 0.95em;
}
	.main_content .tags a {
		margin-right: 10px;
		color: #aaaaaa;
	}
		.main_content .tags a:hover {
			color: inherit;
		}

blockquote {
	background: url(images/res/block_quote.png) no-repeat top left;
	padding:0px 70px 0px 55px;
	margin-left: 55px;
	margin:0 0 15px 8%;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-style:italic;
}

address {
	margin-bottom: 12px;
}

pre {
	background: #ffffff url(images/res/pre_bg.gif) left -10px;
	border: 1px solid #E5E5E5;
	padding: 10px 20px;
	margin-bottom: 15px;
	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;
}

.wp-pagenavi { position: relative; z-index: 150; }
.wp-pagenavi span,
.wp-pagenavi a {
	display: inline-block;
	padding: 0 5px;
}

/* Column layout
---------------------------------------------------------- */
.container_12 {
	margin-left: auto;
	margin-right: auto;
	width: 1020px;
}

.one-fourth,
.one-third,
.one-half,
.two-third,
.three-fourth,
.full-width { margin:0 40px 20px 0px; }

.wpb_carousel li { margin-right: 40px; }



/* Column sizes - for width: 1020; gap: 40; prefix:  
---------------------------------------------------------- */
.one-fourth { width: 225px; }
.one-third { width: 313px; }
.one-half { width: 490px; }
.two-third { width: 666px; }
.three-fourth { width: 755px; }
.full-width { width: 1020px; }


/* Column variations
---------------------------------------------------------- */
.three-fourth .one-fourth { width: 158px; }
.three-fourth .one-third { width: 225px; }
.three-fourth .one-half { width: 357px; }
.three-fourth .two-third { width: 490px; }
.three-fourth .three-fourth { width: 554px; }
.three-fourth .full-width { width: 755px; }

.two-third .one-fourth { width: 136px; }
.two-third .one-third { width: 195px; }
.two-third .one-half { width: 313px; }
.two-third .two-third { width: 430px; }
.two-third .three-fourth { width: 488px; }
.two-third .full-width { width: 666px; }

.one-half .one-fourth { width: 92px; }
.one-half .one-third { width: 136px; }
.one-half .one-half { width: 225px; }
.one-half .two-third { width: 312px; }
.one-half .three-fourth { width: 356px; }
.one-half .full-width { width: 490px; }

.one-third .one-fourth { width: 48px; }
.one-third .one-third { width: 77px; }
.one-third .one-half { width: 136px; }
.one-third .two-third { width: 194px; }
.one-third .three-fourth { width: 224px; }
.one-third .full-width { width: 313px; }

.one-fourth .one-fourth,
.one-fourth .one-third,
.one-fourth .one-half,
.one-fourth .two-third,
.one-fourth .three-fourth,
.one-fourth .full-width { width: 225px; }



.column_full-width,
.column_one-fourth,
.column_one-half, .column_two-fourth,
.column_three-fourth,
.column_one-third,
.column_two-third, .column_two-thirds,
.column_one-six, .column_one-sixs,
.column_two-six, .column_two-sixs
{
	display:inline;
	float:left;
	position:relative;
	margin:0 40px 20px 0px;
}

.column_one-six, .column_one-sixs { width: 136px; }
.column_two-six, .column_two-sixs { width: 306px; }

/*** backgroud and text colors ***/
.color_131313 {
	background: #131313;
	color: #aaaaaa;
}

.h4_aaaaaa,
.h4_f5cc0c {
	color: #AAAAAA;
	text-transform: uppercase;
}

.h4_f5cc0c { color: #f5cc0c; }

.triangle_top {
	padding-top: 25px;
	position: relative;
}
.first_section {
	padding-top: 150px;
	padding-bottom: 65px;
}

.color_131313 textarea,
.color_131313 input {
	background: #1c1c1c;
	border-color: #1f1f1f;
	color: #aaaaaa;
}
.title_dash {
	border-bottom: 1px solid #E5E5E5;/*437EA1*/
	display: block;
	width: 30px;
	margin: 10px 0 10px 0;
}
.columns_count_1_title_thumbnail_text .title_dash,
.columns_count_1_thumbnail_title_text .title_dash,
.columns_count_1_thumbnail_text .title_dash {
	float: left;
	margin: 6px 0 9px 0;
}

.teaser_content .title_dash,
.post_content .title_dash {
	margin-top: 17px;
	width: 30px;
	margin-left: 55px;
}

/* Header
---------------------------------------------------------- */
#header .menu_logo {
	background: #131313;
}
#header {
	position: fixed; /*absolute*/
	z-index: 105;
	width: 100%;
	margin-top: 25px;
}

#logotype {
	position: absolute;
	right: -5px;
	top:-15px;
}

/* Menu
---------------------------------------------------------- */
.menu_holder {
	margin: 0 10px;
	padding: 10px 0;
	
	position: relative;
}
.header_menu {
	text-transform: uppercase;
	font-weight: bold;
	margin-bottom:0;
}
.header_menu li.home_icon {
	margin-left: 10px;
	position: relative;
	top: 2px;
}
.header_menu li {
	float:left;
	list-style:none;
	margin-left:20px;
	margin-bottom: 0;
	
	position:relative;
}
.header_menu a {
	color:#ffffff;
}

.header_menu li .sub-menu {
	display:none;
	position:absolute;
	left: -15px;
	background:#131313;
	border-radius:0 0 5px 5px;
	list-style: none;
	
	padding:15px 15px 9px 15px;
	
	z-index:50;
	
	text-transform:none;
	font-weight: normal;
	
	min-width: 100px;
	max-width: 250px;
}
	.header_menu li .sub-menu li {
		margin-left: 0;
		float: none;
		
		border-bottom: 1px solid #1F1F1F;
		padding: 5px 0;
	}
		.header_menu li .sub-menu li:last-child,
		.header_menu li .sub-menu .sub-menu li {
			border-bottom: none;
			padding-bottom: 0;
		}
		
		.header_menu li .sub-menu li a {
			display: block;
			color: #aaaaaa;
		}
		
	
	.header_menu .hover a,
	.header_menu a:hover {
		color: #0D94DF;/*F5CC0C;*/
	}
	
	.header_menu li.hover ul a:hover,
	.header_menu .current-menu-item a,
	.header_menu .current-menu-item .current-menu-item a,
	.header_menu li.hover .current-menu-item a,
	.header_menu li .sub-menu .sub-menu li a:hover,
	.header_menu li .sub-menu .sub-menu li.current-menu-item a {
		color:#FFFFFF;
	}
	.header_menu li.hover ul a {
		color:#aaaaaa;
	}


.header_menu li .sub-menu .sub-menu {
	position: inherit;
	display: inherit;
	padding: 0 10px 0 10px;
	margin: 1px 0 5px 0;
	left: 0;
}
	.header_menu li .sub-menu .sub-menu li {
		font-size: 0.9em;
		margin-bottom: 2px;
	}
		.header_menu li .sub-menu .sub-menu li a {
			color: #AAAAAA;
			line-height: 1.3em;
		}
.header_menu li div.sub-menu ul {
	margin-bottom:0;
}

/* Footer
---------------------------------------------------------- */
.footer_menu a,
.copyright_message a {
	color: #aaaaaa;
}
	#footer .widget a:hover {
		color: #ffffff;
	}

#footer .footer_menu { float: left; }
#footer .footer_menu li {
	list-style: none;
	display: inline;
	margin: 0 15px 0 0;
}
#footer .home_icon {
	margin-left: 0;
}
#footer .home_icon a {
	position: relative;
	top: 2px;
}
#footer .no_bottom_padding {
	padding-bottom: 5px !important;
}
#footer .copyright_message {
	float: right;
	color: #aaaaaa;
}

/* Twitter in footer
---------------------------------------------------------- */
.latest_tweet ul.tweet_list a:hover,
.latest_tweet .follow:hover {
	color:#FFFFFF;
}
.latest_tweet {
	position: relative;
	background: #222222;
	padding: 20px 20px 10px 20px;
	margin: 20px 0 40px 0;
	text-align: center;
}
.latest_tweet .follow {
	position: absolute;
	right: 15px;
	top: -26px;
	background: url(images/b_triangle.png) center bottom no-repeat;
	
	padding-bottom: 10px;
}

.latest_tweet p.loading { margin: 0 0 5px 0; color: #666666; }

.latest_tweet .tweets .tweet_list li {
	border: none;
	list-style:none;
	margin:0;
	padding: 0;
}
.tweet_list {
	margin-bottom: 0;
}

.latest_tweet ul.tweet_list a { display: none; }
.latest_tweet ul.tweet_list .tweet_text a { display: inline; }

/* Home Slider
---------------------------------------------------------- */
#homeslider,
.wpb_pageslider {
	overflow: hidden;
	width: 100%;
	height: 600px;
}
#homeslider .container {
	position: relative;
	width: 100% !important;
}
#homeslider .slide {
	position: absolute;
	text-align: center;
	width: 100% !important;
}

#homeslider .high_slides .slide_txt {
	height: 490px;
}
#homeslider .slide_txt {
	position: absolute;
	margin: 210px 0 0 0;
	width: 100%;
	height: 250px;
	overflow: hidden;
	text-align: left;
}
	
	#homeslider .slide_txt h1 {
		margin-bottom: 70px;
	}
		
		
		#homeslider .slide_txt h1,
		#homeslider .slide img.attachment-large,
		#homeslider a.animate,
		.wpb_pageslider .slide_img {
			display: none;
		}
		#homeslider .wpb_home_cycle .slide_txt h1,
		#homeslider .wpb_home_cycle .slide img.attachment-large,
		#homeslider .wpb_home_cycle a.animate,
		.wpb_pageslider .wpb_page_cycle .slide_img {
			display: inherit;
		}
	#homeslider .slide_txt h1 span {
		background: #131313;
		background: rgba(19, 19, 19, 0.95);
		color: #ffffff;
		position: relative;

		padding: 0 10px;
		margin: 0 2px 2px 0;
		display: inline-block;
	}



#homeslider .slide_txt p {
	position: relative;
	line-height: 1em;
}
	#homeslider .slide_txt p span {
		background: #131313;
		background: rgba(19, 19, 19, 0.95);
		color: #ffffff;
		
		padding: 5px;
	}

#homeslider .slide img {
	display: block;
	margin: 0 auto;
    min-width: 1200px;
    width: 100% !important;
    height: auto !important;
}
#homeslider .slide_centering,
.h_portfolio_grid .centering {
	width: 1020px;
	margin: 0 auto;
}


#homeslider .h_portfolio_grid {
	position:absolute;
	top: 420px;
	width:100%;
	z-index: 11;
}
#homeslider .h_portfolio_th {
	margin-right: 20px;
}
.th_portfolio_eq_3, .th_portfolio_eq_4, .th_portfolio_eq_5, .th_portfolio_eq_6, .th_portfolio_eq_7, .th_portfolio_eq_8, .th_portfolio_eq_9, .th_portfolio_eq_10 { display: none; }


/* original_images slider */

.original_images #homeslider {
	height: auto !important;
}

.original_images #homeslider .slide img {
	min-width:inherit;
    width: auto !important;
}


/* Page slider
---------------------------------------------------------- */
.wpb_pageslider .slide_img {
	display: block;
	margin: 0 auto;
    width: auto !important;
    height: auto !important;
}
.wpb_pageslider {
	height: auto;
}
.wpb_pageslider .pageslides_holder,
.original_images #homeslider .container {
	width: 200% !important;
	position: relative;
	left: -50% !important;
}
.pageslides_holder div,
.original_images #homeslider .slide {
	width: 100% !important;
	left: 0% !important;
}


/* Sortable portfolio
---------------------------------------------------------- */
.wpb_sort {
	float: right;
	margin: 0;
	position: relative;
	top: 20px;
}
	.wpb_sort li {
		list-style-image: none;
		display: inline;
		margin: 0 0 0 15px;
	}
	
	.wpb_sort li a.wpb_sortable_current {
		border-bottom: 1px dotted;
	}
	
	.wpb_sort li.wpb_all_cats span {
		color: #AAAAAA;
		margin-right: 10px;
	}
	
	
/* Portfolio grid
---------------------------------------------------------- */
.single_portfolio_th .teaser_content,
.title_thumbnail_text .teaser_content {
	margin-top: 10px;
}

.thumbnail_title.posts_grid .teaser_grid,
.thumbnail_title .teaser_grid,
.single_portfolio_th {
	overflow: hidden;
}

/* .single_portfolio_th .teaser_title, */
.thumbnail_title .teaser_grid h3,
.h_portfolio_th h3, .h_portfolio_th_half h3,
.title_thumbnail_text h3,
.h_portfolio_grid h3 {
	position: absolute;
	top: 0;
	left: 0;
	background: #FFFFFF;
	background: rgba(255,255,255, 0.9);
	width: 100%;
	z-index: 5;
	
	font-size: 1.231em;
	/*letter-spacing: 1px;*/
}
	/*.single_portfolio_th .teaser_title a,*/
	.thumbnail_title .teaser_grid h3 a,
	.title_thumbnail_text h3 a,
	.h_portfolio_grid h3 a {
		color: inherit;
		display: block;
		margin: 10px 15px 8px 15px;
	}
		.thumbnail_title .teaser_grid h3 a:hover,
		.single_portfolio_th .teaser_title a:hover {
			text-decoration: none;
		}

.h_portfolio_th img,
.h_portfolio_th_half img,
.posts_grid .teaser_grid img,
.single_portfolio_th img {
	position: relative;
	border: none;
	margin-right: 0;
}
.h_portfolio_controls {
	clear: both;
	margin-left: 144px;
	position: relative;
}

.h_portfolio_controls a,
.p_controls a {
	background: #131313;
	background-color: rgba(19, 19, 19, 0.8);
	padding: 0;
	display: block;
	float: left;
}
	.h_portfolio_controls a:hover,
	.wpb_carousel .prev:hover,
	.wpb_carousel .next:hover,
	.p_controls a:hover {
		background-color: rgba(19, 19, 19, 1);
	}
	
.h_portfolio_controls .h_prev,
.h_portfolio_controls .h_next,
.p_controls .h_prev, 
.p_controls .h_next {
	width: 40px;
	height: 40px;
}

.h_portfolio_controls .h_prev,
.p_controls .h_prev {
	background-image: url(images/res/arrow_l.gif);
	background-repeat: no-repeat;
	background-position: center center;
	
	margin-right: 3px;
}
.h_portfolio_controls .h_next,
.p_controls .h_next {
	background-image: url(images/res/arrow_r.gif);
	background-repeat: no-repeat;
	background-position: center center;
}
.h_portfolio_controls .h_all_works,
.p_controls .h_all_works {
	padding: 10px 15px;
	text-align: center;
	margin-left: 3px;
	color: #aaaaaa;
}


.portfolio_thumbs {
	margin-bottom: 15px;
}
.portfolio_thumbs .column_one-fourth  {
	margin-right: 40px;
}
.portfolio_thumbs .prettyPhoto img {
	-o-box-shadow: none;
    -icab-box-shadow: none;
    -khtml-box-shadow: none;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    border: none;
}
.portfolio_thumbs .prettyPhoto .th_hover {
/*	left: -25px !important;*/
	display: none !important;
}

/* Widgets
---------------------------------------------------------- */
.sidebar .widget_title {
	border-bottom: 1px solid #E5E5E5;
	padding-bottom: 5px;
	margin-bottom: 6px;
}
	.sidebar .widget_featured_box .widget_title {
		margin-bottom: 0;
		border: none;
	}

.widget {
	margin-bottom: 20px;
}
.widget li {
	list-style: none;
	margin: 0;
}
	.widget li ul {
		margin-bottom: 0;
	}
	.widget li li {
		margin-left: 10px;
	}

/* Search
---------------------------------------------------------- */
#searchform label { display: none; }
.sidebar #searchform #s {
	width: 228px;
	margin-right: 3px;
}
.column_two-six #searchform #s {
	width: 221px;
	margin-right: 3px;
}

/* Calendar
---------------------------------------------------------- */
#wp-calendar {
	margin-bottom: 0;
}
	#wp-calendar caption {
		margin-bottom: 5px;
	}
/* Recent comment
---------------------------------------------------------- */
.sidebar .widget_recent_comments li {
	background: url(images/comment_left.gif) no-repeat left 5px;
	padding-left: 18px;
}

/* Recent posts
---------------------------------------------------------- */
.sidebar .widget_recent_entries li {
	background: url(images/res/document-text.png) no-repeat left 2px;
	padding-left: 25px;
}

/* Tag cloud
---------------------------------------------------------- */
.widget_tag_cloud a {
	font-size: 0.9em !important;
	background: #F8F8F8;
	color: #aaaaaa;
	padding: 1px 6px 2px 6px;
	display: inline-block;
	margin: 0 3px 6px 0;
	
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}
	.widget_tag_cloud a:hover {
		color: inherit;
	}
	
	.sidebar .widget_tag_cloud .widget_title,
	.sidebar .widget_search .widget_title {
		margin-bottom: 10px;
	}


/* Widgets in footer
---------------------------------------------------------- */
#footer .widget li {
	padding: 5px 0;
	border-bottom: 1px solid #1f1f1f;
}
#footer .widget .widget_title {
	margin: 0;
	padding: 0 0 15px 0;
	color: #FFFFFF;
}
#footer .widget .contactform {
	position: relative;
	top:-3px;
}




.post_meta {
	z-index: 49;
	position: relative;
}
/* Blog layout
---------------------------------------------------------- */
.p_video {
	margin-bottom: 15px;
}


.post_teaser {
	margin-bottom: 50px; /*25*/
}
.post_teaser h2,
.full_post h1.post_title,
.full_post h2.post_title,
.post_content h2.post_title {
	margin-bottom: 7px;
	padding-right: 210px;
}
.post_teaser .teaser_content,
.full_post .post_content {
	position: relative;
}
	.teaser_content .social_buttons,
	.post_content .social_buttons {
		position: absolute;
		top: 0;
		right: 0;
	}

.post_teaser .post_teaser_img,
.full_post .post_teaser_img {
	display: block;
	margin-bottom: 15px; /*20*/
	
	background: #E5E5E5;
	padding: 3px;
	width: 659px;
}
	.post_teaser .post_teaser_img {
		transition: background-color 0.5s linear;
	    -moz-transition: background-color 0.5s linear;
	    -webkit-transition: background-color 0.5s linear;
	    -o-transition: background-color 0.5s linear;
	}
		.post_teaser .post_teaser_img:hover,
		.post_teaser:hover .post_teaser_img {
			background-color: #437EA1;
		}

.post_info {
	font-family: Georgia,"Times New Roman",Times, serif;
	font-style: italic;

	margin: 0 0 10px 0; /*25*/
}
.post_teaser .teaser_meta {
	border-top: 1px solid #E5E5E5;
	padding-top: 9px;
}
.post_teaser .read_more {
	margin-right: 15px;
	display: inline-block;
}
	.post_teaser .teaser_meta span a {
		color: #aaaaaa;
	}
		.post_teaser .teaser_meta span a:hover {
			color: inherit;
		}
	
	.post_teaser .teaser_meta span.comment_balloon {
		background: url(images/comment_left.gif) no-repeat left 2px;
		padding-left: 18px;
	}

.read_more,
.teaser_readmore,
.twitter_follow_button {
	background: url(images/res/arrow_r.gif) no-repeat left 8px;
	padding-left: 16px;
}
	.twitter_follow_button {
		background-position: left 5px;
	}

.post_teaser .post_tag_list .tags {

}

.social_buttons .fb_like,
.social_buttons .twitter-share-button {
	position: relative;
	top: 4px;
	width: 88px;
	
	overflow: hidden;
	float: right;
}
.social_buttons .twitter-share-button {
	width: 105px !important;
}



/* Comments
---------------------------------------------------------- */
error {
	border:1px solid #FF0000 !important;
}

.comments_holder {
	margin-top:20px;
	clear:both;
}
#commentform {
	overflow: inherit;
}
#commentform .w350 {
	position:relative;
}

ul.commentlist li {
	list-style:none;
	list-style-image:none;
}

textarea#comment {
	height:59px;
}

#comment_wrap,
#respond {
	margin:15px 0 25px 0;
	background: #F8F8F8;
	padding: 30px 40px;
	
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) inset;
}
#comment_wrap ul {
	margin-bottom:0;
}
#comment_wrap ul li {
	margin:0;
	list-style:none;
	clear:both;
	overflow:hidden;
	display:block;
}
#comment_wrap ul.children {
	margin-left:15px;
	margin-top:0px;
	margin-bottom:0px;
	/*border-left:1px solid #EAEAEA;*/
	padding-left:15px;
}
#comment_wrap ul.children li {
	margin-bottom:0;
	font-size: inherit;
}
#comment_wrap ul.children .comment_author_date {
	margin-bottom: 10px;
}
#comment_wrap ul.children p {
	margin-bottom: 10px;
}
#comment_wrap img.avatar {
	float:left;
	margin:0 20px 10px 0px;
	border: 1px solid #ffffff;
	
	-o-box-shadow:0px 0px 2px #999999;
	-moz-box-shadow:0px 0px 2px #999999;
	-webkit-box-shadow:0px 0px 2px #999999;
	box-shadow:0px 0px 2px #999999;
}
#comment_wrap ul.children img.avatar {
	width:40px;
	height:40px;
}

#comment_wrap, #comment_wrap ul {
	overflow:hidden;
	margin-left:0;
}
#comment_wrap .s {
	overflow:hidden;
	position:relative;
	display:block;
	padding:0;
	margin-bottom:15px;
	
	border: none;
}
#comment_wrap ul.children .s {
	border:none;
	padding: 15px 15px;
	
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	
	background: #F8F8F8;
}
#comment_wrap ul.children .s p.comment_details {
	top: 0;
}

#comment_wrap p.comment_details {
	font-size:11px;
	font-style:normal;
	position:absolute;
	top:14px;
	right:10px;
	margin:0;
}

#comment_wrap .comment_author_date,
.logged-in-as,
.reply {
	display:block;
	margin-bottom:10px;
	color: inherit;
	
	font-family: Georgia,"Times New Roman",Times, serif;
	font-style: italic;
}
	.reply  {
		margin-bottom: 0;
	}
#comment_wrap .comment_author_date a {
	color: inherit;
}

.comment_author {
	font-size:14px;
	text-transform:uppercase;
	font-family:"AllerRegular";
	line-height:1.1;
	
	margin-bottom:15px;
	display:block;
}
.comment_date {
	color:#B2B1B1;
}

#commentform textarea {
	width: 98%;
}
#commentform input {
	width:45%;
}

#reply-title {
	margin-bottom: 15px;
}
.form-submit {
	margin-bottom: 0;
}


#footer textarea,
#footer input {
	box-shadow: none;
	border:1px solid #2F2F2F;
}
	#footer .column_two-six textarea,
	#footer .column_two-six  input {
		width: 295px;
	}
	#footer .column_one-six textarea,
	#footer .column_one-six  input {
		width: 125px;
	}

.one-fourth input,
.one-fourth textarea {
	width: 209px;
}
.one-third input,
.one-third textarea {
	width: 297px;
}


p textarea,
p input {
	margin-top: 3px;
}

input {
	width: 50%;
}
textarea {
	width: 98%;
}
textarea, input, #author, #email, #url,
textarea#comment {
	border:1px solid #E5E5E5;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	
	margin:0;
	padding:7px 5px;
	
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) inset, -5px -5px 0 0 #F8F8F8, 5px 5px 0 0 #F8F8F8, 5px 0 0 0 #F8F8F8, 0 5px 0 0 #F8F8F8, 5px -5px 0 0 #F8F8F8, -5px 5px 0 0 #F8F8F8;
}
textarea:focus, input:focus {
	border:1px solid #cccccc !important;
}

input.submit:hover,
#submit:hover,
.wpcf7-submit:hover,
input[type=submit]:hover {
	cursor:pointer;
	border:1px solid #AFAFAF;
}

input.submit,
#submit,
.wpcf7-submit,
input[type=submit] {
	width:auto !important;	
	margin: 0;
	
	padding:6px 10px 5px 10px;
	border:1px solid #e1e1e1;
	box-shadow: none;
	
	position: relative;
	top: -2px;
	
	line-height:1.3;
	text-decoration: none;
	vertical-align: middle;
	display:inline-block;
	max-width: 250px;

	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}
.wpcf7 p {
	margin-bottom: 7px;
}
div.wpcf7-validation-errors {
	border-width: 1px;
	border-style: dotted;
	padding: 10px 15px;
}
span.wpcf7-not-valid-tip {
	padding: 5px 10px;
	width: 225px;
	
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}


span.dropcap {
	background: #131313;
	color: #ffffff;
	float: left;
	position: relative;
	top: 4px;
	width: 30px;
	height: 30px;
	line-height: 30px;
	text-align: center;
	margin: 0 10px 0px 0;
}
/* Visual composer elements styling
---------------------------------------------------------- */
.ss_nav {
	z-index: 40;
}
.vc_text_separator {
	border-color: #E5E5E5;
	top: -12px;
	margin: 10px 0 30px 0;
}
.vc_text_separator div {
	background: #131313;
	color: #aaaaaa;
	text-transform: uppercase;
	font-size: 0.9em;
	padding: 2px 17px 2px 17px;
	top: 12px;
	
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
}


.small_tour_menu {
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}
.tourPrevSlide {
	background: url(images/res/arrow_l.gif) no-repeat left center;
	padding-left: 15px;
}
.tourNextSlide {
	background: url(images/res/arrow_r.gif) no-repeat right center;
	padding-right: 15px;
}

.wpb_slider_fading div.description {
	left: 0;
}
.wpb_carousel .prev,
.wpb_carousel .next {
	background: #FFFFFF;
	background-color: rgba(255, 255, 255, 0.8);
	top:0;
	
	width: 25px;
	height: 25px;
	font-size: 1px;
	text-indent: 9999px;
	overflow: hidden;
	border: 1px solid #E5E5E5;
	padding: 0;
}
.wpb_carousel .prev {
	background-image: url(images/res/arrow_l.gif);
	background-repeat: no-repeat;
	background-position: center center;
	right: 29px;
}
.wpb_carousel .next {
	background-image: url(images/res/arrow_r.gif);
	background-repeat: no-repeat;
	background-position: center center;
}

.wpb_separator {
	margin: 19px 0 0 0;
}

h4.wpb_toggle:hover {
	cursor: pointer;
}


.wpb_tabs_nav a {
	border-radius: 5px 5px 0 0;
	border:1px solid #E5E5E5;
	background: #FBFBFB;
	margin-right: 2px;
	padding: 7px 15px 5px 15px;
	font-size: 1em;
}
	.wpb_tabs_nav .activeSlide {
		background: #ffffff;
		padding: 7px 15px 5px 15px;
	}
	
.wpb_tabs {
	border: 1px solid #E5E5E5;
	background: #ffffff;
	padding-bottom: 5px;
}
	.wpb_tabs .tab {
		margin: 12px 15px 0 15px;
		width: inherit !important;
	}
	
	
.wpb_button,
.wpb_vc_button {
	border: none;
	box-shadow: 0px 0px 1px #c1c1c1;
	margin-bottom: 20px;
	margin-right: 12px;
}

.wpb_vc_messagebox {
	margin-bottom: 20px;
	background-position: 15px 50%;
}
	.wpb_vc_messagebox .messagebox_text {
		margin-left: 45px;
	}

.sidebar .wpb_slider_fading img {
	/*background: #FFFFFF;
	padding: 5px;*/
}
.wpb_featured_slide {
	background: #E5E5E5;
	padding: 5px
}

.wpb_twitter_widget .tweets li {
	border-bottom: 1px solid #E5E5E5;
	border-color: rgba(0, 0, 0, 0.1);
}
	.wpb_twitter_widget .tweets .tweet_time {
		font-size: 0.9em;
		display: block;
		background: url("images/calendar_day.gif") no-repeat left 5px;
		padding-left: 18px;
	}
	.wpb_twitter_widget .tweets {
		margin-bottom: 10px;
	}

.wpb_call_to_action {
	background: #F8F8F8 url(images/bg/bg_light.jpg);
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	border: 1px solid #E5E5E5;
}
.wpb_call_to_action .wpb_call_text {
	font-family: Georgia,"Times New Roman",Times, serif;
	font-style: italic;
	font-size: 1.5em;
}
.cta_align_left .wpb_button,
.cta_align_right .wpb_button {
	margin-top: 2px;
}
/*
	.cta_align_right .wpb_button {
		margin-right: 20px;
	}
	.cta_align_left .wpb_button {
		margin-left: 20px;
	}
*/
/* Teasers grid
---------------------------------------------------------- */
/*.columns_count_1_title_thumbnail_text h3 {
	position: inherit;
	background: none;
}
	.columns_count_1_title_thumbnail_text h3 a {
		margin: inherit;
		display: inherit;
	}*/

.title_thumbnail_text_full-width {
	margin-bottom: 0;
}

	.title_thumbnail_text_full-width .teaser_grid,
	.columns_count_1_thumbnail_title_text .teaser_grid,
	.columns_count_1_thumbnail_text .teaser_grid,
	.columns_count_1_thumbnail_title .teaser_grid,
	.columns_count_1_thumbnail .teaser_grid,
	.columns_count_1_title_text .teaser_grid {
		margin-bottom: 20px;
		position: relative;
	}
	
	.link_image {
		border: 3px solid #ffffff;
		overflow: hidden;
		display: block;
	}
	.posts_grid .link_image,
	.posts_grid .img_no_link_wrap {
		overflow: hidden;
		display: block;
	}
	.columns_count_1_thumbnail_title_text .link_image,
	.columns_count_1_title_thumbnail_text .link_image,
	.columns_count_1_thumbnail_text .link_image {
		float: left;
		width: 484px;
		margin-right: 40px;
	}
	.columns_count_1_title_thumbnail_text .teaser_title,
	.columns_count_1_title_thumbnail_text .teaser_content,
	
	.columns_count_1_thumbnail_title_text .teaser_title,
	.columns_count_1_thumbnail_title_text .teaser_content,
	.columns_count_1_thumbnail_text .teaser_content
	 {
		float: right;
		width: 490px;
		margin-top: 0;
	}
	
.columns_count_2_thumbnail_title_text .teaser_title,
.columns_count_3_thumbnail_title_text .teaser_title,
.columns_count_4_thumbnail_title_text .teaser_title,

.columns_count_2_thumbnail_text .teaser_content,
.columns_count_3_thumbnail_text .teaser_content,
.columns_count_4_thumbnail_text .teaser_content,
.single_portfolio_th .teaser_title {
	margin-top: 10px;
}



/* Stupid IE
---------------------------------------------------------- */
.ie #footer .widget li,
.ie .latest_tweet .tweets .tweet_list li,
.ie .header_menu .sub-menu li,
.ie .small_tour_menu_ul li,
.ie .wpb_twitter_widget .tweets li,
.ie .widget li,
.ie .wpb_carousel .wpb_wrapper ul li {
	list-style-image: none;
	list-style-position: outside;
	list-style-type: none;
	margin-left: 0;
}

.is .small_tour_slide {
	background-color: none !important;
}







/* NEW VARIATION
---------------------------------------------------------- */
.single_portfolio_th .prettyPhoto img {
	border: none;
}
.link_image,
.prettyPhoto img,
.posts_grid .img_no_link_wrap {
	border: 3px solid #E5E5E5;
	transition: border-color 0.5s linear;
    -moz-transition: border-color 0.5s linear;
    -webkit-transition: border-color 0.5s linear;
    -o-transition: border-color 0.5s linear;
}
	.link_image:hover,
	.h_portfolio_th:hover .link_image,
	.h_portfolio_th_half:hover .link_image,
	.teaser_grid:hover .link_image,
	.teaser_grid:hover .img_no_link_wrap {
		border-color: #437EA1;
	}	

.teaser_content img.avatar,
.post_content img.avatar {
    position: relative;
    top: 5px;
    border: 1px solid #FFFFFF;
    -o-box-shadow:0px 0px 2px #999999;
	-moz-box-shadow:0px 0px 2px #999999;
	-webkit-box-shadow:0px 0px 2px #999999;
	box-shadow:0px 0px 2px #999999;
    float: left;
    margin: 0 15px 0 0;
}

.grey_box .wpb_wrapper,
.sidebar .wpb_twitter_widget .wpb_wrapper {
	padding: 25px 30px 20px 30px;
	
	border: 1px solid #E5E5E5;
	background-image: url(images/bg/bg_light.jpg);
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	
	box-shadow: 0 1px 3px rgba(255, 255, 255, 1) inset;
}
