<?php
	
	$multipurpose_sports_club_tp_theme_css = '';

	// 1st color
	$multipurpose_sports_club_tp_color_option_first = get_theme_mod('multipurpose_sports_club_tp_color_option_first', '#FF3726');
	if ($multipurpose_sports_club_tp_color_option_first) {
		$multipurpose_sports_club_tp_theme_css .= ':root {';
		$multipurpose_sports_club_tp_theme_css .= '--color-primary1: ' . esc_attr($multipurpose_sports_club_tp_color_option_first) . ';';
		$multipurpose_sports_club_tp_theme_css .= '}';
	}
	
	// preloader
	$multipurpose_sports_club_tp_preloader_color1_option = get_theme_mod('multipurpose_sports_club_tp_preloader_color1_option');
	if($multipurpose_sports_club_tp_preloader_color1_option != false){
	$multipurpose_sports_club_tp_theme_css .='.center1{';
		$multipurpose_sports_club_tp_theme_css .='border-color: '.esc_attr($multipurpose_sports_club_tp_preloader_color1_option).' !important;';
	$multipurpose_sports_club_tp_theme_css .='}';
	}
	if($multipurpose_sports_club_tp_preloader_color1_option != false){
	$multipurpose_sports_club_tp_theme_css .='.center1 .ring::before{';
		$multipurpose_sports_club_tp_theme_css .='background: '.esc_attr($multipurpose_sports_club_tp_preloader_color1_option).' !important;';
	$multipurpose_sports_club_tp_theme_css .='}';
	}

	$multipurpose_sports_club_tp_preloader_color2_option = get_theme_mod('multipurpose_sports_club_tp_preloader_color2_option');

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

	$multipurpose_sports_club_tp_preloader_bg_color_option = get_theme_mod('multipurpose_sports_club_tp_preloader_bg_color_option');

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

	$multipurpose_sports_club_tp_footer_bg_color_option = get_theme_mod('multipurpose_sports_club_tp_footer_bg_color_option');


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

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

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

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

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

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

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

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


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