<?php

	$pixel_charity_nonprofit_pix_theme_css = "";


	// site title and tagline font size option
	$pixel_charity_nonprofit_site_title_font_size = get_theme_mod('pixel_charity_nonprofit_site_title_font_size', 20);{
		$pixel_charity_nonprofit_pix_theme_css .='h1.site-title a {';
	$pixel_charity_nonprofit_pix_theme_css .='font-size: '.esc_attr($pixel_charity_nonprofit_site_title_font_size).'px;!important';
		$pixel_charity_nonprofit_pix_theme_css .='}';
	}

	// site title and tagline font size option
	$pixel_charity_nonprofit_site_tagline_font_size = get_theme_mod('pixel_charity_nonprofit_site_tagline_font_size', 15);{
		$pixel_charity_nonprofit_pix_theme_css .='p.site-description {';
	$pixel_charity_nonprofit_pix_theme_css .='font-size: '.esc_attr($pixel_charity_nonprofit_site_tagline_font_size).'px;!important';
		$pixel_charity_nonprofit_pix_theme_css .='}';
	}

	//Font Weight
	$pixel_charity_nonprofit_menu_font_weight = get_theme_mod( 'pixel_charity_nonprofit_menu_font_weight','');
	if($pixel_charity_nonprofit_menu_font_weight == '100'){
	$pixel_charity_nonprofit_pix_theme_css .='.nav_menu li a {';
		$pixel_charity_nonprofit_pix_theme_css .='font-weight: 100;';
	$pixel_charity_nonprofit_pix_theme_css .='}';
	}else if($pixel_charity_nonprofit_menu_font_weight == '200'){
	$pixel_charity_nonprofit_pix_theme_css .='.nav_menu li a {';
		$pixel_charity_nonprofit_pix_theme_css .='font-weight: 200;';
	$pixel_charity_nonprofit_pix_theme_css .='}';
	}else if($pixel_charity_nonprofit_menu_font_weight == '300'){
	$pixel_charity_nonprofit_pix_theme_css .='.nav_menu li a {';
		$pixel_charity_nonprofit_pix_theme_css .='font-weight: 300;';
	$pixel_charity_nonprofit_pix_theme_css .='}';
	}else if($pixel_charity_nonprofit_menu_font_weight == '400'){
	$pixel_charity_nonprofit_pix_theme_css .='.nav_menu li a {';
		$pixel_charity_nonprofit_pix_theme_css .='font-weight: 400;';
	$pixel_charity_nonprofit_pix_theme_css .='}';
	}else if($pixel_charity_nonprofit_menu_font_weight == '500'){
	$pixel_charity_nonprofit_pix_theme_css .='.nav_menu li a {';
		$pixel_charity_nonprofit_pix_theme_css .='font-weight: 500;';
	$pixel_charity_nonprofit_pix_theme_css .='}';
	}else if($pixel_charity_nonprofit_menu_font_weight == '600'){
	$pixel_charity_nonprofit_pix_theme_css .='.nav_menu li a {';
		$pixel_charity_nonprofit_pix_theme_css .='font-weight: 600;';
	$pixel_charity_nonprofit_pix_theme_css .='}';
	}else if($pixel_charity_nonprofit_menu_font_weight == '700'){
	$pixel_charity_nonprofit_pix_theme_css .='.nav_menu li a {';
		$pixel_charity_nonprofit_pix_theme_css .='font-weight: 700;';
	$pixel_charity_nonprofit_pix_theme_css .='}';
	}else if($pixel_charity_nonprofit_menu_font_weight == '800'){
	$pixel_charity_nonprofit_pix_theme_css .='.nav_menu li a {';
		$pixel_charity_nonprofit_pix_theme_css .='font-weight: 800;';
	$pixel_charity_nonprofit_pix_theme_css .='}';
	}else if($pixel_charity_nonprofit_menu_font_weight == '900'){
	$pixel_charity_nonprofit_pix_theme_css .='.nav_menu li a {';
		$pixel_charity_nonprofit_pix_theme_css .='font-weight: 900;';
	$pixel_charity_nonprofit_pix_theme_css .='}';
	}

	// menu text transform
	$pixel_charity_nonprofit_menu_text_tranform = get_theme_mod( 'pixel_charity_nonprofit_menu_text_tranform','Capitalize');
	if($pixel_charity_nonprofit_menu_text_tranform == 'Uppercase'){
	$pixel_charity_nonprofit_pix_theme_css .='.nav_menu li a  {';
		$pixel_charity_nonprofit_pix_theme_css .='text-transform: uppercase;';
	$pixel_charity_nonprofit_pix_theme_css .='}';
	}else if($pixel_charity_nonprofit_menu_text_tranform == 'Lowercase'){
	$pixel_charity_nonprofit_pix_theme_css .='.nav_menu li a  {';
		$pixel_charity_nonprofit_pix_theme_css .='text-transform: lowercase;';
	$pixel_charity_nonprofit_pix_theme_css .='}';
	}
	else if($pixel_charity_nonprofit_menu_text_tranform == 'Capitalize'){
	$pixel_charity_nonprofit_pix_theme_css .='.nav_menu li a  {';
		$pixel_charity_nonprofit_pix_theme_css .='text-transform: capitalize;';
	$pixel_charity_nonprofit_pix_theme_css .='}';
	}

	//menu font size
	$pixel_charity_nonprofit_menu_font_size = get_theme_mod('pixel_charity_nonprofit_menu_font_size', 15);{
	$pixel_charity_nonprofit_pix_theme_css .='.nav_menu li a ,.main-navigation li.page_item_has_children:after, .main-navigation li.menu-item-has-children:after{';
		$pixel_charity_nonprofit_pix_theme_css .='font-size: '.esc_attr($pixel_charity_nonprofit_menu_font_size).'px;';
	$pixel_charity_nonprofit_pix_theme_css .='}';
	}

	//Add Settings and Controls for Copyright
	$pixel_charity_nonprofit_copyright_text_position = get_theme_mod( 'pixel_charity_nonprofit_copyright_text_position','Center');
	if($pixel_charity_nonprofit_copyright_text_position == 'Right'){
	$pixel_charity_nonprofit_pix_theme_css .='.bottom-footer{';
	    $pixel_charity_nonprofit_pix_theme_css .='text-align: right;';
	$pixel_charity_nonprofit_pix_theme_css .='}';
	}else if($pixel_charity_nonprofit_copyright_text_position == 'Left'){
	$pixel_charity_nonprofit_pix_theme_css .='.bottom-footer{';
	    $pixel_charity_nonprofit_pix_theme_css .='text-align: left;';
	$pixel_charity_nonprofit_pix_theme_css .='}';
	}else if($pixel_charity_nonprofit_copyright_text_position == 'Center'){
	$pixel_charity_nonprofit_pix_theme_css .='.bottom-footer{';
	    $pixel_charity_nonprofit_pix_theme_css .='text-align: center;';
	$pixel_charity_nonprofit_pix_theme_css .='}';
	}

	//Add Settings and Controls for Footer Widget
	$pixel_charity_nonprofit_footer_widget_text_position = get_theme_mod( 'pixel_charity_nonprofit_footer_widget_text_position','Left');
	if($pixel_charity_nonprofit_footer_widget_text_position == 'Right'){
	$pixel_charity_nonprofit_pix_theme_css .='.site-footer .footer-widget-wrap .footer-widget-item{';
	    $pixel_charity_nonprofit_pix_theme_css .='text-align: right;';
	$pixel_charity_nonprofit_pix_theme_css .='}';
	}else if($pixel_charity_nonprofit_footer_widget_text_position == 'Left'){
	$pixel_charity_nonprofit_pix_theme_css .='.site-footer .footer-widget-wrap .footer-widget-item{';
	    $pixel_charity_nonprofit_pix_theme_css .='text-align: left;';
	$pixel_charity_nonprofit_pix_theme_css .='}';
	}else if($pixel_charity_nonprofit_footer_widget_text_position == 'Center'){
	$pixel_charity_nonprofit_pix_theme_css .='.site-footer .footer-widget-wrap .footer-widget-item{';
	    $pixel_charity_nonprofit_pix_theme_css .='text-align: center;';
	$pixel_charity_nonprofit_pix_theme_css .='}';
	}

	//Add Settings and Controls for Scroll top
	$pixel_charity_nonprofit_scroll_top_position = get_theme_mod( 'pixel_charity_nonprofit_scroll_top_position','Right');
	if($pixel_charity_nonprofit_scroll_top_position == 'Right'){
	$pixel_charity_nonprofit_pix_theme_css .='#return-to-top{';
	    $pixel_charity_nonprofit_pix_theme_css .='right: 20px;';
	$pixel_charity_nonprofit_pix_theme_css .='}';
	}else if($pixel_charity_nonprofit_scroll_top_position == 'Left'){
	$pixel_charity_nonprofit_pix_theme_css .='#return-to-top{';
	    $pixel_charity_nonprofit_pix_theme_css .='left: 20px;';
	$pixel_charity_nonprofit_pix_theme_css .='}';
	}else if($pixel_charity_nonprofit_scroll_top_position == 'Center'){
	$pixel_charity_nonprofit_pix_theme_css .='#return-to-top{';
	    $pixel_charity_nonprofit_pix_theme_css .='right: 50%;left: 50%;';
	$pixel_charity_nonprofit_pix_theme_css .='}';
	}

	// footer widget option 


	$pixel_charity_nonprofit_footer_widget_background_color = get_theme_mod('pixel_charity_nonprofit_footer_widget_background_color');
	if ($pixel_charity_nonprofit_footer_widget_background_color) {
		$pixel_charity_nonprofit_pix_theme_css .= "
			.top-footer {
				background-color: ". esc_attr($pixel_charity_nonprofit_footer_widget_background_color) .";
			}
		";
	}

	$pixel_charity_nonprofit_footer_copyright_background_color = get_theme_mod('pixel_charity_nonprofit_footer_copyright_background_color');
	if ($pixel_charity_nonprofit_footer_copyright_background_color) {
		$pixel_charity_nonprofit_pix_theme_css .= "
			.bottom-footer {
				background-color: ". esc_attr($pixel_charity_nonprofit_footer_copyright_background_color) .";
			}
		";
	}

	$pixel_charity_nonprofit_footer_widget_background_image = get_theme_mod('pixel_charity_nonprofit_footer_widget_background_image');
	if ($pixel_charity_nonprofit_footer_widget_background_image) {
		$pixel_charity_nonprofit_pix_theme_css .= "
			.top-footer {
				background-image: url(" . esc_url($pixel_charity_nonprofit_footer_widget_background_image) . ");
			}
		";
	}