<?php

	$election_campaign_first_color = get_theme_mod('election_campaign_first_color');
	$election_campaign_second_color = get_theme_mod('election_campaign_second_color');
	$election_campaign_custom_css ='';

	/*------------------ Global First Color -----------*/

	if ($election_campaign_first_color) {
		$election_campaign_custom_css .= ':root {';
		$election_campaign_custom_css .= '--first-theme-color: ' . esc_attr($election_campaign_first_color) . ' !important;';
		$election_campaign_custom_css .= '} ';
	}
	
	/*------------------ Global Second Color -----------*/
	
	if ($election_campaign_second_color) {
		$election_campaign_custom_css .= ':root {';
		$election_campaign_custom_css .= '--second-theme-color: ' . esc_attr($election_campaign_second_color) . ' !important;';
		$election_campaign_custom_css .= '} ';
	}

	/*---------------------------Width Layout -------------------*/
	$election_campaign_theme_lay = get_theme_mod( 'election_campaign_width_layout_options','Default');
    if($election_campaign_theme_lay == 'Default'){
		$election_campaign_custom_css .='body{';
			$election_campaign_custom_css .='max-width: 100%;';
		$election_campaign_custom_css .='}';
	}else if($election_campaign_theme_lay == 'Container Layout'){
		$election_campaign_custom_css .='body{';
			$election_campaign_custom_css .='width: 100%;padding-right: 15px;padding-left: 15px;margin-right: auto;margin-left: auto;';
		$election_campaign_custom_css .='}';
		$election_campaign_custom_css .='.page-template-home-page #header{';
			$election_campaign_custom_css .='position: static; background-color: #000;';
		$election_campaign_custom_css .='}';
	}else if($election_campaign_theme_lay == 'Box Layout'){
		$election_campaign_custom_css .='body{';
			$election_campaign_custom_css .='max-width: 1140px; width: 100%; padding-right: 15px; padding-left: 15px; margin-right: auto; margin-left: auto;';
		$election_campaign_custom_css .='}';
		$election_campaign_custom_css .='.page-template-home-page #header{';
			$election_campaign_custom_css .='position: static; background-color: #000;';
		$election_campaign_custom_css .='}';
	}

	/*--------------------------- Slider Opacity -------------------*/
	$election_campaign_theme_lay = get_theme_mod( 'election_campaign_slider_opacity','');
	if($election_campaign_theme_lay == '0'){
		$election_campaign_custom_css .='#slider .image-overlay{';
			$election_campaign_custom_css .='opacity:0';
		$election_campaign_custom_css .='}';
		}else if($election_campaign_theme_lay == '0.1'){
		$election_campaign_custom_css .='#slider .image-overlay{';
			$election_campaign_custom_css .='opacity:0.1';
		$election_campaign_custom_css .='}';
		}else if($election_campaign_theme_lay == '0.2'){
		$election_campaign_custom_css .='#slider .image-overlay{';
			$election_campaign_custom_css .='opacity:0.2';
		$election_campaign_custom_css .='}';
		}else if($election_campaign_theme_lay == '0.3'){
		$election_campaign_custom_css .='#slider .image-overlay{';
			$election_campaign_custom_css .='opacity:0.3';
		$election_campaign_custom_css .='}';
		}else if($election_campaign_theme_lay == '0.4'){
		$election_campaign_custom_css .='#slider .image-overlay{';
			$election_campaign_custom_css .='opacity:0.4';
		$election_campaign_custom_css .='}';
		}else if($election_campaign_theme_lay == '0.5'){
		$election_campaign_custom_css .='#slider .image-overlay{';
			$election_campaign_custom_css .='opacity:0.5';
		$election_campaign_custom_css .='}';
		}else if($election_campaign_theme_lay == '0.6'){
		$election_campaign_custom_css .='#slider .image-overlay{';
			$election_campaign_custom_css .='opacity:0.6';
		$election_campaign_custom_css .='}';
		}else if($election_campaign_theme_lay == '0.7'){
		$election_campaign_custom_css .='#slider .image-overlay{';
			$election_campaign_custom_css .='opacity:0.7';
		$election_campaign_custom_css .='}';
		}else if($election_campaign_theme_lay == '0.8'){
		$election_campaign_custom_css .='#slider .image-overlay{';
			$election_campaign_custom_css .='opacity:0.8';
		$election_campaign_custom_css .='}';
		}else if($election_campaign_theme_lay == '0.9'){
		$election_campaign_custom_css .='#slider .image-overlay{';
			$election_campaign_custom_css .='opacity:0.9';
		$election_campaign_custom_css .='}';
	}

	// slider overlay
	$election_campaign_enable_slider_overlay = get_theme_mod('election_campaign_enable_slider_overlay', true);
	if($election_campaign_enable_slider_overlay == false){
		$election_campaign_custom_css .='#slider .image-overlay{';
			$election_campaign_custom_css .='opacity:1;';
		$election_campaign_custom_css .='}';
	} 
	$election_campaign_slider_overlay_color = get_theme_mod('election_campaign_slider_overlay_color', true);
	if($election_campaign_enable_slider_overlay != false){
		$election_campaign_custom_css .='#slider .image-overlay{';
			$election_campaign_custom_css .='background: linear-gradient(90deg,'.esc_attr($election_campaign_slider_overlay_color).' 50%,rgba(0,212,255,0) 70%);';
		$election_campaign_custom_css .='}';
	}

	/*-------------- Footer Text -------------------*/
	$election_campaign_footer_text_align = get_theme_mod('election_campaign_footer_text_align');
	$election_campaign_custom_css .='.copyright-wrapper{';
		$election_campaign_custom_css .='text-align: '.esc_attr($election_campaign_footer_text_align).';';
	$election_campaign_custom_css .='}';
	$election_campaign_custom_css .='
	@media screen and (max-width:575px) {
		.copyright-wrapper{';
			$election_campaign_custom_css .='text-align: center;'.esc_attr($election_campaign_footer_text_align).'';
	$election_campaign_custom_css .='} }';

	$election_campaign_footer_text_padding = get_theme_mod('election_campaign_footer_text_padding');
	$election_campaign_custom_css .='.copyright-wrapper{';
		$election_campaign_custom_css .='padding-top: '.esc_attr($election_campaign_footer_text_padding).'px !important; padding-bottom: '.esc_attr($election_campaign_footer_text_padding).'px !important;';
	$election_campaign_custom_css .='}';

	$election_campaign_footer_bg_color = get_theme_mod('election_campaign_footer_bg_color');
	$election_campaign_custom_css .='.footer-wp{';
		$election_campaign_custom_css .='background-color: '.esc_attr($election_campaign_footer_bg_color).';';
	$election_campaign_custom_css .='}';

	$election_campaign_footer_bg_image = get_theme_mod('election_campaign_footer_bg_image');
	if($election_campaign_footer_bg_image != false){
		$election_campaign_custom_css .='.footer-wp{';
			$election_campaign_custom_css .='background: url('.esc_attr($election_campaign_footer_bg_image).'); background-size: cover;';
		$election_campaign_custom_css .='}';
	}

	// Footer text Trasnform
	$election_campaign_theme_lay = get_theme_mod('election_campaign_footer_text_tranform','Capitalize');
	if($election_campaign_theme_lay == 'Uppercase'){
		$election_campaign_custom_css .= '.footer-wp h3{';
		$election_campaign_custom_css .= 'text-transform: uppercase !important;';
		$election_campaign_custom_css .= '}';
	}
	elseif($election_campaign_theme_lay == 'Lowercase'){
		$election_campaign_custom_css .= '.footer-wp h3{';
		$election_campaign_custom_css .= 'text-transform: lowercase !important;';
		$election_campaign_custom_css .= '}';
	}
	elseif($election_campaign_theme_lay == 'Capitalize'){
		$election_campaign_custom_css .= '.footer-wp h3{';
		$election_campaign_custom_css .= 'text-transform: capitalize !important;';
		$election_campaign_custom_css .= '}';
	}

    // footer image position
	$election_campaign_footer_img_position = get_theme_mod('election_campaign_footer_img_position','center center');
	if($election_campaign_footer_img_position != false){
		$election_campaign_custom_css .='.footer-wp{';
			$election_campaign_custom_css .='background-position: '.esc_attr($election_campaign_footer_img_position).'!important;';
		$election_campaign_custom_css .='}';
	}		

	// Footer Attatchment
	$election_campaign_theme_lay = get_theme_mod( 'election_campaign_footer_attatchment','scroll');
	if($election_campaign_theme_lay == 'fixed'){
		$election_campaign_custom_css .='.footer-wp{';
			$election_campaign_custom_css .='background-attachment: fixed;';
		$election_campaign_custom_css .='}';
	}elseif ($election_campaign_theme_lay == 'scroll'){
		$election_campaign_custom_css .='.footer-wp{';
			$election_campaign_custom_css .='background-attachment: scroll;';
		$election_campaign_custom_css .='}';
	}

	$election_campaign_copyright_text_font_size = get_theme_mod('election_campaign_copyright_text_font_size', 15);
	$election_campaign_custom_css .='.copyright-wrapper p, .copyright-wrapper a{';
		$election_campaign_custom_css .='font-size: '.esc_attr($election_campaign_copyright_text_font_size).'px;';
	$election_campaign_custom_css .='}';

	$election_campaign_footer_heading_font_size = get_theme_mod('election_campaign_footer_heading_font_size');
	$election_campaign_custom_css .='.footer-wp h3{';
		$election_campaign_custom_css .='font-size: '.esc_attr($election_campaign_footer_heading_font_size).'px;';
	$election_campaign_custom_css .='}';

	// letter spacing
	$election_campaign_footer_heading_letter_spacing = get_theme_mod('election_campaign_footer_heading_letter_spacing',1);
	$election_campaign_custom_css .='.footer-wp h3{';
	$election_campaign_custom_css .='letter-spacing: '.esc_attr($election_campaign_footer_heading_letter_spacing).'px;';	
	$election_campaign_custom_css .='}';

	// Header Social Icons Font Size
    $election_campaign_header_icons_size = get_theme_mod('election_campaign_header_icons_size', '16');
    $election_campaign_custom_css .='.top-header .header .time i,.top-header .header .location i,.top-header .header .top-btn i{';
        $election_campaign_custom_css .='font-size: '.esc_attr($election_campaign_header_icons_size).'px;';
    $election_campaign_custom_css .='}'; 

	// Footer heading font weight
	$election_campaign_footer_heading_font_weight = get_theme_mod( 'election_campaign_footer_heading_font_weight');
	if($election_campaign_footer_heading_font_weight != ''){
		$election_campaign_custom_css .='.footer-wp h3{';
			$election_campaign_custom_css .='font-weight: '.esc_attr($election_campaign_footer_heading_font_weight).'!important;';
		$election_campaign_custom_css .='}';
	}

	// footer padding
	$election_campaign_footer_padding = get_theme_mod('election_campaign_footer_padding');
	$election_campaign_custom_css .='.footer-wp{';
		$election_campaign_custom_css .='padding: '.esc_attr($election_campaign_footer_padding).'px;';
	$election_campaign_custom_css .='}';

	$election_campaign_footer_heading = get_theme_mod( 'election_campaign_footer_heading','Left');
    if($election_campaign_footer_heading == 'Left'){
		$election_campaign_custom_css .='.footer-wp h3, .footer-wp .wp-block-search .wp-block-search__label{';
		$election_campaign_custom_css .='text-align: left;';
		$election_campaign_custom_css .='}';
	}else if($election_campaign_footer_heading == 'Center'){
		$election_campaign_custom_css .='.footer-wp h3, .footer-wp .wp-block-search .wp-block-search__label{';
			$election_campaign_custom_css .='text-align: center;';
		$election_campaign_custom_css .='}';
		$election_campaign_custom_css .='.footer-wp h3:after, .footer-wp .wp-block-heading:after{';
			$election_campaign_custom_css .='margin: 7px auto;';
		$election_campaign_custom_css .='}';
		$election_campaign_custom_css .='
		@media screen and (max-width:767px) {
			.footer-wp h3, .footer-wp .wp-block-search .wp-block-search__label{';
				$election_campaign_custom_css .='text-align: left;';
				$election_campaign_custom_css .='}
			.footer-wp h3:after, .footer-wp .wp-block-heading:after{';
				$election_campaign_custom_css .='margin: 7px 0 0;';
				$election_campaign_custom_css .='}
		}';
	}else if($election_campaign_footer_heading == 'Right'){
		$election_campaign_custom_css .='.footer-wp h3, .footer-wp .wp-block-search .wp-block-search__label{';
			$election_campaign_custom_css .='text-align: right; padding-bottom: 25px;';
		$election_campaign_custom_css .='}';
		$election_campaign_custom_css .='.footer-wp .widget, .footer-wp aside{';
			$election_campaign_custom_css .='position: relative;';
		$election_campaign_custom_css .='}';
		$election_campaign_custom_css .='.footer-wp h3:after, .footer-wp .wp-block-heading:after{';
			$election_campaign_custom_css .='position: absolute; right: 0;';
		$election_campaign_custom_css .='}';
		$election_campaign_custom_css .='
		@media screen and (max-width:767px) {
			.footer-wp h3, .footer-wp .wp-block-search .wp-block-search__label{';
				$election_campaign_custom_css .='text-align: left;';
				$election_campaign_custom_css .='}
			.footer-wp h3:after, .footer-wp .wp-block-heading:after{';
				$election_campaign_custom_css .='left: 0;';
				$election_campaign_custom_css .='}
		}';
	}

	$election_campaign_footer_content = get_theme_mod( 'election_campaign_footer_content','Left');
    if($election_campaign_footer_content == 'Left'){
		$election_campaign_custom_css .='.footer-wp .widget{';
		$election_campaign_custom_css .='text-align: left;';
		$election_campaign_custom_css .='}';
	}else if($election_campaign_footer_content == 'Center'){
		$election_campaign_custom_css .='.footer-wp .widget{';
			$election_campaign_custom_css .='text-align: center;';
		$election_campaign_custom_css .='}';
		$election_campaign_custom_css .='
		@media screen and (max-width:767px) {
			.footer-wp .widget{';
				$election_campaign_custom_css .='text-align: left;';
				$election_campaign_custom_css .='} }';
	}else if($election_campaign_footer_content == 'Right'){
		$election_campaign_custom_css .='.footer-wp .widget{';
			$election_campaign_custom_css .='text-align: right;';
		$election_campaign_custom_css .='}';
		$election_campaign_custom_css .='
		@media screen and (max-width:767px) {
			.footer-wp .widget{';
				$election_campaign_custom_css .='text-align: left;';
				$election_campaign_custom_css .='} }';
	}

   //Footer Style 
	$election_campaign_theme_lay = get_theme_mod( 'election_campaign_footer_template','election_campaign-footer-one');
    if($election_campaign_theme_lay == 'election_campaign-footer-one'){
		$election_campaign_custom_css .='.footer-wp{';
			$election_campaign_custom_css .='';
		$election_campaign_custom_css .='}';

	}else if($election_campaign_theme_lay == 'election_campaign-footer-two'){
		$election_campaign_custom_css .='.footer-wp {';
			$election_campaign_custom_css .='background: #E3F2FD !important;';
		$election_campaign_custom_css .='}';
		$election_campaign_custom_css .='.footer-wp p,.footer-wp span,.footer-wp li a,.footer-wp #wp-calendar caption,.footer-wp #wp-calendar td,.footer-wp #wp-calendar th, .footer-wp, .footer-wp h3, .footer-wp a.rsswidget, .footer-wp #wp-calendar a, .copyright a, .footer-wp .custom_details, .footer-wp ins span, .footer-wp .tagcloud a, .main-inner-box span.entry-date a, nav.woocommerce-MyAccount-navigation ul li:hover a, .footer-wp ul li a, .footer-wp table, .footer-wp th, .footer-wp td, .footer-wp caption, #sidebar caption,.footer-wp nav.wp-calendar-nav a,.footer-wp .search-form .search-field, .footer-wp .rssSummary, .footer-wp ul li{';
			$election_campaign_custom_css .='color:#000 !important;';
		$election_campaign_custom_css .='}';
		$election_campaign_custom_css .='.footer-wp p{';
			$election_campaign_custom_css .='color:#000 !important;';
		$election_campaign_custom_css .='}';
		$election_campaign_custom_css .='.footer-wp ul li::before{';
			$election_campaign_custom_css .='background:#000;';
		$election_campaign_custom_css .='}';
		$election_campaign_custom_css .='.footer-wp table, .footer-wp th, .footer-wp td,.footer-wp.search-form .search-field,.footer-wp .tagcloud a{';
			$election_campaign_custom_css .='border: 1px solid #000;';
		$election_campaign_custom_css .='}';

	}else if($election_campaign_theme_lay == 'election_campaign-footer-three'){
		$election_campaign_custom_css .='.footer-wp {';
			$election_campaign_custom_css .='background: #0A0A1F !important;;';
		$election_campaign_custom_css .='}';
	}
	else if($election_campaign_theme_lay == 'election_campaign-footer-four'){
		$election_campaign_custom_css .='.footer-wp {';
			$election_campaign_custom_css .='background: #F5F5DC !important;;';
		$election_campaign_custom_css .='}';
		$election_campaign_custom_css .='.footer-wp p,.footer-wp span,.footer-wp li a,.footer-wp #wp-calendar caption,.footer-wp #wp-calendar td,.footer-wp #wp-calendar th, .footer-wp, .footer-wp h3, .footer-wp a.rsswidget, .footer-wp #wp-calendar a, .copyright a, .footer-wp .custom_details, .footer-wp ins span, .footer-wp .tagcloud a, .main-inner-box span.entry-date a, nav.woocommerce-MyAccount-navigation ul li:hover a, .footer-wp ul li a, .footer-wp table, .footer-wp th, .footer-wp td, .footer-wp caption, #sidebar caption,.footer-wp nav.wp-calendar-nav a,.footer-wp .search-form .search-field, .footer-wp .rssSummary, .footer-wp ul li{';
			$election_campaign_custom_css .='color:#000 !important;';
		$election_campaign_custom_css .='}';
		$election_campaign_custom_css .='.footer-wp p{';
			$election_campaign_custom_css .='color:#000 !important;';
		$election_campaign_custom_css .='}';
		$election_campaign_custom_css .='.footer-wp ul li::before{';
			$election_campaign_custom_css .='background:#000;';
		$election_campaign_custom_css .='}';
		$election_campaign_custom_css .='.footer-wp table, .footer-wp th, .footer-wp td,.footer-wp.search-form .search-field,.footer-wp .tagcloud a{';
			$election_campaign_custom_css .='border: 1px solid #000;';
		$election_campaign_custom_css .='}';
	}
    else if($election_campaign_theme_lay == 'election_campaign-footer-five'){
	$election_campaign_custom_css .='.footer-wp {';
		$election_campaign_custom_css .='background: #333333 !important;;';
	$election_campaign_custom_css .='}';
   }	

	//Footer Social Icon Alignment
	$election_campaign_footer_icon_alignment = get_theme_mod( 'election_campaign_footer_icon_alignment','center');
    if($election_campaign_footer_icon_alignment == 'left'){
		$election_campaign_custom_css .='footer .socialicons{';
			$election_campaign_custom_css .='text-align:left !important;';
		$election_campaign_custom_css .='}';
	}else if($election_campaign_footer_icon_alignment == 'center'){
		$election_campaign_custom_css .='footer .socialicons{';
			$election_campaign_custom_css .='text-align:center !important;';
		$election_campaign_custom_css .='}';
	}else if($election_campaign_footer_icon_alignment == 'right'){
		$election_campaign_custom_css .='footer .socialicons{';
			$election_campaign_custom_css .='text-align:right !important;';
		$election_campaign_custom_css .='}';
	}	

	//Footer Social Icon Top Bottom padding 
	$election_campaign_footer_icon_to_top_padding = get_theme_mod('election_campaign_footer_icon_to_top_padding');
	$election_campaign_custom_css .='footer .socialicons a i{';
	$election_campaign_custom_css .='padding-top: '.esc_attr($election_campaign_footer_icon_to_top_padding).'px;!important;';
	$election_campaign_custom_css .='padding-bottom: '.esc_attr($election_campaign_footer_icon_to_top_padding).'px;!important;';
	$election_campaign_custom_css .='}';
	
	//Footer icon color
	$election_campaign_footer_icon_color_option = get_theme_mod('election_campaign_footer_icon_color_option');
	$election_campaign_custom_css .='footer .socialicons a{';
			$election_campaign_custom_css .='color: '.esc_attr($election_campaign_footer_icon_color_option).' !important;';
	$election_campaign_custom_css .='}';

	//Footer social icons font size
	$election_campaign_footer_social_icons_size = get_theme_mod('election_campaign_footer_social_icons_size', 15);
	$election_campaign_custom_css .='.copyright-wrapper a i{';
		$election_campaign_custom_css .='font-size: '.esc_attr($election_campaign_footer_social_icons_size).'px;';
	$election_campaign_custom_css .='}';	

	/*------------- Back to Top  -------------------*/
	$election_campaign_back_to_top_border_radius = get_theme_mod('election_campaign_back_to_top_border_radius');
	$election_campaign_custom_css .='#scrollbutton {';
		$election_campaign_custom_css .='border-radius: '.esc_attr($election_campaign_back_to_top_border_radius).'px;';
	$election_campaign_custom_css .='}';

	$election_campaign_scroll_icon_font_size = get_theme_mod('election_campaign_scroll_icon_font_size', 22);
	$election_campaign_custom_css .='#scrollbutton {';
		$election_campaign_custom_css .='font-size: '.esc_attr($election_campaign_scroll_icon_font_size).'px;';
	$election_campaign_custom_css .='}';

	// back to top icon color
	$election_campaign_scroll_icon_color = get_theme_mod('election_campaign_scroll_icon_color');
	$election_campaign_custom_css .='#scrollbutton i{';
		$election_campaign_custom_css .='color: '.esc_attr($election_campaign_scroll_icon_color).';';
	$election_campaign_custom_css .='}';

	// back to top icon hover color
	$election_campaign_scroll_icon_hover_color = get_theme_mod('election_campaign_scroll_icon_hover_color');
	$election_campaign_custom_css .='#scrollbutton i:hover{';
		$election_campaign_custom_css .='color: '.esc_attr($election_campaign_scroll_icon_hover_color).';';
	$election_campaign_custom_css .='}';

	// back to top bg color
	$election_campaign_scroll_icon_background = get_theme_mod('election_campaign_scroll_icon_background');
	$election_campaign_custom_css .='#scrollbutton{';
		$election_campaign_custom_css .='background-color: '.esc_attr($election_campaign_scroll_icon_background).';';
		$election_campaign_custom_css .='border-color: '.esc_attr($election_campaign_scroll_icon_background).';';
	$election_campaign_custom_css .='}';

	// back to top bg hover color
	$election_campaign_scroll_icon_background_hover = get_theme_mod('election_campaign_scroll_icon_background_hover');
	$election_campaign_custom_css .='#scrollbutton:hover{';
		$election_campaign_custom_css .='background-color: '.esc_attr($election_campaign_scroll_icon_background_hover).';';
		$election_campaign_custom_css .='border-color: '.esc_attr($election_campaign_scroll_icon_background_hover).';';
	$election_campaign_custom_css .='}';

	$election_campaign_top_bottom_scroll_padding = get_theme_mod('election_campaign_top_bottom_scroll_padding', 7);
	$election_campaign_custom_css .='#scrollbutton {';
		$election_campaign_custom_css .='padding-top: '.esc_attr($election_campaign_top_bottom_scroll_padding).'px; padding-bottom: '.esc_attr($election_campaign_top_bottom_scroll_padding).'px;';
	$election_campaign_custom_css .='}';

	$election_campaign_left_right_scroll_padding = get_theme_mod('election_campaign_left_right_scroll_padding', 17);
	$election_campaign_custom_css .='#scrollbutton {';
		$election_campaign_custom_css .='padding-left: '.esc_attr($election_campaign_left_right_scroll_padding).'px; padding-right: '.esc_attr($election_campaign_left_right_scroll_padding).'px;';
	$election_campaign_custom_css .='}';

	//First Cap
	$election_campaign_show_first_caps = get_theme_mod('election_campaign_show_first_caps', 'false');
	if($election_campaign_show_first_caps == 'true' ){
	$election_campaign_custom_css .='.blog-section .mainbox .new-text p:nth-of-type(1)::first-letter{';
	$election_campaign_custom_css .=' font-size: 55px; font-weight: 600;';
	$election_campaign_custom_css .=' margin-right: 6px;';
	$election_campaign_custom_css .=' line-height: 1;';
	$election_campaign_custom_css .='}';
	}elseif($election_campaign_show_first_caps == 'false' ){
	$election_campaign_custom_css .='.blog-section .mainbox .new-text p:nth-of-type(1)::first-letter {';
	$election_campaign_custom_css .='display: none;';
	$election_campaign_custom_css .='}';
	}

	/*-------------- Post Button  -------------------*/

	$election_campaign_btn_font_size_option = get_theme_mod('election_campaign_btn_font_size_option');
	$election_campaign_custom_css .='.postbtn a{';
		$election_campaign_custom_css .='font-size: '.esc_attr($election_campaign_btn_font_size_option).'px !important;';
	$election_campaign_custom_css .='}';

	$election_campaign_theme_lay = get_theme_mod( 'election_campaign_button_text_tranform','Uppercase');
    if($election_campaign_theme_lay == 'Uppercase'){
		$election_campaign_custom_css .='.postbtn a{';
			$election_campaign_custom_css .='text-transform: uppercase;';
		$election_campaign_custom_css .='}';
	}else if($election_campaign_theme_lay == 'Lowercase'){
		$election_campaign_custom_css .='.postbtn a{';
			$election_campaign_custom_css .='text-transform: lowercase;';
		$election_campaign_custom_css .='}';
	}
	else if($election_campaign_theme_lay == 'Capitalize'){
		$election_campaign_custom_css .='.postbtn a{';
			$election_campaign_custom_css .='text-transform: capitalize;';
		$election_campaign_custom_css .='}';
	}

	// button font weight
	$election_campaign_button_font_weight = get_theme_mod( 'election_campaign_button_font_weight','700');
	if($election_campaign_button_font_weight != ''){
		$election_campaign_custom_css .='.postbtn a{';
			$election_campaign_custom_css .='font-weight: '.esc_attr($election_campaign_button_font_weight).';';
		$election_campaign_custom_css .='}';
	}

	$election_campaign_post_button_padding_top = get_theme_mod('election_campaign_post_button_padding_top');
	$election_campaign_custom_css .='.postbtn a, #comments input[type="submit"].submit{';
		$election_campaign_custom_css .='padding-top: '.esc_attr($election_campaign_post_button_padding_top).'px !important; padding-bottom: '.esc_attr($election_campaign_post_button_padding_top).'px !important;';
	$election_campaign_custom_css .='}';

	$election_campaign_post_button_padding_right = get_theme_mod('election_campaign_post_button_padding_right');
	$election_campaign_custom_css .='.postbtn a, #comments input[type="submit"].submit{';
		$election_campaign_custom_css .='padding-left: '.esc_attr($election_campaign_post_button_padding_right).'px !important; padding-right: '.esc_attr($election_campaign_post_button_padding_right).'px !important;';
	$election_campaign_custom_css .='}';

	$election_campaign_post_button_border_radius = get_theme_mod('election_campaign_post_button_border_radius');
	$election_campaign_custom_css .='.postbtn a, #comments input[type="submit"].submit{';
		$election_campaign_custom_css .='border-radius: '.esc_attr($election_campaign_post_button_border_radius).'px !important;';
	$election_campaign_custom_css .='}';

	// button letter spacing
	$election_campaign_button_letter_spacing = get_theme_mod('election_campaign_button_letter_spacing', '0');
	$election_campaign_custom_css .='.postbtn a {';
		$election_campaign_custom_css .='letter-spacing: '.esc_attr($election_campaign_button_letter_spacing).'px;';
	$election_campaign_custom_css .='}';		
	
	//Button Shape
	$election_campaign_btn_shape = get_theme_mod('election_campaign_btn_shape', 'Round');
	if($election_campaign_btn_shape == 'Square' ){
		$election_campaign_custom_css .= '.postbtn a, .postbtn a i{';
			$election_campaign_custom_css .= ' border-radius: 0;';
		$election_campaign_custom_css .= '}';
	}elseif($election_campaign_btn_shape == 'Round' ){
		$election_campaign_custom_css .= '.postbtn a{';
			$election_campaign_custom_css .= ' border-radius: .3em;';
		$election_campaign_custom_css .= '}';
		$election_campaign_custom_css .= '.postbtn a i{';
			$election_campaign_custom_css .= ' border-radius: .3em 0 0 .3em;';
		$election_campaign_custom_css .= '}';
	}elseif($election_campaign_btn_shape == 'Pill' ){
		$election_campaign_custom_css .= '.postbtn a{';
			$election_campaign_custom_css .= ' border-radius: 2em;';
		$election_campaign_custom_css .= '}';
		$election_campaign_custom_css .= '.postbtn a i{';
			$election_campaign_custom_css .= ' border-radius: 2em 0 0 2em;';
		$election_campaign_custom_css .= '}';
	}

	$election_campaign_post_comment_enable = get_theme_mod('election_campaign_post_comment_enable',true);
	if($election_campaign_post_comment_enable == false){
		$election_campaign_custom_css .='#comments{';
			$election_campaign_custom_css .='display: none;';
		$election_campaign_custom_css .='}';
	}

	/*----------- Preloader Color Option  ----------------*/
	$election_campaign_preloader_bg_color_option = get_theme_mod('election_campaign_preloader_bg_color_option');
	$election_campaign_preloader_icon_color_option = get_theme_mod('election_campaign_preloader_icon_color_option');
	$election_campaign_custom_css .='.frame{';
		$election_campaign_custom_css .='background-color: '.esc_attr($election_campaign_preloader_bg_color_option).';';
	$election_campaign_custom_css .='}';
	$election_campaign_custom_css .='.dot-1,.dot-2,.dot-3{';
		$election_campaign_custom_css .='background-color: '.esc_attr($election_campaign_preloader_icon_color_option).';';
	$election_campaign_custom_css .='}';

	// preloader type
	$election_campaign_theme_lay = get_theme_mod( 'election_campaign_preloader_type','First Preloader Type');
    if($election_campaign_theme_lay == 'First Preloader Type'){
		$election_campaign_custom_css .='.dot-1, .dot-2, .dot-3{';
			$election_campaign_custom_css .='';
		$election_campaign_custom_css .='}';
	}else if($election_campaign_theme_lay == 'Second Preloader Type'){
		$election_campaign_custom_css .='.dot-1, .dot-2, .dot-3{';
			$election_campaign_custom_css .='border-radius:0;';
		$election_campaign_custom_css .='}';
	}

    // preloader background image
	$election_campaign_preloader_bg_img = get_theme_mod('election_campaign_preloader_bg_img');
	if($election_campaign_preloader_bg_img != false){
		$election_campaign_custom_css .='.frame {';
			$election_campaign_custom_css .='background: url('.esc_attr($election_campaign_preloader_bg_img).');-webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover;';
		$election_campaign_custom_css .='}';
	}		

	/*------------------ Skin Option  -------------------*/
	$election_campaign_theme_lay = get_theme_mod( 'election_campaign_background_skin','Without Background');
    if($election_campaign_theme_lay == 'With Background'){
		$election_campaign_custom_css .='.inner-service,#sidebar .widget,.woocommerce ul.products li.product, .woocommerce-page ul.products li.product,.front-page-content,.background-img-skin{';
			$election_campaign_custom_css .='background-color: #fff; padding:20px;';
		$election_campaign_custom_css .='}';
		$election_campaign_custom_css .='.login-box a{';
			$election_campaign_custom_css .='background-color: #fff;';
		$election_campaign_custom_css .='}';
	}else if($election_campaign_theme_lay == 'Without Background'){
		$election_campaign_custom_css .='{';
			$election_campaign_custom_css .='background-color: transparent;';
		$election_campaign_custom_css .='}';
	}

	/*-------------- Woocommerce Button  -------------------*/
	$election_campaign_woocommerce_button_padding_top = get_theme_mod('election_campaign_woocommerce_button_padding_top',12);
	$election_campaign_custom_css .='.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt{';
		$election_campaign_custom_css .='padding-top: '.esc_attr($election_campaign_woocommerce_button_padding_top).'px; padding-bottom: '.esc_attr($election_campaign_woocommerce_button_padding_top).'px;';
	$election_campaign_custom_css .='}';
	

	$election_campaign_woocommerce_button_padding_right = get_theme_mod('election_campaign_woocommerce_button_padding_right',15);
	$election_campaign_custom_css .='.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt{';
		$election_campaign_custom_css .='padding-left: '.esc_attr($election_campaign_woocommerce_button_padding_right).'px; padding-right: '.esc_attr($election_campaign_woocommerce_button_padding_right).'px;';
	$election_campaign_custom_css .='}';

	$election_campaign_woocommerce_button_border_radius = get_theme_mod('election_campaign_woocommerce_button_border_radius',0);
	$election_campaign_custom_css .='.woocommerce ul.products li.product .button, a.checkout-button.button.alt.wc-forward,.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt, .woocommerce a.added_to_cart{';
		$election_campaign_custom_css .='border-radius: '.esc_attr($election_campaign_woocommerce_button_border_radius).'px;';
	$election_campaign_custom_css .='}';

	$election_campaign_related_product_enable = get_theme_mod('election_campaign_related_product_enable',true);
	if($election_campaign_related_product_enable == false){
		$election_campaign_custom_css .='.related.products{';
			$election_campaign_custom_css .='display: none;';
		$election_campaign_custom_css .='}';
	}

	$election_campaign_woocommerce_product_border_enable = get_theme_mod('election_campaign_woocommerce_product_border_enable',false);
	if($election_campaign_woocommerce_product_border_enable == false){
		$election_campaign_custom_css .='.products li{';
			$election_campaign_custom_css .='border: none;';
		$election_campaign_custom_css .='}';
	}else if($election_campaign_woocommerce_product_border_enable == true){
		$election_campaign_custom_css .='.products li{';
			$election_campaign_custom_css .='border: 1px solid #ccc;';
		$election_campaign_custom_css .='}';
	}

	$election_campaign_woocommerce_product_padding_top = get_theme_mod('election_campaign_woocommerce_product_padding_top',0);
	$election_campaign_custom_css .='.woocommerce ul.products li.product, .woocommerce-page ul.products li.product{';
		$election_campaign_custom_css .='padding-top: '.esc_attr($election_campaign_woocommerce_product_padding_top).'px !important; padding-bottom: '.esc_attr($election_campaign_woocommerce_product_padding_top).'px !important;';
	$election_campaign_custom_css .='}';

	$election_campaign_woocommerce_product_padding_right = get_theme_mod('election_campaign_woocommerce_product_padding_right',0);
	$election_campaign_custom_css .='.woocommerce ul.products li.product, .woocommerce-page ul.products li.product{';
		$election_campaign_custom_css .='padding-left: '.esc_attr($election_campaign_woocommerce_product_padding_right).'px !important; padding-right: '.esc_attr($election_campaign_woocommerce_product_padding_right).'px !important;';
	$election_campaign_custom_css .='}';

	$election_campaign_woocommerce_product_border_radius = get_theme_mod('election_campaign_woocommerce_product_border_radius',3);
	$election_campaign_custom_css .='.woocommerce ul.products li.product, .woocommerce-page ul.products li.product{';
		$election_campaign_custom_css .='border-radius: '.esc_attr($election_campaign_woocommerce_product_border_radius).'px;';
	$election_campaign_custom_css .='}';

	$election_campaign_woocommerce_product_box_shadow = get_theme_mod('election_campaign_woocommerce_product_box_shadow', 0);
	$election_campaign_custom_css .='.woocommerce ul.products li.product, .woocommerce-page ul.products li.product{';
		$election_campaign_custom_css .='box-shadow: '.esc_attr($election_campaign_woocommerce_product_box_shadow).'px '.esc_attr($election_campaign_woocommerce_product_box_shadow).'px '.esc_attr($election_campaign_woocommerce_product_box_shadow).'px #ddd;';
	$election_campaign_custom_css .='}';

	$election_campaign_woo_product_sale_top_bottom_padding = get_theme_mod('election_campaign_woo_product_sale_top_bottom_padding', 0);
	$election_campaign_woo_product_sale_left_right_padding = get_theme_mod('election_campaign_woo_product_sale_left_right_padding', 0);
	$election_campaign_custom_css .='.woocommerce span.onsale{';
		$election_campaign_custom_css .='padding-top: '.esc_attr($election_campaign_woo_product_sale_top_bottom_padding).'px; padding-bottom: '.esc_attr($election_campaign_woo_product_sale_top_bottom_padding).'px; padding-left: '.esc_attr($election_campaign_woo_product_sale_left_right_padding).'px; padding-right: '.esc_attr($election_campaign_woo_product_sale_left_right_padding).'px; display:inline-block;';
	$election_campaign_custom_css .='}';

	$election_campaign_woo_product_sale_border_radius = get_theme_mod('election_campaign_woo_product_sale_border_radius',0);
	$election_campaign_custom_css .='.woocommerce span.onsale {';
		$election_campaign_custom_css .='border-radius: '.esc_attr($election_campaign_woo_product_sale_border_radius).'px;';
	$election_campaign_custom_css .='}';

	$election_campaign_woo_product_sale_position = get_theme_mod('election_campaign_woo_product_sale_position', 'Left');
	if($election_campaign_woo_product_sale_position == 'Right' ){
		$election_campaign_custom_css .='.woocommerce ul.products li.product .onsale{';
			$election_campaign_custom_css .=' left:auto; right:0;';
		$election_campaign_custom_css .='}';
	}elseif($election_campaign_woo_product_sale_position == 'Left' ){
		$election_campaign_custom_css .='.woocommerce ul.products li.product .onsale{';
			$election_campaign_custom_css .=' left:0; right:auto;';
		$election_campaign_custom_css .='}';
	}

	$election_campaign_wooproduct_sale_font_size = get_theme_mod('election_campaign_wooproduct_sale_font_size',14);
	$election_campaign_custom_css .='.woocommerce span.onsale{';
		$election_campaign_custom_css .='font-size: '.esc_attr($election_campaign_wooproduct_sale_font_size).'px;';
	$election_campaign_custom_css .='}';

	// Responsive Media
	$election_campaign_post_date = get_theme_mod( 'election_campaign_display_post_date',true);
	if($election_campaign_post_date == true && get_theme_mod( 'election_campaign_metafields_date',true) != true){
    	$election_campaign_custom_css .='.metabox .entry-date{';
			$election_campaign_custom_css .='display:none;';
		$election_campaign_custom_css .='} ';
	}
    if($election_campaign_post_date == true){
    	$election_campaign_custom_css .='@media screen and (max-width:575px) {';
		$election_campaign_custom_css .='.metabox .entry-date{';
			$election_campaign_custom_css .='display:inline-block;';
		$election_campaign_custom_css .='} }';
	}else if($election_campaign_post_date == false){
		$election_campaign_custom_css .='@media screen and (max-width:575px){';
		$election_campaign_custom_css .='.metabox .entry-date{';
			$election_campaign_custom_css .='display:none;';
		$election_campaign_custom_css .='} }';
	}

	$election_campaign_post_author = get_theme_mod( 'election_campaign_display_post_author',true);
	if($election_campaign_post_author == true && get_theme_mod( 'election_campaign_metafields_author',true) != true){
    	$election_campaign_custom_css .='.metabox .entry-author{';
			$election_campaign_custom_css .='display:none;';
		$election_campaign_custom_css .='} ';
	}
    if($election_campaign_post_author == true){
    	$election_campaign_custom_css .='@media screen and (max-width:575px) {';
		$election_campaign_custom_css .='.metabox .entry-author{';
			$election_campaign_custom_css .='display:inline-block;';
		$election_campaign_custom_css .='} }';
	}else if($election_campaign_post_author == false){
		$election_campaign_custom_css .='@media screen and (max-width:575px){';
		$election_campaign_custom_css .='.metabox .entry-author{';
			$election_campaign_custom_css .='display:none;';
		$election_campaign_custom_css .='} }';
	}

	$election_campaign_post_comment = get_theme_mod( 'election_campaign_display_post_comment',true);
	if($election_campaign_post_comment == true && get_theme_mod( 'election_campaign_metafields_comment',true) != true){
    	$election_campaign_custom_css .='.metabox .entry-comments{';
			$election_campaign_custom_css .='display:none;';
		$election_campaign_custom_css .='} ';
	}
    if($election_campaign_post_comment == true){
    	$election_campaign_custom_css .='@media screen and (max-width:575px) {';
		$election_campaign_custom_css .='.metabox .entry-comments{';
			$election_campaign_custom_css .='display:inline-block;';
		$election_campaign_custom_css .='} }';
	}else if($election_campaign_post_comment == false){
		$election_campaign_custom_css .='@media screen and (max-width:575px){';
		$election_campaign_custom_css .='.metabox .entry-comments{';
			$election_campaign_custom_css .='display:none;';
		$election_campaign_custom_css .='} }';
	}

	$election_campaign_post_time = get_theme_mod( 'election_campaign_display_post_time',true);
	if($election_campaign_post_time == true && get_theme_mod( 'election_campaign_metafields_time',true) != true){
    	$election_campaign_custom_css .='.metabox .entry-time{';
			$election_campaign_custom_css .='display:none;';
		$election_campaign_custom_css .='} ';
	}
    if($election_campaign_post_time == true){
    	$election_campaign_custom_css .='@media screen and (max-width:575px) {';
		$election_campaign_custom_css .='.metabox .entry-time{';
			$election_campaign_custom_css .='display:inline-block;';
		$election_campaign_custom_css .='} }';
	}else if($election_campaign_post_time == false){
		$election_campaign_custom_css .='@media screen and (max-width:575px){';
		$election_campaign_custom_css .='.metabox .entry-time{';
			$election_campaign_custom_css .='display:none;';
		$election_campaign_custom_css .='} }';
	}

	if($election_campaign_post_date == false && $election_campaign_post_author == false && $election_campaign_post_comment == false && $election_campaign_post_time == false){
		$election_campaign_custom_css .='@media screen and (max-width:575px) {';
    	$election_campaign_custom_css .='.metabox {';
			$election_campaign_custom_css .='display:none;';
		$election_campaign_custom_css .='} }';
	}

	$election_campaign_metafields_date = get_theme_mod( 'election_campaign_metafields_date',true);
	$election_campaign_metafields_author = get_theme_mod( 'election_campaign_metafields_author',true);
	$election_campaign_metafields_comment = get_theme_mod( 'election_campaign_metafields_comment',true);
	$election_campaign_metafields_time = get_theme_mod( 'election_campaign_metafields_time',true);
	if($election_campaign_metafields_date == false && $election_campaign_metafields_author == false && $election_campaign_metafields_comment == false && $election_campaign_metafields_time == false){
		$election_campaign_custom_css .='@media screen and (min-width:576px) {';
    	$election_campaign_custom_css .='.metabox {';
			$election_campaign_custom_css .='display:none;';
		$election_campaign_custom_css .='} }';
	}

	$election_campaign_slider = get_theme_mod( 'election_campaign_display_slider',false);
	 if($election_campaign_slider == true && get_theme_mod( 'election_campaign_slider_hide', false) == false){
     	$election_campaign_custom_css .='#slider{';
	 		$election_campaign_custom_css .='display:none;';
		$election_campaign_custom_css .='} ';
	 }
    if($election_campaign_slider == true){
    	$election_campaign_custom_css .='@media screen and (max-width:575px) {';
		$election_campaign_custom_css .='#slider{';
			$election_campaign_custom_css .='display:block;';
		$election_campaign_custom_css .='} }';
	}else if($election_campaign_slider == false){
		$election_campaign_custom_css .='@media screen and (max-width:575px){';
		$election_campaign_custom_css .='#slider{';
			$election_campaign_custom_css .='display:none;';
		$election_campaign_custom_css .='} }';
	}

	$election_campaign_sidebar = get_theme_mod( 'election_campaign_display_sidebar',true);
    if($election_campaign_sidebar == true){
    	$election_campaign_custom_css .='@media screen and (max-width:575px) {';
		$election_campaign_custom_css .='#sidebar{';
			$election_campaign_custom_css .='display:block;';
		$election_campaign_custom_css .='} }';
	}else if($election_campaign_sidebar == false){
		$election_campaign_custom_css .='@media screen and (max-width:575px) {';
		$election_campaign_custom_css .='#sidebar{';
			$election_campaign_custom_css .='display:none;';
		$election_campaign_custom_css .='} }';
	}

	$election_campaign_scroll = get_theme_mod( 'election_campaign_display_scrolltop',true);
	if($election_campaign_scroll == true && get_theme_mod( 'election_campaign_hide_show_scroll',true) != true){
    	$election_campaign_custom_css .='#scrollbutton {';
			$election_campaign_custom_css .='display:none;';
		$election_campaign_custom_css .='} ';
	}
    if($election_campaign_scroll == true){
    	$election_campaign_custom_css .='@media screen and (max-width:575px) {';
		$election_campaign_custom_css .='#scrollbutton {';
			$election_campaign_custom_css .='display:block;';
		$election_campaign_custom_css .='} }';
	}else if($election_campaign_scroll == false){
		$election_campaign_custom_css .='@media screen and (max-width:575px){';
		$election_campaign_custom_css .='#scrollbutton {';
			$election_campaign_custom_css .='display:none;';
		$election_campaign_custom_css .='} }';
	}

	$election_campaign_preloader = get_theme_mod( 'election_campaign_display_preloader',false);
	if($election_campaign_preloader == true && get_theme_mod( 'election_campaign_preloader',false) == false){
		$election_campaign_custom_css .='@media screen and (min-width:575px) {';
    	$election_campaign_custom_css .='.frame{';
			$election_campaign_custom_css .=' visibility: hidden;';
		$election_campaign_custom_css .='} }';
	}
    if($election_campaign_preloader == true){
    	$election_campaign_custom_css .='@media screen and (max-width:575px) {';
		$election_campaign_custom_css .='.frame{';
			$election_campaign_custom_css .='visibility:visible;';
		$election_campaign_custom_css .='} }';
	}else if($election_campaign_preloader == false){
		$election_campaign_custom_css .='@media screen and (max-width:575px){';
		$election_campaign_custom_css .='.frame{';
			$election_campaign_custom_css .='visibility: hidden;';
		$election_campaign_custom_css .='} }';
	}

	$election_campaign_search = get_theme_mod( 'election_campaign_display_search_category',true);
	if($election_campaign_search == true && get_theme_mod( 'election_campaign_search_enable_disable',true) != true){
    	$election_campaign_custom_css .='.search-cat-box{';
			$election_campaign_custom_css .='display:none;';
		$election_campaign_custom_css .='} ';
	}
    if($election_campaign_search == true){
    	$election_campaign_custom_css .='@media screen and (max-width:575px) {';
		$election_campaign_custom_css .='.search-cat-box{';
			$election_campaign_custom_css .='display:block;';
		$election_campaign_custom_css .='} }';
	}else if($election_campaign_search == false){
		$election_campaign_custom_css .='@media screen and (max-width:575px){';
		$election_campaign_custom_css .='.search-cat-box{';
			$election_campaign_custom_css .='display:none;';
		$election_campaign_custom_css .='} }';
	}

	$election_campaign_myaccount = get_theme_mod( 'election_campaign_display_myaccount',true);
	if($election_campaign_myaccount == true && get_theme_mod( 'election_campaign_myaccount_enable_disable',true) != true){
    	$election_campaign_custom_css .='.login-box{';
			$election_campaign_custom_css .='display:none;';
		$election_campaign_custom_css .='} ';
	}
    if($election_campaign_myaccount == true){
    	$election_campaign_custom_css .='@media screen and (max-width:575px) {';
		$election_campaign_custom_css .='.login-box{';
			$election_campaign_custom_css .='display:block;';
		$election_campaign_custom_css .='} }';
	}else if($election_campaign_myaccount == false){
		$election_campaign_custom_css .='@media screen and (max-width:575px){';
		$election_campaign_custom_css .='.login-box{';
			$election_campaign_custom_css .='display:none;';
		$election_campaign_custom_css .='} }';
	}

	// menu settings
	$election_campaign_menu_font_size_option = get_theme_mod('election_campaign_menu_font_size_option');
	$election_campaign_custom_css .='.primary-navigation ul li a{';
		$election_campaign_custom_css .='font-size: '.esc_attr($election_campaign_menu_font_size_option).'px;';
	$election_campaign_custom_css .='}';

	$election_campaign_menu_padding = get_theme_mod('election_campaign_menu_padding');
	$election_campaign_custom_css .='.primary-navigation ul li a{';
		$election_campaign_custom_css .='padding: '.esc_attr($election_campaign_menu_padding).'px;';
	$election_campaign_custom_css .='}';

	$election_campaign_theme_lay = get_theme_mod( 'election_campaign_text_tranform_menu','Capitalize');
    if($election_campaign_theme_lay == 'Uppercase'){
		$election_campaign_custom_css .='.primary-navigation ul li a{';
			$election_campaign_custom_css .='text-transform: uppercase !important;';
		$election_campaign_custom_css .='}';
	}else if($election_campaign_theme_lay == 'Lowercase'){
		$election_campaign_custom_css .='.primary-navigation ul li a{';
			$election_campaign_custom_css .='text-transform: lowercase !important;';
		$election_campaign_custom_css .='}';
	}
	else if($election_campaign_theme_lay == 'Capitalize'){
		$election_campaign_custom_css .='.primary-navigation ul li a{';
			$election_campaign_custom_css .='text-transform: capitalize !important;';
		$election_campaign_custom_css .='}';
	}

	//  comment form width
	$election_campaign_comment_form_width = get_theme_mod( 'election_campaign_comment_form_width');
	$election_campaign_custom_css .='#comments textarea{';
		$election_campaign_custom_css .='width: '.esc_attr($election_campaign_comment_form_width).'%;';
	$election_campaign_custom_css .='}';

	$election_campaign_title_comment_form = get_theme_mod('election_campaign_title_comment_form', 'Leave a Reply');
	if($election_campaign_title_comment_form == ''){
		$election_campaign_custom_css .='#comments h2#reply-title {';
			$election_campaign_custom_css .='display: none;';
		$election_campaign_custom_css .='}';
	}

	$election_campaign_comment_form_button_content = get_theme_mod('election_campaign_comment_form_button_content', 'Post Comment');
	if($election_campaign_comment_form_button_content == ''){
		$election_campaign_custom_css .='#comments p.form-submit {';
			$election_campaign_custom_css .='display: none;';
		$election_campaign_custom_css .='}';
	}

	// featured image setting
	$election_campaign_image_border_radius = get_theme_mod('election_campaign_image_border_radius', 0);
	$election_campaign_custom_css .='.layout2 .box-image img,.layout1 .box-image img,.layout3 .box-image img{';
		$election_campaign_custom_css .='border-radius: '.esc_attr($election_campaign_image_border_radius).'%;';
	$election_campaign_custom_css .='}';

	$election_campaign_image_box_shadow = get_theme_mod('election_campaign_image_box_shadow',0);
	$election_campaign_custom_css .='.layout2 .box-image img,.layout1 .box-image img,.layout3 .box-image img{';
		$election_campaign_custom_css .='box-shadow: '.esc_attr($election_campaign_image_box_shadow).'px '.esc_attr($election_campaign_image_box_shadow).'px '.esc_attr($election_campaign_image_box_shadow).'px #b5b5b5;';
	$election_campaign_custom_css .='}';

	// blog post Pagination Alignment
	$election_campaign_post_pagination_alignment = get_theme_mod( 'election_campaign_post_pagination_option','Left');
	if($election_campaign_post_pagination_alignment == 'Left'){
		$election_campaign_custom_css .='.navigation nav.pagination{';
			$election_campaign_custom_css .='justify-content: left;';
		$election_campaign_custom_css .='}';
	}else if($election_campaign_post_pagination_alignment == 'Center'){
		$election_campaign_custom_css .='.navigation nav.pagination{';
			$election_campaign_custom_css .='justify-content: center;';
		$election_campaign_custom_css .='}';
	}else if($election_campaign_post_pagination_alignment == 'Right'){
		$election_campaign_custom_css .='.navigation nav.pagination{';
			$election_campaign_custom_css .='justify-content: right;';
		$election_campaign_custom_css .='}';
	}

	// grid post image setting
	$election_campaign_grid_image_border_radius = get_theme_mod('election_campaign_grid_image_border_radius', 0);
	$election_campaign_custom_css .='.inner-service .gridbox .box-image img{';
		$election_campaign_custom_css .='border-radius: '.esc_attr($election_campaign_grid_image_border_radius).'%;';
	$election_campaign_custom_css .='}';

	$election_campaign_grid_image_box_shadow = get_theme_mod('election_campaign_grid_image_box_shadow',0);
	$election_campaign_custom_css .='.inner-service .gridbox .box-image img{';
		$election_campaign_custom_css .='box-shadow: '.esc_attr($election_campaign_grid_image_box_shadow).'px '.esc_attr($election_campaign_grid_image_box_shadow).'px '.esc_attr($election_campaign_grid_image_box_shadow).'px #b5b5b5;';
	$election_campaign_custom_css .='}';

	// Post Block
	$election_campaign_post_block_option = get_theme_mod( 'election_campaign_post_block_option','By Block');
    if($election_campaign_post_block_option == 'By Without Block'){
		$election_campaign_custom_css .='.inner-service, .mainbox-post, .layout2 .mainbox, .layout1 .mainbox, .post_format-post-format-video,.post_format-post-format-image,.post_format-post-format-audio, .post_format-post-format-gallery{';
			$election_campaign_custom_css .='border:none; margin:30px 0;';
		$election_campaign_custom_css .='}';
	}

	//Grid Post Block
	$election_campaign_grid_post_block_option = get_theme_mod( 'election_campaign_grid_post_block_option','By Block');
    if($election_campaign_grid_post_block_option == 'By Without Block'){
		$election_campaign_custom_css .='.inner-service .gridbox {';
			$election_campaign_custom_css .='border:none; margin:30px 0;';
		$election_campaign_custom_css .='}';
	}

	// post image 
	$election_campaign_post_featured_color = get_theme_mod('election_campaign_post_featured_color', 'var(--first-theme-color)');
	$election_campaign_post_featured_image = get_theme_mod('election_campaign_post_featured_image','Image');
	if($election_campaign_post_featured_image == 'Color'){
		$election_campaign_custom_css .='.post-color{';
			$election_campaign_custom_css .='background-color: '.esc_attr($election_campaign_post_featured_color).';';
		$election_campaign_custom_css .='}';
	}

	// featured image dimention
	$election_campaign_post_featured_image_dimention = get_theme_mod('election_campaign_post_featured_image_dimention', 'Default');
	$election_campaign_post_featured_image_custom_width = get_theme_mod('election_campaign_post_featured_image_custom_width');
	$election_campaign_post_featured_image_custom_height = get_theme_mod('election_campaign_post_featured_image_custom_height');
	if($election_campaign_post_featured_image_dimention == 'Custom'){
		$election_campaign_custom_css .='.box-image img{';
			$election_campaign_custom_css .='width: '.esc_attr($election_campaign_post_featured_image_custom_width).'px; height: '.esc_attr($election_campaign_post_featured_image_custom_height).'px;';
		$election_campaign_custom_css .='}';
	}

	// featured image dimention
	$election_campaign_custom_post_color_width = get_theme_mod('election_campaign_custom_post_color_width');
	$election_campaign_custom_post_color_height = get_theme_mod('election_campaign_custom_post_color_height');
	if($election_campaign_post_featured_image == 'Color'){
		$election_campaign_custom_css .='.post-color{';
			$election_campaign_custom_css .='width: '.esc_attr($election_campaign_custom_post_color_width).'px; height: '.esc_attr($election_campaign_custom_post_color_height).'px;';
		$election_campaign_custom_css .='}';
	}

	// single featured image dimention
	$election_campaign_single_post_featured_image_dimention = get_theme_mod('election_campaign_single_post_featured_image_dimention', 'Default');
	$election_campaign_single_post_featured_image_custom_width = get_theme_mod('election_campaign_single_post_featured_image_custom_width');
	$election_campaign_single_post_featured_image_custom_height = get_theme_mod('election_campaign_single_post_featured_image_custom_height');
	if($election_campaign_single_post_featured_image_dimention == 'Custom'){
		$election_campaign_custom_css .='.single-post-page .feature-box img{';
			$election_campaign_custom_css .='width: '.esc_attr($election_campaign_single_post_featured_image_custom_width).'px!important; height: '.esc_attr($election_campaign_single_post_featured_image_custom_height).'px!important;';
		$election_campaign_custom_css .='}';
	}

	// site title font size
	$election_campaign_site_title_font_size = get_theme_mod('election_campaign_site_title_font_size', 25);
	$election_campaign_custom_css .='.logo .site-title{';
	$election_campaign_custom_css .='font-size: '.esc_attr($election_campaign_site_title_font_size).'px;';
	$election_campaign_custom_css .='}';

	// Logo Padding
	$election_campaign_logo_padding = get_theme_mod('election_campaign_logo_padding');
	if($election_campaign_logo_padding != false){
		$election_campaign_custom_css .='.logo{';
			$election_campaign_custom_css .='padding: '.esc_attr($election_campaign_logo_padding).'px;';
		$election_campaign_custom_css .='}';
	}

	// site tagline font size
	$election_campaign_site_tagline_font_size = get_theme_mod('election_campaign_site_tagline_font_size', 13);
	$election_campaign_custom_css .='p.site-description{';
	$election_campaign_custom_css .='font-size: '.esc_attr($election_campaign_site_tagline_font_size).'px;';
	$election_campaign_custom_css .='}';

	// woocommerce Product Navigation
	$election_campaign_wooproducts_nav = get_theme_mod('election_campaign_wooproducts_nav', 'Yes');
	if($election_campaign_wooproducts_nav == 'No'){
		$election_campaign_custom_css .='.woocommerce nav.woocommerce-pagination{';
			$election_campaign_custom_css .='display: none;';
		$election_campaign_custom_css .='}';
	}

	// site title color
	$election_campaign_site_title_color = get_theme_mod('election_campaign_site_title_color');
	$election_campaign_custom_css .='.site-title a{';
		$election_campaign_custom_css .='color: '.esc_attr($election_campaign_site_title_color).' !important;';
	$election_campaign_custom_css .='}';

	// site tagline color
	$election_campaign_site_tagline_color = get_theme_mod('election_campaign_site_tagline_color');
	$election_campaign_custom_css .='.site-description{';
		$election_campaign_custom_css .='color: '.esc_attr($election_campaign_site_tagline_color).' !important;';
	$election_campaign_custom_css .='}';
	
	// site toggle button color
	$election_campaign_toggle_button_color = get_theme_mod('election_campaign_toggle_button_color');
	$election_campaign_custom_css .='.toggle-menu i{';
		$election_campaign_custom_css .='color: '.esc_attr($election_campaign_toggle_button_color).' !important;';
	$election_campaign_custom_css .='}';

	//Copyright text color
	$election_campaign_copyright_text_color = get_theme_mod('election_campaign_copyright_text_color');
	$election_campaign_custom_css .='.copyright-wrapper, .copyright-wrapper p a{';
		$election_campaign_custom_css .='color: '.esc_attr($election_campaign_copyright_text_color).';';
	$election_campaign_custom_css .='}';

	//Copyright text hover color
	$election_campaign_copyright_text_hover_color = get_theme_mod('election_campaign_copyright_text_hover_color');
	$election_campaign_custom_css .='.copyright-wrapper:hover, .copyright-wrapper p a:hover{';
		$election_campaign_custom_css .='color: '.esc_attr($election_campaign_copyright_text_hover_color).';';
	$election_campaign_custom_css .='}';

	//Copyright background css
	$election_campaign_copyright_text_background = get_theme_mod('election_campaign_copyright_text_background');
	$election_campaign_custom_css .='.copyright-wrapper{';
		$election_campaign_custom_css .='background-color: '.esc_attr($election_campaign_copyright_text_background).';';
	$election_campaign_custom_css .='}';

	// menu font weight
	$election_campaign_font_weight_option_menu = get_theme_mod( 'election_campaign_font_weight_option_menu');
	if($election_campaign_font_weight_option_menu != ''){
		$election_campaign_custom_css .='.primary-navigation ul li a{';
			$election_campaign_custom_css .='font-weight: '.esc_attr($election_campaign_font_weight_option_menu).'!important;';
		$election_campaign_custom_css .='}';
	}

	//Menu Text Transform
	$election_campaign_theme_lay = get_theme_mod( 'election_campaign_menu_text_tranform','Capitalize');
	if($election_campaign_theme_lay == 'Uppercase'){
		$election_campaign_custom_css .='.primary-navigation ul li a{';
			$election_campaign_custom_css .='text-transform: uppercase !important;';
		$election_campaign_custom_css .='}';
	}else if($election_campaign_theme_lay == 'Lowercase'){
		$election_campaign_custom_css .='.primary-navigation ul li a{';
			$election_campaign_custom_css .='text-transform: lowercase !important;';
		$election_campaign_custom_css .='}';
	}
	else if($election_campaign_theme_lay == 'Capitalize'){
		$election_campaign_custom_css .='.primary-navigation ul li a{';
			$election_campaign_custom_css .='text-transform: capitalize !important;';
		$election_campaign_custom_css .='}';
	}

	// Menu Item Hover Style	
	$election_campaign_menus_item = get_theme_mod( 'election_campaign_menus_item_style','None');
    if($election_campaign_menus_item == 'None'){
		$election_campaign_custom_css .='.primary-navigation ul li a{';
			$election_campaign_custom_css .='';
		$election_campaign_custom_css .='}';
	}else if($election_campaign_menus_item == 'Zoom In'){
		$election_campaign_custom_css .='.primary-navigation ul li a:hover{';
			$election_campaign_custom_css .='transition: all 0.3s ease-in-out !important; transform: scale(1.1) !important;';
		$election_campaign_custom_css .='}';
	}	

	// menu color
	$election_campaign_menu_color = get_theme_mod('election_campaign_menu_color');

	$election_campaign_custom_css .='.primary-navigation a, .primary-navigation ul li a, #site-navigation li a{';
			$election_campaign_custom_css .='color: '.esc_attr($election_campaign_menu_color).' !important;';
	$election_campaign_custom_css .='}';

// Sub menu color
	$election_campaign_sub_menu_color = get_theme_mod('election_campaign_sub_menu_color');

	$election_campaign_custom_css .='.primary-navigation ul.sub-menu a, .primary-navigation ul.sub-menu li a, #site-navigation ul.sub-menu li a, .primary-navigation ul.children a, .primary-navigation ul.children li a, #site-navigation ul.children li a{';
			$election_campaign_custom_css .='color: '.esc_attr($election_campaign_sub_menu_color).' !important;';
	$election_campaign_custom_css .='}';

// menu hover color
	$election_campaign_menu_hover_color = get_theme_mod('election_campaign_menu_hover_color');

	$election_campaign_custom_css .='.primary-navigation a:hover, .primary-navigation ul li a:hover, .primary-navigation .current_page_item > a:hover, .primary-navigation .current-menu-item > a:hover, .primary-navigation .current_page_ancestor > a:hover, #site-navigation li a:hover{';
			$election_campaign_custom_css .='color: '.esc_attr($election_campaign_menu_hover_color).' !important;';
	$election_campaign_custom_css .='}';

// Sub menu hover color
	$election_campaign_sub_menu_hover_color = get_theme_mod('election_campaign_sub_menu_hover_color');

	$election_campaign_custom_css .='.primary-navigation ul.sub-menu a:hover, .primary-navigation ul.sub-menu li a:hover, .primary-navigation .current_page_item > a:hover, .primary-navigation .current-menu-item > a:hover, .primary-navigation .current_page_ancestor > a:hover, #site-navigation ul.sub-menu li a:hover, .primary-navigation ul.children a:hover, .primary-navigation ul.children li a:hover, #site-navigation ul.children li a:hover{';
			$election_campaign_custom_css .='color: '.esc_attr($election_campaign_sub_menu_hover_color).' !important;';
	$election_campaign_custom_css .='}';	

	/*----------------- Slider -----------------*/

	$election_campaign_slider_hide = get_theme_mod('election_campaign_slider_hide', false);
	if($election_campaign_slider_hide == false){
		$election_campaign_custom_css .='.page-template-home-page #header{';
			$election_campaign_custom_css .='position: static; background-color: #000;';
		$election_campaign_custom_css .='}';
	}

	//slider button bg color
	$election_campaign_slider_btn_bg_color = get_theme_mod('election_campaign_slider_btn_bg_color');
	$election_campaign_custom_css .='#slider .read-more a{';
		$election_campaign_custom_css .='background-color: '.esc_attr($election_campaign_slider_btn_bg_color).';';
	$election_campaign_custom_css .='}';

	//slider button icon bg color
	$election_campaign_slider_btn_iconbg_color = get_theme_mod('election_campaign_slider_btn_iconbg_color');
	$election_campaign_custom_css .='#slider .read-more i{';
		$election_campaign_custom_css .='background-color: '.esc_attr($election_campaign_slider_btn_iconbg_color).';';
	$election_campaign_custom_css .='}';

    // sticky copyright
	$election_campaign_resp_stickycopyright = get_theme_mod( 'election_campaign_stickycopyright_hide_show',false);
	if($election_campaign_resp_stickycopyright == true && get_theme_mod( 'election_campaign_copyright_sticky',false) != true){
    	$election_campaign_custom_css .='.copyright-sticky{';
			$election_campaign_custom_css .='position:static;';
		$election_campaign_custom_css .='} ';
	}

// Hover effect on single post featured image (FIXED)

	$election_campaign_show_featured = get_theme_mod(
		'election_campaign_featured_image_hide_show',
		1
	);

	$election_campaign_hover_effect = get_theme_mod(
		'election_campaign_featured_image_hover',
		'none'
	);

	$election_campaign_hover_duration = get_theme_mod(
		'election_campaign_featured_image_hover_duration',
		0.4
	);

	if ( $election_campaign_show_featured && $election_campaign_hover_effect !== 'none' ) {

		/* BASE RESET (MOST IMPORTANT PART) */
		$election_campaign_custom_css .= '
		.election-campaign-featured-image{
			overflow: hidden;
		}
		.election-campaign-featured-image img{
			transform: scale(1);
			filter: none;
			transition:
				transform ' . esc_attr( $election_campaign_hover_duration ) . 's ease,
				filter ' . esc_attr( $election_campaign_hover_duration ) . 's ease;
			will-change: transform, filter;
		}';

		/* ZOOM IN */
		if ( $election_campaign_hover_effect === 'zoom-in' ) {
			$election_campaign_custom_css .= '
			.election-campaign-featured-image img:hover{
				transform: scale(1.2);
			}';
		}

		/* ZOOM OUT */
		if ( $election_campaign_hover_effect === 'zoom-out' ) {
			$election_campaign_custom_css .= '
			.election-campaign-featured-image img{
				transform: scale(1.2);
			}
			.election-campaign-featured-image img:hover{
				transform: scale(1);
			}';
		}

		/* GRAYSCALE (NORMAL → COLOR ON HOVER) */
		if ( $election_campaign_hover_effect === 'grayscale' ) {
			$election_campaign_custom_css .= '
			.election-campaign-featured-image img{
				filter: grayscale(0%);
			}
			.election-campaign-featured-image img:hover{
				filter: grayscale(100%);
			}';
		}

		/* SEPIA */
		if ( $election_campaign_hover_effect === 'sepia' ) {
			$election_campaign_custom_css .= '
			.election-campaign-featured-image img:hover{
				filter: sepia(100%);
			}';
		}

		/* BLUR */
		if ( $election_campaign_hover_effect === 'blur' ) {
			$election_campaign_custom_css .= '
			.election-campaign-featured-image img:hover{
				filter: blur(3px);
			}';
		}

		/* BRIGHT */
		if ( $election_campaign_hover_effect === 'bright' ) {
			$election_campaign_custom_css .= '
			.election-campaign-featured-image img:hover{
				filter: brightness(1.3);
			}';
		}

		/* TRANSLATE */
		if ( $election_campaign_hover_effect === 'translate' ) {
			$election_campaign_custom_css .= '
			.election-campaign-featured-image img:hover{
				transform: translateY(-10px);
			}';
		}
	}