<?php

	$interactive_education_pix_theme_css = "";


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

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

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

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

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

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

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


	// footer widget option 

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

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

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