<?php if($data['primary_color']): ?>
a:hover, .tooltip-shortcode{
	color:<?php echo $data['primary_color']; ?>;
}
#nav ul .current_page_item a, #nav ul .current-menu-item a, #nav ul > .current-menu-parent a,
#sticky-nav ul .current_page_item a, #sticky-nav ul .current-menu-item a, #sticky-nav ul > .current-menu-parent a,
.footer-area ul li a:hover,
#slidingbar-area ul li a:hover,
.portfolio-tabs li.active a, .faq-tabs li.active a,
.project-content .project-info .project-info-box a:hover,
.about-author .title a,
span.dropcap,.footer-area a:hover,#slidingbar-area a:hover,.copyright a:hover,
#sidebar .widget_categories li a:hover,
#main .post h2 a:hover,
#sidebar .widget li a:hover,
#nav ul a:hover, #sticky-nav ul a:hover,
.date-and-formats .format-box i,
h5.toggle:hover a,
.tooltip-shortcode,.content-box-percentage,
.more a:hover:after,.read-more:hover:after,.pagination-prev:hover:before,.pagination-next:hover:after,.bbp-topic-pagination .prev:hover:before,.bbp-topic-pagination .next:hover:after,
.single-navigation a[rel=prev]:hover:before,.single-navigation a[rel=next]:hover:after,
#sidebar .widget_nav_menu li a:hover:before,#sidebar .widget_categories li a:hover:before,
#sidebar .widget .recentcomments:hover:before,#sidebar .widget_recent_entries li a:hover:before,
#sidebar .widget_archive li a:hover:before,#sidebar .widget_pages li a:hover:before,
#sidebar .widget_links li a:hover:before,.side-nav .arrow:hover:after,.woocommerce-tabs .tabs a:hover .arrow:after,
.star-rating:before,.star-rating span:before,.price ins .amount,
.price > .amount,.woocommerce-pagination .prev:hover,.woocommerce-pagination .next:hover,.woocommerce-pagination .prev:hover:before,.woocommerce-pagination .next:hover:after,
.woocommerce-tabs .tabs li.active a,.woocommerce-tabs .tabs li.active a .arrow:after,
#wrapper .cart-checkout a:hover,#wrapper .cart-checkout a:hover:before,
.widget_shopping_cart_content .total .amount,.widget_layered_nav li a:hover:before,
.widget_product_categories li a:hover:before,#header .my-account-link-active:after,.woocommerce-side-nav li.active a,.woocommerce-side-nav li.active a:after,.my_account_orders .order-number a,.shop_table .product-subtotal .amount,
.cart_totals .total .amount,form.checkout .shop_table tfoot .total .amount,#final-order-details .mini-order-details tr:last-child .amount,.rtl .more a:hover:before,.rtl .read-more:hover:before,#header .my-cart-link-active:after,#wrapper #sidebar .current_page_item > a,#wrapper #sidebar .current-menu-item > a,#wrapper #sidebar .current_page_item > a:before,#wrapper #sidebar .current-menu-item > a:before,#wrapper .footer-area .current_page_item > a,#wrapper .footer-area .current-menu-item > a,#wrapper .footer-area .current_page_item > a:before,#wrapper .footer-area .current-menu-item > a:before,#wrapper #slidingbar-area .current_page_item > a,#wrapper #slidingbar-area .current-menu-item > a,#wrapper #slidingbar-area .current_page_item > a:before,#wrapper #slidingbar-area .current-menu-item > a:before,.side-nav ul > li.current_page_item > a,.side-nav li.current_page_ancestor > a,
.gform_wrapper span.ginput_total,.gform_wrapper span.ginput_product_price,.ginput_shipping_price,
.bbp-topics-front ul.super-sticky a:hover, .bbp-topics ul.super-sticky a:hover, .bbp-topics ul.sticky a:hover, .bbp-forum-content ul.sticky a:hover{
	color:<?php echo $data['primary_color']; ?> !important;
}
#sidebar .image .image-extras .image-extras-content a:hover { color: #333333 !important; }
.star-rating:before,.star-rating span:before {
	color:<?php echo $data['primary_color']; ?> !important;
}
.tagcloud a:hover,#slidingbar-area .tagcloud a:hover,.footer-area .tagcloud a:hover{ color: #FFFFFF !important; text-shadow: none !important; -moz-text-shadow: none !important; -webkit-text-shadow: none !important; }
#nav ul .current_page_item a, #nav ul .current-menu-item a, #nav ul > .current-menu-parent a,
#sticky-nav ul .current_page_item a, #sticky-nav ul .current-menu-item a, #sticky-nav ul > .current-menu-parent a,
#nav ul ul,#sticky-nav ul ul,#navigation li.current-menu-ancestor a,
.reading-box,
.portfolio-tabs li.active a, .faq-tabs li.active a,
.tab-holder .tabs li.active a,
.post-content blockquote,
.progress-bar-content,
.pagination .current,
.bbp-topic-pagination .current,
.pagination a.inactive:hover,
.woocommerce-pagination .page-numbers:hover,
#nav ul a:hover,#sticky-nav ul a:hover,.woocommerce-pagination .current,
.tagcloud a:hover,#header .my-account-link:hover:after,body #header .my-account-link-active:after,
#bbpress-forums div.bbp-topic-tags a:hover{
	border-color:<?php echo $data['primary_color']; ?> !important;
}
#navigation li.current-menu-ancestor a {
	color: <?php echo $data['primary_color']; ?> !important;
}
.side-nav li.current_page_item a{
	border-right-color:<?php echo $data['primary_color']; ?> !important;
}
.rtl .side-nav li.current_page_item a{
	border-left-color:<?php echo $data['primary_color']; ?> !important;
}
.header-v2 .header-social, .header-v3 .header-social, .header-v4 .header-social,.header-v5 .header-social,.header-v2{
	border-top-color:<?php echo $data['primary_color']; ?> !important;
}
h5.toggle.active span.arrow,
.post-content ul.circle-yes li:before,
.progress-bar-content,
.pagination .current,
.bbp-topic-pagination .current,
.header-v3 .header-social,.header-v4 .header-social,.header-v5 .header-social,
.date-and-formats .date-box,.table-2 table thead,
.onsale,.woocommerce-pagination .current,
.woocommerce .social-share li a:hover i,
.price_slider_wrapper .ui-slider .ui-slider-range,
.tagcloud a:hover,.cart-loading,
#toTop:hover,
#bbpress-forums div.bbp-topic-tags a:hover,
.main-nav-search-form input[type="submit"]:hover, .search-page-search-form input[type="submit"]:hover,
ul.arrow li:before,
p.demo_store {
	background-color:<?php echo $data['primary_color']; ?> !important;
}
<?php if(wp_is_mobile()): ?>
<?php if($data['status_totop_mobile']): ?>
#toTop:hover {background-color: #333333 !important;}
<?php endif; ?>
<?php endif; ?>
.bbp-topics-front ul.super-sticky, .bbp-topics ul.super-sticky, .bbp-topics ul.sticky, .bbp-forum-content ul.sticky	{
	background-color: #ffffe8 !important;
	opacity: 1;
}
<?php endif; ?>

<?php if($data['slidingbar_widgets']): ?>
<?php if($data['slidingbar_top_border']): ?>
#slidingbar-area { border-bottom: 3px solid #363839; }
.sb_toggle { bottom: -43px; }
.header-wrapper { margin-top: 3px; }
.admin-bar p.demo_store { padding-top: 13px; }
<?php endif; ?>

<?php if($data['slidingbar_bg_color']):
if($data['slidingbar_bg_color_transparency']) {
	$slidingbar_opacity = '0.95';
} else {
	$slidingbar_opacity = '1';
}
$rgb = avada_hex2rgb($data['slidingbar_bg_color']);
$rgba= "rgba(".$rgb[0].','.$rgb[1].','.$rgb[2].','.$slidingbar_opacity.')';
?>
#slidingbar {
	background-color:<?php echo $rgb ?> !important;
	background-color:<?php echo $rgba ?> !important;
}
.sb_toggle {
	border-color: transparent <?php echo $rgb ?> transparent transparent !important;
	border-color: transparent <?php echo $rgba ?> transparent transparent !important;
}
#slidingbar-area .pyre_tabs .tab-holder .tabs li {
	border-color: <?php echo $rgb ?> !important;
	border-color: <?php echo $rgba ?> !important;
}
<?php if($data['slidingbar_top_border']): ?>
#slidingbar-area {
	border-bottom: 3px solid <?php echo $rgb ?> !important;
	border-bottom: 3px solid <?php echo $rgba ?> !important;
}
.sb_toggle { bottom: -43px; }
<?php endif; ?>
<?php endif; ?>
<?php endif; ?>

<?php if(!$data['main_nav_icon_circle']): ?>
	#header .my-cart-link:after, #header a.search-link:after,
	#small-nav .my-cart-link:after, #small-nav a.search-link:after{ border: none !important; }

<?php endif; ?>

<?php if($data['header_sticky_nav_padding']): ?>
.sticky-header #sticky-nav ul li { padding-right: <?php echo $data['header_sticky_nav_padding']; ?>px; }
.sticky-header #sticky-nav ul li ul li { padding-right: 0; }
<?php endif; ?>

<?php if($data['header_sticky_nav_font_size']): ?>
.sticky-header #sticky-nav > ul > li a { font-size: <?php echo $data['header_sticky_nav_font_size']; ?>px; }
.sticky-header .cart-checkout .cart-link a, .sticky-header .cart-checkout .checkout-link a { font-size: 12px !important; }
<?php endif; ?>

<?php if($data['header_sticky_bg_color']): ?>
<?php $header_sticky_bg_color_hex = avada_hex2rgb($data['header_sticky_bg_color']); ?>

<?php if($data['header_sticky_opacity']): ?>
body #header.sticky-header .sticky-shadow{background:rgba(<?php echo $header_sticky_bg_color_hex[0]; ?>, <?php echo $header_sticky_bg_color_hex[1]; ?>, <?php echo $header_sticky_bg_color_hex[2]; ?>, <?php echo $data['header_sticky_opacity']; ?>) !important;}
.no-rgba #header.sticky-header .sticky-shadow{background:<?php echo $data['header_sticky_bg_color']; ?>; filter: progid: DXImageTransform.Microsoft.Alpha(Opacity=<?php echo $data['header_sticky_opacity']*100; ?>); opacity: <?php echo $data['header_sticky_opacity']; ?>;}
<?php else: ?>
body #header.sticky-header .sticky-shadow{background:rgba(<?php echo $header_sticky_bg_color_hex[0]; ?>, <?php echo $header_sticky_bg_color_hex[1]; ?>, <?php echo $header_sticky_bg_color_hex[2]; ?>, 0.97) !important;}
.no-rgba #header.sticky-header .sticky-shadow{background:<?php echo $data['header_sticky_bg_color']; ?>; filter: progid: DXImageTransform.Microsoft.Alpha(Opacity=97); opacity: 0.97;}
<?php endif; ?>
<?php else: ?>
.no-rgba #header.sticky-header .sticky-shadow{background: #ffffff; filter: progid: DXImageTransform.Microsoft.Alpha(Opacity=97); opacity: 0.97;}
<?php endif; ?>

<?php if($data['header_bg_color']): ?>
<?php $header_bg_color_hex = avada_hex2rgb($data['header_bg_color']); ?>

#header,#small-nav,#header .login-box,#header .cart-contents,#small-nav .login-box,#small-nav .cart-contents{
	background-color:<?php echo $data['header_bg_color']; ?> !important;
}
<?php endif; ?>

<?php if($data['content_bg_color']): ?>
#main,#wrapper{
	background-color:<?php echo $data['content_bg_color']; ?> !important;
}
<?php endif; ?>

<?php if($data['footer_bg_color']): ?>
.footer-area{
	background-color:<?php echo $data['footer_bg_color']; ?> !important;
}
.footer-area .pyre_tabs .tab-holder .tabs li {
	border-color:<?php echo $data['footer_bg_color']; ?> !important;
}
<?php endif; ?>

<?php if($data['footer_border_color']): ?>
.footer-area{
	border-color:<?php echo $data['footer_border_color']; ?> !important;
}
<?php endif; ?>

<?php if($data['copyright_bg_color']): ?>
#footer{
	background-color:<?php echo $data['copyright_bg_color']; ?> !important;
}
<?php endif; ?>

<?php if($data['copyright_border_color']): ?>
#footer{
	border-color:<?php echo $data['copyright_border_color']; ?> !important;
}
<?php endif; ?>

<?php if($data['pricing_box_color']): ?>
.sep-boxed-pricing ul li.title-row{
	background-color:<?php echo $data['pricing_box_color']; ?> !important;
	border-color:<?php echo $data['pricing_box_color']; ?> !important;
}
.pricing-row .exact_price, .pricing-row sup{
	color:<?php echo $data['pricing_box_color']; ?> !important;
}
<?php endif; ?>
<?php if($data['image_gradient_top_color'] && $data['image_gradient_bottom_color']): ?>
<?php
$imgr_gtop = avada_hex2rgb($data['image_gradient_top_color']);
$imgr_gbot = avada_hex2rgb($data['image_gradient_bottom_color']);
if($data['image_rollover_opacity']) {
	$opacity = $data['image_rollover_opacity'];
} else{
	$opacity = '1';
}
$imgr_gtop_string = 'rgba('.$imgr_gtop[0].','.$imgr_gtop[1].','.$imgr_gtop[2].','.$opacity.')';
$imgr_gbot_string = 'rgba('.$imgr_gbot[0].','.$imgr_gbot[1].','.$imgr_gbot[2].','.$opacity.')';
?>
.image .image-extras{
	background-image: linear-gradient(top, <?php echo $imgr_gtop_string; ?> 0%, <?php echo $imgr_gbot_string; ?> 100%);
	background-image: -o-linear-gradient(top, <?php echo $imgr_gtop_string; ?> 0%, <?php echo $imgr_gbot_string; ?> 100%);
	background-image: -moz-linear-gradient(top, <?php echo $imgr_gtop_string; ?> 0%, <?php echo $imgr_gbot_string; ?> 100%);
	background-image: -webkit-linear-gradient(top, <?php echo $imgr_gtop_string; ?> 0%, <?php echo $imgr_gbot_string; ?> 100%);
	background-image: -ms-linear-gradient(top, <?php echo $imgr_gtop_string; ?> 0%, <?php echo $imgr_gbot_string; ?> 100%);

	background-image: -webkit-gradient(
		linear,
		left top,
		left bottom,
		color-stop(0, <?php echo $imgr_gtop_string; ?>),
		color-stop(1, <?php echo $imgr_gbot_string; ?>)
	);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='<?php echo $data['image_gradient_top_color']; ?>', endColorstr='<?php echo $data['image_gradient_bottom_color']; ?>')
			progid: DXImageTransform.Microsoft.Alpha(Opacity=0);
}
.no-cssgradients .image .image-extras{
	background:<?php echo $data['image_gradient_top_color']; ?>;
}
.image:hover .image-extras {
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='<?php echo $data['image_gradient_top_color']; ?>', endColorstr='<?php echo $data['image_gradient_bottom_color']; ?>')
 			progid: DXImageTransform.Microsoft.Alpha(Opacity=100);
 }
<?php endif; ?>
<?php if($data['button_gradient_top_color'] && $data['button_gradient_bottom_color'] && $data['button_gradient_text_color']): ?>
#main .portfolio-one .button,
#main .comment-submit,
#reviews input#submit,
.comment-form input[type="submit"],
.wpcf7-form input[type="submit"],
.bbp-submit-wrapper button,
.button.default,
.price_slider_amount button,
.gform_wrapper .gform_button{
	background: <?php echo $data['button_gradient_bottom_color']; ?>;

	color: <?php echo $data['button_gradient_text_color']; ?> !important;
	background-image: linear-gradient(top, <?php echo $data['button_gradient_top_color']; ?> 0%, <?php echo $data['button_gradient_bottom_color']; ?> 100%);
	background-image: -o-linear-gradient(top, <?php echo $data['button_gradient_top_color']; ?> 0%, <?php echo $data['button_gradient_bottom_color']; ?> 100%);
	background-image: -moz-linear-gradient(top, <?php echo $data['button_gradient_top_color']; ?> 0%, <?php echo $data['button_gradient_bottom_color']; ?> 100%);
	background-image: -webkit-linear-gradient(top, <?php echo $data['button_gradient_top_color']; ?> 0%, <?php echo $data['button_gradient_bottom_color']; ?> 100%);
	background-image: -ms-linear-gradient(top, <?php echo $data['button_gradient_top_color']; ?> 0%, <?php echo $data['button_gradient_bottom_color']; ?> 100%);

	background-image: -webkit-gradient(
		linear,
		left top,
		left bottom,
		color-stop(0, <?php echo $data['button_gradient_top_color']; ?>),
		color-stop(1, <?php echo $data['button_gradient_bottom_color']; ?>)
	);
	border:1px solid <?php echo $data['button_gradient_bottom_color']; ?>;

	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='<?php echo $data['button_gradient_top_color']; ?>', endColorstr='<?php echo $data['button_gradient_bottom_color']; ?>');
}
.no-cssgradients #main .portfolio-one .button,
.no-cssgradients #main .comment-submit,
.no-cssgradients #reviews input#submit,
.no-cssgradients .comment-form input[type="submit"],
.no-cssgradients .wpcf7-form input[type="submit"],
.no-cssgradients .bbp-submit-wrapper button,
.no-cssgradients .button.default,
.no-cssgradients .price_slider_amount button,
.no-cssgradients .gform_wrapper .gform_button{
	background:<?php echo $data['button_gradient_top_color']; ?>;
}
#main .portfolio-one .button:hover,
#main .comment-submit:hover,
#reviews input#submit:hover,
.comment-form input[type="submit"]:hover,
.wpcf7-form input[type="submit"]:hover,
.bbp-submit-wrapper button:hover,
.button.default:hover,
.price_slider_amount button:hover,
.gform_wrapper .gform_button:hover{
	background: <?php echo $data['button_gradient_top_color']; ?>;
	color: <?php echo $data['button_gradient_text_color']; ?> !important;
	background-image: linear-gradient(top, <?php echo $data['button_gradient_bottom_color']; ?> 0%, <?php echo $data['button_gradient_top_color']; ?> 100%);
	background-image: -o-linear-gradient(top, <?php echo $data['button_gradient_bottom_color']; ?> 0%, <?php echo $data['button_gradient_top_color']; ?> 100%);
	background-image: -moz-linear-gradient(top, <?php echo $data['button_gradient_bottom_color']; ?> 0%, <?php echo $data['button_gradient_top_color']; ?> 100%);
	background-image: -webkit-linear-gradient(top, <?php echo $data['button_gradient_bottom_color']; ?> 0%, <?php echo $data['button_gradient_top_color']; ?> 100%);
	background-image: -ms-linear-gradient(top, <?php echo $data['button_gradient_bottom_color']; ?> 0%, <?php echo $data['button_gradient_top_color']; ?> 100%);

	background-image: -webkit-gradient(
		linear,
		left top,
		left bottom,
		color-stop(0, <?php echo $data['button_gradient_bottom_color']; ?>),
		color-stop(1, <?php echo $data['button_gradient_top_color']; ?>)
	);
	border:1px solid <?php echo $data['button_gradient_bottom_color']; ?>;

	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='<?php echo $data['button_gradient_bottom_color']; ?>', endColorstr='<?php echo $data['button_gradient_top_color']; ?>');
}
.no-cssgradients #main .portfolio-one .button:hover,
.no-cssgradients #main .comment-submit:hover,
.no-cssgradients #reviews input#submit:hover,
.no-cssgradients .comment-form input[type="submit"]:hover,
.no-cssgradients .wpcf7-form input[type="submit"]:hover,
.no-cssgradients .bbp-submit-wrapper button:hover,
.no-cssgradients .button.default,
.no-cssgradients .price_slider_amount button:hover,
.no-cssgradients .gform_wrapper .gform_button{
	background:<?php echo $data['button_gradient_bottom_color']; ?>;
}
<?php endif; ?>

<?php if($data['page_title_border_color']): ?>
.page-title-container{border-color:<?php echo $data['page_title_border_color']; ?> !important;}
<?php endif; ?>

.footer-area{
	<?php if($data['footerw_bg_image']): ?>
	background-image:url(<?php echo $data['footerw_bg_image']; ?>);
	background-repeat:<?php echo $data['footerw_bg_repeat']; ?>;
	<?php if($data['footerw_bg_pos']): ?>
	background-position:<?php echo $data['footerw_bg_pos']; ?>;
	<?php endif; ?>
		<?php if($data['footerw_bg_full']): ?>
		background-attachment:scroll;
		background-position:center center;
		-webkit-background-size: cover;
		-moz-background-size: cover;
		-o-background-size: cover;
		background-size: cover;
		<?php endif; ?>

	<?php if($data['footer_area_bg_parallax']): ?>
	background-attachment: fixed !important;
	background-position:top center;
	<?php endif; ?>
	<?php endif; ?>

	<?php if($data['footer_area_top_padding']): ?>
	padding-top: <?php echo $data['footer_area_top_padding']; ?> !important;
	<?php endif; ?>

	<?php if($data['footer_area_bottom_padding']): ?>
	padding-bottom: <?php echo $data['footer_area_bottom_padding']; ?> !important;
	<?php endif; ?>
}

#footer{
	<?php if($data['copyright_top_padding']): ?>
	padding-top: <?php echo $data['copyright_top_padding']; ?> !important;
	<?php endif; ?>

	<?php if($data['copyright_bottom_padding']): ?>
	padding-bottom: <?php echo $data['copyright_bottom_padding']; ?> !important;
	<?php endif; ?>
}

<?php if($data['icon_circle_color']): ?>
.fontawesome-icon.circle-yes{
	background-color:<?php echo $data['icon_circle_color']; ?> !important;
}
<?php endif; ?>

<?php if($data['icon_border_color']): ?>
.fontawesome-icon.circle-yes{
	border-color:<?php echo $data['icon_border_color']; ?> !important;
}
<?php endif; ?>

<?php if($data['icon_color']): ?>
.fontawesome-icon{
	color:<?php echo $data['icon_color']; ?> !important;
}
<?php endif; ?>

<?php if($data['title_border_color']): ?>
.title-sep,.product .product-border{
	border-color:<?php echo $data['title_border_color']; ?> !important;
}
<?php endif; ?>

<?php if($data['testimonial_bg_color']): ?>
.review blockquote q,.post-content blockquote,form.checkout .payment_methods .payment_box{
	background-color:<?php echo $data['testimonial_bg_color']; ?> !important;
}
.review blockquote div:after{
	border-top-color:<?php echo $data['testimonial_bg_color']; ?> !important;
}
<?php endif; ?>

<?php if($data['testimonial_text_color']): ?>
.review blockquote q,.post-content blockquote{
	color:<?php echo $data['testimonial_text_color']; ?> !important;
}
<?php endif; ?>

<?php
if(
	$data['custom_font_woff'] && $data['custom_font_ttf'] &&
	$data['custom_font_svg'] && $data['custom_font_eot']
):
?>
@font-face {
	font-family: 'MuseoSlab500Regular';
	src: url('<?php echo $data['custom_font_eot']; ?>');
	src:
		url('<?php echo $data['custom_font_eot']; ?>?#iefix') format('eot'),
		url('<?php echo $data['custom_font_woff']; ?>') format('woff'),
		url('<?php echo $data['custom_font_ttf']; ?>') format('truetype'),
		url('<?php echo $data['custom_font_svg']; ?>#MuseoSlab500Regular') format('svg');
    font-weight: 400;
    font-style: normal;
}
<?php $custom_font = true; endif; ?>

<?php
if($data['google_body'] != 'Select Font') {
	$font = '"'.$data['google_body'].'", Arial, Helvetica, sans-serif !important';
} elseif($data['standard_body'] != 'Select Font') {
	$font = $data['standard_body'].' !important';
}
?>

body,#nav ul li ul li a,#sticky-nav ul li ul li a
.more,
.avada-container h3,
.meta .date,
.review blockquote q,
.review blockquote div strong,
.image .image-extras .image-extras-content h4,
.image .image-extras .image-extras-content h4 a,
.project-content .project-info h4,
.post-content blockquote,
.button.large,
.button.small,
.ei-title h3,.cart-contents,
.comment-form input[type="submit"],
.wpcf7-form input[type="submit"],
.gform_wrapper .gform_button,
.woocommerce-success-message .button,
.page-title h3,
.blog-shortcode h3.timeline-title{
	font-family:<?php echo $font; ?>;
}
.avada-container h3,
.review blockquote div strong,
.footer-area  h3,
#slidingbar-area  h3,
.button.large,
.button.small,
.comment-form input[type="submit"],
.wpcf7-form input[type="submit"],
.gform_wrapper .gform_button{
	font-weight:bold;
}
.meta .date,
.review blockquote q,
.post-content blockquote{
	font-style:italic;
}

<?php
if(!$custom_font && $data['google_nav'] != 'Select Font') {
	$nav_font = '"'.$data['google_nav'].'", Arial, Helvetica, sans-serif !important';
} elseif(!$custom_font && $data['standard_nav'] != 'Select Font') {
	$nav_font = $data['standard_nav'].' !important';
}
if(isset($nav_font)):
?>

#nav, #sticky-nav, #navigation,
.side-nav li a{
	font-family:<?php echo $nav_font; ?>;
}
<?php endif; ?>

<?php
if(!$custom_font && $data['google_headings'] != 'Select Font') {
	$headings_font = '"'.$data['google_headings'].'", Arial, Helvetica, sans-serif !important';
} elseif(!$custom_font && $data['standard_headings'] != 'Select Font') {
	$headings_font = $data['standard_headings'].' !important';
}
if(isset($headings_font)):
?>

#main .reading-box h2,
#main h2,
.page-title h1,
.image .image-extras .image-extras-content h3,
#main .post h2,
#sidebar .widget h3,
.tab-holder .tabs li a,
.share-box h4,
.project-content h3,
.author .author_title,
h5.toggle a,
.full-boxed-pricing ul li.title-row,
.full-boxed-pricing ul li.pricing-row,
.sep-boxed-pricing ul li.title-row,
.sep-boxed-pricing ul li.pricing-row,
.person-author-wrapper,
.post-content h1, .post-content h2, .post-content h3, .post-content h4, .post-content h5, .post-content h6,
.ei-title h2, #header .tagline,
table th,.project-content .project-info h4,
.woocommerce-success-message .msg,.product-title{
	font-family:<?php echo $headings_font; ?>;
}
<?php endif; ?>

<?php
if($data['google_footer_headings'] != 'Select Font') {
	$font = '"'.$data['google_footer_headings'].'", Arial, Helvetica, sans-serif !important';
} elseif($data['standard_footer_headings'] != 'Select Font') {
	$font = $data['standard_footer_headings'].' !important';
}
?>

.footer-area  h3,#slidingbar-area  h3{
	font-family:<?php echo $font; ?>;
}

<?php if($data['body_font_size']): ?>
body,#sidebar .slide-excerpt h2, .footer-area .slide-excerpt h2,#slidingbar-area .slide-excerpt h2{
	font-size:<?php echo $data['body_font_size']; ?>px;
	<?php
	$line_height = round((1.5 * $data['body_font_size']));
	?>
	line-height:<?php echo $line_height; ?>px;
}
.project-content .project-info h4,.gform_wrapper label,.gform_wrapper .gfield_description{
	font-size:<?php echo $data['body_font_size']; ?>px !important;
	<?php
	$line_height = round((1.5 * $data['body_font_size']));
	?>
	line-height:<?php echo $line_height; ?>px !important;
}
.blog-shortcode h3.timeline-title { font-size:<?php echo $data['body_font_size']; ?>px;line-height:<?php echo $data['body_font_size']; ?>px; }
.counter-box-content { font-size:<?php echo $data['body_font_size']; ?>px; }
<?php endif; ?>

<?php if($data['body_font_lh']): ?>
body,#sidebar .slide-excerpt h2, .footer-area .slide-excerpt h2,#slidingbar-area .slide-excerpt h2{
	line-height:<?php echo $data['body_font_lh']; ?>px !important;
}
.project-content .project-info h4{
	line-height:<?php echo $data['body_font_lh']; ?>px !important;
}
<?php endif; ?>

<?php if($data['nav_font_size']): ?>
#nav,#sticky-nav,#navigation{font-size:<?php echo $data['nav_font_size']; ?>px !important;}
<?php endif; ?>

<?php if($data['nav_dropdown_font_size']): ?>
#nav ul li ul li a,#sticky-nav ul li ul li a{font-size:<?php echo $data['nav_dropdown_font_size']; ?>px !important;}
<?php endif; ?>

<?php if($data['snav_font_size']): ?>
.header-social *{font-size:<?php echo $data['snav_font_size']; ?>px !important;}
<?php endif; ?>

<?php if($data['breadcrumbs_font_size']): ?>
.page-title ul li,page-title ul li a{font-size:<?php echo $data['breadcrumbs_font_size']; ?>px !important;}
<?php endif; ?>

<?php if($data['side_nav_font_size']): ?>
.side-nav li a{font-size:<?php echo $data['side_nav_font_size']; ?>px !important;}
<?php endif; ?>

<?php if($data['sidew_font_size']): ?>
#sidebar .widget h3{font-size:<?php echo $data['sidew_font_size']; ?>px !important;}
<?php endif; ?>

<?php if($data['slidingbar_font_size']): ?>
#slidingbar-area h3{font-size:<?php echo $data['slidingbar_font_size']; ?>px !important;}
<?php endif; ?>

<?php if($data['footw_font_size']): ?>
.footer-area h3{font-size:<?php echo $data['footw_font_size']; ?>px !important;}
<?php endif; ?>

<?php if($data['copyright_font_size']): ?>
.copyright{font-size:<?php echo $data['copyright_font_size']; ?>px !important;}
<?php endif; ?>

<?php if($data['responsive']): ?>
#header .avada-row, #main .avada-row, .footer-area .avada-row,#slidingbar-area .avada-row, #footer .avada-row{ max-width:940px; }
<?php endif; ?>

<?php if($data['h1_font_size']): ?>
.post-content h1{
	font-size:<?php echo $data['h1_font_size']; ?>px !important;
	<?php
	$line_height = round((1.5 * $data['h1_font_size']));
	?>
	line-height:<?php echo $line_height; ?>px !important;
}
<?php endif; ?>

<?php if($data['h1_font_lh']): ?>
.post-content h1{
	line-height:<?php echo $data['h1_font_lh']; ?>px !important;
}
<?php endif; ?>

<?php if($data['h2_font_size']): ?>
.post-content h2,.title h2,#main .post-content .title h2,.page-title h1,#main .post h2 a{
	font-size:<?php echo $data['h2_font_size']; ?>px !important;
	<?php
	$line_height = round((1.5 * $data['h2_font_size']));
	?>
	line-height:<?php echo $line_height; ?>px !important;
}
<?php endif; ?>

<?php if($data['h2_font_lh']): ?>
.post-content h2,.title h2,#main .post-content .title h2,.page-title h1,#main .post h2 a{
	line-height:<?php echo $data['h2_font_lh']; ?>px !important;
}
<?php endif; ?>

<?php if($data['h3_font_size']): ?>
.post-content h3,.project-content h3,#header .tagline,.product-title{
	font-size:<?php echo $data['h3_font_size']; ?>px !important;
	<?php
	$line_height = round((1.5 * $data['h3_font_size']));
	?>
	line-height:<?php echo $line_height; ?>px !important;
}
p.demo_store { font-size:<?php echo $data['h3_font_size']; ?>px !important; }
<?php endif; ?>

<?php if($data['h3_font_lh']): ?>
.post-content h3,.project-content h3,#header .tagline,.product-title{
	line-height:<?php echo $data['h3_font_lh']; ?>px !important;
}
<?php endif; ?>

<?php if($data['h4_font_size']): ?>
.post-content h4{
	font-size:<?php echo $data['h4_font_size']; ?>px !important;
	<?php
	$line_height = round((1.5 * $data['h4_font_size']));
	?>
	line-height:<?php echo $line_height; ?>px !important;
}
h5.toggle a,.tab-holder .tabs li a,.share-box h4,.person-author-wrapper{
	font-size:<?php echo $data['h4_font_size']; ?>px !important;
}
<?php endif; ?>

<?php if($data['h4_font_lh']): ?>
.post-content h4{
	line-height:<?php echo $data['h4_font_lh']; ?>px !important;
}
<?php endif; ?>

<?php if($data['h5_font_size']): ?>
.post-content h5{
	font-size:<?php echo $data['h5_font_size']; ?>px !important;
	<?php
	$line_height = round((1.5 * $data['h5_font_size']));
	?>
	line-height:<?php echo $line_height; ?>px !important;
}
<?php endif; ?>

<?php if($data['h5_font_lh']): ?>
.post-content h5{
	line-height:<?php echo $data['h5_font_lh']; ?>px !important;
}
<?php endif; ?>

<?php if($data['h6_font_size']): ?>
.post-content h6{
	font-size:<?php echo $data['h6_font_size']; ?>px !important;
	<?php
	$line_height = round((1.5 * $data['h6_font_size']));
	?>
	line-height:<?php echo $line_height; ?>px !important;
}
<?php endif; ?>

<?php if($data['h6_font_lh']): ?>
.post-content h6{
	line-height:<?php echo $data['h6_font_lh']; ?>px !important;
}
<?php endif; ?>

<?php if($data['es_title_font_size']): ?>
.ei-title h2{
	font-size:<?php echo $data['es_title_font_size']; ?>px !important;
	<?php
	$line_height = round((1.5 * $data['es_title_font_size']));
	?>
	line-height:<?php echo $line_height; ?>px !important;
}
<?php endif; ?>

<?php if($data['es_caption_font_size']): ?>
.ei-title h3{
	font-size:<?php echo $data['es_caption_font_size']; ?>px !important;
	<?php
	$line_height = round((1.5 * $data['es_caption_font_size']));
	?>
	line-height:<?php echo $line_height; ?>px !important;
}
<?php endif; ?>

<?php if($data['body_text_color']): ?>
body,.post .post-content,.post-content blockquote,.tab-holder .news-list li .post-holder .meta,#sidebar #jtwt,.meta,.review blockquote div,.search input,.project-content .project-info h4,.title-row,.simple-products-slider .price .amount,.quantity .qty,.quantity .minus,.quantity .plus,.blog-shortcode h3.timeline-title{color:<?php echo $data['body_text_color']; ?> !important;}
<?php endif; ?>

<?php if($data['h1_color']): ?>
.post-content h1,.title h1,.woocommerce-success-message .msg{
	color:<?php echo $data['h1_color']; ?> !important;
}
<?php endif; ?>

<?php if($data['h2_color']): ?>
.post-content h2,.title h2,.woocommerce-tabs h2,.search-page-search-form h2{
	color:<?php echo $data['h2_color']; ?> !important;
}
<?php endif; ?>

<?php if($data['h3_color']): ?>
.post-content h3,#sidebar .widget h3,.project-content h3,.title h3,#header .tagline,.person-author-wrapper span,.product-title{
	color:<?php echo $data['h3_color']; ?> !important;
}
<?php endif; ?>

<?php if($data['h4_color']): ?>
.post-content h4,.project-content .project-info h4,.share-box h4,.title h4,.tab-holder .tabs li a{
	color:<?php echo $data['h4_color']; ?> !important;
}
<?php endif; ?>

<?php if($data['h5_color']): ?>
.post-content h5,h5.toggle a,.title h5{
	color:<?php echo $data['h5_color']; ?> !important;
}
<?php endif; ?>

<?php if($data['h6_color']): ?>
.post-content h6,.title h6{
	color:<?php echo $data['h6_color']; ?> !important;
}
<?php endif; ?>

<?php if($data['page_title_color']): ?>
.page-title h1{
	color:<?php echo $data['page_title_color']; ?> !important;
}
<?php endif; ?>

<?php if($data['headings_color']): ?>
/*.post-content h1, .post-content h2, .post-content h3,
.post-content h4, .post-content h5, .post-content h6,
#sidebar .widget h3,h5.toggle a,
.page-title h1,.full-boxed-pricing ul li.title-row,
.project-content .project-info h4,.project-content h3,.share-box h4,.title h2,.person-author-wrapper,#sidebar .tab-holder .tabs li a,#header .tagline,
.table-1 table th{
	color:<?php echo $data['headings_color']; ?> !important;
}*/
<?php endif; ?>

<?php if($data['sep_pricing_box_heading_color']): ?>
.sep-boxed-pricing ul li.title-row{
	color:<?php echo $data['sep_pricing_box_heading_color']; ?> !important;
}
<?php endif; ?>

<?php if($data['full_boxed_pricing_box_heading_color']): ?>
.full-boxed-pricing ul li.title-row{
	color:<?php echo $data['full_boxed_pricing_box_heading_color']; ?> !important;
}
<?php endif; ?>

<?php if($data['link_color']): ?>
body a{color:<?php echo $data['link_color']; ?>;}
.project-content .project-info .project-info-box a,#sidebar .widget li a, #sidebar .widget .recentcomments, #sidebar .widget_categories li, #main .post h2 a,
.shop_attributes tr th,.image-extras a,.products-slider .price .amount,z.my_account_orders thead tr th,.shop_table thead tr th,.cart_totals table th,form.checkout .shop_table tfoot th,form.checkout .payment_methods label,#final-order-details .mini-order-details th,#main .product .product_title{color:<?php echo $data['link_color']; ?> !important;}
<?php endif; ?>

<?php if($data['breadcrumbs_text_color']): ?>
.page-title ul li,.page-title ul li a{color:<?php echo $data['breadcrumbs_text_color']; ?> !important;}
<?php endif; ?>

<?php if($data['slidingbar_headings_color']): ?>
#slidingbar-area h3{color:<?php echo $data['slidingbar_headings_color']; ?> !important;}
<?php endif; ?>

<?php if($data['slidingbar_text_color']): ?>
#slidingbar-area,#slidingbar-area article.col,#slidingbar-area #jtwt,#slidingbar-area #jtwt .jtwt_tweet{color:<?php echo $data['slidingbar_text_color']; ?> !important;}
<?php endif; ?>

<?php if($data['slidingbar_link_color']): ?>
#slidingbar-area a{color:<?php echo $data['slidingbar_link_color']; ?> !important;}
<?php endif; ?>

<?php if($data['sidebar_heading_color']): ?>
#sidebar .widget h3, #sidebar .widget .heading h3{color:<?php echo $data['sidebar_heading_color']; ?> !important;}
<?php endif; ?>

<?php if($data['footer_headings_color']): ?>
.footer-area h3{color:<?php echo $data['footer_headings_color']; ?> !important;}
<?php endif; ?>

<?php if($data['footer_text_color']): ?>
.footer-area,.footer-area article.col,.footer-area #jtwt,.footer-area #jtwt .jtwt_tweet,.copyright{color:<?php echo $data['footer_text_color']; ?> !important;}
<?php endif; ?>

<?php if($data['footer_link_color']): ?>
.footer-area a,.footer-area .pyre_tabs .tab-holder .tabs li a,.copyright a{color:<?php echo $data['footer_link_color']; ?> !important;}
<?php endif; ?>

<?php if($data['menu_first_color']): ?>
#nav ul a,#sticky-nav ul a,.side-nav li a,#header .cart-content a,#header .cart-content a:hover,#small-nav .cart-content a,#small-nav .cart-content a:hover,#wrapper .header-social .top-menu .cart > a,#wrapper .header-social .top-menu .cart > a > .amount{color:<?php echo $data['menu_first_color']; ?> !important;}
#header .my-account-link:after{border-color:<?php echo $data['menu_first_color']; ?> !important;}
<?php endif; ?>

<?php if($data['menu_hover_first_color']): ?>
#nav ul .current_page_item a, #nav ul .current-menu-item a, #nav ul > .current-menu-parent a, #nav ul ul,#navigation li.current-menu-ancestor a,#nav ul li a:hover,
#sticky-nav ul .current_page_item a, #sticky-nav ul .current-menu-item a, #sticky-nav ul > .current-menu-parent a, #sticky-nav ul ul,#navigation li.current-menu-ancestor a,#sticky-nav ul li a:hover
{color:<?php echo $data['menu_hover_first_color']; ?> !important;border-color:<?php echo $data['menu_hover_first_color']; ?> !important;}
#nav ul ul,#sticky-nav ul ul{border-color:<?php echo $data['menu_hover_first_color']; ?> !important;}
<?php endif; ?>

<?php if($data['menu_sub_bg_color']): ?>
#nav ul ul,#sticky-nav ul ul{background-color:<?php echo $data['menu_sub_bg_color']; ?>;}
<?php endif; ?>

<?php if($data['menu_sub_color']): ?>
#wrapper #nav ul li ul li a,#wrapper #sticky-nav ul li ul li a,.side-nav li li a,.side-nav li.current_page_item li a{color:<?php echo $data['menu_sub_color']; ?> !important;}
<?php endif; ?>

<?php if($data['es_title_color']): ?>
.ei-title h2{color:<?php echo $data['es_title_color']; ?> !important;}
<?php endif; ?>

<?php if($data['es_caption_color']): ?>
.ei-title h3{color:<?php echo $data['es_caption_color']; ?> !important;}
<?php endif; ?>

<?php if($data['snav_color']): ?>
#wrapper .header-social .header-info, #wrapper .header-social a {color:<?php echo $data['snav_color']; ?> !important;}
#wrapper .header-social .mobile-topnav-holder li a {color: #333333 !important;}
<?php endif; ?>

<?php if($data['sep_color']): ?>
.sep-single{background-color:<?php echo $data['sep_color']; ?> !important;}
.sep-double,.sep-dashed,.sep-dotted,.search-page-search-form{border-color:<?php echo $data['sep_color']; ?> !important;}
.ls-avada, .avada-skin-rev,.clients-carousel .es-carousel li img,h5.toggle a,.progress-bar,
#small-nav,.portfolio-tabs,.faq-tabs,.single-navigation,.project-content .project-info .project-info-box,
.post .meta-info,.grid-layout .post,.grid-layout .post .content-sep,
.grid-layout .post .flexslider,.timeline-layout .post,.timeline-layout .post .content-sep,
.timeline-layout .post .flexslider,h3.timeline-title,.timeline-arrow,
.counter-box-wrapper,.table-2 table thead,.table-2 tr td,
#sidebar .widget li a,#sidebar .widget .recentcomments,#sidebar .widget_categories li,
.tab-holder,.commentlist .the-comment,
.side-nav,#wrapper .side-nav li a,.rtl .side-nav,h5.toggle.active + .toggle-content,
#wrapper .side-nav li.current_page_item li a,.tabs-vertical .tabset,
.tabs-vertical .tabs-container .tab_content,.page-title-container,.pagination a.inactive,.woocommerce-pagination .page-numbers,.bbp-topic-pagination .page-numbers,.rtl .woocommerce .social-share li,.author .author_social{border-color:<?php echo $data['sep_color']; ?>;}
.side-nav li a,.product_list_widget li,.widget_layered_nav li,.price_slider_wrapper,.tagcloud a,#header .cart-content a,#header .cart-content a:hover,#header .login-box,#header .cart-contents,#small-nav .login-box,#small-nav .cart-contents,#small-nav .cart-content a,#small-nav .cart-content a:hover,
#customer_login_box,.myaccount_user,.myaccount_user_container span,
.woocommerce-side-nav li a,.woocommerce-content-box,.woocommerce-content-box h2,.my_account_orders tr,.woocommerce .address h4,.shop_table tr,.cart_totals .total,.chzn-container-single .chzn-single,.chzn-container-single .chzn-single div,.chzn-drop,form.checkout .shop_table tfoot,.input-radio,#final-order-details .mini-order-details tr:last-child,p.order-info,.cart-content a img,.panel.entry-content,.woocommerce-tabs .tabs li a,.woocommerce .social-share,.woocommerce .social-share li,.quantity,.quantity .minus, .quantity .qty,.shop_attributes tr,.woocommerce-success-message,#reviews li .comment-text{border-color:<?php echo $data['sep_color']; ?> !important;}
.price_slider_wrapper .ui-widget-content{background-color:<?php echo $data['sep_color']; ?>;}
.gform_wrapper .gsection{border-bottom:1px dotted <?php echo $data['sep_color']; ?>;}
<?php endif; ?>

<?php if($data['qty_bg_color']): ?>
.quantity .minus,.quantity .plus{background-color:<?php echo $data['qty_bg_color']; ?> !important;}
<?php endif; ?>

<?php if($data['qty_bg_hover_color']): ?>
.quantity .minus:hover,.quantity .plus:hover{background-color:<?php echo $data['qty_bg_hover_color']; ?> !important;}
<?php endif; ?>

<?php if($data['slidingbar_divider_color']): ?>
#slidingbar-area .widget_categories li a, #slidingbar-area li.recentcomments, #slidingbar-area ul li a, #slidingbar-area .product_list_widget li {border-bottom: 1px solid <?php echo $data['slidingbar_divider_color']; ?> !important;}
#slidingbar-area .tagcloud a, #slidingbar-area .pyre_tabs .tab-holder .tabs-wrapper, #slidingbar-area .pyre_tabs .tab-holder .news-list li {border-color: <?php echo $data['slidingbar_divider_color']; ?> !important;}
<?php endif; ?>

<?php if($data['footer_divider_color']): ?>
.footer-area .widget_categories li a, .footer-area li.recentcomments, .footer-area ul li a, .footer-area .product_list_widget li,
.footer-area .tagcloud a,.footer-area .pyre_tabs .tab-holder .tabs-wrapper, .footer-area .pyre_tabs .tab-holder .news-list li {border-color: <?php echo $data['footer_divider_color']; ?> !important;}
<?php endif; ?>

<?php if($data['form_bg_color']): ?>
input#s,#comment-input input,#comment-textarea textarea,.comment-form-comment textarea,.input-text,
.wpcf7-form .wpcf7-text,.wpcf7-form .wpcf7-quiz,.wpcf7-form .wpcf7-number,.wpcf7-form textarea,.wpcf7-form .wpcf7-select,.wpcf7-captchar,.wpcf7-form .wpcf7-date,
.gform_wrapper .gfield input[type=text],.gform_wrapper .gfield textarea,.gform_wrapper .gfield select,
#bbpress-forums .bbp-search-form #bbp_search,.bbp-reply-form input#bbp_topic_tags,.bbp-topic-form input#bbp_topic_title, .bbp-topic-form input#bbp_topic_tags, .bbp-topic-form select#bbp_stick_topic_select, .bbp-topic-form select#bbp_topic_status_select,#bbpress-forums div.bbp-the-content-wrapper textarea.bbp-the-content,
.main-nav-search-form input,.search-page-search-form input,.chzn-container-single .chzn-single,.chzn-container .chzn-drop,
.avada-select-parent select{
background-color:<?php echo $data['form_bg_color']; ?> !important;}
<?php endif; ?>

<?php if($data['form_text_color']): ?>
input#s,input#s .placeholder,#comment-input input,#comment-textarea textarea,#comment-input .placeholder,#comment-textarea .placeholder,.comment-form-comment textarea,.input-text,
.wpcf7-form .wpcf7-text,.wpcf7-form .wpcf7-quiz,.wpcf7-form .wpcf7-number,.wpcf7-form textarea,.wpcf7-form .wpcf7-select,.wpcf7-select-parent .select-arrow,.wpcf7-captchar,.wpcf7-form .wpcf7-date,
.gform_wrapper .gfield input[type=text],.gform_wrapper .gfield textarea,.gform_wrapper .gfield select,
#bbpress-forums .bbp-search-form #bbp_search,.bbp-reply-form input#bbp_topic_tags,.bbp-topic-form input#bbp_topic_title, .bbp-topic-form input#bbp_topic_tags, .bbp-topic-form select#bbp_stick_topic_select, .bbp-topic-form select#bbp_topic_status_select,#bbpress-forums div.bbp-the-content-wrapper textarea.bbp-the-content,
.main-nav-search-form input,.search-page-search-form input,.chzn-container-single .chzn-single,.chzn-container .chzn-drop,.avada-select-parent select
{color:<?php echo $data['form_text_color']; ?> !important;}

input#s::-webkit-input-placeholder,#comment-input input::-webkit-input-placeholder,#comment-textarea textarea::-webkit-input-placeholder,.comment-form-comment textarea::-webkit-input-placeholder,.input-text::-webkit-input-placeholder{color:<?php echo $data['form_text_color']; ?> !important;}
input#s:-moz-placeholder,#comment-input input:-moz-placeholder,#comment-textarea textarea:-moz-placeholder,.comment-form-comment textarea:-moz-placeholder,.input-text:-moz-placeholder,
input#s:-ms-input-placeholder,#comment-input input:-ms-input-placeholder,#comment-textarea textarea:-moz-placeholder,.comment-form-comment textarea:-ms-input-placeholder,.input-text:-ms-input-placeholder,
{color:<?php echo $data['form_text_color']; ?> !important;}
<?php endif; ?>

<?php if($data['form_border_color']): ?>
input#s,#comment-input input,#comment-textarea textarea,.comment-form-comment textarea,.input-text,
.wpcf7-form .wpcf7-text,.wpcf7-form .wpcf7-quiz,.wpcf7-form .wpcf7-number,.wpcf7-form textarea,.wpcf7-form .wpcf7-select,.wpcf7-select-parent .select-arrow,.wpcf7-captchar,.wpcf7-form .wpcf7-date,
.gform_wrapper .gfield input[type=text],.gform_wrapper .gfield textarea,.gform_wrapper .gfield_select[multiple=multiple],.gform_wrapper .gfield select,.select-arrow,
#bbpress-forums .quicktags-toolbar,#bbpress-forums .bbp-search-form #bbp_search,.bbp-reply-form input#bbp_topic_tags,.bbp-topic-form input#bbp_topic_title, .bbp-topic-form input#bbp_topic_tags, .bbp-topic-form select#bbp_stick_topic_select, .bbp-topic-form select#bbp_topic_status_select,#bbpress-forums div.bbp-the-content-wrapper textarea.bbp-the-content,#wp-bbp_topic_content-editor-container,#wp-bbp_reply_content-editor-container,
.main-nav-search-form input,.search-page-search-form input,.chzn-container-single .chzn-single,.chzn-container .chzn-drop,
.avada-select-parent select
{border-color:<?php echo $data['form_border_color']; ?> !important;}
<?php endif; ?>

<?php if($data['menu_sub_sep_color']): ?>
#wrapper #nav ul li ul li a,#wrapper #sticky-nav ul li ul li a{border-bottom:1px solid <?php echo $data['menu_sub_sep_color']; ?> !important;}
<?php endif; ?>

<?php if($data['menu_bg_hover_color']): ?>
#wrapper #nav ul li ul li a:hover, #wrapper #nav ul li ul li.current-menu-item a,
#wrapper #sticky-nav ul li ul li a:hover, #wrapper #sticky-nav ul li ul li.current-menu-item a,
#header .cart-content a:hover,#small-nav .cart-content a:hover{background-color:<?php echo $data['menu_bg_hover_color']; ?> !important;}
<?php endif; ?>

<?php if($data['tagline_font_color']): ?>
#header .tagline{
	color:<?php echo $data['tagline_font_color']; ?> !important;
}
<?php endif; ?>

<?php if($data['tagline_font_size']): ?>
#header .tagline{
	font-size:<?php echo $data['tagline_font_size']; ?>px !important;
	line-height:30px !important;
}
<?php endif; ?>

<?php if($data['page_title_font_size']): ?>
.page-title h1{
	font-size:<?php echo $data['page_title_font_size']; ?>px !important;
	line-height:normal !important;
}
<?php endif; ?>

<?php if($data['page_title_subheader_font_size']): ?>
	.page-title h3{
		font-size:<?php echo $data['page_title_subheader_font_size']; ?>px !important;
		line-height: <?php echo intval($data['page_title_subheader_font_size']) + 12;?>px !important;
	}
<?php endif; ?>

<?php if($data['header_border_color']): ?>
.header-social,#header,.header-v4 #small-nav,.header-v5 #small-nav{
	border-bottom-color:<?php echo $data['header_border_color']; ?> !important;
}
<?php endif; ?>

<?php if($data['dropdown_menu_width']): ?>
#nav ul ul,#sticky-nav ul ul{
	width:<?php echo $data['dropdown_menu_width']; ?> !important;
}
#nav ul ul li:hover ul,#sticky-nav ul ul li:hover ul{
	left:<?php echo $data['dropdown_menu_width']; ?> !important;
}
ul#navigation > li:last-child ul ul{
	left:-<?php echo $data['dropdown_menu_width']; ?> !important;
}
.rtl #header #nav ul ul li:hover ul,.rtl #small-nav #nav ul ul li:hover ul, .rtl .sticky-header #sticky-nav ul ul li:hover ul{
	right:<?php echo $data['dropdown_menu_width']; ?> !important;
	left: auto !important;
}
.rtl ul#navigation > li:last-child ul ul{
	right:-<?php echo $data['dropdown_menu_width']; ?> !important;
	left: auto !important;
}
<?php endif; ?>

<?php if($data['sidebar_bg_color']): ?>
#main #sidebar{
	background-color:<?php echo $data['sidebar_bg_color']; ?>;
}
<?php endif; ?>

<?php if($data['content_width']): ?>
#main #content{
	width:<?php echo $data['content_width']; ?>%;
}
<?php endif; ?>

<?php if($data['sidebar_width']): ?>
#main #sidebar{
	width:<?php echo $data['sidebar_width']; ?>%;
}
<?php endif; ?>

<?php if($data['sidebar_padding']): ?>
#main #sidebar{
	padding-left:<?php echo $data['sidebar_padding']; ?>%;
	padding-right:<?php echo $data['sidebar_padding']; ?>%;
}
<?php endif; ?>

<?php if($data['header_top_bg_color']): ?>
#wrapper .header-social{
	background-color:<?php echo $data['header_top_bg_color']; ?> !important;
}
<?php endif; ?>

<?php if($data['header_top_first_border_color']): ?>
#wrapper .header-social .menu > li{
	border-color:<?php echo $data['header_top_first_border_color']; ?> !important;
}
<?php endif; ?>

<?php if($data['header_top_sub_bg_color']): ?>
#wrapper .header-social .menu .sub-menu,#wrapper .header-social .login-box,#wrapper .header-social .cart-contents,.main-nav-search-form{
	background-color:<?php echo $data['header_top_sub_bg_color']; ?> !important;
}
<?php endif; ?>

<?php if($data['header_top_menu_sub_color']): ?>
#wrapper .header-social .menu .sub-menu li, #wrapper .header-social .menu .sub-menu li a,#wrapper .header-social .login-box *,#wrapper .header-social .cart-contents *{
	color:<?php echo $data['header_top_menu_sub_color']; ?> !important;
}
<?php endif; ?>

<?php if($data['header_top_menu_bg_hover_color']): ?>
#wrapper .header-social .menu .sub-menu li a:hover{
	background-color:<?php echo $data['header_top_menu_bg_hover_color']; ?> !important;
}
<?php endif; ?>

<?php if($data['header_top_menu_sub_hover_color']): ?>
#wrapper .header-social .menu .sub-menu li a:hover{
	color:<?php echo $data['header_top_menu_sub_hover_color']; ?> !important;
}
<?php endif; ?>

<?php if($data['header_top_menu_sub_sep_color']): ?>
#wrapper .header-social .menu .sub-menu,#wrapper .header-social .menu .sub-menu li,.top-menu .cart-content a,#wrapper .header-social .login-box,#wrapper .header-social .cart-contents,.main-nav-search-form{
	border-color:<?php echo $data['header_top_menu_sub_sep_color']; ?> !important;
}
<?php endif; ?>

<?php if($data['woo_cart_bg_color']): ?>
#header .cart-checkout,.top-menu .cart,.top-menu .cart-content a:hover,.top-menu .cart-checkout,#small-nav .cart-checkout{
	background-color:<?php echo $data['woo_cart_bg_color']; ?> !important;
}
<?php endif; ?>

<?php if($data['accordian_inactive_color']): ?>
h5.toggle span.arrow{background-color:<?php echo $data['accordian_inactive_color']; ?>;}
<?php endif; ?>

<?php if($data['counter_filled_color']): ?>
.progress-bar-content{background-color:<?php echo $data['counter_filled_color']; ?> !important;border-color:<?php echo $data['counter_filled_color']; ?> !important;}
.content-box-percentage{color:<?php echo $data['counter_filled_color']; ?> !important;}
<?php endif; ?>

<?php if($data['counter_unfilled_color']): ?>
.progress-bar{background-color:<?php echo $data['counter_unfilled_color']; ?>;border-color:<?php echo $data['counter_unfilled_color']; ?>;}
<?php endif; ?>

<?php if($data['dates_box_color']): ?>
.date-and-formats .format-box{background-color:<?php echo $data['dates_box_color']; ?>;}
<?php endif; ?>

<?php if($data['carousel_nav_color']): ?>
.es-nav-prev,.es-nav-next{background-color:<?php echo $data['carousel_nav_color']; ?>;}
<?php endif; ?>

<?php if($data['carousel_hover_color']): ?>
.es-nav-prev:hover,.es-nav-next:hover{background-color:<?php echo $data['carousel_hover_color']; ?>;}
<?php endif; ?>

<?php if($data['content_box_bg_color']): ?>
.content-boxes .col{background-color:<?php echo $data['content_box_bg_color']; ?>;}
<?php endif; ?>

<?php if($data['tabs_bg_color'] && $data['tabs_inactive_color']): ?>
#sidebar .tab-holder,#sidebar .tab-holder .news-list li{border-color:<?php echo $data['tabs_inactive_color']; ?> !important;}
#sidebar .pyre_tabs .tabs-container{background-color:<?php echo $data['tabs_bg_color']; ?> !important;}
body #sidebar .tab-hold .tabs li{border-right:1px solid <?php echo $data['tabs_bg_color']; ?> !important;}
body #sidebar .tab-hold .tabs li a{background:<?php echo $data['tabs_inactive_color']; ?> !important;border-bottom:0 !important;color:<?php echo $data[body_text_color]; ?> !important;}
body #sidebar .tab-hold .tabs li a:hover{background:<?php echo $data['tabs_bg_color']; ?> !important;border-bottom:0 !important;}
body #sidebar .tab-hold .tabs li.active a{background:<?php echo $data['tabs_bg_color']; ?> !important;border-bottom:0 !important;}
body #sidebar .tab-hold .tabs li.active a{border-top-color:<?php echo $data[primary_color]; ?>!important;}
<?php endif; ?>

<?php if($data['social_bg_color']): ?>
.share-box{background-color:<?php echo $data['social_bg_color']; ?>;}
<?php endif; ?>

<?php if($data['timeline_bg_color']): ?>
.grid-layout .post,.timeline-layout .post{background-color:<?php echo $data['timeline_bg_color']; ?>;}
<?php endif; ?>

<?php if($data['timeline_color']): ?>
.grid-layout .post .flexslider,.timeline-layout .post,.timeline-layout .post .content-sep,
.timeline-layout .post .flexslider,h3.timeline-title,.grid-layout .post,.grid-layout .post .content-sep,.products li,.product-details-container,.product-buttons,.product-buttons-container{border-color:<?php echo $data['timeline_color']; ?> !important;}
.align-left .timeline-arrow:before,.align-left .timeline-arrow:after{border-left-color:<?php echo $data['timeline_color']; ?> !important;}
.align-right .timeline-arrow:before,.align-right .timeline-arrow:after{border-right-color:<?php echo $data['timeline_color']; ?> !important;}
.timeline-circle,.timeline-title{background-color:<?php echo $data['timeline_color']; ?> !important;}
.timeline-icon{color:<?php echo $data['timeline_color']; ?>;}
<?php endif; ?>

<?php if($data['bbp_forum_header_bg']): ?>
	#bbpress-forums li.bbp-header,
	#bbpress-forums div.bbp-reply-header,#bbpress-forums #bbp-single-user-details #bbp-user-navigation li.current a,div.bbp-template-notice, div.indicator-hint{ background:<?php echo $data['bbp_forum_header_bg']; ?> !important; }
	#bbpress-forums .bbp-replies div.even { background: transparent !important; }
<?php endif; ?>

<?php if($data['bbp_forum_border_color']): ?>
	#bbpress-forums ul.bbp-lead-topic, #bbpress-forums ul.bbp-topics, #bbpress-forums ul.bbp-forums, #bbpress-forums ul.bbp-replies, #bbpress-forums ul.bbp-search-results,
	#bbpress-forums li.bbp-body ul.forum, #bbpress-forums li.bbp-body ul.topic,
	#bbpress-forums div.bbp-reply-content,#bbpress-forums div.bbp-reply-header,
	#bbpress-forums div.bbp-reply-author .bbp-reply-post-date,
	#bbpress-forums div.bbp-topic-tags a,#bbpress-forums #bbp-single-user-details,div.bbp-template-notice, div.indicator-hint,
	.bbp-arrow{ border-color:<?php echo $data['bbp_forum_border_color']; ?> !important; }
<?php endif; ?>

<?php
$avada_color_scheme = 'light';
if($data['scheme_type'] == 'Dark'): $avada_color_scheme = 'dark'; ?>
<?php if($data['header_border_color']): ?>
.header-v4 #small-nav,.header-v5 #small-nav{
	border-bottom-color:<?php echo $data['header_border_color']; ?> !important;
}
<?php endif; ?>
body #header.sticky-header .sticky-shadow { -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.42);-mozbox-shadow: 0 1px 3px rgba(0, 0, 0, 0.42);box-shadow: 0 1px 3px rgba(0, 0, 0, 0.42);	}
.products-slider .price .amount,.simple-products-slider .price .amount{color:#333333 !important;}
.meta li{border-color:<?php echo $data['body_text_color']; ?>;}
.error-image{background-image:url(<?php echo get_template_directory_uri(); ?>/images/404_image_dark.png);}
.error_page .oops {color: #2F2F30 !important;}
.review blockquote div .company-name{background-image:url(<?php echo get_template_directory_uri(); ?>/images/ico-user_dark.png);}
.review.male blockquote div .company-name{background-image:url(<?php echo get_template_directory_uri(); ?>/images/ico-user_dark.png);}
.review.female blockquote div .company-name{background-image:url(<?php echo get_template_directory_uri(); ?>/images/ico-user-girl_dark.png);}
.timeline-layout{background-image:url(<?php echo get_template_directory_uri(); ?>/images/timeline_line_dark.png);}
.side-nav li a{background-image:url(<?php echo get_template_directory_uri(); ?>/images/side_nav_bg_dark.png);}
@media only screen and (-webkit-min-device-pixel-ratio: 1.3), only screen and (-o-min-device-pixel-ratio: 13/10), only screen and (min-resolution: 120dpi) {
	.error-image{background-image:url(<?php echo get_template_directory_uri(); ?>/images/404_image_dark@2x.png) !important;}
	.review blockquote div .company-name{background-image:url(<?php echo get_template_directory_uri(); ?>/images/ico-user_dark@2x.png) !important;}
	.review.male blockquote div .company-name{background-image:url(<?php echo get_template_directory_uri(); ?>/images/ico-user_dark@2x.png) !important;}
	.review.female blockquote div .company-name{background-image:url(<?php echo get_template_directory_uri(); ?>/images/ico-user-girl_dark@2x.png) !important;}
	.side-nav li a{background-image:url(<?php echo get_template_directory_uri(); ?>/images/side_nav_bg_dark@2x.png) !important;}
}
.bbp-arrow, #bbpress-forums .quicktags-toolbar { background-color:<?php echo $data['content_bg_color']; ?> !important; }
#toTop { background-color: #111111; }
.chzn-container-single .chzn-single { background-image: none !important; box-shadow: none !important; }

<?php if($data['form_text_color']): ?>
.mobile-nav-holder .mobile-selector, .mobile-topnav-holder .mobile-selector, #mobile-nav li a, #wrapper .header-social .mobile-topnav-holder li a,
.catalog-ordering a, .order-dropdown > li:after,.order-dropdown ul li a
{color:<?php echo $data['form_text_color']; ?> !important;}
<?php endif; ?>

<?php if($data['form_border_color']): ?>
.mobile-nav-holder .mobile-selector, .mobile-topnav-holder .mobile-selector, #mobile-nav, #mobile-nav li a, .mobile-nav-holder .mobile-selector .selector-down, .mobile-topnav-holder .mobile-selector .selector-down,
.order-dropdown li,.order-dropdown .current-li,.order-dropdown > li:after,.order-dropdown ul li a,.catalog-ordering .order li a
{border-color:<?php echo $data['form_border_color']; ?> !important;}
<?php endif; ?>

<?php if($data['form_bg_color']): ?>
.order-dropdown li, .order-dropdown .current-li,.order-dropdown ul li a,.catalog-ordering .order li a
{background-color:<?php echo $data['form_bg_color']; ?> !important;}
<?php endif; ?>

.mobile-nav-holder .mobile-selector, .mobile-topnav-holder .mobile-selector,#mobile-nav { background-image: none !important; background-color: <?php echo $data['form_bg_color']; ?>!important; }
.order-dropdown li:hover, .order-dropdown .current-li:hover, .order-dropdown ul li a:hover, .catalog-ordering .order li a:hover,#mobile-nav li a:hover { background-color: #29292A !important; }
.bbp-topics-front ul.super-sticky, .bbp-topics ul.super-sticky, .bbp-topics ul.sticky, .bbp-forum-content ul.sticky {
    background-color: #3E3E3E !important;
}
.bbp-topics-front ul.super-sticky a, .bbp-topics ul.super-sticky a, .bbp-topics ul.sticky a, .bbp-forum-content ul.sticky a {
    color: #FFFFFF !important;
}
<?php endif; ?>

<?php if($data['form_bg_color'] && $data['form_content_color'] && $data['form_border_color']): ?>
.quicktags-toolbar input {
    background: linear-gradient(to top, <?php echo $data['content_bg_color']; ?>, <?php echo $data['form_bg_color']; ?> ) #3E3E3E !important;
    background: -o-linear-gradient(to top, <?php echo $data['content_bg_color']; ?>, <?php echo $data['form_bg_color']; ?> ) #3E3E3E !important;
    background: -moz-linear-gradient(to top, <?php echo $data['content_bg_color']; ?>, <?php echo $data['form_bg_color']; ?> ) #3E3E3E !important;
    background: -webkit-linear-gradient(to top, <?php echo $data['content_bg_color']; ?>, <?php echo $data['form_bg_color']; ?> ) #3E3E3E !important;
    background: -ms-linear-gradient(to top, <?php echo $data['content_bg_color']; ?>, <?php echo $data['form_bg_color']; ?> ) #3E3E3E !important;
    background: linear-gradient(to top, <?php echo $data['content_bg_color']; ?>, <?php echo $data['form_bg_color']; ?> ) #3E3E3E !important;

	background-image: -webkit-gradient(
		linear,
		left top,
		left bottom,
		color-stop(0, <?php echo $data['form_bg_color']; ?>),
		color-stop(1, <?php echo $data['content_bg_color']; ?>)
	);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='<?php echo $data['form_bg_color']; ?>', endColorstr='<?php echo $data['content_bg_color']; ?>')
			progid: DXImageTransform.Microsoft.Alpha(Opacity=0);

    border: 1px solid <?php echo $data['form_border_color'] ?> !important;
    color: <?php echo $data['form_text_color']; ?> !important;
}

.quicktags-toolbar input:hover {
	background: <?php echo $data['form_bg_color']; ?> !important;
}

<?php endif; ?>

<?php if(!$data['flexslider_circles']): ?>
.main-flex .flex-control-nav{display:none !important;}
<?php endif; ?>

<?php if(!$data['breadcrumb_mobile']): ?>
@media only screen and (max-width: 940px){
	.breadcrumbs{display:none !important;}
}
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait){
	.breadcrumbs{display:none !important;}
}
<?php endif; ?>

<?php if(!$data['image_rollover']): ?>
.image-extras{display:none !important;}
<?php endif; ?>

<?php if($data['nav_height']): ?>
#navigation > li > a,#navigation li.current-menu-ancestor a{height:<?php echo $data['nav_height']; ?>px;line-height:<?php echo $data['nav_height']; ?>px;}
#navigation > li > a,#navigation li.current-menu-ancestor a{height:<?php echo $data['nav_height']; ?>px;line-height:<?php echo $data['nav_height']; ?>px;}
#nav ul ul,#sticky-nav ul ul{top:<?php echo $data['nav_height']+3; ?>px;}

<?php if(is_page('header-4') || is_page('header-5')) { ?>
#navigation > li > a,#navigation li.current-menu-ancestor a{height:40px;line-height:40px;}
#navigation > li > a,#navigation li.current-menu-ancestor a{height:40px;line-height:40px;}

#nav ul ul,#sticky-nav ul ul{top:43px;}
<?php } ?>
.sticky-header #navigation > li > a.my-cart-link, .sticky-header #navigation li.current-menu-ancestor a.my-cart-link {height:63px;line-height:63px;}
<?php endif; ?>

<?php if($data['nav_padding']): ?>
#nav ul li, #sticky-nav ul li { padding-right: <?php echo $data['nav_padding']; ?>px; }
<?php endif; ?>

<?php if($data['tfes_slider_width']): ?>
.ei-slider{width:<?php echo $data['tfes_slider_width']; ?> !important;}
<?php endif; ?>

<?php if($data['tfes_slider_height']): ?>
.ei-slider{height:<?php echo $data['tfes_slider_height']; ?> !important;}
<?php endif; ?>

<?php if($data['button_text_shadow']): ?>
.button,.gform_wrapper .gform_button{text-shadow:none !important;}
<?php endif; ?>

<?php if($data['slidingbar_text_shadow']): ?>
#slidingbar-area a{text-shadow:none !important;}
<?php endif; ?>

<?php if($data['footer_text_shadow']): ?>
.footer-area a,.copyright{text-shadow:none !important;}
<?php endif; ?>

<?php if($data['tagline_bg']): ?>
.reading-box{background-color:<?php echo $data['tagline_bg']; ?> !important;}
<?php endif; ?>

.isotope .isotope-item {
  -webkit-transition-property: top, left, opacity;
     -moz-transition-property: top, left, opacity;
      -ms-transition-property: top, left, opacity;
       -o-transition-property: top, left, opacity;
          transition-property: top, left, opacity;
}

<?php if($data['link_image_rollover']): ?>.image-extras .link-icon{display:none !important;}<?php endif; ?>
<?php if($data['zoom_image_rollover']): ?>.image-extras .gallery-icon{display:none !important;}<?php endif; ?>
<?php if($data['title_image_rollover']): ?>.image-extras h3{display:none !important;}<?php endif; ?>
<?php if($data['cats_image_rollover']): ?>.image-extras h4{display:none !important;}<?php endif; ?>

<?php if($data['header_layout'] == 'v4' || $data['header_layout'] == 'v5'): ?>
.header-v4 #small-nav,.header-v5 #small-nav{background-color:<?php echo $data['menu_h45_bg_color']; ?> !important;}
<?php endif; ?>

<?php if($data['logo_alignment'] == 'Center' && $data['header_layout'] == 'v5'): ?>
<?php elseif($data['logo_alignment'] == 'Right'): ?>
#header .logo{float:right;}
.sticky-header .logo{float:right !important;}
#header #nav,#header #sticky-nav{float:left;}
#header .search,#header .tagline{float:left !important;}
.header-v5 #header .logo{float:right;}
#header-banner{float:left;}
.rtl .header-v4 #header .search { margin-left: 15px!important; margin-right: 0!important; }
<?php if($data['header_v4_content'] == 'Search'): ?>
.header-v4 #header .search { margin-left: 0!important; }
<?php endif; ?>
<?php else: ?>
.header-v5 #header .logo{float:left;}
<?php endif; ?>

<?php if($data['logo_retina']): ?>
@media only screen and (-webkit-min-device-pixel-ratio: 1.3), only screen and (-o-min-device-pixel-ratio: 13/10), only screen and (min-resolution: 120dpi) {
	#header .normal_logo{display:none !important;}
	#header .retina_logo{display:inline !important;}
}
<?php endif; ?>

<?php if(!is_user_logged_in()): ?>
.bbp_reply_admin_links .admin_links_sep, .bbp-admin-links .admin_links_sep{
	display: none;
}
<?php endif; ?>

<?php if(!$data['avada_rev_styles']): ?>
.rev_slider_wrapper{
	position:relative
}

.rev_slider_wrapper .shadow-left{
	position:absolute;
	background-image:url(<?php bloginfo('template_directory') ?>/images/shadow-top.png);
	background-repeat:no-repeat;
	background-position:top center;
	height:42px;
	width:100%;
	top:0;
	z-index:99;
}

.rev_slider_wrapper .shadow-left{top:-1px;}

.rev_slider_wrapper .shadow-right{
	position:absolute;
	background-image:url(<?php bloginfo('template_directory') ?>/images/shadow-bottom.png);
	background-repeat:no-repeat;
	background-position:bottom center;
	height:32px;
	width:100%;
	bottom:0;
	z-index:99;
}

.avada-skin-rev{
	border-top: 1px solid #d2d3d4;
	border-bottom: 1px solid #d2d3d4;
}

.rev_slider_wrapper .tp-leftarrow, .rev_slider_wrapper .tp-rightarrow{
	background-color: rgba(0, 0, 0, 0.5)  !important;
	background-repeat: no-repeat;
	width: 63px !important;
	height: 63px !important;
	position: absolute;
	top: 50% !important;
	margin-top:-31px !important;
	opacity:0.8;
	position:absolute !important;
}

.rev_slider_wrapper .tp-rightarrow{
	left:auto !important;
	right:0 !important;
}

.no-rgba .rev_slider_wrapper .tp-leftarrow, .no-rgba .rev_slider_wrapper .tp-rightarrow{
	background-color:#ccc  !important;
}

.rev_slider_wrapper:hover .tp-leftarrow,.rev_slider_wrapper:hover .tp-rightarrow{
	display:block !important;
	opacity:0.8 !important;
}

.rev_slider_wrapper .tp-leftarrow:hover, .rev_slider_wrapper .tp-rightarrow:hover{
	opacity:1 !important;
}

.rev_slider_wrapper .tp-leftarrow{
	background-image: url(<?php bloginfo('template_directory') ?>/images/ls_prev.png) !important;
	background-position: 19px 19px  !important;
	left: 0 !important;
	margin-left:0 !important;
	z-index:100;
	opacity: 0;
}

.rev_slider_wrapper .tp-rightarrow{
	background-image: url(<?php bloginfo('template_directory') ?>/images/ls_next.png)  !important;
	background-position: 29px 19px  !important;
	right: 0  !important;
	margin-left:0 !important;
	z-index:100;
	opacity: 0;
}

.tp-bullets .bullet.last{
	clear:none !important;
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.3), only screen and (-o-min-device-pixel-ratio: 13/10), only screen and (min-resolution: 120dpi) {
	.rev_slider_wrapper .tp-leftarrow{
		background-image: url(<?php bloginfo('template_directory') ?>/images/ls_prev@2x.png) !important;
		-webkit-background-size:12px 24px !important;
		   -moz-background-size:12px 24px !important;
		     -o-background-size:12px 24px !important;
		        background-size:12px 24px !important;
	}

	.rev_slider_wrapper .tp-rightarrow{
		background-image: url(<?php bloginfo('template_directory') ?>/images/ls_next@2x.png) !important;
		-webkit-background-size:12px 24px !important;
		   -moz-background-size:12px 24px !important;
		     -o-background-size:12px 24px !important;
		        background-size:12px 24px !important;
	}
}
<?php endif; ?>