<?php
	
	$finix_investment_firm_tp_theme_css = '';

	// 1st color
	$finix_investment_firm_tp_color_option_first = get_theme_mod('finix_investment_firm_tp_color_option_first', '#0277FA');
	if ($finix_investment_firm_tp_color_option_first) {
		$finix_investment_firm_tp_theme_css .= ':root {';
		$finix_investment_firm_tp_theme_css .= '--color-primary1: ' . esc_attr($finix_investment_firm_tp_color_option_first) . ';';
		$finix_investment_firm_tp_theme_css .= '}';
	}

	// preloader
	$finix_investment_firm_tp_preloader_color1_option = get_theme_mod('finix_investment_firm_tp_preloader_color1_option');
	if($finix_investment_firm_tp_preloader_color1_option != false){
	$finix_investment_firm_tp_theme_css .='.center1{';
		$finix_investment_firm_tp_theme_css .='border-color: '.esc_attr($finix_investment_firm_tp_preloader_color1_option).' !important;';
	$finix_investment_firm_tp_theme_css .='}';
	}
	if($finix_investment_firm_tp_preloader_color1_option != false){
	$finix_investment_firm_tp_theme_css .='.center1 .ring::before{';
		$finix_investment_firm_tp_theme_css .='background: '.esc_attr($finix_investment_firm_tp_preloader_color1_option).' !important;';
	$finix_investment_firm_tp_theme_css .='}';
	}

	$finix_investment_firm_tp_preloader_color2_option = get_theme_mod('finix_investment_firm_tp_preloader_color2_option');

	if($finix_investment_firm_tp_preloader_color2_option != false){
	$finix_investment_firm_tp_theme_css .='.center2{';
		$finix_investment_firm_tp_theme_css .='border-color: '.esc_attr($finix_investment_firm_tp_preloader_color2_option).' !important;';
	$finix_investment_firm_tp_theme_css .='}';
	}
	if($finix_investment_firm_tp_preloader_color2_option != false){
	$finix_investment_firm_tp_theme_css .='.center2 .ring::before{';
		$finix_investment_firm_tp_theme_css .='background: '.esc_attr($finix_investment_firm_tp_preloader_color2_option).' !important;';
	$finix_investment_firm_tp_theme_css .='}';
	}

	$finix_investment_firm_tp_preloader_bg_color_option = get_theme_mod('finix_investment_firm_tp_preloader_bg_color_option');

	if($finix_investment_firm_tp_preloader_bg_color_option != false){
	$finix_investment_firm_tp_theme_css .='.loader{';
		$finix_investment_firm_tp_theme_css .='background: '.esc_attr($finix_investment_firm_tp_preloader_bg_color_option).';';
	$finix_investment_firm_tp_theme_css .='}';
	}

	$finix_investment_firm_tp_footer_bg_color_option = get_theme_mod('finix_investment_firm_tp_footer_bg_color_option');


	if($finix_investment_firm_tp_footer_bg_color_option != false){
	$finix_investment_firm_tp_theme_css .='#footer{';
		$finix_investment_firm_tp_theme_css .='background: '.esc_attr($finix_investment_firm_tp_footer_bg_color_option).';';
	$finix_investment_firm_tp_theme_css .='}';
	}

	// logo tagline color
	$finix_investment_firm_site_tagline_color = get_theme_mod('finix_investment_firm_site_tagline_color');

	if($finix_investment_firm_site_tagline_color != false){
	$finix_investment_firm_tp_theme_css .='.logo h1 a, .logo p a, .logo p.site-title a{';
	$finix_investment_firm_tp_theme_css .='color: '.esc_attr($finix_investment_firm_site_tagline_color).';';
	$finix_investment_firm_tp_theme_css .='}';
	}

	$finix_investment_firm_logo_tagline_color = get_theme_mod('finix_investment_firm_logo_tagline_color');
	if($finix_investment_firm_logo_tagline_color != false){
	$finix_investment_firm_tp_theme_css .='p.site-description{';
	$finix_investment_firm_tp_theme_css .='color: '.esc_attr($finix_investment_firm_logo_tagline_color).';';
	$finix_investment_firm_tp_theme_css .='}';
	}

	// footer widget title color
	$finix_investment_firm_footer_widget_title_color = get_theme_mod('finix_investment_firm_footer_widget_title_color');
	if($finix_investment_firm_footer_widget_title_color != false){
	$finix_investment_firm_tp_theme_css .='#footer h3, #footer h2.wp-block-heading{';
	$finix_investment_firm_tp_theme_css .='color: '.esc_attr($finix_investment_firm_footer_widget_title_color).';';
	$finix_investment_firm_tp_theme_css .='}';
	}

	// copyright text color
	$finix_investment_firm_footer_copyright_text_color = get_theme_mod('finix_investment_firm_footer_copyright_text_color');
	if($finix_investment_firm_footer_copyright_text_color != false){
	$finix_investment_firm_tp_theme_css .='#footer .site-info p, #footer .site-info a {';
	$finix_investment_firm_tp_theme_css .='color: '.esc_attr($finix_investment_firm_footer_copyright_text_color).'!important;';
	$finix_investment_firm_tp_theme_css .='}';
	}

	// header image title color
	$finix_investment_firm_header_image_title_text_color = get_theme_mod('finix_investment_firm_header_image_title_text_color');
	if($finix_investment_firm_header_image_title_text_color != false){
	$finix_investment_firm_tp_theme_css .='.box-text h2{';
	$finix_investment_firm_tp_theme_css .='color: '.esc_attr($finix_investment_firm_header_image_title_text_color).';';
	$finix_investment_firm_tp_theme_css .='}';
	}

	// menu color
	$finix_investment_firm_menu_color = get_theme_mod('finix_investment_firm_menu_color');
	if($finix_investment_firm_menu_color != false){
	$finix_investment_firm_tp_theme_css .='.main-navigation a{';
	$finix_investment_firm_tp_theme_css .='color: '.esc_attr($finix_investment_firm_menu_color).';';
	$finix_investment_firm_tp_theme_css .='}';
}