<?php

$root = dirname(dirname(dirname(dirname(dirname(__FILE__)))));

if ( file_exists( $root.'/wp-load.php' ) ) {
    require_once( $root.'/wp-load.php' );
//    require_once( $root.'/wp-config.php' );
} else {
    $root = dirname(dirname(dirname(dirname(dirname(dirname(__FILE__))))));
    if ( file_exists( $root.'/wp-load.php' ) ) {
        require_once( $root.'/wp-load.php' );
//    require_once( $root.'/wp-config.php' );
    }
}

header("Content-type: text/css; charset=utf-8");
?>

<?php if (!empty($eltd_options['selection_color'])) { ?>
    /* Webkit */
    ::selection {
    background: <?php echo esc_attr($eltd_options['selection_color']);  ?>;
    }
<?php } ?>
<?php if (!empty($eltd_options['selection_color'])) { ?>
    /* Gecko/Mozilla */
    ::-moz-selection {
    background: <?php echo esc_attr($eltd_options['selection_color']);  ?>;
    }
<?php } ?>

<?php if (!empty($eltd_options['first_color'])) { ?>

    h6, h6 a,h1 a:hover,h2 a:hover,h3 a:hover,h4 a:hover,h5 a:hover,h6 a:hover,a,p a,
    header:not(.with_hover_bg_color) nav.main_menu > ul > li:hover > a,
    nav.main_menu>ul>li.active > a,
    .drop_down .second .inner > ul > li:hover > a,
    .drop_down .second .inner ul li.sub ul li:hover > a,
    nav.mobile_menu ul li a:hover,
    nav.mobile_menu ul li.active > a,
	nav.mobile_menu ul li.active > h4,
    .side_menu_button > a:hover,
	.side_menu_button > a:hover > span:not(.popup_menu_inner).search_icon_text,
	.header_top .inner .header_top_side_button > a:hover > span.search_icon_text,
	.header_top .inner a.search_covers_header:hover,
	.header_top .inner a.search_slides_from_header_bottom:hover,
	.header_top .inner a.search_slides_from_window_top:hover,
	.header_top .inner a.fullscreen_search:hover,
    .mobile_menu_button span:hover,
    .vertical_menu ul li a:hover,
    .vertical_menu_toggle .second .inner ul li a:hover,
    nav.popup_menu ul li a:hover,
    nav.popup_menu ul li ul li a,
    .comment_holder .comment .text .comment_date,
    .comment_holder .comment .text .replay,
    .comment_holder .comment .text .comment-reply-link,
    .comment_holder .comment .text .comment-edit-link,
    div.comment_form form p.logged-in-as a,
    .comment_holder .comment .text .comment_date_format,
    .pagination_prev_and_next_only ul li a:hover,
    .latest_post_holder .latest_post_title a:hover,
    .latest_post_holder.minimal .latest_post_title a,
    .latest_post_holder .post_info_section:before,
    .latest_post_holder .post_info_section span,
    .latest_post_holder .post_info_section a,
    .latest_post_holder .post_author a.post_author_link:hover,
    .blog_holder.blog_single .post_info a,
    .blog_holder.blog_single .post_info_bottom a,    
    .projects_holder article .portfolio_title a:hover,
    .projects_masonry_holder article .portfolio_title a:hover,
    .filter_holder ul li.current span,
    .filter_holder ul li:not(.filter_title):hover span,
    blockquote h3,
    .eltd_dropcap,
    .price_in_table .value,
    .price_in_table .price,
    .price_in_table .mark,
    .eltd_font_elegant_holder.eltd_icon_shortcode:hover,
    .eltd_icon_shade.eltd_icon_shortcode:hover,
    .eltd_font_awsome_icon_holder.eltd_icon_shortcode:hover,
    .box_holder_icon_inner .eltd_icon_stack,
    .box_holder_icon_inner .eltd_font_elegant_holder,
    .eltd_icon_with_title .icon_holder .eltd_icon_stack,
    .eltd_icon_with_title .eltd_font_elegant_holder,
    .eltd_progress_bars_icons_inner.square .bar.active i,
    .eltd_progress_bars_icons_inner.circle .bar.active i,
    .eltd_progress_bars_icons_inner.normal .bar.active i,
    .eltd_progress_bars_icons_inner .bar.active i.fa-circle,
    .eltd_progress_bars_icons_inner.square .bar.active .eltd_font_elegant_icon,
    .eltd_progress_bars_icons_inner.circle .bar.active .eltd_font_elegant_icon,
    .eltd_progress_bars_icons_inner.normal .bar.active .eltd_font_elegant_icon,
    .eltd_social_icon_holder.normal_social .simple_social,
    .eltd_social_icon_holder.normal_social.with_link .simple_social,
    .eltd_list.number ul>li:before,
    .social_share_list_holder ul li i:hover,
    .woocommerce.single-product.single .social_share_list_holder ul li i:hover,
    .eltd_progress_bar .progress_number_wrapper.static .progress_number,
    .drop_down .wide .second ul li .qbutton:hover,
    .drop_down .wide .second ul li ul li .qbutton:hover,
    nav.content_menu ul li.active:hover i,
    nav.content_menu ul li:hover i,
    nav.content_menu ul li.active:hover a,
    nav.content_menu ul li:hover a,
    aside.sidebar .widget:not(.woocommerce) li,
    .header-widget.widget_nav_menu ul.menu li a:hover,
    input.wpcf7-form-control.wpcf7-submit:not([disabled]):hover,
    .latest_post_holder .post_info_section .latest_post_categories a,
    .latest_post_holder .post_info_section .post_author_link,
    .latest_post_holder.boxes .date,
    .latest_post_holder.image_in_box .date,
    .eltd_progress_bars_vertical .progress_number,
    .eltd_counter_holder span.counter,
    .eltd_icon_shortcode span,
    .eltd_icon_shortcode i,
    .eltd_separator_with_icon .eltd_icon_holder .eltd_icon_shade i,
    .eltd_separator_with_icon .eltd_icon_holder .eltd_icon_shade span,
    .service_table_inner li.service_icon .service_table_icon,
	.eltd_search_form_3 .eltd_search_close a:hover,
	.eltd_search_form_2 .eltd_search_submit:hover,
	.eltd_accordion_holder.accordion .ui-accordion-header.ui-state-active,
	.eltd_accordion_holder.accordion .ui-accordion-header.ui-state-hover,
	.eltd_accordion_holder .ui-state-active .accordion_icon_holder .eltd_icon_shortcode span, 
	.eltd_accordion_holder .ui-state-active .accordion_icon_holder .eltd_icon_shortcode i,
	.eltd_accordion_holder .ui-state-hover .accordion_icon_holder .eltd_icon_shortcode span, 
	.eltd_accordion_holder .ui-state-hover .accordion_icon_holder .eltd_icon_shortcode i,
	.eltd_accordion_holder.accordion .ui-accordion-header.ui-state-active .accordion_mark_icon,
	.eltd_accordion_holder.accordion .ui-accordion-header.ui-state-hover .accordion_mark_icon,
    .projects_holder article .item_holder.slide_from_left_hover .portfolio_title a,
    .projects_masonry_holder article .item_holder.slide_from_left_hover .portfolio_title a,
    .portfolio_slider li.item .item_holder.slide_from_left_hover .portfolio_title a,
    .projects_holder article .item_holder.image_text_zoom_hover .portfolio_title a,
    .projects_masonry_holder article .item_holder.image_text_zoom_hover .portfolio_title a,
    .portfolio_slider li.item .item_holder.image_text_zoom_hover .portfolio_title a,
    .projects_holder article .item_holder.opposite_corners_hover .portfolio_title a:hover,
    .projects_masonry_holder article .item_holder.opposite_corners_hover .portfolio_title a:hover,
    .portfolio_slider li.item .item_holder.opposite_corners_hover .portfolio_title a:hover,
    .projects_holder article .item_holder.upward_hover .icons_holder a:hover,
    .projects_masonry_holder article .item_holder.upward_hover .icons_holder a:hover,
    .portfolio_slider li.item .item_holder.upward_hover .icons_holder a:hover,
    .projects_holder article .item_holder.image_subtle_rotate_zoom_hover .icons_holder a:hover,
    .projects_masonry_holder article .item_holder.image_subtle_rotate_zoom_hover .icons_holder a:hover,
    .portfolio_slider li.item .item_holder.image_subtle_rotate_zoom_hover .icons_holder a:hover,
	.shopping_cart_dropdown ul li .item_info_holder .item_left a:hover,
	.shopping_cart_header .header_cart i,
	.shopping_cart_header .header_cart:hover i,
    .eltd_tabs .tabs-nav li.active a,
	.eltd_tabs.border_arround_element .tabs-nav li.active a,
	.eltd_tabs.border_arround_element.transparent_tabs .tabs-nav li.active a,
    .eltd_tabs .tabs-nav li:hover a,
    .eltd_tabs.border_arround_element .tabs-nav li:hover a,
    .eltd_tabs.border_arround_element.transparent_tabs .tabs-nav li:hover a,
    .blog_holder article .post_text h2 .date,
    .blog_holder article .post_info a,
    .blog_holder article .post_info a:hover,
    .blog_holder article.format-link .post_text .link_image .post_text_inner .post_title a,
    .blog_holder article.format-quote .post_text .quote_image .post_text_inner .post_title a,
    .blog_holder article.format-quote h3 .date,
    .blog_holder article.format-link h3 .date,
    .blog_holder article.sticky h2 a,
    .blog_holder article h2 a:hover,
	.blog_holder.blog_single article h2:hover,
    .comment-list .post_author_comment .post-author-comment-icon,
	.eltd_team.below_image .eltd_team_info .eltd_team_position,
    .social_share_dropdown ul li:hover a span.social_network_icon,
    .social_share_dropdown ul li:hover,
    .social_share_dropdown ul li a:hover span.social_network_icon, 
    .eltd_team.below_image .eltd_team_social_holder_between .social_share_icon_shape .social_share_icon,
    .eltd_team_social_holder_between .eltd_social_icon_holder .eltd_icon_stack, .eltd-like.liked ~ a:before,
	.testimonials.with_icon .testimonial_with_icon_holder .testimonial_icon_holder i,
	.testimonials.with_icon .testimonial_with_icon_holder .testimonial_icon_holder span,
	.vc_grid-container .vc_grid-filter.vc_grid-filter-color-grey > .vc_grid-filter-item:hover span,
	.vc_grid-container .vc_grid-filter.vc_grid-filter-color-grey > .vc_grid-filter-item.vc_active span,
    .blog_vertical_loop_clapper .clap-slide-down:hover,
	.qbutton.transparent.animate_button.rotate_icon  .icon_holder .hidden_icon,
	.load_more.transparent.animate_button.rotate_icon  a .icon_holder .hidden_icon,
	.qbutton.transparent.animate_button.rotate_text_and_icon  .icon_holder .hidden_icon,
	.load_more.transparent.animate_button.rotate_text_and_icon  a .icon_holder .hidden_icon,
	.qbutton.transparent.animate_button.fill_text_rotate_icon  .icon_holder > span:not(.hidden_icon),
	.load_more.transparent.animate_button.fill_text_rotate_icon  a .icon_holder > span:not(.hidden_icon),
	.qbutton.transparent.animate_button.rotate_text_and_icon  .text_holder .hidden_text,
	.load_more.transparent.animate_button.rotate_text_and_icon  a .text_holder .hidden_text,
	.blog_holder.masonry article:not(.format-quote):not(.format-link) h4 a:hover, 
	.blog_holder.masonry_full_width article:not(.format-quote):not(.format-link) h4 a:hover,
	.drop_down .second .inner ul li a:before,
	.vertical_menu_to_content .second .inner ul li a:before,
	.side_menu a.close_side_menu:hover span,
	.shopping_cart_dropdown ul li .item_info_holder .quantity,
	.shopping_cart_dropdown ul li .item_info_holder .item_left a:hover,
	.shopping_cart_dropdown ul li .item_info_holder .item_right .remove:hover,
	.drop_down .second .inner ul li a .featured_icon{
		color: <?php echo esc_attr($eltd_options['first_color']); ?>;
    }

    .popup_menu:hover .line,
    .popup_menu:hover .line:after,
    .popup_menu:hover .line:before,
    .mejs-controls .mejs-time-rail .mejs-time-current,
    .mejs-controls .mejs-time-rail .mejs-time-handle,
    .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current,
	div.vc_row .row_badge,
	section.parallax_section_holder .row_badge,
    .eltd_dropcap.circle,
    .eltd_dropcap.square,
    .gallery_holder ul li .gallery_hover i.fa-search,
    .highlight,
    .testimonials_holder.light .flex-direction-nav a:hover,
    .eltd_message,
    .price_table_inner .price_button a,
	.price_table_inner .button_on_bottom_wrapper a,
    .eltd_price_table.active .active_text,
    .eltd_social_icon_holder .eltd_icon_stack,
    .footer_top .eltd_social_icon_holder:hover .eltd_icon_stack,
    .eltd_list.circle ul>li:before,
    .eltd_list.number.circle_number ul>li:before,
    .eltd_pie_graf_legend ul li .color_holder,
    .eltd_line_graf_legend ul li .color_holder,
    .animated_icon_inner span.animated_icon_back .animated_icon,
    .eltd_progress_bar .progress_content,
    .eltd_progress_bars_vertical .progress_content_outer .progress_content,
    .eltd_progress_bar .floating.floating_outside .progress_number,
    .qbutton,
    .load_more a,
    .blog_load_more_button a,
    .post-password-form input[type='submit'],
    #wp-calendar td#today,
    .eltd_image_gallery_no_space.light .controls a.prev-slide:hover,
    .eltd_image_gallery_no_space.light .controls a.next-slide:hover,
    input.wpcf7-form-control.wpcf7-submit,
    div.wpcf7-response-output.wpcf7-mail-sent-ok,
	.latest_post_holder.boxes .boxes_corner_info .latest_post_date_corner_holder,
    .blog_holder.blog_standard_type .post_corner_info_holder .post_date_standard_holder,
    .qbutton.white:hover,
    .qbutton.solid_color,
    .qbutton.top_and_bottom_border:hover,
    .pagination ul li a:hover,
    .single_links_pages span:hover,
    .comment_pager .page-numbers:hover,
    .comment_pager a:hover,
    .comment_pager .current:hover,
    .pagination ul li.active span,
    .single_links_pages > span,
    .comment_pager .current,
	.comment_pager .page-numbers.dots:hover,
    .read_more_button_holder a,
    .read_more_button_holder a.white:hover,
    .projects_holder article .item_holder.upward_hover .text_holder,
    .projects_masonry_holder article .item_holder.upward_hover .text_holder,
    .portfolio_slider li.item .item_holder.upward_hover .text_holder,
    .projects_holder article .item_holder.slide_from_left_hover .icons_holder,
    .projects_masonry_holder article .item_holder.slide_from_left_hover .icons_holder,
    .portfolio_slider li.item .item_holder.slide_from_left_hover .icons_holder,
    .projects_holder article .item_holder.opposite_corners_hover .text_holder .separator,
    .projects_masonry_holder article .item_holder.opposite_corners_hover .text_holder .separator,
    .portfolio_slider li.item .item_holder.opposite_corners_hover .text_holder .separator,
    .projects_holder article .item_holder.opposite_corners_hover .text_holder .separator.animate,
    .projects_masonry_holder article .item_holder.opposite_corners_hover .text_holder .separator.animate,
    .portfolio_slider li.item .item_holder.opposite_corners_hover .text_holder .separator.animate,
    .projects_holder article .item_holder.slide_from_left_hover .text_holder .separator,
    .projects_masonry_holder article .item_holder.slide_from_left_hover .text_holder .separator,
    .portfolio_slider li.item .item_holder.slide_from_left_hover .text_holder .separator,
    .projects_holder article .item_holder.slide_from_left_hover .text_holder .separator.animate,
    .projects_masonry_holder article .item_holder.slide_from_left_hover .text_holder .separator.animate,
    .portfolio_slider li.item .item_holder.slide_from_left_hover .text_holder .separator.animate,
    .projects_holder article .item_holder.subtle_vertical_hover .text_holder .separator,
    .projects_masonry_holder article .item_holder.subtle_vertical_hover .text_holder .separator,
    .portfolio_slider li.item .item_holder.subtle_vertical_hover .text_holder .separator,
    .projects_holder article .item_holder.subtle_vertical_hover .text_holder .separator.animate,
    .projects_masonry_holder article .item_holder.subtle_vertical_hover .text_holder .separator.animate,
    .portfolio_slider li.item .item_holder.subtle_vertical_hover .text_holder .separator.animate,
    .projects_holder article .item_holder.image_text_zoom_hover .text_holder .separator,
    .projects_masonry_holder article .item_holder.image_text_zoom_hover .text_holder .separator,
    .portfolio_slider li.item .item_holder.image_text_zoom_hover .text_holder .separator,
    .projects_holder article .item_holder.image_text_zoom_hover .text_holder .separator.animate,
    .projects_masonry_holder article .item_holder.image_text_zoom_hover .text_holder .separator.animate,
    .portfolio_slider li.item .item_holder.image_text_zoom_hover .text_holder .separator.animate,
    .projects_holder article .item_holder.opposite_corners_hover .icons_holder a,
    .projects_masonry_holder article .item_holder.opposite_corners_hover .icons_holder a,
    .portfolio_slider li.item .item_holder.opposite_corners_hover .icons_holder a,
    .projects_holder article .item_holder.subtle_vertical_hover .icons_holder a,
    .projects_masonry_holder article .item_holder.subtle_vertical_hover .icons_holder a,
    .portfolio_slider li.item .item_holder.subtle_vertical_hover .icons_holder a,
    .projects_holder article .item_holder.image_text_zoom_hover .icons_holder a,
    .projects_masonry_holder article .item_holder.image_text_zoom_hover .icons_holder a,
    .portfolio_slider li.item .item_holder.image_text_zoom_hover .icons_holder a,
    .projects_holder article .item_holder.gradient_hover .icons_holder a:hover,
    .projects_masonry_holder article .item_holder.gradient_hover .icons_holder a:hover,
    .portfolio_slider li.item .item_holder.gradient_hover .icons_holder a:hover,
	.filter_outer.filter_portfolio .filter_holder ul li.current span,
	.filter_outer.filter_portfolio .filter_holder ul li:not(.filter_title):hover span,
    .filter_outer.filter_portfolio .filter_holder.without_separator ul li.current span,
    .filter_outer.filter_portfolio .filter_holder.without_separator ul li:not(.filter_title):hover span,
    .filter_outer.filter_portfolio .filter_holder.without_separator ul li.filter:hover:after, 
    .filter_outer.filter_portfolio .filter_holder.without_separator ul li.filter.current:after, 
    .filter_outer.filter_portfolio .filter_holder.without_separator ul li.filter:hover:before, 
    .filter_outer.filter_portfolio .filter_holder.without_separator ul li.filter.current:before, 
    .filter_outer.filter_portfolio .filter_holder.without_separator ul li.filter:hover span:before, 
    .filter_outer.filter_portfolio .filter_holder.without_separator ul li.filter.current span:before, 
	.vertical_menu_hidden_button_line,
	.vertical_menu_hidden_button_line:after,.vertical_menu_hidden_button_line:before,
	.popup_menu.opened:hover .line:after,
	.popup_menu.opened:hover .line:before,
	.shopping_cart_header .header_cart_span,
	.shopping_cart_dropdown .cart_bottom .checkout,
	.shopping_cart_dropdown .cart_bottom .view-cart:hover,
	.popup_menu.opened:hover .line:before,
	.single_tags  a:hover,
	aside.sidebar .widget .tagcloud a:hover,
	.widget .tagcloud a:hover,
	.blog_holder article.format-link .post_text .post_text_inner:hover,
	.blog_holder article .post_social .post_comments i,
    .blog_holder article .post_social .blog_like i,
	.blog_holder.blog_masonry_gallery article .post_text .post_text_inner:hover,
	.blog_vertical_loop_button .button_icon a,
	.blog_vertical_loop_back_button .button_icon a,
	.blog_holder .post_corner_info_holder .post_date_standard_holder,
    .wpb_gallery .flexslider_slide .flex-control-paging li a.flex-active,
    .wpb_gallery .flexslider_fade .flex-control-paging li a.flex-active,
	.eltd_team.below_image:hover .social_share_icon_shape,
	.side_menu .widget.widget_nav_menu li a:hover,
	.side_menu_button_link.custom_lines:hover .custom_lines_inner .line,
	.side_menu_button_link.custom_lines:hover .custom_lines_inner .line:before,
	.side_menu_button_link.custom_lines:hover .custom_lines_inner .line:after{
		background-color: <?php echo esc_attr($eltd_options['first_color']); ?>;
    }

    <?php $bg_color = eltd_hex2rgb($eltd_options['first_color']); ?>

    .portfolio_main_holder .item_holder.image_subtle_rotate_zoom_hover .portfolio_shader,
    .portfolio_main_holder .item_holder.prominent_plain_hover .portfolio_shader,
    .portfolio_main_holder .item_holder.slide_up_hover .portfolio_shader,
    .portfolio_main_holder .item_holder.cursor_change_hover .portfolio_shader,
    .portfolio_main_holder .item_holder.circle_hover .portfolio_shader{
    background-color: rgba(<?php echo esc_attr($bg_color[0]); ?>,<?php echo esc_attr($bg_color[1]); ?>,<?php echo esc_attr($bg_color[2]); ?>,0.7);
    }

    .qbutton.mid_transparent:hover{
    border-color: rgba(<?php echo esc_attr($bg_color[0]); ?>,<?php echo esc_attr($bg_color[1]); ?>,<?php echo esc_attr($bg_color[2]); ?>,0.25);
    background-color: rgba(<?php echo esc_attr($bg_color[0]); ?>,<?php echo esc_attr($bg_color[1]); ?>,<?php echo esc_attr($bg_color[2]); ?>,0.5);
    }
    .eltd_team_social_holder .eltd_social_icon_holder:hover .eltd_icon_stack,
    .eltd_icon_shade.circle:hover,
    .eltd_icon_shade.square:hover,
    .eltd_team_social_holder .eltd_social_icon_holder:hover .eltd_icon_stack{
    background-color: <?php echo esc_attr($eltd_options['first_color']); ?> !important;
    }

    #respond textarea:focus,
    #respond input[type='text']:focus,
    .post-password-form input[type='password']:focus,
    .testimonials_holder.light .flex-direction-nav a:hover,
    .eltd_progress_bars_icons_inner.circle .bar .bar_noactive,
    .eltd_progress_bars_icons_inner.square .bar .bar_noactive,
    .animated_icon_inner span.animated_icon_back .animated_icon,
    .post-password-form input[type='submit'],
    .blog_load_more_button a:hover,
    #submit_comment:hover,
    .drop_down .wide .second ul li .qbutton:hover,
    .drop_down .wide .second ul li ul li .qbutton:hover,
    .post-password-form input[type='submit']:hover,
	.filter_outer.filter_portfolio .filter_holder ul li.current,
	.filter_outer.filter_portfolio .filter_holder ul li:not(.filter_title):hover,
    .call_to_action .to_action_column2.button_wrapper .qbutton:hover,
    .header-widget.widget_nav_menu ul ul,
    input.wpcf7-form-control.wpcf7-text:focus,
    input.wpcf7-form-control.wpcf7-number:focus,
    input.wpcf7-form-control.wpcf7-date:focus,
    textarea.wpcf7-form-control.wpcf7-textarea:focus,
    select.wpcf7-form-control.wpcf7-select:focus,
    input.wpcf7-form-control.wpcf7-quiz:focus,
    input.wpcf7-form-control.wpcf7-submit,
    input.wpcf7-form-control.wpcf7-submit[disabled],
    input.wpcf7-form-control.wpcf7-submit:not([disabled]),
    input.wpcf7-form-control.wpcf7-submit:not([disabled]):hover,
    .qbutton.white,
    .qbutton.white:hover,
    .qbutton.solid_color,
    .qbutton.solid_color:hover,
    .qbutton.top_and_bottom_border,
    .qbutton.top_and_bottom_border:hover,
    .eltd_counter_holder .separator.medium,
    .eltd_icon_shade.circle,
    .eltd_icon_shade.square,
    .eltd_pricing_border,
    .price_table_inner .price_button a,
	.price_table_inner .button_on_bottom_wrapper a,
	.single_tags  a:hover,
	aside.sidebar .widget .tagcloud a:hover,
	.widget .tagcloud a:hover,
    .box_holder_icon_inner:not(.normal_icon) .eltd_icon_stack,
    .eltd_icon_with_title:not(.normal_icon) .icon_holder .eltd_icon_stack,
    .eltd_icon_with_title:not(.normal_icon) .eltd_font_elegant_holder,
    .eltd_team.below_image:hover .social_share_icon_shape,
    .box_holder_icon_inner:not(.normal_icon) .eltd_font_elegant_holder,
	.pagination ul li a:hover,
	.single_links_pages span:hover,
	.comment_pager a:hover,
	.comment_pager .current:hover,
	.pagination ul li.active span,
	.single_links_pages > span,
	.comment_pager .current,
	.comment_pager .page-numbers.dots:hover,
	.side_menu a.close_side_menu:hover span,
	.side_menu_button a.side_menu_button_link:hover{
		border-color: <?php echo esc_attr($eltd_options['first_color']); ?>;
    }

	.drop_down .second,
    .eltd_progress_bar .progress_number_wrapper.floating .down_arrow,
	div.vc_row .row_badge .row_badge_triangle,
	section.parallax_section_holder .row_badge .row_badge_triangle{
		border-top-color: <?php echo esc_attr($eltd_options['first_color']); ?>;
	}

    .eltd_circles_holder .eltd_circle_inner:hover,
    .eltd_team_social_holder .eltd_social_icon_holder:hover .eltd_icon_stack{
    border-color: <?php echo esc_attr($eltd_options['first_color']); ?> !important;
    }

    <?php if(function_exists('is_woocommerce')) { ?>
        .woocommerce .myaccount_user a,
        .woocommerce .select2-container .select2-choice .select2-arrow .select2-arrow:after ,
        .woocommerce-page .select2-container .select2-choice .select2-arrow:after,
        .woocommerce-checkout .form-row #billing_country_chzn.chzn-container-single .chzn-single div b:before,
        .woocommerce-checkout .form-row #shipping_country_chzn.chzn-container-single .chzn-single div b:before,
        .woocommerce-checkout .form-row .chosen-container-single .chosen-single div b:before,
        .woocommerce-account .form-row .chosen-container-single .chosen-single div b:before,
        .woocommerce-checkout .chosen-container .chosen-results li.active-result.highlighted,
        .woocommerce-account .chosen-container .chosen-results li.active-result.highlighted,
        .woocommerce ul.products li.product span.product-title:hover,
        .woocommerce .quantity input[type="text"].qty,
        .woocommerce #content .quantity input[type="text"].qty,
        .woocommerce-page .quantity input[type="text"].qty,
        .woocommerce-page #content .quantity input[type="text"].qty,
        .woocommerce .star-rating,
        .woocommerce-page .star-rating,
        .woocommerce div.cart-collaterals div.cart_totals table tr.order-total strong span.amount,
        .woocommerce-page div.cart-collaterals div.cart_totals table tr.order-total strong span.amount,
        .woocommerce div.cart-collaterals div.cart_totals table tr.order-total strong,
        .woocommerce form.checkout table.shop_table tfoot tr.order-total th,
        .woocommerce form.checkout table.shop_table tfoot tr.order-total td span.amount,
        .woocommerce aside ul.product_list_widget li > a:hover,
        aside ul.product-categories li > a:hover,
        .woocommerce aside ul.product_list_widget li span.amount,
        aside ul.product_list_widget li span.amount,
        .woocommerce aside .widget ul.product-categories a:hover,
        aside .widget ul.product-categories a:hover,
        .woocommerce-page aside .widget ul.product-categories a:hover,
        .woocommerce aside.sidebar .woocommerce.widget ul.product-categories ul.children li a:hover,
        aside ul.product-categories ul.children li a:hover,
        .woocommerce-page aside.sidebar .woocommerce.widget ul.product-categories ul.children li a:hover,
        .woocommerce aside.sidebar .woocommerce.widget ul.product-categories  a:hover,
        aside ul.product-categories a:hover,
        .woocommerce-page aside.sidebar .woocommerce.widget ul.product-categories li a:hover,
        .woocommerce .widget_shopping_cart_content .total .amount,
        .woocommerce-page .widget_shopping_cart_content .total .amount,
        .woocommerce .select2-results li.select2-highlighted,
        .woocommerce-page .select2-results li.select2-highlighted,
        .woocommerce .product .woocommerce-product-rating .woocommerce-review-link:hover,
        .shopping_cart_header .header_cart:hover i,
        .shopping_cart_dropdown ul li a:hover,
        .shopping_cart_dropdown span.total span,
        .woocommerce .product .woocommerce-product-rating .woocommerce-review-link:hover,
		.woocommerce .checkout-opener-text a,
        .woocommerce .product_info_box span.product-categories, 
        .woocommerce-page .product_info_box span.product-categories {
			color: <?php echo esc_attr($eltd_options['first_color']); ?>;
        }

        .woocommerce ul.products li.product a.qbutton:hover,
        .woocommerce-page ul.products li.product a.qbutton:hover,
		.woocommerce .widget_price_filter .ui-slider .ui-slider-handle,
		.woocommerce-page .widget_price_filter .ui-slider .ui-slider-handle
		.woocommerce.single-product button.single_add_to_cart_button:hover,
		.woocommerce .product .onsale,
		.woocommerce .product .out-of-stock,
		.woocommerce .product .single-onsale,
		.woocommerce ul.products li.product .add-to-cart-button-inner2 a.button.add_to_cart_button:hover,
		.shopping_cart_header .header_cart.with_button,
        .woocommerce ul.products.hover_type2 li.product .add-to-cart-button-inner2 a.button.add_to_cart_button:hover,
        .woocommerce ul.products.hover_type2 li.product .add-to-cart-button-inner2 a.added_to_cart:hover,
        .woocommerce ul.products li.product .add-to-cart-button-inner2 a.added_to_cart:hover,
		.woocommerce-pagination ul.page-numbers li a:hover,
		.woocommerce-pagination ul.page-numbers li span:hover,
		.woocommerce-pagination ul.page-numbers li span.current:hover,
		.woocommerce .widget_shopping_cart_content p.buttons a.button,
		.woocommerce .widget_shopping_cart_content p.buttons a.button:hover,
		.woocommerce .widget_price_filter .button,
		.woocommerce-page .widget_price_filter .button,
		.woocommerce-page .shop_table .button:hover.woocommerce ul.products.hover_type2 li.product .add-to-cart-button-inner2 a.added_to_cart:hover ,
		.woocommerce .cart-collaterals .button:hover,
		.woocommerce-pagination ul.page-numbers li>span.dots:hover,
        header.dark:not(.sticky):not(.scrolled) .shopping_cart_header .header_cart_span,
        header.light:not(.sticky):not(.scrolled) .shopping_cart_header .header_cart_span{
			background-color: <?php echo esc_attr($eltd_options['first_color']); ?>;
        }

        .woocommerce .content .button,
        .woocommerce-page .content .button,
        .woocommerce .content button.button,
        .woocommerce-page .content button.button,
        .woocommerce-page .content input[type="submit"]:not(.eltd_search_submit),
        .woocommerce .content input[type="submit"]:not(.eltd_search_submit),
        .woocommerce ul.products li.product .added_to_cart,
        .woocommerce.single-product button.single_add_to_cart_button:hover,
        .woocommerce.single-product .eltd_tabs form.comment-form textarea#comment,
		.woocommerce .product_info_box .separator.medium,
		.woocommerce :not(.page_header input){
			border-color: <?php echo esc_attr($eltd_options['first_color']); ?>;
        }
    <?php } ?>
<?php } ?>

<?php if (!empty($eltd_options['spinner_color'])) { ?>
    .ajax_loader .pulse,
    .ajax_loader .double_pulse .double-bounce1, .ajax_loader .double_pulse .double-bounce2,
    .ajax_loader .cube,
    .ajax_loader .rotating_cubes .cube1, .ajax_loader .rotating_cubes .cube2,
    .ajax_loader .stripes > div,
    .ajax_loader .wave > div,
    .ajax_loader .two_rotating_circles .dot1, .ajax_loader .two_rotating_circles .dot2,
    .ajax_loader .five_rotating_circles .container1 > div, .ajax_loader .five_rotating_circles .container2 > div, .ajax_loader .five_rotating_circles .container3 > div,
	.ajax_loader .atom .ball-1:before,.ajax_loader .atom .ball-2:before, .ajax_loader .atom .ball-3:before, .ajax_loader .atom .ball-4:before,
	.ajax_loader .clock .ball:before,
	.ajax_loader .mitosis .ball,
	.ajax_loader .lines .line1, .ajax_loader .lines .line2, .ajax_loader .lines .line3, .ajax_loader .lines .line4,
	.ajax_loader .fussion .ball, .ajax_loader .fussion .ball-1, .ajax_loader .fussion .ball-2, .ajax_loader .fussion .ball-3, .ajax_loader .fussion .ball-4,
	.ajax_loader .wave_circles .ball,
		.ajax_loader .pulse_circles .ball{
		background-color: <?php echo esc_attr($eltd_options['spinner_color']); ?>;
    }
<?php } ?>

<?php if (!empty($eltd_options['spinner_color'])) { ?>
	.ajax_loader .pulse_circles .ball{
		border-color: <?php echo esc_attr($eltd_options['spinner_color']); ?>;
    }
<?php } ?>

<?php if (!empty($eltd_options['background_color']) || !empty($eltd_options['text_color']) || !empty($eltd_options['text_fontsize']) || !empty($eltd_options['text_fontweight']) || $eltd_options['google_fonts'] != "-1") { ?>
    body{
    <?php if($eltd_options['google_fonts'] != "-1"){ ?>
        <?php $font = str_replace('+', ' ', $eltd_options['google_fonts']); ?>
        font-family: '<?php echo esc_attr($font); ?>', sans-serif;
    <?php } ?>
    <?php if (!empty($eltd_options['text_color'])) { ?> color: <?php echo esc_attr($eltd_options['text_color']);  ?>; <?php } ?>
    <?php if (!empty($eltd_options['text_fontsize'])) { ?> font-size: <?php echo esc_attr($eltd_options['text_fontsize']); ?>px; <?php } ?>
    <?php if (!empty($eltd_options['text_fontweight'])) { ?>font-weight: <?php echo esc_attr($eltd_options['text_fontweight']);  ?>;<?php } ?>
    }
    <?php if (!empty($eltd_options['background_color'])) { ?>
        body,
        .wrapper,
        .content,
        .full_width,
        .content .container,
				.overlapping_content .content > .container,
        .more_facts_holder{
        background-color:<?php echo esc_attr($eltd_options['background_color']);  ?>;
        }
    <?php } ?>
<?php } ?>





<?php if($eltd_options['google_fonts'] != "-1"){ ?>
    h3, h6,
    .pagination ul li.active span,
    .single_links_pages span,
    .comment_pager .page-numbers,
    .pagination ul li > a.inactive,
    .subtitle,
    .blog_holder article .post_info,
    .comment_holder .comment .text .comment_date,
    .latest_post_holder .post_info_section,
    .projects_holder article .project_category,
    .portfolio_slides .project_category,
    .projects_masonry_holder .project_category,
    .testimonials .testimonial_text_inner p:not(.testimonial_author),
    .price_in_table .mark,
    body div.pp_default .pp_description,
    .side_menu .widget li,
    aside.sidebar .widget:not(.woocommerce) li,
    aside .widget #lang_sel ul li a,
    aside .widget #lang_sel_click ul li a,
    section.side_menu #lang_sel ul li a,
    section.side_menu #lang_sel_click ul li a,
    footer #lang_sel ul li a,
    footer #lang_sel_click ul li a,
    .header_top #lang_sel ul li a,
    .header_top #lang_sel_click ul li a,
    .header_bottom #lang_sel ul li a,
    .header_bottom #lang_sel_click > ul > li a {
    <?php $font = str_replace('+', ' ', $eltd_options['google_fonts']); ?>
    font-family: '<?php echo esc_attr($font); ?>', sans-serif;
    }
    <?php if(function_exists('is_woocommerce')) { ?>
        .woocommerce ul.products li.product span.product-categories a,.woocommerce div.product div.product_meta > span, .woocommerce-page ul.products li.product span.product-categories a, .woocommerce ul.products li.product .price, .woocommerce-page ul.products li.product .price, .woocommerce aside ul.product_list_widget li span.amount, aside ul.product_list_widget li span.amount, .woocommerce .product .out-of-stock, .woocommerce-pagination ul.page-numbers li span.current, .woocommerce-pagination ul.page-numbers li a, .woocommerce .quantity input[type="text"].qty, .woocommerce #content .quantity input[type="text"].qty, .woocommerce-page .quantity input[type="text"].qty, .woocommerce-page #content .quantity input[type="text"].qty, .woocommerce div.product div.product_meta > span span, .woocommerce div.product div.product_meta > span a, .woocommerce aside.sidebar .woocommerce.widget ul.product-categories ul.children li a, aside ul.product-categories ul.children li a, .woocommerce-page aside.sidebar .woocommerce.widget ul.product-categories ul.children li a, .shopping_cart_header .header_cart span{
        <?php $font = str_replace('+', ' ', $eltd_options['google_fonts']); ?>
        font-family: '<?php echo esc_attr($font); ?>', sans-serif;
        }
    <?php } ?>
<?php } ?>
<?php if (!empty($eltd_options['background_color_box'])) { ?>
    .wrapper{
    <?php if (!empty($eltd_options['background_color_box'])) { ?> background-color:<?php echo esc_attr($eltd_options['background_color_box']);  ?>; <?php } ?>
    }
<?php } ?>
<?php
$boxed = "no";
$spacing_top = 0;
if (isset($eltd_options['boxed']) && isset($eltd_options['transparent_content']) && $eltd_options['transparent_content'] == 'no')
    $boxed = $eltd_options['boxed'];
?>

<?php if($boxed == "yes"){ ?>
    body.boxed .wrapper{
    <?php if (!empty($eltd_options['background_color_box'])) { ?> background-color:<?php echo esc_attr($eltd_options['background_color_box']);  ?>; <?php } ?>

    <?php if($eltd_options['pattern_background_image'] != ""){  ?>
        background-image: url('<?php echo esc_url($eltd_options['pattern_background_image']) ?>');
        background-position: 0px 0px;
        background-repeat: repeat;
    <?php } ?>

    <?php if($eltd_options['background_image'] != ""){  ?>
        background-image: url('<?php echo esc_url($eltd_options['background_image']) ?>');
        background-position: center 0px;
        background-repeat: no-repeat;
    <?php } ?>

    <?php if($eltd_options['background_image_attachment'] == "scroll") { ?>
        background-attachment: scroll;
    <?php }
        else { ?>
        background-attachment: fixed;
    <?php } ?>
    }
    body.boxed .content,
	.space_around_content_inner{
    <?php if (!empty($eltd_options['background_color'])) { ?> background-color:<?php echo esc_attr($eltd_options['background_color']);  ?>; <?php } ?>
    }

    <?php if (isset($eltd_options['boxed_padding_general']) && !empty($eltd_options['boxed_padding_general'])) {?>
    @media only screen and (min-width:600px){
        body.boxed:not(.page-template-default) .full_width_inner > .vc_row > .full_section_inner,
        body.boxed:not(.page-template-default) .parallax_full_section_inner,
        body.boxed .container_inner.default_template_holder,
        body.boxed .full_width .parallax_content,
        body.boxed .full_width .full_width_inner > .vc_row.grid_section > .section_inner{
            padding-left: <?php echo esc_attr($eltd_options['boxed_padding_general'])."%";?> !important;
            padding-right: <?php echo esc_attr($eltd_options['boxed_padding_general'])."%";?> !important;
            box-sizing: border-box;
        }

        .boxed .section .section_inner,
        .grid_section .section_inner,
        .parallax_grid_section .parallax_section_inner,
        .content_inner > .container > .container_inner{
            width:auto !important;
        }

    }

    @media only screen and (max-width:600px){
        body.boxed:not(.page-template-default) .full_width_inner > .vc_row > .full_section_inner,
        body.boxed:not(.page-template-default) .parallax_full_section_inner,
        body.boxed .container_inner.default_template_holder,
        body.boxed .full_width .parallax_content,
        body.boxed .full_width .full_width_inner > .vc_row.grid_section > .section_inner,
        body.boxed .container_inner > .vc_row.grid_section > .section_inner{
            margin: auto;
			padding-left:15px;
			padding-right:15px;
        }

        body.boxed .full_width .parallax_content{
            box-sizing:border-box;
        }

    }

        <?php if (isset($eltd_options['boxed_padding_on_header_footer']) && $eltd_options['boxed_padding_on_header_footer']=='yes'){ ?>
				@media only screen and (min-width:600px){
					.footer_top .container_inner,
					.footer_top.footer_top_full,
					.footer_bottom_holder_inner,
					.header_top_bottom_holder .header_top,
					.header_top_bottom_holder .header_bottom,
					.eltd_search_form_3 .container_inner{
						padding-left: <?php echo esc_attr($eltd_options['boxed_padding_general'])."%";?> !important;
						padding-right: <?php echo esc_attr($eltd_options['boxed_padding_general'])."%";?> !important;
						box-sizing: border-box;
						width: auto !important;
					}

					.footer_bottom_holder .container_inner,
					.header_top_bottom_holder .container_inner,
					.eltd_search_form_3 .container_inner{
						width: auto !important;
					}

					.footer_top_border_holder.in_grid,
					.footer_bottom_border_holder.in_grid,
					.footer_top_border_holder,
					.footer_bottom_border_holder{
						margin-left: <?php echo esc_attr($eltd_options['boxed_padding_general'])."%";?> !important;
						margin-right: <?php echo esc_attr($eltd_options['boxed_padding_general'])."%";?> !important;
						box-sizing: border-box;
						width: auto !important;
					}
				}

				@media only screen and (min-width:1000px){
					header .header_inner_left{
						left:<?php echo esc_attr($eltd_options['boxed_padding_general'])."%";?>;
					}
				}

				@media only screen and (min-width:600px) and (max-width: 1000px) {
					header.stick_with_left_right_menu .header_inner nav.main_menu.right_side{
						right:<?php echo esc_attr($eltd_options['boxed_padding_general'])."%";?>;
					}
				}
			<?php } ?>
				
			<?php if (isset($eltd_options['boxed_padding_on_header']) && $eltd_options['boxed_padding_on_header']=='yes'){ ?>
				@media only screen and (min-width:600px){
					.header_top_bottom_holder .header_top,
					.header_top_bottom_holder .header_bottom,
					.eltd_search_form_3 .container_inner,
					.eltd_search_form_3 .form_holder{
						padding-left: <?php echo esc_attr($eltd_options['boxed_padding_general'])."%";?> !important;
						padding-right: <?php echo esc_attr($eltd_options['boxed_padding_general'])."%";?> !important;
						box-sizing: border-box;
						width: auto !important;
					}

					.header_top_bottom_holder .container_inner,
					.eltd_search_form_3 .container_inner{
						width: auto !important;
					}
				}

				@media only screen and (min-width:1000px){
					header .header_inner_left{
						left:<?php echo esc_attr($eltd_options['boxed_padding_general'])."%";?>;
					}
				}

				@media only screen and (min-width:600px) and (max-width: 1000px) {
					header.stick_with_left_right_menu .header_inner nav.main_menu.right_side{
						right:<?php echo esc_attr($eltd_options['boxed_padding_general'])."%";?>;
					}
				}
			<?php } ?>

        <?php if (isset($eltd_options['boxed_padding_on_title_content']) && $eltd_options['boxed_padding_on_title_content']=='yes'){ ?>
        @media only screen and (min-width:600px){
            .content .title_holder .container_inner{
                padding-left: <?php echo esc_attr($eltd_options['boxed_padding_general'])."%";?> !important;
                padding-right: <?php echo esc_attr($eltd_options['boxed_padding_general'])."%";?> !important;
                box-sizing: border-box;
                width: 100% !important;
            }
        }
        <?php } ?>

        <?php if (isset($eltd_options['boxed_padding_on_title_container']) && $eltd_options['boxed_padding_on_title_container']=='yes'){ ?>
        @media only screen and (min-width:600px){
            .content .title_outer{
                margin-left: <?php echo esc_attr($eltd_options['boxed_padding_general'])."%";?> !important;
                margin-right: <?php echo esc_attr($eltd_options['boxed_padding_general'])."%";?> !important;
                box-sizing: border-box;
                width: auto !important;
            }

            .content .title_holder .container_inner{
                width:auto !important;
            }
        }
        <?php } ?>

    <?php } ?>
	
	<?php
	if($eltd_options['spacing_arround_content'] == 'yes'){
		$spacing_top = 25; //default spacing amount
		
		if($eltd_options['spacing_amount'] !== ''){
			$spacing_top = $eltd_options['spacing_amount'];
			?>
			.space_around_content {
				margin-top: <?php echo esc_attr($eltd_options['spacing_amount']);?>px;
				margin-bottom: <?php echo esc_attr($eltd_options['spacing_amount']);?>px;
			}
		
			<?php }
		
		if($eltd_options['frame_around_content'] == 'yes'){
			
			$frame_around_content_style = '';
			
			if($eltd_options['frame_around_content_color'] !== ''){
				$frame_around_content_style .= 'border: 1px solid '.esc_attr($eltd_options['frame_around_content_color']).'; padding:0px; margin-left:0px; background:none; ';
				
				if($eltd_options['frame_around_content_width'] !== ''){
					$frame_around_content_style .= 'border-width:'.esc_attr($eltd_options['frame_around_content_width']).'px; margin-left:-'.esc_attr($eltd_options['frame_around_content_width']).'px;';
					$spacing_top += $eltd_options['frame_around_content_width'];
				} else{
					$spacing_top += 1; //default frame width with border
				}
			}
			else{
				if($eltd_options['frame_around_content_width'] !== ''){
					$frame_around_content_style .= 'padding:'.esc_attr($eltd_options['frame_around_content_width']).'px; margin-left:-'.esc_attr($eltd_options['frame_around_content_width']).'px;';
					$spacing_top += $eltd_options['frame_around_content_width'];
				}else{
					$spacing_top += 15; //default frame width with pattern
				}
				
				if($eltd_options['frame_around_content_pattern'] !== ''){
					$frame_around_content_style .= 'background-image: url('.esc_attr($eltd_options['frame_around_content_pattern']).');';
				}
			}
			
			if($frame_around_content_style !== ''){
			?>
				.space_around_content.frame_around_content {
					<?php echo esc_attr($frame_around_content_style); ?>
				}
			
			<?php }
		
		}
	}
	?>
	
<?php } ?>

<?php if(isset($eltd_options['transparent_content']) && $eltd_options['transparent_content'] == 'yes'){ ?>
    .transparent_content,
	.transparent_content.overlapping_content .content .content_inner > .container,
	.transparent_content.overlapping_content .content .content_inner > .full_width > .full_width_inner{
		<?php if(isset($eltd_options['transparent_content_background_color']) && $eltd_options['transparent_content_background_color'] !== ''){ ?>
			background-color: <?php echo esc_attr($eltd_options['transparent_content_background_color']); ?>;
		<?php } ?>

		<?php if(isset($eltd_options['transparent_content_background_image']) && $eltd_options['transparent_content_background_image'] !== ''){ ?>
			background-image: url('<?php echo esc_url($eltd_options['transparent_content_background_image']) ?>');
			background-attachment: fixed;
			background-position: center 0px;
			background-repeat: no-repeat;
		<?php } ?>

		<?php if(isset($eltd_options['transparent_content_pattern_background_image']) && $eltd_options['transparent_content_pattern_background_image'] !== ''){ ?>
			background-image: url('<?php echo esc_url($eltd_options['transparent_content_pattern_background_image']) ?>');
			background-position: 0px 0px;
			background-repeat: repeat;
		<?php } ?>

		}

		.wrapper,
		.content,
		.full_width,
		.content .container,
		.more_facts_holder,
		.container_inner.default_template_holder,
		.paspartu_outer,
		.paspartu_left,
		.paspartu_right,
		.paspartu_bottom,
		.paspartu_outer .eltd_slider,
		.paspartu_outer .content:not(.has_slider) .content_inner,
		.eltd_slider_bottom_paspartu{
			background-color: transparent !important;
		}

<?php } ?>

<?php if (!empty($eltd_options['highlight_color'])) { ?>
    span.highlight {
    background-color: <?php echo esc_attr($eltd_options['highlight_color']);  ?>;
    }
<?php } ?>

<?php if (!empty($eltd_options['header_background_color']) || $eltd_options['header_background_transparency_initial'] != "") {
    if(!empty($eltd_options['header_background_color'])){
        $bg_color = eltd_hex2rgb($eltd_options['header_background_color']);
    }else{
        $bg_color = eltd_hex2rgb('#ffffff');
    }
    if ($eltd_options['header_background_transparency_initial'] != "") {
        $bg_color_transparency = $eltd_options['header_background_transparency_initial'];
    }else{
        $bg_color_transparency = 1;
    }
    ?>
    .header_bottom,
	.fixed_top_header .bottom_header{
    background-color: rgba(<?php echo esc_attr($bg_color[0]); ?>,<?php echo esc_attr($bg_color[1]); ?>,<?php echo esc_attr($bg_color[2]); ?>,<?php echo esc_attr($bg_color_transparency); ?>);
    }

    <?php if(isset($bg_color_transparency) && $bg_color_transparency == 0) { ?>

        .header_bottom,
        .header_top,
		.fixed_top_header  .bottom_header{
        border-bottom: 0;
        }

        .header_bottom {
        box-shadow: none;
        }

        .header_top .right .inner > div:first-child,
        .header_top .right .inner > div,
        .header_top .left .inner > div:last-child,
        .header_top .left .inner > div {
        border: none;
        }

    <?php } ?>

<?php } ?>

<?php if (!empty($eltd_options['header_grid_background_color']) || $eltd_options['header_grid_background_transparency_initial'] !== "") {

    if(!empty($eltd_options['header_grid_background_color'])){
        $bg_color = eltd_hex2rgb($eltd_options['header_grid_background_color']);
    }else{
        $bg_color = eltd_hex2rgb('#ffffff');
    }
    if ($eltd_options['header_grid_background_transparency_initial'] != "") {
        $bg_color_transparency = $eltd_options['header_grid_background_transparency_initial'];
    }else{
        $bg_color_transparency = 1;
    }
    ?>
    .header_bottom .container_inner,
	.bottom_header .container_inner	{
    background-color: rgba(<?php echo esc_attr($bg_color[0]); ?>,<?php echo esc_attr($bg_color[1]); ?>,<?php echo esc_attr($bg_color[2]); ?>,<?php echo esc_attr($bg_color_transparency); ?>);
    }

<?php } ?>


<?php if (isset($eltd_options['header_in_grid_padding_left']) && $eltd_options['header_in_grid_padding_left'] !== '') {

    $padding_left = $eltd_options['header_in_grid_padding_left'].'px';

    ?>

    .header_bottom .container_inner,
	.fixed_top_header .top_header .container_inner .left{
		padding-left: <?php echo esc_attr($padding_left); ?>;
    }

    .page_header.regular .header_bottom .eltd_logo,
    .page_header.fixed .header_bottom .eltd_logo,
    .page_header.stick .header_bottom .eltd_logo {
    left: <?php echo esc_attr($padding_left); ?>;
    }

<?php } ?>


<?php if (isset($eltd_options['header_in_grid_padding_right']) && $eltd_options['header_in_grid_padding_right'] !== '') {

    $padding_right = $eltd_options['header_in_grid_padding_right'].'px';

    ?>

    .header_bottom .container_inner,
	.fixed_top_header .top_header .container_inner .right{
		padding-right: <?php echo esc_attr($padding_right); ?>;
    }

	.stick.compound:not(.sticky) .container_inner .bottom_right,
	.stick.compound.sticky .container_inner .bottom_right,
	.stick.compound .container_inner .header_right_top{
		right: <?php echo esc_attr($padding_right); ?>;
    }

<?php } ?>

<?php if(isset($eltd_options['content_grid_position']) && ($eltd_options['content_grid_position'])=="left") { ?>
       @media only screen and (min-width: 1000px){
		.container_inner{
			margin-left:0px;
		}
	   }
<?php } ?>

<?php if(isset($eltd_options['content_grid_position']) && ($eltd_options['content_grid_position'])=="right") { ?>
       @media only screen and (min-width: 1000px){
		.container_inner{
			margin-right:0px;
		}
	   }
<?php } ?>

<?php if (isset($eltd_options['background_color_grid']) && !empty($eltd_options['background_color_grid'])) {
	if($eltd_options['overlapping_content'] == 'no') {
?>
		.container_inner.default_template_holder{
			background-color:<?php echo esc_attr($eltd_options['background_color_grid']);  ?>;
		}
<?php } else { ?>
		.overlapping_content .content .content_inner > .container .overlapping_content .overlapping_content_inner{
			background-color:<?php echo esc_attr($eltd_options['background_color_grid']);  ?>;
		}
<?php
	}
}
 ?>

<?php if (!empty($eltd_options['header_separator_color'])) { ?>
    .drop_down .wide .second ul li{
		border-color:<?php echo esc_attr($eltd_options['header_separator_color']);  ?>;
    }
<?php } ?>

<?php if (isset($eltd_options['content_top_padding']) && $eltd_options['content_top_padding'] !== '') { ?>
    .content .content_inner > .container > .container_inner,
    .content .content_inner > .full_width > .full_width_inner{
    padding-top: <?php echo esc_attr($eltd_options['content_top_padding']); ?>px;
    }
<?php } ?>

<?php if (isset($eltd_options['content_top_padding_default_template']) && $eltd_options['content_top_padding_default_template'] !== '') { ?>
    .content .content_inner > .container > .container_inner.default_template_holder{
		padding-top: <?php echo esc_attr($eltd_options['content_top_padding_default_template']); ?>px;
    }
<?php } ?>

<?php if (isset($eltd_options['content_top_padding_mobile']) && $eltd_options['content_top_padding_mobile'] !== '') { ?>
    @media only screen and (max-width: 1000px){
    .content .content_inner > .container > .container_inner,
    .content .content_inner > .full_width > .full_width_inner,
    .content .content_inner > .container > .container_inner.default_template_holder{
		padding-top: <?php echo esc_attr($eltd_options['content_top_padding_mobile']); ?>px !important;
    }
    }
<?php } ?>

<?php if((isset($eltd_options['border_top_title_area']) && $eltd_options['border_top_title_area'] == "yes") && (!empty($eltd_options['border_top_title_area_color']) || !empty($eltd_options['border_top_title_area_width'])) ) { ?>
  
    <?php if((isset($eltd_options['enable_title_border_grid']) && $eltd_options['enable_title_border_grid'] == "yes")){?>
        .title{
            border-top:none;
        }
        .title .container_inner {
            border-top-style:solid;
            border-top-color:<?php echo esc_attr($eltd_options['border_top_title_area_color']); ?>;
            border-top-width:<?php echo esc_attr($eltd_options['border_top_title_area_width']); ?>px;
        }
    <?php } else { ?>
        .title{
            border-top-style:solid;
            border-top-color:<?php echo esc_attr($eltd_options['border_top_title_area_color']); ?>;
            border-top-width:<?php echo esc_attr($eltd_options['border_top_title_area_width']); ?>px;
        }
    <?php } ?>
<?php } ?>

<?php if(isset($eltd_options['border_bottom_title_area']) && $eltd_options['border_bottom_title_area'] == "yes"){ ?>
	.title{
		border-bottom: 1px solid #dfdfdf;
	}
<?php } ?>
<?php if((isset($eltd_options['border_bottom_title_area']) && $eltd_options['border_bottom_title_area'] == "yes") && (!empty($eltd_options['border_bottom_title_area_color']) || !empty($eltd_options['border_bottom_title_area_width'])) ) { ?>
  
	<?php if((isset($eltd_options['enable_title_border_grid']) && $eltd_options['enable_title_border_grid'] == "yes")){?>
		.title{
			border-bottom:none;
		}
		.title .container_inner {
			border-bottom-style:solid;
			border-bottom-color:<?php echo esc_attr($eltd_options['border_bottom_title_area_color']); ?>;
			border-bottom-width:<?php echo esc_attr($eltd_options['border_bottom_title_area_width']); ?>px;
		}
	<?php } else { ?>
		.title{
			border-bottom-style:solid;
			border-bottom-color:<?php echo esc_attr($eltd_options['border_bottom_title_area_color']); ?>;
			border-bottom-width:<?php echo esc_attr($eltd_options['border_bottom_title_area_width']); ?>px;
		}
	<?php } ?>
<?php } ?>




<?php if(isset($eltd_options['header_in_grid']) && ($eltd_options['header_in_grid'])=="no" && isset($eltd_options['header_left_padding']) && $eltd_options['header_left_padding'] !== ""){?>
	@media only screen and (min-width: 1000px){
		.header_bottom.header_full_width,
		.fixed_top_header .top_header > .left{
			padding-left: <?php echo esc_attr($eltd_options['header_left_padding']); ?>;
		}
		header .header_inner_left{
			left: <?php echo esc_attr($eltd_options['header_left_padding']); ?>;
		}

		header.stick_with_left_right_menu .header_full_width nav.main_menu.left_side{
			left: <?php echo esc_attr($eltd_options['header_left_padding']); ?>;
			width: calc(50% -  <?php echo esc_attr($eltd_options['header_left_padding']); ?>);
		}

	}
<?php } ?>

<?php if(isset($eltd_options['header_in_grid']) && ($eltd_options['header_in_grid'])=="no" && isset($eltd_options['header_right_padding']) && $eltd_options['header_right_padding'] !== ""){?>
	@media only screen and (min-width: 1000px){
		.header_bottom.header_full_width,
		.fixed_top_header .top_header > .right{
			padding-right: <?php echo esc_attr($eltd_options['header_right_padding']); ?>;
		}
		.stick.compound:not(.sticky) .bottom_right,
		.stick.compound.sticky .bottom_right,
		.stick.compound .header_right_top,
		.side_menu .close_side_menu_holder{
			right: <?php echo esc_attr($eltd_options['header_right_padding']); ?>;
		}

		header.stick_with_left_right_menu .header_full_width nav.main_menu.right_side{
			right: <?php echo esc_attr($eltd_options['header_right_padding']); ?>;
			width: calc(50% -  <?php echo esc_attr($eltd_options['header_right_padding']); ?>);
		}
		
		.fullscreen_search_holder .close_container .search_close_holder{
			margin-right: <?php echo esc_attr($eltd_options['header_right_padding']); ?>;
		}
	}
<?php } ?>

<?php if( isset($eltd_options['header_bottom_appearance']) && $eltd_options['header_bottom_appearance']=="fixed_hiding" && isset($eltd_options['menu_background_color']) && !empty($eltd_options['menu_background_color'])){?>
	@media only screen and (min-width: 1000px){
		header:not(.sticky):not(.scrolled) .holeder_for_hidden_menu{
			background-color: <?php echo esc_attr($eltd_options['menu_background_color']); ?>;
		}
	}
<?php } ?>

<?php if( isset($eltd_options['header_bottom_appearance']) && $eltd_options['header_bottom_appearance']=="fixed_hiding" && isset($eltd_options['enable_menu_top_bottom_border']) && $eltd_options['enable_menu_top_bottom_border']=='yes' && isset($eltd_options['color_menu_top_bottom_border']) && !empty($eltd_options['color_menu_top_bottom_border'])){?>
	@media only screen and (min-width: 1000px){
		header:not(.sticky):not(.scrolled) .holeder_for_hidden_menu{
			border-bottom-width: 1px;
			border-top-width: 1px;
			border-style: solid;
			border-color: <?php echo esc_attr($eltd_options['color_menu_top_bottom_border']); ?>;
		}
	}
<?php } ?>

<?php if( isset($eltd_options['header_bottom_appearance']) && $eltd_options['header_bottom_appearance']=="stick menu_bottom" && isset($eltd_options['menu_background_color']) && !empty($eltd_options['menu_background_color'])){?>
	@media only screen and (min-width: 1000px){
		header:not(.sticky):not(.scrolled) .header_menu_bottom {
			background-color: <?php echo esc_attr($eltd_options['menu_background_color']); ?>;
		}
	}
<?php } ?>

<?php if( isset($eltd_options['header_bottom_appearance']) && $eltd_options['header_bottom_appearance']=="stick menu_bottom" && isset($eltd_options['enable_menu_top_bottom_border']) && $eltd_options['enable_menu_top_bottom_border']=='yes' && isset($eltd_options['color_menu_top_bottom_border']) && !empty($eltd_options['color_menu_top_bottom_border'])){?>
	@media only screen and (min-width: 1000px){
		header:not(.sticky):not(.scrolled) .header_menu_bottom {
			border-bottom-width: 1px;
			border-top-width: 1px;
			border-style: solid;
			border-color: <?php echo esc_attr($eltd_options['color_menu_top_bottom_border']); ?>;

		}
	}
<?php } ?>

<?php
if (!empty($eltd_options['header_background_color_scroll']) || $eltd_options['header_background_transparency_scroll'] != "") {

    if(!empty($eltd_options['header_background_color_scroll'])){
        $bg_color_scroll = eltd_hex2rgb($eltd_options['header_background_color_scroll']);
    }else{
        $bg_color_scroll = eltd_hex2rgb('#ffffff');
    }

    if ($eltd_options['header_background_transparency_scroll'] != "") {
        $bg_color_scroll_transparency = $eltd_options['header_background_transparency_scroll'];
    }else{
        $bg_color_scroll_transparency = 1;
    }
    ?>
    header.fixed.scrolled .header_bottom,
    header.fixed.scrolled .header_top,
    header.fixed_hiding.scrolled .header_bottom,
    header.fixed_hiding.scrolled .header_top{
    background-color: rgba(<?php echo esc_attr($bg_color_scroll[0]); ?>,<?php echo esc_attr($bg_color_scroll[1]); ?>,<?php echo esc_attr($bg_color_scroll[2]); ?>,<?php echo esc_attr($bg_color_scroll_transparency); ?>) !important;
    }
<?php } ?>

<?php if($eltd_options['header_background_transparency_scroll'] != "" && $eltd_options['header_background_transparency_scroll'] == 0) { ?>

    header.scrolled .header_bottom,
    header.scrolled .header_top {
    border-bottom: 0;
    }

    header.scrolled .header_bottom {
    box-shadow: none;
    }

    header.scrolled .header_top .right .inner > div:first-child,
    header.scrolled .header_top .right .inner > div,
    header.scrolled .header_top .left .inner > div:last-child,
    header.scrolled .header_top .left .inner > div {
    border: none;
    }
<?php } ?>

<?php
if (!empty($eltd_options['header_grid_background_color_scroll']) || $eltd_options['header_grid_background_transparency_scroll'] != "") {

    if(!empty($eltd_options['header_grid_background_color_scroll'])){
        $bg_color_scroll = eltd_hex2rgb($eltd_options['header_grid_background_color_scroll']);
    }else{
        $bg_color_scroll = eltd_hex2rgb('#ffffff');
    }

    if ($eltd_options['header_grid_background_transparency_scroll'] != "") {
        $bg_color_scroll_transparency = $eltd_options['header_grid_background_transparency_scroll'];
    }else{
        $bg_color_scroll_transparency = 1;
    }
    ?>
    header.fixed.scrolled .header_bottom .container_inner,
    header.fixed_hiding.scrolled .header_bottom .container_inner {
    background-color: rgba(<?php echo esc_attr($bg_color_scroll[0]); ?>,<?php echo esc_attr($bg_color_scroll[1]); ?>,<?php echo esc_attr($bg_color_scroll[2]); ?>,<?php echo esc_attr($bg_color_scroll_transparency); ?>) !important;
    }
<?php } ?>

<?php
if (!empty($eltd_options['header_grid_background_color_sticky']) || $eltd_options['header_grid_background_transparency_sticky'] != "") {

    if(!empty($eltd_options['header_grid_background_color_sticky'])){
        $bg_color_sticky = eltd_hex2rgb($eltd_options['header_grid_background_color_sticky']);
    }else{
        $bg_color_sticky = eltd_hex2rgb('#ffffff');
    }

    if ($eltd_options['header_grid_background_transparency_sticky'] != "") {
        $bg_color_sticky_transparency = $eltd_options['header_grid_background_transparency_sticky'];
    }else{
        $bg_color_sticky_transparency = 1;
    }
    ?>
    header.sticky .header_bottom{
    background-color: rgba(<?php echo esc_attr($bg_color_sticky[0]); ?>,<?php echo esc_attr($bg_color_sticky[1]); ?>,<?php echo esc_attr($bg_color_sticky[2]); ?>,<?php echo esc_attr($bg_color_sticky_transparency); ?>) !important;
    }
<?php } ?>


<?php
if (!empty($eltd_options['header_background_color_sticky']) || $eltd_options['header_background_transparency_sticky'] != "") {

    if(!empty($eltd_options['header_background_color_sticky'])){
        $bg_color_sticky = eltd_hex2rgb($eltd_options['header_background_color_sticky']);
    }else{
        $bg_color_sticky = eltd_hex2rgb('#ffffff');
    }

    if ($eltd_options['header_background_transparency_sticky'] != "") {
        $bg_color_sticky_transparency = $eltd_options['header_background_transparency_sticky'];
    }else{
        $bg_color_sticky_transparency = 1;
    }
    ?>
    header.sticky .header_bottom{
    background-color: rgba(<?php echo esc_attr($bg_color_sticky[0]); ?>,<?php echo esc_attr($bg_color_sticky[1]); ?>,<?php echo esc_attr($bg_color_sticky[2]); ?>,<?php echo esc_attr($bg_color_sticky_transparency); ?>) !important;
    }
<?php } ?>

<?php if (!empty($eltd_options['header_top_background_color']) || $eltd_options['header_top_transparency'] != "") {
    if(!empty($eltd_options['header_top_background_color'])) {
        $bg_color_top = eltd_hex2rgb($eltd_options['header_top_background_color']);
    } else {
        $bg_color_top = eltd_hex2rgb('#fff');
    }

    if ($eltd_options['header_top_transparency'] != "") {
        $bg_color_transparency = $eltd_options['header_top_transparency'];
    } else{
        $bg_color_transparency = 1;
    }
    ?>

    .header_top,
	.fixed_top_header .top_header{
    background-color: rgba(<?php echo esc_attr($bg_color_top[0]); ?>,<?php echo esc_attr($bg_color_top[1]); ?>,<?php echo esc_attr($bg_color_top[2]); ?>,<?php echo esc_attr($bg_color_transparency); ?>)!important;
    }
<?php } ?>
<?php if (isset($eltd_options['enable_header_bottom_border']) && $eltd_options['enable_header_bottom_border']=='yes'){?>
	header:not(.sticky):not(.scrolled) .header_bottom,
	header.fixed_top_header .bottom_header{
		border-bottom: 1px solid #dfdfdf;
	}
<?php } ?>
<?php if (isset($eltd_options['header_bottom_border_width']) && $eltd_options['header_bottom_border_width'] !== "" && ($eltd_options['enable_header_bottom_border']=='yes')) {?>

    <?php
    if (isset($eltd_options['header_botom_border_transparency']) && $eltd_options['header_botom_border_transparency'] !== "") {
        $header_border_transparency = eltd_hex2rgb($eltd_options['header_bottom_border_color']);

        if(isset($eltd_options['header_botom_border_in_grid']) && $eltd_options['header_botom_border_in_grid'] == "yes"){ ?>
            header:not(.sticky):not(.scrolled) .header_bottom .container_inner,
			header.fixed_top_header .bottom_header .container_inner{
            border-color: rgba(<?php echo esc_attr($header_border_transparency[0]); ?>,<?php echo esc_attr($header_border_transparency[1]); ?>,<?php echo esc_attr($header_border_transparency[2]); ?>,<?php echo esc_attr($eltd_options['header_botom_border_transparency']); ?>);
            border-style:solid;
            border-bottom-width: <?php echo esc_attr($eltd_options['header_bottom_border_width']); ?>px;
            }
        <?php } else { ?>
            header:not(.sticky):not(.scrolled) .header_bottom,
			header.fixed_top_header .bottom_header{
            border-color: rgba(<?php echo esc_attr($header_border_transparency[0]); ?>,<?php echo esc_attr($header_border_transparency[1]); ?>,<?php echo esc_attr($header_border_transparency[2]); ?>,<?php echo esc_attr($eltd_options['header_botom_border_transparency']); ?>);
            border-style:solid;
            border-bottom-width: <?php echo esc_attr($eltd_options['header_bottom_border_width']); ?>px;
            }
        <?php }
    } else {
        if(isset($eltd_options['header_botom_border_in_grid']) && $eltd_options['header_botom_border_in_grid'] == "yes"){ ?>
            header:not(.sticky):not(.scrolled) .header_bottom .container_inner,
			header.fixed_top_header .bottom_header .container_inner{
            border-color:<?php echo esc_attr($eltd_options['header_bottom_border_color']); ?>;
            border-style:solid;
            border-bottom-width: <?php echo esc_attr($eltd_options['header_bottom_border_width']); ?>px;
            }
        <?php } else { ?>
            header:not(.sticky):not(.scrolled) .header_bottom,
			header.fixed_top_header .bottom_header{
            border-color: <?php echo esc_attr($eltd_options['header_bottom_border_color']); ?>;
            border-style:solid;
            border-bottom-width: <?php echo esc_attr($eltd_options['header_bottom_border_width']); ?>px;
            }
        <?php }
    }
}?>

<?php if (isset($eltd_options['enable_header_top_border']) && ($eltd_options['enable_header_top_border']=='yes') && isset($eltd_options['header_top_border_width']) && ($eltd_options['header_top_border_width']!=='')) { ?>
    header:not(.sticky):not(.scrolled):not(.fixed_top_header) .header_top_bottom_holder,
	header.fixed_top_header .top_header{
		border-top-style:solid;
		border-top-width: <?php echo esc_attr($eltd_options['header_top_border_width']); ?>px;
		<?php if (isset($eltd_options['header_top_border_transparency']) && ($eltd_options['header_top_border_transparency']!=='')) {
			$header_border_transparency = eltd_hex2rgb($eltd_options['header_top_border_color']);?>
			border-top-color: rgba(<?php echo esc_attr($header_border_transparency[0]); ?>,<?php echo esc_attr($header_border_transparency[1]); ?>,<?php echo esc_attr($header_border_transparency[2]); ?>,<?php echo esc_attr($eltd_options['header_top_border_transparency']); ?>);
		<?php } else { ?>
			border-top-color:  <?php echo esc_attr($eltd_options['header_top_border_color']); ?>;
		<?php } ?>
    }
<?php }?>

<?php
if (!empty($eltd_options['header_top_background_color']) || $eltd_options['header_background_transparency_scroll'] != "") {

    if(!empty($eltd_options['header_top_background_color'])){
        $bg_color_scroll_top = eltd_hex2rgb($eltd_options['header_top_background_color']);
    }else{
        $bg_color_scroll_top = eltd_hex2rgb('#000000');
    }

    if ($eltd_options['header_background_transparency_scroll'] != "") {
        $bg_color_scroll_transparency = $eltd_options['header_background_transparency_scroll'];
    }else{
        $bg_color_scroll_transparency = 0.7;
    }
    ?>
    header.sticky .header_top{
    background-color: rgba(<?php echo esc_attr($bg_color_scroll_top[0]); ?>,<?php echo esc_attr($bg_color_scroll_top[1]); ?>,<?php echo esc_attr($bg_color_scroll_top[2]); ?>,<?php echo esc_attr($bg_color_scroll_transparency); ?>);
    }
<?php } ?>

<?php if($eltd_options['header_pattern_image_initial'] !== ""){ ?>
header:not(.sticky):not(.scrolled) .header_bottom,
.fixed_top_header .bottom_header{
	background-image: url('<?php echo  esc_attr($eltd_options['header_pattern_image_initial']); ?>');
	background-repeat: repeat;
	background-position: 0 0;
}
<?php } ?>

<?php if($eltd_options['header_pattern_image_initial'] !== ""){ ?>
header.scrolled .header_bottom,
header.sticky .header_bottom{
	background-image: url('<?php echo  esc_attr($eltd_options['header_pattern_image_scroll']); ?>');
	background-repeat: repeat;
	background-position: 0 0;
}
<?php } ?>

<?php
$header_bottom_appearance = "fixed";
if (isset($eltd_options['header_bottom_appearance'])) {
    $header_bottom_appearance = $eltd_options['header_bottom_appearance'];
}
?>

<?php

$header_top_border=0;
$header_bottom_border=0;
if(isset($eltd_options['enable_header_top_border']) && $eltd_options['enable_header_top_border']=='yes' && isset($eltd_options['header_top_border_width']) && $eltd_options['header_top_border_width']!==''){
    $header_top_border = $eltd_options['header_top_border_width'];
}
if(isset($eltd_options['enable_header_bottom_border']) && $eltd_options['enable_header_bottom_border']=='yes' && isset($eltd_options['header_bottom_border_width']) && $eltd_options['header_bottom_border_width']!==''){
    $header_bottom_border = $eltd_options['header_bottom_border_width'];
}

$large_menu_item_border=0;
if(isset($eltd_options['enable_manu_item_border']) && $eltd_options['enable_manu_item_border']=='yes' && isset($eltd_options['menu_item_style']) && $eltd_options['menu_item_style']=='large_item'){
    if(isset($eltd_options['menu_item_border_style']) && $eltd_options['menu_item_border_style']=='all_borders'){
		$large_menu_item_border = $eltd_options['menu_item_border_width']*2;
	}
	if(isset($eltd_options['menu_item_border_style']) && $eltd_options['menu_item_border_style']=='top_bottom_borders'){
		$large_menu_item_border = $eltd_options['menu_item_border_width']*2;
	}
	if(isset($eltd_options['menu_item_border_style']) && $eltd_options['menu_item_border_style']=='bottom_border'){
		$large_menu_item_border = $eltd_options['menu_item_border_width'];
	}

}

$header_centered_logo_border = 0;
if(isset($eltd_options['center_logo_image']) && $eltd_options['center_logo_image'] == "yes" && isset($eltd_options['enable_border_top_bottom_menu']) && $eltd_options['enable_border_top_bottom_menu'] == "yes"){
	$header_centered_logo_border = 2;
}


$display_header_top = "yes";
if(isset($eltd_options['header_top_area'])){
    $display_header_top = $eltd_options['header_top_area'];
}

if($display_header_top == "no"){
    $margin_top_add = 0;
}else{
	if(isset($eltd_options['header_top_height']) && $eltd_options['header_top_height'] !== ""){
		$margin_top_add = $eltd_options['header_top_height'];
	} else {
		$margin_top_add = 36;
	}
}

$logo_width = $eltd_options['logo_width'];
$logo_height = $eltd_options['logo_height'];


if (!empty($eltd_options['header_height']) && $header_bottom_appearance != "fixed_hiding"){
    $header_height = $eltd_options['header_height'];
} elseif($header_bottom_appearance == "fixed_hiding"){
    $header_height = 110 + $logo_height/2 + 20; // 20 is top and bottom margin of logo
} elseif(isset($eltd_options['center_logo_image']) && $eltd_options['center_logo_image'] == "yes" && $header_bottom_appearance == "fixed") {
	if($header_bottom_appearance == "fixed" && $logo_height > 110){
		$header_height = 110 + 110 + 20; //20 is top and bottom margin of logo, 110 is default header height, other 110 is logo height
	}
	if($header_bottom_appearance == "fixed" && $logo_height < 110){
		$header_height = 110 + $logo_height + 20; //20 is top and bottom margin of logo, 110 is default header height
	}
} else {
    $header_height = 110;
}
if($header_bottom_appearance == "stick menu_bottom") {
    $menu_bottom = 60; // border 1px
    if ($eltd_options['center_logo_image'] == "yes") {
        if(is_active_sidebar('header_fixed_right')){
            $menu_bottom = $menu_bottom + 26; // 26 is for right widget in header bottom (line height of text)
        }
    }
} else {
    $menu_bottom = 0;
}
$header_height = $header_height + $menu_bottom + $header_top_border + $header_bottom_border + $header_centered_logo_border + $large_menu_item_border;

?>


<?php if ($header_bottom_appearance == "stick compound"){ ?>
	@media only screen and (min-width: 1000px){
		.stick.compound:not(.sticky) .header_bottom{
			height: <?php echo esc_attr($header_height);?>px;
		}
	}

<?php }?>

<?php if ($header_bottom_appearance != "fixed" && $header_bottom_appearance != "fixed fixed_minimal" && $header_bottom_appearance != "fixed_hiding" && $header_bottom_appearance != "regular" && $header_bottom_appearance != "fixed_top_header") {?>
    <?php if ($eltd_options['center_logo_image'] != "yes") { ?>
        .content{
        margin-top: <?php echo esc_attr('-'.($margin_top_add + $header_height)); ?>px;
        }
				.content_wrapper{
        margin-top: <?php echo esc_attr($margin_top_add) + esc_attr($header_height) + esc_attr($spacing_top); ?>px;
        }
    <?php } else {
        ?>
        <?php if($header_bottom_appearance == "stick menu_bottom") { ?>
            .content{
            margin-top: <?php echo esc_attr('-'.(20 + $logo_height/2 + $menu_bottom + $margin_top_add + $header_top_border + $header_bottom_border + $header_centered_logo_border  + $large_menu_item_border)); // 20 is top margin of centered logo ?>px;
            }
						.content_wrapper{
            margin-top: <?php echo esc_attr(20 + $logo_height/2 + $menu_bottom + $margin_top_add + $header_top_border + $header_bottom_border + $header_centered_logo_border + $large_menu_item_border + $spacing_top); // 20 is top margin of centered logo ?>px;
            }
		<?php } elseif($header_bottom_appearance == "stick_with_left_right_menu"){ ?>
            .content{
            margin-top: <?php echo esc_attr('-'.($header_height + $margin_top_add)); ?>px;
            }
						.content_wrapper{
            margin-top: <?php echo esc_attr($header_height) + esc_attr($margin_top_add) + esc_attr($spacing_top); ?>px;
            }
        <?php }  else { ?>
            .content{
            margin-top: <?php echo esc_attr('-'.(20 + $logo_height/2 + $header_height + $margin_top_add)); // 20 is top margin of centered logo ?>px;
            }
						.content_wrapper{
            margin-top: <?php echo esc_attr(20 + $logo_height/2 + $header_height + $margin_top_add + $spacing_top); // 20 is top margin of centered logo ?>px;
            }
        <?php } ?>
    <?php } ?>
<?php } else { ?>

	<?php if ($header_bottom_appearance == "regular") {
	//only if regular header type and there is slider on the page
	?>
	<?php if ($eltd_options['center_logo_image'] != "yes") { ?>
		.content.has_slider{
			margin-top: <?php echo esc_attr('-'.($margin_top_add + $header_height)); ?>px;
		}
		.content_wrapper{
			margin-top: <?php echo ($margin_top_add + $header_height + $spacing_top); ?>px;
		}
		<?php } else{ ?>
			.content.has_slider{
				margin-top: <?php echo esc_attr('-'.(20 + $logo_height/2 + $margin_top_add + $header_height)); // 20 is top margin of centered logo ?>px;
			}
			.content_wrapper{
				margin-top: <?php echo (20 + $logo_height/2 + $margin_top_add + $header_height + $spacing_top); // 20 is top margin of centered logo ?>px;
			}
		<?php } ?>
	<?php } ?>
    .content{
		margin-top: 0;
    }
<?php } ?>

<?php // Calculating logo width and setting it to logo wrapper.
	//These are initial values, there is a script also calculating these values on certain header behaviour (scroll, resize...) ?>


header .header_bottom.left_menu_position .logo_wrapper{
	width: <?php echo esc_attr($logo_width)/2; ?>px;
}


<?php if(isset($eltd_options['header_top_height']) && $eltd_options['header_top_height'] !== ""){ ?>
	.header_top,
	.header_top .left,
	.header_top .right,
	.header_top .shopping_cart_outer,
	.fullscreen_search_in_header_top .search_close_holder .side_menu_button{
		height: <?php echo esc_attr($eltd_options['header_top_height']); ?>px;
		line-height: <?php echo esc_attr($eltd_options['header_top_height']); ?>px;
	}
	.header_top #lang_sel > ul > li > a,
	.header_top #lang_sel_click > ul > li > a{
		height: <?php echo esc_attr($eltd_options['header_top_height']); ?>px !important;
		line-height: <?php echo esc_attr($eltd_options['header_top_height']); ?>px !important;
	}
	
	.header_top #lang_sel ul  ul,
	.header_top #lang_sel_click ul ul{
		top: <?php echo esc_attr($eltd_options['header_top_height']); ?>px;
	}
<?php } ?>

<?php if(isset($eltd_options['header_top_has_background_pattern']) && $eltd_options['header_top_has_background_pattern'] !== "no"){ 
		if(isset($eltd_options['header_top_background_pattern_image']) && $eltd_options['header_top_background_pattern_image'] !== ''){?>
			.header_top.has_pattern{
				background-image: url("<?php echo esc_attr($eltd_options['header_top_background_pattern_image']); ?>");
			}
<?php }}?>

<?php
$search_label_text_styles = array();

if(isset($eltd_options['search_label_text_google_fonts']) && $eltd_options['search_label_text_google_fonts'] !== '-1') {
$search_label_text_styles[] = 'font-family: '.str_replace('+', ' ', $eltd_options['search_label_text_google_fonts']).', sans-serif';
}

if(isset($eltd_options['search_label_text_fontsize']) && $eltd_options['search_label_text_fontsize'] !== '') {
    $search_label_text_styles[] = 'font-size: '.$eltd_options['search_label_text_fontsize'].'px !important';
}

if(isset($eltd_options['search_label_text_letterspacing']) && $eltd_options['search_label_text_letterspacing'] !== '') {
    $search_label_text_styles[] = 'letter-spacing: '.$eltd_options['search_label_text_letterspacing'].'px';
}

if(isset($eltd_options['search_label_text_fontweight']) && $eltd_options['search_label_text_fontweight'] !== '') {
    $search_label_text_styles[] = 'font-weight: '.$eltd_options['search_label_text_fontweight'];
}

if(isset($eltd_options['search_label_text_fontstyle']) && $eltd_options['search_label_text_fontstyle'] !== '') {
    $search_label_text_styles[] = 'font-style: '.$eltd_options['search_label_text_fontstyle'];
}

if(isset($eltd_options['search_label_text_texttransform']) && $eltd_options['search_label_text_texttransform'] !== '') {
    $search_label_text_styles[] = 'text-transform: '.$eltd_options['search_label_text_texttransform'];
}

if(isset($eltd_options['search_label_text_color']) && $eltd_options['search_label_text_color'] !== '') {
    $search_label_text_styles[] = 'color: '.$eltd_options['search_label_text_color'];
}
?>
<?php if(is_array($search_label_text_styles) && count($search_label_text_styles)) { ?>
	.fullscreen_search_holder .search_label{
		<?php echo esc_attr(implode(';', $search_label_text_styles)); ?>
    }
<?php }  ?>


<?php
$search_text_styles = array();

if(isset($eltd_options['search_text_google_fonts']) && $eltd_options['search_text_google_fonts'] !== '-1') {
$search_text_styles[] = 'font-family: '.str_replace('+', ' ', $eltd_options['search_text_google_fonts']).', sans-serif';
}

if(isset($eltd_options['search_text_fontsize']) && $eltd_options['search_text_fontsize'] !== '') {
    $search_text_styles[] = 'font-size: '.$eltd_options['search_text_fontsize'].'px !important';
}

if(isset($eltd_options['search_text_letterspacing']) && $eltd_options['search_text_letterspacing'] !== '') {
    $search_text_styles[] = 'letter-spacing: '.$eltd_options['search_text_letterspacing'].'px';
}

if(isset($eltd_options['search_text_fontweight']) && $eltd_options['search_text_fontweight'] !== '') {
    $search_text_styles[] = 'font-weight: '.$eltd_options['search_text_fontweight'];
}

if(isset($eltd_options['search_text_fontstyle']) && $eltd_options['search_text_fontstyle'] !== '') {
    $search_text_styles[] = 'font-style: '.$eltd_options['search_text_fontstyle'];
}

if(isset($eltd_options['search_text_texttransform']) && $eltd_options['search_text_texttransform'] !== '') {
    $search_text_styles[] = 'text-transform: '.$eltd_options['search_text_texttransform'];
}

if(isset($eltd_options['search_text_color']) && $eltd_options['search_text_color'] !== '') {
    $search_text_styles[] = 'color: '.$eltd_options['search_text_color'];
}
?>
<?php if(is_array($search_text_styles) && count($search_text_styles)) { ?>
	.eltd_search_form_2 input[type="text"],
	.eltd_search_form_2 input[type="text"]:focus,
	.eltd_search_form_3 input[type="text"],
	.eltd_search_form_3 input[type="text"]:focus,
	.fullscreen_search_holder .search_field,
	.fullscreen_search_holder .search_field:focus,
	.eltd_search_form input, 
	.eltd_search_form input:focus{
		<?php echo esc_attr(implode(';', $search_text_styles)); ?>
    }
<?php }  ?>

<?php if(isset($eltd_options['search_text_disabled_color']) && !empty($eltd_options['search_text_disabled_color'])){ ?>
	.eltd_search_form_2 input[type="text"]::-webkit-input-placeholder,
	.eltd_search_form_3 input[type="text"]::-webkit-input-placeholder,
	.fullscreen_search_holder .search_field::-webkit-input-placeholder{
		color: <?php echo esc_attr($eltd_options['search_text_disabled_color']); ?>;
    }
<?php } ?>

<?php if(isset($eltd_options['search_text_disabled_color']) && !empty($eltd_options['search_text_disabled_color'])){ ?>
	.eltd_search_form_2 input[type="text"]::-moz-placeholder,
	.eltd_search_form_3 input[type="text"]::-moz-placeholder,
	.fullscreen_search_holder .search_field::-moz-placeholder{
		color: <?php echo esc_attr($eltd_options['search_text_disabled_color']); ?>;
    }
<?php } ?>

<?php if(isset($eltd_options['search_text_disabled_color']) && !empty($eltd_options['search_text_disabled_color'])){ ?>
	.eltd_search_form_2 input[type="text"]::-moz-placeholder,
	.eltd_search_form_3 input[type="text"]::-moz-placeholder,
	.fullscreen_search_holder .search_field::-moz-placeholder{
		color: <?php echo esc_attr($eltd_options['search_text_disabled_color']); ?>;
    }
<?php } ?>


<?php if(isset($eltd_options['search_background_color']) && !empty($eltd_options['search_background_color'])){ ?>
	.eltd_search_form_2,
	.eltd_search_form_2 input[type="text"],
	.eltd_search_form_2 input[type="text"]:focus,
	.eltd_search_form_3,
	.fullscreen_search_overlay,
	.fullscreen_search_holder.fade .fullscreen_search_table,
	.eltd_search_form,
	.eltd_search_form input, 
	.eltd_search_form input:focus{
		background-color: <?php echo esc_attr($eltd_options['search_background_color']); ?>;
    }
<?php } ?>

<?php if(isset($eltd_options['search_icon_background_color']) && !empty($eltd_options['search_icon_background_color'])){ ?>
    .side_menu_button_wrapper .side_menu_button a.search_covers_header,
    .side_menu_button_wrapper .side_menu_button a.search_slides_from_header_bottom,
    .side_menu_button_wrapper .side_menu_button a.search_slides_from_window_top,
    .side_menu_button_wrapper .side_menu_button a.fullscreen_search,
    .header_top .inner a.search_covers_header,
    .header_top .inner a.search_slides_from_header_bottom,
    .header_top .inner a.search_slides_from_window_top,
    .header_top .inner a.fullscreen_search{
        background-color: <?php echo esc_attr($eltd_options['search_icon_background_color']); ?>;
        -webkit-transition: all 0.15s ease-out;
        -moz-transition:  all 0.15s ease-out;
        -ms-transition: all 0.15s ease-out;
        -o-transition: all 0.15s ease-out;
        transition: all 0.15s ease-out;
    }
<?php } ?>

<?php if(isset($eltd_options['search_icon_background_hover_color']) && !empty($eltd_options['search_icon_background_hover_color'])){ ?>
    .side_menu_button_wrapper .side_menu_button a.search_covers_header:hover,
    .side_menu_button_wrapper .side_menu_button a.search_slides_from_header_bottom:hover,
    .side_menu_button_wrapper .side_menu_button a.search_slides_from_window_top:hover,
    .side_menu_button_wrapper .side_menu_button a.fullscreen_search:hover,
    .header_top .inner a.search_covers_header:hover,
    .header_top .inner a.search_slides_from_header_bottom:hover,
    .header_top .inner a.search_slides_from_window_top:hover,
    .header_top .inner a.fullscreen_search:hover{
        background-color: <?php echo esc_attr($eltd_options['search_icon_background_hover_color']); ?>;
    }
<?php } ?>

<?php if(isset($eltd_options['search_icon_color']) && !empty($eltd_options['search_icon_color'])){ ?>
    .eltd_search_form_2 .eltd_search_submit,
	.eltd_search_form_3 .eltd_search_close a,
	.fullscreen_search_holder .search_submit,
	.eltd_search_form .container i{
		color: <?php echo esc_attr($eltd_options['search_icon_color']); ?>;
    }
<?php } ?>

<?php if(isset($eltd_options['search_icon_hover_color']) && !empty($eltd_options['search_icon_hover_color'])){ ?>
    .eltd_search_form_2 .eltd_search_submit:hover,
	.eltd_search_form_3 .eltd_search_close a:hover,
	.fullscreen_search_holder .search_submit:hover,
	.header_top .header-widget.widget_search #searchform input[type="submit"]:hover{
		color: <?php echo esc_attr($eltd_options['search_icon_hover_color']); ?>;
    }
<?php } ?>

<?php if(isset($eltd_options['search_icon_disabled_color']) && !empty($eltd_options['search_icon_disabled_color'])){ ?>
    .eltd_search_form_2.disabled .eltd_search_submit,
	.eltd_search_form_2.disabled .eltd_search_submit:hover{
		color: <?php echo esc_attr($eltd_options['search_icon_disabled_color']); ?>;
    }
<?php } ?>

<?php if(isset($eltd_options['search_icon_size']) && ($eltd_options['search_icon_size'])!==''){ ?>
	<?php $margin_top= -$eltd_options['search_icon_size']/2 ?>
	.eltd_search_form_2 .eltd_search_submit,
	.eltd_search_form_3 .eltd_search_close,
	.fixed_top_header .eltd_search_form_3 .eltd_search_close,
	.fullscreen_search_holder .search_submit,
	.eltd_search_form i{
		font-size: <?php echo esc_attr($eltd_options['search_icon_size']); ?>px;
    }
	.eltd_search_form_2 .eltd_search_submit{
		margin-top: <?php echo esc_attr($margin_top);?>px;
    }
<?php } ?>

<?php if(isset($eltd_options['header_search_icon_size']) && ($eltd_options['header_search_icon_size'])!==''){ ?>
	.side_menu_button .search_covers_header,
	.side_menu_button .search_slides_from_header_bottom,
	.side_menu_button .fullscreen_search,
	.side_menu_button .search_slides_from_window_top,
	.header_top .inner .search_covers_header,
	.header_top .inner .search_slides_from_header_bottom,
	.header_top .inner .fullscreen_search,
	.header_top .inner .search_slides_from_window_top,
	.vertical_menu_search a{
		font-size: <?php echo esc_attr($eltd_options['header_search_icon_size']); ?>px !important;
    }
<?php } ?>

<?php if(isset($eltd_options['search_height']) && ($eltd_options['search_height'])!==''){ ?>
    .eltd_search_form_2 .form_holder_outer,
	.eltd_search_form_2.animated .form_holder_outer,
	.eltd_search_form_2{
		height: <?php echo esc_attr($eltd_options['search_height']); ?>px;
    }
<?php } ?>

<?php if(isset($eltd_options['search_border_color']) && !empty($eltd_options['search_border_color'])){ ?>
    .fullscreen_search_holder .field_holder{
		border-color: <?php echo esc_attr($eltd_options['search_border_color']); ?>;
    }
<?php } ?>

<?php if(isset($eltd_options['search_border_focus_color']) && !empty($eltd_options['search_border_focus_color'])){ ?>
    .fullscreen_search_holder .field_holder .line{
		background-color: <?php echo esc_attr($eltd_options['search_border_focus_color']); ?>;
    }
<?php } ?>


<?php if(isset($eltd_options['search_close_color']) && !empty($eltd_options['search_close_color'])){ ?>
    .fullscreen_search_holder .close_container a,
	.fullscreen_search_close,
	.eltd_search_form_3 .eltd_search_close a{
		color: <?php echo esc_attr($eltd_options['search_close_color']); ?>;
    }
<?php } ?>

<?php if(isset($eltd_options['search_close_hover_color']) && !empty($eltd_options['search_close_hover_color'])){ ?>
    .fullscreen_search_holder .close_container a:hover,
	.fullscreen_search_close:hover,
	.eltd_search_form_3 .eltd_search_close a:hover{
		color: <?php echo esc_attr($eltd_options['search_close_hover_color']); ?>;
    }
<?php } ?>

<?php if(isset($eltd_options['search_close_size']) && !empty($eltd_options['search_close_size'])){ ?>
    .fullscreen_search_holder .close_container a,
	.fullscreen_search_close,
	.eltd_search_form_3 .eltd_search_close{
		font-size: <?php echo esc_attr($eltd_options['search_close_size']); ?>px !important;
    }
<?php } ?>
<?php if(isset($eltd_options['enable_search_icon_text']) && ($eltd_options['enable_search_icon_text'])=='yes'){ ?>

	<?php
	$search_icon_text_styles = array();

	if(isset($eltd_options['search_icon_text_google_fonts']) && $eltd_options['search_icon_text_google_fonts'] !== '-1') {
		$search_icon_text_styles[] = 'font-family: '.str_replace('+', ' ', $eltd_options['search_icon_text_google_fonts']).', sans-serif';
	}

	if(isset($eltd_options['search_icon_text_fontsize']) && $eltd_options['search_icon_text_fontsize'] !== '') {
		$search_icon_text_styles[] = 'font-size: '.$eltd_options['search_icon_text_fontsize'].'px';
	}

	if(isset($eltd_options['search_icon_text_lineheight']) && $eltd_options['search_icon_text_lineheight'] !== '') {
		$search_icon_text_styles[] = 'line-height: '.$eltd_options['search_icon_text_lineheight'].'px';
	}

	if(isset($eltd_options['search_icon_text_letterspacing']) && $eltd_options['search_icon_text_letterspacing'] !== '') {
		$search_icon_text_styles[] = 'letter-spacing: '.$eltd_options['search_icon_text_letterspacing'].'px';
	}

	if(isset($eltd_options['search_icon_text_fontweight']) && $eltd_options['search_icon_text_fontweight'] !== '') {
		$search_icon_text_styles[] = 'font-weight: '.$eltd_options['search_icon_text_fontweight'];
	}

	if(isset($eltd_options['search_icon_text_fontstyle']) && $eltd_options['search_icon_text_fontstyle'] !== '') {
		$search_icon_text_styles[] = 'font-style: '.$eltd_options['search_icon_text_fontstyle'];
	}

	if(isset($eltd_options['search_icon_text_texttransform']) && $eltd_options['search_icon_text_texttransform'] !== '') {
		$search_icon_text_styles[] = 'text-transform: '.$eltd_options['search_icon_text_texttransform'];
	}

	if(isset($eltd_options['search_icon_text_color']) && $eltd_options['search_icon_text_color'] !== '') {
		$search_icon_text_styles[] = 'color: '.$eltd_options['search_icon_text_color'];
	}

	if(is_array($search_icon_text_styles) && count($search_icon_text_styles)) { ?>
		header .side_menu_button a .search_icon_text,
		.header_top .inner a .search_icon_text,
		.vertical_menu_search a .search_icon_text{
		<?php echo esc_attr(implode(';', $search_icon_text_styles)); ?>
		}
	<?php } ?>
	
	
	.stick_with_left_right_menu .side_menu_button .search_slides_from_window_top span,
	.stick_with_left_right_menu .side_menu_button .search_slides_from_header_bottom span,
	.stick_with_left_right_menu .side_menu_button .search_covers_header span,
	.stick_with_left_right_menu .side_menu_button .fullscreen_search span,
	.stick_with_left_right_menu .side_menu_button .search_slides_from_window_top i,
	.stick_with_left_right_menu .side_menu_button .search_slides_from_header_bottom i,
	.stick_with_left_right_menu .side_menu_button .search_covers_header i,
	.stick_with_left_right_menu .side_menu_button .fullscreen_search i{
		float:left;
	}
	
	.stick_with_left_right_menu .side_menu_button .search_slides_from_window_top,
	.stick_with_left_right_menu .side_menu_button .search_slides_from_header_bottom,
	.stick_with_left_right_menu .side_menu_button .search_covers_header,
	.stick_with_left_right_menu .side_menu_button .fullscreen_search{
		display:inline-block;
		vertical-align:middle;
	}

	.side_menu_button > a > i{
		vertical-align: middle;
	}

<?php } ?>	
<?php if(isset($eltd_options['search_icon_text_color_hover']) && $eltd_options['search_icon_text_color_hover']){?>
	.side_menu_button > a:hover > .search_icon_text,
	.header_top .inner .header_top_side_button > a:hover > .search_icon_text,
	.vertical_menu_search a:hover .search_icon_text{
		color: <?php echo esc_attr($eltd_options['search_icon_text_color_hover']).'!important'?>
	}
<?php }?>		
<?php

$side_menu_search_spacing = "";

if (isset($eltd_options['search_padding_left']) && !empty($eltd_options['search_padding_left'])) {
    $side_menu_search_spacing .= 'padding-left: ' . $eltd_options['search_padding_left'] . 'px; ';
}

if (isset($eltd_options['search_padding_right']) && !empty($eltd_options['search_padding_right'])) {
    $side_menu_search_spacing .= 'padding-right: ' . $eltd_options['search_padding_right'] . 'px; ';
}

if (isset($eltd_options['search_margin_left']) && !empty($eltd_options['search_margin_left'])) {
    $side_menu_search_spacing .= 'margin-left: ' . $eltd_options['search_margin_left'] . 'px; ';
}

if (isset($eltd_options['search_margin_right']) && !empty($eltd_options['search_margin_right'])) {
    $side_menu_search_spacing .= 'margin-right: ' . $eltd_options['search_margin_right'] . 'px; ';
}

if ($side_menu_search_spacing !== "") { ?>
    .side_menu_button a.search_covers_header,
    .side_menu_button a.search_slides_from_header_bottom,
    .side_menu_button a.search_slides_from_window_top,
    .side_menu_button a.fullscreen_search,
    .header_top .inner a.search_covers_header,
    .header_top .inner a.search_slides_from_header_bottom,
    .header_top .inner a.search_slides_from_window_top,
    .header_top .inner a.fullscreen_search,
    .side_menu_button a.fullscreen_search_close,
	.eltd_search_form_3 .eltd_search_close,
	.header_inner_right.left_side .side_menu_button > a,
	header.stick_with_left_right_menu .header_full_width .side_menu_button > a.search_covers_header,
	header.stick_with_left_right_menu .header_full_width .side_menu_button > a.search_slides_from_header_bottom,
	header.stick_with_left_right_menu .header_full_width .side_menu_button > a.fullscreen_search{
    <?php echo esc_attr($side_menu_search_spacing);?>
    }
<?php } ?>

<?php if(isset($eltd_options['enable_search']) && ($eltd_options['enable_search'])==='yes' && !(isset($eltd_options['enable_side_area']) && ($eltd_options['enable_side_area'])==='yes') && (!(isset($eltd_options['enable_popup_menu']) && ($eltd_options['enable_popup_menu'])==='yes') || ($header_bottom_appearance === "fixed fixed_minimal"))){ ?>
     .eltd_search_form_3 .eltd_search_close{
        right:0;
    }
<?php } ?>

<?php if ((isset($eltd_options['header_top_height'])) && ($eltd_options['header_top_height'])!=='') { ?>

	<?php
		$border=0;
		if (isset($eltd_options['enable_header_top_border']) && ($eltd_options['enable_header_top_border']=='yes') && isset($eltd_options['header_top_border_width']) && ($eltd_options['header_top_border_width']!=='')) {
		$border= $eltd_options['header_top_border_width'];
	} ?>

	.fixed_top_header.has_top .bottom_header{
		padding-top:  <?php echo esc_attr($eltd_options['header_top_height'] + $border); ?>px;
	}

<?php } ?>

<?php if (!(isset($eltd_options['header_height'])) && ($eltd_options['header_height']) !=='') { ?>
    .logo_wrapper,
    .side_menu_button,
    .header_bottom_right_widget_holder,
	.side_menu .close_side_menu_holder{
		height: <?php echo esc_attr(90 + $large_menu_item_border); ?>px;
    }

	.side_menu_button_wrapper .side_menu_button a.search_icon_bckg_full{
		line-height: <?php echo esc_attr(90 + $large_menu_item_border); ?>px;
	}
<?php } ?>

<?php if ((isset($eltd_options['header_bottom_appearance'])) && ($eltd_options['header_bottom_appearance'])=='stick menu_bottom') { ?>
    .menu_bottom .side_menu_button,
    .menu_bottom .header_bottom_right_widget_holder,
    header.menu_bottom.has_header_fixed_right .mobile_menu_button{
		height: <?php echo esc_attr(60 + $large_menu_item_border); ?>px!important;
    }

	.menu_bottom .side_menu_button_wrapper .side_menu_button a.search_icon_bckg_full{
		line-height: <?php echo esc_attr(60 + $large_menu_item_border); ?>px!important;
	}

    @media only screen and (max-width: 1000px){
    	.logo_wrapper,
    	.logo_wrapper a{
			height: <?php echo esc_attr(60 + $large_menu_item_border); ?>px!important;
    	}
	}
<?php } ?>



<?php if (isset($eltd_options['header_height']) && ($eltd_options['header_height'])!=='') { ?>
    .logo_wrapper,
    .side_menu_button,
    .header_bottom_right_widget_holder,
	.side_menu .close_side_menu_holder{
    height: <?php echo esc_attr($eltd_options['header_height']) + esc_attr($large_menu_item_border);  ?>px;
    }

	.side_menu_button_wrapper .side_menu_button a.search_icon_bckg_full{
		line-height: <?php echo esc_attr($eltd_options['header_height']) + esc_attr($large_menu_item_border);  ?>px;
	}

    <?php if($header_bottom_appearance == "fixed_hiding") { ?>
        .content.content_top_margin{
			margin-top: <?php echo esc_attr($eltd_options['header_height']) + esc_attr($margin_top_add) + esc_attr($logo_height)/2 + 20 + esc_attr($header_top_border) + esc_attr($header_bottom_border) + esc_attr($header_centered_logo_border) + esc_attr($large_menu_item_border); // 20 is top and bottom margin of logo ?>px !important;
        }
        .content.content_top_margin_negative{
            top: -<?php echo esc_attr($eltd_options['header_height']) + esc_attr($margin_top_add) + esc_attr($logo_height)/2 + 20 + esc_attr($header_top_border) + esc_attr($header_bottom_border) + esc_attr($header_centered_logo_border) + esc_attr($large_menu_item_border); // 20 is top and bottom margin of logo ?>px !important;
        }
    <?php } elseif(($header_bottom_appearance == "fixed") && $eltd_options['center_logo_image'] == "yes"){
	?>

        .content.content_top_margin{
			<?php if ($eltd_options['header_height'] > $logo_height) {?>
			margin-top: <?php echo ($eltd_options['header_height']) + $margin_top_add + $logo_height + 20 + $header_top_border + $header_bottom_border + $header_centered_logo_border + $large_menu_item_border; // 20 is top margin of logo ?>px !important;
			<?php } else { ?>
			margin-top: <?php echo ($eltd_options['header_height'])*2 + $margin_top_add + 20 + $header_top_border + $header_bottom_border + $header_centered_logo_border + $large_menu_item_border; // 20 is top margin of logo ?>px !important;
			<?php } ?>
		}
        .content.content_top_margin_negative{
            <?php if ($eltd_options['header_height'] > $logo_height) {?>
            top: -<?php echo ($eltd_options['header_height']) + $margin_top_add + $logo_height + 20 + $header_top_border + $header_bottom_border + $header_centered_logo_border + $large_menu_item_border; // 20 is top margin of logo ?>px !important;
            <?php } else { ?>
            top: -<?php echo ($eltd_options['header_height'])*2 + $margin_top_add + 20 + $header_top_border + $header_bottom_border + $header_centered_logo_border + $large_menu_item_border; // 20 is top margin of logo ?>px !important;
            <?php } ?>
        }
    <?php } else { ?>
        
        .content.content_top_margin{
        margin-top: <?php echo esc_attr($eltd_options['header_height']) + esc_attr($margin_top_add) + esc_attr($header_top_border) + esc_attr($header_bottom_border) + esc_attr($header_centered_logo_border) + esc_attr($large_menu_item_border);  ?>px !important;
        }
        
        <?php if(($header_bottom_appearance == "regular" || $header_bottom_appearance == "stick") && $eltd_options['center_logo_image'] == "yes"){ // this class is used only for full screen section ?>
            .content.content_top_margin_negative{
                <?php if ($eltd_options['header_height'] > $logo_height) {?>
                top: -<?php echo ($eltd_options['header_height']) + $margin_top_add + $logo_height + 20 + $header_top_border + $header_bottom_border + $header_centered_logo_border + $large_menu_item_border; // 20 is top margin of logo ?>px !important;
                <?php } else { ?>
                top: -<?php echo ($eltd_options['header_height'])*2 + $margin_top_add + 20 + $header_top_border + $header_bottom_border + $header_centered_logo_border + $large_menu_item_border; // 20 is top margin of logo ?>px !important;
               <?php } ?>
            }
            <?php } elseif($header_bottom_appearance == "fixed_top_header"){ // this class is used only for full screen section ?>
            .content.content_top_margin_negative{

                top: -<?php echo esc_attr($eltd_options['header_height']) + esc_attr($margin_top_add) + 50 + esc_attr($header_top_border) + esc_attr($header_bottom_border) + esc_attr($header_centered_logo_border) + esc_attr($large_menu_item_border);  // 50 is logo wrapper top and bottom padding ?>px !important;
            }
        <?php } else{ ?>
        
            .content.content_top_margin_negative{
                top: -<?php echo esc_attr($eltd_options['header_height']) + esc_attr($margin_top_add) + esc_attr($header_top_border) + esc_attr($header_bottom_border) + esc_attr($header_centered_logo_border) + esc_attr($large_menu_item_border);  ?>px !important;
            }

        <?php } ?>

    <?php } ?>

    header:not(.centered_logo) .header_fixed_right_area {
    line-height: <?php echo esc_attr($eltd_options['header_height']);  ?>px;
    }

    .vertical_menu_enabled .content.content_top_margin {
    margin-top: 0px !important;
    }

    <?php $mobileHeader = $eltd_options['header_height']; ?>

<?php } else { ?>
    .content.content_top_margin{
		margin-top: <?php echo esc_attr($header_height) + esc_attr($margin_top_add); ?>px !important;
    }

    <?php if($eltd_options['center_logo_image'] == "yes" && ($header_bottom_appearance == 'regular' || $header_bottom_appearance == 'stick' || $header_bottom_appearance == 'stick menu_bottom' )){ ?>
        .content.content_top_margin_negative{
            top: -<?php echo esc_attr($header_height)*2 + $margin_top_add + 20 + $header_top_border + $header_bottom_border + $header_centered_logo_border + $large_menu_item_border; // 20 is top margin of logo ?>px !important;
        }
    <?php } else { ?>
        .content.content_top_margin_negative{
            top: -<?php echo esc_attr($header_height) + esc_attr($margin_top_add); ?>px !important;
        }
    <?php } ?>

    .vertical_menu_enabled .content.content_top_margin{
    margin-top: 0px !important;
    }

    <?php $mobileHeader = $header_height; ?>

<?php } ?>


<?php if (isset($eltd_options['header_height_mobile']) && ($eltd_options['header_height_mobile'])!=='') {
    $mobileHeader = $eltd_options['header_height_mobile'];
} ?>


@media only screen and (min-width: 600px) and (max-width: 1000px) {
    body.page-template-full_screen .content{
        top: -<?php echo esc_attr($mobileHeader); ?>px !important;
    }
}

@media only screen and (max-width: 600px) {
    body.enable_full_screen_sections_on_small_screens.page-template-full_screen .content{
        top: -<?php echo esc_attr($mobileHeader); ?>px !important;
    }
}


<?php if (!empty($eltd_options['header_height_scroll'])) { ?>
    header.scrolled .logo_wrapper,
    header.scrolled .header_bottom_right_widget_holder,
    header.scrolled .side_menu_button{
    height: <?php echo esc_attr($eltd_options['header_height_scroll']);  ?>px;
    }

    header.scrolled nav.main_menu ul li a,
    header.scrolled .side_menu_button_wrapper .side_menu_button a.search_icon_bckg_full{
    line-height: <?php echo esc_attr($eltd_options['header_height_scroll']);  ?>px;
    }

    header.scrolled .drop_down .second{
    top: <?php echo esc_attr($eltd_options['header_height_scroll']);  ?>px;
    }
<?php } ?>

<?php if (!empty($eltd_options['header_height_sticky'])) { ?>
    header.sticky .logo_wrapper,
    header.sticky.centered_logo .logo_wrapper,
    header.sticky .side_menu_button,
    header.sticky .header_bottom_right_widget_holder,
	.side_menu.sticky .close_side_menu_holder
    {
    height: <?php echo esc_attr($eltd_options['header_height_sticky']) + esc_attr($large_menu_item_border);  ?>px !important;
    }

	header.sticky .side_menu_button_wrapper .side_menu_button a.search_icon_bckg_full{
		line-height: <?php echo esc_attr($eltd_options['header_height_sticky']) + esc_attr($large_menu_item_border);  ?>px !important;
	}

    header.sticky nav.main_menu > ul > li > a,
    .light.sticky nav.main_menu > ul > li > a,
    .light.sticky nav.main_menu > ul > li > a:hover,
    .light.sticky nav.main_menu > ul > li.active > a,
    .dark.sticky nav.main_menu > ul > li > a,
    .dark.sticky nav.main_menu > ul > li > a:hover,
    .dark.sticky nav.main_menu > ul > li.active > a{
    line-height: <?php echo esc_attr($eltd_options['header_height_sticky']);  ?>px;
    }

    header.sticky .drop_down .second{
    top: <?php echo esc_attr($eltd_options['header_height_sticky']) + esc_attr($large_menu_item_border);?>px;
    }
<?php } ?>

<?php if (!(isset($eltd_options['header_height_sticky'])) || ($eltd_options['header_height_sticky'])=='') { ?>
    header.sticky .logo_wrapper,
    header.sticky .side_menu_button,
    header.sticky .header_bottom_right_widget_holder,
	.side_menu.sticky .close_side_menu_holder{
		height: <?php echo esc_attr(60 + $large_menu_item_border);  ?>px !important;
    }

    header.sticky .side_menu_button_wrapper .side_menu_button a.search_icon_bckg_full{
		line-height: <?php echo esc_attr(60 + $large_menu_item_border);  ?>px !important;
	}
<?php } ?>

<?php if (isset($eltd_options['disable_text_shadow_for_sticky']) && $eltd_options['disable_text_shadow_for_sticky'] == "yes") { ?>
    header.sticky .header_bottom,
    header.fixed.scrolled .header_bottom,
    header.fixed_hiding.scrolled .header_bottom{
    box-shadow: none;
    -webkit-box-shadow: none;
	box-shadow: none;
    }
<?php } ?>

<?php if (isset($eltd_options['enable_border_for_sticky']) && $eltd_options['enable_border_for_sticky'] == "yes" && isset($eltd_options['border_bottom_color_for_sticky']) && !empty($eltd_options['border_bottom_color_for_sticky'])) {
    $header_border_width = 1;
    if(isset($eltd_options['border_bottom_width_for_sticky']) && $eltd_options['border_bottom_width_for_sticky'] != ""){
        $header_border_width = $eltd_options['border_bottom_width_for_sticky'];
    }

    ?>
    header.sticky .header_bottom,
    header.fixed.scrolled .header_bottom,
    header.fixed_hiding.scrolled .header_bottom{
        border-bottom: <?php echo esc_attr($header_border_width);?>px solid <?php echo esc_attr($eltd_options['border_bottom_color_for_sticky']);  ?> !important;  
    }
<?php } ?>


<?php if(isset($eltd_options['header_bottom_appearance']) && $eltd_options['header_bottom_appearance'] == "stick_with_left_right_menu"){ ?>
	<?php if(isset($eltd_options['menu_vertical_position_for_sticky']) && $eltd_options['menu_vertical_position_for_sticky'] == "bottom"){ ?>
		@media only screen and (min-width: 1000px){	
			header:not(.sticky) nav.main_menu > ul > li > a, 
			header:not(.sticky) .side_menu_button_wrapper .side_menu_button a.search_icon_bckg_full{
				line-height: 1em !important;
			}
			
			header:not(.sticky) .side_menu_button, 
			header:not(.sticky) .header_bottom_right_widget_holder{
			  height: auto;
			}
		}
		<?php if(isset($eltd_options['menu_bottom_position']) && $eltd_options['menu_bottom_position'] !== ""){ ?>
			@media only screen and (min-width: 1000px){
				 header.stick_with_left_right_menu:not(.sticky) nav.main_menu.left_side,
				 header.stick_with_left_right_menu:not(.sticky) nav.main_menu.right_side{
					bottom:  <?php echo esc_attr($eltd_options['menu_bottom_position'])?>px;
				 }
			}
		
		<?php } ?>
	<?php } ?>
<?php } ?>

<?php if(isset($eltd_options['header_height_scroll_hidden']) && $eltd_options['header_height_scroll_hidden'] !== "") { ?>
    @media only screen and (min-width: 1000px){
    header.fixed_hiding.centered_logo.fixed_hiding .header_inner_left,
    header.fixed_hiding .eltd_logo_hidden a{
    height: <?php echo esc_attr($eltd_options['header_height_scroll_hidden']);  ?>px;
    }
    }

		header.scrolled nav.main_menu ul li a {
    line-height: <?php echo esc_attr($eltd_options['header_height_scroll_hidden']);  ?>px;
    }

    header.scrolled .drop_down .second{
    top: <?php echo esc_attr($eltd_options['header_height_scroll_hidden']) + esc_attr($large_menu_item_border);  ?>px;
    }

	header.fixed_hiding.scrolled:hover .holeder_for_hidden_menu{
		max-height: <?php echo esc_attr($eltd_options['header_height_scroll_hidden']) + esc_attr($large_menu_item_border); ?>px;
	}
	header.fixed_hiding.scrolled:hover .holeder_for_hidden_menu .side_menu_button,
	header.fixed_hiding.scrolled:hover .holeder_for_hidden_menu .header_bottom_right_widget_holder{
		height: <?php echo esc_attr($eltd_options['header_height_scroll_hidden']) + esc_attr($large_menu_item_border);  ?>px !important;
    }

	header.fixed_hiding.scrolled:hover .holeder_for_hidden_menu .side_menu_button_wrapper .side_menu_button a.search_icon_bckg_full{
		line-height: <?php echo esc_attr($eltd_options['header_height_scroll_hidden']) + esc_attr($large_menu_item_border);  ?>px !important;
	}
<?php } ?>

<?php if(isset($eltd_options['dropdown_top_position']) && $eltd_options['dropdown_top_position'] !== '') { ?>
    header:not(.sticky):not(.scrolled) .drop_down .second {
    top: <?php echo esc_attr($eltd_options['dropdown_top_position']).'%;'; ?>
    }
<?php } ?>

<?php if(isset($eltd_options['header_height_mobile']) && $eltd_options['header_height_mobile'] !== "") { ?>
    @media only screen and (max-width: 1000px){
    .mobile_menu_button,
	.logo_wrapper,
	.logo_wrapper a,
	.side_menu_button,
	.header_bottom_right_widget_holder,
	.side_menu .close_side_menu_holder,
	.menu_bottom .side_menu_button,
	.menu_bottom .header_bottom_right_widget_holder,
	header.menu_bottom.has_header_fixed_right .mobile_menu_button{
		height: <?php echo esc_attr($eltd_options['header_height_mobile']); ?>px !important;
    }

    .side_menu_button_wrapper .side_menu_button a.search_icon_bckg_full{
    	line-height: <?php echo esc_attr($eltd_options['header_height_mobile']); ?>px !important;
	}
    }
<?php } ?>

<?php if(isset($eltd_options['logo_image'])){
        ?>
        @media only screen and (min-width: 1000px){
			header.fixed_hiding .eltd_logo a,
			header.fixed_hiding .eltd_logo{
				max-height: <?php echo esc_attr(intval($logo_height)/2); ?>px;
			}
        }
<?php
} ?>

<?php if(isset($eltd_options['header_height']) && $eltd_options['header_height'] != ''){
        ?>
        @media only screen and (min-width: 1000px){
			header.fixed_hiding .holeder_for_hidden_menu{
				max-height: <?php echo esc_attr($eltd_options['header_height']) + esc_attr($large_menu_item_border); ?>px;
			}
        }
<?php
} ?>

<?php if(isset($eltd_options['header_bottom_appearance']) && $eltd_options['header_bottom_appearance'] =='fixed_hiding'){
		if(isset($eltd_options['search_left_sidearea_right']) && $eltd_options['search_left_sidearea_right'] =='yes'){ ?>
			header.centered_logo .header_inner_right {
			  float: right;
			}
			header.centered_logo .header_inner_right.left_side{
				float:left;
			}
<?php } }else{
		if(isset($eltd_options['search_left_sidearea_right_regular']) && $eltd_options['search_left_sidearea_right_regular'] =='yes' && isset($eltd_options['center_logo_image']) && $eltd_options['center_logo_image'] =='yes'){ ?>
			header.centered_logo .header_inner_right {
			  float: right;
			}
			header.centered_logo .header_inner_right.left_side{
				float:left;
			}
			<?php if(isset($eltd_options['menu_position']) && $eltd_options['menu_position'] =='center'){ ?>
				nav.main_menu{
					width:auto;
				}
			<?php } ?>
<?php }} ?>


<?php if((isset($eltd_options['color_border_top_bottom_menu']) && $eltd_options['color_border_top_bottom_menu'] != "")){ ?>
    header.centered_logo .main_menu_and_widget_holder{
    border-color: <?php echo esc_attr($eltd_options['color_border_top_bottom_menu']); ?>;
    }
<?php } ?>

<?php if(isset($eltd_options['logo_mobile_header_height']) && !empty($eltd_options['logo_mobile_header_height'])){ ?>
    @media only screen and (max-width: 1000px){
        .eltd_logo a{
            height: <?php echo esc_attr($eltd_options['logo_mobile_header_height']); ?>px !important;
        }
    }
<?php } ?>

<?php if(isset($eltd_options['logo_mobile_height']) && !empty($eltd_options['logo_mobile_height'])){?>
    @media only screen and (max-width: 480px){
    .eltd_logo a{
    height: <?php echo esc_attr($eltd_options['logo_mobile_height']);?>px !important;
    }
    }
<?php } ?>

<?php
$parallax_onoff = "on";
if (isset($eltd_options['parallax_onoff']))
    $parallax_onoff = $eltd_options['parallax_onoff'];
if ($parallax_onoff == "off"){
    ?>
    .touch section.parallax_section_holder{
    height: auto !important;
    min-height: 300px;
    background-position: center top !important;
    background-attachment: scroll;
    background-size: cover;
    }
<?php } ?>

<?php if(!empty($eltd_options['header_height'])){ ?>
    nav.main_menu > ul > li > a,
    .side_menu_button_wrapper .side_menu_button a.search_icon_bckg_full{
		line-height: <?php echo esc_attr($eltd_options['header_height']); ?>px;
    }
<?php } ?>


<?php if(!empty($eltd_options['header_top_height'])){ ?>
    .fixed_top_header  nav.main_menu > ul > li > a,
    .fixed_top_header .top_header .right,
    .fixed_top_header .side_menu_button_wrapper .side_menu_button a.search_icon_bckg_full{
		line-height: <?php echo esc_attr($eltd_options['header_top_height']); ?>px;
    }
	.fixed_top_header .side_menu_button,
    .fixed_top_header .shopping_cart_inner,
	.fixed_top_header .header_bottom_right_widget_holder{
		height: <?php echo esc_attr($eltd_options['header_top_height']); ?>px;
	}	
	
<?php } ?>


<?php if(isset($eltd_options['search_type']) && $eltd_options['search_type'] == 'fullscreen_search') { ?>
	.fullscreen_search_holder:not(.fullscreen_search_in_header_top) .close_container{
		top: <?php echo esc_attr($margin_top_add); ?>px;
	}
<?php } ?>

<?php if(isset($eltd_options['search_type']) && $eltd_options['search_type'] == 'fullscreen_search' && $header_bottom_appearance == "stick compound") { ?>
	.fullscreen_search_holder .side_menu_button{
		height: 63px;
	}
	.fullscreen_search_holder .side_menu_button_wrapper .side_menu_button a.search_icon_bckg_full{
		line-height: 63px;
	}
	.fullscreen_search_holder:not(.fullscreen_search_in_header_top) .close_container{
		top:<?php echo esc_attr($margin_top_add) + 27; ?>px;
	}
<?php } ?>

<?php if(!empty($eltd_options['header_height']) && $header_bottom_appearance == "stick compound") { ?>
	@media only screen and (min-width: 1000px){
		.stick.compound:not(.sticky) nav.main_menu > ul > li > a,
        .stick.compound:not(.sticky) .side_menu_button_wrapper .side_menu_button a.search_icon_bckg_full{
			line-height: <?php echo esc_attr($eltd_options['header_height']*0.7);  ?>px;
		}
		.stick.compound:not(.sticky) .side_menu_button,
		.stick.compound:not(.sticky) .side_menu .close_side_menu_holder{
			height: <?php echo esc_attr($eltd_options['header_height']*0.7); ?>px;
		}
		<?php if (isset($eltd_options['search_type']) && $eltd_options['search_type'] == 'fullscreen_search') { ?>
			.fullscreen_search_holder .side_menu_button{
				height: <?php echo esc_attr($eltd_options['header_height']*0.7);  ?>px;
			}
			.fullscreen_search_holder .side_menu_button_wrapper .side_menu_button a.search_icon_bckg_full{
				line-height: <?php echo esc_attr($eltd_options['header_height']*0.7);  ?>px;
			}
			.fullscreen_search_holder:not(.fullscreen_search_in_header_top) .close_container{
				top: <?php echo esc_attr($eltd_options['header_height']*0.3) + $margin_top_add; ?>px;
			}
		<?php } ?>
	}
<?php } ?>

<?php
if((isset($eltd_options['dropdown_background_color']) && $eltd_options['dropdown_background_color'] != "") ||
    (isset($eltd_options['dropdown_background_transparency'])) && $eltd_options['dropdown_background_transparency'] != "") {

    //dropdown background and transparency styles
    $dropdown_bg_styles                 = '';
    $dropdown_bg_color                  = '';
    $dropdown_bg_color_initial          = '#ffffff';
    $dropdown_bg_transparency           = '';
    $dropdown_bg_transparency_initial   = 1;

    $dropdown_bg_color        = $eltd_options['dropdown_background_color'] != "" ? $eltd_options['dropdown_background_color'] : $dropdown_bg_color_initial;
    $dropdown_bg_transparency = $eltd_options['dropdown_background_transparency'] != "" ? $eltd_options['dropdown_background_transparency'] : $dropdown_bg_transparency_initial;

    $dropdown_bg_color_rgb    = eltd_hex2rgb($dropdown_bg_color);

    ?>

    .drop_down .second .inner ul,
    .drop_down .second .inner ul li ul,
    .shopping_cart_dropdown,
    li.narrow .second .inner ul,
	.header_top #lang_sel ul ul,
	.header_top #lang_sel_click ul ul,
	.header_bottom #lang_sel ul ul,
	.header_bottom #lang_sel_click  ul ul,
    .header-widget.widget_nav_menu ul ul,
	.drop_down .wide.wide_background .second{
		background-color: rgba(<?php echo esc_attr($dropdown_bg_color_rgb[0]); ?>,<?php echo esc_attr($dropdown_bg_color_rgb[1]); ?>,<?php echo esc_attr($dropdown_bg_color_rgb[2]); ?>,<?php echo esc_attr($dropdown_bg_transparency); ?>);
    }

<?php  } //end dropdown background and transparency styles ?>

<?php if(isset($eltd_options['enable_dropdown_top_separator']) && $eltd_options['enable_dropdown_top_separator'] == 'yes' && isset($eltd_options['dropdown_top_separator_color']) && !empty($eltd_options['dropdown_top_separator_color'])){?>
    .drop_down .second,
    .drop_down .wide_background .second{
        border-top-color: <?php echo esc_attr($eltd_options['dropdown_top_separator_color']); ?>;
        border-top-width:5px;
        border-top-style:solid;
    }
<?php } ?>



<?php
if((isset($eltd_options['dropdown_top_padding']) && $eltd_options['dropdown_top_padding']!=='') || (isset($eltd_options['dropdown_border_around']) && $eltd_options['dropdown_border_around'] == "no")){

    $menu_inner_ul_top = 15; //default value without border
        if(isset($eltd_options['dropdown_top_padding']) && ($eltd_options['dropdown_top_padding'])!==''){?>
        li.narrow .second .inner ul{
            padding-top: <?php echo esc_attr($eltd_options['dropdown_top_padding']); ?>px;
        }
    <?php
        $menu_inner_ul_top = $eltd_options['dropdown_top_padding']; //overwrite default value
        } ?>
    <?php if(isset($eltd_options['dropdown_border_around']) && $eltd_options['dropdown_border_around'] == "yes"){
        $menu_inner_ul_top += 1; //top border is 1px
    }
    ?>
        .drop_down .narrow .second .inner ul li ul,
        .drop_down.slide_from_bottom .narrow .second .inner ul li:hover ul,
        .drop_down.slide_from_top .narrow .second .inner ul li:hover ul{
            top:-<?php echo esc_attr($menu_inner_ul_top); ?>px;
        }

<?php } ?>



<?php if(isset($eltd_options['dropdown_bottom_padding']) && ($eltd_options['dropdown_bottom_padding'])!==''){?>
    li.narrow .second .inner ul{
		padding-bottom: <?php echo esc_attr($eltd_options['dropdown_bottom_padding']); ?>px;
    }
<?php } ?>

<?php if(isset($eltd_options['wide_dropdown_top_padding']) && ($eltd_options['wide_dropdown_top_padding'])!==''){?>
    .drop_down .wide .second .inner > ul{
        padding-top: <?php echo esc_attr($eltd_options['wide_dropdown_top_padding']); ?>px;
    }
<?php } ?>

<?php if(isset($eltd_options['wide_dropdown_bottom_padding']) && ($eltd_options['wide_dropdown_bottom_padding'])!==''){?>
    .drop_down .wide .second .inner > ul{
        padding-bottom: <?php echo esc_attr($eltd_options['wide_dropdown_bottom_padding']); ?>px;
    }
<?php } ?>

<?php if(!empty($eltd_options['enable_dropdown_top_separator']) && $eltd_options['enable_dropdown_top_separator'] == "no"){?>
    .drop_down li:not(.wide_background) .second{
    border-top: 0 !important;
    }
<?php } ?>

<?php if(!empty($eltd_options['enable_dropdown_top_separator']) && $eltd_options['enable_dropdown_top_separator'] == "no" && isset($eltd_options['dropdown_border_around'])  && $eltd_options['dropdown_border_around'] != "yes"){?>
    .drop_down li.wide_background .second{
    border-top: 0 !important;
    }
<?php } ?>

<?php
$dropdown_separator_full_width = 'no';
if(!empty($eltd_options['enable_dropdown_separator_full_width']) && $eltd_options['enable_dropdown_separator_full_width'] == "yes"){
    $dropdown_separator_full_width = $eltd_options['enable_dropdown_separator_full_width']; ?>
    .drop_down .second .inner > ul > li:last-child > a,
    .drop_down .second .inner > ul > li > ul > li:last-child > a,
    .drop_down .second .inner > ul > li > ul > li > ul > li:last-child > a{
        border-bottom:1px solid transparent;
    }

<?php }
if(!empty($eltd_options['dropdown_separator_color']) && $dropdown_separator_full_width != 'yes'){?>
    .drop_down .second .inner ul li a,
    .header-widget.widget_nav_menu ul.menu li ul li a {
	border-bottom: 1px solid <?php echo esc_attr($eltd_options['dropdown_separator_color']); ?>;
    }
	
	.drop_down .second .inner ul li a .featured_icon{
		color: <?php echo esc_attr($eltd_options['dropdown_separator_color']); ?>;
	}
<?php } ?>
<?php
if(!empty($eltd_options['dropdown_separator_color']) && $dropdown_separator_full_width == 'yes'){?>
    .drop_down .second .inner ul li,
    .header-widget.widget_nav_menu ul.menu li ul li{
    border-bottom: 1px solid <?php echo esc_attr($eltd_options['dropdown_separator_color']); ?>;
    }
<?php } ?>

<?php if(!empty($eltd_options['dropdown_vertical_separator_color'])){?>
    .drop_down .wide .second ul li{
    border-left-color: <?php echo esc_attr($eltd_options['dropdown_vertical_separator_color']); ?>;
    }
<?php } ?>

<?php if ((!empty($eltd_options['menu_lineheight'])) && $eltd_options['menu_lineheight'] != "") { ?>
    nav.main_menu > ul > li > a > span.item_inner{
		<?php if (!empty($eltd_options['menu_lineheight'])) { ?> line-height: <?php echo esc_attr($eltd_options['menu_lineheight']);  ?>px; <?php } ?>
    }
<?php }?>

<?php if (!empty($eltd_options['menu_color']) || !empty($eltd_options['menu_fontsize']) || !empty($eltd_options['menu_fontstyle']) || !empty($eltd_options['menu_fontweight']) || !empty($eltd_options['menu_texttransform']) || (isset($eltd_options['menu_letter_spacing']) && $eltd_options['menu_letter_spacing'] !== '') || $eltd_options['menu_google_fonts'] != "-1") { ?>
    nav.main_menu > ul > li > a{
    <?php if (!empty($eltd_options['menu_color'])) { ?> color: <?php echo esc_attr($eltd_options['menu_color']);  ?>; <?php } ?>
    <?php if($eltd_options['menu_google_fonts'] != "-1"){ ?>
        font-family: '<?php echo esc_attr(str_replace('+', ' ', $eltd_options['menu_google_fonts'])); ?>', sans-serif;
    <?php } ?>
    <?php if (!empty($eltd_options['menu_fontsize'])) { ?> font-size: <?php echo esc_attr($eltd_options['menu_fontsize']);  ?>px; <?php } ?>
    <?php if (!empty($eltd_options['menu_fontstyle'])) { ?> font-style: <?php echo esc_attr($eltd_options['menu_fontstyle']);  ?>; <?php } ?>
    <?php if (!empty($eltd_options['menu_fontweight'])) { ?> font-weight: <?php echo esc_attr($eltd_options['menu_fontweight']);  ?>; <?php } ?>
    <?php if (!empty($eltd_options['menu_texttransform'])) { ?> text-transform: <?php echo esc_attr($eltd_options['menu_texttransform']);  ?>;  <?php } ?>
    <?php if ($eltd_options['menu_letterspacing'] !== '') { ?> letter-spacing: <?php echo esc_attr($eltd_options['menu_letterspacing']);  ?>px; <?php } ?>
    }
<?php }?>

<?php if (!empty($eltd_options['menu_color']) || !empty($eltd_options['menu_fontsize']) || !empty($eltd_options['menu_fontstyle']) || !empty($eltd_options['menu_fontweight']) || !empty($eltd_options['menu_texttransform']) || (isset($eltd_options['menu_letter_spacing']) && $eltd_options['menu_letter_spacing'] !== '') || $eltd_options['menu_google_fonts'] != "-1") { ?>
	.header_bottom #lang_sel > ul > li > a,
	.header_bottom #lang_sel_click > ul > li > a,
	.header_bottom #lang_sel ul > li:hover > a{
    <?php if (!empty($eltd_options['menu_color'])) { ?> color: <?php echo esc_attr($eltd_options['menu_color']);  ?> !important; <?php } ?>
    <?php if($eltd_options['menu_google_fonts'] != "-1"){ ?>
        font-family: '<?php echo esc_attr(str_replace('+', ' ', $eltd_options['menu_google_fonts'])); ?>', sans-serif;
    <?php } ?>
    <?php if (!empty($eltd_options['menu_fontsize'])) { ?> font-size: <?php echo esc_attr($eltd_options['menu_fontsize']);  ?>px !important; <?php } ?>
    <?php if (!empty($eltd_options['menu_fontstyle'])) { ?> font-style: <?php echo esc_attr($eltd_options['menu_fontstyle']);  ?>; <?php } ?>
    <?php if (!empty($eltd_options['menu_fontweight'])) { ?> font-weight: <?php echo esc_attr($eltd_options['menu_fontweight']);  ?>; <?php } ?>
    <?php if (!empty($eltd_options['menu_texttransform'])) { ?> text-transform: <?php echo esc_attr($eltd_options['menu_texttransform']);  ?>;  <?php } ?>
    <?php if ($eltd_options['menu_letterspacing'] !== '') { ?> letter-spacing: <?php echo esc_attr($eltd_options['menu_letterspacing']);  ?>px; <?php } ?>
    }
<?php }?>

	<?php if($eltd_options['menu_google_fonts'] != "-1"){ ?>
		.header_bottom #lang_sel_list{
			font-family: '<?php echo esc_attr(str_replace('+', ' ', $eltd_options['menu_google_fonts'])); ?>', sans-serif !important;
		}
	<?php } ?>


<?php if(!empty($eltd_options['menu_item_style']) && $eltd_options['menu_item_style']=='small_item' && (!empty($eltd_options['menu_text_background_color']) || (!empty($eltd_options['enable_manu_item_border']) && $eltd_options['enable_manu_item_border']=='yes'))){ ?>
    nav.main_menu > ul > li > a > span.item_inner{
    <?php if (!empty($eltd_options['menu_text_background_color'])) { ?> background-color: <?php echo esc_attr($eltd_options['menu_text_background_color']);  ?>; <?php } ?>

    <?php if($eltd_options['enable_manu_item_border']=='yes' ){?>

		<?php if(isset($eltd_options['menu_item_border_radius']) && ($eltd_options['menu_item_border_radius'])!==''){?>border-radius: <?php echo esc_attr($eltd_options['menu_item_border_radius']); ?>px;<?php } ?>

		<?php if(isset($eltd_options['menu_item_border_style_style']) && ($eltd_options['menu_item_border_style_style'])!==''){?>
			border-style: <?php echo esc_attr($eltd_options['menu_item_border_style_style']); ?>;
		<?php } ?>


        <?php if (isset($eltd_options['menu_item_border_width']) && $eltd_options['menu_item_border_width'] !== '') { ?> border-width: <?php echo esc_attr($eltd_options['menu_item_border_width']);  ?>px; <?php } ?>
        <?php if (!empty($eltd_options['menu_item_border_color']) ) { ?> border-color: <?php echo esc_attr($eltd_options['menu_item_border_color']);  ?>; <?php } ?>

        <?php if(!empty($eltd_options['menu_item_border_style'])){ ?>

            <?php if (($eltd_options['menu_item_border_style']=='top_bottom_borders')){?>
                border-left: none;
                border-right: none;
            <?php } ?>

            <?php if (($eltd_options['menu_item_border_style']=='right_border')) { ?>
                border-left: none;
                border-top: none;
                border-bottom: none;
            <?php } ?>

            <?php if (($eltd_options['menu_item_border_style']=='bottom_border')) { ?>
                border-left: none;
                border-top: none;
                border-right: none;
            <?php } ?>

        <?php } ?>
    <?php } ?>
    }
<?php } ?>

<?php if (!empty($eltd_options['menu_item_border_style']) && ($eltd_options['menu_item_border_style']=='right_border')) { ?>
    nav.main_menu > ul > li:last-child > a > span.item_inner{
    border-right: none;
    }
    nav.main_menu > ul > li:last-child > a{
    border-right: none;
    }

<?php } ?>

<?php if(!empty($eltd_options['menu_item_style']) && $eltd_options['menu_item_style']=='small_item' && $eltd_options['enable_manu_item_border']=='yes' && !empty($eltd_options['menu_item_border_color'])){ ?>
    .light:not(.sticky) nav.main_menu > ul > li > a > span.item_inner{
    border-color: #fff;
    }
    .dark:not(.sticky) nav.main_menu > ul > li > a > span.item_inner{
    border-color: #000;
    }
<?php } ?>

<?php if(!empty($eltd_options['menu_item_style']) && $eltd_options['menu_item_style']=='small_item' && $eltd_options['enable_manu_item_border']=='yes' && !empty($eltd_options['menu_item_hover_border_color'])){ ?>
    .light:not(.sticky) nav.main_menu > ul > li:hover > a > span.item_inner{
		border-color: #fff;
    }
	.dark:not(.sticky) nav.main_menu > ul > li:hover > a > span.item_inner{
		border-color: #000;
    }
<?php } ?>

<?php if(!empty($eltd_options['menu_item_style']) && $eltd_options['menu_item_style']=='small_item' && $eltd_options['enable_manu_item_border']=='yes' && !empty($eltd_options['menu_item_active_border_color'])){ ?>
    .light:not(.sticky) nav.main_menu > ul > li.active > a > span.item_inner{
		border-color: #fff;
    }
	.dark:not(.sticky) nav.main_menu > ul > li.active > a > span.item_inner{
		border-color: #000;
    }
<?php } ?>

<?php if(isset($eltd_options['enable_menu_item_text_decoration']) && ($eltd_options['enable_menu_item_text_decoration']=='yes')) { ?>

	<?php if (isset($eltd_options['menu_item_text_decoration_style']) &&  $eltd_options['menu_item_text_decoration_style']=='none'){ ?>
		nav.main_menu > ul > li:hover > a > span.item_inner,
		nav.main_menu > ul > li.active:hover > a > span.item_inner{
			text-decoration: none;
		}
	<?php }  ?>
	<?php if(isset($eltd_options['menu_item_text_decoration_style']) &&  $eltd_options['menu_item_text_decoration_style']=='underline'){ ?>
		nav.main_menu > ul > li:hover > a > span.item_inner,
		nav.main_menu > ul > li.active:hover > a > span.item_inner{
			text-decoration: underline;
		}
	<?php } ?>
	<?php if(isset($eltd_options['menu_item_text_decoration_style']) &&  $eltd_options['menu_item_text_decoration_style']=='line-through'){ ?>
		nav.main_menu > ul > li:hover > a > span.item_inner,
		nav.main_menu > ul > li.active:hover > a > span.item_inner{
			text-decoration: line-through;
		}
	<?php } ?>
	<?php if(isset($eltd_options['menu_item_text_decoration_style']) &&  $eltd_options['menu_item_text_decoration_style']=='overline'){ ?>
		nav.main_menu > ul > li:hover > a > span.item_inner,
		nav.main_menu > ul > li.active:hover > a > span.item_inner{
			text-decoration: overline;
		}
	<?php } ?>


	<?php if (isset($eltd_options['menu_item_active_text_decoration_style']) &&  $eltd_options['menu_item_active_text_decoration_style']=='none'){ ?>
		nav.main_menu > ul > li.active > a > span.item_inner{
			text-decoration: none;
		}
	<?php }  ?>
	<?php if(isset($eltd_options['menu_item_active_text_decoration_style']) &&  $eltd_options['menu_item_active_text_decoration_style']=='underline'){ ?>
		nav.main_menu > ul > li.active > a > span.item_inner{
			text-decoration: underline;
		}
	<?php } ?>
	<?php if(isset($eltd_options['menu_item_active_text_decoration_style']) &&  $eltd_options['menu_item_active_text_decoration_style']=='line-through'){ ?>
		nav.main_menu > ul > li.active > a > span.item_inner{
			text-decoration: line-through;
		}
	<?php } ?>
	<?php if(isset($eltd_options['menu_item_active_text_decoration_style']) &&  $eltd_options['menu_item_active_text_decoration_style']=='overline'){ ?>
		nav.main_menu > ul > li.active > a > span.item_inner{
			text-decoration: overline;
		}
	<?php } ?>

<?php } ?>

<?php if(isset($eltd_options['enable_vertical_menu_item_text_decoration']) && ($eltd_options['enable_vertical_menu_item_text_decoration']=='yes')) { ?>

	<?php if (isset($eltd_options['vertical_menu_item_text_decoration_style']) &&  $eltd_options['vertical_menu_item_text_decoration_style']=='none'){ ?>
		nav.vertical_menu > ul > li:hover > a > span.item_inner,
		nav.vertical_menu > ul > li.active:hover > a > span.item_inner{
			text-decoration: none;
		}
	<?php }  ?>
	<?php if(isset($eltd_options['vertical_menu_item_text_decoration_style']) &&  $eltd_options['vertical_menu_item_text_decoration_style']=='underline'){ ?>
		nav.vertical_menu > ul > li:hover > a > span.item_inner,
		nav.vertical_menu > ul > li.active:hover > a > span.item_inner{
			text-decoration: underline;
		}
	<?php } ?>
	<?php if(isset($eltd_options['vertical_menu_item_text_decoration_style']) &&  $eltd_options['vertical_menu_item_text_decoration_style']=='line-through'){ ?>
		nav.vertical_menu > ul > li:hover > a > span.item_inner,
		nav.vertical_menu > ul > li.active:hover > a > span.item_inner{
			text-decoration: line-through;
		}
	<?php } ?>
	<?php if(isset($eltd_options['vertical_menu_item_text_decoration_style']) &&  $eltd_options['vertical_menu_item_text_decoration_style']=='overline'){ ?>
		nav.vertical_menu > ul > li:hover > a > span.item_inner,
		nav.vertical_menu > ul > li.active:hover > a > span.item_inner{
			text-decoration: overline;
		}
	<?php } ?>


	<?php if (isset($eltd_options['vertical_menu_item_active_text_decoration_style']) &&  $eltd_options['vertical_menu_item_active_text_decoration_style']=='none'){ ?>
		nav.vertical_menu > ul > li.active > a > span.item_inner{
			text-decoration: none;
		}
	<?php }  ?>
	<?php if(isset($eltd_options['vertical_menu_item_active_text_decoration_style']) &&  $eltd_options['vertical_menu_item_active_text_decoration_style']=='underline'){ ?>
		nav.vertical_menu > ul > li.active > a > span.item_inner{
			text-decoration: underline;
		}
	<?php } ?>
	<?php if(isset($eltd_options['vertical_menu_item_active_text_decoration_style']) &&  $eltd_options['vertical_menu_item_active_text_decoration_style']=='line-through'){ ?>
		nav.vertical_menu > ul > li.active > a > span.item_inner{
			text-decoration: line-through;
		}
	<?php } ?>
	<?php if(isset($eltd_options['vertical_menu_item_active_text_decoration_style']) &&  $eltd_options['vertical_menu_item_active_text_decoration_style']=='overline'){ ?>
		nav.vertical_menu > ul > li.active > a > span.item_inner{
			text-decoration: overline;
		}
	<?php } ?>

<?php } ?>


<?php if (isset($eltd_options['vertical_menu_dropdown_plus_color']) &&  $eltd_options['vertical_menu_dropdown_plus_color']=='none'){ ?>
	nav.vertical_menu > ul > li.active > a > span.item_inner{
		text-decoration: none;
	}
<?php }  ?>


<?php if(isset($eltd_options['header_style']) && $eltd_options['header_style']=='light' && !empty($eltd_options['menu_item_style']) && $eltd_options['menu_item_style']=='large_item' && $eltd_options['enable_manu_item_border']=='yes' && !empty($eltd_options['menu_item_border_color'])){ ?>
    .light:not(.sticky) nav.main_menu > ul > li > a{
    border-color: #fff;
    }
<?php } ?>

<?php if(isset($eltd_options['header_style']) && $eltd_options['header_style']=='dark' && !empty($eltd_options['menu_item_style']) && $eltd_options['menu_item_style']=='large_item' && $eltd_options['enable_manu_item_border']=='yes' && !empty($eltd_options['menu_item_border_color'])){ ?>
    .dark:not(.sticky) nav.main_menu > ul > li > a{
    border-color: #000;
    }
<?php } ?>

<?php if(isset($eltd_options['header_style']) && $eltd_options['header_style']=='light' && !empty($eltd_options['menu_item_style']) && $eltd_options['menu_item_style']=='large_item' && $eltd_options['enable_manu_item_border']=='yes' && !empty($eltd_options['menu_item_hover_border_color'])){ ?>
    .light:not(.sticky) nav.main_menu > ul > li:hover > a{
    border-color: #fff;
    }
<?php } ?>
<?php if(isset($eltd_options['header_style']) && $eltd_options['header_style']=='dark' && !empty($eltd_options['menu_item_style']) && $eltd_options['menu_item_style']=='large_item' && $eltd_options['enable_manu_item_border']=='yes' && !empty($eltd_options['menu_item_hover_border_color'])){ ?>
    .dark:not(.sticky) nav.main_menu > ul > li:hover > a{
    border-color: #000;
    }
<?php } ?>

<?php if(isset($eltd_options['header_style']) && $eltd_options['header_style']=='light' && !empty($eltd_options['menu_item_style']) && $eltd_options['menu_item_style']=='large_item' && $eltd_options['enable_manu_item_border']=='yes' && !empty($eltd_options['menu_item_active_border_color'])){ ?>
    .light:not(.sticky) nav.main_menu > ul > li.active > a{
    border-color: #fff;
    }
<?php } ?>
<?php if(isset($eltd_options['header_style']) && $eltd_options['header_style']=='dark' && !empty($eltd_options['menu_item_style']) && $eltd_options['menu_item_style']=='large_item' && $eltd_options['enable_manu_item_border']=='yes' && !empty($eltd_options['menu_item_active_border_color'])){ ?>
    .dark:not(.sticky) nav.main_menu > ul > li.active > a{
    border-color: #000;
    }
<?php } ?>

<?php if(isset($eltd_options['vertical_menu_dropdown_plus_color']) && $eltd_options['vertical_menu_dropdown_plus_color'] !==''){ ?>
    nav.vertical_menu_toggle ul > li.menu-item-has-children > a > .plus,
    nav.vertical_menu_to_content ul > li.menu-item-has-children > a > .plus{
		color: <?php echo esc_attr($eltd_options['vertical_menu_dropdown_plus_color']);?>
    }
<?php } ?>


<?php if(isset($eltd_options['enable_vertical_menu_item_border']) && $eltd_options['enable_vertical_menu_item_border'] =='yes'){ ?>
    nav.vertical_menu > ul > li > a .item_inner{
		border-style:solid;
		padding:10px;
		display:inline-block;
		border-color: transparent;
		<?php if (isset($eltd_options['vertical_menu_item_border_width']) && $eltd_options['vertical_menu_item_border_width'] !== '') { ?> border-width: <?php echo esc_attr($eltd_options['vertical_menu_item_border_width']);  ?>px; <?php } ?>
    }
<?php } ?>


<?php if(isset($eltd_options['enable_vertical_menu_item_border']) && $eltd_options['enable_vertical_menu_item_border'] =='yes'){ ?>
    nav.vertical_menu > ul > li > a:hover .item_inner{
		<?php if (isset($eltd_options['vertical_menu_item_border_hover']) && $eltd_options['vertical_menu_item_border_hover'] !== '') { ?> border-color: <?php echo esc_attr($eltd_options['vertical_menu_item_border_hover']);  ?>; <?php } ?>
    }
<?php } ?>

<?php if(isset($eltd_options['enable_vertical_menu_item_border']) && $eltd_options['enable_vertical_menu_item_border'] =='yes'){ ?>
    nav.vertical_menu > ul > li > a.current .item_inner{
		<?php if (isset($eltd_options['vertical_menu_item_border_active']) && $eltd_options['vertical_menu_item_border_active'] !== '') { ?> border-color: <?php echo esc_attr($eltd_options['vertical_menu_item_border_active']);  ?>; <?php } ?>
    }
<?php } ?>


<?php if(!empty($eltd_options['menu_item_style']) && $eltd_options['menu_item_style']=='small_item' && $eltd_options['enable_manu_item_border']=='yes' && isset($eltd_options['menu_light_border_color']) && $eltd_options['menu_light_border_color']!==''){ ?>
    .light:not(.sticky) nav.main_menu > ul > li:hover > a > span.item_inner,
	.light:not(.sticky) nav.main_menu > ul > li.active > a > span.item_inner{
		border-color: <?php echo esc_attr($eltd_options['menu_light_border_color']); ?> !important;
    }
<?php } ?>

<?php if(!empty($eltd_options['menu_item_style']) && $eltd_options['menu_item_style']=='small_item' && $eltd_options['enable_manu_item_border']=='yes' && isset($eltd_options['menu_dark_border_color']) && $eltd_options['menu_dark_border_color']!==''){ ?>
	.dark:not(.sticky) nav.main_menu > ul > li:hover > a > span.item_inner,
	.dark:not(.sticky) nav.main_menu > ul > li.active > a > span.item_inner{
		border-color: <?php echo esc_attr($eltd_options['menu_dark_border_color']); ?>!important;
    }
<?php } ?>

<?php if(!empty($eltd_options['menu_item_style']) && $eltd_options['menu_item_style']=='large_item' && $eltd_options['enable_manu_item_border']=='yes' && isset($eltd_options['menu_light_border_color']) && $eltd_options['menu_light_border_color']!==''){ ?>
    .light:not(.sticky) nav.main_menu > ul > li:hover > a,
	.light:not(.sticky) nav.main_menu > ul > li.active > a{
		border-color: <?php echo esc_attr($eltd_options['menu_light_border_color']); ?>!important;
    }
<?php } ?>

<?php if(!empty($eltd_options['menu_item_style']) && $eltd_options['menu_item_style']=='large_item' && $eltd_options['enable_manu_item_border']=='yes' && isset($eltd_options['menu_dark_border_color']) && $eltd_options['menu_dark_border_color']!==''){ ?>
	.dark:not(.sticky) nav.main_menu > ul > li:hover > a,
	.dark:not(.sticky) nav.main_menu > ul > li.active > a{
		border-color: <?php echo esc_attr($eltd_options['menu_dark_border_color']); ?>!important;
    }
<?php } ?>


<?php if(!empty($eltd_options['menu_item_style']) && $eltd_options['menu_item_style']=='large_item'){ ?>
    nav.main_menu > ul > li > a{
    <?php if (!empty($eltd_options['menu_text_background_color'])) { ?> background-color: <?php echo esc_attr($eltd_options['menu_text_background_color']);  ?>; <?php } ?>

    <?php if($eltd_options['enable_manu_item_border']=='yes' ){?>
        <?php if (isset($eltd_options['menu_item_border_width']) && $eltd_options['menu_item_border_width'] !== '') { ?> border-width: <?php echo esc_attr($eltd_options['menu_item_border_width']);  ?>px; <?php } ?>
        <?php if (!empty($eltd_options['menu_item_border_color']) ) { ?> border-color: <?php echo esc_attr($eltd_options['menu_item_border_color']);  ?>; <?php } ?>
		<?php if(isset($eltd_options['menu_item_border_radius']) && ($eltd_options['menu_item_border_radius'])!==''){?>border-radius: <?php echo esc_attr($eltd_options['menu_item_border_radius']); ?>px;<?php } ?>

		<?php if(isset($eltd_options['menu_item_border_style_style']) && ($eltd_options['menu_item_border_style_style'])!==''){?>
			border-style: <?php echo esc_attr($eltd_options['menu_item_border_style_style']); ?>;
		<?php } ?>

	   <?php if(!empty($eltd_options['menu_item_border_style'])){ ?>

            <?php if (($eltd_options['menu_item_border_style']=='top_bottom_borders')){?>
                border-left: none;
                border-right: none;
            <?php } ?>

            <?php if (($eltd_options['menu_item_border_style']=='right_border')) { ?>
                border-left: none;
                border-top: none;
                border-bottom: none;
            <?php } ?>
            <?php if (($eltd_options['menu_item_border_style']=='bottom_border')) { ?>
                border-left: none;
                border-top: none;
                border-right: none;
            <?php } ?>

        <?php } ?>
    <?php } ?>
    }
<?php } ?>

<?php if(!empty($eltd_options['menu_item_border_style']) && $eltd_options['menu_item_border_style']=='bottom_border_double' && !empty($eltd_options['menu_item_style']) && $eltd_options['menu_item_style']=='small_item' && $eltd_options['enable_manu_item_border']=='yes' && !empty($eltd_options['menu_item_border_style']) && !empty($eltd_options['menu_item_border_color'])){ ?>
    nav.main_menu >ul > li > a > span.item_inner:before,
    nav.main_menu >ul > li > a > span.item_inner:after{
    <?php if (!empty($eltd_options['menu_item_border_color'])) { ?> background-color: <?php echo esc_attr($eltd_options['menu_item_border_color']);  ?>; <?php } ?>
	display:block;
    }
    nav.main_menu >ul > li > a > span.item_inner,
    nav.main_menu >ul > li > a > span.item_inner{
    border:none;
    }
<?php } ?>


<?php if(!empty($eltd_options['menu_item_border_style']) && $eltd_options['menu_item_border_style']=='bottom_border_double' && !empty($eltd_options['menu_item_style']) && $eltd_options['menu_item_style']=='large_item' && $eltd_options['enable_manu_item_border']=='yes' && !empty($eltd_options['menu_item_border_style']) && !empty($eltd_options['menu_item_border_color'])){ ?>
    nav.main_menu >ul > li > a:before,
    nav.main_menu >ul > li > a:after{
    <?php if (!empty($eltd_options['menu_item_border_color'])) { ?> background-color: <?php echo esc_attr($eltd_options['menu_item_border_color']);  ?>; <?php } ?>
	display:block;
    }
    nav.main_menu >ul > li > a,
    nav.main_menu >ul > li > a{
    border:none;
    }
<?php } ?>

<?php if(!empty($eltd_options['menu_item_border_style']) && $eltd_options['menu_item_border_style']=='bottom_border_double' && !empty($eltd_options['menu_item_style']) && $eltd_options['menu_item_style']=='small_item' && $eltd_options['enable_manu_item_border']=='yes' && !empty($eltd_options['menu_item_border_style']) && !empty($eltd_options['menu_item_active_border_color'])){ ?>
    nav.main_menu >ul > li.active > a > span.item_inner:before,
    nav.main_menu >ul > li.active > a > span.item_inner:after{
    <?php if (!empty($eltd_options['menu_item_active_border_color'])) { ?> background-color: <?php echo esc_attr($eltd_options['menu_item_active_border_color']);  ?>; <?php } ?>
    }
    nav.main_menu >ul > li.active > a > span.item_inner,
    nav.main_menu >ul > li.active > a > span.item_inner{
    border:none;
    }
<?php } ?>


<?php if(!empty($eltd_options['menu_item_border_style']) && $eltd_options['menu_item_border_style']=='bottom_border_double' && !empty($eltd_options['menu_item_style']) && $eltd_options['menu_item_style']=='large_item' && $eltd_options['enable_manu_item_border']=='yes' && !empty($eltd_options['menu_item_border_style']) && !empty($eltd_options['menu_item_active_border_color'])){ ?>
    nav.main_menu >ul > li.active > a:before,
    nav.main_menu >ul > li.active > a:after{
    <?php if (!empty($eltd_options['menu_item_active_border_color'])) { ?> background-color: <?php echo esc_attr($eltd_options['menu_item_active_border_color']);  ?>; <?php } ?>
    }
    nav.main_menu >ul > li.active > a,
    nav.main_menu >ul > li.active > a{
    border:none;
    }
<?php } ?>

<?php if(!empty($eltd_options['menu_item_border_style']) && $eltd_options['menu_item_border_style']=='bottom_border_double' && !empty($eltd_options['menu_item_style']) && $eltd_options['menu_item_style']=='small_item' && $eltd_options['enable_manu_item_border']=='yes' && !empty($eltd_options['menu_item_border_style']) && !empty($eltd_options['menu_item_hover_border_color'])){ ?>
    nav.main_menu >ul > li:hover > a > span.item_inner:before,
    nav.main_menu >ul > li:hover > a > span.item_inner:after{
    <?php if (!empty($eltd_options['menu_item_hover_border_color'])) { ?> background-color: <?php echo esc_attr($eltd_options['menu_item_hover_border_color']);  ?>; <?php } ?>
    }
    nav.main_menu >ul > li:hover > a > span.item_inner,
    nav.main_menu >ul > li:hover > a > span.item_inner{
    border:none;
    }
<?php } ?>

<?php if(!empty($eltd_options['menu_item_border_style']) && $eltd_options['menu_item_border_style']=='bottom_border_double' && !empty($eltd_options['menu_item_style']) && $eltd_options['menu_item_style']=='large_item' && $eltd_options['enable_manu_item_border']=='yes' && !empty($eltd_options['menu_item_border_style']) && !empty($eltd_options['menu_item_hover_border_color'])){ ?>
    nav.main_menu >ul > li:hover > a:before,
    nav.main_menu >ul > li:hover > a:after{
    <?php if (!empty($eltd_options['menu_item_hover_border_color'])) { ?> background-color: <?php echo esc_attr($eltd_options['menu_item_hover_border_color']);  ?>; <?php } ?>
    }
    nav.main_menu >ul > li > a,
    nav.main_menu >ul > li > a{
    border:none;
    }
<?php } ?>


<?php if (!empty($eltd_options['menu_item_style']) && ($eltd_options['menu_item_style']=='large_item')&& (!empty($eltd_options['menu_item_border_style']) && ($eltd_options['menu_item_border_style']=='right_border') && ($eltd_options['enable_manu_item_border']=='yes' ))){ ?>
    nav.main_menu > ul > li:last-child > a > span.item_inner{
    border-right:none;
    }
<?php } ?>

<?php if (!empty($eltd_options['menu_item_style']) && ($eltd_options['menu_item_style']=='small_item')&& (!empty($eltd_options['menu_item_border_style']) && ($eltd_options['menu_item_border_style']=='right_border') && ($eltd_options['enable_manu_item_border']=='yes' ))){ ?>
    nav.main_menu > ul > li:last-child > a {
    border-right:none;
    }
<?php } ?>

<?php if (!empty($eltd_options['menu_item_style']) && $eltd_options['menu_item_style']=='small_item'){ ?>
    <?php if (!empty($eltd_options['menu_item_hover_border_color']) && ($eltd_options['enable_manu_item_border']=='yes' )) { ?>
        nav.main_menu > ul > li:hover > a > span.item_inner,
        nav.main_menu > ul > li.active:hover > a > span.item_inner,
        header:not(.with_hover_bg_color) nav.main_menu > ul > li:hover > a span.item_inner{
        border-color: <?php echo esc_attr($eltd_options['menu_item_hover_border_color']);  ?>;
        }
    <?php } ?>
<?php } elseif(!empty($eltd_options['menu_item_style']) && $eltd_options['menu_item_style']=='large_item'){ ?>
    <?php if (!empty($eltd_options['menu_item_hover_border_color']) && ($eltd_options['enable_manu_item_border']=='yes' )) { ?>
        nav.main_menu > ul > li:hover > a,
        nav.main_menu > ul > li.active:hover > a,
        header:not(.with_hover_bg_color) nav.main_menu > ul > li:hover > a{
        border-color: <?php echo esc_attr($eltd_options['menu_item_hover_border_color']);  ?>;
        }
    <?php } ?>
<?php } ?>

<?php if (!empty($eltd_options['menu_item_style']) && $eltd_options['menu_item_style']=='small_item'){ ?>
    <?php if (!empty($eltd_options['menu_item_active_border_color']) && ($eltd_options['enable_manu_item_border']=='yes' )) { ?>
        nav.main_menu > ul > li.active > a > span.item_inner,
        nav.main_menu > ul > li.active > a > span.item_inner,
        header:not(.with_hover_bg_color) nav.main_menu > ul > li.active > a > span.item_inner{
        border-color: <?php echo esc_attr($eltd_options['menu_item_active_border_color']);  ?>;
        }
    <?php } ?>
<?php } elseif (!empty($eltd_options['menu_item_style']) && $eltd_options['menu_item_style']=='large_item'){ ?>
    <?php if (!empty($eltd_options['menu_item_active_border_color']) && ($eltd_options['enable_manu_item_border']=='yes' )) { ?>
        nav.main_menu > ul > li.active,
        nav.main_menu > ul > li.active a,
        header:not(.with_hover_bg_color) nav.main_menu > ul > li.active > a{
        border-color: <?php echo esc_attr($eltd_options['menu_item_active_border_color']);  ?>;
        }
    <?php } ?>
<?php } ?>


<?php if((!empty($eltd_options['enable_menu_item_separators'])) && ($eltd_options['enable_menu_item_separators']=="yes") && (!empty($eltd_options['menu_item_separators_color']))){ ?>
    nav.main_menu >ul > li > a > span.plus{
    display: block;
    background-color: <?php echo esc_attr($eltd_options['menu_item_separators_color']);  ?>;
    }
<?php } ?>


<?php if(isset($eltd_options['menu_activecolor']) && $eltd_options['menu_activecolor'] !== '') { ?>
    nav.main_menu > ul > li.active > a,
	header:not(.with_hover_bg_color) nav.main_menu > ul > li.active > a{
		color: <?php echo esc_attr($eltd_options['menu_activecolor']); ?>;
    }
<?php } ?>

<?php if(isset($eltd_options['menu_light_activecolor']) && $eltd_options['menu_light_activecolor'] !== '') { ?>
	.light:not(.sticky) nav.main_menu > ul > li.active > a{
		color: <?php echo esc_attr($eltd_options['menu_light_activecolor']); ?>;
    }
<?php } ?>

<?php if(isset($eltd_options['menu_dark_activecolor']) && $eltd_options['menu_dark_activecolor'] !== '') { ?>
	.dark:not(.sticky) nav.main_menu > ul > li.active > a{
		color: <?php echo esc_attr($eltd_options['menu_dark_activecolor']); ?>;
    }
<?php } ?>


<?php if(isset($eltd_options['menu_hovercolor']) && $eltd_options['menu_hovercolor'] !== '') { ?>
    nav.main_menu > ul > li:hover > a,
    nav.main_menu > ul > li.active:hover > a,
    header:not(.with_hover_bg_color) nav.main_menu > ul > li:hover > a,
	header:not(.with_hover_bg_color) nav.main_menu > ul > li.active:hover > a,
	.header_bottom #lang_sel ul li a:hover,
	.header_bottom #lang_sel_click > ul > li a:hover{
		color: <?php echo esc_attr($eltd_options['menu_hovercolor']); ?> !important;
    }
<?php } ?>

<?php if(isset($eltd_options['menu_hovercolor']) && $eltd_options['menu_hovercolor'] !== '') { ?>
	nav.main_menu.line_under > ul > li > a .item_text:before,
	nav.main_menu.line_spread > ul > li > a .item_text:before{
		background-color: <?php echo esc_attr($eltd_options['menu_hovercolor']); ?>;
    }
<?php } ?>

<?php if(isset($eltd_options['menu_light_hovercolor']) && $eltd_options['menu_light_hovercolor'] !== '') { ?>
    .light:not(.sticky):not(.scrolled) nav.main_menu > ul > li:hover > a,
	.light:not(.sticky):not(.scrolled) nav.main_menu > ul > li.active:hover > a{
    color: <?php echo esc_attr($eltd_options['menu_light_hovercolor']); ?> !important;
    }
<?php } ?>

<?php if(isset($eltd_options['menu_light_hovercolor']) && $eltd_options['menu_light_hovercolor'] !== '') { ?>
	.light:not(.sticky):not(.scrolled) nav.main_menu.line_spread > ul > li:hover > a .item_text:before,
	.light:not(.sticky):not(.scrolled) nav.main_menu.line_under > ul > li:hover > a .item_text:before,
	.light:not(.sticky):not(.scrolled) nav.main_menu.line_spread > ul > li > a .item_text:before,
	.light:not(.sticky):not(.scrolled) nav.main_menu.line_under > ul > li > a .item_text:before{
		background-color: <?php echo esc_attr($eltd_options['menu_light_hovercolor']); ?> !important;
    }
<?php } ?>

<?php if(isset($eltd_options['menu_dark_hovercolor']) && $eltd_options['menu_dark_hovercolor'] !== '') { ?>
	.dark:not(.sticky):not(.scrolled) nav.main_menu > ul > li:hover > a,
	.dark:not(.sticky):not(.scrolled) nav.main_menu > ul > li.active:hover > a{
		color: <?php echo esc_attr($eltd_options['menu_dark_hovercolor']); ?> !important;
    }
<?php } ?>

<?php if(isset($eltd_options['menu_dark_hovercolor']) && $eltd_options['menu_dark_hovercolor'] !== '') { ?>
	.dark:not(.sticky):not(.scrolled) nav.main_menu.line_spread > ul > li:hover > a .item_text:before,
	.dark:not(.sticky):not(.scrolled) nav.main_menu.line_under > ul > li:hover > a .item_text:before,
	.dark:not(.sticky):not(.scrolled) nav.main_menu.line_spread > ul > li > a .item_text:before,
	.dark:not(.sticky):not(.scrolled) nav.main_menu.line_under > ul > li > a .item_text:before{
		background-color: <?php echo esc_attr($eltd_options['menu_dark_hovercolor']); ?> !important;
    }
<?php } ?>


<?php if(isset($eltd_options['menu_padding_left_right']) && $eltd_options['menu_padding_left_right'] !== ''){ ?>
    nav.main_menu > ul > li > a span.item_inner{
    padding: 0  <?php echo esc_attr($eltd_options['menu_padding_left_right']); ?>px;
    }
<?php } ?>

<?php if(isset($eltd_options['menu_margin_left_right']) && $eltd_options['menu_margin_left_right'] !== ''){ ?>
    nav.main_menu > ul > li{
    margin: 0  <?php echo esc_attr($eltd_options['menu_margin_left_right']); ?>px;
    }
    header.stick_with_left_right_menu.sticky nav.main_menu.left_side > ul > li:last-child,
    header.stick_with_left_right_menu.sticky nav.main_menu.right_side > ul > li:first-child{
    margin-left:  <?php echo esc_attr($eltd_options['menu_margin_left_right']); ?>px !important;
    margin-right:  <?php echo esc_attr($eltd_options['menu_margin_left_right']); ?>px !important;
    }
<?php } ?>

<?php if(isset($eltd_options['menu_hover_background_color']) && $eltd_options['menu_hover_background_color'] !== '') {
    $menu_hover_background_color = $eltd_options['menu_hover_background_color'];

    if(isset($eltd_options['menu_hover_background_color_transparency']) && $eltd_options['menu_hover_background_color_transparency'] !== '') {
        $menu_hover_background_color_rgb = eltd_hex2rgb($menu_hover_background_color);
        $menu_hover_background_color = 'rgba('.$menu_hover_background_color_rgb[0].', '.$menu_hover_background_color_rgb[1].', '.$menu_hover_background_color_rgb[2].', '.$eltd_options['menu_hover_background_color_transparency'].')';
    }?>

    <?php if (!empty($eltd_options['menu_item_style']) && $eltd_options['menu_item_style']=='small_item'){ ?>
        nav.main_menu > ul > li:hover > a > span.item_inner,
        header.sticky nav.main_menu > ul > li:hover > a > span.item_inner,
		nav.main_menu > ul > li.active:hover > a > span.item_inner,
        header.sticky nav.main_menu > ul > li.active:hover > a > span.item_inner		{
        background-color: <?php echo esc_attr($menu_hover_background_color); ?>;
        }
    <?php } elseif (!empty($eltd_options['menu_item_style']) && $eltd_options['menu_item_style']=='large_item'){ ?>
        nav.main_menu > ul > li:hover > a,
        header.sticky nav.main_menu > ul > li:hover > a,
		nav.main_menu > ul > li.active:hover > a,
        header.sticky nav.main_menu > ul > li.active:hover > a{
        background-color: <?php echo esc_attr($menu_hover_background_color); ?>;
        }
    <?php } ?>

    <?php

    if(isset($eltd_options['menu_hovercolor']) && $eltd_options['menu_hovercolor'] !== '') {
        ?>
        nav.main_menu > ul > li:hover > a,
		nav.main_menu > ul > li.active:hover > a,
		header:not(.with_hover_bg_color) nav.main_menu > ul > li:hover > a,
		header:not(.with_hover_bg_color) nav.main_menu > ul > li.active:hover > a{
			color: <?php echo esc_attr($eltd_options['menu_hovercolor']); ?> !important;
		}
    <?php } ?>
<?php } ?>

<?php if(isset($eltd_options['menu_active_background_color']) && $eltd_options['menu_active_background_color'] !== '') {
    $menu_active_background_color = $eltd_options['menu_active_background_color'];

    if(isset($eltd_options['menu_active_background_color_transparency']) && $eltd_options['menu_active_background_color_transparency'] !== '') {
        $menu_active_background_color_rgb = eltd_hex2rgb($menu_active_background_color);
        $menu_active_background_color = 'rgba('.$menu_active_background_color_rgb[0].', '.$menu_active_background_color_rgb[1].', '.$menu_active_background_color_rgb[2].', '.$eltd_options['menu_active_background_color_transparency'].')';
    }
    ?>
    <?php if (!empty($eltd_options['menu_item_style']) && $eltd_options['menu_item_style']=='small_item'){ ?>
        nav.main_menu > ul > li.active > a > span.item_inner,
        header.sticky nav.main_menu > ul > li.active > a > span.item_inner {
        <?php if($eltd_options['menu_active_background_color'] !== '') { ?>
            background-color: <?php echo esc_attr($menu_active_background_color); ?>;
        <?php } ?>
        }
    <?php } elseif (!empty($eltd_options['menu_item_style']) && $eltd_options['menu_item_style']=='large_item'){ ?>
        nav.main_menu > ul > li.active > a,
        header.sticky nav.main_menu > ul > li.active > a {
        <?php if($eltd_options['menu_active_background_color'] !== '') { ?>
            background-color: <?php echo esc_attr($menu_active_background_color); ?>;
            }
        <?php } ?>
    <?php } ?>

    <?php

    if(isset($eltd_options['menu_activecolor']) && $eltd_options['menu_activecolor'] !== '') {
        ?>
		nav.main_menu > ul > li.active > a,
		header:not(.with_hover_bg_color) nav.main_menu > ul > li.active > a{
			color: <?php echo esc_attr($eltd_options['menu_activecolor']); ?>;
		}
    <?php } ?>
<?php } ?>

<?php if(isset($eltd_options['menu_item_icon_position']) && ($eltd_options['menu_item_icon_position']=="top") && isset($eltd_options['menu_item_icon_size']) && ($eltd_options['menu_item_icon_size']!=="") ){?>
	    .header_bottom.with_large_icons nav.main_menu >ul > li > a > span.item_inner i{
    font-size: <?php echo esc_attr($eltd_options['menu_item_icon_size']); ?>px !important;
    }
<?php } ?>

<?php if(!empty($eltd_options['dropdown_color']) || !empty($eltd_options['dropdown_fontsize']) || !empty($eltd_options['dropdown_lineheight']) || !empty($eltd_options['dropdown_fontstyle']) || !empty($eltd_options['dropdown_fontweight']) || $eltd_options['dropdown_google_fonts'] != "-1" || !empty($eltd_options['dropdown_texttransform'])  || $eltd_options['dropdown_letterspacing'] !== ''){ ?>
    .drop_down .second .inner > ul > li > a,
    .drop_down .second .inner > ul > li > h4,
    .drop_down .wide .second .inner > ul > li > h4,
    .drop_down .wide .second .inner > ul > li > a,
    .drop_down .wide .second ul li ul li.menu-item-has-children > a,
    .drop_down .wide .second .inner ul li.sub ul li.menu-item-has-children > a,
    .drop_down .wide .second .inner > ul li.sub .flexslider ul li  h4 a,
    .drop_down .wide .second .inner > ul li .flexslider ul li  h4 a,
    .drop_down .wide .second .inner > ul li.sub .flexslider ul li  h4,
    .drop_down .wide .second .inner > ul li .flexslider ul li  h4,
    .shopping_cart_dropdown ul li.empty_cart{
    <?php if (!empty($eltd_options['dropdown_color'])) { ?> color: <?php echo esc_attr($eltd_options['dropdown_color']); ?>; <?php } ?>
    <?php if($eltd_options['dropdown_google_fonts'] != "-1"){ ?>
        font-family: '<?php echo esc_attr(str_replace('+', ' ', $eltd_options['dropdown_google_fonts'])); ?>', sans-serif !important;
    <?php } ?>
    <?php if (!empty($eltd_options['dropdown_fontsize'])) { ?> font-size: <?php echo esc_attr($eltd_options['dropdown_fontsize']);  ?>px; <?php } ?>
    <?php if (!empty($eltd_options['dropdown_lineheight'])) { ?> line-height: <?php echo esc_attr($eltd_options['dropdown_lineheight']);  ?>px; <?php } ?>
    <?php if (!empty($eltd_options['dropdown_fontstyle'])) { ?> font-style: <?php echo esc_attr($eltd_options['dropdown_fontstyle']);  ?>;  <?php } ?>
    <?php if (!empty($eltd_options['dropdown_fontweight'])) { ?>font-weight: <?php echo esc_attr($eltd_options['dropdown_fontweight']);  ?>; <?php } ?>
    <?php if (!empty($eltd_options['dropdown_texttransform'])) { ?> text-transform: <?php echo esc_attr($eltd_options['dropdown_texttransform']);  ?>;  <?php } ?>
    <?php if ($eltd_options['dropdown_letterspacing'] !== '') { ?> letter-spacing: <?php echo esc_attr($eltd_options['dropdown_letterspacing']);  ?>px;  <?php } ?>
    }
<?php } ?>

<?php if (isset($eltd_options['dropdown_color']) && !empty($eltd_options['dropdown_color'])) { ?>
	.shopping_cart_dropdown ul li
	.item_info_holder .item_left a,
	.shopping_cart_dropdown ul li .item_info_holder .item_right .amount,
	.shopping_cart_dropdown .cart_bottom .subtotal_holder .total,
	.shopping_cart_dropdown .cart_bottom .subtotal_holder .total_amount{
		color: <?php echo esc_attr($eltd_options['dropdown_color']); ?>;
	}
<?php } ?>

<?php if(!empty($eltd_options['dropdown_color']) || !empty($eltd_options['dropdown_fontsize']) || !empty($eltd_options['dropdown_lineheight']) || !empty($eltd_options['dropdown_fontstyle']) || !empty($eltd_options['dropdown_fontweight']) || $eltd_options['dropdown_google_fonts'] != "-1" || !empty($eltd_options['dropdown_texttransform'])  || $eltd_options['dropdown_letterspacing'] !== ''){ ?>
    .header_bottom #lang_sel ul li li a,
	.header_bottom #lang_sel_click  ul li  ul li a,
	.header_top #lang_sel ul ul a,
	.header_top #lang_sel_click ul ul a{
    <?php if (!empty($eltd_options['dropdown_color'])) { ?> color: <?php echo esc_attr($eltd_options['dropdown_color']); ?>!important; <?php } ?>
    <?php if($eltd_options['dropdown_google_fonts'] != "-1"){ ?>
        font-family: '<?php echo esc_attr(str_replace('+', ' ', $eltd_options['dropdown_google_fonts'])); ?>', sans-serif !important;
    <?php } ?>
    <?php if (!empty($eltd_options['dropdown_fontsize'])) { ?> font-size: <?php echo esc_attr($eltd_options['dropdown_fontsize']);  ?>px !important; <?php } ?>
    <?php if (!empty($eltd_options['dropdown_lineheight'])) { ?> line-height: <?php echo esc_attr($eltd_options['dropdown_lineheight']);  ?>px; <?php } ?>
    <?php if (!empty($eltd_options['dropdown_fontstyle'])) { ?> font-style: <?php echo esc_attr($eltd_options['dropdown_fontstyle']);  ?>;  <?php } ?>
    <?php if (!empty($eltd_options['dropdown_fontweight'])) { ?>font-weight: <?php echo esc_attr($eltd_options['dropdown_fontweight']);  ?>; <?php } ?>
    <?php if (!empty($eltd_options['dropdown_texttransform'])) { ?> text-transform: <?php echo esc_attr($eltd_options['dropdown_texttransform']);  ?>;  <?php } ?>
    <?php if ($eltd_options['dropdown_letterspacing'] !== '') { ?> letter-spacing: <?php echo esc_attr($eltd_options['dropdown_letterspacing']);  ?>px;  <?php } ?>
    }
<?php } ?>

<?php if (!empty($eltd_options['dropdown_hovercolor'])) { ?>
    .drop_down .second .inner > ul > li:hover > a,
    .drop_down .wide .second ul li ul li.menu-item-has-children:hover > a,
    .drop_down .wide .second .inner ul li.sub ul li.menu-item-has-children:hover > a,
	.header_bottom #lang_sel ul li li:hover a,
	.header_bottom #lang_sel_click  ul li  ul li:hover a,
	.header_top #lang_sel ul li:hover > a,
	.header_top #lang_sel_click ul li:hover > a{
        color: <?php echo esc_attr($eltd_options['dropdown_hovercolor']);  ?> !important;
    }
<?php } ?>

<?php if (!empty($eltd_options['dropdown_background_hovercolor'])) { ?>
    .drop_down li:not(.wide) .second .inner > ul > li:hover{
        background-color: <?php echo esc_attr($eltd_options['dropdown_background_hovercolor']);  ?>;
    }
<?php } ?>

<?php 
$dropdown_padding_style = "";
if(isset($eltd_options['dropdown_padding_top_bottom']) && $eltd_options['dropdown_padding_top_bottom'] !== ''){
	$dropdown_padding_style .= 'padding-top: '.$eltd_options['dropdown_padding_top_bottom'].'px;';
}
if(isset($eltd_options['dropdown_padding_bottom']) && $eltd_options['dropdown_padding_bottom'] !== ''){
	$dropdown_padding_style .= 'padding-bottom: '.$eltd_options['dropdown_padding_bottom'].'px;';
}

if ($dropdown_padding_style !== ""){ ?>
    .drop_down .wide .second>.inner>ul>li.sub>ul>li>a,
    .drop_down .second .inner ul li a,
    .drop_down .wide .second ul li a,
    .drop_down .second .inner ul.right li a{
    <?php echo esc_attr($dropdown_padding_style);?>
    }
<?php } ?>

<?php
if (isset($eltd_options['dropdown_margin_left_right']) && $eltd_options['dropdown_margin_left_right'] !== ''){ ?>
	.drop_down .second .inner ul li a{
		margin: 0 <?php echo esc_attr($eltd_options['dropdown_margin_left_right']); ?>px;
	}
<?php }
?>

<?php 
    if(isset($eltd_options['dropdown_border_around']) && $eltd_options['dropdown_border_around'] == "yes" && !empty($eltd_options['dropdown_border_around_color']) && isset($eltd_options['enable_wide_manu_background']) && $eltd_options['enable_wide_manu_background'] == 'no'){ ?>
        .drop_down .second .inner>ul,
    	li.narrow .second .inner ul,
    	.drop_down .narrow .second .inner ul li ul,
    	.shopping_cart_dropdown,
    	.shopping_cart_dropdown ul li{
    		border-color:  <?php echo esc_attr($eltd_options['dropdown_border_around_color']);  ?>;
        }

<?php } ?>

<?php if(isset($eltd_options['dropdown_border_around']) && $eltd_options['dropdown_border_around'] == "yes" && !empty($eltd_options['dropdown_border_around_color']) && isset($eltd_options['enable_wide_manu_background']) && $eltd_options['enable_wide_manu_background'] == 'yes'){ ?>
        .drop_down .wide .second,
        li.narrow .second .inner ul,
        .drop_down .narrow .second .inner ul li ul,
        .shopping_cart_dropdown,
        .shopping_cart_dropdown ul li{
            border-color:  <?php echo esc_attr($eltd_options['dropdown_border_around_color']);  ?>;
            border-width: 1px;
            border-style: solid;
        }
        <?php if(isset($eltd_options['enable_dropdown_top_separator']) && $eltd_options['enable_dropdown_top_separator'] == 'yes' && isset($eltd_options['dropdown_top_separator_color']) && !empty($eltd_options['dropdown_top_separator_color'])){?>
            .drop_down .wide .second{
                border-top-color: <?php echo esc_attr($eltd_options['dropdown_top_separator_color']); ?>;
                border-top-width:5px;
            }
        <?php } ?>
        .drop_down .wide .second .inner>ul{
            border:none;
        }

<?php } ?>

<?php // if border and/or top separator aren't set ?>
<?php if(isset($eltd_options['dropdown_border_around']) && $eltd_options['dropdown_border_around'] == "no"){ ?>
    .drop_down .second .inner>ul,
	li.narrow .second .inner ul,
	.drop_down .narrow .second .inner ul li ul{
		border: none;
    }

    <?php if(isset($eltd_options['enable_wide_manu_background']) && $eltd_options['enable_wide_manu_background'] == 'yes'){ ?>
        .drop_down .wide_background .second{
            border-left:none;
            border-right:none;
            border-bottom:none;
    } 

    <?php if(isset($eltd_options['enable_dropdown_top_separator']) && $eltd_options['enable_dropdown_top_separator'] == 'no'){?>
        .drop_down .wide_background .second{
            border-top:none;
        }
    <?php } ?>

    <?php } ?>
	.drop_down .second .inner ul.right li ul{
		margin-left: 0;
	}

<?php } ?>

<?php
if(isset($eltd_options['wide_image_background']) && $eltd_options['wide_image_background'] != ""){
        if(isset($eltd_options['enable_wide_manu_background']) && $eltd_options['enable_wide_manu_background'] == 'yes'){ ?>
            .drop_down .wide.wide_background .second{
              background-image:url(<?php echo esc_attr($eltd_options['wide_image_background']);  ?>);
              background-size:cover;
              background-repeat:no-repeat;
              background-position:center;
            }
            .drop_down .wide.wide_background .second  .inner > ul{
                background-color:transparent!important;
				 border:none;
            }
        <?php }
        else{?>
            .drop_down .wide:not(.wide_background) .second  .inner > ul {
              background-image:url(<?php echo esc_attr($eltd_options['wide_image_background']); ?>);
              background-size:cover;
              background-repeat:no-repeat;
              background-position:center;  
            }            
    <?php }
}
?>


<?php if(!empty($eltd_options['dropdown_wide_color']) || !empty($eltd_options['dropdown_wide_fontsize']) || !empty($eltd_options['dropdown_wide_lineheight']) || !empty($eltd_options['dropdown_wide_fontstyle']) || !empty($eltd_options['dropdown_wide_fontweight']) || $eltd_options['dropdown_wide_google_fonts'] != "-1" || !empty($eltd_options['dropdown_wide_texttransform'])  || $eltd_options['dropdown_wide_letterspacing'] !== ''){ ?>
    .drop_down .wide .second .inner>ul>li>a{
    <?php if (!empty($eltd_options['dropdown_wide_color'])) { ?> color: <?php echo esc_attr($eltd_options['dropdown_wide_color']); ?>; <?php } ?>
    <?php if($eltd_options['dropdown_wide_google_fonts'] != "-1"){ ?>
        font-family: '<?php echo esc_attr(str_replace('+', ' ', $eltd_options['dropdown_wide_google_fonts'])); ?>', sans-serif !important;
    <?php } ?>
    <?php if (!empty($eltd_options['dropdown_wide_fontsize'])) { ?> font-size: <?php echo esc_attr($eltd_options['dropdown_wide_fontsize']);  ?>px; <?php } ?>
    <?php if (!empty($eltd_options['dropdown_wide_lineheight'])) { ?> line-height: <?php echo esc_attr($eltd_options['dropdown_wide_lineheight']);  ?>px; <?php } ?>
    <?php if (!empty($eltd_options['dropdown_wide_fontstyle'])) { ?> font-style: <?php echo esc_attr($eltd_options['dropdown_wide_fontstyle']);  ?>;  <?php } ?>
    <?php if (!empty($eltd_options['dropdown_wide_fontweight'])) { ?>font-weight: <?php echo esc_attr($eltd_options['dropdown_wide_fontweight']);  ?>; <?php } ?>
    <?php if (!empty($eltd_options['dropdown_wide_texttransform'])) { ?> text-transform: <?php echo esc_attr($eltd_options['dropdown_wide_texttransform']);  ?>;  <?php } ?>
    <?php if ($eltd_options['dropdown_wide_letterspacing'] !== '') { ?> letter-spacing: <?php echo esc_attr($eltd_options['dropdown_wide_letterspacing']);  ?>px;  <?php } ?>
    }
<?php } ?>
<?php if (!empty($eltd_options['dropdown_wide_hovercolor'])) { ?>
    .drop_down .wide .second .inner > ul > li:hover > a {
    color: <?php echo esc_attr($eltd_options['dropdown_wide_hovercolor']);  ?> !important;
    }
<?php } ?>
<?php if (!empty($eltd_options['dropdown_wide_background_hovercolor'])) { ?>
    .drop_down .wide .second .inner > ul > li:hover{
    background-color: <?php echo esc_attr($eltd_options['dropdown_wide_background_hovercolor']);  ?> ;
    }
<?php } ?>


<?php if(isset($eltd_options['dropdown_wide_padding_top']) && !empty($eltd_options['dropdown_wide_padding_top'])){ ?>
    .drop_down .wide .second .inner > ul > li > a,
    .drop_down .wide .second .inner ul.right > li > a{
    <?php if (!empty($eltd_options['dropdown_wide_padding_top'])) { ?> padding-top: <?php echo esc_attr($eltd_options['dropdown_wide_padding_top']); ?>px; <?php } ?>
    }
<?php } ?>

<?php if(isset($eltd_options['dropdown_wide_padding_bottom']) && !empty($eltd_options['dropdown_wide_padding_bottom'])){ ?>
    .drop_down .wide .second .inner > ul > li > a,
    .drop_down .wide .second .inner ul.right > li > a{
    <?php if (!empty($eltd_options['dropdown_wide_padding_bottom'])) { ?> padding-bottom: <?php echo esc_attr($eltd_options['dropdown_wide_padding_bottom']); ?>px; <?php } ?>
    }
<?php } ?>



<?php 

/* 3rd level menu */

if(!empty($eltd_options['dropdown_color_thirdlvl']) || !empty($eltd_options['dropdown_fontsize_thirdlvl']) || !empty($eltd_options['dropdown_lineheight_thirdlvl']) || !empty($eltd_options['dropdown_fontstyle_thirdlvl']) || !empty($eltd_options['dropdown_fontweight_thirdlvl']) || $eltd_options['dropdown_google_fonts_thirdlvl'] != "-1" || !empty($eltd_options['dropdown_texttransform_thirdlvl']) || $eltd_options['dropdown_letterspacing_thirdlvl'] !== ''){ ?>
    .drop_down .second .inner ul li.sub ul li a{
    <?php if (!empty($eltd_options['dropdown_color_thirdlvl'])) { ?> color: <?php echo esc_attr($eltd_options['dropdown_color_thirdlvl']);  ?>;  <?php } ?>
    <?php if($eltd_options['dropdown_google_fonts_thirdlvl'] != "-1"){ ?>
        font-family: '<?php echo esc_attr(str_replace('+', ' ', $eltd_options['dropdown_google_fonts_thirdlvl'])); ?>', sans-serif;
    <?php } ?>
    <?php if (!empty($eltd_options['dropdown_fontsize_thirdlvl'])) { ?> font-size: <?php echo esc_attr($eltd_options['dropdown_fontsize_thirdlvl']);  ?>px;  <?php } ?>
    <?php if (!empty($eltd_options['dropdown_lineheight_thirdlvl'])) { ?> line-height: <?php echo esc_attr($eltd_options['dropdown_lineheight_thirdlvl']);  ?>px;  <?php } ?>
    <?php if (!empty($eltd_options['dropdown_fontstyle_thirdlvl'])) { ?> font-style: <?php echo esc_attr($eltd_options['dropdown_fontstyle_thirdlvl']);  ?>;   <?php } ?>
    <?php if (!empty($eltd_options['dropdown_fontweight_thirdlvl'])) { ?> font-weight: <?php echo esc_attr($eltd_options['dropdown_fontweight_thirdlvl']);  ?>;  <?php } ?>
    <?php if (!empty($eltd_options['dropdown_texttransform_thirdlvl'])) { ?> text-transform: <?php echo esc_attr($eltd_options['dropdown_texttransform_thirdlvl']);  ?>;  <?php } ?>
    <?php if ($eltd_options['dropdown_letterspacing_thirdlvl'] !== '') { ?> letter-spacing: <?php echo esc_attr($eltd_options['dropdown_letterspacing_thirdlvl']);  ?>px;  <?php } ?>
    }
<?php } ?>
<?php if (!empty($eltd_options['dropdown_hovercolor_thirdlvl'])) { ?>
    .drop_down .second .inner ul li.sub ul li:not(.flex-active-slide):hover > a:not(.flex-prev):not(.flex-next),
    .drop_down .second .inner ul li ul li:not(.flex-active-slide):hover > a:not(.flex-prev):not(.flex-next){
    color: <?php echo esc_attr($eltd_options['dropdown_hovercolor_thirdlvl']);  ?> !important;
    }
<?php } ?>

<?php if (!empty($eltd_options['dropdown_background_hovercolor_thirdlvl'])) { ?>
    .drop_down .second .inner ul li.sub ul li:hover,
    .drop_down .second .inner ul li ul li:hover{
    background-color: <?php echo esc_attr($eltd_options['dropdown_background_hovercolor_thirdlvl']);  ?>;
    }
<?php } ?>

<?php 

/* 3rd level wide menu */

if(!empty($eltd_options['dropdown_wide_color_thirdlvl']) || !empty($eltd_options['dropdown_wide_fontsize_thirdlvl']) || !empty($eltd_options['dropdown_wide_lineheight_thirdlvl']) || !empty($eltd_options['dropdown_wide_fontstyle_thirdlvl']) || !empty($eltd_options['dropdown_wide_fontweight_thirdlvl']) || $eltd_options['dropdown_wide_google_fonts_thirdlvl'] != "-1" || !empty($eltd_options['dropdown_wide_texttransform_thirdlvl']) || $eltd_options['dropdown_wide_letterspacing_thirdlvl'] !== ''){ ?>
    .drop_down .wide .second .inner ul li.sub ul li a,
    .drop_down .wide .second ul li ul li a{
    <?php if (!empty($eltd_options['dropdown_wide_color_thirdlvl'])) { ?> color: <?php echo esc_attr($eltd_options['dropdown_wide_color_thirdlvl']);  ?>;  <?php } ?>
    <?php if($eltd_options['dropdown_wide_google_fonts_thirdlvl'] != "-1"){ ?>
        font-family: '<?php echo esc_attr(str_replace('+', ' ', $eltd_options['dropdown_wide_google_fonts_thirdlvl'])); ?>', sans-serif;
    <?php } ?>
    <?php if (!empty($eltd_options['dropdown_wide_fontsize_thirdlvl'])) { ?> font-size: <?php echo esc_attr($eltd_options['dropdown_wide_fontsize_thirdlvl']);  ?>px;  <?php } ?>
    <?php if (!empty($eltd_options['dropdown_wide_lineheight_thirdlvl'])) { ?> line-height: <?php echo esc_attr($eltd_options['dropdown_wide_lineheight_thirdlvl']);  ?>px;  <?php } ?>
    <?php if (!empty($eltd_options['dropdown_wide_fontstyle_thirdlvl'])) { ?> font-style: <?php echo esc_attr($eltd_options['dropdown_wide_fontstyle_thirdlvl']);  ?>;   <?php } ?>
    <?php if (!empty($eltd_options['dropdown_wide_fontweight_thirdlvl'])) { ?> font-weight: <?php echo esc_attr($eltd_options['dropdown_wide_fontweight_thirdlvl']);  ?>;  <?php } ?>
    <?php if (!empty($eltd_options['dropdown_wide_texttransform_thirdlvl'])) { ?> text-transform: <?php echo esc_attr($eltd_options['dropdown_wide_texttransform_thirdlvl']);  ?>;  <?php } ?>
    <?php if ($eltd_options['dropdown_wide_letterspacing_thirdlvl'] !== '') { ?> letter-spacing: <?php echo esc_attr($eltd_options['dropdown_wide_letterspacing_thirdlvl']);  ?>px;  <?php } ?>
    }
<?php } ?>
<?php if (!empty($eltd_options['dropdown_wide_hovercolor_thirdlvl'])) { ?>
    .drop_down .wide .second .inner ul li.sub ul li:not(.flex-active-slide) > a:not(.flex-prev):not(.flex-next):hover,
    .drop_down .wide .second .inner ul li ul li:not(.flex-active-slide) > a:not(.flex-prev):not(.flex-next):hover{
    color: <?php echo esc_attr($eltd_options['dropdown_wide_hovercolor_thirdlvl']);  ?> !important;
    }
<?php } ?>

<?php if (!empty($eltd_options['dropdown_wide_background_hovercolor_thirdlvl'])) { ?>
    .drop_down .wide .second .inner ul li.sub ul li:hover,
    .drop_down .wide .second .inner ul li ul li:hover{
    background-color: <?php echo esc_attr($eltd_options['dropdown_wide_background_hovercolor_thirdlvl']);  ?>;
    }
<?php } ?>


<?php

/* fixed menu */

if(!empty($eltd_options['fixed_color']) || !empty($eltd_options['fixed_fontsize']) || !empty($eltd_options['fixed_lineheight']) || !empty($eltd_options['fixed_fontstyle']) || !empty($eltd_options['fixed_fontweight']) || !empty($eltd_options['fixed_texttransform']) || (isset($eltd_options['fixed_letterspacing']) && $eltd_options['fixed_letterspacing'] !== '') || $eltd_options['fixed_google_fonts'] != "-1"){ ?>
    header.scrolled nav.main_menu > ul > li > a > span.item_inner,
    header.light.scrolled nav.main_menu > ul > li > a > span.item_inner,
    header.dark.scrolled nav.main_menu > ul > li > a > span.item_inner{
    <?php if (!empty($eltd_options['fixed_color'])) { ?> color: <?php echo esc_attr($eltd_options['fixed_color']); ?>; <?php } ?>
    <?php if($eltd_options['fixed_google_fonts'] != "-1"){ ?>
        font-family: '<?php echo esc_attr(str_replace('+', ' ', $eltd_options['fixed_google_fonts'])); ?>', sans-serif !important;
    <?php } ?>
    <?php if (!empty($eltd_options['fixed_fontsize'])) { ?> font-size: <?php echo esc_attr($eltd_options['fixed_fontsize']);  ?>px; <?php } ?>
    <?php if (!empty($eltd_options['fixed_lineheight'])) { ?> line-height: <?php echo esc_attr($eltd_options['fixed_lineheight']);  ?>px !important; <?php } ?>
    <?php if (!empty($eltd_options['fixed_fontstyle'])) { ?> font-style: <?php echo esc_attr($eltd_options['fixed_fontstyle']);  ?>;  <?php } ?>
    <?php if (!empty($eltd_options['fixed_fontweight'])) { ?>font-weight: <?php echo esc_attr($eltd_options['fixed_fontweight']);  ?>; <?php } ?>
    <?php if (!empty($eltd_options['fixed_texttransform'])) { ?> text-transform: <?php echo esc_attr($eltd_options['fixed_texttransform']);  ?>;  <?php } ?>
    <?php if ($eltd_options['fixed_letterspacing'] !== '') { ?> letter-spacing: <?php echo esc_attr($eltd_options['fixed_letterspacing']);  ?>px;  <?php } ?>
    }
    header.scrolled .side_menu_button_wrapper .side_menu_button a{
    <?php if (!empty($eltd_options['fixed_lineheight'])) { ?> line-height: <?php echo esc_attr($eltd_options['fixed_lineheight']);  ?>px !important; <?php } ?>
    }
<?php } ?>
<?php if (!empty($eltd_options['fixed_color'])) { ?>
    header.scrolled .eltd_icon_shade.eltd_icon_shortcode > a > *,
    header.light.scrolled .eltd_icon_shade.eltd_icon_shortcode > a > *,
    header.dark.scrolled .eltd_icon_shade.eltd_icon_shortcode > a > *,
    header.scrolled .side_menu_button_wrapper .side_menu_button a,
    header.light:not(.sticky).scrolled .side_menu_button_wrapper .side_menu_button > a,
    header.dark:not(.sticky).scrolled .side_menu_button_wrapper .side_menu_button > a{
    <?php if (!empty($eltd_options['fixed_color'])) { ?> color: <?php echo esc_attr($eltd_options['fixed_color']); ?> !important; <?php } ?>
    }
<?php } ?>
<?php if (!empty($eltd_options['fixed_hovercolor'])) { ?>
    header.scrolled nav.main_menu > ul > li > a:hover > span,
    header.scrolled nav.main_menu > ul > li:hover > a > span,
    header.scrolled nav.main_menu > ul > li.active > a > span,
    header.scrolled nav.main_menu > ul > li > a:hover > i,
    header.scrolled nav.main_menu > ul > li:hover > a > i,
    header.scrolled nav.main_menu > ul > li.active > a > i,
    header.scrolled .side_menu_button a:hover,
    .light.scrolled nav.main_menu > ul > li > a:hover,
    .light.scrolled nav.main_menu > ul > li.active > a,
    .light.scrolled .side_menu_button a:hover,
    .dark.scrolled nav.main_menu > ul > li > a:hover,
    .dark.scrolled nav.main_menu > ul > li.active > a,
    .dark.scrolled .side_menu_button a:hover,
    header.dark.scrolled .eltd_icon_shade.eltd_icon_shortcode > a:hover > *,
    header.dark.scrolled .eltd_icon_shade.eltd_icon_shortcode > a:hover > *,
    header.scrolled .side_menu_button_wrapper .eltd_icon_shade.eltd_icon_shortcode > a:hover > *,
    header.light:not(.sticky).scrolled .side_menu_button_wrapper .side_menu_button > a:hover,
    header.dark:not(.sticky).scrolled .side_menu_button_wrapper .side_menu_button > a:hover{
    color: <?php echo esc_attr($eltd_options['fixed_hovercolor']);  ?> !important;
    }
<?php } ?>

<?php if(!empty($eltd_options['sticky_color']) || !empty($eltd_options['sticky_fontsize']) || !empty($eltd_options['sticky_lineheight']) || !empty($eltd_options['sticky_fontstyle']) || !empty($eltd_options['sticky_fontweight']) || !empty($eltd_options['sticky_texttransform']) || (isset($eltd_options['sticky_letterspacing']) && $eltd_options['sticky_letterspacing'] !== '') || $eltd_options['sticky_google_fonts'] != "-1"){ ?>
    header.sticky nav.main_menu > ul > li > a > span.item_inner,
    header.light.sticky nav.main_menu > ul > li > a > span.item_inner,
    header.dark.sticky nav.main_menu > ul > li > a > span.item_inner{
    <?php if (!empty($eltd_options['sticky_color'])) { ?> color: <?php echo esc_attr($eltd_options['sticky_color']); ?>; <?php } ?>
    <?php if($eltd_options['sticky_google_fonts'] != "-1"){ ?>
        font-family: '<?php echo esc_attr(str_replace('+', ' ', $eltd_options['sticky_google_fonts'])); ?>', sans-serif !important;
    <?php } ?>
    <?php if (!empty($eltd_options['sticky_fontsize'])) { ?> font-size: <?php echo esc_attr($eltd_options['sticky_fontsize']);  ?>px; <?php } ?>
    <?php if (!empty($eltd_options['sticky_lineheight'])) { ?> line-height: <?php echo esc_attr($eltd_options['sticky_lineheight']);  ?>px !important; <?php } ?>
    <?php if (!empty($eltd_options['sticky_fontstyle'])) { ?> font-style: <?php echo esc_attr($eltd_options['sticky_fontstyle']);  ?>;  <?php } ?>
    <?php if (!empty($eltd_options['sticky_fontweight'])) { ?>font-weight: <?php echo esc_attr($eltd_options['sticky_fontweight']);  ?>; <?php } ?>
    <?php if (!empty($eltd_options['sticky_texttransform'])) { ?> text-transform: <?php echo esc_attr($eltd_options['sticky_texttransform']);  ?>;  <?php } ?>
    <?php if ($eltd_options['sticky_letterspacing'] !== '') { ?> letter-spacing: <?php echo esc_attr($eltd_options['sticky_letterspacing']);  ?>px;  <?php } ?>
    }
   
<?php } ?>

<?php if (!empty($eltd_options['sticky_color'])) { ?>
    header.sticky .side_menu_button a,
    header.sticky .eltd_icon_shade.eltd_icon_shortcode > a > *,
    header.sticky .side_menu_button_wrapper .side_menu_button a{
    <?php if (!empty($eltd_options['sticky_color'])) { ?> color: <?php echo esc_attr($eltd_options['sticky_color']); ?>; <?php } ?>
    }
<?php } ?>

<?php if (!empty($eltd_options['sticky_hovercolor'])) { ?>
    header.sticky nav.main_menu > ul > li > a:hover span,
    header.sticky nav.main_menu > ul > li.active > a span,
    header.sticky nav.main_menu > ul > li:hover > a > span,
    header.sticky nav.main_menu > ul > li > a:hover > i,
    header.sticky nav.main_menu > ul > li:hover > a > i,
    header.sticky nav.main_menu > ul > li.active > a > i,
    .light.sticky nav.main_menu > ul > li > a:hover,
    .light.sticky nav.main_menu > ul > li.active > a,
    .dark.sticky nav.main_menu > ul > li > a:hover,
    .dark.sticky nav.main_menu > ul > li.active > a,
    header.sticky .eltd_icon_shade.eltd_icon_shortcode > a:hover > *{
    color: <?php echo esc_attr($eltd_options['sticky_hovercolor']);  ?> !important;
    }
<?php } ?>

<?php if (!empty($eltd_options['mobile_color']) || !empty($eltd_options['mobile_fontsize']) || !empty($eltd_options['mobile_lineheight']) || !empty($eltd_options['mobile_fontstyle']) || !empty($eltd_options['mobile_fontweight']) || !empty($eltd_options['mobile_texttransform']) || $eltd_options['mobile_letter_spacing'] !== '' || $eltd_options['mobile_google_fonts'] != "-1") { ?>
    nav.mobile_menu ul li a,
    nav.mobile_menu ul li h4{
    <?php if (!empty($eltd_options['mobile_color'])) { ?> color: <?php echo esc_attr($eltd_options['mobile_color']);  ?>; <?php } ?>
    <?php if($eltd_options['mobile_google_fonts'] != "-1"){ ?>
        font-family: '<?php echo esc_attr(str_replace('+', ' ', $eltd_options['mobile_google_fonts'])); ?>', sans-serif;
    <?php } ?>
    <?php if (!empty($eltd_options['mobile_fontsize'])) { ?> font-size: <?php echo esc_attr($eltd_options['mobile_fontsize']);  ?>px; <?php } ?>
    <?php if (!empty($eltd_options['mobile_lineheight'])) { ?> line-height: <?php echo esc_attr($eltd_options['mobile_lineheight']);  ?>px; <?php } ?>
    <?php if (!empty($eltd_options['mobile_fontstyle'])) { ?> font-style: <?php echo esc_attr($eltd_options['mobile_fontstyle']);  ?>; <?php } ?>
    <?php if (!empty($eltd_options['mobile_fontweight'])) { ?> font-weight: <?php echo esc_attr($eltd_options['mobile_fontweight']);  ?>; <?php } ?>
    <?php if (!empty($eltd_options['mobile_texttransform'])) { ?> text-transform: <?php echo esc_attr($eltd_options['mobile_texttransform']);  ?>;  <?php } ?>
    <?php if ($eltd_options['mobile_letter_spacing'] !== ''){ ?>letter-spacing: <?php echo esc_attr($eltd_options['mobile_letter_spacing']);  ?>px;<?php } ?>
    }
    <?php if (!empty($eltd_options['mobile_color'])) { ?>
        nav.mobile_menu ul > li.has_sub > span.mobile_arrow{
        color: <?php echo esc_attr($eltd_options['mobile_color']);  ?>;
        }
    <?php } ?>

<?php } ?>

<?php
if(isset($eltd_options['mobile_lineheight']) && $eltd_options['mobile_lineheight'] !== ''){ ?>
	nav.mobile_menu ul > li.has_sub > span.mobile_arrow{
		height: <?php echo esc_attr($eltd_options['mobile_lineheight']) + 18; ?>px;
		line-height: <?php echo esc_attr($eltd_options['mobile_lineheight']) + 18; ?>px;
	}
<?php
}
?>

<?php if (!empty($eltd_options['mobile_hovercolor'])) { ?>
    nav.mobile_menu ul li a:hover,
    nav.mobile_menu ul li.active > a,
	nav.mobile_menu ul li.active > h4{
    color: <?php echo esc_attr($eltd_options['mobile_hovercolor']);  ?>;
    }
<?php } ?>
<?php if (!empty($eltd_options['mobile_separator_color'])) { ?>
    nav.mobile_menu ul li,
    nav.mobile_menu ul li.open_sub > ul{
    border-color: <?php echo esc_attr($eltd_options['mobile_separator_color']);  ?>;
    }
<?php } ?>

<?php if (!empty($eltd_options['mobile_background_color'])) { ?>
    @media only screen and (max-width: 1000px){
    .header_bottom,
    nav.mobile_menu{
    background-color: <?php echo esc_attr($eltd_options['mobile_background_color']);  ?> !important;
    }
    }
<?php } ?>

<?php if (isset($eltd_options['interactive_banners_background_color']) && !empty($eltd_options['interactive_banners_background_color'])) { ?>
    <?php $shader_bg_color = eltd_hex2rgb($eltd_options['interactive_banners_background_color']); ?>

    <?php if(isset($eltd_options['interactive_banners_background_transparency']) && !empty($eltd_options['interactive_banners_background_transparency'])){
            $interactive_banners_shader_transparency = $eltd_options['interactive_banners_background_transparency'];
        } else {
            $interactive_banners_shader_transparency = 0.9;
        }
    ?>

    .eltd_image_with_text_over .shader{
    background-color: rgba(<?php echo esc_attr($shader_bg_color[0]); ?>,<?php echo esc_attr($shader_bg_color[1]); ?>,<?php echo esc_attr($shader_bg_color[2]); ?>,<?php echo esc_attr($interactive_banners_shader_transparency); ?>);
    }
<?php } ?>

<?php if (isset($eltd_options['interactive_banners_hover_background_color']) && !empty($eltd_options['interactive_banners_hover_background_color'])) { ?>
    <?php $shader_hover_bg_color = eltd_hex2rgb($eltd_options['interactive_banners_hover_background_color']); ?>

    <?php if(isset($eltd_options['interactive_banners_hover_background_transparency']) && !empty($eltd_options['interactive_banners_hover_background_transparency'])){
            $interactive_banners_shader_transparency = $eltd_options['interactive_banners_hover_background_transparency'];
        } else {
            $interactive_banners_shader_transparency = 0.9;
        }
    ?>

    .eltd_image_with_text_over:hover .shader{
    background-color: rgba(<?php echo esc_attr($shader_hover_bg_color[0]); ?>,<?php echo esc_attr($shader_hover_bg_color[1]); ?>,<?php echo esc_attr($shader_hover_bg_color[2]); ?>,<?php echo esc_attr($interactive_banners_shader_transparency) ?>);
    }
<?php } ?>

<?php
$interactive_banners_style = array();

if ((isset($eltd_options['interactive_banners_padding_top']) && $eltd_options['interactive_banners_padding_top'] !== '')) {
    $interactive_banners_style[] = 'padding-top: '.$eltd_options['interactive_banners_padding_top'].'px';
}

if ((isset($eltd_options['interactive_banners_padding_bottom']) && $eltd_options['interactive_banners_padding_bottom'] !== '')) {
    $interactive_banners_style[] = 'padding-bottom: '.$eltd_options['interactive_banners_padding_bottom'].'px';
}
if ((isset($eltd_options['interactive_banners_padding_left']) && $eltd_options['interactive_banners_padding_left'] !== '')) {
    $interactive_banners_style[] = 'padding-left: '.$eltd_options['interactive_banners_padding_left'].'px';
}

if ((isset($eltd_options['interactive_banners_padding_right']) && $eltd_options['interactive_banners_padding_right'] !== '')) {
    $interactive_banners_style[] = 'padding-right: '.$eltd_options['interactive_banners_padding_right'].'px';
}

if(is_array($interactive_banners_style) && count($interactive_banners_style)) { ?>
    .eltd_image_with_text_over .front_holder{
    <?php echo esc_attr(implode(';', $interactive_banners_style)); ?>
    }
<?php } ?>

<?php
$interactive_banners_title_styles = array();

if(isset($eltd_options['interactive_banners_title_font_family']) && $eltd_options['interactive_banners_title_font_family'] !== '-1') {
    $interactive_banners_title_styles[] = 'font-family: '.str_replace('+', ' ', $eltd_options['interactive_banners_title_font_family']).', sans-serif';
}

if(isset($eltd_options['interactive_banners_title_font_size']) && $eltd_options['interactive_banners_title_font_size'] !== '') {
    $interactive_banners_title_styles[] = 'font-size: '.$eltd_options['interactive_banners_title_font_size'].'px';
}

if(isset($eltd_options['interactive_banners_title_line_height']) && $eltd_options['interactive_banners_title_line_height'] !== '') {
    $interactive_banners_title_styles[] = 'line-height: '.$eltd_options['interactive_banners_title_line_height'].'px';
}

if(isset($eltd_options['interactive_banners_title_letter_spacing']) && $eltd_options['interactive_banners_title_letter_spacing'] !== '') {
    $interactive_banners_title_styles[] = 'letter-spacing: '.$eltd_options['interactive_banners_title_letter_spacing'].'px';
}

if(isset($eltd_options['interactive_banners_title_font_weight']) && $eltd_options['interactive_banners_title_font_weight'] !== '') {
    $interactive_banners_title_styles[] = 'font-weight: '.$eltd_options['interactive_banners_title_font_weight'];
}

if(isset($eltd_options['interactive_banners_title_font_style']) && $eltd_options['interactive_banners_title_font_style'] !== '') {
    $interactive_banners_title_styles[] = 'font-style: '.$eltd_options['interactive_banners_title_font_style'];
}

if(isset($eltd_options['interactive_banners_title_text_transform']) && $eltd_options['interactive_banners_title_text_transform'] !== '') {
    $interactive_banners_title_styles[] = 'text-transform: '.$eltd_options['interactive_banners_title_text_transform'];
}

if(isset($eltd_options['interactive_banners_title_color']) && $eltd_options['interactive_banners_title_color'] !== '') {
    $interactive_banners_title_styles[] = 'color: '.$eltd_options['interactive_banners_title_color'];
}

if(is_array($interactive_banners_title_styles) && count($interactive_banners_title_styles)) { ?>
    .eltd_image_with_text_over .content_title{
    <?php echo esc_attr(implode(';', $interactive_banners_title_styles)); ?>
    }
<?php } ?>


<?php
$list_styles = array();

if(isset($eltd_options['list_google_fonts']) && $eltd_options['list_google_fonts'] !== '-1') {
$list_styles[] = 'font-family: '.str_replace('+', ' ', $eltd_options['list_google_fonts']).', sans-serif';
}

if(isset($eltd_options['list_fontsize']) && $eltd_options['list_fontsize'] !== '') {
    $list_styles[] = 'font-size: '.$eltd_options['list_fontsize'].'px !important';
}

if(isset($eltd_options['list_lineheight']) && $eltd_options['list_lineheight'] !== '') {
    $list_styles[] = 'line-height: '.$eltd_options['list_lineheight'].'px';
}

if(isset($eltd_options['list_letterspacing']) && $eltd_options['list_letterspacing'] !== '') {
    $list_styles[] = 'letter-spacing: '.$eltd_options['list_letterspacing'].'px';
}

if(isset($eltd_options['list_fontweight']) && $eltd_options['list_fontweight'] !== '') {
    $list_styles[] = 'font-weight: '.$eltd_options['list_fontweight'];
}

if(isset($eltd_options['list_fontstyle']) && $eltd_options['list_fontstyle'] !== '') {
    $list_styles[] = 'font-style: '.$eltd_options['list_fontstyle'];
}

if(isset($eltd_options['list_texttransform']) && $eltd_options['list_texttransform'] !== '') {
    $list_styles[] = 'text-transform: '.$eltd_options['list_texttransform'];
}

if(isset($eltd_options['list_color']) && $eltd_options['list_color'] !== '') {
    $list_styles[] = 'color: '.$eltd_options['list_color'];
}

if(isset($eltd_options['list_bottom_margin']) && $eltd_options['list_bottom_margin'] !== '') {
    $list_styles[] = 'margin-bottom: '.$eltd_options['list_bottom_margin'].'px';
}
?>
<?php if(is_array($list_styles) && count($list_styles)) { ?>
    .eltd_list.circle ul>li,
    .eltd_list.line ul>li{
    <?php echo esc_attr(implode(';', $list_styles)); ?>
    }
<?php }  ?>

<?php if (isset($eltd_options['list_item_color']) && !empty($eltd_options['list_item_color'])) { ?>
    .eltd_list.circle ul>li:before{
        background-color: <?php echo esc_attr($eltd_options['list_item_color']);?>;
    }

    .eltd_list.line ul>li:before{
        color: <?php echo esc_attr($eltd_options['list_item_color']);?>;
    }
<?php } ?>



<?php
$list_ordered_styles = array();

if(isset($eltd_options['list_ordered_fontfamily']) && $eltd_options['list_ordered_fontfamily'] !== '-1') {
$list_ordered_styles[] = 'font-family: '.str_replace('+', ' ', $eltd_options['list_ordered_fontfamily']).', sans-serif';
}

if(isset($eltd_options['list_ordered_fontsize']) && $eltd_options['list_ordered_fontsize'] !== '') {
    $list_ordered_styles[] = 'font-size: '.$eltd_options['list_ordered_fontsize'].'px !important';
}

if(isset($eltd_options['list_ordered_lineheight']) && $eltd_options['list_ordered_lineheight'] !== '') {
    $list_ordered_styles[] = 'line-height: '.$eltd_options['list_ordered_lineheight'].'px';
}

if(isset($eltd_options['list_ordered_letterspacing']) && $eltd_options['list_ordered_letterspacing'] !== '') {
    $list_ordered_styles[] = 'letter-spacing: '.$eltd_options['list_ordered_letterspacing'].'px';
}

if(isset($eltd_options['list_ordered_fontweight']) && $eltd_options['list_ordered_fontweight'] !== '') {
    $list_ordered_styles[] = 'font-weight: '.$eltd_options['list_ordered_fontweight'];
}

if(isset($eltd_options['list_ordered_fontstyle']) && $eltd_options['list_ordered_fontstyle'] !== '') {
    $list_ordered_styles[] = 'font-style: '.$eltd_options['list_ordered_fontstyle'];
}

if(isset($eltd_options['list_ordered_texttransform']) && $eltd_options['list_ordered_texttransform'] !== '') {
    $list_ordered_styles[] = 'text-transform: '.$eltd_options['list_ordered_texttransform'];
}

if(isset($eltd_options['list_ordered_color']) && $eltd_options['list_ordered_color'] !== '') {
    $list_ordered_styles[] = 'color: '.$eltd_options['list_ordered_color'];
}

if(isset($eltd_options['list_ordered_margin_bottom']) && $eltd_options['list_ordered_margin_bottom'] !== '') {
    $list_ordered_styles[] = 'margin-bottom: '.$eltd_options['list_ordered_margin_bottom'].'px';
}

?>
<?php if(is_array($list_ordered_styles) && count($list_ordered_styles)) { ?>
    .ordered ol li,
	.eltd_list.number ul>li{
    <?php echo esc_attr(implode(';', $list_ordered_styles)); ?>
    }
<?php }  ?>

<?php if (isset($eltd_options['list_ordered_item_color']) && !empty($eltd_options['list_ordered_item_color'])) { ?>
   .ordered ol>li:before,
   .eltd_list.number ul>li:before{
        color: <?php echo esc_attr($eltd_options['list_ordered_item_color']);?>;
    }
<?php } ?>



<?php if (!empty($eltd_options['input_background_color']) || !empty($eltd_options['input_border_color']) || !empty($eltd_options['input_text_color'])) { ?>
    #respond textarea,
    #respond input[type='text'],
    .comment_holder #respond textarea,
    .comment_holder #respond input[type='text'],
    input.wpcf7-form-control.wpcf7-text,
    input.wpcf7-form-control.wpcf7-number,
    input.wpcf7-form-control.wpcf7-date,
    textarea.wpcf7-form-control.wpcf7-textarea,
    select.wpcf7-form-control.wpcf7-select,
    input.wpcf7-form-control.wpcf7-quiz{
    <?php if (!empty($eltd_options['input_background_color'])) { ?>background-color: <?php echo esc_attr($eltd_options['input_background_color']);  ?>; <?php } ?>
    <?php if (!empty($eltd_options['input_border_color'])) { ?>border: 1px solid <?php echo esc_attr($eltd_options['input_border_color']);  ?>; <?php } ?>
    <?php if (!empty($eltd_options['input_text_color'])) { ?>color:<?php echo esc_attr($eltd_options['input_text_color']);  ?>; <?php } ?>
    }

    <?php if (!empty($eltd_options['input_text_color'])){ ?>
        ::-webkit-input-placeholder
        {
            color:<?php echo esc_attr($eltd_options['input_text_color']);  ?>;
        }
        :-moz-placeholder{
            color:<?php echo esc_attr($eltd_options['input_text_color']);  ?>;
        }
        ::-moz-placeholder{
            color:<?php echo esc_attr($eltd_options['input_text_color']);  ?>;
        }
        :-ms-input-placeholder{
            color:<?php echo esc_attr($eltd_options['input_text_color']);  ?>;
        }
    <?php } ?>
<?php } ?>

<?php

if(!empty($eltd_options['input_focus_text_color']) || !empty($eltd_options['input_focus_background_color']) || !empty($eltd_options['input_focus_border_color'])) { ?>
    #respond textarea:focus,
    #respond input[type='text']:focus,
    .comment_holder #respond textarea:focus,
    .comment_holder #respond input[type='text']:focus,
    input.wpcf7-form-control.wpcf7-text:focus,
    input.wpcf7-form-control.wpcf7-number:focus,
    input.wpcf7-form-control.wpcf7-date:focus,
    textarea.wpcf7-form-control.wpcf7-textarea:focus,
    select.wpcf7-form-control.wpcf7-select:focus,
    input.wpcf7-form-control.wpcf7-quiz:focus{
    <?php if (!empty($eltd_options['input_focus_text_color'])) { ?>color: <?php echo esc_attr($eltd_options['input_focus_text_color']);  ?>; <?php } ?>
    <?php if (!empty($eltd_options['input_focus_background_color'])) { ?>background-color: <?php echo esc_attr($eltd_options['input_focus_background_color']);  ?>; <?php } ?>
    <?php if (!empty($eltd_options['input_focus_border_color'])) { ?>border-color: <?php echo esc_attr($eltd_options['input_focus_border_color']);  ?>; <?php } ?>
    }
<?php }

if(!empty($eltd_options['input_focus_text_color'])) { ?>
    #respond textarea:focus::-webkit-input-placeholder,
    #respond input[type='text']:focus::-webkit-input-placeholder,
    input.wpcf7-form-control.wpcf7-text:focus::-webkit-input-placeholder,
    textarea.wpcf7-form-control.wpcf7-textarea:focus::-webkit-input-placeholder{
    color: <?php echo esc_attr($eltd_options['input_focus_text_color']);  ?>;
    }

    #respond textarea:focus:-moz-placeholder,
    #respond input[type='text']:focus:-moz-placeholder,
    input.wpcf7-form-control.wpcf7-text:focus:-moz-placeholder,
    textarea.wpcf7-form-control.wpcf7-textarea:focus:-moz-placeholder{
    color: <?php echo esc_attr($eltd_options['input_focus_text_color']);  ?>;
    }

    #respond textarea:focus::-moz-placeholder,
    #respond input[type='text']:focus::-moz-placeholder,
    input.wpcf7-form-control.wpcf7-text:focus::-moz-placeholder,
    textarea.wpcf7-form-control.wpcf7-textarea:focus::-moz-placeholder{
    color: <?php echo esc_attr($eltd_options['input_focus_text_color']);  ?>;
    }
<?php } ?>

<?php if (!empty($eltd_options['h1_color']) || !empty($eltd_options['h1_fontsize']) || !empty($eltd_options['h1_lineheight']) || !empty($eltd_options['h1_fontstyle']) || !empty($eltd_options['h1_fontweight']) || $eltd_options['h1_letterspacing'] !== '' || $eltd_options['h1_google_fonts'] != "-1" || !empty($eltd_options['h1_texttransform'])) { ?>
    h1{
    <?php if (!empty($eltd_options['h1_color'])) { ?>   color: <?php echo esc_attr($eltd_options['h1_color']);  ?>; <?php } ?>
    <?php if($eltd_options['h1_google_fonts'] != "-1"){ ?>
        font-family: '<?php echo esc_attr(str_replace('+', ' ', $eltd_options['h1_google_fonts'])); ?>', sans-serif;
    <?php } ?>
    <?php if (!empty($eltd_options['h1_fontsize'])) { ?>font-size: <?php echo esc_attr($eltd_options['h1_fontsize']);  ?>px; <?php } ?>
    <?php if (!empty($eltd_options['h1_lineheight'])) { ?>line-height: <?php echo esc_attr($eltd_options['h1_lineheight']);  ?>px; <?php } ?>
    <?php if (!empty($eltd_options['h1_fontstyle'])) { ?>font-style: <?php echo esc_attr($eltd_options['h1_fontstyle']);  ?>; <?php } ?>
    <?php if (!empty($eltd_options['h1_fontweight'])) { ?>font-weight: <?php echo esc_attr($eltd_options['h1_fontweight']);  ?>; <?php } ?>
    <?php if ($eltd_options['h1_letterspacing'] !== '') { ?>letter-spacing: <?php echo esc_attr($eltd_options['h1_letterspacing']);  ?>px; <?php } ?>
    <?php if (!empty($eltd_options['h1_texttransform'])) { ?>text-transform: <?php echo esc_attr($eltd_options['h1_texttransform']);  ?>; <?php } ?>
    }
<?php } ?>

<?php if (!empty($eltd_options['page_title_fontsize']) || !empty($eltd_options['page_title_lineheight'])) { ?>
    .title.title_size_small h1,
    .title.title_size_small .title_like_separator .vc_text_separator.full .separator_content{
    <?php if (!empty($eltd_options['page_title_fontsize'])) { ?>font-size: <?php echo esc_attr($eltd_options['page_title_fontsize']);  ?>px; <?php } ?>
    <?php if (!empty($eltd_options['page_title_lineheight'])) { ?>line-height: <?php echo esc_attr($eltd_options['page_title_lineheight']);  ?>px; <?php } ?>
    }
<?php } ?>
<?php if (!empty($eltd_options['page_title_medium_fontsize']) || !empty($eltd_options['page_title_medium_lineheight']) || !empty($eltd_options['page_title_medium_fontweight']) || $eltd_options['page_title_medium_google_fonts'] != '-1' || !empty($eltd_options['page_title_medium_fontstyle']) || isset($eltd_options['page_title_medium_letter_spacing']) && $eltd_options['page_title_medium_letter_spacing'] !== '' || !empty($eltd_options['page_title_medium_texttransform']) || !empty($eltd_options['page_title_medium_color'])) { ?>
    .title.title_size_medium h1,
    .title.title_size_medium .title_like_separator .vc_text_separator.full .separator_content{
    <?php if (!empty($eltd_options['page_title_medium_color'])) { ?>color: <?php echo esc_attr($eltd_options['page_title_medium_color']);  ?>; <?php } ?>
    <?php if($eltd_options['page_title_medium_google_fonts'] != "-1"){ ?>
        font-family: '<?php echo esc_attr(str_replace('+', ' ', $eltd_options['page_title_medium_google_fonts'])); ?>', sans-serif;
    <?php } ?>
    <?php if (!empty($eltd_options['page_title_medium_fontstyle'])) { ?>font-style: <?php echo esc_attr($eltd_options['page_title_medium_fontstyle']);  ?>; <?php } ?>
    <?php if (!empty($eltd_options['page_title_medium_fontsize'])) { ?>font-size: <?php echo esc_attr($eltd_options['page_title_medium_fontsize']);  ?>px; <?php } ?>
    <?php if (!empty($eltd_options['page_title_medium_lineheight'])) { ?>line-height: <?php echo esc_attr($eltd_options['page_title_medium_lineheight']);  ?>px; <?php } ?>
    <?php if (!empty($eltd_options['page_title_medium_fontweight'])) { ?>font-weight: <?php echo esc_attr($eltd_options['page_title_medium_fontweight']);  ?>; <?php } ?>
    <?php if ($eltd_options['page_title_medium_letter_spacing'] !== '') { ?>letter-spacing: <?php echo esc_attr($eltd_options['page_title_medium_letter_spacing']);  ?>px; <?php } ?>
    <?php if (!empty($eltd_options['page_title_medium_texttransform'])) { ?>text-transform: <?php echo esc_attr($eltd_options['page_title_medium_texttransform']);  ?>; <?php } ?>
    }
<?php } ?>
<?php if (!empty($eltd_options['page_title_large_fontsize']) || !empty($eltd_options['page_title_large_lineheight']) || !empty($eltd_options['page_title_large_fontweight']) || $eltd_options['page_title_large_google_fonts'] != '-1' || !empty($eltd_options['page_title_large_fontstyle']) || isset($eltd_options['page_title_large_letter_spacing']) && $eltd_options['page_title_large_letter_spacing'] !== '' || !empty($eltd_options['page_title_large_texttransform']) || !empty($eltd_options['page_title_large_color'])) { ?>
    .title.title_size_large h1,
    .title.title_size_large .title_like_separator .vc_text_separator.full .separator_content{
    <?php if (!empty($eltd_options['page_title_large_color'])) { ?>color: <?php echo esc_attr($eltd_options['page_title_large_color']);  ?>; <?php } ?>
    <?php if($eltd_options['page_title_large_google_fonts'] != "-1"){ ?>
        font-family: '<?php echo esc_attr(str_replace('+', ' ', $eltd_options['page_title_large_google_fonts'])); ?>', sans-serif;
    <?php } ?>
    <?php if (!empty($eltd_options['page_title_large_fontstyle'])) { ?>font-style: <?php echo esc_attr($eltd_options['page_title_large_fontstyle']);  ?>; <?php } ?>
    <?php if (!empty($eltd_options['page_title_large_fontsize'])) { ?>font-size: <?php echo esc_attr($eltd_options['page_title_large_fontsize']);  ?>px; <?php } ?>
    <?php if (!empty($eltd_options['page_title_large_lineheight'])) { ?>line-height: <?php echo esc_attr($eltd_options['page_title_large_lineheight']);  ?>px; <?php } ?>
    <?php if (!empty($eltd_options['page_title_large_fontweight'])) { ?>font-weight: <?php echo esc_attr($eltd_options['page_title_large_fontweight']);  ?>; <?php } ?>
    <?php if ($eltd_options['page_title_large_letter_spacing'] !== '') { ?>letter-spacing: <?php echo esc_attr($eltd_options['page_title_large_letter_spacing']);  ?>px; <?php } ?>
    <?php if (!empty($eltd_options['page_title_large_texttransform'])) { ?>text-transform: <?php echo esc_attr($eltd_options['page_title_large_texttransform']);  ?>; <?php } ?>
    }
<?php } ?>


<?php if (!empty($eltd_options['h2_color']) || !empty($eltd_options['h2_fontsize']) || !empty($eltd_options['h2_lineheight']) || !empty($eltd_options['h2_fontstyle']) || !empty($eltd_options['h2_fontweight']) || $eltd_options['h2_letterspacing'] !== '' || $eltd_options['h2_google_fonts'] != "-1" || !empty($eltd_options['h2_texttransform'])) { ?>
    h2{
    <?php if($eltd_options['h2_google_fonts'] != "-1"){ ?>
        font-family: '<?php echo esc_attr(str_replace('+', ' ', $eltd_options['h2_google_fonts'])); ?>', sans-serif;
    <?php } ?>
    <?php if (!empty($eltd_options['h2_fontsize'])) { ?>font-size: <?php echo esc_attr($eltd_options['h2_fontsize']);  ?>px; <?php } ?>
    <?php if (!empty($eltd_options['h2_lineheight'])) { ?>line-height: <?php echo esc_attr($eltd_options['h2_lineheight']);  ?>px; <?php } ?>
    <?php if (!empty($eltd_options['h2_fontstyle'])) { ?>font-style: <?php echo esc_attr($eltd_options['h2_fontstyle']);  ?>; <?php } ?>
    <?php if (!empty($eltd_options['h2_fontweight'])) { ?>font-weight: <?php echo esc_attr($eltd_options['h2_fontweight']);  ?>; <?php } ?>
    <?php if ($eltd_options['h2_letterspacing'] !== '') { ?>letter-spacing: <?php echo esc_attr($eltd_options['h2_letterspacing']);  ?>px; <?php } ?>
    <?php if (!empty($eltd_options['h2_texttransform'])) { ?>text-transform: <?php echo esc_attr($eltd_options['h2_texttransform']);  ?>; <?php } ?>
    }
    h2, h2 a{
    <?php if (!empty($eltd_options['h2_color'])) { ?>color: <?php echo esc_attr($eltd_options['h2_color']);  ?>; <?php } ?>
    }
<?php } ?>
<?php if (!empty($eltd_options['h3_color']) || !empty($eltd_options['h3_fontsize']) || !empty($eltd_options['h3_lineheight']) || !empty($eltd_options['h3_fontstyle']) || !empty($eltd_options['h3_fontweight']) || $eltd_options['h3_letterspacing'] !== '' || $eltd_options['h3_google_fonts'] != "-1" || !empty($eltd_options['h3_texttransform'])) { ?>
    h3{
    <?php if($eltd_options['h3_google_fonts'] != "-1"){ ?>
        font-family: '<?php echo esc_attr(str_replace('+', ' ', $eltd_options['h3_google_fonts'])); ?>', sans-serif;
    <?php } ?>
    <?php if (!empty($eltd_options['h3_fontsize'])) { ?>font-size: <?php echo esc_attr($eltd_options['h3_fontsize']);  ?>px; <?php } ?>
    <?php if (!empty($eltd_options['h3_lineheight'])) { ?>line-height: <?php echo esc_attr($eltd_options['h3_lineheight']);  ?>px; <?php } ?>
    <?php if (!empty($eltd_options['h3_fontstyle'])) { ?>font-style: <?php echo esc_attr($eltd_options['h3_fontstyle']);?>; <?php } ?>
    <?php if (!empty($eltd_options['h3_fontweight'])) { ?>font-weight: <?php echo esc_attr($eltd_options['h3_fontweight']);  ?>; <?php } ?>
    <?php if ($eltd_options['h3_letterspacing'] !== '') { ?>letter-spacing: <?php echo esc_attr($eltd_options['h3_letterspacing']);  ?>px; <?php } ?>
    <?php if (!empty($eltd_options['h3_texttransform'])) { ?>text-transform: <?php echo esc_attr($eltd_options['h3_texttransform']);  ?>; <?php } ?>
    }
    h3, h3 a{
    <?php if (!empty($eltd_options['h3_color'])) { ?>color: <?php echo esc_attr($eltd_options['h3_color']);  ?>; <?php } ?>
    }
<?php } ?>
<?php if (!empty($eltd_options['h4_color']) || !empty($eltd_options['h4_fontsize']) || !empty($eltd_options['h4_lineheight']) || !empty($eltd_options['h4_fontstyle']) || !empty($eltd_options['h4_fontweight']) || $eltd_options['h4_letterspacing'] !== '' || $eltd_options['h4_google_fonts'] != "-1" || !empty($eltd_options['h4_texttransform'])) { ?>
    h4{
    <?php if($eltd_options['h4_google_fonts'] != "-1"){ ?>
        font-family: '<?php echo esc_attr(str_replace('+', ' ', $eltd_options['h4_google_fonts'])); ?>', sans-serif;
    <?php } ?>
    <?php if (!empty($eltd_options['h4_fontsize'])) { ?>font-size: <?php echo esc_attr($eltd_options['h4_fontsize']);  ?>px; <?php } ?>
    <?php if (!empty($eltd_options['h4_lineheight'])) { ?>line-height: <?php echo esc_attr($eltd_options['h4_lineheight']);  ?>px; <?php } ?>
    <?php if (!empty($eltd_options['h4_fontstyle'])) { ?>font-style: <?php echo esc_attr($eltd_options['h4_fontstyle']);  ?>; <?php } ?>
    <?php if (!empty($eltd_options['h4_fontweight'])) { ?>font-weight: <?php echo esc_attr($eltd_options['h4_fontweight']);  ?>; <?php } ?>
    <?php if ($eltd_options['h4_letterspacing'] !== '') { ?>letter-spacing: <?php echo esc_attr($eltd_options['h4_letterspacing']);  ?>px; <?php } ?>
    <?php if (!empty($eltd_options['h4_texttransform'])) { ?>text-transform: <?php echo esc_attr($eltd_options['h4_texttransform']);  ?>; <?php } ?>
    }
    h4, h4 a{
    <?php if (!empty($eltd_options['h4_color'])) { ?>color: <?php echo esc_attr($eltd_options['h4_color']);  ?>; <?php } ?>
    }
<?php } ?>
<?php if (!empty($eltd_options['h5_color']) || !empty($eltd_options['h5_fontsize']) || !empty($eltd_options['h5_lineheight']) || !empty($eltd_options['h5_fontstyle']) || !empty($eltd_options['h5_fontweight']) || $eltd_options['h5_letterspacing'] !== '' || $eltd_options['h5_google_fonts'] != "-1" || !empty($eltd_options['h5_texttransform'])) { ?>
    h5{
    <?php if($eltd_options['h5_google_fonts'] != "-1"){ ?>
        font-family: '<?php echo esc_attr(str_replace('+', ' ', $eltd_options['h5_google_fonts'])); ?>', sans-serif;
    <?php } ?>
    <?php if (!empty($eltd_options['h5_fontsize'])) { ?>font-size: <?php echo esc_attr($eltd_options['h5_fontsize']);  ?>px; <?php } ?>
    <?php if (!empty($eltd_options['h5_lineheight'])) { ?>line-height: <?php echo esc_attr($eltd_options['h5_lineheight']);  ?>px; <?php } ?>
    <?php if (!empty($eltd_options['h5_fontstyle'])) { ?>font-style: <?php echo esc_attr($eltd_options['h5_fontstyle']);  ?>; <?php } ?>
    <?php if (!empty($eltd_options['h5_fontweight'])) { ?>font-weight: <?php echo esc_attr($eltd_options['h5_fontweight']);  ?>; <?php } ?>
    <?php if ($eltd_options['h5_letterspacing'] !== '') { ?>letter-spacing: <?php echo esc_attr($eltd_options['h5_letterspacing']);  ?>px; <?php } ?>
    <?php if (!empty($eltd_options['h5_texttransform'])) { ?>text-transform: <?php echo esc_attr($eltd_options['h5_texttransform']);  ?>; <?php } ?>
    }
    h5, h5 a{
    <?php if (!empty($eltd_options['h5_color'])) { ?>color: <?php echo esc_attr($eltd_options['h5_color']);  ?>; <?php } ?>
    }
<?php } ?>
<?php if (!empty($eltd_options['h6_color']) || !empty($eltd_options['h6_fontsize']) || !empty($eltd_options['h6_lineheight']) || !empty($eltd_options['h6_fontstyle']) || !empty($eltd_options['h6_fontweight']) || $eltd_options['h6_letterspacing'] !== '' || $eltd_options['h6_google_fonts'] != "-1" || !empty($eltd_options['h6_texttransform'])) { ?>
    h6{
    <?php if($eltd_options['h6_google_fonts'] != "-1"){ ?>
        font-family: '<?php echo esc_attr(str_replace('+', ' ', $eltd_options['h6_google_fonts'])); ?>', sans-serif;
    <?php } ?>
    <?php if (!empty($eltd_options['h6_fontsize'])) { ?>font-size: <?php echo esc_attr($eltd_options['h6_fontsize']);  ?>px; <?php } ?>
    <?php if (!empty($eltd_options['h6_lineheight'])) { ?>line-height: <?php echo esc_attr($eltd_options['h6_lineheight']);  ?>px; <?php } ?>
    <?php if (!empty($eltd_options['h6_fontstyle'])) { ?>font-style: <?php echo esc_attr($eltd_options['h6_fontstyle']);  ?>;  <?php } ?>
    <?php if (!empty($eltd_options['h6_fontweight'])) { ?>font-weight: <?php echo esc_attr($eltd_options['h6_fontweight']);  ?>; <?php } ?>
    <?php if ($eltd_options['h6_letterspacing'] !== '') { ?>letter-spacing: <?php echo esc_attr($eltd_options['h6_letterspacing']);  ?>px; <?php } ?>
    <?php if (!empty($eltd_options['h6_texttransform'])) { ?>text-transform: <?php echo esc_attr($eltd_options['h6_texttransform']);  ?>; <?php } ?>
    }
    h6, h6 a{
    <?php if (!empty($eltd_options['h6_color'])) { ?>color: <?php echo esc_attr($eltd_options['h6_color']);  ?>; <?php } ?>
    }
<?php } ?>


<?php
$text_style = array();

if(isset($eltd_options['text_google_fonts']) && $eltd_options['text_google_fonts'] !== '-1') {
    $text_style[] = 'font-family: '.str_replace('+', ' ', $eltd_options['text_google_fonts']).', sans-serif';
}

if(isset($eltd_options['text_fontsize']) && $eltd_options['text_fontsize'] !== '') {
    $text_style[] = 'font-size: '.$eltd_options['text_fontsize'].'px';
}

if(isset($eltd_options['text_lineheight']) && $eltd_options['text_lineheight'] !== '') {
    $text_style[] = 'line-height: '.$eltd_options['text_lineheight'].'px';
}

if(isset($eltd_options['text_letter_spacing']) && $eltd_options['text_letter_spacing'] !== '') {
    $text_style[] = 'letter-spacing: '.$eltd_options['text_letter_spacing'].'px';
}

if(isset($eltd_options['text_fontweight']) && $eltd_options['text_fontweight'] !== '') {
    $text_style[] = 'font-weight: '.$eltd_options['text_fontweight'];
}

if(isset($eltd_options['text_fontstyle']) && $eltd_options['text_fontstyle'] !== '') {
    $text_style[] = 'font-style: '.$eltd_options['text_fontstyle'];
}

if(isset($eltd_options['text_text_transform']) && $eltd_options['text_text_transform'] !== '') {
    $text_style[] = 'text-transform: '.$eltd_options['text_text_transform'];
}

if(isset($eltd_options['text_color']) && $eltd_options['text_color'] !== '') {
    $text_style[] = 'color: '.$eltd_options['text_color'];
}

if(isset($eltd_options['text_margin']) && $eltd_options['text_margin'] !== '') {
    $text_style[] = 'margin-top: '.$eltd_options['text_margin'].'px';
    $text_style[] = 'margin-bottom: '.$eltd_options['text_margin'].'px';
}

if(is_array($text_style) && count($text_style)) { ?>
    p{
    <?php echo esc_attr(implode(';', $text_style)); ?>
    }
<?php }  ?>

<?php if(function_exists('is_woocommerce') && isset($eltd_options['text_color']) && $eltd_options['text_color'] !== ''){ ?>
    .woocommerce .select2-container.orderby .select2-choice,
    .woocommerce-page .select2-container.orderby .select2-choice,
    .woocommerce .select2-dropdown-open.select2-drop-above.orderby .select2-choice,
    .woocommerce .select2-dropdown-open.select2-drop-above.orderby .select2-choices,
    .woocommerce-page .select2-dropdown-open.select2-drop-above.orderby .select2-choice,
    .woocommerce-page .select2-dropdown-open.select2-drop-above.orderby .select2-choices,
    .woocommerce div.cart-collaterals .select2-container .select2-choice,
    .woocommerce-page div.cart-collaterals .select2-container .select2-choice,
    .woocommerce .chosen-container.chosen-container-single .chosen-single,
    .woocommerce-page .chosen-container.chosen-container-single .chosen-single,
    .woocommerce-checkout .chosen-container.chosen-container-single .chosen-single,
    .woocommerce select#pa_color,    
    .woocommerce-cart table.cart tbody tr td a,
    .woocommerce-checkout .checkout table tbody tr td a,
    .woocommerce table.cart tbody tr span.amount,
    .woocommerce-page table.cart tbody span.amount,
    .woocommerce .content input[type="text"]:not(.eltd_search_field):not(.qty),
    .woocommerce-page .content input[type="text"]:not(.eltd_search_field):not(.qty),
    .woocommerce .content textarea,
    .woocommerce-page .content textarea,
    .woocommerce .content input[type="password"],
    .woocommerce-page .content input[type="password"],
    .woocommerce form.checkout table.shop_table span.amount,
    .woocommerce-checkout table.shop_table td span.amount,
    .woocommerce-account table.shop_table td span.amount,
    .woocommerce .widget #searchform input[type='text'],
    aside.sidebar .widget_product_search form#searchform input#s,
    .woocommerce .widget #searchsubmit,
    aside.sidebar .widget_product_search form#searchform input#searchsubmit,
    .select2-drop,
    .select2-container-multi .select2-choices .select2-search-choice{
    color: <?php echo esc_attr($eltd_options['text_color']); ?>;
    }
<?php } ?>


<?php if (!empty($eltd_options['link_color']) || !empty($eltd_options['link_fontstyle']) || !empty($eltd_options['link_fontweight']) || !empty($eltd_options['link_fontdecoration'])) { ?>
    a, p a{
    <?php if (!empty($eltd_options['link_color'])) { ?>color: <?php echo esc_attr($eltd_options['link_color']);  ?>;<?php } ?>
    <?php if (!empty($eltd_options['link_fontstyle'])) { ?>font-style: <?php echo esc_attr($eltd_options['link_fontstyle']);  ?>;<?php } ?>
    <?php if (!empty($eltd_options['link_fontweight'])) { ?>font-weight: <?php echo esc_attr($eltd_options['link_fontweight']);  ?>;<?php } ?>
    <?php if (!empty($eltd_options['link_fontdecoration'])) { ?>text-decoration: <?php echo esc_attr($eltd_options['link_fontdecoration']);  ?>;<?php } ?>
    }
<?php } ?>

<?php if (!empty($eltd_options['link_hovercolor']) || !empty($eltd_options['link_hover_fontdecoration'])) { ?>
    a:hover,
    p a:hover{
    <?php if (!empty($eltd_options['link_hovercolor'])) { ?>color: <?php echo esc_attr($eltd_options['link_hovercolor']);  ?>;<?php } ?>
    <?php if (!empty($eltd_options['link_hover_fontdecoration'])) { ?>text-decoration: <?php echo esc_attr($eltd_options['link_hover_fontdecoration']);  ?>;<?php } ?>
    }
<?php } ?>


<?php

if (isset($eltd_options['header_bottom_appearance']) && $eltd_options['header_bottom_appearance'] == "stick_with_left_right_menu"){
	if (isset($eltd_options['widgets_position']) && $eltd_options['widgets_position'] == 'yes'){ ?>
	@media only screen and (min-width: 1000px){
		header.stick_with_left_right_menu .main_menu.right_side .side_menu_button_wrapper.right{
			float: right;
		}
		header.stick_with_left_right_menu .main_menu.left_side .side_menu_button_wrapper.right{
			float: left;
		}
	}
	<?php }
}
?>
<?php
$blockquote_title_style = array();

if(isset($eltd_options['blockquote_font_family']) && $eltd_options['blockquote_font_family'] !== '-1') {
    $blockquote_title_style[] = 'font-family: '.str_replace('+', ' ', $eltd_options['blockquote_font_family']).', sans-serif';
}

if(isset($eltd_options['blockquote_font_size']) && $eltd_options['blockquote_font_size'] !== '') {
    $blockquote_title_style[] = 'font-size: '.$eltd_options['blockquote_font_size'].'px';
}

if(isset($eltd_options['blockquote_line_height']) && $eltd_options['blockquote_line_height'] !== '') {
    $blockquote_title_style[] = 'line-height: '.$eltd_options['blockquote_line_height'].'px';
}

if(isset($eltd_options['blockquote_letter_spacing']) && $eltd_options['blockquote_letter_spacing'] !== '') {
    $blockquote_title_style[] = 'letter-spacing: '.$eltd_options['blockquote_letter_spacing'].'px';
}

if(isset($eltd_options['blockquote_font_weight']) && $eltd_options['blockquote_font_weight'] !== '') {
    $blockquote_title_style[] = 'font-weight: '.$eltd_options['blockquote_font_weight'];
}

if(isset($eltd_options['blockquote_font_style']) && $eltd_options['blockquote_font_style'] !== '') {
    $blockquote_title_style[] = 'font-style: '.$eltd_options['blockquote_font_style'];
}

if(isset($eltd_options['blockquote_text_transform']) && $eltd_options['blockquote_text_transform'] !== '') {
    $blockquote_title_style[] = 'text-transform: '.$eltd_options['blockquote_text_transform'];
}

if(isset($eltd_options['blockquote_color']) && $eltd_options['blockquote_color'] !== '') {
    $blockquote_title_style[] = 'color: '.$eltd_options['blockquote_color'];
}

if(is_array($blockquote_title_style) && count($blockquote_title_style)) { ?>
       blockquote .blockquote_text{
    <?php echo esc_attr(implode(';', $blockquote_title_style)); ?>
    }
<?php } ?>

<?php if (!empty($eltd_options['blockquote_background_color']) || !empty($eltd_options['blockquote_border_color'])) { ?>
    blockquote{
    <?php if (!empty($eltd_options['blockquote_border_color'])) {?> border-color: <?php echo esc_attr($eltd_options['blockquote_border_color']);  ?>; <?php } ?>
    <?php if (!empty($eltd_options['blockquote_background_color'])) {?> background-color: <?php echo esc_attr($eltd_options['blockquote_background_color']);  ?>; <?php } ?>
    }
<?php } ?>

<?php if(!empty($eltd_options['blockquote_quote_icon_color'])) { ?>
    blockquote.with_quote_icon span.icon_quotations_holder{
    color: <?php echo esc_attr($eltd_options['blockquote_quote_icon_color']); ?>;
    }
<?php } ?>

<?php if (!empty($eltd_options['page_title_color']) || !empty($eltd_options['page_title_fontsize']) || !empty($eltd_options['page_title_lineheight']) || !empty($eltd_options['page_title_fontstyle']) || !empty($eltd_options['page_title_fontweight']) || !empty($eltd_options['page_title_texttransform']) || $eltd_options['page_title_google_fonts'] != "-1" || isset($eltd_options['page_title_letter_spacing']) && $eltd_options['page_title_letter_spacing'] !== '') { ?>
    .title.title_size_small h1, .title.title_size_small h1.title_like_separator .vc_text_separator.full .separator_content{
    <?php if (!empty($eltd_options['page_title_color'])) { ?>color: <?php echo esc_attr($eltd_options['page_title_color']);  ?>; <?php } ?>
    <?php if($eltd_options['page_title_google_fonts'] != "-1"){ ?>
        font-family: '<?php echo esc_attr(str_replace('+', ' ', $eltd_options['page_title_google_fonts'])); ?>', sans-serif;
    <?php } ?>
    <?php if (!empty($eltd_options['page_title_fontsize'])) { ?>font-size: <?php echo esc_attr($eltd_options['page_title_fontsize']);  ?>px; <?php } ?>
    <?php if (!empty($eltd_options['page_title_lineheight'])) { ?>line-height: <?php echo esc_attr($eltd_options['page_title_lineheight']);  ?>px; <?php } ?>
    <?php if (!empty($eltd_options['page_title_fontstyle'])) { ?>font-style: <?php echo esc_attr($eltd_options['page_title_fontstyle']);  ?>; <?php } ?>
    <?php if (!empty($eltd_options['page_title_fontweight'])) { ?>font-weight: <?php echo esc_attr($eltd_options['page_title_fontweight']);  ?>; <?php } ?>
    <?php if ($eltd_options['page_title_letter_spacing'] !== '') { ?>letter-spacing: <?php echo esc_attr($eltd_options['page_title_letter_spacing']);  ?>px; <?php } ?>
    <?php if (!empty($eltd_options['page_title_texttransform'])) { ?>text-transform: <?php echo esc_attr($eltd_options['page_title_texttransform']);  ?>; <?php } ?>
    }
<?php } ?>

<?php if (!empty($eltd_options['page_subtitle_color']) || !empty($eltd_options['page_subtitle_fontsize']) || $eltd_options['page_subtitle_google_fonts'] != "-1" || !empty($eltd_options['page_subtitle_lineheight']) || !empty($eltd_options['page_subtitle_fontstyle']) || !empty($eltd_options['page_subtitle_fontweight']) || !empty($eltd_options['page_subtitle_texttransform']) || $eltd_options['page_subtitle_letter_spacing'] !== '') { ?>
    .subtitle, .title_holder .title_subtitle_holder .subtitle.subtitle_like_separator .separator_content{
    <?php if (!empty($eltd_options['page_subtitle_color'])) { ?>color: <?php echo esc_attr($eltd_options['page_subtitle_color']);  ?>; <?php } ?>
    <?php if($eltd_options['page_subtitle_google_fonts'] != "-1"){ ?>
        font-family: '<?php echo esc_attr(str_replace('+', ' ', $eltd_options['page_subtitle_google_fonts'])); ?>', sans-serif;
    <?php } ?>
    <?php if (!empty($eltd_options['page_subtitle_fontsize'])) { ?>font-size: <?php echo esc_attr($eltd_options['page_subtitle_fontsize']);  ?>px; <?php } ?>
    <?php if (!empty($eltd_options['page_subtitle_lineheight'])) { ?>line-height: <?php echo esc_attr($eltd_options['page_subtitle_lineheight']);  ?>px; <?php } ?>
    <?php if (!empty($eltd_options['page_subtitle_fontstyle'])) { ?>font-style: <?php echo esc_attr($eltd_options['page_subtitle_fontstyle']);  ?>; <?php } ?>
    <?php if (!empty($eltd_options['page_subtitle_fontweight'])) { ?>font-weight: <?php echo esc_attr($eltd_options['page_subtitle_fontweight']);  ?>; <?php } ?>
    <?php if (!empty($eltd_options['page_subtitle_texttransform'])) { ?>text-transform: <?php echo esc_attr($eltd_options['page_subtitle_texttransform']);  ?>; <?php } ?>
    <?php if ($eltd_options['page_subtitle_letter_spacing'] !== '') { ?> letter-spacing: <?php echo esc_attr($eltd_options['page_subtitle_letter_spacing']); ?>px; <?php } ?>
    }
<?php } ?>


<?php if (!empty($eltd_options['page_subtitle_small_color']) || !empty($eltd_options['page_subtitle_small_fontsize']) || $eltd_options['page_subtitle_small_google_fonts'] != "-1" || !empty($eltd_options['page_subtitle_small_lineheight']) || !empty($eltd_options['page_subtitle_small_fontstyle']) || !empty($eltd_options['page_subtitle_small_fontweight']) || !empty($eltd_options['page_subtitle_small_texttransform']) || $eltd_options['page_subtitle_small_letter_spacing'] !== '') { ?>
    .subtitle.small_subtitle, 
	.title_holder .title_subtitle_holder .subtitle.small_subtitle.subtitle_like_separator .separator_content{
    <?php if (!empty($eltd_options['page_subtitle_small_color'])) { ?>color: <?php echo esc_attr($eltd_options['page_subtitle_small_color']);  ?>; <?php } ?>
    <?php if($eltd_options['page_subtitle_small_google_fonts'] != "-1"){ ?>
        font-family: '<?php echo esc_attr(str_replace('+', ' ', $eltd_options['page_subtitle_small_google_fonts'])); ?>', sans-serif;
    <?php } ?>
    <?php if (!empty($eltd_options['page_subtitle_small_fontsize'])) { ?>font-size: <?php echo esc_attr($eltd_options['page_subtitle_small_fontsize']);  ?>px; <?php } ?>
    <?php if (!empty($eltd_options['page_subtitle_small_lineheight'])) { ?>line-height: <?php echo esc_attr($eltd_options['page_subtitle_small_lineheight']);  ?>px; <?php } ?>
    <?php if (!empty($eltd_options['page_subtitle_small_fontstyle'])) { ?>font-style: <?php echo esc_attr($eltd_options['page_subtitle_small_fontstyle']);  ?>; <?php } ?>
    <?php if (!empty($eltd_options['page_subtitle_small_fontweight'])) { ?>font-weight: <?php echo esc_attr($eltd_options['page_subtitle_small_fontweight']);  ?>; <?php } ?>
    <?php if (!empty($eltd_options['page_subtitle_small_texttransform'])) { ?>text-transform: <?php echo esc_attr($eltd_options['page_subtitle_small_texttransform']);  ?>; <?php } ?>
    <?php if ($eltd_options['page_subtitle_small_letter_spacing'] !== '') { ?> letter-spacing: <?php echo esc_attr($eltd_options['page_subtitle_small_letter_spacing']); ?>px; <?php } ?>
    }
<?php } ?>

<?php if (!empty($eltd_options['page_subtitle_large_color']) || !empty($eltd_options['page_subtitle_large_fontsize']) || $eltd_options['page_subtitle_large_google_fonts'] != "-1" || !empty($eltd_options['page_subtitle_large_lineheight']) || !empty($eltd_options['page_subtitle_large_fontstyle']) || !empty($eltd_options['page_subtitle_large_fontweight']) || !empty($eltd_options['page_subtitle_large_texttransform']) || $eltd_options['page_subtitle_large_letter_spacing'] !== '') { ?>
    .subtitle.large_subtitle, 
	.title_holder .title_subtitle_holder .subtitle.large_subtitle.subtitle_like_separator .separator_content{
    <?php if (!empty($eltd_options['page_subtitle_large_color'])) { ?>color: <?php echo esc_attr($eltd_options['page_subtitle_large_color']);  ?>; <?php } ?>
    <?php if($eltd_options['page_subtitle_large_google_fonts'] != "-1"){ ?>
        font-family: '<?php echo esc_attr(str_replace('+', ' ', $eltd_options['page_subtitle_large_google_fonts'])); ?>', sans-serif;
    <?php } ?>
    <?php if (!empty($eltd_options['page_subtitle_large_fontsize'])) { ?>font-size: <?php echo esc_attr($eltd_options['page_subtitle_large_fontsize']);  ?>px; <?php } ?>
    <?php if (!empty($eltd_options['page_subtitle_large_lineheight'])) { ?>line-height: <?php echo esc_attr($eltd_options['page_subtitle_large_lineheight']);  ?>px; <?php } ?>
    <?php if (!empty($eltd_options['page_subtitle_large_fontstyle'])) { ?>font-style: <?php echo esc_attr($eltd_options['page_subtitle_large_fontstyle']);  ?>; <?php } ?>
    <?php if (!empty($eltd_options['page_subtitle_large_fontweight'])) { ?>font-weight: <?php echo esc_attr($eltd_options['page_subtitle_large_fontweight']);  ?>; <?php } ?>
    <?php if (!empty($eltd_options['page_subtitle_large_texttransform'])) { ?>text-transform: <?php echo esc_attr($eltd_options['page_subtitle_large_texttransform']);  ?>; <?php } ?>
    <?php if ($eltd_options['page_subtitle_large_letter_spacing'] !== '') { ?> letter-spacing: <?php echo esc_attr($eltd_options['page_subtitle_large_letter_spacing']); ?>px; <?php } ?>
    }
<?php } ?>

<?php if (!empty($eltd_options['page_breadcrumb_color']) || !empty($eltd_options['page_breadcrumb_fontsize']) || $eltd_options['page_breadcrumb_google_fonts'] != "-1" || !empty($eltd_options['page_breadcrumb_lineheight']) || !empty($eltd_options['page_breadcrumb_fontstyle']) || !empty($eltd_options['page_breadcrumb_fontweight']) || !empty($eltd_options['page_breadcrumb_texttransform']) || $eltd_options['page_breadcrumb_letter_spacing'] !== '') { ?>
    .breadcrumb a, .breadcrumb span{
    <?php if (!empty($eltd_options['page_breadcrumb_color'])) { ?>color: <?php echo esc_attr($eltd_options['page_breadcrumb_color']);  ?>; <?php } ?>
    <?php if($eltd_options['page_breadcrumb_google_fonts'] !== "-1"){ ?>
        font-family: '<?php echo esc_attr(str_replace('+', ' ', $eltd_options['page_breadcrumb_google_fonts'])); ?>', sans-serif;
    <?php } ?>
    <?php if (!empty($eltd_options['page_breadcrumb_fontsize'])) { ?>font-size: <?php echo esc_attr($eltd_options['page_breadcrumb_fontsize']);  ?>px; <?php } ?>
    <?php if (!empty($eltd_options['page_breadcrumb_lineheight'])) { ?>line-height: <?php echo esc_attr($eltd_options['page_breadcrumb_lineheight']);  ?>px; <?php } ?>
    <?php if (!empty($eltd_options['page_breadcrumb_fontstyle'])) { ?>font-style: <?php echo esc_attr($eltd_options['page_breadcrumb_fontstyle']);  ?>; <?php } ?>
    <?php if (!empty($eltd_options['page_breadcrumb_fontweight'])) { ?>font-weight: <?php echo esc_attr($eltd_options['page_breadcrumb_fontweight']);  ?>; <?php } ?>
    <?php if (!empty($eltd_options['page_breadcrumb_texttransform'])) { ?>text-transform: <?php echo esc_attr($eltd_options['page_breadcrumb_texttransform']);  ?>; <?php } ?>
    <?php if ($eltd_options['page_breadcrumb_letter_spacing'] !== '') { ?> letter-spacing: <?php echo esc_attr($eltd_options['page_breadcrumb_letter_spacing']); ?>px; <?php } ?>
    }
<?php } ?>

<?php if (!empty($eltd_options['page_breadcrumb_color'])){ ?>
    .breadcrumb a:hover, .breadcrumb span.current{
    color: <?php echo esc_attr($eltd_options['page_breadcrumb_hovercolor']);  ?>;
    }
<?php } ?>

<?php
/******** BLOG SINGLE: POST INFO AUTHOR STYLES  ********/

$blog_single_post_info_author_box_style = array();

if(isset($eltd_options['blog_single_post_author_info_border_color']) && $eltd_options['blog_single_post_author_info_border_color'] !== '') {
    $blog_single_post_info_author_box_style[] = 'border-color: '.$eltd_options['blog_single_post_author_info_border_color'];
}

if(isset($eltd_options['blog_single_post_author_info_back_color']) && $eltd_options['blog_single_post_author_info_back_color'] !== '') {
    $blog_single_post_info_author_box_style[] = 'background-color: '.$eltd_options['blog_single_post_author_info_back_color'];
}

if(is_array($blog_single_post_info_author_box_style) && count($blog_single_post_info_author_box_style)) { ?>
    .blog_holder.blog_single .author_description{
    <?php echo esc_attr(implode(';', $blog_single_post_info_author_box_style)); ?>
    }
<?php } ?>

<?php
/**************** BLOG SINGLE: POST INFO AUTHOR STYLES: Title Style ****************/
$blog_single_post_info_author_title_style = array();

if(isset($eltd_options['blog_single_post_author_info_title_font_family']) && $eltd_options['blog_single_post_author_info_title_font_family'] !== '-1') {
    $blog_single_post_info_author_title_style[] = 'font-family: '.str_replace('+', ' ', $eltd_options['blog_single_post_author_info_title_font_family']).', sans-serif';
}

if(isset($eltd_options['blog_single_post_author_info_title_fontsize']) && $eltd_options['blog_single_post_author_info_title_fontsize'] !== '') {
    $blog_single_post_info_author_title_style[] = 'font-size: '.$eltd_options['blog_single_post_author_info_title_fontsize'].'px';
}

if(isset($eltd_options['blog_single_post_author_info_title_lineheight']) && $eltd_options['blog_single_post_author_info_title_lineheight'] !== '') {
    $blog_single_post_info_author_title_style[] = 'line-height: '.$eltd_options['blog_single_post_author_info_title_lineheight'].'px';
}

if(isset($eltd_options['blog_single_post_author_info_title_letterspacing']) && $eltd_options['blog_single_post_author_info_title_letterspacing'] !== '') {
    $blog_single_post_info_author_title_style[] = 'letter-spacing: '.$eltd_options['blog_single_post_author_info_title_letterspacing'].'px';
}

if(isset($eltd_options['blog_single_post_author_info_title_fontweight']) && $eltd_options['blog_single_post_author_info_title_fontweight'] !== '') {
    $blog_single_post_info_author_title_style[] = 'font-weight: '.$eltd_options['blog_single_post_author_info_title_fontweight'];
}

if(isset($eltd_options['blog_single_post_author_info_title_fontstyle']) && $eltd_options['blog_single_post_author_info_title_fontstyle'] !== '') {
    $blog_single_post_info_author_title_style[] = 'font-style: '.$eltd_options['blog_single_post_author_info_title_fontstyle'];
}

if(isset($eltd_options['blog_single_post_author_info_title_texttransform']) && $eltd_options['blog_single_post_author_info_title_texttransform'] !== '') {
    $blog_single_post_info_author_title_style[] = 'text-transform: '.$eltd_options['blog_single_post_author_info_title_texttransform'];
}

if(isset($eltd_options['blog_single_post_author_info_title_color']) && $eltd_options['blog_single_post_author_info_title_color'] !== ''){
     $blog_single_post_info_author_title_style[] = 'color: '.$eltd_options['blog_single_post_author_info_title_color'];
}

if(isset($eltd_options['blog_single_post_author_info_title_margin_bottom']) && $eltd_options['blog_single_post_author_info_title_margin_bottom'] !== '') {
    $blog_single_post_info_author_title_style[] = 'margin-bottom: '.$eltd_options['blog_single_post_author_info_title_margin_bottom'].'px';
}

if(is_array($blog_single_post_info_author_title_style) && count($blog_single_post_info_author_title_style)) { ?>
    .blog_holder.blog_single .author_description .author_text_holder .author_name{
    <?php echo esc_attr(implode(';', $blog_single_post_info_author_title_style)); ?>
    }
<?php } ?>

<?php
/**************** BLOG SINGLE: POST INFO AUTHOR STYLES: Text Style ****************/
$blog_single_post_info_author_text_style = array();

if(isset($eltd_options['blog_single_post_author_info_text_font_family']) && $eltd_options['blog_single_post_author_info_text_font_family'] !== '-1') {
    $blog_single_post_info_author_text_style[] = 'font-family: '.str_replace('+', ' ', $eltd_options['blog_single_post_author_info_text_font_family']).', sans-serif';
}

if(isset($eltd_options['blog_single_post_author_info_text_fontsize']) && $eltd_options['blog_single_post_author_info_text_fontsize'] !== '') {
    $blog_single_post_info_author_text_style[] = 'font-size: '.$eltd_options['blog_single_post_author_info_text_fontsize'].'px';
}

if(isset($eltd_options['blog_single_post_author_info_text_lineheight']) && $eltd_options['blog_single_post_author_info_text_lineheight'] !== '') {
    $blog_single_post_info_author_text_style[] = 'line-height: '.$eltd_options['blog_single_post_author_info_text_lineheight'].'px';
}

if(isset($eltd_options['blog_single_post_author_info_text_letterspacing']) && $eltd_options['blog_single_post_author_info_text_letterspacing'] !== '') {
    $blog_single_post_info_author_text_style[] = 'letter-spacing: '.$eltd_options['blog_single_post_author_info_text_letterspacing'].'px';
}

if(isset($eltd_options['blog_single_post_author_info_text_fontweight']) && $eltd_options['blog_single_post_author_info_text_fontweight'] !== '') {
    $blog_single_post_info_author_text_style[] = 'font-weight: '.$eltd_options['blog_single_post_author_info_text_fontweight'];
}

if(isset($eltd_options['blog_single_post_author_info_text_fontstyle']) && $eltd_options['blog_single_post_author_info_text_fontstyle'] !== '') {
    $blog_single_post_info_author_text_style[] = 'font-style: '.$eltd_options['blog_single_post_author_info_text_fontstyle'];
}

if(isset($eltd_options['blog_single_post_author_info_text_texttransform']) && $eltd_options['blog_single_post_author_info_text_texttransform'] !== '') {
    $blog_single_post_info_author_text_style[] = 'text-transform: '.$eltd_options['blog_single_post_author_info_text_texttransform'];
}

if(isset($eltd_options['blog_single_post_author_info_text_color']) && $eltd_options['blog_single_post_author_info_text_color'] !== ''){
     $blog_single_post_info_author_text_style[] = 'color: '.$eltd_options['blog_single_post_author_info_text_color'];
}

if(is_array($blog_single_post_info_author_text_style) && count($blog_single_post_info_author_text_style)) { ?>
    .blog_holder.blog_single .author_description .author_text_holder .author_email,
    .blog_holder.blog_single .author_description .author_text_holder .author_text{
    <?php echo esc_attr(implode(';', $blog_single_post_info_author_text_style)); ?>
    }
<?php } ?>

<?php
/******** BLOG SINGLE: POST INFO COMMENTS STYLES  ********/

$blog_single_post_comments_box_style = array();

if(isset($eltd_options['blog_single_post_comments_border_color']) && $eltd_options['blog_single_post_comments_border_color'] !== '') {
    $blog_single_post_comments_box_style[] = 'border-color: '.$eltd_options['blog_single_post_comments_border_color'];
}
if(isset($eltd_options['blog_single_post_comments_back_color']) && $eltd_options['blog_single_post_comments_back_color'] !== '') {
    $blog_single_post_comments_box_style[] = 'background-color: '.$eltd_options['blog_single_post_comments_back_color'];
}

if(is_array($blog_single_post_comments_box_style) && count($blog_single_post_comments_box_style)) { ?>
    .single-post .comment_holder .comments .comment .text,
	.comment_holder .comment:not(.pingback-comment) .text .comment_left_arrow,
	.comment_holder .comment:not(.pingback-comment) .text .comment_top_arrow{
    <?php echo esc_attr(implode(';', $blog_single_post_comments_box_style)); ?>
    }
<?php } ?>

<?php if(isset($eltd_options['blog_single_post_comments_title_color']) && $eltd_options['blog_single_post_comments_title_color'] !== '') { ?>
    .single-post .comment_holder .comments .comment .text .name,
	.single-post .comment_holder .comments .comment .text .name a{
        color: <?php echo esc_attr($eltd_options['blog_single_post_comments_title_color']) ; ?>
    }
<?php } ?>

<?php if(isset($eltd_options['blog_single_post_comments_text_color']) && $eltd_options['blog_single_post_comments_text_color'] !== '') { ?>
    .single-post .comment_holder .comments .comment .text .text_holder,
	.single-post .comment_holder .comments .comment .text .text_holder p{
        color: <?php echo esc_attr($eltd_options['blog_single_post_comments_text_color']) ; ?>
    }
<?php } ?>

<?php if(isset($eltd_options['blog_single_post_comments_link_color']) && $eltd_options['blog_single_post_comments_link_color'] !== '') { ?>
    .single-post .comment_holder .comments .comment .text .comment-reply-link,
    .single-post .comment_holder .comments .comment .text .replay,
    .single-post .comment_holder .comments .comment .text .comment-edit-link{
        color: <?php echo esc_attr($eltd_options['blog_single_post_comments_link_color']) ; ?>
    }
<?php } ?>

<?php if(isset($eltd_options['blog_single_post_comments_date_color']) && $eltd_options['blog_single_post_comments_date_color'] !== '') { ?>
    .single-post .comment_holder .comment .text .comment_date{
        color: <?php echo esc_attr($eltd_options['blog_single_post_comments_date_color']) ; ?>
    }
<?php } ?>

<?php
/******** BLOG: STANDARD Share options ********/
if(isset($eltd_options['blog_standard_type_show_share']) && $eltd_options['blog_standard_type_show_share'] == 'yes') {

    if(isset($eltd_options['blog_standard_type_share_icon_color']) && $eltd_options['blog_standard_type_share_icon_color'] !== '') {?>
        .blog_holder.blog_standard_type .social_share_dropdown ul li a,
        .blog_holder.blog_standard_type .social_share_dropdown ul li .social_network_icon,
		.blog_holder.blog_standard_type article .social_share_list_holder ul li i{
        color:  <?php echo esc_attr($eltd_options['blog_standard_type_share_icon_color']); ?> ;
        }
    <?php } ?>
    <?php if(isset($eltd_options['blog_standard_type_share_icon_color_link_post_type']) && $eltd_options['blog_standard_type_share_icon_color_link_post_type'] !== '') {?>
        .blog_holder.blog_standard_type article.format-quote .social_share_dropdown ul li a,
        .blog_holder.blog_standard_type article.format-quote .social_share_dropdown ul li .social_network_icon,
        .blog_holder.blog_standard_type article.format-quote .social_share_list_holder ul li i,
        .blog_holder.blog_standard_type article.format-link .social_share_dropdown ul li a,
        .blog_holder.blog_standard_type article.format-link .social_share_dropdown ul li .social_network_icon,
        .blog_holder.blog_standard_type article.format-link .social_share_list_holder ul li i{ 
        color:  <?php echo esc_attr($eltd_options['blog_standard_type_share_icon_color_link_post_type']); ?> ;
        }
    <?php } ?>    
    <?php if(isset($eltd_options['blog_standard_type_share_hld_hover_icon_color']) && $eltd_options['blog_standard_type_share_hld_hover_icon_color'] !== '') {?>
        .blog_holder.blog_standard_type article.format-link .post_text_inner:hover .social_share_list_holder a > *,
        .blog_holder.blog_standard_type article.format-quote .post_text_inner:hover .social_share_list_holder a > *{
            color:  <?php echo esc_attr($eltd_options['blog_standard_type_share_hld_hover_icon_color']); ?>;
        }
    <?php } ?>
    <?php if(isset($eltd_options['blog_standard_type_share_background_color']) && $eltd_options['blog_standard_type_share_background_color'] !== '') {?>
        .blog_holder.blog_standard_type .social_share_dropdown ul li a{
        background-color:  <?php echo esc_attr($eltd_options['blog_standard_type_share_background_color']); ?> ;
        }
    <?php } ?>
    <?php if(isset($eltd_options['blog_standard_type_share_background_color_link_post_type']) && $eltd_options['blog_standard_type_share_background_color_link_post_type'] !== '') {?>
        .blog_holder.blog_standard_type article.format-quote .social_share_dropdown ul li a,
        .blog_holder.blog_standard_type article.format-link .social_share_dropdown ul li a{
        background-color:  <?php echo esc_attr($eltd_options['blog_standard_type_share_background_color_link_post_type']); ?> ;
        }
    <?php } ?>
    <?php if(isset($eltd_options['blog_standard_type_share_icon_hover_color']) && $eltd_options['blog_standard_type_share_icon_hover_color'] !== '') {?>
        .blog_holder.blog_standard_type .social_share_dropdown ul li:hover,
        .blog_holder.blog_standard_type .social_share_dropdown ul li:hover a span.social_network_icon,
		.blog_holder.blog_standard_type article .social_share_list_holder ul li i:hover{
        color:  <?php echo esc_attr($eltd_options['blog_standard_type_share_icon_hover_color']); ?> !important;
        }
    <?php } ?>
    <?php if(isset($eltd_options['blog_standard_type_share_icon_hover_color_link_post_type']) && $eltd_options['blog_standard_type_share_icon_hover_color_link_post_type'] !== '') {?>
        .blog_holder.blog_standard_type article.format-quote .social_share_dropdown ul li:hover,
        .blog_holder.blog_standard_type article.format-quote .social_share_dropdown ul li:hover a span.social_network_icon,
        .blog_holder.blog_standard_type article.format-quote .social_share_list_holder ul li i:hover,
        .blog_holder.blog_standard_type article.format-link .social_share_dropdown ul li:hover,
        .blog_holder.blog_standard_type article.format-link .social_share_dropdown ul li:hover a span.social_network_icon,
        .blog_holder.blog_standard_type article.format-link .social_share_list_holder ul li i:hover{
        color:  <?php echo esc_attr($eltd_options['blog_standard_type_share_icon_hover_color_link_post_type']); ?> !important;
        }
    <?php } ?>
<?php } ?>

<?php
/******** BLOG: STANDARD Text Box ********/
if(isset($eltd_options['blog_standard_type_enable_text_box']) && $eltd_options['blog_standard_type_enable_text_box'] == 'yes') {
    $blog_box_style = array();
	?>
	.blog_holder.blog_standard_type article .audio_image,
	.blog_holder.blog_standard_type article:not(.format-audio) .post_image{
		margin-bottom: 0;
	}
	<?php
    if(isset($eltd_options['blog_standard_type_box_background_color']) && $eltd_options['blog_standard_type_box_background_color'] !== '') {
        $blog_box_style[] = 'background-color: '.$eltd_options['blog_standard_type_box_background_color'];
    }

    if(isset($eltd_options['blog_standard_type_box_border_color']) && $eltd_options['blog_standard_type_box_border_color'] !== '') {
        $blog_box_style[] = 'border: 1px solid';
        $blog_box_style[] = 'border-color: '.$eltd_options['blog_standard_type_box_border_color'];
    }

    if(isset($eltd_options['blog_standard_type_box_padding']) && $eltd_options['blog_standard_type_box_padding'] !== '') {
        $blog_box_style[] = 'padding: '.$eltd_options['blog_standard_type_box_padding'];
    }

    if(is_array($blog_box_style) && count($blog_box_style)) { ?>
        .blog_holder.blog_standard_type article:not(.format-link):not(.format-quote) .post_text .post_text_inner,
		.blog_holder.blog_standard_type.blog_single article.format-link .post_content,
		.blog_holder.blog_standard_type.blog_single article.format-quote .post_content{
        <?php echo esc_attr(implode(';', $blog_box_style)); ?>
        }
    <?php }}
?>

<?php
   if(isset($eltd_options['blog_standard_type_paragraph_color']) && $eltd_options['blog_standard_type_paragraph_color'] !== '') { ?>
        .blog_holder.blog_standard_type article .post_excerpt{
			color : <?php echo esc_attr($eltd_options['blog_standard_type_paragraph_color']) ;?>
		}
 <?php } ?>


<?php
/******** BLOG: STANDARD Quote/Link Text Box ********/
if(isset($eltd_options['blog_standard_type_ql_background_color']) &&($eltd_options['blog_standard_type_ql_background_color'])!==""){ ?>
    .blog_holder.blog_standard_type article.format-link .post_text .post_text_inner,
    .blog_holder.blog_standard_type article.format-quote .post_text .post_text_inner{
    background-color: <?php echo esc_attr($eltd_options['blog_standard_type_ql_background_color']);  ?>;
    }
    <?php  $blog_standard_type_ql_background_color = eltd_hex2rgb($eltd_options['blog_standard_type_ql_background_color']); ?>

    .blog_holder.blog_standard_type article.format-link .post_text.link_image .post_text_inner,
    .blog_holder.blog_standard_type article.format-quote .post_text.quote_image .post_text_inner{
    <?php if (!empty($eltd_options['blog_standard_type_ql_background_color'])) { ?>  background-color: rgba(<?php echo esc_attr($blog_standard_type_ql_background_color[0]); ?>,<?php echo esc_attr($blog_standard_type_ql_background_color[1]); ?>,<?php echo esc_attr($blog_standard_type_ql_background_color[2]); ?>,0.85); <?php } ?>
    }
<?php } ?>


<?php if(isset($eltd_options['blog_standard_type_ql_hover_background_color']) && !empty($eltd_options['blog_standard_type_ql_hover_background_color'])){ ?>
    .blog_holder.blog_standard_type article.format-link .post_text .post_text_inner:hover,
    .blog_holder.blog_standard_type article.format-quote .post_text .post_text_inner:hover{
    background-color: <?php echo esc_attr($eltd_options['blog_standard_type_ql_hover_background_color']);  ?>;
    }
    <?php  $blog_standard_type_ql_hover_background_color = eltd_hex2rgb($eltd_options['blog_standard_type_ql_hover_background_color']); ?>

    .blog_holder.blog_standard_type article.format-link .post_text.link_image .post_text_inner:hover,
    .blog_holder.blog_standard_type article.format-quote .post_text.quote_image .post_text_inner:hover{
    <?php if (!empty($eltd_options['blog_standard_type_ql_hover_background_color'])) { ?>  background-color: rgba(<?php echo esc_attr($blog_standard_type_ql_hover_background_color[0]); ?>,<?php echo esc_attr($blog_standard_type_ql_hover_background_color[1]); ?>,<?php echo esc_attr($blog_standard_type_ql_hover_background_color[2]); ?>,0.6); <?php } ?>
    }

<?php } ?>

<?php
if(isset($eltd_options['blog_standard_type_image_margin_bottom']) && $eltd_options['blog_standard_type_image_margin_bottom'] !== '') { ?>
	.blog_holder.blog_standard_type article .audio_image,
	.blog_holder.blog_standard_type article:not(.format-audio) .post_image{
		margin-bottom : <?php echo esc_attr($eltd_options['blog_standard_type_image_margin_bottom'].'px !important');?>
	}
<?php } ?>

<?php
if(isset($eltd_options['blog_standard_type_title_margin_bottom']) && $eltd_options['blog_standard_type_title_margin_bottom'] !== '') { ?>
	.blog_holder.blog_standard_type article:not(.format-quote):not(.format-link) h2{
		padding-bottom : <?php echo esc_attr($eltd_options['blog_standard_type_title_margin_bottom'].'px');?>
	}
<?php } ?>

<?php
if(isset($eltd_options['blog_standard_type_post_info_margin_bottom']) && $eltd_options['blog_standard_type_post_info_margin_bottom'] !== '') { ?>
	.blog_holder.blog_standard_type article:not(.format-link):not(.format-quote) .post_info{
		margin-bottom : <?php echo esc_attr($eltd_options['blog_standard_type_post_info_margin_bottom'].'px');?>
	}
<?php } ?>

<?php
if(isset($eltd_options['blog_standard_type_read_more_margin_top']) && $eltd_options['blog_standard_type_read_more_margin_top'] !== '') { ?>
	.blog_holder.blog_standard_type article .post_text_inner a.read_more_button{
		margin-top : <?php echo esc_attr($eltd_options['blog_standard_type_read_more_margin_top'].'px');?>
	}
<?php } ?>

<?php
if(isset($eltd_options['blog_standard_type_article_margin_bottom']) && $eltd_options['blog_standard_type_article_margin_bottom'] !== '') { ?>
	.blog_holder.blog_standard_type:not(.blog_single) article{
		margin-bottom : <?php echo esc_attr($eltd_options['blog_standard_type_article_margin_bottom'].'px');?>;
	}
<?php } ?>

<?php
if(isset($eltd_options['blog_standard_type_single_article_social_share_list_margin_top']) && $eltd_options['blog_standard_type_single_article_social_share_list_margin_top'] !== '') { ?>
	.blog_holder.blog_standard_type article:not(.format-quote):not(.format-link) .social_share_list_holder{
		margin-top : <?php echo esc_attr($eltd_options['blog_standard_type_single_article_social_share_list_margin_top'].'px');?>;
	}
<?php } ?>

<?php
if(isset($eltd_options['blog_standard_type_ql_title_margin_bottom']) && $eltd_options['blog_standard_type_ql_title_margin_bottom'] !== '') { ?>
	.blog_holder.blog_standard_type article.format-quote .post_title h3,
	.blog_holder.blog_standard_type article.format-link .post_title h3{
		margin-bottom : <?php echo esc_attr($eltd_options['blog_standard_type_ql_title_margin_bottom'].'px');?>
	}
<?php } ?>

<?php
if(isset($eltd_options['blog_standard_type_ql_social_share_list_margin_top']) && $eltd_options['blog_standard_type_ql_social_share_list_margin_top'] !== '') { ?>
	.blog_holder.blog_standard_type article.format-link .social_share_list_holder,
	.blog_holder.blog_standard_type article.format-quote .social_share_list_holder{
		margin-top : <?php echo esc_attr($eltd_options['blog_standard_type_ql_social_share_list_margin_top'].'px');?>
	}
<?php } ?>

<?php
if(isset($eltd_options['blog_standard_type_ql_quote_author_margin_bottom']) && $eltd_options['blog_standard_type_ql_quote_author_margin_bottom'] !== '') { ?>
	.blog_holder.blog_standard_type article.format-quote .post_text .quote_author{
		margin-bottom : <?php echo esc_attr($eltd_options['blog_standard_type_ql_quote_author_margin_bottom'].'px');?>;
	}
<?php } ?>

<?php
/**************** BLOG STANDARD: Title Style ****************/
$blog_standard_type_title_style = array();

if(isset($eltd_options['blog_standard_type_title_google_fonts']) && $eltd_options['blog_standard_type_title_google_fonts'] !== '-1') {
    $blog_standard_type_title_style[] = 'font-family: '.str_replace('+', ' ', $eltd_options['blog_standard_type_title_google_fonts']).', sans-serif';
}

if(isset($eltd_options['blog_standard_type_title_fontsize']) && $eltd_options['blog_standard_type_title_fontsize'] !== '') {
    $blog_standard_type_title_style[] = 'font-size: '.$eltd_options['blog_standard_type_title_fontsize'].'px';
}

if(isset($eltd_options['blog_standard_type_title_lineheight']) && $eltd_options['blog_standard_type_title_lineheight'] !== '') {
    $blog_standard_type_title_style[] = 'line-height: '.$eltd_options['blog_standard_type_title_lineheight'].'px';
}

if(isset($eltd_options['blog_standard_type_title_letterspacing']) && $eltd_options['blog_standard_type_title_letterspacing'] !== '') {
    $blog_standard_type_title_style[] = 'letter-spacing: '.$eltd_options['blog_standard_type_title_letterspacing'].'px';
}

if(isset($eltd_options['blog_standard_type_title_fontweight']) && $eltd_options['blog_standard_type_title_fontweight'] !== '') {
    $blog_standard_type_title_style[] = 'font-weight: '.$eltd_options['blog_standard_type_title_fontweight'];
}

if(isset($eltd_options['blog_standard_type_title_fontstyle']) && $eltd_options['blog_standard_type_title_fontstyle'] !== '') {
    $blog_standard_type_title_style[] = 'font-style: '.$eltd_options['blog_standard_type_title_fontstyle'];
}

if(isset($eltd_options['blog_standard_type_title_texttransform']) && $eltd_options['blog_standard_type_title_texttransform'] !== '') {
    $blog_standard_type_title_style[] = 'text-transform: '.$eltd_options['blog_standard_type_title_texttransform'];
}

if(is_array($blog_standard_type_title_style) && count($blog_standard_type_title_style)) { ?>
    .blog_holder.blog_standard_type article:not(.format-quote):not(.format-link) h2{
    <?php echo esc_attr(implode(';', $blog_standard_type_title_style)); ?>
    }
<?php } ?>

<?php if(isset($eltd_options['blog_standard_type_title_color']) && !empty($eltd_options['blog_standard_type_title_color'])){ ?>
    .blog_holder.blog_standard_type article:not(.format-quote):not(.format-link) h2 a,
	.blog_holder.blog_standard_type article:not(.format-quote):not(.format-link) h2 {
    color: <?php echo esc_attr($eltd_options['blog_standard_type_title_color']);  ?>;
    }
<?php } ?>

<?php if(isset($eltd_options['blog_standard_type_title_hover_color']) && !empty($eltd_options['blog_standard_type_title_hover_color'])){ ?>
    .blog_holder.blog_standard_type article:not(.format-quote):not(.format-link) h2 a:hover,
	.blog_holder.blog_standard_type article:not(.format-quote):not(.format-link) h2:hover{
    color: <?php echo esc_attr($eltd_options['blog_standard_type_title_hover_color']);  ?>;
    }
<?php } ?>

<?php
/**************** BLOG STANDARD: Qoute/Link Title Style ****************/
$blog_standard_type_ql_title_style = array();

if(isset($eltd_options['blog_standard_type_ql_title_google_fonts']) && $eltd_options['blog_standard_type_ql_title_google_fonts'] !== '-1') {
    $blog_standard_type_ql_title_style[] = 'font-family: '.str_replace('+', ' ', $eltd_options['blog_standard_type_ql_title_google_fonts']).', sans-serif';
}

if(isset($eltd_options['blog_standard_type_ql_title_fontsize']) && $eltd_options['blog_standard_type_ql_title_fontsize'] !== '') {
    $blog_standard_type_ql_title_style[] = 'font-size: '.$eltd_options['blog_standard_type_ql_title_fontsize'].'px';
}

if(isset($eltd_options['blog_standard_type_ql_title_lineheight']) && $eltd_options['blog_standard_type_ql_title_lineheight'] !== '') {
    $blog_standard_type_ql_title_style[] = 'line-height: '.$eltd_options['blog_standard_type_ql_title_lineheight'].'px';
}

if(isset($eltd_options['blog_standard_type_ql_title_letterspacing']) && $eltd_options['blog_standard_type_ql_title_letterspacing'] !== '') {
    $blog_standard_type_ql_title_style[] = 'letter-spacing: '.$eltd_options['blog_standard_type_ql_title_letterspacing'].'px';
}

if(isset($eltd_options['blog_standard_type_ql_title_fontweight']) && $eltd_options['blog_standard_type_ql_title_fontweight'] !== '') {
    $blog_standard_type_ql_title_style[] = 'font-weight: '.$eltd_options['blog_standard_type_ql_title_fontweight'];
}

if(isset($eltd_options['blog_standard_type_ql_title_fontstyle']) && $eltd_options['blog_standard_type_ql_title_fontstyle'] !== '') {
    $blog_standard_type_ql_title_style[] = 'font-style: '.$eltd_options['blog_standard_type_ql_title_fontstyle'];
}

if(isset($eltd_options['blog_standard_type_ql_title_texttransform']) && $eltd_options['blog_standard_type_ql_title_texttransform'] !== '') {
    $blog_standard_type_ql_title_style[] = 'text-transform: '.$eltd_options['blog_standard_type_ql_title_texttransform'];
}

if(is_array($blog_standard_type_ql_title_style) && count($blog_standard_type_ql_title_style)) { ?>
    .blog_holder.blog_standard_type article.format-quote .post_text .post_title h3,
    .blog_holder.blog_standard_type article.format-link .post_text .post_title h3{
    <?php echo esc_attr(implode(';', $blog_standard_type_ql_title_style)); ?>
    }
<?php } ?>

<?php if(isset($eltd_options['blog_standard_type_ql_title_color']) && !empty($eltd_options['blog_standard_type_ql_title_color'])){ ?>
    .blog_holder.blog_standard_type article.format-quote .post_text .post_title h3 a,
    .blog_holder.blog_standard_type article.format-link .post_text .post_title h3 a,
	.blog_holder.blog_standard_type article.format-quote .post_text .post_title h3,
	.blog_holder.blog_standard_type article.format-link .post_text .post_title h3
	{
    color: <?php echo esc_attr($eltd_options['blog_standard_type_ql_title_color']);  ?>;
    }
<?php } ?>

<?php if(isset($eltd_options['blog_standard_type_ql_title_hover_color']) && !empty($eltd_options['blog_standard_type_ql_title_hover_color'])){ ?>
    .blog_holder.blog_standard_type article.format-quote .post_text .post_text_inner:hover .post_title h3 a,
    .blog_holder.blog_standard_type article.format-link .post_text .post_text_inner:hover .post_title h3 a,
	.blog_holder.blog_standard_type article.format-quote .post_text .post_text_inner:hover .post_title h3,
	.blog_holder.blog_standard_type article.format-link .post_text .post_text_inner:hover .post_title h3
	{
    color: <?php echo esc_attr($eltd_options['blog_standard_type_ql_title_hover_color']);  ?>;
    }
<?php } ?>
<?php
/**************** BLOG STANDARD: Qoute Author Style ****************/
$blog_standard_type_ql_author_style = array();

if(isset($eltd_options['blog_standard_type_ql_author_google_fonts']) && $eltd_options['blog_standard_type_ql_author_google_fonts'] !== '-1') {
	$blog_standard_type_ql_author_style[] = 'font-family: '.str_replace('+', ' ', $eltd_options['blog_standard_type_ql_author_google_fonts']).', sans-serif';
}

if(isset($eltd_options['blog_standard_type_ql_author_fontsize']) && $eltd_options['blog_standard_type_ql_author_fontsize'] !== '') {
	$blog_standard_type_ql_author_style[] = 'font-size: '.$eltd_options['blog_standard_type_ql_author_fontsize'].'px';
}

if(isset($eltd_options['blog_standard_type_ql_author_lineheight']) && $eltd_options['blog_standard_type_ql_author_lineheight'] !== '') {
	$blog_standard_type_ql_author_style[] = 'line-height: '.$eltd_options['blog_standard_type_ql_author_lineheight'].'px';
}

if(isset($eltd_options['blog_standard_type_ql_author_letterspacing']) && $eltd_options['blog_standard_type_ql_author_letterspacing'] !== '') {
	$blog_standard_type_ql_author_style[] = 'letter-spacing: '.$eltd_options['blog_standard_type_ql_author_letterspacing'].'px';
}

if(isset($eltd_options['blog_standard_type_ql_author_fontweight']) && $eltd_options['blog_standard_type_ql_author_fontweight'] !== '') {
	$blog_standard_type_ql_author_style[] = 'font-weight: '.$eltd_options['blog_standard_type_ql_author_fontweight'];
}

if(isset($eltd_options['blog_standard_type_ql_author_fontstyle']) && $eltd_options['blog_standard_type_ql_author_fontstyle'] !== '') {
	$blog_standard_type_ql_author_style[] = 'font-style: '.$eltd_options['blog_standard_type_ql_author_fontstyle'];
}

if(isset($eltd_options['blog_standard_type_ql_author_texttransform']) && $eltd_options['blog_standard_type_ql_author_texttransform'] !== '') {
	$blog_standard_type_ql_author_style[] = 'text-transform: '.$eltd_options['blog_standard_type_ql_author_texttransform'];
}

if(is_array($blog_standard_type_ql_author_style) && count($blog_standard_type_ql_author_style)) { ?>
	.blog_holder.blog_standard_type article.format-quote .post_text .quote_author{
	<?php echo esc_attr(implode(';', $blog_standard_type_ql_author_style)); ?>
	}
<?php } ?>

<?php if(isset($eltd_options['blog_standard_type_ql_author_color']) && !empty($eltd_options['blog_standard_type_ql_author_color'])){ ?>
	.blog_holder.blog_standard_type article.format-quote .post_text .quote_author{
	color: <?php echo esc_attr($eltd_options['blog_standard_type_ql_author_color']);  ?>;
	}
<?php } ?>

<?php if(isset($eltd_options['blog_standard_type_ql_author_hover_color']) && !empty($eltd_options['blog_standard_type_ql_author_hover_color'])){ ?>
	.blog_holder.blog_standard_type article.format-quote .post_text .post_text_inner:hover .quote_author{
	color: <?php echo esc_attr($eltd_options['blog_standard_type_ql_author_hover_color']);  ?>;
	}
<?php } ?>
<?php
/**************** BLOG STANDARD: Info Style ****************/
$blog_standard_type_info_style = array();

if(isset($eltd_options['blog_standard_type_info_google_fonts']) && $eltd_options['blog_standard_type_info_google_fonts'] !== '-1') {
    $blog_standard_type_info_style[] = 'font-family: '.str_replace('+', ' ', $eltd_options['blog_standard_type_info_google_fonts']).', sans-serif';
}

if(isset($eltd_options['blog_standard_type_info_fontsize']) && $eltd_options['blog_standard_type_info_fontsize'] !== '') {
    $blog_standard_type_info_style[] = 'font-size: '.$eltd_options['blog_standard_type_info_fontsize'].'px';
}

if(isset($eltd_options['blog_standard_type_info_lineheight']) && $eltd_options['blog_standard_type_info_lineheight'] !== '') {
    $blog_standard_type_info_style[] = 'line-height: '.$eltd_options['blog_standard_type_info_lineheight'].'px';
}

if(isset($eltd_options['blog_standard_type_info_letterspacing']) && $eltd_options['blog_standard_type_info_letterspacing'] !== '') {
    $blog_standard_type_info_style[] = 'letter-spacing: '.$eltd_options['blog_standard_type_info_letterspacing'].'px';
}

if(isset($eltd_options['blog_standard_type_info_fontweight']) && $eltd_options['blog_standard_type_info_fontweight'] !== '') {
    $blog_standard_type_info_style[] = 'font-weight: '.$eltd_options['blog_standard_type_info_fontweight'];
}

if(isset($eltd_options['blog_standard_type_info_fontstyle']) && $eltd_options['blog_standard_type_info_fontstyle'] !== '') {
    $blog_standard_type_info_style[] = 'font-style: '.$eltd_options['blog_standard_type_info_fontstyle'];
}

if(isset($eltd_options['blog_standard_type_info_texttransform']) && $eltd_options['blog_standard_type_info_texttransform'] !== '') {
    $blog_standard_type_info_style[] = 'text-transform: '.$eltd_options['blog_standard_type_info_texttransform'];
}
if(is_array($blog_standard_type_info_style) && count($blog_standard_type_info_style)) { ?>

    .blog_holder.blog_standard_type article:not(.format-quote):not(.format-link) .post_text .post_text_inner .post_info div{
   		<?php echo esc_attr(implode(';', $blog_standard_type_info_style)); ?>
    }
<?php } ?>

<?php if(isset($eltd_options['blog_standard_type_info_color']) && !empty($eltd_options['blog_standard_type_info_color'])){ ?>
    .blog_holder.blog_standard_type article:not(.format-quote):not(.format-link) .post_text .post_text_inner .post_info div
   {
    color: <?php echo esc_attr($eltd_options['blog_standard_type_info_color']);  ?>;
    }
<?php } ?>

<?php if(isset($eltd_options['blog_standard_type_info_link_color']) && !empty($eltd_options['blog_standard_type_info_link_color'])){ ?>
	.blog_holder.blog_standard_type article:not(.format-quote):not(.format-link) .post_text .post_text_inner .post_info div a
   {
    color: <?php echo esc_attr($eltd_options['blog_standard_type_info_link_color']);  ?>;
    }
<?php } ?>

<?php if(isset($eltd_options['blog_standard_type_info_hover_color']) && !empty($eltd_options['blog_standard_type_info_hover_color'])){ ?>
    .blog_holder.blog_standard_type article:not(.format-quote):not(.format-link) .post_text .post_text_inner .post_info div a:hover{
    	color: <?php echo esc_attr($eltd_options['blog_standard_type_info_hover_color']);  ?>;
    }
<?php } ?>

<?php if(isset($eltd_options['blog_standard_type_info_link_fontweight']) && ($eltd_options['blog_standard_type_info_link_fontweight']) !== ''){ ?>
	.blog_holder.blog_standard_type article:not(.format-quote):not(.format-link) .post_text .post_text_inner .post_info div a{
		font-weight: <?php echo esc_attr($eltd_options['blog_standard_type_info_link_fontweight']);  ?>;
	}
<?php } ?>

<?php

$blog_standard_type_date_style = array();

if(isset($eltd_options['blog_standard_type_date_color']) && $eltd_options['blog_standard_type_date_color'] !== '') {
	$blog_standard_type_date_style[] = 'color: '.$eltd_options['blog_standard_type_date_color'];
}

if(isset($eltd_options['blog_standard_type_date_bckg_color']) && $eltd_options['blog_standard_type_date_bckg_color'] !== '') {
	$blog_standard_type_date_style[] = 'background-color: '.$eltd_options['blog_standard_type_date_bckg_color'];
}

if(is_array($blog_standard_type_date_style) && count($blog_standard_type_date_style)){ ?>
	.blog_holder.blog_standard_type .post_corner_info_holder .post_date_standard_holder{
	<?php echo esc_attr(implode('; ', $blog_standard_type_date_style));  ?>;
	}
<?php }

if(isset($eltd_options['blog_standard_type_cmmt_color']) && ($eltd_options['blog_standard_type_cmmt_color']) !== ''){ ?>
	.blog_holder.blog_standard_type .post_corner_info_holder .post_comments_standard_holder a{
	color: <?php echo esc_attr($eltd_options['blog_standard_type_cmmt_color']);  ?>;
	}
<?php }

if(isset($eltd_options['blog_standard_type_cmmt_bckg_color']) && ($eltd_options['blog_standard_type_cmmt_bckg_color']) !== ''){ ?>
	.blog_holder.blog_standard_type .post_corner_info_holder .post_comments_standard_holder{
	background-color: <?php echo esc_attr($eltd_options['blog_standard_type_cmmt_bckg_color']);  ?>;
	}
<?php }
?>

<?php
/****************  BLOG STANDARD: Quote/Link TExt Style *********************/
$blog_standard_type_ql_info_style = array();

if(isset($eltd_options['blog_standard_type_ql_info_google_fonts']) && $eltd_options['blog_standard_type_ql_info_google_fonts'] !== '-1') {
    $blog_standard_type_ql_info_style[] = 'font-family: '.str_replace('+', ' ', $eltd_options['blog_standard_type_ql_info_google_fonts']).', sans-serif';
}

if(isset($eltd_options['blog_standard_type_ql_info_fontsize']) && $eltd_options['blog_standard_type_ql_info_fontsize'] !== '') {
    $blog_standard_type_ql_info_style[] = 'font-size: '.$eltd_options['blog_standard_type_ql_info_fontsize'].'px';
}

if(isset($eltd_options['blog_standard_type_ql_info_lineheight']) && $eltd_options['blog_standard_type_ql_info_lineheight'] !== '') {
    $blog_standard_type_ql_info_style[] = 'line-height: '.$eltd_options['blog_standard_type_ql_info_lineheight'].'px';
}

if(isset($eltd_options['blog_standard_type_ql_info_letterspacing']) && $eltd_options['blog_standard_type_ql_info_letterspacing'] !== '') {
    $blog_standard_type_ql_info_style[] = 'letter-spacing: '.$eltd_options['blog_standard_type_ql_info_letterspacing'].'px';
}

if(isset($eltd_options['blog_standard_type_ql_info_fontweight']) && $eltd_options['blog_standard_type_ql_info_fontweight'] !== '') {
    $blog_standard_type_ql_info_style[] = 'font-weight: '.$eltd_options['blog_standard_type_ql_info_fontweight'];
}

if(isset($eltd_options['blog_standard_type_ql_info_fontstyle']) && $eltd_options['blog_standard_type_ql_info_fontstyle'] !== '') {
    $blog_standard_type_ql_info_style[] = 'font-style: '.$eltd_options['blog_standard_type_ql_info_fontstyle'];
}

if(isset($eltd_options['blog_standard_type_ql_info_texttransform']) && $eltd_options['blog_standard_type_ql_info_texttransform'] !== '') {
    $blog_standard_type_ql_info_style[] = 'text-transform: '.$eltd_options['blog_standard_type_ql_info_texttransform'];
}
if(is_array($blog_standard_type_ql_info_style) && count($blog_standard_type_ql_info_style)) { ?>
    .blog_holder.blog_standard_type article.format-quote .post_text .post_text_inner .post_info,
    .blog_holder.blog_standard_type article.format-link .post_text .post_text_inner .post_info{
    <?php echo esc_attr(implode(';', $blog_standard_type_ql_info_style)); ?>
    }
<?php } ?>

<?php if(isset($eltd_options['blog_standard_type_ql_info_color']) && !empty($eltd_options['blog_standard_type_ql_info_color'])){ ?>
    .blog_holder.blog_standard_type article.format-quote .post_text .post_text_inner .post_info,
    .blog_holder.blog_standard_type article.format-link .post_text .post_text_inner .post_info,
    .blog_holder.blog_single article.format-link  .post_info > div .author_icon,
    .blog_holder.blog_single article.format-quote .post_info > div .author_icon,
    .blog_holder.blog_single article.format-link  .post_info > div .category_icon,
    .blog_holder.blog_single article.format-quote .post_info > div .category_icon{
    color: <?php echo esc_attr($eltd_options['blog_standard_type_ql_info_color']);  ?>;
    }
<?php } ?>
<?php if(isset($eltd_options['blog_standard_type_ql_info_link_color']) && !empty($eltd_options['blog_standard_type_ql_info_link_color'])){ ?>
    .blog_holder.blog_standard_type article.format-quote .post_text .post_text_inner .post_info a,
    .blog_holder.blog_standard_type article.format-link .post_text .post_text_inner .post_info a{
    color: <?php echo esc_attr($eltd_options['blog_standard_type_ql_info_link_color']);  ?>;
    }
<?php } ?>
<?php if(isset($eltd_options['blog_standard_type_ql_info_link_fontweight']) && !empty($eltd_options['blog_standard_type_ql_info_link_fontweight'])){ ?>
    .blog_holder.blog_standard_type article.format-quote .post_text .post_text_inner .post_info a,
    .blog_holder.blog_standard_type article.format-link .post_text .post_text_inner .post_info a{
    font-weight: <?php echo esc_attr($eltd_options['blog_standard_type_ql_info_link_fontweight']);  ?>;
    }
<?php } ?>
<?php if(isset($eltd_options['blog_standard_type_ql_info_hover_color']) && !empty($eltd_options['blog_standard_type_ql_info_hover_color'])){ ?>
    .blog_holder.blog_standard_type article.format-quote .post_text .post_text_inner:hover .post_info,
    .blog_holder.blog_standard_type article.format-link .post_text .post_text_inner:hover .post_info,
	.blog_holder.blog_single article.format-link .post_text_inner:hover .post_info > div .author_icon,
    .blog_holder.blog_single article.format-quote .post_text_inner:hover .post_info > div .author_icon,
    .blog_holder.blog_single article.format-link .post_text_inner:hover .post_info > div .category_icon,
    .blog_holder.blog_single article.format-quote .post_text_inner:hover .post_info > div .category_icon,
	.blog_holder article.format-link .post_content_holder .post_text_inner .post_info div > a:hover,
	.blog_holder article.format-link .post_content_holder .post_text_inner .post_info .social_share_title:hover,
	.blog_holder article.format-quote .post_content_holder .post_text_inner .post_info div > a:hover,
	.blog_holder article.format-quote .post_content_holder .post_text_inner .post_info .social_share_title:hover{
		color: <?php echo esc_attr($eltd_options['blog_standard_type_ql_info_hover_color']);  ?>;
    }

<?php } ?>

<?php if(isset($eltd_options['blog_standard_type_ql_mark_color']) && !empty($eltd_options['blog_standard_type_ql_mark_color'])){ ?>
    .blog_holder.blog_standard_type article.format-quote .post_text .post_text_inner .post_info_quote_mark .quote_mark,
    .blog_holder.blog_standard_type article.format-link .post_text .post_text_inner .post_info_link_mark .link_mark{
    color: <?php echo esc_attr($eltd_options['blog_standard_type_ql_mark_color']);  ?>;
    }
<?php } ?>

<?php if(isset($eltd_options['blog_standard_type_ql_mark_hover_color']) && !empty($eltd_options['blog_standard_type_ql_mark_hover_color'])){ ?>
    .blog_holder.blog_standard_type article.format-quote .post_text .post_text_inner:hover  .post_info_quote_mark .quote_mark,
    .blog_holder.blog_standard_type article.format-link .post_text .post_text_inner:hover .post_info_link_mark .link_mark{
    color: <?php echo esc_attr($eltd_options['blog_standard_type_ql_mark_hover_color']);  ?>;
    }
<?php } ?>

<?php
/******** BLOG: MASONRY GALLERY********/


/******** BLOG: MASONRY GALLERY Share options ********/
if(isset($eltd_options['blog_masonry_gallery_show_share']) && $eltd_options['blog_masonry_gallery_show_share'] == 'yes') {

	if(isset($eltd_options['blog_masonry_gallery_share_icon_color']) && $eltd_options['blog_masonry_gallery_share_icon_color'] !== '') {?>
		.blog_holder.blog_masonry_gallery article .blog_share .social_share_dropdown ul li a span.social_network_icon,
		.blog_holder.blog_masonry_gallery article .post_text.link_image .post_text_inner:hover .post_info .social_share_dropdown ul li a span.social_network_icon,
		.blog_holder.blog_masonry_gallery article .social_share_list_holder ul li i
		{
			color:  <?php echo esc_attr($eltd_options['blog_masonry_gallery_share_icon_color']); ?> ;
		}
	<?php } ?>
    <?php if(isset($eltd_options['blog_masonry_gallery_share_hld_hover_icon_color']) && $eltd_options['blog_masonry_gallery_share_hld_hover_icon_color'] !== '') {?>
        .blog_holder.blog_masonry_gallery article.format-link .post_text_inner:hover .social_share_list_holder a > *,
        .blog_holder.blog_masonry_gallery article.format-quote .post_text_inner:hover .social_share_list_holder a > *{
            color:  <?php echo esc_attr($eltd_options['blog_masonry_gallery_share_hld_hover_icon_color']); ?>;
        }
    <?php } ?>
	<?php if(isset($eltd_options['blog_masonry_gallery_share_background_color']) && $eltd_options['blog_masonry_gallery_share_background_color'] !== '') {?>
		.blog_holder.blog_masonry_gallery article .post_text .post_text_inner .post_info .blog_share .social_share_dropdown ul li a,
		.blog_holder.blog_masonry_gallery article  .blog_share .social_share_dropdown ul li a{
		background-color:  <?php echo esc_attr($eltd_options['blog_masonry_gallery_share_background_color']); ?> ;
		}
	<?php } ?>
	<?php if(isset($eltd_options['blog_masonry_gallery_share_icon_hover_color']) && $eltd_options['blog_masonry_gallery_share_icon_hover_color'] !== '') {?>
		.blog_holder.blog_masonry_gallery article .blog_share .social_share_dropdown ul li:hover a span.social_network_icon,
		.blog_holder.blog_masonry_gallery .social_share_dropdown ul li:hover,
		.blog_holder.blog_masonry_gallery .social_share_dropdown ul li:hover a span.social_network_icon,
		.blog_holder.blog_masonry_gallery article .social_share_list_holder ul li i:hover{
			color:  <?php echo esc_attr($eltd_options['blog_masonry_gallery_share_icon_hover_color']); ?> !important;
		}
	<?php } ?>
<?php } ?>


<?php
/******** BLOG: MASONRY GALLERY Alignment ********/
if(isset($eltd_options['blog_masonry_gallery_post_alignment']) && $eltd_options['blog_masonry_gallery_post_alignment'] !== '') {?>
	.blog_holder.blog_masonry_gallery article .post_text .post_text_inner2,
	.blog_holder.blog_masonry_gallery article .post_text .post_info{
	text-align: <?php echo esc_attr($eltd_options['blog_masonry_gallery_post_alignment']); ?>
	}
<?php } ?>

<?php
if(isset($eltd_options['blog_masonry_gallery_article_mark_color']) && $eltd_options['blog_masonry_gallery_article_mark_color'] !== '') { ?>
	.blog_holder.blog_masonry_gallery article .post_text .post_text_inner .post_icon_holder>span:after{
		color : <?php echo esc_attr($eltd_options['blog_masonry_gallery_article_mark_color']);?>
	}
<?php } ?>

<?php
if(isset($eltd_options['blog_masonry_gallery_article_mark_hover_color']) && $eltd_options['blog_masonry_gallery_article_mark_hover_color'] !== '') { ?>
	.blog_holder.blog_masonry_gallery article .post_text .post_text_inner:hover .post_icon_holder>span:after{
		color : <?php echo esc_attr($eltd_options['blog_masonry_gallery_article_mark_hover_color']);?>
	}
<?php } ?>

<?php
if(isset($eltd_options['blog_masonry_gallery_icon_margin_bottom']) && $eltd_options['blog_masonry_gallery_icon_margin_bottom'] !== '') { ?>
	.blog_holder.blog_masonry_gallery article .post_icon_holder{
		margin-bottom : <?php echo esc_attr($eltd_options['blog_masonry_gallery_icon_margin_bottom'].'px');?>
	}
<?php } ?>

<?php
if(isset($eltd_options['blog_masonry_gallery_post_info_margin_top']) && $eltd_options['blog_masonry_gallery_post_info_margin_top'] !== '') { ?>
	.blog_holder.blog_masonry_gallery article .post_text .post_info{
		margin-top : <?php echo esc_attr($eltd_options['blog_masonry_gallery_post_info_margin_top'].'px');?>
	}
<?php } ?>

<?php
if(isset($eltd_options['blog_masonry_gallery_read_more_margin_top']) && $eltd_options['blog_masonry_gallery_read_more_margin_top'] !== '') { ?>
	.blog_holder.blog_masonry_gallery article  a.read_more_button{
		margin-top : <?php echo esc_attr($eltd_options['blog_masonry_gallery_read_more_margin_top'].'px');?>
	}
<?php } ?>

<?php
if(isset($eltd_options['blog_masonry_gallery_social_share_list_margin_top']) && $eltd_options['blog_masonry_gallery_social_share_list_margin_top'] !== '') { ?>
	.blog_holder.blog_masonry_gallery article .social_share_list_holder{
		margin-top : <?php echo esc_attr($eltd_options['blog_masonry_gallery_social_share_list_margin_top'].'px');?>
	}
<?php } ?>

<?php

$blog_masonry_gallery_overlay_color = '';
$blog_masonry_gallery_overlay_transparency_rgba = 1;

if(isset($eltd_options['blog_masonry_gallery_overlay_color']) && $eltd_options['blog_masonry_gallery_overlay_color'] !== ''){
	$blog_masonry_gallery_overlay_color = eltd_hex2rgb($eltd_options['blog_masonry_gallery_overlay_color']);
	if(isset($eltd_options['blog_masonry_gallery_overlay_transparency']) && $eltd_options['blog_masonry_gallery_overlay_transparency'] !== ''){
		$blog_masonry_gallery_overlay_transparency_rgba = $eltd_options['blog_masonry_gallery_overlay_transparency'];
	} ?>
	
	.blog_holder.blog_masonry_gallery article .post_text .post_text_inner:hover,
	.blog_holder article.format-link .post_text .post_text_inner:hover,
	.blog_holder article.format-quote .post_text .post_text_inner:hover {
        background-color: rgba(<?php echo esc_attr($blog_masonry_gallery_overlay_color[0]); ?>,<?php echo esc_attr($blog_masonry_gallery_overlay_color[1]); ?>,<?php echo esc_attr($blog_masonry_gallery_overlay_color[2]); ?>,<?php echo esc_attr($blog_masonry_gallery_overlay_transparency_rgba); ?>)
    }
<?php } ?>


<?php
/**************** BLOG MASONRY GALLERY: Title Style ****************/
$blog_masonry_gallery_title_style = array();

if(isset($eltd_options['blog_masonry_gallery_title_google_fonts']) && $eltd_options['blog_masonry_gallery_title_google_fonts'] !== '-1') {
	$blog_masonry_gallery_title_style[] = 'font-family: '.str_replace('+', ' ', $eltd_options['blog_masonry_gallery_title_google_fonts']).', sans-serif';
}

if(isset($eltd_options['blog_masonry_gallery_title_fontsize']) && $eltd_options['blog_masonry_gallery_title_fontsize'] !== '') {
	$blog_masonry_gallery_title_style[] = 'font-size: '.$eltd_options['blog_masonry_gallery_title_fontsize'].'px';
}

if(isset($eltd_options['blog_masonry_gallery_title_lineheight']) && $eltd_options['blog_masonry_gallery_title_lineheight'] !== '') {
	$blog_masonry_gallery_title_style[] = 'line-height: '.$eltd_options['blog_masonry_gallery_title_lineheight'].'px';
}

if(isset($eltd_options['blog_masonry_gallery_title_letterspacing']) && $eltd_options['blog_masonry_gallery_title_letterspacing'] !== '') {
	$blog_masonry_gallery_title_style[] = 'letter-spacing: '.$eltd_options['blog_masonry_gallery_title_letterspacing'].'px';
}

if(isset($eltd_options['blog_masonry_gallery_title_fontweight']) && $eltd_options['blog_masonry_gallery_title_fontweight'] !== '') {
	$blog_masonry_gallery_title_style[] = 'font-weight: '.$eltd_options['blog_masonry_gallery_title_fontweight'];
}

if(isset($eltd_options['blog_masonry_gallery_title_fontstyle']) && $eltd_options['blog_masonry_gallery_title_fontstyle'] !== '') {
	$blog_masonry_gallery_title_style[] = 'font-style: '.$eltd_options['blog_masonry_gallery_title_fontstyle'];
}

if(isset($eltd_options['blog_masonry_gallery_title_texttransform']) && $eltd_options['blog_masonry_gallery_title_texttransform'] !== '') {
	$blog_masonry_gallery_title_style[] = 'text-transform: '.$eltd_options['blog_masonry_gallery_title_texttransform'];
}

if(is_array($blog_masonry_gallery_title_style) && count($blog_masonry_gallery_title_style)) { ?>
	.blog_holder.blog_masonry_gallery article h4{
	<?php echo esc_attr(implode(';', $blog_masonry_gallery_title_style)); ?>
	}
<?php } ?>

<?php if(isset($eltd_options['blog_masonry_gallery_title_color']) && !empty($eltd_options['blog_masonry_gallery_title_color'])){ ?>
	.blog_holder.blog_masonry_gallery article h4 a{
	color: <?php echo esc_attr($eltd_options['blog_masonry_gallery_title_color']);  ?>;
	}
<?php } ?>

<?php if(isset($eltd_options['blog_masonry_gallery_title_hover_color']) && !empty($eltd_options['blog_masonry_gallery_title_hover_color'])){ ?>
	.blog_holder.blog_masonry_gallery article .post_text .post_text_inner:hover h4 a{
	color: <?php echo esc_attr($eltd_options['blog_masonry_gallery_title_hover_color']);  ?>;
	}
<?php } ?>
<?php
/**************** BLOG MASONRY GALLERY: Info Style ****************/
$blog_masonry_gallery_info_style = array();

if(isset($eltd_options['blog_masonry_gallery_info_google_fonts']) && $eltd_options['blog_masonry_gallery_info_google_fonts'] !== '-1') {
	$blog_masonry_gallery_info_style[] = 'font-family: '.str_replace('+', ' ', $eltd_options['blog_masonry_gallery_info_google_fonts']).', sans-serif';
}

if(isset($eltd_options['blog_masonry_gallery_info_fontsize']) && $eltd_options['blog_masonry_gallery_info_fontsize'] !== '') {
	$blog_masonry_gallery_info_style[] = 'font-size: '.$eltd_options['blog_masonry_gallery_info_fontsize'].'px';
}

if(isset($eltd_options['blog_masonry_gallery_info_lineheight']) && $eltd_options['blog_masonry_gallery_info_lineheight'] !== '') {
	$blog_masonry_gallery_info_style[] = 'line-height: '.$eltd_options['blog_masonry_gallery_info_lineheight'].'px';
}

if(isset($eltd_options['blog_masonry_gallery_info_letterspacing']) && $eltd_options['blog_masonry_gallery_info_letterspacing'] !== '') {
	$blog_masonry_gallery_info_style[] = 'letter-spacing: '.$eltd_options['blog_masonry_gallery_info_letterspacing'].'px';
}

if(isset($eltd_options['blog_masonry_gallery_info_fontweight']) && $eltd_options['blog_masonry_gallery_info_fontweight'] !== '') {
	$blog_masonry_gallery_info_style[] = 'font-weight: '.$eltd_options['blog_masonry_gallery_info_fontweight'];
}

if(isset($eltd_options['blog_masonry_gallery_info_fontstyle']) && $eltd_options['blog_masonry_gallery_info_fontstyle'] !== '') {
	$blog_masonry_gallery_info_style[] = 'font-style: '.$eltd_options['blog_masonry_gallery_info_fontstyle'];
}

if(isset($eltd_options['blog_masonry_gallery_info_texttransform']) && $eltd_options['blog_masonry_gallery_info_texttransform'] !== '') {
	$blog_masonry_gallery_info_style[] = 'text-transform: '.$eltd_options['blog_masonry_gallery_info_texttransform'];
}

if(is_array($blog_masonry_gallery_info_style) && count($blog_masonry_gallery_info_style)) { ?>

	.blog_holder.blog_masonry_gallery article .post_text .post_text_inner .post_info div{
	<?php echo esc_attr(implode(';', $blog_masonry_gallery_info_style)); ?>
	}
<?php } ?>

<?php if(isset($eltd_options['blog_masonry_gallery_info_color']) && !empty($eltd_options['blog_masonry_gallery_info_color'])){ ?>
	.blog_holder.blog_masonry_gallery article .post_text .post_text_inner .post_info{
	color: <?php echo esc_attr($eltd_options['blog_masonry_gallery_info_color']);  ?>;
	}
<?php } ?>

<?php if(isset($eltd_options['blog_masonry_gallery_info_link_color']) && !empty($eltd_options['blog_masonry_gallery_info_link_color'])){ ?>
	.blog_holder.blog_masonry_gallery article .post_text .post_text_inner .post_info div a{
	color: <?php echo esc_attr($eltd_options['blog_masonry_gallery_info_link_color']);  ?>;
	}
<?php } ?>


<?php if(isset($eltd_options['blog_masonry_gallery_info_hover_color']) && !empty($eltd_options['blog_masonry_gallery_info_hover_color'])){ ?>
	.blog_holder.blog_masonry_gallery article .post_text .post_text_inner:hover .post_info div a,
	.blog_holder.blog_masonry_gallery article .post_text .post_text_inner:hover .post_info div{
	color: <?php echo esc_attr($eltd_options['blog_masonry_gallery_info_hover_color']);  ?>;
	}

<?php } ?>
<?php
//generate BLOG MASONRY GALLERY categories filter title styles
$blog_masonry_gallery_filter_title_font_styles = '';
if(isset($eltd_options['blog_masonry_gallery_filter_title_color']) && $eltd_options['blog_masonry_gallery_filter_title_color'] !== '') {
    $blog_masonry_gallery_filter_title_font_styles .= 'color: '.esc_attr($eltd_options['blog_masonry_gallery_filter_title_color']).';';
}

if(isset($eltd_options['blog_masonry_gallery_filter_title_font_family']) && $eltd_options['blog_masonry_gallery_filter_title_font_family'] !== '-1') {
    $blog_masonry_gallery_filter_title_font_styles .= 'font-family: '.str_replace('+', ' ', $eltd_options['blog_masonry_gallery_filter_title_font_family']).';';
}

if(isset($eltd_options['blog_masonry_gallery_filter_title_font_size']) && $eltd_options['blog_masonry_gallery_filter_title_font_size'] !== '') {
    $blog_masonry_gallery_filter_title_font_styles .= 'font-size: '.esc_attr($eltd_options['blog_masonry_gallery_filter_title_font_size']).'px;';
}

if(isset($eltd_options['blog_masonry_gallery_filter_title_line_height']) && $eltd_options['blog_masonry_gallery_filter_title_line_height'] !== '') {
    $blog_masonry_gallery_filter_title_font_styles .= 'line-height: '.esc_attr($eltd_options['blog_masonry_gallery_filter_title_line_height']).'px;';
}

if(isset($eltd_options['blog_masonry_gallery_filter_title_font_style']) && $eltd_options['blog_masonry_gallery_filter_title_font_style'] !== '') {
    $blog_masonry_gallery_filter_title_font_styles .= 'font-style: '.esc_attr($eltd_options['blog_masonry_gallery_filter_title_font_style']).';';
}

if(isset($eltd_options['blog_masonry_gallery_filter_title_font_weight']) && $eltd_options['blog_masonry_gallery_filter_title_font_weight'] !== '') {
    $blog_masonry_gallery_filter_title_font_styles .= 'font-weight: '.esc_attr($eltd_options['blog_masonry_gallery_filter_title_font_weight']).';';
}

if(isset($eltd_options['blog_masonry_gallery_filter_title_letter_spacing']) && $eltd_options['blog_masonry_gallery_filter_title_letter_spacing'] !== '') {
    $blog_masonry_gallery_filter_title_font_styles .= 'letter-spacing: '.esc_attr($eltd_options['blog_masonry_gallery_filter_title_letter_spacing']).'px;';
}

if(isset($eltd_options['blog_masonry_gallery_filter_title_text_transform']) && $eltd_options['blog_masonry_gallery_filter_title_text_transform'] !== '') {
    $portfolio_filter_title_font_styles .= 'text-transform: '.esc_attr($eltd_options['blog_masonry_gallery_filter_title_text_transform']).';';
}

if($blog_masonry_gallery_filter_title_font_styles !== '') {
    ?>
    .page-template-blog-masonry-gallery .filter_blog .filter_holder ul li.filter_title span{
    <?php echo esc_attr($blog_masonry_gallery_filter_title_font_styles); ?>
    }
<?php } ?>

<?php
//generate BLOG MASONRY filter styles
$blog_masonry_gallery_filter_font_styles = '';
$blog_masonry_gallery_filter_font_hover_styles = '';
if(isset($eltd_options['blog_masonry_gallery_filter_color']) && $eltd_options['blog_masonry_gallery_filter_color'] !== '') {
    $blog_masonry_gallery_filter_font_styles .= 'color: '.esc_attr($eltd_options['blog_masonry_gallery_filter_color']).';';
}

if(isset($eltd_options['blog_masonry_gallery_filter_hovercolor']) && $eltd_options['blog_masonry_gallery_filter_hovercolor'] !== '') {
    $blog_masonry_gallery_filter_font_hover_styles .= 'color: '.esc_attr($eltd_options['blog_masonry_gallery_filter_hovercolor']).' !important;';
}

if(isset($eltd_options['blog_masonry_gallery_filter_font_family']) && $eltd_options['blog_masonry_gallery_filter_font_family'] !== '-1') {
    $blog_masonry_gallery_filter_font_styles .= 'font-family: '.str_replace('+', ' ', $eltd_options['blog_masonry_gallery_filter_font_family']).';';
}

if(isset($eltd_options['blog_masonry_gallery_filter_font_size']) && $eltd_options['blog_masonry_gallery_filter_font_size'] !== '') {
    $blog_masonry_gallery_filter_font_styles .= 'font-size: '.esc_attr($eltd_options['blog_masonry_gallery_filter_font_size']).'px;';
}

if(isset($eltd_options['blog_masonry_gallery_filter_line_height']) && $eltd_options['blog_masonry_gallery_filter_line_height'] !== '') {
    $blog_masonry_gallery_filter_font_styles .= 'line-height: '.esc_attr($eltd_options['blog_masonry_gallery_filter_line_height']).'px;';
}

if(isset($eltd_options['blog_masonry_gallery_filter_font_style']) && $eltd_options['blog_masonry_gallery_filter_font_style'] !== '') {
    $blog_masonry_gallery_filter_font_styles .= 'font-style: '.esc_attr($eltd_options['blog_masonry_gallery_filter_font_style']).';';
}

if(isset($eltd_options['blog_masonry_gallery_filter_font_weight']) && $eltd_options['blog_masonry_gallery_filter_font_weight'] !== '') {
    $blog_masonry_gallery_filter_font_styles .= 'font-weight: '.esc_attr($eltd_options['blog_masonry_gallery_filter_font_weight']).';';
}

if(isset($eltd_options['blog_masonry_gallery_filter_letter_spacing']) && $eltd_options['blog_masonry_gallery_filter_letter_spacing'] !== '') {
    $blog_masonry_gallery_filter_font_styles .= 'letter-spacing: '.esc_attr($eltd_options['blog_masonry_gallery_filter_letter_spacing']).'px;';
}

if(isset($eltd_options['blog_masonry_gallery_filter_text_transform']) && $eltd_options['blog_masonry_gallery_filter_text_transform'] !== '') {
    $blog_masonry_gallery_filter_font_styles .= 'text-transform: '.esc_attr($eltd_options['blog_masonry_gallery_filter_text_transform']).';';
}

if($blog_masonry_gallery_filter_font_styles !== '') {
    ?>
    .page-template-blog-masonry-gallery .filter_blog .filter_holder ul li:not(.filter_title) span{
    <?php echo esc_attr($blog_masonry_gallery_filter_font_styles); ?>
    }
    <?php
    if($eltd_options['blog_masonry_gallery_filter_color'] !== ''){
        ?>
        .page-template-blog-masonry-gallery .filter_blog .filter_holder ul li span:after{
        color: <?php echo esc_attr($eltd_options['blog_masonry_gallery_filter_color']); ?>;
        }
    <?php
    }
}
if($blog_masonry_gallery_filter_font_hover_styles !== '') {
    ?>
    .page-template-blog-masonry-gallery .filter_blog .filter_holder ul li.current span,
    .page-template-blog-masonry-gallery .filter_blog .filter_holder ul li:not(.filter_title):hover span{
    <?php echo esc_attr($blog_masonry_gallery_filter_font_hover_styles); ?>
    }

<?php
}
?>

<?php
$blog_masonry_gallery_filter_styles = '';
if(isset($eltd_options['blog_masonry_gallery_filter_height']) && $eltd_options['blog_masonry_gallery_filter_height'] !== '') {
    $blog_masonry_gallery_filter_styles .= 'height: '.$eltd_options['blog_masonry_gallery_filter_height'].'px;';
    $blog_masonry_gallery_filter_styles .= 'line-height: '.$eltd_options['blog_masonry_gallery_filter_height'].'px;';
}

if(isset($eltd_options['blog_masonry_gallery_filter_background_color']) && $eltd_options['blog_masonry_gallery_filter_background_color'] !== '') {
    $blog_masonry_gallery_filter_styles .= 'background-color: '.$eltd_options['blog_masonry_gallery_filter_background_color'].';';
}

if(isset($eltd_options['blog_masonry_gallery_filter_margin_bottom']) && $eltd_options['blog_masonry_gallery_filter_margin_bottom'] !== '') {
    $blog_masonry_gallery_filter_styles .= 'margin-bottom: '.$eltd_options['blog_masonry_gallery_filter_margin_bottom'].'px;';
}
if(isset($eltd_options['blog_masonry_gallery_filter_alignment']) && $eltd_options['blog_masonry_gallery_filter_alignment'] !== '') {
    $blog_masonry_gallery_filter_styles .= 'text-align: '.$eltd_options['blog_masonry_gallery_filter_alignment'].';';
}
if($blog_masonry_gallery_filter_styles !== '') {
    ?>
    .page-template-blog-masonry-gallery .filter_outer.filter_blog{
    <?php echo esc_attr($blog_masonry_gallery_filter_styles); ?>
    }
<?php
}
?>

<?php

$blog_masonry_gallery_full_width_template_margin_styles = array();

if(isset($eltd_options['blog_masonry_gallery_full_width_margin']) && $eltd_options['blog_masonry_gallery_full_width_margin'] !== '') {
    $blog_masonry_gallery_full_width_template_margin_styles[] = 'padding: '.$eltd_options['blog_masonry_gallery_full_width_margin'];
}

if(is_array($blog_masonry_gallery_full_width_template_margin_styles) && count($blog_masonry_gallery_full_width_template_margin_styles)) { ?>
    body.page-template-blog-masonry-gallery-full-width-php .content .full_width .full_width_inner,
	.content .full_width.blog_masonry_gallery_full_width_template .full_width_inner{
    <?php echo esc_attr(implode(';', $blog_masonry_gallery_full_width_template_margin_styles)); ?>
    }
<?php } ?>


<?php
/******** BLOG: MASONRY********/


/******** BLOG: MASONRY Share options ********/
if(isset($eltd_options['blog_masonry_show_share']) && $eltd_options['blog_masonry_show_share'] == 'yes') {

	if(isset($eltd_options['blog_masonry_share_icon_color']) && $eltd_options['blog_masonry_share_icon_color'] !== '') {?>
		.blog_holder.masonry article .blog_share .social_share_dropdown ul li a span.social_network_icon,
		.blog_holder.masonry_full_width article  .blog_share .social_share_dropdown ul li a span.social_network_icon,
		.blog_holder.masonry article.format-link .post_text.link_image .post_text_inner:hover .post_info .social_share_dropdown ul li a span.social_network_icon,
		.blog_holder.masonry article .social_share_list_holder ul li i,
		.blog_holder.masonry_full_width .social_share_list_holder ul li i
		{
			color:  <?php echo esc_attr($eltd_options['blog_masonry_share_icon_color']); ?> ;
		}
	<?php } ?>

    <?php if(isset($eltd_options['blog_masonry_share_icon_color_link_post_type']) && $eltd_options['blog_masonry_share_icon_color_link_post_type'] !== '') {?>
        .blog_holder.masonry article.format-link .blog_share .social_share_dropdown ul li a span.social_network_icon,
        .blog_holder.masonry_full_width article.format-link  .blog_share .social_share_dropdown ul li a span.social_network_icon,
        .blog_holder.masonry article.format-link .post_text.link_image .post_text_inner:hover .post_info .social_share_dropdown ul li a span.social_network_icon,
        .blog_holder.masonry article.format-link .social_share_list_holder ul li i,
        .blog_holder.masonry_full_width article.format-link .social_share_list_holder ul li i,
        .blog_holder.masonry article.format-quote .blog_share .social_share_dropdown ul li a span.social_network_icon,
        .blog_holder.masonry_full_width article.format-quote  .blog_share .social_share_dropdown ul li a span.social_network_icon,
        .blog_holder.masonry article.format-quote .post_text.link_image .post_text_inner:hover .post_info .social_share_dropdown ul li a span.social_network_icon,
        .blog_holder.masonry article.format-quote .social_share_list_holder ul li i,
        .blog_holder.masonry_full_width article.format-quote .social_share_list_holder ul li i
        {
            color:  <?php echo esc_attr($eltd_options['blog_masonry_share_icon_color_link_post_type']); ?> ;
        }
    <?php } ?>

    <?php if(isset($eltd_options['blog_masonry_share_hld_hover_icon_color']) && $eltd_options['blog_masonry_share_hld_hover_icon_color'] !== '') {?>
        .blog_holder.masonry article.format-link .post_text_inner:hover .social_share_list_holder a > *,
        .blog_holder.masonry article.format-quote .post_text_inner:hover .social_share_list_holder a > *,
        .blog_holder.masonry_full_width article.format-link .post_text_inner:hover .social_share_list_holder a > *,
        .blog_holder.masonry_full_width article.format-quote .post_text_inner:hover .social_share_list_holder a > *{
            color:  <?php echo esc_attr($eltd_options['blog_masonry_share_hld_hover_icon_color']); ?>;
        }
    <?php } ?>

	<?php if(isset($eltd_options['blog_masonry_share_background_color']) && $eltd_options['blog_masonry_share_background_color'] !== '') {?>
		.blog_holder.masonry article .post_text .post_text_inner .post_info .blog_share .social_share_dropdown ul li a,
		.blog_holder.masonry article  .blog_share .social_share_dropdown ul li a,
		.blog_holder.masonry_full_width article  .blog_share .social_share_dropdown ul li a{
		background-color:  <?php echo esc_attr($eltd_options['blog_masonry_share_background_color']); ?> ;
		}
	<?php } ?>

    <?php if(isset($eltd_options['blog_masonry_share_background_color_link_post_type']) && $eltd_options['blog_masonry_share_background_color_link_post_type'] !== '') {?>
        .blog_holder.masonry article.format-link .post_text .post_text_inner .post_info .blog_share .social_share_dropdown ul li a,
        .blog_holder.masonry article.format-link  .blog_share .social_share_dropdown ul li a,
        .blog_holder.masonry_full_width article.format-link  .blog_share .social_share_dropdown ul li a,
        .blog_holder.masonry article.format-quote .post_text .post_text_inner .post_info .blog_share .social_share_dropdown ul li a,
        .blog_holder.masonry article.format-quote  .blog_share .social_share_dropdown ul li a,
        .blog_holder.masonry_full_width article.format-quote  .blog_share .social_share_dropdown ul li a{
        background-color:  <?php echo esc_attr($eltd_options['blog_masonry_share_background_color_link_post_type']); ?> ;
        }
    <?php } ?>

	<?php if(isset($eltd_options['blog_masonry_share_icon_hover_color']) && $eltd_options['blog_masonry_share_icon_hover_color'] !== '') {?>
		.blog_holder.masonry article .blog_share .social_share_dropdown ul li:hover a span.social_network_icon,
		.blog_holder.masonry_full_width article  .blog_share .social_share_dropdown ul li:hover a span.social_network_icon,
		.blog_holder.masonry .social_share_dropdown ul li:hover,
		.blog_holder.masonry .social_share_dropdown ul li:hover a span.social_network_icon,
		.blog_holder.masonry article .social_share_list_holder ul li i:hover,
		.blog_holder.masonry_full_width .social_share_list_holder ul li i:hover{
			color:  <?php echo esc_attr($eltd_options['blog_masonry_share_icon_hover_color']); ?> !important;
		}
	<?php } ?>

    <?php if(isset($eltd_options['blog_masonry_share_icon_hover_color_link_post_type']) && $eltd_options['blog_masonry_share_icon_hover_color_link_post_type'] !== '') {?>
        .blog_holder.masonry article.format-link .blog_share .social_share_dropdown ul li:hover a span.social_network_icon,
        .blog_holder.masonry_full_width article.format-link  .blog_share .social_share_dropdown ul li:hover a span.social_network_icon,
        .blog_holder.masonry article.format-link .social_share_dropdown ul li:hover,
        .blog_holder.masonry article.format-link .social_share_dropdown ul li:hover a span.social_network_icon,
        .blog_holder.masonry article.format-link .social_share_list_holder ul li i:hover,
        .blog_holder.masonry_full_width article.format-link .social_share_list_holder ul li i:hover,
        .blog_holder.masonry article.format-quote .blog_share .social_share_dropdown ul li:hover a span.social_network_icon,
        .blog_holder.masonry_full_width article.format-quote  .blog_share .social_share_dropdown ul li:hover a span.social_network_icon,
        .blog_holder.masonry article.format-quote .social_share_dropdown ul li:hover,
        .blog_holder.masonry article.format-quote .social_share_dropdown ul li:hover a span.social_network_icon,
        .blog_holder.masonry article.format-quote .social_share_list_holder ul li i:hover,
        .blog_holder.masonry_full_width article.format-quote .social_share_list_holder ul li i:hover{
            color:  <?php echo esc_attr($eltd_options['blog_masonry_share_icon_hover_color_link_post_type']); ?> !important;
        }
    <?php } ?>
<?php } ?>


<?php
/******** BLOG: MASONRY Alignment ********/
if(isset($eltd_options['blog_masonry_post_alignment']) && $eltd_options['blog_masonry_post_alignment'] !== '') {?>
	.blog_holder.masonry .post_text .post_text_inner,
	.blog_holder.masonry_full_width .post_text .post_text_inner,
	.blog_holder.masonry article.format-link .post_text .post_info,
	.blog_holder.masonry_full_width article.format-link .post_text .post_info,
	.blog_holder.masonry article.format-quote .post_text .post_info,
	.blog_holder.masonry_full_width article.format-quote .post_text .post_info{
	text-align: <?php echo esc_attr($eltd_options['blog_masonry_post_alignment']); ?>
	}
<?php } ?>

<?php
/******** BLOG: MASONRY Text Box ********/
if(isset($eltd_options['blog_masonry_enable_text_box']) && $eltd_options['blog_masonry_enable_text_box'] == 'yes') {
	$blog_box_style = array();
	?>
	.blog_holder.masonry article .audio_image,
	.blog_holder.masonry article:not(.format-audio) .post_image,
	.blog_holder.masonry_full_width article .audio_image,
	.blog_holder.masonry_full_width article:not(.format-audio) .post_image{
		margin-bottom: 0;
	}
	<?php
	if(isset($eltd_options['blog_masonry_box_background_color']) && $eltd_options['blog_masonry_box_background_color'] !== '') {
		$blog_box_style[] = 'background-color: '.$eltd_options['blog_masonry_box_background_color'];
	}

	if(isset($eltd_options['blog_masonry_box_border_color']) && $eltd_options['blog_masonry_box_border_color'] !== '') {
		$blog_box_style[] = 'border: 1px solid';
		$blog_box_style[] = 'border-color: '.$eltd_options['blog_masonry_box_border_color'];
	}

	if(isset($eltd_options['blog_masonry_box_padding']) && $eltd_options['blog_masonry_box_padding'] !== '') {
		$blog_box_style[] = 'padding: '.$eltd_options['blog_masonry_box_padding'];
	}

	if(is_array($blog_box_style) && count($blog_box_style)) { ?>
		.blog_holder.masonry article:not(.format-link):not(.format-quote) .post_text .post_text_inner,
		.blog_holder.masonry_full_width article:not(.format-link):not(.format-quote) .post_text .post_text_inner{
		<?php echo esc_attr(implode(';', $blog_box_style)); ?>
		}
	<?php }} ?>

<?php
   if(isset($eltd_options['blog_masonry_paragraph_color']) && $eltd_options['blog_masonry_paragraph_color'] !== '') { ?>
        .blog_holder.masonry article .post_excerpt,
		.blog_holder.masonry_full_width article .post_excerpt{
			color : <?php echo esc_attr($eltd_options['blog_masonry_paragraph_color']) ;?>
		}
  <?php } ?>


<?php
/******** BLOG: MASONRY Quote/Link Text Box ********/
if(isset($eltd_options['blog_masonry_ql_background_color']) &&($eltd_options['blog_masonry_ql_background_color'])!==""){ ?>
	.blog_holder.masonry article.format-link .post_text .post_text_inner,
	.blog_holder.masonry_full_width article.format-link .post_text .post_text_inner,
	.blog_holder.masonry article.format-quote .post_text .post_text_inner,
	.blog_holder.masonry_full_width article.format-quote .post_text .post_text_inner{
	background-color: <?php echo esc_attr($eltd_options['blog_masonry_ql_background_color']);  ?>;
	}
	<?php  $blog_masonry_ql_background_color = eltd_hex2rgb($eltd_options['blog_masonry_ql_background_color']); ?>

	.blog_holder.masonry article.format-link .post_text.link_image .post_text_inner,
	.blog_holder.masonry_full_width article.format-link .post_text.link_image .post_text_inner,
	.blog_holder.masonry article.format-quote .post_text.quote_image .post_text_inner,
	.blog_holder.masonry_full_width article.format-quote .post_text.quote_image .post_text_inner{
	<?php if (!empty($eltd_options['blog_masonry_ql_background_color'])) { ?>  background-color: rgba(<?php echo esc_attr($blog_masonry_ql_background_color[0]); ?>,<?php echo esc_attr($blog_masonry_ql_background_color[1]); ?>,<?php echo esc_attr($blog_masonry_ql_background_color[2]); ?>,0.85); <?php } ?>
	}
<?php } ?>

<?php if(isset($eltd_options['blog_masonry_ql_hover_background_color']) && !empty($eltd_options['blog_masonry_ql_hover_background_color'])){ ?>
	.blog_holder.masonry article.format-link .post_text .post_text_inner:hover,
	.blog_holder.masonry article.format-quote .post_text .post_text_inner:hover,
	.blog_holder.masonry_full_width article.format-link .post_text .post_text_inner:hover,
	.blog_holder.masonry_full_width article.format-quote .post_text .post_text_inner:hover{
	background-color: <?php echo esc_attr($eltd_options['blog_masonry_ql_hover_background_color']);  ?>;
	}
	<?php  $blog_masonry_ql_hover_background_color = eltd_hex2rgb($eltd_options['blog_masonry_ql_hover_background_color']); ?>

	.blog_holder.masonry article.format-link .post_text.link_image .post_text_inner:hover,
	.blog_holder.masonry article.format-quote .post_text.quote_image .post_text_inner:hover,
	.blog_holder.masonry_full_width article.format-link .post_text.link_image .post_text_inner:hover,
	.blog_holder.masonry_full_width article.format-quote .post_text.quote_image .post_text_inner:hover{
	<?php if (!empty($eltd_options['blog_masonry_ql_hover_background_color'])) { ?>  background-color: rgba(<?php echo esc_attr($blog_masonry_ql_hover_background_color[0]); ?>,<?php echo esc_attr($blog_masonry_ql_hover_background_color[1]); ?>,<?php echo esc_attr($blog_masonry_ql_hover_background_color[2]); ?>,0.6); <?php } ?>
	}

<?php } ?>

<?php
if(isset($eltd_options['blog_masonry_image_margin_bottom']) && $eltd_options['blog_masonry_image_margin_bottom'] !== '') { ?>
	.blog_holder.masonry article:not(.format-audio) .post_image,
	.blog_holder.masonry_full_width article:not(.format-audio) .post_image,
	.blog_holder.masonry article .audio_image,
	.blog_holder.masonry_full_width article .audio_image{
		margin-bottom : <?php echo esc_attr($eltd_options['blog_masonry_image_margin_bottom'].'px !important');?>
	}
<?php } ?>

<?php
if(isset($eltd_options['blog_masonry_title_margin_bottom']) && $eltd_options['blog_masonry_title_margin_bottom'] !== '') { ?>
	.blog_holder.masonry article .post_text h4,
	.blog_holder.masonry_full_width article .post_text h4{
		margin-bottom : <?php echo esc_attr($eltd_options['blog_masonry_title_margin_bottom'].'px');?>
	}
<?php } ?>

<?php
if(isset($eltd_options['blog_masonry_post_info_margin_bottom']) && $eltd_options['blog_masonry_post_info_margin_bottom'] !== '') { ?>
	.blog_holder.masonry article:not(.format-link):not(.format-quote) .post_info,
	.blog_holder.masonry_full_width article:not(.format-link):not(.format-quote) .post_info{
		margin-bottom : <?php echo esc_attr($eltd_options['blog_masonry_post_info_margin_bottom'].'px');?>
	}
<?php } ?>

<?php
if(isset($eltd_options['blog_masonry_read_more_margin_top']) && $eltd_options['blog_masonry_read_more_margin_top'] !== '') { ?>
	.blog_holder.masonry article .post_text_inner a.read_more_button,
	.blog_holder.masonry_full_width article .post_text_inner a.read_more_button{
		margin-top : <?php echo esc_attr($eltd_options['blog_masonry_read_more_margin_top'].'px');?>
	}
<?php } ?>

<?php
if(isset($eltd_options['blog_masonry_social_share_list_margin_top']) && $eltd_options['blog_masonry_social_share_list_margin_top'] !== '') { ?>
	.blog_holder.masonry article:not(.format-link):not(.format-quote) .post_text_inner .social_share_list_holder,
	.blog_holder.masonry_full_width article:not(.format-link):not(.format-quote) .post_text_inner .social_share_list_holder{
		margin-top : <?php echo esc_attr($eltd_options['blog_masonry_social_share_list_margin_top'].'px');?>
	}
<?php } ?>

<?php
if(isset($eltd_options['blog_masonry_article_margin_bottom']) && $eltd_options['blog_masonry_article_margin_bottom'] !== '') { ?>
	.blog_holder.masonry article,
	.blog_holder.masonry_full_width article{
		margin-bottom : <?php echo esc_attr($eltd_options['blog_masonry_article_margin_bottom'].'px');?>
	}
<?php } ?>

<?php
if(isset($eltd_options['blog_masonry_post_info_bottom_margin_top']) && $eltd_options['blog_masonry_post_info_bottom_margin_top'] !== '') { ?>
	.blog_holder.masonry article:not(.format-link):not(.format-quote) .post_info.post_info_bottom,
	.blog_holder.masonry_full_width article:not(.format-link):not(.format-quote) .post_info.post_info_bottom{
		margin-top : <?php echo esc_attr($eltd_options['blog_masonry_post_info_bottom_margin_top'].'px');?>
	}
<?php } ?>

<?php
if(isset($eltd_options['blog_masonry_ql_title_margin_bottom']) && $eltd_options['blog_masonry_ql_title_margin_bottom'] !== '') { ?>
	.blog_holder.masonry article.format-quote .post_text_inner h3,
	.blog_holder.masonry article.format-link .post_text .post_text_inner h3,
	.blog_holder.masonry_full_width article.format-quote .post_text .post_text_inner h3,
	.blog_holder.masonry_full_width article.format-link .post_text .post_text_inner h3{
		padding-bottom : <?php echo esc_attr($eltd_options['blog_masonry_ql_title_margin_bottom'].'px');?>
	}
<?php } ?>

<?php
if(isset($eltd_options['blog_masonry_ql_quote_author_margin_bottom']) && $eltd_options['blog_masonry_ql_quote_author_margin_bottom'] !== '') { ?>
	.blog_holder.masonry article.format-quote .post_text_inner .quote_author,
	.blog_holder.masonry_full_width article.format-quote .post_text_inner .quote_author{
		padding-bottom : <?php echo esc_attr($eltd_options['blog_masonry_ql_quote_author_margin_bottom'].'px');?>;
	}
<?php } ?>

<?php
if(isset($eltd_options['blog_masonry_ql_social_share_list_margin_top']) && $eltd_options['blog_masonry_ql_social_share_list_margin_top'] !== '') { ?>
	.blog_holder.masonry article.format-quote .post_text_inner .social_share_list_holder,
	.blog_holder.masonry article.format-link .post_text .post_text_inner .social_share_list_holder,
	.blog_holder.masonry_full_width article.format-quote .post_text .post_text_inner .social_share_list_holder,
	.blog_holder.masonry_full_width article.format-link .post_text .post_text_inner .social_share_list_holder{
		margin-top : <?php echo esc_attr($eltd_options['blog_masonry_ql_social_share_list_margin_top'].'px');?>
	}
<?php } ?>

<?php
$blog_masonry_article_border_style = array();

if(isset($eltd_options['blog_masonry_article_border_width']) && $eltd_options['blog_masonry_article_border_width'] !== '') {
	$blog_masonry_article_border_style[] = 'border-width: '.$eltd_options['blog_masonry_article_border_width'].'px';
}
else {
	$blog_masonry_article_border_style[] = 'border-width: 1px';
} ?>

<?php if(isset($eltd_options['blog_masonry_article_border_color']) && !empty($eltd_options['blog_masonry_article_border_color'])){
	$blog_masonry_article_border_style[] = 'border-color: '.$eltd_options['blog_masonry_article_border_color'];
	$blog_masonry_article_border_style[] = 'border-style: solid';
}

if(is_array($blog_masonry_article_border_style) && count($blog_masonry_article_border_style)) { ?>
	.blog_holder.masonry article,
	.blog_holder.masonry_full_width article{
	<?php echo esc_attr(implode(';', $blog_masonry_article_border_style)); ?>
	}
<?php } ?>


<?php
/**************** BLOG MASONRY: Title Style ****************/
$blog_masonry_title_style = array();

if(isset($eltd_options['blog_masonry_title_google_fonts']) && $eltd_options['blog_masonry_title_google_fonts'] !== '-1') {
	$blog_masonry_title_style[] = 'font-family: '.str_replace('+', ' ', $eltd_options['blog_masonry_title_google_fonts']).', sans-serif';
}

if(isset($eltd_options['blog_masonry_title_fontsize']) && $eltd_options['blog_masonry_title_fontsize'] !== '') {
	$blog_masonry_title_style[] = 'font-size: '.$eltd_options['blog_masonry_title_fontsize'].'px';
}

if(isset($eltd_options['blog_masonry_title_lineheight']) && $eltd_options['blog_masonry_title_lineheight'] !== '') {
	$blog_masonry_title_style[] = 'line-height: '.$eltd_options['blog_masonry_title_lineheight'].'px';
}

if(isset($eltd_options['blog_masonry_title_letterspacing']) && $eltd_options['blog_masonry_title_letterspacing'] !== '') {
	$blog_masonry_title_style[] = 'letter-spacing: '.$eltd_options['blog_masonry_title_letterspacing'].'px';
}

if(isset($eltd_options['blog_masonry_title_fontweight']) && $eltd_options['blog_masonry_title_fontweight'] !== '') {
	$blog_masonry_title_style[] = 'font-weight: '.$eltd_options['blog_masonry_title_fontweight'];
}

if(isset($eltd_options['blog_masonry_title_fontstyle']) && $eltd_options['blog_masonry_title_fontstyle'] !== '') {
	$blog_masonry_title_style[] = 'font-style: '.$eltd_options['blog_masonry_title_fontstyle'];
}

if(isset($eltd_options['blog_masonry_title_texttransform']) && $eltd_options['blog_masonry_title_texttransform'] !== '') {
	$blog_masonry_title_style[] = 'text-transform: '.$eltd_options['blog_masonry_title_texttransform'];
}

if(is_array($blog_masonry_title_style) && count($blog_masonry_title_style)) { ?>
	.blog_holder.masonry article:not(.format-quote):not(.format-link) h4,
	.blog_holder.masonry_full_width article:not(.format-quote):not(.format-link) h4{
	<?php echo esc_attr(implode(';', $blog_masonry_title_style)); ?>
	}
<?php } ?>

<?php if(isset($eltd_options['blog_masonry_title_color']) && !empty($eltd_options['blog_masonry_title_color'])){ ?>
	.blog_holder.masonry article:not(.format-quote):not(.format-link) h4 a,
	.blog_holder.masonry_full_width article:not(.format-quote):not(.format-link) h4 a{
	color: <?php echo esc_attr($eltd_options['blog_masonry_title_color']);  ?>;
	}
<?php } ?>

<?php if(isset($eltd_options['blog_masonry_title_hover_color']) && !empty($eltd_options['blog_masonry_title_hover_color'])){ ?>
	.blog_holder.masonry article:not(.format-quote):not(.format-link) h4 a:hover,
	.blog_holder.masonry_full_width article:not(.format-quote):not(.format-link) h4 a:hover{
	color: <?php echo esc_attr($eltd_options['blog_masonry_title_hover_color']);  ?>;
	}
<?php } ?>
<?php if(isset($eltd_options['blog_masonry_title_date_color']) && !empty($eltd_options['blog_masonry_title_date_color'])){ ?>
	.blog_holder.masonry article:not(.format-quote):not(.format-link) h4 .date,
	.blog_holder.masonry_full_width article:not(.format-quote):not(.format-link) h4 .date{
	color: <?php echo esc_attr($eltd_options['blog_masonry_title_date_color']);  ?>;
	}
<?php } ?>
<?php
/**************** BLOG MASONRY: Qoute/Link Title Style ****************/
$blog_masonry_ql_title_style = array();

if(isset($eltd_options['blog_masonry_ql_title_google_fonts']) && $eltd_options['blog_masonry_ql_title_google_fonts'] !== '-1') {
	$blog_masonry_ql_title_style[] = 'font-family: '.str_replace('+', ' ', $eltd_options['blog_masonry_ql_title_google_fonts']).', sans-serif';
}

if(isset($eltd_options['blog_masonry_ql_title_fontsize']) && $eltd_options['blog_masonry_ql_title_fontsize'] !== '') {
	$blog_masonry_ql_title_style[] = 'font-size: '.$eltd_options['blog_masonry_ql_title_fontsize'].'px';
}

if(isset($eltd_options['blog_masonry_ql_title_lineheight']) && $eltd_options['blog_masonry_ql_title_lineheight'] !== '') {
	$blog_masonry_ql_title_style[] = 'line-height: '.$eltd_options['blog_masonry_ql_title_lineheight'].'px';
}

if(isset($eltd_options['blog_masonry_ql_title_letterspacing']) && $eltd_options['blog_masonry_ql_title_letterspacing'] !== '') {
	$blog_masonry_ql_title_style[] = 'letter-spacing: '.$eltd_options['blog_masonry_ql_title_letterspacing'].'px';
}

if(isset($eltd_options['blog_masonry_ql_title_fontweight']) && $eltd_options['blog_masonry_ql_title_fontweight'] !== '') {
	$blog_masonry_ql_title_style[] = 'font-weight: '.$eltd_options['blog_masonry_ql_title_fontweight'];
}

if(isset($eltd_options['blog_masonry_ql_title_fontstyle']) && $eltd_options['blog_masonry_ql_title_fontstyle'] !== '') {
	$blog_masonry_ql_title_style[] = 'font-style: '.$eltd_options['blog_masonry_ql_title_fontstyle'];
}

if(isset($eltd_options['blog_masonry_ql_title_texttransform']) && $eltd_options['blog_masonry_ql_title_texttransform'] !== '') {
	$blog_masonry_ql_title_style[] = 'text-transform: '.$eltd_options['blog_masonry_ql_title_texttransform'];
}

if(is_array($blog_masonry_ql_title_style) && count($blog_masonry_ql_title_style)) { ?>
	.blog_holder.masonry article.format-quote .post_text .post_title h3,
	.blog_holder.masonry article.format-link .post_text .post_title h3,
	.blog_holder.masonry article.format-quote .post_text .quote_author,
	.blog_holder.masonry_full_width article.format-quote .post_text .post_title h3,
	.blog_holder.masonry_full_width article.format-link .post_text .post_title h3,
	.blog_holder.masonry_full_width article.format-quote .post_text .quote_author{
	<?php echo esc_attr(implode(';', $blog_masonry_ql_title_style)); ?>
	}
<?php } ?>

<?php if(isset($eltd_options['blog_masonry_ql_title_color']) && !empty($eltd_options['blog_masonry_ql_title_color'])){ ?>
	.blog_holder.masonry article.format-quote .post_text .post_title h3 a,
	.blog_holder.masonry article.format-quote .post_text .post_title h3,
	.blog_holder.masonry article.format-link .post_text .post_title h3 a,
	.blog_holder.masonry_full_width article.format-quote .post_text .post_title h3 a,
	.blog_holder.masonry_full_width article.format-quote .post_text .post_title h3,
	.blog_holder.masonry_full_width article.format-link .post_text .post_title h3 a{
	color: <?php echo esc_attr($eltd_options['blog_masonry_ql_title_color']);  ?>;
	}
<?php } ?>

<?php if(isset($eltd_options['blog_masonry_ql_title_hover_color']) && !empty($eltd_options['blog_masonry_ql_title_hover_color'])){ ?>
	.blog_holder.masonry article.format-quote .post_text .post_text_inner:hover .post_title h3 a,
	.blog_holder.masonry article.format-quote .post_text .post_text_inner:hover .post_title h3,
	.blog_holder.masonry article.format-link .post_text .post_text_inner:hover .post_title h3 a,
	.blog_holder.masonry_full_width article.format-quote .post_text .post_text_inner:hover .post_title h3 a,
	.blog_holder.masonry_full_width article.format-quote .post_text .post_text_inner:hover .post_title h3,
	.blog_holder.masonry_full_width article.format-link .post_text .post_text_inner:hover .post_title h3 a{
	color: <?php echo esc_attr($eltd_options['blog_masonry_ql_title_hover_color']);  ?>;
	}
<?php } ?>
<?php
/**************** BLOG MASONRY: Qoute/Link Author Style ****************/
$blog_masonry_ql_author_style = array();

if(isset($eltd_options['blog_masonry_ql_author_google_fonts']) && $eltd_options['blog_masonry_ql_author_google_fonts'] !== '-1') {
	$blog_masonry_ql_author_style[] = 'font-family: '.str_replace('+', ' ', $eltd_options['blog_masonry_ql_author_google_fonts']).', sans-serif';
}

if(isset($eltd_options['blog_masonry_ql_author_fontsize']) && $eltd_options['blog_masonry_ql_author_fontsize'] !== '') {
	$blog_masonry_ql_author_style[] = 'font-size: '.$eltd_options['blog_masonry_ql_author_fontsize'].'px';
}

if(isset($eltd_options['blog_masonry_ql_author_lineheight']) && $eltd_options['blog_masonry_ql_author_lineheight'] !== '') {
	$blog_masonry_ql_author_style[] = 'line-height: '.$eltd_options['blog_masonry_ql_author_lineheight'].'px';
}

if(isset($eltd_options['blog_masonry_ql_author_letterspacing']) && $eltd_options['blog_masonry_ql_author_letterspacing'] !== '') {
	$blog_masonry_ql_author_style[] = 'letter-spacing: '.$eltd_options['blog_masonry_ql_author_letterspacing'].'px';
}

if(isset($eltd_options['blog_masonry_ql_author_fontweight']) && $eltd_options['blog_masonry_ql_author_fontweight'] !== '') {
	$blog_masonry_ql_author_style[] = 'font-weight: '.$eltd_options['blog_masonry_ql_author_fontweight'];
}

if(isset($eltd_options['blog_masonry_ql_author_fontstyle']) && $eltd_options['blog_masonry_ql_author_fontstyle'] !== '') {
	$blog_masonry_ql_author_style[] = 'font-style: '.$eltd_options['blog_masonry_ql_author_fontstyle'];
}

if(isset($eltd_options['blog_masonry_ql_author_texttransform']) && $eltd_options['blog_masonry_ql_author_texttransform'] !== '') {
	$blog_masonry_ql_author_style[] = 'text-transform: '.$eltd_options['blog_masonry_ql_author_texttransform'];
}

if(is_array($blog_masonry_ql_author_style) && count($blog_masonry_ql_author_style)) { ?>
	.blog_holder.masonry article.format-quote .post_text .quote_author,
	.blog_holder.masonry_full_width article.format-quote .post_text .quote_author{
	<?php echo esc_attr(implode(';', $blog_masonry_ql_author_style)); ?>
	}
<?php } ?>

<?php if(isset($eltd_options['blog_masonry_ql_author_color']) && !empty($eltd_options['blog_masonry_ql_author_color'])){ ?>
	.blog_holder.masonry article.format-quote .post_text .quote_author,
	.blog_holder.masonry_full_width article.format-quote .post_text .quote_author{
	color: <?php echo esc_attr($eltd_options['blog_masonry_ql_author_color']);  ?>;
	}
<?php } ?>

<?php if(isset($eltd_options['blog_masonry_ql_author_hover_color']) && !empty($eltd_options['blog_masonry_ql_author_hover_color'])){ ?>
	.blog_holder.masonry article.format-quote .post_text .post_text_inner:hover .quote_author,
	.blog_holder.masonry_full_width article.format-quote .post_text .post_text_inner:hover .quote_author{
	color: <?php echo esc_attr($eltd_options['blog_masonry_ql_author_hover_color']);  ?>;
	}
<?php } ?>

<?php
/**************** BLOG MASONRY: Info Style ****************/
$blog_masonry_info_style = array();

if(isset($eltd_options['blog_masonry_info_google_fonts']) && $eltd_options['blog_masonry_info_google_fonts'] !== '-1') {
	$blog_masonry_info_style[] = 'font-family: '.str_replace('+', ' ', $eltd_options['blog_masonry_info_google_fonts']).', sans-serif';
}

if(isset($eltd_options['blog_masonry_info_fontsize']) && $eltd_options['blog_masonry_info_fontsize'] !== '') {
	$blog_masonry_info_style[] = 'font-size: '.$eltd_options['blog_masonry_info_fontsize'].'px';
}

if(isset($eltd_options['blog_masonry_info_lineheight']) && $eltd_options['blog_masonry_info_lineheight'] !== '') {
	$blog_masonry_info_style[] = 'line-height: '.$eltd_options['blog_masonry_info_lineheight'].'px';
}

if(isset($eltd_options['blog_masonry_info_letterspacing']) && $eltd_options['blog_masonry_info_letterspacing'] !== '') {
	$blog_masonry_info_style[] = 'letter-spacing: '.$eltd_options['blog_masonry_info_letterspacing'].'px';
}

if(isset($eltd_options['blog_masonry_info_fontweight']) && $eltd_options['blog_masonry_info_fontweight'] !== '') {
	$blog_masonry_info_style[] = 'font-weight: '.$eltd_options['blog_masonry_info_fontweight'];
}

if(isset($eltd_options['blog_masonry_info_fontstyle']) && $eltd_options['blog_masonry_info_fontstyle'] !== '') {
	$blog_masonry_info_style[] = 'font-style: '.$eltd_options['blog_masonry_info_fontstyle'];
}

if(isset($eltd_options['blog_masonry_info_texttransform']) && $eltd_options['blog_masonry_info_texttransform'] !== '') {
	$blog_masonry_info_style[] = 'text-transform: '.$eltd_options['blog_masonry_info_texttransform'];
}

if(is_array($blog_masonry_info_style) && count($blog_masonry_info_style)) { ?>

	.blog_holder.masonry article:not(.format-quote):not(.format-link) .post_text .post_text_inner .post_info div,
	.blog_holder.masonry_full_width article:not(.format-quote):not(.format-link) .post_text .post_text_inner .post_info div{
	<?php echo esc_attr(implode(';', $blog_masonry_info_style)); ?>
	}
<?php } ?>

<?php if(isset($eltd_options['blog_masonry_info_color']) && !empty($eltd_options['blog_masonry_info_color'])){ ?>
	.blog_holder.masonry article:not(.format-quote):not(.format-link) .post_text .post_text_inner .post_info,
	.blog_holder.masonry_full_width article:not(.format-quote):not(.format-link) .post_text .post_text_inner .post_info{
	color: <?php echo esc_attr($eltd_options['blog_masonry_info_color']);  ?>;
	}
<?php } ?>

<?php if(isset($eltd_options['blog_masonry_info_link_color']) && !empty($eltd_options['blog_masonry_info_link_color'])){ ?>
	.blog_holder.masonry article:not(.format-quote):not(.format-link) .post_text .post_text_inner .post_info div a,
	.blog_holder.masonry_full_width article:not(.format-quote):not(.format-link) .post_text .post_text_inner .post_info div a
	{
	color: <?php echo esc_attr($eltd_options['blog_masonry_info_link_color']);  ?>;
	}
<?php } ?>

<?php if(isset($eltd_options['blog_masonry_info_link_fontweight']) && !empty($eltd_options['blog_masonry_info_link_fontweight'])){ ?>
	.blog_holder.masonry article:not(.format-quote):not(.format-link) .post_text .post_text_inner .post_info div a,
	.blog_holder.masonry_full_width article:not(.format-quote):not(.format-link) .post_text .post_text_inner .post_info div a
	{
	font-weight: <?php echo esc_attr($eltd_options['blog_masonry_info_link_fontweight']);  ?>;
	}
<?php } ?>


<?php if(isset($eltd_options['blog_masonry_info_hover_color']) && !empty($eltd_options['blog_masonry_info_hover_color'])){ ?>
	.blog_holder.masonry article:not(.format-quote):not(.format-link) .post_text .post_text_inner .post_info div a:hover,
	.blog_holder.masonry_full_width article:not(.format-quote):not(.format-link) .post_text .post_text_inner .post_info div a:hover{
	color: <?php echo esc_attr($eltd_options['blog_masonry_info_hover_color']);  ?>;
	}

<?php } ?>


<?php
/****************  BLOG MASONRY: Quote/Link Post Info Style *********************/
$blog_masonry_ql_info_style = array();

if(isset($eltd_options['blog_masonry_ql_info_google_fonts']) && $eltd_options['blog_masonry_ql_info_google_fonts'] !== '-1') {
	$blog_masonry_ql_info_style[] = 'font-family: '.str_replace('+', ' ', $eltd_options['blog_masonry_ql_info_google_fonts']).', sans-serif';
}

if(isset($eltd_options['blog_masonry_ql_info_fontsize']) && $eltd_options['blog_masonry_ql_info_fontsize'] !== '') {
	$blog_masonry_ql_info_style[] = 'font-size: '.$eltd_options['blog_masonry_ql_info_fontsize'].'px';
}

if(isset($eltd_options['blog_masonry_ql_info_lineheight']) && $eltd_options['blog_masonry_ql_info_lineheight'] !== '') {
	$blog_masonry_ql_info_style[] = 'line-height: '.$eltd_options['blog_masonry_ql_info_lineheight'].'px';
}

if(isset($eltd_options['blog_masonry_ql_info_letterspacing']) && $eltd_options['blog_masonry_ql_info_letterspacing'] !== '') {
	$blog_masonry_ql_info_style[] = 'letter-spacing: '.$eltd_options['blog_masonry_ql_info_letterspacing'].'px';
}

if(isset($eltd_options['blog_masonry_ql_info_fontweight']) && $eltd_options['blog_masonry_ql_info_fontweight'] !== '') {
	$blog_masonry_ql_info_style[] = 'font-weight: '.$eltd_options['blog_masonry_ql_info_fontweight'];
}

if(isset($eltd_options['blog_masonry_ql_info_fontstyle']) && $eltd_options['blog_masonry_ql_info_fontstyle'] !== '') {
	$blog_masonry_ql_info_style[] = 'font-style: '.$eltd_options['blog_masonry_ql_info_fontstyle'];
}

if(isset($eltd_options['blog_masonry_ql_info_texttransform']) && $eltd_options['blog_masonry_ql_info_texttransform'] !== '') {
	$blog_masonry_ql_info_style[] = 'text-transform: '.$eltd_options['blog_masonry_ql_info_texttransform'];
}
if(is_array($blog_masonry_ql_info_style) && count($blog_masonry_ql_info_style)) { ?>
	.blog_holder.masonry article.format-quote .post_text .post_text_inner .post_info ,
	.blog_holder.masonry article.format-link .post_text .post_text_inner .post_info ,
	.blog_holder.masonry_full_width article.format-quote .post_text .post_text_inner .post_info ,
	.blog_holder.masonry_full_width article.format-link .post_text .post_text_inner .post_info {
	<?php echo esc_attr(implode(';', $blog_masonry_ql_info_style)); ?>
	}
<?php } ?>

<?php if(isset($eltd_options['blog_masonry_ql_info_color']) && !empty($eltd_options['blog_masonry_ql_info_color'])){ ?>
	.blog_holder.masonry article.format-quote .post_text .post_text_inner .post_info,
	.blog_holder.masonry article.format-link .post_text .post_text_inner .post_info,
	.blog_holder.masonry_full_width article.format-quote .post_text .post_text_inner .post_info,
	.blog_holder.masonry_full_width article.format-link .post_text .post_text_inner .post_info{
	color: <?php echo esc_attr($eltd_options['blog_masonry_ql_info_color']);  ?>;
	}
<?php } ?>
<?php if(isset($eltd_options['blog_masonry_ql_info_link_color']) && !empty($eltd_options['blog_masonry_ql_info_link_color'])){ ?>
	.blog_holder.masonry article.format-quote .post_text .post_text_inner .post_info a,
	.blog_holder.masonry article.format-link .post_text .post_text_inner .post_info a,
	.blog_holder.masonry_full_width article.format-quote .post_text .post_text_inner .post_info a,
	.blog_holder.masonry_full_width article.format-link .post_text .post_text_inner .post_info a{
	color: <?php echo esc_attr($eltd_options['blog_masonry_ql_info_link_color']);  ?>;
	}
<?php } ?>
<?php if(isset($eltd_options['blog_masonry_ql_info_link_fontweight']) && !empty($eltd_options['blog_masonry_ql_info_link_fontweight'])){ ?>
	.blog_holder.masonry article.format-quote .post_text .post_text_inner .post_info a,
	.blog_holder.masonry article.format-link .post_text .post_text_inner .post_info a,
	.blog_holder.masonry_full_width article.format-quote .post_text .post_text_inner .post_info a,
	.blog_holder.masonry_full_width article.format-link .post_text .post_text_inner .post_info a{
	font-weight: <?php echo esc_attr($eltd_options['blog_masonry_ql_info_link_fontweight']);  ?>;
	}
<?php } ?>
<?php if(isset($eltd_options['blog_masonry_ql_info_hover_color']) && !empty($eltd_options['blog_masonry_ql_info_hover_color'])){ ?>
	.blog_holder.masonry article.format-quote .post_text .post_text_inner:hover .post_info,
	.blog_holder.masonry article.format-link .post_text .post_text_inner:hover .post_info,
	.blog_holder.masonry article.format-quote .post_text .post_text_inner:hover .post_info div a,
	.blog_holder.masonry article.format-link .post_text .post_text_inner:hover .post_info div a,
	.blog_holder.masonry_full_width article.format-quote .post_text .post_text_inner:hover .post_info,
	.blog_holder.masonry_full_width article.format-link .post_text .post_text_inner:hover .post_info,
	.blog_holder.masonry_full_width article.format-quote .post_text .post_text_inner:hover .post_info div a,
	.blog_holder.masonry_full_width article.format-link .post_text .post_text_inner:hover .post_info div a
	{
	color: <?php echo esc_attr($eltd_options['blog_masonry_ql_info_hover_color']);  ?>;
	}
<?php } ?>

<?php if(isset($eltd_options['blog_masonry_ql_mark_color']) && !empty($eltd_options['blog_masonry_ql_mark_color'])){ ?>
	.blog_holder.masonry article.format-quote .post_text .post_text_inner .quote_mark,
	.blog_holder.masonry article.format-link .post_text .post_text_inner .link_mark,
	.blog_holder.masonry_full_width article.format-quote .post_text .post_text_inner .quote_mark,
	.blog_holder.masonry_full_width article.format-link .post_text .post_text_inner .link_mark{
	color: <?php echo esc_attr($eltd_options['blog_masonry_ql_mark_color']);  ?>;
	}
<?php } ?>
<?php if(isset($eltd_options['blog_masonry_ql_mark_hover_color']) && !empty($eltd_options['blog_masonry_ql_mark_hover_color'])){ ?>
	.blog_holder.masonry article.format-quote .post_text .post_text_inner:hover .quote_mark,
	.blog_holder.masonry article.format-link .post_text .post_text_inner:hover .link_mark,
	.blog_holder.masonry_full_width article.format-quote .post_text .post_text_inner:hover .quote_mark,
	.blog_holder.masonry_full_width article.format-link .post_text .post_text_inner:hover .link_mark{
	color: <?php echo esc_attr($eltd_options['blog_masonry_ql_mark_hover_color']);  ?>;
	}
<?php } ?>
<?php

$blog_masonry_author_style = array();

if(isset($eltd_options['blog_masonry_author_font_family']) && $eltd_options['blog_masonry_author_font_family'] !== '-1') {
	$blog_masonry_author_style[] = 'font-family: '.str_replace('+', ' ', $eltd_options['blog_masonry_author_font_family']).', sans-serif';
}

if(isset($eltd_options['blog_masonry_author_font_size']) && $eltd_options['blog_masonry_author_font_size'] !== '') {
	$blog_masonry_author_style[] = 'font-size: '.$eltd_options['blog_masonry_author_font_size'].'px';
}

if(isset($eltd_options['blog_masonry_author_line_height']) && $eltd_options['blog_masonry_author_line_height'] !== '') {
	$blog_masonry_author_style[] = 'line-height: '.$eltd_options['blog_masonry_author_line_height'].'px';
}

if(isset($eltd_options['blog_masonry_author_letter_spacing']) && $eltd_options['blog_masonry_author_letter_spacing'] !== '') {
	$blog_masonry_author_style[] = 'letter-spacing: '.$eltd_options['blog_masonry_author_letter_spacing'].'px';
}

if(isset($eltd_options['blog_masonry_author_font_weight']) && $eltd_options['blog_masonry_author_font_weight'] !== '') {
	$blog_masonry_author_style[] = 'font-weight: '.$eltd_options['blog_masonry_author_font_weight'];
}

if(isset($eltd_options['blog_masonry_author_font_style']) && $eltd_options['blog_masonry_author_font_style'] !== '') {
	$blog_masonry_author_style[] = 'font-style: '.$eltd_options['blog_masonry_author_font_style'];
}

if(isset($eltd_options['blog_masonry_author_text_transform']) && $eltd_options['blog_masonry_author_text_transform'] !== '') {
	$blog_masonry_author_style[] = 'text-transform: '.$eltd_options['blog_masonry_author_text_transform'];
}

if(isset($eltd_options['blog_masonry_author_color']) && $eltd_options['blog_masonry_author_color'] !== '') {
	$blog_masonry_author_style[] = 'color: '.$eltd_options['blog_masonry_author_color'];
}

if(is_array($blog_masonry_author_style) && count($blog_masonry_author_style)) { ?>
	.blog_holder.masonry .post_author,
	.blog_holder.masonry .post_author a,
	.blog_holder.masonry_full_width .post_author,
	.blog_holder.masonry_full_width .post_author a,
	.latest_post_holder .post_author, .latest_post_holder a.post_author_link{
	<?php echo esc_attr(implode(';', $blog_masonry_author_style)); ?>
	}
<?php } ?>

<?php if(isset($eltd_options['blog_masonry_author_hover_color']) && !empty($eltd_options['blog_masonry_author_hover_color'])){ ?>
	.blog_holder.masonry .post_author:hover,
	.blog_holder.masonry .post_author a:hover,
	.blog_holder.masonry_full_width .post_author:hover,
	.blog_holder.masonry_full_width .post_author a:hover,
	.latest_post_holder .post_author a.post_author_link:hover{
	color: <?php echo esc_attr($eltd_options['blog_masonry_author_hover_color']);  ?>;
	}
<?php } ?>

<?php

$blog_masonry_type_date_style = array();

if(isset($eltd_options['blog_masonry_corner_date_color']) && $eltd_options['blog_masonry_corner_date_color'] !== '') {
	$blog_masonry_type_date_style[] = 'color: '.$eltd_options['blog_masonry_corner_date_color'];
}

if(isset($eltd_options['blog_masonry_corner_date_bckg_color']) && $eltd_options['blog_masonry_corner_date_bckg_color'] !== '') {
	$blog_masonry_type_date_style[] = 'background-color: '.$eltd_options['blog_masonry_corner_date_bckg_color'];
}

if(is_array($blog_masonry_type_date_style) && count($blog_masonry_type_date_style)){ ?>
	.blog_holder.masonry .post_corner_info_holder .post_date_standard_holder,
	.blog_holder.masonry_full_width .post_corner_info_holder .post_date_standard_holder{
	<?php echo esc_attr(implode('; ', $blog_masonry_type_date_style));  ?>;
	}
<?php }

if(isset($eltd_options['blog_masonry_corner_comments_color']) && ($eltd_options['blog_masonry_corner_comments_color']) !== ''){ ?>
	.blog_holder.masonry .post_corner_info_holder .post_comments_standard_holder a,
	.blog_holder.masonry_full_width .post_corner_info_holder .post_comments_standard_holder a{
	color: <?php echo esc_attr($eltd_options['blog_masonry_corner_comments_color']);  ?>;
	}
<?php }

if(isset($eltd_options['blog_masonry_corner_comments_bckg_color']) && ($eltd_options['blog_masonry_corner_comments_bckg_color']) !== ''){ ?>
	.blog_holder.masonry .post_corner_info_holder .post_comments_standard_holder,
	.blog_holder.masonry_full_width .post_corner_info_holder .post_comments_standard_holder{
	background-color: <?php echo esc_attr($eltd_options['blog_masonry_corner_comments_bckg_color']);  ?>;
	}
<?php }
?>

<?php
/******** BLOG: SPLIT COLUMN Share options ********/
if(isset($eltd_options['blog_split_column_show_share']) && $eltd_options['blog_split_column_show_share'] == 'yes') {

	if(isset($eltd_options['blog_split_column_share_icon_color']) && $eltd_options['blog_split_column_share_icon_color'] !== '') {?>
		.blog_holder.blog_split_column article .post_text .post_text_inner .post_info .blog_share .social_share_dropdown ul li .social_network_icon,
		.blog_holder.blog_split_column article.format-link .post_text.link_image .post_text_inner .post_info .social_share_dropdown ul li span.social_network_icon,
		.blog_holder.blog_split_column .social_share_list_holder ul li i{
		color:  <?php echo esc_attr($eltd_options['blog_split_column_share_icon_color']); ?> ;
		}
	<?php } ?>
    <?php if(isset($eltd_options['blog_split_column_share_hld_hover_icon_color']) && $eltd_options['blog_split_column_share_hld_hover_icon_color'] !== '') {?>
        .blog_holder.blog_split_column article.format-link .post_content_column:hover .social_share_list_holder a > *,
        .blog_holder.blog_split_column article.format-quote .post_content_column:hover .social_share_list_holder a > *{
            color:  <?php echo esc_attr($eltd_options['blog_split_column_share_hld_hover_icon_color']); ?>;
        }
    <?php } ?>
	<?php if(isset($eltd_options['blog_split_column_share_background_color']) && $eltd_options['blog_split_column_share_background_color'] !== '') {?>
		.blog_holder.blog_split_column article .post_text .post_text_inner .post_info .blog_share .social_share_dropdown ul li a{
		background-color:  <?php echo esc_attr($eltd_options['blog_split_column_share_background_color']); ?> ;
		}
	<?php } ?>
	<?php if(isset($eltd_options['blog_split_column_share_icon_hover_color']) && $eltd_options['blog_split_column_share_icon_hover_color'] !== '') {?>
		.blog_holder.blog_split_column .social_share_dropdown ul li:hover,
		.blog_holder.blog_split_column .social_share_dropdown ul li:hover a span.social_network_icon,
		.blog_holder.blog_split_column .social_share_list_holder ul li i:hover{
		color:  <?php echo esc_attr($eltd_options['blog_split_column_share_icon_hover_color']); ?> !important;
		}
	<?php } ?>
<?php } ?>

<?php
/******** BLOG: SPLIT COLUMN Text Box ********/
if(isset($eltd_options['blog_split_column_enable_text_box']) && $eltd_options['blog_split_column_enable_text_box'] == 'yes') {
	$blog_box_style = array();

	if(isset($eltd_options['blog_split_column_box_background_color']) && $eltd_options['blog_split_column_box_background_color'] !== '') {
		$blog_box_style[] = 'background-color: '.$eltd_options['blog_split_column_box_background_color'];
	}

	if(isset($eltd_options['blog_split_column_box_border_color']) && $eltd_options['blog_split_column_box_border_color'] !== '') {
		$blog_box_style[] = 'border: 1px solid';
		$blog_box_style[] = 'border-color: '.$eltd_options['blog_split_column_box_border_color'];
	}

	if(isset($eltd_options['blog_split_column_box_padding']) && $eltd_options['blog_split_column_box_padding'] !== '') { ?>
		.blog_holder.blog_split_column article:not(.format-link):not(.format-quote) .post_content_column.text-wrapper .post_text_inner,
        .blog_holder.blog_split_column article.format-link .post_content_column.text-wrapper,
        .blog_holder.blog_split_column article.format-quote .post_content_column.text-wrapper{
			padding	: <?php echo esc_attr($eltd_options['blog_split_column_box_padding']); ?>;
		}
		<?php
	}

	if(is_array($blog_box_style) && count($blog_box_style)) { ?>
		.blog_holder.blog_split_column article:not(.format-link):not(.format-quote) .post_content_column.text-wrapper{
		<?php echo esc_attr(implode(';', $blog_box_style)); ?>
		}
	<?php }} ?>

<?php
   if(isset($eltd_options['blog_split_column_paragraph_color']) && $eltd_options['blog_split_column_paragraph_color'] !== '') { ?>
        .blog_holder.blog_split_column article .post_excerpt{
			color : <?php echo esc_attr($eltd_options['blog_split_column_paragraph_color']) ;?>
		}
  <?php } ?>

<?php
/******** BLOG: SPLIT COLUMN Quote/Link Text Box ********/
if(isset($eltd_options['blog_split_column_ql_background_color']) &&($eltd_options['blog_split_column_ql_background_color'])!==""){ ?>
	.blog_holder.blog_split_column article.format-link .post_content_column.text-wrapper,
	.blog_holder.blog_split_column article.format-quote .post_content_column.text-wrapper{
	background-color: <?php echo esc_attr($eltd_options['blog_split_column_ql_background_color']);  ?>;
	}
	<?php  $blog_split_column_ql_background_color = eltd_hex2rgb($eltd_options['blog_split_column_ql_background_color']); ?>

	.blog_holder.blog_split_column article.format-link .post_content_column.text-wrapper,
	.blog_holder.blog_split_column article.format-quote .post_content_column.text-wrapper{
	<?php if (!empty($eltd_options['blog_split_column_ql_background_color'])) { ?>  background-color: rgba(<?php echo esc_attr($blog_split_column_ql_background_color[0]); ?>,<?php echo esc_attr($blog_split_column_ql_background_color[1]); ?>,<?php echo esc_attr($blog_split_column_ql_background_color[2]); ?>,1); <?php } ?>
	}

<?php } ?>

<?php if(isset($eltd_options['blog_split_column_ql_hover_background_color']) && !empty($eltd_options['blog_split_column_ql_hover_background_color'])){ ?>
	.blog_holder.blog_split_column article.format-link .post_content_column.text-wrapper:hover,
	.blog_holder.blog_split_column article.format-quote .post_content_column.text-wrapper:hover{
	background-color: <?php echo esc_attr($eltd_options['blog_split_column_ql_hover_background_color']);  ?>;
	}
	<?php  $blog_split_column_ql_hover_background_color = eltd_hex2rgb($eltd_options['blog_split_column_ql_hover_background_color']); ?>

	.blog_holder.blog_split_column article.format-link .post_text.link_image .post_text_inner:hover,
	.blog_holder.blog_split_column article.format-quote .post_text.quote_image .post_text_inner:hover{
	<?php if (!empty($eltd_options['blog_split_column_ql_hover_background_color'])) { ?>  background-color: rgba(<?php echo esc_attr($blog_split_column_ql_hover_background_color[0]); ?>,<?php echo esc_attr($blog_split_column_ql_hover_background_color[1]); ?>,<?php echo esc_attr($blog_split_column_ql_hover_background_color[2]); ?>,0.6); <?php } ?>
	}

<?php } ?>
<?php
if(isset($eltd_options['blog_split_column_title_margin_bottom']) && $eltd_options['blog_split_column_title_margin_bottom'] !== '') { ?>
	.blog_holder.blog_split_column article h2{
		padding-bottom : <?php echo esc_attr($eltd_options['blog_split_column_title_margin_bottom'].'px');?>
	}
<?php } ?>

<?php
if(isset($eltd_options['blog_split_column_post_info_margin_bottom']) && $eltd_options['blog_split_column_post_info_margin_bottom'] !== '') { ?>
	.blog_holder.blog_split_column article:not(.format-link):not(.format-quote) .post_info{
		margin-bottom : <?php echo esc_attr($eltd_options['blog_split_column_post_info_margin_bottom'].'px');?>
	}
<?php } ?>
<?php
if(isset($eltd_options['blog_split_column_read_more_margin_top']) && $eltd_options['blog_split_column_read_more_margin_top'] !== '') { ?>
	.blog_holder.blog_split_column article .post_text_inner a.read_more_button{
		margin-top : <?php echo esc_attr($eltd_options['blog_split_column_read_more_margin_top'].'px');?>
	}
<?php } ?>

<?php
if(isset($eltd_options['blog_split_column_article_margin_bottom']) && $eltd_options['blog_split_column_article_margin_bottom'] !== '') { ?>
	.blog_holder.blog_split_column article{
		margin-bottom : <?php echo esc_attr($eltd_options['blog_split_column_article_margin_bottom'].'px');?>
	}
<?php } ?>

<?php
if(isset($eltd_options['blog_split_column_social_share_list_margin_top']) && $eltd_options['blog_split_column_social_share_list_margin_top'] !== '') { ?>
	.blog_holder.blog_split_column article:not(.format-link):not(.format-quote) .post_text_inner .social_share_list_holder{
		margin-top : <?php echo esc_attr($eltd_options['blog_split_column_social_share_list_margin_top'].'px');?>
	}
<?php } ?>

<?php
if(isset($eltd_options['blog_split_column_ql_title_margin_bottom']) && $eltd_options['blog_split_column_ql_title_margin_bottom'] !== '') { ?>
	.blog_holder.blog_split_column article.format-quote .post_title h3,
	.blog_holder.blog_split_column article.format-link .post_title h3{
		margin-bottom : <?php echo esc_attr($eltd_options['blog_split_column_ql_title_margin_bottom'].'px');?>
	}
<?php } ?>

<?php
if(isset($eltd_options['blog_split_column_ql_share_list_margin_top']) && $eltd_options['blog_split_column_ql_share_list_margin_top'] !== '') { ?>
	.blog_holder.blog_split_column article.format-link .social_share_list_holder,
	.blog_holder.blog_split_column article.format-quote .social_share_list_holder{
		margin-top : <?php echo esc_attr($eltd_options['blog_split_column_ql_share_list_margin_top'].'px');?>
	}
<?php } ?>

<?php
if(isset($eltd_options['blog_split_column_ql_quote_author_margin_bottom']) && $eltd_options['blog_split_column_ql_quote_author_margin_bottom'] !== '') { ?>
	.blog_holder.blog_split_column article.format-quote .post_text .quote_author{
		margin-bottom : <?php echo esc_attr($eltd_options['blog_split_column_ql_quote_author_margin_bottom'].'px');?>;
	}
<?php } ?>

<?php
/**************** BLOG SPLIT COLUMN: Title Style ****************/
$blog_split_column_title_style = array();

if(isset($eltd_options['blog_split_column_title_google_fonts']) && $eltd_options['blog_split_column_title_google_fonts'] !== '-1') {
	$blog_split_column_title_style[] = 'font-family: '.str_replace('+', ' ', $eltd_options['blog_split_column_title_google_fonts']).', sans-serif';
}

if(isset($eltd_options['blog_split_column_title_fontsize']) && $eltd_options['blog_split_column_title_fontsize'] !== '') {
	$blog_split_column_title_style[] = 'font-size: '.$eltd_options['blog_split_column_title_fontsize'].'px';
}

if(isset($eltd_options['blog_split_column_title_lineheight']) && $eltd_options['blog_split_column_title_lineheight'] !== '') {
	$blog_split_column_title_style[] = 'line-height: '.$eltd_options['blog_split_column_title_lineheight'].'px';
}

if(isset($eltd_options['blog_split_column_title_letterspacing']) && $eltd_options['blog_split_column_title_letterspacing'] !== '') {
	$blog_split_column_title_style[] = 'letter-spacing: '.$eltd_options['blog_split_column_title_letterspacing'].'px';
}

if(isset($eltd_options['blog_split_column_title_fontweight']) && $eltd_options['blog_split_column_title_fontweight'] !== '') {
	$blog_split_column_title_style[] = 'font-weight: '.$eltd_options['blog_split_column_title_fontweight'];
}

if(isset($eltd_options['blog_split_column_title_fontstyle']) && $eltd_options['blog_split_column_title_fontstyle'] !== '') {
	$blog_split_column_title_style[] = 'font-style: '.$eltd_options['blog_split_column_title_fontstyle'];
}

if(isset($eltd_options['blog_split_column_title_texttransform']) && $eltd_options['blog_split_column_title_texttransform'] !== '') {
	$blog_split_column_title_style[] = 'text-transform: '.$eltd_options['blog_split_column_title_texttransform'];
}

if(is_array($blog_split_column_title_style) && count($blog_split_column_title_style)) { ?>
	.blog_holder.blog_split_column article:not(.format-quote):not(.format-link) h2{
	<?php echo esc_attr(implode(';', $blog_split_column_title_style)); ?>
	}
<?php } ?>

<?php if(isset($eltd_options['blog_split_column_title_color']) && !empty($eltd_options['blog_split_column_title_color'])){ ?>
	.blog_holder.blog_split_column article:not(.format-quote):not(.format-link) h2 a{
	color: <?php echo esc_attr($eltd_options['blog_split_column_title_color']);  ?>;
	}
<?php } ?>
<?php if(isset($eltd_options['blog_split_column_title_hover_color']) && !empty($eltd_options['blog_split_column_title_hover_color'])){ ?>
	.blog_holder.blog_split_column article:not(.format-quote):not(.format-link) h2 a:hover{
	color: <?php echo esc_attr($eltd_options['blog_split_column_title_hover_color']);  ?>;
	}
<?php } ?>

<?php
/**************** BLOG SPLIT COLUMN: Qoute/Link Title Style ****************/
$blog_split_column_ql_title_style = array();

if(isset($eltd_options['blog_split_column_ql_title_google_fonts']) && $eltd_options['blog_split_column_ql_title_google_fonts'] !== '-1') {
	$blog_split_column_ql_title_style[] = 'font-family: '.str_replace('+', ' ', $eltd_options['blog_split_column_ql_title_google_fonts']).', sans-serif';
}

if(isset($eltd_options['blog_split_column_ql_title_fontsize']) && $eltd_options['blog_split_column_ql_title_fontsize'] !== '') {
	$blog_split_column_ql_title_style[] = 'font-size: '.$eltd_options['blog_split_column_ql_title_fontsize'].'px';
}

if(isset($eltd_options['blog_split_column_ql_title_lineheight']) && $eltd_options['blog_split_column_ql_title_lineheight'] !== '') {
	$blog_split_column_ql_title_style[] = 'line-height: '.$eltd_options['blog_split_column_ql_title_lineheight'].'px';
}

if(isset($eltd_options['blog_split_column_ql_title_letterspacing']) && $eltd_options['blog_split_column_ql_title_letterspacing'] !== '') {
	$blog_split_column_ql_title_style[] = 'letter-spacing: '.$eltd_options['blog_split_column_ql_title_letterspacing'].'px';
}

if(isset($eltd_options['blog_split_column_ql_title_fontweight']) && $eltd_options['blog_split_column_ql_title_fontweight'] !== '') {
	$blog_split_column_ql_title_style[] = 'font-weight: '.$eltd_options['blog_split_column_ql_title_fontweight'];
}

if(isset($eltd_options['blog_split_column_ql_title_fontstyle']) && $eltd_options['blog_split_column_ql_title_fontstyle'] !== '') {
	$blog_split_column_ql_title_style[] = 'font-style: '.$eltd_options['blog_split_column_ql_title_fontstyle'];
}

if(isset($eltd_options['blog_split_column_ql_title_texttransform']) && $eltd_options['blog_split_column_ql_title_texttransform'] !== '') {
	$blog_split_column_ql_title_style[] = 'text-transform: '.$eltd_options['blog_split_column_ql_title_texttransform'];
}

if(is_array($blog_split_column_ql_title_style) && count($blog_split_column_ql_title_style)) { ?>
	.blog_holder.blog_split_column article.format-quote .post_text .post_title h3,
	.blog_holder.blog_split_column article.format-link .post_text .post_title h3{
	<?php echo esc_attr(implode(';', $blog_split_column_ql_title_style)); ?>
	}
<?php } ?>

<?php if(isset($eltd_options['blog_split_column_ql_title_color']) && !empty($eltd_options['blog_split_column_ql_title_color'])){ ?>
	.blog_holder.blog_split_column article.format-quote .post_text .post_title h3 a,
	.blog_holder.blog_split_column article.format-link .post_text .post_title h3 a,
	.blog_holder.blog_split_column article.format-quote .post_text .post_title h3,
	.blog_holder.blog_split_column article.format-link .post_text .post_title h3
	{
	color: <?php echo esc_attr($eltd_options['blog_split_column_ql_title_color']);  ?>;
	}
<?php } ?>
<?php if(isset($eltd_options['blog_split_column_ql_title_hover_color']) && !empty($eltd_options['blog_split_column_ql_title_hover_color'])){ ?>
	.blog_holder.blog_split_column article.format-quote .post_content_column.text-wrapper:hover .post_text .post_text_inner .post_title h3 a,
	.blog_holder.blog_split_column article.format-link .post_content_column.text-wrapper:hover .post_text .post_text_inner .post_title h3 a,
	.blog_holder.blog_split_column article.format-quote .post_content_column.text-wrapper:hover .post_text .post_text_inner .post_title h3,
	.blog_holder.blog_split_column article.format-link .post_content_column.text-wrapper:hover .post_text .post_text_inner .post_title h3,
	.blog_holder.blog_split_column article.format-quote .post_content_column.text-wrapper:hover .post_text .post_text_inner .post_title h3 .date,
	.blog_holder.blog_split_column article.format-link .post_content_column.text-wrapper:hover .post_text .post_text_inner .post_title h3 .date{
	color: <?php echo esc_attr($eltd_options['blog_split_column_ql_title_hover_color']);  ?>;
	}
<?php } ?>
<?php
/**************** BLOG SPLIT COLUMN: Qoute Author Style ****************/
$blog_split_column_ql_author_style = array();

if(isset($eltd_options['blog_split_column_ql_author_google_fonts']) && $eltd_options['blog_split_column_ql_author_google_fonts'] !== '-1') {
	$blog_split_column_ql_author_style[] = 'font-family: '.str_replace('+', ' ', $eltd_options['blog_split_column_ql_author_google_fonts']).', sans-serif';
}

if(isset($eltd_options['blog_split_column_ql_author_fontsize']) && $eltd_options['blog_split_column_ql_author_fontsize'] !== '') {
	$blog_split_column_ql_author_style[] = 'font-size: '.$eltd_options['blog_split_column_ql_author_fontsize'].'px';
}

if(isset($eltd_options['blog_split_column_ql_author_lineheight']) && $eltd_options['blog_split_column_ql_author_lineheight'] !== '') {
	$blog_split_column_ql_author_style[] = 'line-height: '.$eltd_options['blog_split_column_ql_author_lineheight'].'px';
}

if(isset($eltd_options['blog_split_column_ql_author_letterspacing']) && $eltd_options['blog_split_column_ql_author_letterspacing'] !== '') {
	$blog_split_column_ql_author_style[] = 'letter-spacing: '.$eltd_options['blog_split_column_ql_author_letterspacing'].'px';
}

if(isset($eltd_options['blog_split_column_ql_author_fontweight']) && $eltd_options['blog_split_column_ql_author_fontweight'] !== '') {
	$blog_split_column_ql_author_style[] = 'font-weight: '.$eltd_options['blog_split_column_ql_author_fontweight'];
}

if(isset($eltd_options['blog_split_column_ql_author_fontstyle']) && $eltd_options['blog_split_column_ql_author_fontstyle'] !== '') {
	$blog_split_column_ql_author_style[] = 'font-style: '.$eltd_options['blog_split_column_ql_author_fontstyle'];
}

if(isset($eltd_options['blog_split_column_ql_author_texttransform']) && $eltd_options['blog_split_column_ql_author_texttransform'] !== '') {
	$blog_split_column_ql_author_style[] = 'text-transform: '.$eltd_options['blog_split_column_ql_author_texttransform'];
}

if(is_array($blog_split_column_ql_author_style) && count($blog_split_column_ql_author_style)) { ?>
	.blog_holder.blog_split_column article.format-quote .post_text .quote_author{
	<?php echo esc_attr(implode(';', $blog_split_column_ql_author_style)); ?>
	}
<?php } ?>
<?php if(isset($eltd_options['blog_split_column_ql_author_color']) && !empty($eltd_options['blog_split_column_ql_author_color'])){ ?>
	.blog_holder.blog_split_column article.format-quote .post_text .quote_author{
	color: <?php echo esc_attr($eltd_options['blog_split_column_ql_author_color']);  ?>;
	}
<?php } ?>
<?php if(isset($eltd_options['blog_split_column_ql_author_hover_color']) && !empty($eltd_options['blog_split_column_ql_author_hover_color'])){ ?>
	.blog_holder.blog_split_column article.format-quote .post_content_column.text-wrapper:hover .post_text .post_text_inner .quote_author{
	color: <?php echo esc_attr($eltd_options['blog_split_column_ql_author_hover_color']);  ?>;
	}
<?php } ?>
<?php
/**************** BLOG SPLIT COLUMN: Info Style ****************/
$blog_split_column_info_style = array();

if(isset($eltd_options['blog_split_column_info_google_fonts']) && $eltd_options['blog_split_column_info_google_fonts'] !== '-1') {
	$blog_split_column_info_style[] = 'font-family: '.str_replace('+', ' ', $eltd_options['blog_split_column_info_google_fonts']).', sans-serif';
}

if(isset($eltd_options['blog_split_column_info_fontsize']) && $eltd_options['blog_split_column_info_fontsize'] !== '') {
	$blog_split_column_info_style[] = 'font-size: '.$eltd_options['blog_split_column_info_fontsize'].'px';
}

if(isset($eltd_options['blog_split_column_info_lineheight']) && $eltd_options['blog_split_column_info_lineheight'] !== '') {
	$blog_split_column_info_style[] = 'line-height: '.$eltd_options['blog_split_column_info_lineheight'].'px';
}

if(isset($eltd_options['blog_split_column_info_letterspacing']) && $eltd_options['blog_split_column_info_letterspacing'] !== '') {
	$blog_split_column_info_style[] = 'letter-spacing: '.$eltd_options['blog_split_column_info_letterspacing'].'px';
}

if(isset($eltd_options['blog_split_column_info_fontweight']) && $eltd_options['blog_split_column_info_fontweight'] !== '') {
	$blog_split_column_info_style[] = 'font-weight: '.$eltd_options['blog_split_column_info_fontweight'];
}

if(isset($eltd_options['blog_split_column_info_fontstyle']) && $eltd_options['blog_split_column_info_fontstyle'] !== '') {
	$blog_split_column_info_style[] = 'font-style: '.$eltd_options['blog_split_column_info_fontstyle'];
}

if(isset($eltd_options['blog_split_column_info_texttransform']) && $eltd_options['blog_split_column_info_texttransform'] !== '') {
	$blog_split_column_info_style[] = 'text-transform: '.$eltd_options['blog_split_column_info_texttransform'];
}
if(is_array($blog_split_column_info_style) && count($blog_split_column_info_style)) { ?>

	.blog_holder.blog_split_column article:not(.format-quote):not(.format-link) .post_text .post_text_inner .post_info div{
	<?php echo esc_attr(implode(';', $blog_split_column_info_style)); ?>
	}
<?php } ?>

<?php if(isset($eltd_options['blog_split_column_info_color']) && !empty($eltd_options['blog_split_column_info_color'])){ ?>
	.blog_holder.blog_split_column article:not(.format-quote):not(.format-link) .post_text .post_text_inner .post_info{
	color: <?php echo esc_attr($eltd_options['blog_split_column_info_color']);  ?>;
	}
<?php } ?>
<?php if(isset($eltd_options['blog_split_column_info_link_color']) && !empty($eltd_options['blog_split_column_info_link_color'])){ ?>
	.blog_holder.blog_split_column article:not(.format-quote):not(.format-link) .post_text .post_text_inner .post_info a{
	color: <?php echo esc_attr($eltd_options['blog_split_column_info_link_color']);  ?>;
	}
<?php } ?>
<?php if(isset($eltd_options['blog_split_column_info_link_fontweight']) && !empty($eltd_options['blog_split_column_info_link_fontweight'])){ ?>
	.blog_holder.blog_split_column article:not(.format-quote):not(.format-link) .post_text .post_text_inner .post_info a{
	font-weight: <?php echo esc_attr($eltd_options['blog_split_column_info_link_fontweight']);  ?>;
	}
<?php } ?>
<?php if(isset($eltd_options['blog_split_column_info_hover_color']) && !empty($eltd_options['blog_split_column_info_hover_color'])){ ?>

	.blog_holder.blog_split_column article:not(.format-quote):not(.format-link) .post_text .post_text_inner .post_info:hover div a:hover{
	color: <?php echo esc_attr($eltd_options['blog_split_column_info_hover_color']);  ?>;
	}
<?php } ?>


<?php
/****************  BLOG SPLIT COLUMN: Quote/Link Post Info Style *********************/
$blog_split_column_ql_info_style = array();

if(isset($eltd_options['blog_split_column_ql_info_google_fonts']) && $eltd_options['blog_split_column_ql_info_google_fonts'] !== '-1') {
	$blog_split_column_ql_info_style[] = 'font-family: '.str_replace('+', ' ', $eltd_options['blog_split_column_ql_info_google_fonts']).', sans-serif';
}

if(isset($eltd_options['blog_split_column_ql_info_fontsize']) && $eltd_options['blog_split_column_ql_info_fontsize'] !== '') {
	$blog_split_column_ql_info_style[] = 'font-size: '.$eltd_options['blog_split_column_ql_info_fontsize'].'px';
}

if(isset($eltd_options['blog_split_column_ql_info_lineheight']) && $eltd_options['blog_split_column_ql_info_lineheight'] !== '') {
	$blog_split_column_ql_info_style[] = 'line-height: '.$eltd_options['blog_split_column_ql_info_lineheight'].'px';
}

if(isset($eltd_options['blog_split_column_ql_info_letterspacing']) && $eltd_options['blog_split_column_ql_info_letterspacing'] !== '') {
	$blog_split_column_ql_info_style[] = 'letter-spacing: '.$eltd_options['blog_split_column_ql_info_letterspacing'].'px';
}

if(isset($eltd_options['blog_split_column_ql_info_fontweight']) && $eltd_options['blog_split_column_ql_info_fontweight'] !== '') {
	$blog_split_column_ql_info_style[] = 'font-weight: '.$eltd_options['blog_split_column_ql_info_fontweight'];
}

if(isset($eltd_options['blog_split_column_ql_info_fontstyle']) && $eltd_options['blog_split_column_ql_info_fontstyle'] !== '') {
	$blog_split_column_ql_info_style[] = 'font-style: '.$eltd_options['blog_split_column_ql_info_fontstyle'];
}

if(isset($eltd_options['blog_split_column_ql_info_texttransform']) && $eltd_options['blog_split_column_ql_info_texttransform'] !== '') {
	$blog_split_column_ql_info_style[] = 'text-transform: '.$eltd_options['blog_split_column_ql_info_texttransform'];
}
if(is_array($blog_split_column_ql_info_style) && count($blog_split_column_ql_info_style)) { ?>
	.blog_holder.blog_split_column article.format-quote .post_text .post_text_inner .post_info div,
	.blog_holder.blog_split_column article.format-link .post_text .post_text_inner .post_info div{
	<?php echo esc_attr(implode(';', $blog_split_column_ql_info_style)); ?>
	}
<?php } ?>
<?php if(isset($eltd_options['blog_split_column_ql_info_color']) && !empty($eltd_options['blog_split_column_ql_info_color'])){ ?>
	.blog_holder.blog_split_column article.format-quote .post_text .post_text_inner .post_info,
	.blog_holder.blog_split_column article.format-link .post_text .post_text_inner .post_info
	{
	color: <?php echo esc_attr($eltd_options['blog_split_column_ql_info_color']);  ?>;
	}
<?php } ?>
<?php if(isset($eltd_options['blog_split_column_ql_info_link_color']) && !empty($eltd_options['blog_split_column_ql_info_link_color'])){ ?>
	.blog_holder.blog_split_column article.format-quote .post_text .post_text_inner .post_info a,
	.blog_holder.blog_split_column article.format-link .post_text .post_text_inner .post_info a
	{
	color: <?php echo esc_attr($eltd_options['blog_split_column_ql_info_link_color']);  ?>;
	}
<?php } ?>
<?php if(isset($eltd_options['blog_split_column_ql_info_link_fontweight']) && !empty($eltd_options['blog_split_column_ql_info_link_fontweight'])){ ?>
	.blog_holder.blog_split_column article.format-quote .post_text .post_text_inner .post_info a,
	.blog_holder.blog_split_column article.format-link .post_text .post_text_inner .post_info a
	{
	font-weight: <?php echo esc_attr($eltd_options['blog_split_column_ql_info_link_fontweight']);  ?>;
	}
<?php } ?>
<?php if(isset($eltd_options['blog_split_column_ql_info_hover_color']) && !empty($eltd_options['blog_split_column_ql_info_hover_color'])){ ?>
	.blog_holder.blog_split_column article.format-quote  .post_content_column.text-wrapper:hover .post_text .post_text_inner .post_info,
	.blog_holder.blog_split_column article.format-link .post_content_column.text-wrapper:hover .post_text .post_text_inner .post_info,
	.blog_holder.blog_split_column article.format-quote .post_content_column.text-wrapper:hover .post_text .post_text_inner .post_info div a,
	.blog_holder.blog_split_column article.format-link .post_content_column.text-wrapper:hover .post_text .post_text_inner .post_info div a{
	color: <?php echo esc_attr($eltd_options['blog_split_column_ql_info_hover_color']);  ?>;
	}
<?php } ?>

<?php if(isset($eltd_options['blog_split_column_ql_mark_color']) && !empty($eltd_options['blog_split_column_ql_mark_color'])){ ?>
	.blog_holder.blog_split_column article.format-quote .post_text .post_text_inner .post_info_quote_mark .quote_mark,
	.blog_holder.blog_split_column article.format-link .post_text .post_text_inner .post_info_link_mark .link_mark{
	color: <?php echo esc_attr($eltd_options['blog_split_column_ql_mark_color']);  ?>;
	}
<?php } ?>

<?php if(isset($eltd_options['blog_split_column_ql_mark_hover_color']) && !empty($eltd_options['blog_split_column_ql_mark_hover_color'])){ ?>
	.blog_holder.blog_split_column article.format-quote .post_content_column.text-wrapper:hover .post_text .post_text_inner .post_info_quote_mark .quote_mark,
	.blog_holder.blog_split_column article.format-link .post_content_column.text-wrapper:hover .post_text .post_text_inner .post_info_link_mark .link_mark{
	color: <?php echo esc_attr($eltd_options['blog_split_column_ql_mark_hover_color']);  ?>;
	}
<?php } ?>


<?php

$blog_split_column_type_date_style = array();

if(isset($eltd_options['blog_split_column_corner_date_color']) && $eltd_options['blog_split_column_corner_date_color'] !== '') {
	$blog_split_column_type_date_style[] = 'color: '.$eltd_options['blog_split_column_corner_date_color'];
}

if(isset($eltd_options['blog_split_column_corner_date_bckg_color']) && $eltd_options['blog_split_column_corner_date_bckg_color'] !== '') {
	$blog_split_column_type_date_style[] = 'background-color: '.$eltd_options['blog_split_column_corner_date_bckg_color'];
}

if(is_array($blog_split_column_type_date_style) && count($blog_split_column_type_date_style)){ ?>
	.blog_holder.blog_split_column .post_corner_info_holder .post_date_standard_holder{
	<?php echo esc_attr(implode('; ', $blog_split_column_type_date_style));  ?>;
	}
<?php }

if(isset($eltd_options['blog_split_column_corner_comments_color']) && ($eltd_options['blog_split_column_corner_comments_color']) !== ''){ ?>
	.blog_holder.blog_split_column .post_corner_info_holder .post_comments_standard_holder a{
	color: <?php echo esc_attr($eltd_options['blog_split_column_corner_comments_color']);  ?>;
	}
<?php }

if(isset($eltd_options['blog_split_column_corner_comments_bckg_color']) && ($eltd_options['blog_split_column_corner_comments_bckg_color']) !== ''){ ?>
	.blog_holder.blog_split_column .post_corner_info_holder .post_comments_standard_holder{
	background-color: <?php echo esc_attr($eltd_options['blog_split_column_corner_comments_bckg_color']);  ?>;
	}
<?php }
?>

<?php
$blog_single_title_style = array();

if(isset($eltd_options['blog_single_title_font_family']) && $eltd_options['blog_single_title_font_family'] !== '-1') {
    $blog_single_title_style[] = 'font-family: '.str_replace('+', ' ', $eltd_options['blog_single_title_font_family']).', sans-serif';
}

if(isset($eltd_options['blog_single_title_font_size']) && $eltd_options['blog_single_title_font_size'] !== '') {
    $blog_single_title_style[] = 'font-size: '.$eltd_options['blog_single_title_font_size'].'px';
}

if(isset($eltd_options['blog_single_title_line_height']) && $eltd_options['blog_single_title_line_height'] !== '') {
    $blog_single_title_style[] = 'line-height: '.$eltd_options['blog_single_title_line_height'].'px';
}

if(isset($eltd_options['blog_single_title_letter_spacing']) && $eltd_options['blog_single_title_letter_spacing'] !== '') {
    $blog_single_title_style[] = 'letter-spacing: '.$eltd_options['blog_single_title_letter_spacing'].'px';
}

if(isset($eltd_options['blog_single_title_font_weight']) && $eltd_options['blog_single_title_font_weight'] !== '') {
    $blog_single_title_style[] = 'font-weight: '.$eltd_options['blog_single_title_font_weight'];
}

if(isset($eltd_options['blog_single_title_font_style']) && $eltd_options['blog_single_title_font_style'] !== '') {
    $blog_single_title_style[] = 'font-style: '.$eltd_options['blog_single_title_font_style'];
}

if(isset($eltd_options['blog_single_title_text_transform']) && $eltd_options['blog_single_title_text_transform'] !== '') {
    $blog_single_title_style[] = 'text-transform: '.$eltd_options['blog_single_title_text_transform'];
}

if(isset($eltd_options['blog_single_title_color']) && $eltd_options['blog_single_title_color'] !== '') {
    $blog_single_title_style[] = 'color: '.$eltd_options['blog_single_title_color'];
}

if(is_array($blog_single_title_style) && count($blog_single_title_style)) { ?>
    .blog_holder.blog_single article .post_content > h2{
    <?php echo esc_attr(implode(';', $blog_single_title_style)); ?>
    }
<?php } ?>

<?php
$blog_single_ql_title_style = array();

if(isset($eltd_options['blog_single_ql_title_font_family']) && $eltd_options['blog_single_ql_title_font_family'] !== '-1') {
    $blog_single_ql_title_style[] = 'font-family: '.str_replace('+', ' ', $eltd_options['blog_single_ql_title_font_family']).', sans-serif';
}

if(isset($eltd_options['blog_single_ql_title_font_size']) && $eltd_options['blog_single_ql_title_font_size'] !== '') {
    $blog_single_ql_title_style[] = 'font-size: '.$eltd_options['blog_single_ql_title_font_size'].'px';
}

if(isset($eltd_options['blog_single_ql_title_line_height']) && $eltd_options['blog_single_ql_title_line_height'] !== '') {
    $blog_single_ql_title_style[] = 'line-height: '.$eltd_options['blog_single_ql_title_line_height'].'px';
}

if(isset($eltd_options['blog_single_ql_title_letter_spacing']) && $eltd_options['blog_single_ql_title_letter_spacing'] !== '') {
    $blog_single_ql_title_style[] = 'letter-spacing: '.$eltd_options['blog_single_ql_title_letter_spacing'].'px';
}

if(isset($eltd_options['blog_single_ql_title_font_weight']) && $eltd_options['blog_single_ql_title_font_weight'] !== '') {
    $blog_single_ql_title_style[] = 'font-weight: '.$eltd_options['blog_single_ql_title_font_weight'];
}

if(isset($eltd_options['blog_single_ql_title_font_style']) && $eltd_options['blog_single_ql_title_font_style'] !== '') {
    $blog_single_ql_title_style[] = 'font-style: '.$eltd_options['blog_single_ql_title_font_style'];
}

if(isset($eltd_options['blog_single_ql_title_text_transform']) && $eltd_options['blog_single_ql_title_text_transform'] !== '') {
    $blog_single_ql_title_style[] = 'text-transform: '.$eltd_options['blog_single_ql_title_text_transform'];
}

if(isset($eltd_options['blog_single_ql_title_color']) && $eltd_options['blog_single_ql_title_color'] !== '') {
    $blog_single_ql_title_style[] = 'color: '.$eltd_options['blog_single_ql_title_color'];
}

if(is_array($blog_single_ql_title_style) && count($blog_single_ql_title_style)) { ?>
    .blog_holder.blog_single article.format-quote .post_text .post_title h3,
    .blog_holder.blog_single article.format-link .post_text .post_title h3,
    .blog_holder.blog_single article.format-quote .post_text .quote_author{
    <?php echo esc_attr(implode(';', $blog_single_ql_title_style)); ?>
    }
<?php } ?>

<?php if(isset($eltd_options['blog_single_ql_title_hover_color']) && !empty($eltd_options['blog_single_ql_title_hover_color'])){ ?>
    .blog_holder.blog_single article.format-quote .post_text .post_text_inner:hover .post_title h3,
    .blog_holder.blog_single article.format-link .post_text .post_text_inner:hover .post_title h3,
    .blog_holder.blog_single article.format-quote .post_text .post_text_inner:hover .quote_author{
    color: <?php echo esc_attr($eltd_options['blog_single_ql_title_hover_color']);  ?>;
    }
<?php } ?>

<?php
$blog_list_info_style = array();

if(isset($eltd_options['blog_list_info_font_family']) && $eltd_options['blog_list_info_font_family'] !== '-1') {
    $blog_list_info_style[] = 'font-family: '.str_replace('+', ' ', $eltd_options['blog_list_info_font_family']).', sans-serif';
}

if(isset($eltd_options['blog_list_info_font_size']) && $eltd_options['blog_list_info_font_size'] !== '') {
    $blog_list_info_style[] = 'font-size: '.$eltd_options['blog_list_info_font_size'].'px';
}

if(isset($eltd_options['blog_list_info_line_height']) && $eltd_options['blog_list_info_line_height'] !== '') {
    $blog_list_info_style[] = 'line-height: '.$eltd_options['blog_list_info_line_height'].'px';
}

if(isset($eltd_options['blog_list_info_letter_spacing']) && $eltd_options['blog_list_info_letter_spacing'] !== '') {
    $blog_list_info_style[] = 'letter-spacing: '.$eltd_options['blog_list_info_letter_spacing'].'px';
}

if(isset($eltd_options['blog_list_info_font_weight']) && $eltd_options['blog_list_info_font_weight'] !== '') {
    $blog_list_info_style[] = 'font-weight: '.$eltd_options['blog_list_info_font_weight'];
}

if(isset($eltd_options['blog_list_info_font_style']) && $eltd_options['blog_list_info_font_style'] !== '') {
    $blog_list_info_style[] = 'font-style: '.$eltd_options['blog_list_info_font_style'];
}

if(isset($eltd_options['blog_list_info_text_transform']) && $eltd_options['blog_list_info_text_transform'] !== '') {
    $blog_list_info_style[] = 'text-transform: '.$eltd_options['blog_list_info_text_transform'];
}

if(isset($eltd_options['blog_list_info_color']) && $eltd_options['blog_list_info_color'] !== '') {
    $blog_list_info_style[] = 'color: '.$eltd_options['blog_list_info_color'];
}

if(is_array($blog_list_info_style) && count($blog_list_info_style)) { ?>
    .blog_holder article .post_info,
    .latest_post_holder .post_info_section span, .latest_post_holder .post_info_section a, .latest_post_holder .post_info_section:before{
    <?php echo esc_attr(implode(';', $blog_list_info_style)); ?>
    }
<?php } ?>

<?php if(isset($eltd_options['blog_list_info_color']) && !empty($eltd_options['blog_list_info_color'])){ ?>
    .blog_holder article .post_info a,
    .latest_post_holder .post_info_section span, .latest_post_holder .post_info_section a{
    color: <?php echo esc_attr($eltd_options['blog_list_info_color']);  ?>;
    }
<?php } ?>

<?php if(isset($eltd_options['blog_list_info_hover_color']) && !empty($eltd_options['blog_list_info_hover_color'])){ ?>
    .blog_holder article .post_info a:hover,
    .latest_post_holder .post_info_section a:hover{
    color: <?php echo esc_attr($eltd_options['blog_list_info_hover_color']);  ?>;
    }
<?php } ?>

<?php

$blog_masonry_author_style = array();

if(isset($eltd_options['blog_masonry_author_font_family']) && $eltd_options['blog_masonry_author_font_family'] !== '-1') {
    $blog_masonry_author_style[] = 'font-family: '.str_replace('+', ' ', $eltd_options['blog_masonry_author_font_family']).', sans-serif';
}

if(isset($eltd_options['blog_masonry_author_font_size']) && $eltd_options['blog_masonry_author_font_size'] !== '') {
    $blog_masonry_author_style[] = 'font-size: '.$eltd_options['blog_masonry_author_font_size'].'px';
}

if(isset($eltd_options['blog_masonry_author_line_height']) && $eltd_options['blog_masonry_author_line_height'] !== '') {
    $blog_masonry_author_style[] = 'line-height: '.$eltd_options['blog_masonry_author_line_height'].'px';
}

if(isset($eltd_options['blog_masonry_author_letter_spacing']) && $eltd_options['blog_masonry_author_letter_spacing'] !== '') {
    $blog_masonry_author_style[] = 'letter-spacing: '.$eltd_options['blog_masonry_author_letter_spacing'].'px';
}

if(isset($eltd_options['blog_masonry_author_font_weight']) && $eltd_options['blog_masonry_author_font_weight'] !== '') {
    $blog_masonry_author_style[] = 'font-weight: '.$eltd_options['blog_masonry_author_font_weight'];
}

if(isset($eltd_options['blog_masonry_author_font_style']) && $eltd_options['blog_masonry_author_font_style'] !== '') {
    $blog_masonry_author_style[] = 'font-style: '.$eltd_options['blog_masonry_author_font_style'];
}

if(isset($eltd_options['blog_masonry_author_text_transform']) && $eltd_options['blog_masonry_author_text_transform'] !== '') {
    $blog_masonry_author_style[] = 'text-transform: '.$eltd_options['blog_masonry_author_text_transform'];
}

if(isset($eltd_options['blog_masonry_author_color']) && $eltd_options['blog_masonry_author_color'] !== '') {
    $blog_masonry_author_style[] = 'color: '.$eltd_options['blog_masonry_author_color'];
}

if(is_array($blog_masonry_author_style) && count($blog_masonry_author_style)) { ?>
    .blog_holder.masonry .post_author,
    .blog_holder.masonry .post_author a,
    .blog_holder.masonry_full_width .post_author,
    .blog_holder.masonry_full_width .post_author a,
    .latest_post_holder .post_author, .latest_post_holder a.post_author_link{
    <?php echo esc_attr(implode(';', $blog_masonry_author_style)); ?>
    }
<?php } ?>

<?php if(isset($eltd_options['blog_masonry_author_hover_color']) && !empty($eltd_options['blog_masonry_author_hover_color'])){ ?>
    .blog_holder.masonry .post_author:hover,
    .blog_holder.masonry .post_author a:hover,
    .blog_holder.masonry_full_width .post_author:hover,
    .blog_holder.masonry_full_width .post_author a:hover,
    .latest_post_holder .post_author a.post_author_link:hover{
    color: <?php echo esc_attr($eltd_options['blog_masonry_author_hover_color']);  ?>;
    }
<?php } ?>


<?php

	if(isset($eltd_options['blog_comments_reply_link_on_bottom_yes_no']) && $eltd_options['blog_comments_reply_link_on_bottom_yes_no']=="yes"){

		$blog_comments_reply_link_shadow_h_shadow = '';
		$blog_comments_reply_link_shadow_v_shadow = '';
		$blog_comments_reply_link_shadow_blur = '';
		$blog_comments_reply_link_shadow_spread = '';
		$blog_comments_reply_link_shadow_color = '';

		if(isset($eltd_options['blog_comments_reply_link_shadow_h_shadow']) && $eltd_options['blog_comments_reply_link_shadow_h_shadow']!='' ){
			$blog_comments_reply_link_shadow_h_shadow = $eltd_options['blog_comments_reply_link_shadow_h_shadow'];
		}else{
			$blog_comments_reply_link_shadow_h_shadow = 1;
		}
		if(isset($eltd_options['blog_comments_reply_link_shadow_v_shadow']) && $eltd_options['blog_comments_reply_link_shadow_v_shadow']!='' ){
			$blog_comments_reply_link_shadow_v_shadow = $eltd_options['blog_comments_reply_link_shadow_v_shadow'];
		}else{
			$blog_comments_reply_link_shadow_v_shadow = 1;
		}
		if(isset($eltd_options['blog_comments_reply_link_shadow_blur']) && $eltd_options['blog_comments_reply_link_shadow_blur']!='' ){
			$blog_comments_reply_link_shadow_blur = $eltd_options['blog_comments_reply_link_shadow_blur'];
		}else{
			$blog_comments_reply_link_shadow_blur = 1;
		}
		if(isset($eltd_options['blog_comments_reply_link_shadow_spread']) && $eltd_options['blog_comments_reply_link_shadow_spread']!='' ){
			$blog_comments_reply_link_shadow_spread = $eltd_options['blog_comments_reply_link_shadow_spread'];
		}else{
			$blog_comments_reply_link_shadow_spread = 1;
		}

		if(isset($eltd_options['blog_comments_reply_link_shadow_color']) && $eltd_options['blog_comments_reply_link_shadow_color']!='' ){
			$blog_comments_reply_link_shadow_color = $eltd_options['blog_comments_reply_link_shadow_color'];
		}else{
			$blog_comments_reply_link_shadow_color = '#d2d0d4';
		}

		?>
		.single-post .comment_holder .bottom-comment-link .comment .text .replay,
		.single-post .comment_holder .bottom-comment-link .comment .text .comment-reply-link{
			box-shadow : <?php echo esc_attr($blog_comments_reply_link_shadow_h_shadow.'px ' .$blog_comments_reply_link_shadow_v_shadow.'px '.$blog_comments_reply_link_shadow_blur.'px '.$blog_comments_reply_link_shadow_spread.'px '.$blog_comments_reply_link_shadow_color)?>
		}

<?php } ?>

<?php
/******** BLOG: VERTICAL LOOP Share options ********/
if(isset($eltd_options['blog_vertical_loop_type_show_share']) && $eltd_options['blog_vertical_loop_type_show_share'] == 'yes') {

    if(isset($eltd_options['blog_vertical_loop_type_share_icon_color']) && $eltd_options['blog_vertical_loop_type_share_icon_color'] !== '') {?>
        .blog_holder.blog_vertical_loop_type .social_share_dropdown ul li a,
        .blog_holder.blog_vertical_loop_type .social_share_dropdown ul li .social_network_icon,
		.blog_holder.blog_vertical_loop_type article .social_share_list_holder ul li i{
        color:  <?php echo esc_attr($eltd_options['blog_vertical_loop_type_share_icon_color']); ?> ;
        }
    <?php } ?>
    <?php if(isset($eltd_options['blog_vertical_loop_type_share_background_color']) && $eltd_options['blog_vertical_loop_type_share_background_color'] !== '') {?>
        .blog_holder.blog_vertical_loop_type .social_share_dropdown ul li a{
        background-color:  <?php echo esc_attr($eltd_options['blog_vertical_loop_type_share_background_color']); ?> ;
        }
    <?php } ?>
    <?php if(isset($eltd_options['blog_vertical_loop_type_share_icon_hover_color']) && $eltd_options['blog_vertical_loop_type_share_icon_hover_color'] !== '') {?>
        .blog_holder.blog_vertical_loop_type .social_share_dropdown ul li:hover,
        .blog_holder.blog_vertical_loop_type .social_share_dropdown ul li:hover a span.social_network_icon,
		.blog_holder.blog_vertical_loop_type article .social_share_list_holder ul li i:hover{
        color:  <?php echo esc_attr($eltd_options['blog_vertical_loop_type_share_icon_hover_color']); ?> !important;
        }
    <?php } ?>
<?php } ?>

<?php
/******** BLOG: VERTICAL LOOP Text Box ********/
if(isset($eltd_options['blog_vertical_loop_type_enable_text_box']) && $eltd_options['blog_vertical_loop_type_enable_text_box'] == 'yes') {
    $blog_box_style = array();
	?>
	.blog_holder.blog_vertical_loop_type article .audio_image,
	.blog_holder.blog_vertical_loop_type article:not(.format-audio) .post_image{
		margin-bottom: 0;
	}
	<?php
    if(isset($eltd_options['blog_vertical_loop_type_box_background_color']) && $eltd_options['blog_vertical_loop_type_box_background_color'] !== '') {
        $blog_box_style[] = 'background-color: '.$eltd_options['blog_vertical_loop_type_box_background_color'];
    }

    if(isset($eltd_options['blog_vertical_loop_type_box_border_color']) && $eltd_options['blog_vertical_loop_type_box_border_color'] !== '') {
        $blog_box_style[] = 'border: 1px solid';
        $blog_box_style[] = 'border-color: '.$eltd_options['blog_vertical_loop_type_box_border_color'];
    }

    if(isset($eltd_options['blog_vertical_loop_type_box_padding']) && $eltd_options['blog_vertical_loop_type_box_padding'] !== '') {
        $blog_box_style[] = 'padding: '.$eltd_options['blog_vertical_loop_type_box_padding'];
    }

    if(is_array($blog_box_style) && count($blog_box_style)) { ?>
        .blog_holder.blog_vertical_loop_type article:not(.format-link):not(.format-quote) .post_text .post_text_inner{
        <?php echo esc_attr(implode(';', $blog_box_style)); ?>
        }
    <?php }}
?>
<?php
/******** BLOG: VERTICAL LOOP Quote/Link Text Box ********/
if(isset($eltd_options['blog_vertical_loop_type_ql_background_color']) &&($eltd_options['blog_vertical_loop_type_ql_background_color'])!==""){ ?>
    .blog_holder.blog_vertical_loop_type article.format-link .post_text .post_text_inner,
    .blog_holder.blog_vertical_loop_type article.format-quote .post_text .post_text_inner{
    background-color: <?php echo esc_attr($eltd_options['blog_vertical_loop_type_ql_background_color']);  ?>;
    }
    <?php  $blog_vertical_loop_type_ql_background_color = eltd_hex2rgb($eltd_options['blog_vertical_loop_type_ql_background_color']); ?>

    .blog_holder.blog_vertical_loop_type article.format-link .post_text.link_image .post_text_inner,
    .blog_holder.blog_vertical_loop_type article.format-quote .post_text.quote_image .post_text_inner{
    <?php if (!empty($eltd_options['blog_vertical_loop_type_ql_background_color'])) { ?>  background-color: rgba(<?php echo esc_attr($blog_vertical_loop_type_ql_background_color[0]); ?>,<?php echo esc_attr($blog_vertical_loop_type_ql_background_color[1]); ?>,<?php echo esc_attr($blog_vertical_loop_type_ql_background_color[2]); ?>,0.85); <?php } ?>
    }
<?php } ?>


<?php if(isset($eltd_options['blog_vertical_loop_type_ql_hover_background_color']) && !empty($eltd_options['blog_vertical_loop_type_ql_hover_background_color'])){ ?>
    .blog_holder.blog_vertical_loop_type article.format-link .post_text .post_text_inner:hover,
    .blog_holder.blog_vertical_loop_type article.format-quote .post_text .post_text_inner:hover{
    background-color: <?php echo esc_attr($eltd_options['blog_vertical_loop_type_ql_hover_background_color']);  ?>;
    }
    <?php  $blog_vertical_loop_type_ql_hover_background_color = eltd_hex2rgb($eltd_options['blog_vertical_loop_type_ql_hover_background_color']); ?>

    .blog_holder.blog_vertical_loop_type article.format-link .post_text.link_image .post_text_inner:hover,
    .blog_holder.blog_vertical_loop_type article.format-quote .post_text.quote_image .post_text_inner:hover{
    <?php if (!empty($eltd_options['blog_vertical_loop_type_ql_hover_background_color'])) { ?>  background-color: rgba(<?php echo esc_attr($blog_vertical_loop_type_ql_hover_background_color[0]); ?>,<?php echo esc_attr($blog_vertical_loop_type_ql_hover_background_color[1]); ?>,<?php echo esc_attr($blog_vertical_loop_type_ql_hover_background_color[2]); ?>,0.6); <?php } ?>
    }

<?php } ?>

<?php
if(isset($eltd_options['blog_vertical_loop_type_image_margin_bottom']) && $eltd_options['blog_vertical_loop_type_image_margin_bottom'] !== '') { ?>
	.blog_vertical_loop article .post_image{
		margin-bottom : <?php echo esc_attr($eltd_options['blog_vertical_loop_type_image_margin_bottom'].'px !important');?>
	}
<?php } ?>

<?php
if(isset($eltd_options['blog_vertical_loop_type_title_margin_bottom']) && $eltd_options['blog_vertical_loop_type_title_margin_bottom'] !== '') { ?>
	.blog_holder.blog_vertical_loop_type article:not(.format-quote):not(.format-link):not(.next_post) h2{
		padding-bottom : <?php echo esc_attr($eltd_options['blog_vertical_loop_type_title_margin_bottom'].'px');?>
	}
<?php } ?>

<?php
if(isset($eltd_options['blog_vertical_loop_type_post_info_margin_bottom']) && $eltd_options['blog_vertical_loop_type_post_info_margin_bottom'] !== '') { ?>
	.blog_holder.blog_vertical_loop_type article:not(.format-link):not(.format-quote) .post_info{
		margin-bottom : <?php echo esc_attr($eltd_options['blog_vertical_loop_type_post_info_margin_bottom'].'px');?>
	}
<?php } ?>

<?php
if(isset($eltd_options['blog_vertical_loop_type_article_margin_bottom']) && $eltd_options['blog_vertical_loop_type_article_margin_bottom'] !== '') { ?>
	.blog_holder.blog_vertical_loop_type:not(.blog_single) article{
		margin-bottom : <?php echo esc_attr($eltd_options['blog_vertical_loop_type_article_margin_bottom'].'px');?>;
	}
<?php } ?>

<?php
if(isset($eltd_options['blog_vertical_loop_type_single_article_social_share_list_margin_top']) && $eltd_options['blog_vertical_loop_type_single_article_social_share_list_margin_top'] !== '') { ?>
	.blog_holder.blog_vertical_loop_type article:not(.format-quote):not(.format-link) .social_share_list_holder{
		margin-top : <?php echo esc_attr($eltd_options['blog_vertical_loop_type_single_article_social_share_list_margin_top'].'px');?>;
	}
<?php } ?>

<?php
if(isset($eltd_options['blog_vertical_loop_type_ql_title_margin_bottom']) && $eltd_options['blog_vertical_loop_type_ql_title_margin_bottom'] !== '') { ?>
	.blog_holder.blog_vertical_loop_type article.format-quote .post_title h3,
	.blog_holder.blog_vertical_loop_type article.format-link .post_title h3{
		margin-bottom : <?php echo esc_attr($eltd_options['blog_vertical_loop_type_ql_title_margin_bottom'].'px');?>
	}
<?php } ?>

<?php
if(isset($eltd_options['blog_vertical_loop_type_ql_social_share_list_margin_top']) && $eltd_options['blog_vertical_loop_type_ql_social_share_list_margin_top'] !== '') { ?>
	.blog_holder.blog_vertical_loop_type article.format-link .social_share_list_holder,
	.blog_holder.blog_vertical_loop_type article.format-quote .social_share_list_holder{
		margin-top : <?php echo esc_attr($eltd_options['blog_vertical_loop_type_ql_social_share_list_margin_top'].'px');?>
	}
<?php } ?>

<?php
if(isset($eltd_options['blog_vertical_loop_type_ql_quote_author_margin_bottom']) && $eltd_options['blog_vertical_loop_type_ql_quote_author_margin_bottom'] !== '') { ?>
	.blog_holder.blog_vertical_loop_type article.format-quote .post_text .quote_author{
		margin-bottom : <?php echo esc_attr($eltd_options['blog_vertical_loop_type_ql_quote_author_margin_bottom'].'px');?>;
	}
<?php } ?>

<?php
/**************** BLOG VERTICAL LOOP: Title Style ****************/
$blog_vertical_loop_type_title_style = array();

if(isset($eltd_options['blog_vertical_loop_type_title_google_fonts']) && $eltd_options['blog_vertical_loop_type_title_google_fonts'] !== '-1') {
    $blog_vertical_loop_type_title_style[] = 'font-family: '.str_replace('+', ' ', $eltd_options['blog_vertical_loop_type_title_google_fonts']).', sans-serif';
}

if(isset($eltd_options['blog_vertical_loop_type_title_fontsize']) && $eltd_options['blog_vertical_loop_type_title_fontsize'] !== '') {
    $blog_vertical_loop_type_title_style[] = 'font-size: '.$eltd_options['blog_vertical_loop_type_title_fontsize'].'px';
}

if(isset($eltd_options['blog_vertical_loop_type_title_lineheight']) && $eltd_options['blog_vertical_loop_type_title_lineheight'] !== '') {
    $blog_vertical_loop_type_title_style[] = 'line-height: '.$eltd_options['blog_vertical_loop_type_title_lineheight'].'px';
}

if(isset($eltd_options['blog_vertical_loop_type_title_letterspacing']) && $eltd_options['blog_vertical_loop_type_title_letterspacing'] !== '') {
    $blog_vertical_loop_type_title_style[] = 'letter-spacing: '.$eltd_options['blog_vertical_loop_type_title_letterspacing'].'px';
}

if(isset($eltd_options['blog_vertical_loop_type_title_fontweight']) && $eltd_options['blog_vertical_loop_type_title_fontweight'] !== '') {
    $blog_vertical_loop_type_title_style[] = 'font-weight: '.$eltd_options['blog_vertical_loop_type_title_fontweight'];
}

if(isset($eltd_options['blog_vertical_loop_type_title_fontstyle']) && $eltd_options['blog_vertical_loop_type_title_fontstyle'] !== '') {
    $blog_vertical_loop_type_title_style[] = 'font-style: '.$eltd_options['blog_vertical_loop_type_title_fontstyle'];
}

if(isset($eltd_options['blog_vertical_loop_type_title_texttransform']) && $eltd_options['blog_vertical_loop_type_title_texttransform'] !== '') {
    $blog_vertical_loop_type_title_style[] = 'text-transform: '.$eltd_options['blog_vertical_loop_type_title_texttransform'];
}

if(is_array($blog_vertical_loop_type_title_style) && count($blog_vertical_loop_type_title_style)) { ?>
    .blog_holder.blog_vertical_loop_type article:not(.format-quote):not(.format-link):not(.next_post) h2{
    <?php echo esc_attr(implode(';', $blog_vertical_loop_type_title_style)); ?>
    }
<?php } ?>

<?php if(isset($eltd_options['blog_vertical_loop_type_title_color']) && !empty($eltd_options['blog_vertical_loop_type_title_color'])){ ?>
    .blog_holder.blog_vertical_loop_type article:not(.format-quote):not(.format-link):not(.next_post) h2 a,
	.blog_holder.blog_single.blog_vertical_loop_type article:not(.format-quote):not(.format-link) h2{
    color: <?php echo esc_attr($eltd_options['blog_vertical_loop_type_title_color']);  ?>;
    }
<?php } ?>

<?php if(isset($eltd_options['blog_vertical_loop_type_title_hover_color']) && !empty($eltd_options['blog_vertical_loop_type_title_hover_color'])){ ?>
    .blog_holder.blog_vertical_loop_type article:not(.format-quote):not(.format-link):not(.next_post) h2 a:hover,
	.blog_holder.blog_single.blog_vertical_loop_type article:not(.format-quote):not(.format-link):not(.next_post) h2:hover{
    color: <?php echo esc_attr($eltd_options['blog_vertical_loop_type_title_hover_color']);  ?>;
    }
<?php } 

/**************** BLOG VERTICAL LOOP: Subtitle Style ****************/
$blog_vertical_loop_type_subtitle_style = array();

if(isset($eltd_options['blog_vertical_loop_type_subtitle_google_fonts']) && $eltd_options['blog_vertical_loop_type_subtitle_google_fonts'] !== '-1') {
    $blog_vertical_loop_type_subtitle_style[] = 'font-family: '.str_replace('+', ' ', $eltd_options['blog_vertical_loop_type_subtitle_google_fonts']).', sans-serif';
}

if(isset($eltd_options['blog_vertical_loop_type_subtitle_fontsize']) && $eltd_options['blog_vertical_loop_type_subtitle_fontsize'] !== '') {
    $blog_vertical_loop_type_subtitle_style[] = 'font-size: '.$eltd_options['blog_vertical_loop_type_subtitle_fontsize'].'px';
}

if(isset($eltd_options['blog_vertical_loop_type_subtitle_lineheight']) && $eltd_options['blog_vertical_loop_type_subtitle_lineheight'] !== '') {
    $blog_vertical_loop_type_subtitle_style[] = 'line-height: '.$eltd_options['blog_vertical_loop_type_subtitle_lineheight'].'px';
}

if(isset($eltd_options['blog_vertical_loop_type_subtitle_letterspacing']) && $eltd_options['blog_vertical_loop_type_subtitle_letterspacing'] !== '') {
    $blog_vertical_loop_type_subtitle_style[] = 'letter-spacing: '.$eltd_options['blog_vertical_loop_type_subtitle_letterspacing'].'px';
}

if(isset($eltd_options['blog_vertical_loop_type_subtitle_fontweight']) && $eltd_options['blog_vertical_loop_type_subtitle_fontweight'] !== '') {
    $blog_vertical_loop_type_subtitle_style[] = 'font-weight: '.$eltd_options['blog_vertical_loop_type_subtitle_fontweight'];
}

if(isset($eltd_options['blog_vertical_loop_type_subtitle_fontstyle']) && $eltd_options['blog_vertical_loop_type_subtitle_fontstyle'] !== '') {
    $blog_vertical_loop_type_subtitle_style[] = 'font-style: '.$eltd_options['blog_vertical_loop_type_subtitle_fontstyle'];
}

if(isset($eltd_options['blog_vertical_loop_type_subtitle_texttransform']) && $eltd_options['blog_vertical_loop_type_subtitle_texttransform'] !== '') {
    $blog_vertical_loop_type_subtitle_style[] = 'text-transform: '.$eltd_options['blog_vertical_loop_type_subtitle_texttransform'];
}

if(isset($eltd_options['blog_vertical_loop_type_subtitle_color']) && $eltd_options['blog_vertical_loop_type_subtitle_color'] !== '') {
    $blog_vertical_loop_type_subtitle_style[] = 'color: '.$eltd_options['blog_vertical_loop_type_subtitle_color'];
}

if(is_array($blog_vertical_loop_type_subtitle_style) && count($blog_vertical_loop_type_subtitle_style)) { ?>
    .blog_holder.blog_vertical_loop_type article:not(.format-quote):not(.format-link):not(.next_post) .post-subtitle h4 {
    <?php echo esc_attr(implode(';', $blog_vertical_loop_type_subtitle_style)); ?>
    }
<?php } ?>

<?php if(isset($eltd_options['blog_vertical_loop_type_subtitle_hover_color']) && !empty($eltd_options['blog_vertical_loop_type_subtitle_hover_color'])){ ?>
    .blog_holder.blog_vertical_loop_type article:not(.format-quote):not(.format-link):not(.next_post) .post-subtitle h4:hover {
    color: <?php echo esc_attr($eltd_options['blog_vertical_loop_type_subtitle_hover_color']);  ?>;
    }
<?php } ?>

<?php
/**************** BLOG VERTICAL LOOP: Qoute/Link Title Style ****************/
$blog_vertical_loop_type_ql_title_style = array();

if(isset($eltd_options['blog_vertical_loop_type_ql_title_google_fonts']) && $eltd_options['blog_vertical_loop_type_ql_title_google_fonts'] !== '-1') {
    $blog_vertical_loop_type_ql_title_style[] = 'font-family: '.str_replace('+', ' ', $eltd_options['blog_vertical_loop_type_ql_title_google_fonts']).', sans-serif';
}

if(isset($eltd_options['blog_vertical_loop_type_ql_title_fontsize']) && $eltd_options['blog_vertical_loop_type_ql_title_fontsize'] !== '') {
    $blog_vertical_loop_type_ql_title_style[] = 'font-size: '.$eltd_options['blog_vertical_loop_type_ql_title_fontsize'].'px';
}

if(isset($eltd_options['blog_vertical_loop_type_ql_title_lineheight']) && $eltd_options['blog_vertical_loop_type_ql_title_lineheight'] !== '') {
    $blog_vertical_loop_type_ql_title_style[] = 'line-height: '.$eltd_options['blog_vertical_loop_type_ql_title_lineheight'].'px';
}

if(isset($eltd_options['blog_vertical_loop_type_ql_title_letterspacing']) && $eltd_options['blog_vertical_loop_type_ql_title_letterspacing'] !== '') {
    $blog_vertical_loop_type_ql_title_style[] = 'letter-spacing: '.$eltd_options['blog_vertical_loop_type_ql_title_letterspacing'].'px';
}

if(isset($eltd_options['blog_vertical_loop_type_ql_title_fontweight']) && $eltd_options['blog_vertical_loop_type_ql_title_fontweight'] !== '') {
    $blog_vertical_loop_type_ql_title_style[] = 'font-weight: '.$eltd_options['blog_vertical_loop_type_ql_title_fontweight'];
}

if(isset($eltd_options['blog_vertical_loop_type_ql_title_fontstyle']) && $eltd_options['blog_vertical_loop_type_ql_title_fontstyle'] !== '') {
    $blog_vertical_loop_type_ql_title_style[] = 'font-style: '.$eltd_options['blog_vertical_loop_type_ql_title_fontstyle'];
}

if(isset($eltd_options['blog_vertical_loop_type_ql_title_texttransform']) && $eltd_options['blog_vertical_loop_type_ql_title_texttransform'] !== '') {
    $blog_vertical_loop_type_ql_title_style[] = 'text-transform: '.$eltd_options['blog_vertical_loop_type_ql_title_texttransform'];
}

if(is_array($blog_vertical_loop_type_ql_title_style) && count($blog_vertical_loop_type_ql_title_style)) { ?>
    .blog_holder.blog_vertical_loop_type article.format-quote .post_text .post_title h3,
    .blog_holder.blog_vertical_loop_type article.format-link .post_text .post_title h3{
    <?php echo esc_attr(implode(';', $blog_vertical_loop_type_ql_title_style)); ?>
    }
<?php } ?>

<?php if(isset($eltd_options['blog_vertical_loop_type_ql_title_color']) && !empty($eltd_options['blog_vertical_loop_type_ql_title_color'])){ ?>
    .blog_holder.blog_vertical_loop_type article.format-quote .post_text .post_title h3 a,
    .blog_holder.blog_vertical_loop_type article.format-link .post_text .post_title h3 a,
	.blog_holder.blog_vertical_loop_type article.format-quote .post_text .post_title h3,
	.blog_holder.blog_vertical_loop_type article.format-link .post_text .post_title h3
	{
    color: <?php echo esc_attr($eltd_options['blog_vertical_loop_type_ql_title_color']);  ?>;
    }
<?php } ?>

<?php if(isset($eltd_options['blog_vertical_loop_type_ql_title_hover_color']) && !empty($eltd_options['blog_vertical_loop_type_ql_title_hover_color'])){ ?>
    .blog_holder.blog_vertical_loop_type article.format-quote .post_text .post_text_inner:hover .post_title h3 a,
    .blog_holder.blog_vertical_loop_type article.format-link .post_text .post_text_inner:hover .post_title h3 a,
	.blog_holder.blog_vertical_loop_type article.format-quote .post_text .post_text_inner:hover .post_title h3,
	.blog_holder.blog_vertical_loop_type article.format-link .post_text .post_text_inner:hover .post_title h3
	{
    color: <?php echo esc_attr($eltd_options['blog_vertical_loop_type_ql_title_hover_color']);  ?>;
    }
<?php } ?>
<?php
/**************** BLOG VERTICAL LOOP: Qoute Author Style ****************/
$blog_vertical_loop_type_ql_author_style = array();

if(isset($eltd_options['blog_vertical_loop_type_ql_author_google_fonts']) && $eltd_options['blog_vertical_loop_type_ql_author_google_fonts'] !== '-1') {
	$blog_vertical_loop_type_ql_author_style[] = 'font-family: '.str_replace('+', ' ', $eltd_options['blog_vertical_loop_type_ql_author_google_fonts']).', sans-serif';
}

if(isset($eltd_options['blog_vertical_loop_type_ql_author_fontsize']) && $eltd_options['blog_vertical_loop_type_ql_author_fontsize'] !== '') {
	$blog_vertical_loop_type_ql_author_style[] = 'font-size: '.$eltd_options['blog_vertical_loop_type_ql_author_fontsize'].'px';
}

if(isset($eltd_options['blog_vertical_loop_type_ql_author_lineheight']) && $eltd_options['blog_vertical_loop_type_ql_author_lineheight'] !== '') {
	$blog_vertical_loop_type_ql_author_style[] = 'line-height: '.$eltd_options['blog_vertical_loop_type_ql_author_lineheight'].'px';
}

if(isset($eltd_options['blog_vertical_loop_type_ql_author_letterspacing']) && $eltd_options['blog_vertical_loop_type_ql_author_letterspacing'] !== '') {
	$blog_vertical_loop_type_ql_author_style[] = 'letter-spacing: '.$eltd_options['blog_vertical_loop_type_ql_author_letterspacing'].'px';
}

if(isset($eltd_options['blog_vertical_loop_type_ql_author_fontweight']) && $eltd_options['blog_vertical_loop_type_ql_author_fontweight'] !== '') {
	$blog_vertical_loop_type_ql_author_style[] = 'font-weight: '.$eltd_options['blog_vertical_loop_type_ql_author_fontweight'];
}

if(isset($eltd_options['blog_vertical_loop_type_ql_author_fontstyle']) && $eltd_options['blog_vertical_loop_type_ql_author_fontstyle'] !== '') {
	$blog_vertical_loop_type_ql_author_style[] = 'font-style: '.$eltd_options['blog_vertical_loop_type_ql_author_fontstyle'];
}

if(isset($eltd_options['blog_vertical_loop_type_ql_author_texttransform']) && $eltd_options['blog_vertical_loop_type_ql_author_texttransform'] !== '') {
	$blog_vertical_loop_type_ql_author_style[] = 'text-transform: '.$eltd_options['blog_vertical_loop_type_ql_author_texttransform'];
}

if(is_array($blog_vertical_loop_type_ql_author_style) && count($blog_vertical_loop_type_ql_author_style)) { ?>
	.blog_holder.blog_vertical_loop_type article.format-quote .post_text .quote_author{
	<?php echo esc_attr(implode(';', $blog_vertical_loop_type_ql_author_style)); ?>
	}
<?php } ?>

<?php if(isset($eltd_options['blog_vertical_loop_type_ql_author_color']) && !empty($eltd_options['blog_vertical_loop_type_ql_author_color'])){ ?>
	.blog_holder.blog_vertical_loop_type article.format-quote .post_text .quote_author{
	color: <?php echo esc_attr($eltd_options['blog_vertical_loop_type_ql_author_color']);  ?>;
	}
<?php } ?>

<?php if(isset($eltd_options['blog_vertical_loop_type_ql_author_hover_color']) && !empty($eltd_options['blog_vertical_loop_type_ql_author_hover_color'])){ ?>
	.blog_holder.blog_vertical_loop_type article.format-quote .post_text .post_text_inner:hover .quote_author{
	color: <?php echo esc_attr($eltd_options['blog_vertical_loop_type_ql_author_hover_color']);  ?>;
	}
<?php } ?>
<?php
/**************** BLOG VERTICAL LOOP: Info Style ****************/
$blog_vertical_loop_type_info_style = array();

if(isset($eltd_options['blog_vertical_loop_type_info_google_fonts']) && $eltd_options['blog_vertical_loop_type_info_google_fonts'] !== '-1') {
    $blog_vertical_loop_type_info_style[] = 'font-family: '.str_replace('+', ' ', $eltd_options['blog_vertical_loop_type_info_google_fonts']).', sans-serif';
}

if(isset($eltd_options['blog_vertical_loop_type_info_fontsize']) && $eltd_options['blog_vertical_loop_type_info_fontsize'] !== '') {
    $blog_vertical_loop_type_info_style[] = 'font-size: '.$eltd_options['blog_vertical_loop_type_info_fontsize'].'px';
}

if(isset($eltd_options['blog_vertical_loop_type_info_lineheight']) && $eltd_options['blog_vertical_loop_type_info_lineheight'] !== '') {
    $blog_vertical_loop_type_info_style[] = 'line-height: '.$eltd_options['blog_vertical_loop_type_info_lineheight'].'px';
}

if(isset($eltd_options['blog_vertical_loop_type_info_letterspacing']) && $eltd_options['blog_vertical_loop_type_info_letterspacing'] !== '') {
    $blog_vertical_loop_type_info_style[] = 'letter-spacing: '.$eltd_options['blog_vertical_loop_type_info_letterspacing'].'px';
}

if(isset($eltd_options['blog_vertical_loop_type_info_fontweight']) && $eltd_options['blog_vertical_loop_type_info_fontweight'] !== '') {
    $blog_vertical_loop_type_info_style[] = 'font-weight: '.$eltd_options['blog_vertical_loop_type_info_fontweight'];
}

if(isset($eltd_options['blog_vertical_loop_type_info_fontstyle']) && $eltd_options['blog_vertical_loop_type_info_fontstyle'] !== '') {
    $blog_vertical_loop_type_info_style[] = 'font-style: '.$eltd_options['blog_vertical_loop_type_info_fontstyle'];
}

if(isset($eltd_options['blog_vertical_loop_type_info_texttransform']) && $eltd_options['blog_vertical_loop_type_info_texttransform'] !== '') {
    $blog_vertical_loop_type_info_style[] = 'text-transform: '.$eltd_options['blog_vertical_loop_type_info_texttransform'];
}
if(is_array($blog_vertical_loop_type_info_style) && count($blog_vertical_loop_type_info_style)) { ?>

    .blog_holder.blog_vertical_loop_type article:not(.format-quote):not(.format-link) .post_text .post_text_inner .post_info div{
   		<?php echo esc_attr(implode(';', $blog_vertical_loop_type_info_style)); ?>
    }
<?php } ?>

<?php if(isset($eltd_options['blog_vertical_loop_type_info_color']) && !empty($eltd_options['blog_vertical_loop_type_info_color'])){ ?>
    .blog_holder.blog_vertical_loop_type article:not(.format-quote):not(.format-link) .post_text .post_text_inner .post_info div
   {
    color: <?php echo esc_attr($eltd_options['blog_vertical_loop_type_info_color']);  ?>;
    }
<?php } ?>

<?php if(isset($eltd_options['blog_vertical_loop_type_info_link_color']) && !empty($eltd_options['blog_vertical_loop_type_info_link_color'])){ ?>
	.blog_holder.blog_vertical_loop_type article:not(.format-quote):not(.format-link) .post_text .post_text_inner .post_info div a
   {
    color: <?php echo esc_attr($eltd_options['blog_vertical_loop_type_info_link_color']);  ?>;
    }
<?php } ?>

<?php if(isset($eltd_options['blog_vertical_loop_type_info_hover_color']) && !empty($eltd_options['blog_vertical_loop_type_info_hover_color'])){ ?>
    .blog_holder.blog_vertical_loop_type article:not(.format-quote):not(.format-link) .post_text .post_text_inner .post_info div a:hover{
    	color: <?php echo esc_attr($eltd_options['blog_vertical_loop_type_info_hover_color']);  ?>;
    }
<?php } ?>


<?php
/****************  BLOG VERTICAL LOOP: Quote/Link TExt Style *********************/
$blog_vertical_loop_type_ql_info_style = array();

if(isset($eltd_options['blog_vertical_loop_type_ql_info_google_fonts']) && $eltd_options['blog_vertical_loop_type_ql_info_google_fonts'] !== '-1') {
    $blog_vertical_loop_type_ql_info_style[] = 'font-family: '.str_replace('+', ' ', $eltd_options['blog_vertical_loop_type_ql_info_google_fonts']).', sans-serif';
}

if(isset($eltd_options['blog_vertical_loop_type_ql_info_fontsize']) && $eltd_options['blog_vertical_loop_type_ql_info_fontsize'] !== '') {
    $blog_vertical_loop_type_ql_info_style[] = 'font-size: '.$eltd_options['blog_vertical_loop_type_ql_info_fontsize'].'px';
}

if(isset($eltd_options['blog_vertical_loop_type_ql_info_lineheight']) && $eltd_options['blog_vertical_loop_type_ql_info_lineheight'] !== '') {
    $blog_vertical_loop_type_ql_info_style[] = 'line-height: '.$eltd_options['blog_vertical_loop_type_ql_info_lineheight'].'px';
}

if(isset($eltd_options['blog_vertical_loop_type_ql_info_letterspacing']) && $eltd_options['blog_vertical_loop_type_ql_info_letterspacing'] !== '') {
    $blog_vertical_loop_type_ql_info_style[] = 'letter-spacing: '.$eltd_options['blog_vertical_loop_type_ql_info_letterspacing'].'px';
}

if(isset($eltd_options['blog_vertical_loop_type_ql_info_fontweight']) && $eltd_options['blog_vertical_loop_type_ql_info_fontweight'] !== '') {
    $blog_vertical_loop_type_ql_info_style[] = 'font-weight: '.$eltd_options['blog_vertical_loop_type_ql_info_fontweight'];
}

if(isset($eltd_options['blog_vertical_loop_type_ql_info_fontstyle']) && $eltd_options['blog_vertical_loop_type_ql_info_fontstyle'] !== '') {
    $blog_vertical_loop_type_ql_info_style[] = 'font-style: '.$eltd_options['blog_vertical_loop_type_ql_info_fontstyle'];
}

if(isset($eltd_options['blog_vertical_loop_type_ql_info_texttransform']) && $eltd_options['blog_vertical_loop_type_ql_info_texttransform'] !== '') {
    $blog_vertical_loop_type_ql_info_style[] = 'text-transform: '.$eltd_options['blog_vertical_loop_type_ql_info_texttransform'];
}
if(is_array($blog_vertical_loop_type_ql_info_style) && count($blog_vertical_loop_type_ql_info_style)) { ?>
    .blog_holder.blog_vertical_loop_type article.format-quote .post_text .post_text_inner .post_info,
    .blog_holder.blog_vertical_loop_type article.format-link .post_text .post_text_inner .post_info{
    <?php echo esc_attr(implode(';', $blog_vertical_loop_type_ql_info_style)); ?>
    }
<?php } ?>

<?php if(isset($eltd_options['blog_vertical_loop_type_ql_info_color']) && !empty($eltd_options['blog_vertical_loop_type_ql_info_color'])){ ?>
    .blog_holder.blog_vertical_loop_type article.format-quote .post_text .post_text_inner .post_info,
    .blog_holder.blog_vertical_loop_type article.format-link .post_text .post_text_inner .post_info{
    color: <?php echo esc_attr($eltd_options['blog_vertical_loop_type_ql_info_color']);  ?>;
    }
<?php } ?>
<?php if(isset($eltd_options['blog_vertical_loop_type_ql_info_link_color']) && !empty($eltd_options['blog_vertical_loop_type_ql_info_link_color'])){ ?>
    .blog_holder.blog_vertical_loop_type article.format-quote .post_text .post_text_inner .post_info a,
    .blog_holder.blog_vertical_loop_type article.format-link .post_text .post_text_inner .post_info a{
    color: <?php echo esc_attr($eltd_options['blog_vertical_loop_type_ql_info_link_color']);  ?>;
    }
<?php } ?>
<?php if(isset($eltd_options['blog_vertical_loop_type_ql_info_hover_color']) && !empty($eltd_options['blog_vertical_loop_type_ql_info_hover_color'])){ ?>
    .blog_holder.blog_vertical_loop_type article.format-quote .post_text .post_text_inner:hover .post_info,
    .blog_holder.blog_vertical_loop_type article.format-link .post_text .post_text_inner:hover .post_info,
    .blog_holder.blog_vertical_loop_type article.format-quote .post_text .post_text_inner:hover .post_info div a,
    .blog_holder.blog_vertical_loop_type article.format-link .post_text .post_text_inner:hover .post_info div a{
    color: <?php echo esc_attr($eltd_options['blog_vertical_loop_type_ql_info_hover_color']);  ?>;
    }
<?php } ?>

<?php if(isset($eltd_options['blog_vertical_loop_type_ql_mark_color']) && !empty($eltd_options['blog_vertical_loop_type_ql_mark_color'])){ ?>
    .blog_holder.blog_vertical_loop_type article.format-quote .post_text .post_text_inner .post_info_quote_mark .quote_mark,
    .blog_holder.blog_vertical_loop_type article.format-link .post_text .post_text_inner .post_info_link_mark .link_mark{
    color: <?php echo esc_attr($eltd_options['blog_vertical_loop_type_ql_mark_color']);  ?>;
    }
<?php } ?>

<?php if(isset($eltd_options['blog_vertical_loop_type_ql_mark_hover_color']) && !empty($eltd_options['blog_vertical_loop_type_ql_mark_hover_color'])){ ?>
    .blog_holder.blog_vertical_loop_type article.format-quote .post_text .post_text_inner:hover  .post_info_quote_mark .quote_mark,
    .blog_holder.blog_vertical_loop_type article.format-link .post_text .post_text_inner:hover .post_info_link_mark .link_mark{
    color: <?php echo esc_attr($eltd_options['blog_vertical_loop_type_ql_mark_hover_color']);  ?>;
    }
<?php } ?>

<?php if(isset($eltd_options['blog_vertical_loop_type_image_height']) && $eltd_options['blog_vertical_loop_type_image_height'] !== ''){ ?>
    .blog_vertical_loop article .post_image, .blog_vertical_loop_clapper.split .clap-upper {
        height: <?php echo esc_attr($eltd_options['blog_vertical_loop_type_image_height'].'px');  ?>;
    }
<?php } ?>

<?php
/**************** BLOG VERTICAL LOOP - NEXT LINK: Title Style ****************/
$blog_vertical_loop_type_next_article_title_style = array();

if(isset($eltd_options['blog_vertical_loop_type_next_article_title_google_fonts']) && $eltd_options['blog_vertical_loop_type_next_article_title_google_fonts'] !== '-1') {
    $blog_vertical_loop_type_next_article_title_style[] = 'font-family: '.str_replace('+', ' ', $eltd_options['blog_vertical_loop_type_next_article_title_google_fonts']).', sans-serif';
}

if(isset($eltd_options['blog_vertical_loop_type_next_article_title_fontsize']) && $eltd_options['blog_vertical_loop_type_next_article_title_fontsize'] !== '') {
    $blog_vertical_loop_type_next_article_title_style[] = 'font-size: '.$eltd_options['blog_vertical_loop_type_next_article_title_fontsize'].'px';
}

if(isset($eltd_options['blog_vertical_loop_type_next_article_title_lineheight']) && $eltd_options['blog_vertical_loop_type_next_article_title_lineheight'] !== '') {
    $blog_vertical_loop_type_next_article_title_style[] = 'line-height: '.$eltd_options['blog_vertical_loop_type_next_article_title_lineheight'].'px';
}

if(isset($eltd_options['blog_vertical_loop_type_next_article_title_letterspacing']) && $eltd_options['blog_vertical_loop_type_next_article_title_letterspacing'] !== '') {
    $blog_vertical_loop_type_next_article_title_style[] = 'letter-spacing: '.$eltd_options['blog_vertical_loop_type_next_article_title_letterspacing'].'px';
}

if(isset($eltd_options['blog_vertical_loop_type_next_article_title_fontweight']) && $eltd_options['blog_vertical_loop_type_next_article_title_fontweight'] !== '') {
    $blog_vertical_loop_type_next_article_title_style[] = 'font-weight: '.$eltd_options['blog_vertical_loop_type_next_article_title_fontweight'];
}

if(isset($eltd_options['blog_vertical_loop_type_next_article_title_fontstyle']) && $eltd_options['blog_vertical_loop_type_next_article_title_fontstyle'] !== '') {
    $blog_vertical_loop_type_next_article_title_style[] = 'font-style: '.$eltd_options['blog_vertical_loop_type_next_article_title_fontstyle'];
}

if(isset($eltd_options['blog_vertical_loop_type_next_article_title_texttransform']) && $eltd_options['blog_vertical_loop_type_next_article_title_texttransform'] !== '') {
    $blog_vertical_loop_type_next_article_title_style[] = 'text-transform: '.$eltd_options['blog_vertical_loop_type_next_article_title_texttransform'];
}
if(isset($eltd_options['blog_vertical_loop_type_next_article_title_color']) && !empty($eltd_options['blog_vertical_loop_type_next_article_title_color'])){
	$blog_vertical_loop_type_next_article_title_style[] = 'color: '.$eltd_options['blog_vertical_loop_type_next_article_title_color'];
}

if(isset($eltd_options['blog_vertical_loop_type_next_article_title_position']) && $eltd_options['blog_vertical_loop_type_next_article_title_position'] !== ''){
	$blog_vertical_loop_type_next_article_title_style[] = 'text-align: '.$eltd_options['blog_vertical_loop_type_next_article_title_position'];
}

if(is_array($blog_vertical_loop_type_next_article_title_style) && count($blog_vertical_loop_type_next_article_title_style)) { ?>
    .blog_holder.blog_vertical_loop_type article .post_image_title h2,
    .blog_vertical_loop_clapper .clap-title h2{
    <?php echo esc_attr(implode(';', $blog_vertical_loop_type_next_article_title_style)); ?>
    }
<?php }

/**************** BLOG VERTICAL LOOP - NEXT LINK: Subtitle Style ****************/
$blog_vertical_loop_type_next_article_subtitle_style = array();

if(isset($eltd_options['blog_vertical_loop_type_next_article_subtitle_google_fonts']) && $eltd_options['blog_vertical_loop_type_next_article_subtitle_google_fonts'] !== '-1') {
    $blog_vertical_loop_type_next_article_subtitle_style[] = 'font-family: '.str_replace('+', ' ', $eltd_options['blog_vertical_loop_type_next_article_subtitle_google_fonts']).', sans-serif';
}

if(isset($eltd_options['blog_vertical_loop_type_next_article_subtitle_fontsize']) && $eltd_options['blog_vertical_loop_type_next_article_subtitle_fontsize'] !== '') {
    $blog_vertical_loop_type_next_article_subtitle_style[] = 'font-size: '.$eltd_options['blog_vertical_loop_type_next_article_subtitle_fontsize'].'px';
}

if(isset($eltd_options['blog_vertical_loop_type_next_article_subtitle_lineheight']) && $eltd_options['blog_vertical_loop_type_next_article_subtitle_lineheight'] !== '') {
    $blog_vertical_loop_type_next_article_subtitle_style[] = 'line-height: '.$eltd_options['blog_vertical_loop_type_next_article_subtitle_lineheight'].'px';
}

if(isset($eltd_options['blog_vertical_loop_type_next_article_subtitle_letterspacing']) && $eltd_options['blog_vertical_loop_type_next_article_subtitle_letterspacing'] !== '') {
    $blog_vertical_loop_type_next_article_subtitle_style[] = 'letter-spacing: '.$eltd_options['blog_vertical_loop_type_next_article_subtitle_letterspacing'].'px';
}

if(isset($eltd_options['blog_vertical_loop_type_next_article_subtitle_fontweight']) && $eltd_options['blog_vertical_loop_type_next_article_subtitle_fontweight'] !== '') {
    $blog_vertical_loop_type_next_article_subtitle_style[] = 'font-weight: '.$eltd_options['blog_vertical_loop_type_next_article_subtitle_fontweight'];
}

if(isset($eltd_options['blog_vertical_loop_type_next_article_subtitle_fontstyle']) && $eltd_options['blog_vertical_loop_type_next_article_subtitle_fontstyle'] !== '') {
    $blog_vertical_loop_type_next_article_subtitle_style[] = 'font-style: '.$eltd_options['blog_vertical_loop_type_next_article_subtitle_fontstyle'];
}

if(isset($eltd_options['blog_vertical_loop_type_next_article_subtitle_texttransform']) && $eltd_options['blog_vertical_loop_type_next_article_subtitle_texttransform'] !== '') {
    $blog_vertical_loop_type_next_article_subtitle_style[] = 'text-transform: '.$eltd_options['blog_vertical_loop_type_next_article_subtitle_texttransform'];
}
if(isset($eltd_options['blog_vertical_loop_type_next_article_subtitle_color']) && !empty($eltd_options['blog_vertical_loop_type_next_article_subtitle_color'])){
	$blog_vertical_loop_type_next_article_subtitle_style[] = 'color: '.$eltd_options['blog_vertical_loop_type_next_article_subtitle_color'];
}

if(isset($eltd_options['blog_vertical_loop_type_next_article_subtitle_position']) && $eltd_options['blog_vertical_loop_type_next_article_subtitle_position'] !== ''){
	$blog_vertical_loop_type_next_article_subtitle_style[] = 'text-align: '.$eltd_options['blog_vertical_loop_type_next_article_subtitle_position'];
}

if(is_array($blog_vertical_loop_type_next_article_subtitle_style) && count($blog_vertical_loop_type_next_article_subtitle_style)) { ?>
    .blog_vertical_loop_clapper .clap-subtitle h4,
	.blog_vertical_loop_type .post_image_inner .post-subtitle h4 {
    <?php echo esc_attr(implode(';', $blog_vertical_loop_type_next_article_subtitle_style)); ?>
    }
<?php } ?>

<?php
$blog_vertical_loop_type_next_info_style = array();

if(isset($eltd_options['blog_vertical_loop_type_next_info_google_fonts']) && $eltd_options['blog_vertical_loop_type_next_info_google_fonts'] !== '-1') {
    $blog_vertical_loop_type_next_info_style[] = 'font-family: '.str_replace('+', ' ', $eltd_options['blog_vertical_loop_type_next_info_google_fonts']).', sans-serif';
}

if(isset($eltd_options['blog_vertical_loop_type_next_info_fontsize']) && $eltd_options['blog_vertical_loop_type_next_info_fontsize'] !== '') {
    $blog_vertical_loop_type_next_info_style[] = 'font-size: '.$eltd_options['blog_vertical_loop_type_next_info_fontsize'].'px';
}

if(isset($eltd_options['blog_vertical_loop_type_next_info_lineheight']) && $eltd_options['blog_vertical_loop_type_next_info_lineheight'] !== '') {
    $blog_vertical_loop_type_next_info_style[] = 'line-height: '.$eltd_options['blog_vertical_loop_type_next_info_lineheight'].'px';
}

if(isset($eltd_options['blog_vertical_loop_type_next_info_letterspacing']) && $eltd_options['blog_vertical_loop_type_next_info_letterspacing'] !== '') {
    $blog_vertical_loop_type_next_info_style[] = 'letter-spacing: '.$eltd_options['blog_vertical_loop_type_next_info_letterspacing'].'px';
}

if(isset($eltd_options['blog_vertical_loop_type_next_info_fontweight']) && $eltd_options['blog_vertical_loop_type_next_info_fontweight'] !== '') {
    $blog_vertical_loop_type_next_info_style[] = 'font-weight: '.$eltd_options['blog_vertical_loop_type_next_info_fontweight'];
}

if(isset($eltd_options['blog_vertical_loop_type_next_info_fontstyle']) && $eltd_options['blog_vertical_loop_type_next_info_fontstyle'] !== '') {
    $blog_vertical_loop_type_next_info_style[] = 'font-style: '.$eltd_options['blog_vertical_loop_type_next_info_fontstyle'];
}

if(isset($eltd_options['blog_vertical_loop_type_next_info_texttransform']) && $eltd_options['blog_vertical_loop_type_next_info_texttransform'] !== '') {
    $blog_vertical_loop_type_next_info_style[] = 'text-transform: '.$eltd_options['blog_vertical_loop_type_next_info_texttransform'];
}
if(is_array($blog_vertical_loop_type_next_info_style) && count($blog_vertical_loop_type_next_info_style)) { ?>

    .blog_holder.blog_vertical_loop_type article .post_image_title .post_info div,
    .blog_holder.blog_vertical_loop_type .blog_vertical_loop_clapper .post_info div{
   		<?php echo esc_attr(implode(';', $blog_vertical_loop_type_next_info_style)); ?>
    }
<?php } ?>

<?php if(isset($eltd_options['blog_vertical_loop_type_next_info_color']) && !empty($eltd_options['blog_vertical_loop_type_next_info_color'])){ ?>
    .blog_holder.blog_vertical_loop_type article .post_image_title .post_info div,
    .blog_holder.blog_vertical_loop_type .blog_vertical_loop_clapper .post_info div
   {
    color: <?php echo esc_attr($eltd_options['blog_vertical_loop_type_next_info_color']);  ?>;
    }
<?php } ?>

<?php if(isset($eltd_options['blog_vertical_loop_type_next_info_link_color']) && !empty($eltd_options['blog_vertical_loop_type_next_info_link_color'])){ ?>
	.blog_holder.blog_vertical_loop_type article .post_image_title .post_info div a,
	.blog_holder.blog_vertical_loop_type .blog_vertical_loop_clapper .post_info div a
   {
    color: <?php echo esc_attr($eltd_options['blog_vertical_loop_type_next_info_link_color']);  ?>;
    }
<?php } ?>

<?php if(isset($eltd_options['blog_vertical_loop_type_next_info_hover_color']) && !empty($eltd_options['blog_vertical_loop_type_next_info_hover_color'])){ ?>
    .blog_holder.blog_vertical_loop_type article .post_image_title .post_info div a:hover,
    .blog_holder.blog_vertical_loop_type .blog_vertical_loop_clapper .post_info div a:hover{
    	color: <?php echo esc_attr($eltd_options['blog_vertical_loop_type_next_info_hover_color']);  ?>;
    }
<?php } ?>

<?php if(isset($eltd_options['blog_vertical_loop_type_next_article_arrow_size']) && $eltd_options['blog_vertical_loop_type_next_article_arrow_size'] !== '') { ?>
   .blog_vertical_loop_button .button_icon a:before,
   .blog_vertical_loop_back_button .button_icon a:before{
	font-size: <?php echo esc_attr($eltd_options['blog_vertical_loop_type_next_article_arrow_size'].'px')?>
   }
<?php }

if(isset($eltd_options['blog_vertical_loop_type_next_article_arrow_color']) && $eltd_options['blog_vertical_loop_type_next_article_arrow_color'] !== '') { ?>
   .blog_vertical_loop_button .button_icon a:before,
   .blog_vertical_loop_back_button .button_icon a:before{
	color: <?php echo esc_attr($eltd_options['blog_vertical_loop_type_next_article_arrow_color'])?>
   }
<?php }

if(isset($eltd_options['blog_vertical_loop_type_next_article_font_weight']) && $eltd_options['blog_vertical_loop_type_next_article_font_weight'] !== '') { ?>
   .blog_vertical_loop_button .button_icon a:before,
   .blog_vertical_loop_back_button .button_icon a:before{
	font-weight: <?php echo esc_attr($eltd_options['blog_vertical_loop_type_next_article_font_weight'])?>
   }
<?php }

if(isset($eltd_options['blog_vertical_loop_type_next_article_arrow_color_hover']) && $eltd_options['blog_vertical_loop_type_next_article_arrow_color_hover'] !== '') { ?>
   .blog_vertical_loop_button .button_icon a:hover:before,
   .blog_vertical_loop_back_button .button_icon a:hover:before{
	color: <?php echo esc_attr($eltd_options['blog_vertical_loop_type_next_article_arrow_color_hover'])?>
   }
<?php }

if(isset($eltd_options['blog_vertical_loop_type_next_article_arrow_background_color']) && !empty($eltd_options['blog_vertical_loop_type_next_article_arrow_background_color'])){ ?>
	.blog_vertical_loop_button .button_icon a,
	.blog_vertical_loop_back_button .button_icon a{
		background-color: <?php echo esc_attr($eltd_options['blog_vertical_loop_type_next_article_arrow_background_color'])?>
   }
<?php }

if(isset($eltd_options['blog_vertical_loop_type_next_article_arrow_bckg_hover_clr']) && !empty($eltd_options['blog_vertical_loop_type_next_article_arrow_bckg_hover_clr'])){ ?>
	.blog_vertical_loop_button .button_icon a:hover,
	.blog_vertical_loop_back_button .button_icon a:hover{
		background-color: <?php echo esc_attr($eltd_options['blog_vertical_loop_type_next_article_arrow_bckg_hover_clr'])?>
   }
<?php } ?>


<?php if (!empty($eltd_options['service_table_background_color'])) { ?>
    .service_table_inner,
    .service_table_holder.title_on_top .service_table_inner{
		<?php if (!empty($eltd_options['service_table_background_color'])) { ?> background-color: <?php echo esc_attr($eltd_options['service_table_background_color']);  ?>; <?php } ?>
    }
<?php } ?>

<?php if (!empty($eltd_options['service_table_separator_color']) || (isset($eltd_options['service_table_separator_thickness']) && $eltd_options['service_table_separator_thickness'] !== '')) { ?>
    .service_table_inner li,
    .service_table_holder.title_on_top .service_table_inner .service_table_content li{
    <?php if (!empty($eltd_options['service_table_separator_color']) && $eltd_options['service_table_separator_opacity'] !== '') {
        $border_color_rgb = eltd_hex2rgb($eltd_options['service_table_separator_color']);
        echo 'border-color: rgba('.$border_color_rgb[0].','.$border_color_rgb[1].','.$border_color_rgb[2].','.$eltd_options['service_table_separator_opacity'].');';
    } else if(!empty($eltd_options['service_table_separator_color'])) {?>  border-color: <?php echo esc_attr($eltd_options['service_table_separator_color']); ?>; <?php } ?>
    <?php if(isset($eltd_options['service_table_separator_thickness']) && $eltd_options['service_table_separator_thickness'] !== ''){?> border-width: <?php echo esc_attr($eltd_options['service_table_separator_thickness']); ?>px; <?php } ?>
	}
<?php } ?>

<?php if (!empty($eltd_options['service_table_title_background_color']) || !empty($eltd_options['service_table_title_separator_color']) || (isset($eltd_options['service_table_title_separator_thickness']) && $eltd_options['service_table_title_separator_thickness'] !== '')) { ?>
    .service_table_inner li.service_table_title_holder{
		<?php if (!empty($eltd_options['service_table_title_separator_color'])) { ?>  border-color: <?php echo esc_attr($eltd_options['service_table_title_separator_color']);  ?>; <?php } ?>
		<?php if (isset($eltd_options['service_table_title_separator_thickness']) && $eltd_options['service_table_title_separator_thickness'] !== ''){ ?> border-width: <?php echo esc_attr($eltd_options['service_table_title_separator_thickness']); ?>px; <?php }?>
		<?php if (!empty($eltd_options['service_table_title_background_color'])) { ?> background-color: <?php echo esc_attr($eltd_options['service_table_title_background_color']);  ?>; <?php } ?>
	}
<?php } ?>

<?php if (!empty($eltd_options['service_table_title_separator_color']) ||  (isset($eltd_options['service_table_title_separator_thickness']) && $eltd_options['service_table_title_separator_thickness'] !== '')) { ?>
    .service_table_inner li.service_table_title_holder .title_separator{
		<?php if (!empty($eltd_options['service_table_title_separator_color'])) { ?>  background-color: <?php echo esc_attr($eltd_options['service_table_title_separator_color']);  ?>; <?php } ?>
		<?php if(isset($eltd_options['service_table_title_separator_thickness']) && $eltd_options['service_table_title_separator_thickness'] !== ''){?> height: <?php echo esc_attr($eltd_options['service_table_title_separator_thickness']); ?>px; <?php }?>
	}

    .service_table_holder.title_on_top .service_table_inner li.service_table_title_holder .service_table_title_inner{
        <?php if (!empty($eltd_options['service_table_title_separator_color'])) { ?>  border-bottom-color: <?php echo esc_attr($eltd_options['service_table_title_separator_color']);  ?>; <?php } ?>
        <?php if(isset($eltd_options['service_table_title_separator_thickness']) && $eltd_options['service_table_title_separator_thickness'] !== ''){?> border-bottom-width: <?php echo esc_attr($eltd_options['service_table_title_separator_thickness']); ?>px; <?php }?>
    }

<?php } ?>

<?php if ((isset($eltd_options['service_table_title_padding_top']) && $eltd_options['service_table_title_padding_top'] !== '')) { ?>
    .service_table_inner li.service_table_title_holder,
	.service_table_holder.title_on_top .service_table_inner li.service_table_title_holder .service_table_title_inner{
		<?php if(isset($eltd_options['service_table_title_padding_top']) && $eltd_options['service_table_title_padding_top'] !== ''){?> padding-top: <?php echo esc_attr($eltd_options['service_table_title_padding_top']); ?>px; <?php }?>
	}
<?php } ?>

<?php if ((isset($eltd_options['service_table_title_padding_bottom']) && $eltd_options['service_table_title_padding_bottom'] !== '')) { ?>
    .service_table_inner li.service_table_title_holder,
	.service_table_holder.title_on_top .service_table_inner li.service_table_title_holder .service_table_title_inner{
		<?php if(isset($eltd_options['service_table_title_padding_bottom']) && $eltd_options['service_table_title_padding_bottom'] !== ''){?> padding-bottom: <?php echo esc_attr($eltd_options['service_table_title_padding_bottom']); ?>px; <?php }?>
	}
<?php } ?>

<?php if ((isset($eltd_options['service_table_content_padding_top']) && $eltd_options['service_table_content_padding_top'] !== '')) { ?>
    .service_table_inner li li,
	.service_table_holder.title_on_top .service_table_inner .service_table_content li{
		<?php if(isset($eltd_options['service_table_content_padding_top']) && $eltd_options['service_table_content_padding_top'] !== ''){?> padding-top: <?php echo esc_attr($eltd_options['service_table_content_padding_top']); ?>px; <?php }?>
	}
<?php } ?>

<?php if ((isset($eltd_options['service_table_content_padding_bottom']) && $eltd_options['service_table_content_padding_bottom'] !== '')) { ?>
    .service_table_inner li li,
	.service_table_holder.title_on_top .service_table_inner .service_table_content li{
		<?php if(isset($eltd_options['service_table_content_padding_bottom']) && $eltd_options['service_table_content_padding_bottom'] !== ''){?> padding-bottom: <?php echo esc_attr($eltd_options['service_table_content_padding_bottom']); ?>px; <?php }?>
	}
<?php } ?>


<?php
$service_tables_active_text_styles = array();

if(isset($eltd_options['service_tables_active_text_font_family']) && $eltd_options['service_tables_active_text_font_family'] !== '-1') {
    $service_tables_active_text_styles[] = 'font-family: '.str_replace('+', ' ', $eltd_options['service_tables_active_text_font_family']).', sans-serif';
}

if(isset($eltd_options['service_tables_active_text_font_size']) && $eltd_options['service_tables_active_text_font_size'] !== '') {
    $service_tables_active_text_styles[] = 'font-size: '.$eltd_options['service_tables_active_text_font_size'].'px';
}

if(isset($eltd_options['service_tables_active_text_line_height']) && $eltd_options['service_tables_active_text_line_height'] !== '') {
    $service_tables_active_text_styles[] = 'line-height: '.$eltd_options['service_tables_active_text_line_height'].'px';
}

if(isset($eltd_options['service_tables_active_text_letter_spacing']) && $eltd_options['service_tables_active_text_letter_spacing'] !== '') {
    $service_tables_active_text_styles[] = 'letter-spacing: '.$eltd_options['service_tables_active_text_letter_spacing'].'px';
}

if(isset($eltd_options['service_tables_active_text_font_weight']) && $eltd_options['service_tables_active_text_font_weight'] !== '') {
    $service_tables_active_text_styles[] = 'font-weight: '.$eltd_options['service_tables_active_text_font_weight'];
}

if(isset($eltd_options['service_tables_active_text_font_style']) && $eltd_options['service_tables_active_text_font_style'] !== '') {
    $service_tables_active_text_styles[] = 'font-style: '.$eltd_options['service_tables_active_text_font_style'];
}

if(isset($eltd_options['service_tables_active_text_text_transform']) && $eltd_options['service_tables_active_text_text_transform'] !== '') {
    $service_tables_active_text_styles[] = 'text-transform: '.$eltd_options['service_tables_active_text_text_transform'];
}

if(isset($eltd_options['service_tables_active_text_color']) && $eltd_options['service_tables_active_text_color'] !== '') {
    $service_tables_active_text_styles[] = 'color: '.$eltd_options['service_tables_active_text_color'];
}

if(is_array($service_tables_active_text_styles) && count($service_tables_active_text_styles)) { ?>
    .service_table_holder.active .active_text{
		<?php echo esc_attr(implode(';', $service_tables_active_text_styles)); ?>
    }
<?php } ?>




<?php
$service_tables_title_styles = array();

if(isset($eltd_options['service_tables_title_font_family']) && $eltd_options['service_tables_title_font_family'] !== '-1') {
    $service_tables_title_styles[] = 'font-family: '.str_replace('+', ' ', $eltd_options['service_tables_title_font_family']).', sans-serif';
}

if(isset($eltd_options['service_tables_title_font_size']) && $eltd_options['service_tables_title_font_size'] !== '') {
    $service_tables_title_styles[] = 'font-size: '.$eltd_options['service_tables_title_font_size'].'px';
}

if(isset($eltd_options['service_tables_title_line_height']) && $eltd_options['service_tables_title_line_height'] !== '') {
    $service_tables_title_styles[] = 'line-height: '.$eltd_options['service_tables_title_line_height'].'px';
}

if(isset($eltd_options['service_tables_title_letter_spacing']) && $eltd_options['service_tables_title_letter_spacing'] !== '') {
    $service_tables_title_styles[] = 'letter-spacing: '.$eltd_options['service_tables_title_letter_spacing'].'px';
}

if(isset($eltd_options['service_tables_title_font_weight']) && $eltd_options['service_tables_title_font_weight'] !== '') {
    $service_tables_title_styles[] = 'font-weight: '.$eltd_options['service_tables_title_font_weight'];
}

if(isset($eltd_options['service_tables_title_font_style']) && $eltd_options['service_tables_title_font_style'] !== '') {
    $service_tables_title_styles[] = 'font-style: '.$eltd_options['service_tables_title_font_style'];
}

if(isset($eltd_options['service_tables_title_text_transform']) && $eltd_options['service_tables_title_text_transform'] !== '') {
    $service_tables_title_styles[] = 'text-transform: '.$eltd_options['service_tables_title_text_transform'];
}

if(isset($eltd_options['service_tables_title_color']) && $eltd_options['service_tables_title_color'] !== '') {
    $service_tables_title_styles[] = 'color: '.$eltd_options['service_tables_title_color'];
}

if(is_array($service_tables_title_styles) && count($service_tables_title_styles)) { ?>
    .service_table_title_holder .service_title{
    <?php echo esc_attr(implode(';', $service_tables_title_styles)); ?>
    }
<?php } ?>



<?php
$service_tables_content_styles = array();

if(isset($eltd_options['service_tables_content_font_family']) && $eltd_options['service_tables_content_font_family'] !== '-1') {
    $service_tables_content_styles[] = 'font-family: '.str_replace('+', ' ', $eltd_options['service_tables_content_font_family']).', sans-serif';
}

if(isset($eltd_options['service_tables_content_font_size']) && $eltd_options['service_tables_content_font_size'] !== '') {
    $service_tables_content_styles[] = 'font-size: '.$eltd_options['service_tables_content_font_size'].'px';
}

if(isset($eltd_options['service_tables_content_line_height']) && $eltd_options['service_tables_content_line_height'] !== '') {
    $service_tables_content_styles[] = 'line-height: '.$eltd_options['service_tables_content_line_height'].'px';
}

if(isset($eltd_options['service_tables_content_letter_spacing']) && $eltd_options['service_tables_content_letter_spacing'] !== '') {
    $service_tables_content_styles[] = 'letter-spacing: '.$eltd_options['service_tables_content_letter_spacing'].'px';
}

if(isset($eltd_options['service_tables_content_font_weight']) && $eltd_options['service_tables_content_font_weight'] !== '') {
    $service_tables_content_styles[] = 'font-weight: '.$eltd_options['service_tables_content_font_weight'];
}

if(isset($eltd_options['service_tables_content_font_style']) && $eltd_options['service_tables_content_font_style'] !== '') {
    $service_tables_content_styles[] = 'font-style: '.$eltd_options['service_tables_content_font_style'];
}

if(isset($eltd_options['service_tables_content_text_transform']) && $eltd_options['service_tables_content_text_transform'] !== '') {
    $service_tables_content_styles[] = 'text-transform: '.$eltd_options['service_tables_content_text_transform'];
}

if(isset($eltd_options['service_tables_content_color']) && $eltd_options['service_tables_content_color'] !== '') {
    $service_tables_content_styles[] = 'color: '.$eltd_options['service_tables_content_color'];
}

if(is_array($service_tables_content_styles) && count($service_tables_content_styles)) { ?>
    .service_table_holder .service_table_content,
    .service_table_holder .service_table_content ul li h1,
    .service_table_holder .service_table_content ul li h2,
    .service_table_holder .service_table_content ul li h3,
    .service_table_holder .service_table_content ul li h4,
    .service_table_holder .service_table_content ul li h5,
    .service_table_holder .service_table_content ul li h6,
    .service_table_holder .service_table_content ul li p{
    <?php echo esc_attr(implode(';', $service_tables_content_styles)); ?>
    }
<?php } ?>


<?php if (!empty($eltd_options['pricing_table_background_color'])) { ?>
    .price_table_inner ul li.pricing_table_content{
    <?php if (!empty($eltd_options['pricing_table_background_color'])) { ?> background-color: <?php echo esc_attr($eltd_options['pricing_table_background_color']);  ?>; <?php } ?>
    }
<?php } ?>

<?php if (!empty($eltd_options['pricing_table_separator_color']) || (isset($eltd_options['pricing_table_separator_thickness']) && $eltd_options['pricing_table_separator_thickness'] !== '')) { ?>
    .price_table_inner ul li.pricing_table_content ul li,
    .eltd_pricing_tables .title_on_top .price_table_inner ul li.pricing_table_content ul li,
	.eltd_pricing_tables .title_on_top .price_table_inner .price_button .title_on_top_button_wrapper{
    <?php if (!empty($eltd_options['pricing_table_separator_color'])) { ?>  border-color: <?php echo esc_attr($eltd_options['pricing_table_separator_color']);  ?>; <?php } ?>
    <?php if(isset($eltd_options['pricing_table_separator_thickness']) && $eltd_options['pricing_table_separator_thickness'] !== ''){?> border-bottom-width: <?php echo esc_attr($eltd_options['pricing_table_separator_thickness']); ?>px; <?php } ?>
	}
<?php } ?>

<?php if (!empty($eltd_options['pricing_table_title_background_color']) || !empty($eltd_options['pricing_table_title_separator_color']) || (isset($eltd_options['pricing_table_title_separator_thickness']) && $eltd_options['pricing_table_title_separator_thickness'] !== '')) { ?>
    .price_table_inner ul li.table_title{
		<?php if (!empty($eltd_options['pricing_table_title_separator_color'])) { ?>  border-color: <?php echo esc_attr($eltd_options['pricing_table_title_separator_color']);  ?>; <?php } ?>
		<?php if (isset($eltd_options['pricing_table_title_separator_thickness']) && $eltd_options['pricing_table_title_separator_thickness'] !== ''){ ?> border-width: <?php echo esc_attr($eltd_options['pricing_table_title_separator_thickness']); ?>px; <?php }?>
		<?php if (!empty($eltd_options['pricing_table_title_background_color'])) { ?> background-color: <?php echo esc_attr($eltd_options['pricing_table_title_background_color']);  ?>; <?php } ?>
	}
<?php } ?>

<?php if (!empty($eltd_options['pricing_table_title_separator_color']) ||  (isset($eltd_options['pricing_table_title_separator_thickness']) && $eltd_options['pricing_table_title_separator_thickness'] !== '')) { ?>
    .price_table_inner ul li.table_title .title_separator{
    <?php if (!empty($eltd_options['pricing_table_title_separator_color'])) { ?>  background-color: <?php echo esc_attr($eltd_options['pricing_table_title_separator_color']);  ?>; <?php } ?>
    <?php if(isset($eltd_options['pricing_table_title_separator_thickness']) && $eltd_options['pricing_table_title_separator_thickness'] !== ''){?> height: <?php echo esc_attr($eltd_options['pricing_table_title_separator_thickness']); ?>px; <?php }?>
	}
    .eltd_pricing_tables .title_on_top .price_table_inner ul li.table_title span{
    <?php if (!empty($eltd_options['pricing_table_title_separator_color'])) { ?>  border-bottom-color: <?php echo esc_attr($eltd_options['pricing_table_title_separator_color']);  ?>; <?php } ?>
    <?php if(isset($eltd_options['pricing_table_title_separator_thickness']) && $eltd_options['pricing_table_title_separator_thickness'] !== ''){?> border-bottom-width: <?php echo esc_attr($eltd_options['pricing_table_title_separator_thickness']); ?>px; <?php }?>
    }
<?php } ?>

<?php if ((isset($eltd_options['pricing_table_title_top_padding']) && $eltd_options['pricing_table_title_top_padding'] !== '')) { ?>
    .price_table_inner ul li.table_title,
    .eltd_pricing_tables .title_on_top .price_table_inner ul li.table_title span,
    .eltd_pricing_tables .title_on_top.title_top_padding_and_border .price_table_inner ul li.table_title span{
    <?php if(isset($eltd_options['pricing_table_title_top_padding']) && $eltd_options['pricing_table_title_top_padding'] !== ''){?> padding-top: <?php echo esc_attr($eltd_options['pricing_table_title_top_padding']); ?>px; <?php }?>
    }
<?php } ?>

<?php if ((isset($eltd_options['pricing_table_title_bottom_padding']) && $eltd_options['pricing_table_title_bottom_padding'] !== '')) { ?>
    .price_table_inner ul li.table_title,
    .eltd_pricing_tables .title_on_top .price_table_inner ul li.table_title span,
    .eltd_pricing_tables .title_on_top.title_top_padding_and_border .price_table_inner ul li.table_title span{
    <?php if(isset($eltd_options['pricing_table_title_bottom_padding']) && $eltd_options['pricing_table_title_bottom_padding'] !== ''){?> padding-bottom: <?php echo esc_attr($eltd_options['pricing_table_title_bottom_padding']); ?>px; <?php }?>
    }
<?php } ?>


<?php if (!empty($eltd_options['pricing_table_price_background_color']) || !empty($eltd_options['pricing_table_price_separator_color']) || (isset($eltd_options['pricing_table_price_separator_thickness']) && $eltd_options['pricing_table_price_separator_thickness'] !== '')) { ?>
    .price_table_inner ul li.prices{
    <?php if (!empty($eltd_options['pricing_table_price_background_color'])) { ?> background-color: <?php echo esc_attr($eltd_options['pricing_table_price_background_color']);  ?>; <?php } ?>
    <?php if(!empty($eltd_options['pricing_table_price_separator_color'])){?> border-color: <?php echo esc_attr($eltd_options['pricing_table_price_separator_color']);  ?>;<?php }?>
	<?php if(isset($eltd_options['pricing_table_price_separator_thickness']) && $eltd_options['pricing_table_price_separator_thickness'] !== ''){?>  border-width: <?php echo esc_attr($eltd_options['pricing_table_price_separator_thickness']); ?>px; <?php }?>
	}

    .eltd_pricing_tables .title_on_top .price_table_inner ul li.prices .price_in_table{
     <?php if(!empty($eltd_options['pricing_table_price_separator_color'])){?> border-color: <?php echo esc_attr($eltd_options['pricing_table_price_separator_color']);  ?>;<?php }?>
    <?php if(isset($eltd_options['pricing_table_price_separator_thickness']) && $eltd_options['pricing_table_price_separator_thickness'] !== ''){?>  border-width: <?php echo esc_attr($eltd_options['pricing_table_price_separator_thickness']); ?>px; <?php }?>
    }
<?php } ?>

<?php if ((isset($eltd_options['pricing_table_price_top_padding']) && $eltd_options['pricing_table_price_top_padding'] !== '')) { ?>
    .price_table_inner ul li.prices,
    .eltd_pricing_tables .title_on_top .price_table_inner ul li.prices .price_in_table{
    <?php if(isset($eltd_options['pricing_table_price_top_padding']) && $eltd_options['pricing_table_price_top_padding'] !== ''){?> padding-top: <?php echo esc_attr($eltd_options['pricing_table_price_top_padding']); ?>px; <?php }?>
    }
<?php } ?>

<?php if ((isset($eltd_options['pricing_table_price_bottom_padding']) && $eltd_options['pricing_table_price_bottom_padding'] !== '')) { ?>
    .price_table_inner ul li.prices,
    .eltd_pricing_tables .title_on_top .price_table_inner ul li.prices .price_in_table{
    <?php if(isset($eltd_options['pricing_table_price_bottom_padding']) && $eltd_options['pricing_table_price_bottom_padding'] !== ''){?> padding-bottom: <?php echo esc_attr($eltd_options['pricing_table_price_bottom_padding']); ?>px; <?php }?>
    }
<?php } ?>

<?php if ((isset($eltd_options['pricing_table_content_top_margin']) && $eltd_options['pricing_table_content_top_margin'] !== '')) { ?>
    .price_table_inner ul li.pricing_table_content,
    .eltd_pricing_tables .title_on_top .price_table_inner ul li.pricing_table_content{
     padding-top: <?php echo esc_attr($eltd_options['pricing_table_content_top_margin']); ?>px;
    }
<?php } ?>

<?php if ((isset($eltd_options['pricing_table_content_bottom_margin']) && $eltd_options['pricing_table_content_bottom_margin'] !== '')) { ?>
    .price_table_inner ul li.pricing_table_content,
    .eltd_pricing_tables .title_on_top .price_table_inner ul li.pricing_table_content{
    padding-bottom: <?php echo esc_attr($eltd_options['pricing_table_content_bottom_margin']); ?>px;
    }
<?php } ?>

<?php
if(isset($eltd_options['pricing_table_button_top_padding']) && $eltd_options['pricing_table_button_top_padding'] !== '') { ?>
.eltd_pricing_tables .title_on_top .price_table_inner .price_button .title_on_top_button_wrapper,
.price_table_inner .price_button,
.price_table_inner li.button_on_bottom_wrapper{
    padding-top: <?php echo esc_attr($eltd_options['pricing_table_button_top_padding'].'px'); ?>;
}
<?php } ?>

<?php
if(isset($eltd_options['pricing_table_button_bottom_padding']) && $eltd_options['pricing_table_button_bottom_padding'] !== '') { ?>
.eltd_pricing_tables .title_on_top .price_table_inner .price_button .title_on_top_button_wrapper,
.price_table_inner .price_button,
.price_table_inner li.button_on_bottom_wrapper{
    padding-bottom: <?php echo esc_attr($eltd_options['pricing_table_button_bottom_padding'].'px'); ?>;
}
<?php } ?>


<?php if (!empty($eltd_options['pricing_table_button_holder_background_color']) ) { ?>
    .price_table_inner .price_button,
	.price_table_inner .button_on_bottom_wrapper{
    <?php if (!empty($eltd_options['pricing_table_button_holder_background_color'])) { ?> background-color: <?php echo esc_attr($eltd_options['pricing_table_button_holder_background_color']);  ?>; <?php } ?>
	}
<?php } ?>

<?php
$pricing_tables_active_text_styles = array();

if(isset($eltd_options['pricing_tables_active_text_font_family']) && $eltd_options['pricing_tables_active_text_font_family'] !== '-1') {
    $pricing_tables_active_text_styles[] = 'font-family: '.str_replace('+', ' ', $eltd_options['pricing_tables_active_text_font_family']).', sans-serif';
}

if(isset($eltd_options['pricing_tables_active_text_font_size']) && $eltd_options['pricing_tables_active_text_font_size'] !== '') {
    $pricing_tables_active_text_styles[] = 'font-size: '.$eltd_options['pricing_tables_active_text_font_size'].'px';
}

if(isset($eltd_options['pricing_tables_active_text_line_height']) && $eltd_options['pricing_tables_active_text_line_height'] !== '') {
    $pricing_tables_active_text_styles[] = 'line-height: '.$eltd_options['pricing_tables_active_text_line_height'].'px';
}

if(isset($eltd_options['pricing_tables_active_text_letter_spacing']) && $eltd_options['pricing_tables_active_text_letter_spacing'] !== '') {
    $pricing_tables_active_text_styles[] = 'letter-spacing: '.$eltd_options['pricing_tables_active_text_letter_spacing'].'px';
}

if(isset($eltd_options['pricing_tables_active_text_font_weight']) && $eltd_options['pricing_tables_active_text_font_weight'] !== '') {
    $pricing_tables_active_text_styles[] = 'font-weight: '.$eltd_options['pricing_tables_active_text_font_weight'];
}

if(isset($eltd_options['pricing_tables_active_text_font_style']) && $eltd_options['pricing_tables_active_text_font_style'] !== '') {
    $pricing_tables_active_text_styles[] = 'font-style: '.$eltd_options['pricing_tables_active_text_font_style'];
}

if(isset($eltd_options['pricing_tables_active_text_text_transform']) && $eltd_options['pricing_tables_active_text_text_transform'] !== '') {
    $pricing_tables_active_text_styles[] = 'text-transform: '.$eltd_options['pricing_tables_active_text_text_transform'];
}

if(isset($eltd_options['pricing_tables_active_text_color']) && $eltd_options['pricing_tables_active_text_color'] !== '') {
    $pricing_tables_active_text_styles[] = 'color: '.$eltd_options['pricing_tables_active_text_color'];
}

if(is_array($pricing_tables_active_text_styles) && count($pricing_tables_active_text_styles)) { ?>
    .eltd_price_table.active .active_text span span{
    <?php echo esc_attr(implode(';', $pricing_tables_active_text_styles)); ?>
    }
<?php } ?>

<?php
$pricing_tables_title_styles = array();

if(isset($eltd_options['pricing_tables_title_font_family']) && $eltd_options['pricing_tables_title_font_family'] !== '-1') {
    $pricing_tables_title_styles[] = 'font-family: '.str_replace('+', ' ', $eltd_options['pricing_tables_title_font_family']).', sans-serif';
}

if(isset($eltd_options['pricing_tables_title_font_size']) && $eltd_options['pricing_tables_title_font_size'] !== '') {
    $pricing_tables_title_styles[] = 'font-size: '.$eltd_options['pricing_tables_title_font_size'].'px';
}

if(isset($eltd_options['pricing_tables_title_line_height']) && $eltd_options['pricing_tables_title_line_height'] !== '') {
    $pricing_tables_title_styles[] = 'line-height: '.$eltd_options['pricing_tables_title_line_height'].'px';
}

if(isset($eltd_options['pricing_tables_title_letter_spacing']) && $eltd_options['pricing_tables_title_letter_spacing'] !== '') {
    $pricing_tables_title_styles[] = 'letter-spacing: '.$eltd_options['pricing_tables_title_letter_spacing'].'px';
}

if(isset($eltd_options['pricing_tables_title_font_weight']) && $eltd_options['pricing_tables_title_font_weight'] !== '') {
    $pricing_tables_title_styles[] = 'font-weight: '.$eltd_options['pricing_tables_title_font_weight'];
}

if(isset($eltd_options['pricing_tables_title_font_style']) && $eltd_options['pricing_tables_title_font_style'] !== '') {
    $pricing_tables_title_styles[] = 'font-style: '.$eltd_options['pricing_tables_title_font_style'];
}

if(isset($eltd_options['pricing_tables_title_text_transform']) && $eltd_options['pricing_tables_title_text_transform'] !== '') {
    $pricing_tables_title_styles[] = 'text-transform: '.$eltd_options['pricing_tables_title_text_transform'];
}

if(isset($eltd_options['pricing_tables_title_color']) && $eltd_options['pricing_tables_title_color'] !== '') {
    $pricing_tables_title_styles[] = 'color: '.$eltd_options['pricing_tables_title_color'];
}

if(is_array($pricing_tables_title_styles) && count($pricing_tables_title_styles)) { ?>
    .price_table_inner ul li.table_title .title_content{
    <?php echo esc_attr(implode(';', $pricing_tables_title_styles)); ?>
    }
<?php } ?>

<?php
$pricing_tables_period_styles = array();

if(isset($eltd_options['pricing_tables_period_font_family']) && $eltd_options['pricing_tables_period_font_family'] !== '-1') {
    $pricing_tables_period_styles[] = 'font-family: '.str_replace('+', ' ', $eltd_options['pricing_tables_period_font_family']).', sans-serif';
}

if(isset($eltd_options['pricing_tables_period_font_size']) && $eltd_options['pricing_tables_period_font_size'] !== '') {
    $pricing_tables_period_styles[] = 'font-size: '.$eltd_options['pricing_tables_period_font_size'].'px';
}

if(isset($eltd_options['pricing_tables_period_line_height']) && $eltd_options['pricing_tables_period_line_height'] !== '') {
    $pricing_tables_period_styles[] = 'line-height: '.$eltd_options['pricing_tables_period_line_height'].'px';
}

if(isset($eltd_options['pricing_tables_period_letter_spacing']) && $eltd_options['pricing_tables_period_letter_spacing'] !== '') {
    $pricing_tables_period_styles[] = 'letter-spacing: '.$eltd_options['pricing_tables_period_letter_spacing'].'px';
}

if(isset($eltd_options['pricing_tables_period_font_weight']) && $eltd_options['pricing_tables_period_font_weight'] !== '') {
    $pricing_tables_period_styles[] = 'font-weight: '.$eltd_options['pricing_tables_period_font_weight'];
}

if(isset($eltd_options['pricing_tables_period_font_style']) && $eltd_options['pricing_tables_period_font_style'] !== '') {
    $pricing_tables_period_styles[] = 'font-style: '.$eltd_options['pricing_tables_period_font_style'];
}

if(isset($eltd_options['pricing_tables_period_text_transform']) && $eltd_options['pricing_tables_period_text_transform'] !== '') {
    $pricing_tables_period_styles[] = 'text-transform: '.$eltd_options['pricing_tables_period_text_transform'];
}

if(isset($eltd_options['pricing_tables_period_color']) && $eltd_options['pricing_tables_period_color'] !== '') {
    $pricing_tables_period_styles[] = 'color: '.$eltd_options['pricing_tables_period_color'];
}

if(is_array($pricing_tables_period_styles) && count($pricing_tables_period_styles)) { ?>
    .price_in_table .mark{
    <?php echo esc_attr(implode(';', $pricing_tables_period_styles)); ?>
    }
<?php } ?>

<?php
$pricing_tables_price_styles = array();

if(isset($eltd_options['pricing_tables_price_font_family']) && $eltd_options['pricing_tables_price_font_family'] !== '-1') {
    $pricing_tables_price_styles[] = 'font-family: '.str_replace('+', ' ', $eltd_options['pricing_tables_price_font_family']).', sans-serif';
}

if(isset($eltd_options['pricing_tables_price_font_size']) && $eltd_options['pricing_tables_price_font_size'] !== '') {
    $pricing_tables_price_styles[] = 'font-size: '.$eltd_options['pricing_tables_price_font_size'].'px';
}

if(isset($eltd_options['pricing_tables_price_line_height']) && $eltd_options['pricing_tables_price_line_height'] !== '') {
    $pricing_tables_price_styles[] = 'line-height: '.$eltd_options['pricing_tables_price_line_height'].'px';
}

if(isset($eltd_options['pricing_tables_price_letter_spacing']) && $eltd_options['pricing_tables_price_letter_spacing'] !== '') {
    $pricing_tables_price_styles[] = 'letter-spacing: '.$eltd_options['pricing_tables_price_letter_spacing'].'px';
}

if(isset($eltd_options['pricing_tables_price_font_weight']) && $eltd_options['pricing_tables_price_font_weight'] !== '') {
    $pricing_tables_price_styles[] = 'font-weight: '.$eltd_options['pricing_tables_price_font_weight'];
}

if(isset($eltd_options['pricing_tables_price_font_style']) && $eltd_options['pricing_tables_price_font_style'] !== '') {
    $pricing_tables_price_styles[] = 'font-style: '.$eltd_options['pricing_tables_price_font_style'];
}

if(isset($eltd_options['pricing_tables_price_text_transform']) && $eltd_options['pricing_tables_price_text_transform'] !== '') {
    $pricing_tables_price_styles[] = 'text-transform: '.$eltd_options['pricing_tables_price_text_transform'];
}

if(isset($eltd_options['pricing_tables_price_color']) && $eltd_options['pricing_tables_price_color'] !== '') {
    $pricing_tables_price_styles[] = 'color: '.$eltd_options['pricing_tables_price_color'];
}

if(is_array($pricing_tables_price_styles) && count($pricing_tables_price_styles)) { ?>
    .price_in_table .price{
    <?php echo esc_attr(implode(';', $pricing_tables_price_styles)); ?>
    }
<?php } ?>

<?php
$pricing_tables_currency_styles = array();

if(isset($eltd_options['pricing_tables_currency_font_family']) && $eltd_options['pricing_tables_currency_font_family'] !== '-1') {
    $pricing_tables_currency_styles[] = 'font-family: '.str_replace('+', ' ', $eltd_options['pricing_tables_currency_font_family']).', sans-serif';
}

if(isset($eltd_options['pricing_tables_currency_font_size']) && $eltd_options['pricing_tables_currency_font_size'] !== '') {
    $pricing_tables_currency_styles[] = 'font-size: '.$eltd_options['pricing_tables_currency_font_size'].'px';
}

if(isset($eltd_options['pricing_tables_currency_line_height']) && $eltd_options['pricing_tables_currency_line_height'] !== '') {
    $pricing_tables_currency_styles[] = 'line-height: '.$eltd_options['pricing_tables_currency_line_height'].'px';
}

if(isset($eltd_options['pricing_tables_currency_letter_spacing']) && $eltd_options['pricing_tables_currency_letter_spacing'] !== '') {
    $pricing_tables_currency_styles[] = 'letter-spacing: '.$eltd_options['pricing_tables_currency_letter_spacing'].'px';
}

if(isset($eltd_options['pricing_tables_currency_font_weight']) && $eltd_options['pricing_tables_currency_font_weight'] !== '') {
    $pricing_tables_currency_styles[] = 'font-weight: '.$eltd_options['pricing_tables_currency_font_weight'];
}

if(isset($eltd_options['pricing_tables_currency_font_style']) && $eltd_options['pricing_tables_currency_font_style'] !== '') {
    $pricing_tables_currency_styles[] = 'font-style: '.$eltd_options['pricing_tables_currency_font_style'];
}

if(isset($eltd_options['pricing_tables_currency_text_transform']) && $eltd_options['pricing_tables_currency_text_transform'] !== '') {
    $pricing_tables_currency_styles[] = 'text-transform: '.$eltd_options['pricing_tables_currency_text_transform'];
}

if(isset($eltd_options['pricing_tables_currency_color']) && $eltd_options['pricing_tables_currency_color'] !== '') {
    $pricing_tables_currency_styles[] = 'color: '.$eltd_options['pricing_tables_currency_color'];
}

if(is_array($pricing_tables_currency_styles) && count($pricing_tables_currency_styles)) { ?>
    .price_in_table .value{
    <?php echo esc_attr(implode(';', $pricing_tables_currency_styles)); ?>
    }
<?php } ?>

<?php
$pricing_tables_button_styles = array();

if(isset($eltd_options['pricing_tables_button_font_family']) && $eltd_options['pricing_tables_button_font_family'] !== '-1') {
    $pricing_tables_button_styles[] = 'font-family: '.str_replace('+', ' ', $eltd_options['pricing_tables_button_font_family']).', sans-serif';
}

if(isset($eltd_options['pricing_tables_button_font_size']) && $eltd_options['pricing_tables_button_font_size'] !== '') {
    $pricing_tables_button_styles[] = 'font-size: '.$eltd_options['pricing_tables_button_font_size'].'px';
}

if(isset($eltd_options['pricing_tables_button_line_height']) && $eltd_options['pricing_tables_button_line_height'] !== '') {
    $pricing_tables_button_styles[] = 'line-height: '.$eltd_options['pricing_tables_button_line_height'].'px';
}

if(isset($eltd_options['pricing_tables_button_letter_spacing']) && $eltd_options['pricing_tables_button_letter_spacing'] !== '') {
    $pricing_tables_button_styles[] = 'letter-spacing: '.$eltd_options['pricing_tables_button_letter_spacing'].'px';
}

if(isset($eltd_options['pricing_tables_button_font_weight']) && $eltd_options['pricing_tables_button_font_weight'] !== '') {
    $pricing_tables_button_styles[] = 'font-weight: '.$eltd_options['pricing_tables_button_font_weight'];
}

if(isset($eltd_options['pricing_tables_button_font_style']) && $eltd_options['pricing_tables_button_font_style'] !== '') {
    $pricing_tables_button_styles[] = 'font-style: '.$eltd_options['pricing_tables_button_font_style'];
}

if(isset($eltd_options['pricing_tables_button_text_transform']) && $eltd_options['pricing_tables_button_text_transform'] !== '') {
    $pricing_tables_button_styles[] = 'text-transform: '.$eltd_options['pricing_tables_button_text_transform'];
}

if(isset($eltd_options['pricing_tables_button_color']) && $eltd_options['pricing_tables_button_color'] !== '') {
    $pricing_tables_button_styles[] = 'color: '.$eltd_options['pricing_tables_button_color'];
}
if(isset($eltd_options['pricing_tables_button_backgroundcolor']) && $eltd_options['pricing_tables_button_backgroundcolor'] !== '') {
    $pricing_tables_button_styles[] = 'background-color: '.$eltd_options['pricing_tables_button_backgroundcolor'];
}
if(isset($eltd_options['pricing_tables_button_border_color']) && $eltd_options['pricing_tables_button_border_color'] !== '') {
    $pricing_tables_button_styles[] = 'border-color: '.$eltd_options['pricing_tables_button_border_color'];
	$pricing_tables_button_styles[] = 'border-style: solid';
    if(!isset($eltd_options['pricing_tables_button_border_width']) || $eltd_options['pricing_tables_button_border_width'] == ''){
	   $pricing_tables_button_styles[] = 'border-width: 1px';
    }
}

if(isset($eltd_options['pricing_tables_button_border_width']) && $eltd_options['pricing_tables_button_border_width'] !== '') {
    $pricing_tables_button_styles[] = 'border-width: '.$eltd_options['pricing_tables_button_border_width'].'px';
}

if(isset($eltd_options['pricing_tables_button_border_radius']) && $eltd_options['pricing_tables_button_border_radius'] !== '') {
    $pricing_tables_button_styles[] = 'border-radius: '.$eltd_options['pricing_tables_button_border_radius'].'px';
}

if(is_array($pricing_tables_button_styles) && count($pricing_tables_button_styles)) { ?>
    .price_table_inner a.qbutton{
    <?php echo esc_attr(implode(';', $pricing_tables_button_styles)); ?>
    }
<?php } ?>

<?php
if(isset($eltd_options['pricing_table_button_left_padding']) && $eltd_options['pricing_table_button_left_padding'] !== '') { ?>
.price_table_inner a.qbutton{
    padding-left: <?php echo esc_attr($eltd_options['pricing_table_button_left_padding'].'px'); ?>;
}
<?php } ?>

<?php
if(isset($eltd_options['pricing_table_button_right_padding']) && $eltd_options['pricing_table_button_right_padding'] !== '') { ?>
.price_table_inner a.qbutton{
    padding-right: <?php echo esc_attr($eltd_options['pricing_table_button_right_padding'].'px'); ?>;
}
<?php } ?>

<?php
$pricing_tables_button_hover_styles = array();


if(isset($eltd_options['pricing_tables_button_hovercolor']) && $eltd_options['pricing_tables_button_hovercolor'] !== '') {
    $pricing_tables_button_hover_styles[] = 'color: '.$eltd_options['pricing_tables_button_hovercolor'];
}

if(isset($eltd_options['pricing_tables_button_backgroundcolor_hover']) && $eltd_options['pricing_tables_button_backgroundcolor_hover'] !== '') {
    $pricing_tables_button_hover_styles[] = 'background-color: '.$eltd_options['pricing_tables_button_backgroundcolor_hover'];
}

if(isset($eltd_options['pricing_tables_button_border_hover_color']) && $eltd_options['pricing_tables_button_border_hover_color'] !== '') {
    $pricing_tables_button_hover_styles[] = 'border-color: '.$eltd_options['pricing_tables_button_border_hover_color'];
}

if(is_array($pricing_tables_button_hover_styles) && count($pricing_tables_button_hover_styles)) { ?>
    .price_table_inner  a.qbutton:hover{
    <?php echo esc_attr(implode(';', $pricing_tables_button_hover_styles)); ?>
    }
<?php } ?>

<?php
$pricing_tables_content_styles = array();

if(isset($eltd_options['pricing_tables_content_font_family']) && $eltd_options['pricing_tables_content_font_family'] !== '-1') {
    $pricing_tables_content_styles[] = 'font-family: '.str_replace('+', ' ', $eltd_options['pricing_tables_content_font_family']).', sans-serif';
}

if(isset($eltd_options['pricing_tables_content_font_size']) && $eltd_options['pricing_tables_content_font_size'] !== '') {
    $pricing_tables_content_styles[] = 'font-size: '.$eltd_options['pricing_tables_content_font_size'].'px';
}

if(isset($eltd_options['pricing_tables_content_line_height']) && $eltd_options['pricing_tables_content_line_height'] !== '') {
    $pricing_tables_content_styles[] = 'line-height: '.$eltd_options['pricing_tables_content_line_height'].'px';
}

if(isset($eltd_options['pricing_tables_content_letter_spacing']) && $eltd_options['pricing_tables_content_letter_spacing'] !== '') {
    $pricing_tables_content_styles[] = 'letter-spacing: '.$eltd_options['pricing_tables_content_letter_spacing'].'px';
}

if(isset($eltd_options['pricing_tables_content_font_weight']) && $eltd_options['pricing_tables_content_font_weight'] !== '') {
    $pricing_tables_content_styles[] = 'font-weight: '.$eltd_options['pricing_tables_content_font_weight'];
}

if(isset($eltd_options['pricing_tables_content_font_style']) && $eltd_options['pricing_tables_content_font_style'] !== '') {
    $pricing_tables_content_styles[] = 'font-style: '.$eltd_options['pricing_tables_content_font_style'];
}

if(isset($eltd_options['pricing_tables_content_text_transform']) && $eltd_options['pricing_tables_content_text_transform'] !== '') {
    $pricing_tables_content_styles[] = 'text-transform: '.$eltd_options['pricing_tables_content_text_transform'];
}

if(isset($eltd_options['pricing_tables_content_color']) && $eltd_options['pricing_tables_content_color'] !== '') {
    $pricing_tables_content_styles[] = 'color: '.$eltd_options['pricing_tables_content_color'];
}

if(is_array($pricing_tables_content_styles) && count($pricing_tables_content_styles)) { ?>
    .price_table_inner ul li.pricing_table_content{
    <?php echo esc_attr(implode(';', $pricing_tables_content_styles)); ?>
    }
<?php } ?>

<?php
$pricing_table_content_section_padding_style = array();

if ((isset($eltd_options['pricing_table_content_top_padding']) && $eltd_options['pricing_table_content_top_padding'] !== '')) {
	$pricing_table_content_section_padding_style[] = 'padding-top: '.$eltd_options['pricing_table_content_top_padding'].'px';
}

if ((isset($eltd_options['pricing_table_content_bottom_padding']) && $eltd_options['pricing_table_content_bottom_padding'] !== '')) {
	$pricing_table_content_section_padding_style[] = 'padding-bottom: '.$eltd_options['pricing_table_content_bottom_padding'].'px';
}

if(is_array($pricing_table_content_section_padding_style) && count($pricing_table_content_section_padding_style)) { ?>
    .price_table_inner ul li,
	.eltd_pricing_tables .title_on_top .price_table_inner ul li.pricing_table_content ul li{
    <?php echo esc_attr(implode(';', $pricing_table_content_section_padding_style)); ?>
    }
<?php } ?>

<?php if (!empty($eltd_options['separator_thickness']) || !empty($eltd_options['separator_topmargin']) || !empty($eltd_options['separator_bottommargin']) || !empty($eltd_options['separator_color']) || !empty($eltd_options['separator_type'])) { ?>
    .separator.normal, .separator.with_icon{
    <?php if (!empty($eltd_options['separator_thickness'])) { ?>    border-bottom-width: <?php echo esc_attr($eltd_options['separator_thickness']);  ?>px; <?php } ?>
    <?php if (!empty($eltd_options['separator_topmargin'])) { ?>    margin-top: <?php echo esc_attr($eltd_options['separator_topmargin']);  ?>px; <?php } ?>
    <?php if (!empty($eltd_options['separator_bottommargin'])) { ?> margin-bottom: <?php echo esc_attr($eltd_options['separator_bottommargin']);  ?>px; <?php } ?>
    <?php if (!empty($eltd_options['separator_color'])) { ?>    border-color: <?php echo esc_attr($eltd_options['separator_color']);  ?>; <?php } ?>
    <?php if (!empty($eltd_options['separator_type'])) { ?> border-style: <?php echo esc_attr($eltd_options['separator_type']);  ?>; <?php } ?>
    }

<?php } ?>
<?php if (!empty($eltd_options['separator_small_thickness']) || !empty($eltd_options['separator_small_topmargin']) || !empty($eltd_options['separator_small_bottommargin']) || !empty($eltd_options['separator_small_color'])  || !empty($eltd_options['separator_small_width'])  || !empty($eltd_options['separator_small_type'])) { ?>
    .separator.small,
    .wpb_column>.wpb_wrapper .separator.small
    {
    <?php if (!empty($eltd_options['separator_small_thickness'])) { ?>  border-bottom-width: <?php echo esc_attr($eltd_options['separator_small_thickness']);  ?>px; <?php } ?>
    <?php if (!empty($eltd_options['separator_small_topmargin'])) { ?>  margin-top: <?php echo esc_attr($eltd_options['separator_small_topmargin']);  ?>px; <?php } ?>
    <?php if (!empty($eltd_options['separator_small_bottommargin'])) { ?>   margin-bottom: <?php echo esc_attr($eltd_options['separator_small_bottommargin']);  ?>px; <?php } ?>
    <?php if (!empty($eltd_options['separator_small_color'])) { ?>  border-color: <?php echo esc_attr($eltd_options['separator_small_color']);  ?>; <?php } ?>
    <?php if (!empty($eltd_options['separator_small_width'])) { ?>  width: <?php echo esc_attr($eltd_options['separator_small_width']);  ?>px; <?php } ?>
    <?php if (!empty($eltd_options['separator_small_type'])) { ?>   border-style: <?php echo esc_attr($eltd_options['separator_small_type']);  ?>; <?php } ?>
    }
<?php } ?>

<?php
$separators_with_text_text_styles = array();

if(isset($eltd_options['separators_with_text_text_google_fonts']) && $eltd_options['separators_with_text_text_google_fonts'] !== '-1') {
    $separators_with_text_text_styles[] = 'font-family: '.str_replace('+', ' ', $eltd_options['separators_with_text_text_google_fonts']).', sans-serif';
}

if(isset($eltd_options['separators_with_text_text_fontsize']) && $eltd_options['separators_with_text_text_fontsize'] !== '') {
    $separators_with_text_text_styles[] = 'font-size: '.$eltd_options['separators_with_text_text_fontsize'].'px';
}

if(isset($eltd_options['separators_with_text_text_lineheight']) && $eltd_options['separators_with_text_text_lineheight'] !== '') {
    $separators_with_text_text_styles[] = 'line-height: '.$eltd_options['separators_with_text_text_lineheight'].'px';
}

if(isset($eltd_options['separators_with_text_text_letterspacing']) && $eltd_options['separators_with_text_text_letterspacing'] !== '') {
    $separators_with_text_text_styles[] = 'letter-spacing: '.$eltd_options['separators_with_text_text_letterspacing'].'px';
}

if(isset($eltd_options['separators_with_text_text_fontweight']) && $eltd_options['separators_with_text_text_fontweight'] !== '') {
    $separators_with_text_text_styles[] = 'font-weight: '.$eltd_options['separators_with_text_text_fontweight'];
}

if(isset($eltd_options['separators_with_text_text_fontstyle']) && $eltd_options['separators_with_text_text_fontstyle'] !== '') {
    $separators_with_text_text_styles[] = 'font-style: '.$eltd_options['separators_with_text_text_fontstyle'];
}

if(isset($eltd_options['separators_with_text_text_texttransform']) && $eltd_options['separators_with_text_text_texttransform'] !== '') {
    $separators_with_text_text_styles[] = 'text-transform: '.$eltd_options['separators_with_text_text_texttransform'];
}

if(isset($eltd_options['separators_with_text_text_color']) && $eltd_options['separators_with_text_text_color'] !== '') {
    $separators_with_text_text_styles[] = 'color: '.$eltd_options['separators_with_text_text_color'];
}

if(is_array($separators_with_text_text_styles) && count($separators_with_text_text_styles)) { ?>
    *:not(.title_like_separator):not(.span_subtitle_separator) > .vc_text_separator.full .separator_content
    {
    <?php echo esc_attr(implode(';', $separators_with_text_text_styles)); ?>
    }
<?php } ?>
<?php
if(isset($eltd_options['separators_with_text_text_hover_color']) && $eltd_options['separators_with_text_text_hover_color'] !== '') { ?>
    *:not(.title_like_separator):not(.span_subtitle_separator) > .vc_text_separator.full .separator_content span:hover{
    color: <?php echo esc_attr($eltd_options['separators_with_text_text_hover_color']); ?>
    }
<?php } ?>
<?php if (!empty($eltd_options['message_backgroundcolor'])) { ?>
    .eltd_message{
    <?php if (!empty($eltd_options['message_backgroundcolor'])) { ?>background-color: <?php echo esc_attr($eltd_options['message_backgroundcolor']);  ?><?php } ?>;
    }
<?php } ?>
<?php if (!empty($eltd_options['message_title_color']) || !empty($eltd_options['message_title_fontsize']) || !empty($eltd_options['message_title_lineheight']) || !empty($eltd_options['message_title_fontstyle']) || !empty($eltd_options['message_title_fontweight']) || $eltd_options['message_title_google_fonts'] != "-1") { ?>
    .eltd_message .message_text .message_text_inner{
    <?php if (!empty($eltd_options['message_title_color'])) { ?>    color: <?php echo esc_attr($eltd_options['message_title_color']);  ?>; <?php } ?>
    <?php if($eltd_options['message_title_google_fonts'] != "-1"){ ?>
        font-family: '<?php echo esc_attr(str_replace('+', ' ', $eltd_options['message_title_google_fonts'])); ?>', sans-serif;
    <?php } ?>
    <?php if (!empty($eltd_options['message_title_fontsize'])) { ?> font-size: <?php echo esc_attr($eltd_options['message_title_fontsize']);  ?>px; <?php } ?>
    <?php if (!empty($eltd_options['message_title_lineheight'])) { ?>   line-height: <?php echo esc_attr($eltd_options['message_title_lineheight']);  ?>px; <?php } ?>
    <?php if (!empty($eltd_options['message_title_fontstyle'])) { ?>    font-style: <?php echo esc_attr($eltd_options['message_title_fontstyle']);  ?>; <?php } ?>
    <?php if (!empty($eltd_options['message_title_fontweight'])) { ?>   font-weight: <?php echo esc_attr($eltd_options['message_title_fontweight']);  ?>; <?php } ?>
    }
<?php } ?>
<?php if (!empty($eltd_options['message_icon_fontsize']) || !empty($eltd_options['message_icon_color'])) { ?>
    .eltd_message.with_icon .eltd_message_icon_inner > i,
    .eltd_message.with_icon .eltd_message_icon_inner > .eltd_font_elegant_icon {
    <?php if (!empty($eltd_options['message_icon_color'])) { ?> color:  <?php echo esc_attr($eltd_options['message_icon_color']);  ?>; <?php } ?>
    <?php if (!empty($eltd_options['message_icon_fontsize'])) { ?> font-size: <?php echo esc_attr($eltd_options['message_icon_fontsize']);  ?>px; <?php } ?>
    }
<?php } ?>

<?php
$message_padding_style = array();

if ((isset($eltd_options['message_padding_top']) && $eltd_options['message_padding_top'] !== '')) {
    $message_padding_style[] = 'padding-top: '.$eltd_options['message_padding_top'].'px';
}

if ((isset($eltd_options['message_padding_bottom']) && $eltd_options['message_padding_bottom'] !== '')) {
    $message_padding_style[] = 'padding-bottom: '.$eltd_options['message_padding_bottom'].'px';
}
if ((isset($eltd_options['message_padding_left']) && $eltd_options['message_padding_left'] !== '')) {
    $message_padding_style[] = 'padding-left: '.$eltd_options['message_padding_left'].'px';
}

if ((isset($eltd_options['message_padding_right']) && $eltd_options['message_padding_right'] !== '')) {
    $message_padding_style[] = 'padding-right: '.$eltd_options['message_padding_right'].'px';
}

if(is_array($message_padding_style) && count($message_padding_style)) { ?>
    .eltd_message{
    <?php echo esc_attr(implode(';', $message_padding_style)); ?>
    }
<?php } ?>


<?php
if (isset($eltd_options['blog_pagination_type']) && $eltd_options['blog_pagination_type'] == 'standard') {
    if ( isset($eltd_options['pagination_type']) && $eltd_options['pagination_type'] == 'arrows_on_sides' ) {

    	$button_width = 46;
    	$space_between = 4;
    	$border_width = 1;
    	$distance = 50;
    		if (( isset($eltd_options['pagination_button_width']) && $eltd_options['pagination_button_width'] !== '' ) || ( isset($eltd_options['pagination_space_between_buttons']) && $eltd_options['pagination_space_between_buttons'] !== '' )  || ( isset($eltd_options['pagination_button_border_width']) && $eltd_options['pagination_button_border_width'] !== '' )) {
    			if( isset($eltd_options['pagination_button_width']) && $eltd_options['pagination_button_width'] !== '' ) {
    				$button_width = $eltd_options['pagination_button_width'];
    			}
    			if ( isset($eltd_options['pagination_space_between_buttons']) && $eltd_options['pagination_space_between_buttons'] !== '' ) {
    				$space_between = $eltd_options['pagination_space_between_buttons'];
    			}
    			if ( isset($eltd_options['pagination_button_border_width']) && $eltd_options['pagination_button_border_width'] !== '' ) {
    				$border_width = $eltd_options['pagination_button_border_width'];
    			}
    			$distance = $button_width + $space_between + $border_width*2;
    		} ?>
    			.pagination ul li.prev.prev_first a {
    				left: <?php echo esc_attr($distance); ?>px;
    			}
    			.pagination ul li.next.next_last a {
    				right: <?php echo esc_attr($distance); ?>px;
    			}
     <?php  }
}?>


<?php
$pagination_button_size_styles = array();
$pagination_button_inner_size_styles = array ();
$pagination_button_with_text_size_styles = array();
$border_outer_width = '1';
$border_outer_height = '';

if(isset($eltd_options['pagination_button_width']) && $eltd_options['pagination_button_width'] !== '') {
    $pagination_button_inner_size_styles[] = 'width: '.esc_attr($eltd_options['pagination_button_width']).'px';
	if (isset($eltd_options['pagination_button_border_width']) && $eltd_options['pagination_button_border_width'] !== '') {
		$border_outer_width = esc_attr($eltd_options['pagination_button_border_width']);
	}
	$button_outer_width = esc_attr($eltd_options['pagination_button_width'])+ $border_outer_width*2;
	$pagination_button_outer_size_styles[] = 'width: '.$button_outer_width.'px';
}

if(isset($eltd_options['pagination_button_height']) && $eltd_options['pagination_button_height'] !== '') {
    $pagination_button_inner_size_styles[] = 'height: '.esc_attr($eltd_options['pagination_button_height']).'px';
	$pagination_button_inner_size_styles[] = 'line-height: '.esc_attr($eltd_options['pagination_button_height']).'px';
	$pagination_button_with_text_size_styles[] = 'height: '.esc_attr($eltd_options['pagination_button_height']).'px';
	$pagination_button_with_text_size_styles[] = 'line-height: '.esc_attr($eltd_options['pagination_button_height']).'px';

}

if(is_array($pagination_button_inner_size_styles) && count($pagination_button_inner_size_styles)) { ?>
    .pagination ul li > span,
	.pagination ul li > a,
	.woocommerce-pagination ul.page-numbers li>a,
	.woocommerce-pagination ul.page-numbers li>span,
	.pagination ul li a .pagination_arrow,
	.woocommerce-pagination ul li a .pagination_arrow,
	.single_links_pages span,
	.comment_pager .page-numbers:not(.prev):not(.next) {
    <?php echo esc_attr(implode(';', $pagination_button_inner_size_styles)); ?>
    }
<?php }

if(is_array($pagination_button_with_text_size_styles) && count($pagination_button_with_text_size_styles)) { ?>
	.comment_pager .page-numbers.prev,
	.comment_pager .page-numbers.next {
    <?php echo esc_attr(implode(';', $pagination_button_with_text_size_styles)); ?>
    }
<?php } ?>

<?php
if(isset($eltd_options['pagination_space_between_buttons']) && $eltd_options['pagination_space_between_buttons'] !== '') {
	$pagination_button_margin = esc_attr($eltd_options['pagination_space_between_buttons']).'px';
	$pagination_button_margin_half = esc_attr($eltd_options['pagination_space_between_buttons']/2).'px';
	?>
    .pagination ul li,
	.woocommerce-pagination ul.page-numbers li,
	.single_links_pages	span,
	.single_links_pages	a span,
	.comment_pager .page-numbers {
		margin: 0 <?php echo esc_attr($pagination_button_margin_half).' '. esc_attr($pagination_button_margin) .' '. esc_attr($pagination_button_margin_half) ?>;
	}
	@media only screen and (max-width: 600px){
		.pagination.arrows_on_sides ul li.prev,
		.pagination.arrows_on_sides ul li.first,
		.pagination.arrows_on_sides ul li.prev.prev_first,
		.pagination.arrows_on_sides ul li.last,
		.pagination.arrows_on_sides ul li.next,
		.pagination.arrows_on_sides ul li.next.next_last,
		.pagination.standard_left ul li:first-child,
		.comment_pager .prev.page-numbers,
		.comment_pager .next.page-numbers,
		.comment_pager.arrows_on_sides a:first-child,
		.single_links_pages .single_links_pages_inner > span:first-child,
		.single_links_pages .single_links_pages_inner a:last-child a,
		.single_links_pages .single_links_pages_inner a:first-child span,
		.woocommerce-pagination.standard_left ul.page-numbers li:first-child{
			margin: 0 <?php echo esc_attr($pagination_button_margin_half) .' '. esc_attr($pagination_button_margin) .' '. esc_attr($pagination_button_margin_half) ?> !important;
		}
	}
<?php } ?>


<?php
$pagination_button_styles = array();
$pagination_button_hover_styles = array();
$pagination_button_border_inner_size_styles = array();
$pagination_button_active_styles = array();

$pagination_button_outer_width = 46;
$pagination_button_outer_height = 46;

if(isset($eltd_options['pagination_button_background_color']) && $eltd_options['pagination_button_background_color'] !== '') {
    $pagination_button_styles[] = 'background-color: '.esc_attr($eltd_options['pagination_button_background_color']);
}

if(isset($eltd_options['pagination_button_border_color']) && $eltd_options['pagination_button_border_color'] !== '') {
    $pagination_button_styles[] = 'border-color: '.esc_attr($eltd_options['pagination_button_border_color']);
}
elseif (isset($eltd_options['pagination_button_background_color']) && $eltd_options['pagination_button_background_color'] !== '') {
    $pagination_button_styles[] = 'border-color: '.esc_attr($eltd_options['pagination_button_background_color']);
}

if(isset($eltd_options['pagination_button_border_radius']) && $eltd_options['pagination_button_border_radius'] !== '') {
    $pagination_button_styles[] = 'border-radius: '.esc_attr($eltd_options['pagination_button_border_radius']).'px';
	$pagination_button_hover_styles[] = 'border-radius: '.esc_attr($eltd_options['pagination_button_border_radius']).'px';
	$pagination_button_active_styles[] = 'border-radius: '.esc_attr($eltd_options['pagination_button_border_radius']).'px';
}
if(isset($eltd_options['pagination_button_border_width']) && $eltd_options['pagination_button_border_width'] !== '') {
    $pagination_button_styles[] = 'border-width: '.esc_attr($eltd_options['pagination_button_border_width']).'px';
	$pagination_button_hover_styles[] = 'border-width: '.esc_attr($eltd_options['pagination_button_border_width']).'px';
	$pagination_button_active_styles[] = 'border-width: '.esc_attr($eltd_options['pagination_button_border_width']).'px';
	if (isset($eltd_options['pagination_button_width']) && $eltd_options['pagination_button_width'] !== '') {
		$pagination_button_outer_width = esc_attr($eltd_options['pagination_button_width']);
	}
	$pagination_button_outer_width_new = $pagination_button_outer_width + $eltd_options['pagination_button_border_width']*2;
	if (isset($eltd_options['pagination_button_height']) && $eltd_options['pagination_button_height'] !== '') {
		$pagination_button_outer_height = esc_attr($eltd_options['pagination_button_height']);
	}

	$pagination_button_border_inner_size_styles[] = 'width: '.$pagination_button_outer_width.'px';
	$pagination_button_border_inner_size_styles[] = 'height: '.$pagination_button_outer_height.'px';
	$pagination_button_border_inner_size_styles[] = 'line-height: '.$pagination_button_outer_height.'px';
	?>
	.pagination ul li a,
	.woocommerce-pagination ul.page-numbers li a,
	.woocommerce-pagination ul.page-numbers li span{
	<?php echo esc_attr(implode(';', $pagination_button_border_inner_size_styles)); ?>
	}
	<?php
}

if(is_array($pagination_button_styles) && count($pagination_button_styles)) { ?>
    .pagination ul li > a,
	.pagination ul li span,
	.woocommerce-pagination ul.page-numbers li > a,
	.woocommerce-pagination ul.page-numbers li > span,
	.single_links_pages	a span,
	.comment_pager .page-numbers {
    <?php echo esc_attr(implode(';', $pagination_button_styles)); ?>
    }
<?php }

if(isset($eltd_options['pagination_button_background_hover_color']) && $eltd_options['pagination_button_background_hover_color'] !== '') {
    $pagination_button_hover_styles[] = 'background-color: '.esc_attr($eltd_options['pagination_button_background_hover_color']);
}

if(isset($eltd_options['pagination_button_border_hover_color']) && $eltd_options['pagination_button_border_hover_color'] !== '') {
    $pagination_button_hover_styles[] = 'border-color: '.esc_attr($eltd_options['pagination_button_border_hover_color']);
}
elseif (isset($eltd_options['pagination_button_background_hover_color']) && $eltd_options['pagination_button_background_hover_color'] !== '') {
    $pagination_button_hover_styles[] = 'border-color: '.esc_attr($eltd_options['pagination_button_background_hover_color']);
}

if(is_array($pagination_button_hover_styles) && count($pagination_button_hover_styles)) { ?>
	.pagination ul li a:hover ,
	.pagination ul li.active span:hover,
	.woocommerce-pagination ul.page-numbers li a:hover ,
	.woocommerce-pagination ul.page-numbers li>span.dots:hover,
	.woocommerce-pagination ul.page-numbers li > span.current:hover,
	.single_links_pages span:hover,
	.woocommerce-pagination ul.page-numbers li span:hover,
	.comment_pager .current,
	.comment_pager .page-numbers:hover,
	.comment_pager .page-numbers.dots:hover	{
    <?php echo esc_attr(implode(';', $pagination_button_hover_styles)); ?>
    }
<?php }


if(isset($eltd_options['pagination_button_background_active_color']) && $eltd_options['pagination_button_background_active_color'] !== '') {
    $pagination_button_active_styles[] = 'background-color: '.esc_attr($eltd_options['pagination_button_background_active_color']);
}

if(isset($eltd_options['pagination_button_border_active_color']) && $eltd_options['pagination_button_border_active_color'] !== '') {
    $pagination_button_active_styles[] = 'border-color: '.esc_attr($eltd_options['pagination_button_border_active_color']);
}
elseif (isset($eltd_options['pagination_button_background_active_color']) && $eltd_options['pagination_button_background_active_color'] !== '') {
    $pagination_button_active_styles[] = 'border-color: '.esc_attr($eltd_options['pagination_button_background_active_color']);
}

if(is_array($pagination_button_active_styles) && count($pagination_button_active_styles)) { ?>
    .pagination ul li.active > span,
	.woocommerce-pagination ul.page-numbers li > span.current,
	.comment_pager .current,
	.single_links_pages span {
    <?php echo esc_attr(implode(';', $pagination_button_active_styles)); ?>
    }
<?php }

?>

<?php
$pagination_styles = array();

if(isset($eltd_options['pagination_font_family']) && $eltd_options['pagination_font_family'] !== '-1') {
	$pagination_styles[] = 'font-family: '.str_replace('+', ' ', $eltd_options['pagination_font_family']).', sans-serif';
}

if(isset($eltd_options['pagination_font_size']) && $eltd_options['pagination_font_size'] !== '') {
    $pagination_styles[] = 'font-size: '.$eltd_options['pagination_font_size'].'px';
}

if(isset($eltd_options['pagination_letter_spacing']) && $eltd_options['pagination_letter_spacing'] !== '') {
	$pagination_styles[] = 'letter-spacing: '.$eltd_options['pagination_letter_spacing'].'px';
}

if(isset($eltd_options['pagination_font_weight']) && $eltd_options['pagination_font_weight'] !== '') {
    $pagination_styles[] = 'font-weight: '.$eltd_options['pagination_font_weight'];
}

if(isset($eltd_options['pagination_font_style']) && $eltd_options['pagination_font_style'] !== '') {
	$pagination_styles[] = 'font-style: '.$eltd_options['pagination_font_style'];
}

if(isset($eltd_options['pagination_color']) && $eltd_options['pagination_color'] !== '') {
    $pagination_styles[] = 'color: '.$eltd_options['pagination_color'];
}

if(is_array($pagination_styles) && count($pagination_styles)) { ?>
    .pagination ul li > span,
    .pagination ul li > a,
    .pagination_prev_and_next_only ul li > a,
    .pagination ul li.active span,
    .pagination ul li > a.inactive,
    .single_links_pages a span,
	.single_links_pages .single_links_pages_inner > span,
    .comment_pager .page-numbers,
    .woocommerce-pagination ul.page-numbers li>a,
    .woocommerce-pagination ul.page-numbers li>span,
    .woocommerce-pagination ul.page-numbers li span.current,
    .woocommerce-pagination ul.page-numbers li a {
    <?php echo esc_attr(implode(';', $pagination_styles)); ?>
    }
<?php }
?>


<?php if(!empty($eltd_options['pagination_hover_color'])) { ?>
    .pagination ul li a:hover,
    .pagination_prev_and_next_only ul li a:hover,
	.pagination ul li.active span:hover,
    .woocommerce-pagination ul.page-numbers li a:hover,
	.woocommerce-pagination ul.page-numbers li i:hover,
	.woocommerce-pagination ul.page-numbers li > span.current:hover,
    .single_links_pages a span:hover,
	.single_links_pages .single_links_pages_inner > span:hover,
    .comment_pager a:hover,
    .comment_pager .current:hover,
	.comment_pager .page-numbers.dots:hover,
	.woocommerce-pagination ul.page-numbers li a:hover,
	.woocommerce-pagination ul.page-numbers li span:hover{
    color: <?php echo esc_attr($eltd_options['pagination_hover_color']); ?>;
    }
<?php } ?>

<?php if(!empty($eltd_options['pagination_active_color'])) { ?>
    .pagination ul li.active span,
    .woocommerce-pagination ul.page-numbers li span.current,
    .single_links_pages .single_links_pages_inner > span,
	.comment_pager .current{
    color: <?php echo esc_attr($eltd_options['pagination_active_color']); ?>;
    }
<?php } ?>

<?php
if(isset($eltd_options['pagination_arrow_size']) && $eltd_options['pagination_arrow_size'] !== '') {
	?>
	.pagination ul li a .pagination_arrow,
    .pagination_prev_and_next_only ul li a .pagination_arrow,
	.woocommerce-pagination ul li a .pagination_arrow{
	font-size: <?php echo esc_attr($eltd_options['pagination_arrow_size']).'px'; ?>;
	}
<?php } ?>

<?php
$Portfolio_pagination_styles = array();

if(isset($eltd_options['portfolio_pagination_font_size']) && $eltd_options['portfolio_pagination_font_size'] !== '') {
    $Portfolio_pagination_styles[] = 'font-size: '.$eltd_options['portfolio_pagination_font_size'].'px';
}

if(isset($eltd_options['portfolio_pagination_color']) && $eltd_options['portfolio_pagination_color'] !== '') {
    $Portfolio_pagination_styles[] = 'color: '.$eltd_options['portfolio_pagination_color'];
}

if(is_array($Portfolio_pagination_styles) && count($Portfolio_pagination_styles)) { ?>
    .portfolio_navigation a{
    <?php echo esc_attr(implode(';', $Portfolio_pagination_styles)); ?>
    }
<?php } ?>

<?php if(!empty($eltd_options['portfolio_pagination_hover_color'])) { ?>
    .portfolio_navigation a:hover{
    color: <?php echo esc_attr($eltd_options['portfolio_pagination_hover_color']); ?>;
    }
<?php } ?>

<?php if (!empty($eltd_options['icon_color']) || !empty($eltd_options['icon_background_color']) || !empty($eltd_options['icon_border_color']) || (isset($eltd_options['icon_border_width']) && ($eltd_options['icon_border_width']) != "")) { ?>
    .eltd_icon_shortcode.circle i, .eltd_icon_shortcode.square i, .eltd_icon_shortcode.circle span,.eltd_icon_shortcode.square span{
    <?php if (!empty($eltd_options['icon_color'])) { ?> color: <?php echo esc_attr($eltd_options['icon_color']); ?>; <?php } ?>
    }

    <?php

    if(isset($eltd_options['icon_border_width']) && ($eltd_options['icon_border_width']) != "") {
        $icon_border_width = $eltd_options['icon_border_width']."px";
    }
    else{
        $icon_border_width = "1px";
    }
    ?>

    .eltd_icon_shortcode.eltd_icon_shade.circle,.eltd_icon_shortcode.eltd_icon_shade.square{
    <?php if (!empty($eltd_options['icon_background_color'])) { ?> background-color: <?php echo esc_attr($eltd_options['icon_background_color']); ?>; <?php } ?>
    <?php if ((!empty($eltd_options['icon_border_color'])) || (!empty($eltd_options['icon_border_width']))) { ?> border-style: solid; <?php } ?>
    <?php if (!empty($eltd_options['icon_border_color'])) { ?> border-color: <?php echo esc_attr($eltd_options['icon_border_color']); ?>; <?php } ?>
    border-width: <?php echo esc_attr($icon_border_width); ?>!important;
    }
<?php } ?>

<?php if (isset($eltd_options['icon_box_shadows']) && $eltd_options['icon_box_shadows'] == 'yes' ) {
    $box_shadow = '';
    if(isset($eltd_options['icon_box_shadow_horizontal_shadow']) && $eltd_options['icon_box_shadow_horizontal_shadow'] !== '') {
        $box_shadow = $eltd_options['icon_box_shadow_horizontal_shadow'].'px ';
    }
    else {
        $box_shadow = '1px ';
    }
    if(isset($eltd_options['icon_box_shadow_vertical_shadow']) && $eltd_options['icon_box_shadow_vertical_shadow'] !== '') {
        $box_shadow .= $eltd_options['icon_box_shadow_horizontal_shadow'].'px ';
    }
    else {
        $box_shadow .= '1px ';
    }
    if(isset($eltd_options['icon_box_shadow_blur_distance']) && $eltd_options['icon_box_shadow_blur_distance'] !== '') {
        $box_shadow .= $eltd_options['icon_box_shadow_blur_distance'].'px ';
    }
    if(isset($eltd_options['icon_box_shadow_shadow_size']) && $eltd_options['icon_box_shadow_shadow_size'] !== '') {
        $box_shadow .= $eltd_options['icon_box_shadow_shadow_size'].'px ';
    }
    if(isset($eltd_options['icon_box_shadow_shadow_color']) && $eltd_options['icon_box_shadow_shadow_color'] !== '') {
        $box_shadow .= $eltd_options['icon_box_shadow_shadow_color'];
    }
    ?>
    .eltd_icon_shortcode.circle, .eltd_icon_shortcode.square {
        box-shadow: <?php echo esc_attr($box_shadow); ?>;
    }

<?php } ?>

<?php if (!empty($eltd_options['icon_hover_color']) || !empty($eltd_options['icon_hover_background_color']) || !empty($eltd_options['icon_hover_border_color'])) { ?>
    .eltd_icon_shortcode.circle:hover i, .eltd_icon_shortcode.square:hover i, .eltd_icon_shortcode.circle:hover span, .eltd_icon_shortcode.square:hover span{
    <?php if (!empty($eltd_options['icon_hover_color'])) { ?> color: <?php echo esc_attr($eltd_options['icon_hover_color']); ?> !important; <?php } ?>

    }

    <?php
    if(isset($eltd_options['icon_border_width']) && ($eltd_options['icon_border_width']) != "") {
        $icon_border_width = $eltd_options['icon_border_width']."px";
    }
    else{
        $icon_border_width = "1px";
    }
    ?>

    .eltd_icon_shortcode.circle:hover, .eltd_icon_shortcode.square:hover{
    <?php if (!empty($eltd_options['icon_hover_background_color'])) { ?> background-color: <?php echo esc_attr($eltd_options['icon_hover_background_color']); ?>!important; <?php } ?>
    <?php if ((!empty($eltd_options['icon_hover_border_color'])) || (!empty($eltd_options['icon_border_width']))) { ?> border-style: solid; <?php } ?>
    <?php if (!empty($eltd_options['icon_hover_border_color'])) { ?> border-color: <?php echo esc_attr($eltd_options['icon_hover_border_color']); ?>!important; <?php } ?>
    border-width: <?php echo esc_attr($icon_border_width); ?>!important;
    }
<?php } ?>

<?php if(!empty($eltd_options['icon_color_normal'])) { ?>
    .eltd_icon_shortcode.normal i, .eltd_icon_shortcode.normal span{
    color: <?php echo esc_attr($eltd_options['icon_color_normal']); ?>;
    }
<?php } ?>

<?php if(!empty($eltd_options['icon_hover_color_normal'])) { ?>
    .eltd_icon_shortcode.normal:hover i, .eltd_icon_shortcode.normal:hover span{
    color: <?php echo esc_attr($eltd_options['icon_hover_color_normal']); ?>!important;
    }
<?php } ?>

<?php // icon with text start ?>


<?php if (!empty($eltd_options['icon_with_text_icon_color']) || !empty($eltd_options['icon_background_color']) || !empty($eltd_options['icon_with_text_icon_border_color']) || !empty($eltd_options['icon_with_text_icon_border_width'])) { ?>

    .box_holder_icon_inner:not(.normal_icon) .eltd_icon_stack,
    .eltd_icon_with_title:not(.normal_icon) .icon_holder .eltd_icon_stack,
    .eltd_icon_with_title:not(.normal_icon) .eltd_font_elegant_holder,
    .box_holder_icon_inner:not(.normal_icon) .eltd_font_elegant_holder {
    <?php if (!empty($eltd_options['icon_with_text_icon_color'])) { ?> color: <?php echo esc_attr($eltd_options['icon_with_text_icon_color']); ?>; <?php } ?>
    }

    <?php
    if(isset($eltd_options['icon_with_text_icon_border_width']) && ($eltd_options['icon_with_text_icon_border_width']) != "") {
        $icon_with_text_icon_border_width = $eltd_options['icon_with_text_icon_border_width']."px";
    }
    else{
        $icon_with_text_icon_border_width = "1px";
    }
    ?>

    .box_holder_icon_inner:not(.normal_icon) .eltd_icon_stack,
    .eltd_icon_with_title:not(.normal_icon) .icon_holder .eltd_icon_stack,
    .eltd_icon_with_title:not(.normal_icon) .eltd_font_elegant_holder,
    .box_holder_icon_inner:not(.normal_icon) .eltd_font_elegant_holder {
    <?php if (!empty($eltd_options['icon_with_text_icon_background_color'])) { ?> background-color: <?php echo esc_attr($eltd_options['icon_with_text_icon_background_color']); ?>; <?php } ?>
    <?php if ((!empty($eltd_options['icon_with_text_icon_border_color'])) || (!empty($eltd_options['icon_with_text_icon_border_width']))) { ?> border-style: solid; <?php } ?>
    <?php if (!empty($eltd_options['icon_with_text_icon_border_color'])) { ?> border-color: <?php echo esc_attr($eltd_options['icon_with_text_icon_border_color']); ?>; <?php } ?>
    border-width: <?php echo esc_attr($icon_with_text_icon_border_width); ?>;
    }
<?php } ?>

<?php if (isset($eltd_options['icon_with_text_box_shadows']) && $eltd_options['icon_with_text_box_shadows'] == 'yes') {

    $box_shadow = '';
    if (isset($eltd_options['icon_with_text_box_shadow_horizontal_shadow']) && $eltd_options['icon_with_text_box_shadow_horizontal_shadow'] !== '') {
        $box_shadow .= $eltd_options['icon_with_text_box_shadow_horizontal_shadow'].'px ';
    }
    else {
        $box_shadow .= '1px ';
    }
    if (isset($eltd_options['icon_with_text_box_shadow_vertical_shadow']) && $eltd_options['icon_with_text_box_shadow_vertical_shadow'] !== '') {
        $box_shadow .= $eltd_options['icon_with_text_box_shadow_vertical_shadow'].'px ';
    }
    else {
        $box_shadow .= '1px ';
    }
    if (isset($eltd_options['icon_with_text_box_shadow_blur_distance']) && $eltd_options['icon_with_text_box_shadow_blur_distance'] !== '') {
        $box_shadow .= $eltd_options['icon_with_text_box_shadow_blur_distance'].'px ';
    }
    if (isset($eltd_options['icon_with_text_box_shadow_shadow_size']) && $eltd_options['icon_with_text_box_shadow_shadow_size'] !== '') {
        $box_shadow .= $eltd_options['icon_with_text_box_shadow_shadow_size'].'px ';
    }
    if (isset($eltd_options['icon_with_text_box_shadow_shadow_color']) && $eltd_options['icon_with_text_box_shadow_shadow_color'] !== '') {
        $box_shadow .= $eltd_options['icon_with_text_box_shadow_shadow_color'];
    }
?>
    .box_holder_icon_inner:not(.normal_icon) .eltd_icon_stack,
    .eltd_icon_with_title:not(.normal_icon) .icon_holder .eltd_icon_stack,
    .eltd_icon_with_title:not(.normal_icon) .eltd_font_elegant_holder,
    .box_holder_icon_inner:not(.normal_icon) .eltd_font_elegant_holder {
        box-shadow: <?php echo esc_attr($box_shadow); ?>;
    }

<?php } ?>

<?php if (!empty($eltd_options['icon_with_text_icon_hover_color']) || !empty($eltd_options['icon_with_text_icon_hover_background_color']) || !empty($eltd_options['icon_with_text_icon_hover_border_color'])) { ?>
    .box_holder_icon_inner:not(.normal_icon) .icon_holder_inner:hover .eltd_icon_stack,
    .eltd_icon_with_title:not(.normal_icon) .icon_holder_inner:hover .eltd_icon_stack,
    .eltd_icon_with_title:not(.normal_icon) .eltd_font_elegant_holder:hover,
    .box_holder_icon_inner:not(.normal_icon) .eltd_font_elegant_holder:hover{
    <?php if (!empty($eltd_options['icon_with_text_icon_hover_color'])) { ?> color: <?php echo esc_attr($eltd_options['icon_with_text_icon_hover_color']); ?> !important; <?php } ?>

    }

    <?php
    if(isset($eltd_options['icon_with_text_icon_border_width']) && ($eltd_options['icon_with_text_icon_border_width']) != "") {
        $icon_with_text_icon_border_width = $eltd_options['icon_with_text_icon_border_width']."px";
    }
    else{
        $icon_with_text_icon_border_width = "1px";
    }
    ?>

    .box_holder_icon_inner:not(.normal_icon) .icon_holder_inner:hover .eltd_icon_stack,
    .eltd_icon_with_title:not(.normal_icon) .icon_holder_inner:hover .eltd_icon_stack,
    .eltd_icon_with_title:not(.normal_icon) .eltd_font_elegant_holder:hover,
    .box_holder_icon_inner:not(.normal_icon) .eltd_font_elegant_holder:hover{
    <?php if (!empty($eltd_options['icon_with_text_icon_hover_background_color'])) { ?> background-color: <?php echo esc_attr($eltd_options['icon_with_text_icon_hover_background_color']); ?>!important; <?php } ?>
    <?php if ((!empty($eltd_options['icon_with_text_icon_hover_border_color'])) || (!empty($eltd_options['icon_with_text_icon_border_width']))) { ?> border-style: solid; <?php } ?>
    <?php if (!empty($eltd_options['icon_with_text_icon_hover_border_color'])) { ?> border-color: <?php echo esc_attr($eltd_options['icon_with_text_icon_hover_border_color']); ?>!important; <?php } ?>
    border-width: <?php echo esc_attr($icon_with_text_icon_border_width); ?>;
    }
<?php } ?>

<?php if(!empty($eltd_options['icon_with_text_icon_color_normal'])) { ?>
    .box_holder_icon_inner.normal_icon .icon_holder_inner .eltd_icon_stack,
    .eltd_icon_with_title.normal_icon .icon_holder .eltd_icon_stack,
    .eltd_icon_with_title.normal_icon .eltd_font_elegant_holder,
    .box_holder_icon_inner.normal_icon .eltd_font_elegant_holder{
    color: <?php echo esc_attr($eltd_options['icon_with_text_icon_color_normal']); ?>;
    }
<?php } ?>


<?php if(!empty($eltd_options['icon_with_text_icon_hover_color_normal'])) { ?>
    .box_holder_icon_inner.normal_icon .icon_holder_inner:hover .eltd_icon_stack,
    .eltd_icon_with_title.normal_icon .icon_holder_inner:hover .eltd_icon_stack,
    .eltd_icon_with_title.normal_icon .eltd_font_elegant_holder:hover,
    .box_holder_icon_inner.normal_icon .eltd_font_elegant_holder:hover{
    color: <?php echo esc_attr($eltd_options['icon_with_text_icon_hover_color_normal']); ?> !important;
    }
<?php } ?>



<?php // icon with text end ?>


<?php if (!empty($eltd_options['social_icon_color']) || !empty($eltd_options['social_icon_background_color']) || !empty($eltd_options['social_icon_border_color'])) { ?>
    .eltd_social_icon_holder .eltd_icon_stack{
    <?php if (!empty($eltd_options['social_icon_color'])) { ?> color: <?php echo esc_attr($eltd_options['social_icon_color']); ?>; <?php } ?>
    <?php if (!empty($eltd_options['social_icon_background_color'])) { ?> background-color: <?php echo esc_attr($eltd_options['social_icon_background_color']); ?>; <?php } ?>
    <?php if (!empty($eltd_options['social_icon_border_color'])) { ?> border: 1px solid <?php echo esc_attr($eltd_options['social_icon_border_color']); ?>; <?php } ?>
    }
<?php } ?>

<?php if (!empty($eltd_options['social_icon_hover_color']) || !empty($eltd_options['social_icon_hover_background_color']) || !empty($eltd_options['social_icon_hover_border_color'])) { ?>
    .eltd_social_icon_holder:hover .eltd_icon_stack{
    <?php if (!empty($eltd_options['social_icon_hover_color'])) { ?> color: <?php echo esc_attr($eltd_options['social_icon_hover_color']); ?> !important; <?php } ?>
    <?php if (!empty($eltd_options['social_icon_hover_background_color'])) { ?> background-color: <?php echo esc_attr($eltd_options['social_icon_hover_background_color']); ?> !important; <?php } ?>
    <?php if (!empty($eltd_options['social_icon_hover_border_color'])) { ?> border: 1px solid <?php echo esc_attr($eltd_options['social_icon_hover_border_color']); ?> !important; <?php } ?>
    }
<?php } ?>

<?php if(!empty($eltd_options['social_color'])) { ?>
    .eltd_social_icon_holder.normal_social .simple_social,
    .eltd_social_icon_holder.normal_social.with_link .simple_social{
    color: <?php echo esc_attr($eltd_options['social_color']); ?>;
    }
<?php } ?>

<?php if(!empty($eltd_options['social_hover_color'])) { ?>
    .eltd_social_icon_holder.normal_social:hover .simple_social{
    color: <?php echo esc_attr($eltd_options['social_hover_color']); ?> !important;
    }
<?php } ?>

<?php if(isset($eltd_options['social_share_list_icon_size']) && $eltd_options['social_share_list_icon_size'] !== '') { ?>
    .social_share_list_holder ul li i,
    .woocommerce.single-product.single .social_share_list_holder ul li i{
		font-size : <?php echo esc_attr($eltd_options['social_share_list_icon_size']).'px';?> ;
		line-height :  <?php echo esc_attr($eltd_options['social_share_list_icon_size']).'px';?> ;
	}
<?php } ?>

<?php if(isset($eltd_options['social_share_list_icon_margin_right']) && $eltd_options['social_share_list_icon_margin_right'] !== '') { ?>
    .social_share_list_holder ul li,
	.blog_holder article .social_share_list_holder ul li,
    .woocommerce.single-product.single .social_share_list_holder ul li{
		margin-right : <?php echo esc_attr($eltd_options['social_share_list_icon_margin_right']).'px';?> ;
	}
<?php } ?>

<?php if(isset($eltd_options['social_share_list_icon_color']) && $eltd_options['social_share_list_icon_color'] !== '') { ?>
	.social_share_list_holder ul li i,
    .woocommerce.single-product.single .social_share_list_holder ul li i{
		color : <?php echo esc_attr($eltd_options['social_share_list_icon_color']) ;?> ;
}
<?php } ?>

<?php if(isset($eltd_options['social_share_list_icon_hover_color']) && $eltd_options['social_share_list_icon_hover_color'] !== '') { ?>
	.social_share_list_holder ul li i:hover,
    .woocommerce.single-product.single .social_share_list_holder ul li i:hover{
		color : <?php echo esc_attr($eltd_options['social_share_list_icon_hover_color']) ;?> ;
}
<?php } ?>

<?php

/* ==========================================================================
   Buttons custom styles
   ========================================================================== */
//generate button styles
$default_btn_styles         = '';
$default_btn_hover_styles   = '';
$default_btn_icon_styles   = '';

$small_btn_styles           = '';
$small_btn_icon_styles   = '';

$large_btn_styles           = '';
$large_btn_icon_styles   = '';

$extra_large_btn_styles     = '';
$extra_large_btn_icon_styles   = '';

$white_btn_styles           = '';
$white_btn_hover_styles     = '';

$solid_btn_styles           = '';
$solid_btn_hover_styles     = '';

$mid_transparent_btn_styles           = '';
$mid_transparent_btn_hover_styles     = '';

$top_bottom_border_btn_styles          = '';
$top_bottom_border_btn_hover_styles     = '';


//generate default button styles
if(isset($eltd_options['button_title_color']) && $eltd_options['button_title_color'] !== '') {
    $default_btn_styles .= 'color: '.$eltd_options['button_title_color'].';';
}

if(isset($eltd_options['button_title_fontsize']) && $eltd_options['button_title_fontsize'] !== '') {
    $default_btn_styles .= 'font-size: '.$eltd_options['button_title_fontsize'].'px;';
}

if(isset($eltd_options['button_title_lineheight']) && $eltd_options['button_title_lineheight'] !== '') {
    $default_btn_styles .= 'line-height: '.$eltd_options['button_title_lineheight'].'px;';
    $default_btn_styles .= 'height: '.$eltd_options['button_title_lineheight'].'px;';?>
    .qbutton .button_icon,
    .qbutton.medium .button_icon {
        width: <?php echo esc_attr($eltd_options['button_title_lineheight']).'px;';?>
    }
<?php }

if(isset($eltd_options['button_title_fontstyle']) && $eltd_options['button_title_fontstyle'] !== '') {
    $default_btn_styles .= 'font-style: '.esc_attr($eltd_options['button_title_fontstyle']).';';
}

if(isset($eltd_options['button_title_fontweight']) && $eltd_options['button_title_fontweight'] !== '') {
    $default_btn_styles .= 'font-weight: '.esc_attr($eltd_options['button_title_fontweight']).';';
}

if(isset($eltd_options['button_title_google_fonts']) && $eltd_options['button_title_google_fonts'] !== '-1') {
    $default_btn_styles .= 'font-family: '.str_replace('+', ' ', $eltd_options['button_title_google_fonts']).';';
}

if(isset($eltd_options['button_title_letter_spacing']) && $eltd_options['button_title_letter_spacing'] !== '') {
    $default_btn_styles .= 'letter-spacing: '.esc_attr($eltd_options['button_title_letter_spacing']).'px;';
}

if(isset($eltd_options['button_title_texttransform']) && $eltd_options['button_title_texttransform'] !== '') {
    $default_btn_styles .= 'text-transform: '.esc_attr($eltd_options['button_title_texttransform']).';';
}

if(isset($eltd_options['button_border_color']) && $eltd_options['button_border_color'] !== '') {
    $default_btn_styles .= 'border-color: '.esc_attr($eltd_options['button_border_color']).';';
}

if(isset($eltd_options['button_border_width']) && $eltd_options['button_border_width'] !== '') {
    $default_btn_styles .= 'border-width: '.esc_attr($eltd_options['button_border_width']).'px;';
}

if(isset($eltd_options['button_border_radius']) && $eltd_options['button_border_radius'] !== '') {
    $default_btn_styles .= 'border-radius: '.esc_attr($eltd_options['button_border_radius']).'px;';
    $default_btn_styles .= '-moz-border-radius: '.esc_attr($eltd_options['button_border_radius']).'px;';
    $default_btn_styles .= '-webkit-border-radius: '.esc_attr($eltd_options['button_border_radius']).'px;';
}

if(isset($eltd_options['button_backgroundcolor']) && $eltd_options['button_backgroundcolor'] !== '') {
    $default_btn_styles .= 'background-color: '.$eltd_options['button_backgroundcolor'].';';
}

if(isset($eltd_options['button_padding']) && $eltd_options['button_padding'] !== '') {
    $default_btn_styles .= 'padding-left: '.esc_attr($eltd_options['button_padding']).'px;';
    $default_btn_styles .= 'padding-right: '.esc_attr($eltd_options['button_padding']).'px;';
}


//print default button styles
if($default_btn_styles !== '') {
    ?>
    .qbutton,
    .qbutton.medium,
    #submit_comment,
    .load_more a,
    .blog_load_more_button a,
    .post-password-form input[type='submit'],
	.qbutton.rotate_icon,
	.qbutton.rotate_text_and_icon,
	.qbutton.fill_text_rotate_icon{
    <?php echo esc_attr($default_btn_styles); ?>
    }
<?php
}

?>

<?php // define width for qbutton big large full width ?>
.qbutton.big_large_full_width .text_holder{
    width: calc(100% - 50px);
}
.service_table_holder .qbutton.big_large_full_width{
    margin: -2px;
    width: calc(100% + 4px); 
}
<?php
if(isset($eltd_options['button_border_color']) && $eltd_options['button_border_color'] !== '') { ?>
	.qbutton.icon_right .icon_holder,
	.load_more.icon_right a .icon_holder{
		border-left-color: <?php echo esc_attr($eltd_options['button_border_color']); ?>;
	}
<?php } ?>

<?php
if(isset($eltd_options['button_border_width']) && $eltd_options['button_border_width'] !== '') { ?>
	.qbutton.icon_right .icon_holder,
	.load_more.icon_right a .icon_holder{
		border-left-width: <?php echo esc_attr($eltd_options['button_border_width']); ?>px;
	}
<?php } ?>

<?php
if(isset($eltd_options['button_border_hover_color']) && $eltd_options['button_border_hover_color'] !== '') { ?>
	.qbutton.icon_right:hover .icon_holder,
	.load_more.icon_right a:hover .icon_holder{
		border-left-color: <?php echo esc_attr($eltd_options['button_border_hover_color']); ?>;
	}
<?php } ?>

<?php
//generate default button hover styles
if(isset($eltd_options['button_title_hovercolor']) && $eltd_options['button_title_hovercolor'] !== '') {
    $default_btn_hover_styles .= 'color: '.esc_attr($eltd_options['button_title_hovercolor']).';';
}

if(isset($eltd_options['button_backgroundcolor_hover']) && $eltd_options['button_backgroundcolor_hover'] !== '') {
    $default_btn_hover_styles .= 'background-color: '.esc_attr($eltd_options['button_backgroundcolor_hover']).';';
}

if(isset($eltd_options['button_border_hover_color']) && $eltd_options['button_border_hover_color'] !== '') {
    $default_btn_hover_styles .= 'border-color: '.esc_attr($eltd_options['button_border_hover_color']).';';
}

//print default button hover styles
if($default_btn_hover_styles !== '') {
    ?>
    .qbutton:hover,
    .qbutton:not(.white):hover,
    .qbutton.medium:hover,
    #submit_comment:hover,
    .load_more a:hover,
    .blog_load_more_button a:hover,
    .post-password-form input[type='submit']:hover {
    <?php echo esc_attr($default_btn_hover_styles); ?>
    }
<?php
}

//generate default button icon styles

if(isset($eltd_options['button_icon_size']) && $eltd_options['button_icon_size'] !== '') {
    $default_btn_icon_styles .= 'font-size: '.esc_attr($eltd_options['button_icon_size']).'px;';
}

//print default button icon styles
if($default_btn_icon_styles !== '') {
    ?>
    .qbutton .button_icon,
    .qbutton.medium .button_icon{
    <?php echo esc_attr($default_btn_icon_styles); ?>
    }
<?php
}

//generate small button styles
if(isset($eltd_options['small_button_fontsize']) && $eltd_options['small_button_fontsize'] !== '') {
    $small_btn_styles .= 'font-size: '.esc_attr($eltd_options['small_button_fontsize']).'px;';
}

if(isset($eltd_options['small_button_lineheight']) && $eltd_options['small_button_lineheight'] !== '') {
    $small_btn_styles .= 'line-height: '.esc_attr($eltd_options['small_button_lineheight']).'px;';
    $small_btn_styles .= 'height: '.esc_attr($eltd_options['small_button_lineheight']).'px;';?>
    .qbutton.small .button_icon {
        width: <?php echo esc_attr($eltd_options['small_button_lineheight']).'px;';?>;
    }
	
<?php }

if(isset($eltd_options['small_button_fontweight']) && $eltd_options['small_button_fontweight'] !== '') {
    $small_btn_styles .= 'font-weight: '.esc_attr($eltd_options['small_button_fontweight']).';';
}

if(isset($eltd_options['small_button_padding']) && $eltd_options['small_button_padding'] !== '') {
    $small_btn_styles .= 'padding-left: '.esc_attr($eltd_options['small_button_padding']).'px;';
    $small_btn_styles .= 'padding-right: '.esc_attr($eltd_options['small_button_padding']).'px;';
}

if(isset($eltd_options['small_button_border_radius']) && $eltd_options['small_button_border_radius'] !== '') {
    $small_btn_styles .= '-webkit-border-radius: '.esc_attr($eltd_options['small_button_border_radius']).'px;';
    $small_btn_styles .= '-moz-border-radius: '.esc_attr($eltd_options['small_button_border_radius']).'px;';
    $small_btn_styles .= 'border-radius: '.esc_attr($eltd_options['small_button_border_radius']).'px;';
}

//print small button styles
if($small_btn_styles !== '') {
    ?>
    .qbutton.small{
    <?php echo esc_attr($small_btn_styles); ?>
    }
<?php
}

//generate small button icon styles

if(isset($eltd_options['small_button_icon_size']) && $eltd_options['small_button_icon_size'] !== '') {
    $small_btn_icon_styles .= 'font-size: '.esc_attr($eltd_options['small_button_icon_size']).'px;';
}

//print small button icon styles
if($small_btn_icon_styles !== '') {
    ?>
    .qbutton.small .button_icon{
    <?php echo esc_attr($small_btn_icon_styles); ?>
    }
<?php
}

//generate large button styles
if(isset($eltd_options['large_button_fontsize']) && $eltd_options['large_button_fontsize'] !== '') {
    $large_btn_styles .= 'font-size: '.esc_attr($eltd_options['large_button_fontsize']).'px;';
}

if(isset($eltd_options['large_button_lineheight']) && $eltd_options['large_button_lineheight'] !== '') {
    $large_btn_styles .= 'line-height: '.esc_attr($eltd_options['large_button_lineheight']).'px;';
    $large_btn_styles .= 'height: '.esc_attr($eltd_options['large_button_lineheight']).'px;';?>
    .qbutton.large .button_icon {
        width: <?php echo esc_attr($eltd_options['large_button_lineheight']).'px;';?>;
    }
<?php
}

if(isset($eltd_options['large_button_fontweight']) && $eltd_options['large_button_fontweight'] !== '') {
    $large_btn_styles .= 'font-weight: '.esc_attr($eltd_options['large_button_fontweight']).';';
}

if(isset($eltd_options['large_button_padding']) && $eltd_options['large_button_padding'] !== '') {
    $large_btn_styles .= 'padding-left: '.esc_attr($eltd_options['large_button_padding']).'px;';
    $large_btn_styles .= 'padding-right: '.esc_attr($eltd_options['large_button_padding']).'px;';
}

if(isset($eltd_options['large_button_border_radius']) && $eltd_options['large_button_border_radius'] !== '') {
    $large_btn_styles .= '-webkit-border-radius: '.esc_attr($eltd_options['large_button_border_radius']).'px;';
    $large_btn_styles .= '-moz-border-radius: '.esc_attr($eltd_options['large_button_border_radius']).'px;';
    $large_btn_styles .= 'border-radius: '.esc_attr($eltd_options['large_button_border_radius']).'px;';
}

//print large button styles
if($large_btn_styles !== '') {
    ?>
    .qbutton.large {
    <?php echo esc_attr($large_btn_styles); ?>
    }
<?php
}

//generate large button icon styles

if(isset($eltd_options['large_button_icon_size']) && $eltd_options['large_button_icon_size'] !== '') {
    $large_btn_icon_styles .= 'font-size: '.esc_attr($eltd_options['large_button_icon_size']).'px;';
}

//print large button icon styles
if($large_btn_icon_styles !== '') {
    ?>
    .qbutton.large .button_icon{
    <?php echo esc_attr($large_btn_icon_styles); ?>
    }
<?php
}

//generate extra large button styles
if(isset($eltd_options['big_large_button_fontsize']) && $eltd_options['big_large_button_fontsize'] !== '') {
    $extra_large_btn_styles .= 'font-size: '.esc_attr($eltd_options['big_large_button_fontsize']).'px;';
}

if(isset($eltd_options['big_large_button_lineheight']) && $eltd_options['big_large_button_lineheight'] !== '') {
    $extra_large_btn_styles .= 'line-height: '.esc_attr($eltd_options['big_large_button_lineheight']).'px;';
    $extra_large_btn_styles .= 'height: '.esc_attr($eltd_options['big_large_button_lineheight']).'px;';?>
    .qbutton.big_large .button_icon {
        width: <?php echo esc_attr($eltd_options['big_large_button_lineheight']).'px;';?>;
    }
<?php
}

if(isset($eltd_options['big_large_button_fontweight']) && $eltd_options['big_large_button_fontweight'] !== '') {
    $extra_large_btn_styles .= 'font-weight: '.esc_attr($eltd_options['big_large_button_fontweight']).';';
}

if(isset($eltd_options['big_large_button_padding']) && $eltd_options['big_large_button_padding'] !== '') {
    $extra_large_btn_styles .= 'padding-left: '.esc_attr($eltd_options['big_large_button_padding']).'px;';
    $extra_large_btn_styles .= 'padding-right: '.esc_attr($eltd_options['big_large_button_padding']).'px;';
}

if(isset($eltd_options['big_large_button_border_radius']) && $eltd_options['big_large_button_border_radius'] !== '') {
    $extra_large_btn_styles .= '-webkit-border-radius: '.esc_attr($eltd_options['big_large_button_border_radius']).'px;';
    $extra_large_btn_styles .= '-moz-border-radius: '.esc_attr($eltd_options['big_large_button_border_radius']).'px;';
    $extra_large_btn_styles .= 'border-radius: '.esc_attr($eltd_options['big_large_button_border_radius']).'px;';
}

//print extra large button styles
if($extra_large_btn_styles !== '') {
    ?>
    .qbutton.big_large,
    .qbutton.big_large_full_width,
    .wpb_row .qbutton.big_large_full_width {
    <?php echo esc_attr($extra_large_btn_styles); ?>
    }
<?php
}

//generate large button icon styles

if(isset($eltd_options['extra_large_button_icon_size']) && $eltd_options['extra_large_button_icon_size'] !== '') {
    $extra_large_btn_icon_styles .= 'font-size: '.esc_attr($eltd_options['extra_large_button_icon_size']).'px;';
}

//print large button icon styles
if($extra_large_btn_icon_styles !== '') {
    ?>
    .qbutton.big_large .button_icon,
    .qbutton.big_large_full_width .button_icon{
    <?php echo esc_attr($extra_large_btn_icon_styles); ?>
    }
<?php
}
?>

<?php
//transparent button style

if(isset($eltd_options['button_transparent_text_color']) && $eltd_options['button_transparent_text_color'] !== '') { ?>
	.qbutton.transparent,
	.load_more.transparent	a{
		color: <?php echo esc_attr($eltd_options['button_transparent_text_color'])?>;
	}
<?php }

if(isset($eltd_options['button_transparent_text_color_hover']) && $eltd_options['button_transparent_text_color_hover'] !== '') { ?>
	.qbutton.transparent:hover,
	.load_more.transparent	a:hover	{
		color: <?php echo esc_attr($eltd_options['button_transparent_text_color_hover'])?>;
	}
<?php }

if(isset($eltd_options['button_transparent_border_color']) && $eltd_options['button_transparent_border_color'] !== '') { ?>
	.qbutton.transparent,
	.load_more.transparent,
	.qbutton.icon_right.transparent .icon_holder, 
	.load_more.icon_right.transparent a .icon_holder{
		border-color: <?php echo esc_attr($eltd_options['button_transparent_border_color'])?>;
	}
<?php }

if(isset($eltd_options['button_transparent_border_hover_color']) && $eltd_options['button_transparent_border_hover_color'] !== '') { ?>
	.qbutton.transparent:hover,
	.qbutton.icon_right.transparent:hover .icon_holder, 
	.load_more.icon_right.transparent a:hover .icon_holder{
		border-color: <?php echo esc_attr($eltd_options['button_transparent_border_hover_color'])?>;
	}
<?php }

if(isset($eltd_options['button_transparent_animation_overlay']) && $eltd_options['button_transparent_animation_overlay'] !== '') { ?>
	.qbutton.transparent.animate_button.fill_text_rotate_icon .text_holder .a_overlay,
	.load_more.transparent.animate_button.fill_text_rotate_icon a .text_holder .a_overlay{
		background-color: <?php echo esc_attr($eltd_options['button_transparent_animation_overlay'])?>;
	}
<?php }

?>

<?php //button hover animation ?>
		

	<?php if(isset($eltd_options['button_backgroundcolor_hover']) && ($eltd_options['button_backgroundcolor_hover'] !== '')){?>
		.qbutton.animate_button.fill_text_rotate_icon:not(.transparent) .text_holder .a_overlay, 
		.load_more.animate_button.fill_text_rotate_icon:not(.transparent) a .text_holder .a_overlay{
			background-color:<?php echo esc_attr($eltd_options['button_backgroundcolor_hover']); ?>;
		}
	<?php } ?>
	<?php if(isset($eltd_options['button_backgroundcolor']) && ($eltd_options['button_backgroundcolor'] !== '')){?>
		.qbutton.animate_button.fill_text_rotate_icon:hover,
		.load_more.animate_button.fill_text_rotate_icon a:hover{
			background-color:<?php echo esc_attr($eltd_options['button_backgroundcolor']); ?>;
		}
	<?php } ?>
	
	
	
	
	<?php if(isset($eltd_options['button_title_color']) && ($eltd_options['button_title_color'] !== '')){?>
		.qbutton.animate_button.rotate_text_and_icon:hover,
		.load_more.animate_button.rotate_text_and_icon  a:hover,
		.qbutton.animate_button.rotate_icon:hover,
		.load_more.animate_button.rotate_icon  a:hover,
		.qbutton.animate_button.fill_text_rotate_icon:hover,
		.load_more.animate_button.fill_text_rotate_icon  a:hover{
			color:<?php echo esc_attr($eltd_options['button_title_color']); ?>;
		}
	<?php } ?>
	
	<?php if(isset($eltd_options['button_title_hovercolor']) && ($eltd_options['button_title_hovercolor'] !== '')){?>
		.qbutton.animate_button.rotate_text_and_icon  .text_holder .hidden_text,
		.load_more.animate_button.rotate_text_and_icon  a .text_holder .hidden_text{
			color:<?php echo esc_attr($eltd_options['button_title_hovercolor']); ?>;
		}
	<?php } ?>
	
	
	<?php if(isset($eltd_options['button_icon_color']) && ($eltd_options['button_icon_color'] !== '')){?>
		.qbutton.animate_button.rotate_icon  .icon_holder,
		.load_more.animate_button.rotate_icon  a .icon_holder,
		.qbutton.animate_button.rotate_text_and_icon  .icon_holder,
		.load_more.animate_button.rotate_text_and_icon  a .icon_holder,
		.qbutton.animate_button.fill_text_rotate_icon  .icon_holder,
		.load_more.animate_button.fill_text_rotate_icon  a .icon_holder{
			color:<?php echo esc_attr($eltd_options['button_icon_color']); ?>;
		}
	<?php } ?>
	
	
	<?php if(isset($eltd_options['button_icon_hover_color']) && ($eltd_options['button_icon_hover_color'] !== '')){?>
		.qbutton.animate_button.rotate_icon  .icon_holder .hidden_icon,
		.load_more.animate_button.rotate_icon  a .icon_holder .hidden_icon,
		.qbutton.animate_button.rotate_text_and_icon  .icon_holder .hidden_icon,
		.load_more.animate_button.rotate_text_and_icon  a .icon_holder .hidden_icon,
		.qbutton.animate_button.fill_text_rotate_icon  .icon_holder > span:not(.hidden_icon),
		.load_more.animate_button.fill_text_rotate_icon  a .icon_holder > span:not(.hidden_icon){
			color:<?php echo esc_attr($eltd_options['button_icon_hover_color']); ?>;
		}
	<?php } ?>
	
	<?php if(isset($eltd_options['button_transparent_text_color']) && ($eltd_options['button_transparent_text_color'] !== '')){?>
		.qbutton.transparent.animate_button.rotate_text_and_icon:hover,
		.load_more.transparent.animate_button.rotate_text_and_icon  a:hover,
		.qbutton.transparent.animate_button.rotate_icon:hover,
		.load_more.transparent.animate_button.rotate_icon  a:hover,
		.qbutton.transparent.animate_button.fill_text_rotate_icon:hover,
		.load_more.transparent.animate_button.fill_text_rotate_icon  a:hover{
			color:<?php echo esc_attr($eltd_options['button_transparent_text_color']); ?>;
		}
	<?php } ?>
	
	<?php if(isset($eltd_options['button_transparent_text_color_hover']) && ($eltd_options['button_transparent_text_color_hover'] !== '')){?>
		.qbutton.transparent.animate_button.rotate_text_and_icon  .text_holder .hidden_text,
		.load_more.transparent.animate_button.rotate_text_and_icon  a .text_holder .hidden_text{
			color:<?php echo esc_attr($eltd_options['button_transparent_text_color_hover']); ?>;
		}
	<?php } ?>
	
	<?php if(isset($eltd_options['button_transparent_icon_color']) && ($eltd_options['button_transparent_icon_color'] !== '')){?>
		.qbutton.transparent.animate_button.rotate_icon  .icon_holder,
		.load_more.transparent.animate_button.rotate_icon  a .icon_holder,
		.qbutton.transparent.animate_button.rotate_text_and_icon  .icon_holder,
		.load_more.transparent.animate_button.rotate_text_and_icon  a .icon_holder,
		.qbutton.transparent.animate_button.fill_text_rotate_icon  .icon_holder,
		.load_more.transparent.animate_button.fill_text_rotate_icon  a .icon_holder{
			color:<?php echo esc_attr($eltd_options['button_transparent_icon_color']); ?>;
		}
	<?php } ?>
	
	
	<?php if(isset($eltd_options['button_transparent_icon_color_hover']) && ($eltd_options['button_transparent_icon_color_hover'] !== '')){?>
		.qbutton.transparent.animate_button.rotate_icon  .icon_holder .hidden_icon,
		.load_more.transparent.animate_button.rotate_icon  a .icon_holder .hidden_icon,
		.qbutton.transparent.animate_button.rotate_text_and_icon  .icon_holder .hidden_icon,
		.load_more.transparent.animate_button.rotate_text_and_icon  a .icon_holder .hidden_icon,
		.qbutton.transparent.animate_button.fill_text_rotate_icon  .icon_holder > span:not(.hidden_icon),
		.load_more.transparent.animate_button.fill_text_rotate_icon  a .icon_holder > span:not(.hidden_icon){
			color:<?php echo esc_attr($eltd_options['button_transparent_icon_color_hover']); ?> !important;
		}
	<?php } ?>


	
<?php
/* ==========================================================================
   Back to top styles
   ========================================================================== */
?>
<?php

$eltd_back_to_top_button_styles = '';
// default values
$default_btp_height = 46;
$default_btp_border = 1;

$eltd_back_to_top_styles = '';

if(isset($eltd_options['back_to_top_arrow_size']) && ($eltd_options['back_to_top_arrow_size'] !== '')) {
    $eltd_back_to_top_styles .= 'font-size: '.$eltd_options['back_to_top_arrow_size'].'px;';
}

if(isset($eltd_options['back_to_top_arrow_color']) && !empty($eltd_options['back_to_top_arrow_color'])) {
    $eltd_back_to_top_styles .= 'color: '.$eltd_options['back_to_top_arrow_color'].';';
}

if(isset($eltd_options['back_to_top_height']) && ($eltd_options['back_to_top_height'] !== '')) {
    $eltd_back_to_top_styles .= 'height: '.$eltd_options['back_to_top_height'].'px;';
    $default_btp_height = $eltd_options['back_to_top_height'];
}

if(isset($eltd_options['back_to_top_width']) && ($eltd_options['back_to_top_width'] !== '')) {
    $eltd_back_to_top_styles .= 'width: '.$eltd_options['back_to_top_width'].'px;';
}

if(isset($eltd_options['back_to_top_border_radius']) && ($eltd_options['back_to_top_border_radius'] !== '')) {
    $eltd_back_to_top_styles .= 'border-radius: '.$eltd_options['back_to_top_border_radius'].'px;';
}

if(isset($eltd_options['back_to_top_background_color']) && !empty($eltd_options['back_to_top_background_color'])) {
    if(isset($eltd_options['back_to_top_background_transparency']) && ($eltd_options['back_to_top_background_transparency'] !== '')) {
        $back_to_top_background_color_rgb = eltd_hex2rgb($eltd_options['back_to_top_background_color']);
        $eltd_back_to_top_styles .= 'background-color: rgba('.$back_to_top_background_color_rgb[0].','.$back_to_top_background_color_rgb[1].','.$back_to_top_background_color_rgb[2].','.$eltd_options['back_to_top_background_transparency'].');';

    }
    else{
        $eltd_back_to_top_styles .= 'background-color: '.$eltd_options['back_to_top_background_color'].';';
    }

}
if(isset($eltd_options['back_to_top_border_width']) && ($eltd_options['back_to_top_border_width'] !== '')) {
    $eltd_back_to_top_styles .= 'border-width: '.$eltd_options['back_to_top_border_width'].'px;';
    $default_btp_border = $eltd_options['back_to_top_border_width'];
}

if((isset($eltd_options['back_to_top_border_width']) && ($eltd_options['back_to_top_border_width'] !== ''))
||(isset($eltd_options['back_to_top_height']) && ($eltd_options['back_to_top_height'] !== ''))) {
    $eltd_back_to_top_styles .= 'line-height: '.esc_attr(($default_btp_height - 2*$default_btp_border)).'px;';

}

if(isset($eltd_options['back_to_top_border_color']) && !empty($eltd_options['back_to_top_border_color'])) {
    if(isset($eltd_options['back_to_top_border_transparency']) && ($eltd_options['back_to_top_border_transparency'] !== '')) {
        $back_to_top_border_color_rgb = eltd_hex2rgb($eltd_options['back_to_top_border_color']);
        $eltd_back_to_top_styles .= 'border-color: rgba('.esc_attr($back_to_top_border_color_rgb[0].','.$back_to_top_border_color_rgb[1].','.$back_to_top_border_color_rgb[2].','.$eltd_options['back_to_top_border_transparency']).');';

    }
    else{
        $eltd_back_to_top_styles .= 'border-color: '.esc_attr($eltd_options['back_to_top_border_color']).';';
    }
}

if($eltd_back_to_top_styles !== '') {
    ?>
    #back_to_top > span{
    <?php echo esc_attr($eltd_back_to_top_styles); ?>
    }
<?php
} ?>

<?php
if((isset($eltd_options['back_to_top_width']) && ($eltd_options['back_to_top_width'] !== ''))
||(isset($eltd_options['back_to_top_height']) && ($eltd_options['back_to_top_height'] !== ''))
||(isset($eltd_options['back_to_top_button_margin_bottom']) && ($eltd_options['back_to_top_button_margin_bottom'] !== ''))) {  ?>
    #back_to_top {
        <?php   if(isset($eltd_options['back_to_top_width']) && ($eltd_options['back_to_top_width'] !== '')) {
                    echo 'width: '.esc_attr($eltd_options['back_to_top_width']).'px;';
                }
                if(isset($eltd_options['back_to_top_height']) && ($eltd_options['back_to_top_height'] !== '')) {
                    echo 'height: '.esc_attr($eltd_options['back_to_top_height']).'px;';
                }
                if(isset($eltd_options['back_to_top_button_margin_bottom']) && ($eltd_options['back_to_top_button_margin_bottom'] !== '')) {
                    echo 'bottom: '.esc_attr($eltd_options['back_to_top_button_margin_bottom']).'px;';
                }
        ?>
    }
    <?php } ?>

<?php
$eltd_back_to_top_hover_styles = '';

if(isset($eltd_options['back_to_top_arrow_hover_color']) && !empty($eltd_options['back_to_top_arrow_hover_color'])) {
    $eltd_back_to_top_hover_styles .= 'color: '.esc_attr($eltd_options['back_to_top_arrow_hover_color']).';';
}

if(isset($eltd_options['back_to_top_background_hover_color']) && !empty($eltd_options['back_to_top_background_hover_color'])) {
    if(isset($eltd_options['back_to_top_background_hover_transparency']) && ($eltd_options['back_to_top_background_hover_transparency'] !== '')) {
        $back_to_top_background_hover_color_rgb = eltd_hex2rgb($eltd_options['back_to_top_background_hover_color']);
        $eltd_back_to_top_hover_styles .= 'background-color: rgba('.esc_attr($back_to_top_background_hover_color_rgb[0].','.$back_to_top_background_hover_color_rgb[1].','.$back_to_top_background_hover_color_rgb[2].','.$eltd_options['back_to_top_background_hover_transparency']).');';

    }
    else{
        $eltd_back_to_top_hover_styles .= 'background-color: '.esc_attr($eltd_options['back_to_top_background_hover_color']).';';
    }
}

if(isset($eltd_options['back_to_top_border_hover_color']) && !empty($eltd_options['back_to_top_border_hover_color'])) {
    if(isset($eltd_options['back_to_top_border_hover_transparency']) && ($eltd_options['back_to_top_border_hover_transparency'] !== '')) {
        $back_to_top_border_hover_color_rgb = eltd_hex2rgb($eltd_options['back_to_top_border_hover_color']);
        $eltd_back_to_top_hover_styles .= 'border-color: rgba('.esc_attr($back_to_top_border_hover_color_rgb[0].','.$back_to_top_border_hover_color_rgb[1].','.$back_to_top_border_hover_color_rgb[2].','.$eltd_options['back_to_top_border_hover_transparency']).');';

    }
    else{
        $eltd_back_to_top_hover_styles .= 'border-color: '.esc_attr($eltd_options['back_to_top_border_hover_color']).';';
    }
}

if($eltd_back_to_top_hover_styles !== '') {
    ?>
    #back_to_top:hover > span{
    <?php echo esc_attr($eltd_back_to_top_hover_styles); ?>
    }
<?php
}
?>


<?php
$back_to_top_text_styles = '';
if(isset($eltd_options['back_to_top_type']) && ($eltd_options['back_to_top_type'] == 'text')){
    if(isset($eltd_options['back_to_top_text']) && ($eltd_options['back_to_top_text'] !== '')){
        $back_to_top_text_styles .= 'font-family: Open Sans, sans-serif;';
    }

    if(isset($eltd_options['back_to_top_text_color']) && !empty($eltd_options['back_to_top_text_color'])) {
        $back_to_top_text_styles .= 'color: '.esc_attr($eltd_options['back_to_top_text_color']).';';
    }

    if(isset($eltd_options['back_to_top_text_fontsize']) && ($eltd_options['back_to_top_text_fontsize'] !== '')){
        $back_to_top_text_styles .= 'font-size: '.esc_attr($eltd_options['back_to_top_text_fontsize']).'px;';
    }
    if(isset($eltd_options['back_to_top_text_letterspacing']) && ($eltd_options['back_to_top_text_letterspacing'] !== '')){
        $back_to_top_text_styles .= 'letter-spacing: '.esc_attr($eltd_options['back_to_top_text_letterspacing']).'px;';
    }
    if(isset($eltd_options['back_to_top_text_fontfamily']) && $eltd_options['back_to_top_text_fontfamily'] !== '-1') {
        $back_to_top_text_styles .= 'font-family: '.str_replace('+', ' ', $eltd_options['back_to_top_text_fontfamily']).', sans-serif;';
    }
    if(isset($eltd_options['back_to_top_text_texttransform']) && ($eltd_options['back_to_top_text_texttransform'] !== '')){
        $back_to_top_text_styles .= 'text-transform: '.esc_attr($eltd_options['back_to_top_text_texttransform']).';';
    }
    if(isset($eltd_options['back_to_top_text_fontstyle']) && ($eltd_options['back_to_top_text_fontstyle'] !== '')){
        $back_to_top_text_styles .= 'font-style: '.esc_attr($eltd_options['back_to_top_text_fontstyle']).';';
    }
    if(isset($eltd_options['back_to_top_text_fontweight']) && ($eltd_options['back_to_top_text_fontweight'] !== '')){
        $back_to_top_text_styles .= 'font-weight: '.esc_attr($eltd_options['back_to_top_text_fontweight']).';';
    }
    if(isset($eltd_options['back_to_top_text_lineheight']) && ($eltd_options['back_to_top_text_lineheight'] !== '')){
        $back_to_top_text_styles .= 'line-height: '.esc_attr($eltd_options['back_to_top_text_lineheight']).'px;';
    }
    if($back_to_top_text_styles !== '') {
        ?>
        #back_to_top > span .arrow_carrot-up:before{
        <?php echo esc_attr($back_to_top_text_styles); ?>
        display: block;
		<?php if(isset($eltd_options['back_to_top_text']) && ($eltd_options['back_to_top_text'] !== '')) {
            echo 'content: "'.esc_attr($eltd_options['back_to_top_text']).'";';
        } ?>
		}
    <?php
    }
    ?>

    <?php
    if(isset($eltd_options['back_to_top_text_hover_color']) && ($eltd_options['back_to_top_text_hover_color'] !== '')){?>
        #back_to_top > span:hover .arrow_carrot-up:before{
         color: <?php echo esc_attr($eltd_options['back_to_top_text_hover_color']); ?>;
        }
    <?php
    }
}

/* ==========================================================================
End of Back to top styles
========================================================================== */
?>

<?php
$eltd_navigation_styles = '';
$temp_rgb_color = '';
$temp_transparency_arrow = '';
$temp_transparency = '';
$temp_transparency_border = '';
$eltd_navigation_color_important = '';
$eltd_navigation_line_height_important = '';
$eltd_navigation_border_color_important = '';
$eltd_navigation_border_width_important = '';
$eltd_navigation_border_style_important = '';
if(isset($eltd_options['navigation_button_width']) && ($eltd_options['navigation_button_width'] !== '')) {
    $eltd_navigation_styles .= 'width: '.esc_attr($eltd_options['navigation_button_width']).'px;';
}
if(isset($eltd_options['navigation_button_height']) && ($eltd_options['navigation_button_height'] !== '')) {
    $eltd_navigation_styles .= 'height: '.esc_attr($eltd_options['navigation_button_height']).'px;';
		$eltd_navigation_styles .= 'margin-top: -'.esc_attr(($eltd_options['navigation_button_height']/2)).'px;';
    $eltd_navigation_styles .= 'line-height: '.esc_attr($eltd_options['navigation_button_height']).'px;';
    $eltd_navigation_line_height_important .= 'line-height: '.esc_attr($eltd_options['navigation_button_height']).'px!important;';
}
if(isset($eltd_options['navigation_arrow_size']) && ($eltd_options['navigation_arrow_size'] !== '')) {
    $eltd_navigation_styles .= 'font-size: '.esc_attr($eltd_options['navigation_arrow_size']).'px;';
}
if(isset($eltd_options['navigation_arrow_color']) && !empty($eltd_options['navigation_arrow_color'])) {
    $temp_rgb_color = eltd_hex2rgb($eltd_options['navigation_arrow_color']);
    if(isset($eltd_options['navigation_arrow_transparency']) && ($eltd_options['navigation_arrow_transparency']!== '')) {
        $temp_transparency_arrow = $eltd_options['navigation_arrow_transparency'];
    }
    else{
        $temp_transparency_arrow = 1;
	}
    $eltd_navigation_styles .= 'color: rgba('.$temp_rgb_color[0].','.$temp_rgb_color[1].','.$temp_rgb_color[2].','.$temp_transparency_arrow.');';
    $eltd_navigation_color_important = 'color: rgba('.esc_attr($temp_rgb_color[0].','.$temp_rgb_color[1].','.$temp_rgb_color[2].','.$temp_transparency_arrow).')!important;';
}

if(isset($eltd_options['navigation_background_color']) && !empty($eltd_options['navigation_background_color'])) {
    $temp_rgb_color = eltd_hex2rgb($eltd_options['navigation_background_color']);
    if(isset($eltd_options['navigation_background_transparency']) && ($eltd_options['navigation_background_transparency']!== '')) {
        $temp_transparency = $eltd_options['navigation_background_transparency'];
    }
    else{
		$temp_transparency = 1;
	}
    $eltd_navigation_styles .= 'background-color: rgba('.esc_attr($temp_rgb_color[0].','.$temp_rgb_color[1].','.$temp_rgb_color[2].','.$temp_transparency).');';
}

if(isset($eltd_options['navigation_border_color']) && !empty($eltd_options['navigation_border_color'])) {
    $temp_rgb_color = eltd_hex2rgb($eltd_options['navigation_border_color']);
    if(isset($eltd_options['navigation_border_transparency']) && ($eltd_options['navigation_border_transparency']!== '')) {
        $temp_transparency_border = $eltd_options['navigation_border_transparency'];
    }
    else{
		$temp_transparency_border = 1;
	}
    $eltd_navigation_styles .= 'border-color: rgba('.$temp_rgb_color[0].','.$temp_rgb_color[1].','.$temp_rgb_color[2].','.$temp_transparency_border.'); ';
    $eltd_navigation_border_color_important .= 'border-color: rgba('.esc_attr($temp_rgb_color[0].','.$temp_rgb_color[1].','.$temp_rgb_color[2].','.$temp_transparency_border).')!important; ';
}

if(isset($eltd_options['navigation_border_width']) && ($eltd_options['navigation_border_width'] !== '')) {
    $eltd_navigation_styles .= 'border-width:'.esc_attr($eltd_options['navigation_border_width']).'px; ';
    $eltd_navigation_styles .= 'border-style:solid;';
    $eltd_navigation_border_width_important .= 'border-width:'.esc_attr($eltd_options['navigation_border_width']).'px!important; ';
    $eltd_navigation_border_style_important .= 'border-style:solid !important;';
}

if(isset($eltd_options['navigation_border_radius']) && ($eltd_options['navigation_border_radius'] !== '')) {
    $eltd_navigation_styles .= 'border-radius:'.esc_attr($eltd_options['navigation_border_radius']).'px;';
}


if($eltd_navigation_styles !== '') {
    ?>
    .ls-nav-prev,
    .ls-nav-next,
    .carousel-control .prev_nav,
    .carousel-control .next_nav{
    <?php echo esc_attr($eltd_navigation_styles); ?>
    }

    <?php
    if($eltd_navigation_line_height_important != '' || $eltd_navigation_border_color_important != '' || $eltd_navigation_border_width_important != '' || $eltd_navigation_border_style_important != ''){ ?>
        .ls-nav-prev,
        .ls-nav-next{
        <?php
            if($eltd_navigation_line_height_important != ''){echo esc_attr($eltd_navigation_line_height_important); }
            if($eltd_navigation_border_color_important != ''){echo esc_attr($eltd_navigation_border_color_important); }
            if($eltd_navigation_border_width_important != ''){echo esc_attr($eltd_navigation_border_width_important); }
            if($eltd_navigation_border_style_important != ''){echo esc_attr($eltd_navigation_border_style_important); }
        ?>
        }
    <?php
    }
    ?>

		<?php if((isset($eltd_options['navigation_button_width']) && ($eltd_options['navigation_button_width'] !== '')) || (isset($eltd_options['navigation_button_height']) && ($eltd_options['navigation_button_height'] !== ''))) {

			if(isset($eltd_options['navigation_border_width']) && ($eltd_options['navigation_border_width'] !== '')) {
				$border_width_add = $eltd_options['navigation_border_width'];
			}else{
				$border_width_add = 1; // 1 is default border width
			}

		?>

		.vertical_menu_enabled.vertical_menu_transparency .carousel-control.left,
		.vertical_menu_enabled.vertical_menu_transparency .carousel-control.right,
		.navigation_bottom_right .carousel-control.left,
		.navigation_bottom_right .carousel-control.right,
		.navigation_bottom_left .carousel-control.left,
		.navigation_bottom_left .carousel-control.right{
			<?php if($eltd_options['navigation_button_width'] !== ''){ ?>
				width: <?php echo esc_attr($eltd_options['navigation_button_width']) + $border_width_add*2; // ?>px;
			<?php } ?>
			<?php if($eltd_options['navigation_button_height'] !== ''){ ?>
				height: <?php echo esc_attr($eltd_options['navigation_button_height']) + $border_width_add*2; ?>px;
			<?php } ?>
		}
		<?php
		}
		?>

		<?php if($eltd_options['navigation_button_width'] !== ''){ ?>
			.navigation_bottom_right.content_next_to_arrows .carousel-inner .slider_content,
			.navigation_bottom_left.content_next_to_arrows .carousel-inner .slider_content{
				right: <?php echo esc_attr($eltd_options['navigation_button_width'])*2 + 160 + $border_width_add*4; //160 = 100 from edge + 20 between arrows + 10 on the right from arrows + 30 cotnent from arrows, $border_width_add*4 because of two arrows ?>px !important;
			}

			.navigation_bottom_left.content_next_to_arrows .carousel-inner .slider_content{
				left: <?php echo esc_attr($eltd_options['navigation_button_width'])*2 + 160 + $border_width_add*4; //160 = 100 from edge + 20 between arrows + 10 on the right from arrows + 30 cotnent from arrows, $border_width_add*4 because of two arrows ?>px !important;
			}
			<?php } ?>

		<?php if($eltd_options['navigation_button_height'] !== ''){ ?>
			.vertical_menu_enabled .carousel-control .prev_nav,
			.vertical_menu_enabled .carousel-control .next_nav{
				margin-top: -<?php echo esc_attr($eltd_options['navigation_button_width'])/2; ?>px !important;
			}
		<?php } ?>

<?php
}
?>

<?php

$eltd_navigation_numbers_style = array();
$eltd_navigation_numbers_hover_style = array();

if(isset($eltd_options['navigation_number_font_size']) && $eltd_options['navigation_number_font_size'] !== '') {
	$eltd_navigation_numbers_style[] = 'font-size: ' . $eltd_options['navigation_number_font_size'] . 'px';
}
if(isset($eltd_options['navigation_number_letter_spacing']) && $eltd_options['navigation_number_letter_spacing'] !== '') {
	$eltd_navigation_numbers_style[] = 'letter-spacing: ' . $eltd_options['navigation_number_letter_spacing'] . 'px';
}
if(isset($eltd_options['navigation_number_line_height']) && $eltd_options['navigation_number_line_height'] !== '') {
	$eltd_navigation_numbers_style[] = 'line-height: ' . $eltd_options['navigation_number_line_height'] . 'px';
}
if(isset($eltd_options['navigation_number_font_font_family']) && $eltd_options['navigation_number_font_font_family'] !== '-1') {
	$eltd_navigation_numbers_style[] = 'font-family: ' . str_replace('+', ' ', $eltd_options['navigation_number_font_font_family']) . ', sans-serif';
}
if(isset($eltd_options['navigation_number_font_style']) && $eltd_options['navigation_number_font_style'] !== '') {
	$eltd_navigation_numbers_style[] = 'font-style: ' . $eltd_options['navigation_number_font_style'] ;
}
if(isset($eltd_options['navigation_number_font_weight']) && $eltd_options['navigation_number_font_weight'] !== '') {
	$eltd_navigation_numbers_style[] = 'font-weight: ' . $eltd_options['navigation_number_font_weight'] ;
}
if(isset($eltd_options['navigation_number_color']) && $eltd_options['navigation_number_color'] !== '') {
	$eltd_navigation_numbers_style[] = 'color: ' . $eltd_options['navigation_number_color'] ;
}
if(isset($eltd_options['navigation_number_transparency']) && $eltd_options['navigation_number_transparency'] !== '') {
	$eltd_navigation_numbers_style[] = 'opacity: ' . $eltd_options['navigation_number_transparency'] ;
}

if(isset($eltd_options['navigation_number_hover_color']) && $eltd_options['navigation_number_hover_color'] !== '') {
	$eltd_navigation_numbers_hover_style[] = 'color: ' . $eltd_options['navigation_number_hover_color'];
}
if(isset($eltd_options['navigation_number_hover_transparency']) && $eltd_options['navigation_number_hover_transparency'] !== '') {
	$eltd_navigation_numbers_hover_style[] = 'opacity: ' . $eltd_options['navigation_number_hover_transparency'];
}

if(is_array($eltd_navigation_numbers_style) && count($eltd_navigation_numbers_style)) { ?>
	.carousel-control .prev_nav .numbers,
	.carousel-control .next_nav .numbers {
		-webkit-transition: color 0.15s ease-out;
		-moz-transition: color 0.15s ease-out;
		transition: color 0.15s ease-out;
		<?php echo esc_attr(implode(';', $eltd_navigation_numbers_style)); ?>
	}
<?php }

if(is_array($eltd_navigation_numbers_hover_style) && count($eltd_navigation_numbers_hover_style)) { ?>
	.carousel-control .prev_nav:hover .numbers,
	.carousel-control .next_nav:hover .numbers {
		<?php echo esc_attr(implode(';', $eltd_navigation_numbers_hover_style)); ?>
	}

<?php }

?>

<?php if(isset($eltd_options['qs_enable_navigation_custom_cursor']) && ($eltd_options['qs_enable_navigation_custom_cursor']=="yes")) { ?>

    div.section{
        z-index: 11; /*because slider z-index is 10 and slider custom image cursor needs to disappear when hovering section
                        problem with angled section */
    }

	<?php if(isset($eltd_options['cursor_image_left_right_area_size']) && ($eltd_options['cursor_image_left_right_area_size'])!=='') { ?>
		.eltd_slider .has_custom_cursor .carousel-control{
			width:<?php echo esc_attr($eltd_options['cursor_image_left_right_area_size']); ?>%;
		}
	<?php } ?>


	.eltd_slider .has_custom_cursor .carousel-control.left,
	.eltd_slider .has_custom_cursor .carousel-control.left:active{
		cursor: url(<?php echo esc_url(get_template_directory_uri());?>/css/img/slider-left-normal.png),url(<?php echo esc_url(get_template_directory_uri());?>/css/img/slider-left-normal.cur), auto;
	}
	.eltd_slider .has_custom_cursor .carousel-control.right,
	.eltd_slider .has_custom_cursor .carousel-control.right:active{
		cursor: url(<?php echo esc_url(get_template_directory_uri());?>/css/img/slider-right-normal.png),url(<?php echo esc_url(get_template_directory_uri());?>/css/img/slider-right-normal.cur), auto;
	}

	.eltd_slider .has_custom_cursor .carousel-control.left.light,
	.eltd_slider .has_custom_cursor .carousel-control.left.light:active{
		cursor: url(<?php echo esc_url(get_template_directory_uri());?>/css/img/slider-left-light.png),url(<?php echo esc_url(get_template_directory_uri());?>/css/img/slider-left-light.cur), auto;
	}
	.eltd_slider .has_custom_cursor .carousel-control.right.light,
	.eltd_slider .has_custom_cursor .carousel-control.right.light:active{
		cursor: url(<?php echo esc_url(get_template_directory_uri());?>/css/img/slider-right-light.png),url(<?php echo esc_url(get_template_directory_uri());?>/css/img/slider-right-light.cur), auto;
	}

	.eltd_slider .has_custom_cursor .carousel-control.left.dark,
	.eltd_slider .has_custom_cursor .carousel-control.left.dark:active{
		cursor: url(<?php echo esc_url(get_template_directory_uri());?>/css/img/slider-left-dark.png),url(<?php echo esc_url(get_template_directory_uri());?>/css/img/slider-left-dark.cur), auto;
	}
	.eltd_slider .has_custom_cursor .carousel-control.right.dark,
	.eltd_slider .has_custom_cursor .carousel-control.right.dark:active{
		cursor: url(<?php echo esc_url(get_template_directory_uri());?>/css/img/slider-right-dark.png),url(<?php echo esc_url(get_template_directory_uri());?>/css/img/slider-right-dark.cur), auto;
	}


	<?php if(isset($eltd_options['cursor_image_left_normal']) && !empty($eltd_options['cursor_image_left_normal'])) { ?>
		.eltd_slider .has_custom_cursor .carousel-control.left,
		.eltd_slider .has_custom_cursor .carousel-control.left:active{
			cursor: url(<?php echo esc_attr($eltd_options['cursor_image_left_normal']); ?>), auto;
		}
	<?php } ?>
	<?php if(isset($eltd_options['cursor_image_right_normal']) && !empty($eltd_options['cursor_image_right_normal'])) { ?>
		.eltd_slider .has_custom_cursor .carousel-control.right,
		.eltd_slider .has_custom_cursor .carousel-control.right:active{
			cursor: url(<?php echo esc_attr($eltd_options['cursor_image_right_normal']); ?>), auto;
		}
	<?php } ?>


	<?php if(isset($eltd_options['cursor_image_left_light']) && !empty($eltd_options['cursor_image_left_light'])) { ?>
		.eltd_slider .has_custom_cursor .carousel-control.left.light,
		.eltd_slider .has_custom_cursor .carousel-control.left.light:active{
			cursor: url(<?php echo esc_attr($eltd_options['cursor_image_left_light']); ?>), auto;
		}
	<?php } ?>
	<?php if(isset($eltd_options['cursor_image_right_light']) && !empty($eltd_options['cursor_image_right_light'])) { ?>
		.eltd_slider .has_custom_cursor .carousel-control.right.light,
		.eltd_slider .has_custom_cursor .carousel-control.right.light:active{
			cursor: url(<?php echo esc_attr($eltd_options['cursor_image_right_light']); ?>), auto;
		}
	<?php } ?>


	<?php if(isset($eltd_options['cursor_image_left_dark']) && !empty($eltd_options['cursor_image_left_dark'])) { ?>
		.eltd_slider .has_custom_cursor .carousel-control.left.dark,
		.eltd_slider .has_custom_cursor .carousel-control.left.dark:active{
			cursor: url(<?php echo esc_attr($eltd_options['cursor_image_left_dark']); ?>), auto;
		}
	<?php } ?>
	<?php if(isset($eltd_options['cursor_image_right_dark']) && !empty($eltd_options['cursor_image_right_dark'])) { ?>
		.eltd_slider .has_custom_cursor .carousel-control.right.dark,
		.eltd_slider .has_custom_cursor .carousel-control.right.dark:active{
			cursor: url(<?php echo esc_attr($eltd_options['cursor_image_right_dark']); ?>), auto;
		}
	<?php } ?>



	<?php if(isset($eltd_options['qs_enable_navigation_custom_cursor_grab']) && ($eltd_options['qs_enable_navigation_custom_cursor_grab']=="yes")) { ?>

		.eltd_slider .has_custom_cursor{
			cursor: url(<?php echo esc_url(get_template_directory_uri());?>/css/img/slider-left-right-normal.png), url(<?php echo esc_url(get_template_directory_uri());?>/css/img/slider-left-right-normal.cur), auto;
		}
		.eltd_slider .has_custom_cursor .item.light{
			cursor: url(<?php echo esc_url(get_template_directory_uri());?>/css/img/slider-left-right-light.png),url(<?php echo esc_url(get_template_directory_uri());?>/css/img/slider-left-right-light.cur), auto;
		}

		.eltd_slider .has_custom_cursor .item.dark{
			cursor: url(<?php echo esc_url(get_template_directory_uri());?>/css/img/slider-left-right-dark.png),url(<?php echo esc_url(get_template_directory_uri());?>/css/img/slider-left-right-dark.cur), auto;
		}

		<?php if(isset($eltd_options['cursor_image_grab_normal']) && !empty($eltd_options['cursor_image_grab_normal'])) { ?>
			.eltd_slider .has_custom_cursor{
				cursor: url(<?php echo esc_attr($eltd_options['cursor_image_grab_normal']); ?>), auto;
			}
		<?php } ?>
		<?php if(isset($eltd_options['cursor_image_grab_light']) && !empty($eltd_options['cursor_image_grab_light'])) { ?>
			.eltd_slider .has_custom_cursor .item.light{
				cursor: url(<?php echo esc_attr($eltd_options['cursor_image_grab_light']); ?>), auto;
			}
		<?php } ?>
		<?php if(isset($eltd_options['cursor_image_grab_dark']) && !empty($eltd_options['cursor_image_grab_dark'])) { ?>
			.eltd_slider .has_custom_cursor .item.dark{
				cursor: url(<?php echo esc_attr($eltd_options['cursor_image_grab_dark']); ?>), auto;
			}
		<?php } ?>


	<?php } ?>

<?php } ?>
<?php

/* ==========================================================================
CONTENT MENU styles
========================================================================== */
$content_menu_icon_styles = '';

 if(isset($eltd_options['content_menu_icon_color']) && $eltd_options['content_menu_icon_color'] !== ''){
     $content_menu_icon_styles .= 'color: '.esc_attr($eltd_options['content_menu_icon_color']).';';
}
if(isset($eltd_options['content_menu_icon_size']) && $eltd_options['content_menu_icon_size'] !== ''){
    $content_menu_icon_styles .= 'font-size: '.esc_attr($eltd_options['content_menu_icon_size']).'px;';
}
if($content_menu_icon_styles !== '') {?>
    nav.content_menu ul li i,
    nav.content_menu .nav_select_menu ul li i{
        <?php echo esc_attr($content_menu_icon_styles); ?>
    }
<?php } ?>

<?php
$content_menu_icon_hover_styles = '';

if(isset($eltd_options['content_menu_icon_hover_color']) && $eltd_options['content_menu_icon_hover_color'] !== ''){
    $content_menu_icon_hover_styles .= 'color: '.esc_attr($eltd_options['content_menu_icon_hover_color']).';';
}

if($content_menu_icon_hover_styles !== '') {?>
    nav.content_menu ul li:hover i,
    nav.content_menu .nav_select_menu ul li:hover i{
        <?php echo esc_attr($content_menu_icon_hover_styles); ?>
    }

<?php } ?>

<?php
$content_menu_text_styles = '';

if(isset($eltd_options['content_menu_text_color']) && $eltd_options['content_menu_text_color'] !== ''){
    $content_menu_text_styles .= 'color: '.esc_attr($eltd_options['content_menu_text_color']).';';
}
if(isset($eltd_options['content_menu_text_fontsize']) && $eltd_options['content_menu_text_fontsize'] !== ''){
    $content_menu_text_styles .= 'font-size: '.esc_attr($eltd_options['content_menu_text_fontsize']).'px;';
}
if(isset($eltd_options['content_menu_text_lineheight']) && $eltd_options['content_menu_text_lineheight'] !== ''){
    $content_menu_text_styles .= 'line-height: '.esc_attr($eltd_options['content_menu_text_lineheight']).'px;';
}
if(isset($eltd_options['content_menu_text_texttransform']) && $eltd_options['content_menu_text_texttransform'] !== ''){
    $content_menu_text_styles .= 'text-transform: '.esc_attr($eltd_options['content_menu_text_texttransform']).';';
}
if(isset($eltd_options['content_menu_text_fontstyle']) && $eltd_options['content_menu_text_fontstyle'] !== ''){
    $content_menu_text_styles .= 'font-style: '.esc_attr($eltd_options['content_menu_text_fontstyle']).';';
}
if(isset($eltd_options['content_menu_text_fontweight']) && $eltd_options['content_menu_text_fontweight'] !== ''){
    $content_menu_text_styles .= 'font-weight: '.esc_attr($eltd_options['content_menu_text_fontweight']).';';
}
if(isset($eltd_options['content_menu_text_letterspacing']) && $eltd_options['content_menu_text_letterspacing'] !== ''){
    $content_menu_text_styles .= 'letter-spacing: '.esc_attr($eltd_options['content_menu_text_letterspacing']).'px;';
}
if(isset($eltd_options['content_menu_text_google_fonts']) && $eltd_options['content_menu_text_google_fonts'] !== '-1') {
    $content_menu_text_styles .= 'font-family: '.str_replace('+', ' ', $eltd_options['content_menu_text_google_fonts']).', sans-serif';
}

if($content_menu_text_styles !== '') {?>
    nav.content_menu ul li a span,
    nav.content_menu .nav_select_menu ul li a{
    <?php echo esc_attr($content_menu_text_styles); ?>
    }
<?php } ?>

<?php
$content_menu_text_hover_styles = '';

if(isset($eltd_options['content_menu_text_hover_color']) && $eltd_options['content_menu_text_hover_color'] !== ''){
    $content_menu_text_hover_styles .= 'color: '.esc_attr($eltd_options['content_menu_text_hover_color']).';';
}

if($content_menu_text_hover_styles !== '') {?>
    nav.content_menu ul li:hover a span,
    nav.content_menu .nav_select_menu ul li:hover a{
    <?php echo esc_attr($content_menu_text_hover_styles); ?>
    }

<?php }
/* ==========================================================================
END OF CONTENT MENU styles
========================================================================== */
?>

<?php
$eltd_navigation_hover_styles = '';
$temp_hover_transparency = '';
$eltd_navigation_hover_border_color_important = '';
$eltd_navigation_hover_color_important = '';
if(isset($eltd_options['navigation_arrow_hover_color']) && !empty($eltd_options['navigation_arrow_hover_color'])) {
    $temp_rgb_color = eltd_hex2rgb($eltd_options['navigation_arrow_hover_color']);
    if(isset($eltd_options['navigation_arrow_hover_transparency']) && ($eltd_options['navigation_arrow_hover_transparency']!== '')) {
        $temp_hover_transparency = $eltd_options['navigation_arrow_hover_transparency'];
    }
    else {$temp_hover_transparency = 1;}
    $eltd_navigation_hover_styles .= 'color: rgba('.esc_attr($temp_rgb_color[0].','.$temp_rgb_color[1].','.$temp_rgb_color[2].','.$temp_hover_transparency).');';
    $eltd_navigation_hover_color_important = 'color: rgba('.esc_attr($temp_rgb_color[0].','.$temp_rgb_color[1].','.$temp_rgb_color[2].','.$temp_hover_transparency).')!important;';

}
$temp_hover_transparency = '';
if(isset($eltd_options['navigation_background_hover_color']) && !empty($eltd_options['navigation_background_hover_color'])) {

    $temp_rgb_color = eltd_hex2rgb($eltd_options['navigation_background_hover_color']);
    if(isset($eltd_options['navigation_background_hover_transparency']) && ($eltd_options['navigation_background_hover_transparency']!== '')) {
        $temp_hover_transparency = $eltd_options['navigation_background_hover_transparency'];
    }
    else {$temp_hover_transparency = 1;}
    $eltd_navigation_hover_styles .= 'background-color: rgba('.esc_attr($temp_rgb_color[0].','.$temp_rgb_color[1].','.$temp_rgb_color[2].','.$temp_hover_transparency).');';
}
$temp_hover_transparency = '';
if(isset($eltd_options['navigation_border_hover_color']) && !empty($eltd_options['navigation_border_hover_color'])) {
    $temp_rgb_color = eltd_hex2rgb($eltd_options['navigation_border_hover_color']);
    if(isset($eltd_options['navigation_border_hover_transparency']) && ($eltd_options['navigation_border_hover_transparency']!== '')) {
        $temp_hover_transparency = $eltd_options['navigation_border_hover_transparency'];
    }
    else {$temp_hover_transparency = 1;}
    $eltd_navigation_hover_styles .= 'border-color: rgba('.esc_attr($temp_rgb_color[0].','.$temp_rgb_color[1].','.$temp_rgb_color[2].','.$temp_hover_transparency).')';
    $eltd_navigation_hover_border_color_important .= 'border-color: rgba('.esc_attr($temp_rgb_color[0].','.$temp_rgb_color[1].','.$temp_rgb_color[2].','.$temp_hover_transparency).') !important;';
}
if($eltd_navigation_hover_styles !== '') {
    ?>
    .ls-nav-prev:hover,
    .ls-nav-next:hover,
    .carousel-control .prev_nav:hover,
    .carousel-control .next_nav:hover

	{
        <?php echo esc_attr($eltd_navigation_hover_styles); ?>
    }

    <?php
    if($eltd_navigation_hover_border_color_important != ''){ ?>
        .ls-nav-prev:hover,
        .ls-nav-next:hover{
            <?php echo esc_attr($eltd_navigation_hover_border_color_important); ?>
        }
    <?php } ?>

<?php
}
?>

<?php

$flexslider_navigation_active_styles = "";

if(isset($eltd_options['navigation_control_active_color']) && !empty($eltd_options['navigation_control_active_color'])) {
    $flexslider_navigation_active_styles .= "background-color: " . $eltd_options['navigation_control_active_color'] . "; ";
}

if(isset($eltd_options['navigation_control_active_size']) && $eltd_options['navigation_control_active_size'] !== '') {
    $flexslider_navigation_active_styles .= 'width: '.esc_attr($eltd_options['navigation_control_active_size']).'px; ';
    $flexslider_navigation_active_styles .= 'height: '.esc_attr($eltd_options['navigation_control_active_size']).'px; ';
}

if(isset($eltd_options['navigation_control_active_border_color']) && !empty($eltd_options['navigation_control_active_border_color'])){
    $flexslider_navigation_active_styles .= 'border: 1px solid ' . $eltd_options['navigation_control_active_border_color'] . '; ';
}

if($flexslider_navigation_active_styles !== "") { ?>
    .wpb_gallery .flexslider_slide .flex-control-paging li a.flex-active,
    .wpb_gallery .flexslider_fade .flex-control-paging li a.flex-active,
    .blog_slider .blog_slider_pager a.selected{
        <?php echo esc_attr($flexslider_navigation_active_styles)?>;
    }
<?php }

$flexslider_navigation_styles = '';
if(isset($eltd_options['navigation_control_color']) && !empty($eltd_options['navigation_control_color'])) {
    $flexslider_navigation_styles .= 'background-color: '.esc_attr($eltd_options['navigation_control_color']).';';
}
if(isset($eltd_options['navigation_control_size']) && $eltd_options['navigation_control_size'] !== '') {
    $flexslider_navigation_styles .= 'width: '.esc_attr($eltd_options['navigation_control_size']).'px;';
    $flexslider_navigation_styles .= 'height: '.esc_attr($eltd_options['navigation_control_size']).'px;';
}
if(isset($eltd_options['navigation_control_border_radius']) && $eltd_options['navigation_control_border_radius'] !== '') {
    $flexslider_navigation_styles .= 'border-radius: '.esc_attr($eltd_options['navigation_control_border_radius']).'px;';
}

if(isset($eltd_options['navigation_control_border_color']) && !empty($eltd_options['navigation_control_border_color'])){
    $flexslider_navigation_styles .= 'border: 1px solid ' . $eltd_options['navigation_control_border_color'] . '; ';
}

if(isset($eltd_options['navigation_control_active_size']) && $eltd_options['navigation_control_active_size'] !== '' && isset($eltd_options['navigation_control_size']) && $eltd_options['navigation_control_size'] !== '') {
    $flexslider_navigation_margin = ($eltd_options['navigation_control_active_size'] - $eltd_options['navigation_control_size'])/2; ?>
    .wpb_gallery .flexslider_slide .flex-control-paging li a:not(.flex-active),
    .wpb_gallery .flexslider_fade .flex-control-paging li a:not(.flex-active),
    .blog_slider .blog_slider_pager a:not(.selected){
        margin: <?php echo esc_attr($flexslider_navigation_margin)+3?>px;
    }

	.wpb_gallery .flexslider_slide .flex-control-paging li a.flex-active,
	.wpb_gallery .flexslider_fade .flex-control-paging li a.flex-active{
		margin: 3px;
	}
<?php } ?>


<?php
if($flexslider_navigation_styles !== '') {
?>
    .wpb_gallery .flexslider_slide .flex-control-paging li a,
    .wpb_gallery .flexslider_fade .flex-control-paging li a,
    .blog_slider .blog_slider_pager a{
        <?php echo esc_attr($flexslider_navigation_styles); ?>
    }

<?php } ?>

<?php

$fs_navigation_styles = '';

if(isset($eltd_options['fs_navigation_arrow_size']) && !empty($eltd_options['fs_navigation_arrow_size'])) {
    $fs_navigation_styles .= 'font-size: '.esc_attr($eltd_options['fs_navigation_arrow_size']).'px;';
}

if(isset($eltd_options['fs_navigation_arrow_color']) && !empty($eltd_options['fs_navigation_arrow_color'])) {
    $fs_navigation_styles .= 'color: '.esc_attr($eltd_options['fs_navigation_arrow_color']).';';
}
if(isset($eltd_options['fs_navigation_button_width']) && ($eltd_options['fs_navigation_button_width'] !== '')) {
    $fs_navigation_styles .= 'width: '.esc_attr($eltd_options['fs_navigation_button_width']).'px;';
}

if(isset($eltd_options['fs_navigation_button_height']) && ($eltd_options['fs_navigation_button_height'] !== '')) {
    $fs_navigation_styles .= 'height: '.esc_attr($eltd_options['fs_navigation_button_height']).'px;';
    $fs_navigation_styles .= 'margin-top: -'.(esc_attr($eltd_options['fs_navigation_button_height']/2)).'px;';
    $fs_navigation_styles .= 'line-height: '.esc_attr($eltd_options['fs_navigation_button_height']).'px;';
}

if(isset($eltd_options['fs_navigation_background_color']) && !empty($eltd_options['fs_navigation_background_color'])) {
    $temp_rgb_color = eltd_hex2rgb($eltd_options['fs_navigation_background_color']);
    if(isset($eltd_options['fs_navigation_background_transparency']) && ($eltd_options['fs_navigation_background_transparency']!== '')) {
        $temp_transparency = $eltd_options['fs_navigation_background_transparency'];
    }
    else{
        $temp_transparency = 1;
    }
    $fs_navigation_styles .= 'background-color: rgba('.esc_attr($temp_rgb_color[0].','.$temp_rgb_color[1].','.$temp_rgb_color[2].','.$temp_transparency).');';
}

if($fs_navigation_styles !== '') { ?>
    .full_screen_navigation_inner a{
    <?php echo esc_attr($fs_navigation_styles); ?>
    }
<?php } ?>

<?php
$fs_navigation_hover_styles = '';

if(isset($eltd_options['fs_navigation_arrow_hover_color']) && !empty($eltd_options['fs_navigation_arrow_hover_color'])) {
    $fs_navigation_hover_styles .= 'color: '.esc_attr($eltd_options['fs_navigation_arrow_hover_color']).';';
}

$temp_hover_transparency = '';
if(isset($eltd_options['fs_navigation_background_hover_color']) && !empty($eltd_options['fs_navigation_background_hover_color'])) {

    $temp_rgb_color = eltd_hex2rgb($eltd_options['fs_navigation_background_hover_color']);
    if(isset($eltd_options['fs_navigation_background_hover_transparency']) && ($eltd_options['fs_navigation_background_hover_transparency']!== '')) {
        $temp_hover_transparency = $eltd_options['fs_navigation_background_hover_transparency'];
    }
    else {$temp_hover_transparency = 1;}
    $fs_navigation_hover_styles .= 'background-color: rgba('.esc_attr($temp_rgb_color[0].','.$temp_rgb_color[1].','.$temp_rgb_color[2].','.$temp_hover_transparency).');';
}

if($fs_navigation_hover_styles !== '') { ?>
    .full_screen_navigation_inner a:hover{
    <?php echo esc_attr($fs_navigation_hover_styles); ?>
    }
<?php } ?>

<?php 

$fs_navigation_control_active_styles = "";

if(isset($eltd_options['fs_navigation_control_active_color']) && !empty($eltd_options['fs_navigation_control_active_color'])) {
    $fs_navigation_control_active_styles .= "background-color: " . $eltd_options['fs_navigation_control_active_color'] . "; ";
}

if(isset($eltd_options['fs_navigation_control_active_size']) && $eltd_options['fs_navigation_control_active_size'] !== '') {
    $fs_navigation_control_active_styles .= 'width: '.esc_attr($eltd_options['fs_navigation_control_active_size']).'px; ';
    $fs_navigation_control_active_styles .= 'height: '.esc_attr($eltd_options['fs_navigation_control_active_size']).'px; ';
}

if(isset($eltd_options['fs_navigation_control_active_border_color']) && !empty($eltd_options['fs_navigation_control_active_border_color'])){
    $fs_navigation_control_active_styles .= 'border: 1px solid ' . $eltd_options['fs_navigation_control_active_border_color'] . '; ';
}

if($fs_navigation_control_active_styles !== "") { ?>
    #fp-nav li a.active span,
    #fp-nav.light li a.active span,
    #fp-nav.dark li a.active span{
        <?php echo esc_attr($fs_navigation_control_active_styles)?>;
    }
<?php }

$fs_navigation_control_styles = '';
if(isset($eltd_options['fs_navigation_control_color']) && !empty($eltd_options['fs_navigation_control_color'])) {
    $fs_navigation_control_styles .= 'background-color: '.esc_attr($eltd_options['fs_navigation_control_color']).';';
}
if(isset($eltd_options['fs_navigation_control_size']) && $eltd_options['fs_navigation_control_size'] !== '') {
    $fs_navigation_control_styles .= 'width: '.esc_attr($eltd_options['fs_navigation_control_size']).'px;';
    $fs_navigation_control_styles .= 'height: '.esc_attr($eltd_options['fs_navigation_control_size']).'px;';?>
    
    #fp-nav li{
        width: <?php echo esc_attr($eltd_options['fs_navigation_control_size'])?>px;
        height: <?php echo esc_attr($eltd_options['fs_navigation_control_size'])?>px;
    }
    <?php
}
if(isset($eltd_options['fs_navigation_control_border_radius']) && $eltd_options['fs_navigation_control_border_radius'] !== '') {
    $fs_navigation_control_styles .= 'border-radius: '.esc_attr($eltd_options['fs_navigation_control_border_radius']).'px;';
}

if(isset($eltd_options['fs_navigation_control_border_color']) && !empty($eltd_options['fs_navigation_control_border_color'])){
    $fs_navigation_control_styles .= 'border: 1px solid ' . $eltd_options['fs_navigation_control_border_color'] . '; ';
}

if(isset($eltd_options['fs_navigation_control_active_size']) && $eltd_options['fs_navigation_control_active_size'] !== '' && isset($eltd_options['fs_navigation_control_size']) && $eltd_options['fs_navigation_control_size'] !== '') {
    $fs_navigation_control_navigation_margin = ($eltd_options['fs_navigation_control_active_size'] - $eltd_options['fs_navigation_control_size'])/2; ?>
    #fp-nav li a:not(.active){
        margin: <?php echo esc_attr($fs_navigation_control_navigation_margin)+3?>px;
    }

    #fp-nav li a.active{
        margin: 3px;
        top: -<?php echo esc_attr($fs_navigation_control_navigation_margin)?>px;
    }

    #fp-nav li{
        width: <?php echo esc_attr($eltd_options['fs_navigation_control_active_size'])?>px;
        height: <?php echo esc_attr($eltd_options['fs_navigation_control_active_size'])?>px;
    }

<?php } ?>


<?php
if($fs_navigation_control_styles !== '') {
?>
    #fp-nav li a span,
    #fp-nav.light li a span,
    #fp-nav.dark li a span{
        <?php echo esc_attr($fs_navigation_control_styles); ?>
    }

<?php } ?>


<?php
$navigation_button_style = '';
if(isset($eltd_options['navigation_show_button_shadow']) && $eltd_options['navigation_show_button_shadow'] == 'yes') {
	$navigation_button_h_shadow = '1';
	if(isset($eltd_options['navigation_button_h_shadow']) && $eltd_options['navigation_button_h_shadow'] !== '') {
		$navigation_button_h_shadow = $eltd_options['navigation_button_h_shadow'];
	}

	$navigation_button_v_shadow = '1';
	if(isset($eltd_options['navigation_button_v_shadow']) && $eltd_options['navigation_button_v_shadow'] !== '') {
		$navigation_button_v_shadow = $eltd_options['navigation_button_v_shadow'];
	}

	$navigation_button_blur = '1';
	if(isset($eltd_options['navigation_button_blur']) && $eltd_options['navigation_button_blur'] !== '') {
		$navigation_button_blur = $eltd_options['navigation_button_blur'];
	}

	$navigation_button_spread = '1';
	if(isset($eltd_options['navigation_button_spread']) && $eltd_options['navigation_button_spread'] !== '') {
		$navigation_button_spread = $eltd_options['navigation_button_spread'];
	}

	$navigation_button_shadow_color = '#afafaf';
	if(isset($eltd_options['navigation_button_shadow_color']) && $eltd_options['navigation_button_shadow_color'] !== '') {
		$navigation_button_color = $eltd_options['navigation_button_shadow_color'];
	}

	$navigation_button_style = 'box-shadow: '.esc_attr($navigation_button_h_shadow.'px '.$navigation_button_v_shadow.'px '.$navigation_button_blur.'px '.$navigation_button_spread.'px '.$navigation_button_color).';';
	if($navigation_button_style != '') { ?>
		.wpb_layerslider_element .ls-nav-prev,
		.wpb_layerslider_element .ls-nav-next,
        .eltd_slider .carousel-control .prev_nav,
        .eltd_slider .carousel-control .next_nav{
		<?php echo esc_attr($navigation_button_style); ?>
		}
	<?php } }?>


<?php
if(isset($eltd_options['navigation_button_position']) && ($eltd_options['navigation_button_position'] !== "")) { ?>
	.wpb_layerslider_element .ls-nav-prev,
    .carousel-control .prev_nav{
	left: <?php echo esc_attr($eltd_options['navigation_button_position']); ?>px;
	}
	.wpb_layerslider_element .ls-nav-next,
    .carousel-control .next_nav{
	right: <?php echo esc_attr($eltd_options['navigation_button_position']); ?>px;

	}
<?php } ?>

<?php

$tags_styles = array();
$tags_hover_styles = array();

if(isset($eltd_options['tags_font_family']) && $eltd_options['tags_font_family'] !== '-1') {
    $tags_styles[] = 'font-family: '.str_replace('+', ' ', $eltd_options['tags_font_family']).', sans-serif';
}

if(isset($eltd_options['tags_font_size']) && $eltd_options['tags_font_size'] !== '') {
    $tags_styles[] = 'font-size: '.$eltd_options['tags_font_size'].'px !important';
}

if(isset($eltd_options['tags_line_height']) && $eltd_options['tags_line_height'] !== '') {
    $tags_styles[] = 'line-height: '.$eltd_options['tags_line_height'].'px';
}

if(isset($eltd_options['tags_letter_spacing']) && $eltd_options['tags_letter_spacing'] !== '') {
    $tags_styles[] = 'letter-spacing: '.$eltd_options['tags_letter_spacing'].'px';
}

if(isset($eltd_options['tags_font_weight']) && $eltd_options['tags_font_weight'] !== '') {
    $tags_styles[] = 'font-weight: '.$eltd_options['tags_font_weight'];
}

if(isset($eltd_options['tags_font_style']) && $eltd_options['tags_font_style'] !== '') {
    $tags_styles[] = 'font-style: '.$eltd_options['tags_font_style'];
}

if(isset($eltd_options['tags_text_transform']) && $eltd_options['tags_text_transform'] !== '') {
    $tags_styles[] = 'text-transform: '.$eltd_options['tags_text_transform'];
}

if(isset($eltd_options['tags_color']) && $eltd_options['tags_color'] !== '') {
    $tags_styles[] = 'color: '.$eltd_options['tags_color'];
}

if(isset($eltd_options['tags_background_color']) && $eltd_options['tags_background_color'] !== '') {
    $tags_styles[] = 'background-color: '.$eltd_options['tags_background_color'];
}
if(isset($eltd_options['tags_border_radius']) && $eltd_options['tags_border_radius'] !== '') {
    $tags_styles[] = 'border-radius: '.$eltd_options['tags_border_radius'].'px';
}
if(isset($eltd_options['tags_border_color']) && $eltd_options['tags_border_color'] !== '') {
    $tags_styles[] = 'border-color: '.$eltd_options['tags_border_color'];
}
if(isset($eltd_options['tags_border_width']) && $eltd_options['tags_border_width'] !== '') {
    $tags_styles[] = 'border-width: '.$eltd_options['tags_border_width'].'px';
}
if(is_array($tags_styles) && count($tags_styles)) { ?>
    .single_tags a,
    aside.sidebar .widget .tagcloud a,
    .widget .tagcloud a,
    aside.sidebar .widget:not(.woocommerce) .tagcloud a{
    <?php echo esc_attr(implode(';', $tags_styles)); ?>
    }
<?php }

if(isset($eltd_options['tags_hover_color']) && $eltd_options['tags_hover_color'] !== '') {
    $tags_hover_styles[] = 'color: '.$eltd_options['tags_hover_color'].'!important';
}
if(isset($eltd_options['tags_border_hover_color']) && $eltd_options['tags_border_hover_color'] !== '') {
    $tags_hover_styles[] = 'border-color: '.$eltd_options['tags_border_hover_color'].'!important';
}
if(isset($eltd_options['tags_background_hover_color']) && $eltd_options['tags_background_hover_color'] !== '') {
    $tags_hover_styles[] = 'background-color: '.$eltd_options['tags_background_hover_color'].'!important';
}

if(is_array($tags_hover_styles) && count($tags_hover_styles)) { ?>
    .single_tags a:hover,
    aside.sidebar .widget.widget_tag_cloud .tagcloud a:hover,
    .widget .tagcloud a:hover{
    <?php echo esc_attr(implode(';', $tags_hover_styles)); ?>
    }
<?php } ?>

<?php

$team_styles = array();

if(isset($eltd_options['team_font_family']) && $eltd_options['team_font_family'] !== '-1') {
    $team_styles[] = 'font-family: '.str_replace('+', ' ', $eltd_options['team_font_family']).', sans-serif';
}

if(isset($eltd_options['team_font_size']) && $eltd_options['team_font_size'] !== '') {
    $team_styles[] = 'font-size: '.$eltd_options['team_font_size'].'px !important';
}

if(isset($eltd_options['team_line_height']) && $eltd_options['team_line_height'] !== '') {
    $team_styles[] = 'line-height: '.$eltd_options['team_line_height'].'px';
}

if(isset($eltd_options['team_letter_spacing']) && $eltd_options['team_letter_spacing'] !== '') {
    $team_styles[] = 'letter-spacing: '.$eltd_options['team_letter_spacing'].'px';
}

if(isset($eltd_options['team_font_weight']) && $eltd_options['team_font_weight'] !== '') {
    $team_styles[] = 'font-weight: '.$eltd_options['team_font_weight'];
}

if(isset($eltd_options['team_font_style']) && $eltd_options['team_font_style'] !== '') {
    $team_styles[] = 'font-style: '.$eltd_options['team_font_style'];
}

if(isset($eltd_options['team_text_transform']) && $eltd_options['team_text_transform'] !== '') {
    $team_styles[] = 'text-transform: '.$eltd_options['team_text_transform'];
}

if(is_array($team_styles) && count($team_styles)) { ?>
    .eltd_team .eltd_team_name{
    <?php  echo esc_attr(implode(';', $team_styles)); ?>
    }

<?php } ?>

<?php if(isset($eltd_options['team_color']) && $eltd_options['team_color'] !== '') { ?>
    .eltd_team .eltd_team_name,
	.eltd_team.below_image .eltd_team_info .eltd_team_name{
		color: <?php echo esc_attr($eltd_options['team_color']); ?>
	}
<?php }?>

<?php
$team_overlay_color = "";
$team_overlay_transparency = 1;

if(isset($eltd_options['team_hover_color']) && $eltd_options['team_hover_color'] !== '') {
	$team_overlay_color = eltd_hex2rgb($eltd_options['team_hover_color']);
	if(isset($eltd_options['team_hover_color_opacity']) && $eltd_options['team_hover_color_opacity'] !== ''){
		$team_overlay_transparency = $eltd_options['team_hover_color_opacity'];
	}
	$team_overlay_color_rgba = 'rgba('.$team_overlay_color[0].','.$team_overlay_color[1].','.$team_overlay_color[2].','.$team_overlay_transparency.')';
	?>
	.eltd_team .eltd_team_social_holder,
	.eltd_team.below_image .image_overlay{
		background-color: <?php echo esc_attr($team_overlay_color_rgba); ?>;
	}
	.eltd_team.below_image:hover .image_overlay{
		opacity:1; 
	}
<?php } ?>


<?php 

if (isset($eltd_options['team_hover_border_color']) && !empty($eltd_options['team_hover_border_color'])) {

    if (isset($eltd_options['team_hover_border_width']) && !empty($eltd_options['team_hover_border_width'])) {
        $team_overlay_border_width = $eltd_options['team_hover_border_width'];
    }
    else {
        $team_overlay_border_width = '1';

    }
    ?>
    .eltd_team .eltd_team_social_holder,
    .eltd_team.below_image .image_overlay{
        border: <?php echo esc_attr($team_overlay_border_width);?>px solid <?php echo esc_attr($eltd_options['team_hover_border_color']); ?>;
    }


<?php } ?>



<?php

$team_position_styles = array();

if(isset($eltd_options['team_position_color']) && $eltd_options['team_position_color'] !== '') {
    $team_position_styles[] = 'color: '.$eltd_options['team_position_color'];
}

if(isset($eltd_options['team_position_font_family']) && $eltd_options['team_position_font_family'] !== '-1') {
    $team_position_styles[] = 'font-family: '.str_replace('+', ' ', $eltd_options['team_position_font_family']).', sans-serif';
}

if(isset($eltd_options['team_position_font_size']) && $eltd_options['team_position_font_size'] !== '') {
    $team_position_styles[] = 'font-size: '.$eltd_options['team_position_font_size'].'px';
}

if(isset($eltd_options['team_position_line_height']) && $eltd_options['team_position_line_height'] !== '') {
    $team_position_styles[] = 'line-height: '.$eltd_options['team_position_line_height'].'px';
}

if(isset($eltd_options['team_position_letter_spacing']) && $eltd_options['team_position_letter_spacing'] !== '') {
    $team_position_styles[] = 'letter-spacing: '.$eltd_options['team_position_letter_spacing'].'px';
}

if(isset($eltd_options['team_position_font_weight']) && $eltd_options['team_position_font_weight'] !== '') {
    $team_position_styles[] = 'font-weight: '.$eltd_options['team_position_font_weight'];
}

if(isset($eltd_options['team_position_font_style']) && $eltd_options['team_position_font_style'] !== '') {
    $team_position_styles[] = 'font-style: '.$eltd_options['team_position_font_style'];
}

if(isset($eltd_options['team_position_text_transform']) && $eltd_options['team_position_text_transform'] !== '') {
    $team_position_styles[] = 'text-transform: '.$eltd_options['team_position_text_transform'];
}

if(is_array($team_position_styles) && count($team_position_styles)) { ?>
    .eltd_team .eltd_team_position,
    .eltd_team.below_image .eltd_team_info .eltd_team_position{
    <?php  echo esc_attr(implode(';', $team_position_styles)); ?>
    }

<?php } ?>

<?php

$team_description_styles = array();

if(isset($eltd_options['team_description_color']) && $eltd_options['team_description_color'] !== '') {
    $team_description_styles[] = 'color: '.$eltd_options['team_description_color'];
}

if(isset($eltd_options['team_description_font_family']) && $eltd_options['team_description_font_family'] !== '-1') {
    $team_description_styles[] = 'font-family: '.str_replace('+', ' ', $eltd_options['team_description_font_family']).', sans-serif';
}

if(isset($eltd_options['team_description_font_size']) && $eltd_options['team_description_font_size'] !== '') {
    $team_description_styles[] = 'font-size: '.$eltd_options['team_description_font_size'].'px';
}

if(isset($eltd_options['team_description_line_height']) && $eltd_options['team_description_line_height'] !== '') {
    $team_description_styles[] = 'line-height: '.$eltd_options['team_description_line_height'].'px';
}

if(isset($eltd_options['team_description_letter_spacing']) && $eltd_options['team_description_letter_spacing'] !== '') {
    $team_description_styles[] = 'letter-spacing: '.$eltd_options['team_description_letter_spacing'].'px';
}

if(isset($eltd_options['team_description_font_weight']) && $eltd_options['team_description_font_weight'] !== '') {
    $team_description_styles[] = 'font-weight: '.$eltd_options['team_description_font_weight'];
}

if(isset($eltd_options['team_description_font_style']) && $eltd_options['team_description_font_style'] !== '') {
    $team_description_styles[] = 'font-style: '.$eltd_options['team_description_font_style'];
}

if(isset($eltd_options['team_description_text_transform']) && $eltd_options['team_description_text_transform'] !== '') {
    $team_description_styles[] = 'text-transform: '.$eltd_options['team_description_text_transform'];
}

if(is_array($team_description_styles) && count($team_description_styles)) { ?>
    .eltd_team .eltd_team_description > *{
    <?php  echo esc_attr(implode(';', $team_description_styles)); ?>
    }

<?php } ?>




<?php if(isset($eltd_options['team_icon_space']) && $eltd_options['team_icon_space'] !== '') { ?>
    .eltd_team_social .eltd_social_icon_holder,
    .eltd_team_social .eltd_social_icon_holder.normal_social{
    margin: 2px <?php echo esc_attr($eltd_options['team_icon_space'])/2; ?>px!important;
    }
<?php } ?>

<?php if (!empty($eltd_options['team_icon_color']) || !empty($eltd_options['team_icon_background_color']) || !empty($eltd_options['team_icon_border_color']) || (isset($eltd_options['team_icon_size']) && $eltd_options['team_icon_size'] !== '') || (isset($eltd_options['team_icon_shape_size']) && $eltd_options['team_icon_shape_size'] !== '')) { ?>

    <?php if (!empty($eltd_options['team_icon_color'])) { ?>
	.eltd_team .eltd_social_icon_holder .eltd_icon_stack,
	.eltd_team .eltd_social_icon_holder.normal_social .simple_social, .eltd_team .eltd_social_icon_holder.normal_social.with_link .simple_social{
     color: <?php echo esc_attr($eltd_options['team_icon_color']); ?>;
    }
    <?php } ?>

    .eltd_team .eltd_social_icon_holder .eltd_icon_stack{
    <?php if (!empty($eltd_options['team_icon_background_color'])) { ?> background-color: <?php echo esc_attr($eltd_options['team_icon_background_color']); ?>; <?php } ?>
    <?php if (!empty($eltd_options['team_icon_border_color'])) { ?> border: 2px solid <?php echo esc_attr($eltd_options['team_icon_border_color']); ?>; <?php }
        elseif(!empty($eltd_options['team_icon_background_color'])){ ?> border: 2px solid <?php echo esc_attr($eltd_options['team_icon_background_color']); ?>; <?php } ?>
    <?php if (isset($eltd_options['team_icon_size']) && $eltd_options['team_icon_size'] != '') { ?> font-size: <?php echo esc_attr($eltd_options['team_icon_size']); ?>px; <?php } ?>
    <?php if (isset($eltd_options['team_icon_shape_size']) && $eltd_options['team_icon_shape_size'] != '') { ?>
    line-height: <?php echo esc_attr($eltd_options['team_icon_shape_size']-2); ?>px;
    height: <?php echo esc_attr($eltd_options['team_icon_shape_size']); ?>px;
    width: <?php echo esc_attr($eltd_options['team_icon_shape_size']); ?>px;
    <?php } ?>
    }

    .eltd_team_social_holder .eltd_social_icon_holder .eltd_icon_stack{
    <?php if (!empty($eltd_options['team_icon_background_color'])) { ?> background-color: <?php echo esc_attr($eltd_options['team_icon_background_color']); ?>; <?php } ?>
    <?php if (!empty($eltd_options['team_icon_border_color'])) { ?> border: 1px solid <?php echo esc_attr($eltd_options['team_icon_border_color']); ?>; <?php } ?>
    <?php if (isset($eltd_options['team_icon_shape_size']) && $eltd_options['team_icon_shape_size'] != '') { ?>

    <?php } ?>

    }

    .eltd_team .eltd_social_icon_holder.normal_social .simple_social,
    .eltd_team .eltd_social_icon_holder.normal_social span.simple_social,
    .eltd_team .eltd_social_icon_holder.normal_social.with_link .simple_social,
    .eltd_team .eltd_social_icon_holder.normal_social.with_link span.social_icon{
    <?php if (isset($eltd_options['team_icon_size']) && $eltd_options['team_icon_size'] != '') { ?> font-size: <?php echo esc_attr($eltd_options['team_icon_size']); ?>px; <?php } ?>
    }

<?php } ?>

<?php if (!empty($eltd_options['team_icon_hover_color']) || !empty($eltd_options['team_icon_hover_background_color']) || !empty($eltd_options['team_icon_hover_border_color'])) { ?>
    .eltd_team_social_holder .eltd_social_icon_holder:hover .eltd_icon_stack i,
    .eltd_team_social_holder .eltd_social_icon_holder:hover .eltd_icon_stack span,
    .eltd_team .eltd_social_icon_holder.normal_social:hover .simple_social,
    .eltd_team .eltd_social_icon_holder.normal_social.with_link:hover .simple_social,
    .eltd_team .eltd_social_icon_holder.normal_social.with_link:hover span.simple_social,
    .eltd_team .eltd_social_icon_holder.square_social:hover .social_icon,
    .eltd_team .eltd_social_icon_holder.square_social:hover span.social_icon,
    .eltd_team .eltd_social_icon_holder.square_social.with_link:hover .social_icon,
    .eltd_team .eltd_social_icon_holder.square_social.with_link:hover span.social_icon,
    .eltd_team .eltd_social_icon_holder.circle_social:hover .social_icon,
    .eltd_team .eltd_social_icon_holder.circle_social:hover span.social_icon,
    .eltd_team .eltd_social_icon_holder.circle_social.with_link:hover .social_icon,
    .eltd_team .eltd_social_icon_holder.circle_social.with_link:hover span.social_icon{
    <?php if (!empty($eltd_options['team_icon_hover_color'])) { ?> color: <?php echo esc_attr($eltd_options['team_icon_hover_color']); ?> !important; <?php } ?>
    }

    .eltd_team_social_holder .eltd_social_icon_holder:hover .eltd_icon_stack,
	.eltd_team_social_holder_between .eltd_social_icon_holder:hover .eltd_icon_stack{
    <?php if (!empty($eltd_options['team_icon_hover_background_color'])) { ?> background-color: <?php echo esc_attr($eltd_options['team_icon_hover_background_color']); ?> !important; <?php } ?>
    <?php if (!empty($eltd_options['team_icon_hover_border_color'])) { ?> border: 2px solid <?php echo esc_attr($eltd_options['team_icon_hover_border_color']); ?> !important; <?php }
        elseif(!empty($eltd_options['team_icon_hover_background_color'])){ ?> border: 2px solid <?php echo esc_attr($eltd_options['team_icon_hover_background_color']); ?>!important; <?php } ?>
    }

    .eltd_team_social_holder .eltd_social_icon_holder:hover .fa-stack{
    <?php if (!empty($eltd_options['team_icon_hover_background_color'])) { ?> background-color: <?php echo esc_attr($eltd_options['team_icon_hover_background_color']); ?> !important; <?php } ?>
    <?php if (!empty($eltd_options['team_icon_hover_border_color'])) { ?> border: 2px solid <?php echo esc_attr($eltd_options['team_icon_hover_border_color']); ?> !important; <?php } ?>
    }
<?php } ?>


<?php

$team_share_icon_inner_styles = array();

if(isset($eltd_options['team_share_icon_color']) && $eltd_options['team_share_icon_color'] !== '') {
	$team_share_icon_inner_styles[] = 'color: '.$eltd_options['team_share_icon_color'].';';
}

if(isset($eltd_options['team_share_icon_size']) && $eltd_options['team_share_icon_size'] !== '') {
	$team_share_icon_inner_styles[] = 'font-size: '.$eltd_options['team_share_icon_size'] .'px;';
}

if(is_array($team_share_icon_inner_styles) && count($team_share_icon_inner_styles)) { ?>
	.eltd_team.below_image .eltd_team_social_holder_between .social_share_icon_shape .social_share_icon {
	<?php  echo esc_attr(implode(';', $team_share_icon_inner_styles)); ?>
	}

<?php } ?>

<?php

$team_share_icon_shape_styles = array();

if(isset($eltd_options['team_share_icon_background_color']) && $eltd_options['team_share_icon_background_color'] !== '') {
	$team_share_icon_shape_styles[] = 'background-color: '.$eltd_options['team_share_icon_background_color'].';';
    if(!isset($eltd_options['team_share_icon_border_color']) || empty($eltd_options['team_share_icon_border_color'])) {
        $team_share_icon_shape_styles[] = 'border-color: '.$eltd_options['team_share_icon_background_color'].';';
    }

}

if(isset($eltd_options['team_share_icon_border_color']) && $eltd_options['team_share_icon_border_color'] !== '') {
	$team_share_icon_shape_styles[] = 'border-color: '.$eltd_options['team_share_icon_border_color'].';';
}
if(isset($eltd_options['team_share_icon_shape_size']) && $eltd_options['team_share_icon_shape_size'] !== '') {
	$team_share_icon_shape_styles[] = 'width: '.$eltd_options['team_share_icon_shape_size'] .'px;';
	$team_share_icon_shape_styles[] = 'height: '.$eltd_options['team_share_icon_shape_size'] .'px;';
	$team_share_icon_shape_styles[] = 'line-height: '.$eltd_options['team_share_icon_shape_size'] .'px;';
	?>
	.eltd_team.below_image .eltd_team_social_holder_between .social_share_icon_shape .social_share_icon {
	line-height: <?php echo esc_attr($eltd_options['team_share_icon_shape_size']) .'px;' ?>
	}

    .eltd_team.below_image .eltd_team_social_holder_between{
        bottom: -<?php echo esc_attr($eltd_options['team_share_icon_shape_size']/2) .'px;' ?>
    }

	<?php }
	if(is_array($team_share_icon_shape_styles) && count($team_share_icon_shape_styles)) { ?>
		.eltd_team.below_image .eltd_team_social_holder_between .social_share_icon_shape{
		<?php  echo esc_attr(implode(';', $team_share_icon_shape_styles)); ?>
	}

<?php } ?>

<?php
if(isset($eltd_options['team_share_icon_hover_color']) && $eltd_options['team_share_icon_hover_color'] !== '') {	?>
	.eltd_team.below_image:hover .eltd_team_social_holder_between .social_share_icon_shape .social_share_icon{
	color: <?php echo esc_attr($eltd_options['team_share_icon_hover_color']) .';' ?>
	}
<?php } ?>

<?php

$team_share_icon_hover_shape_styles = array();

if(isset($eltd_options['team_share_icon_hover_background_color']) && $eltd_options['team_share_icon_hover_background_color'] !== '') {
	$team_share_icon_hover_shape_styles[] = 'background-color: '.$eltd_options['team_share_icon_hover_background_color'].';';
    if(!isset($eltd_options['team_share_icon_hover_border_color']) || empty($eltd_options['team_share_icon_hover_border_color'])) {
        $team_share_icon_hover_shape_styles[] = 'border-color: '.$eltd_options['team_share_icon_hover_background_color'].';';
    }
}

if(isset($eltd_options['team_share_icon_hover_border_color']) && $eltd_options['team_share_icon_hover_border_color'] !== '') {
	$team_share_icon_hover_shape_styles[] = 'border-color: '.$eltd_options['team_share_icon_hover_border_color'].';';
}

if(is_array($team_share_icon_hover_shape_styles) && count($team_share_icon_hover_shape_styles)) { ?>
	.eltd_team.below_image:hover .eltd_team_social_holder_between .social_share_icon_shape{
	<?php  echo esc_attr(implode(';', $team_share_icon_hover_shape_styles)); ?>
	}
<?php } ?>


<?php

$shape_space = 10; // init value for space between social icons
$shape_size = 36; // social icons
$shape_share_size = 46; // social share icon
$margin_difference = 5; // left margin difference between social share and social icon, used for centering icons holder
$normal_difference = 7;

if ((isset($eltd_options['team_icon_space']) && $eltd_options['team_icon_space'] !== '') || (isset($eltd_options['team_icon_shape_size']) && $eltd_options['team_icon_shape_size'] !== '') || (isset($eltd_options['team_share_icon_shape_size']) && $eltd_options['team_share_icon_shape_size'] !== '')) {
	if (isset($eltd_options['team_icon_space']) && $eltd_options['team_icon_space'] !== '') {
		$shape_space = $eltd_options['team_icon_space'];
		?>
		.eltd_team.below_image.social_style_center .eltd_team_social .eltd_social_icon_holder {
		margin: 0 <?php echo esc_attr($shape_space)/2 .'px !important;' ?>
		}
	<?php
	}
	if (isset($eltd_options['team_icon_shape_size']) && $eltd_options['team_icon_shape_size'] !== '') {
		$shape_size = $eltd_options['team_icon_shape_size'];
	}

	if (isset($eltd_options['team_share_icon_shape_size']) && $eltd_options['team_share_icon_shape_size'] !== '') {
		$shape_share_size = $eltd_options['team_share_icon_shape_size'];
	}

	$bottom1 = $shape_share_size+$shape_space; // position for first icon, init value for rendering icons
	$bottom1_normal = $bottom1 - $normal_difference;
	$bottom_difference = $shape_size+$shape_space; // this value is difference (y position) of each social icon.
	$bottom_difference_normal = $bottom_difference - $normal_difference;
	if ( $shape_share_size > $shape_size ) {
		$margin_difference = ($shape_share_size - $shape_size)/2;
	}
	else {
		$margin_difference = -($shape_size - $shape_share_size)/2;
	}
	if ( $margin_difference !== '5') { ?>
		.eltd_team.below_image .eltd_team_social_wrapp {
		margin-left: <?php echo esc_attr($margin_difference).'px;' ?>
		}
	<?php } ?>

	.eltd_team.below_image .eltd_team_social_wrapp ul li:first-child {
	bottom: <?php echo esc_attr($bottom1) .'px;' ?>
	}
	.eltd_team.below_image .eltd_team_social_wrapp ul li:nth-child(2)	{
	bottom: <?php echo esc_attr($bottom1+$bottom_difference) .'px;' ?>
	}
	.eltd_team.below_image .eltd_team_social_wrapp ul li:nth-child(3) {
	bottom: <?php echo esc_attr($bottom1+$bottom_difference*2) .'px;' ?>
	}
	.eltd_team.below_image .eltd_team_social_wrapp ul li:nth-child(4){
	bottom: <?php echo esc_attr($bottom1+$bottom_difference*3) .'px;' ?>
	}
	.eltd_team.below_image .eltd_team_social_wrapp ul li:nth-child(5)	{
	bottom: <?php echo esc_attr($bottom1+$bottom_difference*4) .'px;' ?>
	}

	.eltd_team.below_image .eltd_team_social.normal_social .eltd_team_social_wrapp ul li:first-child{
	bottom: <?php echo esc_attr($bottom1_normal) .'px;' ?>
	}
	.eltd_team.below_image .eltd_team_social.normal_social .eltd_team_social_wrapp ul li:nth-child(2)	{
	bottom: <?php echo esc_attr($bottom1_normal+$bottom_difference_normal) .'px;' ?>
	}
	.eltd_team.below_image .eltd_team_social.normal_social .eltd_team_social_wrapp ul li:nth-child(3)	{
	bottom: <?php echo esc_attr($bottom1_normal+$bottom_difference_normal*2) .'px;' ?>
	}
	.eltd_team.below_image .eltd_team_social.normal_social .eltd_team_social_wrapp ul li:nth-child(4)	{
	bottom: <?php echo esc_attr($bottom1_normal+$bottom_difference_normal*3) .'px;' ?>
	}
	.eltd_team.below_image .eltd_team_social.normal_social .eltd_team_social_wrapp ul li:nth-child(5)	{
	bottom: <?php echo esc_attr($bottom1_normal+$bottom_difference_normal*4) .'px;' ?>
	}

<?php } ?>

.eltd_team.below_image.social_style_between .eltd_team_social_holder_between.center{
    right: calc(50% - <?php echo esc_attr($shape_share_size/2); ?>px);
}

.eltd_pricing_tables .price_table_inner ul a.button_on_bottom{
	left: calc(50% - 24px);
}


<?php
$testimonials_title_styles = array();

if(isset($eltd_options['testimonials_title_font_family']) && $eltd_options['testimonials_title_font_family'] !== '-1') {
    $testimonials_title_styles[] = 'font-family: '.str_replace('+', ' ', $eltd_options['testimonials_title_font_family']).', sans-serif !important';
}

if(isset($eltd_options['testimonials_title_font_size']) && $eltd_options['testimonials_title_font_size'] !== '') {
    $testimonials_title_styles[] = 'font-size: '.$eltd_options['testimonials_title_font_size'].'px';
}

if(isset($eltd_options['testimonials_title_line_height']) && $eltd_options['testimonials_title_line_height'] !== '') {
    $testimonials_title_styles[] = 'line-height: '.$eltd_options['testimonials_title_line_height'].'px';
}

if(isset($eltd_options['testimonials_title_letter_spacing']) && $eltd_options['testimonials_title_letter_spacing'] !== '') {
    $testimonials_title_styles[] = 'letter-spacing: '.$eltd_options['testimonials_title_letter_spacing'].'px';
}

if(isset($eltd_options['testimonials_title_font_weight']) && $eltd_options['testimonials_title_font_weight'] !== '') {
    $testimonials_title_styles[] = 'font-weight: '.$eltd_options['testimonials_title_font_weight'];
}

if(isset($eltd_options['testimonials_title_font_style']) && $eltd_options['testimonials_title_font_style'] !== '') {
    $testimonials_title_styles[] = 'font-style: '.$eltd_options['testimonials_title_font_style'];
}

if(isset($eltd_options['testimonials_title_text_transform']) && $eltd_options['testimonials_title_text_transform'] !== '') {
    $testimonials_title_styles[] = 'text-transform: '.$eltd_options['testimonials_title_text_transform'];
}

if(isset($eltd_options['testimonials_title_color']) && $eltd_options['testimonials_title_color'] !== '') {
    $testimonials_title_styles[] = 'color: '.$eltd_options['testimonials_title_color'];
}

if(is_array($testimonials_title_styles) && count($testimonials_title_styles)) { ?>
    .testimonials .testimonial_text_inner .testimonial_title{
    <?php echo esc_attr(implode(';', $testimonials_title_styles)); ?>
    }
<?php } ?>


<?php
$testimonials_text_styles = array();

if(isset($eltd_options['testimonials_text_font_family']) && $eltd_options['testimonials_text_font_family'] !== '-1') {
    $testimonials_text_styles[] = 'font-family: '.str_replace('+', ' ', $eltd_options['testimonials_text_font_family']).', sans-serif !important';
}

if(isset($eltd_options['testimonials_text_font_size']) && $eltd_options['testimonials_text_font_size'] !== '') {
    $testimonials_text_styles[] = 'font-size: '.$eltd_options['testimonials_text_font_size'].'px';
}

if(isset($eltd_options['testimonials_text_line_height']) && $eltd_options['testimonials_text_line_height'] !== '') {
    $testimonials_text_styles[] = 'line-height: '.$eltd_options['testimonials_text_line_height'].'px';
}

if(isset($eltd_options['testimonials_text_letter_spacing']) && $eltd_options['testimonials_text_letter_spacing'] !== '') {
    $testimonials_text_styles[] = 'letter-spacing: '.$eltd_options['testimonials_text_letter_spacing'].'px';
}

if(isset($eltd_options['testimonials_text_font_weight']) && $eltd_options['testimonials_text_font_weight'] !== '') {
    $testimonials_text_styles[] = 'font-weight: '.$eltd_options['testimonials_text_font_weight'];
}

if(isset($eltd_options['testimonials_text_font_style']) && $eltd_options['testimonials_text_font_style'] !== '') {
    $testimonials_text_styles[] = 'font-style: '.$eltd_options['testimonials_text_font_style'];
}

if(isset($eltd_options['testimonials_text_text_transform']) && $eltd_options['testimonials_text_text_transform'] !== '') {
    $testimonials_text_styles[] = 'text-transform: '.$eltd_options['testimonials_text_text_transform'];
}

if(isset($eltd_options['testimonials_text_color']) && $eltd_options['testimonials_text_color'] !== '') {
    $testimonials_text_styles[] = 'color: '.$eltd_options['testimonials_text_color'];
}

if(is_array($testimonials_text_styles) && count($testimonials_text_styles)) { ?>
    .testimonials .testimonial_text_inner .testimonial_text{
    <?php echo esc_attr(implode(';', $testimonials_text_styles)); ?>
    }
<?php } ?>

<?php
$testimonials_author_styles = array();

if(isset($eltd_options['testimonials_author_font_family']) && $eltd_options['testimonials_author_font_family'] !== '-1') {
    $testimonials_author_styles[] = 'font-family: '.str_replace('+', ' ', $eltd_options['testimonials_author_font_family']).', sans-serif';
}

if(isset($eltd_options['testimonials_author_font_size']) && $eltd_options['testimonials_author_font_size'] !== '') {
    $testimonials_author_styles[] = 'font-size: '.$eltd_options['testimonials_author_font_size'].'px';
}

if(isset($eltd_options['testimonials_author_line_height']) && $eltd_options['testimonials_author_line_height'] !== '') {
    $testimonials_author_styles[] = 'line-height: '.$eltd_options['testimonials_author_line_height'].'px';
}

if(isset($eltd_options['testimonials_author_letter_spacing']) && $eltd_options['testimonials_author_letter_spacing'] !== '') {
    $testimonials_author_styles[] = 'letter-spacing: '.$eltd_options['testimonials_author_letter_spacing'].'px';
}

if(isset($eltd_options['testimonials_author_font_weight']) && $eltd_options['testimonials_author_font_weight'] !== '') {
    $testimonials_author_styles[] = 'font-weight: '.$eltd_options['testimonials_author_font_weight'];
}

if(isset($eltd_options['testimonials_author_font_style']) && $eltd_options['testimonials_author_font_style'] !== '') {
    $testimonials_author_styles[] = 'font-style: '.$eltd_options['testimonials_author_font_style'];
}

if(isset($eltd_options['testimonials_author_text_transform']) && $eltd_options['testimonials_author_text_transform'] !== '') {
    $testimonials_author_styles[] = 'text-transform: '.$eltd_options['testimonials_author_text_transform'];
}

if(isset($eltd_options['testimonials_author_color']) && $eltd_options['testimonials_author_color'] !== '') {
    $testimonials_author_styles[] = 'color: '.$eltd_options['testimonials_author_color'];
}

if(is_array($testimonials_author_styles) && count($testimonials_author_styles)) { ?>
    .testimonials .testimonial_text_inner p.testimonial_author,
	.testimonials.carousel .testimonial_content_inner p.testimonial_author{
    <?php echo esc_attr(implode(';', $testimonials_author_styles)); ?>
    }
<?php } ?>

<?php
$testimonials_author_job_position_styles = array();

if(isset($eltd_options['testimonials_author_job_position_font_family']) && $eltd_options['testimonials_author_job_position_font_family'] !== '-1') {
    $testimonials_author_job_position_styles[] = 'font-family: '.str_replace('+', ' ', $eltd_options['testimonials_author_job_position_font_family']).', sans-serif';
}

if(isset($eltd_options['testimonials_author_job_position_font_size']) && $eltd_options['testimonials_author_job_position_font_size'] !== '') {
    $testimonials_author_job_position_styles[] = 'font-size: '.$eltd_options['testimonials_author_job_position_font_size'].'px';
}

if(isset($eltd_options['testimonials_author_job_position_line_height']) && $eltd_options['testimonials_author_job_position_line_height'] !== '') {
    $testimonials_author_job_position_styles[] = 'line-height: '.$eltd_options['testimonials_author_job_position_line_height'].'px';
}

if(isset($eltd_options['testimonials_author_job_position_letter_spacing']) && $eltd_options['testimonials_author_job_position_letter_spacing'] !== '') {
    $testimonials_author_job_position_styles[] = 'letter-spacing: '.$eltd_options['testimonials_author_job_position_letter_spacing'].'px';
}

if(isset($eltd_options['testimonials_author_job_position_font_weight']) && $eltd_options['testimonials_author_job_position_font_weight'] !== '') {
    $testimonials_author_job_position_styles[] = 'font-weight: '.$eltd_options['testimonials_author_job_position_font_weight'];
}

if(isset($eltd_options['testimonials_author_job_position_font_style']) && $eltd_options['testimonials_author_job_position_font_style'] !== '') {
    $testimonials_author_job_position_styles[] = 'font-style: '.$eltd_options['testimonials_author_job_position_font_style'];
}

if(isset($eltd_options['testimonials_author_job_position_text_transform']) && $eltd_options['testimonials_author_job_position_text_transform'] !== '') {
    $testimonials_author_job_position_styles[] = 'text-transform: '.$eltd_options['testimonials_author_job_position_text_transform'];
}

if(isset($eltd_options['testimonials_author_job_position_color']) && $eltd_options['testimonials_author_job_position_color'] !== '') {
    $testimonials_author_job_position_styles[] = 'color: '.$eltd_options['testimonials_author_job_position_color'];
}

if(is_array($testimonials_author_job_position_styles) && count($testimonials_author_job_position_styles)) { ?>
    .testimonials .testimonial_text_inner p.testimonial_author .testimonials_job,
	.testimonials.carousel .testimonial_content_inner p.testimonial_author .testimonials_job{
    <?php echo esc_attr(implode(';', $testimonials_author_job_position_styles)); ?>
    }
<?php } ?>


<?php
$testimonials_navigation_button_style = array();
if(isset($eltd_options['testimonials_navigation_width']) && $eltd_options['testimonials_navigation_width'] !== '') {
    $testimonials_navigation_button_style[] = 'width: '.$eltd_options['testimonials_navigation_width'].'px';
}

if(isset($eltd_options['testimonials_navigation_height']) && $eltd_options['testimonials_navigation_height'] !== '') {
    $testimonials_navigation_button_style[] = 'height: '.$eltd_options['testimonials_navigation_height'].'px';?>
    .testimonials.image_left[data-show-navigation='yes'] .testimonial_text_holder{
		padding-bottom: <?php echo esc_attr($eltd_options['testimonials_navigation_height']); ?>px;
	}
<?php }

if(is_array($testimonials_navigation_button_style) && count($testimonials_navigation_button_style)) { ?>
    .testimonials_holder .flex-control-paging li a,
	.testimonials_holder .navigation_outer_border .flex-control-paging li a,
	.testimonials_holder .navigation_outer_border .flex-control-paging li a:before{
    <?php echo esc_attr(implode(';', $testimonials_navigation_button_style)); ?>
    }
<?php } ?>

<?php
$testimonials_navigation_button_active_style = array();
if(isset($eltd_options['testimonials_navigation_active_width']) && $eltd_options['testimonials_navigation_active_width'] !== '') {
    $testimonials_navigation_button_active_style[] = 'width: '.$eltd_options['testimonials_navigation_active_width'].'px';
}

if(isset($eltd_options['testimonials_navigation_active_height']) && $eltd_options['testimonials_navigation_active_height'] !== '') {
    $testimonials_navigation_button_active_style[] = 'height: '.$eltd_options['testimonials_navigation_active_height'].'px';
}

if(is_array($testimonials_navigation_button_style) && count($testimonials_navigation_button_style)) { ?>
    .testimonials_holder .flex-control-paging li a.flex-active,
	.testimonials_holder .navigation_outer_border .flex-control-paging li a.flex-active,
	.testimonials_holder .navigation_outer_border .flex-control-paging li a.flex-active:before{
    <?php echo esc_attr(implode(';', $testimonials_navigation_button_active_style)); ?>
    }
<?php } ?>

<?php
$temp_transparency = '';
$temp_rgb_color = '';
$color_with_transparency = '';

if ((isset($eltd_options['testimonials_navigation_active_color']) && !empty($eltd_options['testimonials_navigation_active_color'])) ) {
    $temp_rgb_color = eltd_hex2rgb($eltd_options['testimonials_navigation_active_color']);
    if (isset($eltd_options['testimonials_navigation_active_color_transparency']) && $eltd_options['testimonials_navigation_active_color_transparency']!=="") {
        $temp_transparency = $eltd_options['testimonials_navigation_active_color_transparency'];
    }
    else{ $temp_transparency = 1;}
    $color_with_transparency = 'rgba('.esc_attr($temp_rgb_color[0].','.$temp_rgb_color[1].','.$temp_rgb_color[2].','.$temp_transparency).');'; ?>

    .testimonials_holder .flex-control-paging li a.flex-active,
	.testimonials_holder .navigation_outer_border .flex-control-paging li a.flex-active{
    background-color: <?php echo esc_attr($color_with_transparency); ?>
    }
<?php } ?>

<?php if (((isset($eltd_options['testimonials_navigation_border_radius']) && $eltd_options['testimonials_navigation_border_radius'] !== '')) || ((isset($eltd_options['testimonials_navigation_border_width']) && $eltd_options['testimonials_navigation_border_width'] !== ''))) { ?>
    .testimonials_holder .flex-control-paging li a,
	.testimonials_holder .navigation_outer_border .flex-control-paging li a:before{
    border-radius: <?php echo esc_attr($eltd_options['testimonials_navigation_border_radius']);  ?>px;
    border-width: <?php echo esc_attr($eltd_options['testimonials_navigation_border_width']);  ?>px;
    }
	.testimonials_holder .navigation_outer_border .flex-control-paging li a {
		border-radius: <?php echo esc_attr($eltd_options['testimonials_navigation_border_radius']);  ?>px;
	}
	<?php if(isset($eltd_options['testimonials_navigation_border_width']) && $eltd_options['testimonials_navigation_border_width'] !== '') { ?>
	.testimonials_holder .navigation_outer_border .flex-control-paging li a:before{
		/* -2 is for 2 pixels for padding on before element */
		top: <?php echo -2-esc_attr($eltd_options['testimonials_navigation_border_width']);  ?>px;
		left: <?php echo -2-esc_attr($eltd_options['testimonials_navigation_border_width']);  ?>px;
	}
<?php }} ?>

<?php
$testimonials_navigation_style = array();

if(isset($eltd_options['testimonials_navigation_color']) && !empty($eltd_options['testimonials_navigation_color'])) {
    $testimonials_navigation_style[] = 'background-color: '.$eltd_options['testimonials_navigation_color'];
}

if(isset($eltd_options['testimonials_navigation_color_transparency']) && $eltd_options['testimonials_navigation_color_transparency'] !== '') {
    $testimonials_navigation_style[] = 'opacity: '.($eltd_options['testimonials_navigation_color_transparency']);
}

if(is_array($testimonials_navigation_style) && count($testimonials_navigation_style)) { ?>
    .testimonials_holder .flex-control-paging li a,
	.testimonials_holder .navigation_outer_border .flex-control-paging li a{
    <?php echo esc_attr(implode(';', $testimonials_navigation_style)); ?>
    }
<?php } ?>



<?php
$temp_transparency = '';
$temp_rgb_color = '';
$color_with_transparency = '';
if ((isset($eltd_options['testimonials_navigation_border_color']) && !empty($eltd_options['testimonials_navigation_border_color'])) ) {
    $temp_rgb_color = eltd_hex2rgb($eltd_options['testimonials_navigation_border_color']);
    if (isset($eltd_options['testimonials_navigation_border_transparency']) && $eltd_options['testimonials_navigation_border_transparency']!=="") {
        $temp_transparency = $eltd_options['testimonials_navigation_border_transparency'];
    }
    else{ $temp_transparency = 1;}
    $color_with_transparency = 'rgba('.$temp_rgb_color[0].','.$temp_rgb_color[1].','.$temp_rgb_color[2].','.$temp_transparency.');'; ?>

    .testimonials_holder .flex-control-paging li a,
	.testimonials_holder .navigation_outer_border .flex-control-paging li a:before{
    border-color: <?php echo esc_attr($color_with_transparency);  ?>;
    }
<?php } ?>

<?php
$temp_transparency = '';
$temp_rgb_color = '';
$color_with_transparency = '';
if ((isset($eltd_options['testimonials_navigation_active_border_color']) && !empty($eltd_options['testimonials_navigation_active_border_color'])) ) {
    $temp_rgb_color = eltd_hex2rgb($eltd_options['testimonials_navigation_active_border_color']);
    if (isset($eltd_options['testimonials_navigation_active_border_transparency']) && $eltd_options['testimonials_navigation_active_border_transparency']!=="") {
        $temp_transparency = $eltd_options['testimonials_navigation_active_border_transparency'];
    }
    else{ $temp_transparency = 1;}
    $color_with_transparency = 'rgba('.$temp_rgb_color[0].','.$temp_rgb_color[1].','.$temp_rgb_color[2].','.$temp_transparency.');'; ?>

    .testimonials_holder .flex-control-paging li a.flex-active,
	.testimonials_holder .navigation_outer_border .flex-control-paging li a.flex-active:before{
    border-color: <?php echo esc_attr($color_with_transparency);  ?>;
    }
<?php } ?>


<?php
$testimonials_arrows_color = '';
$testimonials_arrows_border_color = '';

if ((isset($eltd_options['testimonials_arrows_color']) && !empty($eltd_options['testimonials_arrows_color']))  || ((isset($eltd_options['testimonials_arrows_border_radius']) && $eltd_options['testimonials_arrows_border_radius'] !== '')) || ((isset($eltd_options['testimonials_arrows_border_width']) && $eltd_options['testimonials_arrows_border_width'] !== '')) || ((isset($eltd_options['testimonials_arrows_border_color']) && $eltd_options['testimonials_arrows_border_color'] !== ''))) {
    $temp_transparency = '';
    $temp_rgb_color = '';
    if ((isset($eltd_options['testimonials_arrows_color']) && !empty($eltd_options['testimonials_arrows_color']))) {
        $temp_rgb_color = eltd_hex2rgb($eltd_options['testimonials_arrows_color']);
        if(isset($eltd_options['testimonials_arrows_color_transparency']) && ($eltd_options['testimonials_arrows_color_transparency']!== '')) {
            $temp_transparency = $eltd_options['testimonials_arrows_color_transparency'];
        }
        else{
            $temp_transparency = 1;
        }
        $testimonials_arrows_color = 'rgba('.$temp_rgb_color[0].','.$temp_rgb_color[1].','.$temp_rgb_color[2].','.$temp_transparency.');';
    }
    $temp_transparency = '';
    $temp_rgb_color = '';
    if ((isset($eltd_options['testimonials_arrows_border_color']) && !empty($eltd_options['testimonials_arrows_border_color']))) {
        $temp_rgb_color = eltd_hex2rgb($eltd_options['testimonials_arrows_border_color']);
        if(isset($eltd_options['testimonials_arrows_border_transparency']) && ($eltd_options['testimonials_arrows_border_transparency']!== '')) {
            $temp_transparency = $eltd_options['testimonials_arrows_border_transparency'];
        }
        else{
            $temp_transparency = 1;
        }
        $testimonials_arrows_border_color = 'rgba('.$temp_rgb_color[0].','.$temp_rgb_color[1].','.$temp_rgb_color[2].','.$temp_transparency.');';
    } ?>


    <?php if ($testimonials_arrows_color != '' || $testimonials_arrows_border_color != '' || (isset($eltd_options['testimonials_arrows_border_radius']) && $eltd_options['testimonials_arrows_border_radius'] !== '') || (isset($eltd_options['testimonials_arrows_border_width']) && $eltd_options['testimonials_arrows_border_width'] !== '')) { ?>
        .testimonials_holder .flex-direction-nav a{
        background-color: <?php echo esc_attr($testimonials_arrows_color); ?>;
        border-radius: <?php echo esc_attr($eltd_options['testimonials_arrows_border_radius']);  ?>px;
        border-width: <?php echo esc_attr($eltd_options['testimonials_arrows_border_width']);  ?>px;
        border-color: <?php echo esc_attr($testimonials_arrows_border_color);  ?>;
        }
    <?php } ?>
<?php } ?>

<?php
$temp_transparency = '';
$temp_rgb_color = '';
$color_with_transparency = '';
if(isset($eltd_options['testimonials_arrows_border_hover_color']) && $eltd_options['testimonials_arrows_border_hover_color']!=='') {
    $temp_rgb_color = eltd_hex2rgb($eltd_options['testimonials_arrows_border_hover_color']);

    if(isset($eltd_options['testimonials_arrows_border_hover_transparency']) && ($eltd_options['testimonials_arrows_border_hover_transparency']!== '')) {
        $temp_transparency = $eltd_options['testimonials_arrows_border_hover_transparency'];
    }
    else{
        $temp_transparency = 1;
    }
    $color_with_transparency = 'rgba('.$temp_rgb_color[0].','.$temp_rgb_color[1].','.$temp_rgb_color[2].','.$temp_transparency.');';
    ?>
    .testimonials_holder .flex-direction-nav a:hover{
    border-color: <?php echo esc_attr($color_with_transparency);  ?>;
    }
<?php } ?>

<?php

$temp_transparency = '';
$temp_rgb_color = '';
$color_with_transparency = '';
if ((isset($eltd_options['testimonials_arrows_icon_color']) && !empty($eltd_options['testimonials_arrows_icon_color']))) {
    $temp_rgb_color = eltd_hex2rgb($eltd_options['testimonials_arrows_icon_color']);
    if(isset($eltd_options['testimonials_arrows_transparency']) && ($eltd_options['testimonials_arrows_transparency']!== '')) {
        $temp_transparency = $eltd_options['testimonials_arrows_transparency'];
    }
    else{
        $temp_transparency = 1;
    }
    $color_with_transparency = 'rgba('.$temp_rgb_color[0].','.$temp_rgb_color[1].','.$temp_rgb_color[2].','.$temp_transparency.');'; ?>
    .testimonials_holder .flex-direction-nav a span:before{
    color: <?php echo esc_attr($color_with_transparency); ?>;
    }
<?php } ?>

<?php if ((isset($eltd_options['testimonials_arrows_size']) && ($eltd_options['testimonials_arrows_size'])!=='')) { ?>
    .testimonials_holder .flex-direction-nav a span:before{
    font-size: <?php echo esc_attr($eltd_options['testimonials_arrows_size']); ?>px;
    }
<?php } ?>

<?php
$temp_transparency = '';
$temp_rgb_color = '';
$hover_color_with_transparency = '';
if ((isset($eltd_options['testimonials_arrows_icon_hover_color']) && !empty($eltd_options['testimonials_arrows_icon_hover_color']))) {
    $temp_rgb_color = eltd_hex2rgb($eltd_options['testimonials_arrows_icon_hover_color']);
    if(isset($eltd_options['testimonials_arrows_hover_transparency']) && ($eltd_options['testimonials_arrows_hover_transparency']!== '')) {
        $temp_transparency = $eltd_options['testimonials_arrows_hover_transparency'];
    }
    else{
        $temp_transparency = 1;
    }
    $hover_color_with_transparency = 'rgba('.$temp_rgb_color[0].','.$temp_rgb_color[1].','.$temp_rgb_color[2].','.$temp_transparency.');'; ?>

    .testimonials_holder .flex-direction-nav a:hover span:before{
    color: <?php echo esc_attr($hover_color_with_transparency); ?>;
    }
<?php } ?>

<?php
$temp_transparency = '';
$temp_rgb_color = '';
$hover_color_with_transparency = '';
if ((isset($eltd_options['testimonials_arrows_active_color']) && !empty($eltd_options['testimonials_arrows_active_color'])) ) {

    $temp_rgb_color = eltd_hex2rgb($eltd_options['testimonials_arrows_active_color']);
    if(isset($eltd_options['testimonials_arrows_active_color_transparency']) && ($eltd_options['testimonials_arrows_active_color_transparency']!== '')) {
        $temp_transparency = $eltd_options['testimonials_arrows_active_color_transparency'];
    }
    else{
        $temp_transparency = 1;
    }
    $hover_color_with_transparency = 'rgba('.$temp_rgb_color[0].','.$temp_rgb_color[1].','.$temp_rgb_color[2].','.$temp_transparency.');'; ?>
    .testimonials_holder .flex-direction-nav a:hover{
    background-color: <?php echo esc_attr($hover_color_with_transparency); ?>;
    }
<?php } ?>

<?php
$testimonials_arrow_button_style = array();
$testimonials_arrow_margin ='';

if(isset($eltd_options['testimonials_arrows_button_width']) && $eltd_options['testimonials_arrows_button_width'] !== '') {
    $testimonials_arrow_button_style[] = 'width: '.$eltd_options['testimonials_arrows_button_width'].'px';
}

if(isset($eltd_options['testimonials_arrows_button_height']) && $eltd_options['testimonials_arrows_button_height'] !== '') {
    $testimonials_arrow_button_style[] = 'height: '.$eltd_options['testimonials_arrows_button_height'].'px';
    $testimonials_arrow_button_style[] = 'line-height: '.$eltd_options['testimonials_arrows_button_height'].'px';
    $testimonials_arrow_margin = $eltd_options['testimonials_arrows_button_height']/2;
    $testimonials_arrow_margin = 'margin: -'.$testimonials_arrow_margin.'px 0 0 0'; ?>

	.testimonials.image_left[data-show-navigation-arrows='yes'] .testimonial_text_holder{
    	padding-bottom: <?php echo esc_attr($eltd_options['testimonials_arrows_button_height']); ?>px;
	}

<?php }

if(is_array($testimonials_arrow_button_style) && count($testimonials_arrow_button_style)) { ?>
    .testimonials_holder .flex-direction-nav a,
    .testimonials_holder .flex-direction-nav a span,
    .testimonials_holder .flex-direction-nav a span:before,
    .testimonials.image_left .flex-direction-nav li{
    <?php echo esc_attr(implode(';', $testimonials_arrow_button_style)); ?>
    }
    .testimonials_holder .flex-direction-nav a{
    <?php echo esc_attr($testimonials_arrow_margin); ?>
    }
<?php } ?>

<?php if ((isset($eltd_options['testimonials_image_border_radius']) && ($eltd_options['testimonials_image_border_radius'])!=='')) { ?>
    .testimonials.image_above .testimonial_image_holder,
	.testimonials.image_left .testimonial_image_left_holder .testimonial_image_holder img{
    border-radius: <?php echo esc_attr($eltd_options['testimonials_image_border_radius']); ?>px;
    }
<?php } ?>



<?php if (!empty($eltd_options['counter_color']) || !empty($eltd_options['counters_fontweight']) || !empty($eltd_options['counters_font_size']) || (isset($eltd_options['counters_font_family']) && $eltd_options['counters_font_family'] != '-1')) { ?>
    .eltd_counter_holder span.counter{
    <?php if (!empty($eltd_options['counter_color'])) { ?>  color: <?php echo esc_attr($eltd_options['counter_color']);  ?>; <?php } ?>
    <?php if (!empty($eltd_options['counters_fontweight'])) { ?>    font-weight: <?php echo esc_attr($eltd_options['counters_fontweight']);  ?>; <?php } ?>
    <?php if (!empty($eltd_options['counters_font_size'])) { ?> font-size: <?php echo esc_attr($eltd_options['counters_font_size']);  ?>px; <?php } ?>
    <?php if ((isset($eltd_options['counters_font_family']) && $eltd_options['counters_font_family'] != '-1')) { ?>
        <?php $font = str_replace('+', ' ', $eltd_options['counters_font_family']); ?>
        font-family: '<?php echo esc_attr($font); ?>', sans-serif;
    <?php } ?>
    }
<?php } ?>
<?php if (!empty($eltd_options['counter_text_color']) || !empty($eltd_options['counters_text_fontweight']) || !empty($eltd_options['counters_text_texttransform']) || $eltd_options['counters_text_letterspacing'] !== '' || !empty($eltd_options['counters_text_font_size'])) { ?>
    .eltd_counter_holder p.counter_text{
    <?php if (!empty($eltd_options['counter_text_color'])) { ?> color: <?php echo esc_attr($eltd_options['counter_text_color']);  ?>; <?php } ?>
    <?php if (!empty($eltd_options['counters_text_fontweight'])) { ?>   font-weight: <?php echo esc_attr($eltd_options['counters_text_fontweight']);  ?>; <?php } ?>
    <?php if (!empty($eltd_options['counters_text_texttransform'])) { ?>    text-transform: <?php echo esc_attr($eltd_options['counters_text_texttransform']);  ?>; <?php } ?>
    <?php if (!empty($eltd_options['counters_text_letterspacing'])) { ?>    letter-spacing: <?php echo esc_attr($eltd_options['counters_text_letterspacing']);  ?>px; <?php } ?>
    <?php if (!empty($eltd_options['counters_text_font_size'])) { ?>    font-size: <?php echo esc_attr($eltd_options['counters_text_font_size']);  ?>px; line-height: 1.25em; <?php } ?>
    }
<?php } ?>
<?php if (!empty($eltd_options['counter_separator_color'])) { ?>
    .wpb_column>.wpb_wrapper .eltd_counter_holder .separator{
    <?php if (!empty($eltd_options['counter_separator_color'])) { ?>    border-color: <?php echo esc_attr($eltd_options['counter_separator_color']);  ?>; <?php } ?>
    }
<?php } ?>

<?php
$counters_title_styles = array();

if(isset($eltd_options['counters_title_font_family']) && $eltd_options['counters_title_font_family'] !== '-1') {
    $counters_title_styles[] = 'font-family: '.str_replace('+', ' ', $eltd_options['counters_title_font_family']).', sans-serif';
}

if(isset($eltd_options['counters_title_font_size']) && $eltd_options['counters_title_font_size'] !== '') {
    $counters_title_styles[] = 'font-size: '.$eltd_options['counters_title_font_size'].'px';
}

if(isset($eltd_options['counters_title_line_height']) && $eltd_options['counters_title_line_height'] !== '') {
    $counters_title_styles[] = 'line-height: '.$eltd_options['counters_title_line_height'].'px';
}

if(isset($eltd_options['counters_title_letter_spacing']) && $eltd_options['counters_title_letter_spacing'] !== '') {
    $counters_title_styles[] = 'letter-spacing: '.$eltd_options['counters_title_letter_spacing'].'px';
}

if(isset($eltd_options['counters_title_font_weight']) && $eltd_options['counters_title_font_weight'] !== '') {
    $counters_title_styles[] = 'font-weight: '.$eltd_options['counters_title_font_weight'];
}

if(isset($eltd_options['counters_title_font_style']) && $eltd_options['counters_title_font_style'] !== '') {
    $counters_title_styles[] = 'font-style: '.$eltd_options['counters_title_font_style'];
}

if(isset($eltd_options['counters_title_text_transform']) && $eltd_options['counters_title_text_transform'] !== '') {
    $counters_title_styles[] = 'text-transform: '.$eltd_options['counters_title_text_transform'];
}

if(isset($eltd_options['counters_title_color']) && $eltd_options['counters_title_color'] !== '') {
    $counters_title_styles[] = 'color: '.$eltd_options['counters_title_color'];
}

if(is_array($counters_title_styles) && count($counters_title_styles)) { ?>
    .eltd_counter_holder .counter_title{
    <?php echo esc_attr(implode(';', $counters_title_styles)); ?>
    }
<?php } ?>

<?php
$counters_padding = array();

if(isset($eltd_options['counters_padding_top']) && $eltd_options['counters_padding_top'] !== '') {
    $counters_padding[] = 'padding-top: '.$eltd_options['counters_padding_top'].'px';
}

if(isset($eltd_options['counters_padding_right']) && $eltd_options['counters_padding_right'] !== '') {
    $counters_padding[] = 'padding-right: '.$eltd_options['counters_padding_right'].'px';
}

if(isset($eltd_options['counters_padding_bottom']) && $eltd_options['counters_padding_bottom'] !== '') {
    $counters_padding[] = 'padding-bottom: '.$eltd_options['counters_padding_bottom'].'px';
}

if(isset($eltd_options['counters_padding_left']) && $eltd_options['counters_padding_left'] !== '') {
    $counters_padding[] = 'padding-left: '.$eltd_options['counters_padding_left'].'px';
}

if(is_array($counters_padding) && count($counters_padding)) { ?>
	.eltd_counter_holder.center,
	.eltd_counter_holder.left,
	.eltd_counter_holder.right{
	<?php echo esc_attr(implode('; ', $counters_padding));?>
	}
<?php }
?>

<?php

// Countdown

$countdown_amount_styles = array();

if(isset($eltd_options['countdown_amount_font_family']) && $eltd_options['countdown_amount_font_family'] !== '-1') {
    $countdown_amount_styles[] = 'font-family: '.str_replace('+', ' ', $eltd_options['countdown_amount_font_family']).', sans-serif';
}

if(isset($eltd_options['countdown_amount_font_size']) && $eltd_options['countdown_amount_font_size'] !== '') {
    $countdown_amount_styles[] = 'font-size: '.$eltd_options['countdown_amount_font_size'].'px';
}

if(isset($eltd_options['countdown_amount_line_height']) && $eltd_options['countdown_amount_line_height'] !== '') {
    $countdown_amount_styles[] = 'line-height: '.$eltd_options['countdown_amount_line_height'].'px';
}

if(isset($eltd_options['countdown_amount_letter_spacing']) && $eltd_options['countdown_amount_letter_spacing'] !== '') {
    $countdown_amount_styles[] = 'letter-spacing: '.$eltd_options['countdown_amount_letter_spacing'].'px';
}

if(isset($eltd_options['countdown_amount_font_weight']) && $eltd_options['countdown_amount_font_weight'] !== '') {
    $countdown_amount_styles[] = 'font-weight: '.$eltd_options['countdown_amount_font_weight'];
}

if(isset($eltd_options['countdown_amount_font_style']) && $eltd_options['countdown_amount_font_style'] !== '') {
    $countdown_amount_styles[] = 'font-style: '.$eltd_options['countdown_amount_font_style'];
}

if(isset($eltd_options['countdown_amount_text_transform']) && $eltd_options['countdown_amount_text_transform'] !== '') {
    $countdown_amount_styles[] = 'text-transform: '.$eltd_options['countdown_amount_text_transform'];
}

if(isset($eltd_options['countdown_amount_color']) && $eltd_options['countdown_amount_color'] !== '') {
    $countdown_amount_styles[] = 'color: '.$eltd_options['countdown_amount_color'];
}

if(is_array($countdown_amount_styles) && count($countdown_amount_styles)) { ?>
    .countdown-amount { <?php echo esc_attr(implode(';', $countdown_amount_styles)); ?> }
<?php } ?>

<?php

$countdown_label_styles = array();

if(isset($eltd_options['countdown_label_font_family']) && $eltd_options['countdown_label_font_family'] !== '-1') {
    $countdown_label_styles[] = 'font-family: '.str_replace('+', ' ', $eltd_options['countdown_label_font_family']).', sans-serif';
}

if(isset($eltd_options['countdown_label_font_size']) && $eltd_options['countdown_label_font_size'] !== '') {
    $countdown_label_styles[] = 'font-size: '.$eltd_options['countdown_label_font_size'].'px';
}

if(isset($eltd_options['countdown_label_line_height']) && $eltd_options['countdown_label_line_height'] !== '') {
    $countdown_label_styles[] = 'line-height: '.$eltd_options['countdown_label_line_height'].'px';
}

if(isset($eltd_options['countdown_label_letter_spacing']) && $eltd_options['countdown_label_letter_spacing'] !== '') {
    $countdown_label_styles[] = 'letter-spacing: '.$eltd_options['countdown_label_letter_spacing'].'px';
}

if(isset($eltd_options['countdown_label_font_weight']) && $eltd_options['countdown_label_font_weight'] !== '') {
    $countdown_label_styles[] = 'font-weight: '.$eltd_options['countdown_label_font_weight'];
}

if(isset($eltd_options['countdown_label_font_style']) && $eltd_options['countdown_label_font_style'] !== '') {
    $countdown_label_styles[] = 'font-style: '.$eltd_options['countdown_label_font_style'];
}

if(isset($eltd_options['countdown_label_text_transform']) && $eltd_options['countdown_label_text_transform'] !== '') {
    $countdown_label_styles[] = 'text-transform: '.$eltd_options['countdown_label_text_transform'];
}

if(isset($eltd_options['countdown_label_color']) && $eltd_options['countdown_label_color'] !== '') {
    $countdown_label_styles[] = 'color: '.$eltd_options['countdown_label_color'];
}

if(is_array($countdown_label_styles) && count($countdown_label_styles)) { ?>
    .countdown-period { <?php echo esc_attr(implode(';', $countdown_label_styles)); ?> }
<?php } ?>

<?php

$countdown_separator_styles = array();

if(isset($eltd_options['countdown_separator_color']) && $eltd_options['countdown_separator_color'] !== '') {
    $countdown_separator_styles[] = 'background-color: '.$eltd_options['countdown_separator_color'];
}

if(isset($eltd_options['countdown_separator_thickness']) && $eltd_options['countdown_separator_thickness'] !== '') {
    $countdown_separator_styles[] = 'height: '.$eltd_options['countdown_separator_thickness'].'px';
}

if(isset($eltd_options['countdown_separator_width']) && $eltd_options['countdown_separator_width'] !== '') {
    $countdown_separator_styles[] = 'width: '.$eltd_options['countdown_separator_width'].'px';
}

if(isset($eltd_options['countdown_separator_topmargin']) && $eltd_options['countdown_separator_topmargin'] !== '') {
    $countdown_separator_styles[] = 'margin-top: '.$eltd_options['countdown_separator_topmargin'].'px';
}

if(isset($eltd_options['countdown_separator_bottommargin']) && $eltd_options['countdown_separator_bottommargin'] !== '') {
    $countdown_separator_styles[] = 'margin-bottom: '.$eltd_options['countdown_separator_bottommargin'].'px';
}

if(is_array($countdown_separator_styles) && count($countdown_separator_styles)) { ?>
    .countdown_separator { <?php echo esc_attr(implode(';', $countdown_separator_styles)); ?> }
<?php } ?>



<?php
$progress_bar_horizontal_title_style = array();

if(isset($eltd_options['progress_bar_horizontal_font_family']) && $eltd_options['progress_bar_horizontal_font_family'] !== '-1') {
    $progress_bar_horizontal_title_style[] = 'font-family: '.str_replace('+', ' ', $eltd_options['progress_bar_horizontal_font_family']).', sans-serif';
}

if(isset($eltd_options['progress_bar_horizontal_font_size']) && $eltd_options['progress_bar_horizontal_font_size'] !== '') {
    $progress_bar_horizontal_title_style[] = 'font-size: '.$eltd_options['progress_bar_horizontal_font_size'].'px';
}

if(isset($eltd_options['progress_bar_horizontal_line_height']) && $eltd_options['progress_bar_horizontal_line_height'] !== '') {
    $progress_bar_horizontal_title_style[] = 'line-height: '.$eltd_options['progress_bar_horizontal_line_height'].'px';
}

if(isset($eltd_options['progress_bar_horizontal_letter_spacing']) && $eltd_options['progress_bar_horizontal_letter_spacing'] !== '') {
    $progress_bar_horizontal_title_style[] = 'letter-spacing: '.$eltd_options['progress_bar_horizontal_letter_spacing'].'px';
}

if(isset($eltd_options['progress_bar_horizontal_font_weight']) && $eltd_options['progress_bar_horizontal_font_weight'] !== '') {
    $progress_bar_horizontal_title_style[] = 'font-weight: '.$eltd_options['progress_bar_horizontal_font_weight'];
}

if(isset($eltd_options['progress_bar_horizontal_font_style']) && $eltd_options['progress_bar_horizontal_font_style'] !== '') {
    $progress_bar_horizontal_title_style[] = 'font-style: '.$eltd_options['progress_bar_horizontal_font_style'];
}

if(isset($eltd_options['progress_bar_horizontal_text_transform']) && $eltd_options['progress_bar_horizontal_text_transform'] !== '') {
    $progress_bar_horizontal_title_style[] = 'text-transform: '.$eltd_options['progress_bar_horizontal_text_transform'];
}

if(isset($eltd_options['progress_bar_horizontal_color']) && $eltd_options['progress_bar_horizontal_color'] !== '') {
    $progress_bar_horizontal_title_style[] = 'color: '.$eltd_options['progress_bar_horizontal_color'];
}

if(is_array($progress_bar_horizontal_title_style) && count($progress_bar_horizontal_title_style)) { ?>
    .eltd_progress_bar .progress_title_holder{
    <?php echo esc_attr(implode(';', $progress_bar_horizontal_title_style)); ?>
    }
<?php } ?>


<?php
$progress_bar_horizontal_percentage_percentage_style = array();

if(isset($eltd_options['progress_bar_horizontal_percentage_font_family']) && $eltd_options['progress_bar_horizontal_percentage_font_family'] !== '-1') {
    $progress_bar_horizontal_percentage_percentage_style[] = 'font-family: '.str_replace('+', ' ', $eltd_options['progress_bar_horizontal_percentage_font_family']).', sans-serif';
}

if(isset($eltd_options['progress_bar_horizontal_percentage_font_size']) && $eltd_options['progress_bar_horizontal_percentage_font_size'] !== '') {
    $progress_bar_horizontal_percentage_percentage_style[] = 'font-size: '.$eltd_options['progress_bar_horizontal_percentage_font_size'].'px';
}

if(isset($eltd_options['progress_bar_horizontal_percentage_line_height']) && $eltd_options['progress_bar_horizontal_percentage_line_height'] !== '') {
    $progress_bar_horizontal_percentage_percentage_style[] = 'line-height: '.$eltd_options['progress_bar_horizontal_percentage_line_height'].'px';
    $progress_bar_horizontal_percentage_percentage_style[] = 'height: '.$eltd_options['progress_bar_horizontal_percentage_line_height'].'px';
}

if(isset($eltd_options['progress_bar_horizontal_percentage_letter_spacing']) && $eltd_options['progress_bar_horizontal_percentage_letter_spacing'] !== '') {
    $progress_bar_horizontal_percentage_percentage_style[] = 'letter-spacing: '.$eltd_options['progress_bar_horizontal_percentage_letter_spacing'].'px';
}

if(isset($eltd_options['progress_bar_horizontal_percentage_font_weight']) && $eltd_options['progress_bar_horizontal_percentage_font_weight'] !== '') {
    $progress_bar_horizontal_percentage_percentage_style[] = 'font-weight: '.$eltd_options['progress_bar_horizontal_percentage_font_weight'];
}

if(isset($eltd_options['progress_bar_horizontal_percentage_font_style']) && $eltd_options['progress_bar_horizontal_percentage_font_style'] !== '') {
    $progress_bar_horizontal_percentage_percentage_style[] = 'font-style: '.$eltd_options['progress_bar_horizontal_percentage_font_style'];
}

if(isset($eltd_options['progress_bar_horizontal_percentage_text_transform']) && $eltd_options['progress_bar_horizontal_percentage_text_transform'] !== '') {
    $progress_bar_horizontal_percentage_percentage_style[] = 'text-transform: '.$eltd_options['progress_bar_horizontal_percentage_text_transform'];
}

if(isset($eltd_options['progress_bar_horizontal_percentage_color']) && $eltd_options['progress_bar_horizontal_percentage_color'] !== '') {
    $progress_bar_horizontal_percentage_percentage_style[] = 'color: '.$eltd_options['progress_bar_horizontal_percentage_color'];
}

if(is_array($progress_bar_horizontal_percentage_percentage_style) && count($progress_bar_horizontal_percentage_percentage_style)) { ?>
    .eltd_progress_bar .progress_number, .eltd_progress_bar .progress_number_wrapper.static .progress_number{
    <?php echo esc_attr(implode(';', $progress_bar_horizontal_percentage_percentage_style)); ?>
    }
<?php } ?>

<?php
$progress_bar_vertical_title_style = array();

if(isset($eltd_options['progress_bar_vertical_font_family']) && $eltd_options['progress_bar_vertical_font_family'] !== '-1') {
    $progress_bar_vertical_title_style[] = 'font-family: '.str_replace('+', ' ', $eltd_options['progress_bar_vertical_font_family']).', sans-serif';
}

if(isset($eltd_options['progress_bar_vertical_font_size']) && $eltd_options['progress_bar_vertical_font_size'] !== '') {
    $progress_bar_vertical_title_style[] = 'font-size: '.$eltd_options['progress_bar_vertical_font_size'].'px';
}

if(isset($eltd_options['progress_bar_vertical_line_height']) && $eltd_options['progress_bar_vertical_line_height'] !== '') {
    $progress_bar_vertical_title_style[] = 'line-height: '.$eltd_options['progress_bar_vertical_line_height'].'px';
}

if(isset($eltd_options['progress_bar_vertical_letter_spacing']) && $eltd_options['progress_bar_vertical_letter_spacing'] !== '') {
    $progress_bar_vertical_title_style[] = 'letter-spacing: '.$eltd_options['progress_bar_vertical_letter_spacing'].'px';
}

if(isset($eltd_options['progress_bar_vertical_font_weight']) && $eltd_options['progress_bar_vertical_font_weight'] !== '') {
    $progress_bar_vertical_title_style[] = 'font-weight: '.$eltd_options['progress_bar_vertical_font_weight'];
}

if(isset($eltd_options['progress_bar_vertical_font_style']) && $eltd_options['progress_bar_vertical_font_style'] !== '') {
    $progress_bar_vertical_title_style[] = 'font-style: '.$eltd_options['progress_bar_vertical_font_style'];
}

if(isset($eltd_options['progress_bar_vertical_text_transform']) && $eltd_options['progress_bar_vertical_text_transform'] !== '') {
    $progress_bar_vertical_title_style[] = 'text-transform: '.$eltd_options['progress_bar_vertical_text_transform'];
}

if(isset($eltd_options['progress_bar_vertical_color']) && $eltd_options['progress_bar_vertical_color'] !== '') {
    $progress_bar_vertical_title_style[] = 'color: '.$eltd_options['progress_bar_vertical_color'];
}

if(is_array($progress_bar_vertical_title_style) && count($progress_bar_vertical_title_style)) { ?>
    .eltd_progress_bars_vertical .progress_title{
    <?php echo esc_attr(implode(';', $progress_bar_vertical_title_style)); ?>
    }
<?php } ?>


<?php
$progress_bar_vertical_percentage_style = array();

if(isset($eltd_options['progress_bar_vertical_percentage_font_family']) && $eltd_options['progress_bar_vertical_percentage_font_family'] !== '-1') {
    $progress_bar_vertical_percentage_style[] = 'font-family: '.str_replace('+', ' ', $eltd_options['progress_bar_vertical_percentage_font_family']).', sans-serif';
}

if(isset($eltd_options['progress_bar_vertical_percentage_font_size']) && $eltd_options['progress_bar_vertical_percentage_font_size'] !== '') {
    $progress_bar_vertical_percentage_style[] = 'font-size: '.$eltd_options['progress_bar_vertical_percentage_font_size'].'px';
}

if(isset($eltd_options['progress_bar_vertical_percentage_line_height']) && $eltd_options['progress_bar_vertical_percentage_line_height'] !== '') {
    $progress_bar_vertical_percentage_style[] = 'line-height: '.$eltd_options['progress_bar_vertical_percentage_line_height'].'px';
    $progress_bar_vertical_percentage_style[] = 'height: '.$eltd_options['progress_bar_vertical_percentage_line_height'].'px';
}

if(isset($eltd_options['progress_bar_vertical_percentage_letter_spacing']) && $eltd_options['progress_bar_vertical_percentage_letter_spacing'] !== '') {
    $progress_bar_vertical_percentage_style[] = 'letter-spacing: '.$eltd_options['progress_bar_vertical_percentage_letter_spacing'].'px';
}

if(isset($eltd_options['progress_bar_vertical_percentage_font_weight']) && $eltd_options['progress_bar_vertical_percentage_font_weight'] !== '') {
    $progress_bar_vertical_percentage_style[] = 'font-weight: '.$eltd_options['progress_bar_vertical_percentage_font_weight'];
}

if(isset($eltd_options['progress_bar_vertical_percentage_font_style']) && $eltd_options['progress_bar_vertical_percentage_font_style'] !== '') {
    $progress_bar_vertical_percentage_style[] = 'font-style: '.$eltd_options['progress_bar_vertical_percentage_font_style'];
}

if(isset($eltd_options['progress_bar_vertical_percentage_text_transform']) && $eltd_options['progress_bar_vertical_percentage_text_transform'] !== '') {
    $progress_bar_vertical_percentage_style[] = 'text-transform: '.$eltd_options['progress_bar_vertical_percentage_text_transform'];
}

if(isset($eltd_options['progress_bar_vertical_percentage_color']) && $eltd_options['progress_bar_vertical_percentage_color'] !== '') {
    $progress_bar_vertical_percentage_style[] = 'color: '.$eltd_options['progress_bar_vertical_percentage_color'];
}

if(is_array($progress_bar_vertical_percentage_style) && count($progress_bar_vertical_percentage_style)) { ?>
    .eltd_progress_bars_vertical .progress_number{
    <?php echo esc_attr(implode(';', $progress_bar_vertical_percentage_style)); ?>
    }
<?php } ?>



<?php if (!empty($eltd_options['pie_charts_fontsize']) || !empty($eltd_options['pie_charts_fontweight'])) { ?>
    .eltd_pie_chart_holder .tocounter{
    <?php if (!empty($eltd_options['pie_charts_fontsize'])) { ?>    font-size: <?php echo esc_attr($eltd_options['pie_charts_fontsize']);  ?>px; <?php } ?>
    <?php if (!empty($eltd_options['pie_charts_fontweight'])) { ?>  font-weight: <?php echo esc_attr($eltd_options['pie_charts_fontweight']);  ?>; <?php } ?>
    }
<?php } ?>

<?php if (isset($eltd_options['pie_charts_margin_below_chart']) && $eltd_options['pie_charts_margin_below_chart'] !== '') { ?>
    .eltd_pie_chart_holder .pie_chart_text,
    .eltd_pie_chart_with_icon_holder .pie_chart_text,
    .eltd_pie_chart_holder .pie_chart_text.without_title {
        margin-top: <?php echo esc_attr($eltd_options['pie_charts_margin_below_chart']); ?>px;
    }
<?php } ?>

<?php
$tab_navigation_style = array();

if(isset($eltd_options['tab_nav_font_family']) && $eltd_options['tab_nav_font_family'] !== '-1') {
    $tab_navigation_style[] = 'font-family: '.str_replace('+', ' ', $eltd_options['tab_nav_font_family']).', sans-serif';
}

if(isset($eltd_options['tab_text_size']) && $eltd_options['tab_text_size'] !== '') {
    $tab_navigation_style[] = 'font-size: '.$eltd_options['tab_text_size'].'px';
}

if(isset($eltd_options['tab_letter_spacing']) && $eltd_options['tab_letter_spacing'] !== '') {
    $tab_navigation_style[] = 'letter-spacing: '.$eltd_options['tab_letter_spacing'].'px';
}

if(isset($eltd_options['tab_font_weight']) && $eltd_options['tab_font_weight'] !== '') {
    $tab_navigation_style[] = 'font-weight: '.$eltd_options['tab_font_weight'];
}

if(isset($eltd_options['tab_font_style']) && $eltd_options['tab_font_style'] !== '') {
    $tab_navigation_style[] = 'font-style: '.$eltd_options['tab_font_style'];
}

if(isset($eltd_options['tab_text_transform']) && $eltd_options['tab_text_transform'] !== '') {
    $tab_navigation_style[] = 'text-transform: '.$eltd_options['tab_text_transform'];
}

if(isset($eltd_options['tab_text_color']) && $eltd_options['tab_text_color'] !== '') {
    $tab_navigation_style[] = 'color: '.$eltd_options['tab_text_color'];
}

if(is_array($tab_navigation_style) && count($tab_navigation_style)) { ?>
    .eltd_tabs.tab_with_text.border_arround_element.horizontal.disable_margin .tabs-nav li a,
    .eltd_tabs.vertical.tab_with_text.border_arround_element.disable_margin .tabs-nav li a{
    <?php echo esc_attr(implode(';', $tab_navigation_style)); ?>
    }
<?php } ?>

<?php if (!empty($eltd_options['tab_active_text_color'])) { ?>
    .eltd_tabs.tab_with_text.border_arround_element.horizontal.disable_margin .tabs-nav li.active a,
    .eltd_tabs.vertical.tab_with_text.border_arround_element.disable_margin .tabs-nav li.active a,
	.eltd_tabs.tab_with_text.border_arround_element.horizontal.disable_margin .tabs-nav li.active:hover a,
	.eltd_tabs.vertical.tab_with_text.border_arround_element.disable_margin .tabs-nav li.active:hover a,
    .eltd_tabs.tab_with_text.border_arround_element.horizontal.disable_margin .tabs-nav li:hover a,
    .eltd_tabs.vertical.tab_with_text.border_arround_element.disable_margin .tabs-nav li:hover a{
    <?php if (!empty($eltd_options['tab_active_text_color'])) { ?>color: <?php echo esc_attr($eltd_options['tab_active_text_color']);  ?>; <?php } ?>
    }
<?php } ?>

<?php if ((isset($eltd_options['tabs_icon_size']) && $eltd_options['tabs_icon_size'] != '') || !empty($eltd_options['tab_icon_color'])) { ?>
    .eltd_tabs.tab_with_icon.border_arround_element.horizontal.disable_margin .tabs-nav li a,
    .eltd_tabs.vertical.tab_with_icon.border_arround_element.disable_margin .tabs-nav li a{
    <?php if (isset($eltd_options['tabs_icon_size']) && $eltd_options['tabs_icon_size'] != '') { ?>font-size: <?php echo esc_attr($eltd_options['tabs_icon_size']);  ?>px; <?php } ?>
    <?php if (!empty($eltd_options['tab_icon_color'])) { ?>color: <?php echo esc_attr($eltd_options['tab_icon_color']);  ?>; <?php } ?>
    }
<?php } ?>

<?php if (!empty($eltd_options['tab_icon_hover_color'])) { ?>
    .eltd_tabs.tab_with_icon.border_arround_element.horizontal.disable_margin .tabs-nav li.active a, 
    .eltd_tabs.tab_with_icon.border_arround_element.vertical.disable_margin .tabs-nav li.active a, 
	.eltd_tabs.tab_with_icon.border_arround_element.horizontal.disable_margin .tabs-nav li:hover a,
	.eltd_tabs.tab_with_icon.border_arround_element.vertical.disable_margin .tabs-nav li:hover a{
    color: <?php echo esc_attr($eltd_options['tab_icon_hover_color']);  ?>;
    }
<?php } ?>
	
<?php

$eltd_tabs_with_icon_size_style = array();

if(isset($eltd_options['tabs_with_icon_height']) && $eltd_options['tabs_with_icon_height'] != "" ){
		$eltd_tabs_with_icon_size_style[] = 'height: '.$eltd_options['tabs_with_icon_height'].'px';
		$eltd_tabs_with_icon_size_style[] = 'line-height: '.$eltd_options['tabs_with_icon_height'].'px';	?>

	@media only screen and (max-width: 600px){
		.eltd_tabs.vertical.border_arround_element.tab_with_text_and_icon .tabs-nav li a{
			line-height : <?php echo esc_attr($eltd_options['tabs_with_icon_height']) .'px !important'?>;
		}
	}

<?php }

if(isset($eltd_options['tabs_with_icon_padding_left']) && $eltd_options['tabs_with_icon_padding_left'] != "" ){
		$eltd_tabs_with_icon_size_style[] = 'padding-left: '.$eltd_options['tabs_with_icon_padding_left'].'px';
}

if(isset($eltd_options['tabs_with_icon_padding_right']) && $eltd_options['tabs_with_icon_padding_right'] != "" ){
		$eltd_tabs_with_icon_size_style[] = 'padding-right: '.$eltd_options['tabs_with_icon_padding_right'].'px';
}

if(is_array($eltd_tabs_with_icon_size_style) && count($eltd_tabs_with_icon_size_style)) { ?>
	.eltd_tabs.tab_with_icon.border_arround_element.horizontal.disable_margin .tabs-nav li a{
		<?php echo esc_attr(implode(';', $eltd_tabs_with_icon_size_style)); ?>
    }
<?php } ?>	

<?php
$tab_icon_and_text_navigation_style = array();

if(isset($eltd_options['tab_icon_and_text_nav_font_family']) && $eltd_options['tab_icon_and_text_nav_font_family'] !== '-1') {
    $tab_icon_and_text_navigation_style[] = 'font-family: '.str_replace('+', ' ', $eltd_options['tab_icon_and_text_nav_font_family']).', sans-serif';
}

if(isset($eltd_options['tab_icon_and_text_text_size']) && $eltd_options['tab_icon_and_text_text_size'] !== '') {
    $tab_icon_and_text_navigation_style[] = 'font-size: '.$eltd_options['tab_icon_and_text_text_size'].'px';
}

if(isset($eltd_options['tab_icon_and_text_letter_spacing']) && $eltd_options['tab_icon_and_text_letter_spacing'] !== '') {
    $tab_icon_and_text_navigation_style[] = 'letter-spacing: '.$eltd_options['tab_icon_and_text_letter_spacing'].'px';
}

if(isset($eltd_options['tab_icon_and_text_font_weight']) && $eltd_options['tab_icon_and_text_font_weight'] !== '') {
    $tab_icon_and_text_navigation_style[] = 'font-weight: '.$eltd_options['tab_icon_and_text_font_weight'];
}

if(isset($eltd_options['tab_icon_and_text_font_style']) && $eltd_options['tab_icon_and_text_font_style'] !== '') {
    $tab_icon_and_text_navigation_style[] = 'font-style: '.$eltd_options['tab_icon_and_text_font_style'];
}

if(isset($eltd_options['tab_icon_and_text_text_transform']) && $eltd_options['tab_icon_and_text_text_transform'] !== '') {
    $tab_icon_and_text_navigation_style[] = 'text-transform: '.$eltd_options['tab_icon_and_text_text_transform'];
}

if(isset($eltd_options['tab_icon_and_text_text_color']) && $eltd_options['tab_icon_and_text_text_color'] !== '') {
    $tab_icon_and_text_navigation_style[] = 'color: '.$eltd_options['tab_icon_and_text_text_color'];
}

if(is_array($tab_icon_and_text_navigation_style) && count($tab_icon_and_text_navigation_style)) { ?>
    .eltd_tabs.tab_with_text_and_icon .tabs-nav li a .tab_text_after_icon{
    <?php echo esc_attr(implode(';', $tab_icon_and_text_navigation_style)); ?>
    }
<?php } ?>

<?php if (!empty($eltd_options['tab_icon_and_text_active_text_color'])) { ?>
    .eltd_tabs.tab_with_text_and_icon .tabs-nav li.active a .tab_text_after_icon,
    .eltd_tabs.tab_with_text_and_icon .tabs-nav li.active:hover a .tab_text_after_icon,
    .eltd_tabs.tab_with_text_and_icon .tabs-nav li:hover a .tab_text_after_icon{
    <?php if (!empty($eltd_options['tab_icon_and_text_active_text_color'])) { ?>color: <?php echo esc_attr($eltd_options['tab_icon_and_text_active_text_color']);  ?>; <?php } ?>
    }
<?php } ?>

<?php if ((isset($eltd_options['tab_icon_and_text_icon_size']) && $eltd_options['tab_icon_and_text_icon_size'] != '') || !empty($eltd_options['tab_icon_and_text_icon_color'])) { ?>
    .eltd_tabs.tab_with_text_and_icon .tabs-nav li a .icon_frame{
    <?php if (isset($eltd_options['tab_icon_and_text_icon_size']) && $eltd_options['tab_icon_and_text_icon_size'] != '') { ?>font-size: <?php echo esc_attr($eltd_options['tab_icon_and_text_icon_size']);  ?>px; <?php } ?>
    <?php if (!empty($eltd_options['tab_icon_and_text_icon_color'])) { ?>color: <?php echo esc_attr($eltd_options['tab_icon_and_text_icon_color']);  ?>; <?php } ?>
    }
<?php } ?>

<?php if (!empty($eltd_options['tab_icon_and_text_icon_hover_color'])) { ?>
    .eltd_tabs.tab_with_text_and_icon .tabs-nav li.active a .icon_frame,
	.eltd_tabs.tab_with_text_and_icon .tabs-nav li:hover a .icon_frame{
    color: <?php echo esc_attr($eltd_options['tab_icon_and_text_icon_hover_color']);  ?>;
    }
<?php } ?>	

<?php

$eltd_tabs_with_icon_text_size_style = array();

if(isset($eltd_options['tabs_with_icon_text_height']) && $eltd_options['tabs_with_icon_text_height'] != "" ){
		$eltd_tabs_with_icon_text_size_style[] = 'height: '.$eltd_options['tabs_with_icon_text_height'].'px';
		$eltd_tabs_with_icon_text_size_style[] = 'line-height: '.$eltd_options['tabs_with_icon_text_height'].'px';	?>

	@media only screen and (max-width: 600px){
		.eltd_tabs.vertical.border_arround_element.tab_with_text_and_icon .tabs-nav li a{
			line-height : <?php echo esc_attr($eltd_options['tabs_with_icon_text_height']) .'px !important'?>;
		}
	}

<?php }

if(isset($eltd_options['tabs_with_icon_text_padding_left']) && $eltd_options['tabs_with_icon_text_padding_left'] != "" ){
		$eltd_tabs_with_icon_text_size_style[] = 'padding-left: '.$eltd_options['tabs_with_icon_text_padding_left'].'px';
}

if(isset($eltd_options['tabs_with_icon_text_padding_right']) && $eltd_options['tabs_with_icon_text_padding_right'] != "" ){
		$eltd_tabs_with_icon_text_size_style[] = 'padding-right: '.$eltd_options['tabs_with_icon_text_padding_right'].'px';
}

if(is_array($eltd_tabs_with_icon_text_size_style) && count($eltd_tabs_with_icon_text_size_style)) { ?>
	.eltd_tabs.tab_with_text_and_icon .tabs-nav li a{
		<?php echo esc_attr(implode(';', $eltd_tabs_with_icon_text_size_style)); ?>
    }
<?php } ?>

<?php
if(isset($eltd_options['tab_bae_hor_no_marg_background_color']) && $eltd_options['tab_bae_hor_no_marg_background_color'] != "" ){ ?>
		.eltd_tabs.border_arround_element.horizontal.disable_margin .tabs-nav li:not(.active) a{
		background-color : <?php echo esc_attr($eltd_options['tab_bae_hor_no_marg_background_color']); ?>;
		}
<?php }

if(isset($eltd_options['tab_bae_hor_no_marg_border_color']) && $eltd_options['tab_bae_hor_no_marg_border_color'] != "" ){ ?>
	.eltd_tabs.border_arround_element.horizontal.disable_margin .tabs-nav li:not(.active) a,
	.eltd_tabs.border_arround_element.horizontal.disable_margin .tabs-nav li:not(.active):last-child a	{
		border-color : <?php echo esc_attr($eltd_options['tab_bae_hor_no_marg_border_color']); ?>;
	}
	@media only screen and (max-width: 600px){
		.eltd_tabs.border_arround_element.horizontal.disable_margin .tabs-nav li:not(.active) a,
		.eltd_tabs.border_arround_element.horizontal.disable_margin .tabs-nav li:not(.active):last-child a,
		.eltd_tabs.border_arround_element.horizontal.disable_margin .tabs-nav li:not(:last-child) a{
			border-color : <?php echo esc_attr($eltd_options['tab_bae_hor_no_marg_border_color']) ?>;
		}
	}
<?php } ?>

<?php 

if(isset($eltd_options['tab_bae_hor_no_marg_border_hover_color']) && $eltd_options['tab_bae_hor_no_marg_border_hover_color'] != "" ){ ?>
	.eltd_tabs.border_arround_element.horizontal.disable_margin .tabs-nav li:not(.active):hover a,
	.eltd_tabs.border_arround_element.horizontal.disable_margin .tabs-nav li.active a{
		border-left-color: <?php echo esc_attr($eltd_options['tab_bae_hor_no_marg_border_hover_color'])?>;
		border-top-color: <?php echo esc_attr($eltd_options['tab_bae_hor_no_marg_border_hover_color']) ?>;
		border-bottom-color:  <?php echo esc_attr($eltd_options['tab_bae_hor_no_marg_border_hover_color']) ?>;
	}
	
	.eltd_tabs.border_arround_element.horizontal.disable_margin .tabs-nav li.active + li:not(.active) a, 
	.eltd_tabs.border_arround_element.horizontal.disable_margin .tabs-nav li:hover + li:not(.active) a {
		border-left-color: <?php echo esc_attr($eltd_options['tab_bae_hor_no_marg_border_hover_color'])?>;
	}

	.eltd_tabs.border_arround_element.horizontal.disable_margin .tabs-nav li:hover a:after,
	.eltd_tabs.border_arround_element.horizontal.disable_margin .tabs-nav li.active a:after,
	.eltd_tabs.border_arround_element.horizontal.disable_margin .tabs-nav li.active:hover a:after{
		background-color: <?php echo esc_attr($eltd_options['tab_bae_hor_no_marg_border_hover_color']); ?>;
	}

	.eltd_tabs.border_arround_element.horizontal.disable_margin .tabs-nav li:last-child:hover a,
	.eltd_tabs.border_arround_element.horizontal.disable_margin .tabs-nav li:not(.active):last-child:hover a,
	.eltd_tabs.border_arround_element.horizontal.disable_margin .tabs-nav li.active:last-child a{
		border-color: <?php echo esc_attr($eltd_options['tab_bae_hor_no_marg_border_hover_color']); ?>;
	}

	@media only screen and (max-width: 600px){
	.eltd_tabs.border_arround_element.horizontal.disable_margin .tabs-nav li:not(.active):hover a,
	.eltd_tabs.border_arround_element.horizontal.disable_margin .tabs-nav li.active a,
	.eltd_tabs.border_arround_element.horizontal.disable_margin .tabs-nav li.active:hover a{
			border-color : <?php echo esc_attr($eltd_options['tab_bae_hor_no_marg_border_hover_color']) ?>;
		}
	}

<?php } ?>

<?php if(isset($eltd_options['tab_bae_hor_no_marg_background_color_hover']) && $eltd_options['tab_bae_hor_no_marg_background_color_hover'] != "" ){ ?>
	.eltd_tabs.border_arround_element.horizontal.disable_margin .tabs-nav li.active a,
	.eltd_tabs.border_arround_element.horizontal.disable_margin .tabs-nav li:not(.active):hover a {
		background-color : <?php echo esc_attr($eltd_options['tab_bae_hor_no_marg_background_color_hover']); ?>;
	}
	@media only screen and (min-width: 600px){
	.eltd_tabs.border_arround_element.horizontal.disable_margin:not(.transparent_tabs) .tabs-nav li.active a{
		border-bottom-color:  <?php echo esc_attr($eltd_options['tab_bae_hor_no_marg_background_color_hover']) ?>;
	}
	}
<?php } ?>

<?php
if(isset($eltd_options['tab_bae_hor_no_marg_text_color']) && $eltd_options['tab_bae_hor_no_marg_text_color'] != "" ){ ?>
		.eltd_tabs.border_arround_element.horizontal.disable_margin .tabs-nav li a{
			color : <?php echo esc_attr($eltd_options['tab_bae_hor_no_marg_text_color']); ?>;
		}
<?php }	?>

<?php
if(isset($eltd_options['tab_bae_hor_no_marg_active_text_color']) && $eltd_options['tab_bae_hor_no_marg_active_text_color'] != "" ){ ?>
		.eltd_tabs.border_arround_element.horizontal.disable_margin .tabs-nav li.active a,
		.eltd_tabs.border_arround_element.horizontal.disable_margin .tabs-nav li:hover a{
			color : <?php echo esc_attr($eltd_options['tab_bae_hor_no_marg_active_text_color']); ?>;
		}
<?php } ?>

<?php if(isset($eltd_options['ver_tab_bae_background_color']) && $eltd_options['ver_tab_bae_background_color'] != "" ){ ?>
	.eltd_tabs.border_arround_element.vertical.disable_margin .tabs-nav li:not(.active) a{
		background-color: <?php echo esc_attr($eltd_options['ver_tab_bae_background_color']); ?>;
	}

<?php } ?>

<?php if(isset($eltd_options['ver_tab_bae_background_color_hover']) && $eltd_options['ver_tab_bae_background_color_hover'] != "" ){ ?>
	.eltd_tabs.border_arround_element.vertical.disable_margin .tabs-nav li:not(.active):hover a,
	.eltd_tabs.border_arround_element.vertical.disable_margin .tabs-nav li.active a,
	.eltd_tabs.border_arround_element.vertical.disable_margin .tabs-nav li.active:hover a{
		background-color: <?php echo esc_attr($eltd_options['ver_tab_bae_background_color_hover']); ?>;
	}
	@media only screen and (min-width: 600px){
		.eltd_tabs.border_arround_element.vertical.disable_margin.left:not(.transparent_tabs) .tabs-nav li.active{
			border-right-color: <?php echo esc_attr($eltd_options['ver_tab_bae_background_color_hover']); ?>;
		}
		.eltd_tabs.border_arround_element.vertical.disable_margin.right:not(.transparent_tabs) .tabs-nav li.active{
			border-left-color: <?php echo esc_attr($eltd_options['ver_tab_bae_background_color_hover']); ?>;
		}
	}

<?php } ?>

<?php if(isset($eltd_options['ver_tab_bae_border_color']) && $eltd_options['ver_tab_bae_border_color'] != "" ){ ?>
	.eltd_tabs.border_arround_element.vertical.disable_margin .tabs-nav li:not(.active){
		border-color: <?php echo esc_attr($eltd_options['ver_tab_bae_border_color']); ?>;
	}
<?php } ?>
	
<?php if(isset($eltd_options['ver_tab_bae_border_color_hover']) && $eltd_options['ver_tab_bae_border_color_hover'] != "" ){ ?>
	.eltd_tabs.border_arround_element.vertical.disable_margin .tabs-nav li:hover,
	.eltd_tabs.border_arround_element.vertical.disable_margin .tabs-nav li.active{
		border-left-color:  <?php echo esc_attr($eltd_options['ver_tab_bae_border_color_hover']); ?>;
		border-top-color:  <?php echo esc_attr($eltd_options['ver_tab_bae_border_color_hover']); ?>;
		border-right-color:  <?php echo esc_attr($eltd_options['ver_tab_bae_border_color_hover']); ?>;
	}

	.eltd_tabs.border_arround_element.vertical.disable_margin .tabs-nav li:hover + li,
	.eltd_tabs.border_arround_element.vertical.disable_margin .tabs-nav li.active + li{
		border-top-color:  <?php echo esc_attr($eltd_options['ver_tab_bae_border_color_hover']); ?>;
	}

	.eltd_tabs.border_arround_element.vertical.disable_margin .tabs-nav li:last-child:hover,
	.eltd_tabs.border_arround_element.vertical.disable_margin .tabs-nav li.active:last-child{
		border-bottom-color: <?php echo esc_attr($eltd_options['ver_tab_bae_border_color_hover']); ?>;
	}
<?php } ?>	

<?php if(isset($eltd_options['ver_tab_bae_text_color']) && $eltd_options['ver_tab_bae_text_color'] != "" ){ ?>
	.eltd_tabs.border_arround_element.vertical.disable_margin .tabs-nav li a{
		color: <?php echo esc_attr($eltd_options['ver_tab_bae_text_color']); ?>;
	}
<?php } ?>

<?php if(isset($eltd_options['ver_tab_bae_active_text_color']) && $eltd_options['ver_tab_bae_active_text_color'] != "" ){ ?>
	.eltd_tabs.border_arround_element.vertical.disable_margin .tabs-nav li.active a,
	.eltd_tabs.border_arround_element.vertical.disable_margin .tabs-nav li:hover a{
		color: <?php echo esc_attr($eltd_options['ver_tab_bae_active_text_color']); ?>;
	}
<?php } ?>

<?php
$tabs_container_style = array();

if(isset($eltd_options['tabs_content_text_size']) && $eltd_options['tabs_content_text_size'] !== '') {
    $tabs_container_style[] = 'font-size: '.$eltd_options['tabs_content_text_size'].'px';
}

if(isset($eltd_options['tabs_content_background_color']) && $eltd_options['tabs_content_background_color'] !== '') {
    $tabs_container_style[] = 'background-color: '.$eltd_options['tabs_content_background_color'];
}

if(isset($eltd_options['tabs_content_border_color']) && $eltd_options['tabs_content_border_color'] !== '') {
    $tabs_container_style[] = 'border-color: '.$eltd_options['tabs_content_border_color'];
}

if(isset($eltd_options['tabs_content_padding_left']) && $eltd_options['tabs_content_padding_left'] !== '') {
    $tabs_container_style[] = 'padding-left: '.$eltd_options['tabs_content_padding_left'].'px';
}
if(isset($eltd_options['tabs_content_padding_right']) && $eltd_options['tabs_content_padding_right'] !== '') {
    $tabs_container_style[] = 'padding-right: '.$eltd_options['tabs_content_padding_right'].'px';
}

if(isset($eltd_options['tabs_content_padding_top']) && $eltd_options['tabs_content_padding_top'] !== '') {
    $tabs_container_style[] = 'padding-top: '.$eltd_options['tabs_content_padding_top'].'px !important';
}

if(isset($eltd_options['tabs_content_padding_bottom']) && $eltd_options['tabs_content_padding_bottom'] !== '') {
    $tabs_container_style[] = 'padding-bottom: '.$eltd_options['tabs_content_padding_bottom'].'px';
}

if(is_array($tabs_container_style) && count($tabs_container_style)) { ?>
     .eltd_tabs.horizontal .tabs-container,
	 .eltd_tabs.with_borders.horizontal .tabs-container{
    <?php echo esc_attr(implode(';', $tabs_container_style)); ?>
    }
<?php } ?>

<?php

$tabs_vertical_container_style = array();

if(isset($eltd_options['tabs_vertical_content_text_size']) && $eltd_options['tabs_vertical_content_text_size'] !== '') {
    $tabs_container_style[] = 'font-size: '.$eltd_options['tabs_vertical_content_text_size'].'px';
}

if(isset($eltd_options['tabs_vertical_content_background_color']) && $eltd_options['tabs_vertical_content_background_color'] !== '') {
    $tabs_vertical_container_style[] = 'background-color: '.$eltd_options['tabs_vertical_content_background_color'];
}
if(isset($eltd_options['tabs_vertical_content_border_color']) && $eltd_options['tabs_vertical_content_border_color'] !== '') {
    $tabs_vertical_container_style[] = 'border-color: '.$eltd_options['tabs_vertical_content_border_color'];
}
if(isset($eltd_options['tabs_vertical_content_padding_left']) && $eltd_options['tabs_vertical_content_padding_left'] !== '') {
    $tabs_vertical_container_style[] = 'padding-left: '.$eltd_options['tabs_vertical_content_padding_left'].'px';
}
if(isset($eltd_options['tabs_vertical_content_padding_right']) && $eltd_options['tabs_vertical_content_padding_right'] !== '') {
    $tabs_vertical_container_style[] = 'padding-right: '.$eltd_options['tabs_vertical_content_padding_right'].'px';
}

if(isset($eltd_options['tabs_vertical_content_padding_top']) && $eltd_options['tabs_vertical_content_padding_top'] !== '') {
    $tabs_vertical_container_style[] = 'padding-top: '.$eltd_options['tabs_vertical_content_padding_top'].'px !important';
}

if(isset($eltd_options['tabs_vertical_content_padding_bottom']) && $eltd_options['tabs_vertical_content_padding_bottom'] !== '') {
    $tabs_vertical_container_style[] = 'padding-bottom: '.$eltd_options['tabs_vertical_content_padding_bottom'].'px';
}

if(is_array($tabs_vertical_container_style) && count($tabs_vertical_container_style)) { ?>
     .eltd_tabs.vertical .tabs-container,
	 .eltd_tabs.with_borders.vertical .tabs-container{
    <?php echo esc_attr(implode(';', $tabs_vertical_container_style)); ?>
    }
<?php } ?>


<?php
/*Blog List - Boxes*/

$blog_list_boxes_padding_styles = array();

if(isset($eltd_options['blog_list_boxes_padding_top']) && $eltd_options['blog_list_boxes_padding_top'] !== '') {
    $blog_list_boxes_padding_styles[] = 'padding-top: '.$eltd_options['blog_list_boxes_padding_top'].'px';
}

if(isset($eltd_options['blog_list_boxes_padding_right']) && $eltd_options['blog_list_boxes_padding_right'] !== '') {
    $blog_list_boxes_padding_styles[] = 'padding-right: '.$eltd_options['blog_list_boxes_padding_right'].'px';
}

if(isset($eltd_options['blog_list_boxes_padding_bottom']) && $eltd_options['blog_list_boxes_padding_bottom'] !== '') {
    $blog_list_boxes_padding_styles[] = 'padding-bottom: '.$eltd_options['blog_list_boxes_padding_bottom'].'px';
}

if(isset($eltd_options['blog_list_boxes_padding_left']) && $eltd_options['blog_list_boxes_padding_left'] !== '') {
    $blog_list_boxes_padding_styles[] = 'padding-left: '.$eltd_options['blog_list_boxes_padding_left'].'px';
}

if(is_array($blog_list_boxes_padding_styles) && count($blog_list_boxes_padding_styles)) { ?>
    .latest_post_holder.boxes.has_background .latest_post,
	.latest_post_holder.boxes .latest_post {
    <?php echo esc_attr(implode(';', $blog_list_boxes_padding_styles)); ?>
    }

<?php }?>

<?php
if(isset($eltd_options['blog_list_boxes_title_margin_bottom']) && $eltd_options['blog_list_boxes_title_margin_bottom']!=''){ ?>
    .latest_post_holder.boxes .latest_post .latest_post_title_holder{
        margin-bottom: <?php echo esc_attr($eltd_options['blog_list_boxes_title_margin_bottom']).'px'?>
    }
    <?php
}
?>

<?php
if(isset($eltd_options['blog_list_boxes_post_info_margin_bottom']) && $eltd_options['blog_list_boxes_post_info_margin_bottom']!=''){ ?>
    .latest_post_holder.boxes .latest_post .post_info_section,
    .latest_post_holder.boxes .latest_post .latest_post_date_over_title_holder{
        margin-bottom: <?php echo esc_attr($eltd_options['blog_list_boxes_post_info_margin_bottom']).'px'?>
    }
    <?php
}
?>

<?php
if(isset($eltd_options['blog_list_boxes_read_more_margin_top']) && $eltd_options['blog_list_boxes_read_more_margin_top']!=''){ ?>
    .latest_post_holder.boxes .latest_post a.qbutton{
        margin-top: <?php echo esc_attr($eltd_options['blog_list_boxes_read_more_margin_top']).'px'?>
    }
    <?php
}
?>


<?php
$blog_list_boxes_title_styles = array();

if(isset($eltd_options['blog_list_boxes_title_font_family']) && $eltd_options['blog_list_boxes_title_font_family'] !== '-1') {
    $blog_list_boxes_title_styles[] = 'font-family: '.str_replace('+', ' ', $eltd_options['blog_list_boxes_title_font_family']).', sans-serif';
}

if(isset($eltd_options['blog_list_boxes_title_font_size']) && $eltd_options['blog_list_boxes_title_font_size'] !== '') {
    $blog_list_boxes_title_styles[] = 'font-size: '.$eltd_options['blog_list_boxes_title_font_size'].'px';
}

if(isset($eltd_options['blog_list_boxes_title_line_height']) && $eltd_options['blog_list_boxes_title_line_height'] !== '') {
    $blog_list_boxes_title_styles[] = 'line-height: '.$eltd_options['blog_list_boxes_title_line_height'].'px';
}

if(isset($eltd_options['blog_list_boxes_title_letter_spacing']) && $eltd_options['blog_list_boxes_title_letter_spacing'] !== '') {
    $blog_list_boxes_title_styles[] = 'letter-spacing: '.$eltd_options['blog_list_boxes_title_letter_spacing'].'px';
}

if(isset($eltd_options['blog_list_boxes_title_font_weight']) && $eltd_options['blog_list_boxes_title_font_weight'] !== '') {
    $blog_list_boxes_title_styles[] = 'font-weight: '.$eltd_options['blog_list_boxes_title_font_weight'];
}

if(isset($eltd_options['blog_list_boxes_title_font_style']) && $eltd_options['blog_list_boxes_title_font_style'] !== '') {
    $blog_list_boxes_title_styles[] = 'font-style: '.$eltd_options['blog_list_boxes_title_font_style'];
}

if(isset($eltd_options['blog_list_boxes_title_text_transform']) && $eltd_options['blog_list_boxes_title_text_transform'] !== '') {
    $blog_list_boxes_title_styles[] = 'text-transform: '.$eltd_options['blog_list_boxes_title_text_transform'];
}

if(isset($eltd_options['blog_list_boxes_title_color']) && $eltd_options['blog_list_boxes_title_color'] !== '') {
    $blog_list_boxes_title_styles[] = 'color: '.$eltd_options['blog_list_boxes_title_color'];
}

if(is_array($blog_list_boxes_title_styles) && count($blog_list_boxes_title_styles)) { ?>
    .boxes .latest_post_text .latest_post_title > *{
    <?php echo esc_attr(implode(';', $blog_list_boxes_title_styles)); ?>
    }

<?php }?>

<?php
if(isset($eltd_options['blog_list_boxes_title_hover_color']) && $eltd_options['blog_list_boxes_title_hover_color'] !== '') {?>

    .boxes .latest_post_text .latest_post_title a:hover{
        color: <?php echo esc_attr($eltd_options['blog_list_boxes_title_hover_color']); ?>;
    }


<?php } ?>

<?php
$blog_list_boxes_post_info_styles = array();

if(isset($eltd_options['blog_list_boxes_post_info_font_family']) && $eltd_options['blog_list_boxes_post_info_font_family'] !== '-1') {
    $blog_list_boxes_post_info_styles[] = 'font-family: '.str_replace('+', ' ', $eltd_options['blog_list_boxes_post_info_font_family']).', sans-serif';
}

if(isset($eltd_options['blog_list_boxes_post_info_font_size']) && $eltd_options['blog_list_boxes_post_info_font_size'] !== '') {
    $blog_list_boxes_post_info_styles[] = 'font-size: '.$eltd_options['blog_list_boxes_post_info_font_size'].'px';
}

if(isset($eltd_options['blog_list_boxes_post_info_line_height']) && $eltd_options['blog_list_boxes_post_info_line_height'] !== '') {
    $blog_list_boxes_post_info_styles[] = 'line-height: '.$eltd_options['blog_list_boxes_post_info_line_height'].'px';
}

if(isset($eltd_options['blog_list_boxes_post_info_letter_spacing']) && $eltd_options['blog_list_boxes_post_info_letter_spacing'] !== '') {
    $blog_list_boxes_post_info_styles[] = 'letter-spacing: '.$eltd_options['blog_list_boxes_post_info_letter_spacing'].'px';
}

if(isset($eltd_options['blog_list_boxes_post_info_font_weight']) && $eltd_options['blog_list_boxes_post_info_font_weight'] !== '') {
    $blog_list_boxes_post_info_styles[] = 'font-weight: '.$eltd_options['blog_list_boxes_post_info_font_weight'];
}

if(isset($eltd_options['blog_list_boxes_post_info_font_style']) && $eltd_options['blog_list_boxes_post_info_font_style'] !== '') {
    $blog_list_boxes_post_info_styles[] = 'font-style: '.$eltd_options['blog_list_boxes_post_info_font_style'];
}

if(isset($eltd_options['blog_list_boxes_post_info_text_transform']) && $eltd_options['blog_list_boxes_post_info_text_transform'] !== '') {
    $blog_list_boxes_post_info_styles[] = 'text-transform: '.$eltd_options['blog_list_boxes_post_info_text_transform'];
}

if(isset($eltd_options['blog_list_boxes_post_info_color']) && $eltd_options['blog_list_boxes_post_info_color'] !== '') {
    $blog_list_boxes_post_info_styles[] = 'color: '.$eltd_options['blog_list_boxes_post_info_color'];?>
	.boxes .latest_post_text .post_info_section .post_author_link,
	.boxes .latest_post_text .post_info_section span{
		color:<?php echo esc_attr($eltd_options['blog_list_boxes_post_info_color']); ?>
	}
	<?php
}

if(is_array($blog_list_boxes_post_info_styles) && count($blog_list_boxes_post_info_styles)) { ?>
    .boxes .latest_post_text .post_info_section,
    .boxes .latest_post_text .post_info_section a,
	.boxes .post_info_section .date{
    <?php echo esc_attr(implode(';', $blog_list_boxes_post_info_styles)); ?>
    }

<?php }?>


<?php
if(isset($eltd_options['blog_list_boxes_post_info_link_color']) && $eltd_options['blog_list_boxes_post_info_link_color'] !== '') {?>

    .boxes .latest_post_text .post_info_section a{
        color: <?php echo esc_attr($eltd_options['blog_list_boxes_post_info_link_color']); ?>;
    }

<?php } ?>

<?php
if(isset($eltd_options['blog_list_boxes_post_info_link_hover_color']) && $eltd_options['blog_list_boxes_post_info_link_hover_color'] !== '') {?>

    .boxes .latest_post_text .post_info_section a:not(.share_link):hover, 
	.boxes .latest_post_text .post_info_section a:not(.share_link):hover > span:not(.author_icon){
        color: <?php echo esc_attr($eltd_options['blog_list_boxes_post_info_link_hover_color']); ?>;
    }

<?php } ?>

<?php
if(isset($eltd_options['blog_list_boxes_post_info_link_font_weight']) && $eltd_options['blog_list_boxes_post_info_link_font_weight'] !== '') {?>

    .boxes .latest_post_text .post_info_section a{
        font-weight: <?php echo esc_attr($eltd_options['blog_list_boxes_post_info_link_font_weight']); ?>;
    }

<?php } ?>

<?php
$blog_list_boxes_date_style = array();
if(isset($eltd_options['blog_list_boxes_date_color']) && $eltd_options['blog_list_boxes_date_color'] !== '') {
	$blog_list_boxes_date_style[] = 'color: ' . $eltd_options['blog_list_boxes_date_color'];
}

if(isset($eltd_options['blog_list_boxes_date_bckg_color']) && $eltd_options['blog_list_boxes_date_bckg_color'] !== '') {
	$blog_list_boxes_date_style[] = 'background-color: ' . $eltd_options['blog_list_boxes_date_bckg_color'];
}

if(is_array($blog_list_boxes_date_style) && count($blog_list_boxes_date_style)){ ?>
	.latest_post_holder.boxes .boxes_corner_info .latest_post_date_corner_holder{
	<?php echo esc_attr(implode('; ', $blog_list_boxes_date_style)); ?>
	}
<?php }
?>

<?php

if (isset($eltd_options['blog_list_boxes_comments_color']) && $eltd_options['blog_list_boxes_comments_color'] !== ''){ ?>
	.latest_post_holder.boxes .boxes_corner_info .latest_post_comments_corner a{
		color: <?php echo esc_attr($eltd_options['blog_list_boxes_comments_color']);?>;
	}
<?php }

if (isset($eltd_options['blog_list_boxes_comments_bckg_color']) && $eltd_options['blog_list_boxes_comments_bckg_color'] !== ''){ ?>
	.latest_post_holder.boxes .boxes_corner_info .latest_post_comments_corner{
		background-color: <?php echo esc_attr($eltd_options['blog_list_boxes_comments_bckg_color']);?>;
	}
<?php }

?>

<?php
if(isset($eltd_options['blog_list_minimal_title_margin_bottom']) && $eltd_options['blog_list_minimal_title_margin_bottom']!=''){ ?>
	.latest_post_holder.minimal .latest_post .latest_post_title{
		margin-bottom: <?php echo esc_attr($eltd_options['blog_list_minimal_title_margin_bottom']).'px'?>
	}
	<?php
}
?>

<?php
if(isset($eltd_options['blog_list_minimal_post_info_margin_bottom']) && $eltd_options['blog_list_minimal_post_info_margin_bottom']!=''){ ?>
	.latest_post_holder.minimal .latest_post .post_info_section{
		margin-bottom: <?php echo esc_attr($eltd_options['blog_list_minimal_post_info_margin_bottom']).'px'?>
	}
	<?php
}
?>

<?php
if(isset($eltd_options['blog_list_minimal_read_more_margin_top']) && $eltd_options['blog_list_minimal_read_more_margin_top']!=''){ ?>
	.latest_post_holder.minimal .latest_post a.qbutton{
		margin-top: <?php echo esc_attr($eltd_options['blog_list_minimal_read_more_margin_top']).'px'?>
	}
	<?php
}
?>

<?php
/* Blog List Masonry */

$blog_list_masonry_padding_styles = array();

if(isset($eltd_options['blog_list_masonry_padding_top']) && $eltd_options['blog_list_masonry_padding_top'] !== '') {
    $blog_list_masonry_padding_styles[] = 'padding-top: '.$eltd_options['blog_list_masonry_padding_top'].'px';
}
if(isset($eltd_options['blog_list_masonry_padding_right']) && $eltd_options['blog_list_masonry_padding_right'] !== '') {
    $blog_list_masonry_padding_styles[] = 'padding-right: '.$eltd_options['blog_list_masonry_padding_right'].'px';
}
if(isset($eltd_options['blog_list_masonry_padding_bottom']) && $eltd_options['blog_list_masonry_padding_bottom'] !== '') {
    $blog_list_masonry_padding_styles[] = 'padding-bottom: '.$eltd_options['blog_list_masonry_padding_bottom'].'px';
}
if(isset($eltd_options['blog_list_masonry_padding_left']) && $eltd_options['blog_list_masonry_padding_left'] !== '') {
    $blog_list_masonry_padding_styles[] = 'padding-left: '.$eltd_options['blog_list_masonry_padding_left'].'px';
}
if (is_array($blog_list_masonry_padding_styles) && count($blog_list_masonry_padding_styles)) { ?>

    .latest_post_holder.masonry .blog-list-masonry-item .latest_post {
    <?php echo esc_attr(implode(';', $blog_list_masonry_padding_styles)); ?>
    }

<?php }

if(isset($eltd_options['blog_list_masonry_title_margin_bottom']) && $eltd_options['blog_list_masonry_title_margin_bottom'] !== '') { ?>
    .latest_post_holder.masonry .blog-list-masonry-item .latest_post .latest_post_title  {
        margin-bottom: <?php echo esc_attr($eltd_options['blog_list_masonry_title_margin_bottom']).'px;' ?>
	}
<?php }

if(isset($eltd_options['blog_list_masonry_post_info_margin_bottom']) && $eltd_options['blog_list_masonry_post_info_margin_bottom'] !== '') { ?>
    .latest_post_holder.masonry .blog-list-masonry-item .latest_post .post_info  {
        margin-bottom: <?php echo esc_attr($eltd_options['blog_list_masonry_post_info_margin_bottom']).'px;' ?>
	}
<?php }

$blog_list_masonry_title_styles = array();

if(isset($eltd_options['blog_list_masonry_title_color']) && $eltd_options['blog_list_masonry_title_color'] !== '') {
    $blog_list_masonry_title_styles[] = 'color: '.$eltd_options['blog_list_masonry_title_color'];
}
if(isset($eltd_options['blog_list_masonry_title_font_size']) && $eltd_options['blog_list_masonry_title_font_size'] !== '') {
    $blog_list_masonry_title_styles[] = 'font-size: '.$eltd_options['blog_list_masonry_title_font_size'].'px';
}
if(isset($eltd_options['blog_list_masonry_title_line_height']) && $eltd_options['blog_list_masonry_title_line_height'] !== '') {
    $blog_list_masonry_title_styles[] = 'line-height: '.$eltd_options['blog_list_masonry_title_line_height'].'px';
}
if(isset($eltd_options['blog_list_masonry_title_text_transform']) && $eltd_options['blog_list_masonry_title_text_transform'] !== '') {
    $blog_list_masonry_title_styles[] = 'text-transform: '.$eltd_options['blog_list_masonry_title_text_transform'];
}
if(isset($eltd_options['blog_list_masonry_title_font_family']) && $eltd_options['blog_list_masonry_title_font_family'] !== '-1') {
    $blog_list_masonry_title_styles[] = 'font-family: '.str_replace('+', ' ', $eltd_options['blog_list_masonry_title_font_family']);
}
if(isset($eltd_options['blog_list_masonry_title_font_style']) && $eltd_options['blog_list_masonry_title_font_style'] !== '') {
    $blog_list_masonry_title_styles[] = 'font-style: '.$eltd_options['blog_list_masonry_title_font_style'];
}
if(isset($eltd_options['blog_list_masonry_title_font_weight']) && $eltd_options['blog_list_masonry_title_font_weight'] !== '') {
    $blog_list_masonry_title_styles[] = 'font-weight: '.$eltd_options['blog_list_masonry_title_font_weight'];
}
if(isset($eltd_options['blog_list_masonry_title_letter_spacing']) && $eltd_options['blog_list_masonry_title_letter_spacing'] !== '') {
    $blog_list_masonry_title_styles[] = 'letter-spacing: '.$eltd_options['blog_list_masonry_title_letter_spacing'].'px';
}

if (is_array($blog_list_masonry_title_styles) && count($blog_list_masonry_title_styles)) { ?>

    .latest_post_holder.masonry .blog-list-masonry-item .latest_post .latest_post_title a {
    <?php echo esc_attr(implode(';', $blog_list_masonry_title_styles)); ?>
    }

<?php }

$blog_list_masonry_hover_title_styles = array();

if(isset($eltd_options['blog_list_masonry_title_hover_color']) && $eltd_options['blog_list_masonry_title_hover_color'] !== '') {
    $blog_list_masonry_hover_title_styles[] = 'color: '.$eltd_options['blog_list_masonry_title_hover_color'];
}

if (is_array($blog_list_masonry_hover_title_styles) && count($blog_list_masonry_hover_title_styles)) { ?>

    .latest_post_holder.masonry .blog-list-masonry-item .latest_post .latest_post_title a:hover {
    <?php echo esc_attr(implode(';', $blog_list_masonry_hover_title_styles)); ?>
    }

<?php }

if(isset($eltd_options['blog_list_masonry_date_color']) && $eltd_options['blog_list_masonry_date_color'] !== '') { ?>

	.latest_post_holder.masonry .blog-list-masonry-item .post_info .date {
		color: <?php echo esc_attr($eltd_options['blog_list_masonry_date_color']); ?>
	}

<?php }

if(isset($eltd_options['blog_list_masonry_post_info_link_color']) && $eltd_options['blog_list_masonry_post_info_link_color'] !== '') { ?>

	.latest_post_holder.masonry .blog-list-masonry-item .post_info .post_author_link a,
	.latest_post_holder.masonry .blog-list-masonry-item .post_info .post_categories a {
		color: <?php echo esc_attr($eltd_options['blog_list_masonry_post_info_link_color']); ?>
	}

<?php }

if(isset($eltd_options['blog_list_masonry_post_info_link_hover_color']) && $eltd_options['blog_list_masonry_post_info_link_hover_color'] !== '') { ?>

	.latest_post_holder.masonry .blog-list-masonry-item .post_info .post_author_link a:hover,
	.latest_post_holder.masonry .blog-list-masonry-item .post_info .post_categories a:hover {
		color: <?php echo esc_attr($eltd_options['blog_list_masonry_post_info_link_hover_color']); ?>
	}

<?php }

$blog_list_masonry_post_info_styles = array();

if(isset($eltd_options['blog_list_masonry_post_info_font_size']) && $eltd_options['blog_list_masonry_post_info_font_size'] !== '') {
	$blog_list_masonry_post_info_styles[] = 'font-size: '.$eltd_options['blog_list_masonry_post_info_font_size'].'px';
}

if(isset($eltd_options['blog_list_masonry_post_info_line_height']) && $eltd_options['blog_list_masonry_post_info_line_height'] !== '') {
	$blog_list_masonry_post_info_styles[] = 'line-height: '.$eltd_options['blog_list_masonry_post_info_line_height'].'px';
}

if(isset($eltd_options['blog_list_masonry_post_info_text_transform']) && $eltd_options['blog_list_masonry_post_info_text_transform'] !== '') {
	$blog_list_masonry_post_info_styles[] = 'text-transform: '.$eltd_options['blog_list_masonry_post_info_text_transform'];
}

if(isset($eltd_options['blog_list_masonry_post_info_font_family']) && $eltd_options['blog_list_masonry_post_info_font_family'] !== '-1') {
	$blog_list_masonry_post_info_styles[] = 'font-family: '.str_replace('+', ' ', $eltd_options['blog_list_masonry_post_info_font_family']);
}

if(isset($eltd_options['blog_list_masonry_post_info_font_style']) && $eltd_options['blog_list_masonry_post_info_font_style'] !== '') {
	$blog_list_masonry_post_info_styles[] = 'font-style: '.$eltd_options['blog_list_masonry_post_info_font_style'];
}

if(isset($eltd_options['blog_list_masonry_post_info_font_weight']) && $eltd_options['blog_list_masonry_post_info_font_weight'] !== '') {
	$blog_list_masonry_post_info_styles[] = 'font-weight: '.$eltd_options['blog_list_masonry_post_info_font_weight'];
}

if(isset($eltd_options['blog_list_masonry_post_info_letter_spacing']) && $eltd_options['blog_list_masonry_post_info_letter_spacing'] !== '') {
	$blog_list_masonry_post_info_styles[] = 'letter-spacing: '.$eltd_options['blog_list_masonry_post_info_letter_spacing'].'px';
}

if (is_array($blog_list_masonry_post_info_styles) && count($blog_list_masonry_post_info_styles)) { ?>

	.latest_post_holder.masonry .blog-list-masonry-item .latest_post .post_info {
    <?php echo esc_attr(implode(';', $blog_list_masonry_post_info_styles)); ?>
    }

<?php }

$blog_list_masonry_post_info_border_styles = array();

if(isset($eltd_options['blog_list_masonry_post_info_border_color']) && $eltd_options['blog_list_masonry_post_info_border_color'] !== '') {
	$blog_list_masonry_post_info_border_styles[] = 'border-left-color: '.$eltd_options['blog_list_masonry_post_info_border_color'];
}
if(isset($eltd_options['blog_list_masonry_post_info_border_width']) && $eltd_options['blog_list_masonry_post_info_border_width'] !== '') {
	$blog_list_masonry_post_info_border_styles[] = 'border-left-width: '.$eltd_options['blog_list_masonry_post_info_border_width'].'px';
}

if (is_array($blog_list_masonry_post_info_border_styles) && count($blog_list_masonry_post_info_border_styles)) { ?>

	.latest_post_holder.masonry .blog-list-masonry-item .latest_post .post_info span {
    <?php echo esc_attr(implode(';', $blog_list_masonry_post_info_border_styles)); ?>
    }

<?php }

/*Blog List Image in Left Box*/

$blog_list_img_in_lbox_title_styles = array();

if(isset($eltd_options['blog_list_img_in_lbox_title_font_family']) && $eltd_options['blog_list_img_in_lbox_title_font_family'] !== '-1') {
    $blog_list_img_in_lbox_title_styles[] = 'font-family: '.str_replace('+', ' ', $eltd_options['blog_list_img_in_lbox_title_font_family']).', sans-serif';
}

if(isset($eltd_options['blog_list_img_in_lbox_title_font_size']) && $eltd_options['blog_list_img_in_lbox_title_font_size'] !== '') {
    $blog_list_img_in_lbox_title_styles[] = 'font-size: '.$eltd_options['blog_list_img_in_lbox_title_font_size'].'px';
}

if(isset($eltd_options['blog_list_img_in_lbox_title_line_height']) && $eltd_options['blog_list_img_in_lbox_title_line_height'] !== '') {
    $blog_list_img_in_lbox_title_styles[] = 'line-height: '.$eltd_options['blog_list_img_in_lbox_title_line_height'].'px';
}

if(isset($eltd_options['blog_list_img_in_lbox_title_letter_spacing']) && $eltd_options['blog_list_img_in_lbox_title_letter_spacing'] !== '') {
    $blog_list_img_in_lbox_title_styles[] = 'letter-spacing: '.$eltd_options['blog_list_img_in_lbox_title_letter_spacing'].'px';
}

if(isset($eltd_options['blog_list_img_in_lbox_title_font_weight']) && $eltd_options['blog_list_img_in_lbox_title_font_weight'] !== '') {
    $blog_list_img_in_lbox_title_styles[] = 'font-weight: '.$eltd_options['blog_list_img_in_lbox_title_font_weight'];
}

if(isset($eltd_options['blog_list_img_in_lbox_title_font_style']) && $eltd_options['blog_list_img_in_lbox_title_font_style'] !== '') {
    $blog_list_img_in_lbox_title_styles[] = 'font-style: '.$eltd_options['blog_list_img_in_lbox_title_font_style'];
}

if(isset($eltd_options['blog_list_img_in_lbox_title_text_transform']) && $eltd_options['blog_list_img_in_lbox_title_text_transform'] !== '') {
    $blog_list_img_in_lbox_title_styles[] = 'text-transform: '.$eltd_options['blog_list_img_in_lbox_title_text_transform'];
}

if(isset($eltd_options['blog_list_img_in_lbox_title_color']) && $eltd_options['blog_list_img_in_lbox_title_color'] !== '') {
    $blog_list_img_in_lbox_title_styles[] = 'color: '.$eltd_options['blog_list_img_in_lbox_title_color'];
}

if(is_array($blog_list_img_in_lbox_title_styles) && count($blog_list_img_in_lbox_title_styles)) { ?>
    .image_in_box .latest_post_text .latest_post_title a{
    <?php echo esc_attr(implode(';', $blog_list_img_in_lbox_title_styles)); ?>
    }

<?php }?>

<?php
if(isset($eltd_options['blog_list_img_in_lbox_title_hover_color']) && $eltd_options['blog_list_img_in_lbox_title_hover_color'] !== '') {?>

    .image_in_box .latest_post_text .latest_post_title a:hover{
        color: <?php echo esc_attr($eltd_options['blog_list_img_in_lbox_title_hover_color']); ?>;
    }


<?php } ?>

<?php
$blog_list_img_in_lbox_post_info_styles = array();

if(isset($eltd_options['blog_list_img_in_lbox_post_info_font_family']) && $eltd_options['blog_list_img_in_lbox_post_info_font_family'] !== '-1') {
    $blog_list_img_in_lbox_post_info_styles[] = 'font-family: '.str_replace('+', ' ', $eltd_options['blog_list_img_in_lbox_post_info_font_family']).', sans-serif';
}

if(isset($eltd_options['blog_list_img_in_lbox_post_info_font_size']) && $eltd_options['blog_list_img_in_lbox_post_info_font_size'] !== '') {
    $blog_list_img_in_lbox_post_info_styles[] = 'font-size: '.$eltd_options['blog_list_img_in_lbox_post_info_font_size'].'px';
}

if(isset($eltd_options['blog_list_img_in_lbox_post_info_line_height']) && $eltd_options['blog_list_img_in_lbox_post_info_line_height'] !== '') {
    $blog_list_img_in_lbox_post_info_styles[] = 'line-height: '.$eltd_options['blog_list_img_in_lbox_post_info_line_height'].'px';
}

if(isset($eltd_options['blog_list_img_in_lbox_post_info_letter_spacing']) && $eltd_options['blog_list_img_in_lbox_post_info_letter_spacing'] !== '') {
    $blog_list_img_in_lbox_post_info_styles[] = 'letter-spacing: '.$eltd_options['blog_list_img_in_lbox_post_info_letter_spacing'].'px';
}

if(isset($eltd_options['blog_list_img_in_lbox_post_info_font_weight']) && $eltd_options['blog_list_img_in_lbox_post_info_font_weight'] !== '') {
    $blog_list_img_in_lbox_post_info_styles[] = 'font-weight: '.$eltd_options['blog_list_img_in_lbox_post_info_font_weight'];
}

if(isset($eltd_options['blog_list_img_in_lbox_post_info_font_style']) && $eltd_options['blog_list_img_in_lbox_post_info_font_style'] !== '') {
    $blog_list_img_in_lbox_post_info_styles[] = 'font-style: '.$eltd_options['blog_list_img_in_lbox_post_info_font_style'];
}

if(isset($eltd_options['blog_list_img_in_lbox_post_info_text_transform']) && $eltd_options['blog_list_img_in_lbox_post_info_text_transform'] !== '') {
    $blog_list_img_in_lbox_post_info_styles[] = 'text-transform: '.$eltd_options['blog_list_img_in_lbox_post_info_text_transform'];
}

if(isset($eltd_options['blog_list_img_in_lbox_post_info_color']) && $eltd_options['blog_list_img_in_lbox_post_info_color'] !== '') {
    $blog_list_img_in_lbox_post_info_styles[] = 'color: '.$eltd_options['blog_list_img_in_lbox_post_info_color'];
}

if(is_array($blog_list_img_in_lbox_post_info_styles) && count($blog_list_img_in_lbox_post_info_styles)) { ?>
    .image_in_box .latest_post_text .post_info_section,
    .image_in_box .latest_post_text .post_info_section a,
    .image_in_box .latest_post_text .post_info_section span{
    <?php echo esc_attr(implode(';', $blog_list_img_in_lbox_post_info_styles)); ?>
    }

<?php }?>

<?php
if(isset($eltd_options['blog_list_img_in_lbox_post_info_color']) && $eltd_options['blog_list_img_in_lbox_post_info_color'] !== '') {?>

    .image_in_box .latest_post_text .post_info_section .latest_post_author a,
    .image_in_box .latest_post_text .latest_post_categories > a{
        border-color: <?php echo esc_attr($eltd_options['blog_list_img_in_lbox_post_info_color']); ?>;
    }

<?php } ?>

<?php
if(isset($eltd_options['blog_list_img_in_lbox_post_info_link_color']) && $eltd_options['blog_list_img_in_lbox_post_info_link_color'] !== '') {?>

    .image_in_box .latest_post_text .post_info_section a,
    .image_in_box .latest_post_text .post_info_section a span{
        color: <?php echo esc_attr($eltd_options['blog_list_img_in_lbox_post_info_link_color']); ?>;
    }

<?php } ?>

<?php
if(isset($eltd_options['blog_list_img_in_lbox_post_info_link_hover_color']) && $eltd_options['blog_list_img_in_lbox_post_info_link_hover_color'] !== '') {?>

    .image_in_box .latest_post_text .post_info_section a:hover{
        color: <?php echo esc_attr($eltd_options['blog_list_img_in_lbox_post_info_link_hover_color']); ?>;
    }

<?php } ?>

<?php
$blog_list_img_in_lbox_date_styles = array();

if(isset($eltd_options['blog_list_img_in_lbox_date_font_family']) && $eltd_options['blog_list_img_in_lbox_date_font_family'] !== '-1') {
    $blog_list_img_in_lbox_date_styles[] = 'font-family: '.str_replace('+', ' ', $eltd_options['blog_list_img_in_lbox_date_font_family']).', sans-serif';
}

if(isset($eltd_options['blog_list_img_in_lbox_date_font_size']) && $eltd_options['blog_list_img_in_lbox_date_font_size'] !== '') {
    $blog_list_img_in_lbox_date_styles[] = 'font-size: '.$eltd_options['blog_list_img_in_lbox_date_font_size'].'px';
}

if(isset($eltd_options['blog_list_img_in_lbox_date_line_height']) && $eltd_options['blog_list_img_in_lbox_date_line_height'] !== '') {
    $blog_list_img_in_lbox_date_styles[] = 'line-height: '.$eltd_options['blog_list_img_in_lbox_date_line_height'].'px';
}

if(isset($eltd_options['blog_list_img_in_lbox_date_letter_spacing']) && $eltd_options['blog_list_img_in_lbox_date_letter_spacing'] !== '') {
    $blog_list_img_in_lbox_date_styles[] = 'letter-spacing: '.$eltd_options['blog_list_img_in_lbox_date_letter_spacing'].'px';
}

if(isset($eltd_options['blog_list_img_in_lbox_date_font_weight']) && $eltd_options['blog_list_img_in_lbox_date_font_weight'] !== '') {
    $blog_list_img_in_lbox_date_styles[] = 'font-weight: '.$eltd_options['blog_list_img_in_lbox_date_font_weight'];
}

if(isset($eltd_options['blog_list_img_in_lbox_date_font_style']) && $eltd_options['blog_list_img_in_lbox_date_font_style'] !== '') {
    $blog_list_img_in_lbox_date_styles[] = 'font-style: '.$eltd_options['blog_list_img_in_lbox_date_font_style'];
}

if(isset($eltd_options['blog_list_img_in_lbox_date_text_transform']) && $eltd_options['blog_list_img_in_lbox_date_text_transform'] !== '') {
    $blog_list_img_in_lbox_date_styles[] = 'text-transform: '.$eltd_options['blog_list_img_in_lbox_date_text_transform'];
}

if(isset($eltd_options['blog_list_img_in_lbox_date_color']) && $eltd_options['blog_list_img_in_lbox_date_color'] !== '') {
    $blog_list_img_in_lbox_date_styles[] = 'color: '.$eltd_options['blog_list_img_in_lbox_date_color'];
}

if(is_array($blog_list_img_in_lbox_date_styles) && count($blog_list_img_in_lbox_date_styles)) { ?>
    .image_in_box .latest_post_text .date{
    <?php echo esc_attr(implode(';', $blog_list_img_in_lbox_date_styles)); ?>
    }

<?php } ?>

<?php

if(isset($eltd_options['blog_list_img_in_lbox_title_margin_bttm']) && $eltd_options['blog_list_img_in_lbox_title_margin_bttm']!=''){ ?>
    .latest_post_holder.image_in_box .latest_post .latest_post_title_holder{
        margin-bottom: <?php echo esc_attr($eltd_options['blog_list_img_in_lbox_title_margin_bttm']).'px'?>
    }
    <?php
}
?>

<?php
if(isset($eltd_options['blog_list_img_in_lbox_post_info_margin_bttm']) && $eltd_options['blog_list_img_in_lbox_post_info_margin_bttm']!=''){ ?>
    .latest_post_holder.image_in_box .latest_post .post_info_section{
        margin-bottom: <?php echo esc_attr($eltd_options['blog_list_img_in_lbox_post_info_margin_bttm']).'px'?>
    }
    <?php
}
?>

<?php
if(isset($eltd_options['blog_list_img_in_lbox_read_more_margin_top']) && $eltd_options['blog_list_img_in_lbox_read_more_margin_top']!=''){ ?>
    .latest_post_holder.image_in_box .latest_post a.qbutton{
        margin-top: <?php echo esc_attr($eltd_options['blog_list_img_in_lbox_read_more_margin_top']).'px'?>
    }
    <?php
}
?>

<?php /* Blog List End */

$accordion_toogle_title_style = array();

    if(isset($eltd_options['accordion_toogle_title_color']) && $eltd_options['accordion_toogle_title_color']!=''){
        $accordion_toogle_title_style[] = 'color: '.$eltd_options['accordion_toogle_title_color'];
    }

    if(isset($eltd_options['accordion_toogle_title_fontsize']) && $eltd_options['accordion_toogle_title_fontsize']!=''){
        $accordion_toogle_title_style[] = 'font-size: '.$eltd_options['accordion_toogle_title_fontsize'].'px';
    }

    if(isset($eltd_options['accordion_toogle_title_fontweight']) && $eltd_options['accordion_toogle_title_fontweight']!=''){
        $accordion_toogle_title_style[] = 'font-weight: '.$eltd_options['accordion_toogle_title_fontweight'];
    }

    if(is_array($accordion_toogle_title_style) && count($accordion_toogle_title_style)) { ?>
        .eltd_accordion_holder.accordion.boxed .ui-accordion-header{
            <?php echo esc_attr(implode(';', $accordion_toogle_title_style)); ?>
        }

<?php }?>

<?php
if(isset($eltd_options['accordion_toogle_title_hover_color']) && $eltd_options['accordion_toogle_title_hover_color']!=''){ ?>
	.eltd_accordion_holder.accordion.boxed .ui-accordion-header:hover,
	.eltd_accordion_holder.accordion.boxed .ui-accordion-header.ui-state-active{
		color: <?php echo esc_attr($eltd_options['accordion_toogle_title_hover_color'])?>
	}
<?php } ?>

<?php
$accordion_regular_title_style = array();

    if(isset($eltd_options['accordion_regular_title_color']) && $eltd_options['accordion_regular_title_color']!=''){
        $accordion_regular_title_style[] = 'color: '.$eltd_options['accordion_regular_title_color'];
    }

    if(isset($eltd_options['accordion_regular_title_fontsize']) && $eltd_options['accordion_regular_title_fontsize']!=''){
        $accordion_regular_title_style[] = 'font-size: '.$eltd_options['accordion_regular_title_fontsize'].'px';
    }

    if(isset($eltd_options['accordion_regular_title_fontweight']) && $eltd_options['accordion_regular_title_fontweight']!=''){
        $accordion_regular_title_style[] = 'font-weight: '.$eltd_options['accordion_regular_title_fontweight'];
    }

    if(is_array($accordion_regular_title_style) && count($accordion_toogle_title_style)) { ?>
        .eltd_accordion_holder.accordion:not(.boxed) .ui-accordion-header{
            <?php echo esc_attr(implode(';', $accordion_regular_title_style)); ?>
        }

<?php }?>

<?php
if(isset($eltd_options['accordion_regular_title_hover_color']) && $eltd_options['accordion_regular_title_hover_color']!=''){ ?>
    .eltd_accordion_holder.accordion:not(.boxed) .ui-accordion-header:hover,
    .eltd_accordion_holder.accordion:not(.boxed) .ui-accordion-header.ui-state-active{
        color: <?php echo esc_attr($eltd_options['accordion_regular_title_hover_color'])?>
    }
<?php } ?>

<?php
$accordion_toggle_mark_styles = array();
if ((isset($eltd_options['accordion_mark_background_color']) && $eltd_options['accordion_mark_background_color']!='') || (isset($eltd_options['accordion_mark_border_color']) && $eltd_options['accordion_mark_border_color']!='') || (isset($eltd_options['accordion_mark_border_radius']) && $eltd_options['accordion_mark_border_radius']!='')){

    if(isset($eltd_options['accordion_mark_background_color']) && $eltd_options['accordion_mark_background_color']!=''){
        $accordion_toggle_mark_styles[] = 'background-color: '.$eltd_options['accordion_mark_background_color'];
    }

	if(isset($eltd_options['accordion_mark_border_color']) && $eltd_options['accordion_mark_border_color']!=''){
		$accordion_toggle_mark_styles[] = 'border-color: '.$eltd_options['accordion_mark_border_color'];
	}
	elseif (isset($eltd_options['accordion_mark_background_color']) && $eltd_options['accordion_mark_background_color']!=''){
			$accordion_toggle_mark_styles[] = 'border-color: '.$eltd_options['accordion_mark_background_color'].';';
	}

	if(isset($eltd_options['accordion_mark_border_radius']) && $eltd_options['accordion_mark_border_radius']!=''){
		$accordion_toggle_mark_styles[] = 'border-radius: '.$eltd_options['accordion_mark_border_radius'].'px;';
	}
	if(is_array($accordion_toggle_mark_styles) && count($accordion_toggle_mark_styles)) { ?>
		.eltd_accordion_holder.accordion:not(.boxed) .ui-accordion-header .accordion_mark {
			<?php echo esc_attr(implode(';', $accordion_toggle_mark_styles)); ?>
		}

 <?php }}?>

<?php
$accordion_toggle_mark_hover_styles = array();
if ((isset($eltd_options['accordion_mark_background_hover_color']) && $eltd_options['accordion_mark_background_hover_color']!='') || (isset($eltd_options['accordion_mark_border_hover_color']) && $eltd_options['accordion_mark_border_hover_color']!='')){

	if(isset($eltd_options['accordion_mark_background_hover_color']) && $eltd_options['accordion_mark_background_hover_color']!=''){
		$accordion_toggle_mark_hover_styles[] = 'background-color: '.$eltd_options['accordion_mark_background_hover_color'].'!important;';
	}

	if(isset($eltd_options['accordion_mark_border_hover_color']) && $eltd_options['accordion_mark_border_hover_color']!=''){
		$accordion_toggle_mark_hover_styles[] = 'border-color: '.$eltd_options['accordion_mark_border_hover_color'];
	}
	elseif (isset($eltd_options['accordion_mark_background_hover_color']) && $eltd_options['accordion_mark_background_hover_color']!='') {
		$accordion_toggle_mark_hover_styles[] = 'border-color: '.$eltd_options['accordion_mark_background_hover_color'].';';
	}

	if(is_array($accordion_toggle_mark_hover_styles) && count($accordion_toggle_mark_hover_styles)) { ?>
		.eltd_accordion_holder.accordion:not(.boxed) .ui-accordion-header:hover .accordion_mark,
		.eltd_accordion_holder.accordion:not(.boxed) .ui-accordion-header.ui-state-active .accordion_mark {
			<?php echo esc_attr(implode(';', $accordion_toggle_mark_hover_styles)); ?>
		}

 <?php }}?>

<?php
$accordion_toggle_mark_icon_styles = array();
if ((isset($eltd_options['accordion_mark_icon_fontsize']) && $eltd_options['accordion_mark_icon_fontsize']!='') || (isset($eltd_options['accordion_mark_icon_fontweight']) && $eltd_options['accordion_mark_icon_fontweight']!='') || (isset($eltd_options['accordion_mark_icon_color']) && $eltd_options['accordion_mark_icon_color']!='')){

    if(isset($eltd_options['accordion_mark_icon_color']) && $eltd_options['accordion_mark_icon_color']!=''){
        $accordion_toggle_mark_icon_styles[] = 'color: '.$eltd_options['accordion_mark_icon_color'];
    }

    if(isset($eltd_options['accordion_mark_icon_fontsize']) && $eltd_options['accordion_mark_icon_fontsize']!=''){
        $accordion_toggle_mark_icon_styles[] = 'font-size: '.$eltd_options['accordion_mark_icon_fontsize'].'px';
    }

    if(isset($eltd_options['accordion_mark_icon_fontweight']) && $eltd_options['accordion_mark_icon_fontweight']!=''){
        $accordion_toggle_mark_icon_styles[] = 'font-weight: '.$eltd_options['accordion_mark_icon_fontweight'];
    }
    if(is_array($accordion_toggle_mark_icon_styles) && count($accordion_toggle_mark_icon_styles)) { ?>
        .eltd_accordion_holder.accordion:not(.boxed) .ui-accordion-header .accordion_mark_icon{
            <?php echo esc_attr(implode(';', $accordion_toggle_mark_icon_styles)); ?>
        }

 <?php }}?>

<?php
if(isset($eltd_options['accordion_mark_icon_hover_color']) && $eltd_options['accordion_mark_icon_hover_color']!=''){ ?>
	.eltd_accordion_holder.accordion:not(.boxed) .ui-accordion-header:hover .accordion_mark_icon,
	.eltd_accordion_holder.accordion:not(.boxed) .ui-accordion-header.ui-state-active .accordion_mark_icon{
		color: <?php echo esc_attr($eltd_options['accordion_mark_icon_hover_color'])?>
	}
<?php } ?>
<?php if(isset($eltd_options['accordion_toggle_icon_color']) && $eltd_options['accordion_toggle_icon_color']!=''){ ?>
	.eltd_accordion_holder.accordion:not(.boxed) .accordion_icon_holder .eltd_icon_shortcode span,
    .eltd_accordion_holder.accordion:not(.boxed) .accordion_icon_holder .eltd_icon_shortcode i{
		color: <?php echo esc_attr($eltd_options['accordion_toggle_icon_color'])?>;
	}
<?php }?>
<?php if(isset($eltd_options['accordion_toggle_icon_color_hover']) && $eltd_options['accordion_toggle_icon_color_hover']!=''){ ?>
	.eltd_accordion_holder.accordion:not(.boxed) .ui-state-active .accordion_icon_holder .eltd_icon_shortcode span, 
	.eltd_accordion_holder.accordion:not(.boxed) .ui-state-active .accordion_icon_holder .eltd_icon_shortcode i,
	.eltd_accordion_holder.accordion:not(.boxed) .ui-state-hover .accordion_icon_holder .eltd_icon_shortcode span, 
	.eltd_accordion_holder.accordion:not(.boxed) .ui-state-hover .accordion_icon_holder .eltd_icon_shortcode i{
		color: <?php echo esc_attr($eltd_options['accordion_toggle_icon_color_hover'])?>;
	}
<?php }?>	
<?php
$accordion_toggle_boxed_styles = array();
if ((isset($eltd_options['accordion_toggle_boxed_background_color']) && $eltd_options['accordion_toggle_boxed_background_color']!='') || (isset($eltd_options['accordion_toggle_boxed_border_color']) && $eltd_options['accordion_toggle_boxed_border_color']!='') || (isset($eltd_options['accordion_toggle_boxed_border_radius']) && $eltd_options['accordion_toggle_boxed_border_radius']!='')){

	if(isset($eltd_options['accordion_toggle_boxed_background_color']) && $eltd_options['accordion_toggle_boxed_background_color']!=''){
		$accordion_toggle_boxed_styles[] = 'background-color: '.$eltd_options['accordion_toggle_boxed_background_color'];
	}

	if(isset($eltd_options['accordion_toggle_boxed_border_color']) && $eltd_options['accordion_toggle_boxed_border_color']!=''){
		$accordion_toggle_boxed_styles[] = 'border-color: '.$eltd_options['accordion_toggle_boxed_border_color'];
	}
	elseif (isset($eltd_options['accordion_toggle_boxed_background_color']) && $eltd_options['accordion_toggle_boxed_background_color']!=''){
		$accordion_toggle_boxed_styles[] = 'border-color: '.$eltd_options['accordion_toggle_boxed_background_color'];
	}

	if(isset($eltd_options['accordion_toggle_boxed_border_radius']) && $eltd_options['accordion_toggle_boxed_border_radius']!=''){
		$accordion_toggle_boxed_styles[] = 'border-radius: '.$eltd_options['accordion_toggle_boxed_border_radius'].'px;';
	}	
	if(is_array($accordion_toggle_boxed_styles) && count($accordion_toggle_boxed_styles)) { ?>
		.eltd_accordion_holder.accordion.boxed .ui-accordion-header  {
			<?php echo esc_attr(implode(';', $accordion_toggle_boxed_styles)); ?>
		}

 <?php }}?>

 <?php
$accordion_toggle_boxed_hover_styles = array();
if ((isset($eltd_options['accordion_toggle_boxed_background_hover_color']) && $eltd_options['accordion_toggle_boxed_background_hover_color']!='') || (isset($eltd_options['accordion_toggle_boxed_border_hover_color']) && $eltd_options['accordion_toggle_boxed_border_hover_color']!='')){

	if(isset($eltd_options['accordion_toggle_boxed_background_hover_color']) && $eltd_options['accordion_toggle_boxed_background_hover_color']!=''){
		$accordion_toggle_boxed_hover_styles[] = 'background-color: '.$eltd_options['accordion_toggle_boxed_background_hover_color'];
	}

	if(isset($eltd_options['accordion_toggle_boxed_border_hover_color']) && $eltd_options['accordion_toggle_boxed_border_hover_color']!=''){
		$accordion_toggle_boxed_hover_styles[] = 'border-color: '.$eltd_options['accordion_toggle_boxed_border_hover_color'];
	}
	elseif (isset($eltd_options['accordion_toggle_boxed_background_hover_color']) && $eltd_options['accordion_toggle_boxed_background_hover_color']!='') {
		$accordion_toggle_boxed_hover_styles[] = 'border-color: '.$eltd_options['accordion_toggle_boxed_background_hover_color'];
	}

	if(is_array($accordion_toggle_boxed_hover_styles) && count($accordion_toggle_boxed_hover_styles)) { ?>
		.eltd_accordion_holder.accordion.boxed .ui-accordion-header:hover,
		.eltd_accordion_holder.accordion.boxed .ui-accordion-header.ui-state-active  {
			<?php echo esc_attr(implode(';', $accordion_toggle_boxed_hover_styles)); ?>
		}

<?php }}?>

<?php if(isset($eltd_options['accordion_toggle_boxed_background_pattern']) && $eltd_options['accordion_toggle_boxed_background_pattern'] !== "no"){ 
		if(isset($eltd_options['accordion_toggle_boxed_background_pattern_image']) && $eltd_options['accordion_toggle_boxed_background_pattern_image'] !== ''){?>
			.eltd_accordion_holder.accordion.boxed.has_pattern .ui-accordion-header{
				background-image: url("<?php echo esc_attr($eltd_options['accordion_toggle_boxed_background_pattern_image']); ?>");
			}
<?php }}?>


<?php
$accordion_toggle_boxed_mark_icon_styles = array();
if ((isset($eltd_options['accordion_boxed_mark_icon_fontweight']) && $eltd_options['accordion_boxed_mark_icon_fontweight']!='') || (isset($eltd_options['accordion_boxed_mark_icon_fontweight']) && $eltd_options['accordion_boxed_mark_icon_fontweight']!='') || (isset($eltd_options['accordion_boxed_mark_icon_color']) && $eltd_options['accordion_boxed_mark_icon_color']!='')){

    if(isset($eltd_options['accordion_boxed_mark_icon_color']) && $eltd_options['accordion_boxed_mark_icon_color']!=''){
        $accordion_toggle_boxed_mark_icon_styles[] = 'color: '.$eltd_options['accordion_boxed_mark_icon_color'];
    }

    if(isset($eltd_options['accordion_boxed_mark_icon_fontsize']) && $eltd_options['accordion_boxed_mark_icon_fontsize']!=''){
        $accordion_toggle_boxed_mark_icon_styles[] = 'font-size: '.$eltd_options['accordion_boxed_mark_icon_fontsize'].'px';
    }

    if(isset($eltd_options['accordion_boxed_mark_icon_fontweight']) && $eltd_options['accordion_boxed_mark_icon_fontweight']!=''){
        $accordion_toggle_boxed_mark_icon_styles[] = 'font-weight: '.$eltd_options['accordion_boxed_mark_icon_fontweight'];
    }
    if(is_array($accordion_toggle_boxed_mark_icon_styles) && count($accordion_toggle_boxed_mark_icon_styles)) { ?>
        .eltd_accordion_holder.accordion.boxed .ui-accordion-header .accordion_mark_icon{
            <?php echo esc_attr(implode(';', $accordion_toggle_boxed_mark_icon_styles)); ?>
        }

<?php }}?>

<?php
if(isset($eltd_options['accordion_boxed_mark_icon_hover_color']) && $eltd_options['accordion_mark_icon_hover_color']!=''){ ?>
    .eltd_accordion_holder.accordion.boxed .ui-accordion-header:hover .accordion_mark_icon,
    .eltd_accordion_holder.accordion.boxed .ui-accordion-header.ui-state-active .accordion_mark_icon{
        color: <?php echo esc_attr($eltd_options['accordion_boxed_mark_icon_hover_color'])?>
    }
<?php } ?>
	
<?php if(isset($eltd_options['accordion_toggle_boxed_icon_color']) && $eltd_options['accordion_toggle_boxed_icon_color']!=''){ ?>
	.eltd_accordion_holder.accordion.boxed .accordion_icon_holder .eltd_icon_shortcode span, 
	.eltd_accordion_holder.accordion.boxed .accordion_icon_holder .eltd_icon_shortcode i{
		color: <?php echo esc_attr($eltd_options['accordion_toggle_boxed_icon_color'])?>;
	}
<?php }?>
<?php if(isset($eltd_options['accordion_toggle_boxed_icon_color_hover']) && $eltd_options['accordion_toggle_boxed_icon_color_hover']!=''){ ?>
	.eltd_accordion_holder.accordion.boxed .ui-state-active .accordion_icon_holder .eltd_icon_shortcode span, 
	.eltd_accordion_holder.accordion.boxed .ui-state-active .accordion_icon_holder .eltd_icon_shortcode i,
	.eltd_accordion_holder.accordion.boxed .ui-state-hover .accordion_icon_holder .eltd_icon_shortcode span, 
	.eltd_accordion_holder.accordion.boxed .ui-state-hover .accordion_icon_holder .eltd_icon_shortcode i{
		color: <?php echo esc_attr($eltd_options['accordion_toggle_boxed_icon_color_hover'])?>;
	}
<?php }?>		

<?php if (isset($eltd_options['footer_main_image_background']) && $eltd_options['footer_main_image_background'] != ""){ ?>
    .footer_inner{
    background-image:url(<?php echo esc_attr($eltd_options['footer_main_image_background']); ?>);
    background-position: 0 0;
    }
    .footer_top_holder,.footer_bottom_holder, .content footer .container, .footer_ingrid_border_holder_outer{
        background-color:transparent;
    }
<?php } ?>
<?php if (!empty($eltd_options['footer_border_columns_color'])) { ?>
    footer.footer_border_columns .footer_top .eltd_column{
    border-color:<?php echo esc_attr($eltd_options['footer_border_columns_color']); ?>;
    }
<?php } ?>


<?php if (!empty($eltd_options['footer_bottom_border_element_color']) && $eltd_options['footer_bottom_border_element'] == 'yes') { ?>
    .footer_top .widget_recent_entries > ul > li,
    .footer_top .widget_nav_menu li.menu-item,
    .footer_top .widget_recent_comments > ul > li,
    .footer_top .widget_nav_menu ul li,
    .footer_top .widget_pages ul li,
    .footer_top .widget_archive > ul > li,
    .footer_top .widget_categories > ul > li{
    border-bottom: 1px solid <?php echo esc_attr($eltd_options['footer_bottom_border_element_color']); ?>;
    margin-bottom: 10px;
    padding-bottom: 10px;
    }
    .footer_top .widget_recent_entries > ul > li > a,
    .footer_top .widget_nav_menu li.menu-item > a,
    .footer_top .widget_recent_comments > ul > li > a,
    .footer_top .widget_nav_menu ul li > a,
    .footer_top .widget_pages ul li > a,
    .footer_top .widget_archive > ul > li > a,
    .footer_top .widget_categories > ul > li > a{
    margin-bottom:0;
    }
<?php } ?>

<?php if (!empty($eltd_options['footer_top_background_color'])) { ?>
    .footer_top_holder, .footer_ingrid_border_holder_outer{
    background-color:<?php echo esc_attr($eltd_options['footer_top_background_color']); ?>;
    }
<?php } ?>
<?php if ((!isset($eltd_options['show_footer_top']) || $eltd_options['show_footer_top'] != 'yes') && !empty($eltd_options['footer_bottom_background_color'])) { ?>
    .footer_ingrid_border_holder_outer{
    background-color:<?php echo esc_attr($eltd_options['footer_bottom_background_color']); ?>;
    }
<?php } ?>

<?php if (isset($eltd_options['footer_image_background']) && $eltd_options['footer_image_background'] != ""){ ?>
    .footer_top_holder{
    background-image:url(<?php echo esc_attr($eltd_options['footer_image_background']); ?>);
    }
<?php } ?>
<?php if ((isset($eltd_options['footer_top_padding']) && $eltd_options['footer_top_padding'] !== '') || (isset($eltd_options['footer_bottom_padding']) && $eltd_options['footer_bottom_padding'] !== '')) {
        if ($eltd_options['footer_in_grid'] == 'yes') {?>
            .footer_top_holder .footer_top:not(.footer_top_full) .container_inner{
                <?php if (isset($eltd_options['footer_top_padding']) && $eltd_options['footer_top_padding'] !== ''){ ?>padding-top: <?php echo esc_attr($eltd_options['footer_top_padding']); ?>px; <?php } ?>
                <?php if (isset($eltd_options['footer_bottom_padding']) && $eltd_options['footer_bottom_padding'] !== ''){ ?>padding-bottom: <?php echo esc_attr($eltd_options['footer_bottom_padding']); ?>px; <?php } ?>
                }
            .footer_top{
                padding-top: 0;
                padding-bottom: 0;
            }
        <?php } else {?>
            .footer_top.footer_top_full{
                <?php if (isset($eltd_options['footer_top_padding']) && $eltd_options['footer_top_padding'] !== ''){ ?>padding-top: <?php echo esc_attr($eltd_options['footer_top_padding']); ?>px; <?php } ?>
                <?php if (isset($eltd_options['footer_bottom_padding']) && $eltd_options['footer_bottom_padding'] !== ''){ ?>padding-bottom: <?php echo esc_attr($eltd_options['footer_bottom_padding']); ?>px; <?php } ?>
                }
            <?php }
        } ?>
<?php if ((isset($eltd_options['footer_left_padding']) && $eltd_options['footer_left_padding'] !== '') || (isset($eltd_options['footer_right_padding']) && $eltd_options['footer_right_padding'] !== '')) { ?>
    @media only screen and (min-width: 600px){
        .footer_top, .footer_top.footer_top_full{
        <?php if (isset($eltd_options['footer_left_padding']) && $eltd_options['footer_left_padding'] !== ''){ ?>padding-left: <?php echo esc_attr($eltd_options['footer_left_padding']); ?>px; <?php } ?>
        <?php if (isset($eltd_options['footer_right_padding']) && $eltd_options['footer_right_padding'] !== ''){ ?>padding-right: <?php echo esc_attr($eltd_options['footer_right_padding']); ?>px; <?php } ?>
        }
    }
<?php } ?>
<?php if (isset($eltd_options['footer_top_columns_alignment']) && $eltd_options['footer_top_columns_alignment'] !== '') { ?>
    @media only screen and (min-width: 600px){
        .footer_top .eltd_column{
        text-align:  <?php echo esc_attr($eltd_options['footer_top_columns_alignment']);  ?>
        }
    }
<?php } ?>
<?php if (isset($eltd_options['footer_top_column1_alignment']) && $eltd_options['footer_top_column1_alignment'] !== '') { ?>
    @media only screen and (min-width: 600px){
        .footer_top .eltd_column.column1{
        text-align:  <?php echo esc_attr($eltd_options['footer_top_column1_alignment']);  ?>
        }
    }
<?php } ?>
<?php if (isset($eltd_options['footer_top_column2_alignment']) && $eltd_options['footer_top_column2_alignment'] !== '') { ?>
    @media only screen and (min-width: 600px){
        .footer_top .eltd_column.column2,
        .footer_top .eltd_column.footer_col2{
        text-align:  <?php echo esc_attr($eltd_options['footer_top_column2_alignment']);  ?>
        }
    }
<?php } ?>
<?php if (isset($eltd_options['footer_top_column3_alignment']) && $eltd_options['footer_top_column3_alignment'] !== '') { ?>
    @media only screen and (min-width: 600px){
        .footer_top .eltd_column.column3,
        .footer_top .eltd_column.footer_col3{
        text-align:  <?php echo esc_attr($eltd_options['footer_top_column3_alignment']);  ?>
        }
    }
<?php
} ?>
<?php if (isset($eltd_options['footer_top_column4_alignment']) && $eltd_options['footer_top_column4_alignment'] !== '') { ?>
    @media only screen and (min-width: 600px){
        .footer_top .eltd_column.column4{
        text-align:  <?php echo esc_attr($eltd_options['footer_top_column4_alignment']);  ?>
        }
    }
<?php } ?>

<?php
$footer_top_text_style = array();

if(isset($eltd_options['footer_top_text_font_family']) && $eltd_options['footer_top_text_font_family'] !== '-1') {
    $footer_top_text_style[] = 'font-family: '.str_replace('+', ' ', $eltd_options['footer_top_text_font_family']).', sans-serif';
}

if(isset($eltd_options['footer_top_text_font_size']) && $eltd_options['footer_top_text_font_size'] !== '') {
    $footer_top_text_style[] = 'font-size: '.$eltd_options['footer_top_text_font_size'].'px';
}

if(isset($eltd_options['footer_top_text_line_height']) && $eltd_options['footer_top_text_line_height'] !== '') {
    $footer_top_text_style[] = 'line-height: '.$eltd_options['footer_top_text_line_height'].'px'; ?>
    .footer_top .widget.widget_nav_menu li{
        line-height: <?php echo esc_attr($eltd_options['footer_top_text_line_height'].'px'); ?>;
    }
<?php
}

if(isset($eltd_options['footer_top_text_letter_spacing']) && $eltd_options['footer_top_text_letter_spacing'] !== '') {
    $footer_top_text_style[] = 'letter-spacing: '.$eltd_options['footer_top_text_letter_spacing'].'px';
}

if(isset($eltd_options['footer_top_text_font_weight']) && $eltd_options['footer_top_text_font_weight'] !== '') {
    $footer_top_text_style[] = 'font-weight: '.$eltd_options['footer_top_text_font_weight'];
}

if(isset($eltd_options['footer_top_text_font_style']) && $eltd_options['footer_top_text_font_style'] !== '') {
    $footer_top_text_style[] = 'font-style: '.$eltd_options['footer_top_text_font_style'];
}

if(isset($eltd_options['footer_top_text_text_transform']) && $eltd_options['footer_top_text_text_transform'] !== '') {
    $footer_top_text_style[] = 'text-transform: '.$eltd_options['footer_top_text_text_transform'];
}

if(isset($eltd_options['footer_top_text_color']) && $eltd_options['footer_top_text_color'] !== '') {
    $footer_top_text_style[] = 'color: '.$eltd_options['footer_top_text_color'];
}

if(is_array($footer_top_text_style) && count($footer_top_text_style)) { ?>
    .footer_top,
    .footer_top p:not(.eltd_icon_list_text),
    .footer_top span:not(.eltd_social_icon_holder):not(.fa-stack):not(.social_icon):not(.eltd_icon_shortcode):not(.eltd_icon_list_item_icon):not(.eltd_icon_font_elegant):not(.text_wrap),
    .footer_top li,
    .footer_top .textwidget,
    .footer_top .widget_recent_entries>ul>li>span{
    <?php echo esc_attr(implode(';', $footer_top_text_style)); ?>
    }
<?php } ?>

<?php
$footer_top_link_style = array();

if(isset($eltd_options['footer_top_link_font_family']) && $eltd_options['footer_top_link_font_family'] !== '-1') {
    $footer_top_link_style[] = 'font-family: '.str_replace('+', ' ', $eltd_options['footer_top_link_font_family']).', sans-serif';
}

if(isset($eltd_options['footer_top_link_font_size']) && $eltd_options['footer_top_link_font_size'] !== '') {
    $footer_top_link_style[] = 'font-size: '.$eltd_options['footer_top_link_font_size'].'px';
}

if(isset($eltd_options['footer_top_link_line_height']) && $eltd_options['footer_top_link_line_height'] !== '') {
    $footer_top_link_style[] = 'line-height: '.$eltd_options['footer_top_link_line_height'].'px';
}

if(isset($eltd_options['footer_top_link_letter_spacing']) && $eltd_options['footer_top_link_letter_spacing'] !== '') {
    $footer_top_link_style[] = 'letter-spacing: '.$eltd_options['footer_top_link_letter_spacing'].'px';
}

if(isset($eltd_options['footer_top_link_font_weight']) && $eltd_options['footer_top_link_font_weight'] !== '') {
    $footer_top_link_style[] = 'font-weight: '.$eltd_options['footer_top_link_font_weight'];
}

if(isset($eltd_options['footer_top_link_font_style']) && $eltd_options['footer_top_link_font_style'] !== '') {
    $footer_top_link_style[] = 'font-style: '.$eltd_options['footer_top_link_font_style'];
}

if(isset($eltd_options['footer_top_link_text_transform']) && $eltd_options['footer_top_link_text_transform'] !== '') {
    $footer_top_link_style[] = 'text-transform: '.$eltd_options['footer_top_link_text_transform'];
}

if(isset($eltd_options['footer_top_link_color']) && $eltd_options['footer_top_link_color'] !== '') {
    $footer_top_link_style[] = 'color: '.$eltd_options['footer_top_link_color'];
}

if(is_array($footer_top_link_style) && count($footer_top_link_style)) { ?>
    .footer_top a{
    <?php echo esc_attr(implode(';', $footer_top_link_style)); ?>
    }
<?php } ?>

<?php if (isset($eltd_options['footer_top_link_hover_color']) && !empty($eltd_options['footer_top_link_hover_color'])) { ?>
    .footer_top a:hover{
    color: <?php echo esc_attr($eltd_options['footer_top_link_hover_color']); ?>;
    }
<?php } ?>

<?php

if(isset($eltd_options['footer_top_background_color_in_grid']) && !empty($eltd_options['footer_top_background_color_in_grid'])) { ?>
    .footer_top .container_inner{
    background-color: <?php echo esc_attr($eltd_options['footer_top_background_color_in_grid']);?>
    }
<?php } ?>




<?php if (!empty($eltd_options['footer_bottom_background_color'])) { ?>
    .footer_bottom_holder{
        background-color:<?php echo esc_attr($eltd_options['footer_bottom_background_color']); ?>;
    }
<?php } ?>

<?php if (isset($eltd_options['footer_bottom_image_background']) && $eltd_options['footer_bottom_image_background'] != ""){ ?>
    .footer_bottom_holder{
    background-image:url(<?php echo esc_attr($eltd_options['footer_bottom_image_background']); ?>);
    }
<?php } ?>

<?php if ((isset($eltd_options['footer_bottom_top_padding']) && $eltd_options['footer_bottom_top_padding'] !== '') || (isset($eltd_options['footer_bottom_bottom_padding']) && $eltd_options['footer_bottom_bottom_padding'] !== '')) { ?>
    .footer_bottom_holder_inner{
    <?php if (isset($eltd_options['footer_bottom_top_padding']) && $eltd_options['footer_bottom_top_padding'] !== ''){ ?>padding-top: <?php echo esc_attr($eltd_options['footer_bottom_top_padding']); ?>px; <?php } ?>
    <?php if (isset($eltd_options['footer_bottom_bottom_padding']) && $eltd_options['footer_bottom_bottom_padding'] !== ''){ ?>padding-bottom: <?php echo esc_attr($eltd_options['footer_bottom_bottom_padding']); ?>px; <?php } ?>
    }
<?php } ?>
<?php if ((isset($eltd_options['footer_bottom_left_padding']) && $eltd_options['footer_bottom_left_padding'] !== '') || (isset($eltd_options['footer_bottom_right_padding']) && $eltd_options['footer_bottom_right_padding'] !== '')) { ?>
    @media only screen and (min-width: 600px){
        .footer_bottom_holder_inner{
        <?php if (isset($eltd_options['footer_bottom_left_padding']) && $eltd_options['footer_bottom_left_padding'] !== ''){ ?>padding-left: <?php echo esc_attr($eltd_options['footer_bottom_left_padding']); ?>px; <?php } ?>
        <?php if (isset($eltd_options['footer_bottom_right_padding']) && $eltd_options['footer_bottom_right_padding'] !== ''){ ?>padding-right: <?php echo esc_attr($eltd_options['footer_bottom_right_padding']); ?>px; <?php } ?>
        }
    }
<?php } ?>

<?php
$footer_bottom_text_style = array();

if(isset($eltd_options['footer_bottom_text_font_family']) && $eltd_options['footer_bottom_text_font_family'] !== '-1') {
    $footer_bottom_text_style[] = 'font-family: '.str_replace('+', ' ', $eltd_options['footer_bottom_text_font_family']).', sans-serif';
}

if(isset($eltd_options['footer_bottom_text_font_size']) && $eltd_options['footer_bottom_text_font_size'] !== '') {
    $footer_bottom_text_style[] = 'font-size: '.$eltd_options['footer_bottom_text_font_size'].'px';
}

if(isset($eltd_options['footer_bottom_text_line_height']) && $eltd_options['footer_bottom_text_line_height'] !== '') {
    $footer_bottom_text_style[] = 'line-height: '.$eltd_options['footer_bottom_text_line_height'].'px';
}

if(isset($eltd_options['footer_bottom_text_letter_spacing']) && $eltd_options['footer_bottom_text_letter_spacing'] !== '') {
    $footer_bottom_text_style[] = 'letter-spacing: '.$eltd_options['footer_bottom_text_letter_spacing'].'px';
}

if(isset($eltd_options['footer_bottom_text_font_weight']) && $eltd_options['footer_bottom_text_font_weight'] !== '') {
    $footer_bottom_text_style[] = 'font-weight: '.$eltd_options['footer_bottom_text_font_weight'];
}

if(isset($eltd_options['footer_bottom_text_font_style']) && $eltd_options['footer_bottom_text_font_style'] !== '') {
    $footer_bottom_text_style[] = 'font-style: '.$eltd_options['footer_bottom_text_font_style'];
}

if(isset($eltd_options['footer_bottom_text_text_transform']) && $eltd_options['footer_bottom_text_text_transform'] !== '') {
    $footer_bottom_text_style[] = 'text-transform: '.$eltd_options['footer_bottom_text_text_transform'];
}

if(isset($eltd_options['footer_bottom_text_color']) && $eltd_options['footer_bottom_text_color'] !== '') {
    $footer_bottom_text_style[] = 'color: '.$eltd_options['footer_bottom_text_color'];
}

if(is_array($footer_bottom_text_style) && count($footer_bottom_text_style)) { ?>

    .footer_bottom_holder_inner,
    .footer_bottom_holder_inner ul li a,
    .footer_bottom_holder_inner p,
    .footer_bottom_holder_inner span,
    .footer_bottom span:not(.eltd_social_icon_holder):not(.fa-stack):not(.social_icon){
    <?php echo esc_attr(implode(';', $footer_bottom_text_style)); ?>
    }
<?php } ?>

<?php
$footer_bottom_link_style = array();

if(isset($eltd_options['footer_bottom_link_font_family']) && $eltd_options['footer_bottom_link_font_family'] !== '-1') {
    $footer_bottom_link_style[] = 'font-family: '.str_replace('+', ' ', $eltd_options['footer_bottom_link_font_family']).', sans-serif';
}

if(isset($eltd_options['footer_bottom_link_font_size']) && $eltd_options['footer_bottom_link_font_size'] !== '') {
    $footer_bottom_link_style[] = 'font-size: '.$eltd_options['footer_bottom_link_font_size'].'px';
}

if(isset($eltd_options['footer_bottom_link_line_height']) && $eltd_options['footer_bottom_link_line_height'] !== '') {
    $footer_bottom_link_style[] = 'line-height: '.$eltd_options['footer_bottom_link_line_height'].'px';
}

if(isset($eltd_options['footer_bottom_link_letter_spacing']) && $eltd_options['footer_bottom_link_letter_spacing'] !== '') {
    $footer_bottom_link_style[] = 'letter-spacing: '.$eltd_options['footer_bottom_link_letter_spacing'].'px';
}

if(isset($eltd_options['footer_bottom_link_font_weight']) && $eltd_options['footer_bottom_link_font_weight'] !== '') {
    $footer_bottom_link_style[] = 'font-weight: '.$eltd_options['footer_bottom_link_font_weight'];
}

if(isset($eltd_options['footer_bottom_link_font_style']) && $eltd_options['footer_bottom_link_font_style'] !== '') {
    $footer_bottom_link_style[] = 'font-style: '.$eltd_options['footer_bottom_link_font_style'];
}

if(isset($eltd_options['footer_bottom_link_text_transform']) && $eltd_options['footer_bottom_link_text_transform'] !== '') {
    $footer_bottom_link_style[] = 'text-transform: '.$eltd_options['footer_bottom_link_text_transform'];
}

if(isset($eltd_options['footer_bottom_link_color']) && $eltd_options['footer_bottom_link_color'] !== '') {
    $footer_bottom_link_style[] = 'color: '.$eltd_options['footer_bottom_link_color'];
}

if(is_array($footer_bottom_link_style) && count($footer_bottom_link_style)) { ?>
    .footer_bottom_holder_inner a,
    .footer_bottom_holder_inner ul li a{
    <?php echo esc_attr(implode(';', $footer_bottom_link_style)); ?>
    }
<?php } ?>

<?php if (isset($eltd_options['footer_bottom_link_hover_color']) && !empty($eltd_options['footer_bottom_link_hover_color'])) { ?>
    .footer_bottom_holder_inner a:hover,
    .footer_bottom_holder_inner ul li a:hover{
    color:<?php echo esc_attr($eltd_options['footer_bottom_link_hover_color']);  ?>; !important;
    }
<?php } ?>

<?php
$footer_bottom_menu_separator = array();

if (isset($eltd_options['footer_bottom_menu_separator']) && $eltd_options['footer_bottom_menu_separator'] == 'yes'){
	$footer_bottom_menu_separator[] = 'border-right-width: 1px';
	$footer_bottom_menu_separator[] = 'border-right-style: solid';
	if (isset($eltd_options['footer_bottom_menu_separator_color']) && $eltd_options['footer_bottom_menu_separator_color'] !== ''){
		$footer_bottom_menu_separator[] = 'border-right-color: '.$eltd_options['footer_bottom_menu_separator_color'];
	}
	else{
		$footer_bottom_menu_separator[] = 'border-right-color: #444';
	}
	$footer_bottom_menu_separator[] = 'padding-right: 15px';
	$footer_bottom_menu_separator[] = 'margin-right: 5px';
}

if (is_array($footer_bottom_menu_separator) && count($footer_bottom_menu_separator)){ ?>
	.footer_bottom_holder ul.menu li{
		<?php echo esc_attr(implode('; ', $footer_bottom_menu_separator)); ?>
	}
	.footer_bottom_holder ul.menu li:last-child{
		border-right: none;
		padding-right: 0;
		margin-right: 0;
	}
<?php }
?>

<?php
$footer_title_styles = array();

if(isset($eltd_options['footer_title_font_family']) && $eltd_options['footer_title_font_family'] !== '-1') {
    $footer_title_styles[] = 'font-family: '.str_replace('+', ' ', $eltd_options['footer_title_font_family']).', sans-serif';
}

if(isset($eltd_options['footer_title_font_size']) && $eltd_options['footer_title_font_size'] !== '') {
    $footer_title_styles[] = 'font-size: '.$eltd_options['footer_title_font_size'].'px';
}

if(isset($eltd_options['footer_title_line_height']) && $eltd_options['footer_title_line_height'] !== '') {
    $footer_title_styles[] = 'line-height: '.$eltd_options['footer_title_line_height'].'px';
}

if(isset($eltd_options['footer_title_letter_spacing']) && $eltd_options['footer_title_letter_spacing'] !== '') {
    $footer_title_styles[] = 'letter-spacing: '.$eltd_options['footer_title_letter_spacing'].'px';
}

if(isset($eltd_options['footer_title_font_weight']) && $eltd_options['footer_title_font_weight'] !== '') {
    $footer_title_styles[] = 'font-weight: '.$eltd_options['footer_title_font_weight'];
}

if(isset($eltd_options['footer_title_font_style']) && $eltd_options['footer_title_font_style'] !== '') {
    $footer_title_styles[] = 'font-style: '.$eltd_options['footer_title_font_style'];
}

if(isset($eltd_options['footer_title_text_transform']) && $eltd_options['footer_title_text_transform'] !== '') {
    $footer_title_styles[] = 'text-transform: '.$eltd_options['footer_title_text_transform'];
}

if(isset($eltd_options['footer_title_color']) && $eltd_options['footer_title_color'] !== '') {
    $footer_title_styles[] = 'color: '.$eltd_options['footer_title_color'];
}

if(is_array($footer_title_styles) && count($footer_title_styles)) { ?>
    .footer_top .widget h4 {
    <?php echo esc_attr(implode(';', $footer_title_styles)); ?>
    }
<?php } ?>

<?php if(isset($eltd_options['footer_bottom_height']) && $eltd_options['footer_bottom_height'] !== '') { ?>
    .footer_bottom_holder { height: <?php echo esc_attr($eltd_options['footer_bottom_height']); ?>px; }
<?php } ?>

<?php if (!empty($eltd_options['content_bottom_background_color'])) { ?>
    .content_bottom{
    background-color:<?php echo esc_attr($eltd_options['content_bottom_background_color']);  ?>;
    }
<?php } ?>

<?php if (isset($eltd_options['sidebar_title_background']) && !empty($eltd_options['sidebar_title_background'])) { ?>
    aside.sidebar .widget > h4,
    .woocommerce aside.sidebar .widget h4{
    background-color:<?php echo esc_attr($eltd_options['sidebar_title_background']);  ?>;
    }
<?php } ?>

<?php if (isset($eltd_options['sidebar_title_border_color']) && !empty($eltd_options['sidebar_title_border_color'])) { ?>
    aside.sidebar .widget > h4,
    .woocommerce aside.sidebar .widget h4{
    border: 1px solid <?php echo esc_attr($eltd_options['sidebar_title_border_color']);  ?>;
    }
<?php } ?>

<?php
$sidebar_title_padding_style = array();

if(isset($eltd_options['sidebar_title_padding_top']) && $eltd_options['sidebar_title_padding_top'] !== '') {
    $sidebar_title_padding_style[] = 'padding-top:'.$eltd_options['sidebar_title_padding_top'].'px';
}

if(isset($eltd_options['sidebar_title_padding_right']) && $eltd_options['sidebar_title_padding_right'] !== '') {
    $sidebar_title_padding_style[] = 'padding-right:'.$eltd_options['sidebar_title_padding_right'].'px';
}

if(isset($eltd_options['sidebar_title_padding_bottom']) && $eltd_options['sidebar_title_padding_bottom'] !== '') {
    $sidebar_title_padding_style[] = 'padding-bottom:'.$eltd_options['sidebar_title_padding_bottom'].'px';
}

if(isset($eltd_options['sidebar_title_padding_left']) && $eltd_options['sidebar_title_padding_left'] !== '') {
    $sidebar_title_padding_style[] = 'padding-left:'.$eltd_options['sidebar_title_padding_left'].'px';
}

if (is_array($sidebar_title_padding_style) && count($sidebar_title_padding_style)) { ?>
    aside.sidebar .widget > h4,
    .woocommerce aside.sidebar .widget h4{
    <?php echo esc_attr(implode(';',$sidebar_title_padding_style)); ?>
    }
<?php }
?>


<?php
$widget_styles = array();

if(isset($eltd_options['widget_background_color']) && $eltd_options['widget_background_color'] !== '') {
    $widget_styles[] = 'background-color:  '.$eltd_options['widget_background_color'];
}

if(isset($eltd_options['widget_border_color']) && $eltd_options['widget_border_color'] !== '') {
    $widget_styles[] = 'border: 1px solid '.$eltd_options['widget_border_color'];
}

if(isset($eltd_options['widget_padding_top']) && $eltd_options['widget_padding_top'] !== '') {
    $widget_styles[] = 'padding-top:'.$eltd_options['widget_padding_top'].'px';
}

if(isset($eltd_options['widget_padding_right']) && $eltd_options['widget_padding_right'] !== '') {
    $widget_styles[] = 'padding-right:'.$eltd_options['widget_padding_right'].'px';
}

if(isset($eltd_options['widget_padding_bottom']) && $eltd_options['widget_padding_bottom'] !== '') {
    $widget_styles[] = 'padding-bottom:'.$eltd_options['widget_padding_bottom'].'px';
}

if(isset($eltd_options['widget_padding_left']) && $eltd_options['widget_padding_left'] !== '') {
    $widget_styles[] = 'padding-left:'.$eltd_options['widget_padding_left'].'px';
}

if(isset($eltd_options['sidebar_widget_enable_box_shadow']) && $eltd_options['sidebar_widget_enable_box_shadow'] == 'yes') {
    $sidebar_widget_shadow_horizontal_offset = '1';
    if(isset($eltd_options['sidebar_widget_shadow_horizontal_offset']) && $eltd_options['sidebar_widget_shadow_horizontal_offset'] !== '') {
        $sidebar_widget_shadow_horizontal_offset = $eltd_options['sidebar_widget_shadow_horizontal_offset'];
    }

    $sidebar_widget_shadow_vertical_offset = '1';
    if(isset($eltd_options['sidebar_widget_shadow_vertical_offset']) && $eltd_options['sidebar_widget_shadow_vertical_offset'] !== '') {
        $sidebar_widget_shadow_vertical_offset = $eltd_options['sidebar_widget_shadow_vertical_offset'];
    }

    $sidebar_widget_shadow_blur = '1';
    if(isset($eltd_options['sidebar_widget_shadow_blur']) && $eltd_options['sidebar_widget_shadow_blur'] !== '') {
        $sidebar_widget_shadow_blur = $eltd_options['sidebar_widget_shadow_blur'];
    }

    $sidebar_widget_shadow_spread = '1';
    if(isset($eltd_options['sidebar_widget_shadow_spread']) && $eltd_options['sidebar_widget_shadow_spread'] !== '') {
        $sidebar_widget_shadow_spread = $eltd_options['sidebar_widget_shadow_spread'];
    }

    $sidebar_widget_shadow_color = '#f1f1f1';
    if(isset($eltd_options['sidebar_widget_shadow_color']) && $eltd_options['sidebar_widget_shadow_color'] !== '') {
        $sidebar_widget_shadow_color = $eltd_options['sidebar_widget_shadow_color'];
    }

    $widget_styles[] = 'box-shadow: '.$sidebar_widget_shadow_horizontal_offset.'px '.$sidebar_widget_shadow_vertical_offset.'px '.$sidebar_widget_shadow_blur.'px '.$sidebar_widget_shadow_spread.'px '.$sidebar_widget_shadow_color;

}

if(is_array($widget_styles) && count($widget_styles)) { ?>
    aside.sidebar .widget{
    <?php echo esc_attr(implode(';', $widget_styles)); ?>
    }
<?php } ?>
<?php
$sidebar_styles = array();

if(isset($eltd_options['sidebar_background_color']) && $eltd_options['sidebar_background_color'] !== '') {
    $sidebar_styles[] = 'background-color:  '.$eltd_options['sidebar_background_color'];
}

if(isset($eltd_options['sidebar_alignment']) && $eltd_options['sidebar_alignment'] !== '') {
    $sidebar_styles[] = 'text-align: '.$eltd_options['sidebar_alignment'];
}

if(isset($eltd_options['sidebar_padding_top']) && $eltd_options['sidebar_padding_top'] !== '') {
    $sidebar_styles[] = 'padding-top:'.$eltd_options['sidebar_padding_top'].'px';
}

if(isset($eltd_options['sidebar_padding_right']) && $eltd_options['sidebar_padding_right'] !== '') {
    $sidebar_styles[] = 'padding-right:'.$eltd_options['sidebar_padding_right'].'px';
}

if(isset($eltd_options['sidebar_padding_bottom']) && $eltd_options['sidebar_padding_bottom'] !== '') {
    $sidebar_styles[] = 'padding-bottom:'.$eltd_options['sidebar_padding_bottom'].'px';
}

if(isset($eltd_options['sidebar_padding_left']) && $eltd_options['sidebar_padding_left'] !== '') {
    $sidebar_styles[] = 'padding-left:'.$eltd_options['sidebar_padding_left'].'px';
}

if(isset($eltd_options['sidebar_enable_box_shadow']) && $eltd_options['sidebar_enable_box_shadow'] == 'yes') {
    $sidebar_shadow_horizontal_offset = '1';
    if(isset($eltd_options['sidebar_shadow_horizontal_offset']) && $eltd_options['sidebar_shadow_horizontal_offset'] !== '') {
        $sidebar_shadow_horizontal_offset = $eltd_options['sidebar_shadow_horizontal_offset'];
    }

    $sidebar_shadow_vertical_offset = '1';
    if(isset($eltd_options['sidebar_shadow_vertical_offset']) && $eltd_options['sidebar_shadow_vertical_offset'] !== '') {
        $sidebar_shadow_vertical_offset = $eltd_options['sidebar_shadow_vertical_offset'];
    }

    $sidebar_shadow_blur = '1';
    if(isset($eltd_options['sidebar_shadow_blur']) && $eltd_options['sidebar_shadow_blur'] !== '') {
        $sidebar_shadow_blur = $eltd_options['sidebar_shadow_blur'];
    }

    $sidebar_shadow_spread = '1';
    if(isset($eltd_options['sidebar_shadow_spread']) && $eltd_options['sidebar_shadow_spread'] !== '') {
        $sidebar_shadow_spread = $eltd_options['sidebar_shadow_spread'];
    }

    $sidebar_shadow_color = '#f1f1f1';
    if(isset($eltd_options['sidebar_shadow_color']) && $eltd_options['sidebar_shadow_color'] !== '') {
        $sidebar_shadow_color = $eltd_options['sidebar_shadow_color'];
    }

    $sidebar_styles[] = 'box-shadow: '.$sidebar_shadow_horizontal_offset.'px '.$sidebar_shadow_vertical_offset.'px '.$sidebar_shadow_blur.'px '.$sidebar_shadow_spread.'px '.$sidebar_shadow_color;
}

if(is_array($sidebar_styles) && count($sidebar_styles)) { ?>
    aside.sidebar{
    <?php echo esc_attr(implode(';', $sidebar_styles)); ?>
    }
<?php } ?>


<?php
$sidebar_title_styles = array();
$sidebar_title_separator_style = array();

if(isset($eltd_options['sidebar_title_font_family']) && $eltd_options['sidebar_title_font_family'] !== '-1') {
    $sidebar_title_styles[] = 'font-family: '.str_replace('+', ' ', $eltd_options['sidebar_title_font_family']).', sans-serif';
}

if(isset($eltd_options['sidebar_title_font_size']) && $eltd_options['sidebar_title_font_size'] !== '') {
    $sidebar_title_styles[] = 'font-size: '.$eltd_options['sidebar_title_font_size'].'px';
}

if(isset($eltd_options['sidebar_title_line_height']) && $eltd_options['sidebar_title_line_height'] !== '') {
    $sidebar_title_styles[] = 'line-height: '.$eltd_options['sidebar_title_line_height'].'px';
}

if(isset($eltd_options['sidebar_title_letter_spacing']) && $eltd_options['sidebar_title_letter_spacing'] !== '') {
    $sidebar_title_styles[] = 'letter-spacing: '.$eltd_options['sidebar_title_letter_spacing'].'px';
}

if(isset($eltd_options['sidebar_title_font_weight']) && $eltd_options['sidebar_title_font_weight'] !== '') {
    $sidebar_title_styles[] = 'font-weight: '.$eltd_options['sidebar_title_font_weight'];
}

if(isset($eltd_options['sidebar_title_font_style']) && $eltd_options['sidebar_title_font_style'] !== '') {
    $sidebar_title_styles[] = 'font-style: '.$eltd_options['sidebar_title_font_style'];
}

if(isset($eltd_options['sidebar_title_text_transform']) && $eltd_options['sidebar_title_text_transform'] !== '') {
    $sidebar_title_styles[] = 'text-transform: '.$eltd_options['sidebar_title_text_transform'];
}

if(isset($eltd_options['sidebar_title_color']) && $eltd_options['sidebar_title_color'] !== '') {
    $sidebar_title_styles[] = 'color: '.$eltd_options['sidebar_title_color'];
}

if(isset($eltd_options['sidebar_title_border_bottom_color']) && $eltd_options['sidebar_title_border_bottom_color'] !== '') {
    if(isset($eltd_options['sidebar_title_border_bottom_width']) && $eltd_options['sidebar_title_border_bottom_width'] !== ''){
        $sidebar_title_border_bottom_width = $eltd_options['sidebar_title_border_bottom_width'].'px';
    }
    else{
        $sidebar_title_border_bottom_width = '1px';
    }
    $sidebar_title_separator_style[] = 'border-bottom: '.$sidebar_title_border_bottom_width.' solid '.$eltd_options['sidebar_title_border_bottom_color'];

    if(isset($eltd_options['sidebar_title_border_bottom_length']) && $eltd_options['sidebar_title_border_bottom_length'] !== ''){
        $sidebar_title_separator_style[] = 'width: ' . $eltd_options['sidebar_title_border_bottom_length'] . 'px';
    }
    else {
        $sidebar_title_separator_style[] = 'width: 100%';
    }

    if(isset($eltd_options['sidebar_title_border_bottom_padding_bottom']) && $eltd_options['sidebar_title_border_bottom_padding_bottom'] !== '') {
        $sidebar_title_styles[] = 'padding-bottom: '.$eltd_options['sidebar_title_border_bottom_padding_bottom'].'px';
    }
    if(isset($eltd_options['sidebar_title_border_bottom_margin_bottom']) && $eltd_options['sidebar_title_border_bottom_margin_bottom'] !== '') {
        $sidebar_title_styles[] = 'margin-bottom: '.$eltd_options['sidebar_title_border_bottom_margin_bottom'].'px !important';
    }
}

if(is_array($sidebar_title_styles) && count($sidebar_title_styles)) { ?>
    aside.sidebar .widget > h4,
    .woocommerce aside.sidebar .widget h4{
    <?php echo esc_attr(implode(';', $sidebar_title_styles)); ?>
    }
<?php }
if(is_array($sidebar_title_separator_style) && count($sidebar_title_separator_style)) { ?>
    aside.sidebar .widget > h4:after,
    .woocommerce aside.sidebar .widget h4:after{
    <?php echo esc_attr(implode(';', $sidebar_title_separator_style)); ?>
    }
<?php }
 ?>
 
 <?php if(isset($eltd_options['sidebar_title_aligment']) && $eltd_options['sidebar_title_aligment'] !== '') { ?>
	aside.sidebar .widget > h4,
    .woocommerce aside.sidebar .widget h4{
		text-align:  <?php echo esc_attr($eltd_options['sidebar_title_aligment']);?>;
	}
<?php } ?>

<?php

if (isset($eltd_options['sidebar_title_enable_icons']) && $eltd_options['sidebar_title_enable_icons'] == "yes"){ ?>
	aside.sidebar .widget.widget_tag_cloud > h4:before{
		content: "\e01c";
		font-family: 'Simple-Line-Icons';
		margin-right: 10px;
	}
	aside.sidebar .widget.eltd-latest-posts-widget > h4:before{
		content: "\e067";
		font-family: 'Simple-Line-Icons';
		margin-right: 10px;
	}
	aside.sidebar .widget.widget_recent_comments > h4:before{
		content: "\e07d";
		font-family: 'Simple-Line-Icons';
		margin-right: 10px;
	}
	
	aside.sidebar .widget.widget_text > h4:before{
		content: "\e04c";
		font-family: 'Simple-Line-Icons';
		margin-right: 10px;
	}
<?php }
?>

<?php
$sidebar_text_styles = array();

if(isset($eltd_options['sidebar_text_font_family']) && $eltd_options['sidebar_text_font_family'] !== '-1') {
    $sidebar_text_styles[] = 'font-family: '.str_replace('+', ' ', $eltd_options['sidebar_text_font_family']).', sans-serif';
}

if(isset($eltd_options['sidebar_text_font_size']) && $eltd_options['sidebar_text_font_size'] !== '') {
    $sidebar_text_styles[] = 'font-size: '.$eltd_options['sidebar_text_font_size'].'px';
}

if(isset($eltd_options['sidebar_text_line_height']) && $eltd_options['sidebar_text_line_height'] !== '') {
    $sidebar_text_styles[] = 'line-height: '.$eltd_options['sidebar_text_line_height'].'px';
}

if(isset($eltd_options['sidebar_text_letter_spacing']) && $eltd_options['sidebar_text_letter_spacing'] !== '') {
    $sidebar_text_styles[] = 'letter-spacing: '.$eltd_options['sidebar_text_letter_spacing'].'px';
}

if(isset($eltd_options['sidebar_text_font_weight']) && $eltd_options['sidebar_text_font_weight'] !== '') {
    $sidebar_text_styles[] = 'font-weight: '.$eltd_options['sidebar_text_font_weight'];
}

if(isset($eltd_options['sidebar_text_font_style']) && $eltd_options['sidebar_text_font_style'] !== '') {
    $sidebar_text_styles[] = 'font-style: '.$eltd_options['sidebar_text_font_style'];
}

if(isset($eltd_options['sidebar_text_text_transform']) && $eltd_options['sidebar_text_text_transform'] !== '') {
    $sidebar_text_styles[] = 'text-transform: '.$eltd_options['sidebar_text_text_transform'];
}

if(isset($eltd_options['sidebar_text_color']) && $eltd_options['sidebar_text_color'] !== '') {
    $sidebar_text_styles[] = 'color: '.$eltd_options['sidebar_text_color'];
}

if(is_array($sidebar_text_styles) && count($sidebar_text_styles)) { ?>
    aside.sidebar .widget.widget_text,
    aside.sidebar .widget p,
    aside.sidebar .widget span,
    aside.sidebar .widget li,
    aside.sidebar .widget.widget_categories li,
    aside.sidebar .widget.widget_archive li,
    aside.sidebar .widget table,
    aside.sidebar .widget:not(.woocommerce) li.recentcomments,
    aside.sidebar .widget.widget_rss .rssSummary,
    aside.sidebar .widget.widget_rss cite
    {
    <?php echo esc_attr(implode(';', $sidebar_text_styles)); ?>
    }
<?php } ?>

<?php
$sidebar_link_styles = array();

if(isset($eltd_options['sidebar_link_font_family']) && $eltd_options['sidebar_link_font_family'] !== '-1') {
    $sidebar_link_styles[] = 'font-family: '.str_replace('+', ' ', $eltd_options['sidebar_link_font_family']).', sans-serif';
}

if(isset($eltd_options['sidebar_link_font_size']) && $eltd_options['sidebar_link_font_size'] !== '') {
    $sidebar_link_styles[] = 'font-size: '.$eltd_options['sidebar_link_font_size'].'px';
}

if(isset($eltd_options['sidebar_link_line_height']) && $eltd_options['sidebar_link_line_height'] !== '') {
    $sidebar_link_styles[] = 'line-height: '.$eltd_options['sidebar_link_line_height'].'px';
}

if(isset($eltd_options['sidebar_link_letter_spacing']) && $eltd_options['sidebar_link_letter_spacing'] !== '') {
    $sidebar_link_styles[] = 'letter-spacing: '.$eltd_options['sidebar_link_letter_spacing'].'px';
}

if(isset($eltd_options['sidebar_link_font_weight']) && $eltd_options['sidebar_link_font_weight'] !== '') {
    $sidebar_link_styles[] = 'font-weight: '.$eltd_options['sidebar_link_font_weight'];
}

if(isset($eltd_options['sidebar_link_font_style']) && $eltd_options['sidebar_link_font_style'] !== '') {
    $sidebar_link_styles[] = 'font-style: '.$eltd_options['sidebar_link_font_style'];
}

if(isset($eltd_options['sidebar_link_text_transform']) && $eltd_options['sidebar_link_text_transform'] !== '') {
    $sidebar_link_styles[] = 'text-transform: '.$eltd_options['sidebar_link_text_transform'];
}

if(isset($eltd_options['sidebar_link_color']) && $eltd_options['sidebar_link_color'] !== '') {
    $sidebar_link_styles[] = 'color: '.$eltd_options['sidebar_link_color'];
}

if(is_array($sidebar_link_styles) && count($sidebar_link_styles)) { ?>
    aside.sidebar .widget:not(.woocommerce):not(.widget_tag_cloud) a,
    .woocommerce aside.sidebar .woocommerce.widget ul.product-categories a,
    .woocommerce-page aside.sidebar .woocommerce.widget ul.product-categories a,
    .woocommerce aside.sidebar .woocommerce.widget ul.product-categories ul.children li a,
    aside ul.product-categories ul.children li a,
    .woocommerce-page aside.sidebar .woocommerce.widget ul.product-categories ul.children li a,
    aside.sidebar .widget.woocommerce ul.product-categories li a{
    <?php echo esc_attr(implode(';', $sidebar_link_styles)); ?>
    }
<?php } ?>

<?php if (isset($eltd_options['sidebar_link_hover_color']) && !empty($eltd_options['sidebar_link_hover_color'])) { ?>
    aside.sidebar .widget:not(.wooocommerce):not(.widget_tag_cloud) a:hover,
    .woocommerce aside.sidebar .woocommerce.widget ul.product-categories ul.children li a:hover,
    aside ul.product-categories ul.children li a:hover, .woocommerce-page aside.sidebar .woocommerce.widget ul.product-categories ul.children li a:hover,
    .woocommerce aside.sidebar .woocommerce.widget ul.product-categories a:hover,
    aside ul.product-categories a:hover, .woocommerce-page aside.sidebar .woocommerce.widget ul.product-categories li a:hover,
    aside.sidebar .widget.woocommerce ul.product-categories li a:hover{
    color:<?php echo esc_attr($eltd_options['sidebar_link_hover_color']);  ?>;
    }
<?php } ?>

<?php
$sidebar_link_li_styles = array();

if(isset($eltd_options['sidebar_link_separator_color']) && $eltd_options['sidebar_link_separator_color'] !== '') {
    if(isset($eltd_options['sidebar_link_separator_type']) && $eltd_options['sidebar_link_separator_type'] !== '') {
        $sidebar_link_li_styles[] = 'border-bottom-style: '.$eltd_options['sidebar_link_separator_type'];
    }
    else {
        $sidebar_link_li_styles[] = 'border-bottom-style: solid';
    }
    $sidebar_link_li_styles[] = 'border-bottom-color: '.$eltd_options['sidebar_link_separator_color'];
    $sidebar_link_li_styles[] = 'border-bottom-width: 1px';

}

if(is_array($sidebar_link_li_styles) && count($sidebar_link_li_styles)) { ?>
    .widget.eltd-latest-posts-widget .latest_post_holder.image_in_box .latest_post_text{
    <?php echo esc_attr(implode(';', $sidebar_link_li_styles)); ?>
    }
<?php } ?>

<?php

/*Widget Elated Blog*/

$widget_blog_list_title_styles = array();

if(isset($eltd_options['widget_blog_list_title_font_family']) && $eltd_options['widget_blog_list_title_font_family'] !== '-1') {
    $widget_blog_list_title_styles[] = 'font-family: '.str_replace('+', ' ', $eltd_options['widget_blog_list_title_font_family']).', sans-serif';
}

if(isset($eltd_options['widget_blog_list_title_font_size']) && $eltd_options['widget_blog_list_title_font_size'] !== '') {
    $widget_blog_list_title_styles[] = 'font-size: '.$eltd_options['widget_blog_list_title_font_size'].'px';
}

if(isset($eltd_options['widget_blog_list_title_line_height']) && $eltd_options['widget_blog_list_title_line_height'] !== '') {
    $widget_blog_list_title_styles[] = 'line-height: '.$eltd_options['widget_blog_list_title_line_height'].'px';
}

if(isset($eltd_options['widget_blog_list_title_letter_spacing']) && $eltd_options['widget_blog_list_title_letter_spacing'] !== '') {
    $widget_blog_list_title_styles[] = 'letter-spacing: '.$eltd_options['widget_blog_list_title_letter_spacing'].'px';
}

if(isset($eltd_options['widget_blog_list_title_font_weight']) && $eltd_options['widget_blog_list_title_font_weight'] !== '') {
    $widget_blog_list_title_styles[] = 'font-weight: '.$eltd_options['widget_blog_list_title_font_weight'];
}

if(isset($eltd_options['widget_blog_list_title_font_style']) && $eltd_options['widget_blog_list_title_font_style'] !== '') {
    $widget_blog_list_title_styles[] = 'font-style: '.$eltd_options['widget_blog_list_title_font_style'];
}

if(isset($eltd_options['widget_blog_list_title_text_transform']) && $eltd_options['widget_blog_list_title_text_transform'] !== '') {
    $widget_blog_list_title_styles[] = 'text-transform: '.$eltd_options['widget_blog_list_title_text_transform'];
}

if(isset($eltd_options['widget_blog_list_title_color']) && $eltd_options['widget_blog_list_title_color'] !== '') {
    $widget_blog_list_title_styles[] = 'color: '.$eltd_options['widget_blog_list_title_color'];
}

if(is_array($widget_blog_list_title_styles) && count($widget_blog_list_title_styles)) { ?>
    .widget.eltd-latest-posts-widget .latest_post_holder .latest_post_text .latest_post_title,
    .widget.eltd-latest-posts-widget .latest_post_holder .latest_post_text .latest_post_title a,
    .widget.eltd-latest-posts-widget .latest_post_holder .latest_post_text .latest_post_title_holder{
    <?php echo esc_attr(implode(';', $widget_blog_list_title_styles)); ?>
    }

<?php }?>

<?php
if(isset($eltd_options['widget_blog_list_title_hover_color']) && $eltd_options['widget_blog_list_title_hover_color'] !== '') {?>

    .widget.eltd-latest-posts-widget .latest_post_holder .latest_post_text .latest_post_title a:hover{
        color: <?php echo esc_attr($eltd_options['widget_blog_list_title_hover_color']); ?>;
    }


<?php } ?>

<?php
$widget_blog_list_post_info_styles = array();

if(isset($eltd_options['widget_blog_list_post_info_font_family']) && $eltd_options['widget_blog_list_post_info_font_family'] !== '-1') {
    $widget_blog_list_post_info_styles[] = 'font-family: '.str_replace('+', ' ', $eltd_options['widget_blog_list_post_info_font_family']).', sans-serif';
}

if(isset($eltd_options['widget_blog_list_post_info_font_size']) && $eltd_options['widget_blog_list_post_info_font_size'] !== '') {
    $widget_blog_list_post_info_styles[] = 'font-size: '.$eltd_options['widget_blog_list_post_info_font_size'].'px';
}

if(isset($eltd_options['widget_blog_list_post_info_line_height']) && $eltd_options['widget_blog_list_post_info_line_height'] !== '') {
    $widget_blog_list_post_info_styles[] = 'line-height: '.$eltd_options['widget_blog_list_post_info_line_height'].'px';
}

if(isset($eltd_options['widget_blog_list_post_info_letter_spacing']) && $eltd_options['widget_blog_list_post_info_letter_spacing'] !== '') {
    $widget_blog_list_post_info_styles[] = 'letter-spacing: '.$eltd_options['widget_blog_list_post_info_letter_spacing'].'px';
}

if(isset($eltd_options['widget_blog_list_post_info_font_weight']) && $eltd_options['widget_blog_list_post_info_font_weight'] !== '') {
    $widget_blog_list_post_info_styles[] = 'font-weight: '.$eltd_options['widget_blog_list_post_info_font_weight'];
}

if(isset($eltd_options['widget_blog_list_post_info_font_style']) && $eltd_options['widget_blog_list_post_info_font_style'] !== '') {
    $widget_blog_list_post_info_styles[] = 'font-style: '.$eltd_options['widget_blog_list_post_info_font_style'];
}

if(isset($eltd_options['widget_blog_list_post_info_text_transform']) && $eltd_options['widget_blog_list_post_info_text_transform'] !== '') {
    $widget_blog_list_post_info_styles[] = 'text-transform: '.$eltd_options['widget_blog_list_post_info_text_transform'];
}

if(isset($eltd_options['widget_blog_list_post_info_color']) && $eltd_options['widget_blog_list_post_info_color'] !== '') {
    $widget_blog_list_post_info_styles[] = 'color: '.$eltd_options['widget_blog_list_post_info_color'];
}

if(is_array($widget_blog_list_post_info_styles) && count($widget_blog_list_post_info_styles)) { ?>
    .widget.eltd-latest-posts-widget .latest_post_holder .latest_post_text .post_info_section,
    .widget.eltd-latest-posts-widget .latest_post_holder .latest_post_text .post_info_section a,
    .widget.eltd-latest-posts-widget .latest_post_holder .latest_post_text .post_info_section span{
    <?php echo esc_attr(implode(';', $widget_blog_list_post_info_styles)); ?>
    }

<?php }?>

<?php
if(isset($eltd_options['widget_blog_list_post_info_color']) && $eltd_options['widget_blog_list_post_info_color'] !== '') {?>

    .widget.eltd-latest-posts-widget .latest_post_holder .latest_post_text .post_info_section .latest_post_author a,
    .widget.eltd-latest-posts-widget .latest_post_holder .latest_post_text .latest_post_categories > a{
        border-color: <?php echo esc_attr($eltd_options['widget_blog_list_post_info_color']); ?>;
    }

<?php } ?>

<?php
if(isset($eltd_options['widget_blog_list_post_info_link_color']) && $eltd_options['widget_blog_list_post_info_link_color'] !== '') {?>

    .widget.eltd-latest-posts-widget .latest_post_holder .latest_post_text .post_info_section a{
        color: <?php echo esc_attr($eltd_options['widget_blog_list_post_info_link_color']); ?>;
    }

<?php } ?>

<?php
if(isset($eltd_options['widget_blog_list_post_info_link_hover_color']) && $eltd_options['widget_blog_list_post_info_link_hover_color'] !== '') {?>

    .widget.eltd-latest-posts-widget .latest_post_holder .latest_post_text .post_info_section a:hover{
        color: <?php echo esc_attr($eltd_options['widget_blog_list_post_info_link_hover_color']); ?>;
    }

<?php } ?>

<?php
$widget_blog_list_date_styles = array();

if(isset($eltd_options['widget_blog_list_date_font_family']) && $eltd_options['widget_blog_list_date_font_family'] !== '-1') {
    $widget_blog_list_date_styles[] = 'font-family: '.str_replace('+', ' ', $eltd_options['widget_blog_list_date_font_family']).', sans-serif';
}

if(isset($eltd_options['widget_blog_list_date_font_size']) && $eltd_options['widget_blog_list_date_font_size'] !== '') {
    $widget_blog_list_date_styles[] = 'font-size: '.$eltd_options['widget_blog_list_date_font_size'].'px';
}

if(isset($eltd_options['widget_blog_list_date_line_height']) && $eltd_options['widget_blog_list_date_line_height'] !== '') {
    $widget_blog_list_date_styles[] = 'line-height: '.$eltd_options['widget_blog_list_date_line_height'].'px';
}

if(isset($eltd_options['widget_blog_list_date_letter_spacing']) && $eltd_options['widget_blog_list_date_letter_spacing'] !== '') {
    $widget_blog_list_date_styles[] = 'letter-spacing: '.$eltd_options['widget_blog_list_date_letter_spacing'].'px';
}

if(isset($eltd_options['widget_blog_list_date_font_weight']) && $eltd_options['widget_blog_list_date_font_weight'] !== '') {
    $widget_blog_list_date_styles[] = 'font-weight: '.$eltd_options['widget_blog_list_date_font_weight'];
}

if(isset($eltd_options['widget_blog_list_date_font_style']) && $eltd_options['widget_blog_list_date_font_style'] !== '') {
    $widget_blog_list_date_styles[] = 'font-style: '.$eltd_options['widget_blog_list_date_font_style'];
}

if(isset($eltd_options['widget_blog_list_date_text_transform']) && $eltd_options['widget_blog_list_date_text_transform'] !== '') {
    $widget_blog_list_date_styles[] = 'text-transform: '.$eltd_options['widget_blog_list_date_text_transform'];
}

if(isset($eltd_options['widget_blog_list_date_color']) && $eltd_options['widget_blog_list_date_color'] !== '') {
    $widget_blog_list_date_styles[] = 'color: '.$eltd_options['widget_blog_list_date_color'];
}

if(is_array($widget_blog_list_date_styles) && count($widget_blog_list_date_styles)) { ?>
    .widget.eltd-latest-posts-widget .latest_post_holder .latest_post_text .date,
    .widget.eltd-latest-posts-widget .latest_post_holder .latest_post_text .date_holder{
    <?php echo esc_attr(implode(';', $widget_blog_list_date_styles)); ?>
    }

<?php } ?>

<?php

if(isset($eltd_options['widget_blog_list_title_margin_bttm']) && $eltd_options['widget_blog_list_title_margin_bttm']!=''){ ?>
    .widget.eltd-latest-posts-widget .latest_post_holder .latest_post .latest_post_title_holder{
        margin-bottom: <?php echo esc_attr($eltd_options['widget_blog_list_title_margin_bttm']).'px'?>
    }
    <?php
}
?>

<?php
if(isset($eltd_options['widget_blog_list_post_info_margin_bttm']) && $eltd_options['widget_blog_list_post_info_margin_bttm']!=''){ ?>
    .widget.eltd-latest-posts-widget .latest_post_holder .latest_post .post_info_section{
        margin-bottom: <?php echo esc_attr($eltd_options['widget_blog_list_post_info_margin_bttm']).'px'?>
    }
    <?php
}
?>

<?php
if(isset($eltd_options['widget_blog_list_read_more_margin_top']) && $eltd_options['widget_blog_list_read_more_margin_top']!=''){ ?>
    .widget.eltd-latest-posts-widget .latest_post_holder .latest_post a.qbutton{
        margin-top: <?php echo esc_attr($eltd_options['widget_blog_list_read_more_margin_top']).'px'?>
    }
    <?php
}
?>

<?php
$sidearea_styles = array();

if(isset($eltd_options['side_area_background_color']) && $eltd_options['side_area_background_color'] !== '') {
    $sidearea_styles[] = 'background-color:'.$eltd_options['side_area_background_color'];
}

if(isset($eltd_options['side_area_padding_top']) && $eltd_options['side_area_padding_top'] !== '') {
    $sidearea_styles[] = 'padding-top:'.$eltd_options['side_area_padding_top'].'px';
}

if(isset($eltd_options['side_area_padding_right']) && $eltd_options['side_area_padding_right'] !== '') {
    $sidearea_styles[] = 'padding-right:'.$eltd_options['side_area_padding_right'].'px';
}

if(isset($eltd_options['side_area_padding_bottom']) && $eltd_options['side_area_padding_bottom'] !== '') {
    $sidearea_styles[] = 'padding-bottom:'.$eltd_options['side_area_padding_bottom'].'px';
}

if(isset($eltd_options['side_area_padding_left']) && $eltd_options['side_area_padding_left'] !== '') {
    $sidearea_styles[] = 'padding-left:'.$eltd_options['side_area_padding_left'].'px';
}

if(is_array($sidearea_styles) && count($sidearea_styles)) { ?>
    .side_menu,
	.side_menu_slide_from_right .side_menu{
    <?php echo esc_attr(implode(';', $sidearea_styles)); ?>
    }
<?php } ?>

<?php if (isset($eltd_options['side_area_close_icon']) && ($eltd_options['side_area_close_icon']=="dark")) { ?>
    .side_menu a.close_side_menu{
		border-color: #000;
	}
	.side_menu a.close_side_menu .line:before, 
	.side_menu a.close_side_menu .line:after{
		background-color: #000;
	}
<?php } ?>

<?php if(isset($eltd_options['side_area_type']) && ($eltd_options['side_area_type'] == 'side_menu_slide_from_right')){?>

	<?php if (isset($eltd_options['side_area_width']) && ($eltd_options['side_area_width'] !== '') && ($eltd_options['side_area_width'] >=30)) { ?>
		.side_menu_slide_from_right .side_menu{
			right:-<?php echo esc_attr($eltd_options['side_area_width']).'%';  ?>;
			width:<?php echo esc_attr($eltd_options['side_area_width']) .'%';  ?>;
		}
	<?php } ?>

	<?php if (isset($eltd_options['side_area_content_overlay_color']) && !empty($eltd_options['side_area_content_overlay_color'])) { ?>
		.side_menu_slide_from_right .wrapper .cover{
			background-color:<?php echo esc_attr($eltd_options['side_area_content_overlay_color']);  ?>;
		}
	<?php } ?>

	<?php if (isset($eltd_options['side_area_content_overlay_opacity']) && ($eltd_options['side_area_content_overlay_opacity'] !== '')) { ?>
		.side_menu_slide_from_right.right_side_menu_opened .wrapper .cover{
			opacity:<?php echo esc_attr($eltd_options['side_area_content_overlay_opacity']);  ?>;
		}
	<?php } ?>

<?php } ?>


<?php if (isset($eltd_options['side_area_aligment']) && ($eltd_options['side_area_aligment']=='left')) { ?>
	.side_menu_slide_from_right .side_menu,
	body.side_menu_slide_with_content .side_menu,
	.side_area_uncovered_from_content .side_menu{
		text-align: left;
	}
<?php } ?>
<?php if (isset($eltd_options['side_area_aligment']) && ($eltd_options['side_area_aligment']=='right')) { ?>
	.side_menu_slide_from_right .side_menu,
	body.side_menu_slide_with_content .side_menu,
	.side_area_uncovered_from_content .side_menu{
		text-align: right;
	}
<?php } ?>
<?php if (isset($eltd_options['side_area_aligment']) && ($eltd_options['side_area_aligment']=='center')) { ?>
	.side_menu_slide_from_right .side_menu,
	body.side_menu_slide_with_content .side_menu,
	.side_area_uncovered_from_content .side_menu{
		text-align: center;
	}
<?php } ?>


<?php
$side_area_text_styles = array();

if(isset($eltd_options['side_area_text_google_fonts']) && $eltd_options['side_area_text_google_fonts'] !== '-1') {
    $side_area_text_styles[] = 'font-family: '.str_replace('+', ' ', $eltd_options['side_area_text_google_fonts']).', sans-serif';
}

if(isset($eltd_options['side_area_text_fontsize']) && $eltd_options['side_area_text_fontsize'] !== '') {
    $side_area_text_styles[] = 'font-size: '.$eltd_options['side_area_text_fontsize'].'px';
}

if(isset($eltd_options['side_area_text_lineheight']) && $eltd_options['side_area_text_lineheight'] !== '') {
    $side_area_text_styles[] = 'line-height: '.$eltd_options['side_area_text_lineheight'].'px';
}

if(isset($eltd_options['side_area_text_letterspacing']) && $eltd_options['side_area_text_letterspacing'] !== '') {
    $side_area_text_styles[] = 'letter-spacing: '.$eltd_options['side_area_text_letterspacing'].'px';
}

if(isset($eltd_options['side_area_text_fontweight']) && $eltd_options['side_area_text_fontweight'] !== '') {
    $side_area_text_styles[] = 'font-weight: '.$eltd_options['side_area_text_fontweight'];
}

if(isset($eltd_options['side_area_text_fontstyle']) && $eltd_options['side_area_text_fontstyle'] !== '') {
    $side_area_text_styles[] = 'font-style: '.$eltd_options['side_area_text_fontstyle'];
}

if(isset($eltd_options['side_area_text_texttransform']) && $eltd_options['side_area_text_texttransform'] !== '') {
    $side_area_text_styles[] = 'text-transform: '.$eltd_options['side_area_text_texttransform'];
}

if(isset($eltd_options['side_area_text_color']) && $eltd_options['side_area_text_color'] !== '') {
    $side_area_text_styles[] = 'color: '.$eltd_options['side_area_text_color'];
}

if(is_array($side_area_text_styles) && count($side_area_text_styles)) { ?>
    .side_menu .widget,
    .side_menu .widget.widget_search form,
    .side_menu .widget.widget_search form input[type="text"],
    .side_menu .widget.widget_search form input[type="submit"],
    .side_menu .widget h6,
    .side_menu .widget h6 a,
    .side_menu .widget p,
    .side_menu .widget li a,
    .side_menu .widget.widget_rss li a.rsswidget,
    .side_menu #wp-calendar caption,
    .side_menu .widget li,
    .side_menu_title h3,
    .side_menu .widget.widget_archive select,
    .side_menu .widget.widget_categories select,
    .side_menu .widget.widget_text select,
    .side_menu .widget.widget_search form input[type="submit"],
    .side_menu #wp-calendar th,
    .side_menu #wp-calendar td,
    .side_menu .eltd_social_icon_holder i.simple_social{
    <?php echo esc_attr(implode(';', $side_area_text_styles)); ?>
	}
<?php } ?>

<?php
$side_area_title_styles = array();

if(isset($eltd_options['side_area_title_google_fonts']) && $eltd_options['side_area_title_google_fonts'] !== '-1') {
    $side_area_title_styles[] = 'font-family: '.str_replace('+', ' ', $eltd_options['side_area_title_google_fonts']).', sans-serif';
}

if(isset($eltd_options['side_area_title_fontsize']) && $eltd_options['side_area_title_fontsize'] !== '') {
    $side_area_title_styles[] = 'font-size: '.$eltd_options['side_area_title_fontsize'].'px';
}

if(isset($eltd_options['side_area_title_lineheight']) && $eltd_options['side_area_title_lineheight'] !== '') {
    $side_area_title_styles[] = 'line-height: '.$eltd_options['side_area_title_lineheight'].'px';
}

if(isset($eltd_options['side_area_title_letterspacing']) && $eltd_options['side_area_title_letterspacing'] !== '') {
    $side_area_title_styles[] = 'letter-spacing: '.$eltd_options['side_area_title_letterspacing'].'px';
}

if(isset($eltd_options['side_area_title_fontweight']) && $eltd_options['side_area_title_fontweight'] !== '') {
    $side_area_title_styles[] = 'font-weight: '.$eltd_options['side_area_title_fontweight'];
}

if(isset($eltd_options['side_area_title_fontstyle']) && $eltd_options['side_area_title_fontstyle'] !== '') {
    $side_area_title_styles[] = 'font-style: '.$eltd_options['side_area_title_fontstyle'];
}

if(isset($eltd_options['side_area_title_texttransform']) && $eltd_options['side_area_title_texttransform'] !== '') {
    $side_area_title_styles[] = 'text-transform: '.$eltd_options['side_area_title_texttransform'];
}

if(isset($eltd_options['side_area_title_color']) && $eltd_options['side_area_title_color'] !== '') {
    $side_area_title_styles[] = 'color: '.$eltd_options['side_area_title_color'];
}

if(is_array($side_area_title_styles) && count($side_area_title_styles)) { ?>
    .side_menu h4, .side_menu h5 { <?php echo esc_attr(implode(';', $side_area_title_styles)); ?> }
<?php } ?>

<?php
$side_area_title_styles = array();

if(isset($eltd_options['sidearea_link_font_family']) && $eltd_options['sidearea_link_font_family'] !== '-1') {
    $side_area_title_styles[] = 'font-family: '.str_replace('+', ' ', $eltd_options['sidearea_link_font_family']).', sans-serif';
}

if(isset($eltd_options['sidearea_link_font_size']) && $eltd_options['sidearea_link_font_size'] !== '') {
    $side_area_title_styles[] = 'font-size: '.$eltd_options['sidearea_link_font_size'].'px';
}

if(isset($eltd_options['sidearea_link_line_height']) && $eltd_options['sidearea_link_line_height'] !== '') {
    $side_area_title_styles[] = 'line-height: '.$eltd_options['sidearea_link_line_height'].'px';
}

if(isset($eltd_options['sidearea_link_letter_spacing']) && $eltd_options['sidearea_link_letter_spacing'] !== '') {
    $side_area_title_styles[] = 'letter-spacing: '.$eltd_options['sidearea_link_letter_spacing'].'px';
}

if(isset($eltd_options['sidearea_link_font_weight']) && $eltd_options['sidearea_link_font_weight'] !== '') {
    $side_area_title_styles[] = 'font-weight: '.$eltd_options['sidearea_link_font_weight'];
}

if(isset($eltd_options['sidearea_link_font_style']) && $eltd_options['sidearea_link_font_style'] !== '') {
    $side_area_title_styles[] = 'font-style: '.$eltd_options['sidearea_link_font_style'];
}

if(isset($eltd_options['sidearea_link_text_transform']) && $eltd_options['sidearea_link_text_transform'] !== '') {
    $side_area_title_styles[] = 'text-transform: '.$eltd_options['sidearea_link_text_transform'];
}

if(isset($eltd_options['sidearea_link_color']) && $eltd_options['sidearea_link_color'] !== '') {
    $side_area_title_styles[] = 'color: '.$eltd_options['sidearea_link_color'];
}

if(is_array($side_area_title_styles) && count($side_area_title_styles)) { ?>
    .side_menu .widget li a, .side_menu .widget a:not(.qbutton) { <?php echo esc_attr(implode(';', $side_area_title_styles)); ?> }
<?php } ?>

<?php if(isset($eltd_options['sidearea_link_hover_color']) && !empty($eltd_options['sidearea_link_hover_color'])){ ?>
    .side_menu .widget a:hover, .side_menu .widget li:hover, .side_menu .widget li:hover>a{
    color: <?php echo esc_attr($eltd_options['sidearea_link_hover_color']);  ?>;
    }
<?php } ?>

<?php
if (isset($eltd_options['side_area_enable_bottom_border']) && $eltd_options['side_area_enable_bottom_border']=='yes') {
    if (isset($eltd_options['side_area_bottom_border_color']) && !empty($eltd_options['side_area_bottom_border_color'])) { ?>
    .side_menu .widget_recent_entries > ul > li,
    .side_menu .widget_nav_menu li.menu-item,
    .side_menu .widget_recent_comments > ul > li,
    .side_menu .widget_nav_menu ul li,
    .side_menu .widget_pages ul li,
    .side_menu .widget_archive > ul > li,
    .side_menu .widget_categories > ul > li{
        border-bottom: 1px solid <?php echo esc_attr($eltd_options['sidearea_bottom_border_color']);?>;
        margin-bottom: 10px;
        padding-bottom: 10px;
    }
    <?php }
}
?>

<?php

$side_area_icon_spacing = "";

if (isset($eltd_options['side_area_icon_padding_left']) && !empty($eltd_options['side_area_icon_padding_left'])) {
    $side_area_icon_spacing .= 'padding-left: ' . $eltd_options['side_area_icon_padding_left'] . 'px; ';
}

if (isset($eltd_options['side_area_icon_padding_left']) && !empty($eltd_options['side_area_icon_padding_left'])) {
    $side_area_icon_spacing .= 'padding-right: ' . $eltd_options['side_area_icon_padding_left'] . 'px; ';
}

if (isset($eltd_options['side_area_icon_padding_right']) && !empty($eltd_options['side_area_icon_padding_right'])) {
    $side_area_icon_spacing .= 'padding-top: ' . $eltd_options['side_area_icon_padding_right'] . 'px; ';
}

if (isset($eltd_options['side_area_icon_padding_right']) && !empty($eltd_options['side_area_icon_padding_right'])) {
    $side_area_icon_spacing .= 'padding-bottom: ' . $eltd_options['side_area_icon_padding_right'] . 'px; ';
}

if (isset($eltd_options['side_area_icon_margin_left']) && !empty($eltd_options['side_area_icon_margin_left'])) {
    $side_area_icon_spacing .= 'margin-left: ' . $eltd_options['side_area_icon_margin_left'] . 'px; ';
}

if (isset($eltd_options['side_area_icon_margin_right']) && !empty($eltd_options['side_area_icon_margin_right'])) {
    $side_area_icon_spacing .= 'margin-right: ' . $eltd_options['side_area_icon_margin_right'] . 'px; ';
}

if ($side_area_icon_spacing !== "") { ?>
    .side_menu_button a.side_menu_button_link{
    <?php echo esc_attr($side_area_icon_spacing);?>
    }
<?php } ?>

<?php

$side_area_icon_border = "";

if (isset($eltd_options['side_area_icon_border_yesno']) && $eltd_options['side_area_icon_border_yesno'] == "yes") {

    if (isset($eltd_options['side_area_icon_border_color']) && !empty($eltd_options['side_area_icon_border_color'])) {
        $side_area_icon_border .= 'border-color: ' . $eltd_options['side_area_icon_border_color'] . '; ';
    }

    if (isset($eltd_options['side_area_icon_border_style']) && !empty($eltd_options['side_area_icon_border_style'])) {
        $side_area_icon_border .= 'border-style: ' . $eltd_options['side_area_icon_border_style'] . '; ';
    }
    else {
        $side_area_icon_border .= 'border-style: solid; ';

    }

    if (isset($eltd_options['side_area_icon_border_width']) && !empty($eltd_options['side_area_icon_border_width'])) {
        $side_area_icon_border .= 'border-width: ' . $eltd_options['side_area_icon_border_width'] . 'px; ';
    }
    else {
        $side_area_icon_border .= 'border-width: 1px; ';

    }

    if (isset($eltd_options['side_area_icon_border_radius']) && !empty($eltd_options['side_area_icon_border_radius'])) {
        $side_area_icon_border .= 'border-radius: ' . $eltd_options['side_area_icon_border_radius'] . 'px; ';
    }
}


if ($side_area_icon_border !== "") { ?>
    .side_menu_button a.side_menu_button_link{
    <?php echo esc_attr($side_area_icon_border);?>
    -webkit-transition: border-color 0.15s ease-out;
	transition: border-color 0.15s ease-out;
    }
<?php } ?>

<?php

if (isset($eltd_options['side_area_icon_border_hover_color']) && !empty($eltd_options['side_area_icon_border_hover_color'])) {?>
    .side_menu_button a.side_menu_button_link:hover{
        border-color: <?php echo esc_attr($eltd_options['side_area_icon_border_hover_color']);?>;
    }
<?php }
?>

<?php
/* widget elements style start */

// search widget
$sidebar_search_styles = array();

if(isset($eltd_options['sidebar_search_height']) && $eltd_options['sidebar_search_height'] !== '') { ?>
    .widget.widget_search form input[type="text"],
	.widget.widget_search form input[type="submit"],
	.woocommerce .widget #searchform input[type='text'],
	aside.sidebar .widget_product_search form#searchform input#s,
	.woocommerce .widget #searchsubmit,
	aside.sidebar .widget_product_search form#searchform input#searchsubmit{
		height: <?php echo esc_attr($eltd_options['sidebar_search_height']).'px;'?>
		line-height: <?php echo esc_attr($eltd_options['sidebar_search_height']).'px;'?>
	}

<?php }

if (!empty($eltd_options['sidebar_search_border_around']) && $eltd_options['sidebar_search_border_around'] == 'around_search_text'){
    if(!empty($eltd_options['sidebar_search_border_color'])) {
        $sidebar_search_text_border = 'border-color: '.$eltd_options['sidebar_search_border_color'].' !important;'; ?>
            .widget.widget_search form input[type="text"],
            .woocommerce .widget #searchform input[type='text'],
            aside.sidebar .widget_product_search form#searchform input#s{
                <?php echo esc_attr($sidebar_search_text_border); ?>
                border-width: 1px;
                border-style: solid;
                border-right: transparent;
            }
            .widget #searchform{
                border:none;
            }
    <?php }
}
else {
    if(!empty($eltd_options['sidebar_search_border_color'])) {
        $sidebar_search_styles[] = 'border-color: '.$eltd_options['sidebar_search_border_color'];
    }
}


if(!empty($eltd_options['sidebar_search_loupe_color'])) {
    $sidebar_search_styles[] = 'color: '.$eltd_options['sidebar_search_loupe_color'];
}

if(!empty($eltd_options['sidebar_search_loupe_background_color'])) { ?>
	.woocommerce .widget #searchsubmit,
	aside.sidebar .widget_product_search form#searchform input#searchsubmit,
	.widget.widget_search form input[type="submit"]{
		background-color: <?php echo esc_attr($eltd_options['sidebar_search_loupe_background_color']); ?>
	}
<?php }

if(is_array($sidebar_search_styles) && count($sidebar_search_styles)) { ?>
    .widget #searchform,
    .woocommerce .widget #searchsubmit, aside.sidebar .widget_product_search form#searchform input#searchsubmit,
    .widget.widget_search form input[type="submit"]{
    <?php echo esc_attr(implode(';', $sidebar_search_styles)); ?>
    }
<?php } ?>

<?php
$sidebar_search_text_styles = array();

if(isset($eltd_options['sidebar_search_text_font_family']) && $eltd_options['sidebar_search_text_font_family'] !== '-1') {
    $sidebar_search_text_styles[] = 'font-family: '.str_replace('+', ' ', $eltd_options['sidebar_search_text_font_family']).', sans-serif';
}

if(isset($eltd_options['sidebar_search_text_font_size']) && $eltd_options['sidebar_search_text_font_size'] !== '') {
    $sidebar_search_text_styles[] = 'font-size: '.$eltd_options['sidebar_search_text_font_size'].'px';
}

if(isset($eltd_options['sidebar_search_text_line_height']) && $eltd_options['sidebar_search_text_line_height'] !== '') {
    $sidebar_search_text_styles[] = 'line-height: '.$eltd_options['sidebar_search_text_line_height'].'px';
}

if(isset($eltd_options['sidebar_search_text_letter_spacing']) && $eltd_options['sidebar_search_text_letter_spacing'] !== '') {
    $sidebar_search_text_styles[] = 'letter-spacing: '.$eltd_options['sidebar_search_text_letter_spacing'].'px';
}

if(isset($eltd_options['sidebar_search_text_font_weight']) && $eltd_options['sidebar_search_text_font_weight'] !== '') {
    $sidebar_search_text_styles[] = 'font-weight: '.$eltd_options['sidebar_search_text_font_weight'];
}

if(isset($eltd_options['sidebar_search_text_font_style']) && $eltd_options['sidebar_search_text_font_style'] !== '') {
    $sidebar_search_text_styles[] = 'font-style: '.$eltd_options['sidebar_search_text_font_style'];
}

if(isset($eltd_options['sidebar_search_text_text_transform']) && $eltd_options['sidebar_search_text_text_transform'] !== '') {
    $sidebar_search_text_styles[] = 'text-transform: '.$eltd_options['sidebar_search_text_text_transform'];
}

if(isset($eltd_options['sidebar_search_text_color']) && $eltd_options['sidebar_search_text_color'] !== '') {
    $sidebar_search_text_styles[] = 'color: '.$eltd_options['sidebar_search_text_color'];
}


if(is_array($sidebar_search_text_styles) && count($sidebar_search_text_styles)) { ?>
    .widget #searchform input[type='text'],
    .woocommerce .widget #searchsubmit input[type='text']{
    <?php echo esc_attr(implode(';', $sidebar_search_text_styles)); ?>
    }

    <?php if(isset($eltd_options['sidebar_search_text_color']) && $eltd_options['sidebar_search_text_color'] !== ''){ ?>
        .widget #searchform input[type='text']::-webkit-input-placeholder,
        .woocommerce .widget #searchsubmit input[type='text']::-webkit-input-placeholder{
            <?php echo 'color: '.esc_attr($eltd_options['sidebar_search_text_color']).';' ?>
            opacity:1;
        }
        .widget #searchform input[type='text']:-moz-placeholder,
        .woocommerce .widget #searchsubmit input[type='text']:-moz-placeholder{
            <?php echo 'color: '.esc_attr($eltd_options['sidebar_search_text_color']).';' ?>
            opacity:1;
        }
        .widget #searchform input[type='text']::-moz-placeholder,
        .woocommerce .widget #searchsubmit input[type='text']::-moz-placeholder{
            <?php echo 'color: '.esc_attr($eltd_options['sidebar_search_text_color']).';' ?>
            opacity:1;
        }
        .widget #searchform input[type='text']:-ms-input-placeholder,
        .woocommerce .widget #searchsubmit input[type='text']:-ms-input-placeholder{
            <?php echo 'color: '.esc_attr($eltd_options['sidebar_search_text_color']).';' ?>
            opacity:1;
        }
    <?php } ?>

<?php }


if(isset($eltd_options['sidebar_search_focus_text_color']) && $eltd_options['sidebar_search_focus_text_color'] !== '') { ?>
        .widget #searchform input[type='text']:focus,
        .woocommerce .widget #searchsubmit input[type='text']:focus{
            <?php echo 'color: '.esc_attr($eltd_options['sidebar_search_focus_text_color']).';' ?>
        }
        .widget #searchform input[type='text']:focus::-webkit-input-placeholder,
        .woocommerce .widget #searchsubmit input[type='text']:focus::-webkit-input-placeholder{
            <?php echo 'color: '.esc_attr($eltd_options['sidebar_search_focus_text_color']).';' ?>
        }
        .widget #searchform input[type='text']:focus:-moz-placeholder,
        .woocommerce .widget #searchsubmit input[type='text']:focus:-moz-placeholder{
            <?php echo 'color: '.esc_attr($eltd_options['sidebar_search_focus_text_color']).';' ?>
        }
        .widget #searchform input[type='text']:focus::-moz-placeholder,
        .woocommerce .widget #searchsubmit input[type='text']:focus::-moz-placeholder{
            <?php echo 'color: '.esc_attr($eltd_options['sidebar_search_focus_text_color']).';' ?>
        }
        .widget #searchform input[type='text']:focus:-ms-input-placeholder,
        .woocommerce .widget #searchsubmit input[type='text']:focus:-ms-input-placeholder{
            <?php echo 'color: '.esc_attr($eltd_options['sidebar_search_focus_text_color']).';' ?>
        }
<?php }


/* widget elements style end */
?>


<?php
$sidebar_product_title_styles = array();

if(isset($eltd_options['sidebar_product_title_font_family']) && $eltd_options['sidebar_product_title_font_family'] !== '-1') {
    $sidebar_product_title_styles[] = 'font-family: '.str_replace('+', ' ', $eltd_options['sidebar_product_title_font_family']).', sans-serif';
}

if(isset($eltd_options['sidebar_product_title_font_size']) && $eltd_options['sidebar_product_title_font_size'] !== '') {
    $sidebar_product_title_styles[] = 'font-size: '.$eltd_options['sidebar_product_title_font_size'].'px';
}

if(isset($eltd_options['sidebar_product_title_line_height']) && $eltd_options['sidebar_product_title_line_height'] !== '') {
    $sidebar_product_title_styles[] = 'line-height: '.$eltd_options['sidebar_product_title_line_height'].'px';
}

if(isset($eltd_options['sidebar_product_title_letter_spacing']) && $eltd_options['sidebar_product_title_letter_spacing'] !== '') {
    $sidebar_product_title_styles[] = 'letter-spacing: '.$eltd_options['sidebar_product_title_letter_spacing'].'px';
}

if(isset($eltd_options['sidebar_product_title_font_weight']) && $eltd_options['sidebar_product_title_font_weight'] !== '') {
    $sidebar_product_title_styles[] = 'font-weight: '.$eltd_options['sidebar_product_title_font_weight'];
}

if(isset($eltd_options['sidebar_product_title_font_style']) && $eltd_options['sidebar_product_title_font_style'] !== '') {
    $sidebar_product_title_styles[] = 'font-style: '.$eltd_options['sidebar_product_title_font_style'];
}

if(isset($eltd_options['sidebar_product_title_text_transform']) && $eltd_options['sidebar_product_title_text_transform'] !== '') {
    $sidebar_product_title_styles[] = 'text-transform: '.$eltd_options['sidebar_product_title_text_transform'];
}

if(isset($eltd_options['sidebar_product_title_color']) && $eltd_options['sidebar_product_title_color'] !== '') {
    $sidebar_product_title_styles[] = 'color: '.$eltd_options['sidebar_product_title_color'];
}

if(is_array($sidebar_product_title_styles) && count($sidebar_product_title_styles)) { ?>
    .woocommerce aside.sidebar ul.product_list_widget li a,
	.woocommerce aside.sidebar ul.product_list_widget li a span.product-title,
    aside.sidebar ul.product_list_widget li a,
	aside.sidebar ul.product_list_widget li a span.product-title,
	.woocommerce.widget a span.product-title {
    <?php echo esc_attr(implode(';', $sidebar_product_title_styles)); ?>
    }
<?php } ?>

<?php

$sidebar_product_title_hover_styles = array();

if(isset($eltd_options['sidebar_product_title_hover_color']) && $eltd_options['sidebar_product_title_hover_color'] !== '') {
    $sidebar_product_title_hover_styles[] = 'color: '.$eltd_options['sidebar_product_title_hover_color'];
}

if(is_array($sidebar_product_title_hover_styles) && count($sidebar_product_title_hover_styles)) { ?>
	.woocommerce aside.sidebar ul.product_list_widget li a:hover,
	.woocommerce aside.sidebar ul.product_list_widget li a span.product-title:hover,
	aside.sidebar ul.product_list_widget li a:hover,
	aside.sidebar ul.product_list_widget li a span.product-title:hover{
	<?php echo esc_attr(implode(';', $sidebar_product_title_hover_styles)); ?>
	}
<?php } ?>

<?php
$sidebar_product_price_style = array();

if(isset($eltd_options['sidebar_product_price_font_family']) && $eltd_options['sidebar_product_price_font_family'] !== '-1') {
    $sidebar_product_price_style[] = 'font-family: '.str_replace('+', ' ', $eltd_options['sidebar_product_price_font_family']).', sans-serif';
}

if(isset($eltd_options['sidebar_product_price_font_size']) && $eltd_options['sidebar_product_price_font_size'] !== '') {
    $sidebar_product_price_style[] = 'font-size: '.$eltd_options['sidebar_product_price_font_size'].'px';
}

if(isset($eltd_options['sidebar_product_price_line_height']) && $eltd_options['sidebar_product_price_line_height'] !== '') {
    $sidebar_product_price_style[] = 'line-height: '.$eltd_options['sidebar_product_price_line_height'].'px';
}

if(isset($eltd_options['sidebar_product_price_letter_spacing']) && $eltd_options['sidebar_product_price_letter_spacing'] !== '') {
    $sidebar_product_price_style[] = 'letter-spacing: '.$eltd_options['sidebar_product_price_letter_spacing'].'px';
}

if(isset($eltd_options['sidebar_product_price_font_weight']) && $eltd_options['sidebar_product_price_font_weight'] !== '') {
    $sidebar_product_price_style[] = 'font-weight: '.$eltd_options['sidebar_product_price_font_weight'];
}

if(isset($eltd_options['sidebar_product_price_font_style']) && $eltd_options['sidebar_product_price_font_style'] !== '') {
    $sidebar_product_price_style[] = 'font-style: '.$eltd_options['sidebar_product_price_font_style'];
}

if(isset($eltd_options['sidebar_product_price_text_transform']) && $eltd_options['sidebar_product_price_text_transform'] !== '') {
    $sidebar_product_price_style[] = 'text-transform: '.$eltd_options['sidebar_product_price_text_transform'];
}

if(isset($eltd_options['sidebar_product_price_color']) && $eltd_options['sidebar_product_price_color'] !== '') {
    $sidebar_product_price_style[] = 'color: '.$eltd_options['sidebar_product_price_color'];
}

if(is_array($sidebar_product_price_style) && count($sidebar_product_price_style)) { ?>
    .woocommerce aside.sidebar ul.product_list_widget li span.amount,
    aside.sidebar ul.product_list_widget li span.amount,
	.woocommerce.widget li .product_list_widget_info_wrapper > :not(del) .amount,
	.woocommerce.widget li .product_list_widget_info_wrapper > .amount {
    <?php echo esc_attr(implode(';', $sidebar_product_price_style)); ?>
    }
<?php }

if(isset($eltd_options['sidebar_product_price_old_color']) && !empty($eltd_options['sidebar_product_price_old_color'])) { ?>
    .woocommerce aside.sidebar ul.product_list_widget li del span.amount,
    aside.sidebar ul.product_list_widget li del span.amount{
    color: <?php echo esc_attr($eltd_options['sidebar_product_price_old_color']); ?>;
    }
<?php } ?>

<?php

if(isset($eltd_options['sidebar_product_separator']) && $eltd_options['sidebar_product_separator'] == 'yes' ) { ?>
	.woocommerce ul.product_list_widget li .product_list_widget_info_wrapper:after {
		content: '';
		display: block;
		width: 25px;
		height: 2px;
		background-color: #dadada;
		position: relative;
		bottom: -10px;
		left:0;
	}
<?php 
	
	if(isset($eltd_options['sidebar_product_separator_width']) && $eltd_options['sidebar_product_separator_width'] !== '' ) { ?>
		.woocommerce ul.product_list_widget li .product_list_widget_info_wrapper:after {
			width: <?php echo esc_attr($eltd_options['sidebar_product_separator_width']) ?>px;
		}
		
	<?php }
	
	if(isset($eltd_options['sidebar_product_separator_color']) && $eltd_options['sidebar_product_separator_color'] !== '' ) { ?>
		.woocommerce ul.product_list_widget li .product_list_widget_info_wrapper:after {
			background-color: <?php echo esc_attr($eltd_options['sidebar_product_separator_color']) ?>;
		}
	<?php }

} ?>

<?php

$sidebar_product_icon_spacing = "";

if (isset($eltd_options['sidebar_product_icon_padding_left']) && !empty($eltd_options['sidebar_product_icon_padding_left'])) {
    $sidebar_product_icon_spacing .= 'padding-left: ' . $eltd_options['sidebar_product_icon_padding_left'] . 'px; ';
}

if (isset($eltd_options['sidebar_product_icon_padding_right']) && !empty($eltd_options['sidebar_product_icon_padding_right'])) {
    $sidebar_product_icon_spacing .= 'padding-right: ' . $eltd_options['sidebar_product_icon_padding_right'] . 'px; ';
}

if (isset($eltd_options['sidebar_product_icon_margin_left']) && !empty($eltd_options['sidebar_product_icon_margin_left'])) {
    $sidebar_product_icon_spacing .= 'margin-left: ' . $eltd_options['sidebar_product_icon_margin_left'] . 'px; ';
}

if (isset($eltd_options['sidebar_product_icon_margin_right']) && !empty($eltd_options['sidebar_product_icon_margin_right'])) {
    $sidebar_product_icon_spacing .= 'margin-right: ' . $eltd_options['sidebar_product_icon_margin_right'] . 'px; ';
}

if ($sidebar_product_icon_spacing !== "") { ?>
    .header_bottom .shopping_cart_header,
    header.stick_with_left_right_menu .header_full_width .shopping_cart_outer .shopping_cart_header,
    header.stick_with_left_right_menu .shopping_cart_outer .shopping_cart_header{
    <?php echo esc_attr($sidebar_product_icon_spacing);?>
    }
<?php } ?>

<?php

if (isset($eltd_options['header_cart_drop_down_position']) && $eltd_options['header_cart_drop_down_position'] == 'right'){ ?>
	.header_bottom .shopping_cart_dropdown{
		margin-left: 0;
		right: auto;
		left: -7px;
	}

	header.stick_with_left_right_menu.paspartu_header_alignment .header_bottom.header_full_width .shopping_cart_dropdown {
		left: 0;
	}
<?php }

?>

<?php
$shopping_cart_dropdown_style = array();

if(isset($eltd_options['header_cart_drop_down_back_color']) && $eltd_options['header_cart_drop_down_back_color'] !== '') {
	$shopping_cart_dropdown_style[] = 'background-color: '.$eltd_options['header_cart_drop_down_back_color'];
}

if(isset($eltd_options['header_cart_drop_down_border_color']) && $eltd_options['header_cart_drop_down_border_color'] !== '') {
	$shopping_cart_dropdown_style[] = 'border-color: '.$eltd_options['header_cart_drop_down_border_color'];?>
	.shopping_cart_dropdown ul li{
		border-color: <?php echo esc_attr($eltd_options['header_cart_drop_down_border_color']) ;?>
	}
	<?php
}
if(is_array($shopping_cart_dropdown_style) && count($shopping_cart_dropdown_style)) { ?>
	.shopping_cart_dropdown{
		<?php echo esc_attr(implode(';', $shopping_cart_dropdown_style)); ?>
    }
<?php } ?>

<?php
$header_cart_text_style = array();

if(isset($eltd_options['header_cart_text_font_family']) && $eltd_options['header_cart_text_font_family'] !== '-1') {
    $header_cart_text_style[] = 'font-family: '.str_replace('+', ' ', $eltd_options['header_cart_text_font_family']).', sans-serif !important';
}

if(isset($eltd_options['header_cart_text_font_size']) && $eltd_options['header_cart_text_font_size'] !== '') {
    $header_cart_text_style[] = 'font-size: '.$eltd_options['header_cart_text_font_size'].'px';
}

if(isset($eltd_options['header_cart_text_line_height']) && $eltd_options['header_cart_text_line_height'] !== '') {
    $header_cart_text_style[] = 'line-height: '.$eltd_options['header_cart_text_line_height'].'px';
}

if(isset($eltd_options['header_cart_text_letter_spacing']) && $eltd_options['header_cart_text_letter_spacing'] !== '') {
    $header_cart_text_style[] = 'letter-spacing: '.$eltd_options['header_cart_text_letter_spacing'].'px';
}

if(isset($eltd_options['header_cart_text_font_weight']) && $eltd_options['header_cart_text_font_weight'] !== '') {
    $header_cart_text_style[] = 'font-weight: '.$eltd_options['header_cart_text_font_weight'];
}

if(isset($eltd_options['header_cart_text_font_style']) && $eltd_options['header_cart_text_font_style'] !== '') {
    $header_cart_text_style[] = 'font-style: '.$eltd_options['header_cart_text_font_style'];
}

if(isset($eltd_options['header_cart_text_text_transform']) && $eltd_options['header_cart_text_text_transform'] !== '') {
    $header_cart_text_style[] = 'text-transform: '.$eltd_options['header_cart_text_text_transform'];
}

if(isset($eltd_options['header_cart_text_color']) && $eltd_options['header_cart_text_color'] !== '') {
    $header_cart_text_style[] = 'color: '.$eltd_options['header_cart_text_color'];
}

if(is_array($header_cart_text_style) && count($header_cart_text_style)) { ?>
	.shopping_cart_outer .cart_label,
	.shopping_cart_header .header_cart.with_button span.cart_label,
	.vertical_menu_cart .header_cart .cart_label{
    <?php echo esc_attr(implode(';', $header_cart_text_style)); ?>
    }
<?php } ?>

<?php

if(isset($eltd_options['header_cart_text_hover_color']) && $eltd_options['header_cart_text_hover_color'] !== '') { ?>
    .shopping_cart_outer  .shopping_cart_header:hover .cart_label,
	.vertical_menu_cart .header_cart:hover .cart_label,
	.vertical_menu_hidden_with_icons .vertical_menu_cart:hover .header_cart .cart_label{
    color: <?php echo esc_attr($eltd_options['header_cart_text_hover_color']); ?>
    }
<?php } ?>

<?php
$header_cart_icon_style = array();

if(isset($eltd_options['header_cart_icon_color']) && $eltd_options['header_cart_icon_color'] !== '') {
    $header_cart_icon_style[] = 'color: '.$eltd_options['header_cart_icon_color']; ?>
	.shopping_cart_outer .header_cart_span{
		background-color: <?php echo esc_attr($eltd_options['header_cart_icon_color']); ?>
	}
	<?php
}

if(isset($eltd_options['header_cart_icon_size']) && $eltd_options['header_cart_icon_size'] !== '') {
    $header_cart_icon_style[] = 'font-size: '.$eltd_options['header_cart_icon_size'].'px';
}

if(is_array($header_cart_icon_style) && count($header_cart_icon_style)) { ?>
	.shopping_cart_header .header_cart i,
	.vertical_menu_cart .shopping_cart_header .header_cart i{
    <?php echo esc_attr(implode(';', $header_cart_icon_style)); ?>
    }
<?php } ?>

<?php

if(isset($eltd_options['header_cart_icon_hover_color']) && $eltd_options['header_cart_icon_hover_color'] !== '') { ?>
    .shopping_cart_header:hover .header_cart i,
	.vertical_menu_cart:hover .shopping_cart_header .header_cart i,
    header.dark:not(.sticky):not(.scrolled) .shopping_cart_outer .shopping_cart_header:hover .header_cart > i,
    header.light:not(.sticky):not(.scrolled) .shopping_cart_outer .shopping_cart_header:hover .header_cart > i{
		color: <?php echo esc_attr($eltd_options['header_cart_icon_hover_color']); ?>
    }
	.shopping_cart_outer .shopping_cart_header:hover  .header_cart_span,
	.vertical_menu_cart:hover .header_cart_span{
		background-color: <?php echo esc_attr($eltd_options['header_cart_icon_hover_color']); ?>
	}
<?php } ?>

<?php
$header_cart_icon_count_style = array();
if(isset($eltd_options['header_cart_icon_count_color']) && $eltd_options['header_cart_icon_count_color'] !== '') {
	$header_cart_icon_count_style[] = 'color: '.$eltd_options['header_cart_icon_count_color'];
}
if(isset($eltd_options['header_cart_icon_count_back_color']) && $eltd_options['header_cart_icon_count_back_color'] !== '') {
	$header_cart_icon_count_style[] = 'background-color: '.$eltd_options['header_cart_icon_count_back_color'];
}
if(isset($eltd_options['header_cart_icon_count_size']) && $eltd_options['header_cart_icon_count_size'] !== '') {
	$header_cart_icon_count_style[] = 'font-size: '.$eltd_options['header_cart_icon_count_size'].'px';
}
if(is_array($header_cart_icon_count_style) && count($header_cart_icon_count_style)){ ?>
	.shopping_cart_outer .shopping_cart_header .header_cart_span,
	.vertical_menu_cart a .cart_label .number,
	.shopping_cart_outer .shopping_cart_header .header_cart.with_button .header_cart_span{
		 <?php echo esc_attr(implode(';', $header_cart_icon_count_style)); ?>
	}
<?php } ?>

<?php
$header_cart_icon_count_hover_style = array();
if(isset($eltd_options['header_cart_icon_count_hover_color']) && $eltd_options['header_cart_icon_count_hover_color'] !== '') {
	$header_cart_icon_count_hover_style[] = 'color: '.$eltd_options['header_cart_icon_count_hover_color'];
}
if(isset($eltd_options['header_cart_icon_count_back_hover_color']) && $eltd_options['header_cart_icon_count_back_hover_color'] !== '') {
	$header_cart_icon_count_hover_style[] = 'background-color: '.$eltd_options['header_cart_icon_count_back_hover_color'];
}
if(is_array($header_cart_icon_count_hover_style) && count($header_cart_icon_count_hover_style)){ ?>
	.shopping_cart_outer .shopping_cart_header:hover  .header_cart_span,
	.vertical_menu_cart:hover .header_cart_span
	.vertical_menu_cart a:hover .cart_label .number,
	.vertical_menu_hidden_with_icons .vertical_menu_cart:hover a .cart_label .number,
	.shopping_cart_outer .shopping_cart_header:hover  .header_cart.with_button .header_cart_span{
		 <?php echo esc_attr(implode(';', $header_cart_icon_count_hover_style)); ?>
	}
<?php }  ?>
	
<?php
if(isset($eltd_options['header_sticky_cart_icon_count_back_color']) && $eltd_options['header_sticky_cart_icon_count_back_color'] !== '') { ?>
	header.sticky .shopping_cart_outer .shopping_cart_header  .header_cart_span,
	header.sticky .shopping_cart_outer .shopping_cart_header  .header_cart.with_button .header_cart_span{
		background-color: <?php echo esc_attr($eltd_options['header_sticky_cart_icon_count_back_color']); ?>
	}
<?php } ?>
	
<?php
if(isset($eltd_options['header_sticky_cart_icon_count_back_hover_color']) && $eltd_options['header_sticky_cart_icon_count_back_hover_color'] !== '') { ?>
	header.sticky .shopping_cart_outer .shopping_cart_header:hover .header_cart_span,
	header.sticky .shopping_cart_outer .shopping_cart_header:hover .header_cart.with_button .header_cart_span{
		background-color: <?php echo esc_attr($eltd_options['header_sticky_cart_icon_count_back_hover_color']); ?>
	}
<?php } ?>	
	
<?php
if(isset($eltd_options['header_sticky_cart_icon_count_color']) && $eltd_options['header_sticky_cart_icon_count_color'] !== '') { ?>
	header.sticky .shopping_cart_outer .shopping_cart_header  .header_cart_span,
	header.sticky .shopping_cart_outer .shopping_cart_header  .header_cart.with_button .header_cart_span{
		color: <?php echo esc_attr($eltd_options['header_sticky_cart_icon_count_color']); ?>
	}
<?php } ?>
	
	

<?php
if(isset($eltd_options['header_sticky_cart_icon_count_hover_color']) && $eltd_options['header_sticky_cart_icon_count_hover_color'] !== '') { ?>
	header.sticky .shopping_cart_outer .shopping_cart_header:hover  .header_cart_span,
	header.sticky .shopping_cart_outer .shopping_cart_header:hover  .header_cart.with_button .header_cart_span{
		color: <?php echo esc_attr($eltd_options['header_sticky_cart_icon_count_hover_color']); ?>
	}
<?php } ?>	
	
<?php
if(isset($eltd_options['header_sticky_cart_icon_color']) && $eltd_options['header_sticky_cart_icon_color'] !== '') { ?>
	header.sticky .shopping_cart_outer .shopping_cart_header .header_cart > i,
	header.sticky .shopping_cart_outer .shopping_cart_header .header_cart > i{
		color: <?php echo esc_attr($eltd_options['header_sticky_cart_icon_color']); ?>
	}
<?php } ?>

<?php
if(isset($eltd_options['header_sticky_cart_icon_hover_color']) && $eltd_options['header_sticky_cart_icon_hover_color'] !== '') { ?>
	header.sticky .shopping_cart_outer .shopping_cart_header:hover .header_cart > i,
	header.sticky .shopping_cart_outer .shopping_cart_header:hover .header_cart > i{
		color: <?php echo esc_attr($eltd_options['header_sticky_cart_icon_hover_color']); ?>
	}
<?php } ?>		
	

<?php if(isset($eltd_options['header_cart_button_background_color']) && $eltd_options['header_cart_button_background_color'] !== '') { ?>
	.shopping_cart_header .header_cart.with_button{
		background-color: <?php echo esc_attr($eltd_options['header_cart_button_background_color']); ?>
	}
<?php } ?>

<?php if(isset($eltd_options['header_cart_button_background_hover_color']) && $eltd_options['header_cart_button_background_hover_color'] !== '') { ?>
	.shopping_cart_header:hover .header_cart.with_button{
		background-color: <?php echo esc_attr($eltd_options['header_cart_button_background_hover_color']); ?>
	}
<?php } ?>

<?php
$separator_blog_style = array();
if(isset($eltd_options['separator_blog_width']) && $eltd_options['separator_blog_width'] !== '') {
    $separator_blog_style[] = 'width: '.$eltd_options['separator_blog_width'].'px'.';';
}
if(isset($eltd_options['separator_blog_border_color']) && $eltd_options['separator_blog_border_color'] !== '') {
    $separator_blog_style[] = 'border-color: '.$eltd_options['separator_blog_border_color'];
}
if(isset($eltd_options['separator_blog_border_width']) && $eltd_options['separator_blog_border_width'] !== '') {
    $separator_blog_style[] = 'border-width: '.$eltd_options['separator_blog_border_width'].'px'.';';
}
if(is_array($separator_blog_style) && count($separator_blog_style)) { ?>
	.blog_holder.blog_title_author_centered .post_text .post_text_inner .separator.post_separator,
    .blog_holder.blog_title_author_centered article.format-link .post_text .post_text_inner .separator.post_separator,
    .blog_holder.blog_title_author_centered article.format-quote .post_text .post_text_inner .separator.post_separator
    {
    <?php echo esc_attr(implode(';', $separator_blog_style)); ?>
    }
<?php } ?>

<?php if (isset($eltd_options['qs_slider_height_mobile']) && !empty($eltd_options['qs_slider_height_mobile'])) { ?>
    @media only screen and (max-width: 480px){
        .eltd_slider .carousel, .eltd_slider_preloader, .carousel-inner>.item{
            height: <?php echo esc_attr($eltd_options['qs_slider_height_mobile']); ?>px !important;
        }
    }
<?php } ?>


<?php

$drop_down_product_name_styles = array();

if(isset($eltd_options['drop_down_product_name_font_family']) && $eltd_options['drop_down_product_name_font_family'] !== '-1') {
    $drop_down_product_name_styles[] = 'font-family: '.str_replace('+', ' ', $eltd_options['drop_down_product_name_font_family']).', sans-serif';
}

if(isset($eltd_options['drop_down_product_name_font_size']) && $eltd_options['drop_down_product_name_font_size'] !== '') {
    $drop_down_product_name_styles[] = 'font-size: '.$eltd_options['drop_down_product_name_font_size'].'px';
}

if(isset($eltd_options['drop_down_product_name_line_height']) && $eltd_options['drop_down_product_name_line_height'] !== '') {
    $drop_down_product_name_styles[] = 'line-height: '.$eltd_options['drop_down_product_name_line_height'].'px';
}

if(isset($eltd_options['drop_down_product_name_letter_spacing']) && $eltd_options['drop_down_product_name_letter_spacing'] !== '') {
    $drop_down_product_name_styles[] = 'letter-spacing: '.$eltd_options['drop_down_product_name_letter_spacing'].'px';
}

if(isset($eltd_options['drop_down_product_name_font_weight']) && $eltd_options['drop_down_product_name_font_weight'] !== '') {
    $drop_down_product_name_styles[] = 'font-weight: '.$eltd_options['drop_down_product_name_font_weight'];
}

if(isset($eltd_options['drop_down_product_name_font_style']) && $eltd_options['drop_down_product_name_font_style'] !== '') {
    $drop_down_product_name_styles[] = 'font-style: '.$eltd_options['drop_down_product_name_font_style'];
}

if(isset($eltd_options['drop_down_product_name_text_transform']) && $eltd_options['drop_down_product_name_text_transform'] !== '') {
    $drop_down_product_name_styles[] = 'text-transform: '.$eltd_options['drop_down_product_name_text_transform'];
}

if(isset($eltd_options['drop_down_product_name_color']) && $eltd_options['drop_down_product_name_color'] !== '') {
    $drop_down_product_name_styles[] = 'color: '.$eltd_options['drop_down_product_name_color'];
}

if(is_array($drop_down_product_name_styles) && count($drop_down_product_name_styles)) { ?>
    .shopping_cart_dropdown ul li .item_info_holder .item_left a,
    .shopping_cart_dropdown ul li .item_info_holder .item_right .amount{
    <?php echo esc_attr(implode(';', $drop_down_product_name_styles)); ?>
    }
<?php } ?>

<?php

$drop_down_product_name_hover_styles = array();

if(isset($eltd_options['drop_down_product_name_hover_color']) && $eltd_options['drop_down_product_name_hover_color'] !== '') {
    $drop_down_product_name_hover_styles[] = 'color: '.$eltd_options['drop_down_product_name_hover_color'];
}

if(is_array($drop_down_product_name_hover_styles) && count($drop_down_product_name_hover_styles)) { ?>
    .shopping_cart_dropdown ul li .item_info_holder .item_left a:hover{
    <?php echo esc_attr(implode(';', $drop_down_product_name_hover_styles)); ?>
    }
<?php } ?>

<?php

$drop_down_product_quantity_styles = array();

if(isset($eltd_options['drop_down_product_quantity_font_family']) && $eltd_options['drop_down_product_quantity_font_family'] !== '-1') {
    $drop_down_product_quantity_styles[] = 'font-family: '.str_replace('+', ' ', $eltd_options['drop_down_product_quantity_font_family']).', sans-serif';
}

if(isset($eltd_options['drop_down_product_quantity_font_size']) && $eltd_options['drop_down_product_quantity_font_size'] !== '') {
    $drop_down_product_quantity_styles[] = 'font-size: '.$eltd_options['drop_down_product_quantity_font_size'].'px';
}

if(isset($eltd_options['drop_down_product_quantity_line_height']) && $eltd_options['drop_down_product_quantity_line_height'] !== '') {
    $drop_down_product_quantity_styles[] = 'line-height: '.$eltd_options['drop_down_product_quantity_line_height'].'px';
}

if(isset($eltd_options['drop_down_product_quantity_letter_spacing']) && $eltd_options['drop_down_product_quantity_letter_spacing'] !== '') {
    $drop_down_product_quantity_styles[] = 'letter-spacing: '.$eltd_options['drop_down_product_quantity_letter_spacing'].'px';
}

if(isset($eltd_options['drop_down_product_quantity_font_weight']) && $eltd_options['drop_down_product_quantity_font_weight'] !== '') {
    $drop_down_product_quantity_styles[] = 'font-weight: '.$eltd_options['drop_down_product_quantity_font_weight'];
}

if(isset($eltd_options['drop_down_product_quantity_font_style']) && $eltd_options['drop_down_product_quantity_font_style'] !== '') {
    $drop_down_product_quantity_styles[] = 'font-style: '.$eltd_options['drop_down_product_quantity_font_style'];
}

if(isset($eltd_options['drop_down_product_quantity_text_transform']) && $eltd_options['drop_down_product_quantity_text_transform'] !== '') {
    $drop_down_product_quantity_styles[] = 'text-transform: '.$eltd_options['drop_down_product_quantity_text_transform'];
}

if(isset($eltd_options['drop_down_product_quantity_color']) && $eltd_options['drop_down_product_quantity_color'] !== '') {
    $drop_down_product_quantity_styles[] = 'color: '.$eltd_options['drop_down_product_quantity_color'];
}

if(is_array($drop_down_product_quantity_styles) && count($drop_down_product_quantity_styles)) { ?>
    .shopping_cart_dropdown ul li .item_info_holder .quantity{
    <?php echo esc_attr(implode(';', $drop_down_product_quantity_styles)); ?>
    }
<?php } ?>

<?php

$drop_down_product_total_styles = array();

if(isset($eltd_options['drop_down_product_total_font_family']) && $eltd_options['drop_down_product_total_font_family'] !== '-1') {
    $drop_down_product_total_styles[] = 'font-family: '.str_replace('+', ' ', $eltd_options['drop_down_product_total_font_family']).', sans-serif';
}

if(isset($eltd_options['drop_down_product_total_font_size']) && $eltd_options['drop_down_product_total_font_size'] !== '') {
    $drop_down_product_total_styles[] = 'font-size: '.$eltd_options['drop_down_product_total_font_size'].'px';
}

if(isset($eltd_options['drop_down_product_total_line_height']) && $eltd_options['drop_down_product_total_line_height'] !== '') {
    $drop_down_product_total_styles[] = 'line-height: '.$eltd_options['drop_down_product_total_line_height'].'px';
}

if(isset($eltd_options['drop_down_product_total_letter_spacing']) && $eltd_options['drop_down_product_total_letter_spacing'] !== '') {
    $drop_down_product_total_styles[] = 'letter-spacing: '.$eltd_options['drop_down_product_total_letter_spacing'].'px';
}

if(isset($eltd_options['drop_down_product_total_font_weight']) && $eltd_options['drop_down_product_total_font_weight'] !== '') {
    $drop_down_product_total_styles[] = 'font-weight: '.$eltd_options['drop_down_product_total_font_weight'];
}

if(isset($eltd_options['drop_down_product_total_font_style']) && $eltd_options['drop_down_product_total_font_style'] !== '') {
    $drop_down_product_total_styles[] = 'font-style: '.$eltd_options['drop_down_product_total_font_style'];
}

if(isset($eltd_options['drop_down_product_total_text_transform']) && $eltd_options['drop_down_product_total_text_transform'] !== '') {
    $drop_down_product_total_styles[] = 'text-transform: '.$eltd_options['drop_down_product_total_text_transform'];
}

if(isset($eltd_options['drop_down_product_total_color']) && $eltd_options['drop_down_product_total_color'] !== '') {
    $drop_down_product_total_styles[] = 'color: '.$eltd_options['drop_down_product_total_color'];
}

if(is_array($drop_down_product_total_styles) && count($drop_down_product_total_styles)) { ?>
    .shopping_cart_dropdown .cart_bottom .subtotal_holder .total,
    .shopping_cart_dropdown .cart_bottom .subtotal_holder .total_amount{
    <?php echo esc_attr(implode(';', $drop_down_product_total_styles)); ?>
    }
<?php } ?>

<?php

$drop_down_cart_button_styles = array();

if(isset($eltd_options['drop_down_cart_button_font_family']) && $eltd_options['drop_down_cart_button_font_family'] !== '-1') {
    $drop_down_cart_button_styles[] = 'font-family: '.str_replace('+', ' ', $eltd_options['drop_down_cart_button_font_family']).', sans-serif';
}

if(isset($eltd_options['drop_down_cart_button_line_height']) && $eltd_options['drop_down_cart_button_line_height'] !== '') {
    $drop_down_cart_button_styles[] = 'line-height: '.$eltd_options['drop_down_cart_button_line_height'].'px';
    $drop_down_cart_button_styles[] = 'height: '.$eltd_options['drop_down_cart_button_line_height'].'px';
}

if(isset($eltd_options['drop_down_cart_button_letter_spacing']) && $eltd_options['drop_down_cart_button_letter_spacing'] !== '') {
    $drop_down_cart_button_styles[] = 'letter-spacing: '.$eltd_options['drop_down_cart_button_letter_spacing'].'px';
}

if(isset($eltd_options['drop_down_cart_button_font_weight']) && $eltd_options['drop_down_cart_button_font_weight'] !== '') {
    $drop_down_cart_button_styles[] = 'font-weight: '.$eltd_options['drop_down_cart_button_font_weight'];
}

if(isset($eltd_options['drop_down_cart_button_font_style']) && $eltd_options['drop_down_cart_button_font_style'] !== '') {
    $drop_down_cart_button_styles[] = 'font-style: '.$eltd_options['drop_down_cart_button_font_style'];
}

if(isset($eltd_options['drop_down_cart_button_text_transform']) && $eltd_options['drop_down_cart_button_text_transform'] !== '') {
    $drop_down_cart_button_styles[] = 'text-transform: '.$eltd_options['drop_down_cart_button_text_transform'];
}

if(isset($eltd_options['drop_down_cart_button_color']) && $eltd_options['drop_down_cart_button_color'] !== '') {
    $drop_down_cart_button_styles[] = 'color: '.$eltd_options['drop_down_cart_button_color'];
}

if(isset($eltd_options['drop_down_cart_button_background_color']) && $eltd_options['drop_down_cart_button_background_color'] !== '') {
    $drop_down_cart_button_styles[] = 'background-color: '.$eltd_options['drop_down_cart_button_background_color'];
}

if(is_array($drop_down_cart_button_styles) && count($drop_down_cart_button_styles)) { ?>
    .shopping_cart_dropdown .cart_bottom .view-cart,
    .shopping_cart_dropdown .cart_bottom .checkout{
    <?php echo esc_attr(implode(';', $drop_down_cart_button_styles)); ?>
    }
<?php } ?>

<?php
$drop_down_cart_button_hover_styles = array();

if(isset($eltd_options['drop_down_cart_button_color_hover']) && $eltd_options['drop_down_cart_button_color_hover'] !== '') {
    $drop_down_cart_button_hover_styles[] = 'color: '.$eltd_options['drop_down_cart_button_color_hover'];
}

if(isset($eltd_options['drop_down_cart_button_background_color_hover']) && $eltd_options['drop_down_cart_button_background_color_hover'] !== '') {
    $drop_down_cart_button_hover_styles[] = 'background-color: '.$eltd_options['drop_down_cart_button_background_color_hover'];
}

if(is_array($drop_down_cart_button_hover_styles) && count($drop_down_cart_button_hover_styles)) { ?>
    .shopping_cart_dropdown .cart_bottom .view-cart:hover,
    .shopping_cart_dropdown .cart_bottom .checkout:hover{
    <?php echo esc_attr(implode(';', $drop_down_cart_button_hover_styles)); ?>
    }
<?php } ?>
    
<?php

$drop_down_cart_remove_button_style = array();

if(isset($eltd_options['drop_down_remove_button_color']) && $eltd_options['drop_down_remove_button_color'] !== '') {
    $drop_down_cart_remove_button_style[] = 'color: '.$eltd_options['drop_down_remove_button_color'];
}

if(isset($eltd_options['drop_down_remove_button_back_color']) && $eltd_options['drop_down_remove_button_back_color'] !== '') {
    $drop_down_cart_remove_button_style[] = 'background-color: '.$eltd_options['drop_down_remove_button_back_color'];
}

if(is_array($drop_down_cart_remove_button_style) && count($drop_down_cart_remove_button_style)) { ?>
    .shopping_cart_dropdown ul li .item_info_holder .item_right .remove{
    <?php echo esc_attr(implode(';', $drop_down_cart_remove_button_style)); ?>
    }
<?php } ?>  
    
<?php

$drop_down_cart_remove_button_hover_style = array();

if(isset($eltd_options['drop_down_remove_button_color_hover']) && $eltd_options['drop_down_remove_button_color_hover'] !== '') {
    $drop_down_cart_remove_button_hover_style[] = 'color: '.$eltd_options['drop_down_remove_button_color_hover'];
}

if(isset($eltd_options['drop_down_remove_button_back_color_hover']) && $eltd_options['drop_down_remove_button_back_color_hover'] !== '') {
    $drop_down_cart_remove_button_hover_style[] = 'background-color: '.$eltd_options['drop_down_remove_button_back_color_hover'];
}

if(is_array($drop_down_cart_remove_button_hover_style) && count($drop_down_cart_remove_button_hover_style)) { ?>
    .shopping_cart_dropdown ul li .item_info_holder .item_right .remove:hover{
    <?php echo esc_attr(implode(';', $drop_down_cart_remove_button_hover_style)); ?>
    }
<?php } ?>



<?php

/*Footer woocommerce widget*/

$footer_wdgt_product_title_styles = array();

if(isset($eltd_options['footer_wdgt_product_title_font_family']) && $eltd_options['footer_wdgt_product_title_font_family'] !== '-1') {
    $footer_wdgt_product_title_styles[] = 'font-family: '.str_replace('+', ' ', $eltd_options['footer_wdgt_product_title_font_family']).', sans-serif';
}

if(isset($eltd_options['footer_wdgt_product_title_font_size']) && $eltd_options['footer_wdgt_product_title_font_size'] !== '') {
    $footer_wdgt_product_title_styles[] = 'font-size: '.$eltd_options['footer_wdgt_product_title_font_size'].'px';
}

if(isset($eltd_options['footer_wdgt_product_title_line_height']) && $eltd_options['footer_wdgt_product_title_line_height'] !== '') {
    $footer_wdgt_product_title_styles[] = 'line-height: '.$eltd_options['footer_wdgt_product_title_line_height'].'px';
}

if(isset($eltd_options['footer_wdgt_product_title_letter_spacing']) && $eltd_options['footer_wdgt_product_title_letter_spacing'] !== '') {
    $footer_wdgt_product_title_styles[] = 'letter-spacing: '.$eltd_options['footer_wdgt_product_title_letter_spacing'].'px';
}

if(isset($eltd_options['footer_wdgt_product_title_font_weight']) && $eltd_options['footer_wdgt_product_title_font_weight'] !== '') {
    $footer_wdgt_product_title_styles[] = 'font-weight: '.$eltd_options['footer_wdgt_product_title_font_weight'];
}

if(isset($eltd_options['footer_wdgt_product_title_font_style']) && $eltd_options['footer_wdgt_product_title_font_style'] !== '') {
    $footer_wdgt_product_title_styles[] = 'font-style: '.$eltd_options['footer_wdgt_product_title_font_style'];
}

if(isset($eltd_options['footer_wdgt_product_title_text_transform']) && $eltd_options['footer_wdgt_product_title_text_transform'] !== '') {
    $footer_wdgt_product_title_styles[] = 'text-transform: '.$eltd_options['footer_wdgt_product_title_text_transform'];
}

if(isset($eltd_options['footer_wdgt_product_title_color']) && $eltd_options['footer_wdgt_product_title_color'] !== '') {
    $footer_wdgt_product_title_styles[] = 'color: '.$eltd_options['footer_wdgt_product_title_color'] . ' !important';
}

if(is_array($footer_wdgt_product_title_styles) && count($footer_wdgt_product_title_styles)) { ?>
    footer .woocommerce ul.product_list_widget li a,
    footer .woocommerce ul.product_list_widget li a span.product-title,
    footer ul.product_list_widget li a,
    footer ul.product_list_widget li a span.product-title{
    <?php echo esc_attr(implode(' !important;', $footer_wdgt_product_title_styles)); //Important because of the footer span :not classes overriding?>
    }
<?php } ?>

<?php

$footer_wdgt_product_title_hover_styles = array();

if(isset($eltd_options['footer_wdgt_product_title_hover_color']) && $eltd_options['footer_wdgt_product_title_hover_color'] !== '') {
    $footer_wdgt_product_title_hover_styles[] = 'color: '.$eltd_options['footer_wdgt_product_title_hover_color'] . ' !important';
}

if(is_array($footer_wdgt_product_title_hover_styles) && count($footer_wdgt_product_title_hover_styles)) { ?>
    footer .woocommerce ul.product_list_widget li a:hover,
    footer .woocommerce ul.product_list_widget li a span.product-title:hover,
    footer ul.product_list_widget li a:hover,
    footer ul.product_list_widget li a span.product-title:hover{
    <?php echo esc_attr(implode(';', $footer_wdgt_product_title_hover_styles)); ?>
    }
<?php } ?>

<?php
$footer_wdgt_product_price_style = array();

if(isset($eltd_options['footer_wdgt_product_price_font_family']) && $eltd_options['footer_wdgt_product_price_font_family'] !== '-1') {
    $footer_wdgt_product_price_style[] = 'font-family: '.str_replace('+', ' ', $eltd_options['footer_wdgt_product_price_font_family']).', sans-serif';
}

if(isset($eltd_options['footer_wdgt_product_price_font_size']) && $eltd_options['footer_wdgt_product_price_font_size'] !== '') {
    $footer_wdgt_product_price_style[] = 'font-size: '.$eltd_options['footer_wdgt_product_price_font_size'].'px';
}

if(isset($eltd_options['footer_wdgt_product_price_line_height']) && $eltd_options['footer_wdgt_product_price_line_height'] !== '') {
    $footer_wdgt_product_price_style[] = 'line-height: '.$eltd_options['footer_wdgt_product_price_line_height'].'px';
}

if(isset($eltd_options['footer_wdgt_product_price_letter_spacing']) && $eltd_options['footer_wdgt_product_price_letter_spacing'] !== '') {
    $footer_wdgt_product_price_style[] = 'letter-spacing: '.$eltd_options['footer_wdgt_product_price_letter_spacing'].'px';
}

if(isset($eltd_options['footer_wdgt_product_price_font_weight']) && $eltd_options['footer_wdgt_product_price_font_weight'] !== '') {
    $footer_wdgt_product_price_style[] = 'font-weight: '.$eltd_options['footer_wdgt_product_price_font_weight'];
}

if(isset($eltd_options['footer_wdgt_product_price_font_style']) && $eltd_options['footer_wdgt_product_price_font_style'] !== '') {
    $footer_wdgt_product_price_style[] = 'font-style: '.$eltd_options['footer_wdgt_product_price_font_style'];
}

if(isset($eltd_options['footer_wdgt_product_price_text_transform']) && $eltd_options['footer_wdgt_product_price_text_transform'] !== '') {
    $footer_wdgt_product_price_style[] = 'text-transform: '.$eltd_options['footer_wdgt_product_price_text_transform'];
}

if(isset($eltd_options['footer_wdgt_product_price_color']) && $eltd_options['footer_wdgt_product_price_color'] !== '') {
    $footer_wdgt_product_price_style[] = 'color: '.$eltd_options['footer_wdgt_product_price_color'] . ' !important';
}

if(is_array($footer_wdgt_product_price_style) && count($footer_wdgt_product_price_style)) { ?>
    footer .woocommerce ul.product_list_widget li span.amount,
    footer ul.product_list_widget li span.amount{
    <?php echo esc_attr(implode(' !important;', $footer_wdgt_product_price_style)); //Important because of the footer span :not classes overriding?>
    }
<?php }

if(isset($eltd_options['footer_wdgt_product_price_old_color']) && !empty($eltd_options['footer_wdgt_product_price_old_color'])) { ?>
    footer .woocommerce ul.product_list_widget li del span.amount,
    footer ul.product_list_widget li del span.amount{
    color: <?php echo esc_attr($eltd_options['footer_wdgt_product_price_old_color']); ?> !important;
    }
<?php } ?>

<?php
//generate Elated Slider navigation styles

if(isset($eltd_options['qs_navigation_control_color']) && $eltd_options['qs_navigation_control_color'] != '') {
	$qs_nav_color = $eltd_options['qs_navigation_control_color'];
	?>
	.carousel-indicators li.active span:before,
	.carousel-indicators li span:before {
		border-color: <?php echo esc_attr($qs_nav_color)?>;
	}
	.carousel-indicators li.active span {
		background-color: <?php echo esc_attr($qs_nav_color)?>;
	}
<?php }

if(isset($eltd_options['qs_navigation_control_transparency']) && $eltd_options['qs_navigation_control_transparency'] != '') { ?>
	.carousel-indicators li,
    .carousel-indicators.dark li {
		opacity: <?php echo esc_attr($eltd_options['qs_navigation_control_transparency']); ?>;
    }
<?php }

if(isset($eltd_options['qs_navigation_control_size']) && $eltd_options['qs_navigation_control_size'] != '') { ?>
	.carousel-indicators li span,
	.carousel-indicators li span:before{
		width: <?php echo esc_attr($eltd_options['qs_navigation_control_size'])?>px;
		height: <?php echo esc_attr($eltd_options['qs_navigation_control_size'])?>px;
	}
<?php }

if(isset($eltd_options['qs_navigation_control_active_color']) && $eltd_options['qs_navigation_control_active_color'] != '') {
	$qs_nav_active_color = $eltd_options['qs_navigation_control_active_color']; ?>		
		.carousel-indicators li.active span:before {
			border-color: <?php echo esc_attr($qs_nav_active_color)?>;
		}
		.carousel-indicators li.active span {
			background-color: <?php echo esc_attr($qs_nav_active_color)?>;
		}
<?php }

if(isset($eltd_options['qs_navigation_control_active_transparency']) && $eltd_options['qs_navigation_control_active_transparency'] != '') { ?>
	.carousel-indicators li.active,
    .carousel-indicators.dark li.active{
		opacity: <?php echo esc_attr($eltd_options['qs_navigation_control_active_transparency']); ?>;
    }
<?php }

if(isset($eltd_options['qs_navigation_control_active_size']) && $eltd_options['qs_navigation_control_active_size'] != '') {	?>
	.carousel-indicators li.active span,
	.carousel-indicators li.active span:before{
		width: <?php echo esc_attr($eltd_options['qs_navigation_control_active_size'])?>px;
		height: <?php echo esc_attr($eltd_options['qs_navigation_control_active_size'])?>px;
	}
<?php }

//generate header buttons styles
$header_buttons_styles          = '';
$header_buttons_hover_styles    = '';
if(isset($eltd_options['header_buttons_color']) && $eltd_options['header_buttons_color']) {
    $header_buttons_styles .= 'color: '.$eltd_options['header_buttons_color'].';';
}

if(isset($eltd_options['header_buttons_hover_color']) && $eltd_options['header_buttons_hover_color'] != '') {
    $header_buttons_hover_styles .= 'color: '.$eltd_options['header_buttons_hover_color'].'!important;';
}

if($header_buttons_styles != ""){ ?>
    .side_menu_button > a,
    .mobile_menu_button span,
    .side_menu_button > a.search_covers_header,
    .side_menu_button > a.side_menu_button_link,
    .side_menu_button > a.search_slides_from_header_bottom,
    .side_menu_button > a.search_slides_from_window_top,
    .header_top .inner .header_top_side_button > a.search_covers_header,
    .header_top .inner .header_top_side_button > a.fullscreen_search,
    .header_top .inner .header_top_side_button > a.search_slides_from_header_bottom,
    .header_top .inner .header_top_side_button > a.search_slides_from_window_top,
    .side_menu_button > a.fade_push_text_right:not(.popup_menu),
    .fixed_top_header .side_menu_button > a,
    .fixed_top_header .popup_menu .line,
    .fixed_top_header .mobile_menu_button span,
	.vertical_menu_search a{ <?php echo esc_attr($header_buttons_styles); ?> }

    .popup_menu .line,
    .popup_menu .line:after, .popup_menu .line:before,
	.popup_menu.opened .line:after, .popup_menu.opened .line:before,
	.side_menu_button_link.custom_lines .custom_lines_inner .line,
	.side_menu_button_link.custom_lines .custom_lines_inner .line:before,
	.side_menu_button_link.custom_lines .custom_lines_inner .line:after{
    background-color: <?php echo esc_attr($eltd_options['header_buttons_color']); ?>;
    }
<?php }

if($header_buttons_hover_styles != "") { ?>
    .side_menu_button > a:hover,
    .mobile_menu_button span:hover,
    .popup_menu:hover .line,
    .popup_menu:hover .line:after,
    .popup_menu:hover .line:before,
    .header_top .inner .header_top_side_button > a.search_covers_header:hover,
    .header_top .inner .header_top_side_button > a.fullscreen_search:hover,
    .header_top .inner .header_top_side_button > a.search_slides_from_header_bottom:hover,
    .header_top .inner .header_top_side_button > a.search_slides_from_window_top:hover,
	.light:not(.sticky) .side_menu_button > a:hover,
	.dark:not(.sticky) .side_menu_button > a:hover,
	.vertical_menu_search:hover a,
	.vertical_menu_search:hover .search_icon_text{
		<?php echo esc_attr($header_buttons_hover_styles); ?>
	}

    .popup_menu:hover .line,
    .popup_menu:hover .line:after, .popup_menu:hover .line:before,
	.popup_menu.opened:hover .line:after,
	.popup_menu.opened:hover .line:before,
	.side_menu_button_link.custom_lines:hover .custom_lines_inner .line,
	.side_menu_button_link.custom_lines:hover .custom_lines_inner .line:before,
	.side_menu_button_link.custom_lines:hover .custom_lines_inner .line:after{
		background-color: <?php echo esc_attr($eltd_options['header_buttons_hover_color']); ?> ;
    }
<?php } ?>



<?php if(isset($eltd_options['header_light_icons_color']) && $eltd_options['header_light_icons_color'] !== '') { ?>
    @media only screen and (min-width: 1000px) {
        header.light:not(.sticky) .eltd_icon_shade > a > *,
        header.light:not(.sticky) .side_menu_button > a{
            color: <?php echo esc_attr($eltd_options['header_light_icons_color']); ?> !important;
        }
		

        header.light:not(.sticky) .side_menu_button > a{
            border-color: <?php echo esc_attr($eltd_options['header_light_icons_color']); ?> !important;
        }
    }

    @media only screen and (min-width: 1000px) {
        .light:not(.sticky) .popup_menu:not(.opened) .line,
        .light:not(.sticky) .popup_menu:not(.opened) .line:before,
        .light:not(.sticky) .popup_menu:not(.opened) .line:after,
        .light.header_style_on_scroll .popup_menu:not(.opened) .line,
        .light.header_style_on_scroll .popup_menu:not(.opened) .line:before,
        .light.header_style_on_scroll .popup_menu:not(.opened) .line:after,
		.light:not(.sticky) .side_menu_button_link.custom_lines .custom_lines_inner .line,
		.light:not(.sticky) .side_menu_button_link.custom_lines .custom_lines_inner .line:before,
		.light:not(.sticky) .side_menu_button_link.custom_lines .custom_lines_inner .line:after,
		.light.header_style_on_scroll .side_menu_button_link.custom_lines .custom_lines_inner .line,
		.light.header_style_on_scroll .side_menu_button_link.custom_lines .custom_lines_inner .line:before,
		.light.header_style_on_scroll .side_menu_button_link.custom_lines .custom_lines_inner .line:after{
            background-color: <?php echo esc_attr($eltd_options['header_light_icons_color']); ?>;
        }
    }
<?php } ?>

<?php if(isset($eltd_options['header_dark_icons_color']) && $eltd_options['header_dark_icons_color'] !== '') { ?>
    @media only screen and (min-width: 1000px) {
        header.dark:not(.sticky) .eltd_icon_shade > a > *,
        header.dark:not(.sticky) .side_menu_button > a{
            color: <?php echo esc_attr($eltd_options['header_dark_icons_color']); ?> !important;
        }
    }

    @media only screen and (min-width: 1000px) {
        .dark:not(.sticky) .popup_menu:not(.opened) .line,
        .dark:not(.sticky) .popup_menu:not(.opened) .line:before,
        .dark:not(.sticky) .popup_menu:not(.opened) .line:after,
        .dark.header_style_on_scroll .popup_menu:not(.opened) .line,
        .dark.header_style_on_scroll .popup_menu:not(.opened) .line:before,
        .dark.header_style_on_scroll .popup_menu:not(.opened) .line:after,
		.dark:not(.sticky) .side_menu_button_link.custom_lines .custom_lines_inner .line,
		.dark:not(.sticky) .side_menu_button_link.custom_lines .custom_lines_inner .line:before,
		.dark:not(.sticky) .side_menu_button_link.custom_lines .custom_lines_inner .line:after,
		.dark.header_style_on_scroll .side_menu_button_link.custom_lines .custom_lines_inner .line,
		.dark.header_style_on_scroll .side_menu_button_link.custom_lines .custom_lines_inner .line:before,
		.dark.header_style_on_scroll .side_menu_button_link.custom_lines .custom_lines_inner .line:after{
            background-color: <?php echo esc_attr($eltd_options['header_dark_icons_color']); ?>;
        }
    }

<?php } ?>

<?php if(isset($eltd_options['header_light_hover_icons_color']) && $eltd_options['header_light_hover_icons_color'] !== '') { ?>
    @media only screen and (min-width: 1000px) {
        header.light:not(.sticky) .eltd_icon_shade > a:hover > *,
        header.light:not(.sticky) .side_menu_button > a:hover{
        color: <?php echo esc_attr($eltd_options['header_light_hover_icons_color']); ?> !important;
        }
		
		header.light:not(.sticky) .side_menu_button > a:hover{
            border-color: <?php echo esc_attr($eltd_options['header_light_hover_icons_color']); ?> !important;
        }
    }

    @media only screen and (min-width: 1000px) {
        .light:not(.sticky) .popup_menu:not(.opened):hover .line,
        .light:not(.sticky) .popup_menu:not(.opened):hover .line:before,
        .light:not(.sticky) .popup_menu:not(.opened):hover .line:after,
        .light.header_style_on_scroll .popup_menu:not(.opened):hover .line,
        .light.header_style_on_scroll .popup_menu:not(.opened):hover .line:before,
        .light.header_style_on_scroll .popup_menu:not(.opened):hover .line:after,
		.light:not(.sticky) .side_menu_button_link.custom_lines:hover .custom_lines_inner .line,
		.light:not(.sticky) .side_menu_button_link.custom_lines:hover .custom_lines_inner .line:before,
		.light:not(.sticky) .side_menu_button_link.custom_lines:hover .custom_lines_inner .line:after,
		.light.header_style_on_scroll .side_menu_button_link.custom_lines:hover .custom_lines_inner .line,
		.light.header_style_on_scroll .side_menu_button_link.custom_lines:hover .custom_lines_inner .line:before,
		.light.header_style_on_scroll .side_menu_button_link.custom_lines:hover .custom_lines_inner .line:after{
            background-color: <?php echo esc_attr($eltd_options['header_light_hover_icons_color']); ?>;
        }
    }

<?php } ?>

<?php if(isset($eltd_options['header_dark_hover_icons_color']) && $eltd_options['header_dark_hover_icons_color'] !== '') { ?>
    @media only screen and (min-width: 1000px) {
        header.dark:not(.sticky) .eltd_icon_shade > a:hover > *,
        header.dark:not(.sticky) .side_menu_button > a:hover{
            color: <?php echo esc_attr($eltd_options['header_dark_hover_icons_color']); ?> !important;
        }
    }

    @media only screen and (min-width: 1000px) {
        .dark:not(.sticky) .popup_menu:not(.opened):hover .line,
        .dark:not(.sticky) .popup_menu:not(.opened):hover .line:before,
        .dark:not(.sticky) .popup_menu:not(.opened):hover .line:after,
        .dark.header_style_on_scroll .popup_menu:not(.opened):hover .line,
        .dark.header_style_on_scroll .popup_menu:not(.opened):hover .line:before,
        .dark.header_style_on_scroll .popup_menu:not(.opened):hover .line:after,
		.dark:not(.sticky) .side_menu_button_link.custom_lines:hover .custom_lines_inner .line,
		.dark:not(.sticky) .side_menu_button_link.custom_lines:hover .custom_lines_inner .line:before,
		.dark:not(.sticky) .side_menu_button_link.custom_lines:hover .custom_lines_inner .line:after,
		.dark.header_style_on_scroll .side_menu_button_link.custom_lines:hover .custom_lines_inner .line,
		.dark.header_style_on_scroll .side_menu_button_link.custom_lines:hover .custom_lines_inner .line:before,
		.dark.header_style_on_scroll .side_menu_button_link.custom_lines:hover .custom_lines_inner .line:after{
            background-color: <?php echo esc_attr($eltd_options['header_dark_hover_icons_color']); ?>;
        }
    }

<?php } ?>

<?php if(isset($eltd_options['header_buttons_font_size']) && $eltd_options['header_buttons_font_size'] !== ''){ ?>
    .side_menu_button > a:not(.popup_menu):not(.custom_lines),
    .mobile_menu_button span,
    .side_menu_button > a.search_covers_header,
    .side_menu_button > a.search_slides_from_header_bottom,
    .side_menu_button > a.search_slides_from_window_top,
    .header_top .inner .header_top_side_button > a.search_covers_header,
    .header_top .inner .header_top_side_button > a.fullscreen_search,
    .header_top .inner .header_top_side_button > a.search_slides_from_header_bottom,
    .header_top .inner .header_top_side_button > a.search_slides_from_window_top,
    .side_menu_button > a.fade_push_text_right:not(.popup_menu),
	.fullscreen_search_holder .close_container a,
    .fixed_top_header .side_menu_button > a:not(.custom_lines),
    .fixed_top_header .popup_menu .line,
    .fixed_top_header .mobile_menu_button span{
		font-size: <?php echo esc_attr($eltd_options['header_buttons_font_size']); ?>px;
    }
    <?php if($eltd_options['header_buttons_font_size'] > 30 ){ ?>
    @media only screen and (max-width: 480px){
        .side_menu_button > a:not(.popup_menu):not(.custom_lines),
        .mobile_menu_button span,
		.fullscreen_search_holder .close_container a{
            font-size: 30px;
        }
    }
    <?php } ?>
<?php } ?>

<?php if(isset($eltd_options['header_buttons_fullscreen_button_background']) && $eltd_options['header_buttons_fullscreen_button_background'] !== ''){ ?>
	.side_menu_button .popup_menu{
		-webkit-backface-visibility: hidden;
		display: inline-block;
	}
	.side_menu_button .popup_menu.normal{
		padding:10px 15px;
	}
	.side_menu_button .popup_menu.medium{
		padding:10px 13px;
	}
	.side_menu_button .popup_menu.large{
		padding:15px;
	}
	.side_menu_button .popup_menu:not(.opened){
		background-color: <?php echo esc_attr($eltd_options['header_buttons_fullscreen_button_background']); ?>;
	}
<?php } ?>
<?php if(isset($eltd_options['header_buttons_fullscreen_button_background_hover']) && $eltd_options['header_buttons_fullscreen_button_background_hover'] !== ''){ ?>
	.side_menu_button .popup_menu.normal:not(.opened):hover,
	.side_menu_button .popup_menu.medium:not(.opened):hover,
	.side_menu_button .popup_menu.large:not(.opened):hover{
		background-color: <?php echo esc_attr($eltd_options['header_buttons_fullscreen_button_background_hover']); ?>;
	}
<?php } ?>


<?php if(isset($eltd_options['mobile_button_color']) && $eltd_options['mobile_button_color'] !== ''){ ?>
	@media only screen and (max-width: 1000px){
		.mobile_menu_button span,
		.side_menu_button > a,
		a.search_covers_header:not(.popup_menu),
        .side_menu_button > a.side_menu_button_link:not(.popup_menu),
        .side_menu_button > a.search_slides_from_header_bottom:not(.popup_menu),
        .side_menu_button > a.fade_push_text_right:not(.popup_menu),
        .fixed_top_header .side_menu_button > a,
        .fixed_top_header .popup_menu .line,
        .fixed_top_header .mobile_menu_button span,
		.dark .mobile_menu_button span,
		.light .mobile_menu_button span,
        header.light .side_menu_button_wrapper .side_menu_button > a{
			color: <?php echo esc_attr($eltd_options['mobile_button_color']); ?>;
		}

		.popup_menu .line,
		.popup_menu .line:after,
		.popup_menu .line:before{
			background-color: <?php echo esc_attr($eltd_options['mobile_button_color']); ?>;
		}
	}
<?php } ?>

<?php if(isset($eltd_options['mobile_button_color_hover']) && $eltd_options['mobile_button_color_hover'] !== ''){ ?>
	@media only screen and (max-width: 1000px){
		.mobile_menu_button span:hover,
		.side_menu_button > a:hover,
		.mobile_menu_button span:hover,
		.dark .mobile_menu_button span:hover,
		.light .mobile_menu_button span:hover{
			color: <?php echo esc_attr($eltd_options['mobile_button_color_hover']);?>!important ;
		}
		.popup_menu:hover .line,
		.popup_menu:hover .line:after,
		.popup_menu:hover .line:before{
			background-color: <?php echo esc_attr($eltd_options['mobile_button_color_hover']); ?>;
		}
	}
<?php } ?>

<?php if(eltd_is_side_header() && !empty($eltd_options['enable_vertical_menu_separators']) && $eltd_options['enable_vertical_menu_separators']=='yes'){ ?>
    nav.vertical_menu > ul > li > a:after,
	.vertical_menu_toggle .second:after,
	.vertical_menu_hidden_with_icons .vertical_menu_search:after, 
	.vertical_menu_hidden_with_icons .vertical_menu_cart:after,
	.vertical_menu_hidden_with_icons  .vertical_menu_area_widget_holder .widget.widget_text:after{
    display:block;
    <?php if (isset($eltd_options['vertical_menu_separators_color']) && !empty($eltd_options['vertical_menu_separators_color'])) { ?> background-color: <?php echo esc_attr($eltd_options['vertical_menu_separators_color']); ?>;  <?php } ?>
    <?php if (isset($eltd_options['vertical_menu_separators_width']) && $eltd_options['vertical_menu_separators_width'] !== '') { ?>  width: <?php echo esc_attr($eltd_options['vertical_menu_separators_width']); ?>px; <?php } ?>
    }
<?php } ?>

<?php if(isset($eltd_options['enable_vertical_menu_separators']) && $eltd_options['enable_vertical_menu_separators'] == 'yes' && isset($eltd_options['enable_vertical_menutop_bottom_separators']) && $eltd_options['enable_vertical_menutop_bottom_separators'] == 'yes'){ ?>
		nav.vertical_menu > ul > li:last-child > a:after{
			content: '';
		}
		nav.vertical_menu > ul > li:first-child > a{
			border-top-width:1px;
			border-top-style:solid;
			border-top-color:#e5735c;
		}
		<?php if(isset($eltd_options['vertical_menu_separators_color']) && $eltd_options['vertical_menu_separators_color'] !== ''){ ?>
			nav.vertical_menu > ul > li:first-child > a{
				border-top-color:<?php echo esc_attr($eltd_options['vertical_menu_separators_color']); ?>;
			}
		<?php } ?>
<?php } ?>

<?php if(isset($eltd_options['full_width_vertical_menu_items']) && $eltd_options['full_width_vertical_menu_items'] == 'yes'){ ?>


		<?php
			$paddings='';
			if(isset($eltd_options['vertical_area_padding']) && $eltd_options['vertical_area_padding'] !== ''){
				$paddings = ($eltd_options['vertical_area_padding']);
				$padding = explode(" ", $paddings);
				$num_padd = count($padding);
		} ?>


		nav.vertical_menu > ul > li > a:after,
		.vertical_menu_toggle .second:after,
		.vertical_menu_hidden_with_icons .vertical_menu_search:after, 
		.vertical_menu_hidden_with_icons .vertical_menu_cart:after,
		.vertical_menu_hidden_with_icons  .vertical_menu_area_widget_holder .widget.widget_text:after{
			width: 100%;
		}

		nav.vertical_menu_toggle ul > li.menu-item-has-children > a > .plus,
		nav.vertical_menu_to_content ul > li.menu-item-has-children > a > .plus{
			right: 15px;
		}

		body:not(.vertical_menu_hidden) nav.vertical_menu ul li a,
		body.vertical_menu_hidden .vertical_menu_area.active nav.vertical_menu ul li a,
		.vertical_menu_toggle .second,
		.vertical_menu_hidden_with_icons .vertical_menu_search, 
		.vertical_menu_hidden_with_icons .vertical_menu_cart,
		.vertical_menu_hidden_with_icons  .vertical_menu_area_widget_holder .widget.widget_text{
			<?php if(isset($eltd_options['vertical_area_padding']) && $eltd_options['vertical_area_padding'] == ''){ ?>

				margin-left: -40px;
				margin-right: -40px;
				padding-left: 40px;
				padding-right: 40px;

			<?php } else { ?>

				<?php if($num_padd==1){ ?>
					margin-left: -<?php echo esc_attr($padding[0]);?>;
					margin-right: -<?php echo esc_attr($padding[0]);?>;
					padding-left: <?php echo esc_attr($padding[0]);?>;
					padding-right: <?php echo esc_attr($padding[0]);?>;
				<?php } ?>

				<?php if($num_padd==2){ ?>
					margin-left: -<?php echo esc_attr($padding[1]);?>;
					margin-right: -<?php echo esc_attr($padding[1]);?>;
					padding-left: <?php echo esc_attr($padding[1]);?>;
					padding-right: <?php echo esc_attr($padding[1]);?>;
				<?php } ?>

				<?php if($num_padd==3){ ?>
					margin-left: -<?php echo esc_attr($padding[1]);?>;
					margin-right: -<?php echo esc_attr($padding[1]);?>;
					padding-left: <?php echo esc_attr($padding[1]);?>;
					padding-right: <?php echo esc_attr($padding[1]);?>;
				<?php } ?>

				<?php if($num_padd==4){ ?>
					margin-left: -<?php echo esc_attr($padding[3]);?>;
					margin-right: -<?php echo esc_attr($padding[1]);?>;
					padding-left: <?php echo esc_attr($padding[3]);?>;
					padding-right: <?php echo esc_attr($padding[1]);?>;
				<?php } ?>

			<?php } ?>
		}


<?php } ?>

<?php if(isset($eltd_options['vertical_menu_dropdown_top_padding']) && ($eltd_options['vertical_menu_dropdown_top_padding'])!=''){ ?>
	.vertical_menu .second .inner ul,
    .vertical_menu_to_content .second .inner ul li ul,
    .vertical_menu_to_content li.narrow .second .inner ul li ul,
	.vertical_menu_to_content li.narrow .second .inner ul{
		padding-top: <?php echo esc_attr($eltd_options['vertical_menu_dropdown_top_padding']); ?>px;
	}
	
	.vertical_menu_to_content li.narrow .second .inner ul li ul,
	.vertical_menu_hidden_with_icons .vertical_menu_to_content .second .inner ul li ul{
		margin-top: -<?php echo esc_attr($eltd_options['vertical_menu_dropdown_top_padding']); ?>px;
	}
<?php } ?>

<?php if(isset($eltd_options['vertical_menu_dropdown_bottom_padding']) && ($eltd_options['vertical_menu_dropdown_bottom_padding'])!=''){ ?>
	.vertical_menu .second .inner ul,
    .vertical_menu_to_content .second .inner ul li ul,
    .vertical_menu_to_content li.narrow .second .inner ul li ul,
	.vertical_menu_to_content li.narrow .second .inner ul{
		padding-bottom: <?php echo esc_attr($eltd_options['vertical_menu_dropdown_bottom_padding']); ?>px;
	}
	.vertical_menu_to_content li.narrow .second .inner ul li ul,
	.vertical_menu_hidden_with_icons .vertical_menu_to_content .second .inner ul li ul.bottom{
		margin-bottom: -<?php echo esc_attr($eltd_options['vertical_menu_dropdown_bottom_padding']); ?>px;
	}
<?php } ?>


<?php if(isset($eltd_options['vertical_menu_dd_item_padding_top_bttm']) && ($eltd_options['vertical_menu_dd_item_padding_top_bttm'])!=''){ ?>
    .vertical_menu .second .inner li > a,
    .vertical_menu_to_content .second .inner ul li a,
    .vertical_menu_toggle .second .inner ul li a{
        padding-top: <?php echo esc_attr($eltd_options['vertical_menu_dd_item_padding_top_bttm']); ?>px;
        padding-bottom: <?php echo esc_attr($eltd_options['vertical_menu_dd_item_padding_top_bttm']); ?>px;
    }
<?php } ?>

<?php
if (eltd_is_side_header() && isset($eltd_options['vertical_area_dropdown_showing']) && $eltd_options['vertical_area_dropdown_showing']=='to_content' && !empty($eltd_options['vertical_dropdown_separators_yesno']) && $eltd_options['vertical_dropdown_separators_yesno']=='yes'){
    if (isset($eltd_options['vertical_dropdown_separators_color']) && !empty($eltd_options['vertical_dropdown_separators_color'])) {?>
        .vertical_menu .second .inner ul > li a{
            border-bottom: 1px solid <?php echo esc_attr($eltd_options['vertical_dropdown_separators_color'])?>;
        }
        <?php
        if (isset($eltd_options['enable_vertical_top_bottom_dropdown_separators']) && $eltd_options['enable_vertical_top_bottom_dropdown_separators']=='yes') {?>
            .vertical_menu .second .inner ul > li:first-child a{
                border-top: 1px solid <?php echo esc_attr($eltd_options['vertical_dropdown_separators_color'])?>;
            }
        <?php } ?>
   <?php }
}

?>

<?php if(isset($eltd_options['enable_vertical_menu_items_background']) && ($eltd_options['enable_vertical_menu_items_background'])=='yes'){ ?>

	<?php if(isset($eltd_options['vertical_menu_items_background_color']) && !empty($eltd_options['vertical_menu_items_background_color'])){ ?>
		nav.vertical_menu>ul>li>a{
			background-color: <?php echo esc_attr($eltd_options['vertical_menu_items_background_color']); ?>;
		}
	<?php } ?>
	<?php if(isset($eltd_options['vertical_menu_items_hover_background_color']) && !empty($eltd_options['vertical_menu_items_hover_background_color'])){ ?>
		nav.vertical_menu>ul>li:hover>a,
		nav.vertical_menu>ul>li.active:hover>a,
		.vertical_menu_hidden_with_icons .vertical_menu_search:hover, 
		.vertical_menu_hidden_with_icons .vertical_menu_cart:hover{
			background-color: <?php echo esc_attr($eltd_options['vertical_menu_items_hover_background_color']); ?>;
		}
	<?php } ?>
	<?php if(isset($eltd_options['vertical_menu_items_active_background_color']) && !empty($eltd_options['vertical_menu_items_active_background_color'])){ ?>
		nav.vertical_menu>ul>li.active>a{
			background-color: <?php echo esc_attr($eltd_options['vertical_menu_items_active_background_color']); ?>;
		}
	<?php } ?>

<?php } ?>



<?php if(isset($eltd_options['enable_vertical_menu_item_left_border']) && $eltd_options['enable_vertical_menu_item_left_border'] == 'yes'){ ?>

	<?php if (isset($eltd_options['vertical_menu_item_left_border_width']) && !empty($eltd_options['vertical_menu_item_left_border_width'])) { ?>
		nav.vertical_menu>ul>li>a:before{
			width: <?php echo esc_attr($eltd_options['vertical_menu_item_left_border_width']); ?>px;
		}
	<?php } ?>


	<?php if (isset($eltd_options['vertical_menu_item_left_border_color']) && !empty($eltd_options['vertical_menu_item_left_border_color'])) { ?>
		nav.vertical_menu>ul>li>a:before{
			background-color: <?php echo esc_attr($eltd_options['vertical_menu_item_left_border_color']); ?>;
			opacity:1;
		}
	<?php } ?>

	<?php if (isset($eltd_options['vertical_menu_item_left_border_hover_color']) && !empty($eltd_options['vertical_menu_item_left_border_hover_color'])) { ?>
		nav.vertical_menu>ul>li>a:hover:before,
		nav.vertical_menu>ul>li.active>a:hover:before{
			background-color: <?php echo esc_attr($eltd_options['vertical_menu_item_left_border_hover_color']); ?>;
			opacity:1;
		}
	<?php } ?>

	<?php if (isset($eltd_options['vertical_menu_item_left_border_active_color']) && !empty($eltd_options['vertical_menu_item_left_border_active_color'])) { ?>
		nav.vertical_menu>ul>li.active>a:before{
			background-color: <?php echo esc_attr($eltd_options['vertical_menu_item_left_border_active_color']); ?>;
			opacity:1;
		}
	<?php } ?>

<?php } ?>


.vertical_menu_to_content .menu-item .second{
	left: calc(100% + 40px); /*because of the padding*/
	width: calc(100% + 30px); /*because of the width need to be 30 wider */
}
.vertical_menu_right .vertical_menu_to_content .menu-item .second{
	right: calc(100% + 40px);
}

<?php if(!empty($eltd_options['vertical_area_alignment']) && $eltd_options['vertical_menu_separators_width'] !== ''){ ?>
    <?php $margin_left= $eltd_options['vertical_menu_separators_width']/2; ?>

    nav.vertical_menu > ul > li > a:after,
	.vertical_menu_toggle .second:after{
    <?php if($eltd_options['vertical_area_alignment'] == 'left'){ ?>
        left:0px;

    <?php } elseif($eltd_options['vertical_area_alignment'] == 'center'){ ?>
        left:50%;
        margin-left: -<?php echo esc_attr($margin_left); ?>px;

    <?php } elseif($eltd_options['vertical_area_alignment'] == 'right'){ ?>
        left:auto;
        right: 0px;

    <?php } ?>
    }
<?php } elseif (!empty($eltd_options['vertical_area_alignment']) && $eltd_options['vertical_menu_separators_width'] == ''){  ?>

    nav.vertical_menu > ul > li > a:after,
	.vertical_menu_toggle .second:after{
    <?php if($eltd_options['vertical_area_alignment'] == 'left'){ ?>
        left:0px;

    <?php } elseif($eltd_options['vertical_area_alignment'] == 'center'){ ?>
        left:50%;
        margin-left: -22px;

    <?php } elseif($eltd_options['vertical_area_alignment'] == 'right'){ ?>
        left:auto;
        right: 0px;

    <?php } ?>
    }
<?php } ?>

<?php if(!empty($eltd_options['vertical_area_hidden_button_color']) && $eltd_options['vertical_area_hidden_button_color'] !== ''){ ?>
	.vertical_menu_hidden_button_line,
	.vertical_menu_hidden_button_line:after,.vertical_menu_hidden_button_line:before{
		background-color: <?php echo esc_attr($eltd_options['vertical_area_hidden_button_color']); ?>;
	}
<?php } ?>

<?php if(isset($eltd_options['vertical_area_right_border_color']) && $eltd_options['vertical_area_right_border_color'] !== ''){ ?>
		.vertical_area_background{
			border-right-color: <?php echo esc_attr($eltd_options['vertical_area_right_border_color']); ?>;
			border-right-style:solid;
			border-right-width:1px;
			box-sizing: border-box;
		}
<?php } ?>

<?php if (isset($eltd_options['vertical_area_background']) && $eltd_options['vertical_area_background'] !== '') { ?>
    aside.vertical_menu_area.vertical_area_background,
	.vertical_menu.vertical_menu_side ul li div.second,
    .vertical_menu.vertical_menu_side ul li div.second ul,
    .vertical_menu.vertical_menu_side ul li div.second ul li ul,
	.vertical_menu.vertical_menu_side ul li div.second ul li a{
        background-color: <?php echo esc_attr($eltd_options['vertical_area_background']); ?>;
    }

<?php } ?>

<?php if(isset($eltd_options['vertical_area_padding']) && $eltd_options['vertical_area_padding'] !== ''){ ?>
    aside.vertical_menu_area,
	.vertical_menu_hidden_with_icons aside.vertical_menu_area.active,
	.vertical_menu_hidden_with_icons aside.vertical_menu_area:not(.active){
    padding: <?php echo esc_attr($eltd_options['vertical_area_padding']); ?>;
    }
    <?php

    $padding_array = explode(" ", $eltd_options['vertical_area_padding']);
    $padding_to_add = 0;
    if (count($padding_array) == 1){
        $padding_to_add = $padding_array[0];
    }
    else{
        $padding_to_add = $padding_array[1];
    }
    ?>

    .vertical_menu_to_content .menu-item .second {
        left: calc(100% + <?php echo esc_attr($padding_to_add); ?>);
        width: calc(100% + 30px);
    }

    <?php if ($eltd_options['vertical_area_position'] == 'right') {
        $padding_to_add = 0;
        if (count($padding_array) == 1){
            $padding_to_add = $padding_array[0];
        }
        elseif (count($padding_array) == 4){
            $padding_to_add = $padding_array[3];
        }
        else {
            $padding_to_add = $padding_array[1];
        } ?>

        .vertical_menu_right .vertical_menu_to_content .menu-item .second {
            right: calc(100% + <?php echo esc_attr($padding_to_add); ?>);
            left: inherit;
        }
		
    <?php }

    ?>
<?php } ?>

<?php
	$v_menu_paddings='';
	$left_padding='';
	$right_padding='';
	$count_paddings='';
	if(isset($eltd_options['vertical_area_padding']) && $eltd_options['vertical_area_padding'] !== ''){
		$v_menu_paddings = ($eltd_options['vertical_area_padding']);
		$v_menu_padding = explode(" ", $v_menu_paddings);
		$num_v_menu_padd = count($v_menu_padding);

		if($num_v_menu_padd==1){
			$left_padding = $v_menu_padding[0];
			$right_padding =  $v_menu_padding[0];
		 }

		if($num_v_menu_padd==2){
			$left_padding = $v_menu_padding[1];
			$right_padding =  $v_menu_padding[1];
		}

		if($num_v_menu_padd==3){
			$left_padding = $v_menu_padding[1];
			$right_padding =  $v_menu_padding[1];
		 }

		if($num_v_menu_padd==4){
			$left_padding = $v_menu_padding[3];
			$right_padding =  $v_menu_padding[1];
		}

		$count_paddings= $left_padding + $right_padding ;
	}
?>


<?php if(isset($eltd_options['vertical_area_type']) && $eltd_options['vertical_area_type'] == 'hidden_with_icons' && isset($eltd_options['vertical_area_padding']) && $eltd_options['vertical_area_padding'] !== ''){ ?>
    .vertical_menu_hidden_with_icons .vertical_menu_area.active .vertical_menu_area_inner,
	.vertical_menu_hidden_with_icons.vertical_menu_hidden_with_logo .vertical_menu_area.active .vertical_menu_area_inner,
	.vertical_menu_hidden_with_icons.vertical_menu_right .vertical_menu_area.active .vertical_menu_area_inner,
	.vertical_menu_hidden_with_icons.vertical_menu_hidden_with_logo.vertical_menu_right .vertical_menu_area.active .vertical_menu_area_inner{
		left: <?php echo esc_attr($left_padding); ?>;
		width: calc(100% - <?php echo esc_attr($count_paddings); ?>px);
    }

<?php } ?>





<?php if(isset($eltd_options['vertical_area_navigation_top_margin']) && $eltd_options['vertical_area_navigation_top_margin'] !== ''){ ?>
    nav.vertical_menu{
		margin-top: <?php echo esc_attr($eltd_options['vertical_area_navigation_top_margin']); ?>px;
    }
<?php } ?>

<?php if(!empty($eltd_options['vertical_area_alignment']) && $eltd_options['vertical_area_alignment'] !== ''){ ?>
    .vertical_logo_wrapper,
    nav.vertical_menu,
    aside.vertical_menu_area .vertical_menu_area_widget_holder,
	.vertical_menu_area_icons_holder{
    text-align: <?php echo esc_attr($eltd_options['vertical_area_alignment']); ?>;
    }
<?php } ?>

<?php if(!empty($eltd_options['vertical_area_text_color'])){ ?>
    aside .vertical_menu_area_widget_holder,
    aside .vertical_menu_area_widget_holder p,
    aside .vertical_menu_area_widget_holder span{
    color: <?php echo esc_attr($eltd_options['vertical_area_text_color']); ?>;
    }
<?php } ?>

<?php if (!empty($eltd_options['vertical_menu_color']) || !empty($eltd_options['vertical_menu_fontsize']) || !empty($eltd_options['vertical_menu_lineheight']) || !empty($eltd_options['vertical_menu_fontstyle']) || !empty($eltd_options['vertical_menu_fontweight']) || !empty($eltd_options['vertical_menu_texttransform']) || (isset($eltd_options['vertical_menu_letterspacing']) && $eltd_options['vertical_menu_letterspacing'] !== '') || $eltd_options['vertical_menu_google_fonts'] != "-1") { ?>
    nav.vertical_menu > ul > li > a,
		.vertical_menu.vertical_menu_side ul li a		{
    <?php if (!empty($eltd_options['vertical_menu_color'])) { ?> color: <?php echo esc_attr($eltd_options['vertical_menu_color']);  ?>; <?php } ?>
    <?php if($eltd_options['vertical_menu_google_fonts'] != "-1"){ ?>
        font-family: '<?php echo esc_attr(str_replace('+', ' ', $eltd_options['vertical_menu_google_fonts'])); ?>', sans-serif;
    <?php } ?>
    <?php if (!empty($eltd_options['vertical_menu_fontsize'])) { ?> font-size: <?php echo esc_attr($eltd_options['vertical_menu_fontsize']);  ?>px; <?php } ?>
    <?php if (!empty($eltd_options['vertical_menu_lineheight'])) { ?> line-height: <?php echo esc_attr($eltd_options['vertical_menu_lineheight']);  ?>px; <?php } ?>
    <?php if (!empty($eltd_options['vertical_menu_fontstyle'])) { ?> font-style: <?php echo esc_attr($eltd_options['vertical_menu_fontstyle']);  ?>; <?php } ?>
    <?php if (!empty($eltd_options['vertical_menu_fontweight'])) { ?> font-weight: <?php echo esc_attr($eltd_options['vertical_menu_fontweight']);  ?>; <?php } ?>
    <?php if (!empty($eltd_options['vertical_menu_texttransform'])) { ?> text-transform: <?php echo esc_attr($eltd_options['vertical_menu_texttransform']);  ?>; <?php } ?>
    <?php if ($eltd_options['vertical_menu_letterspacing'] !== '') { ?> letter-spacing: <?php echo esc_attr($eltd_options['vertical_menu_letterspacing']);  ?>px; <?php } ?>
    }
<?php } ?>


<?php if (!empty($eltd_options['vertical_menu_hovercolor'])) { ?>
    nav.vertical_menu > ul > li.active:hover > a,
    nav.vertical_menu > ul > li:hover > a,
	.vertical_menu.vertical_menu_side ul li:hover > a,
	.vertical_menu.vertical_menu_side ul li.active:hover > a{
		color: <?php echo esc_attr($eltd_options['vertical_menu_hovercolor']);  ?>;
	}
<?php } ?>

<?php if (!empty($eltd_options['vertical_menu_activecolor'])) { ?>
    nav.vertical_menu > ul > li.active > a,
	.vertical_menu.vertical_menu_side ul li.active > a{
		color: <?php echo esc_attr($eltd_options['vertical_menu_activecolor']);  ?>;
    }
<?php } ?>

<?php if (!empty($eltd_options['vertical_transparent_menu_color']) || !empty($eltd_options['vertical_transparent_menu_fontsize']) || !empty($eltd_options['vertical_transparent_menu_lineheight']) || !empty($eltd_options['vertical_transparent_menu_fontstyle']) || !empty($eltd_options['vertical_transparent_menu_fontweight']) || !empty($eltd_options['vertical_transparent_menu_texttransform']) || (isset($eltd_options['vertical_transparent_menu_letterspacing']) && $eltd_options['vertical_transparent_menu_letterspacing'] !== '') || $eltd_options['vertical_transparent_menu_google_fonts'] != "-1") { ?>
    .vertical_menu_enabled.vertical_menu_transparency_on:not(.vertical_menu_hidden)  nav.vertical_menu > ul > li > a,
	.vertical_menu_enabled.vertical_menu_transparency_on:not(.vertical_menu_hidden)  .vertical_menu.vertical_menu_side ul li a{
    <?php if (!empty($eltd_options['vertical_transparent_menu_color'])) { ?> color: <?php echo esc_attr($eltd_options['vertical_transparent_menu_color']);  ?>; <?php } ?>
    <?php if($eltd_options['vertical_transparent_menu_google_fonts'] != "-1"){ ?>
        font-family: '<?php echo esc_attr(str_replace('+', ' ', $eltd_options['vertical_transparent_menu_google_fonts'])); ?>', sans-serif;
    <?php } ?>
    <?php if (!empty($eltd_options['vertical_transparent_menu_fontsize'])) { ?> font-size: <?php echo esc_attr($eltd_options['vertical_transparent_menu_fontsize']);  ?>px; <?php } ?>
    <?php if (!empty($eltd_options['vertical_transparent_menu_lineheight'])) { ?> line-height: <?php echo esc_attr($eltd_options['vertical_transparent_menu_lineheight']);  ?>px; <?php } ?>
    <?php if (!empty($eltd_options['vertical_transparent_menu_fontstyle'])) { ?> font-style: <?php echo esc_attr($eltd_options['vertical_transparent_menu_fontstyle']);  ?>; <?php } ?>
    <?php if (!empty($eltd_options['vertical_transparent_menu_fontweight'])) { ?> font-weight: <?php echo esc_attr($eltd_options['vertical_transparent_menu_fontweight']);  ?>; <?php } ?>
    <?php if (!empty($eltd_options['vertical_transparent_menu_texttransform'])) { ?> text-transform: <?php echo esc_attr($eltd_options['vertical_transparent_menu_texttransform']);  ?>; <?php } ?>
    <?php if ($eltd_options['vertical_transparent_menu_letterspacing'] !== '') { ?> letter-spacing: <?php echo esc_attr($eltd_options['vertical_transparent_menu_letterspacing']);  ?>px; <?php } ?>
    }
<?php } ?>


<?php if (!empty($eltd_options['vertical_transparent_menu_hovercolor'])) { ?>
    .vertical_menu_enabled.vertical_menu_transparency_on:not(.vertical_menu_hidden)  nav.vertical_menu > ul > li.active:hover > a,
    .vertical_menu_enabled.vertical_menu_transparency_on:not(.vertical_menu_hidden)  nav.vertical_menu > ul > li:hover > a,
	.vertical_menu_enabled.vertical_menu_transparency_on:not(.vertical_menu_hidden)  .vertical_menu.vertical_menu_side ul li:hover > a,
	.vertical_menu_enabled.vertical_menu_transparency_on:not(.vertical_menu_hidden)  .vertical_menu.vertical_menu_side ul li.active:hover > a{
		color: <?php echo esc_attr($eltd_options['vertical_transparent_menu_hovercolor']);  ?>;
	}
<?php } ?>

<?php if (!empty($eltd_options['vertical_transparent_menu_activecolor'])) { ?>
	.vertical_menu_enabled.vertical_menu_transparency_on:not(.vertical_menu_hidden)  nav.vertical_menu > ul > li.active > a,
	.vertical_menu_enabled.vertical_menu_transparency_on:not(.vertical_menu_hidden)  .vertical_menu.vertical_menu_side ul li.active > a{
		color: <?php echo esc_attr($eltd_options['vertical_transparent_menu_activecolor']);  ?>;
    }
<?php } ?>



<?php if (isset($eltd_options['vertical_menu_icon_color']) && $eltd_options['vertical_menu_icon_color'] !=='' ){ ?>
	nav.vertical_menu > ul > li > a .menu_icon{
		color: <?php echo esc_attr($eltd_options['vertical_menu_icon_color']);  ?>;
	}
<?php } ?>

<?php if (isset($eltd_options['vertical_menu_icon_hovercolor']) && $eltd_options['vertical_menu_icon_hovercolor'] !=='' ){ ?>
    nav.vertical_menu > ul > li.active:hover > a .menu_icon,
    nav.vertical_menu > ul > li:hover > a .menu_icon{
		color: <?php echo esc_attr($eltd_options['vertical_menu_icon_hovercolor']);  ?>;
	}
<?php } ?>

<?php if (isset($eltd_options['vertical_menu_icon_activecolor']) && $eltd_options['vertical_menu_icon_activecolor'] !=='' ){ ?>
    nav.vertical_menu > ul > li.active > a .menu_icon{
		color: <?php echo esc_attr($eltd_options['vertical_menu_icon_activecolor']);  ?>;
    }
<?php } ?>

<?php if (isset($eltd_options['vertical_menu_icon_margin']) && $eltd_options['vertical_menu_icon_margin'] !=='' ){ ?>
    nav.vertical_menu > ul > li > a .menu_icon:not(.blank):not(.null){
        padding-right: <?php echo esc_attr($eltd_options['vertical_menu_icon_margin']);  ?>px;
    }
<?php } ?>

<?php if (isset($eltd_options['vertical_dropdown_icon_color']) && $eltd_options['vertical_dropdown_icon_color'] !=='' ){ ?>
	.vertical_menu .second .inner > ul > li > a .menu_icon{
		color: <?php echo esc_attr($eltd_options['vertical_dropdown_icon_color']);  ?>;
	}
<?php } ?>

<?php if (isset($eltd_options['vertical_dropdown_icon_hovercolor']) && $eltd_options['vertical_dropdown_icon_hovercolor'] !=='' ){ ?>
    .vertical_menu .second .inner > ul > li:hover > a .menu_icon{
		color: <?php echo esc_attr($eltd_options['vertical_dropdown_icon_hovercolor']);  ?>;
	}
<?php } ?>


<?php if (isset($eltd_options['vertical_dropdown_icon_color_thirdlvl']) && $eltd_options['vertical_dropdown_icon_color_thirdlvl'] !=='' ){ ?>
	.vertical_menu .second .inner ul ul li a .menu_icon{
		color: <?php echo esc_attr($eltd_options['vertical_dropdown_icon_color_thirdlvl']);  ?>;
	}
<?php } ?>

<?php if (isset($eltd_options['vertical_dropdown_icon_hovercolor_thirdlvl']) && $eltd_options['vertical_dropdown_icon_hovercolor_thirdlvl'] !=='' ){ ?>
    .vertical_menu .second .inner ul ul li:hover a .menu_icon{
		color: <?php echo esc_attr($eltd_options['vertical_dropdown_icon_hovercolor_thirdlvl']);  ?>;
	}
<?php } ?>



<?php if (isset($eltd_options['vertical_area_menu_items_padding']) && $eltd_options['vertical_area_menu_items_padding'] !=='' ){ ?>
    nav.vertical_menu > ul > li >a,
    .vertical_menu.vertical_menu_side ul li a{
		padding-top: <?php echo esc_attr($eltd_options['vertical_area_menu_items_padding']);?>px;
		padding-bottom: <?php echo esc_attr($eltd_options['vertical_area_menu_items_padding']);?>px;
    }
<?php } ?>

<?php if ((isset($eltd_options['vertical_area_menu_items_arrow']) && $eltd_options['vertical_area_menu_items_arrow'] =='yes' ) && ((isset($eltd_options['vertical_area_menu_items_padding']) && $eltd_options['vertical_area_menu_items_padding'] !=='' ) || (isset($eltd_options['vertical_menu_lineheight']) && $eltd_options['vertical_menu_lineheight'] !=='' ))){
    $default_vertical_area_menu_items_padding = 8;
    $default_vertical_menu_lineheight = 18;
    $default_vertical_menu_triangle_width = 12;  //triangle half height
    $default_vertical_menu_triangle_position = 36;  //triangle position

    if(isset($eltd_options['vertical_area_menu_items_padding']) && $eltd_options['vertical_area_menu_items_padding'] !=='' ){
        $default_vertical_area_menu_items_padding = $eltd_options['vertical_area_menu_items_padding'];
    }

    if(isset($eltd_options['vertical_menu_lineheight']) && $eltd_options['vertical_menu_lineheight'] !=='' ){
        $default_vertical_menu_lineheight = $eltd_options['vertical_menu_lineheight'];
    }
    
    $vertical_menu_li_height = (2 * $default_vertical_area_menu_items_padding + $default_vertical_menu_lineheight)/2; // half height of li element
    $vertical_submenu_position = $vertical_menu_li_height - $default_vertical_menu_triangle_width - $default_vertical_menu_triangle_position;
    ?>


    .vertical_menu_to_content .menu-item .second{
        top: <?php echo esc_attr($vertical_submenu_position);?>px;
    }
<?php } ?>

<?php
$vertical_area_dropdown_menu_bckg = "";
if (isset($eltd_options['vertical_area_dropdown_menu_bckg_color']) && $eltd_options['vertical_area_dropdown_menu_bckg_color'] !=='' ){
    $vertical_area_dropdown_menu_bckg_rgb = eltd_hex2rgb($eltd_options['vertical_area_dropdown_menu_bckg_color']);
    if (isset($eltd_options['vertical_area_dropdown_menu_bckg_opacity']) && $eltd_options['vertical_area_dropdown_menu_bckg_opacity'] !=='' ){
        $vertical_area_dropdown_menu_opacity = $eltd_options['vertical_area_dropdown_menu_bckg_opacity'];
    }
    else {
        $vertical_area_dropdown_menu_opacity = 1;
    }

    $vertical_area_dropdown_menu_bckg = 'rgba(' . $vertical_area_dropdown_menu_bckg_rgb[0] . ',' . $vertical_area_dropdown_menu_bckg_rgb[1] . ',' . $vertical_area_dropdown_menu_bckg_rgb[2] . ',' . $vertical_area_dropdown_menu_opacity . ')';
    ?>

    .vertical_menu_to_content .menu-item .second,
    .vertical_menu_to_content .second .inner ul li ul,
    .vertical_menu_to_content li.narrow .second .inner ul,
	.vertical_menu_hidden_with_icons aside.vertical_menu_area nav.vertical_menu > ul > li > a span.item_text{
        background-color: <?php echo esc_attr($vertical_area_dropdown_menu_bckg);?>;
    }

    .vertical_menu_to_content li.narrow .second .inner > ul,
    .vertical_menu_to_content li .second .inner > ul{
        background-color: rgba(0,0,0,0);
    }

    <?php if (isset($eltd_options['vertical_area_menu_items_arrow']) && $eltd_options['vertical_area_menu_items_arrow'] =='yes' ){ ?>
        .vertical_menu_to_content.with_arrow li.narrow .second:before{
            border-right-color: <?php echo esc_attr($vertical_area_dropdown_menu_bckg);?>;
        }
    <?php } ?>
   


<?php } ?>



.vertical_menu_hidden_with_icons .vertical_menu_to_content .second .inner ul li ul {
	left: calc(100% + 40px);
}

<?php if(!empty($eltd_options['vertical_dropdown_color']) || !empty($eltd_options['vertical_dropdown_fontsize']) || !empty($eltd_options['vertical_dropdown_lineheight']) || !empty($eltd_options['vertical_dropdown_fontstyle']) || !empty($eltd_options['vertical_dropdown_fontweight']) || !empty($eltd_options['vertical_dropdown_texttransform']) || (isset($eltd_options['vertical_dropdown_letterspacing']) && $eltd_options['vertical_dropdown_letterspacing'] !== '') || $eltd_options['vertical_dropdown_google_fonts'] != "-1"){ ?>
    .vertical_menu .second .inner > ul > li > a,
    .vertical_menu .wide .second .inner > ul > li > a{
    <?php if (!empty($eltd_options['vertical_dropdown_color'])) { ?> color: <?php echo esc_attr($eltd_options['vertical_dropdown_color']); ?>; <?php } ?>
    <?php if($eltd_options['vertical_dropdown_google_fonts'] != "-1"){ ?>
        font-family: '<?php echo esc_attr(str_replace('+', ' ', $eltd_options['vertical_dropdown_google_fonts'])); ?>', sans-serif !important;
    <?php } ?>
    <?php if (!empty($eltd_options['vertical_dropdown_fontsize'])) { ?> font-size: <?php echo esc_attr($eltd_options['vertical_dropdown_fontsize']);  ?>px; <?php } ?>
    <?php if (!empty($eltd_options['vertical_dropdown_lineheight'])) { ?> line-height: <?php echo esc_attr($eltd_options['vertical_dropdown_lineheight']);  ?>px; <?php } ?>
    <?php if (!empty($eltd_options['vertical_dropdown_fontstyle'])) { ?> font-style: <?php echo esc_attr($eltd_options['vertical_dropdown_fontstyle']);  ?>;  <?php } ?>
    <?php if (!empty($eltd_options['vertical_dropdown_fontweight'])) { ?>font-weight: <?php echo esc_attr($eltd_options['vertical_dropdown_fontweight']);  ?>; <?php } ?>
    <?php if (!empty($eltd_options['vertical_dropdown_texttransform'])) { ?> text-transform: <?php echo esc_attr($eltd_options['vertical_dropdown_texttransform']);  ?>; <?php } ?>
    <?php if ($eltd_options['vertical_dropdown_letterspacing'] !== '') { ?> letter-spacing: <?php echo esc_attr($eltd_options['vertical_dropdown_letterspacing']);  ?>px; <?php } ?>
    }
<?php } ?>

<?php if (!empty($eltd_options['vertical_dropdown_hovercolor'])) { ?>
    .vertical_menu .second .inner > ul > li > a:hover{
    color: <?php echo esc_attr($eltd_options['vertical_dropdown_hovercolor']);  ?> !important;
    }
<?php } ?>


<?php if(!empty($eltd_options['vertical_transparent_dropdown_color']) || !empty($eltd_options['vertical_transparent_dropdown_fontsize']) || !empty($eltd_options['vertical_transparent_dropdown_lineheight']) || !empty($eltd_options['vertical_transparent_dropdown_fontstyle']) || !empty($eltd_options['vertical_transparent_dropdown_fontweight']) || !empty($eltd_options['vertical_transparent_dropdown_texttransform']) || (isset($eltd_options['vertical_transparent_dropdown_letterspacing']) && $eltd_options['vertical_transparent_dropdown_letterspacing'] !== '') || $eltd_options['vertical_transparent_dropdown_google_fonts'] != "-1"){ ?>
    .vertical_menu_enabled.vertical_menu_transparency_on:not(.vertical_menu_hidden)  .vertical_menu .second .inner > ul > li > a,
    .vertical_menu_enabled.vertical_menu_transparency_on:not(.vertical_menu_hidden)  .vertical_menu .wide .second .inner > ul > li > a{
		<?php if (!empty($eltd_options['vertical_transparent_dropdown_color'])) { ?> color: <?php echo esc_attr($eltd_options['vertical_transparent_dropdown_color']); ?>; <?php } ?>
		<?php if($eltd_options['vertical_transparent_dropdown_google_fonts'] != "-1"){ ?>
			font-family: '<?php echo esc_attr(str_replace('+', ' ', $eltd_options['vertical_transparent_dropdown_google_fonts'])); ?>', sans-serif !important;
		<?php } ?>
		<?php if (!empty($eltd_options['vertical_transparent_dropdown_fontsize'])) { ?> font-size: <?php echo esc_attr($eltd_options['vertical_transparent_dropdown_fontsize']);  ?>px; <?php } ?>
		<?php if (!empty($eltd_options['vertical_transparent_dropdown_lineheight'])) { ?> line-height: <?php echo esc_attr($eltd_options['vertical_transparent_dropdown_lineheight']);  ?>px; <?php } ?>
		<?php if (!empty($eltd_options['vertical_transparent_dropdown_fontstyle'])) { ?> font-style: <?php echo esc_attr($eltd_options['vertical_transparent_dropdown_fontstyle']);  ?>;  <?php } ?>
		<?php if (!empty($eltd_options['vertical_transparent_dropdown_fontweight'])) { ?>font-weight: <?php echo esc_attr($eltd_options['vertical_transparent_dropdown_fontweight']);  ?>; <?php } ?>
		<?php if (!empty($eltd_options['vertical_transparent_dropdown_texttransform'])) { ?> text-transform: <?php echo esc_attr($eltd_options['vertical_transparent_dropdown_texttransform']);  ?>; <?php } ?>
		<?php if ($eltd_options['vertical_transparent_dropdown_letterspacing'] !== '') { ?> letter-spacing: <?php echo esc_attr($eltd_options['vertical_transparent_dropdown_letterspacing']);  ?>px; <?php } ?>
    }
<?php } ?>

<?php if (!empty($eltd_options['vertical_transparent_dropdown_hovercolor'])) { ?>
    .vertical_menu_enabled.vertical_menu_transparency_on:not(.vertical_menu_hidden)  .vertical_menu .second .inner > ul > li > a:hover{
		color: <?php echo esc_attr($eltd_options['vertical_transparent_dropdown_hovercolor']);  ?> !important;
    }
<?php } ?>


<?php if(!empty($eltd_options['vertical_dropdown_color_thirdlvl']) || !empty($eltd_options['vertical_dropdown_fontsize_thirdlvl']) || !empty($eltd_options['vertical_dropdown_lineheight_thirdlvl']) || !empty($eltd_options['vertical_dropdown_fontstyle_thirdlvl']) || !empty($eltd_options['vertical_dropdown_fontweight_thirdlvl']) || !empty($eltd_options['vertical_dropdown_texttransform_thirdlvl']) || (isset($eltd_options['vertical_dropdown_letterspacing_thirdlvl']) && $eltd_options['vertical_dropdown_letterspacing_thirdlvl'] !== '') || $eltd_options['vertical_dropdown_google_fonts_thirdlvl'] != "-1"){ ?>
    .vertical_menu .second .inner ul li.sub ul li a{
    <?php if (!empty($eltd_options['vertical_dropdown_color_thirdlvl'])) { ?> color: <?php echo esc_attr($eltd_options['vertical_dropdown_color_thirdlvl']);  ?>;  <?php } ?>
    <?php if($eltd_options['vertical_dropdown_google_fonts_thirdlvl'] != "-1"){ ?>
        font-family: '<?php echo esc_attr(str_replace('+', ' ', $eltd_options['vertical_dropdown_google_fonts_thirdlvl'])); ?>', sans-serif;
    <?php } ?>
    <?php if (!empty($eltd_options['vertical_dropdown_fontsize_thirdlvl'])) { ?> font-size: <?php echo esc_attr($eltd_options['vertical_dropdown_fontsize_thirdlvl']);  ?>px;  <?php } ?>
    <?php if (!empty($eltd_options['vertical_dropdown_lineheight_thirdlvl'])) { ?> line-height: <?php echo esc_attr($eltd_options['vertical_dropdown_lineheight_thirdlvl']);  ?>px;  <?php } ?>
    <?php if (!empty($eltd_options['vertical_dropdown_fontstyle_thirdlvl'])) { ?> font-style: <?php echo esc_attr($eltd_options['vertical_dropdown_fontstyle_thirdlvl']);  ?>;   <?php } ?>
    <?php if (!empty($eltd_options['vertical_dropdown_fontweight_thirdlvl'])) { ?> font-weight: <?php echo esc_attr($eltd_options['vertical_dropdown_fontweight_thirdlvl']);  ?>;  <?php } ?>
    <?php if (!empty($eltd_options['vertical_dropdown_texttransform_thirdlvl'])) { ?> text-transform: <?php echo esc_attr($eltd_options['vertical_dropdown_texttransform_thirdlvl']);  ?>; <?php } ?>
    <?php if ($eltd_options['vertical_dropdown_letterspacing_thirdlvl'] !== '') { ?> letter-spacing: <?php echo esc_attr($eltd_options['vertical_dropdown_letterspacing_thirdlvl']);  ?>px; <?php } ?>
    }
<?php } ?>

<?php if (!empty($eltd_options['vertical_dropdown_hovercolor_thirdlvl'])) { ?>
    .vertical_menu .second .inner ul li.sub ul li a:hover{
    color: <?php echo esc_attr($eltd_options['vertical_dropdown_hovercolor_thirdlvl']);  ?> !important;
    }
<?php } ?>

<?php if(!empty($eltd_options['vertical_transparent_dropdown_color_thirdlvl']) || !empty($eltd_options['vertical_transparent_dropdown_fontsize_thirdlvl']) || !empty($eltd_options['vertical_transparent_dropdown_lineheight_thirdlvl']) || !empty($eltd_options['vertical_transparent_dropdown_fontstyle_thirdlvl']) || !empty($eltd_options['vertical_transparent_dropdown_fontweight_thirdlvl']) || !empty($eltd_options['vertical_transparent_dropdown_texttransform_thirdlvl']) || (isset($eltd_options['vertical_transparent_dropdown_letterspacing_thirdlvl']) && $eltd_options['vertical_transparent_dropdown_letterspacing_thirdlvl'] !== '') || $eltd_options['vertical_transparent_dropdown_google_fonts_thirdlvl'] != "-1"){ ?>
    .vertical_menu_enabled.vertical_menu_transparency_on:not(.vertical_menu_hidden)  .vertical_menu .second .inner ul li.sub ul li a{
    <?php if (!empty($eltd_options['vertical_transparent_dropdown_color_thirdlvl'])) { ?> color: <?php echo esc_attr($eltd_options['vertical_transparent_dropdown_color_thirdlvl']);  ?>;  <?php } ?>
    <?php if($eltd_options['vertical_transparent_dropdown_google_fonts_thirdlvl'] != "-1"){ ?>
        font-family: '<?php echo esc_attr(str_replace('+', ' ', $eltd_options['vertical_transparent_dropdown_google_fonts_thirdlvl'])); ?>', sans-serif;
    <?php } ?>
    <?php if (!empty($eltd_options['vertical_transparent_dropdown_fontsize_thirdlvl'])) { ?> font-size: <?php echo esc_attr($eltd_options['vertical_transparent_dropdown_fontsize_thirdlvl']);  ?>px;  <?php } ?>
    <?php if (!empty($eltd_options['vertical_transparent_dropdown_lineheight_thirdlvl'])) { ?> line-height: <?php echo esc_attr($eltd_options['vertical_transparent_dropdown_lineheight_thirdlvl']);  ?>px;  <?php } ?>
    <?php if (!empty($eltd_options['vertical_transparent_dropdown_fontstyle_thirdlvl'])) { ?> font-style: <?php echo esc_attr($eltd_options['vertical_transparent_dropdown_fontstyle_thirdlvl']);  ?>;   <?php } ?>
    <?php if (!empty($eltd_options['vertical_transparent_dropdown_fontweight_thirdlvl'])) { ?> font-weight: <?php echo esc_attr($eltd_options['vertical_transparent_dropdown_fontweight_thirdlvl']);  ?>;  <?php } ?>
    <?php if (!empty($eltd_options['vertical_transparent_dropdown_texttransform_thirdlvl'])) { ?> text-transform: <?php echo esc_attr($eltd_options['vertical_transparent_dropdown_texttransform_thirdlvl']);  ?>; <?php } ?>
    <?php if ($eltd_options['vertical_transparent_dropdown_letterspacing_thirdlvl'] !== '') { ?> letter-spacing: <?php echo esc_attr($eltd_options['vertical_transparent_dropdown_letterspacing_thirdlvl']);  ?>px; <?php } ?>
    }
<?php } ?>

<?php if (!empty($eltd_options['vertical_transparent_dropdown_hovercolor_thirdlvl'])) { ?>
    .vertical_menu_enabled.vertical_menu_transparency_on:not(.vertical_menu_hidden)  .vertical_menu .second .inner ul li.sub ul li a:hover{
		color: <?php echo esc_attr($eltd_options['vertical_transparent_dropdown_hovercolor_thirdlvl']);  ?> !important;
    }
<?php } ?>


<?php if(isset($eltd_options['vertical_menu_icon_fontsize']) && ($eltd_options['vertical_menu_icon_fontsize'])!==''){ ?>
	nav.vertical_menu > ul > li > a  .menu_icon:not(.blank){
		font-size: <?php echo esc_attr($eltd_options['vertical_menu_icon_fontsize']);  ?>px;
	}

<?php } ?>

<?php if(isset($eltd_options['vertical_dropdown_icon_fontsize']) && ($eltd_options['vertical_dropdown_icon_fontsize'])!==''){ ?>
	.vertical_menu .second .inner > ul > li > a .menu_icon:not(.blank){
		font-size: <?php echo esc_attr($eltd_options['vertical_dropdown_icon_fontsize']);  ?>px;
	}
<?php } ?>

<?php if(isset($eltd_options['vertical_dropdown_icon_fontsize_thirdlvl']) && ($eltd_options['vertical_dropdown_icon_fontsize_thirdlvl'])!==''){ ?>
	.vertical_menu .second .inner ul ul li a .menu_icon:not(.blank){
		font-size: <?php echo esc_attr($eltd_options['vertical_dropdown_icon_fontsize_thirdlvl']);  ?>px;
	}
<?php } ?>

<?php if(isset($eltd_options['vertical_menu_submenu_sign']) && ($eltd_options['vertical_menu_submenu_sign']) == 'no'){ ?>
    nav.vertical_menu_toggle ul > li.menu-item-has-children > a > .plus,
    nav.vertical_menu_toggle .second ul > li.menu-item-has-children > a > .plus,
    nav.vertical_menu_to_content ul > li.menu-item-has-children > a > .plus,
    nav.vertical_menu_to_content .second ul > li.menu-item-has-children > a > .plus{
        display: none;
    }
    
	.vertical_menu_enabled:not(.vertical_menu_hidden) nav.vertical_menu > ul > li > a{
		display: inline-block;
		padding-left: 20px;
		padding-right: 20px;
	}

	.vertical_menu_enabled:not(.vertical_menu_hidden) nav.vertical_menu > ul > li{
		margin: 3px 0;
	}
<?php } ?>

<?php if ((isset($eltd_options['popup_menu_color']) && !empty($eltd_options['popup_menu_color'])) ||
    (isset($eltd_options['popup_menu_google_fonts']) && $eltd_options['popup_menu_google_fonts'] != "-1") ||
    (isset($eltd_options['popup_menu_fontsize']) && !empty($eltd_options['popup_menu_fontsize'])) ||
    (isset($eltd_options['popup_menu_lineheight']) && !empty($eltd_options['popup_menu_lineheight'])) ||
    (isset($eltd_options['popup_menu_fontstyle']) && !empty($eltd_options['popup_menu_fontstyle'])) ||
    (isset($eltd_options['popup_menu_fontweight']) && !empty($eltd_options['popup_menu_fontweight'])) ||
    (isset($eltd_options['popup_menu_texttransform']) && !empty($eltd_options['popup_menu_texttransform'])) ||
    (isset($eltd_options['popup_menu_letterspacing']) && $eltd_options['popup_menu_letterspacing'] !== '')) { ?>

    nav.popup_menu > ul > li > a,
    nav.popup_menu > ul > li > h6{
    <?php if (!empty($eltd_options['popup_menu_color'])) { ?> color: <?php echo esc_attr($eltd_options['popup_menu_color']);  ?>; <?php } ?>
    <?php if($eltd_options['popup_menu_google_fonts'] != "-1"){ ?>
        font-family: '<?php echo esc_attr(str_replace('+', ' ', $eltd_options['popup_menu_google_fonts'])); ?>', sans-serif;
    <?php } ?>
    <?php if (!empty($eltd_options['popup_menu_fontsize'])) { ?> font-size: <?php echo esc_attr($eltd_options['popup_menu_fontsize']);  ?>px; <?php } ?>
    <?php if (!empty($eltd_options['popup_menu_lineheight'])) { ?> line-height: <?php echo esc_attr($eltd_options['popup_menu_lineheight']);  ?>px; <?php } ?>
    <?php if (!empty($eltd_options['popup_menu_fontstyle'])) { ?> font-style: <?php echo esc_attr($eltd_options['popup_menu_fontstyle']);  ?>; <?php } ?>
    <?php if (!empty($eltd_options['popup_menu_fontweight'])) { ?> font-weight: <?php echo esc_attr($eltd_options['popup_menu_fontweight']);  ?>; <?php } ?>
    <?php if (!empty($eltd_options['popup_menu_texttransform'])) { ?> text-transform: <?php echo esc_attr($eltd_options['popup_menu_texttransform']);  ?>; <?php } ?>
    <?php if ($eltd_options['popup_menu_letterspacing'] !== '') { ?> letter-spacing: <?php echo esc_attr($eltd_options['popup_menu_letterspacing']);  ?>px; <?php } ?>
    }
<?php } ?>

<?php if (isset($eltd_options['popup_menu_color']) && !empty($eltd_options['popup_menu_color'])) { ?>
    .popup_menu.opened .line:after,
    .popup_menu.opened .line:before{
    background-color: <?php echo esc_attr($eltd_options['popup_menu_color']);  ?>;
    }

<?php } ?>

<?php if ((isset($eltd_options['popup_menu_hover_color']) && !empty($eltd_options['popup_menu_hover_color'])) || (isset($eltd_options['popup_menu_hover_background_color']) && !empty($eltd_options['popup_menu_hover_background_color']))) { ?>
    nav.popup_menu > ul > li > a:hover,
    nav.popup_menu > ul > li > h6:hover{
    <?php if (!empty($eltd_options['popup_menu_hover_color'])) { ?>  color: <?php echo esc_attr($eltd_options['popup_menu_hover_color']);  ?>;<?php } ?>
    <?php if (!empty($eltd_options['popup_menu_hover_background_color'])) { ?> background-color: <?php echo esc_attr($eltd_options['popup_menu_hover_background_color']);  ?>; <?php } ?>
    }
<?php } ?>

<?php if ((isset($eltd_options['popup_menu_active_color']) && !empty($eltd_options['popup_menu_active_color'])) || (isset($eltd_options['popup_menu_active_background_color']) && !empty($eltd_options['popup_menu_active_background_color']))) { ?>
    nav.popup_menu > ul > li > a.current{
    <?php if (!empty($eltd_options['popup_menu_active_color'])) { ?>  color: <?php echo esc_attr($eltd_options['popup_menu_active_color']);  ?>;<?php } ?>
    <?php if (!empty($eltd_options['popup_menu_active_background_color'])) { ?> background-color: <?php echo esc_attr($eltd_options['popup_menu_active_background_color']);  ?>; <?php } ?>
    }
<?php } ?>



<?php if ((isset($eltd_options['popup_menu_color_2nd']) && !empty($eltd_options['popup_menu_color_2nd'])) ||
    (isset($eltd_options['popup_menu_google_fonts_2nd']) && $eltd_options['popup_menu_google_fonts_2nd'] != "-1") ||
    (isset($eltd_options['popup_menu_fontsize_2nd']) && !empty($eltd_options['popup_menu_fontsize_2nd'])) ||
    (isset($eltd_options['popup_menu_lineheight_2nd']) && !empty($eltd_options['popup_menu_lineheight_2nd'])) ||
    (isset($eltd_options['popup_menu_fontstyle_2nd']) && !empty($eltd_options['popup_menu_fontstyle_2nd'])) ||
    (isset($eltd_options['popup_menu_fontweight_2nd']) && !empty($eltd_options['popup_menu_fontweight_2nd'])) ||
    (isset($eltd_options['popup_menu_texttransform_2nd']) && !empty($eltd_options['popup_menu_texttransform_2nd'])) ||
    (isset($eltd_options['popup_menu_letterspacing_2nd']) && $eltd_options['popup_menu_letterspacing_2nd'] !== '')) { ?>

    nav.popup_menu ul li ul li a,
    nav.popup_menu ul li ul li h6{
    <?php if (!empty($eltd_options['popup_menu_color_2nd'])) { ?> color: <?php echo esc_attr($eltd_options['popup_menu_color_2nd']);  ?>; <?php } ?>
    <?php if($eltd_options['popup_menu_google_fonts_2nd'] != "-1"){ ?>
        font-family: '<?php echo esc_attr(str_replace('+', ' ', $eltd_options['popup_menu_google_fonts_2nd'])); ?>', sans-serif;
    <?php } ?>
    <?php if (!empty($eltd_options['popup_menu_fontsize_2nd'])) { ?> font-size: <?php echo esc_attr($eltd_options['popup_menu_fontsize_2nd']);  ?>px; <?php } ?>
    <?php if (!empty($eltd_options['popup_menu_lineheight_2nd'])) { ?> line-height: <?php echo esc_attr($eltd_options['popup_menu_lineheight_2nd']);  ?>px; <?php } ?>
    <?php if (!empty($eltd_options['popup_menu_fontstyle_2nd'])) { ?> font-style: <?php echo esc_attr($eltd_options['popup_menu_fontstyle_2nd']);  ?>; <?php } ?>
    <?php if (!empty($eltd_options['popup_menu_fontweight_2nd'])) { ?> font-weight: <?php echo esc_attr($eltd_options['popup_menu_fontweight_2nd']);  ?>; <?php } ?>
    <?php if (!empty($eltd_options['popup_menu_texttransform_2nd'])) { ?> text-transform: <?php echo esc_attr($eltd_options['popup_menu_texttransform_2nd']);  ?>; <?php } ?>
    <?php if ($eltd_options['popup_menu_letterspacing_2nd'] !== '') { ?> letter-spacing: <?php echo esc_attr($eltd_options['popup_menu_letterspacing_2nd']);  ?>px; <?php } ?>
    }
<?php } ?>

<?php if ((isset($eltd_options['popup_menu_hover_color_2nd']) && !empty($eltd_options['popup_menu_hover_color_2nd'])) || (isset($eltd_options['popup_menu_hover_background_color_2nd']) && !empty($eltd_options['popup_menu_hover_background_color_2nd']))) { ?>
    nav.popup_menu ul li ul li a:hover,
    nav.popup_menu ul li ul li h6:hover{
    <?php if (!empty($eltd_options['popup_menu_hover_color_2nd'])) { ?>  color: <?php echo esc_attr($eltd_options['popup_menu_hover_color_2nd']);  ?>;<?php } ?>
    <?php if (!empty($eltd_options['popup_menu_hover_background_color_2nd'])) { ?> background-color: <?php echo esc_attr($eltd_options['popup_menu_hover_background_color_2nd']);  ?>; <?php } ?>
    }

<?php } ?>

<?php
$popup_menu_3rd_style = array();

if(isset($eltd_options['popup_menu_3rd_font_family']) && $eltd_options['popup_menu_3rd_font_family'] !== '-1') {
    $popup_menu_3rd_style[] = 'font-family: '.str_replace('+', ' ', $eltd_options['popup_menu_3rd_font_family']).', sans-serif';
}

if(isset($eltd_options['popup_menu_3rd_font_size']) && $eltd_options['popup_menu_3rd_font_size'] !== '') {
    $popup_menu_3rd_style[] = 'font-size: '.$eltd_options['popup_menu_3rd_font_size'].'px';
}

if(isset($eltd_options['popup_menu_3rd_line_height']) && $eltd_options['popup_menu_3rd_line_height'] !== '') {
    $popup_menu_3rd_style[] = 'line-height: '.$eltd_options['popup_menu_3rd_line_height'].'px';
}

if(isset($eltd_options['popup_menu_3rd_letter_spacing']) && $eltd_options['popup_menu_3rd_letter_spacing'] !== '') {
    $popup_menu_3rd_style[] = 'letter-spacing: '.$eltd_options['popup_menu_3rd_letter_spacing'].'px';
}

if(isset($eltd_options['popup_menu_3rd_font_weight']) && $eltd_options['popup_menu_3rd_font_weight'] !== '') {
    $popup_menu_3rd_style[] = 'font-weight: '.$eltd_options['popup_menu_3rd_font_weight'];
}

if(isset($eltd_options['popup_menu_3rd_font_style']) && $eltd_options['popup_menu_3rd_font_style'] !== '') {
    $popup_menu_3rd_style[] = 'font-style: '.$eltd_options['popup_menu_3rd_font_style'];
}

if(isset($eltd_options['popup_menu_3rd_text_transform']) && $eltd_options['popup_menu_3rd_text_transform'] !== '') {
    $popup_menu_3rd_style[] = 'text-transform: '.$eltd_options['popup_menu_3rd_text_transform'];
}

if(isset($eltd_options['popup_menu_3rd_color']) && $eltd_options['popup_menu_3rd_color'] !== '') {
    $popup_menu_3rd_style[] = 'color: '.$eltd_options['popup_menu_3rd_color'];
}

if(is_array($popup_menu_3rd_style) && count($popup_menu_3rd_style)) { ?>
    nav.popup_menu ul li ul li ul li a{
    <?php echo esc_attr(implode(';', $popup_menu_3rd_style)); ?>
    }
<?php } ?>

<?php if ((isset($eltd_options['popup_menu_3rd_hover_color']) && !empty($eltd_options['popup_menu_3rd_hover_color'])) || (isset($eltd_options['popup_menu_3rd_hover_background_color']) && !empty($eltd_options['popup_menu_3rd_hover_background_color']))) { ?>
    nav.popup_menu ul li ul li ul li a:hover{
    <?php if (!empty($eltd_options['popup_menu_3rd_hover_color'])) { ?>  color: <?php echo esc_attr($eltd_options['popup_menu_3rd_hover_color']);  ?>;<?php } ?>
    <?php if (!empty($eltd_options['popup_menu_3rd_hover_background_color'])) { ?> background-color: <?php echo esc_attr($eltd_options['popup_menu_3rd_hover_background_color']);  ?>; <?php } ?>
    }
<?php } ?>

<?php if(isset($eltd_options['popup_menu_background_color']) && $eltd_options['popup_menu_background_color'] != '') { ?>
    <?php $popup_menu_background_color = eltd_hex2rgb($eltd_options['popup_menu_background_color']); ?>

<?php if($eltd_options['popup_menu_background_transparency'] != "") {
        $popup_menu_background_transparency = $eltd_options['popup_menu_background_transparency'];
    }else{
        $popup_menu_background_transparency = 0.9;
    }
}
?>
<?php if (!empty($eltd_options['popup_menu_background_color']) || !empty($eltd_options['background_image_popup']) || !empty($eltd_options['pattern_image_popup'])) { ?>
    .popup_menu_holder{
    <?php if (!empty($eltd_options['popup_menu_background_color'])) { ?>  background-color: rgba(<?php echo esc_attr($popup_menu_background_color[0]); ?>,<?php echo esc_attr($popup_menu_background_color[1]); ?>,<?php echo esc_attr($popup_menu_background_color[2]); ?>,<?php echo esc_attr($popup_menu_background_transparency); ?>); <?php } ?>

    <?php if (!empty($eltd_options['background_image_popup'])) { ?>
        background-image: url('<?php echo esc_url($eltd_options['background_image_popup']); ?>');
        background-position :center 0;
        background-repeat: no-repeat;
       <?php } ?>

    <?php if (!empty($eltd_options['pattern_image_popup'])) { ?>
        background-image:url('<?php echo esc_attr($eltd_options['pattern_image_popup']); ?>');
        background-repeat:repeat;
        background-position :0 0;
      <?php } ?>

    }
<?php } ?>

<?php

if (isset($eltd_options['popup_alignment']) && $eltd_options['popup_alignment'] != '') { ?>
    nav.popup_menu ul li,
    .fullscreen_above_menu_widget_holder,
    .fullscreen_menu_widget_holder{
        text-align: <?php echo esc_attr($eltd_options['popup_alignment']);?>;
    }

<?php }
?>

<?php

$popup_menu_icon_spacing = "";

if (isset($eltd_options['popup_menu_icon_padding_left']) && !empty($eltd_options['popup_menu_icon_padding_left'])) {
    $popup_menu_icon_spacing .= 'padding-left: ' . $eltd_options['popup_menu_icon_padding_left'] . 'px; ';
}

if (isset($eltd_options['popup_menu_icon_padding_right']) && !empty($eltd_options['popup_menu_icon_padding_right'])) {
    $popup_menu_icon_spacing .= 'padding-right: ' . $eltd_options['popup_menu_icon_padding_right'] . 'px; ';
}

if (isset($eltd_options['popup_menu_icon_margin_left']) && !empty($eltd_options['popup_menu_icon_margin_left'])) {
    $popup_menu_icon_spacing .= 'margin-left: ' . $eltd_options['popup_menu_icon_margin_left'] . 'px; ';
}

if (isset($eltd_options['popup_menu_icon_margin_right']) && !empty($eltd_options['popup_menu_icon_margin_right'])) {
    $popup_menu_icon_spacing .= 'margin-right: ' . $eltd_options['popup_menu_icon_margin_right'] . 'px; ';
}

if ($popup_menu_icon_spacing !== "") { ?>
    .side_menu_button a.popup_menu{
    <?php echo esc_attr($popup_menu_icon_spacing);?>
    }
<?php } ?>

<?php if(eltd_is_wpml_installed()){

	if (isset($eltd_options['wpml_first_level_background_color']) && !empty($eltd_options['wpml_first_level_background_color'])) { ?>
		.header_top #lang_sel > ul > li > a,
		.header_top #lang_sel_click > ul > li > a{
			background-color: <?php echo esc_attr($eltd_options['wpml_first_level_background_color']);?> !important;
		}
	<?php }

	
	$wpml_first_level_menu_style = array();
	
	if(isset($eltd_options['wpml_first_level_menu_google_fonts']) && $eltd_options['wpml_first_level_menu_google_fonts'] !== '-1') {
		$wpml_first_level_menu_style[] = 'font-family: '.str_replace('+', ' ', $eltd_options['wpml_first_level_menu_google_fonts']).', sans-serif !important';
	}

	if(isset($eltd_options['wpml_first_level_menu_fontsize']) && $eltd_options['wpml_first_level_menu_fontsize'] !== '') {
		$wpml_first_level_menu_style[] = 'font-size: '.$eltd_options['wpml_first_level_menu_fontsize'].'px !important';
	}

	if(isset($eltd_options['wpml_first_level_menu_lineheight']) && $eltd_options['wpml_first_level_menu_lineheight'] !== '') {
		$wpml_first_level_menu_style[] = 'line-height: '.$eltd_options['wpml_first_level_menu_lineheight'].'px';
	}

	if(isset($eltd_options['wpml_first_level_menu_letterspacing']) && $eltd_options['wpml_first_level_menu_letterspacing'] !== '') {
		$wpml_first_level_menu_style[] = 'letter-spacing: '.$eltd_options['wpml_first_level_menu_letterspacing'].'px';
	}

	if(isset($eltd_options['wpml_first_level_menu_fontweight']) && $eltd_options['wpml_first_level_menu_fontweight'] !== '') {
		$wpml_first_level_menu_style[] = 'font-weight: '.$eltd_options['wpml_first_level_menu_fontweight'];
	}

	if(isset($eltd_options['wpml_first_level_menu_fontstyle']) && $eltd_options['wpml_first_level_menu_fontstyle'] !== '') {
		$wpml_first_level_menu_style[] = 'font-style: '.$eltd_options['wpml_first_level_menu_fontstyle'];
	}

	if(isset($eltd_options['wpml_first_level_menu_texttransform']) && $eltd_options['wpml_first_level_menu_texttransform'] !== '') {
		$wpml_first_level_menu_style[] = 'text-transform: '.$eltd_options['wpml_first_level_menu_texttransform'];
	}

	if(isset($eltd_options['wpml_first_level_menu_color']) && $eltd_options['wpml_first_level_menu_color'] !== '') {
		$wpml_first_level_menu_style[] = 'color: '.$eltd_options['wpml_first_level_menu_color'].'!important';
	}

	if(is_array($wpml_first_level_menu_style) && count($wpml_first_level_menu_style)) { ?>
		.header_top #lang_sel > ul > li > a,
		.header_top #lang_sel_click > ul > li > a,
		.header_bottom #lang_sel > ul > li > a,
		.header_bottom #lang_sel_click > ul > li > a{
		<?php echo esc_attr(implode(';', $wpml_first_level_menu_style)); ?>
		}
	<?php } 
	
	if(isset($eltd_options['wpml_first_level_menu_color_hover']) && $eltd_options['wpml_first_level_menu_color_hover'] != ''){ ?>
		.header_top #lang_sel > ul > li:hover > a,
		.header_top #lang_sel_click > ul > li:hover > a,
		.header_bottom #lang_sel > ul > li:hover > a,
		.header_bottom #lang_sel_click > ul > li:hover > a{
		color: <?php echo esc_attr($eltd_options['wpml_first_level_menu_color_hover']) ?>!important;
		}
	<?php }
	
	$wpml_second_level_menu_style = array();
	
	if(isset($eltd_options['wpml_second_level_menu_google_fonts']) && $eltd_options['wpml_second_level_menu_google_fonts'] !== '-1') {
		$wpml_second_level_menu_style[] = 'font-family: '.str_replace('+', ' ', $eltd_options['wpml_second_level_menu_google_fonts']).', sans-serif !important';
	}

	if(isset($eltd_options['wpml_second_level_menu_fontsize']) && $eltd_options['wpml_second_level_menu_fontsize'] !== '') {
		$wpml_second_level_menu_style[] = 'font-size: '.$eltd_options['wpml_second_level_menu_fontsize'].'px !important';
	}

	if(isset($eltd_options['wpml_second_level_menu_lineheight']) && $eltd_options['wpml_second_level_menu_lineheight'] !== '') {
		$wpml_second_level_menu_style[] = 'line-height: '.$eltd_options['wpml_second_level_menu_lineheight'].'px';
	}

	if(isset($eltd_options['wpml_second_level_menu_letterspacing']) && $eltd_options['wpml_second_level_menu_letterspacing'] !== '') {
		$wpml_second_level_menu_style[] = 'letter-spacing: '.$eltd_options['wpml_second_level_menu_letterspacing'].'px';
	}

	if(isset($eltd_options['wpml_second_level_menu_fontweight']) && $eltd_options['wpml_second_level_menu_fontweight'] !== '') {
		$wpml_second_level_menu_style[] = 'font-weight: '.$eltd_options['wpml_second_level_menu_fontweight'];
	}

	if(isset($eltd_options['wpml_second_level_menu_fontstyle']) && $eltd_options['wpml_second_level_menu_fontstyle'] !== '') {
		$wpml_second_level_menu_style[] = 'font-style: '.$eltd_options['wpml_second_level_menu_fontstyle'];
	}

	if(isset($eltd_options['wpml_second_level_menu_texttransform']) && $eltd_options['wpml_second_level_menu_texttransform'] !== '') {
		$wpml_second_level_menu_style[] = 'text-transform: '.$eltd_options['wpml_second_level_menu_texttransform'];
	}

	if(isset($eltd_options['wpml_second_level_menu_color']) && $eltd_options['wpml_second_level_menu_color'] !== '') {
		$wpml_second_level_menu_style[] = 'color: '.$eltd_options['wpml_second_level_menu_color'].'!important';
	}

	if(is_array($wpml_second_level_menu_style) && count($wpml_second_level_menu_style)) { ?>
		.header_top #lang_sel > ul > li ul li a ,
		.header_top #lang_sel_click > ul > li ul li as,
		.header_bottom #lang_sel > ul > li ul li a,
		.header_bottom #lang_sel_click > ul > li ul li a{
		<?php echo esc_attr(implode(';', $wpml_second_level_menu_style)); ?>
		}
	<?php } 
	
	if(isset($eltd_options['wpml_second_level_menu_color_hover']) && $eltd_options['wpml_second_level_menu_color_hover'] != ''){ ?>
		.header_top #lang_sel > ul > li ul li:hover a,
		.header_top #lang_sel_click > ul > li ul li:hover a,
		.header_bottom #lang_sel > ul > li ul li:hover a,
		.header_bottom #lang_sel_click > ul > li ul li:hover a{
		color: <?php echo esc_attr($eltd_options['wpml_second_level_menu_color_hover']) ?>!important;
		}
	<?php }
	
}?>

<?php if (isset($eltd_options['portfolio_list_box_background_color']) && !empty($eltd_options['portfolio_list_box_background_color'])) { ?>
    .projects_holder article .portfolio_description{
    background-color: <?php echo esc_attr($eltd_options['portfolio_list_box_background_color']); ?>;
    }
<?php } ?>

<?php if (isset($eltd_options['portfolio_disable_text_box']) && $eltd_options['portfolio_disable_text_box'] == "yes") { ?>
    .projects_holder article .portfolio_description{
    background-color: transparent;
    }

    .projects_holder.standard article .portfolio_description,
    .projects_holder.standard_no_space article .portfolio_description {
    padding-left: 0;
    padding-right: 0;
    }

    .masonry_with_space .projects_holder article .portfolio_description {
    padding: 35px 0 43px;
    }
<?php } ?>

<?php if (isset($eltd_options['portfolio_shader_color']) && !empty($eltd_options['portfolio_shader_color'])) { ?>
    <?php if(isset($eltd_options['portfolio_shader_transparency']) && $eltd_options['portfolio_shader_transparency'] != ""){
            $portfolio_shader_transparency = $eltd_options['portfolio_shader_transparency'];
        } else {
            $portfolio_shader_transparency = 1;
        }
            $shader_bg_color = eltd_hex2rgb($eltd_options['portfolio_shader_color']);
    ?>

    .projects_holder article .item_holder.gradient_hover .portfolio_shader,
    .projects_masonry_holder article .item_holder.gradient_hover .portfolio_shader,
    .portfolio_slider li.item .item_holder.gradient_hover .portfolio_shader{
        background: -webkit-linear-gradient(top, rgba(<?php echo esc_attr($shader_bg_color[0]); ?>,<?php echo esc_attr($shader_bg_color[1]); ?>,<?php echo esc_attr($shader_bg_color[2]); ?>,0) 10%, rgba(<?php echo esc_attr($shader_bg_color[0]); ?>,<?php echo esc_attr($shader_bg_color[1]); ?>,<?php echo esc_attr($shader_bg_color[2]); ?>,0.9) 100%);
        background: linear-gradient(to bottom, rgba(<?php echo esc_attr($shader_bg_color[0]); ?>,<?php echo esc_attr($shader_bg_color[1]); ?>,<?php echo esc_attr($shader_bg_color[2]); ?>,0) 10%, rgba(<?php echo esc_attr($shader_bg_color[0]); ?>,<?php echo esc_attr($shader_bg_color[1]); ?>,<?php echo esc_attr($shader_bg_color[2]); ?>,0.9) 100%);
    }

    .portfolio_main_holder .item_holder.subtle_vertical_hover .portfolio_shader,
    .portfolio_main_holder .item_holder.image_subtle_rotate_zoom_hover .portfolio_shader,
    .portfolio_main_holder .item_holder.image_text_zoom_hover .portfolio_shader,
    .portfolio_main_holder .item_holder.opposite_corners_hover .portfolio_shader,
    .portfolio_main_holder .item_holder.slide_from_left_hover .portfolio_shader,
    .portfolio_main_holder .item_holder.prominent_plain_hover .portfolio_shader,
    .portfolio_main_holder .item_holder.cursor_change_hover .portfolio_shader,
    .portfolio_main_holder .item_holder.slide_up_hover .portfolio_shader,
    .portfolio_main_holder .item_holder.icons_bottom_corner .portfolio_shader,
    .portfolio_main_holder .item_holder.text_slides_with_image .portfolio_shader,
    .portfolio_main_holder .item_holder.slow_zoom .portfolio_shader,
    .portfolio_main_holder .item_holder.thin_plus_only .portfolio_shader,
    .portfolio_main_holder .item_holder.split_up .portfolio_shader,
    .portfolio_main_holder .item_holder.circle_hover .portfolio_shader,
    .portfolio_main_holder .item_holder.border_hover .portfolio_shader{
        background-color: rgba(<?php echo esc_attr($shader_bg_color[0]); ?>,<?php echo esc_attr($shader_bg_color[1]); ?>,<?php echo esc_attr($shader_bg_color[2]); ?>,<?php echo esc_attr($portfolio_shader_transparency); ?>);
    }

    .portfolio_main_holder .item_holder.prominent_blur_hover.blur .portfolio_shader{
        background-color: rgba(<?php echo esc_attr($shader_bg_color[0]); ?>,<?php echo esc_attr($shader_bg_color[1]); ?>,<?php echo esc_attr($shader_bg_color[2]); ?>,0.7);
    }

	.portfolio_main_holder article:hover .item_holder.border_hover .portfolio_shader,
	.portfolio_slider li.item:hover .item_holder.border_hover .portfolio_shader{
		opacity: 1;
	}
<?php } ?>

<?php
$portfolio_animated_border_hover_style1 = '';
$portfolio_animated_border_hover_style2 = '';
if((isset($eltd_options['animated_border_hover_color']) && !empty($eltd_options['animated_border_hover_color'])) || (isset($eltd_options['animated_border_hover_color']) && !empty($eltd_options['animated_border_hover_color']))){

    if(isset($eltd_options['animated_border_hover_color']) && !empty($eltd_options['animated_border_hover_color'])){
        $portfolio_animated_border_hover_style1 .= 'background-color:'.$eltd_options['animated_border_hover_color'].';';
        $portfolio_animated_border_hover_style2 .= 'background-color:'.$eltd_options['animated_border_hover_color'].';';
    }

    if(isset($eltd_options['animated_border_hover_width']) && $eltd_options['animated_border_hover_width'] != ''){
        $portfolio_animated_border_hover_style1 .= 'height:'.$eltd_options['animated_border_hover_width'].'px;';
        $portfolio_animated_border_hover_style2 .= 'width:'.$eltd_options['animated_border_hover_width'].'px;';
    }

    if($portfolio_animated_border_hover_style1 != '') { ?>
        .portfolio_main_holder article .item_holder.border_hover .border_box .border1,
        .portfolio_main_holder article .item_holder.border_hover .border_box .border3{
        <?php echo esc_attr($portfolio_animated_border_hover_style1); ?>
        }
    <?php }


    if($portfolio_animated_border_hover_style2 != '') { ?>
        .portfolio_main_holder article .item_holder.border_hover .border_box .border2,
        .portfolio_main_holder article .item_holder.border_hover .border_box .border4{
        <?php echo esc_attr($portfolio_animated_border_hover_style2); ?>
        }
    <?php }

}

?>

<?php
if (isset($eltd_options['animated_border_disable_animation']) && $eltd_options['animated_border_disable_animation'] == 'yes') { ?>
        .portfolio_main_holder article .item_holder.border_hover .border_box div{
            display:none;
        }
        .portfolio_main_holder .item_holder.border_hover .portfolio_shader{
            border: 1px solid #000;
        }

    <?php 
    $portfolio_animated_border_hover_disabled_style = '';
    if(isset($eltd_options['animated_border_hover_color']) && !empty($eltd_options['animated_border_hover_color'])){
        $portfolio_animated_border_hover_disabled_style .= 'border-color:'.$eltd_options['animated_border_hover_color'].';';
    }

    if(isset($eltd_options['animated_border_hover_width']) && $eltd_options['animated_border_hover_width'] != ''){
        $portfolio_animated_border_hover_disabled_style .= 'border-width:'.$eltd_options['animated_border_hover_width'].'px;';
    }

    if($portfolio_animated_border_hover_disabled_style != '') { ?>
        .portfolio_main_holder .item_holder.border_hover .portfolio_shader{
        <?php echo esc_attr($portfolio_animated_border_hover_disabled_style); ?>
        }
    <?php }

}
?>



<?php
if (isset($eltd_options['portfolio_box']) && $eltd_options['portfolio_box'] == 'no') { ?>
    .portfolio_single.big-slider .portfolio_container, .portfolio_single.big-images .portfolio_container, .portfolio_single.gallery .portfolio_container{
        background-color: transparent;
        <?php if (isset($eltd_options['portfolio_box_top_padding']) && $eltd_options['portfolio_box_top_padding'] !== '') { ?>
        padding-top: <?php echo esc_attr($eltd_options['portfolio_box_top_padding']);?>px;  <?php } ?>
        padding-left:0;
        padding-right:0;
    }
    @media only screen and (min-width: 1100px){
        .portfolio_single.big-slider .two_columns_75_25 > .column2,
        .portfolio_single.big-images .two_columns_75_25 > .column2,
        .portfolio_single.gallery .two_columns_75_25 > .column2{
            float:right;
            width:auto;
        }
    }

<?php }
else{
    if(isset($eltd_options['portfolio_box_background_color']) && !empty($eltd_options['portfolio_box_background_color'])) { ?>
        .portfolio_single.big-slider .portfolio_container, .portfolio_single.big-images .portfolio_container, .portfolio_single.gallery .portfolio_container{
            background-color: <?php echo esc_attr($eltd_options['portfolio_box_background_color']);?>;
        }
<?php }
    if (isset($eltd_options['portfolio_box_lr_padding']) && $eltd_options['portfolio_box_lr_padding'] !== '') { ?>
        .portfolio_single.big-slider .portfolio_container, .portfolio_single.big-images .portfolio_container, .portfolio_single.gallery .portfolio_container{
            padding: <?php echo esc_attr($eltd_options['portfolio_box_lr_padding']);?>;
    }
<?php }

}?>

<?php
$portfolio_single_big_title_style = array();

if(isset($eltd_options['portfolio_single_big_title_font_family']) && $eltd_options['portfolio_single_big_title_font_family'] !== '-1') {
    $portfolio_single_big_title_style[] = 'font-family: '.str_replace('+', ' ', $eltd_options['portfolio_single_big_title_font_family']).', sans-serif';
}

if(isset($eltd_options['portfolio_single_big_title_font_size']) && $eltd_options['portfolio_single_big_title_font_size'] !== '') {
    $portfolio_single_big_title_style[] = 'font-size: '.$eltd_options['portfolio_single_big_title_font_size'].'px';
}

if(isset($eltd_options['portfolio_single_big_title_line_height']) && $eltd_options['portfolio_single_big_title_line_height'] !== '') {
    $portfolio_single_big_title_style[] = 'line-height: '.$eltd_options['portfolio_single_big_title_line_height'].'px';
}

if(isset($eltd_options['portfolio_single_big_title_letter_spacing']) && $eltd_options['portfolio_single_big_title_letter_spacing'] !== '') {
    $portfolio_single_big_title_style[] = 'letter-spacing: '.$eltd_options['portfolio_single_big_title_letter_spacing'].'px';
}

if(isset($eltd_options['portfolio_single_big_title_font_weight']) && $eltd_options['portfolio_single_big_title_font_weight'] !== '') {
    $portfolio_single_big_title_style[] = 'font-weight: '.$eltd_options['portfolio_single_big_title_font_weight'];
}

if(isset($eltd_options['portfolio_single_big_title_font_style']) && $eltd_options['portfolio_single_big_title_font_style'] !== '') {
    $portfolio_single_big_title_style[] = 'font-style: '.$eltd_options['portfolio_single_big_title_font_style'];
}

if(isset($eltd_options['portfolio_single_big_title_text_transform']) && $eltd_options['portfolio_single_big_title_text_transform'] !== '') {
    $portfolio_single_big_title_style[] = 'text-transform: '.$eltd_options['portfolio_single_big_title_text_transform'];
}

if(isset($eltd_options['portfolio_single_big_title_color']) && $eltd_options['portfolio_single_big_title_color'] !== '') {
    $portfolio_single_big_title_style[] = 'color: '.$eltd_options['portfolio_single_big_title_color'];
}

if(is_array($portfolio_single_big_title_style) && count($portfolio_single_big_title_style)) { ?>
    .portfolio_single.big-slider h2.portfolio_single_text_title,
    .portfolio_single.big-images h2.portfolio_single_text_title,
    .portfolio_single.gallery h2.portfolio_single_text_title{
    <?php echo esc_attr(implode(';', $portfolio_single_big_title_style)); ?>
    }
<?php } ?>

<?php
$portfolio_single_small_title_style = array();

if(isset($eltd_options['portfolio_single_small_title_font_family']) && $eltd_options['portfolio_single_small_title_font_family'] !== '-1') {
    $portfolio_single_small_title_style[] = 'font-family: '.str_replace('+', ' ', $eltd_options['portfolio_single_small_title_font_family']).', sans-serif';
}

if(isset($eltd_options['portfolio_single_small_title_font_size']) && $eltd_options['portfolio_single_small_title_font_size'] !== '') {
    $portfolio_single_small_title_style[] = 'font-size: '.$eltd_options['portfolio_single_small_title_font_size'].'px';
}

if(isset($eltd_options['portfolio_single_small_title_line_height']) && $eltd_options['portfolio_single_small_title_line_height'] !== '') {
    $portfolio_single_small_title_style[] = 'line-height: '.$eltd_options['portfolio_single_small_title_line_height'].'px';
}

if(isset($eltd_options['portfolio_single_small_title_letter_spacing']) && $eltd_options['portfolio_single_small_title_letter_spacing'] !== '') {
    $portfolio_single_small_title_style[] = 'letter-spacing: '.$eltd_options['portfolio_single_small_title_letter_spacing'].'px';
}

if(isset($eltd_options['portfolio_single_small_title_font_weight']) && $eltd_options['portfolio_single_small_title_font_weight'] !== '') {
    $portfolio_single_small_title_style[] = 'font-weight: '.$eltd_options['portfolio_single_small_title_font_weight'];
}

if(isset($eltd_options['portfolio_single_small_title_font_style']) && $eltd_options['portfolio_single_small_title_font_style'] !== '') {
    $portfolio_single_small_title_style[] = 'font-style: '.$eltd_options['portfolio_single_small_title_font_style'];
}

if(isset($eltd_options['portfolio_single_small_title_text_transform']) && $eltd_options['portfolio_single_small_title_text_transform'] !== '') {
    $portfolio_single_small_title_style[] = 'text-transform: '.$eltd_options['portfolio_single_small_title_text_transform'];
}

if(isset($eltd_options['portfolio_single_small_title_color']) && $eltd_options['portfolio_single_small_title_color'] !== '') {
    $portfolio_single_small_title_style[] = 'color: '.$eltd_options['portfolio_single_small_title_color'];
}

if(is_array($portfolio_single_small_title_style) && count($portfolio_single_small_title_style)) { ?>
    .portfolio_single.small-slider .portfolio_detail > h3.info_section_title,
    .portfolio_single.small-images .portfolio_detail > h3.info_section_title{
    <?php echo esc_attr(implode(';', $portfolio_single_small_title_style)); ?>
    }
<?php } ?>

<?php
$portfolio_single_meta_title_style = array();

if(isset($eltd_options['portfolio_single_meta_title_font_family']) && $eltd_options['portfolio_single_meta_title_font_family'] !== '-1') {
    $portfolio_single_meta_title_style[] = 'font-family: '.str_replace('+', ' ', $eltd_options['portfolio_single_meta_title_font_family']).', sans-serif';
}

if(isset($eltd_options['portfolio_single_meta_title_font_size']) && $eltd_options['portfolio_single_meta_title_font_size'] !== '') {
    $portfolio_single_meta_title_style[] = 'font-size: '.$eltd_options['portfolio_single_meta_title_font_size'].'px';
}

if(isset($eltd_options['portfolio_single_meta_title_font_size']) && $eltd_options['portfolio_single_meta_title_font_size'] !== '') {
    $portfolio_single_meta_title_style[] = 'line-height: '.$eltd_options['portfolio_single_meta_title_font_size'].'px';
}

if(isset($eltd_options['portfolio_single_meta_title_letter_spacing']) && $eltd_options['portfolio_single_meta_title_letter_spacing'] !== '') {
    $portfolio_single_meta_title_style[] = 'letter-spacing: '.$eltd_options['portfolio_single_meta_title_letter_spacing'].'px';
}

if(isset($eltd_options['portfolio_single_meta_title_font_weight']) && $eltd_options['portfolio_single_meta_title_font_weight'] !== '') {
    $portfolio_single_meta_title_style[] = 'font-weight: '.$eltd_options['portfolio_single_meta_title_font_weight'];
}

if(isset($eltd_options['portfolio_single_meta_title_font_style']) && $eltd_options['portfolio_single_meta_title_font_style'] !== '') {
    $portfolio_single_meta_title_style[] = 'font-style: '.$eltd_options['portfolio_single_meta_title_font_style'];
}

if(isset($eltd_options['portfolio_single_meta_title_text_transform']) && $eltd_options['portfolio_single_meta_title_text_transform'] !== '') {
    $portfolio_single_meta_title_style[] = 'text-transform: '.$eltd_options['portfolio_single_meta_title_text_transform'];
}

if(isset($eltd_options['portfolio_single_meta_title_color']) && $eltd_options['portfolio_single_meta_title_color'] !== '') {
    $portfolio_single_meta_title_style[] = 'color: '.$eltd_options['portfolio_single_meta_title_color'];
}

if(is_array($portfolio_single_meta_title_style) && count($portfolio_single_meta_title_style)) { ?>
    .portfolio_detail .info .info_section_title{
    <?php echo esc_attr(implode(';', $portfolio_single_meta_title_style)); ?>
    }
<?php } ?>

<?php
$portfolio_gallery_overlay_styles = '';

if(isset($eltd_options['portfolio_gallery_overlay_color']) && $eltd_options['portfolio_gallery_overlay_color'] !== '') {
    if(isset($eltd_options['portfolio_gallery_overlay_transparency']) && $eltd_options['portfolio_gallery_overlay_transparency'] !== ''){
        $portfolio_gallery_overlay_color = eltd_hex2rgb($eltd_options['portfolio_gallery_overlay_color']);
        $portfolio_gallery_overlay_styles .= 'background-color: rgba('. $portfolio_gallery_overlay_color[0] . ',' . $portfolio_gallery_overlay_color[1] . ',' . $portfolio_gallery_overlay_color[2] . ',' . $eltd_options['portfolio_gallery_overlay_transparency'] .');';
    } else {
        $portfolio_gallery_overlay_styles .= 'background-color: '.$eltd_options['portfolio_gallery_overlay_color'].';';
    }
}

if($portfolio_gallery_overlay_styles !== '') {
    ?>
    .portfolio_gallery a .gallery_text_holder {
    <?php echo esc_attr($portfolio_gallery_overlay_styles); ?>
    }

<?php
}

$portfolio_gallery_overlay_text_style = '';
if(isset($eltd_options['portfolio_gallery_overlay_text_color']) && $eltd_options['portfolio_gallery_overlay_text_color'] !== '') {
    $portfolio_gallery_overlay_text_style .= 'color: '.$eltd_options['portfolio_gallery_overlay_text_color'].';';
}

if($portfolio_gallery_overlay_text_style !== '') { ?>
    .portfolio_gallery a .gallery_text_inner h4{
    <?php echo esc_attr($portfolio_gallery_overlay_text_style); ?>
    }
<?php
}

?>

<?php  if (!empty($eltd_options['portfolio_gallery_icon_color']) || (isset($eltd_options['portfolio_gallery_icon_size']) && $eltd_options['portfolio_gallery_icon_size'] !== '')) {
    $portfolio_gallery_icon_styles = '';
    if(!empty($eltd_options['portfolio_gallery_icon_color'])) {
        $portfolio_gallery_icon_styles .= 'color: '.$eltd_options['portfolio_gallery_icon_color'].';';
    }

    if(isset($eltd_options['portfolio_gallery_icon_size']) && $eltd_options['portfolio_gallery_icon_size'] !== '') {
        $portfolio_gallery_icon_styles .= 'font-size: '.$eltd_options['portfolio_gallery_icon_size'].'px;';
    }

    if($portfolio_gallery_icon_styles !== '') {
        ?>
        .portfolio_single .gallery_text_holder .gallery_text_inner i:before{
        <?php echo esc_attr($portfolio_gallery_icon_styles); ?>
        }
    <?php
    }
    ?>
<?php } ?>

<?php if (isset($eltd_options['portfolio_gallery_icon_pack'])) {
    if($eltd_options['portfolio_gallery_icon_pack'] == 'font-elegant'){ ?>
        .portfolio_single .gallery_text_holder .gallery_text_inner i:before{
            content: "\4c";
            font-family: 'ElegantIcons'!important;
        }
    <?php
    }
    ?>
<?php } ?>

<?php
//generate top header styles
$top_header_font_styles         = '';
$top_header_font_hover_styles   = '';
$top_header_border_styles       = '';
if(isset($eltd_options['top_header_text_color']) && $eltd_options['top_header_text_color'] !== '') {
    $top_header_font_styles .= 'color: '.esc_attr($eltd_options['top_header_text_color']).' !important ;';
}

if(isset($eltd_options['top_header_text_hover_color']) && $eltd_options['top_header_text_hover_color'] !== '') {
    $top_header_font_hover_styles .= 'color: '.esc_attr($eltd_options['top_header_text_hover_color']).' !important ;';
}

if(isset($eltd_options['top_header_text_font_family']) && $eltd_options['top_header_text_font_family'] !== '-1') {
    $top_header_font_styles .= 'font-family: '.str_replace('+', ' ', $eltd_options['top_header_text_font_family']).';';
}

if(isset($eltd_options['top_header_text_font_size']) && $eltd_options['top_header_text_font_size'] !== '') {
    $top_header_font_styles .= 'font-size: '.esc_attr($eltd_options['top_header_text_font_size']).'px;';
}

if(isset($eltd_options['top_header_text_font_style']) && $eltd_options['top_header_text_font_style'] !== '') {
    $top_header_font_styles .= 'font-style: '.esc_attr($eltd_options['top_header_text_font_style']).';';
}

if(isset($eltd_options['top_header_text_font_weight']) && $eltd_options['top_header_text_font_weight'] !== '') {
    $top_header_font_styles .= 'font-weight: '.esc_attr($eltd_options['top_header_text_font_weight']).';';
}

if(isset($eltd_options['top_header_text_letter_spacing']) && $eltd_options['top_header_text_letter_spacing'] !== '') {
    $top_header_font_styles .= 'letter-spacing: '.esc_attr($eltd_options['top_header_text_letter_spacing']).'px;';
}

if(isset($eltd_options['top_header_border_color']) && $eltd_options['top_header_border_color'] !== '') {
    $top_header_border_styles .= 'border-bottom: 1px solid '.esc_attr($eltd_options['top_header_border_color']).';';
}

if(isset($eltd_options['top_header_border_weight']) && $eltd_options['top_header_border_weight'] !== '') {
    $top_header_border_styles .= 'border-width: '.esc_attr($eltd_options['top_header_border_weight']).'px;';
}

if($top_header_font_styles !== '') {
    ?>
    .header_top .eltd_social_icon_holder i.simple_social,
    .header_top .header-widget,
	.header_top .textwidget,
    .header_top .header-widget.widget_nav_menu ul.menu>li>a,
    .header_top .header-widget p,
    .header_top .header-widget a:not(.qbutton),
    .header_top .header-widget span {
    <?php echo esc_attr($top_header_font_styles); ?>
    }

<?php
}

if($top_header_font_hover_styles !== '') {
    ?>
    .header_top .eltd_social_icon_holder i.simple_social:hover,
    .header_top .header-widget a:hover,
    .header_top .header-widget.widget_nav_menu ul.menu>li>a:hover,
    .header_top .header-widget p:hover,
    .header_top .header-widget a:not(.qbutton):hover,
    .header_top .header-widget span:hover {
    <?php echo esc_attr($top_header_font_hover_styles); ?>
    }

<?php
}

if($top_header_border_styles !== '') {
    ?>
    .header_top,
	.fixed_top_header .top_header	{
    <?php echo esc_attr($top_header_border_styles); ?>
    }
	<?php if(isset($eltd_options['dropdown_border_around']) && $eltd_options['dropdown_border_around'] == "no"){ ?>
    header.fixed_top_header .drop_down .second{
	    top: calc(100% + 1px);
	}
	<?php } ?>

<?php
}
?>

@media only screen and (min-width: 1000px){
<?php if(isset($eltd_options['top_header_text_line_height']) && $eltd_options['top_header_text_line_height'] !== ''){ ?>
	.header_top .eltd_social_icon_holder i.simple_social,
	.header_top .header-widget,
	.header_top .textwidget,
	.header_top .header-widget.widget_nav_menu ul.menu>li>a,
	.header_top .header-widget p,
	.header_top .header-widget a:not(.qbutton),
	.header_top .header-widget span,
	.header_top #lang_sel,
	.header_top #lang_sel_click{
		line-height: <?php echo esc_attr($eltd_options['top_header_text_line_height']); ?>px;
		height: <?php echo esc_attr($eltd_options['top_header_text_line_height']); ?>px;
	}
	.header_top #lang_sel>ul,
	.header_top #lang_sel_click>ul{
		line-height: <?php echo esc_attr($eltd_options['top_header_text_line_height']); ?>px !important;
		height: <?php echo esc_attr($eltd_options['top_header_text_line_height']); ?>px !important;
	}
	.header_top #lang_sel ul ul,
	.header_top #lang_sel_click ul ul{
		top: <?php echo esc_attr($eltd_options['top_header_text_line_height']); ?>px;
	}
<?php  } ?>
}

	
<?php if(isset($eltd_options['top_header_text_hover_color']) && $eltd_options['top_header_text_hover_color'] !== '') { ?>
    .header_top #lang_sel > ul > li:hover > a,
	.header_top #lang_sel_click > ul > li:hover > a{
		color: <?php echo esc_attr($eltd_options['top_header_text_hover_color']); ?> !important;
    }
<?php } ?>

<?php if(isset($eltd_options['top_header_text_color']) && $eltd_options['top_header_text_color'] !== '') { ?>
    .header_top #lang_sel > ul > li > a,
	.header_top #lang_sel_click > ul > li > a{
		color: <?php echo esc_attr($eltd_options['top_header_text_color']); ?> !important;
    }
<?php } ?>

<?php if (isset($eltd_options['portfolio_filter_margin_bottom']) && $eltd_options['portfolio_filter_margin_bottom'] !== '') { ?>
    .filter_outer.filter_portfolio{
        margin-bottom: <?php echo esc_attr($eltd_options['portfolio_filter_margin_bottom']); ?>px !important;
    }
<?php } ?>

<?php if (isset($eltd_options['top_header_widget_divider_color']) && $eltd_options['top_header_widget_divider_color'] !== '') { ?>
    .header-widget.widget_text.header-left-widget,
	.header-widget.header-right-widget,
	.header_top .right .inner #lang_sel{
        border-color: <?php echo esc_attr($eltd_options['top_header_widget_divider_color']); ?>;
    }
<?php } ?>
<?php 

/* Text decoration for menu  in Header Top elements style start */

	if (isset($eltd_options['header_top_menu_item_text_decoration_style']) &&  $eltd_options['header_top_menu_item_text_decoration_style']=='none'){ ?>
		.header_top .header-widget.widget_nav_menu ul.menu li:hover > a{
			text-decoration: none;
		}
	<?php }  ?>
	<?php if(isset($eltd_options['header_top_menu_item_text_decoration_style']) &&  $eltd_options['header_top_menu_item_text_decoration_style']=='underline'){ ?>
		.header_top .header-widget.widget_nav_menu ul.menu li:hover > a{
			text-decoration: underline;
		}
	<?php } ?>
	<?php if(isset($eltd_options['header_top_menu_item_text_decoration_style']) &&  $eltd_options['header_top_menu_item_text_decoration_style']=='line-through'){ ?>
		.header_top .header-widget.widget_nav_menu ul.menu li:hover > a{
			text-decoration: line-through;
		}
	<?php } ?>
	<?php if(isset($eltd_options['header_top_menu_item_text_decoration_style']) &&  $eltd_options['header_top_menu_item_text_decoration_style']=='overline'){ ?>
		.header_top .header-widget.widget_nav_menu ul.menu li:hover > a{
			text-decoration: overline;
		}
	<?php }
/* Text decoration for menu  in Header Top elements style start */

	if (isset($eltd_options['header_top_menu_active_text_decoration_style']) &&  $eltd_options['header_top_menu_active_text_decoration_style']=='none'){ ?>
		.header_top .header-widget.widget_nav_menu ul.menu li.current-menu-item > a,
		.header_top .header-widget.widget_nav_menu ul.menu li.current-menu-item:hover > a{
			text-decoration: none;
		}
	<?php }  ?>
	<?php if(isset($eltd_options['header_top_menu_active_text_decoration_style']) &&  $eltd_options['header_top_menu_active_text_decoration_style']=='underline'){ ?>
		.header_top .header-widget.widget_nav_menu ul.menu li.current-menu-item > a,
		.header_top .header-widget.widget_nav_menu ul.menu li.current-menu-item:hover > a{
			text-decoration: underline;
		}
	<?php } ?>
	<?php if(isset($eltd_options['header_top_menu_active_text_decoration_style']) &&  $eltd_options['header_top_menu_active_text_decoration_style']=='line-through'){ ?>
		.header_top .header-widget.widget_nav_menu ul.menu li.current-menu-item > a,
		.header_top .header-widget.widget_nav_menu ul.menu li.current-menu-item:hover > a{
			text-decoration: line-through;
		}
	<?php } ?>
	<?php if(isset($eltd_options['header_top_menu_active_text_decoration_style']) &&  $eltd_options['header_top_menu_active_text_decoration_style']=='overline'){ ?>
		.header_top .header-widget.widget_nav_menu ul.menu li.current-menu-item > a,
		.header_top .header-widget.widget_nav_menu ul.menu li.current-menu-item:hover > a{
			text-decoration: overline;
		}
	<?php }

?>
	

<?php
/* widget in Header Top elements style start */

// search widget

if(isset($eltd_options['header_top_search_height']) && $eltd_options['header_top_search_height'] !== '') { ?>
    .header-widget.widget_search form input[type="text"],
    .header_top #searchform input[type="text"],
    .header-widget #searchform input[type="text"],
    .header-widget.widget_search form input[type="submit"],
    .header_top #searchform input[type="submit"],
    .header-widget #searchform input[type="submit"]{
        height: <?php echo esc_attr($eltd_options['header_top_search_height']).'px;'?>
        line-height: <?php echo esc_attr($eltd_options['header_top_search_height']).'px;'?>
    }

<?php }


$header_top_sidebar_search_styles = array();

if (!empty($eltd_options['header_top_search_border_around']) && $eltd_options['header_top_search_border_around'] == 'around_search_text'){
    if(!empty($eltd_options['header_top_search_border_color'])) {
        $header_top_search_text_border = 'border-color: '.$eltd_options['header_top_search_border_color'].';'; ?>
            .header-widget.widget_search form input[type="text"],
            .header_top #searchform input[type="text"],
            .header-widget #searchform input[type="text"]{
                <?php echo esc_attr($header_top_search_text_border); ?>
                border-width: 1px;
                border-style: solid;
                border-right: transparent;
            }
            .header-widget #searchform{
                border:none;
            }
    <?php }
}
else {
    if(!empty($eltd_options['header_top_search_border_color'])) {
        $header_top_sidebar_search_styles[] = 'border-color: '.$eltd_options['header_top_search_border_color'];
    }
}

if(!empty($eltd_options['header_top_search_loupe_color'])) {
    $header_top_sidebar_search_styles[] = 'color: '.$eltd_options['header_top_search_loupe_color'];
}

if(is_array($header_top_sidebar_search_styles) && count($header_top_sidebar_search_styles)) { ?>
    .header-widget.widget_search #searchform,
    .header-widget.widget_search form input[type="submit"],
    .header_top #searchform input[type="submit"],
    .header-widget #searchform input[type="submit"]{
    <?php echo esc_attr(implode(';', $header_top_sidebar_search_styles)); ?>
    }
<?php }

if(!empty($eltd_options['header_top_search_loupe_background_color'])) { ?>
    .header-widget.widget_search form input[type="submit"],
    .header_top #searchform input[type="submit"],
    .header-widget #searchform input[type="submit"]{
        background-color: <?php echo esc_attr($eltd_options['header_top_search_loupe_background_color']); ?>
    }
<?php }
?>

<?php
$header_top_sidebar_search_text_styles = array();

if(isset($eltd_options['header_top_search_text_font_family']) && $eltd_options['header_top_search_text_font_family'] !== '-1') {
    $header_top_sidebar_search_text_styles[] = 'font-family: '.str_replace('+', ' ', $eltd_options['header_top_search_text_font_family']).', sans-serif';
}

if(isset($eltd_options['header_top_search_text_font_size']) && $eltd_options['header_top_search_text_font_size'] !== '') {
    $header_top_sidebar_search_text_styles[] = 'font-size: '.$eltd_options['header_top_search_text_font_size'].'px';
}

if(isset($eltd_options['header_top_search_text_line_height']) && $eltd_options['header_top_search_text_line_height'] !== '') {
    $header_top_sidebar_search_text_styles[] = 'line-height: '.$eltd_options['header_top_search_text_line_height'].'px';
}

if(isset($eltd_options['header_top_search_text_letter_spacing']) && $eltd_options['header_top_search_text_letter_spacing'] !== '') {
    $header_top_sidebar_search_text_styles[] = 'letter-spacing: '.$eltd_options['header_top_search_text_letter_spacing'].'px';
}

if(isset($eltd_options['header_top_search_text_font_weight']) && $eltd_options['header_top_search_text_font_weight'] !== '') {
    $header_top_sidebar_search_text_styles[] = 'font-weight: '.$eltd_options['header_top_search_text_font_weight'];
}

if(isset($eltd_options['header_top_search_text_font_style']) && $eltd_options['header_top_search_text_font_style'] !== '') {
    $header_top_sidebar_search_text_styles[] = 'font-style: '.$eltd_options['header_top_search_text_font_style'];
}

if(isset($eltd_options['header_top_search_text_text_transform']) && $eltd_options['header_top_search_text_text_transform'] !== '') {
    $header_top_sidebar_search_text_styles[] = 'text-transform: '.$eltd_options['header_top_search_text_text_transform'];
}

if(isset($eltd_options['header_top_search_text_color']) && $eltd_options['header_top_search_text_color'] !== '') {
    $header_top_sidebar_search_text_styles[] = 'color: '.$eltd_options['header_top_search_text_color'];
?>
	.header_top .header-widget.widget_search #searchform input[type="submit"] {
		 <?php echo 'color: '.esc_attr($eltd_options['header_top_search_text_color']).';' ?>
	}
<?php
}


if(is_array($header_top_sidebar_search_text_styles) && count($header_top_sidebar_search_text_styles)) { ?>
    .header-widget.widget_search #searchform input[type='text'],
    .header-widget.widget_search #searchsubmit input[type='text']{
    <?php echo esc_attr(implode(';', $header_top_sidebar_search_text_styles)); ?>
    }

    <?php if(isset($eltd_options['header_top_search_text_color']) && $eltd_options['header_top_search_text_color'] !== ''){ ?>
        .header-widget.widget_search #searchform input[type='text']::-webkit-input-placeholder,
        .header-widget.widget_search #searchsubmit input[type='text']::-webkit-input-placeholder{
            <?php echo 'color: '.esc_attr($eltd_options['header_top_search_text_color']).';' ?>
            opacity:1;
        }
        .header-widget.widget_search #searchform input[type='text']:-moz-placeholder,
        .header-widget.widget_search #searchsubmit input[type='text']:-moz-placeholder{
            <?php echo 'color: '.esc_attr($eltd_options['header_top_search_text_color']).';' ?>
            opacity:1;
        }
        .header-widget.widget_search #searchform input[type='text']::-moz-placeholder,
        .header-widget.widget_search #searchsubmit input[type='text']::-moz-placeholder{
            <?php echo 'color: '.esc_attr($eltd_options['header_top_search_text_color']).';' ?>
            opacity:1;
        }
        .header-widget.widget_search #searchform input[type='text']:-ms-input-placeholder,
        .header-widget.widget_search #searchsubmit input[type='text']:-ms-input-placeholder{
            <?php echo 'color: '.esc_attr($eltd_options['header_top_search_text_color']).';' ?>
            opacity:1;
        }
    <?php } ?>

<?php }


if(isset($eltd_options['header_top_search_focus_text_color']) && $eltd_options['header_top_search_focus_text_color'] !== '') { ?>
        .header-widget.widget_search #searchform input[type='text']:focus,
        .header-widget.widget_search #searchsubmit input[type='text']:focus{
            <?php echo 'color: '.esc_attr($eltd_options['header_top_search_focus_text_color']).';' ?>
        }
        .header-widget.widget_search #searchform input[type='text']:focus::-webkit-input-placeholder,
        .header-widget.widget_search #searchsubmit input[type='text']:focus::-webkit-input-placeholder{
            <?php echo 'color: '.esc_attr($eltd_options['header_top_search_focus_text_color']).';' ?>
        }
        .header-widget.widget_search #searchform input[type='text']:focus:-moz-placeholder,
        .header-widget.widget_search #searchsubmit input[type='text']:focus:-moz-placeholder{
            <?php echo 'color: '.esc_attr($eltd_options['header_top_search_focus_text_color']).';' ?>
        }
        .header-widget.widget_search #searchform input[type='text']:focus::-moz-placeholder,
        .header-widget.widget_search #searchsubmit input[type='text']:focus::-moz-placeholder{
            <?php echo 'color: '.esc_attr($eltd_options['header_top_search_focus_text_color']).';' ?>
        }
        .header-widget.widget_search #searchform input[type='text']:focus:-ms-input-placeholder,
        .header-widget.widget_search #searchsubmit input[type='text']:focus:-ms-input-placeholder{
            <?php echo 'color: '.esc_attr($eltd_options['header_top_search_focus_text_color']).';' ?>
        }
<?php }

$header_top_search_style = array();

if(isset($eltd_options['header_top_search_width']) && $eltd_options['header_top_search_width'] !== '') {
    $header_top_search_style[] = 'width: '.$eltd_options['header_top_search_width'].'px';
}

if(isset($eltd_options['header_top_search_margin_left']) && $eltd_options['header_top_search_margin_left'] !== '') {
    $header_top_search_style[] = 'margin-left: '.$eltd_options['header_top_search_margin_left'].'px';
}

if(isset($eltd_options['header_top_search_margin_right']) && $eltd_options['header_top_search_margin_right'] !== '') {
    $header_top_search_style[] = 'margin-right: '.$eltd_options['header_top_search_margin_right'].'px';
}

if(is_array($header_top_search_style) && count($header_top_search_style)) { ?>
    .header-widget.widget_search #searchform{
    <?php echo esc_attr(implode(';', $header_top_search_style)); ?>
    }
<?php }



/* widget in Header Top elements style end */
?>
.filter_outer.filter_portfolio .filter_holder.without_separator ul li.filter:after{
	height: calc(100% + 4px);
	width: calc(100% + 4px);
}
.filter_outer.filter_portfolio .filter_holder.without_separator ul li.filter:before{
	height: calc(100% + 4px);
}
.filter_outer.filter_portfolio .filter_holder.without_separator ul li.filter span:before{
	height: calc(100% + 4px);
}

@media only screen and (max-width: 768px){
	.filter_outer.filter_portfolio .filter_holder.without_separator ul li.filter:before{
		width: calc(100% + 4px) !important;
	}
	.filter_outer.filter_portfolio .filter_holder.without_separator ul li.filter:after {
		width: calc(100% + 4px) !important;
	}
}
<?php
//generate categories filter title styles
$portfolio_filter_title_font_styles = '';
if(isset($eltd_options['portfolio_filter_title_color']) && $eltd_options['portfolio_filter_title_color'] !== '') {
    $portfolio_filter_title_font_styles .= 'color: '.esc_attr($eltd_options['portfolio_filter_title_color']).';';
}

if(isset($eltd_options['portfolio_filter_title_font_family']) && $eltd_options['portfolio_filter_title_font_family'] !== '-1') {
    $portfolio_filter_title_font_styles .= 'font-family: '.str_replace('+', ' ', $eltd_options['portfolio_filter_title_font_family']).';';
}

if(isset($eltd_options['portfolio_filter_title_font_size']) && $eltd_options['portfolio_filter_title_font_size'] !== '') {
    $portfolio_filter_title_font_styles .= 'font-size: '.esc_attr($eltd_options['portfolio_filter_title_font_size']).'px;';
}

if(isset($eltd_options['portfolio_filter_title_line_height']) && $eltd_options['portfolio_filter_title_line_height'] !== '') {
    $portfolio_filter_title_font_styles .= 'line-height: '.esc_attr($eltd_options['portfolio_filter_title_line_height']).'px;';
}

if(isset($eltd_options['portfolio_filter_title_font_style']) && $eltd_options['portfolio_filter_title_font_style'] !== '') {
    $portfolio_filter_title_font_styles .= 'font-style: '.esc_attr($eltd_options['portfolio_filter_title_font_style']).';';
}

if(isset($eltd_options['portfolio_filter_title_font_weight']) && $eltd_options['portfolio_filter_title_font_weight'] !== '') {
    $portfolio_filter_title_font_styles .= 'font-weight: '.esc_attr($eltd_options['portfolio_filter_title_font_weight']).';';
}

if(isset($eltd_options['portfolio_filter_title_letter_spacing']) && $eltd_options['portfolio_filter_title_letter_spacing'] !== '') {
    $portfolio_filter_title_font_styles .= 'letter-spacing: '.esc_attr($eltd_options['portfolio_filter_title_letter_spacing']).'px;';
}

if(isset($eltd_options['portfolio_filter_title_text_transform']) && $eltd_options['portfolio_filter_title_text_transform'] !== '') {
    $portfolio_filter_title_font_styles .= 'text-transform: '.esc_attr($eltd_options['portfolio_filter_title_text_transform']).';';
}

if($portfolio_filter_title_font_styles !== '') {
    ?>
    .filter_portfolio .filter_holder ul li.filter_title span{
    <?php echo esc_attr($portfolio_filter_title_font_styles); ?>
    }
<?php } ?>



<?php
//generate categories filter styles
$portfolio_filter_font_styles = '';
$portfolio_filter_font_hover_styles = '';
if(isset($eltd_options['portfolio_filter_color']) && $eltd_options['portfolio_filter_color'] !== '') {
    $portfolio_filter_font_styles .= 'color: '.esc_attr($eltd_options['portfolio_filter_color']).';';
}

if(isset($eltd_options['portfolio_filter_hovercolor']) && $eltd_options['portfolio_filter_hovercolor'] !== '') {
    $portfolio_filter_font_hover_styles .= 'color: '.esc_attr($eltd_options['portfolio_filter_hovercolor']).' !important;';
}

if(isset($eltd_options['portfolio_filter_font_family']) && $eltd_options['portfolio_filter_font_family'] !== '-1') {
    $portfolio_filter_font_styles .= 'font-family: '.str_replace('+', ' ', $eltd_options['portfolio_filter_font_family']).';';
}

if(isset($eltd_options['portfolio_filter_font_size']) && $eltd_options['portfolio_filter_font_size'] !== '') {
    $portfolio_filter_font_styles .= 'font-size: '.esc_attr($eltd_options['portfolio_filter_font_size']).'px;';
}

if(isset($eltd_options['portfolio_filter_line_height']) && $eltd_options['portfolio_filter_line_height'] !== '') {
    $portfolio_filter_font_styles .= 'line-height: '.esc_attr($eltd_options['portfolio_filter_line_height']).'px;';
}

if(isset($eltd_options['portfolio_filter_font_style']) && $eltd_options['portfolio_filter_font_style'] !== '') {
    $portfolio_filter_font_styles .= 'font-style: '.esc_attr($eltd_options['portfolio_filter_font_style']).';';
}

if(isset($eltd_options['portfolio_filter_font_weight']) && $eltd_options['portfolio_filter_font_weight'] !== '') {
    $portfolio_filter_font_styles .= 'font-weight: '.esc_attr($eltd_options['portfolio_filter_font_weight']).';';
}

if(isset($eltd_options['portfolio_filter_letter_spacing']) && $eltd_options['portfolio_filter_letter_spacing'] !== '') {
    $portfolio_filter_font_styles .= 'letter-spacing: '.esc_attr($eltd_options['portfolio_filter_letter_spacing']).'px;';
}

if(isset($eltd_options['portfolio_filter_text_transform']) && $eltd_options['portfolio_filter_text_transform'] !== '') {
    $portfolio_filter_font_styles .= 'text-transform: '.esc_attr($eltd_options['portfolio_filter_text_transform']).';';
}

if($portfolio_filter_font_styles !== '') {
    ?>
    .filter_portfolio .filter_holder ul li:not(.filter_title) span{
    <?php echo esc_attr($portfolio_filter_font_styles); ?>
    }
<?php
}
if($portfolio_filter_font_hover_styles !== '') {
    ?>
    .filter_portfolio .filter_holder ul li.current span,
    .filter_portfolio .filter_holder ul li:not(.filter_title):hover span{
    <?php echo esc_attr($portfolio_filter_font_hover_styles); ?>
    }

<?php
}
?>

<?php
//generate BLOG MASONRY categories filter title styles
$blog_masonry_filter_title_font_styles = '';
if(isset($eltd_options['blog_masonry_filter_title_color']) && $eltd_options['blog_masonry_filter_title_color'] !== '') {
    $blog_masonry_filter_title_font_styles .= 'color: '.esc_attr($eltd_options['blog_masonry_filter_title_color']).';';
}

if(isset($eltd_options['blog_masonry_filter_title_font_family']) && $eltd_options['blog_masonry_filter_title_font_family'] !== '-1') {
    $blog_masonry_filter_title_font_styles .= 'font-family: '.str_replace('+', ' ', $eltd_options['blog_masonry_filter_title_font_family']).';';
}

if(isset($eltd_options['blog_masonry_filter_title_font_size']) && $eltd_options['blog_masonry_filter_title_font_size'] !== '') {
    $blog_masonry_filter_title_font_styles .= 'font-size: '.esc_attr($eltd_options['blog_masonry_filter_title_font_size']).'px;';
}

if(isset($eltd_options['blog_masonry_filter_title_line_height']) && $eltd_options['blog_masonry_filter_title_line_height'] !== '') {
    $blog_masonry_filter_title_font_styles .= 'line-height: '.esc_attr($eltd_options['blog_masonry_filter_title_line_height']).'px;';
}

if(isset($eltd_options['blog_masonry_filter_title_font_style']) && $eltd_options['blog_masonry_filter_title_font_style'] !== '') {
    $blog_masonry_filter_title_font_styles .= 'font-style: '.esc_attr($eltd_options['blog_masonry_filter_title_font_style']).';';
}

if(isset($eltd_options['blog_masonry_filter_title_font_weight']) && $eltd_options['blog_masonry_filter_title_font_weight'] !== '') {
    $blog_masonry_filter_title_font_styles .= 'font-weight: '.esc_attr($eltd_options['blog_masonry_filter_title_font_weight']).';';
}

if(isset($eltd_options['blog_masonry_filter_title_letter_spacing']) && $eltd_options['blog_masonry_filter_title_letter_spacing'] !== '') {
    $blog_masonry_filter_title_font_styles .= 'letter-spacing: '.esc_attr($eltd_options['blog_masonry_filter_title_letter_spacing']).'px;';
}

if(isset($eltd_options['blog_masonry_filter_title_text_transform']) && $eltd_options['blog_masonry_filter_title_text_transform'] !== '') {
    $portfolio_filter_title_font_styles .= 'text-transform: '.esc_attr($eltd_options['blog_masonry_filter_title_text_transform']).';';
}

if($blog_masonry_filter_title_font_styles !== '') {
    ?>
    .page-template-blog-masonry .filter_blog .filter_holder ul li.filter_title span{
    <?php echo esc_attr($blog_masonry_filter_title_font_styles); ?>
    }
<?php } ?>

<?php
//generate BLOG MASONRY filter styles
$blog_masonry_filter_font_styles = '';
$blog_masonry_filter_font_hover_styles = '';
if(isset($eltd_options['blog_masonry_filter_color']) && $eltd_options['blog_masonry_filter_color'] !== '') {
    $blog_masonry_filter_font_styles .= 'color: '.esc_attr($eltd_options['blog_masonry_filter_color']).';';
}

if(isset($eltd_options['blog_masonry_filter_hovercolor']) && $eltd_options['blog_masonry_filter_hovercolor'] !== '') {
    $blog_masonry_filter_font_hover_styles .= 'color: '.esc_attr($eltd_options['blog_masonry_filter_hovercolor']).' !important;';
}

if(isset($eltd_options['blog_masonry_filter_font_family']) && $eltd_options['blog_masonry_filter_font_family'] !== '-1') {
    $blog_masonry_filter_font_styles .= 'font-family: '.str_replace('+', ' ', $eltd_options['blog_masonry_filter_font_family']).';';
}

if(isset($eltd_options['blog_masonry_filter_font_size']) && $eltd_options['blog_masonry_filter_font_size'] !== '') {
    $blog_masonry_filter_font_styles .= 'font-size: '.esc_attr($eltd_options['blog_masonry_filter_font_size']).'px;';
}

if(isset($eltd_options['blog_masonry_filter_line_height']) && $eltd_options['blog_masonry_filter_line_height'] !== '') {
    $blog_masonry_filter_font_styles .= 'line-height: '.esc_attr($eltd_options['blog_masonry_filter_line_height']).'px;';
}

if(isset($eltd_options['blog_masonry_filter_font_style']) && $eltd_options['blog_masonry_filter_font_style'] !== '') {
    $blog_masonry_filter_font_styles .= 'font-style: '.esc_attr($eltd_options['blog_masonry_filter_font_style']).';';
}

if(isset($eltd_options['blog_masonry_filter_font_weight']) && $eltd_options['blog_masonry_filter_font_weight'] !== '') {
    $blog_masonry_filter_font_styles .= 'font-weight: '.esc_attr($eltd_options['blog_masonry_filter_font_weight']).';';
}

if(isset($eltd_options['blog_masonry_filter_letter_spacing']) && $eltd_options['blog_masonry_filter_letter_spacing'] !== '') {
    $blog_masonry_filter_font_styles .= 'letter-spacing: '.esc_attr($eltd_options['blog_masonry_filter_letter_spacing']).'px;';
}

if(isset($eltd_options['blog_masonry_filter_text_transform']) && $eltd_options['blog_masonry_filter_text_transform'] !== '') {
    $blog_masonry_filter_font_styles .= 'text-transform: '.esc_attr($eltd_options['blog_masonry_filter_text_transform']).';';
}

if($blog_masonry_filter_font_styles !== '') {
    ?>
    .page-template-blog-masonry .filter_blog .filter_holder ul li:not(.filter_title) span{
    <?php echo esc_attr($blog_masonry_filter_font_styles); ?>
    }
    <?php
    if($eltd_options['blog_masonry_filter_color'] !== ''){
        ?>
        .page-template-blog-masonry .filter_blog .filter_holder ul li span:after{
        color: <?php echo esc_attr($eltd_options['blog_masonry_filter_color']); ?>;
        }
    <?php
    }
}
if($blog_masonry_filter_font_hover_styles !== '') {
    ?>
    .page-template-blog-masonry .filter_blog .filter_holder ul li.current span,
    .page-template-blog-masonry .filter_blog .filter_holder ul li:not(.filter_title):hover span{
    <?php echo esc_attr($blog_masonry_filter_font_hover_styles); ?>
    }

<?php
}
?>

<?php
$blog_masonry_filter_styles = '';
if(isset($eltd_options['blog_masonry_filter_height']) && $eltd_options['blog_masonry_filter_height'] !== '') {
    $blog_masonry_filter_styles .= 'height: '.$eltd_options['blog_masonry_filter_height'].'px;';
    $blog_masonry_filter_styles .= 'line-height: '.$eltd_options['blog_masonry_filter_height'].'px;';
}

if(isset($eltd_options['blog_masonry_filter_background_color']) && $eltd_options['blog_masonry_filter_background_color'] !== '') {
    $blog_masonry_filter_styles .= 'background-color: '.$eltd_options['blog_masonry_filter_background_color'].';';
}

if(isset($eltd_options['blog_masonry_filter_margin_bottom']) && $eltd_options['blog_masonry_filter_margin_bottom'] !== '') {
    $blog_masonry_filter_styles .= 'margin-bottom: '.$eltd_options['blog_masonry_filter_margin_bottom'].'px;';
}
if(isset($eltd_options['blog_masonry_filter_alignment']) && $eltd_options['blog_masonry_filter_alignment'] !== '') {
    $blog_masonry_filter_styles .= 'text-align: '.$eltd_options['blog_masonry_filter_alignment'].';';
}
if($blog_masonry_filter_styles !== '') {
    ?>
    .filter_outer.filter_blog{
    <?php echo esc_attr($blog_masonry_filter_styles); ?>
    }
<?php
}
?>

<?php

$blog_masonry_full_width_template_margin_styles = array();

if(isset($eltd_options['blog_masonry_full_width_margin']) && $eltd_options['blog_masonry_full_width_margin'] !== '') {
    $blog_masonry_full_width_template_margin_styles[] = 'padding: '.$eltd_options['blog_masonry_full_width_margin'];
}

if(is_array($blog_masonry_full_width_template_margin_styles) && count($blog_masonry_full_width_template_margin_styles)) { ?>
    body.page-template-blog-masonry-full-width-php .content .full_width .full_width_inner,
	.content .full_width.blog_masonry_full_width_template .full_width_inner{
    <?php echo esc_attr(implode(';', $blog_masonry_full_width_template_margin_styles)); ?>
    }

<?php } ?>


<?php
//generate title on portfolio standard and pinterest lists styles
$portfolio_title_standard_list_font_styles = '';
if(isset($eltd_options['portfolio_title_standard_list_color']) && $eltd_options['portfolio_title_standard_list_color'] !== '') {
    $portfolio_title_standard_list_font_styles .= 'color: '.esc_attr($eltd_options['portfolio_title_standard_list_color']).';';
}

if(isset($eltd_options['portfolio_title_standard_list_font_family']) && $eltd_options['portfolio_title_standard_list_font_family'] !== '-1') {
    $portfolio_title_standard_list_font_styles .= 'font-family: '.str_replace('+', ' ', $eltd_options['portfolio_title_standard_list_font_family']).';';
}

if(isset($eltd_options['portfolio_title_standard_list_font_size']) && $eltd_options['portfolio_title_standard_list_font_size'] !== '') {
    $portfolio_title_standard_list_font_styles .= 'font-size: '.esc_attr($eltd_options['portfolio_title_standard_list_font_size']).'px;';
}

if(isset($eltd_options['portfolio_title_standard_list_line_height']) && $eltd_options['portfolio_title_standard_list_line_height'] !== '') {
    $portfolio_title_standard_list_font_styles .= 'line-height: '.esc_attr($eltd_options['portfolio_title_standard_list_line_height']).'px;';
}

if(isset($eltd_options['portfolio_title_standard_list_font_style']) && $eltd_options['portfolio_title_standard_list_font_style'] !== '') {
    $portfolio_title_standard_list_font_styles .= 'font-style: '.esc_attr($eltd_options['portfolio_title_standard_list_font_style']).';';
}

if(isset($eltd_options['portfolio_title_standard_list_font_weight']) && $eltd_options['portfolio_title_standard_list_font_weight'] !== '') {
    $portfolio_title_standard_list_font_styles .= 'font-weight: '.esc_attr($eltd_options['portfolio_title_standard_list_font_weight']).';';
}

if(isset($eltd_options['portfolio_title_standard_list_letter_spacing']) && $eltd_options['portfolio_title_standard_list_letter_spacing'] !== '') {
    $portfolio_title_standard_list_font_styles .= 'letter-spacing: '.esc_attr($eltd_options['portfolio_title_standard_list_letter_spacing']).'px;';
}

if(isset($eltd_options['portfolio_title_standard_list_text_transform']) && $eltd_options['portfolio_title_standard_list_text_transform'] !== '') {
    $portfolio_title_standard_list_font_styles .= 'text-transform: '.esc_attr($eltd_options['portfolio_title_standard_list_text_transform']).';';
}

if($portfolio_title_standard_list_font_styles !== '') {
    ?>
    .portfolio_main_holder.projects_holder.standard article .portfolio_title,
    .portfolio_main_holder.projects_holder.standard article .portfolio_title a,
    .portfolio_main_holder.projects_holder.standard_no_space article .portfolio_title,
    .portfolio_main_holder.projects_holder.standard_no_space article .portfolio_title a{
    <?php echo esc_attr($portfolio_title_standard_list_font_styles); ?>
    }
<?php
}

$portfolio_title_standard_list_hover_styles = '';
if(isset($eltd_options['portfolio_title_standard_list_hover_color']) && $eltd_options['portfolio_title_standard_list_hover_color'] !== '') {
    $portfolio_title_standard_list_hover_styles .= 'color: '.$eltd_options['portfolio_title_standard_list_hover_color'].';';
}

if($portfolio_title_standard_list_hover_styles !== '') {
    ?>
    .portfolio_main_holder.projects_holder.standard article .portfolio_title a:hover,
    .portfolio_main_holder.projects_holder.standard_no_space article .portfolio_title a:hover{
    <?php echo esc_attr($portfolio_title_standard_list_hover_styles); ?>
    }
<?php
}
?>

<?php
//generate categories on portfolio standard and pinterest lists styles
$portfolio_category_standard_list_font_styles = '';
if(isset($eltd_options['portfolio_category_standard_list_color']) && $eltd_options['portfolio_category_standard_list_color'] !== '') {
    $portfolio_category_standard_list_font_styles .= 'color: '.esc_attr($eltd_options['portfolio_category_standard_list_color']).';';
}

if(isset($eltd_options['portfolio_category_standard_list_font_family']) && $eltd_options['portfolio_category_standard_list_font_family'] !== '-1') {
    $portfolio_category_standard_list_font_styles .= 'font-family: '.str_replace('+', ' ', $eltd_options['portfolio_category_standard_list_font_family']).';';
}

if(isset($eltd_options['portfolio_category_standard_list_font_size']) && $eltd_options['portfolio_category_standard_list_font_size'] !== '') {
    $portfolio_category_standard_list_font_styles .= 'font-size: '.esc_attr($eltd_options['portfolio_category_standard_list_font_size']).'px;';
}

if(isset($eltd_options['portfolio_category_standard_list_line_height']) && $eltd_options['portfolio_category_standard_list_line_height'] !== '') {
    $portfolio_category_standard_list_font_styles .= 'line-height: '.esc_attr($eltd_options['portfolio_category_standard_list_line_height']).'px;';
}

if(isset($eltd_options['portfolio_category_standard_list_font_style']) && $eltd_options['portfolio_category_standard_list_font_style'] !== '') {
    $portfolio_category_standard_list_font_styles .= 'font-style: '.esc_attr($eltd_options['portfolio_category_standard_list_font_style']).';';
}

if(isset($eltd_options['portfolio_category_standard_list_font_weight']) && $eltd_options['portfolio_category_standard_list_font_weight'] !== '') {
    $portfolio_category_standard_list_font_styles .= 'font-weight: '.esc_attr($eltd_options['portfolio_category_standard_list_font_weight']).';';
}

if(isset($eltd_options['portfolio_category_standard_list_letter_spacing']) && $eltd_options['portfolio_category_standard_list_letter_spacing'] !== '') {
    $portfolio_category_standard_list_font_styles .= 'letter-spacing: '.esc_attr($eltd_options['portfolio_category_standard_list_letter_spacing']).'px;';
}

if(isset($eltd_options['portfolio_category_standard_list_text_transform']) && $eltd_options['portfolio_category_standard_list_text_transform'] !== '') {
    $portfolio_category_standard_list_font_styles .= 'text-transform: '.esc_attr($eltd_options['portfolio_category_standard_list_text_transform']).';';
}

if($portfolio_category_standard_list_font_styles !== '') {
    ?>
    .portfolio_main_holder.projects_holder.standard article .project_category,
    .portfolio_main_holder.projects_holder.standard_no_space article .project_category{
    <?php echo esc_attr($portfolio_category_standard_list_font_styles); ?>
    }
<?php
}
?>

<?php
//generate title on portfolio stext on hover image and text before hover lists styles
$portfolio_title_hover_box_list_font_styles = '';
if(isset($eltd_options['portfolio_title_hover_box_list_color']) && $eltd_options['portfolio_title_hover_box_list_color'] !== '') {
    $portfolio_title_hover_box_list_font_styles .= 'color: '.esc_attr($eltd_options['portfolio_title_hover_box_list_color']).';';
}

if(isset($eltd_options['portfolio_title_hover_box_list_font_family']) && $eltd_options['portfolio_title_hover_box_list_font_family'] !== '-1') {
    $portfolio_title_hover_box_list_font_styles .= 'font-family: '.str_replace('+', ' ', $eltd_options['portfolio_title_hover_box_list_font_family']).';';
}

if(isset($eltd_options['portfolio_title_hover_box_list_font_size']) && $eltd_options['portfolio_title_hover_box_list_font_size'] !== '') {
    $portfolio_title_hover_box_list_font_styles .= 'font-size: '.esc_attr($eltd_options['portfolio_title_hover_box_list_font_size']).'px;';
}

if(isset($eltd_options['portfolio_title_hover_box_list_line_height']) && $eltd_options['portfolio_title_hover_box_list_line_height'] !== '') {
    $portfolio_title_hover_box_list_font_styles .= 'line-height: '.esc_attr($eltd_options['portfolio_title_hover_box_list_line_height']).'px;';
}

if(isset($eltd_options['portfolio_title_hover_box_list_font_style']) && $eltd_options['portfolio_title_hover_box_list_font_style'] !== '') {
    $portfolio_title_hover_box_list_font_styles .= 'font-style: '.esc_attr($eltd_options['portfolio_title_hover_box_list_font_style']).';';
}

if(isset($eltd_options['portfolio_title_hover_box_list_font_weight']) && $eltd_options['portfolio_title_hover_box_list_font_weight'] !== '') {
    $portfolio_title_hover_box_list_font_styles .= 'font-weight: '.esc_attr($eltd_options['portfolio_title_hover_box_list_font_weight']).';';
}

if(isset($eltd_options['portfolio_title_hover_box_list_letter_spacing']) && $eltd_options['portfolio_title_hover_box_list_letter_spacing'] !== '') {
    $portfolio_title_hover_box_list_font_styles .= 'letter-spacing: '.esc_attr($eltd_options['portfolio_title_hover_box_list_letter_spacing']).'px;';
}

if(isset($eltd_options['portfolio_title_hover_box_list_text_transform']) && $eltd_options['portfolio_title_hover_box_list_text_transform'] !== '') {
    $portfolio_title_hover_box_list_font_styles .= 'text-transform: '.esc_attr($eltd_options['portfolio_title_hover_box_list_text_transform']).';';
}

if($portfolio_title_hover_box_list_font_styles !== '') {
    ?>
    .portfolio_main_holder.projects_holder.hover_text article .item_holder .portfolio_title,
    .portfolio_main_holder.projects_holder.hover_text article .item_holder .portfolio_title a,
    .portfolio_main_holder.projects_holder.hover_text.no_space article .item_holder .portfolio_title,
    .portfolio_main_holder.projects_holder.hover_text.no_space article .item_holder .portfolio_title a{
    <?php echo esc_attr($portfolio_title_hover_box_list_font_styles); ?>
    }
<?php
}

$portfolio_title_hover_box_list_hover_styles = '';
if(isset($eltd_options['portfolio_title_hover_box_list_hover_color']) && $eltd_options['portfolio_title_hover_box_list_hover_color'] !== '') {
    $portfolio_title_hover_box_list_hover_styles .= 'color: '.$eltd_options['portfolio_title_hover_box_list_hover_color'].';';
}

if($portfolio_title_hover_box_list_hover_styles !== '') {
    ?>
    .portfolio_main_holder.projects_holder.hover_text article .portfolio_title:hover a,
    .portfolio_main_holder.projects_holder.hover_text.no_space article .portfolio_title:hover a{
    <?php echo esc_attr($portfolio_title_hover_box_list_hover_styles); ?>
    }
<?php
}
?>

<?php
//generate categories on text on hover image and text before hover lists styles
$portfolio_category_hover_box_list_font_styles = '';
if(isset($eltd_options['portfolio_category_hover_box_list_color']) && $eltd_options['portfolio_category_hover_box_list_color'] !== '') {
    $portfolio_category_hover_box_list_font_styles .= 'color: '.esc_attr($eltd_options['portfolio_category_hover_box_list_color']).';';
}

if(isset($eltd_options['portfolio_category_hover_box_list_font_family']) && $eltd_options['portfolio_category_hover_box_list_font_family'] !== '-1') {
    $portfolio_category_hover_box_list_font_styles .= 'font-family: '.str_replace('+', ' ', $eltd_options['portfolio_category_hover_box_list_font_family']).';';
}

if(isset($eltd_options['portfolio_category_hover_box_list_font_size']) && $eltd_options['portfolio_category_hover_box_list_font_size'] !== '') {
    $portfolio_category_hover_box_list_font_styles .= 'font-size: '.esc_attr($eltd_options['portfolio_category_hover_box_list_font_size']).'px;';
}

if(isset($eltd_options['portfolio_category_hover_box_list_line_height']) && $eltd_options['portfolio_category_hover_box_list_line_height'] !== '') {
    $portfolio_category_hover_box_list_font_styles .= 'line-height: '.esc_attr($eltd_options['portfolio_category_hover_box_list_line_height']).'px;';
}

if(isset($eltd_options['portfolio_category_hover_box_list_font_style']) && $eltd_options['portfolio_category_hover_box_list_font_style'] !== '') {
    $portfolio_category_hover_box_list_font_styles .= 'font-style: '.esc_attr($eltd_options['portfolio_category_hover_box_list_font_style']).';';
}

if(isset($eltd_options['portfolio_category_hover_box_list_font_weight']) && $eltd_options['portfolio_category_hover_box_list_font_weight'] !== '') {
    $portfolio_category_hover_box_list_font_styles .= 'font-weight: '.esc_attr($eltd_options['portfolio_category_hover_box_list_font_weight']).';';
}

if(isset($eltd_options['portfolio_category_hover_box_list_letter_spacing']) && $eltd_options['portfolio_category_hover_box_list_letter_spacing'] !== '') {
    $portfolio_category_hover_box_list_font_styles .= 'letter-spacing: '.esc_attr($eltd_options['portfolio_category_hover_box_list_letter_spacing']).'px;';
}

if(isset($eltd_options['portfolio_category_hover_box_list_text_transform']) && $eltd_options['portfolio_category_hover_box_list_text_transform'] !== '') {
    $portfolio_category_hover_box_list_font_styles .= 'text-transform: '.esc_attr($eltd_options['portfolio_category_hover_box_list_text_transform']).';';
}

if($portfolio_category_hover_box_list_font_styles !== '') {
    ?>
    .portfolio_main_holder.projects_holder.hover_text article .project_category,
    .portfolio_main_holder.projects_holder.hover_text.no_space article .project_category,
    .portfolio_main_holder.projects_holder article:hover .item_holder.image_subtle_rotate_zoom_hover .project_category,
    .portfolio_main_holder.projects_holder article:hover .item_holder.subtle_vertical_hover .project_category,
    .portfolio_main_holder.projects_holder article:hover .item_holder.slide_up_hover .project_category{
    <?php echo esc_attr($portfolio_category_hover_box_list_font_styles); ?>
    }
<?php
}
?>

<?php
//generate title on portfolio gallery and masonry lists styles
$portfolio_title_list_font_styles = '';
if(isset($eltd_options['portfolio_title_list_color']) && $eltd_options['portfolio_title_list_color'] !== '') {
    $portfolio_title_list_font_styles .= 'color: '.esc_attr($eltd_options['portfolio_title_list_color']).';';
}

if(isset($eltd_options['portfolio_title_list_font_family']) && $eltd_options['portfolio_title_list_font_family'] !== '-1') {
    $portfolio_title_list_font_styles .= 'font-family: '.str_replace('+', ' ', $eltd_options['portfolio_title_list_font_family']).';';
}

if(isset($eltd_options['portfolio_title_list_font_size']) && $eltd_options['portfolio_title_list_font_size'] !== '') {
    $portfolio_title_list_font_styles .= 'font-size: '.esc_attr($eltd_options['portfolio_title_list_font_size']).'px;';
}

if(isset($eltd_options['portfolio_title_list_line_height']) && $eltd_options['portfolio_title_list_line_height'] !== '') {
    $portfolio_title_list_font_styles .= 'line-height: '.esc_attr($eltd_options['portfolio_title_list_line_height']).'px;';
}

if(isset($eltd_options['portfolio_title_list_font_style']) && $eltd_options['portfolio_title_list_font_style'] !== '') {
    $portfolio_title_list_font_styles .= 'font-style: '.esc_attr($eltd_options['portfolio_title_list_font_style']).';';
}

if(isset($eltd_options['portfolio_title_list_font_weight']) && $eltd_options['portfolio_title_list_font_weight'] !== '') {
    $portfolio_title_list_font_styles .= 'font-weight: '.esc_attr($eltd_options['portfolio_title_list_font_weight']).';';
}

if(isset($eltd_options['portfolio_title_list_letter_spacing']) && $eltd_options['portfolio_title_list_letter_spacing'] !== '') {
    $portfolio_title_list_font_styles .= 'letter-spacing: '.esc_attr($eltd_options['portfolio_title_list_letter_spacing']).'px;';
}

if(isset($eltd_options['portfolio_title_list_text_transform']) && $eltd_options['portfolio_title_list_text_transform'] !== '') {
    $portfolio_title_list_font_styles .= 'text-transform: '.esc_attr($eltd_options['portfolio_title_list_text_transform']).';';
}

if($portfolio_title_list_font_styles !== '') {
    ?>
    .portfolio_main_holder.projects_masonry_holder article .item_holder .portfolio_title a,
    .portfolio_main_holder .portfolio_slides li.item .item_holder .portfolio_title a,
    .portfolio_main_holder .portfolio_slides li.item .portfolio_description .portfolio_title a,
    .portfolio_main_holder.projects_masonry_holder article .item_holder .portfolio_title,
    .portfolio_main_holder .portfolio_slides li.item .item_holder .portfolio_title,
    .portfolio_main_holder .portfolio_slides li.item .portfolio_description .portfolio_title{
    <?php echo esc_attr($portfolio_title_list_font_styles); ?>
    }
<?php
}
?>

<?php
$portfolio_title_list_hover_styles = '';
if(isset($eltd_options['portfolio_title_list_hover_color']) && $eltd_options['portfolio_title_list_hover_color'] !== '') {
    $portfolio_title_list_hover_styles .= 'color: '.$eltd_options['portfolio_title_list_hover_color'].';';
}

if($portfolio_title_list_hover_styles !== '') {
    ?>
    .portfolio_main_holder.portfolio_slider_holder li.item .item_holder .portfolio_title a:hover,
    .portfolio_main_holder.projects_masonry_holder article .item_holder .portfolio_title a:hover{
    <?php echo esc_attr($portfolio_title_list_hover_styles); ?>
    }
<?php
}
?>

<?php
//generate categories on portfolio gallery and masonry lists styles
$portfolio_category_list_font_styles = '';
if(isset($eltd_options['portfolio_category_list_color']) && $eltd_options['portfolio_category_list_color'] !== '') {
    $portfolio_category_list_font_styles .= 'color: '.esc_attr($eltd_options['portfolio_category_list_color']).';';
}

if(isset($eltd_options['portfolio_category_list_font_family']) && $eltd_options['portfolio_category_list_font_family'] !== '-1') {
    $portfolio_category_list_font_styles .= 'font-family: '.str_replace('+', ' ', $eltd_options['portfolio_category_list_font_family']).';';
}

if(isset($eltd_options['portfolio_category_list_font_size']) && $eltd_options['portfolio_category_list_font_size'] !== '') {
    $portfolio_category_list_font_styles .= 'font-size: '.esc_attr($eltd_options['portfolio_category_list_font_size']).'px;';
}

if(isset($eltd_options['portfolio_category_list_line_height']) && $eltd_options['portfolio_category_list_line_height'] !== '') {
    $portfolio_category_list_font_styles .= 'line-height: '.esc_attr($eltd_options['portfolio_category_list_line_height']).'px;';
}

if(isset($eltd_options['portfolio_category_list_font_style']) && $eltd_options['portfolio_category_list_font_style'] !== '') {
    $portfolio_category_list_font_styles .= 'font-style: '.esc_attr($eltd_options['portfolio_category_list_font_style']).';';
}

if(isset($eltd_options['portfolio_category_list_font_weight']) && $eltd_options['portfolio_category_list_font_weight'] !== '') {
    $portfolio_category_list_font_styles .= 'font-weight: '.esc_attr($eltd_options['portfolio_category_list_font_weight']).';';
}

if(isset($eltd_options['portfolio_category_list_letter_spacing']) && $eltd_options['portfolio_category_list_letter_spacing'] !== '') {
    $portfolio_category_list_font_styles .= 'letter-spacing: '.esc_attr($eltd_options['portfolio_category_list_letter_spacing']).'px;';
}

if(isset($eltd_options['portfolio_category_list_text_transform']) && $eltd_options['portfolio_category_list_text_transform'] !== '') {
    $portfolio_category_list_font_styles .= 'text-transform: '.esc_attr($eltd_options['portfolio_category_list_text_transform']).';';
}

if($portfolio_category_list_font_styles !== '') {
    ?>
    .portfolio_main_holder.projects_masonry_holder .item_holder .project_category,
    .portfolio_main_holder .portfolio_slides .item_holder .project_category,
    .portfolio_main_holder .portfolio_slides .portfolio_description .project_category,
    .portfolio_main_holder.projects_masonry_holder article:hover .item_holder .project_category,
    .portfolio_main_holder .portfolio_slider li.item:hover .item_holder .project_category,
    .portfolio_main_holder .portfolio_slider li.item:hover .portfolio_description .project_category{
    <?php echo esc_attr($portfolio_category_list_font_styles); ?>
    }
<?php
}
?>

<?php if ((isset($eltd_options['portfolio_list_icons_size']) && $eltd_options['portfolio_list_icons_size'] != '') || !empty($eltd_options['portfolio_list_icons_color']) || !empty($eltd_options['portfolio_list_icons_background_color']) || !empty($eltd_options['portfolio_list_icons_border_color']) || (isset($eltd_options['portfolio_list_icons_border_width']) && $eltd_options['portfolio_list_icons_border_width'] !== '') || (isset($eltd_options['portfolio_list_icons_border_radius']) && $eltd_options['portfolio_list_icons_border_radius'] !== '')) {
    $portfolio_list_icons_styles = '';

    if(isset($eltd_options['portfolio_list_icons_size']) && $eltd_options['portfolio_list_icons_size'] != '') {
        $portfolio_list_icons_styles .= 'font-size:' .esc_attr($eltd_options['portfolio_list_icons_size']).'px !important;';
        $portfolio_list_icons_styles .= 'height: 1.75em !important;';
        $portfolio_list_icons_styles .= 'line-height: 1.75em !important;';
    }

    if(!empty($eltd_options['portfolio_list_icons_color'])) {
        $portfolio_list_icons_styles .= 'color: '.esc_attr($eltd_options['portfolio_list_icons_color']).'!important;';
    }

    if(!empty($eltd_options['portfolio_list_icons_background_color'])) {
        $portfolio_list_icons_styles .= 'background-color: '.esc_attr($eltd_options['portfolio_list_icons_background_color']).'!important;';
    }

    if(!empty($eltd_options['portfolio_list_icons_border_color'])) {
        $portfolio_list_icons_styles .= 'border-color: '.esc_attr($eltd_options['portfolio_list_icons_border_color']).'!important;';
    }

    if(empty($eltd_options['portfolio_list_icons_border_color']) && !empty($eltd_options['portfolio_list_icons_border_hover_color'])) {
        if(!empty($eltd_options['portfolio_list_icons_background_color'])){
            $portfolio_list_icons_styles .= 'border-color: '.esc_attr($eltd_options['portfolio_list_icons_background_color']).'!important;';
        }
        else{
            $portfolio_list_icons_styles .= 'border-color: transparent !important;';
        }
    }

    if(isset($eltd_options['portfolio_list_icons_border_radius']) && $eltd_options['portfolio_list_icons_border_radius'] !== '') {
        $portfolio_list_icons_styles .= 'border-radius: '.esc_attr($eltd_options['portfolio_list_icons_border_radius']).'px!important;';
    }

    if(isset($eltd_options['portfolio_list_icons_border_width']) && $eltd_options['portfolio_list_icons_border_width'] !== '') {
        $portfolio_list_icons_styles .= 'border-width: '.esc_attr($eltd_options['portfolio_list_icons_border_width']).'px!important;';
        $portfolio_list_icons_styles .= 'border-style:solid !important;';

    }

    if($portfolio_list_icons_styles !== '') {
        ?>
        .portfolio_main_holder .item_holder:not(.roll_over) .icons_holder  a,
        .portfolio_main_holder .item_holder:not(.roll_over_entry_animation) .icons_holder a,
        .item_holder[class*='roll_over'] .icons_holder div[class$='holder'] a:last-child,
        .item_holder[class*='roll_over'] .icons_holder div[class$='holder']:hover a:last-child {
            <?php echo esc_attr($portfolio_list_icons_styles); ?>
        }
    <?php
    }
    ?>

    <?php if (isset($eltd_options['portfolio_list_icons_size']) && $eltd_options['portfolio_list_icons_size'] != '') { ?>
        .portfolio_main_holder .item_holder:not(.slide_from_left_hover) .icons_holder a{
        width: 1.75em !important;
        }
    <?php } ?>

<?php } ?>


<?php if (!empty($eltd_options['portfolio_list_icons_hover_color']) || !empty($eltd_options['portfolio_list_icons_background_hover_color']) || !empty($eltd_options['portfolio_list_icons_border_hover_color'])) {
    $portfolio_list_icons_hover_styles = '';
    if(!empty($eltd_options['portfolio_list_icons_hover_color'])) {
        $portfolio_list_icons_hover_styles .= 'color: '.$eltd_options['portfolio_list_icons_hover_color'].'!important;';
    }

    if(!empty($eltd_options['portfolio_list_icons_background_hover_color'])) {
        $portfolio_list_icons_hover_styles .= 'background-color: '.$eltd_options['portfolio_list_icons_background_hover_color'].'!important;';
    }

    if(!empty($eltd_options['portfolio_list_icons_border_hover_color'])) {
        $portfolio_list_icons_hover_styles .= 'border-color: '.$eltd_options['portfolio_list_icons_border_hover_color'].'!important;';
    }

    if($portfolio_list_icons_hover_styles !== '') {
        ?>
        .portfolio_main_holder .item_holder:not(.roll_over) .icons_holder a:hover,
        .portfolio_main_holder .item_holder:not(.roll_over_entry_animation) .icons_holder a:hover,
        .item_holder[class*='roll_over'] .icons_holder div[class$='holder'] a:first-child,
        .item_holder[class*='roll_over'] .icons_holder div[class$='holder']:hover a:first-child {
            <?php echo esc_attr($portfolio_list_icons_hover_styles); ?>
        }

    <?php
    }
    ?>
<?php } ?>

<?php  if (isset($eltd_options['portfolio_masonry_with_padding_width']) && $eltd_options['portfolio_masonry_with_padding_width'] !== '') {
    $portfolio_masonry_styles = '';
    $portfolio_masonry_holder_styles = '';
    if (isset($eltd_options['portfolio_masonry_with_padding_width']) && $eltd_options['portfolio_masonry_with_padding_width'] !== '') {
        $portfolio_masonry_styles .= 'padding: '.$eltd_options['portfolio_masonry_with_padding_width'].'px;';
        $portfolio_masonry_holder_styles .= 'margin: 0 -'.$eltd_options['portfolio_masonry_with_padding_width'].'px;';
    }

    if($portfolio_masonry_styles !== '') {
        ?>
        .projects_masonry_holder.masonry_with_padding .portfolio_masonry_item{
        <?php echo esc_attr($portfolio_masonry_styles); ?>
        }
    <?php
    }

    if($portfolio_masonry_holder_styles !== '') {
        ?>
        .projects_masonry_holder.masonry_with_padding{
        <?php echo esc_attr($portfolio_masonry_holder_styles); ?>
        }
    <?php
    }
    ?>


<?php } ?>

<?php
$pinterest_padding_style = array();
$pinterst_holder_style = array(); // negative margins for holder around pinterest

if ((isset($eltd_options['pinterest_padding_top']) && $eltd_options['pinterest_padding_top'] !== '')) {
    $pinterest_padding_style[] = 'padding-top: '.$eltd_options['pinterest_padding_top'].'px';
}
if ((isset($eltd_options['pinterest_padding_bottom']) && $eltd_options['pinterest_padding_bottom'] !== '')) {
    $pinterest_padding_style[] = 'padding-bottom: '.$eltd_options['pinterest_padding_bottom'].'px';
}
if ((isset($eltd_options['pinterest_padding_left']) && $eltd_options['pinterest_padding_left'] !== '')) {
    $pinterest_padding_style[] = 'padding-left: '.$eltd_options['pinterest_padding_left'].'px';
    $pinterst_holder_style[] = 'margin-left: -'.$eltd_options['pinterest_padding_left'].'px';
}
if ((isset($eltd_options['pinterest_padding_right']) && $eltd_options['pinterest_padding_right'] !== '')) {
    $pinterest_padding_style[] = 'padding-right: '.$eltd_options['pinterest_padding_right'].'px';
    $pinterst_holder_style[] = 'margin-right: -'.$eltd_options['pinterest_padding_right'].'px';
}

if(is_array($pinterest_padding_style) && count($pinterest_padding_style)) { ?>
    .masonry_with_space .projects_holder .mix{
    <?php echo esc_attr(implode(';', $pinterest_padding_style)); ?>
    }
<?php } ?>

<?php
if(is_array($pinterst_holder_style) && count($pinterst_holder_style)) { ?>
    .masonry_with_space .projects_holder{
    <?php echo esc_attr(implode(';', $pinterst_holder_style)); ?>
    }
<?php } ?>


<?php  if (!empty($eltd_options['thin_plus_only_style_color']) || (isset($eltd_options['thin_plus_only_style_size']) && $eltd_options['thin_plus_only_style_size'] !== '') || (isset($eltd_options['thin_plus_only_style_weight']) && $eltd_options['thin_plus_only_style_weight'] !== '')) {
    $thin_plus_only_style_color_styles = '';
    if(!empty($eltd_options['thin_plus_only_style_color'])) {
        $thin_plus_only_style_color_styles .= 'color: '.$eltd_options['thin_plus_only_style_color'].';';
    }

    if(isset($eltd_options['thin_plus_only_style_size']) && $eltd_options['thin_plus_only_style_size'] !== '') {
        $thin_plus_only_style_color_styles .= 'font-size: '.$eltd_options['thin_plus_only_style_size'].'px;';
    }

    if(isset($eltd_options['thin_plus_only_style_weight']) && $eltd_options['thin_plus_only_style_weight'] !== '') {
        $thin_plus_only_style_color_styles .= 'font-weight: '.$eltd_options['thin_plus_only_style_weight'].';';
    }

    if($thin_plus_only_style_color_styles !== '') {
        ?>
        .portfolio_main_holder .item_holder.thin_plus_only .thin_plus_only_icon{
        <?php echo esc_attr($thin_plus_only_style_color_styles); ?>
        }
    <?php
    }
    ?>
<?php } ?>

<?php if (isset($eltd_options['portfolio_list_icons_pack'])) {
    if($eltd_options['portfolio_list_icons_pack'] == 'font-elegant'){ ?>
        .projects_holder article .icons_holder a.portfolio_lightbox:before,
        .projects_masonry_holder article .icons_holder a.portfolio_lightbox:before,
        .portfolio_slides .icons_holder a.portfolio_lightbox:before{
            content: "\30";
            font-family: 'ElegantIcons';
            margin-left:-1px;
        }

        .projects_holder article .icons_holder a.eltd-like:before,
        .projects_masonry_holder article .icons_holder a.eltd-like:before,
        .portfolio_slides .icons_holder a.eltd-like:before{
            content: "\e030";
            font-family: 'ElegantIcons';
        }

        .projects_holder article .icons_holder a.eltd-like.liked:before,
        .projects_masonry_holder article .icons_holder a.eltd-like.liked:before,
        .portfolio_slides .icons_holder a.eltd-like.liked:before{
            content: "\e089";
            font-family: 'ElegantIcons';
        }

        .projects_holder article .icons_holder a.preview:before,
        .projects_masonry_holder article .icons_holder a.preview:before,
        .portfolio_slides .icons_holder a.preview:before {
            content: "\4c";
            font-family: 'ElegantIcons';
        }

    <?php }

    if($eltd_options['portfolio_list_icons_pack'] == 'font-awesome'){ ?>
        .projects_holder article .icons_holder a.portfolio_lightbox:before,
        .projects_masonry_holder article .icons_holder a.portfolio_lightbox:before,
        .portfolio_slides .icons_holder a.portfolio_lightbox:before{
            font-family: 'FontAwesome';
            content: "\f065";
            line-height: inherit;
        }

        .projects_holder article .icons_holder a.eltd-like:before,
        .projects_masonry_holder article .icons_holder a.eltd-like:before,
        .portfolio_slides .icons_holder a.eltd-like:before{
            font-family: 'FontAwesome';
            content: "\f08a";
            line-height: inherit;
        }

        .projects_holder article .icons_holder a.eltd-like.liked:before,
        .projects_masonry_holder article .icons_holder a.eltd-like.liked:before,
        .portfolio_slides .icons_holder a.eltd-like.liked:before{
            font-family: "FontAwesome";
            content: "\f004";
            line-height: inherit;
        }


        .projects_holder article .icons_holder a.preview:before,
        .projects_masonry_holder article .icons_holder a.preview:before,
        .portfolio_slides .icons_holder a.preview:before {
            content: "\f067";
            font-family: "FontAwesome";
            line-height: inherit;
        }

    <?php }
} ?>

<?php

$expandable_section_style       = array();
$expandable_label_style         = array();
$expandable_label_hover_style   = array();

if(isset($eltd_options['expandable_background_color']) && $eltd_options['expandable_background_color'] !== '') {
    $expandable_section_style[] = 'background-color: '.$eltd_options['expandable_background_color'];
}

if(isset($eltd_options['expandable_label_color']) && $eltd_options['expandable_label_color'] !== '') {
    $expandable_label_style[] = 'color: '.$eltd_options['expandable_label_color'];
}

if(isset($eltd_options['expandable_label_font_family']) && $eltd_options['expandable_label_font_family'] !== '-1') {
    $expandable_label_style[] = 'font-family: '.str_replace('+', ' ', $eltd_options['expandable_label_font_family']).', sans-serif';
}

if(isset($eltd_options['expandable_label_font_size']) && $eltd_options['expandable_label_font_size'] !== '') {
    $expandable_label_style[] = 'font-size: '.$eltd_options['expandable_label_font_size'].'px';
}

if(isset($eltd_options['expandable_label_letter_spacing']) && $eltd_options['expandable_label_letter_spacing'] !== '') {
    $expandable_label_style[] = 'letter-spacing: '.$eltd_options['expandable_label_letter_spacing'].'px';
}

if(isset($eltd_options['expandable_label_font_weight']) && $eltd_options['expandable_label_font_weight'] !== '') {
    $expandable_label_style[] = 'font-weight: '.$eltd_options['expandable_label_font_weight'];
}

if(isset($eltd_options['expandable_label_text_transform']) && $eltd_options['expandable_label_text_transform'] !== '') {
    $expandable_label_style[] = 'text-transform: '.$eltd_options['expandable_label_text_transform'];
}

if(isset($eltd_options['expandable_label_hover_color']) && $eltd_options['expandable_label_hover_color'] !== '') {
    $expandable_label_hover_style[] = 'color: '.$eltd_options['expandable_label_hover_color'];
}

if(is_array($expandable_section_style) && count($expandable_section_style)) { ?>
    .more_facts_holder {
    <?php echo esc_attr(implode(';', $expandable_section_style)); ?>
    }

<?php }

if(is_array($expandable_label_style) && count($expandable_label_style)) { ?>
    .more_facts_button{
    <?php echo esc_attr(implode(';', $expandable_label_style)); ?>
    }
<?php }

if(is_array($expandable_label_hover_style) && count($expandable_label_hover_style)) { ?>
    .more_facts_button:hover {
    <?php echo esc_attr(implode(';', $expandable_label_hover_style)); ?>
    }
<?php } ?>

<?php
//Contact Form 7 Custom Styles - start
if(eltd_contact_form_7_installed()){


$cf7_custom_style_1_elements_styles = '';
$cf7_custom_style_1_color_placeholder = '';
$cf7_custom_style_1_for_animation_style = '';
$cf7_custom_style_1_for_animation_holder_style = '';
if(isset($eltd_options['cf7_custom_style_1_element_background_color']) && $eltd_options['cf7_custom_style_1_element_background_color'] !== '') {
    if(isset($eltd_options['cf7_custom_style_1_element_background_transparency']) && $eltd_options['cf7_custom_style_1_element_background_transparency'] !== ''){
        $cf7_custom_style_1_element_background_color = eltd_hex2rgb($eltd_options['cf7_custom_style_1_element_background_color']);
        $cf7_custom_style_1_elements_styles .= 'background-color: rgba('. esc_attr($cf7_custom_style_1_element_background_color[0]) . ',' . esc_attr($cf7_custom_style_1_element_background_color[1]) . ',' . esc_attr($cf7_custom_style_1_element_background_color[2]) . ',' . esc_attr($eltd_options['cf7_custom_style_1_element_background_transparency']) .');';
    } else {
        $cf7_custom_style_1_elements_styles .= 'background-color: '.esc_attr($eltd_options['cf7_custom_style_1_element_background_color']).';';
    }
}

if(isset($eltd_options['cf7_custom_style_1_element_border_color']) && $eltd_options['cf7_custom_style_1_element_border_color'] !== '') {
    if(isset($eltd_options['cf7_custom_style_1_border_transparency']) && $eltd_options['cf7_custom_style_1_border_transparency'] !== ''){
        $cf7_custom_style_1_element_border_color = eltd_hex2rgb($eltd_options['cf7_custom_style_1_element_border_color']);
        $cf7_custom_style_1_elements_styles .= 'border-color: rgba('. esc_attr($cf7_custom_style_1_element_border_color[0]) . ',' . esc_attr($cf7_custom_style_1_element_border_color[1]) . ',' . esc_attr($cf7_custom_style_1_element_border_color[2]) . ',' . esc_attr($eltd_options['cf7_custom_style_1_border_transparency']) .');';
    } else {
        $cf7_custom_style_1_elements_styles .= 'border-color: '.esc_attr($eltd_options['cf7_custom_style_1_element_border_color']).';';
    }
}

if(isset($eltd_options['cf7_custom_style_1_element_border_width']) && $eltd_options['cf7_custom_style_1_element_border_width'] !== '') {
    $cf7_custom_style_1_elements_styles .= 'border-width: '.esc_attr($eltd_options['cf7_custom_style_1_element_border_width']).'px;';
    $cf7_custom_style_1_elements_styles .= 'border-style:solid;';
    $cf7_custom_style_1_elements_styles .= 'transform: translateZ(0);';
}

if(isset($eltd_options['cf7_custom_style_1_element_border_radius']) && $eltd_options['cf7_custom_style_1_element_border_radius'] !== '') {
    $cf7_custom_style_1_elements_styles .= 'border-radius: '.esc_attr($eltd_options['cf7_custom_style_1_element_border_radius']).'px;';
}

if(isset($eltd_options['cf7_custom_style_1_element_border_bottom']) && $eltd_options['cf7_custom_style_1_element_border_bottom'] == 'yes') {
    $cf7_custom_style_1_elements_styles .= 'border-left: none; border-right:none; border-top: none;';
}

if(isset($eltd_options['cf7_custom_style_1_element_font_color']) && $eltd_options['cf7_custom_style_1_element_font_color'] !== '') {
    $cf7_custom_style_1_elements_styles .= 'color: '.esc_attr($eltd_options['cf7_custom_style_1_element_font_color']).';';
	$cf7_custom_style_1_for_animation_style .= 'color: '.esc_attr($eltd_options['cf7_custom_style_1_element_font_color']).';';
    $cf7_custom_style_1_color_placeholder .= 'color: '.esc_attr($eltd_options['cf7_custom_style_1_element_font_color']).';';
    $cf7_custom_style_1_color_placeholder .= 'opacity:1;';
}

if(isset($eltd_options['cf7_custom_style_1_element_font_family']) && $eltd_options['cf7_custom_style_1_element_font_family'] !== '-1') {
    $cf7_custom_style_1_elements_styles .= 'font-family: '.str_replace('+', ' ', $eltd_options['cf7_custom_style_1_element_font_family']).';';
	$cf7_custom_style_1_for_animation_style .= 'font-family: '.str_replace('+', ' ', $eltd_options['cf7_custom_style_1_element_font_family']).';';
}

if(isset($eltd_options['cf7_custom_style_1_element_font_size']) && $eltd_options['cf7_custom_style_1_element_font_size'] !== '') {
    $cf7_custom_style_1_elements_styles .= 'font-size: '.esc_attr($eltd_options['cf7_custom_style_1_element_font_size']).'px;';
	$cf7_custom_style_1_for_animation_style .= 'font-size: '.esc_attr($eltd_options['cf7_custom_style_1_element_font_size']).'px;';
}
if(isset($eltd_options['cf7_custom_style_1_element_line_height']) && $eltd_options['cf7_custom_style_1_element_line_height'] !== '') {
    $cf7_custom_style_1_elements_styles .= 'line-height: '.esc_attr($eltd_options['cf7_custom_style_1_element_line_height']).'px;';
	$cf7_custom_style_1_for_animation_style .= 'line-height: '.esc_attr($eltd_options['cf7_custom_style_1_element_line_height']).'px;';
}
if(isset($eltd_options['cf7_custom_style_1_element_font_style']) && $eltd_options['cf7_custom_style_1_element_font_style'] !== '') {
    $cf7_custom_style_1_elements_styles .= 'font-style: '.esc_attr($eltd_options['cf7_custom_style_1_element_font_style']).';';
	$cf7_custom_style_1_for_animation_style .= 'font-style: '.esc_attr($eltd_options['cf7_custom_style_1_element_font_style']).';';
}

if(isset($eltd_options['cf7_custom_style_1_element_font_weight']) && $eltd_options['cf7_custom_style_1_element_font_weight'] !== '') {
    $cf7_custom_style_1_elements_styles .= 'font-weight: '.esc_attr($eltd_options['cf7_custom_style_1_element_font_weight']).';';
	$cf7_custom_style_1_for_animation_style .= 'font-weight: '.esc_attr($eltd_options['cf7_custom_style_1_element_font_weight']).';';
}

if(isset($eltd_options['cf7_custom_style_1_element_letter_spacing']) && $eltd_options['cf7_custom_style_1_element_letter_spacing'] !== '') {
    $cf7_custom_style_1_elements_styles .= 'letter-spacing: '.esc_attr($eltd_options['cf7_custom_style_1_element_letter_spacing']).'px;';
	$cf7_custom_style_1_for_animation_style .= 'letter-spacing: '.esc_attr($eltd_options['cf7_custom_style_1_element_letter_spacing']).'px;';
}

if(isset($eltd_options['cf7_custom_style_1_element_text_transform']) && $eltd_options['cf7_custom_style_1_element_text_transform'] !== '') {
    $cf7_custom_style_1_elements_styles .= 'text-transform: '.esc_attr($eltd_options['cf7_custom_style_1_element_text_transform']).';';
	$cf7_custom_style_1_for_animation_style .= 'text-transform: '.esc_attr($eltd_options['cf7_custom_style_1_element_text_transform']).';';
}

if(isset($eltd_options['cf7_custom_style_1_element_padding_top']) && $eltd_options['cf7_custom_style_1_element_padding_top'] !== '') {
    $cf7_custom_style_1_elements_styles .= 'padding-top: '.esc_attr($eltd_options['cf7_custom_style_1_element_padding_top']).'px;';
}

if(isset($eltd_options['cf7_custom_style_1_element_padding_right']) && $eltd_options['cf7_custom_style_1_element_padding_right'] !== '') {
    $cf7_custom_style_1_elements_styles .= 'padding-right: '.esc_attr($eltd_options['cf7_custom_style_1_element_padding_right']).'px;';
}
if(isset($eltd_options['cf7_custom_style_1_element_padding_bottom']) && $eltd_options['cf7_custom_style_1_element_padding_bottom'] !== '') {
    $cf7_custom_style_1_elements_styles .= 'padding-bottom: '.esc_attr($eltd_options['cf7_custom_style_1_element_padding_bottom']).'px;';
}
if(isset($eltd_options['cf7_custom_style_1_element_padding_left']) && $eltd_options['cf7_custom_style_1_element_padding_left'] !== '') {
    $cf7_custom_style_1_elements_styles .= 'padding-left: '.esc_attr($eltd_options['cf7_custom_style_1_element_padding_left']).'px;';
}
if(isset($eltd_options['cf7_custom_style_1_element_margin_top']) && $eltd_options['cf7_custom_style_1_element_margin_top'] !== '') {
    $cf7_custom_style_1_elements_styles .= 'margin-top: '.esc_attr($eltd_options['cf7_custom_style_1_element_margin_top']).'px;';
	$cf7_custom_style_1_for_animation_holder_style .= 'margin-top: '.esc_attr($eltd_options['cf7_custom_style_1_element_margin_top']).'px;';
}
if(isset($eltd_options['cf7_custom_style_1_element_margin_bottom']) && $eltd_options['cf7_custom_style_1_element_margin_bottom'] !== '') {
    $cf7_custom_style_1_elements_styles .= 'margin-bottom: '.esc_attr($eltd_options['cf7_custom_style_1_element_margin_bottom']).'px;';
	$cf7_custom_style_1_for_animation_holder_style .= 'margin-bottom: '.esc_attr($eltd_options['cf7_custom_style_1_element_margin_bottom']).'px;';
    ?>.cf7_custom_style_1 span.wpcf7-not-valid-tip{
        top: -<?php echo esc_attr($eltd_options['cf7_custom_style_1_element_margin_bottom']).'px;'; ?>;
    }<?php
}

$cf7_custom_style_1_elements_focus_styles = '';
$cf7_custom_style_1_focus_color_placeholder = '';
$cf7_custom_style_2_for_animation_style = '';

if(isset($eltd_options['cf7_custom_style_1_element_font_focus_color']) && $eltd_options['cf7_custom_style_1_element_font_focus_color'] !== '') {
    $cf7_custom_style_1_elements_focus_styles .= 'color: '.esc_attr($eltd_options['cf7_custom_style_1_element_font_focus_color']).';';
	$cf7_custom_style_1_focus_color_placeholder .= 'color: '.esc_attr($eltd_options['cf7_custom_style_1_element_font_focus_color']).' !important;';
}

if(isset($eltd_options['cf7_custom_style_1_element_focus_background_color']) && $eltd_options['cf7_custom_style_1_element_focus_background_color'] !== '') {
    if(isset($eltd_options['cf7_custom_style_1_element_focus_background_transparency']) && $eltd_options['cf7_custom_style_1_element_focus_background_transparency'] !== ''){
        $cf7_custom_style_1_element_focus_background_color = eltd_hex2rgb($eltd_options['cf7_custom_style_1_element_focus_background_color']);
        $cf7_custom_style_1_elements_focus_styles .= 'background-color: rgba('. esc_attr($cf7_custom_style_1_element_focus_background_color[0]) . ',' . esc_attr($cf7_custom_style_1_element_focus_background_color[1]) . ',' . esc_attr($cf7_custom_style_1_element_focus_background_color[2]) . ',' . esc_attr($eltd_options['cf7_custom_style_1_element_focus_background_transparency']) .');';
    } else {
        $cf7_custom_style_1_elements_focus_styles .= 'background-color: '.esc_attr($eltd_options['cf7_custom_style_1_element_focus_background_color']).';';
    }
}

if(isset($eltd_options['cf7_custom_style_1_element_focus_border_color']) && $eltd_options['cf7_custom_style_1_element_focus_border_color'] !== '') {
    if(isset($eltd_options['cf7_custom_style_1_focus_border_transparency']) && $eltd_options['cf7_custom_style_1_focus_border_transparency'] !== ''){
        $cf7_custom_style_1_element_focus_border_color = eltd_hex2rgb($eltd_options['cf7_custom_style_1_element_focus_border_color']);
        $cf7_custom_style_1_elements_focus_styles .= 'border-color: rgba('. esc_attr($cf7_custom_style_1_element_focus_border_color[0]) . ',' . esc_attr($cf7_custom_style_1_element_focus_border_color[1]) . ',' . esc_attr($cf7_custom_style_1_element_focus_border_color[2]) . ',' . esc_attr($eltd_options['cf7_custom_style_1_focus_border_transparency']) .');';

    } else {
        $cf7_custom_style_1_elements_focus_styles .= 'border-color: '.esc_attr($eltd_options['cf7_custom_style_1_element_focus_border_color']).';';
    }
}


$cf7_custom_style_1_button_styles = '';
if(isset($eltd_options['cf7_custom_style_1_button_background_color']) && $eltd_options['cf7_custom_style_1_button_background_color'] !== '') {
    if(isset($eltd_options['cf7_custom_style_1_button_background_transparency']) && $eltd_options['cf7_custom_style_1_button_background_transparency'] !== ''){
        $cf7_custom_style_1_button_background_color = eltd_hex2rgb($eltd_options['cf7_custom_style_1_button_background_color']);
        $cf7_custom_style_1_button_styles .= 'background-color: rgba('. esc_attr($cf7_custom_style_1_button_background_color[0]) . ',' . esc_attr($cf7_custom_style_1_button_background_color[1]) . ',' . esc_attr($cf7_custom_style_1_button_background_color[2]) . ',' . esc_attr($eltd_options['cf7_custom_style_1_button_background_transparency']) .');';
    } else {
        $cf7_custom_style_1_button_styles .= 'background-color: '.esc_attr($eltd_options['cf7_custom_style_1_button_background_color']).';';
    }
}

if(isset($eltd_options['cf7_custom_style_1_button_border_color']) && $eltd_options['cf7_custom_style_1_button_border_color'] !== '') {
    if(isset($eltd_options['cf7_custom_style_1_button_border_transparency']) && $eltd_options['cf7_custom_style_1_button_border_transparency'] !== ''){
        $cf7_custom_style_1_button_border_color = eltd_hex2rgb($eltd_options['cf7_custom_style_1_button_border_color']);
        $cf7_custom_style_1_button_styles .= 'border-color: rgba('. esc_attr($cf7_custom_style_1_button_border_color[0]) . ',' . esc_attr($cf7_custom_style_1_button_border_color[1]) . ',' . esc_attr($cf7_custom_style_1_button_border_color[2]) . ',' . esc_attr($eltd_options['cf7_custom_style_1_button_border_transparency']) .');';

    } else {
        $cf7_custom_style_1_button_styles .= 'border-color: '.esc_attr($eltd_options['cf7_custom_style_1_button_border_color']).';';
    }
}

if(isset($eltd_options['cf7_custom_style_1_button_border_width']) && $eltd_options['cf7_custom_style_1_button_border_width'] !== '') {
    $cf7_custom_style_1_button_styles .= 'border-width: '.esc_attr($eltd_options['cf7_custom_style_1_button_border_width']).'px;';
}

if(isset($eltd_options['cf7_custom_style_1_button_border_radius']) && $eltd_options['cf7_custom_style_1_button_border_radius'] !== '') {
    $cf7_custom_style_1_button_styles .= 'border-radius: '.esc_attr($eltd_options['cf7_custom_style_1_button_border_radius']).'px;';
}

if(isset($eltd_options['cf7_custom_style_1_button_font_color']) && $eltd_options['cf7_custom_style_1_button_font_color'] !== '') {
    $cf7_custom_style_1_button_styles .= 'color: '.esc_attr($eltd_options['cf7_custom_style_1_button_font_color']).';';
}

if(isset($eltd_options['cf7_custom_style_1_button_font_family']) && $eltd_options['cf7_custom_style_1_button_font_family'] !== '-1') {
    $cf7_custom_style_1_button_styles .= 'font-family: '.str_replace('+', ' ', $eltd_options['cf7_custom_style_1_button_font_family']).';';
}

if(isset($eltd_options['cf7_custom_style_1_button_font_size']) && $eltd_options['cf7_custom_style_1_button_font_size'] !== '') {
    $cf7_custom_style_1_button_styles .= 'font-size: '.esc_attr($eltd_options['cf7_custom_style_1_button_font_size']).'px;';
}

if(isset($eltd_options['cf7_custom_style_1_button_font_style']) && $eltd_options['cf7_custom_style_1_button_font_style'] !== '') {
    $cf7_custom_style_1_button_styles .= 'font-style: '.esc_attr($eltd_options['cf7_custom_style_1_button_font_style']).';';
}

if(isset($eltd_options['cf7_custom_style_1_button_font_weight']) && $eltd_options['cf7_custom_style_1_button_font_weight'] !== '') {
    $cf7_custom_style_1_button_styles .= 'font-weight: '.esc_attr($eltd_options['cf7_custom_style_1_button_font_weight']).';';
}

if(isset($eltd_options['cf7_custom_style_1_button_letter_spacing']) && $eltd_options['cf7_custom_style_1_button_letter_spacing'] !== '') {
    $cf7_custom_style_1_button_styles .= 'letter-spacing: '.esc_attr($eltd_options['cf7_custom_style_1_button_letter_spacing']).'px;';
}

if(isset($eltd_options['cf7_custom_style_1_button_text_transform']) && $eltd_options['cf7_custom_style_1_button_text_transform'] !== '') {
    $cf7_custom_style_1_button_styles .= 'text-transform: '.esc_attr($eltd_options['cf7_custom_style_1_button_text_transform']).';';
}

if(isset($eltd_options['cf7_custom_style_1_button_height']) && $eltd_options['cf7_custom_style_1_button_height'] !== '') {
    $cf7_custom_style_1_button_styles .= 'height: '.esc_attr($eltd_options['cf7_custom_style_1_button_height']).'px;';
    $cf7_custom_style_1_button_styles .= 'line-height: '.esc_attr($eltd_options['cf7_custom_style_1_button_height']).'px;';
}

if(isset($eltd_options['cf7_custom_style_1_button_padding']) && $eltd_options['cf7_custom_style_1_button_padding'] !== '') {
    $cf7_custom_style_1_button_styles .= 'padding-left: '.esc_attr($eltd_options['cf7_custom_style_1_button_padding']).'px;';
    $cf7_custom_style_1_button_styles .= 'padding-right: '.esc_attr($eltd_options['cf7_custom_style_1_button_padding']).'px;';
}

$cf7_custom_style_1_button_hover_styles = '';

if(isset($eltd_options['cf7_custom_style_1_button_font_hover_color']) && $eltd_options['cf7_custom_style_1_button_font_hover_color'] !== '') {
    $cf7_custom_style_1_button_hover_styles .= 'color: '.esc_attr($eltd_options['cf7_custom_style_1_button_font_hover_color']).';';
}

if(isset($eltd_options['cf7_custom_style_1_button_hover_background_color']) && $eltd_options['cf7_custom_style_1_button_hover_background_color'] !== '') {
    if(isset($eltd_options['cf7_custom_style_1_button_hover_background_transparency']) && $eltd_options['cf7_custom_style_1_button_hover_background_transparency'] !== ''){
        $cf7_custom_style_1_button_hover_background_color = eltd_hex2rgb($eltd_options['cf7_custom_style_1_button_hover_background_color']);
        $cf7_custom_style_1_button_hover_styles .= 'background-color: rgba('. esc_attr($cf7_custom_style_1_button_hover_background_color[0]) . ',' . esc_attr($cf7_custom_style_1_button_hover_background_color[1]) . ',' . esc_attr($cf7_custom_style_1_button_hover_background_color[2]) . ',' . esc_attr($eltd_options['cf7_custom_style_1_button_hover_background_transparency']) .');';
    } else {
        $cf7_custom_style_1_button_hover_styles .= 'background-color: '.esc_attr($eltd_options['cf7_custom_style_1_button_hover_background_color']).';';
    }
}

if(isset($eltd_options['cf7_custom_style_1_button_hover_border_color']) && $eltd_options['cf7_custom_style_1_button_hover_border_color'] !== '') {
    if(isset($eltd_options['cf7_custom_style_1_button_hover_border_transparency']) && $eltd_options['cf7_custom_style_1_button_hover_border_transparency'] !== ''){
        $cf7_custom_style_1_button_hover_border_color = eltd_hex2rgb($eltd_options['cf7_custom_style_1_button_hover_border_color']);
        $cf7_custom_style_1_button_hover_styles .= 'border-color: rgba('. esc_attr($cf7_custom_style_1_button_hover_border_color[0]) . ',' . esc_attr($cf7_custom_style_1_button_hover_border_color[1]) . ',' . esc_attr($cf7_custom_style_1_button_hover_border_color[2]) . ',' . esc_attr($eltd_options['cf7_custom_style_1_button_hover_border_transparency']) .');';

    } else {
        $cf7_custom_style_1_button_hover_styles .= 'border-color: '.esc_attr($eltd_options['cf7_custom_style_1_button_hover_border_color']).';';
    }
}

$cf7_custom_style_1_labels_styles = "";

if(isset($eltd_options['cf7_custom_style_1_label_font_color']) && $eltd_options['cf7_custom_style_1_label_font_color'] !== '') {
    $cf7_custom_style_1_labels_styles .= 'color: '.$eltd_options['cf7_custom_style_1_label_font_color'].';';
}

if(isset($eltd_options['cf7_custom_style_1_label_font_family']) && $eltd_options['cf7_custom_style_1_label_font_family'] !== '-1') {
    $cf7_custom_style_1_labels_styles .= 'font-family: '.str_replace('+', ' ', $eltd_options['cf7_custom_style_1_label_font_family']).';';
}

if(isset($eltd_options['cf7_custom_style_1_label_font_size']) && $eltd_options['cf7_custom_style_1_label_font_size'] !== '') {
    $cf7_custom_style_1_labels_styles .= 'font-size: '.$eltd_options['cf7_custom_style_1_label_font_size'].'px;';
}
if(isset($eltd_options['cf7_custom_style_1_label_line_height']) && $eltd_options['cf7_custom_style_1_label_line_height'] !== '') {
    $cf7_custom_style_1_labels_styles .= 'line-height: '.$eltd_options['cf7_custom_style_1_label_line_height'].'px;';
}
if(isset($eltd_options['cf7_custom_style_1_label_font_style']) && $eltd_options['cf7_custom_style_1_label_font_style'] !== '') {
    $cf7_custom_style_1_labels_styles .= 'font-style: '.$eltd_options['cf7_custom_style_1_label_font_style'].';';
}

if(isset($eltd_options['cf7_custom_style_1_label_font_weight']) && $eltd_options['cf7_custom_style_1_label_font_weight'] !== '') {
    $cf7_custom_style_1_labels_styles .= 'font-weight: '.$eltd_options['cf7_custom_style_1_label_font_weight'].';';
}

if(isset($eltd_options['cf7_custom_style_1_label_letter_spacing']) && $eltd_options['cf7_custom_style_1_label_letter_spacing'] !== '') {
    $cf7_custom_style_1_labels_styles .= 'letter-spacing: '.$eltd_options['cf7_custom_style_1_label_letter_spacing'].'px;';
}

if(isset($eltd_options['cf7_custom_style_1_label_text_transform']) && $eltd_options['cf7_custom_style_1_label_text_transform'] !== '') {
    $cf7_custom_style_1_labels_styles .= 'text-transform: '.$eltd_options['cf7_custom_style_1_label_text_transform'].';';
}


$cf7_custom_style_2_elements_styles = '';
$cf7_custom_style_2_color_placeholder = '';
$cf7_custom_style_2_for_animation_style = '';
$cf7_custom_style_2_for_animation_holder_style = '';
if(isset($eltd_options['cf7_custom_style_2_element_background_color']) && $eltd_options['cf7_custom_style_2_element_background_color'] !== '') {
    if(isset($eltd_options['cf7_custom_style_2_element_background_transparency']) && $eltd_options['cf7_custom_style_2_element_background_transparency'] !== ''){
        $cf7_custom_style_2_element_background_color = eltd_hex2rgb($eltd_options['cf7_custom_style_2_element_background_color']);
        $cf7_custom_style_2_elements_styles .= 'background-color: rgba('. esc_attr($cf7_custom_style_2_element_background_color[0]) . ',' . esc_attr($cf7_custom_style_2_element_background_color[1]) . ',' . esc_attr($cf7_custom_style_2_element_background_color[2]) . ',' . esc_attr($eltd_options['cf7_custom_style_2_element_background_transparency']) .');';
    } else {
        $cf7_custom_style_2_elements_styles .= 'background-color: '.esc_attr($eltd_options['cf7_custom_style_2_element_background_color']).';';
    }
}

if(isset($eltd_options['cf7_custom_style_2_element_border_color']) && $eltd_options['cf7_custom_style_2_element_border_color'] !== '') {
    if(isset($eltd_options['cf7_custom_style_2_border_transparency']) && $eltd_options['cf7_custom_style_2_border_transparency'] !== ''){
        $cf7_custom_style_2_element_border_color = eltd_hex2rgb($eltd_options['cf7_custom_style_2_element_border_color']);
        $cf7_custom_style_2_elements_styles .= 'border-color: rgba('. $cf7_custom_style_2_element_border_color[0] . ',' . esc_attr($cf7_custom_style_2_element_border_color[1]) . ',' . esc_attr($cf7_custom_style_2_element_border_color[2]) . ',' . esc_attr($eltd_options['cf7_custom_style_2_border_transparency']) .');';

    } else {
        $cf7_custom_style_2_elements_styles .= 'border-color: '.esc_attr($eltd_options['cf7_custom_style_2_element_border_color']).';';
    }
}

if(isset($eltd_options['cf7_custom_style_2_element_border_width']) && $eltd_options['cf7_custom_style_2_element_border_width'] !== '') {
    $cf7_custom_style_2_elements_styles .= 'border-width: '.esc_attr($eltd_options['cf7_custom_style_2_element_border_width']).'px;';
    $cf7_custom_style_2_elements_styles .= 'border-style:solid;';
	$cf7_custom_style_2_elements_styles .= 'transform: translateZ(0);';
}

if(isset($eltd_options['cf7_custom_style_2_element_border_radius']) && $eltd_options['cf7_custom_style_2_element_border_radius'] !== '') {
    $cf7_custom_style_2_elements_styles .= 'border-radius: '.esc_attr($eltd_options['cf7_custom_style_2_element_border_radius']).'px;';
}

if(isset($eltd_options['cf7_custom_style_2_element_border_bottom']) && $eltd_options['cf7_custom_style_2_element_border_bottom'] == 'yes') {
    $cf7_custom_style_2_elements_styles .= 'border-left: none; border-right:none; border-top: none;';
}

if(isset($eltd_options['cf7_custom_style_2_element_font_color']) && $eltd_options['cf7_custom_style_2_element_font_color'] !== '') {
    $cf7_custom_style_2_elements_styles .= 'color: '.esc_attr($eltd_options['cf7_custom_style_2_element_font_color']).';';
    $cf7_custom_style_2_color_placeholder .= 'color: '.esc_attr($eltd_options['cf7_custom_style_2_element_font_color']).';';
	$cf7_custom_style_2_for_animation_style .= 'color: '.esc_attr($eltd_options['cf7_custom_style_2_element_font_color']).';';
    $cf7_custom_style_2_color_placeholder .= 'opacity:1;';
}

if(isset($eltd_options['cf7_custom_style_2_element_font_family']) && $eltd_options['cf7_custom_style_2_element_font_family'] !== '-1') {
    $cf7_custom_style_2_elements_styles .= 'font-family: '.str_replace('+', ' ', $eltd_options['cf7_custom_style_2_element_font_family']).';';
	$cf7_custom_style_2_for_animation_style .= 'font-family: '.str_replace('+', ' ', $eltd_options['cf7_custom_style_2_element_font_family']).';';
}

if(isset($eltd_options['cf7_custom_style_2_element_font_size']) && $eltd_options['cf7_custom_style_2_element_font_size'] !== '') {
    $cf7_custom_style_2_elements_styles .= 'font-size: '.esc_attr($eltd_options['cf7_custom_style_2_element_font_size']).'px;';
	$cf7_custom_style_2_for_animation_style .= 'font-size: '.esc_attr($eltd_options['cf7_custom_style_2_element_font_size']).'px;';
}

if(isset($eltd_options['cf7_custom_style_2_element_line_height']) && $eltd_options['cf7_custom_style_2_element_line_height'] !== '') {
    $cf7_custom_style_2_elements_styles .= 'line-height: '.esc_attr($eltd_options['cf7_custom_style_2_element_line_height']).'px;';
	$cf7_custom_style_2_for_animation_style .= 'line-height: '.esc_attr($eltd_options['cf7_custom_style_2_element_line_height']).'px;';
}

if(isset($eltd_options['cf7_custom_style_2_element_font_style']) && $eltd_options['cf7_custom_style_2_element_font_style'] !== '') {
    $cf7_custom_style_2_elements_styles .= 'font-style: '.esc_attr($eltd_options['cf7_custom_style_2_element_font_style']).';';
	$cf7_custom_style_2_for_animation_style .= 'font-style: '.esc_attr($eltd_options['cf7_custom_style_2_element_font_style']).';';
}

if(isset($eltd_options['cf7_custom_style_2_element_font_weight']) && $eltd_options['cf7_custom_style_2_element_font_weight'] !== '') {
    $cf7_custom_style_2_elements_styles .= 'font-weight: '.esc_attr($eltd_options['cf7_custom_style_2_element_font_weight']).';';
	$cf7_custom_style_2_for_animation_style .= 'font-weight: '.esc_attr($eltd_options['cf7_custom_style_2_element_font_weight']).';';
}

if(isset($eltd_options['cf7_custom_style_2_element_letter_spacing']) && $eltd_options['cf7_custom_style_2_element_letter_spacing'] !== '') {
    $cf7_custom_style_2_elements_styles .= 'letter-spacing: '.esc_attr($eltd_options['cf7_custom_style_2_element_letter_spacing']).'px;';
	$cf7_custom_style_2_for_animation_style .= 'letter-spacing: '.esc_attr($eltd_options['cf7_custom_style_2_element_letter_spacing']).'px;';
}

if(isset($eltd_options['cf7_custom_style_2_element_text_transform']) && $eltd_options['cf7_custom_style_2_element_text_transform'] !== '') {
    $cf7_custom_style_2_elements_styles .= 'text-transform: '.esc_attr($eltd_options['cf7_custom_style_2_element_text_transform']).';';
	$cf7_custom_style_2_for_animation_style .= 'text-transform: '.esc_attr($eltd_options['cf7_custom_style_2_element_text_transform']).';';
}

if(isset($eltd_options['cf7_custom_style_2_element_padding_top']) && $eltd_options['cf7_custom_style_2_element_padding_top'] !== '') {
    $cf7_custom_style_2_elements_styles .= 'padding-top: '.esc_attr($eltd_options['cf7_custom_style_2_element_padding_top']).'px;';
}

if(isset($eltd_options['cf7_custom_style_2_element_padding_right']) && $eltd_options['cf7_custom_style_2_element_padding_right'] !== '') {
    $cf7_custom_style_2_elements_styles .= 'padding-right: '.esc_attr($eltd_options['cf7_custom_style_2_element_padding_right']).'px;';
}
if(isset($eltd_options['cf7_custom_style_2_element_padding_bottom']) && $eltd_options['cf7_custom_style_2_element_padding_bottom'] !== '') {
    $cf7_custom_style_2_elements_styles .= 'padding-bottom: '.esc_attr($eltd_options['cf7_custom_style_2_element_padding_bottom']).'px;';
}
if(isset($eltd_options['cf7_custom_style_2_element_padding_left']) && $eltd_options['cf7_custom_style_2_element_padding_left'] !== '') {
    $cf7_custom_style_2_elements_styles .= 'padding-left: '.esc_attr($eltd_options['cf7_custom_style_2_element_padding_left']).'px;';
}

if(isset($eltd_options['cf7_custom_style_2_element_margin_top']) && $eltd_options['cf7_custom_style_2_element_margin_top'] !== '') {
    $cf7_custom_style_2_elements_styles .= 'margin-top: '.esc_attr($eltd_options['cf7_custom_style_2_element_margin_top']).'px;';
	$cf7_custom_style_2_for_animation_holder_style .= 'margin-top: '.esc_attr($eltd_options['cf7_custom_style_2_element_margin_top']).'px;';
}

if(isset($eltd_options['cf7_custom_style_2_element_margin_bottom']) && $eltd_options['cf7_custom_style_2_element_margin_bottom'] !== '') {
    $cf7_custom_style_2_elements_styles .= 'margin-bottom: '.esc_attr($eltd_options['cf7_custom_style_2_element_margin_bottom']).'px;';
	$cf7_custom_style_2_for_animation_holder_style .= 'margin-bottom: '.esc_attr($eltd_options['cf7_custom_style_2_element_margin_bottom']).'px;';
    ?>.cf7_custom_style_2 span.wpcf7-not-valid-tip{
        top: -<?php echo esc_attr($eltd_options['cf7_custom_style_2_element_margin_bottom']).'px;'; ?>;
    }<?php
}

$cf7_custom_style_2_elements_focus_styles = '';
$cf7_custom_style_2_focus_color_placeholder = '';

if(isset($eltd_options['cf7_custom_style_2_element_font_focus_color']) && $eltd_options['cf7_custom_style_2_element_font_focus_color'] !== '') {
    $cf7_custom_style_2_elements_focus_styles .= 'color: '.esc_attr($eltd_options['cf7_custom_style_2_element_font_focus_color']).';';
	$cf7_custom_style_2_focus_color_placeholder .= 'color: '.esc_attr($eltd_options['cf7_custom_style_2_element_font_focus_color']).' !important;';

}

if(isset($eltd_options['cf7_custom_style_2_element_focus_background_color']) && $eltd_options['cf7_custom_style_2_element_focus_background_color'] !== '') {
    if(isset($eltd_options['cf7_custom_style_2_element_focus_background_transparency']) && $eltd_options['cf7_custom_style_2_element_focus_background_transparency'] !== ''){
        $cf7_custom_style_2_element_focus_background_color = eltd_hex2rgb($eltd_options['cf7_custom_style_2_element_focus_background_color']);
        $cf7_custom_style_2_elements_focus_styles .= 'background-color: rgba('. esc_attr($cf7_custom_style_2_element_focus_background_color[0]) . ',' . esc_attr($cf7_custom_style_2_element_focus_background_color[1]) . ',' . esc_attr($cf7_custom_style_2_element_focus_background_color[2]) . ',' . esc_attr($eltd_options['cf7_custom_style_2_element_focus_background_transparency']) .');';
    } else {
        $cf7_custom_style_2_elements_focus_styles .= 'background-color: '.esc_attr($eltd_options['cf7_custom_style_2_element_focus_background_color']).';';
    }
}

if(isset($eltd_options['cf7_custom_style_2_element_focus_border_color']) && $eltd_options['cf7_custom_style_2_element_focus_border_color'] !== '') {
    if(isset($eltd_options['cf7_custom_style_2_focus_border_transparency']) && $eltd_options['cf7_custom_style_2_focus_border_transparency'] !== ''){
        $cf7_custom_style_2_element_focus_border_color = eltd_hex2rgb($eltd_options['cf7_custom_style_2_element_focus_border_color']);
        $cf7_custom_style_2_elements_focus_styles .= 'border-color: rgba('. esc_attr($cf7_custom_style_2_element_focus_border_color[0]) . ',' . esc_attr($cf7_custom_style_2_element_focus_border_color[1]) . ',' . esc_attr($cf7_custom_style_2_element_focus_border_color[2]) . ',' . esc_attr($eltd_options['cf7_custom_style_2_focus_border_transparency']) .');';

    } else {
        $cf7_custom_style_2_elements_focus_styles .= 'border-color: '.esc_attr($eltd_options['cf7_custom_style_2_element_focus_border_color']).';';
    }
}


$cf7_custom_style_2_button_styles = '';
if(isset($eltd_options['cf7_custom_style_2_button_background_color']) && $eltd_options['cf7_custom_style_2_button_background_color'] !== '') {
    if(isset($eltd_options['cf7_custom_style_2_button_background_transparency']) && $eltd_options['cf7_custom_style_2_button_background_transparency'] !== ''){
        $cf7_custom_style_2_button_background_color = eltd_hex2rgb($eltd_options['cf7_custom_style_2_button_background_color']);
        $cf7_custom_style_2_button_styles .= 'background-color: rgba('. esc_attr($cf7_custom_style_2_button_background_color[0]) . ',' . esc_attr($cf7_custom_style_2_button_background_color[1]) . ',' . esc_attr($cf7_custom_style_2_button_background_color[2]) . ',' . esc_attr($eltd_options['cf7_custom_style_2_button_background_transparency']) .');';
    } else {
        $cf7_custom_style_2_button_styles .= 'background-color: '.esc_attr($eltd_options['cf7_custom_style_2_button_background_color']).';';
    }
}

if(isset($eltd_options['cf7_custom_style_2_button_border_color']) && $eltd_options['cf7_custom_style_2_button_border_color'] !== '') {
    if(isset($eltd_options['cf7_custom_style_2_button_border_transparency']) && $eltd_options['cf7_custom_style_2_button_border_transparency'] !== ''){
        $cf7_custom_style_2_button_border_color = eltd_hex2rgb($eltd_options['cf7_custom_style_2_button_border_color']);
        $cf7_custom_style_2_button_styles .= 'border-color: rgba('. esc_attr($cf7_custom_style_2_button_border_color[0]) . ',' . esc_attr($cf7_custom_style_2_button_border_color[1]) . ',' . esc_attr($cf7_custom_style_2_button_border_color[2]) . ',' . esc_attr($eltd_options['cf7_custom_style_2_button_border_transparency']) .');';

    } else {
        $cf7_custom_style_2_button_styles .= 'border-color: '.esc_attr($eltd_options['cf7_custom_style_2_button_border_color']).';';
    }
}

if(isset($eltd_options['cf7_custom_style_2_button_border_width']) && $eltd_options['cf7_custom_style_2_button_border_width'] !== '') {
    $cf7_custom_style_2_button_styles .= 'border-width: '.esc_attr($eltd_options['cf7_custom_style_2_button_border_width']).'px;';
}

if(isset($eltd_options['cf7_custom_style_2_button_border_radius']) && $eltd_options['cf7_custom_style_2_button_border_radius'] !== '') {
    $cf7_custom_style_2_button_styles .= 'border-radius: '.esc_attr($eltd_options['cf7_custom_style_2_button_border_radius']).'px;';
}

if(isset($eltd_options['cf7_custom_style_2_button_font_color']) && $eltd_options['cf7_custom_style_2_button_font_color'] !== '') {
    $cf7_custom_style_2_button_styles .= 'color: '.esc_attr($eltd_options['cf7_custom_style_2_button_font_color']).';';
}

if(isset($eltd_options['cf7_custom_style_2_button_font_family']) && $eltd_options['cf7_custom_style_2_button_font_family'] !== '-1') {
    $cf7_custom_style_2_button_styles .= 'font-family: '.str_replace('+', ' ', $eltd_options['cf7_custom_style_2_button_font_family']).';';
}

if(isset($eltd_options['cf7_custom_style_2_button_font_size']) && $eltd_options['cf7_custom_style_2_button_font_size'] !== '') {
    $cf7_custom_style_2_button_styles .= 'font-size: '.esc_attr($eltd_options['cf7_custom_style_2_button_font_size']).'px;';
}

if(isset($eltd_options['cf7_custom_style_2_button_font_style']) && $eltd_options['cf7_custom_style_2_button_font_style'] !== '') {
    $cf7_custom_style_2_button_styles .= 'font-style: '.esc_attr($eltd_options['cf7_custom_style_2_button_font_style']).';';
}

if(isset($eltd_options['cf7_custom_style_2_button_font_weight']) && $eltd_options['cf7_custom_style_2_button_font_weight'] !== '') {
    $cf7_custom_style_2_button_styles .= 'font-weight: '.esc_attr($eltd_options['cf7_custom_style_2_button_font_weight']).';';
}

if(isset($eltd_options['cf7_custom_style_2_button_letter_spacing']) && $eltd_options['cf7_custom_style_2_button_letter_spacing'] !== '') {
    $cf7_custom_style_2_button_styles .= 'letter-spacing: '.esc_attr($eltd_options['cf7_custom_style_2_button_letter_spacing']).'px;';
}

if(isset($eltd_options['cf7_custom_style_2_button_text_transform']) && $eltd_options['cf7_custom_style_2_button_text_transform'] !== '') {
    $cf7_custom_style_2_button_styles .= 'text-transform: '.esc_attr($eltd_options['cf7_custom_style_2_button_text_transform']).';';
}

if(isset($eltd_options['cf7_custom_style_2_button_height']) && $eltd_options['cf7_custom_style_2_button_height'] !== '') {
    $cf7_custom_style_2_button_styles .= 'height: '.esc_attr($eltd_options['cf7_custom_style_2_button_height']).'px;';
    $cf7_custom_style_2_button_styles .= 'line-height: '.esc_attr($eltd_options['cf7_custom_style_2_button_height']).'px;';
}

if(isset($eltd_options['cf7_custom_style_2_button_padding']) && $eltd_options['cf7_custom_style_2_button_padding'] !== '') {
    $cf7_custom_style_2_button_styles .= 'padding-left: '.esc_attr($eltd_options['cf7_custom_style_2_button_padding']).'px;';
    $cf7_custom_style_2_button_styles .= 'padding-right: '.esc_attr($eltd_options['cf7_custom_style_2_button_padding']).'px;';
}

$cf7_custom_style_2_button_hover_styles = '';

if(isset($eltd_options['cf7_custom_style_2_button_font_hover_color']) && $eltd_options['cf7_custom_style_2_button_font_hover_color'] !== '') {
    $cf7_custom_style_2_button_hover_styles .= 'color: '.esc_attr($eltd_options['cf7_custom_style_2_button_font_hover_color']).';';
}

if(isset($eltd_options['cf7_custom_style_2_button_hover_background_color']) && $eltd_options['cf7_custom_style_2_button_hover_background_color'] !== '') {
    if(isset($eltd_options['cf7_custom_style_2_button_hover_background_transparency']) && $eltd_options['cf7_custom_style_2_button_hover_background_transparency'] !== ''){
        $cf7_custom_style_2_button_hover_background_color = eltd_hex2rgb($eltd_options['cf7_custom_style_2_button_hover_background_color']);
        $cf7_custom_style_2_button_hover_styles .= 'background-color: rgba('. esc_attr($cf7_custom_style_2_button_hover_background_color[0]) . ',' . esc_attr($cf7_custom_style_2_button_hover_background_color[1]) . ',' . esc_attr($cf7_custom_style_2_button_hover_background_color[2]) . ',' . esc_attr($eltd_options['cf7_custom_style_2_button_hover_background_transparency']) .');';
    } else {
        $cf7_custom_style_2_button_hover_styles .= 'background-color: '.esc_attr($eltd_options['cf7_custom_style_2_button_hover_background_color']).';';
    }
}

if(isset($eltd_options['cf7_custom_style_2_button_hover_border_color']) && $eltd_options['cf7_custom_style_2_button_hover_border_color'] !== '') {
    if(isset($eltd_options['cf7_custom_style_2_button_hover_border_transparency']) && $eltd_options['cf7_custom_style_2_button_hover_border_transparency'] !== ''){
        $cf7_custom_style_2_button_hover_border_color = eltd_hex2rgb($eltd_options['cf7_custom_style_2_button_hover_border_color']);
        $cf7_custom_style_2_button_hover_styles .= 'border-color: rgba('. esc_attr($cf7_custom_style_2_button_hover_border_color[0]) . ',' . esc_attr($cf7_custom_style_2_button_hover_border_color[1]) . ',' . esc_attr($cf7_custom_style_2_button_hover_border_color[2]) . ',' . esc_attr($eltd_options['cf7_custom_style_2_button_hover_border_transparency']) .');';

    } else {
        $cf7_custom_style_2_button_hover_styles .= 'border-color: '.esc_attr($eltd_options['cf7_custom_style_2_button_hover_border_color']).';';
    }
}


$cf7_custom_style_2_labels_styles = "";

if(isset($eltd_options['cf7_custom_style_2_label_font_color']) && $eltd_options['cf7_custom_style_2_label_font_color'] !== '') {
    $cf7_custom_style_2_labels_styles .= 'color: '.$eltd_options['cf7_custom_style_2_label_font_color'].';';
}

if(isset($eltd_options['cf7_custom_style_2_label_font_family']) && $eltd_options['cf7_custom_style_2_label_font_family'] !== '-1') {
    $cf7_custom_style_2_labels_styles .= 'font-family: '.str_replace('+', ' ', $eltd_options['cf7_custom_style_2_label_font_family']).';';
}

if(isset($eltd_options['cf7_custom_style_2_label_font_size']) && $eltd_options['cf7_custom_style_2_label_font_size'] !== '') {
    $cf7_custom_style_2_labels_styles .= 'font-size: '.$eltd_options['cf7_custom_style_2_label_font_size'].'px;';
}
if(isset($eltd_options['cf7_custom_style_2_label_line_height']) && $eltd_options['cf7_custom_style_2_label_line_height'] !== '') {
    $cf7_custom_style_2_labels_styles .= 'line-height: '.$eltd_options['cf7_custom_style_2_label_line_height'].'px;';
}
if(isset($eltd_options['cf7_custom_style_2_label_font_style']) && $eltd_options['cf7_custom_style_2_label_font_style'] !== '') {
    $cf7_custom_style_2_labels_styles .= 'font-style: '.$eltd_options['cf7_custom_style_2_label_font_style'].';';
}

if(isset($eltd_options['cf7_custom_style_2_label_font_weight']) && $eltd_options['cf7_custom_style_2_label_font_weight'] !== '') {
    $cf7_custom_style_2_labels_styles .= 'font-weight: '.$eltd_options['cf7_custom_style_2_label_font_weight'].';';
}

if(isset($eltd_options['cf7_custom_style_2_label_letter_spacing']) && $eltd_options['cf7_custom_style_2_label_letter_spacing'] !== '') {
    $cf7_custom_style_2_labels_styles .= 'letter-spacing: '.$eltd_options['cf7_custom_style_2_label_letter_spacing'].'px;';
}

if(isset($eltd_options['cf7_custom_style_2_label_text_transform']) && $eltd_options['cf7_custom_style_2_label_text_transform'] !== '') {
    $cf7_custom_style_2_labels_styles .= 'text-transform: '.$eltd_options['cf7_custom_style_2_label_text_transform'].';';
}


$cf7_custom_style_3_elements_styles = '';
$cf7_custom_style_3_color_placeholder = '';
$cf7_custom_style_3_for_animation_style = '';
$cf7_custom_style_3_for_animation_holder_style = '';
if(isset($eltd_options['cf7_custom_style_3_element_background_color']) && $eltd_options['cf7_custom_style_3_element_background_color'] !== '') {
    if(isset($eltd_options['cf7_custom_style_3_element_background_transparency']) && $eltd_options['cf7_custom_style_3_element_background_transparency'] !== ''){
        $cf7_custom_style_3_element_background_color = eltd_hex2rgb($eltd_options['cf7_custom_style_3_element_background_color']);
        $cf7_custom_style_3_elements_styles .= 'background-color: rgba('. esc_attr($cf7_custom_style_3_element_background_color[0]) . ',' . esc_attr($cf7_custom_style_3_element_background_color[1]) . ',' . esc_attr($cf7_custom_style_3_element_background_color[2]) . ',' . esc_attr($eltd_options['cf7_custom_style_3_element_background_transparency']) .');';
    } else {
        $cf7_custom_style_3_elements_styles .= 'background-color: '.esc_attr($eltd_options['cf7_custom_style_3_element_background_color']).';';
    }
}

if(isset($eltd_options['cf7_custom_style_3_element_border_color']) && $eltd_options['cf7_custom_style_3_element_border_color'] !== '') {
    if(isset($eltd_options['cf7_custom_style_3_border_transparency']) && $eltd_options['cf7_custom_style_3_border_transparency'] !== ''){
        $cf7_custom_style_3_element_border_color = eltd_hex2rgb($eltd_options['cf7_custom_style_3_element_border_color']);
        $cf7_custom_style_3_elements_styles .= 'border-color: rgba('. esc_attr($cf7_custom_style_3_element_border_color[0]) . ',' . esc_attr($cf7_custom_style_3_element_border_color[1]) . ',' . esc_attr($cf7_custom_style_3_element_border_color[2]) . ',' . esc_attr($eltd_options['cf7_custom_style_3_border_transparency']) .');';

    } else {
        $cf7_custom_style_3_elements_styles .= 'border-color: '.esc_attr($eltd_options['cf7_custom_style_3_element_border_color']).';';
    }
}

if(isset($eltd_options['cf7_custom_style_3_element_border_width']) && $eltd_options['cf7_custom_style_3_element_border_width'] !== '') {
    $cf7_custom_style_3_elements_styles .= 'border-width: '.esc_attr($eltd_options['cf7_custom_style_3_element_border_width']).'px;';
    $cf7_custom_style_3_elements_styles .= 'border-style:solid;';
	$cf7_custom_style_3_elements_styles .= 'transform: translateZ(0);';
}

if(isset($eltd_options['cf7_custom_style_3_element_border_radius']) && $eltd_options['cf7_custom_style_3_element_border_radius'] !== '') {
    $cf7_custom_style_3_elements_styles .= 'border-radius: '.esc_attr($eltd_options['cf7_custom_style_3_element_border_radius']).'px;';
}

if(isset($eltd_options['cf7_custom_style_3_element_border_bottom']) && $eltd_options['cf7_custom_style_3_element_border_bottom'] == 'yes') {
    $cf7_custom_style_3_elements_styles .= 'border-left: none; border-right:none; border-top: none;';
}

if(isset($eltd_options['cf7_custom_style_3_element_font_color']) && $eltd_options['cf7_custom_style_3_element_font_color'] !== '') {
    $cf7_custom_style_3_elements_styles .= 'color: '.esc_attr($eltd_options['cf7_custom_style_3_element_font_color']).';';
    $cf7_custom_style_3_color_placeholder .= 'color: '.esc_attr($eltd_options['cf7_custom_style_3_element_font_color']).';';
	$cf7_custom_style_3_for_animation_style .= 'color: '.esc_attr($eltd_options['cf7_custom_style_3_element_font_color']).';';
    $cf7_custom_style_3_color_placeholder .= 'opacity:1;';
}

if(isset($eltd_options['cf7_custom_style_3_element_font_family']) && $eltd_options['cf7_custom_style_3_element_font_family'] !== '-1') {
    $cf7_custom_style_3_elements_styles .= 'font-family: '.str_replace('+', ' ', $eltd_options['cf7_custom_style_3_element_font_family']).';';
	$cf7_custom_style_3_for_animation_style .= 'font-family: '.str_replace('+', ' ', $eltd_options['cf7_custom_style_3_element_font_family']).';';
}

if(isset($eltd_options['cf7_custom_style_3_element_font_size']) && $eltd_options['cf7_custom_style_3_element_font_size'] !== '') {
    $cf7_custom_style_3_elements_styles .= 'font-size: '.esc_attr($eltd_options['cf7_custom_style_3_element_font_size']).'px;';
	$cf7_custom_style_3_for_animation_style .= 'font-size: '.esc_attr($eltd_options['cf7_custom_style_3_element_font_size']).'px;';
}

if(isset($eltd_options['cf7_custom_style_3_element_line_height']) && $eltd_options['cf7_custom_style_3_element_line_height'] !== '') {
    $cf7_custom_style_3_elements_styles .= 'line-height: '.esc_attr($eltd_options['cf7_custom_style_3_element_line_height']).'px;';
	$cf7_custom_style_3_for_animation_style .= 'line-height: '.esc_attr($eltd_options['cf7_custom_style_3_element_line_height']).'px;';
}

if(isset($eltd_options['cf7_custom_style_3_element_font_style']) && $eltd_options['cf7_custom_style_3_element_font_style'] !== '') {
    $cf7_custom_style_3_elements_styles .= 'font-style: '.esc_attr($eltd_options['cf7_custom_style_3_element_font_style']).';';
}

if(isset($eltd_options['cf7_custom_style_3_element_font_weight']) && $eltd_options['cf7_custom_style_3_element_font_weight'] !== '') {
    $cf7_custom_style_3_elements_styles .= 'font-weight: '.esc_attr($eltd_options['cf7_custom_style_3_element_font_weight']).';';
	$cf7_custom_style_3_for_animation_style .= 'font-weight: '.esc_attr($eltd_options['cf7_custom_style_3_element_font_weight']).';';
}

if(isset($eltd_options['cf7_custom_style_3_element_letter_spacing']) && $eltd_options['cf7_custom_style_3_element_letter_spacing'] !== '') {
    $cf7_custom_style_3_elements_styles .= 'letter-spacing: '.esc_attr($eltd_options['cf7_custom_style_3_element_letter_spacing']).'px;';
	$cf7_custom_style_3_for_animation_style .= 'letter-spacing: '.esc_attr($eltd_options['cf7_custom_style_3_element_letter_spacing']).'px;';
}

if(isset($eltd_options['cf7_custom_style_3_element_text_transform']) && $eltd_options['cf7_custom_style_3_element_text_transform'] !== '') {
    $cf7_custom_style_3_elements_styles .= 'text-transform: '.esc_attr($eltd_options['cf7_custom_style_3_element_text_transform']).';';
	$cf7_custom_style_3_for_animation_style .= 'text-transform: '.esc_attr($eltd_options['cf7_custom_style_3_element_text_transform']).';';
}

if(isset($eltd_options['cf7_custom_style_3_element_padding_top']) && $eltd_options['cf7_custom_style_3_element_padding_top'] !== '') {
    $cf7_custom_style_3_elements_styles .= 'padding-top: '.esc_attr($eltd_options['cf7_custom_style_3_element_padding_top']).'px;';
}

if(isset($eltd_options['cf7_custom_style_3_element_padding_right']) && $eltd_options['cf7_custom_style_3_element_padding_right'] !== '') {
    $cf7_custom_style_3_elements_styles .= 'padding-right: '.esc_attr($eltd_options['cf7_custom_style_3_element_padding_right']).'px;';
}
if(isset($eltd_options['cf7_custom_style_3_element_padding_bottom']) && $eltd_options['cf7_custom_style_3_element_padding_bottom'] !== '') {
    $cf7_custom_style_3_elements_styles .= 'padding-bottom: '.esc_attr($eltd_options['cf7_custom_style_3_element_padding_bottom']).'px;';
}
if(isset($eltd_options['cf7_custom_style_3_element_padding_left']) && $eltd_options['cf7_custom_style_3_element_padding_left'] !== '') {
    $cf7_custom_style_3_elements_styles .= 'padding-left: '.esc_attr($eltd_options['cf7_custom_style_3_element_padding_left']).'px;';
}

if(isset($eltd_options['cf7_custom_style_3_element_margin_top']) && $eltd_options['cf7_custom_style_3_element_margin_top'] !== '') {
    $cf7_custom_style_3_elements_styles .= 'margin-top: '.esc_attr($eltd_options['cf7_custom_style_3_element_margin_top']).'px;';
	$cf7_custom_style_3_for_animation_holder_style .= 'margin-top: '.esc_attr($eltd_options['cf7_custom_style_3_element_margin_top']).'px;';
}

if(isset($eltd_options['cf7_custom_style_3_element_margin_bottom']) && $eltd_options['cf7_custom_style_3_element_margin_bottom'] !== '') {
    $cf7_custom_style_3_elements_styles .= 'margin-bottom: '.esc_attr($eltd_options['cf7_custom_style_3_element_margin_bottom']).'px;';
	$cf7_custom_style_3_for_animation_holder_style .= 'margin-bottom: '.esc_attr($eltd_options['cf7_custom_style_3_element_margin_bottom']).'px;';
    ?>.cf7_custom_style_3 span.wpcf7-not-valid-tip{
        top: -<?php echo esc_attr($eltd_options['cf7_custom_style_3_element_margin_bottom']).'px;'; ?>;
    }<?php
}

$cf7_custom_style_3_elements_focus_styles = '';
$cf7_custom_style_3_focus_color_placeholder = '';

if(isset($eltd_options['cf7_custom_style_3_element_font_focus_color']) && $eltd_options['cf7_custom_style_3_element_font_focus_color'] !== '') {
    $cf7_custom_style_3_elements_focus_styles .= 'color: '.esc_attr($eltd_options['cf7_custom_style_3_element_font_focus_color']).';';
	$cf7_custom_style_3_focus_color_placeholder .= 'color: '.esc_attr($eltd_options['cf7_custom_style_3_element_font_focus_color']).' !important;';
}

if(isset($eltd_options['cf7_custom_style_3_element_focus_background_color']) && $eltd_options['cf7_custom_style_3_element_focus_background_color'] !== '') {
    if(isset($eltd_options['cf7_custom_style_3_element_focus_background_transparency']) && $eltd_options['cf7_custom_style_3_element_focus_background_transparency'] !== ''){
        $cf7_custom_style_3_element_focus_background_color = eltd_hex2rgb($eltd_options['cf7_custom_style_3_element_focus_background_color']);
        $cf7_custom_style_3_elements_focus_styles .= 'background-color: rgba('. esc_attr($cf7_custom_style_3_element_focus_background_color[0]) . ',' . esc_attr($cf7_custom_style_3_element_focus_background_color[1]) . ',' . esc_attr($cf7_custom_style_3_element_focus_background_color[2]) . ',' . esc_attr($eltd_options['cf7_custom_style_3_element_focus_background_transparency']) .');';
    } else {
        $cf7_custom_style_3_elements_focus_styles .= 'background-color: '.esc_attr($eltd_options['cf7_custom_style_3_element_focus_background_color']).';';
    }
}

if(isset($eltd_options['cf7_custom_style_3_element_focus_border_color']) && $eltd_options['cf7_custom_style_3_element_focus_border_color'] !== '') {
    if(isset($eltd_options['cf7_custom_style_3_focus_border_transparency']) && $eltd_options['cf7_custom_style_3_focus_border_transparency'] !== ''){
        $cf7_custom_style_3_element_focus_border_color = eltd_hex2rgb($eltd_options['cf7_custom_style_3_element_focus_border_color']);
        $cf7_custom_style_3_elements_focus_styles .= 'border-color: rgba('. esc_attr($cf7_custom_style_3_element_focus_border_color[0]) . ',' . esc_attr($cf7_custom_style_3_element_focus_border_color[1]) . ',' . esc_attr($cf7_custom_style_3_element_focus_border_color[2]) . ',' . esc_attr($eltd_options['cf7_custom_style_3_focus_border_transparency']) .');';

    } else {
        $cf7_custom_style_3_elements_focus_styles .= 'border-color: '.esc_attr($eltd_options['cf7_custom_style_3_element_focus_border_color']).';';
    }
}


$cf7_custom_style_3_button_styles = '';
if(isset($eltd_options['cf7_custom_style_3_button_background_color']) && $eltd_options['cf7_custom_style_3_button_background_color'] !== '') {
    if(isset($eltd_options['cf7_custom_style_3_button_background_transparency']) && $eltd_options['cf7_custom_style_3_button_background_transparency'] !== ''){
        $cf7_custom_style_3_button_background_color = eltd_hex2rgb($eltd_options['cf7_custom_style_3_button_background_color']);
        $cf7_custom_style_3_button_styles .= 'background-color: rgba('. esc_attr($cf7_custom_style_3_button_background_color[0]) . ',' . esc_attr($cf7_custom_style_3_button_background_color[1]) . ',' . esc_attr($cf7_custom_style_3_button_background_color[2]) . ',' . esc_attr($eltd_options['cf7_custom_style_3_button_background_transparency']) .');';
    } else {
        $cf7_custom_style_3_button_styles .= 'background-color: '.esc_attr($eltd_options['cf7_custom_style_3_button_background_color']).';';
    }
}

if(isset($eltd_options['cf7_custom_style_3_button_border_color']) && $eltd_options['cf7_custom_style_3_button_border_color'] !== '') {
    if(isset($eltd_options['cf7_custom_style_3_button_border_transparency']) && $eltd_options['cf7_custom_style_3_button_border_transparency'] !== ''){
        $cf7_custom_style_3_button_border_color = eltd_hex2rgb($eltd_options['cf7_custom_style_3_button_border_color']);
        $cf7_custom_style_3_button_styles .= 'border-color: rgba('. esc_attr($cf7_custom_style_3_button_border_color[0]) . ',' . esc_attr($cf7_custom_style_3_button_border_color[1]) . ',' . esc_attr($cf7_custom_style_3_button_border_color[2]) . ',' . esc_attr($eltd_options['cf7_custom_style_3_button_border_transparency']) .');';

    } else {
        $cf7_custom_style_3_button_styles .= 'border-color: '.esc_attr($eltd_options['cf7_custom_style_3_button_border_color']).';';
    }
}

if(isset($eltd_options['cf7_custom_style_3_button_border_width']) && $eltd_options['cf7_custom_style_3_button_border_width'] !== '') {
    $cf7_custom_style_3_button_styles .= 'border-width: '.esc_attr($eltd_options['cf7_custom_style_3_button_border_width']).'px;';
}

if(isset($eltd_options['cf7_custom_style_3_button_border_radius']) && $eltd_options['cf7_custom_style_3_button_border_radius'] !== '') {
    $cf7_custom_style_3_button_styles .= 'border-radius: '.esc_attr($eltd_options['cf7_custom_style_3_button_border_radius']).'px;';
}

if(isset($eltd_options['cf7_custom_style_3_button_font_color']) && $eltd_options['cf7_custom_style_3_button_font_color'] !== '') {
    $cf7_custom_style_3_button_styles .= 'color: '.esc_attr($eltd_options['cf7_custom_style_3_button_font_color']).';';
}

if(isset($eltd_options['cf7_custom_style_3_button_font_family']) && $eltd_options['cf7_custom_style_3_button_font_family'] !== '-1') {
    $cf7_custom_style_3_button_styles .= 'font-family: '.str_replace('+', ' ', $eltd_options['cf7_custom_style_3_button_font_family']).';';
}

if(isset($eltd_options['cf7_custom_style_3_button_font_size']) && $eltd_options['cf7_custom_style_3_button_font_size'] !== '') {
    $cf7_custom_style_3_button_styles .= 'font-size: '.esc_attr($eltd_options['cf7_custom_style_3_button_font_size']).'px;';
}

if(isset($eltd_options['cf7_custom_style_3_button_font_style']) && $eltd_options['cf7_custom_style_3_button_font_style'] !== '') {
    $cf7_custom_style_3_button_styles .= 'font-style: '.esc_attr($eltd_options['cf7_custom_style_3_button_font_style']).';';
}

if(isset($eltd_options['cf7_custom_style_3_button_font_weight']) && $eltd_options['cf7_custom_style_3_button_font_weight'] !== '') {
    $cf7_custom_style_3_button_styles .= 'font-weight: '.esc_attr($eltd_options['cf7_custom_style_3_button_font_weight']).';';
}

if(isset($eltd_options['cf7_custom_style_3_button_letter_spacing']) && $eltd_options['cf7_custom_style_3_button_letter_spacing'] !== '') {
    $cf7_custom_style_3_button_styles .= 'letter-spacing: '.esc_attr($eltd_options['cf7_custom_style_3_button_letter_spacing']).'px;';
}

if(isset($eltd_options['cf7_custom_style_3_button_text_transform']) && $eltd_options['cf7_custom_style_3_button_text_transform'] !== '') {
    $cf7_custom_style_3_button_styles .= 'text-transform: '.esc_attr($eltd_options['cf7_custom_style_3_button_text_transform']).';';
}

if(isset($eltd_options['cf7_custom_style_3_button_height']) && $eltd_options['cf7_custom_style_3_button_height'] !== '') {
    $cf7_custom_style_3_button_styles .= 'height: '.esc_attr($eltd_options['cf7_custom_style_3_button_height']).'px;';
    $cf7_custom_style_3_button_styles .= 'line-height: '.esc_attr($eltd_options['cf7_custom_style_3_button_height']).'px;';
}

if(isset($eltd_options['cf7_custom_style_3_button_padding']) && $eltd_options['cf7_custom_style_3_button_padding'] !== '') {
    $cf7_custom_style_3_button_styles .= 'padding-left: '.esc_attr($eltd_options['cf7_custom_style_3_button_padding']).'px;';
    $cf7_custom_style_3_button_styles .= 'padding-right: '.esc_attr($eltd_options['cf7_custom_style_3_button_padding']).'px;';
}

$cf7_custom_style_3_button_hover_styles = '';

if(isset($eltd_options['cf7_custom_style_3_button_font_hover_color']) && $eltd_options['cf7_custom_style_3_button_font_hover_color'] !== '') {
    $cf7_custom_style_3_button_hover_styles .= 'color: '.esc_attr($eltd_options['cf7_custom_style_3_button_font_hover_color']).';';
}

if(isset($eltd_options['cf7_custom_style_3_button_hover_background_color']) && $eltd_options['cf7_custom_style_3_button_hover_background_color'] !== '') {
    if(isset($eltd_options['cf7_custom_style_3_button_hover_background_transparency']) && $eltd_options['cf7_custom_style_3_button_hover_background_transparency'] !== ''){
        $cf7_custom_style_3_button_hover_background_color = eltd_hex2rgb($eltd_options['cf7_custom_style_3_button_hover_background_color']);
        $cf7_custom_style_3_button_hover_styles .= 'background-color: rgba('. esc_attr($cf7_custom_style_3_button_hover_background_color[0]) . ',' . esc_attr($cf7_custom_style_3_button_hover_background_color[1]) . ',' . esc_attr($cf7_custom_style_3_button_hover_background_color[2]) . ',' . esc_attr($eltd_options['cf7_custom_style_3_button_hover_background_transparency']) .');';
    } else {
        $cf7_custom_style_3_button_hover_styles .= 'background-color: '.esc_attr($eltd_options['cf7_custom_style_3_button_hover_background_color']).';';
    }
}

if(isset($eltd_options['cf7_custom_style_3_button_hover_border_color']) && $eltd_options['cf7_custom_style_3_button_hover_border_color'] !== '') {
    if(isset($eltd_options['cf7_custom_style_3_button_hover_border_transparency']) && $eltd_options['cf7_custom_style_3_button_hover_border_transparency'] !== ''){
        $cf7_custom_style_3_button_hover_border_color = eltd_hex2rgb($eltd_options['cf7_custom_style_3_button_hover_border_color']);
        $cf7_custom_style_3_button_hover_styles .= 'border-color: rgba('. esc_attr($cf7_custom_style_3_button_hover_border_color[0]) . ',' . esc_attr($cf7_custom_style_3_button_hover_border_color[1]) . ',' . esc_attr($cf7_custom_style_3_button_hover_border_color[2]) . ',' . esc_attr($eltd_options['cf7_custom_style_3_button_hover_border_transparency']) .');';

    } else {
        $cf7_custom_style_3_button_hover_styles .= 'border-color: '.esc_attr($eltd_options['cf7_custom_style_3_button_hover_border_color']).';';
    }
}

$cf7_custom_style_3_labels_styles = "";

if(isset($eltd_options['cf7_custom_style_3_label_font_color']) && $eltd_options['cf7_custom_style_3_label_font_color'] !== '') {
    $cf7_custom_style_3_labels_styles .= 'color: '.$eltd_options['cf7_custom_style_3_label_font_color'].';';
}

if(isset($eltd_options['cf7_custom_style_3_label_font_family']) && $eltd_options['cf7_custom_style_3_label_font_family'] !== '-1') {
    $cf7_custom_style_3_labels_styles .= 'font-family: '.str_replace('+', ' ', $eltd_options['cf7_custom_style_3_label_font_family']).';';
}

if(isset($eltd_options['cf7_custom_style_3_label_font_size']) && $eltd_options['cf7_custom_style_3_label_font_size'] !== '') {
    $cf7_custom_style_3_labels_styles .= 'font-size: '.$eltd_options['cf7_custom_style_3_label_font_size'].'px;';
}
if(isset($eltd_options['cf7_custom_style_3_label_line_height']) && $eltd_options['cf7_custom_style_3_label_line_height'] !== '') {
    $cf7_custom_style_3_labels_styles .= 'line-height: '.$eltd_options['cf7_custom_style_3_label_line_height'].'px;';
}
if(isset($eltd_options['cf7_custom_style_3_label_font_style']) && $eltd_options['cf7_custom_style_3_label_font_style'] !== '') {
    $cf7_custom_style_3_labels_styles .= 'font-style: '.$eltd_options['cf7_custom_style_3_label_font_style'].';';
}

if(isset($eltd_options['cf7_custom_style_3_label_font_weight']) && $eltd_options['cf7_custom_style_3_label_font_weight'] !== '') {
    $cf7_custom_style_3_labels_styles .= 'font-weight: '.$eltd_options['cf7_custom_style_3_label_font_weight'].';';
}

if(isset($eltd_options['cf7_custom_style_3_label_letter_spacing']) && $eltd_options['cf7_custom_style_3_label_letter_spacing'] !== '') {
    $cf7_custom_style_3_labels_styles .= 'letter-spacing: '.$eltd_options['cf7_custom_style_3_label_letter_spacing'].'px;';
}

if(isset($eltd_options['cf7_custom_style_3_label_text_transform']) && $eltd_options['cf7_custom_style_3_label_text_transform'] !== '') {
    $cf7_custom_style_3_labels_styles .= 'text-transform: '.$eltd_options['cf7_custom_style_3_label_text_transform'].';';
}

?>

<?php
	$cf7_custom_style_1_validation_messages_style = "";
	if(isset($eltd_options['cf7_custom_style_1_error_validation_messages_color']) && $eltd_options['cf7_custom_style_1_error_validation_messages_color'] !== '') {
	$cf7_custom_style_1_validation_messages_style .= 'color: '.esc_attr($eltd_options['cf7_custom_style_1_error_validation_messages_color']).';';
	}


	$cf7_custom_style_2_validation_messages_style = "";
	if(isset($eltd_options['cf7_custom_style_2_error_validation_messages_color']) && $eltd_options['cf7_custom_style_2_error_validation_messages_color'] !== '') {
	$cf7_custom_style_2_validation_messages_style .= 'color: '.esc_attr($eltd_options['cf7_custom_style_2_error_validation_messages_color']).';';
	}

	$cf7_custom_style_3_validation_messages_style = "";
	if(isset($eltd_options['cf7_custom_style_3_error_validation_messages_color']) && $eltd_options['cf7_custom_style_3_error_validation_messages_color'] !== '') {
	$cf7_custom_style_3_validation_messages_style .= 'color: '.esc_attr($eltd_options['cf7_custom_style_3_error_validation_messages_color']).';';
	}
?>




<?php if($cf7_custom_style_1_button_styles !== ""){ ?>
    .cf7_custom_style_1 input.wpcf7-form-control.wpcf7-submit,
    .cf7_custom_style_1 input.wpcf7-form-control.wpcf7-submit:not([disabled]) {
        <?php echo esc_attr($cf7_custom_style_1_button_styles); ?>
    }
<?php } ?>

<?php if($cf7_custom_style_1_button_hover_styles !== ""){ ?>
    .cf7_custom_style_1 input.wpcf7-form-control.wpcf7-submit:hover,
    .cf7_custom_style_1 input.wpcf7-form-control.wpcf7-submit:not([disabled]):hover {
        <?php echo esc_attr($cf7_custom_style_1_button_hover_styles); ?>
    }
<?php } ?>

<?php if($cf7_custom_style_1_elements_styles !== ""){ ?>
    .cf7_custom_style_1 input.wpcf7-form-control.wpcf7-text,
    .cf7_custom_style_1 input.wpcf7-form-control.wpcf7-number,
    .cf7_custom_style_1 input.wpcf7-form-control.wpcf7-date,
    .cf7_custom_style_1 textarea.wpcf7-form-control.wpcf7-textarea,
    .cf7_custom_style_1 select.wpcf7-form-control.wpcf7-select,
    .cf7_custom_style_1 input.wpcf7-form-control.wpcf7-quiz{
        <?php echo esc_attr($cf7_custom_style_1_elements_styles); ?>
    }
<?php } ?>

<?php if($cf7_custom_style_1_elements_focus_styles !== ""){ ?>
    .cf7_custom_style_1 input.wpcf7-form-control.wpcf7-text:focus,
    .cf7_custom_style_1 input.wpcf7-form-control.wpcf7-number:focus,
    .cf7_custom_style_1 input.wpcf7-form-control.wpcf7-date:focus,
    .cf7_custom_style_1 textarea.wpcf7-form-control.wpcf7-textarea:focus,
    .cf7_custom_style_1 select.wpcf7-form-control.wpcf7-select:focus,
    .cf7_custom_style_1 input.wpcf7-form-control.wpcf7-quiz:focus{
        <?php echo esc_attr($cf7_custom_style_1_elements_focus_styles); ?>
    }
<?php } ?>

<?php if($cf7_custom_style_1_labels_styles !== ""){ ?>
    .cf7_custom_style_1 p,
	.cf7_custom_style_1 .animate_input_holder .animate_input_text:after {
        <?php echo esc_attr($cf7_custom_style_1_labels_styles); ?>
    }
<?php } ?>

<?php if($cf7_custom_style_1_for_animation_style !== ""){ ?>
	.cf7_custom_style_1 .animate_input_holder .animate_input_text {
        <?php echo esc_attr($cf7_custom_style_1_for_animation_style); ?>
    }
<?php } ?>



	<?php if($cf7_custom_style_1_for_animation_holder_style !== ""){ ?>
		.cf7_custom_style_1 .animate_input_holder{
			<?php echo esc_attr($cf7_custom_style_1_for_animation_holder_style); ?>
		}
	<?php } ?>

	<?php if($cf7_custom_style_1_validation_messages_style !== ""){ ?>
		.cf7_custom_style_1 span.wpcf7-not-valid-tip{
		<?php echo esc_attr($cf7_custom_style_1_validation_messages_style); ?>
		}
	<?php } ?>
<?php if($cf7_custom_style_2_button_styles !== ""){ ?>
    .cf7_custom_style_2 input.wpcf7-form-control.wpcf7-submit,
    .cf7_custom_style_2 input.wpcf7-form-control.wpcf7-submit:not([disabled]) {
        <?php echo esc_attr($cf7_custom_style_2_button_styles); ?>
    }
<?php } ?>

<?php if($cf7_custom_style_2_button_hover_styles !== ""){ ?>
    .cf7_custom_style_2 input.wpcf7-form-control.wpcf7-submit:hover,
    .cf7_custom_style_2 input.wpcf7-form-control.wpcf7-submit:not([disabled]):hover {
        <?php echo esc_attr($cf7_custom_style_2_button_hover_styles); ?>
    }
<?php } ?>

<?php if($cf7_custom_style_2_elements_styles !== ""){ ?>
    .cf7_custom_style_2 input.wpcf7-form-control.wpcf7-text,
    .cf7_custom_style_2 input.wpcf7-form-control.wpcf7-number,
    .cf7_custom_style_2 input.wpcf7-form-control.wpcf7-date,
    .cf7_custom_style_2 textarea.wpcf7-form-control.wpcf7-textarea,
    .cf7_custom_style_2 select.wpcf7-form-control.wpcf7-select,
    .cf7_custom_style_2 input.wpcf7-form-control.wpcf7-quiz{
        <?php echo esc_attr($cf7_custom_style_2_elements_styles); ?>
    }
<?php } ?>

<?php if($cf7_custom_style_2_elements_focus_styles !== ""){ ?>
    .cf7_custom_style_2 input.wpcf7-form-control.wpcf7-text:focus,
    .cf7_custom_style_2 input.wpcf7-form-control.wpcf7-number:focus,
    .cf7_custom_style_2 input.wpcf7-form-control.wpcf7-date:focus,
    .cf7_custom_style_2 textarea.wpcf7-form-control.wpcf7-textarea:focus,
    .cf7_custom_style_2 select.wpcf7-form-control.wpcf7-select:focus,
    .cf7_custom_style_2 input.wpcf7-form-control.wpcf7-quiz:focus{
        <?php echo esc_attr($cf7_custom_style_2_elements_focus_styles); ?>
    }
<?php } ?>

<?php if($cf7_custom_style_2_labels_styles !== ""){ ?>
    .cf7_custom_style_2 p,
	.cf7_custom_style_2 .animate_input_holder .animate_input_text:after{
        <?php echo esc_attr($cf7_custom_style_2_labels_styles); ?>
    }
<?php } ?>

<?php if($cf7_custom_style_2_for_animation_style !== ""){ ?>
	.cf7_custom_style_2 .animate_input_holder .animate_input_text {
        <?php echo esc_attr($cf7_custom_style_2_for_animation_style); ?>
    }
<?php } ?>

<?php if($cf7_custom_style_2_for_animation_holder_style !== ""){ ?>
		.cf7_custom_style_2 .animate_input_holder{
			<?php echo esc_attr($cf7_custom_style_2_for_animation_holder_style); ?>
		}
<?php } ?>

<?php if($cf7_custom_style_2_validation_messages_style !== ""){ ?>
	.cf7_custom_style_2 span.wpcf7-not-valid-tip{
	<?php echo esc_attr($cf7_custom_style_2_validation_messages_style); ?>
	}
<?php } ?>
<?php if($cf7_custom_style_3_button_styles !== ""){ ?>
    .cf7_custom_style_3 input.wpcf7-form-control.wpcf7-submit,
    .cf7_custom_style_3 input.wpcf7-form-control.wpcf7-submit:not([disabled]) {
        <?php echo esc_attr($cf7_custom_style_3_button_styles); ?>
    }
<?php } ?>

<?php if($cf7_custom_style_3_button_hover_styles !== ""){ ?>
    .cf7_custom_style_3 input.wpcf7-form-control.wpcf7-submit:hover,
    .cf7_custom_style_3 input.wpcf7-form-control.wpcf7-submit:not([disabled]):hover {
        <?php echo esc_attr($cf7_custom_style_3_button_hover_styles); ?>
    }
<?php } ?>

<?php if($cf7_custom_style_3_elements_styles !== ""){ ?>
    .cf7_custom_style_3 input.wpcf7-form-control.wpcf7-text,
    .cf7_custom_style_3 input.wpcf7-form-control.wpcf7-number,
    .cf7_custom_style_3 input.wpcf7-form-control.wpcf7-date,
    .cf7_custom_style_3 textarea.wpcf7-form-control.wpcf7-textarea,
    .cf7_custom_style_3 select.wpcf7-form-control.wpcf7-select,
    .cf7_custom_style_3 input.wpcf7-form-control.wpcf7-quiz{
        <?php echo esc_attr($cf7_custom_style_3_elements_styles); ?>
    }
<?php } ?>

<?php if($cf7_custom_style_3_elements_focus_styles !== ""){ ?>
    .cf7_custom_style_3 input.wpcf7-form-control.wpcf7-text:focus,
    .cf7_custom_style_3 input.wpcf7-form-control.wpcf7-number:focus,
    .cf7_custom_style_3 input.wpcf7-form-control.wpcf7-date:focus,
    .cf7_custom_style_3 textarea.wpcf7-form-control.wpcf7-textarea:focus,
    .cf7_custom_style_3 select.wpcf7-form-control.wpcf7-select:focus,
    .cf7_custom_style_3 input.wpcf7-form-control.wpcf7-quiz:focus{
        <?php echo esc_attr($cf7_custom_style_3_elements_focus_styles); ?>
    }
<?php } ?>

<?php if($cf7_custom_style_3_labels_styles !== ""){ ?>
    .cf7_custom_style_3 p,
	.cf7_custom_style_3 .animate_input_holder .animate_input_text:after{
        <?php echo esc_attr($cf7_custom_style_3_labels_styles); ?>
    }
<?php } ?>

<?php if($cf7_custom_style_3_for_animation_style !== ""){ ?>
	.cf7_custom_style_3 .animate_input_holder .animate_input_text {
        <?php echo esc_attr($cf7_custom_style_3_for_animation_style); ?>
    }
<?php } ?>

<?php if($cf7_custom_style_3_for_animation_holder_style !== ""){ ?>
		.cf7_custom_style_3 .animate_input_holder{
			<?php echo esc_attr($cf7_custom_style_3_for_animation_holder_style); ?>
		}
	<?php } ?>

<?php if($cf7_custom_style_3_validation_messages_style !== ""){ ?>
    .cf7_custom_style_3 span.wpcf7-not-valid-tip{
    <?php echo esc_attr($cf7_custom_style_3_validation_messages_style); ?>
    }
<?php } ?>

<?php if($cf7_custom_style_1_color_placeholder !== ""){ ?>
    .cf7_custom_style_1 span.wpcf7-form-control-wrap:after{
        <?php echo esc_attr($cf7_custom_style_1_color_placeholder); ?>
    }
<?php } ?>

<?php if($cf7_custom_style_1_color_placeholder !== ""){ ?>
    .cf7_custom_style_1 ::-webkit-input-placeholder{
        <?php echo esc_attr($cf7_custom_style_1_color_placeholder); ?>
    }
<?php } ?>
<?php if($cf7_custom_style_1_color_placeholder !== ""){ ?>
    .cf7_custom_style_1 :-moz-placeholder{
        <?php echo esc_attr($cf7_custom_style_1_color_placeholder); ?>
    }
<?php } ?>
<?php if($cf7_custom_style_1_color_placeholder !== ""){ ?>
    .cf7_custom_style_1 ::-moz-placeholder{
        <?php echo esc_attr($cf7_custom_style_1_color_placeholder); ?>
    }
<?php } ?>
<?php if($cf7_custom_style_1_color_placeholder !== ""){ ?>
    .cf7_custom_style_1 :-ms-input-placeholder{
        <?php echo esc_attr($cf7_custom_style_1_color_placeholder); ?>
    }
<?php } ?>

<?php if($cf7_custom_style2_color_placeholder !== ""){ ?>
    .cf7_custom_style_2 span.wpcf7-form-control-wrap:after{
        <?php echo esc_attr($cf7_custom_style_2_color_placeholder); ?>
    }
<?php } ?>

<?php if($cf7_custom_style_2_color_placeholder !== ""){ ?>
    .cf7_custom_style_2 ::-webkit-input-placeholder{
    <?php echo esc_attr($cf7_custom_style_2_color_placeholder); ?>
    }
<?php } ?>
<?php if($cf7_custom_style_2_color_placeholder !== ""){ ?>
    .cf7_custom_style_2 :-moz-placeholder{
    <?php echo esc_attr($cf7_custom_style_2_color_placeholder); ?>
    }
<?php } ?>
<?php if($cf7_custom_style_2_color_placeholder !== ""){ ?>
    .cf7_custom_style_2 ::-moz-placeholder{
    <?php echo esc_attr($cf7_custom_style_2_color_placeholder); ?>
    }
<?php } ?>
<?php if($cf7_custom_style_2_color_placeholder !== ""){ ?>
    .cf7_custom_style_2 :-ms-input-placeholder{
    <?php echo esc_attr($cf7_custom_style_2_color_placeholder); ?>
    }
<?php } ?>
<?php if($cf7_custom_style_3_color_placeholder !== ""){ ?>
    .cf7_custom_style_3 span.wpcf7-form-control-wrap:after{
        <?php echo esc_attr($cf7_custom_style_3_color_placeholder); ?>
    }
<?php } ?>
<?php if($cf7_custom_style_3_color_placeholder !== ""){ ?>
    .cf7_custom_style_3 ::-webkit-input-placeholder{
        <?php echo esc_attr($cf7_custom_style_3_color_placeholder); ?>
    }
<?php } ?>
<?php if($cf7_custom_style_3_color_placeholder !== ""){ ?>
    .cf7_custom_style_3 :-moz-placeholder{
        <?php echo esc_attr($cf7_custom_style_3_color_placeholder); ?>
    }
<?php } ?>
<?php if($cf7_custom_style_3_color_placeholder !== ""){ ?>
    .cf7_custom_style_3 ::-moz-placeholder{
        <?php echo esc_attr($cf7_custom_style_3_color_placeholder); ?>
    }
<?php } ?>
<?php if($cf7_custom_style_3_color_placeholder !== ""){ ?>
    .cf7_custom_style_3 :-ms-input-placeholder{
        <?php echo esc_attr($cf7_custom_style_3_color_placeholder); ?>
    }
<?php } ?>
	<?php if($cf7_custom_style_1_focus_color_placeholder !== ""){ ?>
		.cf7_custom_style_1 input:focus::-webkit-input-placeholder,
		.cf7_custom_style_1 textarea:focus::-webkit-input-placeholder{
		<?php echo esc_attr($cf7_custom_style_1_focus_color_placeholder); ?>
		}
	<?php } ?>
	<?php if($cf7_custom_style_1_focus_color_placeholder !== ""){ ?>
		.cf7_custom_style_1 input:focus:-moz-placeholder,
		.cf7_custom_style_1 textarea:focus:-moz-placeholder{
		<?php echo esc_attr($cf7_custom_style_1_focus_color_placeholder); ?>
		}
	<?php } ?>
	<?php if($cf7_custom_style_1_focus_color_placeholder !== ""){ ?>
		.cf7_custom_style_1 input:focus::-moz-placeholder,
		.cf7_custom_style_1 textarea:focus::-moz-placeholder{
		<?php echo esc_attr($cf7_custom_style_1_focus_color_placeholder); ?>
		}
	<?php } ?>
	<?php if($cf7_custom_style_1_focus_color_placeholder !== ""){ ?>
		.cf7_custom_style_1 input:focus:-ms-input-placeholder,
		.cf7_custom_style_1 textarea:focus:-ms-input-placeholder{
		<?php echo esc_attr($cf7_custom_style_1_focus_color_placeholder); ?>
		}
	<?php } ?>
	<?php if($cf7_custom_style_2_focus_color_placeholder !== ""){ ?>
		.cf7_custom_style_2 input:focus::-webkit-input-placeholder,
		.cf7_custom_style_2 textarea:focus::-webkit-input-placeholder{
		<?php echo esc_attr($cf7_custom_style_2_focus_color_placeholder); ?>
		}
	<?php } ?>
	<?php if($cf7_custom_style_2_focus_color_placeholder !== ""){ ?>
		.cf7_custom_style_2 input:focus:-moz-placeholder,
		.cf7_custom_style_2 textarea:focus:-moz-placeholder{
		<?php echo esc_attr($cf7_custom_style_2_focus_color_placeholder); ?>
		}
	<?php } ?>
	<?php if($cf7_custom_style_2_focus_color_placeholder !== ""){ ?>
		.cf7_custom_style_2 input:focus::-moz-placeholder,
		.cf7_custom_style_2 textarea:focus::-moz-placeholder{
		<?php echo esc_attr($cf7_custom_style_2_focus_color_placeholder); ?>
		}
	<?php } ?>
	<?php if($cf7_custom_style_2_focus_color_placeholder !== ""){ ?>
		.cf7_custom_style_2 input:focus:-ms-input-placeholder,
		.cf7_custom_style_2 textarea:focus:-ms-input-placeholder{
		<?php echo esc_attr($cf7_custom_style_2_focus_color_placeholder); ?>
		}
	<?php } ?>
	<?php if($cf7_custom_style_3_focus_color_placeholder !== ""){ ?>
		.cf7_custom_style_3 input:focus::-webkit-input-placeholder,
		.cf7_custom_style_3 textarea:focus::-webkit-input-placeholder{
		<?php echo esc_attr($cf7_custom_style_3_focus_color_placeholder); ?>
		}
	<?php } ?>
	<?php if($cf7_custom_style_3_focus_color_placeholder !== ""){ ?>
		.cf7_custom_style_3 input:focus:-moz-placeholder,
		.cf7_custom_style_3 textarea:focus:-moz-placeholder{
		<?php echo esc_attr($cf7_custom_style_3_focus_color_placeholder); ?>
		}
	<?php } ?>
	<?php if($cf7_custom_style_3_focus_color_placeholder !== ""){ ?>
		.cf7_custom_style_3 input:focus::-moz-placeholder,
		.cf7_custom_style_3 textarea:focus::-moz-placeholder{
		<?php echo esc_attr($cf7_custom_style_3_focus_color_placeholder); ?>
		}
	<?php } ?>
	<?php if($cf7_custom_style_3_focus_color_placeholder !== ""){ ?>
		.cf7_custom_style_3 input:focus:-ms-input-placeholder,
		.cf7_custom_style_3 textarea:focus:-ms-input-placeholder{
		<?php echo esc_attr($cf7_custom_style_3_focus_color_placeholder); ?>
		}
	<?php } ?>
	
	
	
<?php
} //end custom style contact form 7
?>

<?php
    if(isset($eltd_options['cf7_custom_style_1_element_textarea_height']) && $eltd_options['cf7_custom_style_1_element_textarea_height'] !== '') {?>
        .cf7_custom_style_1 textarea.wpcf7-form-control.wpcf7-textarea{
            height: <?php echo esc_attr($eltd_options['cf7_custom_style_1_element_textarea_height']); ?>px;
    }
<?php } ?>
<?php
if(isset($eltd_options['cf7_custom_style_2_element_textarea_height']) && $eltd_options['cf7_custom_style_2_element_textarea_height'] !== '') {?>
    .cf7_custom_style_2 textarea.wpcf7-form-control.wpcf7-textarea{
    height: <?php echo esc_attr($eltd_options['cf7_custom_style_2_element_textarea_height']); ?>px;
    }
<?php } ?>
<?php
if(isset($eltd_options['cf7_custom_style_3_element_textarea_height']) && $eltd_options['cf7_custom_style_3_element_textarea_height'] !== '') {?>
    .cf7_custom_style_3 textarea.wpcf7-form-control.wpcf7-textarea{
    height: <?php echo esc_attr($eltd_options['cf7_custom_style_3_element_textarea_height']); ?>px;
    }
<?php } ?>


<?php
$page_404_title_style = array();

if(isset($eltd_options['404_title_font_family']) && $eltd_options['404_title_font_family'] !== '-1') {
    $page_404_title_style[] = 'font-family: '.str_replace('+', ' ', $eltd_options['404_title_font_family']).', sans-serif';
}

if(isset($eltd_options['404_title_font_size']) && $eltd_options['404_title_font_size'] !== '') {
    $page_404_title_style[] = 'font-size: '.$eltd_options['404_title_font_size'].'px';
}

if(isset($eltd_options['404_title_line_height']) && $eltd_options['404_title_line_height'] !== '') {
    $page_404_title_style[] = 'line-height: '.$eltd_options['404_title_line_height'].'px';
}

if(isset($eltd_options['404_title_letter_spacing']) && $eltd_options['404_title_letter_spacing'] !== '') {
    $page_404_title_style[] = 'letter-spacing: '.$eltd_options['404_title_letter_spacing'].'px';
}

if(isset($eltd_options['404_title_font_weight']) && $eltd_options['404_title_font_weight'] !== '') {
    $page_404_title_style[] = 'font-weight: '.$eltd_options['404_title_font_weight'];
}

if(isset($eltd_options['404_title_font_style']) && $eltd_options['404_title_font_style'] !== '') {
    $page_404_title_style[] = 'font-style: '.$eltd_options['404_title_font_style'];
}

if(isset($eltd_options['404_title_text_transform']) && $eltd_options['404_title_text_transform'] !== '') {
    $page_404_title_style[] = 'text-transform: '.$eltd_options['404_title_text_transform'];
}

if(isset($eltd_options['404_title_color']) && $eltd_options['404_title_color'] !== '') {
    $page_404_title_style[] = 'color: '.$eltd_options['404_title_color'];
}

if(is_array($page_404_title_style) && count($page_404_title_style)) { ?>
    .page_not_found h2{
    <?php echo esc_attr(implode(';', $page_404_title_style)); ?>
    }
<?php } ?>

<?php
$page_404_text_style = array();

if(isset($eltd_options['404_text_font_family']) && $eltd_options['404_text_font_family'] !== '-1') {
    $page_404_text_style[] = 'font-family: '.str_replace('+', ' ', $eltd_options['404_text_font_family']).', sans-serif';
}

if(isset($eltd_options['404_text_font_size']) && $eltd_options['404_text_font_size'] !== '') {
    $page_404_text_style[] = 'font-size: '.$eltd_options['404_text_font_size'].'px';
}

if(isset($eltd_options['404_text_line_height']) && $eltd_options['404_text_line_height'] !== '') {
    $page_404_text_style[] = 'line-height: '.$eltd_options['404_text_line_height'].'px';
}

if(isset($eltd_options['404_text_letter_spacing']) && $eltd_options['404_text_letter_spacing'] !== '') {
    $page_404_text_style[] = 'letter-spacing: '.$eltd_options['404_text_letter_spacing'].'px';
}

if(isset($eltd_options['404_text_font_weight']) && $eltd_options['404_text_font_weight'] !== '') {
    $page_404_text_style[] = 'font-weight: '.$eltd_options['404_text_font_weight'];
}

if(isset($eltd_options['404_text_font_style']) && $eltd_options['404_text_font_style'] !== '') {
    $page_404_text_style[] = 'font-style: '.$eltd_options['404_text_font_style'];
}

if(isset($eltd_options['404_text_text_transform']) && $eltd_options['404_text_text_transform'] !== '') {
    $page_404_text_style[] = 'text-transform: '.$eltd_options['404_text_text_transform'];
}

if(isset($eltd_options['404_text_color']) && $eltd_options['404_text_color'] !== '') {
    $page_404_text_style[] = 'color: '.$eltd_options['404_text_color'];
}

if(is_array($page_404_text_style) && count($page_404_text_style)) { ?>
    .page_not_found h4{
    <?php echo esc_attr(implode(';', $page_404_text_style)); ?>
    }
<?php } ?>

<?php
if(is_admin_bar_showing()){
    ?>

    @media only screen and (min-width: 1000px){
    header.sticky.sticky_animate,
    header.fixed{
    padding-top: 32px !important;
    }

	header.sticky .eltd_search_form, header.sticky .eltd_search_form_3,
    header.fixed .eltd_search_form, header.fixed .eltd_search_form_3{
        top: 32px;
    }

    .side_menu{
    top: 32px;
    }
    }

<?php
}
?>

<?php

//Title styles

$title_content_background_color_rgb = array();
$title_content_background_color_opacity = "";
$title_content_padding = array();
$title_content_mobile_padding = array();    // if padding is big, there will be problem on mobile
                                            // if set more then 15px, bellow 480px padding is 10px

if (isset($eltd_options['title_content_background_color']) && !empty($eltd_options['title_content_background_color'])) {
    $title_content_background_color_rgb = eltd_hex2rgb($eltd_options['title_content_background_color']);
}

if (isset($eltd_options['title_content_background_opacity']) && !empty($eltd_options['title_content_background_opacity'])) {
    $title_content_background_color_opacity = $eltd_options['title_content_background_opacity'];
}
else{
    $title_content_background_color_opacity = 1;
}

if (isset($eltd_options['title_content_span_top_padding']) && !empty($eltd_options['title_content_span_top_padding'])) {
    $title_content_padding[] = 'padding-top: ' . $eltd_options['title_content_span_top_padding'] . 'px';
    if($eltd_options['title_content_span_top_padding'] > 25){
        $title_content_mobile_padding[] = 'padding-top: 25px';    
    }   
}
if (isset($eltd_options['title_content_span_right_padding']) && !empty($eltd_options['title_content_span_right_padding'])) {
    $title_content_padding[] = 'padding-right: ' . $eltd_options['title_content_span_right_padding'] . 'px';
    if($eltd_options['title_content_span_right_padding'] > 25){
        $title_content_mobile_padding[] = 'padding-right: 25px';
    }
}
if (isset($eltd_options['title_content_span_bottom_padding']) && !empty($eltd_options['title_content_span_bottom_padding'])) {
    $title_content_padding[] = 'padding-bottom: ' . $eltd_options['title_content_span_bottom_padding'] . 'px';
    if($eltd_options['title_content_span_bottom_padding'] > 25){
        $title_content_mobile_padding[] = 'padding-bottom: 25px';
    }
}
if (isset($eltd_options['title_content_span_left_padding']) && !empty($eltd_options['title_content_span_left_padding'])) {
    $title_content_padding[] = 'padding-left: ' . $eltd_options['title_content_span_left_padding'] . 'px';
    if($eltd_options['title_content_span_left_padding'] > 25){
        $title_content_mobile_padding[] = 'padding-left: 25px';
    }
}

if (is_array($title_content_background_color_rgb) && count($title_content_background_color_rgb)) { ?>
.title_content_background{
    background-color: rgba(<?php echo esc_attr($title_content_background_color_rgb[0].','.$title_content_background_color_rgb[1].','.$title_content_background_color_rgb[2].','.$title_content_background_color_opacity); ?>);
}
<?php }

if (is_array($title_content_padding) && count($title_content_padding)) { ?>
	.title .title_content_background{
	<?php echo esc_attr(implode(';',$title_content_padding));?>
}
<?php }

if (is_array($title_content_mobile_padding) && count($title_content_mobile_padding)) { ?>
    @media only screen and (max-width: 600px) {
        .title .title_content_background{
            <?php echo esc_attr(implode(';',$title_content_mobile_padding));?>
        }
    }
<?php }

?>

<?php

$title_content_shadows_style = '';
if(isset($eltd_options['title_content_shadows']) && $eltd_options['title_content_shadows'] == 'yes') {
    $title_content_shadows_h_shadow = '1';
    if(isset($eltd_options['title_content_shadow_horizontal_shadow']) && $eltd_options['title_content_shadow_horizontal_shadow'] !== '') {
            $title_content_shadows_h_shadow = $eltd_options['title_content_shadow_horizontal_shadow'];
    }

    $title_content_shadows_v_shadow = '1';
    if(isset($eltd_options['title_content_shadow_vertical_shadow']) && $eltd_options['title_content_shadow_vertical_shadow'] !== '') {
            $title_content_shadows_v_shadow = $eltd_options['title_content_shadow_vertical_shadow'];
    }

    $title_content_shadows_blur = '1';
    if(isset($eltd_options['title_content_shadow_blur_distance']) && $eltd_options['title_content_shadow_blur_distance'] !== '') {
            $title_content_shadows_blur = $eltd_options['title_content_shadow_blur_distance'];
    }

    $title_content_shadows_spread = '1';
    if(isset($eltd_options['title_content_shadow_shadow_size']) && $eltd_options['title_content_shadow_shadow_size'] !== '') {
            $title_content_shadows_spread = $eltd_options['title_content_shadow_shadow_size'];
    }

    $title_content_shadows_shadow_color = '#afafaf';
    if(isset($eltd_options['title_content_shadow_shadow_color']) && $eltd_options['title_content_shadow_shadow_color'] !== '') {
            $title_content_shadows_color = $eltd_options['title_content_shadow_shadow_color'];
    }

    $title_content_shadows_style = 'box-shadow: '.esc_attr($title_content_shadows_h_shadow.'px '.$title_content_shadows_v_shadow.'px '.$title_content_shadows_blur.'px '.$title_content_shadows_spread.'px '.$title_content_shadows_color).';';
    if($title_content_shadows_style != '') { ?>
            .title.title_content_shadow .title_subtitle_holder_inner{
            <?php echo esc_attr($title_content_shadows_style); ?>
            }
    <?php }
}?>


<?php

$title_span_background_color_rgb = array();
$title_span_opacity = "";
$title_span_padding = array();

if (isset($eltd_options['title_span_background_color']) && !empty($eltd_options['title_span_background_color'])) {
    $title_span_background_color_rgb = eltd_hex2rgb($eltd_options['title_span_background_color']);
}

if (isset($eltd_options['title_span_background_opacity']) && !empty($eltd_options['title_span_background_opacity'])) {
    $title_span_opacity = $eltd_options['title_span_background_opacity'];
}
else {
    $title_span_opacity = 1;
}

if (isset($eltd_options['title_span_top_padding']) && !empty($eltd_options['title_span_top_padding'])) {
    $title_span_padding[] = 'padding-top: ' . $eltd_options['title_span_top_padding'] . 'px';
}
if (isset($eltd_options['title_span_right_padding']) && !empty($eltd_options['title_span_right_padding'])) {
    $title_span_padding[] = 'padding-right: ' . $eltd_options['title_span_right_padding'] . 'px';
}
if (isset($eltd_options['title_span_bottom_padding']) && !empty($eltd_options['title_span_bottom_padding'])) {
    $title_span_padding[] = 'padding-bottom: ' . $eltd_options['title_span_bottom_padding'] . 'px';
}
if (isset($eltd_options['title_span_left_padding']) && !empty($eltd_options['title_span_left_padding'])) {
    $title_span_padding[] = 'padding-left: ' . $eltd_options['title_span_left_padding'] . 'px';
}
?>

<?php if ((is_array($title_span_padding) && count($title_span_padding)) || (is_array($title_span_background_color_rgb) && count($title_span_background_color_rgb))) { ?>
    .title_subtitle_holder h1 > span,.title_subtitle_holder h1:not(.title_in_box) .separator_content{
    <?php if (is_array($title_span_background_color_rgb) && count($title_span_background_color_rgb)) { ?>
        background-color: rgba(<?php echo esc_attr($title_span_background_color_rgb[0].','.$title_span_background_color_rgb[1].','.$title_span_background_color_rgb[2].','.$title_span_opacity); ?>);
    <?php } ?>
    <?php if (is_array($title_span_padding) && count($title_span_padding)) {
        echo esc_attr(implode(';',$title_span_padding));
        }?>
    }
<?php } ?>


<?php

$subtitle_span_background_color_rgb = array();
$subtitle_span_opacity = "";
$subtitle_span_padding = array();

if (isset($eltd_options['subtitle_span_background_color']) && !empty($eltd_options['subtitle_span_background_color'])) {
    $subtitle_span_background_color_rgb = eltd_hex2rgb($eltd_options['subtitle_span_background_color']);
}

if (isset($eltd_options['subtitle_span_background_opacity']) && !empty($eltd_options['subtitle_span_background_opacity'])) {
    $subtitle_span_opacity = $eltd_options['subtitle_span_background_opacity'];
}
else{
    $subtitle_span_opacity = 1;
}

if (isset($eltd_options['subtitle_span_top_padding']) && !empty($eltd_options['subtitle_span_top_padding'])) {
    $subtitle_span_padding[] = 'padding-top: ' . $eltd_options['subtitle_span_top_padding'] . 'px';
}
if (isset($eltd_options['subtitle_span_right_padding']) && !empty($eltd_options['subtitle_span_right_padding'])) {
    $subtitle_span_padding[] = 'padding-right: ' . $eltd_options['subtitle_span_right_padding'] . 'px';
}
if (isset($eltd_options['subtitle_span_bottom_padding']) && !empty($eltd_options['subtitle_span_bottom_padding'])) {
    $subtitle_span_padding[] = 'padding-bottom: ' . $eltd_options['subtitle_span_bottom_padding'] . 'px';
}
if (isset($eltd_options['subtitle_span_left_padding']) && !empty($eltd_options['subtitle_span_left_padding'])) {
    $subtitle_span_padding[] = 'padding-left: ' . $eltd_options['subtitle_span_left_padding'] . 'px';
}?>


<?php if ((is_array($subtitle_span_background_color_rgb) && count($subtitle_span_background_color_rgb)) || (is_array($subtitle_span_padding) && count($subtitle_span_padding))) { ?>
    .title_subtitle_holder .subtitle:not(.subtitle_like_separator) > span, .subtitle_like_separator:not(.subtitle_in_box) .vc_text_separator.full .separator_content{
    <?php if (is_array($subtitle_span_background_color_rgb) && count($subtitle_span_background_color_rgb)) { ?>
        background-color: rgba(<?php echo esc_attr($subtitle_span_background_color_rgb[0].','.$subtitle_span_background_color_rgb[1].','.$subtitle_span_background_color_rgb[2].','.$subtitle_span_opacity); ?>);
    <?php } ?>
    <?php if (is_array($subtitle_span_padding) && count($subtitle_span_padding)) {
         echo esc_attr(implode(';',$subtitle_span_padding));
        }?>
    }
<?php } ?>


 <?php if(function_exists('is_woocommerce')) { ?>

<?php //This is here because when css file is compressed  calc() doesn't work ?>
	
<?php 
$border_width = 1;
if(isset($eltd_options['woo_products_item_borders_width']) && $eltd_options['woo_products_item_borders_width'] != ""){
	$border_width = $eltd_options['woo_products_item_borders_width'];
} ?>	

@media only screen and (min-width: 1000px) {

	.woocommerce.columns-2 ul.products.type1.article_no_space li.product,
	.woocommerce-page.columns-3 .woocommerce_with_sidebar ul.products.type1.article_no_space li.product,
	.grid2 .woocommerce.columns-3 ul.products.type1.article_no_space li.product{
		width: 50%;
    	width: -moz-calc(50% + <?php echo esc_attr($border_width)?>px);
    	width: -webkit-calc(50% + <?php echo esc_attr($border_width)?>px);
    	width: -o-calc(50% + <?php echo esc_attr($border_width)?>px);
    	width: calc(50% + <?php echo esc_attr($border_width)?>px);
		margin: -<?php  echo esc_attr($border_width/2);?>px !important;
	}
	
	.woocommerce.columns-3 ul.products.type1.article_no_space li.product,
    .woocommerce-page.columns-4 .woocommerce_with_sidebar ul.products.type1.article_no_space li.product,
	.grid2 .woocommerce.columns-4 ul.products.type1.article_no_space li.product,
	.grid2 .woocommerce.columns-5 ul.products.type1.article_no_space li.product{
		width: 33.33333%;
    	width: -moz-calc(33.33333% + <?php echo esc_attr($border_width)?>px);
    	width: -webkit-calc(33.33333% + <?php echo esc_attr($border_width)?>px);
    	width: -o-calc(33.33333% + <?php echo esc_attr($border_width)?>px);
    	width: calc(33.33333% + <?php echo esc_attr($border_width)?>px);
		margin: -<?php  echo esc_attr($border_width/2);?>px !important;
	}    
	
	.woocommerce.columns-4 ul.products.type1.article_no_space li.product{
		width: 25%;
    	width: -moz-calc(25% + <?php echo esc_attr($border_width)?>px);
    	width: -webkit-calc(25% + <?php echo esc_attr($border_width)?>px);
    	width: -o-calc(25% + <?php echo esc_attr($border_width)?>px);
    	width: calc(25% + <?php echo esc_attr($border_width)?>px);
		margin: -<?php  echo esc_attr($border_width/2);?>px !important;
	}
	
	.woocommerce.columns-5 ul.products.type1.article_no_space li.product{
		width:20%;
    	width: -moz-calc(20% + <?php echo esc_attr($border_width)?>px);
    	width: -webkit-calc(20% + <?php echo esc_attr($border_width)?>px);
    	width: -o-calc(20% + <?php echo esc_attr($border_width)?>px);
    	width: calc(20% + <?php echo esc_attr($border_width)?>px);
		margin: -<?php  echo esc_attr($border_width/2);?>px !important;
	}
}


@media only screen and (min-width: 480px) and (max-width: 1000px) {
	
	.woocommerce ul.products.type1.article_no_space  li.product,
    .woocommerce-page ul.products.type1.article_no_space  li.product,
    .woocommerce  .woocommerce_with_sidebar  ul.products.type1.article_no_space  li.product,
    .woocommerce-page  .woocommerce_with_sidebar  ul.products.type1.article_no_space  li.product,
    .woocommerce.columns-2 ul.products.type1.article_no_space li.product,
    .woocommerce-page.columns-3 .woocommerce_with_sidebar ul.products.type1.article_no_space li.product,
    .woocommerce.columns-3 ul.products.type1.article_no_space li.product,
    .woocommerce-page.columns-4 .woocommerce_with_sidebar ul.products.type1.article_no_space li.product,
    .woocommerce.columns-4 ul.products.type1.article_no_space li.product,
    .woocommerce-page .related.products ul.products.type1.article_no_space li.product,
    .woocommerce.columns-5 ul.products.type1.article_no_space li.product{
		width: 50%;
		width: -moz-calc(50% + <?php echo esc_attr($border_width)?>px);
		width: -webkit-calc(50% + <?php echo esc_attr($border_width)?>px);
		width: -o-calc(50% + <?php echo esc_attr($border_width)?>px);
		width: calc(50% + <?php echo esc_attr($border_width)?>px);
		margin: -<?php echo esc_attr($border_width/2);?>px !important;
	}
}
 <?php } ?>

<?php if (!empty($eltd_options['woo_input_background_color']) || !empty($eltd_options['woo_input_border_color']) || !empty($eltd_options['woo_input_text_color'])) { ?>
    .woocommerce .content input[type="text"]:not(.eltd_search_field):not(.qty),
    .woocommerce-page .content input[type="text"]:not(.eltd_search_field):not(.qty),
    .woocommerce .content input[type="email"],
	.woocommerce .content input[type="tel"],
    .woocommerce-page .content input[type="email"],
	.woocommerce-page .content input[type="tel"],
    .woocommerce .content textarea,
    .woocommerce-page .content textarea,
    .woocommerce .content input[type="password"],
    .woocommerce-page .content input[type="password"],
    .woocommerce .chosen-container.chosen-container-single .chosen-single,
    .woocommerce-page .chosen-container.chosen-container-single .chosen-single,
    .woocommerce-checkout .chosen-container.chosen-container-single .chosen-single,
    .woocommerce .content table.cart div.coupon .input-text,
    .woocommerce-page .content table.cart div.coupon .input-text,
    .woocommerce div.cart-collaterals .select2-container .select2-choice,
    .woocommerce-page div.cart-collaterals .select2-container .select2-choice,
	.woocommerce #commentform input[type="text"],
    .woocommerce #commentform input[type="email"],
    .woocommerce #commentform textarea,
    .woocommerce-checkout .select2-container .select2-choice,
    .woocommerce-account .select2-container .select2-choice,
    .woocommerce-page .select2-drop input[type="text"]{
    <?php if (!empty($eltd_options['woo_input_background_color'])) { ?>background-color: <?php echo esc_attr($eltd_options['woo_input_background_color']);  ?>; <?php } ?>
    <?php if (!empty($eltd_options['woo_input_border_color'])) { ?>border-color: <?php echo esc_attr($eltd_options['woo_input_border_color']);  ?>!important; <?php } ?>
    <?php if (!empty($eltd_options['woo_input_text_color'])) { ?>color:<?php echo esc_attr($eltd_options['woo_input_text_color']);  ?>; <?php } ?>
    }
<?php } ?>

<?php if(!empty($eltd_options['woo_input_border_width'])) { ?>
    .woocommerce .content input[type="text"]:not(.eltd_search_field):not(.qty),
    .woocommerce-page .content input[type="text"]:not(.eltd_search_field):not(.qty),
    .woocommerce .content input[type="email"],
	.woocommerce .content input[type="tel"],
    .woocommerce-page .content input[type="email"],
	.woocommerce-page .content input[type="tel"],
    .woocommerce .content textarea,
    .woocommerce-page .content textarea,
    .woocommerce .content input[type="password"],
    .woocommerce-page .content input[type="password"],
    .woocommerce .content table.cart div.coupon .input-text,
    .woocommerce-page .content table.cart div.coupon .input-text,
    .select2-container .select2-choice,
    .woocommerce .chosen-container.chosen-container-single .chosen-single,
    .woocommerce-page .chosen-container.chosen-container-single .chosen-single,
    .woocommerce-checkout .chosen-container.chosen-container-single .chosen-single,
    .woocommerce select#pa_color,
	.woocommerce #commentform input[type="text"],
    .woocommerce #commentform input[type="email"],
    .woocommerce #commentform textarea,
    .woocommerce-checkout .select2-container .select2-choice,
    .woocommerce-account .select2-container .select2-choice,
    .woocommerce-page .select2-drop input[type="text"]{
    border-width: <?php echo esc_attr($eltd_options['woo_input_border_width']); ?>px;
    }
<?php } ?>


<?php if(!empty($eltd_options['woo_input_focus_text_color']) || !empty($eltd_options['woo_input_focus_background_color']) || !empty($eltd_options['woo_input_focus_border_color'])) { ?>
    .woocommerce .content input[type="text"]:not(.eltd_search_field):not(.qty):focus,
    .woocommerce-page .content input[type="text"]:not(.eltd_search_field):not(.qty):focus,
    .woocommerce .content input[type="email"]:focus,
	.woocommerce .content input[type="tel"]:focus,
    .woocommerce-page .content input[type="email"]:focus,
	.woocommerce-page .content input[type="tel"]:focus,
    .woocommerce .content textarea:focus,
    .woocommerce-page .content textarea:focus,
    .woocommerce .content input[type="password"]:focus,
    .woocommerce-page .content input[type="password"]:focus,
    .woocommerce .content table.cart div.coupon .input-text:focus,
    .woocommerce-page .content table.cart div.coupon .input-text:focus,
	.woocommerce #commentform input[type="text"]:focus,
    .woocommerce #commentform input[type="email"]:focus,
    .woocommerce #commentform textarea:focus,
    .woocommerce-checkout .select2-container .select2-choice:focus,
    .woocommerce-account .select2-container .select2-choice:focus,
    .woocommerce-page .select2-drop input[type="text"]:focus{
    <?php if (!empty($eltd_options['woo_input_focus_text_color'])) { ?>color: <?php echo esc_attr($eltd_options['woo_input_focus_text_color']);  ?>; <?php } ?>
    <?php if (!empty($eltd_options['woo_input_focus_background_color'])) { ?>background-color: <?php echo esc_attr($eltd_options['woo_input_focus_background_color']);  ?>; <?php } ?>
    <?php if (!empty($eltd_options['woo_input_focus_border_color'])) { ?>border-color: <?php echo esc_attr($eltd_options['woo_input_focus_border_color']);  ?>!important; <?php } ?>
    }

    .woocommerce .content input[type="text"]:not(.eltd_search_field):not(.qty):focus::-webkit-input-placeholder,
    .woocommerce-page .content input[type="text"]:not(.eltd_search_field):not(.qty):focus::-webkit-input-placeholder,
    .woocommerce .content input[type="email"]:focus::-webkit-input-placeholder,
	.woocommerce .content input[type="tel"]:focus::-webkit-input-placeholder,
    .woocommerce-page .content input[type="email"]:focus::-webkit-input-placeholder,
	.woocommerce-page .content input[type="tel"]:focus::-webkit-input-placeholder,
    .woocommerce .content textarea:focus::-webkit-input-placeholder,
    .woocommerce-page .content textarea:focus::-webkit-input-placeholder,
    .woocommerce .content input[type="password"]:focus::-webkit-input-placeholder,
    .woocommerce-page .content input[type="password"]:focus::-webkit-input-placeholder,
    .woocommerce .content table.cart div.coupon .input-text:focus::-webkit-input-placeholder,
    .woocommerce-page .content table.cart div.coupon .input-text:focus::-webkit-input-placeholder,
    .woocommerce #commentform input[type="text"]:focus::-webkit-input-placeholder,
    .woocommerce #commentform input[type="email"]:focus::-webkit-input-placeholder,
    .woocommerce #commentform textarea:focus::-webkit-input-placeholder,
    .woocommerce-checkout .select2-container .select2-choice:focus::-webkit-input-placeholder,
    .woocommerce-account .select2-container .select2-choice:focus::-webkit-input-placeholder, 
    .woocommerce-page .select2-drop input[type="text"]:focus::-webkit-input-placeholder{
    <?php if (!empty($eltd_options['woo_input_focus_text_color'])) { ?>color: <?php echo esc_attr($eltd_options['woo_input_focus_text_color']);  ?>; <?php } ?>
    }
    .woocommerce .content input[type="text"]:not(.eltd_search_field):not(.qty):focus::-moz-placeholder,
    .woocommerce-page .content input[type="text"]:not(.eltd_search_field):not(.qty):focus::-moz-placeholder,
    .woocommerce .content input[type="email"]:focus::-moz-placeholder,
	.woocommerce .content input[type="tel"]:focus::-moz-placeholder,
    .woocommerce-page .content input[type="email"]:focus::-moz-placeholder,
	.woocommerce-page .content input[type="tel"]:focus::-moz-placeholder,
    .woocommerce .content textarea:focus::-moz-placeholder,
    .woocommerce-page .content textarea:focus::-moz-placeholder,
    .woocommerce .content input[type="password"]:focus::-moz-placeholder,
    .woocommerce-page .content input[type="password"]:focus::-moz-placeholder,
    .woocommerce .content table.cart div.coupon .input-text:focus::-moz-placeholder,
    .woocommerce-page .content table.cart div.coupon .input-text:focus::-moz-placeholder,
    .woocommerce #commentform input[type="text"]:focus::-moz-placeholder,
    .woocommerce #commentform input[type="email"]:focus::-moz-placeholder,
    .woocommerce #commentform textarea:focus::-moz-placeholder,
    .woocommerce-checkout .select2-container .select2-choice:focus::-moz-placeholder,
    .woocommerce-account .select2-container .select2-choice:focus::-moz-placeholder, 
    .woocommerce-page .select2-drop input[type="text"]:focus::-moz-placeholder{
    <?php if (!empty($eltd_options['woo_input_focus_text_color'])) { ?>color: <?php echo esc_attr($eltd_options['woo_input_focus_text_color']);  ?>; <?php } ?>
    }
<?php } ?>

<?php

$woo_message_box_style = array();

if(isset($eltd_options['woo_message_box_text_color']) && $eltd_options['woo_message_box_text_color'] !== '') {
    $woo_message_box_style[] = 'color: '.esc_attr($eltd_options['woo_message_box_text_color']);
}

if(isset($eltd_options['woo_message_box_font_size']) && $eltd_options['woo_message_box_font_size'] !== '') {
    $woo_message_box_style[] = 'font-size: '.esc_attr($eltd_options['woo_message_box_font_size'].'px');
}

if(isset($eltd_options['woo_message_box_background_color']) && $eltd_options['woo_message_box_background_color'] !== '') {
    $woo_message_box_style[] = 'background-color: '.esc_attr($eltd_options['woo_message_box_background_color']);
}

if(isset($eltd_options['woo_message_box_border_color']) && $eltd_options['woo_message_box_border_color'] !== '') {
    $woo_message_box_style[] = 'border-color: '.esc_attr($eltd_options['woo_message_box_border_color']);?>
	.woocommerce div.message,
	.woocommerce .woocommerce-message,
	.woocommerce .woocommerce-error,
	.woocommerce .woocommerce-info,
	.myaccount_user{
	border-width: 1px;
	border-style:solid;
	}
	<?php
}

if(is_array($woo_message_box_style) && count($woo_message_box_style)) { ?>
    .woocommerce div.message,
	.woocommerce .woocommerce-message,
	.woocommerce .woocommerce-error,
	.woocommerce .woocommerce-info,
	.myaccount_user{
    <?php echo esc_attr(implode(';', $woo_message_box_style)); ?>
    }
<?php } ?>

<?php if(isset($eltd_options['woo_products_enable_full_width_template'])&& $eltd_options['woo_products_enable_full_width_template'] == "yes"){
	$woo_full_width_template_margin_style = array();

	if(isset($eltd_options['woo_full_width_margin_left']) && $eltd_options['woo_full_width_margin_left'] !=""){
		$woo_full_width_template_margin_style[] ='padding-left: '.$eltd_options['woo_full_width_margin_left'];
	}

	if(isset($eltd_options['woo_full_width_margin_right']) && $eltd_options['woo_full_width_margin_right'] !=""){
		$woo_full_width_template_margin_style[] ='padding-right: '.$eltd_options['woo_full_width_margin_right'];
	}

	if(is_array($woo_full_width_template_margin_style) && count($woo_full_width_template_margin_style)){?>
	.woocommerce.woocommerce-page .content .full_width .full_width_inner{
		<?php echo esc_attr(implode(';',$woo_full_width_template_margin_style))?>
	}
	<?php }
}
?>

<?php

if(isset($eltd_options['woo_products_item_info_box_background_color']) && $eltd_options['woo_products_item_info_box_background_color'] !== '') {?>
		.woocommerce ul.products li.product .product_info_box{
			background-color:<?php echo esc_attr($eltd_options['woo_products_item_info_box_background_color']);?>;
		}
<?php } ?>

<?php if(isset($eltd_options['woo_products_item_info_box_padding']) && $eltd_options['woo_products_item_info_box_padding'] != ""){ ?>
		.woocommerce-page ul.products li.product>.product_info_box,
		.woocommerce ul.products li.product>.product_info_box{
			padding: <?php echo esc_attr($eltd_options['woo_products_item_info_box_padding']); ?>;
		}
<?php } ?>

<?php

if(isset($eltd_options['woo_products_list_margin_top']) && $eltd_options['woo_products_list_margin_top'] !== '') { ?>
	.woocommerce-result-count,
	.woocommerce-ordering{
		padding-top: <?php echo esc_attr($eltd_options['woo_products_list_margin_top']).'px';?>
	}
<?php } ?>

<?php
$woo_products_category_style = array();

if(isset($eltd_options['woo_products_category_font_family']) && $eltd_options['woo_products_category_font_family'] !== '-1') {
    $woo_products_category_style[] = 'font-family: '.str_replace('+', ' ', $eltd_options['woo_products_category_font_family']).', sans-serif';
}

if(isset($eltd_options['woo_products_category_font_size']) && $eltd_options['woo_products_category_font_size'] !== '') {
    $woo_products_category_style[] = 'font-size: '.$eltd_options['woo_products_category_font_size'].'px';
}

if(isset($eltd_options['woo_products_category_line_height']) && $eltd_options['woo_products_category_line_height'] !== '') {
    $woo_products_category_style[] = 'line-height: '.$eltd_options['woo_products_category_line_height'].'px';
}

if(isset($eltd_options['woo_products_category_letter_spacing']) && $eltd_options['woo_products_category_letter_spacing'] !== '') {
    $woo_products_category_style[] = 'letter-spacing: '.$eltd_options['woo_products_category_letter_spacing'].'px';
}

if(isset($eltd_options['woo_products_category_font_weight']) && $eltd_options['woo_products_category_font_weight'] !== '') {
    $woo_products_category_style[] = 'font-weight: '.$eltd_options['woo_products_category_font_weight'];
}

if(isset($eltd_options['woo_products_category_font_style']) && $eltd_options['woo_products_category_font_style'] !== '') {
    $woo_products_category_style[] = 'font-style: '.$eltd_options['woo_products_category_font_style'];
}

if(isset($eltd_options['woo_products_category_text_transform']) && $eltd_options['woo_products_category_text_transform'] !== '') {
    $woo_products_category_style[] = 'text-transform: '.$eltd_options['woo_products_category_text_transform'];
}

if(isset($eltd_options['woo_products_category_color']) && $eltd_options['woo_products_category_color'] !== '') {
    $woo_products_category_style[] = 'color: '.$eltd_options['woo_products_category_color'];
}

if(is_array($woo_products_category_style) && count($woo_products_category_style)) { ?>
    .woocommerce ul.products li.product span.product-categories a,
    .woocommerce-page ul.products li.product span.product-categories a{
    <?php echo esc_attr(implode(';', $woo_products_category_style)); ?>
    }
<?php } ?>

<?php if (isset($eltd_options['woo_products_category_hide_category']) && $eltd_options['woo_products_category_hide_category'] == "yes") { ?>
    .woocommerce ul.products li.product span.product-categories,
    .woocommerce-page ul.products li.product span.product-categories{
    display:none;
    }
<?php } ?>

<?php if (isset($eltd_options['woo_products_title_separator_hide_title_separator']) && $eltd_options['woo_products_title_separator_hide_title_separator'] == "no"){
	$woo_products_title_separator_style = array();

	if(isset($eltd_options['woo_products_title_separator_color']) && $eltd_options['woo_products_title_separator_color']!="") {
		$woo_products_title_separator_style[] = 'border-color: '.$eltd_options['woo_products_title_separator_color'];
	}

	if(isset($eltd_options['woo_products_title_separator_style']) && $eltd_options['woo_products_title_separator_style']!="") {
		$woo_products_title_separator_style[] = 'border-style: '.$eltd_options['woo_products_title_separator_style'];
	}

	if(isset($eltd_options['woo_products_title_separator_margin_top']) && $eltd_options['woo_products_title_separator_margin_top']!="") {
		$woo_products_title_separator_style[] = 'margin-top: '.$eltd_options['woo_products_title_separator_margin_top'].'px';
	}

	if(isset($eltd_options['woo_products_title_separator_margin_bottom']) && $eltd_options['woo_products_title_separator_margin_bottom']!="") {
		$woo_products_title_separator_style[] = 'margin-bottom: '.$eltd_options['woo_products_title_separator_margin_bottom'].'px';
	}

	if(is_array($woo_products_title_separator_style) && count($woo_products_title_separator_style)) { ?>
    .woocommerce .product_info_box .separator_holder .separator.medium{
		<?php echo esc_attr(implode(';', $woo_products_title_separator_style)); ?>
    }
<?php }} ?>

<?php if(isset($eltd_options['woo_products_list_type']) && ($eltd_options['woo_products_list_type'] == "type1")){ 
		
	if(isset($eltd_options['woo_products_enable_item_borders']) && $eltd_options['woo_products_enable_item_borders'] == "yes"){
		
		$border_style_array = array();
		
		if(isset($eltd_options['woo_products_item_borders_color']) && $eltd_options['woo_products_item_borders_color']!=''){
			$border_style_array[] = 'border-color: ' .$eltd_options['woo_products_item_borders_color'];
		}
		if(isset($eltd_options['woo_products_item_borders_width']) && $eltd_options['woo_products_item_borders_width']!=''){
			$border_style_array[] = 'border-width: ' .$eltd_options['woo_products_item_borders_width'].'px';
		}else{
			$border_style_array[] = 'border-width: 1px';
		}
		
		if(isset($eltd_options['woo_products_item_borders_style']) && $eltd_options['woo_products_item_borders_style'] == "around_item"){ 
			if(is_array($border_style_array) && count($border_style_array)){?>
				.woocommerce-page ul.products li.product,
				.woocommerce ul.products li.product,
				.woocommerce .product .images a img{
					<?php echo esc_attr(implode(';', $border_style_array)); ?>
				}
		<?php }
		if(isset($eltd_options['woo_products_item_borders_hover_color']) && $eltd_options['woo_products_item_borders_hover_color']!=''){ ?>
				.woocommerce-page ul.products li.product:hover,
				.woocommerce ul.products li.product:hover{
					border-color : <?php echo esc_attr($eltd_options['woo_products_item_borders_hover_color'])?>
				}
		<?php }		
		}?>

		<?php if(isset($eltd_options['woo_products_item_borders_style']) && $eltd_options['woo_products_item_borders_style'] == "around_image"){ 
			if(is_array($border_style_array) && count($border_style_array)){?>
				.woocommerce-page ul.products li.product .top-product-section,
				.woocommerce ul.products li.product .top-product-section,
				.woocommerce .product .images a img{
					<?php echo esc_attr(implode(';', $border_style_array)); ?>
				}		
		<?php }
		if(isset($eltd_options['woo_products_item_borders_hover_color']) && $eltd_options['woo_products_item_borders_hover_color']!=''){ ?>
				.woocommerce-page ul.products li.product .top-product-section:hover,
				.woocommerce ul.products li.product .top-product-section:hover,
				.woocommerce .product .images a img:hover{
					border-color : <?php echo esc_attr($eltd_options['woo_products_item_borders_hover_color'])?>
				}
		<?php }
		
		}} ?>
	 
		<?php if(isset($eltd_options['woo_products_enable_lighbox_icon']) && $eltd_options['woo_products_enable_lighbox_icon'] == "yes"){
			if (isset($eltd_options['woo_products_lightbox_icon_color']) && $eltd_options['woo_products_lightbox_icon_color'] != '') { ?>
				.woocommerce-page ul.products li.product .shop_price_lightbox_holder span:before,
				.woocommerce ul.products li.product .shop_price_lightbox_holder span:before{
					color: <?php echo esc_attr($eltd_options['woo_products_lightbox_icon_color']); ?>;
				}
		<?php }} ?>	
<?php } ?>

<?php 

if (isset($eltd_options['woo_single_product_title_separator']) && $eltd_options['woo_single_product_title_separator'] == "yes"){ 
	$woo_single_product_title_separator_style = array();

	if(isset($eltd_options['woo_single_product_title_separator_color']) && $eltd_options['woo_single_product_title_separator_color']!="") {
		$woo_single_product_title_separator_style[] = 'border-color: '.$eltd_options['woo_single_product_title_separator_color'];
	}

	if(isset($eltd_options['woo_single_product_title_separator_style']) && $eltd_options['woo_single_product_title_separator_style']!="") {
		$woo_single_product_title_separator_style[] = 'border-style: '.$eltd_options['woo_single_product_title_separator_style'];
	}

	if(isset($eltd_options['woo_single_product_title_separator_margin_top']) && $eltd_options['woo_single_product_title_separator_margin_top']!="") {
		$woo_single_product_title_separator_style[] = 'margin-top: '.$eltd_options['woo_single_product_title_separator_margin_top'].'px';
	}

	if(isset($eltd_options['woo_single_product_title_separator_margin_bottom']) && $eltd_options['woo_single_product_title_separator_margin_bottom']!="") {
		$woo_single_product_title_separator_style[] = 'margin-bottom: '.$eltd_options['woo_single_product_title_separator_margin_bottom'].'px';
	}

	if(is_array($woo_single_product_title_separator_style) && count($woo_single_product_title_separator_style)) { ?>
    .separator.single_product_title_separator{
		<?php echo esc_attr(implode(';', $woo_single_product_title_separator_style)); ?>
    }
	
<?php }} ?>


<?php
$woo_products_title_style = array();

if(isset($eltd_options['woo_products_title_font_family']) && $eltd_options['woo_products_title_font_family'] !== '-1') {
    $woo_products_title_style[] = 'font-family: '.str_replace('+', ' ', $eltd_options['woo_products_title_font_family']).', sans-serif';
}

if(isset($eltd_options['woo_products_title_font_size']) && $eltd_options['woo_products_title_font_size'] !== '') {
    $woo_products_title_style[] = 'font-size: '.$eltd_options['woo_products_title_font_size'].'px';
}

if(isset($eltd_options['woo_products_title_line_height']) && $eltd_options['woo_products_title_line_height'] !== '') {
    $woo_products_title_style[] = 'line-height: '.$eltd_options['woo_products_title_line_height'].'px';
}

if(isset($eltd_options['woo_products_title_letter_spacing']) && $eltd_options['woo_products_title_letter_spacing'] !== '') {
    $woo_products_title_style[] = 'letter-spacing: '.$eltd_options['woo_products_title_letter_spacing'].'px';
}

if(isset($eltd_options['woo_products_title_font_weight']) && $eltd_options['woo_products_title_font_weight'] !== '') {
    $woo_products_title_style[] = 'font-weight: '.$eltd_options['woo_products_title_font_weight'];
}

if(isset($eltd_options['woo_products_title_font_style']) && $eltd_options['woo_products_title_font_style'] !== '') {
    $woo_products_title_style[] = 'font-style: '.$eltd_options['woo_products_title_font_style'];
}

if(isset($eltd_options['woo_products_title_text_transform']) && $eltd_options['woo_products_title_text_transform'] !== '') {
    $woo_products_title_style[] = 'text-transform: '.$eltd_options['woo_products_title_text_transform'];
}

if(isset($eltd_options['woo_products_title_color']) && $eltd_options['woo_products_title_color'] !== '') {
    $woo_products_title_style[] = 'color: '.$eltd_options['woo_products_title_color'];
}

if(is_array($woo_products_title_style) && count($woo_products_title_style)) { ?>
    .woocommerce ul.products li.product span.product-title,
    .woocommerce aside ul.product_list_widget li a,
    aside ul.product_list_widget li a{
    <?php echo esc_attr(implode(';', $woo_products_title_style)); ?>
    }
<?php } ?>

<?php
if(isset($eltd_options['woo_products_title_line_margin_bottom']) && $eltd_options['woo_products_title_line_margin_bottom'] !== '') {?>
	.woocommerce ul.products li.product a.product-category .product-title,
    .woocommerce-page ul.products li.product a.product-category .product-title{
		margin-bottom : <?php echo esc_attr($eltd_options['woo_products_title_line_margin_bottom']).'px' ?>;
	}
<?php } ?>

<?php if(isset($eltd_options['woo_products_title_hover_color']) && !empty($eltd_options['woo_products_title_hover_color'])) { ?>
    .woocommerce ul.products li.product span.product-title:hover,
    .woocommerce aside ul.product_list_widget li > a:hover,
    aside ul.product_list_widget li > a:hover{
    color: <?php echo esc_attr($eltd_options['woo_products_title_hover_color']); ?>;
    }
<?php } ?>

<?php if(isset($eltd_options['woo_products_item_shader_color']) && !empty($eltd_options['woo_products_item_shader_color'])) { ?>
    .woocommerce ul.products li.product .product_image_overlay{
		background-color: <?php echo esc_attr($eltd_options['woo_products_item_shader_color']); ?>;
    }
<?php } ?>

<?php if(isset($eltd_options['woo_products_item_shader_opacity']) && !empty($eltd_options['woo_products_item_shader_opacity'])) { ?>
	.woocommerce ul.products li.product:hover .product_image_overlay{
		opacity: <?php echo esc_attr($eltd_options['woo_products_item_shader_opacity']).'!important'; ?>;
    }
<?php } ?>


<?php if(isset($eltd_options['woo_products_enable_button_icons']) && ($eltd_options['woo_products_enable_button_icons']=="yes")){ ?>
	.woocommerce ul.products li.product .add-to-cart-button:after,
	.woocommerce ul.products li.product .added_to_cart:after{
		padding:0 0 0 5px;
		font-family: 'ElegantIcons';
		speak: none;
		font-style: normal;
		font-weight: normal;
		font-variant: normal;
		text-transform: none;
		line-height: 1;
		-webkit-font-smoothing: antialiased;
	}
	.woocommerce ul.products li.product .add-to-cart-button:after{
		content: "\4c";
	}

	.woocommerce ul.products li.product .added_to_cart:after{
		content: "\e015";
	}
<?php } ?>


<?php
$woo_products_price_style = array();
$woo_price_font_size = 0;
$woo_price_line_height = 0;

if(isset($eltd_options['woo_products_price_font_family']) && $eltd_options['woo_products_price_font_family'] !== '-1') {
    $woo_products_price_style[] = 'font-family: '.str_replace('+', ' ', $eltd_options['woo_products_price_font_family']).', sans-serif';
}

if(isset($eltd_options['woo_products_price_font_size']) && $eltd_options['woo_products_price_font_size'] !== '') {
	$woo_price_font_size = $eltd_options['woo_products_price_font_size'];
    $woo_products_price_style[] = 'font-size: '.$eltd_options['woo_products_price_font_size'].'px';
}

if(isset($eltd_options['woo_products_price_line_height']) && $eltd_options['woo_products_price_line_height'] !== '') {
	$woo_price_line_height= $eltd_options['woo_products_price_line_height'];

    $woo_products_price_style[] = 'line-height: '.$eltd_options['woo_products_price_line_height'].'px';?>
	.woocommerce ul.products.type1 li.product .shop_price_lightbox_holder,
    .woocommerce-page ul.products.type1 li.product .shop_price_lightbox_holder{
		line-height: <?php echo esc_attr($eltd_options['woo_products_price_line_height'].'px'); ?>
	}
	<?php
}

if(isset($eltd_options['woo_products_price_letter_spacing']) && $eltd_options['woo_products_price_letter_spacing'] !== '') {
    $woo_products_price_style[] = 'letter-spacing: '.$eltd_options['woo_products_price_letter_spacing'].'px';
}

if(isset($eltd_options['woo_products_price_font_weight']) && $eltd_options['woo_products_price_font_weight'] !== '') {
    $woo_products_price_style[] = 'font-weight: '.$eltd_options['woo_products_price_font_weight'];
}

if(isset($eltd_options['woo_products_price_font_style']) && $eltd_options['woo_products_price_font_style'] !== '') {
    $woo_products_price_style[] = 'font-style: '.$eltd_options['woo_products_price_font_style'];
}

if(isset($eltd_options['woo_products_price_text_transform']) && $eltd_options['woo_products_price_text_transform'] !== '') {
    $woo_products_price_style[] = 'text-transform: '.$eltd_options['woo_products_price_text_transform'];
}

if(isset($eltd_options['woo_products_price_color']) && $eltd_options['woo_products_price_color'] !== '') {
    $woo_products_price_style[] = 'color: '.$eltd_options['woo_products_price_color'];
}

if ( $woo_price_font_size > 24 || $woo_price_line_height > 24) {
	if ( $woo_price_font_size > $woo_price_line_height) { ?>
		.woocommerce .products .product .product-price-switcher-holder {
			height: <?php echo esc_attr($woo_price_font_size); ?>px;
		}
	<?php } else if ( $woo_price_line_height > $woo_price_font_size) { ?>
		.woocommerce .products .product .product-price-switcher-holder {
			height: <?php echo esc_attr($woo_price_line_height); ?>px;
		}
	<?php }
}

if(is_array($woo_products_price_style) && count($woo_products_price_style)) { ?>
    .woocommerce ul.products li.product .price,
    .woocommerce-page ul.products li.product .price,
    .woocommerce ul.products li.product del .amount, .woocommerce-page ul.products li.product del .amount,
    .woocommerce aside ul.product_list_widget li span.amount,
    aside ul.product_list_widget li span.amount{
    <?php echo esc_attr(implode(';', $woo_products_price_style)); ?>
    }
<?php }

if(isset($eltd_options['woo_products_price_old_font_size']) && !empty($eltd_options['woo_products_price_old_font_size'])) { ?>
    .woocommerce-page ul.products li.product del .amount,
    .woocommerce ul.products li.product del .amount,
    .woocommerce-page ul.products li.product del,
    .woocommerce ul.products li.product del,
    .woocommerce aside ul.product_list_widget li del span.amount,
    aside ul.product_list_widget li del span.amount{
		font-size: <?php echo esc_attr($eltd_options['woo_products_price_old_font_size'].'px'); ?>;
    }
<?php }

if(isset($eltd_options['woo_products_price_old_color']) && !empty($eltd_options['woo_products_price_old_color'])) { ?>
    .woocommerce-page ul.products li.product del .amount,
    .woocommerce ul.products li.product del .amount,
    .woocommerce-page ul.products li.product del,
    .woocommerce ul.products li.product del,
    .woocommerce aside ul.product_list_widget li del span.amount,
    aside ul.product_list_widget li del span.amount{
		color: <?php echo esc_attr($eltd_options['woo_products_price_old_color']); ?>;
    }
<?php } ?>

<?php
$woo_products_sale_style = array();

if(isset($eltd_options['woo_products_sale_font_family']) && $eltd_options['woo_products_sale_font_family'] !== '-1') {
    $woo_products_sale_style[] = 'font-family: '.str_replace('+', ' ', $eltd_options['woo_products_sale_font_family']).', sans-serif';
}

if(isset($eltd_options['woo_products_sale_font_size']) && $eltd_options['woo_products_sale_font_size'] !== '') {
    $woo_products_sale_style[] = 'font-size: '.$eltd_options['woo_products_sale_font_size'].'px';
}

if(isset($eltd_options['woo_products_sale_line_height']) && $eltd_options['woo_products_sale_line_height'] !== '') {
    $woo_products_sale_style[] = 'line-height: '.$eltd_options['woo_products_sale_line_height'].'px';
}

if(isset($eltd_options['woo_products_sale_letter_spacing']) && $eltd_options['woo_products_sale_letter_spacing'] !== '') {
    $woo_products_sale_style[] = 'letter-spacing: '.$eltd_options['woo_products_sale_letter_spacing'].'px';
}

if(isset($eltd_options['woo_products_sale_font_weight']) && $eltd_options['woo_products_sale_font_weight'] !== '') {
    $woo_products_sale_style[] = 'font-weight: '.$eltd_options['woo_products_sale_font_weight'];
}

if(isset($eltd_options['woo_products_sale_font_style']) && $eltd_options['woo_products_sale_font_style'] !== '') {
    $woo_products_sale_style[] = 'font-style: '.$eltd_options['woo_products_sale_font_style'];
}

if(isset($eltd_options['woo_products_sale_text_transform']) && $eltd_options['woo_products_sale_text_transform'] !== '') {
    $woo_products_sale_style[] = 'text-transform: '.$eltd_options['woo_products_sale_text_transform'];
}

if(isset($eltd_options['woo_products_sale_color']) && $eltd_options['woo_products_sale_color'] !== '') {
    $woo_products_sale_style[] = 'color: '.$eltd_options['woo_products_sale_color'];
}

if(isset($eltd_options['woo_products_sale_background_color']) && $eltd_options['woo_products_sale_background_color'] !== '') {
    $woo_products_sale_style[] = 'background-color: '.$eltd_options['woo_products_sale_background_color'];
}

if(isset($eltd_options['woo_products_sale_border_radius']) && $eltd_options['woo_products_sale_border_radius'] !== '') {
    $woo_products_sale_style[] = 'border-radius: '.$eltd_options['woo_products_sale_border_radius'].'px';
}

if(isset($eltd_options['woo_products_sale_top_position']) && $eltd_options['woo_products_sale_top_position'] !== '') {
    $woo_products_sale_style[] = 'top: '.$eltd_options['woo_products_sale_top_position'].'px';
}

if(isset($eltd_options['woo_products_sale_left_position']) && $eltd_options['woo_products_sale_left_position'] !== '') {
    $woo_products_sale_style[] = 'left: '.$eltd_options['woo_products_sale_left_position'].'px';
}

if(isset($eltd_options['woo_products_sale_width']) && $eltd_options['woo_products_sale_width'] !== '') {
    $woo_products_sale_style[] = 'width: '.$eltd_options['woo_products_sale_width'].'px'; 
}

if(isset($eltd_options['woo_products_sale_height']) && $eltd_options['woo_products_sale_height'] !== '') {
    $woo_products_sale_style[] = 'height: '.$eltd_options['woo_products_sale_height'].'px';
}


if(is_array($woo_products_sale_style) && count($woo_products_sale_style)) { ?>
    .woocommerce .product .onsale:not(.out-of-stock-button), .woocommerce .product .single-onsale{
    <?php echo esc_attr(implode(';', $woo_products_sale_style)); ?>
    }
<?php } ?>

<?php
if(isset($eltd_options['woo_products_sale_right_position']) && $eltd_options['woo_products_sale_right_position'] !== '') { ?>
 .woocommerce .product .onsale:not(.out-of-stock-button), .woocommerce .product .single-onsale{
	left:auto;
	right: <?php echo esc_attr($eltd_options['woo_products_sale_right_position']).'px';?>
 }
<?php } ?>

<?php
$woo_products_out_of_stock_style = array();

if(isset($eltd_options['woo_products_out_of_stock_font_family']) && $eltd_options['woo_products_out_of_stock_font_family'] !== '-1') {
    $woo_products_out_of_stock_style[] = 'font-family: '.str_replace('+', ' ', $eltd_options['woo_products_out_of_stock_font_family']).', sans-serif';
}

if(isset($eltd_options['woo_products_out_of_stock_font_size']) && $eltd_options['woo_products_out_of_stock_font_size'] !== '') {
    $woo_products_out_of_stock_style[] = 'font-size: '.$eltd_options['woo_products_out_of_stock_font_size'].'px';
}

if(isset($eltd_options['woo_products_out_of_stock_line_height']) && $eltd_options['woo_products_out_of_stock_line_height'] !== '') {
    $woo_products_out_of_stock_style[] = 'line-height: '.$eltd_options['woo_products_out_of_stock_line_height'].'px';
}

if(isset($eltd_options['woo_products_out_of_stock_letter_spacing']) && $eltd_options['woo_products_out_of_stock_letter_spacing'] !== '') {
    $woo_products_out_of_stock_style[] = 'letter-spacing: '.$eltd_options['woo_products_out_of_stock_letter_spacing'].'px';
}

if(isset($eltd_options['woo_products_out_of_stock_font_weight']) && $eltd_options['woo_products_out_of_stock_font_weight'] !== '') {
    $woo_products_out_of_stock_style[] = 'font-weight: '.$eltd_options['woo_products_out_of_stock_font_weight'];
}

if(isset($eltd_options['woo_products_out_of_stock_font_style']) && $eltd_options['woo_products_out_of_stock_font_style'] !== '') {
    $woo_products_out_of_stock_style[] = 'font-style: '.$eltd_options['woo_products_out_of_stock_font_style'];
}

if(isset($eltd_options['woo_products_out_of_stock_text_transform']) && $eltd_options['woo_products_out_of_stock_text_transform'] !== '') {
    $woo_products_out_of_stock_style[] = 'text-transform: '.$eltd_options['woo_products_out_of_stock_text_transform'];
}

if(isset($eltd_options['woo_products_out_of_stock_color']) && $eltd_options['woo_products_out_of_stock_color'] !== '') {
    $woo_products_out_of_stock_style[] = 'color: '.$eltd_options['woo_products_out_of_stock_color'];
}

if(isset($eltd_options['woo_products_out_of_stock_background_color']) && $eltd_options['woo_products_out_of_stock_background_color'] !== '') {
    $woo_products_out_of_stock_style[] = 'background-color: '.$eltd_options['woo_products_out_of_stock_background_color'];
}

if(isset($eltd_options['woo_products_out_of_stock_border_radius']) && $eltd_options['woo_products_out_of_stock_border_radius'] !== '') {
    $woo_products_out_of_stock_style[] = 'border-radius: '.$eltd_options['woo_products_out_of_stock_border_radius'].'px';
}

if(isset($eltd_options['woo_products_out_of_stock_left_position']) && $eltd_options['woo_products_out_of_stock_left_position'] !== '') {
    $woo_products_out_of_stock_style[] = 'left: '.$eltd_options['woo_products_out_of_stock_left_position'].'px';
}

if(isset($eltd_options['woo_products_out_of_stock_top_position']) && $eltd_options['woo_products_out_of_stock_top_position'] !== '') {
    $woo_products_out_of_stock_style[] = 'top: '.$eltd_options['woo_products_out_of_stock_top_position'].'px';
}

if(isset($eltd_options['woo_products_out_of_stock_width']) && $eltd_options['woo_products_out_of_stock_width'] !== '') {
    $woo_products_out_of_stock_style[] = 'width: '.$eltd_options['woo_products_out_of_stock_width'].'px';
}

if(isset($eltd_options['woo_products_out_of_stock_height']) && $eltd_options['woo_products_out_of_stock_height'] !== '') {
    $woo_products_out_of_stock_style[] = 'height: '.$eltd_options['woo_products_out_of_stock_height'].'px';
}


if(is_array($woo_products_out_of_stock_style) && count($woo_products_out_of_stock_style)) { ?>
    .woocommerce .product .out-of-stock {
    <?php echo esc_attr(implode(';', $woo_products_out_of_stock_style)); ?>
    }
<?php } ?>

<?php
if(isset($eltd_options['woo_products_out_of_stock_right_position']) && $eltd_options['woo_products_out_of_stock_right_position'] !== '') { ?>
 .woocommerce .product .onsale.out-of-stock-button{
	left:auto;
	right: <?php echo esc_attr($eltd_options['woo_products_out_of_stock_right_position']).'px';?>
 }
<?php } ?>

<?php
$woo_products_sorting_style = array();

if(isset($eltd_options['woo_products_sorting_color']) && $eltd_options['woo_products_sorting_color'] !== '') {
    $woo_products_sorting_style[] = 'color: '.$eltd_options['woo_products_sorting_color'];
}

if(isset($eltd_options['woo_products_sorting_background_color']) && $eltd_options['woo_products_sorting_background_color'] !== '') {
    $woo_products_sorting_style[] = 'background-color: '.$eltd_options['woo_products_sorting_background_color'];
}

if(isset($eltd_options['woo_products_sorting_border_color']) && $eltd_options['woo_products_sorting_border_color'] !== '') {
    $woo_products_sorting_style[] = 'border-color: '.$eltd_options['woo_products_sorting_border_color'];
}

if(isset($eltd_options['woo_products_sorting_border_width']) && $eltd_options['woo_products_sorting_border_width'] !== '') {
    $woo_products_sorting_style[] = 'border-width: '.$eltd_options['woo_products_sorting_border_width'].'px';
}

if(is_array($woo_products_sorting_style) && count($woo_products_sorting_style)) { ?>
    body.archive.woocommerce-page .select2-container.orderby .select2-choice{
    <?php echo esc_attr(implode(';', $woo_products_sorting_style)); ?>
    }
<?php } ?>

<?php if(isset($eltd_options['woo_products_sorting_color']) && !empty($eltd_options['woo_products_sorting_color'])) { ?>
    body.archive.woocommerce-page .select2-drop{
    color: <?php echo esc_attr($eltd_options['woo_products_sorting_color']); ?>;
    }
<?php } ?>

<?php if(isset($eltd_options['woo_products_sorting_dropdown_background_color']) && !empty($eltd_options['woo_products_sorting_dropdown_background_color'])) { ?>
    body.archive.woocommerce-page .select2-drop{
    background-color: <?php echo esc_attr($eltd_options['woo_products_sorting_dropdown_background_color']); ?>;
    }
<?php } ?>

<?php if(isset($eltd_options['woo_products_sorting_hover_color']) && !empty($eltd_options['woo_products_sorting_hover_color'])) { ?>
    body.archive.woocommerce-page .select2-results li.select2-highlighted,
    body.archive.woocommerce-page .select2-container .select2-choice .select2-arrow:after{
    color: <?php echo esc_attr($eltd_options['woo_products_sorting_hover_color']); ?>;
    }
<?php } ?>

<?php
$woo_products_sorting_result_style = array();

if(isset($eltd_options['woo_products_sorting_result_font_family']) && $eltd_options['woo_products_sorting_result_font_family'] !== '-1') {
    $woo_products_sorting_result_style[] = 'font-family: '.str_replace('+', ' ', $eltd_options['woo_products_sorting_result_font_family']).', sans-serif';
}

if(isset($eltd_options['woo_products_sorting_result_font_size']) && $eltd_options['woo_products_sorting_result_font_size'] !== '') {
    $woo_products_sorting_result_style[] = 'font-size: '.$eltd_options['woo_products_sorting_result_font_size'].'px';
}

if(isset($eltd_options['woo_products_sorting_result_line_height']) && $eltd_options['woo_products_sorting_result_line_height'] !== '') {
    $woo_products_sorting_result_style[] = 'line-height: '.$eltd_options['woo_products_sorting_result_line_height'].'px';
}

if(isset($eltd_options['woo_products_sorting_result_letter_spacing']) && $eltd_options['woo_products_sorting_result_letter_spacing'] !== '') {
    $woo_products_sorting_result_style[] = 'letter-spacing: '.$eltd_options['woo_products_sorting_result_letter_spacing'].'px';
}

if(isset($eltd_options['woo_products_sorting_result_font_weight']) && $eltd_options['woo_products_sorting_result_font_weight'] !== '') {
    $woo_products_sorting_result_style[] = 'font-weight: '.$eltd_options['woo_products_sorting_result_font_weight'];
}

if(isset($eltd_options['woo_products_sorting_result_font_style']) && $eltd_options['woo_products_sorting_result_font_style'] !== '') {
    $woo_products_sorting_result_style[] = 'font-style: '.$eltd_options['woo_products_sorting_result_font_style'];
}

if(isset($eltd_options['woo_products_sorting_result_text_transform']) && $eltd_options['woo_products_sorting_result_text_transform'] !== '') {
    $woo_products_sorting_result_style[] = 'text-transform: '.$eltd_options['woo_products_sorting_result_text_transform'];
}

if(isset($eltd_options['woo_products_sorting_result_color']) && $eltd_options['woo_products_sorting_result_color'] !== '') {
    $woo_products_sorting_result_style[] = 'color: '.$eltd_options['woo_products_sorting_result_color'];
}

if(is_array($woo_products_sorting_result_style) && count($woo_products_sorting_result_style)) { ?>
    .woocommerce .woocommerce-result-count{
    <?php echo esc_attr(implode(';', $woo_products_sorting_result_style)); ?>
    }
<?php } ?>

<?php
$woo_products_list_add_to_cart_style = array();
$woo_products_list_add_to_cart_hover_style = array();
$add_to_cart_font_size = 0;
$add_to_cart_line_height = 0;

if(isset($eltd_options['woo_products_list_add_to_cart_font_family']) && $eltd_options['woo_products_list_add_to_cart_font_family'] !== '-1') {
    $woo_products_list_add_to_cart_style[] = 'font-family: '.str_replace('+', ' ', $eltd_options['woo_products_list_add_to_cart_font_family']).', sans-serif';
}

if(isset($eltd_options['woo_products_list_add_to_cart_font_size']) && $eltd_options['woo_products_list_add_to_cart_font_size'] !== '') {
	$add_to_cart_font_size = $eltd_options['woo_products_list_add_to_cart_font_size'];
    $woo_products_list_add_to_cart_style[] = 'font-size: '.$eltd_options['woo_products_list_add_to_cart_font_size'].'px';
}

if(isset($eltd_options['woo_products_list_add_to_cart_line_height']) && $eltd_options['woo_products_list_add_to_cart_line_height'] !== '') {
	$add_to_cart_line_height = $eltd_options['woo_products_list_add_to_cart_line_height'];
    $woo_products_list_add_to_cart_style[] = 'line-height: '.$eltd_options['woo_products_list_add_to_cart_line_height'].'px';
}

if(isset($eltd_options['woo_products_list_add_to_cart_letter_spacing']) && $eltd_options['woo_products_list_add_to_cart_letter_spacing'] !== '') {
    $woo_products_list_add_to_cart_style[] = 'letter-spacing: '.$eltd_options['woo_products_list_add_to_cart_letter_spacing'].'px';
}

if(isset($eltd_options['woo_products_list_add_to_cart_font_weight']) && $eltd_options['woo_products_list_add_to_cart_font_weight'] !== '') {
    $woo_products_list_add_to_cart_style[] = 'font-weight: '.$eltd_options['woo_products_list_add_to_cart_font_weight'];
}

if(isset($eltd_options['woo_products_list_add_to_cart_font_style']) && $eltd_options['woo_products_list_add_to_cart_font_style'] !== '') {
    $woo_products_list_add_to_cart_style[] = 'font-style: '.$eltd_options['woo_products_list_add_to_cart_font_style'];
}

if(isset($eltd_options['woo_products_list_add_to_cart_text_transform']) && $eltd_options['woo_products_list_add_to_cart_text_transform'] !== '') {
    $woo_products_list_add_to_cart_style[] = 'text-transform: '.$eltd_options['woo_products_list_add_to_cart_text_transform'];
}

if(isset($eltd_options['woo_products_list_add_to_cart_color']) && !empty($eltd_options['woo_products_list_add_to_cart_color'])) {
    $woo_products_list_add_to_cart_style[] = 'color: '.$eltd_options['woo_products_list_add_to_cart_color'];
}

if(isset($eltd_options['woo_products_list_add_to_cart_background_color']) && !empty($eltd_options['woo_products_list_add_to_cart_background_color'])) {
    $woo_products_list_add_to_cart_style[] = 'background-color: '.$eltd_options['woo_products_list_add_to_cart_background_color'];
}

if(isset($eltd_options['woo_products_list_add_to_cart_border_width']) && $eltd_options['woo_products_list_add_to_cart_border_width'] !== '') {
    $woo_products_list_add_to_cart_style[] = 'border-width: '.$eltd_options['woo_products_list_add_to_cart_border_width'].'px';
	$woo_products_list_add_to_cart_style[] = 'border-style:solid';
}

if(isset($eltd_options['woo_products_list_add_to_cart_border_color']) && !empty($eltd_options['woo_products_list_add_to_cart_border_color'])) {
    $woo_products_list_add_to_cart_style[] = 'border-color: '.$eltd_options['woo_products_list_add_to_cart_border_color'];
}

if(isset($eltd_options['woo_products_list_add_to_cart_border_radius']) && $eltd_options['woo_products_list_add_to_cart_border_radius'] !== '') {
    $woo_products_list_add_to_cart_style[] = 'border-radius: '.$eltd_options['woo_products_list_add_to_cart_border_radius'].'px';
}

if(isset($eltd_options['woo_products_list_add_to_cart_padding']) && $eltd_options['woo_products_list_add_to_cart_padding'] !== '') {
    $woo_products_list_add_to_cart_style[] = 'padding-left: '.$eltd_options['woo_products_list_add_to_cart_padding'].'px';
	$woo_products_list_add_to_cart_style[] = 'padding-right: '.$eltd_options['woo_products_list_add_to_cart_padding'].'px';
}

if ( $add_to_cart_font_size > 24 || $add_to_cart_line_height > 24) {
	if ( $add_to_cart_font_size > $add_to_cart_line_height) { ?>
		.woocommerce ul.products.type1 li.product .price,
		.woocommerce-page ul.products.type1 li.product .price {
			line-height: <?php echo esc_attr($add_to_cart_font_size); ?>px;
		}
		.woocommerce .products .product .product-price-switcher-holder {
			height: <?php echo esc_attr($add_to_cart_font_size); ?>px;
		}
	<?php } else if ( $add_to_cart_line_height > $add_to_cart_font_size) { ?>
		.woocommerce ul.products.type1 li.product .price,
		.woocommerce-page ul.products.type1 li.product .price {
			line-height: <?php echo esc_attr($add_to_cart_line_height); ?>px;
		}
		.woocommerce .products .product .product-price-switcher-holder {
			height: <?php echo esc_attr($add_to_cart_line_height); ?>px;
		}
	<?php }
}

if(is_array($woo_products_list_add_to_cart_style) && count($woo_products_list_add_to_cart_style)) { ?>
    .woocommerce ul.products li.product .add-to-cart-button,
    .woocommerce ul.products li.product .added_to_cart,
    .woocommerce .widget_price_filter .button,
    .woocommerce-page .widget_price_filter .button,
    .woocommerce .widget_shopping_cart_content p.buttons a.button,
    .woocommerce .content .button,
    .woocommerce-page .content .button,
    .woocommerce .content button.button,
    .woocommerce-page .content button.button,
    .woocommerce-page .content input[type="submit"]:not(.eltd_search_submit),
    .woocommerce .content input[type="submit"]:not(.eltd_search_submit){
    <?php echo esc_attr(implode(';', $woo_products_list_add_to_cart_style)); ?>
    }
<?php }

if(isset($eltd_options['woo_products_list_add_to_cart_hover_color']) && !empty($eltd_options['woo_products_list_add_to_cart_hover_color'])) {
    $woo_products_list_add_to_cart_hover_style[] = 'color: '.$eltd_options['woo_products_list_add_to_cart_hover_color'].'!important';
}

if(isset($eltd_options['woo_products_list_add_to_cart_background_hover_color']) && !empty($eltd_options['woo_products_list_add_to_cart_background_hover_color'])) {
    $woo_products_list_add_to_cart_hover_style[] = 'background-color: '.$eltd_options['woo_products_list_add_to_cart_background_hover_color'].'!important';
}

if(isset($eltd_options['woo_products_list_add_to_cart_border_hover_color']) && !empty($eltd_options['woo_products_list_add_to_cart_border_hover_color'])) {
    $woo_products_list_add_to_cart_hover_style[] = 'border-color: '.$eltd_options['woo_products_list_add_to_cart_border_hover_color'];
}

if(is_array($woo_products_list_add_to_cart_hover_style) && count($woo_products_list_add_to_cart_hover_style)) { ?>
    .woocommerce ul.products li.product a.add_to_cart_button:hover,
    .woocommerce-page ul.products li.product a.add_to_cart_button:hover,
    .woocommerce ul.products li.product .added_to_cart:hover,
    .woocommerce-page ul.products li.product .added_to_cart:hover,
    .woocommerce .widget_price_filter .button:hover,
    .woocommerce-page .widget_price_filter .button:hover,
    .woocommerce .widget_shopping_cart_content p.buttons a.button:hover,
    .woocommerce .content .button:hover,
    .woocommerce-page .content .button:hover,
    .woocommerce .content button.button:hover,
    .woocommerce-page .content button.button:hover,
    .woocommerce-page .content input[type="submit"]:not(.eltd_search_submit):not(#searchsubmit):hover,
    .woocommerce .content input[type="submit"]:not(.eltd_search_submit):not(#searchsubmit):hover{
    <?php echo esc_attr(implode(';', $woo_products_list_add_to_cart_hover_style)); ?>
    }
<?php } ?>

<?php
if(isset($eltd_options['woo_products_list_add_to_cart_padding']) && $eltd_options['woo_products_list_add_to_cart_padding'] !== '') { ?>
	 .woocommerce ul.products:not(.hover_type2) li.product .add-to-cart-button,
	 .woocommerce ul.products:not(.hover_type2) li.product .added_to_cart{
		padding-left: <?php echo esc_attr($eltd_options['woo_products_list_add_to_cart_padding']); ?>px;
		padding-right: <?php echo esc_attr($eltd_options['woo_products_list_add_to_cart_padding']); ?>px;
	 }
<?php } ?>

<?php
if(isset($eltd_options['woo_products_list_add_to_cart_line_height']) && $eltd_options['woo_products_list_add_to_cart_line_height'] !== '') { ?>
	 .woocommerce.single-product .woocommerce-message{
		line-height: <?php echo esc_attr($eltd_options['woo_products_list_add_to_cart_line_height']); ?>px;
	 }
<?php } ?>

<?php
if(isset($eltd_options['woo_products_price_filter_background_color']) && !empty($eltd_options['woo_products_price_filter_background_color'])) { ?>
    .woocommerce .widget_price_filter .ui-slider-horizontal .ui-slider-range,
    .woocommerce-page .widget_price_filter .ui-slider-horizontal .ui-slider-range {
    background-color: <?php echo esc_attr($eltd_options['woo_products_price_filter_background_color']); ?>;
    }
<?php } ?>

<?php

if(isset($eltd_options['woo_products_price_filter_background_active_color']) && !empty($eltd_options['woo_products_price_filter_background_active_color'])) { ?>
    .woocommerce .widget_price_filter .price_slider_wrapper .ui-widget-content,
    .woocommerce-page .widget_price_filter .price_slider_wrapper .ui-widget-content {
    background-color: <?php echo esc_attr($eltd_options['woo_products_price_filter_background_active_color']); ?>;
    }
<?php } ?>

<?php

if(isset($eltd_options['woo_products_price_filter_arrows_color']) && !empty($eltd_options['woo_products_price_filter_arrows_color'])) { ?>
    .woocommerce .widget_price_filter .ui-slider .ui-slider-handle,
    .woocommerce-page .widget_price_filter .ui-slider .ui-slider-handle {
    background-color: <?php echo esc_attr($eltd_options['woo_products_price_filter_arrows_color']); ?>;
    }
<?php } ?>

<?php
$woo_product_single_meta_title_style = array();

if(isset($eltd_options['woo_product_single_meta_title_font_family']) && $eltd_options['woo_product_single_meta_title_font_family'] !== '-1') {
    $woo_product_single_meta_title_style[] = 'font-family: '.str_replace('+', ' ', $eltd_options['woo_product_single_meta_title_font_family']).', sans-serif';
}

if(isset($eltd_options['woo_product_single_meta_title_font_size']) && $eltd_options['woo_product_single_meta_title_font_size'] !== '') {
    $woo_product_single_meta_title_style[] = 'font-size: '.$eltd_options['woo_product_single_meta_title_font_size'].'px';
}

if(isset($eltd_options['woo_product_single_meta_title_line_height']) && $eltd_options['woo_product_single_meta_title_line_height'] !== '') {
    $woo_product_single_meta_title_style[] = 'line-height: '.$eltd_options['woo_product_single_meta_title_line_height'].'px';
}

if(isset($eltd_options['woo_product_single_meta_title_letter_spacing']) && $eltd_options['woo_product_single_meta_title_letter_spacing'] !== '') {
    $woo_product_single_meta_title_style[] = 'letter-spacing: '.$eltd_options['woo_product_single_meta_title_letter_spacing'].'px';
}

if(isset($eltd_options['woo_product_single_meta_title_font_weight']) && $eltd_options['woo_product_single_meta_title_font_weight'] !== '') {
    $woo_product_single_meta_title_style[] = 'font-weight: '.$eltd_options['woo_product_single_meta_title_font_weight'];
}

if(isset($eltd_options['woo_product_single_meta_title_font_style']) && $eltd_options['woo_product_single_meta_title_font_style'] !== '') {
    $woo_product_single_meta_title_style[] = 'font-style: '.$eltd_options['woo_product_single_meta_title_font_style'];
}

if(isset($eltd_options['woo_product_single_meta_title_text_transform']) && $eltd_options['woo_product_single_meta_title_text_transform'] !== '') {
    $woo_product_single_meta_title_style[] = 'text-transform: '.$eltd_options['woo_product_single_meta_title_text_transform'];
}

if(isset($eltd_options['woo_product_single_meta_title_color']) && $eltd_options['woo_product_single_meta_title_color'] !== '') {
    $woo_product_single_meta_title_style[] = 'color: '.$eltd_options['woo_product_single_meta_title_color'];
}

if(is_array($woo_product_single_meta_title_style) && count($woo_product_single_meta_title_style)) { ?>
    .woocommerce div.product div.product_meta > span,
    .woocommerce div.product div.product_meta > .social_share_list_holder > span{
    <?php echo esc_attr(implode(';', $woo_product_single_meta_title_style)); ?>
    }
<?php } ?>

<?php
$woo_product_single_meta_info_style = array();

if(isset($eltd_options['woo_product_single_meta_info_font_family']) && $eltd_options['woo_product_single_meta_info_font_family'] !== '-1') {
    $woo_product_single_meta_info_style[] = 'font-family: '.str_replace('+', ' ', $eltd_options['woo_product_single_meta_info_font_family']).', sans-serif';
}

if(isset($eltd_options['woo_product_single_meta_info_font_size']) && $eltd_options['woo_product_single_meta_info_font_size'] !== '') {
    $woo_product_single_meta_info_style[] = 'font-size: '.$eltd_options['woo_product_single_meta_info_font_size'].'px';
}

if(isset($eltd_options['woo_product_single_meta_info_line_height']) && $eltd_options['woo_product_single_meta_info_line_height'] !== '') {
    $woo_product_single_meta_info_style[] = 'line-height: '.$eltd_options['woo_product_single_meta_info_line_height'].'px';
}

if(isset($eltd_options['woo_product_single_meta_info_letter_spacing']) && $eltd_options['woo_product_single_meta_info_letter_spacing'] !== '') {
    $woo_product_single_meta_info_style[] = 'letter-spacing: '.$eltd_options['woo_product_single_meta_info_letter_spacing'].'px';
}

if(isset($eltd_options['woo_product_single_meta_info_font_weight']) && $eltd_options['woo_product_single_meta_info_font_weight'] !== '') {
    $woo_product_single_meta_info_style[] = 'font-weight: '.$eltd_options['woo_product_single_meta_info_font_weight'];
}

if(isset($eltd_options['woo_product_single_meta_info_font_style']) && $eltd_options['woo_product_single_meta_info_font_style'] !== '') {
    $woo_product_single_meta_info_style[] = 'font-style: '.$eltd_options['woo_product_single_meta_info_font_style'];
}

if(isset($eltd_options['woo_product_single_meta_info_text_transform']) && $eltd_options['woo_product_single_meta_info_text_transform'] !== '') {
    $woo_product_single_meta_info_style[] = 'text-transform: '.$eltd_options['woo_product_single_meta_info_text_transform'];
}

if(isset($eltd_options['woo_product_single_meta_info_color']) && $eltd_options['woo_product_single_meta_info_color'] !== '') {
    $woo_product_single_meta_info_style[] = 'color: '.$eltd_options['woo_product_single_meta_info_color'];
}

if(is_array($woo_product_single_meta_info_style) && count($woo_product_single_meta_info_style)) { ?>
    .woocommerce div.product div.product_meta > span span,
    .woocommerce div.product div.product_meta > span a{
    <?php echo esc_attr(implode(';', $woo_product_single_meta_info_style)); ?>
    }
<?php } ?>


<?php
$woo_product_single_title_style = array();

if(isset($eltd_options['woo_product_single_title_font_family']) && $eltd_options['woo_product_single_title_font_family'] !== '-1') {
    $woo_product_single_title_style[] = 'font-family: '.str_replace('+', ' ', $eltd_options['woo_product_single_title_font_family']).', sans-serif';
}

if(isset($eltd_options['woo_product_single_title_font_size']) && $eltd_options['woo_product_single_title_font_size'] !== '') {
    $woo_product_single_title_style[] = 'font-size: '.$eltd_options['woo_product_single_title_font_size'].'px';
}

if(isset($eltd_options['woo_product_single_title_line_height']) && $eltd_options['woo_product_single_title_line_height'] !== '') {
    $woo_product_single_title_style[] = 'line-height: '.$eltd_options['woo_product_single_title_line_height'].'px';
}

if(isset($eltd_options['woo_product_single_title_letter_spacing']) && $eltd_options['woo_product_single_title_letter_spacing'] !== '') {
    $woo_product_single_title_style[] = 'letter-spacing: '.$eltd_options['woo_product_single_title_letter_spacing'].'px';
}

if(isset($eltd_options['woo_product_single_title_font_weight']) && $eltd_options['woo_product_single_title_font_weight'] !== '') {
    $woo_product_single_title_style[] = 'font-weight: '.$eltd_options['woo_product_single_title_font_weight'];
}

if(isset($eltd_options['woo_product_single_title_font_style']) && $eltd_options['woo_product_single_title_font_style'] !== '') {
    $woo_product_single_title_style[] = 'font-style: '.$eltd_options['woo_product_single_title_font_style'];
}

if(isset($eltd_options['woo_product_single_title_text_transform']) && $eltd_options['woo_product_single_title_text_transform'] !== '') {
    $woo_product_single_title_style[] = 'text-transform: '.$eltd_options['woo_product_single_title_text_transform'];
}

if(isset($eltd_options['woo_product_single_title_color']) && $eltd_options['woo_product_single_title_color'] !== '') {
    $woo_product_single_title_style[] = 'color: '.$eltd_options['woo_product_single_title_color'];
}

if(is_array($woo_product_single_title_style) && count($woo_product_single_title_style)) { ?>
    .woocommerce .product h2.product_title{
    <?php echo esc_attr(implode(';', $woo_product_single_title_style)); ?>
    }
<?php } ?>

<?php if(isset($eltd_options['woo_product_single_title_hover_color']) && !empty($eltd_options['woo_product_single_title_hover_color'])) { ?>
    .woocommerce .product h2.product_title a:hover{
    color: <?php echo esc_attr($eltd_options['woo_product_single_title_hover_color']); ?>;
    }
<?php } ?>

<?php
$woo_products_single_add_to_cart_style = array();
$woo_products_single_add_to_cart_hover_style = array();

if(isset($eltd_options['woo_products_single_add_to_cart_font_family']) && $eltd_options['woo_products_single_add_to_cart_font_family'] !== '-1') {
    $woo_products_single_add_to_cart_style[] = 'font-family: '.str_replace('+', ' ', $eltd_options['woo_products_single_add_to_cart_font_family']).', sans-serif';
}

if(isset($eltd_options['woo_products_single_add_to_cart_font_size']) && $eltd_options['woo_products_single_add_to_cart_font_size'] !== '') {
    $woo_products_single_add_to_cart_style[] = 'font-size: '.$eltd_options['woo_products_single_add_to_cart_font_size'].'px';
}

if(isset($eltd_options['woo_products_single_add_to_cart_line_height']) && $eltd_options['woo_products_single_add_to_cart_line_height'] !== '') {
    $woo_products_single_add_to_cart_style[] = 'line-height: '.$eltd_options['woo_products_single_add_to_cart_line_height'].'px';
	$woo_products_single_add_to_cart_style[] = 'height: '.$eltd_options['woo_products_single_add_to_cart_line_height'].'px';
}

if(isset($eltd_options['woo_products_single_add_to_cart_letter_spacing']) && $eltd_options['woo_products_single_add_to_cart_letter_spacing'] !== '') {
    $woo_products_single_add_to_cart_style[] = 'letter-spacing: '.$eltd_options['woo_products_single_add_to_cart_letter_spacing'].'px';
}

if(isset($eltd_options['woo_products_single_add_to_cart_font_weight']) && $eltd_options['woo_products_single_add_to_cart_font_weight'] !== '') {
    $woo_products_single_add_to_cart_style[] = 'font-weight: '.$eltd_options['woo_products_single_add_to_cart_font_weight'];
}

if(isset($eltd_options['woo_products_single_add_to_cart_font_style']) && $eltd_options['woo_products_single_add_to_cart_font_style'] !== '') {
    $woo_products_single_add_to_cart_style[] = 'font-style: '.$eltd_options['woo_products_single_add_to_cart_font_style'];
}

if(isset($eltd_options['woo_products_single_add_to_cart_text_transform']) && $eltd_options['woo_products_single_add_to_cart_text_transform'] !== '') {
    $woo_products_single_add_to_cart_style[] = 'text-transform: '.$eltd_options['woo_products_single_add_to_cart_text_transform'];
}

if(isset($eltd_options['woo_products_single_add_to_cart_color']) && !empty($eltd_options['woo_products_single_add_to_cart_color'])) {
    $woo_products_single_add_to_cart_style[] = 'color: '.$eltd_options['woo_products_single_add_to_cart_color'];
}

if(isset($eltd_options['woo_products_single_add_to_cart_background_color']) && !empty($eltd_options['woo_products_single_add_to_cart_background_color'])) {
    $woo_products_single_add_to_cart_style[] = 'background-color: '.$eltd_options['woo_products_single_add_to_cart_background_color'];
}

if(isset($eltd_options['woo_products_single_add_to_cart_border_width']) && $eltd_options['woo_products_single_add_to_cart_border_width'] !== '') {
    $woo_products_single_add_to_cart_style[] = 'border-width: '.$eltd_options['woo_products_single_add_to_cart_border_width'].'px';
	$woo_products_single_add_to_cart_style[] = 'border-style:solid';
}

if(isset($eltd_options['woo_products_single_add_to_cart_border_color']) && !empty($eltd_options['woo_products_single_add_to_cart_border_color'])) {
    $woo_products_single_add_to_cart_style[] = 'border-color: '.$eltd_options['woo_products_single_add_to_cart_border_color'];
}

if(isset($eltd_options['woo_products_single_add_to_cart_border_radius']) && $eltd_options['woo_products_single_add_to_cart_border_radius'] !== '') {
    $woo_products_single_add_to_cart_style[] = 'border-radius: '.$eltd_options['woo_products_single_add_to_cart_border_radius'].'px';
}

if(isset($eltd_options['woo_products_single_add_to_cart_margin_left']) && $eltd_options['woo_products_single_add_to_cart_margin_left'] !== '') {
    $woo_products_single_add_to_cart_style[] = 'margin-left: '.$eltd_options['woo_products_single_add_to_cart_margin_left'].'px';
}

if(isset($eltd_options['woo_products_single_add_to_cart_padding_left']) && $eltd_options['woo_products_single_add_to_cart_padding_left'] !== '') {
    $woo_products_single_add_to_cart_style[] = 'padding-left: '.$eltd_options['woo_products_single_add_to_cart_padding_left'].'px';
}

if(isset($eltd_options['woo_products_single_add_to_cart_padding_right']) && $eltd_options['woo_products_single_add_to_cart_padding_right'] !== '') {
    $woo_products_single_add_to_cart_style[] = 'padding-right: '.$eltd_options['woo_products_single_add_to_cart_padding_right'].'px';
}

if(is_array($woo_products_single_add_to_cart_style) && count($woo_products_single_add_to_cart_style)) { ?>
    .woocommerce.single-product button.single_add_to_cart_button{
    <?php echo esc_attr(implode(';', $woo_products_single_add_to_cart_style)); ?>
    }
<?php }

if(isset($eltd_options['woo_products_single_add_to_cart_hover_color']) && !empty($eltd_options['woo_products_single_add_to_cart_hover_color'])) {
    $woo_products_single_add_to_cart_hover_style[] = 'color: '.$eltd_options['woo_products_single_add_to_cart_hover_color'].'!important';
}

if(isset($eltd_options['woo_products_single_add_to_cart_background_hover_color']) && !empty($eltd_options['woo_products_single_add_to_cart_background_hover_color'])) {
    $woo_products_single_add_to_cart_hover_style[] = 'background-color: '.$eltd_options['woo_products_single_add_to_cart_background_hover_color'].'!important';
}

if(isset($eltd_options['woo_products_single_add_to_cart_border_hover_color']) && !empty($eltd_options['woo_products_single_add_to_cart_border_hover_color'])) {
    $woo_products_single_add_to_cart_hover_style[] = 'border-color: '.$eltd_options['woo_products_single_add_to_cart_border_hover_color'].'!important';
}

if(is_array($woo_products_single_add_to_cart_hover_style) && count($woo_products_single_add_to_cart_hover_style)) { ?>
    .woocommerce.single-product button.single_add_to_cart_button:hover{
    <?php echo esc_attr(implode(';', $woo_products_single_add_to_cart_hover_style)); ?>
    }
<?php } ?>



<?php /*Products list add to cart*/?>

<?php
$woo_products_add_to_cart_style = array();
$woo_products_add_to_cart_hover_style = array();
$product_list_add_to_cart_font_size = 0;
$product_list_add_to_cart_line_height = 0;

if(isset($eltd_options['woo_products_add_to_cart_font_family']) && $eltd_options['woo_products_add_to_cart_font_family'] !== '-1') {
    $woo_products_add_to_cart_style[] = 'font-family: '.str_replace('+', ' ', $eltd_options['woo_products_add_to_cart_font_family']).', sans-serif';
}

if(isset($eltd_options['woo_products_add_to_cart_font_size']) && $eltd_options['woo_products_add_to_cart_font_size'] !== '') {
	$product_list_add_to_cart_font_size = $eltd_options['woo_products_add_to_cart_font_size'];
    $woo_products_add_to_cart_style[] = 'font-size: '.$eltd_options['woo_products_add_to_cart_font_size'].'px';
}

if(isset($eltd_options['woo_products_add_to_cart_line_height']) && $eltd_options['woo_products_add_to_cart_line_height'] !== '') {
	$product_list_add_to_cart_line_height = $eltd_options['woo_products_add_to_cart_line_height'];
    $woo_products_add_to_cart_style[] = 'line-height: '.$eltd_options['woo_products_add_to_cart_line_height'].'px';
}

if(isset($eltd_options['woo_products_add_to_cart_letter_spacing']) && $eltd_options['woo_products_add_to_cart_letter_spacing'] !== '') {
    $woo_products_add_to_cart_style[] = 'letter-spacing: '.$eltd_options['woo_products_add_to_cart_letter_spacing'].'px';
}

if(isset($eltd_options['woo_products_add_to_cart_font_weight']) && $eltd_options['woo_products_add_to_cart_font_weight'] !== '') {
    $woo_products_add_to_cart_style[] = 'font-weight: '.$eltd_options['woo_products_add_to_cart_font_weight'];
}

if(isset($eltd_options['woo_products_add_to_cart_font_style']) && $eltd_options['woo_products_add_to_cart_font_style'] !== '') {
    $woo_products_add_to_cart_style[] = 'font-style: '.$eltd_options['woo_products_add_to_cart_font_style'];
}

if(isset($eltd_options['woo_products_add_to_cart_text_transform']) && $eltd_options['woo_products_add_to_cart_text_transform'] !== '') {
    $woo_products_add_to_cart_style[] = 'text-transform: '.$eltd_options['woo_products_add_to_cart_text_transform'];
}

if(isset($eltd_options['woo_products_add_to_cart_color']) && !empty($eltd_options['woo_products_add_to_cart_color'])) {
    $woo_products_add_to_cart_style[] = 'color: '.$eltd_options['woo_products_add_to_cart_color'];
}

if(isset($eltd_options['woo_products_add_to_cart_background_color']) && !empty($eltd_options['woo_products_add_to_cart_background_color'])) {
    $woo_products_add_to_cart_style[] = 'background-color: '.$eltd_options['woo_products_add_to_cart_background_color'];
}

if(isset($eltd_options['woo_products_add_to_cart_border_width']) && $eltd_options['woo_products_add_to_cart_border_width'] !== '') {
    $woo_products_add_to_cart_style[] = 'border-width: '.$eltd_options['woo_products_add_to_cart_border_width'].'px';
	$woo_products_add_to_cart_style[] = 'border-style:solid';
}

if(isset($eltd_options['woo_products_add_to_cart_border_color']) && !empty($eltd_options['woo_products_add_to_cart_border_color'])) {
    $woo_products_add_to_cart_style[] = 'border-color: '.$eltd_options['woo_products_add_to_cart_border_color'];
}

if(isset($eltd_options['woo_products_add_to_cart_border_radius']) && $eltd_options['woo_products_add_to_cart_border_radius'] !== '') {
    $woo_products_add_to_cart_style[] = 'border-radius: '.$eltd_options['woo_products_add_to_cart_border_radius'].'px';
}

if(isset($eltd_options['woo_products_add_to_cart_padding_left']) && $eltd_options['woo_products_add_to_cart_padding_left'] !== '') {
    $woo_products_add_to_cart_style[] = 'padding-left : '.$eltd_options['woo_products_add_to_cart_padding_left'].'px';
}

if(isset($eltd_options['woo_products_add_to_cart_padding_right']) && $eltd_options['woo_products_add_to_cart_padding_right'] !== '') {
    $woo_products_add_to_cart_style[] = 'padding-right : '.$eltd_options['woo_products_add_to_cart_padding_right'].'px';
}

if ( $product_list_add_to_cart_font_size > 24 || $product_list_add_to_cart_line_height > 24) {
	if ( $product_list_add_to_cart_font_size > $product_list_add_to_cart_line_height) { ?>
		.woocommerce ul.products.type1 li.product .price,
		.woocommerce-page ul.products.type1 li.product .price {
			line-height: <?php echo esc_attr($product_list_add_to_cart_font_size); ?>px;
		}
		.woocommerce .products .product .product-price-switcher-holder {
			height: <?php echo esc_attr($product_list_add_to_cart_font_size); ?>px;
		}
	<?php } else if ( $product_list_add_to_cart_line_height > $product_list_add_to_cart_font_size) { ?>
		.woocommerce ul.products.type1 li.product .price,
		.woocommerce-page ul.products.type1 li.product .price {
			line-height: <?php echo esc_attr($product_list_add_to_cart_line_height); ?>px;
		}
		.woocommerce .products .product .product-price-switcher-holder {
			height: <?php echo esc_attr($product_list_add_to_cart_line_height); ?>px;
		}
	<?php }
}

if(is_array($woo_products_add_to_cart_style) && count($woo_products_add_to_cart_style)) { ?>
    .woocommerce ul.products li.product a.button.add_to_cart_button,
	.woocommerce ul.products li.product a.added_to_cart,
    .woocommerce ul.products.hover_type2 li.product a.button.add_to_cart_button,
    .woocommerce ul.products.hover_type2 li.product a.added_to_cart{
    <?php echo esc_attr(implode(';', $woo_products_add_to_cart_style)); ?>
    }
<?php }

if(isset($eltd_options['woo_products_add_to_cart_hover_color']) && !empty($eltd_options['woo_products_add_to_cart_hover_color'])) {
    $woo_products_add_to_cart_hover_style[] = 'color: '.$eltd_options['woo_products_add_to_cart_hover_color'].'!important';
}

if(isset($eltd_options['woo_products_add_to_cart_background_hover_color']) && !empty($eltd_options['woo_products_add_to_cart_background_hover_color'])) {
    $woo_products_add_to_cart_hover_style[] = 'background-color: '.$eltd_options['woo_products_add_to_cart_background_hover_color'].'!important';
}

if(isset($eltd_options['woo_products_add_to_cart_border_hover_color']) && !empty($eltd_options['woo_products_add_to_cart_border_hover_color'])) {
    $woo_products_add_to_cart_hover_style[] = 'border-color: '.$eltd_options['woo_products_add_to_cart_border_hover_color'].'!important';
}

if(is_array($woo_products_add_to_cart_hover_style) && count($woo_products_add_to_cart_hover_style)) { ?>
    .woocommerce ul.products li.product a.button.add_to_cart_button:hover,
	.woocommerce ul.products li.product a.added_to_cart:hover,
    .woocommerce ul.products.hover_type2 li.product a.button.add_to_cart_button:hover,
    .woocommerce ul.products.hover_type2 li.product a.added_to_cart:hover{
    <?php echo esc_attr(implode(';', $woo_products_add_to_cart_hover_style)); ?>
    }
<?php } ?>

<?php if(isset($eltd_options['woo_products_add_to_cart_margin_top']) && $eltd_options['woo_products_add_to_cart_margin_top'] != "") {?>
    .woocommerce ul.products:not(.hover_type2) li.product .add-to-cart-button{
        margin-top: <?php echo esc_attr($eltd_options['woo_products_add_to_cart_margin_top']).'px'?>;
    }    
<?php } ?>

<?php if(isset($eltd_options['woo_products_single_quantity_button_space']) && $eltd_options['woo_products_single_quantity_button_space']=="yes"){ ?>
	.woocommerce .quantity .minus,
	.woocommerce #content .quantity .minus,
	.woocommerce-page .quantity .minus,
	.woocommerce-page #content .quantity .minus,
	.woocommerce .quantity .plus,
	.woocommerce #content .quantity .plus,
	.woocommerce-page .quantity .plus,
	.woocommerce-page #content .quantity .plus{
		margin: 0;
	}
	.woocommerce .quantity input[type="text"].qty{
		border-left-width:0 !important;
		border-right-width:0 !important;
	}
<?php }?>

<?php
$woo_products_single_quantity_style = array();
$woo_products_single_quantity_hover_style = array();


if(isset($eltd_options['woo_products_single_quantity_font_size']) && $eltd_options['woo_products_single_quantity_font_size'] !== '') {
    $woo_products_single_quantity_style[] = 'font-size: '.$eltd_options['woo_products_single_quantity_font_size'].'px';
}
if(isset($eltd_options['woo_products_single_quantity_line_height']) && $eltd_options['woo_products_single_quantity_line_height'] !== '') {
    $woo_products_single_quantity_style[] = 'line-height: '.$eltd_options['woo_products_single_quantity_line_height'].'px';
	$woo_products_single_quantity_style[] = 'height: '.$eltd_options['woo_products_single_quantity_line_height'].'px';
}

if(isset($eltd_options['woo_products_single_quantity_color']) && !empty($eltd_options['woo_products_single_quantity_color'])) {
    $woo_products_single_quantity_style[] = 'color: '.$eltd_options['woo_products_single_quantity_color'];
}

if(isset($eltd_options['woo_products_single_quantity_background_color']) && !empty($eltd_options['woo_products_single_quantity_background_color'])) {
    $woo_products_single_quantity_style[] = 'background-color: '.$eltd_options['woo_products_single_quantity_background_color'];
}

if(isset($eltd_options['woo_products_single_quantity_border_width']) && $eltd_options['woo_products_single_quantity_border_width'] !== '') {
    $woo_products_single_quantity_style[] = 'border-width: '.$eltd_options['woo_products_single_quantity_border_width'].'px';
	$woo_products_single_quantity_style[] = 'border-style:solid';
}

if(isset($eltd_options['woo_products_single_quantity_border_color']) && !empty($eltd_options['woo_products_single_quantity_border_color'])) {
    $woo_products_single_quantity_style[] = 'border-color: '.$eltd_options['woo_products_single_quantity_border_color'];
}

if(isset($eltd_options['woo_products_single_quantity_border_radius']) && $eltd_options['woo_products_single_quantity_border_radius'] !== '') {
    $woo_products_single_quantity_style[] = 'border-radius: '.$eltd_options['woo_products_single_quantity_border_radius'].'px';
}

if(isset($eltd_options['woo_products_single_quantity_width']) && $eltd_options['woo_products_single_quantity_width'] !== '') {
    $woo_products_single_quantity_style[] = 'width: '.$eltd_options['woo_products_single_quantity_width'].'px';
}

if(is_array($woo_products_single_quantity_style) && count($woo_products_single_quantity_style)) { ?>
    .woocommerce .quantity .minus,
	.woocommerce .quantity .plus{
    <?php echo esc_attr(implode(';', $woo_products_single_quantity_style)); ?>
    }
<?php }

if(isset($eltd_options['woo_products_single_quantity_hover_color']) && !empty($eltd_options['woo_products_single_quantity_hover_color'])) {
    $woo_products_single_quantity_hover_style[] = 'color: '.$eltd_options['woo_products_single_quantity_hover_color'];
}

if(isset($eltd_options['woo_products_single_quantity_background_hover_color']) && !empty($eltd_options['woo_products_single_quantity_background_hover_color'])) {
    $woo_products_single_quantity_hover_style[] = 'background-color: '.$eltd_options['woo_products_single_quantity_background_hover_color'];
}

if(isset($eltd_options['woo_products_single_quantity_border_hover_color']) && !empty($eltd_options['woo_products_single_quantity_border_hover_color'])) {
    $woo_products_single_quantity_hover_style[] = 'border-color: '.$eltd_options['woo_products_single_quantity_border_hover_color'];
}

if(is_array($woo_products_single_quantity_hover_style) && count($woo_products_single_quantity_hover_style)) { ?>
    .woocommerce .quantity .minus:hover,
	.woocommerce .quantity .plus:hover{
    <?php echo esc_attr(implode(';', $woo_products_single_quantity_hover_style)); ?>
    }
<?php } ?>

<?php
$woo_products_single_quantity_input_style = array();
$woo_products_single_quantity_input_hover_style = array();


if(isset($eltd_options['woo_products_single_quantity_input_font_size']) && $eltd_options['woo_products_single_quantity_input_font_size'] !== '') {
    $woo_products_single_quantity_input_style[] = 'font-size: '.$eltd_options['woo_products_single_quantity_input_font_size'].'px';
}
if(isset($eltd_options['woo_products_single_quantity_input_line_height']) && $eltd_options['woo_products_single_quantity_input_line_height'] !== '') {
    $woo_products_single_quantity_input_style[] = 'line-height: '.$eltd_options['woo_products_single_quantity_input_line_height'].'px';
	$woo_products_single_quantity_input_style[] = 'height: '.$eltd_options['woo_products_single_quantity_input_line_height'].'px';
}

if(isset($eltd_options['woo_products_single_quantity_input_color']) && !empty($eltd_options['woo_products_single_quantity_input_color'])) {
    $woo_products_single_quantity_input_style[] = 'color: '.$eltd_options['woo_products_single_quantity_input_color'];
}

if(isset($eltd_options['woo_products_single_quantity_input_background_color']) && !empty($eltd_options['woo_products_single_quantity_input_background_color'])) {
    $woo_products_single_quantity_input_style[] = 'background-color: '.$eltd_options['woo_products_single_quantity_input_background_color'];
}

if(isset($eltd_options['woo_products_single_quantity_input_border_width']) && $eltd_options['woo_products_single_quantity_input_border_width'] !== '') {
    $woo_products_single_quantity_input_style[] = 'border-width: '.$eltd_options['woo_products_single_quantity_input_border_width'].'px';
	$woo_products_single_quantity_input_style[] = 'border-style:solid';
}

if(isset($eltd_options['woo_products_single_quantity_input_border_color']) && !empty($eltd_options['woo_products_single_quantity_input_border_color'])) {
    $woo_products_single_quantity_input_style[] = 'border-color: '.$eltd_options['woo_products_single_quantity_input_border_color'].'!important';
}

if(isset($eltd_options['woo_products_single_quantity_input_border_radius']) && $eltd_options['woo_products_single_quantity_input_border_radius'] !== '') {
    $woo_products_single_quantity_input_style[] = 'border-radius: '.$eltd_options['woo_products_single_quantity_input_border_radius'].'px';
}

if(isset($eltd_options['woo_products_single_quantity_input_width']) && $eltd_options['woo_products_single_quantity_input_width'] !== '') {
    $woo_products_single_quantity_input_style[] = 'width: '.$eltd_options['woo_products_single_quantity_input_width'].'px';
}

if(is_array($woo_products_single_quantity_input_style) && count($woo_products_single_quantity_input_style)) { ?>
    .woocommerce .quantity input[type="text"].qty{
    <?php echo esc_attr(implode(';', $woo_products_single_quantity_input_style)); ?>
    }
<?php }

if(isset($eltd_options['woo_products_single_quantity_input_hover_color']) && !empty($eltd_options['woo_products_single_quantity_input_hover_color'])) {
    $woo_products_single_quantity_input_hover_style[] = 'color: '.$eltd_options['woo_products_single_quantity_input_hover_color'];
}

if(isset($eltd_options['woo_products_single_quantity_input_background_hover_color']) && !empty($eltd_options['woo_products_single_quantity_input_background_hover_color'])) {
    $woo_products_single_quantity_input_hover_style[] = 'background-color: '.$eltd_options['woo_products_single_quantity_input_background_hover_color'];
}

if(isset($eltd_options['woo_products_single_quantity_input_border_hover_color']) && !empty($eltd_options['woo_products_single_quantity_input_border_hover_color'])) {
    $woo_products_single_quantity_input_hover_style[] = 'border-color: '.$eltd_options['woo_products_single_quantity_input_border_hover_color'].'!important';
}

if(isset($eltd_options['woo_products_single_quan_input_outline_hover_color']) && !empty($eltd_options['woo_products_single_quan_input_outline_hover_color'])) {
    $woo_products_single_quantity_input_hover_style[] = 'outline-color: '.$eltd_options['woo_products_single_quan_input_outline_hover_color'];
}

if(is_array($woo_products_single_quantity_input_hover_style) && count($woo_products_single_quantity_input_hover_style)) { ?>
    .woocommerce .quantity input[type="text"].qty:focus{
    <?php echo esc_attr(implode(';', $woo_products_single_quantity_input_hover_style)); ?>
    }
<?php } ?>
<?php
$woo_product_single_price_style = array();

if(isset($eltd_options['woo_product_single_price_font_family']) && $eltd_options['woo_product_single_price_font_family'] !== '-1') {
    $woo_product_single_price_style[] = 'font-family: '.str_replace('+', ' ', $eltd_options['woo_product_single_price_font_family']).', sans-serif';
}

if(isset($eltd_options['woo_product_single_price_font_size']) && $eltd_options['woo_product_single_price_font_size'] !== '') {
    $woo_product_single_price_style[] = 'font-size: '.$eltd_options['woo_product_single_price_font_size'].'px';
}

if(isset($eltd_options['woo_product_single_price_line_height']) && $eltd_options['woo_product_single_price_line_height'] !== '') {
    $woo_product_single_price_style[] = 'line-height: '.$eltd_options['woo_product_single_price_line_height'].'px';
}

if(isset($eltd_options['woo_product_single_price_letter_spacing']) && $eltd_options['woo_product_single_price_letter_spacing'] !== '') {
    $woo_product_single_price_style[] = 'letter-spacing: '.$eltd_options['woo_product_single_price_letter_spacing'].'px';
}

if(isset($eltd_options['woo_product_single_price_font_weight']) && $eltd_options['woo_product_single_price_font_weight'] !== '') {
    $woo_product_single_price_style[] = 'font-weight: '.$eltd_options['woo_product_single_price_font_weight'];
}

if(isset($eltd_options['woo_product_single_price_font_style']) && $eltd_options['woo_product_single_price_font_style'] !== '') {
    $woo_product_single_price_style[] = 'font-style: '.$eltd_options['woo_product_single_price_font_style'];
}

if(isset($eltd_options['woo_product_single_price_text_transform']) && $eltd_options['woo_product_single_price_text_transform'] !== '') {
    $woo_product_single_price_style[] = 'text-transform: '.$eltd_options['woo_product_single_price_text_transform'];
}

if(isset($eltd_options['woo_product_single_price_color']) && $eltd_options['woo_product_single_price_color'] !== '') {
    $woo_product_single_price_style[] = 'color: '.$eltd_options['woo_product_single_price_color'];
}

if(is_array($woo_product_single_price_style) && count($woo_product_single_price_style)) { ?>
    .woocommerce div.product .summary p.price del span.amount,
	.woocommerce div.product .summary p.price ins span.amount,
	.woocommerce div.product .summary p.price  span.amount{
    <?php echo esc_attr(implode(';', $woo_product_single_price_style)); ?>
    }
<?php }

if(isset($eltd_options['woo_product_single_price_old_font_size']) && !empty($eltd_options['woo_product_single_price_old_font_size'])) { ?>
    .woocommerce div.product .summary p.price del,
    .woocommerce div.product .summary p.price del span.amount{
		font-size: <?php echo esc_attr($eltd_options['woo_product_single_price_old_font_size'].'px'); ?>;
    }
<?php }

if(isset($eltd_options['woo_product_single_price_old_color']) && !empty($eltd_options['woo_product_single_price_old_color'])) { ?>
    .woocommerce div.product .summary p.price del,
    .woocommerce div.product .summary p.price del span.amount{
		color: <?php echo esc_attr($eltd_options['woo_product_single_price_old_color']); ?>;
    }
<?php } ?>

<?php if(isset($eltd_options['woo_product_single_tabs_color']) && !empty($eltd_options['woo_product_single_tabs_color'])) { ?>
.woocommerce .eltd_accordion_holder .ui-accordion-header.title-holder{
	background-color:  <?php echo esc_attr($eltd_options['woo_product_single_tabs_color']); ?>;
}
<?php } ?>

<?php if(isset($eltd_options['woo_product_single_tabs_border_color']) && !empty($eltd_options['woo_product_single_tabs_border_color'])) { ?>
.woocommerce .eltd_accordion_holder .ui-accordion-header.title-holder{
	border-color:  <?php echo esc_attr($eltd_options['woo_product_single_tabs_border_color']); ?>;
}
<?php } ?>


<?php if(isset($eltd_options['woo_product_single_tabs_hover_color']) && !empty($eltd_options['woo_product_single_tabs_hover_color'])) { ?>
.woocommerce .eltd_accordion_holder .ui-accordion-header.title-holder:hover,
.woocommerce .eltd_accordion_holder.accordion.boxed .ui-accordion-header.ui-state-active{
	background-color:  <?php echo esc_attr($eltd_options['woo_product_single_tabs_hover_color']); ?>;
}
<?php } ?>

<?php if(isset($eltd_options['woo_product_single_tabs_border_hover_color']) && !empty($eltd_options['woo_product_single_tabs_border_hover_color'])) { ?>
.woocommerce .eltd_accordion_holder .ui-accordion-header.title-holder:hover,
.woocommerce .eltd_accordion_holder.accordion.boxed .ui-accordion-header.ui-state-active{
	border-color:  <?php echo esc_attr($eltd_options['woo_product_single_tabs_border_hover_color']); ?>;
}
<?php } ?>

<?php if(isset($eltd_options['woo_product_single_tabs_text_hover_color']) && !empty($eltd_options['woo_product_single_tabs_text_hover_color'])) { ?>
.woocommerce .eltd_accordion_holder .ui-accordion-header.title-holder:hover,
.woocommerce .eltd_accordion_holder.accordion.boxed .ui-accordion-header.ui-state-active{
	color:  <?php echo esc_attr($eltd_options['woo_product_single_tabs_text_hover_color']); ?>;
}
<?php } ?>

<?php
$woo_product_single_tabs_style = array();

if(isset($eltd_options['woo_product_single_tabs_font_family']) && $eltd_options['woo_product_single_tabs_font_family'] !== '-1') {
    $woo_product_single_tabs_style[] = 'font-family: '.str_replace('+', ' ', $eltd_options['woo_product_single_tabs_font_family']).', sans-serif';
}

if(isset($eltd_options['woo_product_single_tabs_font_size']) && $eltd_options['woo_product_single_tabs_font_size'] !== '') {
    $woo_product_single_tabs_style[] = 'font-size: '.$eltd_options['woo_product_single_tabs_font_size'].'px';
}

if(isset($eltd_options['woo_product_single_tabs_line_height']) && $eltd_options['woo_product_single_tabs_line_height'] !== '') {
    $woo_product_single_tabs_style[] = 'line-height: '.$eltd_options['woo_product_single_tabs_line_height'].'px';
}

if(isset($eltd_options['woo_product_single_tabs_letter_spacing']) && $eltd_options['woo_product_single_tabs_letter_spacing'] !== '') {
    $woo_product_single_tabs_style[] = 'letter-spacing: '.$eltd_options['woo_product_single_tabs_letter_spacing'].'px';
}

if(isset($eltd_options['woo_product_single_tabs_font_weight']) && $eltd_options['woo_product_single_tabs_font_weight'] !== '') {
    $woo_product_single_tabs_style[] = 'font-weight: '.$eltd_options['woo_product_single_tabs_font_weight'];
}

if(isset($eltd_options['woo_product_single_tabs_font_style']) && $eltd_options['woo_product_single_tabs_font_style'] !== '') {
    $woo_product_single_tabs_style[] = 'font-style: '.$eltd_options['woo_product_single_tabs_font_style'];
}

if(isset($eltd_options['woo_product_single_tabs_text_transform']) && $eltd_options['woo_product_single_tabs_text_transform'] !== '') {
    $woo_product_single_tabs_style[] = 'text-transform: '.$eltd_options['woo_product_single_tabs_text_transform'];
}

if(isset($eltd_options['woo_product_single_tabs_text_color']) && $eltd_options['woo_product_single_tabs_text_color'] !== '') {
    $woo_product_single_tabs_style[] = 'color: '.$eltd_options['woo_product_single_tabs_text_color'];
}

if(is_array($woo_product_single_tabs_style) && count($woo_product_single_tabs_style)) { ?>
    .woocommerce .eltd_accordion_holder .ui-accordion-header.title-holder{
    <?php echo esc_attr(implode(';', $woo_product_single_tabs_style)); ?>
    }
<?php } ?>

<?php if(isset($eltd_options['woo_product_single_vertical_tabs_text_hover_color']) && !empty($eltd_options['woo_product_single_vertical_tabs_text_hover_color'])) { ?>
.woocommerce .eltd_tabs.woocommerce-tabs .tabs-nav li a:hover,
.woocommerce .eltd_tabs.woocommerce-tabs .tabs-nav li.active a{
	color:  <?php echo esc_attr($eltd_options['woo_product_single_vertical_tabs_text_hover_color']); ?>;
}
<?php } ?>

<?php if(isset($eltd_options['woo_product_single_vertical_tabs_border_color']) && !empty($eltd_options['woo_product_single_vertical_tabs_border_color'])) { ?>
.woocommerce .eltd_tabs.woocommerce-tabs .tabs-nav li,
.woocommerce .eltd_tabs.woocommerce-tabs{
	border-color:  <?php echo esc_attr($eltd_options['woo_product_single_vertical_tabs_border_color']); ?>;
}
<?php } ?>

<?php if(isset($eltd_options['woo_product_single_vertical_tabs_border_width']) && ($eltd_options['woo_product_single_vertical_tabs_border_width'])!=='') { ?>
.woocommerce .eltd_tabs.woocommerce-tabs .tabs-nav li,
.woocommerce .eltd_tabs.woocommerce-tabs{
	border-width:  <?php echo esc_attr($eltd_options['woo_product_single_vertical_tabs_border_width'].'px'); ?>;
}
<?php } ?>

<?php
$woo_product_single_vertical_tabs_style = array();

if(isset($eltd_options['woo_product_single_vertical_tabs_font_family']) && $eltd_options['woo_product_single_vertical_tabs_font_family'] !== '-1') {
    $woo_product_single_vertical_tabs_style[] = 'font-family: '.str_replace('+', ' ', $eltd_options['woo_product_single_vertical_tabs_font_family']).', sans-serif';
}

if(isset($eltd_options['woo_product_single_vertical_tabs_font_size']) && $eltd_options['woo_product_single_vertical_tabs_font_size'] !== '') {
    $woo_product_single_vertical_tabs_style[] = 'font-size: '.$eltd_options['woo_product_single_vertical_tabs_font_size'].'px';
}

if(isset($eltd_options['woo_product_single_vertical_tabs_line_height']) && $eltd_options['woo_product_single_vertical_tabs_line_height'] !== '') {
    $woo_product_single_vertical_tabs_style[] = 'line-height: '.$eltd_options['woo_product_single_vertical_tabs_line_height'].'px';
}

if(isset($eltd_options['woo_product_single_vertical_tabs_letter_spacing']) && $eltd_options['woo_product_single_vertical_tabs_letter_spacing'] !== '') {
    $woo_product_single_vertical_tabs_style[] = 'letter-spacing: '.$eltd_options['woo_product_single_vertical_tabs_letter_spacing'].'px';
}

if(isset($eltd_options['woo_product_single_vertical_tabs_font_weight']) && $eltd_options['woo_product_single_vertical_tabs_font_weight'] !== '') {
    $woo_product_single_vertical_tabs_style[] = 'font-weight: '.$eltd_options['woo_product_single_vertical_tabs_font_weight'];
}

if(isset($eltd_options['woo_product_single_vertical_tabs_font_style']) && $eltd_options['woo_product_single_vertical_tabs_font_style'] !== '') {
    $woo_product_single_vertical_tabs_style[] = 'font-style: '.$eltd_options['woo_product_single_vertical_tabs_font_style'];
}

if(isset($eltd_options['woo_product_single_vertical_tabs_text_transform']) && $eltd_options['woo_product_single_vertical_tabs_text_transform'] !== '') {
    $woo_product_single_vertical_tabs_style[] = 'text-transform: '.$eltd_options['woo_product_single_vertical_tabs_text_transform'];
}

if(isset($eltd_options['woo_product_single_vertical_tabs_text_color']) && $eltd_options['woo_product_single_vertical_tabs_text_color'] !== '') {
    $woo_product_single_vertical_tabs_style[] = 'color: '.$eltd_options['woo_product_single_vertical_tabs_text_color'];
}

if(is_array($woo_product_single_vertical_tabs_style) && count($woo_product_single_vertical_tabs_style)) { ?>
    .woocommerce .eltd_tabs.woocommerce-tabs .tabs-nav li a{
    <?php echo esc_attr(implode(';', $woo_product_single_vertical_tabs_style)); ?>
    }
<?php } ?>

<?php
$woo_product_single_related_style = array();

if(isset($eltd_options['woo_product_single_related_font_family']) && $eltd_options['woo_product_single_related_font_family'] !== '-1') {
    $woo_product_single_related_style[] = 'font-family: '.str_replace('+', ' ', $eltd_options['woo_product_single_related_font_family']).', sans-serif';
}

if(isset($eltd_options['woo_product_single_related_font_size']) && $eltd_options['woo_product_single_related_font_size'] !== '') {
    $woo_product_single_related_style[] = 'font-size: '.$eltd_options['woo_product_single_related_font_size'].'px';
}

if(isset($eltd_options['woo_product_single_related_line_height']) && $eltd_options['woo_product_single_related_line_height'] !== '') {
    $woo_product_single_related_style[] = 'line-height: '.$eltd_options['woo_product_single_related_line_height'].'px';
}

if(isset($eltd_options['woo_product_single_related_letter_spacing']) && $eltd_options['woo_product_single_related_letter_spacing'] !== '') {
    $woo_product_single_related_style[] = 'letter-spacing: '.$eltd_options['woo_product_single_related_letter_spacing'].'px';
}

if(isset($eltd_options['woo_product_single_related_font_weight']) && $eltd_options['woo_product_single_related_font_weight'] !== '') {
    $woo_product_single_related_style[] = 'font-weight: '.$eltd_options['woo_product_single_related_font_weight'];
}

if(isset($eltd_options['woo_product_single_related_font_style']) && $eltd_options['woo_product_single_related_font_style'] !== '') {
    $woo_product_single_related_style[] = 'font-style: '.$eltd_options['woo_product_single_related_font_style'];
}

if(isset($eltd_options['woo_product_single_related_text_transform']) && $eltd_options['woo_product_single_related_text_transform'] !== '') {
    $woo_product_single_related_style[] = 'text-transform: '.$eltd_options['woo_product_single_related_text_transform'];
}

if(isset($eltd_options['woo_product_single_related_color']) && $eltd_options['woo_product_single_related_color'] !== '') {
    $woo_product_single_related_style[] = 'color: '.$eltd_options['woo_product_single_related_color'];
}

if(is_array($woo_product_single_related_style) && count($woo_product_single_related_style)) { ?>
    .woocommerce  div.upsells .related-products-title,
    .woocommerce  div.related .related-products-title{
    <?php echo esc_attr(implode(';', $woo_product_single_related_style)); ?>
    }
<?php } ?>

<?php
if(isset($eltd_options['qs_slider_preloader_background']) && $eltd_options['qs_slider_preloader_background'] !== '') {
?>

    .eltd_slider_preloader,
    .eltd_slider .carousel,
    .full_screen_preloader,
    .vertical_split_slider_preloader{
        background-color: <?php echo esc_attr($eltd_options['qs_slider_preloader_background']); ?>;
    }
<?php
}
?>

<?php
$vss_navigation_style = "";
$vss_navigation_border = "";

if(isset($eltd_options['vss_navigation_color']) && $eltd_options['vss_navigation_color'] !== '') {
	$vss_navigation_style .= "background-color: " . $eltd_options['vss_navigation_color'] . "; ";
	$vss_navigation_border = "border-color: " . $eltd_options['vss_navigation_color'] . "; ";
}
if(isset($eltd_options['vss_navigation_border_color']) && $eltd_options['vss_navigation_border_color'] !== '') {
	$vss_navigation_border = "border-color: " . $eltd_options['vss_navigation_border_color'] . "; ";
}

if ($vss_navigation_style !== '') { ?>
	#multiscroll-nav:not(.dark):not(.light) li .active span{
		<?php echo esc_attr($vss_navigation_style);?>
	}
<?php }

if ($vss_navigation_border !== '') { ?>
	#multiscroll-nav:not(.dark):not(.light) li .active span:before{
		<?php echo esc_attr($vss_navigation_border);?>
	}
<?php }
?>
<?php
$vss_navigation_inactive_style = "";
$vss_navigation_inactive_border = "";

if(isset($eltd_options['vss_navigation_inactive_color']) && $eltd_options['vss_navigation_inactive_color'] !== '') {
	$vss_navigation_inactive_style .= "background-color: " . $eltd_options['vss_navigation_inactive_color'] . "; ";
	$vss_navigation_inactive_border = "border-color: " . $eltd_options['vss_navigation_inactive_color'] . "; ";
}

if(isset($eltd_options['vss_navigation_inactive_border_color']) && $eltd_options['vss_navigation_inactive_border_color'] !== '') {
	$vss_navigation_inactive_border = "border-color: " . $eltd_options['vss_navigation_inactive_border_color'] . "; ";
}

if ($vss_navigation_inactive_style !== '') { ?>
	#multiscroll-nav:not(.dark):not(.light) li span{
		<?php echo esc_attr($vss_navigation_inactive_style);?>
	}
<?php }

if ($vss_navigation_inactive_border !== '') { ?>
	#multiscroll-nav:not(.dark):not(.light) li span:before{
		<?php echo esc_attr($vss_navigation_inactive_border);?>
	}
<?php }
?>

<?php
$vss_navigation_light_style = "";
$vss_navigation_light_border = "";

if(isset($eltd_options['vss_navigation_light_color']) && $eltd_options['vss_navigation_light_color'] !== '') {
	$vss_navigation_light_style .= "background-color: " . $eltd_options['vss_navigation_light_color'] . "; ";
	$vss_navigation_light_border = "border-color: " . $eltd_options['vss_navigation_light_color'] . "; ";
}
if(isset($eltd_options['vss_navigation_light_border_color']) && $eltd_options['vss_navigation_light_border_color'] !== '') {
	$vss_navigation_light_border = "border-color: " . $eltd_options['vss_navigation_light_border_color'] . "; ";
}

if ($vss_navigation_light_style !== '') { ?>
	#multiscroll-nav.light li .active span{
		<?php echo esc_attr($vss_navigation_light_style);?>
	}
<?php }

if ($vss_navigation_light_border !== '') { ?>
	#multiscroll-nav.light li .active span:before{
		<?php echo esc_attr($vss_navigation_light_border);?>
	}
<?php }
?>
<?php
$vss_navigation_light_inactive_style = "";
$vss_navigation_light_inactive_border = "";

if(isset($eltd_options['vss_navigation_light_inactive_color']) && $eltd_options['vss_navigation_light_inactive_color'] !== '') {
	$vss_navigation_light_inactive_style .= "background-color: " . $eltd_options['vss_navigation_light_inactive_color'] . "; ";
	$vss_navigation_light_inactive_border = "border-color: " . $eltd_options['vss_navigation_light_inactive_color'] . "; ";
}

if(isset($eltd_options['vss_navigation_light_inactive_border_color']) && $eltd_options['vss_navigation_light_inactive_border_color'] !== '') {
	$vss_navigation_light_inactive_border = "border-color: " . $eltd_options['vss_navigation_light_inactive_border_color'] . "; ";
}

if ($vss_navigation_light_inactive_style !== '') { ?>
	#multiscroll-nav.light li span{
		<?php echo esc_attr($vss_navigation_light_inactive_style);?>
	}
<?php }

if ($vss_navigation_light_inactive_border !== '') { ?>
	#multiscroll-nav.light li span:before{
		<?php echo esc_attr($vss_navigation_light_inactive_border);?>
	}
<?php }
?>

<?php
$vss_navigation_dark_style = "";
$vss_navigation_dark_border = "";

if(isset($eltd_options['vss_navigation_dark_color']) && $eltd_options['vss_navigation_dark_color'] !== '') {
	$vss_navigation_dark_style .= "background-color: " . $eltd_options['vss_navigation_dark_color'] . "; ";
	$vss_navigation_dark_border = "border-color: " . $eltd_options['vss_navigation_dark_color'] . "; ";
}
if(isset($eltd_options['vss_navigation_dark_border_color']) && $eltd_options['vss_navigation_dark_border_color'] !== '') {
	$vss_navigation_dark_border = "border-color: " . $eltd_options['vss_navigation_dark_border_color'] . "; ";
}

if ($vss_navigation_dark_style !== '') { ?>
	#multiscroll-nav.dark li .active span{
		<?php echo esc_attr($vss_navigation_dark_style);?>
	}
<?php }

if ($vss_navigation_dark_border !== '') { ?>
	#multiscroll-nav.dark li .active span:before{
		<?php echo esc_attr($vss_navigation_dark_border);?>
	}
<?php }
?>
<?php
$vss_navigation_dark_inactive_style = "";
$vss_navigation_dark_inactive_border = "";

if(isset($eltd_options['vss_navigation_dark_inactive_color']) && $eltd_options['vss_navigation_dark_inactive_color'] !== '') {
	$vss_navigation_dark_inactive_style .= "background-color: " . $eltd_options['vss_navigation_dark_inactive_color'] . "; ";
	$vss_navigation_dark_inactive_border = "border-color: " . $eltd_options['vss_navigation_dark_inactive_color'] . "; ";
}

if(isset($eltd_options['vss_navigation_dark_inactive_border_color']) && $eltd_options['vss_navigation_dark_inactive_border_color'] !== '') {
	$vss_navigation_dark_inactive_border = "border-color: " . $eltd_options['vss_navigation_dark_inactive_border_color'] . "; ";
}

if ($vss_navigation_dark_inactive_style !== '') { ?>
	#multiscroll-nav.dark li span{
		<?php echo esc_attr($vss_navigation_dark_inactive_style);?>
	}
<?php }

if ($vss_navigation_dark_inactive_border !== '') { ?>
	#multiscroll-nav.dark li span:before{
		<?php echo esc_attr($vss_navigation_dark_inactive_border);?>
	}
<?php }
?>

<?php
if(isset($eltd_options['vss_navigation_size']) && $eltd_options['vss_navigation_size'] !== '') {
?>

	#multiscroll-nav li,
	#multiscroll-nav span,
	#multiscroll-nav span:before{
		width: <?php echo esc_attr($eltd_options['vss_navigation_size']); ?>px;
		height: <?php echo esc_attr($eltd_options['vss_navigation_size']); ?>px;
	}
<?php
}

if(isset($eltd_options['vss_navigation_active_size']) && $eltd_options['vss_navigation_active_size'] !== '') {
?>

	#multiscroll-nav li,
	#multiscroll-nav li .active span,
	#multiscroll-nav li .active span:before{
		width: <?php echo esc_attr($eltd_options['vss_navigation_active_size']); ?>px;
		height: <?php echo esc_attr($eltd_options['vss_navigation_active_size']); ?>px;
	}
<?php
}

if (isset($eltd_options['vss_navigation_size']) && $eltd_options['vss_navigation_size'] !== '' && isset($eltd_options['vss_navigation_active_size']) && $eltd_options['vss_navigation_active_size'] !== '') {
	$vss_navigation_margins = ($eltd_options['vss_navigation_active_size'] - $eltd_options['vss_navigation_size'])/2; ?>
	#multiscroll-nav li a:not(.active) span{
		margin: <?php echo esc_attr($vss_navigation_margins.'px'); ?>;
	}
<?php }
?>

<?php
if(isset($eltd_options['vss_navigation_spacing_from_edge']) && $eltd_options['vss_navigation_spacing_from_edge'] !== '') {
?>
    #multiscroll-nav.right{
        right: <?php echo esc_attr($eltd_options['vss_navigation_spacing_from_edge']); ?>px;
    }
    #multiscroll-nav.left{
        left: <?php echo esc_attr($eltd_options['vss_navigation_spacing_from_edge']); ?>px;
    }
<?php
}
?>

<?php

if(isset($eltd_options['vss_left_panel_size']) && $eltd_options['vss_left_panel_size'] !== '' && isset($eltd_options['vss_right_panel_size']) && $eltd_options['vss_right_panel_size'] !== '' && (intval($eltd_options['vss_left_panel_size']) + intval($eltd_options['vss_right_panel_size']) == 100)) {
?>
	.vertical_split_slider:not(.disable_general_option) .ms-left {
        width: <?php echo esc_attr($eltd_options['vss_left_panel_size']); ?>% !important;
    }

	.vertical_split_slider:not(.disable_general_option) .ms-right {
        width: <?php echo esc_attr($eltd_options['vss_right_panel_size']); ?>% !important;
    }
<?php
}
?>

<?php
$single_image_color = '';
$single_image_transparency = '.85';
if (isset($eltd_options['single_image_hover_color']) && $eltd_options['single_image_hover_color'] !== '') {
    if(isset($eltd_options['single_image_hover_transparency']) && $eltd_options['single_image_hover_transparency'] !== ''){
        $single_image_transparency = $eltd_options['single_image_hover_transparency'];
    }
        $single_image_color = eltd_hex2rgb($eltd_options['single_image_hover_color']); ?>

    .prettyphoto_container:hover span{
        background-color: rgba(<?php echo esc_attr($single_image_color[0]); ?>,<?php echo esc_attr($single_image_color[1]); ?>, <?php echo esc_attr($single_image_color[2]); ?>, <?php echo esc_attr($single_image_transparency); ?>);
    }
<?php } ?>

.preload_background,
.preload_parallax_layers{
<?php if(isset($eltd_options['preload_pattern_image']) && $eltd_options['preload_pattern_image'] !== '' ) { ?>
	background-image: url("<?php echo esc_attr($eltd_options['preload_pattern_image']); ?>") !important;
<?php }else{ ?>
	background-image: url("<?php echo esc_url(ELATED_ROOT."/img/preload_pattern.png"); ?>") !important;
<?php } ?>
}

<?php if(isset($eltd_options['paspartu']) && $eltd_options['paspartu'] == 'yes') { ?>
	<?php if(isset($eltd_options['paspartu_color']) && $eltd_options['paspartu_color'] !== ''){?>
	.paspartu_left,
	.paspartu_right,
	.paspartu_top,
	.paspartu_bottom,
	.paspartu_outer .eltd_slider,
	.paspartu_outer .content:not(.has_slider) .content_inner,
	.eltd_slider_bottom_paspartu{
		background-color: <?php echo esc_attr($eltd_options['paspartu_color']); ?>;
	}
	<?php } ?>
	
	<?php if(isset($eltd_options['paspartu_width']) && $eltd_options['paspartu_width'] !== ''){?>
		.paspartu_outer,
		.paspartu_outer .content_wrapper{
			padding: 0 <?php echo esc_attr($eltd_options['paspartu_width']); ?>% 0 <?php echo esc_attr($eltd_options['paspartu_width']); ?>%;
		}

		body:not(.paspartu_on_top_fixed) .paspartu_outer .content:not(.has_slider) .content_inner,
		.paspartu_top,
		.paspartu_bottom,
		.paspartu_on_top_fixed header,
		.paspartu_on_top_fixed .fixed_top_header .top_header,
		.paspartu_on_top_fixed .paspartu_outer .content_wrapper,
		.eltd_slider_bottom_paspartu{
			padding-top: <?php echo esc_attr($eltd_options['paspartu_width']); ?>%;
		}

        .title.paspartu_below_tittle{
            margin-bottom: <?php echo esc_attr($eltd_options['paspartu_width']); ?>%;
        }

		.paspartu_on_bottom_fixed footer{
			margin-bottom: <?php echo esc_attr($eltd_options['paspartu_width']); ?>%;
		}

		body.paspartu_on_top_fixed.paspartu_on_bottom_fixed .popup_menu_holder_outer,
		body.paspartu_on_top_fixed.paspartu_on_bottom_fixed .fullscreen_search_holder.fade{
			padding: <?php echo esc_attr($eltd_options['paspartu_width']); ?>%;
			padding: calc(<?php echo esc_attr($eltd_options['paspartu_width']); ?>% - 1px); <?php //1px because of the display table?>
		}

		.paspartu_enabled #multiscroll-nav.right{
			padding-right: <?php echo esc_attr($eltd_options['paspartu_width']); ?>%;
		}

		.paspartu_left,
		.paspartu_right{
			width: <?php echo esc_attr($eltd_options['paspartu_width']); ?>%;
		}

		header.paspartu_header_alignment .header_bottom,
		header.paspartu_header_alignment .eltd_search_form_3 .form_holder{
			padding: 0px <?php echo esc_attr($eltd_options['paspartu_width']); ?>%;
		}

		header.paspartu_header_inside,
		.paspartu_enabled.vertical_menu_enabled header{
			padding-left: <?php echo esc_attr($eltd_options['paspartu_width']); ?>%;
			padding-right: <?php echo esc_attr($eltd_options['paspartu_width']); ?>%;
		}
		
		.paspartu_enabled .popup_menu_holder_inner,
		footer.paspartu_footer_alignment .footer_top_holder,
		footer.paspartu_footer_alignment .footer_bottom_holder{
			padding-left: <?php echo esc_attr($eltd_options['paspartu_width']); ?>%;
			padding-right: <?php echo esc_attr($eltd_options['paspartu_width']); ?>%;
		}

		.paspartu_enabled.paspartu_on_top_fixed .fixed_top_header .eltd_search_form_3{
			margin-top: <?php echo esc_attr($eltd_options['paspartu_width']); ?>%;
		}
		
		header.paspartu_header_inside.fixed_top_header .top_header,
		.paspartu_enabled .vertical_split_slider_preloader,
		.paspartu_enabled.paspartu_on_top_fixed .fixed_top_header .eltd_search_form_3{
			width: <?php echo esc_attr(100 - esc_attr($eltd_options['paspartu_width']) * 2); ?>%;
			margin-left: <?php echo esc_attr($eltd_options['paspartu_width']); ?>%;
			margin-right: <?php echo esc_attr($eltd_options['paspartu_width']); ?>%;
		}
		
		.paspartu_enabled .paspartu_outer:not(.disable_top_paspartu) .vertical_split_slider{
			margin-top: -<?php echo esc_attr($eltd_options['paspartu_width']); ?>%;
		}
		.paspartu_enabled .paspartu_outer:not(.disable_bottom_paspartu) .vertical_split_slider{
			margin-bottom: -<?php echo esc_attr($eltd_options['paspartu_width']); ?>%;
		}
		
		.paspartu_enabled.vertical_menu_inside_paspartu aside.vertical_menu_area,
		.paspartu_enabled.vertical_menu_inside_paspartu .vertical_area_background,
		.paspartu_enabled.vertical_menu_inside_paspartu.vertical_menu_enabled .carousel-inner:not(.relative_position),
		.paspartu_enabled.vertical_menu_inside_paspartu .vertical_menu_hidden_button{
			margin-left: <?php echo esc_attr($eltd_options['paspartu_width']); ?>%;
		}

		.paspartu_enabled.vertical_menu_inside_paspartu.vertical_menu_right aside.vertical_menu_area,
		.paspartu_enabled.vertical_menu_inside_paspartu.vertical_menu_right .vertical_area_background,
		.paspartu_enabled.vertical_menu_inside_paspartu.vertical_menu_enabled.vertical_menu_right .carousel-inner:not(.relative_position),
		.paspartu_enabled.vertical_menu_inside_paspartu.vertical_menu_right .vertical_menu_hidden_button{
			margin-right: <?php echo esc_attr($eltd_options['paspartu_width']); ?>%;
		}

		.paspartu_enabled.vertical_menu_inside_paspartu aside.vertical_menu_area,
		.paspartu_enabled.vertical_menu_inside_paspartu .vertical_area_background,
		.paspartu_enabled.vertical_menu_inside_paspartu .vertical_menu_hidden_button{
			margin-top: <?php echo esc_attr($eltd_options['paspartu_width']); ?>%;
		}

		body.vertical_menu_outside_paspartu.paspartu_on_top_fixed .paspartu_outer{
			padding-top: <?php echo esc_attr($eltd_options['paspartu_width']); ?>%;
		}

		@media only screen and (min-width: 1024px) {
			header.paspartu_header_alignment:not(.stick_with_left_right_menu) .header_inner_left{
				left: <?php echo esc_attr($eltd_options['paspartu_width']); ?>%;
			}
			header.paspartu_header_alignment.stick.compound .bottom_right{
				right: <?php echo esc_attr($eltd_options['paspartu_width']); ?>%;
			}
		}

        .paspartu_enabled #back_to_top:not(.center):not(.left){
            margin-right: <?php echo esc_attr($eltd_options['paspartu_width']); ?>%;
        }

        .paspartu_enabled #back_to_top.left{
            margin-left: <?php echo esc_attr($eltd_options['paspartu_width']); ?>%;
        }
		
		@media only screen and (min-width: 1000px) {
		
			.vertical_menu_outside_paspartu.vertical_menu_left.vertical_menu_width_290 .content_wrapper,
			.vertical_menu_outside_paspartu.vertical_menu_left.vertical_menu_width_350 .content_wrapper,
			.vertical_menu_outside_paspartu.vertical_menu_left.vertical_menu_width_400 .content_wrapper{
				margin-left: <?php echo esc_attr($eltd_options['paspartu_width']); ?>%;
				width: <?php echo esc_attr(100 - esc_attr($eltd_options['paspartu_width'])); ?>%;
			}
			
			.vertical_menu_outside_paspartu.vertical_menu_right.vertical_menu_width_290 .content_wrapper,
			.vertical_menu_outside_paspartu.vertical_menu_right.vertical_menu_width_350 .content_wrapper,
			.vertical_menu_outside_paspartu.vertical_menu_right.vertical_menu_width_400 .content_wrapper{
				margin-right: <?php echo esc_attr($eltd_options['paspartu_width']); ?>%;	
				width: <?php echo esc_attr(100 - $eltd_options['paspartu_width']); ?>%;
			}
	
		}
		
		.paspartu_border_on_edges .paspartu_top:after,
		.paspartu_border_on_edges .paspartu_bottom:before{
			width: <?php echo esc_attr(100 - $eltd_options['paspartu_width']*2); ?>%;
			left: <?php echo esc_attr($eltd_options['paspartu_width']); ?>%;
		}

		.paspartu_on_top_fixed .fullscreen_search_holder .close_container{
			margin-top: <?php echo esc_attr($eltd_options['paspartu_width']); ?>%;
		}
		
		body.paspartu_header_aligned .fullscreen_search_holder .search_close_holder{
			margin-right: <?php echo esc_attr($eltd_options['paspartu_width']); ?>%;
		}

		body.paspartu_header_set_inside .fullscreen_search_holder .search_close_holder{
			margin-right: calc(<?php echo esc_attr($eltd_options['paspartu_width']); ?>% + 45px);
		}

		@media only screen and (min-width: 1025px){
			header.stick_with_left_right_menu.paspartu_header_alignment .header_full_width nav.main_menu.left_side{
				width: <?php echo esc_attr(50 - $eltd_options['paspartu_width']); ?>%;
				left: <?php echo esc_attr($eltd_options['paspartu_width']); //moving header sticky divided full width for paspartu width because of the absolute position ?>%; 
			}

			header.stick_with_left_right_menu.paspartu_header_alignment .header_full_width nav.main_menu.right_side{
				width: <?php echo esc_attr(50 - $eltd_options['paspartu_width']); ?>%;
				right: <?php echo esc_attr($eltd_options['paspartu_width']); //moving header sticky divided full width for paspartu width because of the absolute position ?>%;
			}
		}
		
	<?php } ?>
	
	<?php if($eltd_options['paspartu_border_on_edges_color'] !== ''){?>
	.paspartu_border_on_edges .paspartu_top:after,
	.paspartu_border_on_edges .paspartu_bottom:before{
		background-color: <?php echo esc_attr($eltd_options['paspartu_border_on_edges_color']); ?>;
		
	}

	.paspartu_border_on_edges .paspartu_left,
	.paspartu_border_on_edges .paspartu_right{
		border-color: <?php echo esc_attr($eltd_options['paspartu_border_around_content_color']); ?>;
	}
	
	<?php } ?>

	<?php if( isset($eltd_options['header_bottom_appearance']) && ($eltd_options['header_bottom_appearance']=="fixed" || $eltd_options['header_bottom_appearance']=="fixed_hiding" || $eltd_options['header_bottom_appearance']=="fixed fixed_minimal")){
		if(isset($eltd_options['paspartu_width']) && $eltd_options['paspartu_width'] !== ''){
	?>
			body.paspartu_on_top_fixed .paspartu_outer .content .content_inner{
				padding-top: <?php echo esc_attr($eltd_options['paspartu_width']); ?>%;
				background-color: transparent; /* this is because of the background problem when full menu is turning on, padding on content_inner makes problems */
			}
	<?php
		}else{ ?>
			body.paspartu_on_top_fixed .paspartu_outer .content .content_inner{
				padding-top: 2% !important;
				background-color: transparent; /* this is because of the background problem when full menu is turning on, padding on content_inner makes problems */
			}
	<?php
		}
	?>
		body.paspartu_on_top_fixed .paspartu_outer .content_wrapper .content .content_inner{
			padding-top: 0% !important;
		}
		
		@media only screen and (max-width: 1024px) {
			body.paspartu_on_top_fixed .paspartu_outer .content .content_inner{
				padding-top: 2% !important;
			}
		}
	<?php
	}
	?>

<?php } ?>

<?php if($eltd_options['overlapping_content'] == 'yes'){ ?>
	<?php if($eltd_options['overlapping_top_content_amount'] !== ''){ ?>
	.overlapping_content .content .content_inner > .container .overlapping_content,
	.overlapping_content .content .content_inner > .full_width .full_width_inner{
		margin-top: -<?php echo esc_attr($eltd_options['overlapping_top_content_amount']); ?>px;
	}

	.overlapping_content .title .title_holder .container{
		padding-bottom: <?php echo esc_attr($eltd_options['overlapping_top_content_amount']); ?>px;
	}
	
	.animate_overlapping_content .overlapping_content,
	.animate_overlapping_content .full_width {
		-webkit-transform: translateY(<?php echo esc_attr($eltd_options['overlapping_top_content_amount']) - 10; ?>px);
		transform: translateY(<?php echo esc_attr($eltd_options['overlapping_top_content_amount']) - 10; ?>px);
	}
	
	<?php } ?>
	
	<?php if($eltd_options['overlapping_bottom_content_amount'] !== ''){ ?>
	.overlapping_content .content .content_inner > .container .overlapping_content,
	.overlapping_content .content .content_inner > .full_width .full_width_inner{
		margin-bottom: -<?php echo esc_attr($eltd_options['overlapping_bottom_content_amount']); ?>px;
	}
	<?php } ?>

	<?php if($eltd_options['overlapping_content_padding'] !== ''){ ?>
	.overlapping_content .content .content_inner > .container .overlapping_content .overlapping_content_inner{
    padding: 0px <?php echo esc_attr($eltd_options['overlapping_content_padding']); ?>px;
	}

	.overlapping_content_margin{
		margin: 0px -<?php echo esc_attr($eltd_options['overlapping_content_padding']); ?>px;
	}
	<?php } ?>
	
	<?php 
	$frame_around_overlapping_content_style = '';
	
	if($eltd_options['frame_around_overlapping_content_color'] !== ''){
		$frame_around_overlapping_content_style .= 'border: 1px solid '.esc_attr($eltd_options['frame_around_overlapping_content_color']).'; padding:0px; background:none; ';
		
		if($eltd_options['frame_around_overlapping_content_width'] !== ''){
			$frame_around_overlapping_content_style .= 'border-width:'.esc_attr($eltd_options['frame_around_overlapping_content_width']).'px;';
		} 
	}
	else{
		if($eltd_options['frame_around_overlapping_content_width'] !== ''){
			$frame_around_overlapping_content_style .= 'padding:'.esc_attr($eltd_options['frame_around_overlapping_content_width']).'px;';
		} 
		
		if($eltd_options['frame_around_overlapping_content_pattern'] !== ''){
			$frame_around_overlapping_content_style .= 'background-image: url('.esc_attr($eltd_options['frame_around_overlapping_content_pattern']).');';
		}
	}
	
	if($eltd_options['frame_around_overlapping_content'] == 'yes' && $frame_around_overlapping_content_style !== ''){
	?>
		.overlapping_content.frame_around_overlapping_content .content .content_inner > .container .overlapping_content,
		.overlapping_content.frame_around_overlapping_content .content .content_inner > .full_width .full_width_inner {
			<?php echo esc_attr($frame_around_overlapping_content_style); ?>
		}
	
	<?php } ?>
<?php } ?>


<?php
//Masonry Gallery Styles

//General Options

if(isset($eltd_options['masonry_gallery_space']) && ($eltd_options['masonry_gallery_space'] != '')){ ?>
    .masonry_gallery_item .masonry_gallery_item_outer,
    .masonry_gallery_holder .masonry_gallery_item{
        padding: <?php echo esc_attr($eltd_options['masonry_gallery_space']);  ?>px;
    }

    .masonry_gallery_holder{
        margin: -<?php echo esc_attr($eltd_options['masonry_gallery_space']);  ?>px -<?php echo esc_attr($eltd_options['masonry_gallery_space']);  ?>px 0 -<?php echo esc_attr($eltd_options['masonry_gallery_space']);  ?>px;
    }
<?php }

//Square Big Item
$masonry_gallery_square_big_title_style = '';
$masonry_gallery_square_big_subtitle_style = '';
$masonry_gallery_square_big_text_style = '';
$masonry_gallery_square_big_button_style = '';
$masonry_gallery_square_big_hover_button_style = '';
$masonry_gallery_square_big_icon_style = '';
$masonry_gallery_square_big_hover_icon_style = '';

if(isset($eltd_options['masonry_gallery_square_big_title_color']) && $eltd_options['masonry_gallery_square_big_title_color'] !== '') {
    $masonry_gallery_square_big_title_style .= 'color: '.esc_attr($eltd_options['masonry_gallery_square_big_title_color']).';';
}
if(isset($eltd_options['masonry_gallery_square_big_title_font_size']) && $eltd_options['masonry_gallery_square_big_title_font_size'] !== '') {
    $masonry_gallery_square_big_title_style .= 'font-size: '.esc_attr($eltd_options['masonry_gallery_square_big_title_font_size']).'px;';
}
if(isset($eltd_options['masonry_gallery_square_big_title_line_height']) && $eltd_options['masonry_gallery_square_big_title_line_height'] !== '') {
    $masonry_gallery_square_big_title_style .= 'line-height: '.esc_attr($eltd_options['masonry_gallery_square_big_title_line_height']).'px;';
}
if(isset($eltd_options['masonry_gallery_square_big_title_text_transform']) && $eltd_options['masonry_gallery_square_big_title_text_transform'] !== '') {
    $masonry_gallery_square_big_title_style .= 'text-transform: '.esc_attr($eltd_options['masonry_gallery_square_big_title_text_transform']).';';
}
if(isset($eltd_options['masonry_gallery_square_big_title_font_family']) && $eltd_options['masonry_gallery_square_big_title_font_family'] !== '-1') {
    $masonry_gallery_square_big_title_style .= 'font-family: '. str_replace('+', ' ', $eltd_options['masonry_gallery_square_big_title_font_family']) .';';
}
if(isset($eltd_options['masonry_gallery_square_big_title_font_style']) && $eltd_options['masonry_gallery_square_big_title_font_style'] !== '') {
    $masonry_gallery_square_big_title_style .= 'font-style: '.esc_attr($eltd_options['masonry_gallery_square_big_title_font_style']).';';
}
if(isset($eltd_options['masonry_gallery_square_big_title_font_weight']) && $eltd_options['masonry_gallery_square_big_title_font_weight'] !== '') {
    $masonry_gallery_square_big_title_style .= 'font-weight: '.esc_attr($eltd_options['masonry_gallery_square_big_title_font_weight']).';';
}
if(isset($eltd_options['masonry_gallery_square_big_title_letter_spacing']) && $eltd_options['masonry_gallery_square_big_title_letter_spacing'] !== '') {
    $masonry_gallery_square_big_title_style .= 'letter-spacing: '.esc_attr($eltd_options['masonry_gallery_square_big_title_letter_spacing']).'px;';
}
if(isset($eltd_options['masonry_gallery_square_big_title_margin_bottom']) && $eltd_options['masonry_gallery_square_big_title_margin_bottom'] !== '') {
    $masonry_gallery_square_big_title_style .= 'padding-bottom: '.esc_attr($eltd_options['masonry_gallery_square_big_title_margin_bottom']).'px;';
}
if ($masonry_gallery_square_big_title_style !== '') { ?>

    .masonry_gallery_item.square_big h3 {
        <?php echo esc_attr($masonry_gallery_square_big_title_style); ?>
    }

<?php }

if(isset($eltd_options['masonry_gallery_square_big_subtitle_color']) && $eltd_options['masonry_gallery_square_big_subtitle_color'] !== '') {
    $masonry_gallery_square_big_subtitle_style .= 'color: '.esc_attr($eltd_options['masonry_gallery_square_big_subtitle_color']).';';
}
if(isset($eltd_options['masonry_gallery_square_big_subtitle_font_size']) && $eltd_options['masonry_gallery_square_big_subtitle_font_size'] !== '') {
    $masonry_gallery_square_big_subtitle_style .= 'font-size: '.esc_attr($eltd_options['masonry_gallery_square_big_subtitle_font_size']).'px;';
}
if(isset($eltd_options['masonry_gallery_square_big_subtitle_line_height']) && $eltd_options['masonry_gallery_square_big_subtitle_line_height'] !== '') {
    $masonry_gallery_square_big_subtitle_style .= 'line-height: '.esc_attr($eltd_options['masonry_gallery_square_big_subtitle_line_height']).'px;';
}
if(isset($eltd_options['masonry_gallery_square_big_subtitle_text_transform']) && $eltd_options['masonry_gallery_square_big_subtitle_text_transform'] !== '') {
    $masonry_gallery_square_big_subtitle_style .= 'text-transform: '.esc_attr($eltd_options['masonry_gallery_square_big_subtitle_text_transform']).';';
}
if(isset($eltd_options['masonry_gallery_square_big_subtitle_font_family']) && $eltd_options['masonry_gallery_square_big_subtitle_font_family'] !== '-1') {
    $masonry_gallery_square_big_subtitle_style .= 'font-family: '. str_replace('+', ' ', $eltd_options['masonry_gallery_square_big_subtitle_font_family']) .';';
}
if(isset($eltd_options['masonry_gallery_square_big_subtitle_font_style']) && $eltd_options['masonry_gallery_square_big_subtitle_font_style'] !== '') {
    $masonry_gallery_square_big_subtitle_style .= 'font-style: '.esc_attr($eltd_options['masonry_gallery_square_big_subtitle_font_style']).';';
}
if(isset($eltd_options['masonry_gallery_square_big_subtitle_font_weight']) && $eltd_options['masonry_gallery_square_big_subtitle_font_weight'] !== '') {
    $masonry_gallery_square_big_subtitle_style .= 'font-weight: '.esc_attr($eltd_options['masonry_gallery_square_big_subtitle_font_weight']).';';
}
if(isset($eltd_options['masonry_gallery_square_big_subtitle_letter_spacing']) && $eltd_options['masonry_gallery_square_big_subtitle_letter_spacing'] !== '') {
    $masonry_gallery_square_big_subtitle_style .= 'letter-spacing: '.esc_attr($eltd_options['masonry_gallery_square_big_subtitle_letter_spacing']).'px;';
}

if(isset($eltd_options['masonry_gallery_square_big_subtitle_margin_bottom']) && $eltd_options['masonry_gallery_square_big_subtitle_margin_bottom'] !== '') { ?>
	.masonry_gallery_item.square_big .masonry_gallery_item_subtitle{
		padding-bottom: <?php echo esc_attr($eltd_options['masonry_gallery_square_big_subtitle_margin_bottom']); ?>px;
	}
<?php }

if ($masonry_gallery_square_big_subtitle_style !== '') { ?>

    .masonry_gallery_item.square_big .masonry_gallery_item_subtitle .separator_content,
	.masonry_gallery_item.square_big .masonry_gallery_item_subtitle .vc_text_separator.full .separator_content,
    .masonry_gallery_item.square_big .masonry_gallery_item_subtitle > span{
        <?php echo esc_attr($masonry_gallery_square_big_subtitle_style); ?>
    }

<?php }

if(isset($eltd_options['masonry_gallery_square_big_text_color']) && $eltd_options['masonry_gallery_square_big_text_color'] !== '') {
    $masonry_gallery_square_big_text_style .= 'color: '.esc_attr($eltd_options['masonry_gallery_square_big_text_color']).';';
}
if(isset($eltd_options['masonry_gallery_square_big_text_font_size']) && $eltd_options['masonry_gallery_square_big_text_font_size'] !== '') {
    $masonry_gallery_square_big_text_style .= 'font-size: '.esc_attr($eltd_options['masonry_gallery_square_big_text_font_size']).'px;';
}
if(isset($eltd_options['masonry_gallery_square_big_text_line_height']) && $eltd_options['masonry_gallery_square_big_text_line_height'] !== '') {
    $masonry_gallery_square_big_text_style .= 'line-height: '.esc_attr($eltd_options['masonry_gallery_square_big_text_line_height']).'px;';
}
if(isset($eltd_options['masonry_gallery_square_big_text_text_transform']) && $eltd_options['masonry_gallery_square_big_text_text_transform'] !== '') {
    $masonry_gallery_square_big_text_style .= 'text-transform: '.esc_attr($eltd_options['masonry_gallery_square_big_text_text_transform']).';';
}
if(isset($eltd_options['masonry_gallery_square_big_text_font_family']) && $eltd_options['masonry_gallery_square_big_text_font_family'] !== '-1') {
    $masonry_gallery_square_big_text_style .= 'font-family: '. str_replace('+', ' ', $eltd_options['masonry_gallery_square_big_text_font_family']) .';';
}
if(isset($eltd_options['masonry_gallery_square_big_text_font_style']) && $eltd_options['masonry_gallery_square_big_text_font_style'] !== '') {
    $masonry_gallery_square_big_text_style .= 'font-style: '.esc_attr($eltd_options['masonry_gallery_square_big_text_font_style']).';';
}
if(isset($eltd_options['masonry_gallery_square_big_text_font_weight']) && $eltd_options['masonry_gallery_square_big_text_font_weight'] !== '') {
    $masonry_gallery_square_big_text_style .= 'font-weight: '.esc_attr($eltd_options['masonry_gallery_square_big_text_font_weight']).';';
}
if(isset($eltd_options['masonry_gallery_square_big_text_letter_spacing']) && $eltd_options['masonry_gallery_square_big_text_letter_spacing'] !== '') {
    $masonry_gallery_square_big_text_style .= 'letter-spacing: '.esc_attr($eltd_options['masonry_gallery_square_big_text_letter_spacing']).'px;';
}
if ($masonry_gallery_square_big_text_style !== '') { ?>

    .masonry_gallery_item.square_big .masonry_gallery_item_text {
    <?php echo esc_attr($masonry_gallery_square_big_text_style); ?>
    }

<?php }

if(isset($eltd_options['masonry_gallery_square_big_button_font_family']) && $eltd_options['masonry_gallery_square_big_button_font_family'] !== '-1') {
    $masonry_gallery_square_big_button_style .= 'font-family: '. str_replace('+', ' ', $eltd_options['masonry_gallery_square_big_button_font_family']) .';';
}
if(isset($eltd_options['masonry_gallery_square_big_button_font_style']) && $eltd_options['masonry_gallery_square_big_button_font_style'] !== '') {
    $masonry_gallery_square_big_button_style .= 'font-style: '.esc_attr($eltd_options['masonry_gallery_square_big_button_font_style']).';';
}
if(isset($eltd_options['masonry_gallery_square_big_button_font_weight']) && $eltd_options['masonry_gallery_square_big_button_font_weight'] !== '') {
    $masonry_gallery_square_big_button_style .= 'font-weight: '.esc_attr($eltd_options['masonry_gallery_square_big_button_font_weight']).';';
}
if(isset($eltd_options['masonry_gallery_square_big_button_text_transform']) && $eltd_options['masonry_gallery_square_big_button_text_transform'] !== '') {
    $masonry_gallery_square_big_button_style .= 'text-transform: '.esc_attr($eltd_options['masonry_gallery_square_big_button_text_transform']).';';
}
if(isset($eltd_options['masonry_gallery_square_big_button_font_size']) && $eltd_options['masonry_gallery_square_big_button_font_size'] !== '') {
    $masonry_gallery_square_big_button_style .= 'font-size: '.esc_attr($eltd_options['masonry_gallery_square_big_button_font_size']).'px;';
}
if(isset($eltd_options['masonry_gallery_square_big_button_line_height']) && $eltd_options['masonry_gallery_square_big_button_line_height'] !== '') {
    $masonry_gallery_square_big_button_style .= 'line-height: '.esc_attr($eltd_options['masonry_gallery_square_big_button_line_height']).'px;';
}
if(isset($eltd_options['masonry_gallery_square_big_button_letter_spacing']) && $eltd_options['masonry_gallery_square_big_button_letter_spacing'] !== '') {
    $masonry_gallery_square_big_button_style .= 'letter-spacing: '.esc_attr($eltd_options['masonry_gallery_square_big_button_letter_spacing']).'px;';
}
if(isset($eltd_options['masonry_gallery_square_big_button_text_color']) && $eltd_options['masonry_gallery_square_big_button_text_color'] !== '') {
    $masonry_gallery_square_big_button_style .= 'color: '.esc_attr($eltd_options['masonry_gallery_square_big_button_text_color']).';';
}
if(isset($eltd_options['masonry_gallery_square_big_button_background_color']) && $eltd_options['masonry_gallery_square_big_button_background_color'] !== '') {
    $masonry_gallery_square_big_button_style .= 'background-color: '.esc_attr($eltd_options['masonry_gallery_square_big_button_background_color']).';';
}
if(isset($eltd_options['masonry_gallery_square_big_button_border_color']) && $eltd_options['masonry_gallery_square_big_button_border_color'] !== '') {
    $masonry_gallery_square_big_button_style .= 'border-color: '.esc_attr($eltd_options['masonry_gallery_square_big_button_border_color']).';';
}
if(isset($eltd_options['masonry_gallery_square_big_button_border_width']) && $eltd_options['masonry_gallery_square_big_button_border_width'] !== '') {
    $masonry_gallery_square_big_button_style .= 'border-width: '.esc_attr($eltd_options['masonry_gallery_square_big_button_border_width']).'px;';
}
if(isset($eltd_options['masonry_gallery_square_big_button_border_radius']) && $eltd_options['masonry_gallery_square_big_button_border_radius'] !== '') {
    $masonry_gallery_square_big_button_style .= 'border-radius: '.esc_attr($eltd_options['masonry_gallery_square_big_button_border_radius']).'px;';
}
if(isset($eltd_options['masonry_gallery_square_big_button_margin_top']) && $eltd_options['masonry_gallery_square_big_button_margin_top'] !== '') {
    $masonry_gallery_square_big_button_style .= 'margin-top: '.esc_attr($eltd_options['masonry_gallery_square_big_button_margin_top']).'px;';
}
if(isset($eltd_options['masonry_gallery_square_big_button_padding_left']) && $eltd_options['masonry_gallery_square_big_button_padding_left'] !== '') {
    $masonry_gallery_square_big_button_style .= 'padding-left: '.esc_attr($eltd_options['masonry_gallery_square_big_button_padding_left']).'px;';
}
if(isset($eltd_options['masonry_gallery_square_big_button_padding_right']) && $eltd_options['masonry_gallery_square_big_button_padding_right'] !== '') {
    $masonry_gallery_square_big_button_style .= 'padding-right: '.esc_attr($eltd_options['masonry_gallery_square_big_button_padding_right']).'px;';
}
if ($masonry_gallery_square_big_button_style !== '') { ?>

    .masonry_gallery_item.square_big .qbutton {
    <?php echo esc_attr($masonry_gallery_square_big_button_style); ?>
    }

<?php }

if(isset($eltd_options['masonry_gallery_square_big_button_hover_text_color']) && $eltd_options['masonry_gallery_square_big_button_hover_text_color'] !== '') {
    $masonry_gallery_square_big_hover_button_style .= 'color: '.esc_attr($eltd_options['masonry_gallery_square_big_button_hover_text_color']).';';
}
if(isset($eltd_options['masonry_gallery_square_big_button_hover_background_color']) && $eltd_options['masonry_gallery_square_big_button_hover_background_color'] !== '') {
    $masonry_gallery_square_big_hover_button_style .= 'background-color: '.esc_attr($eltd_options['masonry_gallery_square_big_button_hover_background_color']).';';
}
if(isset($eltd_options['masonry_gallery_square_big_button_hover_border_color']) && $eltd_options['masonry_gallery_square_big_button_hover_border_color'] !== '') {
    $masonry_gallery_square_big_hover_button_style .= 'border-color: '.esc_attr($eltd_options['masonry_gallery_square_big_button_hover_border_color']).';';
}
if ($masonry_gallery_square_big_hover_button_style !== '') { ?>

    .masonry_gallery_item.square_big .qbutton:hover {
    <?php echo esc_attr($masonry_gallery_square_big_hover_button_style); ?>
    }

<?php }

if(isset($eltd_options['masonry_gallery_square_big_icon_color']) && $eltd_options['masonry_gallery_square_big_icon_color'] !== '') {
    $masonry_gallery_square_big_icon_style .= 'color: '.esc_attr($eltd_options['masonry_gallery_square_big_icon_color']).';';
}
if(isset($eltd_options['masonry_gallery_square_big_icon_size']) && $eltd_options['masonry_gallery_square_big_icon_size'] !== '') {
    $masonry_gallery_square_big_icon_style .= 'font-size: '.esc_attr($eltd_options['masonry_gallery_square_big_icon_size']).'px;';
}

if(isset($eltd_options['masonry_gallery_square_big_icon_margin_bottom']) && $eltd_options['masonry_gallery_square_big_icon_margin_bottom'] !== '') {
    $masonry_gallery_square_big_icon_style .= 'margin-bottom: '.esc_attr($eltd_options['masonry_gallery_square_big_icon_margin_bottom']).'px;';
}

if ($masonry_gallery_square_big_icon_style !== '') { ?>

    .masonry_gallery_item.square_big .masonry_gallery_item_icon {
    <?php echo esc_attr($masonry_gallery_square_big_icon_style); ?>
    }

<?php }

if(isset($eltd_options['masonry_gallery_square_big_icon_hover_color']) && $eltd_options['masonry_gallery_square_big_icon_hover_color'] !== '') {
    $masonry_gallery_square_big_hover_icon_style .= 'color: '.esc_attr($eltd_options['masonry_gallery_square_big_icon_hover_color']).';';
}
if ($masonry_gallery_square_big_hover_icon_style !== '') { ?>

    .masonry_gallery_item.square_big .masonry_gallery_item_icon:hover {
    <?php echo esc_attr($masonry_gallery_square_big_hover_icon_style); ?>
    }

<?php }

$masonry_gallery_square_big_overlay_color = '';
$masonry_gallery_square_big_overlay_transparency = '0.8';

if(isset($eltd_options['masonry_gallery_square_big_overlay_color']) && $eltd_options['masonry_gallery_square_big_overlay_color'] !== ''){
	$masonry_gallery_square_big_overlay_color = eltd_hex2rgb($eltd_options['masonry_gallery_square_big_overlay_color']);
	if(isset($eltd_options['masonry_gallery_square_big_overlay_transparency']) && $eltd_options['masonry_gallery_square_big_overlay_transparency'] !== '') {
		$masonry_gallery_square_big_overlay_transparency = esc_attr($eltd_options['masonry_gallery_square_big_overlay_transparency']);
	} ?>
	 .masonry_gallery_item.square_big .masonry_gallery_item_inner {
        background-color: rgba(<?php echo esc_attr($masonry_gallery_square_big_overlay_color[0]); ?>,<?php echo esc_attr($masonry_gallery_square_big_overlay_color[1]); ?>,<?php echo esc_attr($masonry_gallery_square_big_overlay_color[2]); ?>,<?php echo esc_attr($masonry_gallery_square_big_overlay_transparency); /* dynamically generated style attr. Note that is escaped on line 21766-21769 */?>)
    }
<?php } 

$masonry_gallery_square_big_overlay_color_hover = '';
$masonry_gallery_square_big_overlay_transparency_hover = '0.8';

if(isset($eltd_options['masonry_gallery_square_big_overlay_color_hover']) && $eltd_options['masonry_gallery_square_big_overlay_color_hover'] !== ''){
	$masonry_gallery_square_big_overlay_color_hover = eltd_hex2rgb($eltd_options['masonry_gallery_square_big_overlay_color_hover']);
	if(isset($eltd_options['masonry_gallery_square_big_overlay_transparency_hover']) && $eltd_options['masonry_gallery_square_big_overlay_transparency_hover'] !== '') {
		$masonry_gallery_square_big_overlay_transparency_hover = esc_attr($eltd_options['masonry_gallery_square_big_overlay_transparency_hover']);
	} ?>
	 .masonry_gallery_item.square_big.standard .masonry_gallery_item_inner {
        background-color: rgba(<?php echo esc_attr($masonry_gallery_square_big_overlay_color_hover[0]); ?>,<?php echo esc_attr($masonry_gallery_square_big_overlay_color_hover[1]); ?>,<?php echo esc_attr($masonry_gallery_square_big_overlay_color_hover[2]); ?>,<?php echo esc_attr($masonry_gallery_square_big_overlay_transparency_hover); /* dynamically generated style attr. Note that is escaped on line 21766-21769 */?>)
    }
<?php } ?>

<?php

$masonry_gallery_square_big_content_style = array();

if(isset($eltd_options['masonry_gallery_square_big_text_align'])&& $eltd_options['masonry_gallery_square_big_text_align'] !=''){
	$masonry_gallery_square_big_content_style[] = 'text-align: '.$eltd_options['masonry_gallery_square_big_text_align'];
}

if(isset($eltd_options['masonry_gallery_square_big_padding_left'])&& $eltd_options['masonry_gallery_square_big_padding_left'] !=''){
	$masonry_gallery_square_big_content_style[] = 'padding-left: '.$eltd_options['masonry_gallery_square_big_padding_left'];
 }
if(isset($eltd_options['masonry_gallery_square_big_padding_right'])&& $eltd_options['masonry_gallery_square_big_padding_right'] !=''){
	$masonry_gallery_square_big_content_style[] = 'padding-right: '.$eltd_options['masonry_gallery_square_big_padding_right'];
}

if(is_array($masonry_gallery_square_big_content_style) && count($masonry_gallery_square_big_content_style)) { ?>
    .masonry_gallery_item.square_big .masonry_gallery_item_inner .masonry_gallery_item_content{
    <?php echo esc_attr(implode(';', $masonry_gallery_square_big_content_style)); ?>
    }

<?php } ?>

<?php

$masonry_gallery_square_big_title_sep_style = array();

if(isset($eltd_options['masonry_gallery_square_big_separator_color'])&& $eltd_options['masonry_gallery_square_big_separator_color'] !=''){
	$masonry_gallery_square_big_title_sep_style[] = 'border-bottom-color: '.$eltd_options['masonry_gallery_square_big_separator_color'];
}

if(isset($eltd_options['masonry_gallery_square_big_separator_width'])&& $eltd_options['masonry_gallery_square_big_separator_width'] !=''){
	$masonry_gallery_square_big_title_sep_style[] = 'width: '.$eltd_options['masonry_gallery_square_big_separator_width'].'px';
}

if(is_array($masonry_gallery_square_big_title_sep_style) && count($masonry_gallery_square_big_title_sep_style)){ ?>
	.masonry_gallery_item.square_big .vc_text_separator .eltd_line_before,
	.masonry_gallery_item.square_big .vc_text_separator .eltd_line_after{
	<?php echo esc_attr(implode('; ', $masonry_gallery_square_big_title_sep_style)); ?>
	}
<?php }
?>

<?php

//Square Small Item
$masonry_gallery_square_small_title_style = '';
$masonry_gallery_square_small_subtitle_style = '';
$masonry_gallery_square_small_text_style = '';
$masonry_gallery_square_small_button_style = '';
$masonry_gallery_square_small_hover_button_style = '';
$masonry_gallery_square_small_icon_style = '';
$masonry_gallery_square_small_hover_icon_style = '';

if(isset($eltd_options['masonry_gallery_square_small_title_color']) && $eltd_options['masonry_gallery_square_small_title_color'] !== '') {
    $masonry_gallery_square_small_title_style .= 'color: '.esc_attr($eltd_options['masonry_gallery_square_small_title_color']).';';
}
if(isset($eltd_options['masonry_gallery_square_small_title_font_size']) && $eltd_options['masonry_gallery_square_small_title_font_size'] !== '') {
    $masonry_gallery_square_small_title_style .= 'font-size: '.esc_attr($eltd_options['masonry_gallery_square_small_title_font_size']).'px;';
}
if(isset($eltd_options['masonry_gallery_square_small_title_line_height']) && $eltd_options['masonry_gallery_square_small_title_line_height'] !== '') {
    $masonry_gallery_square_small_title_style .= 'line-height: '.esc_attr($eltd_options['masonry_gallery_square_small_title_line_height']).'px;';
}
if(isset($eltd_options['masonry_gallery_square_small_title_text_transform']) && $eltd_options['masonry_gallery_square_small_title_text_transform'] !== '') {
    $masonry_gallery_square_small_title_style .= 'text-transform: '.esc_attr($eltd_options['masonry_gallery_square_small_title_text_transform']).';';
}
if(isset($eltd_options['masonry_gallery_square_small_title_font_family']) && $eltd_options['masonry_gallery_square_small_title_font_family'] !== '-1') {
    $masonry_gallery_square_small_title_style .= 'font-family: '. str_replace('+', ' ', $eltd_options['masonry_gallery_square_small_title_font_family']) .';';
}
if(isset($eltd_options['masonry_gallery_square_small_title_font_style']) && $eltd_options['masonry_gallery_square_small_title_font_style'] !== '') {
    $masonry_gallery_square_small_title_style .= 'font-style: '.esc_attr($eltd_options['masonry_gallery_square_small_title_font_style']).';';
}
if(isset($eltd_options['masonry_gallery_square_small_title_font_weight']) && $eltd_options['masonry_gallery_square_small_title_font_weight'] !== '') {
    $masonry_gallery_square_small_title_style .= 'font-weight: '.esc_attr($eltd_options['masonry_gallery_square_small_title_font_weight']).';';
}
if(isset($eltd_options['masonry_gallery_square_small_title_letter_spacing']) && $eltd_options['masonry_gallery_square_small_title_letter_spacing'] !== '') {
    $masonry_gallery_square_small_title_style .= 'letter-spacing: '.esc_attr($eltd_options['masonry_gallery_square_small_title_letter_spacing']).'px;';
}
if(isset($eltd_options['masonry_gallery_square_small_title_margin_bottom']) && $eltd_options['masonry_gallery_square_small_title_margin_bottom'] !== '') {
    $masonry_gallery_square_small_title_style .= 'padding-bottom: '.esc_attr($eltd_options['masonry_gallery_square_small_title_margin_bottom']).'px;';
}
if ($masonry_gallery_square_small_title_style !== '') { ?>

    .masonry_gallery_item.square_small h3 {
    <?php echo esc_attr($masonry_gallery_square_small_title_style); ?>
    }

<?php }

if(isset($eltd_options['masonry_gallery_square_small_subtitle_color']) && $eltd_options['masonry_gallery_square_small_subtitle_color'] !== '') {
    $masonry_gallery_square_small_subtitle_style .= 'color: '.esc_attr($eltd_options['masonry_gallery_square_small_subtitle_color']).';';
}
if(isset($eltd_options['masonry_gallery_square_small_subtitle_font_size']) && $eltd_options['masonry_gallery_square_small_subtitle_font_size'] !== '') {
    $masonry_gallery_square_small_subtitle_style .= 'font-size: '.esc_attr($eltd_options['masonry_gallery_square_small_subtitle_font_size']).'px;';
}
if(isset($eltd_options['masonry_gallery_square_small_subtitle_line_height']) && $eltd_options['masonry_gallery_square_small_subtitle_line_height'] !== '') {
    $masonry_gallery_square_small_subtitle_style .= 'line-height: '.esc_attr($eltd_options['masonry_gallery_square_small_subtitle_line_height']).'px;';
}
if(isset($eltd_options['masonry_gallery_square_small_subtitle_text_transform']) && $eltd_options['masonry_gallery_square_small_subtitle_text_transform'] !== '') {
    $masonry_gallery_square_small_subtitle_style .= 'text-transform: '.esc_attr($eltd_options['masonry_gallery_square_small_subtitle_text_transform']).';';
}
if(isset($eltd_options['masonry_gallery_square_small_subtitle_font_family']) && $eltd_options['masonry_gallery_square_small_subtitle_font_family'] !== '-1') {
    $masonry_gallery_square_small_subtitle_style .= 'font-family: '. str_replace('+', ' ', $eltd_options['masonry_gallery_square_small_subtitle_font_family']) .';';
}
if(isset($eltd_options['masonry_gallery_square_small_subtitle_font_style']) && $eltd_options['masonry_gallery_square_small_subtitle_font_style'] !== '') {
    $masonry_gallery_square_small_subtitle_style .= 'font-style: '.esc_attr($eltd_options['masonry_gallery_square_small_subtitle_font_style']).';';
}
if(isset($eltd_options['masonry_gallery_square_small_subtitle_font_weight']) && $eltd_options['masonry_gallery_square_small_subtitle_font_weight'] !== '') {
    $masonry_gallery_square_small_subtitle_style .= 'font-weight: '.esc_attr($eltd_options['masonry_gallery_square_small_subtitle_font_weight']).';';
}
if(isset($eltd_options['masonry_gallery_square_small_subtitle_letter_spacing']) && $eltd_options['masonry_gallery_square_small_subtitle_letter_spacing'] !== '') {
    $masonry_gallery_square_small_subtitle_style .= 'letter-spacing: '.esc_attr($eltd_options['masonry_gallery_square_small_subtitle_letter_spacing']).'px;';
}

if(isset($eltd_options['masonry_gallery_square_small_subtitle_margin_bottom']) && $eltd_options['masonry_gallery_square_small_subtitle_margin_bottom'] !== '') { ?>
	.masonry_gallery_item.square_small .masonry_gallery_item_subtitle{
		padding-bottom: <?php echo esc_attr($eltd_options['masonry_gallery_square_small_subtitle_margin_bottom']); ?>px;
	}
<?php }

if ($masonry_gallery_square_small_subtitle_style !== '') { ?>

    .masonry_gallery_item.square_small .masonry_gallery_item_subtitle .separator_content,
    .masonry_gallery_item.square_small .masonry_gallery_item_subtitle > span{
        <?php echo esc_attr($masonry_gallery_square_small_subtitle_style); ?>
    }

<?php }

if(isset($eltd_options['masonry_gallery_square_small_text_color']) && $eltd_options['masonry_gallery_square_small_text_color'] !== '') {
    $masonry_gallery_square_small_text_style .= 'color: '.esc_attr($eltd_options['masonry_gallery_square_small_text_color']).';';
}
if(isset($eltd_options['masonry_gallery_square_small_text_font_size']) && $eltd_options['masonry_gallery_square_small_text_font_size'] !== '') {
    $masonry_gallery_square_small_text_style .= 'font-size: '.esc_attr($eltd_options['masonry_gallery_square_small_text_font_size']).'px;';
}
if(isset($eltd_options['masonry_gallery_square_small_text_line_height']) && $eltd_options['masonry_gallery_square_small_text_line_height'] !== '') {
    $masonry_gallery_square_small_text_style .= 'line-height: '.esc_attr($eltd_options['masonry_gallery_square_small_text_line_height']).'px;';
}
if(isset($eltd_options['masonry_gallery_square_small_text_text_transform']) && $eltd_options['masonry_gallery_square_small_text_text_transform'] !== '') {
    $masonry_gallery_square_small_text_style .= 'text-transform: '.esc_attr($eltd_options['masonry_gallery_square_small_text_text_transform']).';';
}
if(isset($eltd_options['masonry_gallery_square_small_text_font_family']) && $eltd_options['masonry_gallery_square_small_text_font_family'] !== '-1') {
    $masonry_gallery_square_small_text_style .= 'font-family: '. str_replace('+', ' ', $eltd_options['masonry_gallery_square_small_text_font_family']) .';';
}
if(isset($eltd_options['masonry_gallery_square_small_text_font_style']) && $eltd_options['masonry_gallery_square_small_text_font_style'] !== '') {
    $masonry_gallery_square_small_text_style .= 'font-style: '.esc_attr($eltd_options['masonry_gallery_square_small_text_font_style']).';';
}
if(isset($eltd_options['masonry_gallery_square_small_text_font_weight']) && $eltd_options['masonry_gallery_square_small_text_font_weight'] !== '') {
    $masonry_gallery_square_small_text_style .= 'font-weight: '.esc_attr($eltd_options['masonry_gallery_square_small_text_font_weight']).';';
}
if(isset($eltd_options['masonry_gallery_square_small_text_letter_spacing']) && $eltd_options['masonry_gallery_square_small_text_letter_spacing'] !== '') {
    $masonry_gallery_square_small_text_style .= 'letter-spacing: '.esc_attr($eltd_options['masonry_gallery_square_small_text_letter_spacing']).'px;';
}
if ($masonry_gallery_square_small_text_style !== '') { ?>

    .masonry_gallery_item.square_small .masonry_gallery_item_text {
    <?php echo esc_attr($masonry_gallery_square_small_text_style); ?>
    }

<?php }

if(isset($eltd_options['masonry_gallery_square_small_button_font_family']) && $eltd_options['masonry_gallery_square_small_button_font_family'] !== '-1') {
    $masonry_gallery_square_small_button_style .= 'font-family: '. str_replace('+', ' ', $eltd_options['masonry_gallery_square_small_button_font_family']) .';';
}
if(isset($eltd_options['masonry_gallery_square_small_button_font_style']) && $eltd_options['masonry_gallery_square_small_button_font_style'] !== '') {
    $masonry_gallery_square_small_button_style .= 'font-style: '.esc_attr($eltd_options['masonry_gallery_square_small_button_font_style']).';';
}
if(isset($eltd_options['masonry_gallery_square_small_button_font_weight']) && $eltd_options['masonry_gallery_square_small_button_font_weight'] !== '') {
    $masonry_gallery_square_small_button_style .= 'font-weight: '.esc_attr($eltd_options['masonry_gallery_square_small_button_font_weight']).';';
}
if(isset($eltd_options['masonry_gallery_square_small_button_text_transform']) && $eltd_options['masonry_gallery_square_small_button_text_transform'] !== '') {
    $masonry_gallery_square_small_button_style .= 'text-transform: '.esc_attr($eltd_options['masonry_gallery_square_small_button_text_transform']).';';
}
if(isset($eltd_options['masonry_gallery_square_small_button_font_size']) && $eltd_options['masonry_gallery_square_small_button_font_size'] !== '') {
    $masonry_gallery_square_small_button_style .= 'font-size: '.esc_attr($eltd_options['masonry_gallery_square_small_button_font_size']).'px;';
}
if(isset($eltd_options['masonry_gallery_square_small_button_line_height']) && $eltd_options['masonry_gallery_square_small_button_line_height'] !== '') {
    $masonry_gallery_square_small_button_style .= 'line-height: '.esc_attr($eltd_options['masonry_gallery_square_small_button_line_height']).'px;';
}
if(isset($eltd_options['masonry_gallery_square_small_button_letter_spacing']) && $eltd_options['masonry_gallery_square_small_button_letter_spacing'] !== '') {
    $masonry_gallery_square_small_button_style .= 'letter-spacing: '.esc_attr($eltd_options['masonry_gallery_square_small_button_letter_spacing']).'px;';
}
if(isset($eltd_options['masonry_gallery_square_small_button_text_color']) && $eltd_options['masonry_gallery_square_small_button_text_color'] !== '') {
    $masonry_gallery_square_small_button_style .= 'color: '.esc_attr($eltd_options['masonry_gallery_square_small_button_text_color']).';';
}
if(isset($eltd_options['masonry_gallery_square_small_button_background_color']) && $eltd_options['masonry_gallery_square_small_button_background_color'] !== '') {
    $masonry_gallery_square_small_button_style .= 'background-color: '.esc_attr($eltd_options['masonry_gallery_square_small_button_background_color']).';';
}
if(isset($eltd_options['masonry_gallery_square_small_button_border_color']) && $eltd_options['masonry_gallery_square_small_button_border_color'] !== '') {
    $masonry_gallery_square_small_button_style .= 'border-color: '.esc_attr($eltd_options['masonry_gallery_square_small_button_border_color']).';';
}
if(isset($eltd_options['masonry_gallery_square_small_button_border_width']) && $eltd_options['masonry_gallery_square_small_button_border_width'] !== '') {
    $masonry_gallery_square_small_button_style .= 'border-width: '.esc_attr($eltd_options['masonry_gallery_square_small_button_border_width']).'px;';
}
if(isset($eltd_options['masonry_gallery_square_small_button_border_radius']) && $eltd_options['masonry_gallery_square_small_button_border_radius'] !== '') {
    $masonry_gallery_square_small_button_style .= 'border-radius: '.esc_attr($eltd_options['masonry_gallery_square_small_button_border_radius']).'px;';
}
if(isset($eltd_options['masonry_gallery_square_small_button_margin_top']) && $eltd_options['masonry_gallery_square_small_button_margin_top'] !== '') {
    $masonry_gallery_square_small_button_style .= 'margin-top: '.esc_attr($eltd_options['masonry_gallery_square_small_button_margin_top']).'px;';
}
if(isset($eltd_options['masonry_gallery_square_small_button_padding_left']) && $eltd_options['masonry_gallery_square_small_button_padding_left'] !== '') {
    $masonry_gallery_square_small_button_style .= 'padding-left: '.esc_attr($eltd_options['masonry_gallery_square_small_button_padding_left']).'px;';
}
if(isset($eltd_options['masonry_gallery_square_small_button_padding_right']) && $eltd_options['masonry_gallery_square_small_button_padding_right'] !== '') {
    $masonry_gallery_square_small_button_style .= 'padding-right: '.esc_attr($eltd_options['masonry_gallery_square_small_button_padding_right']).'px;';
}
if ($masonry_gallery_square_small_button_style !== '') { ?>

    .masonry_gallery_item.square_small .qbutton {
    <?php echo esc_attr($masonry_gallery_square_small_button_style); ?>
    }

<?php }

if(isset($eltd_options['masonry_gallery_square_small_button_hover_text_color']) && $eltd_options['masonry_gallery_square_small_button_hover_text_color'] !== '') {
    $masonry_gallery_square_small_hover_button_style .= 'color: '.esc_attr($eltd_options['masonry_gallery_square_small_button_hover_text_color']).';';
}
if(isset($eltd_options['masonry_gallery_square_small_button_hover_background_color']) && $eltd_options['masonry_gallery_square_small_button_hover_background_color'] !== '') {
    $masonry_gallery_square_small_hover_button_style .= 'background-color: '.esc_attr($eltd_options['masonry_gallery_square_small_button_hover_background_color']).';';
}
if(isset($eltd_options['masonry_gallery_square_small_button_hover_border_color']) && $eltd_options['masonry_gallery_square_small_button_hover_border_color'] !== '') {
    $masonry_gallery_square_small_hover_button_style .= 'border-color: '.esc_attr($eltd_options['masonry_gallery_square_small_button_hover_border_color']).';';
}
if ($masonry_gallery_square_small_hover_button_style !== '') { ?>

    .masonry_gallery_item.square_small .qbutton:hover {
    <?php echo esc_attr($masonry_gallery_square_small_hover_button_style); ?>
    }

<?php }

if(isset($eltd_options['masonry_gallery_square_small_icon_color']) && $eltd_options['masonry_gallery_square_small_icon_color'] !== '') {
    $masonry_gallery_square_small_icon_style .= 'color: '.esc_attr($eltd_options['masonry_gallery_square_small_icon_color']).';';
}
if(isset($eltd_options['masonry_gallery_square_small_icon_size']) && $eltd_options['masonry_gallery_square_small_icon_size'] !== '') {
    $masonry_gallery_square_small_icon_style .= 'font-size: '.esc_attr($eltd_options['masonry_gallery_square_small_icon_size']).'px;';
}
if(isset($eltd_options['masonry_gallery_square_small_icon_margin_bottom']) && $eltd_options['masonry_gallery_square_small_icon_margin_bottom'] !== '') {
    $masonry_gallery_square_big_icon_style .= 'margin-bottom: '.esc_attr($eltd_options['masonry_gallery_square_small_icon_margin_bottom']).'px;';
}
if ($masonry_gallery_square_small_icon_style !== '') { ?>

    .masonry_gallery_item.square_small .masonry_gallery_item_icon {
    <?php echo esc_attr($masonry_gallery_square_small_icon_style); ?>
    }

<?php }

if(isset($eltd_options['masonry_gallery_square_small_icon_hover_color']) && $eltd_options['masonry_gallery_square_small_icon_hover_color'] !== '') {
    $masonry_gallery_square_small_hover_icon_style .= 'color: '.esc_attr($eltd_options['masonry_gallery_square_small_icon_hover_color']).';';
}
if ($masonry_gallery_square_small_hover_icon_style !== '') { ?>

    .masonry_gallery_item.square_small .masonry_gallery_item_icon:hover {
    <?php echo esc_attr($masonry_gallery_square_small_hover_icon_style); ?>
    }

<?php }

$masonry_gallery_square_small_overlay_color = '';
$masonry_gallery_square_small_overlay_transparency = '0.8';

if(isset($eltd_options['masonry_gallery_square_small_overlay_color']) && $eltd_options['masonry_gallery_square_small_overlay_color'] !== ''){
	$masonry_gallery_square_small_overlay_color = eltd_hex2rgb($eltd_options['masonry_gallery_square_small_overlay_color']);
	if(isset($eltd_options['masonry_gallery_square_small_overlay_transparency']) && $eltd_options['masonry_gallery_square_small_overlay_transparency'] !== '') {
		$masonry_gallery_square_small_overlay_transparency = esc_attr($eltd_options['masonry_gallery_square_small_overlay_transparency']);
	} ?>
	 .masonry_gallery_item.square_small .masonry_gallery_item_inner {
        background-color: rgba(<?php echo esc_attr($masonry_gallery_square_small_overlay_color[0]); ?>,<?php echo esc_attr($masonry_gallery_square_small_overlay_color[1]); ?>,<?php echo esc_attr($masonry_gallery_square_small_overlay_color[2]); ?>,<?php echo esc_attr($masonry_gallery_square_small_overlay_transparency); /* dynamically generated style attr. Note that is escaped on line 21766-21769 */?>)
    }
<?php }

$masonry_gallery_square_small_overlay_color_hover = '';
$masonry_gallery_square_small_overlay_transparency_hover = '0.8';

if(isset($eltd_options['masonry_gallery_square_small_overlay_color_hover']) && $eltd_options['masonry_gallery_square_small_overlay_color_hover'] !== ''){
	$masonry_gallery_square_small_overlay_color_hover = eltd_hex2rgb($eltd_options['masonry_gallery_square_small_overlay_color_hover']);
	if(isset($eltd_options['masonry_gallery_square_small_overlay_transparency_hover']) && $eltd_options['masonry_gallery_square_small_overlay_transparency_hover'] !== '') {
		$masonry_gallery_square_small_overlay_transparency_hover = esc_attr($eltd_options['masonry_gallery_square_small_overlay_transparency_hover']);
	} ?>
	 .masonry_gallery_item.square_small.standard .masonry_gallery_item_inner {
        background-color: rgba(<?php echo esc_attr($masonry_gallery_square_small_overlay_color_hover[0]); ?>,<?php echo esc_attr($masonry_gallery_square_small_overlay_color_hover[1]); ?>,<?php echo esc_attr($masonry_gallery_square_small_overlay_color_hover[2]); ?>,<?php echo esc_attr($masonry_gallery_square_small_overlay_transparency_hover); /* dynamically generated style attr. Note that is escaped on line 21766-21769 */?>)
    }
<?php } ?>


<?php

$masonry_gallery_square_small_content_style = array();

if(isset($eltd_options['masonry_gallery_square_small_text_align'])&& $eltd_options['masonry_gallery_square_small_text_align'] !=''){
	$masonry_gallery_square_small_content_style[] = 'text-align: '.$eltd_options['masonry_gallery_square_small_text_align'];
}

if(isset($eltd_options['masonry_gallery_square_small_padding_left'])&& $eltd_options['masonry_gallery_square_small_padding_left'] !=''){
	$masonry_gallery_square_small_content_style[] = 'padding-left: '.$eltd_options['masonry_gallery_square_small_padding_left'];
 }
if(isset($eltd_options['masonry_gallery_square_small_padding_right'])&& $eltd_options['masonry_gallery_square_small_padding_right'] !=''){
	$masonry_gallery_square_small_content_style[] = 'padding-right: '.$eltd_options['masonry_gallery_square_small_padding_right'];
}

if(is_array($masonry_gallery_square_small_content_style) && count($masonry_gallery_square_small_content_style)) { ?>
    .masonry_gallery_item.square_small .masonry_gallery_item_inner .masonry_gallery_item_content{
    <?php echo esc_attr(implode(';', $masonry_gallery_square_small_content_style)); ?>
    }

<?php } ?>

<?php

$masonry_gallery_square_small_title_sep_style = array();

if(isset($eltd_options['masonry_gallery_square_small_separator_color'])&& $eltd_options['masonry_gallery_square_small_separator_color'] !=''){
	$masonry_gallery_square_small_title_sep_style[] = 'border-bottom-color: '.$eltd_options['masonry_gallery_square_small_separator_color'];
}

if(isset($eltd_options['masonry_gallery_square_small_separator_width'])&& $eltd_options['masonry_gallery_square_small_separator_width'] !=''){
	$masonry_gallery_square_small_title_sep_style[] = 'width: '.$eltd_options['masonry_gallery_square_small_separator_width'].'px';
}

if(is_array($masonry_gallery_square_small_title_sep_style) && count($masonry_gallery_square_small_title_sep_style)){ ?>
	.masonry_gallery_item.square_small .vc_text_separator .eltd_line_before,
	.masonry_gallery_item.square_small .vc_text_separator .eltd_line_after{
	<?php echo esc_attr(implode('; ', $masonry_gallery_square_small_title_sep_style)); ?>
	}
<?php }
?>

<?php

//Rectangle Portrait Item
$masonry_gallery_rectangle_portrait_title_style = '';
$masonry_gallery_rectangle_portrait_subtitle_style = '';
$masonry_gallery_rectangle_portrait_text_style = '';
$masonry_gallery_rectangle_portrait_button_style = '';
$masonry_gallery_rectangle_portrait_hover_button_style = '';
$masonry_gallery_rectangle_portrait_icon_style = '';
$masonry_gallery_rectangle_portrait_hover_icon_style = '';

if(isset($eltd_options['masonry_gallery_rectangle_portrait_title_color']) && $eltd_options['masonry_gallery_rectangle_portrait_title_color'] !== '') {
    $masonry_gallery_rectangle_portrait_title_style .= 'color: '.esc_attr($eltd_options['masonry_gallery_rectangle_portrait_title_color']).';';
}
if(isset($eltd_options['masonry_gallery_rectangle_portrait_title_font_size']) && $eltd_options['masonry_gallery_rectangle_portrait_title_font_size'] !== '') {
    $masonry_gallery_rectangle_portrait_title_style .= 'font-size: '.esc_attr($eltd_options['masonry_gallery_rectangle_portrait_title_font_size']).'px;';
}
if(isset($eltd_options['masonry_gallery_rectangle_portrait_title_line_height']) && $eltd_options['masonry_gallery_rectangle_portrait_title_line_height'] !== '') {
    $masonry_gallery_rectangle_portrait_title_style .= 'line-height: '.esc_attr($eltd_options['masonry_gallery_rectangle_portrait_title_line_height']).'px;';
}
if(isset($eltd_options['masonry_gallery_rectangle_portrait_title_text_transform']) && $eltd_options['masonry_gallery_rectangle_portrait_title_text_transform'] !== '') {
    $masonry_gallery_rectangle_portrait_title_style .= 'text-transform: '.esc_attr($eltd_options['masonry_gallery_rectangle_portrait_title_text_transform']).';';
}
if(isset($eltd_options['masonry_gallery_rectangle_portrait_title_font_family']) && $eltd_options['masonry_gallery_rectangle_portrait_title_font_family'] !== '-1') {
    $masonry_gallery_rectangle_portrait_title_style .= 'font-family: '. str_replace('+', ' ', $eltd_options['masonry_gallery_rectangle_portrait_title_font_family']) .';';
}
if(isset($eltd_options['masonry_gallery_rectangle_portrait_title_font_style']) && $eltd_options['masonry_gallery_rectangle_portrait_title_font_style'] !== '') {
    $masonry_gallery_rectangle_portrait_title_style .= 'font-style: '.esc_attr($eltd_options['masonry_gallery_rectangle_portrait_title_font_style']).';';
}
if(isset($eltd_options['masonry_gallery_rectangle_portrait_title_font_weight']) && $eltd_options['masonry_gallery_rectangle_portrait_title_font_weight'] !== '') {
    $masonry_gallery_rectangle_portrait_title_style .= 'font-weight: '.esc_attr($eltd_options['masonry_gallery_rectangle_portrait_title_font_weight']).';';
}
if(isset($eltd_options['masonry_gallery_rectangle_portrait_title_letter_spacing']) && $eltd_options['masonry_gallery_rectangle_portrait_title_letter_spacing'] !== '') {
    $masonry_gallery_rectangle_portrait_title_style .= 'letter-spacing: '.esc_attr($eltd_options['masonry_gallery_rectangle_portrait_title_letter_spacing']).'px;';
}
if(isset($eltd_options['masonry_gallery_rectangle_portrait_title_margin_bottom']) && $eltd_options['masonry_gallery_rectangle_portrait_title_margin_bottom'] !== '') {
    $masonry_gallery_rectangle_portrait_title_style .= 'padding-bottom: '.esc_attr($eltd_options['masonry_gallery_rectangle_portrait_title_margin_bottom']).'px;';
}
if ($masonry_gallery_rectangle_portrait_title_style !== '') { ?>

    .masonry_gallery_item.rectangle_portrait h3 {
    <?php echo esc_attr($masonry_gallery_rectangle_portrait_title_style); ?>
    }

<?php }

if(isset($eltd_options['masonry_gallery_rectangle_portrait_subtitle_color']) && $eltd_options['masonry_gallery_rectangle_portrait_subtitle_color'] !== '') {
    $masonry_gallery_rectangle_portrait_subtitle_style .= 'color: '.esc_attr($eltd_options['masonry_gallery_rectangle_portrait_subtitle_color']).';';
}
if(isset($eltd_options['masonry_gallery_rectangle_portrait_subtitle_font_size']) && $eltd_options['masonry_gallery_rectangle_portrait_subtitle_font_size'] !== '') {
    $masonry_gallery_rectangle_portrait_subtitle_style .= 'font-size: '.esc_attr($eltd_options['masonry_gallery_rectangle_portrait_subtitle_font_size']).'px;';
}
if(isset($eltd_options['masonry_gallery_rectangle_portrait_subtitle_line_height']) && $eltd_options['masonry_gallery_rectangle_portrait_subtitle_line_height'] !== '') {
    $masonry_gallery_rectangle_portrait_subtitle_style .= 'line-height: '.esc_attr($eltd_options['masonry_gallery_rectangle_portrait_subtitle_line_height']).'px;';
}
if(isset($eltd_options['masonry_gallery_rectangle_portrait_subtitle_text_transform']) && $eltd_options['masonry_gallery_rectangle_portrait_subtitle_text_transform'] !== '') {
    $masonry_gallery_rectangle_portrait_subtitle_style .= 'text-transform: '.esc_attr($eltd_options['masonry_gallery_rectangle_portrait_subtitle_text_transform']).';';
}
if(isset($eltd_options['masonry_gallery_rectangle_portrait_subtitle_font_family']) && $eltd_options['masonry_gallery_rectangle_portrait_subtitle_font_family'] !== '-1') {
    $masonry_gallery_rectangle_portrait_subtitle_style .= 'font-family: '. str_replace('+', ' ', $eltd_options['masonry_gallery_rectangle_portrait_subtitle_font_family']) .';';
}
if(isset($eltd_options['masonry_gallery_rectangle_portrait_subtitle_font_style']) && $eltd_options['masonry_gallery_rectangle_portrait_subtitle_font_style'] !== '') {
    $masonry_gallery_rectangle_portrait_subtitle_style .= 'font-style: '.esc_attr($eltd_options['masonry_gallery_rectangle_portrait_subtitle_font_style']).';';
}
if(isset($eltd_options['masonry_gallery_rectangle_portrait_subtitle_font_weight']) && $eltd_options['masonry_gallery_rectangle_portrait_subtitle_font_weight'] !== '') {
    $masonry_gallery_rectangle_portrait_subtitle_style .= 'font-weight: '.esc_attr($eltd_options['masonry_gallery_rectangle_portrait_subtitle_font_weight']).';';
}
if(isset($eltd_options['masonry_gallery_rectangle_portrait_subtitle_letter_spacing']) && $eltd_options['masonry_gallery_rectangle_portrait_subtitle_letter_spacing'] !== '') {
    $masonry_gallery_rectangle_portrait_subtitle_style .= 'letter-spacing: '.esc_attr($eltd_options['masonry_gallery_rectangle_portrait_subtitle_letter_spacing']).'px;';
}

if(isset($eltd_options['masonry_gallery_rectangle_portrait_subtitle_margin_bottom']) && $eltd_options['masonry_gallery_rectangle_portrait_subtitle_margin_bottom'] !== '') { ?>
	.masonry_gallery_item.rectangle_portrait .masonry_gallery_item_subtitle{
		padding-bottom: <?php echo esc_attr($eltd_options['masonry_gallery_rectangle_portrait_subtitle_margin_bottom']); ?>px;
	}
<?php }

if ($masonry_gallery_rectangle_portrait_subtitle_style !== '') { ?>

    .masonry_gallery_item.rectangle_portrait .masonry_gallery_item_subtitle .separator_content,
    .masonry_gallery_item.rectangle_portrait .masonry_gallery_item_subtitle > span{
        <?php echo esc_attr($masonry_gallery_rectangle_portrait_subtitle_style); ?>
    }

<?php }

if(isset($eltd_options['masonry_gallery_rectangle_portrait_text_color']) && $eltd_options['masonry_gallery_rectangle_portrait_text_color'] !== '') {
    $masonry_gallery_rectangle_portrait_text_style .= 'color: '.esc_attr($eltd_options['masonry_gallery_rectangle_portrait_text_color']).';';
}
if(isset($eltd_options['masonry_gallery_rectangle_portrait_text_font_size']) && $eltd_options['masonry_gallery_rectangle_portrait_text_font_size'] !== '') {
    $masonry_gallery_rectangle_portrait_text_style .= 'font-size: '.esc_attr($eltd_options['masonry_gallery_rectangle_portrait_text_font_size']).'px;';
}
if(isset($eltd_options['masonry_gallery_rectangle_portrait_text_line_height']) && $eltd_options['masonry_gallery_rectangle_portrait_text_line_height'] !== '') {
    $masonry_gallery_rectangle_portrait_text_style .= 'line-height: '.esc_attr($eltd_options['masonry_gallery_rectangle_portrait_text_line_height']).'px;';
}
if(isset($eltd_options['masonry_gallery_rectangle_portrait_text_text_transform']) && $eltd_options['masonry_gallery_rectangle_portrait_text_text_transform'] !== '') {
    $masonry_gallery_rectangle_portrait_text_style .= 'text-transform: '.esc_attr($eltd_options['masonry_gallery_rectangle_portrait_text_text_transform']).';';
}
if(isset($eltd_options['masonry_gallery_rectangle_portrait_text_font_family']) && $eltd_options['masonry_gallery_rectangle_portrait_text_font_family'] !== '-1') {
    $masonry_gallery_rectangle_portrait_text_style .= 'font-family: '. str_replace('+', ' ', $eltd_options['masonry_gallery_rectangle_portrait_text_font_family']) .';';
}
if(isset($eltd_options['masonry_gallery_rectangle_portrait_text_font_style']) && $eltd_options['masonry_gallery_rectangle_portrait_text_font_style'] !== '') {
    $masonry_gallery_rectangle_portrait_text_style .= 'font-style: '.esc_attr($eltd_options['masonry_gallery_rectangle_portrait_text_font_style']).';';
}
if(isset($eltd_options['masonry_gallery_rectangle_portrait_text_font_weight']) && $eltd_options['masonry_gallery_rectangle_portrait_text_font_weight'] !== '') {
    $masonry_gallery_rectangle_portrait_text_style .= 'font-weight: '.esc_attr($eltd_options['masonry_gallery_rectangle_portrait_text_font_weight']).';';
}
if(isset($eltd_options['masonry_gallery_rectangle_portrait_text_letter_spacing']) && $eltd_options['masonry_gallery_rectangle_portrait_text_letter_spacing'] !== '') {
    $masonry_gallery_rectangle_portrait_text_style .= 'letter-spacing: '.esc_attr($eltd_options['masonry_gallery_rectangle_portrait_text_letter_spacing']).'px;';
}
if ($masonry_gallery_rectangle_portrait_text_style !== '') { ?>

    .masonry_gallery_item.rectangle_portrait .masonry_gallery_item_text {
    <?php echo esc_attr($masonry_gallery_rectangle_portrait_text_style); ?>
    }

<?php }

if(isset($eltd_options['masonry_gallery_rectangle_portrait_button_font_family']) && $eltd_options['masonry_gallery_rectangle_portrait_button_font_family'] !== '-1') {
    $masonry_gallery_rectangle_portrait_button_style .= 'font-family: '. str_replace('+', ' ', $eltd_options['masonry_gallery_rectangle_portrait_button_font_family']) .';';
}
if(isset($eltd_options['masonry_gallery_rectangle_portrait_button_font_style']) && $eltd_options['masonry_gallery_rectangle_portrait_button_font_style'] !== '') {
    $masonry_gallery_rectangle_portrait_button_style .= 'font-style: '.esc_attr($eltd_options['masonry_gallery_rectangle_portrait_button_font_style']).';';
}
if(isset($eltd_options['masonry_gallery_rectangle_portrait_button_font_weight']) && $eltd_options['masonry_gallery_rectangle_portrait_button_font_weight'] !== '') {
    $masonry_gallery_rectangle_portrait_button_style .= 'font-weight: '.esc_attr($eltd_options['masonry_gallery_rectangle_portrait_button_font_weight']).';';
}
if(isset($eltd_options['masonry_gallery_rectangle_portrait_button_text_transform']) && $eltd_options['masonry_gallery_rectangle_portrait_button_text_transform'] !== '') {
    $masonry_gallery_rectangle_portrait_button_style .= 'text-transform: '.esc_attr($eltd_options['masonry_gallery_rectangle_portrait_button_text_transform']).';';
}
if(isset($eltd_options['masonry_gallery_rectangle_portrait_button_font_size']) && $eltd_options['masonry_gallery_rectangle_portrait_button_font_size'] !== '') {
    $masonry_gallery_rectangle_portrait_button_style .= 'font-size: '.esc_attr($eltd_options['masonry_gallery_rectangle_portrait_button_font_size']).'px;';
}
if(isset($eltd_options['masonry_gallery_rectangle_portrait_button_line_height']) && $eltd_options['masonry_gallery_rectangle_portrait_button_line_height'] !== '') {
    $masonry_gallery_rectangle_portrait_button_style .= 'line-height: '.esc_attr($eltd_options['masonry_gallery_rectangle_portrait_button_line_height']).'px;';
}
if(isset($eltd_options['masonry_gallery_rectangle_portrait_button_letter_spacing']) && $eltd_options['masonry_gallery_rectangle_portrait_button_letter_spacing'] !== '') {
    $masonry_gallery_rectangle_portrait_button_style .= 'letter-spacing: '.esc_attr($eltd_options['masonry_gallery_rectangle_portrait_button_letter_spacing']).'px;';
}
if(isset($eltd_options['masonry_gallery_rectangle_portrait_button_text_color']) && $eltd_options['masonry_gallery_rectangle_portrait_button_text_color'] !== '') {
    $masonry_gallery_rectangle_portrait_button_style .= 'color: '.esc_attr($eltd_options['masonry_gallery_rectangle_portrait_button_text_color']).';';
}
if(isset($eltd_options['masonry_gallery_rectangle_portrait_button_background_color']) && $eltd_options['masonry_gallery_rectangle_portrait_button_background_color'] !== '') {
    $masonry_gallery_rectangle_portrait_button_style .= 'background-color: '.esc_attr($eltd_options['masonry_gallery_rectangle_portrait_button_background_color']).';';
}
if(isset($eltd_options['masonry_gallery_rectangle_portrait_button_border_color']) && $eltd_options['masonry_gallery_rectangle_portrait_button_border_color'] !== '') {
    $masonry_gallery_rectangle_portrait_button_style .= 'border-color: '.esc_attr($eltd_options['masonry_gallery_rectangle_portrait_button_border_color']).';';
}
if(isset($eltd_options['masonry_gallery_rectangle_portrait_button_border_width']) && $eltd_options['masonry_gallery_rectangle_portrait_button_border_width'] !== '') {
    $masonry_gallery_rectangle_portrait_button_style .= 'border-width: '.esc_attr($eltd_options['masonry_gallery_rectangle_portrait_button_border_width']).'px;';
}
if(isset($eltd_options['masonry_gallery_rectangle_portrait_button_border_radius']) && $eltd_options['masonry_gallery_rectangle_portrait_button_border_radius'] !== '') {
    $masonry_gallery_rectangle_portrait_button_style .= 'border-radius: '.esc_attr($eltd_options['masonry_gallery_rectangle_portrait_button_border_radius']).'px;';
}
if(isset($eltd_options['masonry_gallery_rectangle_portrait_button_margin_top']) && $eltd_options['masonry_gallery_rectangle_portrait_button_margin_top'] !== '') {
    $masonry_gallery_rectangle_portrait_button_style .= 'margin-top: '.esc_attr($eltd_options['masonry_gallery_rectangle_portrait_button_margin_top']).'px;';
}
if(isset($eltd_options['masonry_gallery_rectangle_portrait_button_padding_left']) && $eltd_options['masonry_gallery_rectangle_portrait_button_padding_left'] !== '') {
    $masonry_gallery_rectangle_portrait_button_style .= 'padding-left: '.esc_attr($eltd_options['masonry_gallery_rectangle_portrait_button_padding_left']).'px;';
}
if(isset($eltd_options['masonry_gallery_rectangle_portrait_button_padding_right']) && $eltd_options['masonry_gallery_rectangle_portrait_button_padding_right'] !== '') {
    $masonry_gallery_rectangle_portrait_button_style .= 'padding-right: '.esc_attr($eltd_options['masonry_gallery_rectangle_portrait_button_padding_right']).'px;';
}

if ($masonry_gallery_rectangle_portrait_button_style !== '') { ?>

    .masonry_gallery_item.rectangle_portrait .qbutton {
    <?php echo esc_attr($masonry_gallery_rectangle_portrait_button_style); ?>
    }

<?php }

if(isset($eltd_options['masonry_gallery_rectangle_portrait_button_hover_text_color']) && $eltd_options['masonry_gallery_rectangle_portrait_button_hover_text_color'] !== '') {
    $masonry_gallery_rectangle_portrait_hover_button_style .= 'color: '.esc_attr($eltd_options['masonry_gallery_rectangle_portrait_button_hover_text_color']).';';
}
if(isset($eltd_options['masonry_gallery_rectangle_portrait_button_hover_background_color']) && $eltd_options['masonry_gallery_rectangle_portrait_button_hover_background_color'] !== '') {
    $masonry_gallery_rectangle_portrait_hover_button_style .= 'background-color: '.esc_attr($eltd_options['masonry_gallery_rectangle_portrait_button_hover_background_color']).';';
}
if(isset($eltd_options['masonry_gallery_rectangle_portrait_button_hover_border_color']) && $eltd_options['masonry_gallery_rectangle_portrait_button_hover_border_color'] !== '') {
    $masonry_gallery_rectangle_portrait_hover_button_style .= 'border-color: '.esc_attr($eltd_options['masonry_gallery_rectangle_portrait_button_hover_border_color']).';';
}
if ($masonry_gallery_rectangle_portrait_hover_button_style !== '') { ?>

    .masonry_gallery_item.rectangle_portrait .qbutton:hover {
    <?php echo esc_attr($masonry_gallery_rectangle_portrait_hover_button_style); ?>
    }

<?php }

if(isset($eltd_options['masonry_gallery_rectangle_portrait_icon_color']) && $eltd_options['masonry_gallery_rectangle_portrait_icon_color'] !== '') {
    $masonry_gallery_rectangle_portrait_icon_style .= 'color: '.esc_attr($eltd_options['masonry_gallery_rectangle_portrait_icon_color']).';';
}
if(isset($eltd_options['masonry_gallery_rectangle_portrait_icon_size']) && $eltd_options['masonry_gallery_rectangle_portrait_icon_size'] !== '') {
    $masonry_gallery_rectangle_portrait_icon_style .= 'font-size: '.esc_attr($eltd_options['masonry_gallery_rectangle_portrait_icon_size']).'px;';
}
if(isset($eltd_options['masonry_gallery_rectangle_portrait_icon_margin_bottom']) && $eltd_options['masonry_gallery_rectangle_portrait_icon_margin_bottom'] !== '') {
    $masonry_gallery_rectangle_portrait_icon_style .= 'margin-bottom: '.esc_attr($eltd_options['masonry_gallery_rectangle_portrait_icon_margin_bottom']).'px;';
}
if ($masonry_gallery_rectangle_portrait_icon_style !== '') { ?>

    .masonry_gallery_item.rectangle_portrait .masonry_gallery_item_icon {
    <?php echo esc_attr($masonry_gallery_rectangle_portrait_icon_style); ?>
    }

<?php }

if(isset($eltd_options['masonry_gallery_rectangle_portrait_icon_hover_color']) && $eltd_options['masonry_gallery_rectangle_portrait_icon_hover_color'] !== '') {
    $masonry_gallery_rectangle_portrait_hover_icon_style .= 'color: '.esc_attr($eltd_options['masonry_gallery_rectangle_portrait_icon_hover_color']).';';
}
if ($masonry_gallery_rectangle_portrait_hover_icon_style !== '') { ?>

    .masonry_gallery_item.rectangle_portrait .masonry_gallery_item_icon:hover {
    <?php echo esc_attr($masonry_gallery_rectangle_portrait_hover_icon_style); ?>
    }

<?php }

$masonry_gallery_rectangle_portrait_overlay_color = '';
$masonry_gallery_rectangle_portrait_overlay_transparency = '0.8';

if(isset($eltd_options['masonry_gallery_rectangle_portrait_overlay_color']) && $eltd_options['masonry_gallery_rectangle_portrait_overlay_color'] !== ''){
	$masonry_gallery_rectangle_portrait_overlay_color = eltd_hex2rgb($eltd_options['masonry_gallery_rectangle_portrait_overlay_color']);
	if(isset($eltd_options['masonry_gallery_rectangle_portrait_overlay_transparency']) && $eltd_options['masonry_gallery_rectangle_portrait_overlay_transparency'] !== '') {
		$masonry_gallery_rectangle_portrait_overlay_transparency = esc_attr($eltd_options['masonry_gallery_rectangle_portrait_overlay_transparency']);
	} ?>

	 .masonry_gallery_item.rectangle_portrait .masonry_gallery_item_inner {
        background-color: rgba(<?php echo esc_attr($masonry_gallery_rectangle_portrait_overlay_color[0]); ?>,<?php echo esc_attr($masonry_gallery_rectangle_portrait_overlay_color[1]); ?>,<?php echo esc_attr($masonry_gallery_rectangle_portrait_overlay_color[2]); ?>,<?php echo esc_attr($masonry_gallery_rectangle_portrait_overlay_transparency); /* dynamically generated style attr. Note that is escaped on line 21766-21769 */?>)
    }
<?php } 

$masonry_gallery_rectangle_portrait_overlay_color_hover = '';
$masonry_gallery_rectangle_portrait_overlay_transparency_hover = '0.8';

if(isset($eltd_options['masonry_gallery_rectangle_portrait_overlay_color_hover']) && $eltd_options['masonry_gallery_rectangle_portrait_overlay_color_hover'] !== ''){
	$masonry_gallery_rectangle_portrait_overlay_color_hover = eltd_hex2rgb($eltd_options['masonry_gallery_rectangle_portrait_overlay_color_hover']);
	if(isset($eltd_options['masonry_gallery_rectangle_portrait_overlay_transparency_hover']) && $eltd_options['masonry_gallery_rectangle_portrait_overlay_transparency_hover'] !== '') {
		$masonry_gallery_rectangle_portrait_overlay_transparency_hover = esc_attr($eltd_options['masonry_gallery_rectangle_portrait_overlay_transparency_hover']);
	} ?>

	 .masonry_gallery_item.rectangle_portrait.standard .masonry_gallery_item_inner {
        background-color: rgba(<?php echo esc_attr($masonry_gallery_rectangle_portrait_overlay_color_hover[0]); ?>,<?php echo esc_attr($masonry_gallery_rectangle_portrait_overlay_color_hover[1]); ?>,<?php echo esc_attr($masonry_gallery_rectangle_portrait_overlay_color_hover[2]); ?>,<?php echo esc_attr($masonry_gallery_rectangle_portrait_overlay_transparency_hover); /* dynamically generated style attr. Note that is escaped on line 21766-21769 */?>)
    }
<?php } ?>

<?php

$masonry_gallery_rectangle_portrait_content_style = array();

if(isset($eltd_options['masonry_gallery_rectangle_portrait_text_align'])&& $eltd_options['masonry_gallery_rectangle_portrait_text_align'] !=''){
	$masonry_gallery_rectangle_portrait_content_style[] = 'text-align: '.$eltd_options['masonry_gallery_rectangle_portrait_text_align'];
}

if(isset($eltd_options['masonry_gallery_rectangle_portrait_padding_left'])&& $eltd_options['masonry_gallery_rectangle_portrait_padding_left'] !=''){
	$masonry_gallery_rectangle_portrait_content_style[] = 'padding-left: '.$eltd_options['masonry_gallery_rectangle_portrait_padding_left'];
 }
if(isset($eltd_options['masonry_gallery_rectangle_portrait_padding_right'])&& $eltd_options['masonry_gallery_rectangle_portrait_padding_right'] !=''){
	$masonry_gallery_rectangle_portrait_content_style[] = 'padding-right: '.$eltd_options['masonry_gallery_rectangle_portrait_padding_right'];
}

if(is_array($masonry_gallery_rectangle_portrait_content_style) && count($masonry_gallery_rectangle_portrait_content_style)) { ?>
    .masonry_gallery_item.rectangle_portrait .masonry_gallery_item_inner .masonry_gallery_item_content{
    <?php echo esc_attr(implode(';', $masonry_gallery_rectangle_portrait_content_style)); ?>
    }

<?php } ?>

<?php

$masonry_gallery_rectangle_portrait_title_sep_style = array();

if(isset($eltd_options['masonry_gallery_rectangle_portrait_separator_color'])&& $eltd_options['masonry_gallery_rectangle_portrait_separator_color'] !=''){
	$masonry_gallery_rectangle_portrait_title_sep_style[] = 'border-bottom-color: '.$eltd_options['masonry_gallery_rectangle_portrait_separator_color'];
}

if(isset($eltd_options['masonry_gallery_rectangle_portrait_separator_width'])&& $eltd_options['masonry_gallery_rectangle_portrait_separator_width'] !=''){
	$masonry_gallery_rectangle_portrait_title_sep_style[] = 'width: '.$eltd_options['masonry_gallery_rectangle_portrait_separator_width'].'px';
}

if(is_array($masonry_gallery_rectangle_portrait_title_sep_style) && count($masonry_gallery_rectangle_portrait_title_sep_style)){ ?>
	.masonry_gallery_item.rectangle_portrait .vc_text_separator .eltd_line_before,
	.masonry_gallery_item.rectangle_portrait .vc_text_separator .eltd_line_after{
	<?php echo esc_attr(implode('; ', $masonry_gallery_rectangle_portrait_title_sep_style)); ?>
	}
<?php }
?>

<?php

//Rectangle Landscape Item
$masonry_gallery_rectangle_landscape_title_style = '';
$masonry_gallery_rectangle_landscape_subtitle_style = '';
$masonry_gallery_rectangle_landscape_text_style = '';
$masonry_gallery_rectangle_landscape_button_style = '';
$masonry_gallery_rectangle_landscape_hover_button_style = '';
$masonry_gallery_rectangle_landscape_icon_style = '';
$masonry_gallery_rectangle_landscape_hover_icon_style = '';

if(isset($eltd_options['masonry_gallery_rectangle_landscape_title_color']) && $eltd_options['masonry_gallery_rectangle_landscape_title_color'] !== '') {
    $masonry_gallery_rectangle_landscape_title_style .= 'color: '.esc_attr($eltd_options['masonry_gallery_rectangle_landscape_title_color']).';';
}
if(isset($eltd_options['masonry_gallery_rectangle_landscape_title_font_size']) && $eltd_options['masonry_gallery_rectangle_landscape_title_font_size'] !== '') {
    $masonry_gallery_rectangle_landscape_title_style .= 'font-size: '.esc_attr($eltd_options['masonry_gallery_rectangle_landscape_title_font_size']).'px;';
}
if(isset($eltd_options['masonry_gallery_rectangle_landscape_title_line_height']) && $eltd_options['masonry_gallery_rectangle_landscape_title_line_height'] !== '') {
    $masonry_gallery_rectangle_landscape_title_style .= 'line-height: '.esc_attr($eltd_options['masonry_gallery_rectangle_landscape_title_line_height']).'px;';
}
if(isset($eltd_options['masonry_gallery_rectangle_landscape_title_text_transform']) && $eltd_options['masonry_gallery_rectangle_landscape_title_text_transform'] !== '') {
    $masonry_gallery_rectangle_landscape_title_style .= 'text-transform: '.esc_attr($eltd_options['masonry_gallery_rectangle_landscape_title_text_transform']).';';
}
if(isset($eltd_options['masonry_gallery_rectangle_landscape_title_font_family']) && $eltd_options['masonry_gallery_rectangle_landscape_title_font_family'] !== '-1') {
    $masonry_gallery_rectangle_landscape_title_style .= 'font-family: '. str_replace('+', ' ', $eltd_options['masonry_gallery_rectangle_landscape_title_font_family']) .';';
}
if(isset($eltd_options['masonry_gallery_rectangle_landscape_title_font_style']) && $eltd_options['masonry_gallery_rectangle_landscape_title_font_style'] !== '') {
    $masonry_gallery_rectangle_landscape_title_style .= 'font-style: '.esc_attr($eltd_options['masonry_gallery_rectangle_landscape_title_font_style']).';';
}
if(isset($eltd_options['masonry_gallery_rectangle_landscape_title_font_weight']) && $eltd_options['masonry_gallery_rectangle_landscape_title_font_weight'] !== '') {
    $masonry_gallery_rectangle_landscape_title_style .= 'font-weight: '.esc_attr($eltd_options['masonry_gallery_rectangle_landscape_title_font_weight']).';';
}
if(isset($eltd_options['masonry_gallery_rectangle_landscape_title_letter_spacing']) && $eltd_options['masonry_gallery_rectangle_landscape_title_letter_spacing'] !== '') {
    $masonry_gallery_rectangle_landscape_title_style .= 'letter-spacing: '.esc_attr($eltd_options['masonry_gallery_rectangle_landscape_title_letter_spacing']).'px;';
}
if(isset($eltd_options['masonry_gallery_rectangle_landscape_title_margin_bottom']) && $eltd_options['masonry_gallery_rectangle_landscape_title_margin_bottom'] !== '') {
    $masonry_gallery_rectangle_landscape_title_style .= 'padding-bottom: '.esc_attr($eltd_options['masonry_gallery_rectangle_landscape_title_margin_bottom']).'px;';
}
if ($masonry_gallery_rectangle_landscape_title_style !== '') { ?>

    .masonry_gallery_item.rectangle_landscape h3 {
    <?php echo esc_attr($masonry_gallery_rectangle_landscape_title_style); ?>
    }

<?php }

if(isset($eltd_options['masonry_gallery_rectangle_landscape_subtitle_color']) && $eltd_options['masonry_gallery_rectangle_landscape_subtitle_color'] !== '') {
    $masonry_gallery_rectangle_landscape_subtitle_style .= 'color: '.esc_attr($eltd_options['masonry_gallery_rectangle_landscape_subtitle_color']).';';
}
if(isset($eltd_options['masonry_gallery_rectangle_landscape_subtitle_font_size']) && $eltd_options['masonry_gallery_rectangle_landscape_subtitle_font_size'] !== '') {
    $masonry_gallery_rectangle_landscape_subtitle_style .= 'font-size: '.esc_attr($eltd_options['masonry_gallery_rectangle_landscape_subtitle_font_size']).'px;';
}
if(isset($eltd_options['masonry_gallery_rectangle_landscape_subtitle_line_height']) && $eltd_options['masonry_gallery_rectangle_landscape_subtitle_line_height'] !== '') {
    $masonry_gallery_rectangle_landscape_subtitle_style .= 'line-height: '.esc_attr($eltd_options['masonry_gallery_rectangle_landscape_subtitle_line_height']).'px;';
}
if(isset($eltd_options['masonry_gallery_rectangle_landscape_subtitle_text_transform']) && $eltd_options['masonry_gallery_rectangle_landscape_subtitle_text_transform'] !== '') {
    $masonry_gallery_rectangle_landscape_subtitle_style .= 'text-transform: '.esc_attr($eltd_options['masonry_gallery_rectangle_landscape_subtitle_text_transform']).';';
}
if(isset($eltd_options['masonry_gallery_rectangle_landscape_subtitle_font_family']) && $eltd_options['masonry_gallery_rectangle_landscape_subtitle_font_family'] !== '-1') {
    $masonry_gallery_rectangle_landscape_subtitle_style .= 'font-family: '. str_replace('+', ' ', $eltd_options['masonry_gallery_rectangle_landscape_subtitle_font_family']) .';';
}
if(isset($eltd_options['masonry_gallery_rectangle_landscape_subtitle_font_style']) && $eltd_options['masonry_gallery_rectangle_landscape_subtitle_font_style'] !== '') {
    $masonry_gallery_rectangle_landscape_subtitle_style .= 'font-style: '.esc_attr($eltd_options['masonry_gallery_rectangle_landscape_subtitle_font_style']).';';
}
if(isset($eltd_options['masonry_gallery_rectangle_landscape_subtitle_font_weight']) && $eltd_options['masonry_gallery_rectangle_landscape_subtitle_font_weight'] !== '') {
    $masonry_gallery_rectangle_landscape_subtitle_style .= 'font-weight: '.esc_attr($eltd_options['masonry_gallery_rectangle_landscape_subtitle_font_weight']).';';
}
if(isset($eltd_options['masonry_gallery_rectangle_landscape_subtitle_letter_spacing']) && $eltd_options['masonry_gallery_rectangle_landscape_subtitle_letter_spacing'] !== '') {
    $masonry_gallery_rectangle_landscape_subtitle_style .= 'letter-spacing: '.esc_attr($eltd_options['masonry_gallery_rectangle_landscape_subtitle_letter_spacing']).'px;';
}

if(isset($eltd_options['masonry_gallery_rectangle_landscape_subtitle_margin_bottom']) && $eltd_options['masonry_gallery_rectangle_landscape_subtitle_margin_bottom'] !== '') { ?>
	.masonry_gallery_item.rectangle_landscape .masonry_gallery_item_subtitle{
		padding-bottom: <?php echo esc_attr($eltd_options['masonry_gallery_rectangle_landscape_subtitle_margin_bottom']); ?>px;
	}
<?php }

if ($masonry_gallery_rectangle_landscape_subtitle_style !== '') { ?>

    .masonry_gallery_item.rectangle_landscape .masonry_gallery_item_subtitle .separator_content,
    .masonry_gallery_item.rectangle_landscape .masonry_gallery_item_subtitle > span{
        <?php echo esc_attr($masonry_gallery_rectangle_landscape_subtitle_style); ?>
    }

<?php }

if(isset($eltd_options['masonry_gallery_rectangle_landscape_text_color']) && $eltd_options['masonry_gallery_rectangle_landscape_text_color'] !== '') {
    $masonry_gallery_rectangle_landscape_text_style .= 'color: '.esc_attr($eltd_options['masonry_gallery_rectangle_landscape_text_color']).';';
}
if(isset($eltd_options['masonry_gallery_rectangle_landscape_text_font_size']) && $eltd_options['masonry_gallery_rectangle_landscape_text_font_size'] !== '') {
    $masonry_gallery_rectangle_landscape_text_style .= 'font-size: '.esc_attr($eltd_options['masonry_gallery_rectangle_landscape_text_font_size']).'px;';
}
if(isset($eltd_options['masonry_gallery_rectangle_landscape_text_line_height']) && $eltd_options['masonry_gallery_rectangle_landscape_text_line_height'] !== '') {
    $masonry_gallery_rectangle_landscape_text_style .= 'line-height: '.esc_attr($eltd_options['masonry_gallery_rectangle_landscape_text_line_height']).'px;';
}
if(isset($eltd_options['masonry_gallery_rectangle_landscape_text_text_transform']) && $eltd_options['masonry_gallery_rectangle_landscape_text_text_transform'] !== '') {
    $masonry_gallery_rectangle_landscape_text_style .= 'text-transform: '.esc_attr($eltd_options['masonry_gallery_rectangle_landscape_text_text_transform']).';';
}
if(isset($eltd_options['masonry_gallery_rectangle_landscape_text_font_family']) && $eltd_options['masonry_gallery_rectangle_landscape_text_font_family'] !== '-1') {
    $masonry_gallery_rectangle_landscape_text_style .= 'font-family: '. str_replace('+', ' ', $eltd_options['masonry_gallery_rectangle_landscape_text_font_family']) .';';
}
if(isset($eltd_options['masonry_gallery_rectangle_landscape_text_font_style']) && $eltd_options['masonry_gallery_rectangle_landscape_text_font_style'] !== '') {
    $masonry_gallery_rectangle_landscape_text_style .= 'font-style: '.esc_attr($eltd_options['masonry_gallery_rectangle_landscape_text_font_style']).';';
}
if(isset($eltd_options['masonry_gallery_rectangle_landscape_text_font_weight']) && $eltd_options['masonry_gallery_rectangle_landscape_text_font_weight'] !== '') {
    $masonry_gallery_rectangle_landscape_text_style .= 'font-weight: '.esc_attr($eltd_options['masonry_gallery_rectangle_landscape_text_font_weight']).';';
}
if(isset($eltd_options['masonry_gallery_rectangle_landscape_text_letter_spacing']) && $eltd_options['masonry_gallery_rectangle_landscape_text_letter_spacing'] !== '') {
    $masonry_gallery_rectangle_landscape_text_style .= 'letter-spacing: '.esc_attr($eltd_options['masonry_gallery_rectangle_landscape_text_letter_spacing']).'px;';
}
if ($masonry_gallery_rectangle_landscape_text_style !== '') { ?>

    .masonry_gallery_item.rectangle_landscape .masonry_gallery_item_text {
    <?php echo esc_attr($masonry_gallery_rectangle_landscape_text_style); ?>
    }

<?php }

if(isset($eltd_options['masonry_gallery_rectangle_landscape_button_font_family']) && $eltd_options['masonry_gallery_rectangle_landscape_button_font_family'] !== '-1') {
    $masonry_gallery_rectangle_landscape_button_style .= 'font-family: '. str_replace('+', ' ', $eltd_options['masonry_gallery_rectangle_landscape_button_font_family']) .';';
}
if(isset($eltd_options['masonry_gallery_rectangle_landscape_button_font_style']) && $eltd_options['masonry_gallery_rectangle_landscape_button_font_style'] !== '') {
    $masonry_gallery_rectangle_landscape_button_style .= 'font-style: '.esc_attr($eltd_options['masonry_gallery_rectangle_landscape_button_font_style']).';';
}
if(isset($eltd_options['masonry_gallery_rectangle_landscape_button_font_weight']) && $eltd_options['masonry_gallery_rectangle_landscape_button_font_weight'] !== '') {
    $masonry_gallery_rectangle_landscape_button_style .= 'font-weight: '.esc_attr($eltd_options['masonry_gallery_rectangle_landscape_button_font_weight']).';';
}
if(isset($eltd_options['masonry_gallery_rectangle_landscape_button_text_transform']) && $eltd_options['masonry_gallery_rectangle_landscape_button_text_transform'] !== '') {
    $masonry_gallery_rectangle_landscape_button_style .= 'text-transform: '.esc_attr($eltd_options['masonry_gallery_rectangle_landscape_button_text_transform']).';';
}
if(isset($eltd_options['masonry_gallery_rectangle_landscape_button_font_size']) && $eltd_options['masonry_gallery_rectangle_landscape_button_font_size'] !== '') {
    $masonry_gallery_rectangle_landscape_button_style .= 'font-size: '.esc_attr($eltd_options['masonry_gallery_rectangle_landscape_button_font_size']).'px;';
}
if(isset($eltd_options['masonry_gallery_rectangle_landscape_button_line_height']) && $eltd_options['masonry_gallery_rectangle_landscape_button_line_height'] !== '') {
    $masonry_gallery_rectangle_landscape_button_style .= 'line-height: '.esc_attr($eltd_options['masonry_gallery_rectangle_landscape_button_line_height']).'px;';
}
if(isset($eltd_options['masonry_gallery_rectangle_landscape_button_letter_spacing']) && $eltd_options['masonry_gallery_rectangle_landscape_button_letter_spacing'] !== '') {
    $masonry_gallery_rectangle_landscape_button_style .= 'letter-spacing: '.esc_attr($eltd_options['masonry_gallery_rectangle_landscape_button_letter_spacing']).'px;';
}
if(isset($eltd_options['masonry_gallery_rectangle_landscape_button_text_color']) && $eltd_options['masonry_gallery_rectangle_landscape_button_text_color'] !== '') {
    $masonry_gallery_rectangle_landscape_button_style .= 'color: '.esc_attr($eltd_options['masonry_gallery_rectangle_landscape_button_text_color']).';';
}
if(isset($eltd_options['masonry_gallery_rectangle_landscape_button_background_color']) && $eltd_options['masonry_gallery_rectangle_landscape_button_background_color'] !== '') {
    $masonry_gallery_rectangle_landscape_button_style .= 'background-color: '.esc_attr($eltd_options['masonry_gallery_rectangle_landscape_button_background_color']).';';
}
if(isset($eltd_options['masonry_gallery_rectangle_landscape_button_border_color']) && $eltd_options['masonry_gallery_rectangle_landscape_button_border_color'] !== '') {
    $masonry_gallery_rectangle_landscape_button_style .= 'border-color: '.esc_attr($eltd_options['masonry_gallery_rectangle_landscape_button_border_color']).';';
}
if(isset($eltd_options['masonry_gallery_rectangle_landscape_button_border_width']) && $eltd_options['masonry_gallery_rectangle_landscape_button_border_width'] !== '') {
    $masonry_gallery_rectangle_landscape_button_style .= 'border-width: '.esc_attr($eltd_options['masonry_gallery_rectangle_landscape_button_border_width']).'px;';
}
if(isset($eltd_options['masonry_gallery_rectangle_landscape_button_border_radius']) && $eltd_options['masonry_gallery_rectangle_landscape_button_border_radius'] !== '') {
    $masonry_gallery_rectangle_landscape_button_style .= 'border-radius: '.esc_attr($eltd_options['masonry_gallery_rectangle_landscape_button_border_radius']).'px;';
}
if(isset($eltd_options['masonry_gallery_rectangle_landscape_button_padding_left']) && $eltd_options['masonry_gallery_rectangle_landscape_button_padding_left'] !== '') {
    $masonry_gallery_rectangle_landscape_button_style .= 'padding-left: '.esc_attr($eltd_options['masonry_gallery_rectangle_landscape_button_padding_left']).'px;';
}
if(isset($eltd_options['masonry_gallery_rectangle_landscape_button_padding_right']) && $eltd_options['masonry_gallery_rectangle_landscape_button_padding_right'] !== '') {
    $masonry_gallery_rectangle_landscape_button_style .= 'padding-right: '.esc_attr($eltd_options['masonry_gallery_rectangle_landscape_button_padding_right']).'px;';
}
if(isset($eltd_options['masonry_gallery_rectangle_landscape_button_margin_top']) && $eltd_options['masonry_gallery_rectangle_landscape_button_margin_top'] !== '') {
    $masonry_gallery_rectangle_landscape_button_style .= 'margin-top: '.esc_attr($eltd_options['masonry_gallery_rectangle_landscape_button_margin_top']).'px;';
}
if ($masonry_gallery_rectangle_landscape_button_style !== '') { ?>

    .masonry_gallery_item.rectangle_landscape .qbutton {
    <?php echo esc_attr($masonry_gallery_rectangle_landscape_button_style); ?>
    }

<?php }

if(isset($eltd_options['masonry_gallery_rectangle_landscape_button_hover_text_color']) && $eltd_options['masonry_gallery_rectangle_landscape_button_hover_text_color'] !== '') {
    $masonry_gallery_rectangle_landscape_hover_button_style .= 'color: '.esc_attr($eltd_options['masonry_gallery_rectangle_landscape_button_hover_text_color']).';';
}
if(isset($eltd_options['masonry_gallery_rectangle_landscape_button_hover_background_color']) && $eltd_options['masonry_gallery_rectangle_landscape_button_hover_background_color'] !== '') {
    $masonry_gallery_rectangle_landscape_hover_button_style .= 'background-color: '.esc_attr($eltd_options['masonry_gallery_rectangle_landscape_button_hover_background_color']).';';
}
if(isset($eltd_options['masonry_gallery_rectangle_landscape_button_hover_border_color']) && $eltd_options['masonry_gallery_rectangle_landscape_button_hover_border_color'] !== '') {
    $masonry_gallery_rectangle_landscape_hover_button_style .= 'border-color: '.esc_attr($eltd_options['masonry_gallery_rectangle_landscape_button_hover_border_color']).';';
}
if ($masonry_gallery_rectangle_landscape_hover_button_style !== '') { ?>

    .masonry_gallery_item.rectangle_landscape .qbutton:hover {
    <?php echo esc_attr($masonry_gallery_rectangle_landscape_hover_button_style); ?>
    }

<?php }

if(isset($eltd_options['masonry_gallery_rectangle_landscape_icon_color']) && $eltd_options['masonry_gallery_rectangle_landscape_icon_color'] !== '') {
    $masonry_gallery_rectangle_landscape_icon_style .= 'color: '.esc_attr($eltd_options['masonry_gallery_rectangle_landscape_icon_color']).';';
}
if(isset($eltd_options['masonry_gallery_rectangle_landscape_icon_size']) && $eltd_options['masonry_gallery_rectangle_landscape_icon_size'] !== '') {
    $masonry_gallery_rectangle_landscape_icon_style .= 'font-size: '.esc_attr($eltd_options['masonry_gallery_rectangle_landscape_icon_size']).'px;';
}
if(isset($eltd_options['masonry_gallery_rectangle_landscape_icon_margin_bottom']) && $eltd_options['masonry_gallery_rectangle_landscape_icon_margin_bottom'] !== '') {
    $masonry_gallery_rectangle_landscape_icon_style .= 'margin-bottom: '.esc_attr($eltd_options['masonry_gallery_rectangle_landscape_icon_margin_bottom']).'px;';
}
if ($masonry_gallery_rectangle_landscape_icon_style !== '') { ?>

    .masonry_gallery_item.rectangle_landscape .masonry_gallery_item_icon {
    <?php echo esc_attr($masonry_gallery_rectangle_landscape_icon_style); ?>
    }

<?php }

if(isset($eltd_options['masonry_gallery_rectangle_landscape_icon_hover_color']) && $eltd_options['masonry_gallery_rectangle_landscape_icon_hover_color'] !== '') {
    $masonry_gallery_rectangle_landscape_hover_icon_style .= 'color: '.esc_attr($eltd_options['masonry_gallery_rectangle_landscape_icon_hover_color']).';';
}
if ($masonry_gallery_rectangle_landscape_hover_icon_style !== '') { ?>

    .masonry_gallery_item.rectangle_landscape .masonry_gallery_item_icon:hover {
    <?php echo esc_attr($masonry_gallery_rectangle_landscape_hover_icon_style); ?>
    }

<?php }

$masonry_gallery_rectangle_landscape_overlay_color = '';
$masonry_gallery_rectangle_landscape_overlay_transparency = '0.8';

if(isset($eltd_options['masonry_gallery_rectangle_landscape_overlay_color']) && $eltd_options['masonry_gallery_rectangle_landscape_overlay_color'] !== ''){
	$masonry_gallery_rectangle_landscape_overlay_color = eltd_hex2rgb($eltd_options['masonry_gallery_rectangle_landscape_overlay_color']);
	if(isset($eltd_options['masonry_gallery_rectangle_landscape_overlay_transparency']) && $eltd_options['masonry_gallery_rectangle_landscape_overlay_transparency'] !== '') {
		$masonry_gallery_rectangle_landscape_overlay_transparency = esc_attr($eltd_options['masonry_gallery_rectangle_landscape_overlay_transparency']);
	} ?>

	 .masonry_gallery_item.rectangle_landscape .masonry_gallery_item_inner {
        background-color: rgba(<?php echo esc_attr($masonry_gallery_rectangle_landscape_overlay_color[0]); ?>,<?php echo esc_attr($masonry_gallery_rectangle_landscape_overlay_color[1]); ?>,<?php echo esc_attr($masonry_gallery_rectangle_landscape_overlay_color[2]); ?>,<?php echo esc_attr($masonry_gallery_rectangle_landscape_overlay_transparency); /* dynamically generated style attr. Note that is escaped on line 21766-21769 */?>)
    }
<?php } 

$masonry_gallery_rectangle_landscape_overlay_color_hover = '';
$masonry_gallery_rectangle_landscape_overlay_transparency_hover = '0.8';

if(isset($eltd_options['masonry_gallery_rectangle_landscape_overlay_color_hover']) && $eltd_options['masonry_gallery_rectangle_landscape_overlay_color_hover'] !== ''){
	$masonry_gallery_rectangle_landscape_overlay_color_hover = eltd_hex2rgb($eltd_options['masonry_gallery_rectangle_landscape_overlay_color_hover']);
	if(isset($eltd_options['masonry_gallery_rectangle_landscape_overlay_transparency_hover']) && $eltd_options['masonry_gallery_rectangle_landscape_overlay_transparency_hover'] !== '') {
		$masonry_gallery_rectangle_landscape_overlay_transparency_hover = esc_attr($eltd_options['masonry_gallery_rectangle_landscape_overlay_transparency_hover']);
	} ?>

	 .masonry_gallery_item.rectangle_landscape.standard .masonry_gallery_item_inner {
        background-color: rgba(<?php echo esc_attr($masonry_gallery_rectangle_landscape_overlay_color_hover[0]); ?>,<?php echo esc_attr($masonry_gallery_rectangle_landscape_overlay_color_hover[1]); ?>,<?php echo esc_attr($masonry_gallery_rectangle_landscape_overlay_color_hover[2]); ?>,<?php echo esc_attr($masonry_gallery_rectangle_landscape_overlay_transparency_hover); /* dynamically generated style attr. Note that is escaped on line 21766-21769 */?>)
    }
<?php } ?>

<?php

$masonry_gallery_rectangle_landscape_content_style = array();

if(isset($eltd_options['masonry_gallery_rectangle_landscape_text_align'])&& $eltd_options['masonry_gallery_rectangle_landscape_text_align'] !=''){
	$masonry_gallery_rectangle_landscape_content_style[] = 'text-align: '.$eltd_options['masonry_gallery_rectangle_landscape_text_align'];
}

if(isset($eltd_options['masonry_gallery_rectangle_landscape_padding_left'])&& $eltd_options['masonry_gallery_rectangle_landscape_padding_left'] !=''){
	$masonry_gallery_rectangle_landscape_content_style[] = 'padding-left: '.$eltd_options['masonry_gallery_rectangle_landscape_padding_left'];
 }
if(isset($eltd_options['masonry_gallery_rectangle_landscape_padding_right'])&& $eltd_options['masonry_gallery_rectangle_landscape_padding_right'] !=''){
	$masonry_gallery_rectangle_landscape_content_style[] = 'padding-right: '.$eltd_options['masonry_gallery_rectangle_landscape_padding_right'];
}

if(is_array($masonry_gallery_rectangle_landscape_content_style) && count($masonry_gallery_rectangle_landscape_content_style)) { ?>
    .masonry_gallery_item.rectangle_landscape .masonry_gallery_item_inner .masonry_gallery_item_content{
    <?php echo esc_attr(implode(';', $masonry_gallery_rectangle_landscape_content_style)); ?>
    }

<?php } ?>

<?php

$masonry_gallery_rectangle_landscape_title_sep_style = array();

if(isset($eltd_options['masonry_gallery_rectangle_landscape_separator_color'])&& $eltd_options['masonry_gallery_rectangle_landscape_separator_color'] !=''){
	$masonry_gallery_rectangle_landscape_title_sep_style[] = 'border-bottom-color: '.$eltd_options['masonry_gallery_rectangle_landscape_separator_color'];
}

if(isset($eltd_options['masonry_gallery_rectangle_landscape_separator_width'])&& $eltd_options['masonry_gallery_rectangle_landscape_separator_width'] !=''){
	$masonry_gallery_rectangle_landscape_title_sep_style[] = 'width: '.$eltd_options['masonry_gallery_rectangle_landscape_separator_width'].'px';
}

if(is_array($masonry_gallery_rectangle_landscape_title_sep_style) && count($masonry_gallery_rectangle_landscape_title_sep_style)){ ?>
	.masonry_gallery_item.rectangle_landscape .vc_text_separator .eltd_line_before,
	.masonry_gallery_item.rectangle_landscape .vc_text_separator .eltd_line_after{
	<?php echo esc_attr(implode('; ', $masonry_gallery_rectangle_landscape_title_sep_style)); ?>
	}
<?php }
?>

<?php

/*
* Blog Slider Default and Post Info visible
*/

$blog_slider_title_styles = array();

if(isset($eltd_options['blog_slider_title_font_family']) && $eltd_options['blog_slider_title_font_family'] !== '-1') {
    $blog_slider_title_styles[] = 'font-family: '.str_replace('+', ' ', $eltd_options['blog_slider_title_font_family']).', sans-serif';
}

if(isset($eltd_options['blog_slider_title_font_size']) && $eltd_options['blog_slider_title_font_size'] !== '') {
    $blog_slider_title_styles[] = 'font-size: '.$eltd_options['blog_slider_title_font_size'].'px';
}

if(isset($eltd_options['blog_slider_title_line_height']) && $eltd_options['blog_slider_title_line_height'] !== '') {
    $blog_slider_title_styles[] = 'line-height: '.$eltd_options['blog_slider_title_line_height'].'px';
}

if(isset($eltd_options['blog_slider_title_letter_spacing']) && $eltd_options['blog_slider_title_letter_spacing'] !== '') {
    $blog_slider_title_styles[] = 'letter-spacing: '.$eltd_options['blog_slider_title_letter_spacing'].'px';
}

if(isset($eltd_options['blog_slider_title_font_weight']) && $eltd_options['blog_slider_title_font_weight'] !== '') {
    $blog_slider_title_styles[] = 'font-weight: '.$eltd_options['blog_slider_title_font_weight'];
}

if(isset($eltd_options['blog_slider_title_font_style']) && $eltd_options['blog_slider_title_font_style'] !== '') {
    $blog_slider_title_styles[] = 'font-style: '.$eltd_options['blog_slider_title_font_style'];
}

if(isset($eltd_options['blog_slider_title_text_transform']) && $eltd_options['blog_slider_title_text_transform'] !== '') {
    $blog_slider_title_styles[] = 'text-transform: '.$eltd_options['blog_slider_title_text_transform'];
}

if(isset($eltd_options['blog_slider_title_color']) && $eltd_options['blog_slider_title_color'] !== '') {
    $blog_slider_title_styles[] = 'color: '.$eltd_options['blog_slider_title_color'];
}

if(is_array($blog_slider_title_styles) && count($blog_slider_title_styles)) { ?>
    .blog_slider .blog_text_holder.blog_slider_default .blog_slider_title a,
    .blog_slider .blog_text_holder.blog_slider_default .blog_slider_title{
    <?php echo esc_attr(implode(';', $blog_slider_title_styles)); ?>
    }

<?php }?>

<?php
if(isset($eltd_options['blog_slider_title_hover_color']) && $eltd_options['blog_slider_title_hover_color'] !== '') {?>

   .blog_slider .blog_text_holder.blog_slider_default .blog_slider_title a:hover{
        color: <?php echo esc_attr($eltd_options['blog_slider_title_hover_color']); ?>;
    }


<?php } ?>

<?php

$blog_slider_category_styles = array();

if(isset($eltd_options['blog_slider_category_font_family']) && $eltd_options['blog_slider_category_font_family'] !== '-1') {
    $blog_slider_category_styles[] = 'font-family: '.str_replace('+', ' ', $eltd_options['blog_slider_category_font_family']).', sans-serif';
}

if(isset($eltd_options['blog_slider_category_font_size']) && $eltd_options['blog_slider_category_font_size'] !== '') {
    $blog_slider_category_styles[] = 'font-size: '.$eltd_options['blog_slider_category_font_size'].'px';
}

if(isset($eltd_options['blog_slider_category_line_height']) && $eltd_options['blog_slider_category_line_height'] !== '') {
    $blog_slider_category_styles[] = 'line-height: '.$eltd_options['blog_slider_category_line_height'].'px';
}

if(isset($eltd_options['blog_slider_category_letter_spacing']) && $eltd_options['blog_slider_category_letter_spacing'] !== '') {
    $blog_slider_category_styles[] = 'letter-spacing: '.$eltd_options['blog_slider_category_letter_spacing'].'px';
}

if(isset($eltd_options['blog_slider_category_font_weight']) && $eltd_options['blog_slider_category_font_weight'] !== '') {
    $blog_slider_category_styles[] = 'font-weight: '.$eltd_options['blog_slider_category_font_weight'];
}

if(isset($eltd_options['blog_slider_category_font_style']) && $eltd_options['blog_slider_category_font_style'] !== '') {
    $blog_slider_category_styles[] = 'font-style: '.$eltd_options['blog_slider_category_font_style'];
}

if(isset($eltd_options['blog_slider_category_text_transform']) && $eltd_options['blog_slider_category_text_transform'] !== '') {
    $blog_slider_category_styles[] = 'text-transform: '.$eltd_options['blog_slider_category_text_transform'];
}

if(isset($eltd_options['blog_slider_category_color']) && $eltd_options['blog_slider_category_color'] !== '') {
    $blog_slider_category_styles[] = 'color: '.$eltd_options['blog_slider_category_color'];
}

if(is_array($blog_slider_category_styles) && count($blog_slider_category_styles)) { ?>
    .blog_slider .blog_text_holder.blog_slider_default .blog_slider_categories a{
    <?php echo esc_attr(implode(';', $blog_slider_category_styles)); ?>
    }

<?php }?>

<?php
if(isset($eltd_options['blog_slider_category_hover_color']) && $eltd_options['blog_slider_category_hover_color'] !== '') {?>

   .blog_slider .blog_text_holder.blog_slider_default .blog_slider_categories a:hover{
        color: <?php echo esc_attr($eltd_options['blog_slider_category_hover_color']); ?>;
    }


<?php } ?>

<?php

$blog_slider_date_styles = array();

if(isset($eltd_options['blog_slider_date_font_family']) && $eltd_options['blog_slider_date_font_family'] !== '-1') {
    $blog_slider_date_styles[] = 'font-family: '.str_replace('+', ' ', $eltd_options['blog_slider_date_font_family']).', sans-serif';
}

if(isset($eltd_options['blog_slider_date_font_size']) && $eltd_options['blog_slider_date_font_size'] !== '') {
    $blog_slider_date_styles[] = 'font-size: '.$eltd_options['blog_slider_date_font_size'].'px';
}

if(isset($eltd_options['blog_slider_date_line_height']) && $eltd_options['blog_slider_date_line_height'] !== '') {
    $blog_slider_date_styles[] = 'line-height: '.$eltd_options['blog_slider_date_line_height'].'px';
}

if(isset($eltd_options['blog_slider_date_letter_spacing']) && $eltd_options['blog_slider_date_letter_spacing'] !== '') {
    $blog_slider_date_styles[] = 'letter-spacing: '.$eltd_options['blog_slider_date_letter_spacing'].'px';
}

if(isset($eltd_options['blog_slider_date_font_weight']) && $eltd_options['blog_slider_date_font_weight'] !== '') {
    $blog_slider_date_styles[] = 'font-weight: '.$eltd_options['blog_slider_date_font_weight'];
}

if(isset($eltd_options['blog_slider_date_font_style']) && $eltd_options['blog_slider_date_font_style'] !== '') {
    $blog_slider_date_styles[] = 'font-style: '.$eltd_options['blog_slider_date_font_style'];
}

if(isset($eltd_options['blog_slider_date_text_transform']) && $eltd_options['blog_slider_date_text_transform'] !== '') {
    $blog_slider_date_styles[] = 'text-transform: '.$eltd_options['blog_slider_date_text_transform'];
}

if(isset($eltd_options['blog_slider_date_color']) && $eltd_options['blog_slider_date_color'] !== '') {
    $blog_slider_date_styles[] = 'color: '.$eltd_options['blog_slider_date_color'];
}

if(is_array($blog_slider_date_styles) && count($blog_slider_date_styles)) { ?>
    .blog_slider .blog_text_holder.blog_slider_default .blog_slider_date_holder{
    <?php echo esc_attr(implode(';', $blog_slider_date_styles)); ?>
    }

<?php }?>

<?php

/*
* Blog Slider Post Info in Bottom
*/

$blog_slider_post_info_in_bottom_title_styles = array();

if(isset($eltd_options['blog_slider_post_info_in_bottom_title_font_family']) && $eltd_options['blog_slider_post_info_in_bottom_title_font_family'] !== '-1') {
    $blog_slider_post_info_in_bottom_title_styles[] = 'font-family: '.str_replace('+', ' ', $eltd_options['blog_slider_post_info_in_bottom_title_font_family']).', sans-serif';
}

if(isset($eltd_options['blog_slider_post_info_in_bottom_title_font_size']) && $eltd_options['blog_slider_post_info_in_bottom_title_font_size'] !== '') {
    $blog_slider_post_info_in_bottom_title_styles[] = 'font-size: '.$eltd_options['blog_slider_post_info_in_bottom_title_font_size'].'px';
}

if(isset($eltd_options['blog_slider_post_info_in_bottom_title_line_height']) && $eltd_options['blog_slider_post_info_in_bottom_title_line_height'] !== '') {
    $blog_slider_post_info_in_bottom_title_styles[] = 'line-height: '.$eltd_options['blog_slider_post_info_in_bottom_title_line_height'].'px';
}

if(isset($eltd_options['blog_slider_post_info_in_bottom_title_letter_spacing']) && $eltd_options['blog_slider_post_info_in_bottom_title_letter_spacing'] !== '') {
    $blog_slider_post_info_in_bottom_title_styles[] = 'letter-spacing: '.$eltd_options['blog_slider_post_info_in_bottom_title_letter_spacing'].'px';
}

if(isset($eltd_options['blog_slider_post_info_in_bottom_title_font_weight']) && $eltd_options['blog_slider_post_info_in_bottom_title_font_weight'] !== '') {
    $blog_slider_post_info_in_bottom_title_styles[] = 'font-weight: '.$eltd_options['blog_slider_post_info_in_bottom_title_font_weight'];
}

if(isset($eltd_options['blog_slider_post_info_in_bottom_title_font_style']) && $eltd_options['blog_slider_post_info_in_bottom_title_font_style'] !== '') {
    $blog_slider_post_info_in_bottom_title_styles[] = 'font-style: '.$eltd_options['blog_slider_post_info_in_bottom_title_font_style'];
}

if(isset($eltd_options['blog_slider_post_info_in_bottom_title_text_transform']) && $eltd_options['blog_slider_post_info_in_bottom_title_text_transform'] !== '') {
    $blog_slider_post_info_in_bottom_title_styles[] = 'text-transform: '.$eltd_options['blog_slider_post_info_in_bottom_title_text_transform'];
}

if(isset($eltd_options['blog_slider_post_info_in_bottom_title_color']) && $eltd_options['blog_slider_post_info_in_bottom_title_color'] !== '') {
    $blog_slider_post_info_in_bottom_title_styles[] = 'color: '.$eltd_options['blog_slider_post_info_in_bottom_title_color'];
}

if(is_array($blog_slider_post_info_in_bottom_title_styles) && count($blog_slider_post_info_in_bottom_title_styles)) { ?>
    .blog_slider .blog_text_holder.blog_slider_info_in_bottom .blog_slider_title a,
    .blog_slider .blog_text_holder.blog_slider_info_in_bottom .blog_slider_title{
    <?php echo esc_attr(implode(';', $blog_slider_post_info_in_bottom_title_styles)); ?>
    }

<?php }?>

<?php
if(isset($eltd_options['blog_slider_post_info_in_bottom_title_hover_color']) && $eltd_options['blog_slider_post_info_in_bottom_title_hover_color'] !== '') {?>

   .blog_slider .blog_text_holder.blog_slider_info_in_bottom .blog_slider_title a:hover{
        color: <?php echo esc_attr($eltd_options['blog_slider_post_info_in_bottom_title_hover_color']); ?>;
    }


<?php } ?>

<?php
$blog_slider_post_info_in_bottom_post_info_styles = array();

if(isset($eltd_options['blog_slider_post_info_in_bottom_post_info_font_family']) && $eltd_options['blog_slider_post_info_in_bottom_post_info_font_family'] !== '-1') {
    $blog_slider_post_info_in_bottom_post_info_styles[] = 'font-family: '.str_replace('+', ' ', $eltd_options['blog_slider_post_info_in_bottom_post_info_font_family']).', sans-serif';
}

if(isset($eltd_options['blog_slider_post_info_in_bottom_post_info_font_size']) && $eltd_options['blog_slider_post_info_in_bottom_post_info_font_size'] !== '') {
    $blog_slider_post_info_in_bottom_post_info_styles[] = 'font-size: '.$eltd_options['blog_slider_post_info_in_bottom_post_info_font_size'].'px';
}

if(isset($eltd_options['blog_slider_post_info_in_bottom_post_info_line_height']) && $eltd_options['blog_slider_post_info_in_bottom_post_info_line_height'] !== '') {
    $blog_slider_post_info_in_bottom_post_info_styles[] = 'line-height: '.$eltd_options['blog_slider_post_info_in_bottom_post_info_line_height'].'px';
}

if(isset($eltd_options['blog_slider_post_info_in_bottom_post_info_letter_spacing']) && $eltd_options['blog_slider_post_info_in_bottom_post_info_letter_spacing'] !== '') {
    $blog_slider_post_info_in_bottom_post_info_styles[] = 'letter-spacing: '.$eltd_options['blog_slider_post_info_in_bottom_post_info_letter_spacing'].'px';
}

if(isset($eltd_options['blog_slider_post_info_in_bottom_post_info_font_weight']) && $eltd_options['blog_slider_post_info_in_bottom_post_info_font_weight'] !== '') {
    $blog_slider_post_info_in_bottom_post_info_styles[] = 'font-weight: '.$eltd_options['blog_slider_post_info_in_bottom_post_info_font_weight'];
}

if(isset($eltd_options['blog_slider_post_info_in_bottom_post_info_font_style']) && $eltd_options['blog_slider_post_info_in_bottom_post_info_font_style'] !== '') {
    $blog_slider_post_info_in_bottom_post_info_styles[] = 'font-style: '.$eltd_options['blog_slider_post_info_in_bottom_post_info_font_style'];
}

if(isset($eltd_options['blog_slider_post_info_in_bottom_post_info_text_transform']) && $eltd_options['blog_slider_post_info_in_bottom_post_info_text_transform'] !== '') {
    $blog_slider_post_info_in_bottom_post_info_styles[] = 'text-transform: '.$eltd_options['blog_slider_post_info_in_bottom_post_info_text_transform'];
}

if(isset($eltd_options['blog_slider_post_info_in_bottom_post_info_color']) && $eltd_options['blog_slider_post_info_in_bottom_post_info_color'] !== '') {
    $blog_slider_post_info_in_bottom_post_info_styles[] = 'color: '.$eltd_options['blog_slider_post_info_in_bottom_post_info_color'];
}

if(is_array($blog_slider_post_info_in_bottom_post_info_styles) && count($blog_slider_post_info_in_bottom_post_info_styles)) { ?>
    .blog_slider .blog_text_holder.blog_slider_info_in_bottom .blog_slider_post_info,
    .blog_slider .blog_text_holder.blog_slider_info_in_bottom .blog_slider_post_info .blog_slider_date_holder,
    .blog_slider .blog_text_holder.blog_slider_info_in_bottom .blog_slider_post_info a{
    <?php echo esc_attr(implode(';', $blog_slider_post_info_in_bottom_post_info_styles)); ?>
    }

<?php }?>

<?php
if(isset($eltd_options['blog_slider_post_info_in_bottom_post_info_link_color']) && $eltd_options['blog_slider_post_info_in_bottom_post_info_link_color'] !== '') {?>

   .blog_slider .blog_text_holder.blog_slider_info_in_bottom .blog_slider_post_info a{
        color: <?php echo esc_attr($eltd_options['blog_slider_post_info_in_bottom_post_info_link_color']); ?>;
    }


<?php } ?>

<?php
if(isset($eltd_options['blog_slider_post_info_in_bottom_post_info_link_hover_color']) && $eltd_options['blog_slider_post_info_in_bottom_post_info_link_hover_color'] !== '') {?>

   .blog_slider .blog_text_holder.blog_slider_info_in_bottom .blog_slider_post_info a:hover{
        color: <?php echo esc_attr($eltd_options['blog_slider_post_info_in_bottom_post_info_link_hover_color']); ?>;
    }


<?php } ?>

<?php
//Blog Slider Simple Styles

//Blog Slider Simple Box Styles

$blog_slider_simple_box_styles = array();


if(isset($eltd_options['blog_slider_simple_box_padding']) && $eltd_options['blog_slider_simple_box_padding'] != ""){
	$blog_slider_simple_box_styles[] = 'padding: '.$eltd_options['blog_slider_simple_box_padding'];
}
if(isset($eltd_options['blog_slider_simple_box_border_color']) && $eltd_options['blog_slider_simple_box_border_color'] != ""){
	$blog_slider_simple_box_styles[] = 'border-color: '.$eltd_options['blog_slider_simple_box_border_color'];	
}
if(is_array($blog_slider_simple_box_styles) && count($blog_slider_simple_box_styles)){ ?>
	.blog_slider_simple_holder .blog_text_holder_inner2{
		 <?php echo esc_attr(implode(';', $blog_slider_simple_box_styles)); ?>
	}
<?php } 
$blog_slider_simple_box_overlay_styles = array();

if(isset($eltd_options['blog_slider_simple_box_back_color']) && $eltd_options['blog_slider_simple_box_back_color'] != ""){	
	
	$temp_rgb_color = eltd_hex2rgb($eltd_options['blog_slider_simple_box_back_color']);
    if(isset($eltd_options['blog_slider_simple_box_opacity']) && ($eltd_options['blog_slider_simple_box_opacity']!== '')) {
        $temp_transparency_arrow = $eltd_options['blog_slider_simple_box_opacity'];
    }
    else{
        $temp_transparency_arrow = 0.6;
        }
    $blog_slider_simple_box_overlay_styles[] = 'background-color: rgba('.$temp_rgb_color[0].','.$temp_rgb_color[1].','.$temp_rgb_color[2].','.$temp_transparency_arrow.');';
}
if(is_array($blog_slider_simple_box_overlay_styles) && count($blog_slider_simple_box_overlay_styles)){ ?>
	.blog_slider_simple_holder .blog_text_holder_inner2{
		 <?php echo esc_attr(implode(';', $blog_slider_simple_box_overlay_styles)); ?>
	}
<?php } 

?>

<?php 

 //Blog Slider Simple Spacing

if(isset($eltd_options['blog_slider_simple_info_margin_top']) && $eltd_options['blog_slider_simple_info_margin_top'] != ""){ ?>
	.blog_slider_simple_holder .blog_slider_simple_info{
		margin-top: <?php echo esc_attr($eltd_options['blog_slider_simple_info_margin_top'])?>px;
	}
<?php } ?>	
	
<?php 
if(isset($eltd_options['blog_slider_simple_read_more_margin_top']) && $eltd_options['blog_slider_simple_read_more_margin_top'] != ""){ ?>
	.blog_slider_simple_holder .read_more_wrapper{
		margin-top: <?php echo esc_attr($eltd_options['blog_slider_simple_read_more_margin_top'])?>px;
	}
<?php } ?>		
	
<?php 	
 //Blog Slider Simple Title Styles

$blog_slider_simple_title_styles = array();

if(isset($eltd_options['blog_slider_simple_title_font_family']) && $eltd_options['blog_slider_simple_title_font_family'] !== '-1') {
    $blog_slider_simple_title_styles[] = 'font-family: '.str_replace('+', ' ', $eltd_options['blog_slider_simple_title_font_family']).', sans-serif';
}

if(isset($eltd_options['blog_slider_simple_title_font_size']) && $eltd_options['blog_slider_simple_title_font_size'] !== '') {
    $blog_slider_simple_title_styles[] = 'font-size: '.$eltd_options['blog_slider_simple_title_font_size'].'px';
}

if(isset($eltd_options['blog_slider_simple_title_line_height']) && $eltd_options['blog_slider_simple_title_line_height'] !== '') {
    $blog_slider_simple_title_styles[] = 'line-height: '.$eltd_options['blog_slider_simple_title_line_height'].'px';
}

if(isset($eltd_options['blog_slider_simple_title_letter_spacing']) && $eltd_options['blog_slider_simple_title_letter_spacing'] !== '') {
    $blog_slider_simple_title_styles[] = 'letter-spacing: '.$eltd_options['blog_slider_simple_title_letter_spacing'].'px';
}

if(isset($eltd_options['blog_slider_simple_title_font_weight']) && $eltd_options['blog_slider_simple_title_font_weight'] !== '') {
    $blog_slider_simple_title_styles[] = 'font-weight: '.$eltd_options['blog_slider_simple_title_font_weight'];
}

if(isset($eltd_options['blog_slider_simple_title_font_style']) && $eltd_options['blog_slider_simple_title_font_style'] !== '') {
    $blog_slider_simple_title_styles[] = 'font-style: '.$eltd_options['blog_slider_simple_title_font_style'];
}

if(isset($eltd_options['blog_slider_simple_title_text_transform']) && $eltd_options['blog_slider_simple_title_text_transform'] !== '') {
    $blog_slider_simple_title_styles[] = 'text-transform: '.$eltd_options['blog_slider_simple_title_text_transform'];
}

if(is_array($blog_slider_simple_title_styles) && count($blog_slider_simple_title_styles)) { ?>
    .blog_slider_simple_holder  .blog_slider_simple_title{
    <?php echo esc_attr(implode(';', $blog_slider_simple_title_styles)); ?>
    }

<?php }?>

<?php
if(isset($eltd_options['blog_slider_simple_title_color']) && $eltd_options['blog_slider_simple_title_color'] !== '') { ?>
   .blog_slider_simple_holder  .blog_slider_simple_title a{
	color: <?php echo esc_attr($eltd_options['blog_slider_simple_title_color']); ?>;
   } 
<?php }
if(isset($eltd_options['blog_slider_simple_title_hover_color']) && $eltd_options['blog_slider_simple_title_hover_color'] !== '') {?>

   .blog_slider_simple_holder  .blog_slider_simple_title a:hover{
        color: <?php echo esc_attr($eltd_options['blog_slider_simple_title_hover_color']); ?>;
    }
<?php } ?>
<?php

$blog_slider_simple_info_styles = array();

if(isset($eltd_options['blog_slider_simple_info_font_family']) && $eltd_options['blog_slider_simple_info_font_family'] !== '-1') {
    $blog_slider_simple_info_styles[] = 'font-family: '.str_replace('+', ' ', $eltd_options['blog_slider_simple_info_font_family']).', sans-serif';
}

if(isset($eltd_options['blog_slider_simple_info_font_size']) && $eltd_options['blog_slider_simple_info_font_size'] !== '') {
    $blog_slider_simple_info_styles[] = 'font-size: '.$eltd_options['blog_slider_simple_info_font_size'].'px';
}

if(isset($eltd_options['blog_slider_simple_info_line_height']) && $eltd_options['blog_slider_simple_info_line_height'] !== '') {
    $blog_slider_simple_info_styles[] = 'line-height: '.$eltd_options['blog_slider_simple_info_line_height'].'px';
}

if(isset($eltd_options['blog_slider_simple_info_letter_spacing']) && $eltd_options['blog_slider_simple_info_letter_spacing'] !== '') {
    $blog_slider_simple_info_styles[] = 'letter-spacing: '.$eltd_options['blog_slider_simple_info_letter_spacing'].'px';
}

if(isset($eltd_options['blog_slider_simple_info_font_weight']) && $eltd_options['blog_slider_simple_info_font_weight'] !== '') {
    $blog_slider_simple_info_styles[] = 'font-weight: '.$eltd_options['blog_slider_simple_info_font_weight'];
}

if(isset($eltd_options['blog_slider_simple_info_font_style']) && $eltd_options['blog_slider_simple_info_font_style'] !== '') {
    $blog_slider_simple_info_styles[] = 'font-style: '.$eltd_options['blog_slider_simple_info_font_style'];
}

if(isset($eltd_options['blog_slider_simple_info_text_transform']) && $eltd_options['blog_slider_simple_info_text_transform'] !== '') {
    $blog_slider_simple_info_styles[] = 'text-transform: '.$eltd_options['blog_slider_simple_info_text_transform'];
}

if(isset($eltd_options['blog_slider_simple_info_color']) && $eltd_options['blog_slider_simple_info_color'] !== '') {
    $blog_slider_simple_info_styles[] = 'color: '.$eltd_options['blog_slider_simple_info_color'];
}

if(is_array($blog_slider_simple_info_styles) && count($blog_slider_simple_info_styles)) { ?>
    .blog_slider_simple_holder .post_info_item{
    <?php echo esc_attr(implode(';', $blog_slider_simple_info_styles)); ?>
    }

<?php }?>
	
<?php
if(isset($eltd_options['blog_slider_simple_info_link_color']) && $eltd_options['blog_slider_simple_info_link_color'] !== '') { ?>
  
	.blog_slider_simple_holder .post_info_item a{
        color: <?php echo esc_attr($eltd_options['blog_slider_simple_info_link_color']); ?>;
    }

<?php } ?>	

<?php
if(isset($eltd_options['blog_slider_simple_info_hover_color']) && $eltd_options['blog_slider_simple_info_hover_color'] !== '') { ?>
  
	.blog_slider_simple_holder .post_info_item a:hover{
        color: <?php echo esc_attr($eltd_options['blog_slider_simple_info_hover_color']); ?>;
    }

<?php } ?>
	
<?php
$eltd_carousel_navigation_styles = '';
$temp_rgb_color = '';
$temp_transparency_arrow = '';
$temp_transparency = '';
$temp_transparency_border = '';
if(isset($eltd_options['carousel_navigation_button_width']) && ($eltd_options['carousel_navigation_button_width'] !== '')) {
    $eltd_carousel_navigation_styles .= 'width: '.esc_attr($eltd_options['carousel_navigation_button_width']).'px;';
}
if(isset($eltd_options['carousel_navigation_button_height']) && ($eltd_options['carousel_navigation_button_height'] !== '')) {
    $eltd_carousel_navigation_styles .= 'height: '.esc_attr($eltd_options['carousel_navigation_button_height']).'px;';
    $eltd_carousel_navigation_styles .= 'margin-top: -'.esc_attr(($eltd_options['carousel_navigation_button_height']/2)).'px;';
    $eltd_carousel_navigation_styles .= 'line-height: '.esc_attr($eltd_options['carousel_navigation_button_height']).'px;';
}
if(isset($eltd_options['carousel_navigation_arrow_size']) && ($eltd_options['carousel_navigation_arrow_size'] !== '')) {
    $eltd_carousel_navigation_styles .= 'font-size: '.esc_attr($eltd_options['carousel_navigation_arrow_size']).'px;';
}
if(isset($eltd_options['carousel_navigation_arrow_color']) && !empty($eltd_options['carousel_navigation_arrow_color'])) {
    $temp_rgb_color = eltd_hex2rgb($eltd_options['carousel_navigation_arrow_color']);
    if(isset($eltd_options['carousel_navigation_arrow_transparency']) && ($eltd_options['carousel_navigation_arrow_transparency']!== '')) {
        $temp_transparency_arrow = $eltd_options['carousel_navigation_arrow_transparency'];
    }
    else{
        $temp_transparency_arrow = 1;
        }
    $eltd_carousel_navigation_styles .= 'color: rgba('.$temp_rgb_color[0].','.$temp_rgb_color[1].','.$temp_rgb_color[2].','.$temp_transparency_arrow.');';

}

if(isset($eltd_options['carousel_navigation_background_color']) && !empty($eltd_options['carousel_navigation_background_color'])) {
    $temp_rgb_color = eltd_hex2rgb($eltd_options['carousel_navigation_background_color']);
    if(isset($eltd_options['carousel_navigation_background_transparency']) && ($eltd_options['carousel_navigation_background_transparency']!== '')) {
        $temp_transparency = $eltd_options['carousel_navigation_background_transparency'];
    }
    else{
                $temp_transparency = 1;
        }
    $eltd_carousel_navigation_styles .= 'background-color: rgba('.esc_attr($temp_rgb_color[0].','.$temp_rgb_color[1].','.$temp_rgb_color[2].','.$temp_transparency).');';
}

if(isset($eltd_options['carousel_navigation_border_color']) && !empty($eltd_options['carousel_navigation_border_color'])) {
    $temp_rgb_color = eltd_hex2rgb($eltd_options['carousel_navigation_border_color']);
    if(isset($eltd_options['carousel_navigation_border_transparency']) && ($eltd_options['carousel_navigation_border_transparency']!== '')) {
        $temp_transparency_border = $eltd_options['carousel_navigation_border_transparency'];
    }
    else{
                $temp_transparency_border = 1;
        }
    $eltd_carousel_navigation_styles .= 'border-color: rgba('.$temp_rgb_color[0].','.$temp_rgb_color[1].','.$temp_rgb_color[2].','.$temp_transparency_border.'); ';

}

if(isset($eltd_options['carousel_navigation_border_width']) && ($eltd_options['carousel_navigation_border_width'] !== '')) {
    $eltd_carousel_navigation_styles .= 'border-width:'.esc_attr($eltd_options['carousel_navigation_border_width']).'px; ';
    $eltd_carousel_navigation_styles .= 'border-style:solid;';
}

if(isset($eltd_options['carousel_navigation_border_radius']) && ($eltd_options['carousel_navigation_border_radius'] !== '')) {
    $eltd_carousel_navigation_styles .= 'border-radius:'.esc_attr($eltd_options['carousel_navigation_border_radius']).'px;';
}


if($eltd_carousel_navigation_styles !== '') {
    ?>
    .eltd_image_gallery_no_space .controls a.prev-slide,
    .eltd_image_gallery_no_space .controls a.next-slide,
    .eltd_carousels .caroufredsel-direction-nav .caroufredsel-navigation-item,
    .caroufredsel-direction-nav a{
    <?php echo esc_attr($eltd_carousel_navigation_styles); ?>
    }

<?php
}
?>

<?php
$eltd_carousel_navigation_hover_styles = '';
$temp_hover_transparency = '';
if(isset($eltd_options['carousel_navigation_arrow_hover_color']) && !empty($eltd_options['carousel_navigation_arrow_hover_color'])) {
    $temp_rgb_color = eltd_hex2rgb($eltd_options['carousel_navigation_arrow_hover_color']);
    if(isset($eltd_options['carousel_navigation_arrow_hover_transparency']) && ($eltd_options['carousel_navigation_arrow_hover_transparency']!== '')) {
        $temp_hover_transparency = $eltd_options['carousel_navigation_arrow_hover_transparency'];
    }
    else {$temp_hover_transparency = 1;}
    $eltd_carousel_navigation_hover_styles .= 'color: rgba('.esc_attr($temp_rgb_color[0].','.$temp_rgb_color[1].','.$temp_rgb_color[2].','.$temp_hover_transparency).');';
}
$temp_hover_transparency = '';
if(isset($eltd_options['carousel_navigation_background_hover_color']) && !empty($eltd_options['carousel_navigation_background_hover_color'])) {

    $temp_rgb_color = eltd_hex2rgb($eltd_options['carousel_navigation_background_hover_color']);
    if(isset($eltd_options['carousel_navigation_background_hover_transparency']) && ($eltd_options['carousel_navigation_background_hover_transparency']!== '')) {
        $temp_hover_transparency = $eltd_options['carousel_navigation_background_hover_transparency'];
    }
    else {$temp_hover_transparency = 1;}
    $eltd_carousel_navigation_hover_styles .= 'background-color: rgba('.esc_attr($temp_rgb_color[0].','.$temp_rgb_color[1].','.$temp_rgb_color[2].','.$temp_hover_transparency).');';
}
$temp_hover_transparency = '';
if(isset($eltd_options['carousel_navigation_border_hover_color']) && !empty($eltd_options['carousel_navigation_border_hover_color'])) {
    $temp_rgb_color = eltd_hex2rgb($eltd_options['carousel_navigation_border_hover_color']);
    if(isset($eltd_options['carousel_navigation_border_hover_transparency']) && ($eltd_options['carousel_navigation_border_hover_transparency']!== '')) {
        $temp_hover_transparency = $eltd_options['carousel_navigation_border_hover_transparency'];
    }
    else {$temp_hover_transparency = 1;}
    $eltd_carousel_navigation_hover_styles .= 'border-color: rgba('.esc_attr($temp_rgb_color[0].','.$temp_rgb_color[1].','.$temp_rgb_color[2].','.$temp_hover_transparency).')';
}
if($eltd_carousel_navigation_hover_styles !== '') {
    ?>
    .eltd_image_gallery_no_space .controls a.prev-slide:hover,
    .eltd_image_gallery_no_space .controls a.next-slide:hover,
    .eltd_carousels .caroufredsel-direction-nav .caroufredsel-navigation-item:hover,
    .portfolio_slider:hover .caroufredsel-direction-nav a:hover,
    .blog_slider:hover .caroufredsel-direction-nav a:hover
        {
        <?php echo esc_attr($eltd_carousel_navigation_hover_styles); ?>
    }

<?php
}
?>

<?php
if(isset($eltd_options['carousel_navigation_button_position']) && ($eltd_options['carousel_navigation_button_position'] !== "")) { ?>
        .eltd_image_gallery_no_space .controls a.prev-slide,
        .portfolio_slider .caroufredsel-prev,
        .eltd_carousels .caroufredsel-direction-nav .eltd_carousel_prev,
        .blog_slider .caroufredsel-prev,
        body.boxed .portfolio_slider .caroufredsel-prev,
        body.boxed .blog_slider .caroufredsel-prev,
        body.boxed .full_width .section_inner .portfolio_slider .caroufredsel-prev,
        body.boxed .full_width .section_inner .blog_slider .caroufredsel-prev{
        left: <?php echo esc_attr($eltd_options['carousel_navigation_button_position']); ?>px;
        }
        .eltd_image_gallery_no_space .controls a.next-slide,
        .portfolio_slider .caroufredsel-next,
        .eltd_carousels .caroufredsel-direction-nav .eltd_carousel_next,
        .blog_slider .caroufredsel-next,
        body.boxed .portfolio_slider .caroufredsel-next,
        body.boxed .blog_slider .caroufredsel-next,
        body.boxed .full_width .section_inner .portfolio_slider .caroufredsel-next,
        body.boxed .full_width .section_inner .blog_slider .caroufredsel-next{
        right: <?php echo esc_attr($eltd_options['carousel_navigation_button_position']); ?>px;
        }
<?php } ?>

<?php
$carousel_navigation_button_style = '';
if(isset($eltd_options['carousel_navigation_show_button_shadow']) && $eltd_options['carousel_navigation_show_button_shadow'] == 'yes') {
    $carousel_navigation_button_h_shadow = '1';
    if(isset($eltd_options['carousel_navigation_button_h_shadow']) && $eltd_options['carousel_navigation_button_h_shadow'] !== '') {
            $carousel_navigation_button_h_shadow = $eltd_options['carousel_navigation_button_h_shadow'];
    }

    $carousel_navigation_button_v_shadow = '1';
    if(isset($eltd_options['carousel_navigation_button_v_shadow']) && $eltd_options['carousel_navigation_button_v_shadow'] !== '') {
            $carousel_navigation_button_v_shadow = $eltd_options['carousel_navigation_button_v_shadow'];
    }

    $carousel_navigation_button_blur = '1';
    if(isset($eltd_options['carousel_navigation_button_blur']) && $eltd_options['carousel_navigation_button_blur'] !== '') {
            $carousel_navigation_button_blur = $eltd_options['carousel_navigation_button_blur'];
    }

    $carousel_navigation_button_spread = '1';
    if(isset($eltd_options['carousel_navigation_button_spread']) && $eltd_options['carousel_navigation_button_spread'] !== '') {
            $carousel_navigation_button_spread = $eltd_options['carousel_navigation_button_spread'];
    }

    $carousel_navigation_button_shadow_color = '#afafaf';
    if(isset($eltd_options['carousel_navigation_button_shadow_color']) && $eltd_options['carousel_navigation_button_shadow_color'] !== '') {
            $carousel_navigation_button_color = $eltd_options['carousel_navigation_button_shadow_color'];
    }

    $carousel_navigation_button_style = 'box-shadow: '.esc_attr($carousel_navigation_button_h_shadow.'px '.$carousel_navigation_button_v_shadow.'px '.$carousel_navigation_button_blur.'px '.$carousel_navigation_button_spread.'px '.$carousel_navigation_button_color).';';
    if($carousel_navigation_button_style != '') { ?>
            .eltd_image_gallery_no_space .controls a.prev-slide,
            .eltd_image_gallery_no_space .controls a.next-slide,
            .caroufredsel-direction-nav a{
            <?php echo esc_attr($carousel_navigation_button_style); ?>
            }
    <?php }
}?>



<?php
$eltd_single_slider_navigation_styles = '';
$temp_rgb_color = '';
$temp_transparency_arrow = '';
$temp_transparency = '';
$temp_transparency_border = '';
$eltd_single_slider_navigation_color_important = '';
if(isset($eltd_options['single_slider_navigation_button_width']) && ($eltd_options['single_slider_navigation_button_width'] !== '')) {
    $eltd_single_slider_navigation_styles .= 'width: '.esc_attr($eltd_options['single_slider_navigation_button_width']).'px;';
}
if(isset($eltd_options['single_slider_navigation_button_height']) && ($eltd_options['single_slider_navigation_button_height'] !== '')) {
    $eltd_single_slider_navigation_styles .= 'height: '.esc_attr($eltd_options['single_slider_navigation_button_height']).'px;';
    $eltd_single_slider_navigation_styles .= 'margin-top: -'.esc_attr(($eltd_options['single_slider_navigation_button_height']/2)).'px;';
    $eltd_single_slider_navigation_styles .= 'line-height: '.esc_attr($eltd_options['single_slider_navigation_button_height']).'px;';
}
if(isset($eltd_options['single_slider_navigation_arrow_size']) && ($eltd_options['single_slider_navigation_arrow_size'] !== '')) {
    $eltd_single_slider_navigation_styles .= 'font-size: '.esc_attr($eltd_options['single_slider_navigation_arrow_size']).'px;';
}
if(isset($eltd_options['single_slider_navigation_arrow_color']) && !empty($eltd_options['single_slider_navigation_arrow_color'])) {
    $temp_rgb_color = eltd_hex2rgb($eltd_options['single_slider_navigation_arrow_color']);
    if(isset($eltd_options['single_slider_navigation_arrow_transparency']) && ($eltd_options['single_slider_navigation_arrow_transparency']!== '')) {
        $temp_transparency_arrow = $eltd_options['single_slider_navigation_arrow_transparency'];
    }
    else{
        $temp_transparency_arrow = 1;
        }
    $eltd_single_slider_navigation_styles .= 'color: rgba('.$temp_rgb_color[0].','.$temp_rgb_color[1].','.$temp_rgb_color[2].','.$temp_transparency_arrow.');';
    $eltd_single_slider_navigation_color_important = 'color: rgba('.esc_attr($temp_rgb_color[0].','.$temp_rgb_color[1].','.$temp_rgb_color[2].','.$temp_transparency_arrow).')!important;';
}

if(isset($eltd_options['single_slider_navigation_background_color']) && !empty($eltd_options['single_slider_navigation_background_color'])) {
    $temp_rgb_color = eltd_hex2rgb($eltd_options['single_slider_navigation_background_color']);
    if(isset($eltd_options['single_slider_navigation_background_transparency']) && ($eltd_options['single_slider_navigation_background_transparency']!== '')) {
        $temp_transparency = $eltd_options['single_slider_navigation_background_transparency'];
    }
    else{
                $temp_transparency = 1;
        }
    $eltd_single_slider_navigation_styles .= 'background-color: rgba('.esc_attr($temp_rgb_color[0].','.$temp_rgb_color[1].','.$temp_rgb_color[2].','.$temp_transparency).');';
}

if(isset($eltd_options['single_slider_navigation_border_color']) && !empty($eltd_options['single_slider_navigation_border_color'])) {
    $temp_rgb_color = eltd_hex2rgb($eltd_options['single_slider_navigation_border_color']);
    if(isset($eltd_options['single_slider_navigation_border_transparency']) && ($eltd_options['single_slider_navigation_border_transparency']!== '')) {
        $temp_transparency_border = $eltd_options['single_slider_navigation_border_transparency'];
    }
    else{
                $temp_transparency_border = 1;
        }
    $eltd_single_slider_navigation_styles .= 'border-color: rgba('.$temp_rgb_color[0].','.$temp_rgb_color[1].','.$temp_rgb_color[2].','.$temp_transparency_border.'); ';
}

if(isset($eltd_options['single_slider_navigation_border_width']) && ($eltd_options['single_slider_navigation_border_width'] !== '')) {
    $eltd_single_slider_navigation_styles .= 'border-width:'.esc_attr($eltd_options['single_slider_navigation_border_width']).'px; ';
    $eltd_single_slider_navigation_styles .= 'border-style:solid;';
}

if(isset($eltd_options['single_slider_navigation_border_radius']) && ($eltd_options['single_slider_navigation_border_radius'] !== '')) {
    $eltd_single_slider_navigation_styles .= 'border-radius:'.esc_attr($eltd_options['single_slider_navigation_border_radius']).'px;';
}


if($eltd_single_slider_navigation_styles !== '') {
    ?>
    .flex-direction-nav a,
    body div.pp_default a.pp_next,
    body div.pp_default a.pp_previous{
    <?php echo esc_attr($eltd_single_slider_navigation_styles); ?>
    }

    <?php
    if($eltd_single_slider_navigation_color_important != ''){ ?>
        body div.pp_default a.pp_next:after,
        body div.pp_default a.pp_previous:after{
            <?php echo esc_attr($eltd_single_slider_navigation_color_important);?>
        }
    <?php } ?>

<?php
}
?>

<?php
$eltd_single_slider_navigation_hover_styles = '';
$temp_hover_transparency = '';
$eltd_single_slider_navigation_hover_color_important = '';
if(isset($eltd_options['single_slider_navigation_arrow_hover_color']) && !empty($eltd_options['single_slider_navigation_arrow_hover_color'])) {
    $temp_rgb_color = eltd_hex2rgb($eltd_options['single_slider_navigation_arrow_hover_color']);
    if(isset($eltd_options['single_slider_navigation_arrow_hover_transparency']) && ($eltd_options['single_slider_navigation_arrow_hover_transparency']!== '')) {
        $temp_hover_transparency = $eltd_options['single_slider_navigation_arrow_hover_transparency'];
    }
    else {$temp_hover_transparency = 1;}
    $eltd_single_slider_navigation_hover_styles .= 'color: rgba('.esc_attr($temp_rgb_color[0].','.$temp_rgb_color[1].','.$temp_rgb_color[2].','.$temp_hover_transparency).');';
    $eltd_single_slider_navigation_hover_color_important = 'color: rgba('.esc_attr($temp_rgb_color[0].','.$temp_rgb_color[1].','.$temp_rgb_color[2].','.$temp_hover_transparency).')!important;';

}
$temp_hover_transparency = '';
if(isset($eltd_options['single_slider_navigation_background_hover_color']) && !empty($eltd_options['single_slider_navigation_background_hover_color'])) {

    $temp_rgb_color = eltd_hex2rgb($eltd_options['single_slider_navigation_background_hover_color']);
    if(isset($eltd_options['single_slider_navigation_background_hover_transparency']) && ($eltd_options['single_slider_navigation_background_hover_transparency']!== '')) {
        $temp_hover_transparency = $eltd_options['single_slider_navigation_background_hover_transparency'];
    }
    else {$temp_hover_transparency = 1;}
    $eltd_single_slider_navigation_hover_styles .= 'background-color: rgba('.esc_attr($temp_rgb_color[0].','.$temp_rgb_color[1].','.$temp_rgb_color[2].','.$temp_hover_transparency).');';
}
$temp_hover_transparency = '';
if(isset($eltd_options['single_slider_navigation_border_hover_color']) && !empty($eltd_options['single_slider_navigation_border_hover_color'])) {
    $temp_rgb_color = eltd_hex2rgb($eltd_options['single_slider_navigation_border_hover_color']);
    if(isset($eltd_options['single_slider_navigation_border_hover_transparency']) && ($eltd_options['single_slider_navigation_border_hover_transparency']!== '')) {
        $temp_hover_transparency = $eltd_options['single_slider_navigation_border_hover_transparency'];
    }
    else {$temp_hover_transparency = 1;}
    $eltd_single_slider_navigation_hover_styles .= 'border-color: rgba('.esc_attr($temp_rgb_color[0].','.$temp_rgb_color[1].','.$temp_rgb_color[2].','.$temp_hover_transparency).')';
}
if($eltd_single_slider_navigation_hover_styles !== '') {
    ?>
    .flexslider:hover .flex-direction-nav a:hover,
    body div.pp_default a.pp_next:hover, body div.pp_default a.pp_previous:hover{
        <?php echo esc_attr($eltd_single_slider_navigation_hover_styles); ?>
    }

    <?php
    if($eltd_single_slider_navigation_hover_color_important != ''){ ?>
        body div.pp_default a.pp_next:hover:after,
        body div.pp_default a.pp_previous:hover:after{
    <?php echo esc_attr($eltd_single_slider_navigation_hover_color_important); ?>
    }
    <?php } ?>

<?php
}
?>

<?php
if(isset($eltd_options['single_slider_navigation_button_position']) && ($eltd_options['single_slider_navigation_button_position'] !== "")) { ?>
    .flexslider .flex-prev,
    .grid2 .blog_holder .flexslider .flex-prev,
    body.boxed .flexslider .flex-prev,
    body div.pp_default a.pp_previous{
    left: <?php echo esc_attr($eltd_options['single_slider_navigation_button_position']); ?>px;
    }
    .flexslider .flex-next,
    .grid2 .blog_holder .flexslider .flex-next,
    body.boxed .flexslider .flex-next,
    body div.pp_default a.pp_next{
    right: <?php echo esc_attr($eltd_options['single_slider_navigation_button_position']); ?>px;

    }
<?php } ?>

<?php
$single_slider_navigation_button_style = '';
if(isset($eltd_options['single_slider_navigation_show_button_shadow']) && $eltd_options['single_slider_navigation_show_button_shadow'] == 'yes') {
    $single_slider_navigation_button_h_shadow = '1';
    if(isset($eltd_options['single_slider_navigation_button_h_shadow']) && $eltd_options['single_slider_navigation_button_h_shadow'] !== '') {
            $single_slider_navigation_button_h_shadow = $eltd_options['single_slider_navigation_button_h_shadow'];
    }

    $single_slider_navigation_button_v_shadow = '1';
    if(isset($eltd_options['single_slider_navigation_button_v_shadow']) && $eltd_options['single_slider_navigation_button_v_shadow'] !== '') {
            $single_slider_navigation_button_v_shadow = $eltd_options['single_slider_navigation_button_v_shadow'];
    }

    $single_slider_navigation_button_blur = '1';
    if(isset($eltd_options['single_slider_navigation_button_blur']) && $eltd_options['single_slider_navigation_button_blur'] !== '') {
            $single_slider_navigation_button_blur = $eltd_options['single_slider_navigation_button_blur'];
    }

    $single_slider_navigation_button_spread = '1';
    if(isset($eltd_options['single_slider_navigation_button_spread']) && $eltd_options['single_slider_navigation_button_spread'] !== '') {
            $single_slider_navigation_button_spread = $eltd_options['single_slider_navigation_button_spread'];
    }

    $single_slider_navigation_button_shadow_color = '#afafaf';
    if(isset($eltd_options['single_slider_navigation_button_shadow_color']) && $eltd_options['single_slider_navigation_button_shadow_color'] !== '') {
            $single_slider_navigation_button_color = $eltd_options['single_slider_navigation_button_shadow_color'];
    }

    $single_slider_navigation_button_style = 'box-shadow: '.esc_attr($single_slider_navigation_button_h_shadow.'px '.$single_slider_navigation_button_v_shadow.'px '.$single_slider_navigation_button_blur.'px '.$single_slider_navigation_button_spread.'px '.$single_slider_navigation_button_color).';';
    if($single_slider_navigation_button_style != '') { ?>
            .flex-direction-nav a,
            body div.pp_default a.pp_next,
            body div.pp_default a.pp_previous{
            <?php echo esc_attr($single_slider_navigation_button_style); ?>
            }
<?php }
}?>


<?php
/*Portfolio Single Navigation*/
$portfolio_single_navigation_style = "";
$portfolio_single_navigation_hover_style = "";
$portfolio_navigation_height = "";
$portfolio_navigation_from_arrows_height = 0;
$portfolio_navigation_from_custom_icon_height = 0;

if(isset($eltd_options['portfolio_single_navigation_arrow_size']) && $eltd_options['portfolio_single_navigation_arrow_size'] !== '') {
    $portfolio_single_navigation_style .= 'font-size: ' . $eltd_options['portfolio_single_navigation_arrow_size'] . 'px; ';
}
if(isset($eltd_options['portfolio_single_navigation_arrow_color']) && $eltd_options['portfolio_single_navigation_arrow_color'] !== '') {
    $temp_rgb_color = eltd_hex2rgb($eltd_options['portfolio_single_navigation_arrow_color']);
    if(isset($eltd_options['portfolio_single_navigation_arrow_transparency']) && $eltd_options['portfolio_single_navigation_arrow_transparency'] !== '') {
        $portfolio_single_arrow_transparency = $eltd_options['portfolio_single_navigation_arrow_transparency'];
    }
    else {
        $portfolio_single_arrow_transparency = 1;
    }
    $portfolio_single_navigation_style .= 'color: rgba(' . $temp_rgb_color[0] . ',' . $temp_rgb_color[1] . ',' . $temp_rgb_color[2] . ',' . $portfolio_single_arrow_transparency . ');';
}

if(isset($eltd_options['portfolio_single_navigation_arrow_hover_color']) && $eltd_options['portfolio_single_navigation_arrow_hover_color'] !== '') {
    $temp_rgb_color = eltd_hex2rgb($eltd_options['portfolio_single_navigation_arrow_hover_color']);
    if(isset($eltd_options['portfolio_single_navigation_arrow_hover_transparency']) && $eltd_options['portfolio_single_navigation_arrow_hover_transparency'] !== '') {
        $portfolio_single_arrow_transparency = $eltd_options['portfolio_single_navigation_arrow_hover_transparency'];
    }
    else {
        $portfolio_single_arrow_transparency = 1;
    }
    $portfolio_single_navigation_hover_style .= 'color: rgba(' . $temp_rgb_color[0] . ',' . $temp_rgb_color[1] . ',' . $temp_rgb_color[2] . ',' . $portfolio_single_arrow_transparency . ');';
}

if(isset($eltd_options['portfolio_single_navigation_background_color']) && $eltd_options['portfolio_single_navigation_background_color'] !== '') {
    $temp_rgb_color = eltd_hex2rgb($eltd_options['portfolio_single_navigation_background_color']);
    if(isset($eltd_options['portfolio_single_navigation_background_transparency']) && $eltd_options['portfolio_single_navigation_background_transparency'] !== '') {
        $portfolio_single_arrow_transparency = $eltd_options['portfolio_single_navigation_background_transparency'];
    }
    else {
        $portfolio_single_arrow_transparency = 1;
    }
    $portfolio_single_navigation_style .= 'background-color: rgba(' . $temp_rgb_color[0] . ',' . $temp_rgb_color[1] . ',' . $temp_rgb_color[2] . ',' . $portfolio_single_arrow_transparency . ');';
}

if(isset($eltd_options['portfolio_single_navigation_background_hover_color']) && $eltd_options['portfolio_single_navigation_background_hover_color'] !== '') {
    $temp_rgb_color = eltd_hex2rgb($eltd_options['portfolio_single_navigation_background_hover_color']);
    if(isset($eltd_options['portfolio_single_navigation_background_hover_transparency']) && $eltd_options['portfolio_single_navigation_background_hover_transparency'] !== '') {
        $portfolio_single_arrow_transparency = $eltd_options['portfolio_single_navigation_background_hover_transparency'];
    }
    else {
        $portfolio_single_arrow_transparency = 1;
    }
    $portfolio_single_navigation_hover_style .= 'background-color: rgba(' . $temp_rgb_color[0] . ',' . $temp_rgb_color[1] . ',' . $temp_rgb_color[2] . ',' . $portfolio_single_arrow_transparency . ');';
}

if(isset($eltd_options['portfolio_single_navigation_border_radius']) && $eltd_options['portfolio_single_navigation_border_radius'] !== '') {
    $portfolio_single_navigation_style .= 'border-radius: ' . $eltd_options['portfolio_single_navigation_border_radius'] . 'px; ';
}

if(isset($eltd_options['portfolio_single_navigation_border_color']) && $eltd_options['portfolio_single_navigation_border_color'] !== '') {
    $temp_rgb_color = eltd_hex2rgb($eltd_options['portfolio_single_navigation_border_color']);
    if(isset($eltd_options['portfolio_single_navigation_border_transparency']) && $eltd_options['portfolio_single_navigation_border_transparency'] !== '') {
        $portfolio_single_arrow_transparency = $eltd_options['portfolio_single_navigation_border_transparency'];
    }
    else {
        $portfolio_single_arrow_transparency = 1;
    }
    $portfolio_single_navigation_style .= 'border-color: rgba(' . $temp_rgb_color[0] . ',' . $temp_rgb_color[1] . ',' . $temp_rgb_color[2] . ',' . $portfolio_single_arrow_transparency . ');';
    $portfolio_single_navigation_style .= 'border-style: solid; ';

    if(isset($eltd_options['portfolio_single_navigation_border_width']) && $eltd_options['portfolio_single_navigation_border_width'] !== '') {
        $portfolio_single_navigation_style .= 'border-width: ' . $eltd_options['portfolio_single_navigation_border_width'] . 'px; ';
    }
    else{
        $portfolio_single_navigation_style .= 'border-width: 1px; ';
    }
}

if(isset($eltd_options['portfolio_single_navigation_border_hover_color']) && $eltd_options['portfolio_single_navigation_border_hover_color'] !== '') {
    $temp_rgb_color = eltd_hex2rgb($eltd_options['portfolio_single_navigation_border_hover_color']);
    if(isset($eltd_options['portfolio_single_navigation_border_hover_transparency']) && $eltd_options['portfolio_single_navigation_border_hover_transparency'] !== '') {
        $portfolio_single_arrow_transparency = $eltd_options['portfolio_single_navigation_border_hover_transparency'];
    }
    else {
        $portfolio_single_arrow_transparency = 1;
    }
    $portfolio_single_navigation_hover_style .= 'border-color: rgba(' . $temp_rgb_color[0] . ',' . $temp_rgb_color[1] . ',' . $temp_rgb_color[2] . ',' . $portfolio_single_arrow_transparency . ');';
}

if(isset($eltd_options['portfolio_single_navigation_button_width']) && $eltd_options['portfolio_single_navigation_button_width'] !== '') {
    $portfolio_single_navigation_style .= 'width: ' . $eltd_options['portfolio_single_navigation_button_width'] . 'px; ';
}

if(isset($eltd_options['portfolio_single_navigation_button_height']) && $eltd_options['portfolio_single_navigation_button_height'] !== '') {
    $portfolio_single_navigation_style .= 'height: ' . $eltd_options['portfolio_single_navigation_button_height'] . 'px; ';
    $portfolio_navigation_from_arrows_height = $eltd_options['portfolio_single_navigation_button_height'];
    if (isset($eltd_options['portfolio_single_navigation_border_color'])  && $eltd_options['portfolio_single_navigation_border_color'] !== ''){
        if(isset($eltd_options['portfolio_single_navigation_border_width']) && $eltd_options['portfolio_single_navigation_border_width'] !== '') {
            $portfolio_navigation_from_arrows_height += 2*$eltd_options['portfolio_single_navigation_border_width'];
        }
        else{
            $portfolio_navigation_from_arrows_height += 2;
        }
    }
    ?>
    .portfolio_single .portfolio_navigation .portfolio_prev span,
    .portfolio_single .portfolio_navigation .portfolio_next span{
        line-height: <?php echo esc_attr($eltd_options['portfolio_single_navigation_button_height']);?>px;
    }

<?php }

?>
<?php if($portfolio_single_navigation_style != '') { ?>
    .portfolio_single .portfolio_navigation .portfolio_prev a,
    .portfolio_single .portfolio_navigation .portfolio_next a{
        <?php echo esc_attr($portfolio_single_navigation_style);?>
    }
<?php } ?>

<?php if($portfolio_single_navigation_hover_style != '') { ?>
.portfolio_single .portfolio_navigation .portfolio_prev a:hover,
.portfolio_single .portfolio_navigation .portfolio_next a:hover{
    <?php echo esc_attr($portfolio_single_navigation_hover_style);?>
}
<?php } ?>

<?php
if(isset($eltd_options['portfolio_single_navigation_button_position']) && $eltd_options['portfolio_single_navigation_button_position'] !== '') {?>
.portfolio_single .portfolio_navigation .portfolio_prev{
    left: <?php echo esc_attr($eltd_options['portfolio_single_navigation_button_position']);?>px;
}
.portfolio_single .portfolio_navigation .portfolio_next{
    right: <?php echo esc_attr($eltd_options['portfolio_single_navigation_button_position']);?>px;
}
<?php }
?>

<?php
$portfolio_single_navigation_button_shadow_style = '';
if(isset($eltd_options['portfolio_single_navigation_show_button_shadow']) && $eltd_options['portfolio_single_navigation_show_button_shadow'] == 'yes') {
    $portfolio_single_navigation_button_h_shadow = '1';
    if(isset($eltd_options['portfolio_single_navigation_button_h_shadow']) && $eltd_options['portfolio_single_navigation_button_h_shadow'] !== '') {
            $portfolio_single_navigation_button_h_shadow = $eltd_options['portfolio_single_navigation_button_h_shadow'];
    }

    $portfolio_single_navigation_button_v_shadow = '1';
    if(isset($eltd_options['portfolio_single_navigation_button_v_shadow']) && $eltd_options['portfolio_single_navigation_button_v_shadow'] !== '') {
            $portfolio_single_navigation_button_v_shadow = $eltd_options['portfolio_single_navigation_button_v_shadow'];
    }

    $portfolio_single_navigation_button_blur = '1';
    if(isset($eltd_options['portfolio_single_navigation_button_blur']) && $eltd_options['portfolio_single_navigation_button_blur'] !== '') {
            $portfolio_single_navigation_button_blur = $eltd_options['portfolio_single_navigation_button_blur'];
    }

    $portfolio_single_navigation_button_spread = '1';
    if(isset($eltd_options['portfolio_single_navigation_button_spread']) && $eltd_options['portfolio_single_navigation_button_spread'] !== '') {
            $portfolio_single_navigation_button_spread = $eltd_options['portfolio_single_navigation_button_spread'];
    }

    $portfolio_single_navigation_button_shadow_color = '#afafaf';
    if(isset($eltd_options['portfolio_single_navigation_button_shadow_color']) && $eltd_options['portfolio_single_navigation_button_shadow_color'] !== '') {
            $portfolio_single_navigation_button_shadow_color = $eltd_options['portfolio_single_navigation_button_shadow_color'];
    }

    $portfolio_single_navigation_button_shadow_style = 'box-shadow: '.esc_attr($portfolio_single_navigation_button_h_shadow.'px '.$portfolio_single_navigation_button_v_shadow.'px '.$portfolio_single_navigation_button_blur.'px '.$portfolio_single_navigation_button_spread.'px '.$portfolio_single_navigation_button_shadow_color).';';
    if($portfolio_single_navigation_button_shadow_style != '') { ?>
        .portfolio_single .portfolio_navigation .portfolio_prev a,
        .portfolio_single .portfolio_navigation .portfolio_next a{
            <?php echo esc_attr($portfolio_single_navigation_button_shadow_style); ?>
        }
<?php }
}?>


<?php
$portfolio_single_navigation_back_to_style = "";
if(isset($eltd_options['portfolio_back_to_button_choice']) && $eltd_options['portfolio_back_to_button_choice'] == 'icon') {

    if(isset($eltd_options['portfolio_back_to_button_icon_color']) && $eltd_options['portfolio_back_to_button_icon_color'] !== '') {
        $portfolio_single_navigation_back_to_style .= 'color: ' . $eltd_options['portfolio_back_to_button_icon_color'] . '; ';
    }

    if(isset($eltd_options['portfolio_back_to_button_icon_size']) && $eltd_options['portfolio_back_to_button_icon_size'] !== '') {
        $portfolio_single_navigation_back_to_style .= 'font-size: ' . $eltd_options['portfolio_back_to_button_icon_size'] . 'px; ';
    }

    if(isset($eltd_options['portfolio_back_to_button_icon_hover_color']) && $eltd_options['portfolio_back_to_button_icon_hover_color'] !== '') {?>
        .portfolio_single .portfolio_button a:hover{
            color: <?php echo esc_attr($eltd_options['portfolio_back_to_button_icon_hover_color']);?>;
        }
    <?php } ?>

    <?php if($portfolio_single_navigation_back_to_style != '') { ?>
        .portfolio_single .portfolio_button a{
        <?php echo esc_attr($portfolio_single_navigation_back_to_style); ?>
        }
    <?php } ?>

<?php }
?>

<?php
if(isset($eltd_options['portfolio_back_to_button_choice']) && $eltd_options['portfolio_back_to_button_choice'] == 'custom_icon') {
    if(isset($eltd_options['portfolio_back_to_button_custom_icon']) && $eltd_options['portfolio_back_to_button_custom_icon'] != "") {
        $portfolio_navigation_custom_icon_src = $eltd_options['portfolio_back_to_button_custom_icon'];
        $portfolio_navigation_custom_icon_dim = eltd_get_image_dimensions($portfolio_navigation_custom_icon_src);
        $portfolio_navigation_custom_icon_height = $portfolio_navigation_custom_icon_dim["height"];
        $portfolio_navigation_custom_icon_width = $portfolio_navigation_custom_icon_dim["width"];
        $portfolio_navigation_from_custom_icon_height = $portfolio_navigation_custom_icon_height; ?>

        .portfolio_single .portfolio_button .portfolio_single_nav_custom{
            background-image: url('<?php echo esc_url($portfolio_navigation_custom_icon_src);?>');
            background-position: center;
            background-repeat: no-repeat;
            width: <?php echo esc_attr($portfolio_navigation_custom_icon_width);?>px;
            display: block;
            height: <?php echo esc_attr($portfolio_navigation_custom_icon_height);?>px;

            -webkit-transition: background-image 0.15s ease-in-out;
            -moz-transition: background-image 0.15s ease-in-out;
            -ms-transition: background-image 0.15s ease-in-out;
            -o-transition: background-image 0.15s ease-in-out;
            transition: background-image 0.15s ease-in-out;
        }

        .portfolio_single .portfolio_button{
            width: <?php echo esc_attr($portfolio_navigation_custom_icon_width);?>px;
            height: <?php echo esc_attr($portfolio_navigation_custom_icon_height);?>px;
        }

    <?php } ?>

    <?php
    if(isset($eltd_options['portfolio_back_to_button_custom_hover_icon']) && $eltd_options['portfolio_back_to_button_custom_hover_icon'] != "") {?>
        .portfolio_single .portfolio_button .portfolio_single_nav_custom:hover{
            background-image: url('<?php echo esc_url($eltd_options['portfolio_back_to_button_custom_hover_icon']);?>');
        }
    <?php } ?>

    <?php
    if(isset($eltd_options['portfolio_back_to_button_custom_icon_retina_x15']) && $eltd_options['portfolio_back_to_button_custom_icon_retina_x15'] != "") {?>
        @media only screen and (-webkit-min-device-pixel-ratio:1.5), only screen and (min--moz-device-pixel-ratio:1.5), only screen and (-o-min-device-pixel-ratio:150/100), only screen and (min-device-pixel-ratio:1.5), only screen and (min-resolution:160dpi) {
            .portfolio_single .portfolio_button .portfolio_single_nav_custom{
                background-image: url('<?php echo esc_url($eltd_options['portfolio_back_to_button_custom_icon_retina_x15']);?>');
                -o-background-size: <?php echo esc_attr($portfolio_navigation_custom_icon_width);?>px <?php echo esc_attr($portfolio_navigation_custom_icon_height);?>px;
                -webkit-background-size: <?php echo esc_attr($portfolio_navigation_custom_icon_width);?>px <?php echo esc_attr($portfolio_navigation_custom_icon_height);?>px;
                -moz-background-size: <?php echo esc_attr($portfolio_navigation_custom_icon_width);?>px <?php echo esc_attr($portfolio_navigation_custom_icon_height);?>px;
                background-size: <?php echo esc_attr($portfolio_navigation_custom_icon_width);?>px <?php echo esc_attr($portfolio_navigation_custom_icon_height);?>px;
            }
        }
    <?php } ?>

    <?php
    if(isset($eltd_options['portfolio_back_to_button_custom_hover_icon_retina_x15']) && $eltd_options['portfolio_back_to_button_custom_hover_icon_retina_x15'] != "") {?>
        @media only screen and (-webkit-min-device-pixel-ratio:1.5), only screen and (min--moz-device-pixel-ratio:1.5), only screen and (-o-min-device-pixel-ratio:150/100), only screen and (min-device-pixel-ratio:1.5), only screen and (min-resolution:160dpi) {
            .portfolio_single .portfolio_button .portfolio_single_nav_custom:hover{
                background-image: url('<?php echo esc_url($eltd_options['portfolio_back_to_button_custom_hover_icon_retina_x15']);?>');
            }
        }
    <?php } ?>

    <?php
    if(isset($eltd_options['portfolio_back_to_button_custom_icon_retina_x2']) && $eltd_options['portfolio_back_to_button_custom_icon_retina_x2'] != "") {?>
        @media only screen and (-webkit-min-device-pixel-ratio:2.0), only screen and (min--moz-device-pixel-ratio:2.0), only screen and (-o-min-device-pixel-ratio:200/100), only screen and (min-device-pixel-ratio:2.0), only screen and (min-resolution:210dpi) {
            .portfolio_single .portfolio_button .portfolio_single_nav_custom{
                background-image: url('<?php echo esc_url($eltd_options['portfolio_back_to_button_custom_icon_retina_x2']);?>');
                -o-background-size: <?php echo esc_attr($portfolio_navigation_custom_icon_width);?>px <?php echo esc_attr($portfolio_navigation_custom_icon_height);?>px;
                -webkit-background-size: <?php echo esc_attr($portfolio_navigation_custom_icon_width);?>px <?php echo esc_attr($portfolio_navigation_custom_icon_height);?>px;
                -moz-background-size: <?php echo esc_attr($portfolio_navigation_custom_icon_width);?>px <?php echo esc_attr($portfolio_navigation_custom_icon_height);?>px;
                background-size: <?php echo esc_attr($portfolio_navigation_custom_icon_width);?>px <?php echo esc_attr($portfolio_navigation_custom_icon_height);?>px;
            }
        }
    <?php } ?>

    <?php
    if(isset($eltd_options['portfolio_back_to_button_custom_hover_icon_retina_x2']) && $eltd_options['portfolio_back_to_button_custom_hover_icon_retina_x2'] != "") {?>
        @media only screen and (-webkit-min-device-pixel-ratio:2.0), only screen and (min--moz-device-pixel-ratio:2.0), only screen and (-o-min-device-pixel-ratio:200/100), only screen and (min-device-pixel-ratio:2.0), only screen and (min-resolution:210dpi) {
            .portfolio_single .portfolio_button .portfolio_single_nav_custom:hover{
                background-image: url('<?php echo esc_url($eltd_options['portfolio_back_to_button_custom_hover_icon_retina_x2']);?>');
            }
        }
    <?php }
}
?>

<?php

if ($portfolio_navigation_from_arrows_height > $portfolio_navigation_from_custom_icon_height ){
    $portfolio_navigation_height = $portfolio_navigation_from_arrows_height;
}
else {
    $portfolio_navigation_height = $portfolio_navigation_from_custom_icon_height;
}

if ($portfolio_navigation_height !== 0) {?>
    .portfolio_navigation_inner,
    .portfolio_single .portfolio_button,
    .portfolio_single .portfolio_button .portfolio_single_nav_custom{
    height: <?php echo esc_attr($portfolio_navigation_height)?>px;
    }

    .portfolio_single .portfolio_button a span:before,
    .portfolio_single .portfolio_button a i:before{
        line-height: <?php echo esc_attr($portfolio_navigation_height);?>px;
    }

<?php } ?>


<?php if(eltd_vc_grid_elements_enabled()) {

$vc_grid_read_more_styles = array();
$vc_grid_read_more_hover_styles = array();

if(isset($eltd_options['vc_grid_button_title_color']) && $eltd_options['vc_grid_button_title_color'] !== '') {
	$vc_grid_read_more_styles[] = 'color: '.$eltd_options['vc_grid_button_title_color'] .' !important';
}

if(isset($eltd_options['vc_grid_button_title_fontsize']) && $eltd_options['vc_grid_button_title_fontsize'] !== '') {
	$vc_grid_read_more_styles[] = 'font-size: '.$eltd_options['vc_grid_button_title_fontsize'].'px';
}

if(isset($eltd_options['vc_grid_button_title_lineheight']) && $eltd_options['vc_grid_button_title_lineheight'] !== '') {
	$vc_grid_read_more_styles[] = 'line-height: '.$eltd_options['vc_grid_button_title_lineheight'].'px';
}

if(isset($eltd_options['vc_grid_button_title_letter_spacing']) && $eltd_options['vc_grid_button_title_letter_spacing'] !== '') {
	$vc_grid_read_more_styles[] = 'letter-spacing: '.$eltd_options['vc_grid_button_title_letter_spacing'].'px';
}

if(isset($eltd_options['vc_grid_button_title_fontstyle']) && $eltd_options['vc_grid_button_title_fontstyle'] !== '') {
	$vc_grid_read_more_styles[] = 'font-style: '.$eltd_options['vc_grid_button_title_fontstyle'];
}

if(isset($eltd_options['vc_grid_button_title_fontweight']) && $eltd_options['vc_grid_button_title_fontweight'] !== '') {
	$vc_grid_read_more_styles[] = 'font-weight: '.$eltd_options['vc_grid_button_title_fontweight'];
}

if(isset($eltd_options['vc_grid_button_title_google_fonts']) && $eltd_options['vc_grid_button_title_google_fonts'] !== '-1') {
	$vc_grid_read_more_styles[] = 'font-family: ' . str_replace('+', ' ', $eltd_options['vc_grid_button_title_google_fonts']) . ', sans-serif';
}

if(isset($eltd_options['vc_grid_button_backgroundcolor']) && $eltd_options['vc_grid_button_backgroundcolor'] !== '') {
	$vc_grid_read_more_styles[] = 'background-color: ' .$eltd_options['vc_grid_button_backgroundcolor'];
}

if(isset($eltd_options['vc_grid_button_border_color']) && $eltd_options['vc_grid_button_border_color'] !== '') {
	$vc_grid_read_more_styles[] = 'border-color: ' .$eltd_options['vc_grid_button_border_color'];
}

if(isset($eltd_options['vc_grid_button_border_width']) && $eltd_options['vc_grid_button_border_width'] !== '') {
	$vc_grid_read_more_styles[] = 'border-width: ' .$eltd_options['vc_grid_button_border_width'].'px';
}

if(isset($eltd_options['vc_grid_button_border_radius']) && $eltd_options['vc_grid_button_border_radius'] !== '') {
	$vc_grid_read_more_styles[] = 'border-radius: ' .$eltd_options['vc_grid_button_border_radius'].'px';
}

if(isset($eltd_options['vc_grid_button_title_hovercolor']) && $eltd_options['vc_grid_button_title_hovercolor'] !== '') {
	$vc_grid_read_more_hover_styles[] = 'color: '.$eltd_options['vc_grid_button_title_hovercolor'] .' !important';
}

if(isset($eltd_options['vc_grid_button_backgroundcolor_hover']) && $eltd_options['vc_grid_button_backgroundcolor_hover'] !== '') {
	$vc_grid_read_more_hover_styles[] = 'background-color: '.$eltd_options['vc_grid_button_backgroundcolor_hover'];
}

if(isset($eltd_options['vc_grid_button_border_hover_color']) && $eltd_options['vc_grid_button_border_hover_color'] !== '') {
	$vc_grid_read_more_hover_styles[] = 'border-color: '.$eltd_options['vc_grid_button_border_hover_color'];
}


if(is_array($vc_grid_read_more_styles) && count($vc_grid_read_more_styles)) { ?>
	.vc_grid-container .vc_row.vc_grid .vc_grid-item .vc_btn {
	<?php echo esc_attr(implode(';', $vc_grid_read_more_styles)); ?>
	}
<?php }

if(is_array($vc_grid_read_more_hover_styles) && count($vc_grid_read_more_hover_styles)) { ?>
	.vc_grid-container .vc_row.vc_grid .vc_grid-item .vc_btn:hover {
	<?php echo esc_attr(implode(';', $vc_grid_read_more_hover_styles)); ?>
	}
<?php }

$vc_grid_load_more_styles = array();
$vc_grid_load_more_hover_styles = array();

if(isset($eltd_options['vc_grid_load_more_button_title_color']) && $eltd_options['vc_grid_load_more_button_title_color'] !== '') {
	$vc_grid_load_more_styles[] = 'color: '.$eltd_options['vc_grid_load_more_button_title_color'] .' !important';
}

if(isset($eltd_options['vc_grid_load_more_button_title_google_fonts']) && $eltd_options['vc_grid_load_more_button_title_google_fonts'] !== '-1') {
	$vc_grid_load_more_styles[] = 'font-family: '. str_replace('+', ' ', $eltd_options['vc_grid_load_more_button_title_google_fonts']) . ', sans-serif';
}

if(isset($eltd_options['vc_grid_load_more_button_title_fontsize']) && $eltd_options['vc_grid_load_more_button_title_fontsize'] !== '') {
	$vc_grid_load_more_styles[] = 'font-size: '. $eltd_options['vc_grid_load_more_button_title_fontsize'].'px';
}

if(isset($eltd_options['vc_grid_load_more_button_title_lineheight']) && $eltd_options['vc_grid_load_more_button_title_lineheight'] !== '') {
	$vc_grid_load_more_styles[] = 'line-height: '. $eltd_options['vc_grid_load_more_button_title_lineheight'].'px';
}

if(isset($eltd_options['vc_grid_load_more_button_title_fontstyle']) && $eltd_options['vc_grid_load_more_button_title_fontstyle'] !== '') {
	$vc_grid_load_more_styles[] = 'font-style: '. $eltd_options['vc_grid_load_more_button_title_fontstyle'];
}

if(isset($eltd_options['vc_grid_load_more_button_title_fontweight']) && $eltd_options['vc_grid_load_more_button_title_fontweight'] !== '') {
	$vc_grid_load_more_styles[] = 'font-weight: '. $eltd_options['vc_grid_load_more_button_title_fontweight'];
}

if(isset($eltd_options['vc_grid_load_more_button_title_letter_spacing']) && $eltd_options['vc_grid_load_more_button_title_letter_spacing'] !== '') {
	$vc_grid_load_more_styles[] = 'letter-spacing: '. $eltd_options['vc_grid_load_more_button_title_letter_spacing'].'px';
}

if(isset($eltd_options['vc_grid_load_more_button_backgroundcolor']) && $eltd_options['vc_grid_load_more_button_backgroundcolor'] !== '') {
	$vc_grid_load_more_styles[] = 'background-color: '. $eltd_options['vc_grid_load_more_button_backgroundcolor'];
}

if(isset($eltd_options['vc_grid_load_more_button_border_color']) && $eltd_options['vc_grid_load_more_button_border_color'] !== '') {
	$vc_grid_load_more_styles[] = 'border-color: '. $eltd_options['vc_grid_load_more_button_border_color'];
}

if(isset($eltd_options['vc_grid_load_more_button_border_width']) && $eltd_options['vc_grid_load_more_button_border_width'] !== '') {
	$vc_grid_load_more_styles[] = 'border-width: '. $eltd_options['vc_grid_load_more_button_border_width'].'px';
}

if(isset($eltd_options['vc_grid_load_more_button_border_radius']) && $eltd_options['vc_grid_load_more_button_border_radius'] !== '') {
	$vc_grid_load_more_styles[] = 'border-radius: '. $eltd_options['vc_grid_load_more_button_border_radius'].'px';
}

if(isset($eltd_options['vc_grid_load_more_button_title_hovercolor']) && $eltd_options['vc_grid_load_more_button_title_hovercolor'] !== '') {
	$vc_grid_load_more_hover_styles[] = 'color: '.$eltd_options['vc_grid_load_more_button_title_hovercolor'] .' !important';
}

if(isset($eltd_options['vc_grid_load_more_button_backgroundcolor_hover']) && $eltd_options['vc_grid_load_more_button_backgroundcolor_hover'] !== '') {
	$vc_grid_load_more_hover_styles[] = 'background-color: '. $eltd_options['vc_grid_load_more_button_backgroundcolor_hover'];
}

if(isset($eltd_options['vc_grid_load_more_button_border_hover_color']) && $eltd_options['vc_grid_load_more_button_border_hover_color'] !== '') {
	$vc_grid_load_more_hover_styles[] = 'border-color: '. $eltd_options['vc_grid_load_more_button_border_hover_color'];
}


if(is_array($vc_grid_load_more_styles) && count($vc_grid_load_more_styles)) { ?>
	.vc_grid-container .vc_row.vc_grid .vc_pageable-load-more-btn .vc_btn {
	<?php echo esc_attr(implode(';', $vc_grid_load_more_styles)); ?>
	}
<?php }

if(is_array($vc_grid_load_more_hover_styles) && count($vc_grid_load_more_hover_styles)) { ?>
	.vc_grid-container .vc_row.vc_grid .vc_pageable-load-more-btn .vc_btn:hover {
	<?php echo esc_attr(implode(';', $vc_grid_load_more_hover_styles)); ?>
	}
<?php }

$vc_grid_pagination_styles = array();
$vc_grid_pagination_hover_styles = array();

if(isset($eltd_options['vc_grid_pagination_color']) && $eltd_options['vc_grid_pagination_color'] !== '') {
	$vc_grid_pagination_styles[] = 'color: '.$eltd_options['vc_grid_pagination_color'] . ' !important';
}

if(isset($eltd_options['vc_grid_pagination_background_color']) && $eltd_options['vc_grid_pagination_background_color'] !== '') {
	$vc_grid_pagination_styles[] = 'background-color: '.$eltd_options['vc_grid_pagination_background_color'] . ' !important';
}

if(isset($eltd_options['vc_grid_pagination_border_color']) && $eltd_options['vc_grid_pagination_border_color'] !== '') {
	$vc_grid_pagination_styles[] = 'border-color: '.$eltd_options['vc_grid_pagination_border_color'] . ' !important';
}

if(isset($eltd_options['vc_grid_pagination_hover_color']) && $eltd_options['vc_grid_pagination_hover_color'] !== '') {
	$vc_grid_pagination_hover_styles[] = 'color: '.$eltd_options['vc_grid_pagination_hover_color'] . ' !important';
}

if(isset($eltd_options['vc_grid_pagination_background_hover_color']) && $eltd_options['vc_grid_pagination_background_hover_color'] !== '') {
	$vc_grid_pagination_hover_styles[] = 'background-color: '.$eltd_options['vc_grid_pagination_background_hover_color'] . ' !important';
}

if(isset($eltd_options['vc_grid_pagination_border_hover_color']) && $eltd_options['vc_grid_pagination_border_hover_color'] !== '') {
	$vc_grid_pagination_hover_styles[] = 'border-color: '.$eltd_options['vc_grid_pagination_border_hover_color'] . ' !important';
}

if(is_array($vc_grid_pagination_styles) && count($vc_grid_pagination_styles)) { ?>
	.vc_grid-container .vc_grid-pagination .vc_grid-pagination-list > li > a,
	.vc_grid-container .vc_grid.vc_grid-owl-theme .vc_grid-owl-dots.vc_grid-square_dots .vc_grid-owl-dot span,
	.vc_grid-container .vc_grid.vc_grid-owl-theme .vc_grid-owl-dots.vc_grid-radio_dots .vc_grid-owl-dot span,
	.vc_grid-container .vc_grid.vc_grid-owl-theme .vc_grid-owl-dots.vc_grid-point_dots .vc_grid-owl-dot span,
	.vc_grid-container .vc_grid.vc_grid-owl-theme .vc_grid-owl-dots.vc_grid-fill_square_dots .vc_grid-owl-dot span,
	.vc_grid-container .vc_grid.vc_grid-owl-theme .vc_grid-owl-dots.vc_grid-round_fill_square_dots .vc_grid-owl-dot span {
	<?php echo esc_attr(implode(';', $vc_grid_pagination_styles)); ?>
	}
<?php }

if(is_array($vc_grid_pagination_hover_styles) && count($vc_grid_pagination_hover_styles)) { ?>
	.vc_grid-container .vc_grid.vc_grid-owl-theme .vc_grid-owl-dots.vc_grid-square_dots .vc_grid-owl-dot span:hover,
	.vc_grid-container .vc_grid.vc_grid-owl-theme .vc_grid-owl-dots.vc_grid-square_dots .vc_grid-owl-dot.active span,
	.vc_grid-container .vc_grid.vc_grid-owl-theme .vc_grid-owl-dots.vc_grid-radio_dots .vc_grid-owl-dot span:hover,
	.vc_grid-container .vc_grid.vc_grid-owl-theme .vc_grid-owl-dots.vc_grid-radio_dots .vc_grid-owl-dot.active span,
	.vc_grid-container .vc_grid.vc_grid-owl-theme .vc_grid-owl-dots.vc_grid-point_dots .vc_grid-owl-dot span:hover,
	.vc_grid-container .vc_grid.vc_grid-owl-theme .vc_grid-owl-dots.vc_grid-point_dots .vc_grid-owl-dot.active span,
	.vc_grid-container .vc_grid.vc_grid-owl-theme .vc_grid-owl-dots.vc_grid-fill_square_dots .vc_grid-owl-dot span:hover,
	.vc_grid-container .vc_grid.vc_grid-owl-theme .vc_grid-owl-dots.vc_grid-fill_square_dots .vc_grid-owl-dot.active span,
	.vc_grid-container .vc_grid.vc_grid-owl-theme .vc_grid-owl-dots.vc_grid-round_fill_square_dots .vc_grid-owl-dot span:hover,
	.vc_grid-container .vc_grid.vc_grid-owl-theme .vc_grid-owl-dots.vc_grid-round_fill_square_dots .vc_grid-owl-dot.active span,
	.vc_grid-container .vc_grid-pagination .vc_grid-pagination-list > li > a:hover,
	.vc_grid-container .vc_grid-pagination .vc_grid-pagination-list > li.vc_grid-active > a {
	<?php echo esc_attr(implode(';', $vc_grid_pagination_hover_styles)); ?>
	}
<?php }

$vc_grid_filter_styles = array();
$vc_grid_filter_hover_styles = array();

if(isset($eltd_options['vc_grid_portfolio_filter_color']) && $eltd_options['vc_grid_portfolio_filter_color'] !== '') {
	$vc_grid_filter_styles[] = 'color: '.$eltd_options['vc_grid_portfolio_filter_color'] . ' !important';
}

if(isset($eltd_options['vc_grid_portfolio_filter_hovercolor']) && $eltd_options['vc_grid_portfolio_filter_hovercolor'] !== '') {
	$vc_grid_filter_hover_styles[] = 'color: '.$eltd_options['vc_grid_portfolio_filter_hovercolor'] . ' !important';
}

if(isset($eltd_options['vc_grid_portfolio_filter_font_size']) && $eltd_options['vc_grid_portfolio_filter_font_size'] !== '') {
	$vc_grid_filter_styles[] = 'font-size: '.$eltd_options['vc_grid_portfolio_filter_font_size'].'px';
}

if(isset($eltd_options['vc_grid_portfolio_filter_line_height']) && $eltd_options['vc_grid_portfolio_filter_line_height'] !== '') {
	$vc_grid_filter_styles[] = 'line-height: '.$eltd_options['vc_grid_portfolio_filter_line_height'].'px';
}

if(isset($eltd_options['vc_grid_portfolio_filter_text_transform']) && $eltd_options['vc_grid_portfolio_filter_text_transform'] !== '') {
	$vc_grid_filter_styles[] = 'text-transform: '.$eltd_options['vc_grid_portfolio_filter_text_transform'];
}

if(isset($eltd_options['vc_grid_portfolio_filter_font_family']) && $eltd_options['vc_grid_portfolio_filter_font_family'] !== '-1') {
	$vc_grid_filter_styles[] = 'font-family: ' . str_replace('+', ' ', $eltd_options['vc_grid_portfolio_filter_font_family']) . ', sans-serif';
}

if(isset($eltd_options['vc_grid_portfolio_filter_font_style']) && $eltd_options['vc_grid_portfolio_filter_font_style'] !== '') {
	$vc_grid_filter_styles[] = 'font-style: '.$eltd_options['vc_grid_portfolio_filter_font_style'];
}

if(isset($eltd_options['vc_grid_portfolio_filter_font_weight']) && $eltd_options['vc_grid_portfolio_filter_font_weight'] !== '') {
	$vc_grid_filter_styles[] = 'font-weight: '.$eltd_options['vc_grid_portfolio_filter_font_weight'];
}

if(isset($eltd_options['vc_grid_portfolio_filter_letter_spacing']) && $eltd_options['vc_grid_portfolio_filter_letter_spacing'] !== '') {
	$vc_grid_filter_styles[] = 'letter-spacing: '.$eltd_options['vc_grid_portfolio_filter_letter_spacing'].'px';
}

if(is_array($vc_grid_filter_styles) && count($vc_grid_filter_styles)) { ?>
	.vc_grid-container .vc_grid-filter > .vc_grid-filter-item span {
	<?php echo esc_attr(implode(';', $vc_grid_filter_styles)); ?>
	}
<?php }

if(is_array($vc_grid_filter_hover_styles) && count($vc_grid_filter_hover_styles)) { ?>
	.vc_grid-container .vc_grid-filter > .vc_grid-filter-item:hover span,
	.vc_grid-container .vc_grid-filter > .vc_grid-filter-item.vc_active span {
	<?php echo esc_attr(implode(';', $vc_grid_filter_hover_styles)); ?>
	}
<?php } ?>

<?php
if(isset($eltd_options['vc_grid_portfolio_filter_margin_bottom']) && $eltd_options['vc_grid_portfolio_filter_margin_bottom'] !== '') { ?>
	.vc_grid-container .vc_grid-filter {
		margin-bottom: <?php echo esc_attr($eltd_options['vc_grid_portfolio_filter_margin_bottom']); ?>px;
	}
<?php } ?>

<?php if (!empty($eltd_options['vc_grid_arrows_color'])) { ?>
		.vc_grid-container .vc_grid .vc_grid-owl-nav .vc_grid-owl-prev,
		.vc_grid-container .vc_grid .vc_grid-owl-nav .vc_grid-owl-next {
		color: <?php echo esc_attr($eltd_options['vc_grid_arrows_color']);?> !important;
		}
	<?php } ?>

<?php } ?>

<?php
/*Call to action*/

$cto_action_bttn_styles = "";
$cto_action_bttn_hover_styles = "";

if(isset($eltd_options['cto_action_bttn_title_color']) && $eltd_options['cto_action_bttn_title_color'] !== '') {
    $cto_action_bttn_styles .= 'color: '.$eltd_options['cto_action_bttn_title_color'].';';
}

if(isset($eltd_options['cto_action_bttn_title_fontsize']) && $eltd_options['cto_action_bttn_title_fontsize'] !== '') {
    $cto_action_bttn_styles .= 'font-size: '.$eltd_options['cto_action_bttn_title_fontsize'].'px;';
}

if(isset($eltd_options['cto_action_bttn_title_lineheight']) && $eltd_options['cto_action_bttn_title_lineheight'] !== '') {
    $cto_action_bttn_styles .= 'line-height: '.$eltd_options['cto_action_bttn_title_lineheight'].'px;';
    $cto_action_bttn_styles .= 'height: '.$eltd_options['cto_action_bttn_title_lineheight'].'px;';
}

if(isset($eltd_options['cto_action_bttn_title_fontstyle']) && $eltd_options['cto_action_bttn_title_fontstyle'] !== '') {
    $cto_action_bttn_styles .= 'font-style: '.esc_attr($eltd_options['cto_action_bttn_title_fontstyle']).';';
}

if(isset($eltd_options['cto_action_bttn_title_fontweight']) && $eltd_options['cto_action_bttn_title_fontweight'] !== '') {
    $cto_action_bttn_styles .= 'font-weight: '.esc_attr($eltd_options['cto_action_bttn_title_fontweight']).';';
}

if(isset($eltd_options['cto_action_bttn_title_google_fonts']) && $eltd_options['cto_action_bttn_title_google_fonts'] !== '-1') {
    $cto_action_bttn_styles .= 'font-family: '.str_replace('+', ' ', $eltd_options['cto_action_bttn_title_google_fonts']).';';
}

if(isset($eltd_options['cto_action_bttn_title_letter_spacing']) && $eltd_options['cto_action_bttn_title_letter_spacing'] !== '') {
    $cto_action_bttn_styles .= 'letter-spacing: '.esc_attr($eltd_options['cto_action_bttn_title_letter_spacing']).'px;';
}

if(isset($eltd_options['cto_action_bttn_title_texttransform']) && $eltd_options['cto_action_bttn_title_texttransform'] !== '') {
    $cto_action_bttn_styles .= 'text-transform: '.esc_attr($eltd_options['cto_action_bttn_title_texttransform']).';';
}

if(isset($eltd_options['cto_action_bttn_border_color']) && $eltd_options['cto_action_bttn_border_color'] !== '') {
    $cto_action_bttn_styles .= 'border-color: '.esc_attr($eltd_options['cto_action_bttn_border_color']).';';
}

if(isset($eltd_options['cto_action_bttn_border_width']) && $eltd_options['cto_action_bttn_border_width'] !== '') {
    $cto_action_bttn_styles .= 'border-width: '.esc_attr($eltd_options['cto_action_bttn_border_width']).'px;';
}

if(isset($eltd_options['cto_action_bttn_border_radius']) && $eltd_options['cto_action_bttn_border_radius'] !== '') {
    $cto_action_bttn_styles .= 'border-radius: '.esc_attr($eltd_options['cto_action_bttn_border_radius']).'px;';
    $cto_action_bttn_styles .= '-moz-border-radius: '.esc_attr($eltd_options['cto_action_bttn_border_radius']).'px;';
    $cto_action_bttn_styles .= '-webkit-border-radius: '.esc_attr($eltd_options['cto_action_bttn_border_radius']).'px;';
}

if(isset($eltd_options['cto_action_bttn_backgroundcolor']) && $eltd_options['cto_action_bttn_backgroundcolor'] !== '') {
    $cto_action_bttn_styles .= 'background-color: '.$eltd_options['cto_action_bttn_backgroundcolor'].';';
}

if(isset($eltd_options['cto_action_bttn_padding']) && $eltd_options['cto_action_bttn_padding'] !== '') {
    $cto_action_bttn_styles .= 'padding-left: '.esc_attr($eltd_options['cto_action_bttn_padding']).'px;';
    $cto_action_bttn_styles .= 'padding-right: '.esc_attr($eltd_options['cto_action_bttn_padding']).'px;';
}

if($cto_action_bttn_styles !== '') {
    ?>
    .call_to_action .button_wrapper a{
    <?php echo esc_attr($cto_action_bttn_styles); ?>
    }
<?php
}

if(isset($eltd_options['cto_action_bttn_title_hovercolor']) && $eltd_options['cto_action_bttn_title_hovercolor'] !== '') {
    $cto_action_bttn_hover_styles .= 'color: '.esc_attr($eltd_options['cto_action_bttn_title_hovercolor']).';';
}

if(isset($eltd_options['cto_action_bttn_backgroundcolor_hover']) && $eltd_options['cto_action_bttn_backgroundcolor_hover'] !== '') {
    $cto_action_bttn_hover_styles .= 'background-color: '.esc_attr($eltd_options['cto_action_bttn_backgroundcolor_hover']).';';
}

if(isset($eltd_options['cto_action_bttn_border_hover_color']) && $eltd_options['cto_action_bttn_border_hover_color'] !== '') {
    $cto_action_bttn_hover_styles .= 'border-color: '.esc_attr($eltd_options['cto_action_bttn_border_hover_color']).';';
}

if($cto_action_bttn_hover_styles !== '') {
    ?>
    .call_to_action .button_wrapper a:hover {
    <?php echo esc_attr($cto_action_bttn_hover_styles); ?>
    }
<?php
} ?>


<?php

/*
* Widget - Menu Latest Post
*/

$menu_latest_post_widget_title_styles = array();

if(isset($eltd_options['menu_latest_post_widget_title_font_family']) && $eltd_options['menu_latest_post_widget_title_font_family'] !== '-1') {
    $menu_latest_post_widget_title_styles[] = 'font-family: '.str_replace('+', ' ', $eltd_options['menu_latest_post_widget_title_font_family']).', sans-serif';
}

if(isset($eltd_options['menu_latest_post_widget_title_font_size']) && $eltd_options['menu_latest_post_widget_title_font_size'] !== '') {
    $menu_latest_post_widget_title_styles[] = 'font-size: '.$eltd_options['menu_latest_post_widget_title_font_size'].'px';
}

if(isset($eltd_options['menu_latest_post_widget_title_line_height']) && $eltd_options['menu_latest_post_widget_title_line_height'] !== '') {
    $menu_latest_post_widget_title_styles[] = 'line-height: '.$eltd_options['menu_latest_post_widget_title_line_height'].'px';
}

if(isset($eltd_options['menu_latest_post_widget_title_letter_spacing']) && $eltd_options['menu_latest_post_widget_title_letter_spacing'] !== '') {
    $menu_latest_post_widget_title_styles[] = 'letter-spacing: '.$eltd_options['menu_latest_post_widget_title_letter_spacing'].'px';
}

if(isset($eltd_options['menu_latest_post_widget_title_font_weight']) && $eltd_options['menu_latest_post_widget_title_font_weight'] !== '') {
    $menu_latest_post_widget_title_styles[] = 'font-weight: '.$eltd_options['menu_latest_post_widget_title_font_weight'];
}

if(isset($eltd_options['menu_latest_post_widget_title_font_style']) && $eltd_options['menu_latest_post_widget_title_font_style'] !== '') {
    $menu_latest_post_widget_title_styles[] = 'font-style: '.$eltd_options['menu_latest_post_widget_title_font_style'];
}

if(isset($eltd_options['menu_latest_post_widget_title_text_transform']) && $eltd_options['menu_latest_post_widget_title_text_transform'] !== '') {
    $menu_latest_post_widget_title_styles[] = 'text-transform: '.$eltd_options['menu_latest_post_widget_title_text_transform'];
}

if(isset($eltd_options['menu_latest_post_widget_title_color']) && $eltd_options['menu_latest_post_widget_title_color'] !== '') {
    $menu_latest_post_widget_title_styles[] = 'color: '.$eltd_options['menu_latest_post_widget_title_color'];
}

if(is_array($menu_latest_post_widget_title_styles) && count($menu_latest_post_widget_title_styles)) { ?>
    .drop_down .wide .second .inner ul li .flexslider.widget_flexslider h3,
    .drop_down .wide .second .inner ul li .flexslider.widget_flexslider h3 a{
    <?php echo esc_attr(implode(';', $menu_latest_post_widget_title_styles)); ?>
    }

<?php }?>

<?php
if(isset($eltd_options['menu_latest_post_widget_title_hover_color']) && $eltd_options['menu_latest_post_widget_title_hover_color'] !== '') {?>

   .drop_down .wide .second .inner ul li .flexslider.widget_flexslider h3 a:hover,
   .drop_down .wide .second .inner ul li.sub .flexslider ul li a:hover,
   .drop_down .wide .second ul li .flexslider ul li a:hover{
        color: <?php echo esc_attr($eltd_options['menu_latest_post_widget_title_hover_color']); ?>;
    }


<?php } ?>

<?php
$menu_latest_post_widget_post_info_styles = array();

if(isset($eltd_options['menu_latest_post_widget_post_info_font_family']) && $eltd_options['menu_latest_post_widget_post_info_font_family'] !== '-1') {
    $menu_latest_post_widget_post_info_styles[] = 'font-family: '.str_replace('+', ' ', $eltd_options['menu_latest_post_widget_post_info_font_family']).', sans-serif';
}

if(isset($eltd_options['menu_latest_post_widget_post_info_font_size']) && $eltd_options['menu_latest_post_widget_post_info_font_size'] !== '') {
    $menu_latest_post_widget_post_info_styles[] = 'font-size: '.$eltd_options['menu_latest_post_widget_post_info_font_size'].'px';
}

if(isset($eltd_options['menu_latest_post_widget_post_info_line_height']) && $eltd_options['menu_latest_post_widget_post_info_line_height'] !== '') {
    $menu_latest_post_widget_post_info_styles[] = 'line-height: '.$eltd_options['menu_latest_post_widget_post_info_line_height'].'px';
}

if(isset($eltd_options['menu_latest_post_widget_post_info_letter_spacing']) && $eltd_options['menu_latest_post_widget_post_info_letter_spacing'] !== '') {
    $menu_latest_post_widget_post_info_styles[] = 'letter-spacing: '.$eltd_options['menu_latest_post_widget_post_info_letter_spacing'].'px';
}

if(isset($eltd_options['menu_latest_post_widget_post_info_font_weight']) && $eltd_options['menu_latest_post_widget_post_info_font_weight'] !== '') {
    $menu_latest_post_widget_post_info_styles[] = 'font-weight: '.$eltd_options['menu_latest_post_widget_post_info_font_weight'];
}

if(isset($eltd_options['menu_latest_post_widget_post_info_font_style']) && $eltd_options['menu_latest_post_widget_post_info_font_style'] !== '') {
    $menu_latest_post_widget_post_info_styles[] = 'font-style: '.$eltd_options['menu_latest_post_widget_post_info_font_style'];
}

if(isset($eltd_options['menu_latest_post_widget_post_info_text_transform']) && $eltd_options['menu_latest_post_widget_post_info_text_transform'] !== '') {
    $menu_latest_post_widget_post_info_styles[] = 'text-transform: '.$eltd_options['menu_latest_post_widget_post_info_text_transform'];
}

if(isset($eltd_options['menu_latest_post_widget_post_info_color']) && $eltd_options['menu_latest_post_widget_post_info_color'] !== '') {
    $menu_latest_post_widget_post_info_styles[] = 'color: '.$eltd_options['menu_latest_post_widget_post_info_color'];
}

if(is_array($menu_latest_post_widget_post_info_styles) && count($menu_latest_post_widget_post_info_styles)) { ?>
    .drop_down .wide .second .inner ul li .flexslider.widget_flexslider .menu_recent_post_text,
    .drop_down .wide .second .inner ul li .flexslider.widget_flexslider .menu_recent_post_text a,
    .drop_down .wide .second .inner ul li.sub .flexslider.widget_flexslider .menu_recent_post_text a{
    <?php echo esc_attr(implode(';', $menu_latest_post_widget_post_info_styles)); ?>
    }

<?php }?>

<?php
if(isset($eltd_options['menu_latest_post_widget_post_info_link_color']) && $eltd_options['menu_latest_post_widget_post_info_link_color'] !== '') {?>
	.drop_down .wide .second .inner ul li .flexslider.widget_flexslider .menu_recent_post_text a,
	.drop_down .wide .second .inner ul li.sub .flexslider.widget_flexslider .menu_recent_post_text a{
        color: <?php echo esc_attr($eltd_options['menu_latest_post_widget_post_info_link_color']); ?>;
    }


<?php } ?>

<?php
if(isset($eltd_options['menu_latest_post_widget_post_info_link_hover_color']) && $eltd_options['menu_latest_post_widget_post_info_link_hover_color'] !== '') {?>
	.drop_down .wide .second .inner ul li .flexslider.widget_flexslider .menu_recent_post_text a:hover,
	.drop_down .wide .second .inner ul li.sub .flexslider.widget_flexslider .menu_recent_post_text a:hover{
        color: <?php echo esc_attr($eltd_options['menu_latest_post_widget_post_info_link_hover_color']); ?>;
    }

<?php } ?>


<?php

if(isset($eltd_options['menu_latest_post_widget_thumb_margin_bttm']) && $eltd_options['menu_latest_post_widget_thumb_margin_bttm']!=''){ ?>
    .drop_down .wide .second .inner ul li .flexslider.widget_flexslider ul li > a{
        margin-bottom: <?php echo esc_attr($eltd_options['menu_latest_post_widget_thumb_margin_bttm']).'px'?>
    }
    <?php
}
?>

<?php
if(isset($eltd_options['menu_latest_post_widget_title_margin_bttm']) && $eltd_options['menu_latest_post_widget_title_margin_bttm']!=''){ ?>
    .drop_down .wide .second .inner ul li .flexslider.widget_flexslider h3{
        margin-bottom: <?php echo esc_attr($eltd_options['menu_latest_post_widget_title_margin_bttm']).'px'?>
    }
    <?php
}
?>


<?php

$menu_latest_post_widget_arrow_navigation_styles = "";

if(isset($eltd_options['menu_latest_post_widget_arrow_size']) && !empty($eltd_options['menu_latest_post_widget_arrow_size'])) {
    $menu_latest_post_widget_arrow_navigation_styles .= 'font-size: '.esc_attr($eltd_options['menu_latest_post_widget_arrow_size']).'px;';
}

if(isset($eltd_options['menu_latest_post_widget_arrow_width']) && ($eltd_options['menu_latest_post_widget_arrow_width'] !== '')) {
    $menu_latest_post_widget_arrow_navigation_styles .= 'width: '.esc_attr($eltd_options['menu_latest_post_widget_arrow_width']).'px;';
}

if(isset($eltd_options['menu_latest_post_widget_arrow_height']) && ($eltd_options['menu_latest_post_widget_arrow_height'] !== '')) {
    $menu_latest_post_widget_arrow_navigation_styles .= 'height: '.esc_attr($eltd_options['menu_latest_post_widget_arrow_height']).'px;';
    $menu_latest_post_widget_arrow_navigation_styles .= 'margin-top: -'.(esc_attr($eltd_options['menu_latest_post_widget_arrow_height']/2)).'px;';
    $menu_latest_post_widget_arrow_navigation_styles .= 'line-height: '.esc_attr($eltd_options['menu_latest_post_widget_arrow_height']).'px;';
}

if ($menu_latest_post_widget_arrow_navigation_styles !== '') { ?>
    .drop_down .wide .second .inner ul li.sub .flexslider.widget_flexslider ul.flex-direction-nav a.flex-prev,
    .drop_down .wide .second .inner ul li.sub .flexslider.widget_flexslider ul.flex-direction-nav a.flex-next,
    .flexslider.widget_flexslider ul.flex-direction-nav a.flex-prev,
    .flexslider.widget_flexslider ul.flex-direction-nav a.flex-next{
        <?php echo esc_attr($menu_latest_post_widget_arrow_navigation_styles);?>
    }
<?php }

?>

<?php
if(isset($eltd_options['menu_latest_post_widget_position']) && !empty($eltd_options['menu_latest_post_widget_position'])) {
    $menu_latest_post_widget_nav_position = esc_attr($eltd_options['menu_latest_post_widget_position']);

    if ($menu_latest_post_widget_nav_position < 0) {
        $menu_latest_post_widget_nav_position = ' - ' .abs($menu_latest_post_widget_nav_position).'px';
    }
    else {
        $menu_latest_post_widget_nav_position = ' + '.$menu_latest_post_widget_nav_position.'px';
    }
    ?>

    .drop_down .wide .second ul li ul.flex-direction-nav{
        top: calc(50% <?php echo esc_attr($menu_latest_post_widget_nav_position)?>);
    }

<?php }

?>

<?php
$post_slider_menu_navigation_styles = '';
$temp_rgb_color = '';
$temp_transparency_arrow = '';
$temp_transparency = '';
$temp_transparency_border = '';

if(isset($eltd_options['menu_latest_post_widget_arrow_size']) && ($eltd_options['menu_latest_post_widget_arrow_size'] !== '')) {
    $post_slider_menu_navigation_styles .= 'font-size: '.esc_attr($eltd_options['menu_latest_post_widget_arrow_size']).'px;';
}
if(isset($eltd_options['menu_latest_post_widget_arrow_color']) && !empty($eltd_options['menu_latest_post_widget_arrow_color'])) {
    $temp_rgb_color = eltd_hex2rgb($eltd_options['menu_latest_post_widget_arrow_color']);
    if(isset($eltd_options['menu_latest_post_widget_arrow_transparency']) && ($eltd_options['menu_latest_post_widget_arrow_transparency']!== '')) {
        $temp_transparency_arrow = $eltd_options['menu_latest_post_widget_arrow_transparency'];
    }
    else{
        $temp_transparency_arrow = 1;
    }
    $post_slider_menu_navigation_styles .= 'color: rgba('.$temp_rgb_color[0].','.$temp_rgb_color[1].','.$temp_rgb_color[2].','.$temp_transparency_arrow.');';
    $post_slider_menu_navigation_color_important = 'color: rgba('.esc_attr($temp_rgb_color[0].','.$temp_rgb_color[1].','.$temp_rgb_color[2].','.$temp_transparency_arrow).')!important;';
}

if(isset($eltd_options['menu_latest_post_widget_background_color']) && !empty($eltd_options['menu_latest_post_widget_background_color'])) {
    $temp_rgb_color = eltd_hex2rgb($eltd_options['menu_latest_post_widget_background_color']);
    if(isset($eltd_options['menu_latest_post_widget_background_transparency']) && ($eltd_options['menu_latest_post_widget_background_transparency']!== '')) {
        $temp_transparency = $eltd_options['menu_latest_post_widget_background_transparency'];
    }
    else{
        $temp_transparency = 1;
    }
    $post_slider_menu_navigation_styles .= 'background-color: rgba('.esc_attr($temp_rgb_color[0].','.$temp_rgb_color[1].','.$temp_rgb_color[2].','.$temp_transparency).');';
}

if(isset($eltd_options['menu_latest_post_widget_border_color']) && !empty($eltd_options['menu_latest_post_widget_border_color'])) {
    $temp_rgb_color = eltd_hex2rgb($eltd_options['menu_latest_post_widget_border_color']);
    if(isset($eltd_options['menu_latest_post_widget_border_transparency']) && ($eltd_options['menu_latest_post_widget_border_transparency']!== '')) {
        $temp_transparency_border = $eltd_options['menu_latest_post_widget_border_transparency'];
    }
    else{
        $temp_transparency_border = 1;
    }
    $post_slider_menu_navigation_styles .= 'border-color: rgba('.$temp_rgb_color[0].','.$temp_rgb_color[1].','.$temp_rgb_color[2].','.$temp_transparency_border.'); ';
}

if(isset($eltd_options['menu_latest_post_widget_border_width']) && ($eltd_options['menu_latest_post_widget_border_width'] !== '')) {
    $post_slider_menu_navigation_styles .= 'border-width:'.esc_attr($eltd_options['menu_latest_post_widget_border_width']).'px; ';
    $post_slider_menu_navigation_styles .= 'border-style:solid;';
}

if(isset($eltd_options['menu_latest_post_widget_border_radius']) && ($eltd_options['menu_latest_post_widget_border_radius'] !== '')) {
    $post_slider_menu_navigation_styles .= 'border-radius:'.esc_attr($eltd_options['menu_latest_post_widget_border_radius']).'px;';
}


if($post_slider_menu_navigation_styles !== '') {
    ?>
    .drop_down .wide .second .inner ul li.sub .flexslider.widget_flexslider ul.flex-direction-nav a.flex-prev,
    .drop_down .wide .second .inner ul li.sub .flexslider.widget_flexslider ul.flex-direction-nav a.flex-next,
    .flexslider.widget_flexslider ul.flex-direction-nav a.flex-prev,
    .flexslider.widget_flexslider ul.flex-direction-nav a.flex-next{
    <?php echo esc_attr($post_slider_menu_navigation_styles); ?>
    }

<?php
}
?>

<?php
$post_slider_menu_navigation_hover_styles = '';
$temp_hover_transparency = '';

if(isset($eltd_options['menu_latest_post_widget_arrow_hover_color']) && !empty($eltd_options['menu_latest_post_widget_arrow_hover_color'])) {
    $temp_rgb_color = eltd_hex2rgb($eltd_options['menu_latest_post_widget_arrow_hover_color']);
    if(isset($eltd_options['menu_latest_post_widget_arrow_hover_transparency']) && ($eltd_options['menu_latest_post_widget_arrow_hover_transparency']!== '')) {
        $temp_hover_transparency = $eltd_options['menu_latest_post_widget_arrow_hover_transparency'];
    }
    else {
        $temp_hover_transparency = 1;
    }
    $post_slider_menu_navigation_hover_styles .= 'color: rgba('.esc_attr($temp_rgb_color[0].','.$temp_rgb_color[1].','.$temp_rgb_color[2].','.$temp_hover_transparency).');';
    $post_slider_menu_navigation_hover_color_important = 'color: rgba('.esc_attr($temp_rgb_color[0].','.$temp_rgb_color[1].','.$temp_rgb_color[2].','.$temp_hover_transparency).')!important;';

}
$temp_hover_transparency = '';
if(isset($eltd_options['menu_latest_post_widget_background_hover_color']) && !empty($eltd_options['menu_latest_post_widget_background_hover_color'])) {

    $temp_rgb_color = eltd_hex2rgb($eltd_options['menu_latest_post_widget_background_hover_color']);
    if(isset($eltd_options['menu_latest_post_widget_background_hover_transparency']) && ($eltd_options['menu_latest_post_widget_background_hover_transparency']!== '')) {
        $temp_hover_transparency = $eltd_options['menu_latest_post_widget_background_hover_transparency'];
    }
    else {
        $temp_hover_transparency = 1;
    }
    $post_slider_menu_navigation_hover_styles .= 'background-color: rgba('.esc_attr($temp_rgb_color[0].','.$temp_rgb_color[1].','.$temp_rgb_color[2].','.$temp_hover_transparency).');';
}
$temp_hover_transparency = '';
if(isset($eltd_options['menu_latest_post_widget_border_hover_color']) && !empty($eltd_options['menu_latest_post_widget_border_hover_color'])) {
    $temp_rgb_color = eltd_hex2rgb($eltd_options['menu_latest_post_widget_border_hover_color']);
    if(isset($eltd_options['menu_latest_post_widget_border_hover_transparency']) && ($eltd_options['menu_latest_post_widget_border_hover_transparency']!== '')) {
        $temp_hover_transparency = $eltd_options['menu_latest_post_widget_border_hover_transparency'];
    }
    else {$temp_hover_transparency = 1;}
    $post_slider_menu_navigation_hover_styles .= 'border-color: rgba('.esc_attr($temp_rgb_color[0].','.$temp_rgb_color[1].','.$temp_rgb_color[2].','.$temp_hover_transparency).')';
}
if($post_slider_menu_navigation_hover_styles !== '') {
    ?>
    .drop_down .wide .second ul li .flexslider ul.flex-direction-nav li a:hover,
    .drop_down .wide .second .inner ul li.sub .flexslider.widget_flexslider ul.flex-direction-nav a.flex-prev:hover,
    .drop_down .wide .second .inner ul li.sub .flexslider.widget_flexslider ul.flex-direction-nav a.flex-next:hover,
    .flexslider.widget_flexslider ul.flex-direction-nav a.flex-prev:hover,
    .flexslider.widget_flexslider ul.flex-direction-nav a.flex-next:hover{
        <?php echo esc_attr($post_slider_menu_navigation_hover_styles); ?>
    }

<?php
}
?>

<?php if(isset($eltd_options['header_bottom_lang_items_padding']) && $eltd_options['header_bottom_lang_items_padding'] !== '') { ?>
    .header_bottom li.menu-item-language > a > span.item_inner {
    padding-left: <?php echo esc_attr($eltd_options['header_bottom_lang_items_padding']); ?>px;
    padding-right: <?php echo esc_attr($eltd_options['header_bottom_lang_items_padding']); ?>px;
    }
<?php } ?>


<?php if(isset($eltd_options['enable_vertical_menu_cart']) && $eltd_options['enable_vertical_menu_cart'] == 'yes' && isset($eltd_options['enable_search']) && $eltd_options['enable_search'] == 'yes') { ?>
    .vertical_menu_cart{
		border-right: 1px solid #dadada;
    }
<?php } ?>


