<?php
	
	$notary_services_tp_theme_css = '';

	// 1st color
	$notary_services_tp_color_option_first = get_theme_mod('notary_services_tp_color_option_first', '#E3C470');
	if ($notary_services_tp_color_option_first) {
		$notary_services_tp_theme_css .= ':root {';
		$notary_services_tp_theme_css .= '--color-primary1: ' . esc_attr($notary_services_tp_color_option_first) . ';';
		$notary_services_tp_theme_css .= '}';
	}

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

	$notary_services_tp_preloader_color2_option = get_theme_mod('notary_services_tp_preloader_color2_option');

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

	$notary_services_tp_preloader_bg_color_option = get_theme_mod('notary_services_tp_preloader_bg_color_option');

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

	$notary_services_tp_footer_bg_color_option = get_theme_mod('notary_services_tp_footer_bg_color_option');


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

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

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

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

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

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

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

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


//Footer Font Weight
$notary_services_footer_copyright_title_font_weight = get_theme_mod( 'notary_services_footer_copyright_title_font_weight','');
if($notary_services_footer_copyright_title_font_weight == '100'){
$notary_services_tp_theme_css .='#footer .site-info p {';
    $notary_services_tp_theme_css .='font-weight: 100;';
$notary_services_tp_theme_css .='}';
}else if($notary_services_footer_copyright_title_font_weight == '200'){
$notary_services_tp_theme_css .='#footer .site-info p {';
    $notary_services_tp_theme_css .='font-weight: 200;';
$notary_services_tp_theme_css .='}';
}else if($notary_services_footer_copyright_title_font_weight == '300'){
$notary_services_tp_theme_css .='#footer .site-info p {';
    $notary_services_tp_theme_css .='font-weight: 300;';
$notary_services_tp_theme_css .='}';
}else if($notary_services_footer_copyright_title_font_weight == '400'){
$notary_services_tp_theme_css .='#footer .site-info p {';
    $notary_services_tp_theme_css .='font-weight: 400;';
$notary_services_tp_theme_css .='}';
}else if($notary_services_footer_copyright_title_font_weight == '500'){
$notary_services_tp_theme_css .='#footer .site-info p {';
    $notary_services_tp_theme_css .='font-weight: 500;';
$notary_services_tp_theme_css .='}';
}else if($notary_services_footer_copyright_title_font_weight == '600'){
$notary_services_tp_theme_css .='#footer .site-info p {';
    $notary_services_tp_theme_css .='font-weight: 600;';
$notary_services_tp_theme_css .='}';
}else if($notary_services_footer_copyright_title_font_weight == '700'){
$notary_services_tp_theme_css .='#footer .site-info p {';
    $notary_services_tp_theme_css .='font-weight: 700;';
$notary_services_tp_theme_css .='}';
}else if($notary_services_footer_copyright_title_font_weight == '800'){
$notary_services_tp_theme_css .='#footer .site-info p {';
    $notary_services_tp_theme_css .='font-weight: 800;';
$notary_services_tp_theme_css .='}';
}else if($notary_services_footer_copyright_title_font_weight == '900'){
$notary_services_tp_theme_css .='#footer .site-info p {';
    $notary_services_tp_theme_css .='font-weight: 900;';
$notary_services_tp_theme_css .='}';
}