<?php
	
	$multipurpose_magazine_first_theme_color = get_theme_mod('multipurpose_magazine_first_theme_color');

	$multipurpose_magazine_custom_css = '';

	/*------------------ Theme Color Option -----------*/
	if ($multipurpose_magazine_first_theme_color) {
		$multipurpose_magazine_custom_css .= ':root {';
		$multipurpose_magazine_custom_css .= '--primary-color: ' . esc_attr($multipurpose_magazine_first_theme_color) . ' !important;';
		$multipurpose_magazine_custom_css .= '} ';
	}

	// Layout Options
	$multipurpose_magazine_theme_layout = get_theme_mod( 'multipurpose_magazine_theme_layout_options','Default Theme');
    if($multipurpose_magazine_theme_layout == 'Default Theme'){
		$multipurpose_magazine_custom_css .='body{';
			$multipurpose_magazine_custom_css .='max-width: 100%;';
		$multipurpose_magazine_custom_css .='}';
	}else if($multipurpose_magazine_theme_layout == 'Container Theme'){
		$multipurpose_magazine_custom_css .='body{';
			$multipurpose_magazine_custom_css .='width: 100%;padding-right: 15px;padding-left: 15px;margin-right: auto;margin-left: auto;';
		$multipurpose_magazine_custom_css .='}';
	}else if($multipurpose_magazine_theme_layout == 'Box Container Theme'){
		$multipurpose_magazine_custom_css .='body{';
			$multipurpose_magazine_custom_css .='max-width: 1140px; width: 100%; padding-right: 15px; padding-left: 15px; margin-right: auto; margin-left: auto;';
		$multipurpose_magazine_custom_css .='}';
	}

	/*--------------- Slider Opacity -------------*/

	$multipurpose_magazine_slider_layout = get_theme_mod( 'multipurpose_magazine_slider_opacity','0.7');
	if($multipurpose_magazine_slider_layout == '0'){
		$multipurpose_magazine_custom_css .='#categry .owl-carousel .owl-item img{';
			$multipurpose_magazine_custom_css .='opacity:0';
		$multipurpose_magazine_custom_css .='}';
	}else if($multipurpose_magazine_slider_layout == '0.1'){
		$multipurpose_magazine_custom_css .='#categry .owl-carousel .owl-item img{';
			$multipurpose_magazine_custom_css .='opacity:0.1';
		$multipurpose_magazine_custom_css .='}';
	}else if($multipurpose_magazine_slider_layout == '0.2'){
		$multipurpose_magazine_custom_css .='#categry .owl-carousel .owl-item img{';
			$multipurpose_magazine_custom_css .='opacity:0.2';
		$multipurpose_magazine_custom_css .='}';
	}else if($multipurpose_magazine_slider_layout == '0.3'){
		$multipurpose_magazine_custom_css .='#categry .owl-carousel .owl-item img{';
			$multipurpose_magazine_custom_css .='opacity:0.3';
		$multipurpose_magazine_custom_css .='}';
	}else if($multipurpose_magazine_slider_layout == '0.4'){
		$multipurpose_magazine_custom_css .='#categry .owl-carousel .owl-item img{';
			$multipurpose_magazine_custom_css .='opacity:0.4';
		$multipurpose_magazine_custom_css .='}';
	}else if($multipurpose_magazine_slider_layout == '0.5'){
		$multipurpose_magazine_custom_css .='#categry .owl-carousel .owl-item img{';
			$multipurpose_magazine_custom_css .='opacity:0.5';
		$multipurpose_magazine_custom_css .='}';
	}else if($multipurpose_magazine_slider_layout == '0.6'){
		$multipurpose_magazine_custom_css .='#categry .owl-carousel .owl-item img{';
			$multipurpose_magazine_custom_css .='opacity:0.6';
		$multipurpose_magazine_custom_css .='}';
	}else if($multipurpose_magazine_slider_layout == '0.7'){
		$multipurpose_magazine_custom_css .='#slider img{';
			$multipurpose_magazine_custom_css .='opacity:0.7';
		$multipurpose_magazine_custom_css .='}';
	}else if($multipurpose_magazine_slider_layout == '0.8'){
		$multipurpose_magazine_custom_css .='#categry .owl-carousel .owl-item img{';
			$multipurpose_magazine_custom_css .='opacity:0.8';
		$multipurpose_magazine_custom_css .='}';
	}else if($multipurpose_magazine_slider_layout == '0.9'){
		$multipurpose_magazine_custom_css .='#categry .owl-carousel .owl-item img{';
			$multipurpose_magazine_custom_css .='opacity:0.9';
		$multipurpose_magazine_custom_css .='}';
	}

	/*-------- Blog Post Alignment ------*/
	$multipurpose_magazine_post_alignment = get_theme_mod('multipurpose_magazine_blog_post_alignment', 'left');
	if($multipurpose_magazine_post_alignment == 'center' ){
		$multipurpose_magazine_custom_css .='.blog-sec, .blog-sec h2, .blog-sec .post-info, .blog-sec .blogbtn{';
			$multipurpose_magazine_custom_css .='text-align: '. $multipurpose_magazine_post_alignment .';';
		$multipurpose_magazine_custom_css .='}';
		$multipurpose_magazine_custom_css .='.blog-sec .post-info{';
			$multipurpose_magazine_custom_css .='display:inline-block;';
		$multipurpose_magazine_custom_css .='}';
	}elseif($multipurpose_magazine_post_alignment == 'left' ){
		$multipurpose_magazine_custom_css .='.blog-sec, .blog-sec h2, .blog-sec .post-info,.blog-sec .blogbtn{';
			$multipurpose_magazine_custom_css .=' text-align: '. $multipurpose_magazine_post_alignment .';';
		$multipurpose_magazine_custom_css .='}';
	}elseif($multipurpose_magazine_post_alignment == 'right' ){
		$multipurpose_magazine_custom_css .='.blog-sec, .blog-sec h2, .blog-sec .post-info,.blog-sec .blogbtn{';
			$multipurpose_magazine_custom_css .='text-align: '. $multipurpose_magazine_post_alignment .';';
		$multipurpose_magazine_custom_css .='}';
		$multipurpose_magazine_custom_css .='.blog-sec .post-info{';
			$multipurpose_magazine_custom_css .='float:right;';
		$multipurpose_magazine_custom_css .='}';
	}

	/*--------- Preloader Color Option -------*/
	$multipurpose_magazine_preloader_color = get_theme_mod('multipurpose_magazine_preloader_color');

	if($multipurpose_magazine_preloader_color != false){
		$multipurpose_magazine_custom_css .=' .tg-loader{';
			$multipurpose_magazine_custom_css .='border-color: '.esc_attr($multipurpose_magazine_preloader_color).';';
		$multipurpose_magazine_custom_css .='} ';
		$multipurpose_magazine_custom_css .=' .tg-loader-inner, .preloader .preloader-container .animated-preloader, .preloader .preloader-container .animated-preloader:before{';
			$multipurpose_magazine_custom_css .='background-color: '.esc_attr($multipurpose_magazine_preloader_color).';';
		$multipurpose_magazine_custom_css .='} ';
	}

	$multipurpose_magazine_preloader_bg_color = get_theme_mod('multipurpose_magazine_preloader_bg_color');

	if($multipurpose_magazine_preloader_bg_color != false){
		$multipurpose_magazine_custom_css .=' #overlayer, .preloader{';
			$multipurpose_magazine_custom_css .='background-color: '.esc_attr($multipurpose_magazine_preloader_bg_color).';';
		$multipurpose_magazine_custom_css .='} ';
	}

	$multipurpose_magazine_preloader_bg_img = get_theme_mod('multipurpose_magazine_preloader_bg_img');
	if($multipurpose_magazine_preloader_bg_img != false){
		$multipurpose_magazine_custom_css .=' #overlayer, .preloader{';
			$multipurpose_magazine_custom_css .='background: url('.esc_attr($multipurpose_magazine_preloader_bg_img).');-webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover;';
		$multipurpose_magazine_custom_css .='}';
	}

	/*------------ Button Settings option-----------------*/

	$multipurpose_magazine_top_button_padding = get_theme_mod('multipurpose_magazine_top_button_padding');
	$multipurpose_magazine_bottom_button_padding = get_theme_mod('multipurpose_magazine_bottom_button_padding');
	$multipurpose_magazine_left_button_padding = get_theme_mod('multipurpose_magazine_left_button_padding');
	$multipurpose_magazine_right_button_padding = get_theme_mod('multipurpose_magazine_right_button_padding');
	if($multipurpose_magazine_top_button_padding != false || $multipurpose_magazine_bottom_button_padding != false || $multipurpose_magazine_left_button_padding != false || $multipurpose_magazine_right_button_padding != false){
		$multipurpose_magazine_custom_css .='.blogbtn a, #comments input[type="submit"].submit{';
			$multipurpose_magazine_custom_css .='padding-top: '.esc_attr($multipurpose_magazine_top_button_padding).'px; padding-bottom: '.esc_attr($multipurpose_magazine_bottom_button_padding).'px; padding-left: '.esc_attr($multipurpose_magazine_left_button_padding).'px; padding-right: '.esc_attr($multipurpose_magazine_right_button_padding).'px; display:inline-block;';
		$multipurpose_magazine_custom_css .='}';
	}

	$multipurpose_magazine_button_border_radius = get_theme_mod('multipurpose_magazine_button_border_radius');
	$multipurpose_magazine_custom_css .='.blogbtn a, #comments input[type="submit"].submit{';
		$multipurpose_magazine_custom_css .='border-radius: '.esc_attr($multipurpose_magazine_button_border_radius).'px;';
	$multipurpose_magazine_custom_css .='}';

	// button font weight
	$multipurpose_magazine_button_font_weight = get_theme_mod('multipurpose_magazine_button_font_weight');
  	$multipurpose_magazine_custom_css .='.blogbtn a{';
    $multipurpose_magazine_custom_css .='font-weight: '.esc_attr($multipurpose_magazine_button_font_weight).';';
  	$multipurpose_magazine_custom_css .='}';


  	// button text transform
  	$multipurpose_magazine_button_text_transform = get_theme_mod('multipurpose_magazine_button_text_transform');
  	if($multipurpose_magazine_button_text_transform == 'uppercase' ){
    	$multipurpose_magazine_custom_css .='.blogbtn a{';
      	$multipurpose_magazine_custom_css .=' text-transform: uppercase;';
    	$multipurpose_magazine_custom_css .='}';
  	}elseif($multipurpose_magazine_button_text_transform == 'Capitalize' ){
    	$multipurpose_magazine_custom_css .='.blogbtn a{';
      	$multipurpose_magazine_custom_css .=' text-transform: Capitalize;';
    	$multipurpose_magazine_custom_css .='}';
  	}elseif($multipurpose_magazine_button_text_transform == 'lowercase' ){
    	$multipurpose_magazine_custom_css .='.blogbtn a{';
      	$multipurpose_magazine_custom_css .=' text-transform: lowercase;';
    	$multipurpose_magazine_custom_css .='}';
  	}

	//Button hover effect
	$multipurpose_magazine_button_hover_effect = get_theme_mod('multipurpose_magazine_button_hover_effect', 'disable');
	if ($multipurpose_magazine_button_hover_effect !== 'disable') {
		$multipurpose_magazine_custom_css .= '.blogbtn a:hover {';
		switch ($multipurpose_magazine_button_hover_effect) {
			case 'pulse':
				$multipurpose_magazine_custom_css .= 'animation: pulse 0.5s ease-in-out;';
				break;
			case 'rubberBand':
				$multipurpose_magazine_custom_css .= 'animation: rubberBand 0.5s ease-in-out;';
				break;
			case 'swing':
				$multipurpose_magazine_custom_css .= 'animation: swing 0.5s ease-in-out;';
				break;
			case 'tada':
				$multipurpose_magazine_custom_css .= 'animation: tada 0.5s ease-in-out;';
				break;
			case 'jello':
				$multipurpose_magazine_custom_css .= 'animation: jello 0.5s ease-in-out;';
				break;
		}
		$multipurpose_magazine_custom_css .= '}';
	}

	//keyframes for all animations
	$multipurpose_magazine_custom_css .= '
	@keyframes pulse {
		0% { transform: scale(1); }
		50% { transform: scale(1.1); }
		100% { transform: scale(1); }
	}

	@keyframes rubberBand {
		0% { transform: scale(1); }
		30% { transform: scaleX(1.25) scaleY(0.75); }
		40% { transform: scaleX(0.75) scaleY(1.25); }
		50% { transform: scale(1); }
	}

	@keyframes swing {
		20% { transform: rotate(15deg); }
		40% { transform: rotate(-10deg); }
		60% { transform: rotate(5deg); }
		80% { transform: rotate(-5deg); }
		100% { transform: rotate(0deg); }
	}

	@keyframes tada {
		0% { transform: scale(1); }
		10%, 20% { transform: scale(0.9) rotate(-3deg); }
		30%, 50%, 70%, 90% { transform: scale(1.1) rotate(3deg); }
		40%, 60%, 80% { transform: scale(1.1) rotate(-3deg); }
		100% { transform: scale(1) rotate(0); }
	}

	@keyframes jello {
		0%, 11.1%, 100% { transform: none; }
		22.2% { transform: skewX(-12.5deg) skewY(-12.5deg); }
		33.3% { transform: skewX(6.25deg) skewY(6.25deg); }
		44.4% { transform: skewX(-3.125deg) skewY(-3.125deg); }
		55.5% { transform: skewX(1.5625deg) skewY(1.5625deg); }
		66.6% { transform: skewX(-0.78125deg) skewY(-0.78125deg); }
		77.7% { transform: skewX(0.390625deg) skewY(0.390625deg); }
		88.8% { transform: skewX(-0.1953125deg) skewY(-0.1953125deg); }
	}';

	// Button letter spacing
	$multipurpose_magazine_button_letter_spacing = get_theme_mod('multipurpose_magazine_button_letter_spacing', '0');
	$multipurpose_magazine_custom_css .='.blogbtn a{';
		$multipurpose_magazine_custom_css .='letter-spacing: '.esc_attr($multipurpose_magazine_button_letter_spacing).'px;';
	$multipurpose_magazine_custom_css .='}';

  	// widgets heading font size
	$multipurpose_magazine_widgets_heading_fontsize = get_theme_mod('multipurpose_magazine_widgets_heading_fontsize',26);
	if($multipurpose_magazine_widgets_heading_fontsize != false){
		$multipurpose_magazine_custom_css .='#footer h3, #footer h2, #footer .wp-block-search__label{';
			$multipurpose_magazine_custom_css .='font-size: '.esc_attr($multipurpose_magazine_widgets_heading_fontsize).'px; ';
		$multipurpose_magazine_custom_css .='}';
	}

	// widgets heading font weight
	$multipurpose_magazine_widgets_heading_font_weight = get_theme_mod('multipurpose_magazine_widgets_heading_font_weight', '600');
  	$multipurpose_magazine_custom_css .='#footer h3, #footer h2, #footer .wp-block-search__label{';
    $multipurpose_magazine_custom_css .='font-weight: '.esc_attr($multipurpose_magazine_widgets_heading_font_weight).';';
  	$multipurpose_magazine_custom_css .='}';

	/*----------- Footer widgets heading alignment -----*/
	$multipurpose_magazine_footer_widgets_heading = get_theme_mod( 'multipurpose_magazine_footer_widgets_heading','Left');
    if($multipurpose_magazine_footer_widgets_heading == 'Left'){
		$multipurpose_magazine_custom_css .='#footer h3{';
		$multipurpose_magazine_custom_css .='text-align: left;';
		$multipurpose_magazine_custom_css .='}';
	}else if($multipurpose_magazine_footer_widgets_heading == 'Center'){
		$multipurpose_magazine_custom_css .='#footer h3{';
			$multipurpose_magazine_custom_css .='text-align: center;';
		$multipurpose_magazine_custom_css .='}';
	}else if($multipurpose_magazine_footer_widgets_heading == 'Right'){
		$multipurpose_magazine_custom_css .='#footer h3{';
			$multipurpose_magazine_custom_css .='text-align: right;';
		$multipurpose_magazine_custom_css .='}';
	}

	$multipurpose_magazine_footer_widgets_content = get_theme_mod( 'multipurpose_magazine_footer_widgets_content','Left');
    if($multipurpose_magazine_footer_widgets_content == 'Left'){
		$multipurpose_magazine_custom_css .='#footer .widget ul{';
		$multipurpose_magazine_custom_css .='text-align: left;';
		$multipurpose_magazine_custom_css .='}';
	}else if($multipurpose_magazine_footer_widgets_content == 'Center'){
		$multipurpose_magazine_custom_css .='#footer .widget ul{';
			$multipurpose_magazine_custom_css .='text-align: center;';
		$multipurpose_magazine_custom_css .='}';
	}else if($multipurpose_magazine_footer_widgets_content == 'Right'){
		$multipurpose_magazine_custom_css .='#footer .widget ul{';
			$multipurpose_magazine_custom_css .='text-align: right;';
		$multipurpose_magazine_custom_css .='}';
	}

	// Footer Heading Text Transform

	$multipurpose_magazine_theme_lay = get_theme_mod( 'multipurpose_magazine_footer_text_tranform','Capitalize');
    if($multipurpose_magazine_theme_lay == 'Uppercase'){
		$multipurpose_magazine_custom_css .='#footer h3{';
			$multipurpose_magazine_custom_css .='text-transform: Uppercase;';
		$multipurpose_magazine_custom_css .='}';
	}else if($multipurpose_magazine_theme_lay == 'Lowercase'){
		$multipurpose_magazine_custom_css .='#footer h3{';
			$multipurpose_magazine_custom_css .='text-transform: Lowercase;';
		$multipurpose_magazine_custom_css .='}';
	}
	else if($multipurpose_magazine_theme_lay == 'Capitalize'){
		$multipurpose_magazine_custom_css .='#footer h3{';
			$multipurpose_magazine_custom_css .='text-transform: Capitalize;';
		$multipurpose_magazine_custom_css .='}';
	}	

	// Footer Heading  letter spacing
	$multipurpose_magazine_widgets_heading_letter_spacing = get_theme_mod('multipurpose_magazine_widgets_heading_letter_spacing','');
	$multipurpose_magazine_custom_css .='#footer h3{';
	$multipurpose_magazine_custom_css .='letter-spacing: '.esc_attr($multipurpose_magazine_widgets_heading_letter_spacing).'px;';
	$multipurpose_magazine_custom_css .='}';		

/*---------------------------Footer Style -------------------*/

	$multipurpose_magazine_theme_lay = get_theme_mod( 'multipurpose_magazine_footer_template','multipurpose_magazine-footer-one');
    if($multipurpose_magazine_theme_lay == 'multipurpose_magazine-footer-one'){
		$multipurpose_magazine_custom_css .='#footer {';
			$multipurpose_magazine_custom_css .='';
		$multipurpose_magazine_custom_css .='}';

	}else if($multipurpose_magazine_theme_lay == 'multipurpose_magazine-footer-two'){
		$multipurpose_magazine_custom_css .='#footer {';
			$multipurpose_magazine_custom_css .='background: #E3F2FD !important;';
		$multipurpose_magazine_custom_css .='}';
		$multipurpose_magazine_custom_css .='.footerinner p,.footerinner span,.footerinner li a,.footerinner #wp-calendar caption,.footerinner #wp-calendar td,.footerinner #wp-calendar th, .footerinner, .footerinner h3, .footerinner a.rsswidget, .footerinner #wp-calendar a, .copyright a, .footerinner .custom_details, .footerinner ins span, .footerinner .tagcloud a, .main-inner-box span.entry-date a, nav.woocommerce-MyAccount-navigation ul li:hover a, #footer ul li a, .footerinner table, .footerinner th, .footerinner td, .footerinner caption, #sidebar caption,.footerinner nav.wp-calendar-nav a,.footerinner .search-form .search-field{';
			$multipurpose_magazine_custom_css .='color:#000 !important;';
		$multipurpose_magazine_custom_css .='}';
		$multipurpose_magazine_custom_css .='#footer p{';
			$multipurpose_magazine_custom_css .='color:#000 !important;';
		$multipurpose_magazine_custom_css .='}';
		$multipurpose_magazine_custom_css .='.footerinner ul li::before{';
			$multipurpose_magazine_custom_css .='background:#000;';
		$multipurpose_magazine_custom_css .='}';
		$multipurpose_magazine_custom_css .='.footerinner table, .footerinner th, .footerinner td,.footerinner.search-form .search-field,.footerinner .tagcloud a{';
			$multipurpose_magazine_custom_css .='border: 1px solid #000;';
		$multipurpose_magazine_custom_css .='}';

	}else if($multipurpose_magazine_theme_lay == 'multipurpose_magazine-footer-three'){
		$multipurpose_magazine_custom_css .='#footer {';
			$multipurpose_magazine_custom_css .='background: #0A0A1F !important;;';
		$multipurpose_magazine_custom_css .='}';
	}
	else if($multipurpose_magazine_theme_lay == 'multipurpose_magazine-footer-four'){
		$multipurpose_magazine_custom_css .='#footer {';
			$multipurpose_magazine_custom_css .='background: #F5F5DC !important;;';
		$multipurpose_magazine_custom_css .='}';
		$multipurpose_magazine_custom_css .='.footerinner p,.footerinner span,.footerinner li a,.footerinner #wp-calendar caption,.footerinner #wp-calendar td,.footerinner #wp-calendar th, .footerinner, .footerinner h3, .footerinner a.rsswidget, .footerinner #wp-calendar a, .copyright a, .footerinner .custom_details, .footerinner ins span, .footerinner .tagcloud a, .main-inner-box span.entry-date a, nav.woocommerce-MyAccount-navigation ul li:hover a, #footer ul li a, .footerinner table, .footerinner th, .footerinner td, .footerinner caption, #sidebar caption,.footerinner nav.wp-calendar-nav a,.footerinner .search-form .search-field{';
			$multipurpose_magazine_custom_css .='color:#000 !important;';
		$multipurpose_magazine_custom_css .='}';
		$multipurpose_magazine_custom_css .='#footer p{';
			$multipurpose_magazine_custom_css .='color:#000 !important;';
		$multipurpose_magazine_custom_css .='}';
		$multipurpose_magazine_custom_css .='.footerinner ul li::before{';
			$multipurpose_magazine_custom_css .='background:#000;';
		$multipurpose_magazine_custom_css .='}';
		$multipurpose_magazine_custom_css .='.footerinner table, .footerinner th, .footerinner td,.footerinner.search-form .search-field,.footerinner .tagcloud a{';
			$multipurpose_magazine_custom_css .='border: 1px solid #000;';
		$multipurpose_magazine_custom_css .='}';
	}
    else if($multipurpose_magazine_theme_lay == 'multipurpose_magazine-footer-five'){
	$multipurpose_magazine_custom_css .='#footer{';
		$multipurpose_magazine_custom_css .='background: #333333 !important;;';
	$multipurpose_magazine_custom_css .='}';
   }

	/*----------- Copyright css -----*/
	$multipurpose_magazine_copyright_top_padding = get_theme_mod('multipurpose_magazine_top_copyright_padding');
	$multipurpose_magazine_copyright_bottom_padding = get_theme_mod('multipurpose_magazine_top_copyright_padding');
	if($multipurpose_magazine_copyright_top_padding != false || $multipurpose_magazine_copyright_bottom_padding != false){
		$multipurpose_magazine_custom_css .='.inner{';
			$multipurpose_magazine_custom_css .='padding-top: '.esc_attr($multipurpose_magazine_copyright_top_padding).'px; padding-bottom: '.esc_attr($multipurpose_magazine_copyright_bottom_padding).'px; ';
		$multipurpose_magazine_custom_css .='}';
	} 

	$multipurpose_magazine_copyright_alignment = get_theme_mod('multipurpose_magazine_copyright_alignment', 'center');
	if($multipurpose_magazine_copyright_alignment == 'center' ){
		$multipurpose_magazine_custom_css .='#footer .copyright p{';
			$multipurpose_magazine_custom_css .='text-align: '. $multipurpose_magazine_copyright_alignment .';';
		$multipurpose_magazine_custom_css .='}';
	}elseif($multipurpose_magazine_copyright_alignment == 'left' ){
		$multipurpose_magazine_custom_css .='#footer .copyright p{';
			$multipurpose_magazine_custom_css .=' text-align: '. $multipurpose_magazine_copyright_alignment .';';
		$multipurpose_magazine_custom_css .='}';
	}elseif($multipurpose_magazine_copyright_alignment == 'right' ){
		$multipurpose_magazine_custom_css .='#footer .copyright p{';
			$multipurpose_magazine_custom_css .='text-align: '. $multipurpose_magazine_copyright_alignment .';';
		$multipurpose_magazine_custom_css .='}';
	}

	$multipurpose_magazine_copyright_font_size = get_theme_mod('multipurpose_magazine_copyright_font_size');
	$multipurpose_magazine_custom_css .='#footer .copyright p{';
		$multipurpose_magazine_custom_css .='font-size: '.esc_attr($multipurpose_magazine_copyright_font_size).'px;';
	$multipurpose_magazine_custom_css .='}';

	$multipurpose_magazine_copyright_color = get_theme_mod('multipurpose_magazine_copyright_color');
	$multipurpose_magazine_custom_css .='#footer .copyright p,#footer .copyright a{';
		$multipurpose_magazine_custom_css .='color: '.esc_attr($multipurpose_magazine_copyright_color).'!important;';
	$multipurpose_magazine_custom_css .='}';

	$multipurpose_magazine_back_to_top_color = get_theme_mod('multipurpose_magazine_back_to_top_color');
	$multipurpose_magazine_custom_css .='.back-to-top{';
		$multipurpose_magazine_custom_css .='background-color: '.esc_attr($multipurpose_magazine_back_to_top_color).'!important;';
	$multipurpose_magazine_custom_css .='}';
		$multipurpose_magazine_back_to_top_color = get_theme_mod('multipurpose_magazine_back_to_top_color');
	$multipurpose_magazine_custom_css .='.back-to-top::before{';
		$multipurpose_magazine_custom_css .='border-bottom-color: '.esc_attr($multipurpose_magazine_back_to_top_color).'!important;';
	$multipurpose_magazine_custom_css .='}';

	$multipurpose_magazine_back_to_top_text_color = get_theme_mod('multipurpose_magazine_back_to_top_text_color');
	$multipurpose_magazine_custom_css .='.back-to-top{';
		$multipurpose_magazine_custom_css .='color: '.esc_attr($multipurpose_magazine_back_to_top_text_color).'!important;';
	$multipurpose_magazine_custom_css .='}';	
	
		// back to top icon hover color
	$multipurpose_magazine_back_to_top_hover_color = get_theme_mod('multipurpose_magazine_back_to_top_hover_color');
	$multipurpose_magazine_custom_css .='.back-to-top:hover{';
		$multipurpose_magazine_custom_css .='background-color: '.esc_attr($multipurpose_magazine_back_to_top_hover_color). ' !important;';
	$multipurpose_magazine_custom_css .='}';
		$multipurpose_magazine_back_to_top_hover_color = get_theme_mod('multipurpose_magazine_back_to_top_hover_color');
	$multipurpose_magazine_custom_css .='.back-to-top:hover::before{';
		$multipurpose_magazine_custom_css .='border-bottom-color: '.esc_attr($multipurpose_magazine_back_to_top_hover_color).'!important;';
	$multipurpose_magazine_custom_css .='}';

	/*------ Topbar padding ------*/
	$multipurpose_magazine_top_topbar_padding = get_theme_mod('multipurpose_magazine_top_topbar_padding');
	$multipurpose_magazine_bottom_topbar_padding = get_theme_mod('multipurpose_magazine_bottom_topbar_padding');
	if($multipurpose_magazine_top_topbar_padding != false || $multipurpose_magazine_bottom_topbar_padding != false){
		$multipurpose_magazine_custom_css .='.top-bar{';
			$multipurpose_magazine_custom_css .='padding-top: '.esc_attr($multipurpose_magazine_top_topbar_padding).'px; padding-bottom: '.esc_attr($multipurpose_magazine_bottom_topbar_padding).'px; ';
		$multipurpose_magazine_custom_css .='}';
	}

	/*------ Show/Hide Search ------*/
	$multipurpose_magazine_show_search = get_theme_mod('multipurpose_magazine_show_search');
	if($multipurpose_magazine_show_search == false){
		$multipurpose_magazine_custom_css .='.login{';
			$multipurpose_magazine_custom_css .='margin: 25px 0; ';
		$multipurpose_magazine_custom_css .='}';
		$multipurpose_magazine_custom_css .='.login a{';
			$multipurpose_magazine_custom_css .='border: 0; ';
		$multipurpose_magazine_custom_css .='}';
	}

	/*------ Woocommerce ----*/
	$multipurpose_magazine_product_border = get_theme_mod('multipurpose_magazine_product_border',false);

	if($multipurpose_magazine_product_border == true){
		$multipurpose_magazine_custom_css .='.woocommerce ul.products li.product, .woocommerce-page ul.products li.product{';
			$multipurpose_magazine_custom_css .='border: 1px solid '.esc_attr($multipurpose_magazine_first_theme_color).';';
		$multipurpose_magazine_custom_css .='}';
	}

	$multipurpose_magazine_product_top = get_theme_mod('multipurpose_magazine_product_top_padding');
	$multipurpose_magazine_product_bottom = get_theme_mod('multipurpose_magazine_product_bottom_padding');
	$multipurpose_magazine_product_left = get_theme_mod('multipurpose_magazine_product_left_padding');
	$multipurpose_magazine_product_right = get_theme_mod('multipurpose_magazine_product_right_padding');
	if($multipurpose_magazine_product_top != false || $multipurpose_magazine_product_bottom != false || $multipurpose_magazine_product_left != false || $multipurpose_magazine_product_right != false){
		$multipurpose_magazine_custom_css .='.woocommerce ul.products li.product, .woocommerce-page ul.products li.product{';
			$multipurpose_magazine_custom_css .='padding-top: '.esc_attr($multipurpose_magazine_product_top).'px; padding-bottom: '.esc_attr($multipurpose_magazine_product_bottom).'px; padding-left: '.esc_attr($multipurpose_magazine_product_left).'px; padding-right: '.esc_attr($multipurpose_magazine_product_right).'px;';
		$multipurpose_magazine_custom_css .='}';
	}

	$multipurpose_magazine_product_border_radius = get_theme_mod('multipurpose_magazine_product_border_radius');
	if($multipurpose_magazine_product_border_radius != false){
		$multipurpose_magazine_custom_css .='.woocommerce ul.products li.product, .woocommerce-page ul.products li.product{';
			$multipurpose_magazine_custom_css .='border-radius: '.esc_attr($multipurpose_magazine_product_border_radius).'px;';
		$multipurpose_magazine_custom_css .='}';
	}

	$multipurpose_magazine_product_box_shadow = get_theme_mod('multipurpose_magazine_product_box_shadow','0');
	$multipurpose_magazine_custom_css .='.woocommerce ul.products li.product, .woocommerce-page ul.products li.product{';
		$multipurpose_magazine_custom_css .='box-shadow: '.esc_attr($multipurpose_magazine_product_box_shadow).'px '.esc_attr($multipurpose_magazine_product_box_shadow).'px '.esc_attr($multipurpose_magazine_product_box_shadow).'px #eee;';
	$multipurpose_magazine_custom_css .='}';		

	/*----- WooCommerce button css --------*/
	$multipurpose_magazine_product_button_top = get_theme_mod('multipurpose_magazine_product_button_top_padding',10);
	$multipurpose_magazine_product_button_bottom = get_theme_mod('multipurpose_magazine_product_button_bottom_padding',10);
	$multipurpose_magazine_product_button_left = get_theme_mod('multipurpose_magazine_product_button_left_padding',15);
	$multipurpose_magazine_product_button_right = get_theme_mod('multipurpose_magazine_product_button_right_padding',15);
	if($multipurpose_magazine_product_button_top != false || $multipurpose_magazine_product_button_bottom != false || $multipurpose_magazine_product_button_left != false || $multipurpose_magazine_product_button_right != false){
		$multipurpose_magazine_custom_css .='.woocommerce ul.products li.product .button, .woocommerce div.product form.cart .button, a.button.wc-forward, .woocommerce .cart .button, .woocommerce .cart input.button, .woocommerce #payment #place_order, .woocommerce-page #payment #place_order, button.woocommerce-button.button.woocommerce-form-login__submit, .woocommerce button.button:disabled, .woocommerce button.button:disabled[disabled]{';
			$multipurpose_magazine_custom_css .='padding-top: '.esc_attr($multipurpose_magazine_product_button_top).'px; padding-bottom: '.esc_attr($multipurpose_magazine_product_button_bottom).'px; padding-left: '.esc_attr($multipurpose_magazine_product_button_left).'px; padding-right: '.esc_attr($multipurpose_magazine_product_button_right).'px;';
		$multipurpose_magazine_custom_css .='}';
	}

	$multipurpose_magazine_product_button_border_radius = get_theme_mod('multipurpose_magazine_product_button_border_radius');
	if($multipurpose_magazine_product_button_border_radius != false){
		$multipurpose_magazine_custom_css .='.woocommerce ul.products li.product .button, .woocommerce div.product form.cart .button, a.button.wc-forward, .woocommerce .cart .button, .woocommerce .cart input.button, a.checkout-button.button.alt.wc-forward, .woocommerce #payment #place_order, .woocommerce-page #payment #place_order, button.woocommerce-button.button.woocommerce-form-login__submit{';
			$multipurpose_magazine_custom_css .='border-radius: '.esc_attr($multipurpose_magazine_product_button_border_radius).'px;';
		$multipurpose_magazine_custom_css .='}';
	}

	/*----- WooCommerce product sale css --------*/
	$multipurpose_magazine_product_sale_top = get_theme_mod('multipurpose_magazine_product_sale_top_padding');
	$multipurpose_magazine_product_sale_bottom = get_theme_mod('multipurpose_magazine_product_sale_bottom_padding');
	$multipurpose_magazine_product_sale_left = get_theme_mod('multipurpose_magazine_product_sale_left_padding');
	$multipurpose_magazine_product_sale_right = get_theme_mod('multipurpose_magazine_product_sale_right_padding');
	if($multipurpose_magazine_product_sale_top != false || $multipurpose_magazine_product_sale_bottom != false || $multipurpose_magazine_product_sale_left != false || $multipurpose_magazine_product_sale_right != false){
		$multipurpose_magazine_custom_css .='.woocommerce span.onsale {';
			$multipurpose_magazine_custom_css .='padding-top: '.esc_attr($multipurpose_magazine_product_sale_top).'px; padding-bottom: '.esc_attr($multipurpose_magazine_product_sale_bottom).'px; padding-left: '.esc_attr($multipurpose_magazine_product_sale_left).'px; padding-right: '.esc_attr($multipurpose_magazine_product_sale_right).'px;';
		$multipurpose_magazine_custom_css .='}';
	}

	$multipurpose_magazine_product_sale_border_radius = get_theme_mod('multipurpose_magazine_product_sale_border_radius',50);
	if($multipurpose_magazine_product_sale_border_radius != false){
		$multipurpose_magazine_custom_css .='.woocommerce span.onsale {';
			$multipurpose_magazine_custom_css .='border-radius: '.esc_attr($multipurpose_magazine_product_sale_border_radius).'px;';
		$multipurpose_magazine_custom_css .='}';
	}

	$multipurpose_magazine_menu_case = get_theme_mod('multipurpose_magazine_product_sale_position', 'Right');
	if($multipurpose_magazine_menu_case == 'Right' ){
		$multipurpose_magazine_custom_css .='.woocommerce ul.products li.product .onsale{';
			$multipurpose_magazine_custom_css .=' left:auto; right:0;';
		$multipurpose_magazine_custom_css .='}';
	}elseif($multipurpose_magazine_menu_case == 'Left' ){
		$multipurpose_magazine_custom_css .='.woocommerce ul.products li.product .onsale{';
			$multipurpose_magazine_custom_css .=' left:-10px; right:auto;';
		$multipurpose_magazine_custom_css .='}';
	}

	$multipurpose_magazine_product_sale_font_size = get_theme_mod('multipurpose_magazine_product_sale_font_size',13);
	$multipurpose_magazine_custom_css .='.woocommerce span.onsale {';
		$multipurpose_magazine_custom_css .='font-size: '.esc_attr($multipurpose_magazine_product_sale_font_size).'px;';
	$multipurpose_magazine_custom_css .='}';

	/*---- Slider Image overlay -----*/
	$multipurpose_magazine_slider_image_overlay = get_theme_mod('multipurpose_magazine_slider_image_overlay',true);
	if($multipurpose_magazine_slider_image_overlay == false){
		$multipurpose_magazine_custom_css .='#categry .owl-carousel .owl-item img {';
			$multipurpose_magazine_custom_css .='opacity: 1;';
		$multipurpose_magazine_custom_css .='}';
	}

	$multipurpose_magazine_slider_overlay_color = get_theme_mod('multipurpose_magazine_slider_overlay_color');
	if($multipurpose_magazine_slider_overlay_color != false){
		$multipurpose_magazine_custom_css .='#categry .owl-carousel .owl-item  {';
			$multipurpose_magazine_custom_css .='background-color: '.esc_attr($multipurpose_magazine_slider_overlay_color).';';
		$multipurpose_magazine_custom_css .='}';
	}

	/*---- Comment form ----*/
	$multipurpose_magazine_comment_width = get_theme_mod('multipurpose_magazine_comment_width', '100');
	$multipurpose_magazine_custom_css .='#comments textarea{';
		$multipurpose_magazine_custom_css .=' width:'.esc_attr($multipurpose_magazine_comment_width).'%;';
	$multipurpose_magazine_custom_css .='}';

	$multipurpose_magazine_comment_submit_text = get_theme_mod('multipurpose_magazine_comment_submit_text', 'Post Comment');
	if($multipurpose_magazine_comment_submit_text == ''){
		$multipurpose_magazine_custom_css .='#comments p.form-submit {';
			$multipurpose_magazine_custom_css .='display: none;';
		$multipurpose_magazine_custom_css .='}';
	}

	$multipurpose_magazine_comment_title = get_theme_mod('multipurpose_magazine_comment_title', 'Leave a Reply');
	if($multipurpose_magazine_comment_title == ''){
		$multipurpose_magazine_custom_css .='#comments h2#reply-title {';
			$multipurpose_magazine_custom_css .='display: none;';
		$multipurpose_magazine_custom_css .='}';
	}

	/*------ Footer background css -------*/
	$multipurpose_magazine_footer_bg_color = get_theme_mod('multipurpose_magazine_footer_bg_color');
	if($multipurpose_magazine_footer_bg_color != false){
		$multipurpose_magazine_custom_css .='#footer{';
			$multipurpose_magazine_custom_css .='background-color: '.esc_attr($multipurpose_magazine_footer_bg_color).';';
		$multipurpose_magazine_custom_css .='}';
	}

	$multipurpose_magazine_footer_bg_image = get_theme_mod('multipurpose_magazine_footer_bg_image');
	if($multipurpose_magazine_footer_bg_image != false){
		$multipurpose_magazine_custom_css .='#footer{';
			$multipurpose_magazine_custom_css .='background: url('.esc_attr($multipurpose_magazine_footer_bg_image).'); background-size: cover;';
		$multipurpose_magazine_custom_css .='}';
	}

	//footer icon color
	$multipurpose_magazine_footer_icon_color = get_theme_mod('multipurpose_magazine_footer_icon_color', '#fff');
	$multipurpose_magazine_custom_css .='#footer .copyright a i{';
		$multipurpose_magazine_custom_css .='color: '.esc_attr($multipurpose_magazine_footer_icon_color).'!important;';
	$multipurpose_magazine_custom_css .='}';	
	
	/*-------- Footer Icon Alignment ------*/
	$multipurpose_magazine_footer_icon_alignment = get_theme_mod('multipurpose_magazine_footer_icon_alignment', 'Center');
	if($multipurpose_magazine_footer_icon_alignment == 'Center' ){
		$multipurpose_magazine_custom_css .='#footer .copyright{';
			$multipurpose_magazine_custom_css .='text-align: '. $multipurpose_magazine_footer_icon_alignment .';';
		$multipurpose_magazine_custom_css .='}';
	}elseif($multipurpose_magazine_footer_icon_alignment == 'Left' ){
		$multipurpose_magazine_custom_css .='#footer .copyright{';
			$multipurpose_magazine_custom_css .=' text-align: '. $multipurpose_magazine_footer_icon_alignment .';';
		$multipurpose_magazine_custom_css .='}';
	}elseif($multipurpose_magazine_footer_icon_alignment == 'Right' ){
		$multipurpose_magazine_custom_css .='#footer .copyright{';
			$multipurpose_magazine_custom_css .='text-align: '. $multipurpose_magazine_footer_icon_alignment .';';
		$multipurpose_magazine_custom_css .='}';
	}

	//Footer Social Icon Font size
	$multipurpose_magazine_footer_icon_font_size = get_theme_mod('multipurpose_magazine_footer_icon_font_size');
	$multipurpose_magazine_custom_css .='#footer .copyright a i{';
	$multipurpose_magazine_custom_css .='font-size: '.esc_attr($multipurpose_magazine_footer_icon_font_size).'px;';
	$multipurpose_magazine_custom_css .='}';

    // footer image position
	$multipurpose_magazine_footer_img_position = get_theme_mod('multipurpose_magazine_footer_img_position','center center');
	if($multipurpose_magazine_footer_img_position != false){
		$multipurpose_magazine_custom_css .='#footer{';
			$multipurpose_magazine_custom_css .='background-position: '.esc_attr($multipurpose_magazine_footer_img_position).'!important;';
		$multipurpose_magazine_custom_css .='}';
	}	
	// Footer Attatchment
	$multipurpose_magazine_theme_lay = get_theme_mod( 'multipurpose_magazine_footer_attatchment','scroll');
	if($multipurpose_magazine_theme_lay == 'fixed'){
		$multipurpose_magazine_custom_css .='#footer{';
			$multipurpose_magazine_custom_css .='background-attachment: fixed;';
		$multipurpose_magazine_custom_css .='}';
	}elseif ($multipurpose_magazine_theme_lay == 'scroll'){
		$multipurpose_magazine_custom_css .='#footer{';
			$multipurpose_magazine_custom_css .='background-attachment: scroll;';
		$multipurpose_magazine_custom_css .='}';
	}	
	/*---------------------------Footer top bottom padding -------------------*/
	$multipurpose_magazine_footer_padding = get_theme_mod('multipurpose_magazine_footer_padding');
	if($multipurpose_magazine_footer_padding != false){
		$multipurpose_magazine_custom_css .='#footer .footerinner{';
			$multipurpose_magazine_custom_css .='padding: '.esc_attr($multipurpose_magazine_footer_padding).' 0 !important;';
		$multipurpose_magazine_custom_css .='}';
	}
	/*----- Featured image css -----*/
	$multipurpose_magazine_feature_image_border_radius = get_theme_mod('multipurpose_magazine_feature_image_border_radius');
	if($multipurpose_magazine_feature_image_border_radius != false){
		$multipurpose_magazine_custom_css .='#blog_post .blog-sec img{';
			$multipurpose_magazine_custom_css .='border-radius: '.esc_attr($multipurpose_magazine_feature_image_border_radius).'px;';
		$multipurpose_magazine_custom_css .='}';
	}

	$multipurpose_magazine_feature_image_shadow = get_theme_mod('multipurpose_magazine_feature_image_shadow');
	if($multipurpose_magazine_feature_image_shadow != false){
		$multipurpose_magazine_custom_css .='#blog_post .blog-sec img{';
			$multipurpose_magazine_custom_css .='box-shadow: '.esc_attr($multipurpose_magazine_feature_image_shadow).'px '.esc_attr($multipurpose_magazine_feature_image_shadow).'px '.esc_attr($multipurpose_magazine_feature_image_shadow).'px #aaa;';
		$multipurpose_magazine_custom_css .='}';
	}

	// blog post Pagination Alignment
	$multipurpose_magazine_post_pagination_alignment = get_theme_mod( 'multipurpose_magazine_post_pagination_option','Right');
	if($multipurpose_magazine_post_pagination_alignment == 'Left'){
		$multipurpose_magazine_custom_css .='.navigation nav.pagination{';
			$multipurpose_magazine_custom_css .='justify-content: left;';
		$multipurpose_magazine_custom_css .='}';
	}else if($multipurpose_magazine_post_pagination_alignment == 'Center'){
		$multipurpose_magazine_custom_css .='.navigation nav.pagination{';
			$multipurpose_magazine_custom_css .='justify-content: center;';
		$multipurpose_magazine_custom_css .='}';
	}else if($multipurpose_magazine_post_pagination_alignment == 'Right'){
		$multipurpose_magazine_custom_css .='.navigation nav.pagination{';
			$multipurpose_magazine_custom_css .='justify-content: right;';
		$multipurpose_magazine_custom_css .='}';
	}

	//Blog Post Initial Cap
	$multipurpose_magazine_initial_caps_enable = get_theme_mod('multipurpose_magazine_initial_caps_enable', 'false');
	if($multipurpose_magazine_initial_caps_enable == 'true' ){
		$multipurpose_magazine_custom_css .='.blogger .entry-content p:nth-of-type(1)::first-letter,.blogger p:nth-of-type(1)::first-letter{';
			$multipurpose_magazine_custom_css .=' font-size: 60px!important; font-weight: 800!important;';
		$multipurpose_magazine_custom_css .=' margin-right: 4px; text-transform: uppercase;';
			$multipurpose_magazine_custom_css .=' font-family: "Vollkorn", serif!important;';
		$multipurpose_magazine_custom_css .='}';
	}elseif($multipurpose_magazine_initial_caps_enable == 'false' ){
		$multipurpose_magazine_custom_css .='.blogger .entry-content p:nth-of-type(1)::first-letter,.blogger p:nth-of-type(1)::first-letter{';
			$multipurpose_magazine_custom_css .='display: none!important;';
		$multipurpose_magazine_custom_css .='}';
	}

	 /*----- Related posts image css-----*/
	$multipurpose_magazine_related_posts_image_shadow = get_theme_mod('multipurpose_magazine_related_posts_image_shadow');
	if($multipurpose_magazine_related_posts_image_shadow != false){
		$multipurpose_magazine_custom_css .='.related-posts .blog-sec img{';
			$multipurpose_magazine_custom_css .='box-shadow: '.esc_attr($multipurpose_magazine_related_posts_image_shadow).'px '.esc_attr($multipurpose_magazine_related_posts_image_shadow).'px '.esc_attr($multipurpose_magazine_related_posts_image_shadow).'px #aaa;';
		$multipurpose_magazine_custom_css .='}';
	}

	$multipurpose_magazine_related_image_border_radius = get_theme_mod('multipurpose_magazine_related_image_border_radius');
	if($multipurpose_magazine_related_image_border_radius != false){
		$multipurpose_magazine_custom_css .='.related-posts .blog-sec img{';
			$multipurpose_magazine_custom_css .='border-radius: '.esc_attr($multipurpose_magazine_related_image_border_radius).'px;';
		$multipurpose_magazine_custom_css .='}';
	}

	 /*----- Related Post display type css ------*/
	$multipurpose_magazine_related_post_display_type = get_theme_mod('multipurpose_magazine_related_post_display_type', 'blocks');
	if($multipurpose_magazine_related_post_display_type == 'without blocks' ){
		$multipurpose_magazine_custom_css .='.related-posts .blog-sec{';
			$multipurpose_magazine_custom_css .='border: 0!important;';
		$multipurpose_magazine_custom_css .='}';
	}

	// Metabox Seperator related post
	$multipurpose_magazine_related_post_metabox_seperator = get_theme_mod('multipurpose_magazine_related_post_metabox_seperator', '|');
	if($multipurpose_magazine_related_post_metabox_seperator != '' ){
		$multipurpose_magazine_custom_css .='.related-posts .blog-sec span:after{';
			$multipurpose_magazine_custom_css .=' content: "'.esc_attr($multipurpose_magazine_related_post_metabox_seperator).'"; padding-left:10px;';
		$multipurpose_magazine_custom_css .='}';
		$multipurpose_magazine_custom_css .='.related-posts .blog-sec span:last-child:after{';
			$multipurpose_magazine_custom_css .=' content: none;';
		$multipurpose_magazine_custom_css .='}';
	}	

	/*------ Sticky header padding ------------*/
	$multipurpose_magazine_top_sticky_header_padding = get_theme_mod('multipurpose_magazine_top_sticky_header_padding');
	$multipurpose_magazine_bottom_sticky_header_padding = get_theme_mod('multipurpose_magazine_bottom_sticky_header_padding');
	$multipurpose_magazine_custom_css .=' .fixed-header{';
		$multipurpose_magazine_custom_css .=' padding-top: '.esc_attr($multipurpose_magazine_top_sticky_header_padding).'px; padding-bottom: '.esc_attr($multipurpose_magazine_bottom_sticky_header_padding).'px';
	$multipurpose_magazine_custom_css .='}';

	// featured image dimention
	$multipurpose_magazine_blog_image_dimension = get_theme_mod('multipurpose_magazine_blog_image_dimension', 'default');
	$multipurpose_magazine_feature_image_custom_width = get_theme_mod('multipurpose_magazine_feature_image_custom_width',250);
	$multipurpose_magazine_feature_image_custom_height = get_theme_mod('multipurpose_magazine_feature_image_custom_height',250);
	if($multipurpose_magazine_blog_image_dimension == 'custom'){
		$multipurpose_magazine_custom_css .='#blog_post .blog-sec img{';
			$multipurpose_magazine_custom_css .='width: '.esc_attr($multipurpose_magazine_feature_image_custom_width).'px; height: '.esc_attr($multipurpose_magazine_feature_image_custom_height).'px;';
		$multipurpose_magazine_custom_css .='}';
	}

	/*------ Related products ---------*/
	$multipurpose_magazine_related_products = get_theme_mod('multipurpose_magazine_single_related_products',true);
	if($multipurpose_magazine_related_products == false){
		$multipurpose_magazine_custom_css .=' .related.products{';
			$multipurpose_magazine_custom_css .='display: none;';
		$multipurpose_magazine_custom_css .='}';
	}

	/*-------- Menu Font Size --------*/
	$multipurpose_magazine_menu_font_size = get_theme_mod('multipurpose_magazine_menu_font_size',14);
	if($multipurpose_magazine_menu_font_size != false){
		$multipurpose_magazine_custom_css .='.nav-menu li a{';
			$multipurpose_magazine_custom_css .='font-size: '.esc_attr($multipurpose_magazine_menu_font_size).'px;';
		$multipurpose_magazine_custom_css .='}';
	}

	$multipurpose_magazine_menu_font_weight = get_theme_mod('multipurpose_magazine_menu_font_weight');
	$multipurpose_magazine_custom_css .='.nav-menu li a{';
		$multipurpose_magazine_custom_css .='font-weight: '.esc_attr($multipurpose_magazine_menu_font_weight).';';
	$multipurpose_magazine_custom_css .='}';

	$multipurpose_magazine_menu_case = get_theme_mod('multipurpose_magazine_menu_case', 'uppercase');
	if($multipurpose_magazine_menu_case == 'uppercase' ){
		$multipurpose_magazine_custom_css .='.nav-menu li a{';
			$multipurpose_magazine_custom_css .=' text-transform: uppercase;';
		$multipurpose_magazine_custom_css .='}';
	}elseif($multipurpose_magazine_menu_case == 'capitalize' ){
		$multipurpose_magazine_custom_css .='.nav-menu li a{';
			$multipurpose_magazine_custom_css .=' text-transform: capitalize;';
		$multipurpose_magazine_custom_css .='}';
	}

	// Social Icons Font Size
	$multipurpose_magazine_social_icons_font_size = get_theme_mod('multipurpose_magazine_social_icons_font_size', '16');
	$multipurpose_magazine_custom_css .='.top .social_widget i{';
		$multipurpose_magazine_custom_css .='font-size: '.esc_attr($multipurpose_magazine_social_icons_font_size).'px;';
	$multipurpose_magazine_custom_css .='}';

	// Featured image header
	$header_image_url = multipurpose_magazine_banner_image( $image_url = '' );
	$multipurpose_magazine_custom_css .='#page-site-header{';
		$multipurpose_magazine_custom_css .='background-image: url('. esc_url( $header_image_url ).'); background-size: cover;';
	$multipurpose_magazine_custom_css .='}';

	$multipurpose_magazine_post_featured_image = get_theme_mod('multipurpose_magazine_post_featured_image', 'in-content');
	if($multipurpose_magazine_post_featured_image == 'banner' ){
		$multipurpose_magazine_custom_css .='.single #wrapper h1, .page #wrapper h1, .page #wrapper img{';
			$multipurpose_magazine_custom_css .=' display: none;';
		$multipurpose_magazine_custom_css .='}';
		$multipurpose_magazine_custom_css .='.page-template-custom-front-page #page-site-header{';
			$multipurpose_magazine_custom_css .=' display: none;';
		$multipurpose_magazine_custom_css .='}';
	}

	// Woocommerce Shop page pagination
	$multipurpose_magazine_shop_page_navigation = get_theme_mod('multipurpose_magazine_shop_page_navigation',true);
	if ($multipurpose_magazine_shop_page_navigation == false) {
		$multipurpose_magazine_custom_css .='.woocommerce nav.woocommerce-pagination{';
			$multipurpose_magazine_custom_css .='display: none;';
		$multipurpose_magazine_custom_css .='}';
	}
	// Slider Arrows hover color
	$multipurpose_magazine_slider_arrows_hover_color = get_theme_mod('multipurpose_magazine_slider_arrows_hover_color','#1b1b1b');
	$multipurpose_magazine_custom_css .='.owl-carousel .owl-prev:hover,.owl-carousel .owl-next:hover{';
			$multipurpose_magazine_custom_css .='background-color: '.esc_attr($multipurpose_magazine_slider_arrows_hover_color).' !important;';
	$multipurpose_magazine_custom_css .='}';

	/*------ slider arrow hide show---------*/
	$multipurpose_magazine_slider_arrow_hide_show = get_theme_mod('multipurpose_magazine_slider_arrow_hide_show',true);
	if($multipurpose_magazine_slider_arrow_hide_show == false){
		$multipurpose_magazine_custom_css .='#categry button.owl-prev ,#categry button.owl-next{';
			$multipurpose_magazine_custom_css .='display: none;';
		$multipurpose_magazine_custom_css .='}';
	}

	/*---- Slider Height ------*/
	$multipurpose_magazine_slider_height = get_theme_mod('multipurpose_magazine_slider_height');
	$multipurpose_magazine_custom_css .='#categry .owl-carousel .owl-item img{';
		$multipurpose_magazine_custom_css .='height: '.esc_attr($multipurpose_magazine_slider_height).'px;';
	$multipurpose_magazine_custom_css .='}';
	$multipurpose_magazine_custom_css .='@media screen and (max-width: 768px){
		#categry .owl-carousel .owl-item img{';
		$multipurpose_magazine_custom_css .='height: auto;';
	$multipurpose_magazine_custom_css .='} }';

	/*----- Blog Post display type css ------*/
	$multipurpose_magazine_blog_post_display_type = get_theme_mod('multipurpose_magazine_blog_post_display_type', 'blocks');
	if($multipurpose_magazine_blog_post_display_type == 'without blocks' ){
		$multipurpose_magazine_custom_css .='.blog .blog-sec, .blog #sidebar .widget{';
			$multipurpose_magazine_custom_css .='border: 0;';
		$multipurpose_magazine_custom_css .='}';
	}

	/*---------- Responsive style ---------*/
	$multipurpose_magazine_toggle_button_bg_color_settings = get_theme_mod('multipurpose_magazine_toggle_button_bg_color_settings');
	$multipurpose_magazine_custom_css .='.toggle-menu {';
	$multipurpose_magazine_custom_css .='background-color: '.esc_attr($multipurpose_magazine_toggle_button_bg_color_settings).';';
	$multipurpose_magazine_custom_css .='} ';
	
	if (get_theme_mod('multipurpose_magazine_hide_topbar_responsive',true) == true && get_theme_mod('multipurpose_magazine_top_header',false) == false) {
		$multipurpose_magazine_custom_css .='.top-bar{';
			$multipurpose_magazine_custom_css .=' display: none;';
		$multipurpose_magazine_custom_css .='} ';
	}
	if (get_theme_mod('multipurpose_magazine_hide_topbar_responsive',true) == false) {
		$multipurpose_magazine_custom_css .='@media screen and (max-width: 575px){
			.top-bar{';
			$multipurpose_magazine_custom_css .=' display: none;';
		$multipurpose_magazine_custom_css .='} }';
	} else if(get_theme_mod('multipurpose_magazine_hide_topbar_responsive',true) == true){
		$multipurpose_magazine_custom_css .='@media screen and (max-width: 575px){
			.top-bar{';
			$multipurpose_magazine_custom_css .=' display: block;';
		$multipurpose_magazine_custom_css .='} }';
	}

	if (get_theme_mod('multipurpose_magazine_sticky_header_responsive') == false) {
		$multipurpose_magazine_custom_css .='@media screen and (max-width: 575px){
			.sticky{';
			$multipurpose_magazine_custom_css .=' position: static;';
		$multipurpose_magazine_custom_css .='} }';
	}

	$multipurpose_magazine_resp_sidebar = get_theme_mod( 'multipurpose_magazine_sidebar_hide_show',true);
    if($multipurpose_magazine_resp_sidebar == true){
    	$multipurpose_magazine_custom_css .='@media screen and (max-width:575px) {';
		$multipurpose_magazine_custom_css .='#sidebar{';
			$multipurpose_magazine_custom_css .='display:block;';
		$multipurpose_magazine_custom_css .='} }';
	}else if($multipurpose_magazine_resp_sidebar == false){
		$multipurpose_magazine_custom_css .='@media screen and (max-width:575px) {';
		$multipurpose_magazine_custom_css .='#sidebar{';
			$multipurpose_magazine_custom_css .='display:none;';
		$multipurpose_magazine_custom_css .='} }';
	}

	/*-----------Slider Content Layout ----------------*/
	$multipurpose_magazine_slider_layout = get_theme_mod( 'multipurpose_magazine_slider_alignment_option','Left Align');
    if($multipurpose_magazine_slider_layout == 'Left Align'){
		$multipurpose_magazine_custom_css .='#categry .text-content {';
			$multipurpose_magazine_custom_css .='text-align:left;';
		$multipurpose_magazine_custom_css .='}';
	}else if($multipurpose_magazine_slider_layout == 'Center Align'){
		$multipurpose_magazine_custom_css .='#categry .text-content {';
			$multipurpose_magazine_custom_css .='text-align:center;';
		$multipurpose_magazine_custom_css .='}';
	}else if($multipurpose_magazine_slider_layout == 'Right Align'){
		$multipurpose_magazine_custom_css .='#categry .text-content {';
			$multipurpose_magazine_custom_css .='text-align:right;';
		$multipurpose_magazine_custom_css .='}';
	}

	// Metabox Seperator
	$multipurpose_magazine_metabox_seperator = get_theme_mod('multipurpose_magazine_metabox_seperator','|');
	if($multipurpose_magazine_metabox_seperator != '' ){
		$multipurpose_magazine_custom_css .='#blog_post .blog-sec .metabox span:after{';
			$multipurpose_magazine_custom_css .=' content: "'.esc_attr($multipurpose_magazine_metabox_seperator).'"; padding-left:10px;';
		$multipurpose_magazine_custom_css .='}';
		$multipurpose_magazine_custom_css .='#blog_post .blog-sec .metabox span:last-child:after{';
			$multipurpose_magazine_custom_css .=' content: none;';
		$multipurpose_magazine_custom_css .='}';
	}

	// Metabox Seperator Single post
	$multipurpose_magazine_single_post_metabox_seperator = get_theme_mod('multipurpose_magazine_single_post_metabox_seperator','|');
	if($multipurpose_magazine_single_post_metabox_seperator != '' ){
		$multipurpose_magazine_custom_css .='.post-info span:after{';
			$multipurpose_magazine_custom_css .=' content: "'.esc_attr($multipurpose_magazine_single_post_metabox_seperator).'"; padding-left:10px;';
		$multipurpose_magazine_custom_css .='}';
		$multipurpose_magazine_custom_css .='.post-info span:last-child:after{';
			$multipurpose_magazine_custom_css .=' content: none;';
		$multipurpose_magazine_custom_css .='}';
	}

	// Metabox Seperator Grid post
	$multipurpose_magazine_grid_post_metabox_seperator = get_theme_mod('multipurpose_magazine_grid_post_metabox_seperator','|');
	if($multipurpose_magazine_grid_post_metabox_seperator != '' ){
		$multipurpose_magazine_custom_css .='.grid-blog-sec span:after{';
			$multipurpose_magazine_custom_css .=' content: "'.esc_attr($multipurpose_magazine_grid_post_metabox_seperator).'"; padding-left:10px;';
		$multipurpose_magazine_custom_css .='}';
		$multipurpose_magazine_custom_css .='.grid-blog-sec span:last-child:after{';
			$multipurpose_magazine_custom_css .=' content: none;';
		$multipurpose_magazine_custom_css .='}';
	}

	/*----- grid Post display type css ------*/
	$multipurpose_magazine_grid_post_display_type = get_theme_mod('multipurpose_magazine_grid_post_display_type', 'blocks');
	if($multipurpose_magazine_grid_post_display_type == 'without blocks' ){
		$multipurpose_magazine_custom_css .='.grid-blog-sec{';
			$multipurpose_magazine_custom_css .='border: 0;';
		$multipurpose_magazine_custom_css .='}';
	}

	/*----- grid Post css ------*/
	 $multipurpose_magazine_grid_post_image_border_radius = get_theme_mod('multipurpose_magazine_grid_post_image_border_radius');
	 if($multipurpose_magazine_grid_post_image_border_radius != false){
		 $multipurpose_magazine_custom_css .='.grid-blog-sec img{';
			 $multipurpose_magazine_custom_css .='border-radius: '.esc_attr($multipurpose_magazine_grid_post_image_border_radius).'px;';
		 $multipurpose_magazine_custom_css .='}';
	 }
 
	$multipurpose_magazine_grid_posts_image_shadow = get_theme_mod('multipurpose_magazine_grid_posts_image_shadow');
	if($multipurpose_magazine_grid_posts_image_shadow != false){
		$multipurpose_magazine_custom_css .='.grid-blog-sec img{';
			$multipurpose_magazine_custom_css .='box-shadow: '.esc_attr($multipurpose_magazine_grid_posts_image_shadow).'px '.esc_attr($multipurpose_magazine_grid_posts_image_shadow).'px '.esc_attr($multipurpose_magazine_grid_posts_image_shadow).'px #aaa;';
		$multipurpose_magazine_custom_css .='}';
	}

	/*-------- grid post Alignment ------*/
	$multipurpose_magazine_grid_alignment = get_theme_mod('multipurpose_magazine_grid_alignment','center');
	if($multipurpose_magazine_grid_alignment == 'left' ){
		$multipurpose_magazine_custom_css .='.grid-blog-sec, .grid-blog-sec h2,.grid-blog-sec .metabox, .grid-blog-sec .entry-content, .grid-blog-sec .blogbtn{';
			$multipurpose_magazine_custom_css .=' text-align: '. $multipurpose_magazine_grid_alignment .'!important;';
		$multipurpose_magazine_custom_css .='}';
	}elseif($multipurpose_magazine_grid_alignment == 'right' ){
		$multipurpose_magazine_custom_css .='.grid-blog-sec, .grid-blog-sec h2,.grid-blog-sec .metabox, .grid-blog-sec .entry-content, .grid-blog-sec .blogbtn{';
			$multipurpose_magazine_custom_css .='text-align: '. $multipurpose_magazine_grid_alignment .'!important;';
		$multipurpose_magazine_custom_css .='}';
	}elseif($multipurpose_magazine_grid_alignment == 'center' ){
		$multipurpose_magazine_custom_css .='.grid-blog-sec, .grid-blog-sec h2,.grid-blog-sec .metabox, .grid-blog-sec .entry-content, .grid-blog-sec .blogbtn{';
			$multipurpose_magazine_custom_css .='text-align: '. $multipurpose_magazine_grid_alignment .'!important;';
		$multipurpose_magazine_custom_css .='}';	
	}

	// Site title Font Size
	$multipurpose_magazine_site_title_font_size = get_theme_mod('multipurpose_magazine_site_title_font_size', '30');
	$multipurpose_magazine_custom_css .='.logo h1, .logo p.site-title{';
		$multipurpose_magazine_custom_css .='font-size: '.esc_attr($multipurpose_magazine_site_title_font_size).'px;';
	$multipurpose_magazine_custom_css .='}';

	// Site tagline Font Size
	$multipurpose_magazine_site_tagline_font_size = get_theme_mod('multipurpose_magazine_site_tagline_font_size', '15');
	$multipurpose_magazine_custom_css .='.logo p.site-description{';
		$multipurpose_magazine_custom_css .='font-size: '.esc_attr($multipurpose_magazine_site_tagline_font_size).'px;';
	$multipurpose_magazine_custom_css .='}';

	/*---- Slider Content Position -----*/
	$multipurpose_magazine_top_position = get_theme_mod('multipurpose_magazine_slider_top_position');
	$multipurpose_magazine_bottom_position = get_theme_mod('multipurpose_magazine_slider_bottom_position');
	$multipurpose_magazine_left_position = get_theme_mod('multipurpose_magazine_slider_left_position');
	$multipurpose_magazine_right_position = get_theme_mod('multipurpose_magazine_slider_right_position');
	if($multipurpose_magazine_top_position != false || $multipurpose_magazine_bottom_position != false || $multipurpose_magazine_left_position != false || $multipurpose_magazine_right_position != false){
		$multipurpose_magazine_custom_css .='#categry .text-content{';
			$multipurpose_magazine_custom_css .='top: '.esc_attr($multipurpose_magazine_top_position).'%; bottom: '.esc_attr($multipurpose_magazine_bottom_position).'%; left: '.esc_attr($multipurpose_magazine_left_position).'%; right: '.esc_attr($multipurpose_magazine_right_position).'%;';
		$multipurpose_magazine_custom_css .='}';
	}

	// responsive settings
	if (get_theme_mod('multipurpose_magazine_preloader_responsive',false) == true && get_theme_mod('multipurpose_magazine_preloader',false) == false) {
		$multipurpose_magazine_custom_css .='@media screen and (min-width: 575px){
			.preloader, #overlayer, .tg-loader{';
			$multipurpose_magazine_custom_css .=' visibility: hidden;';
		$multipurpose_magazine_custom_css .='} }';
	}
	if (get_theme_mod('multipurpose_magazine_preloader_responsive',false) == false) {
		$multipurpose_magazine_custom_css .='@media screen and (max-width: 575px){
			.preloader, #overlayer, .tg-loader{';
			$multipurpose_magazine_custom_css .=' visibility: hidden;';
		$multipurpose_magazine_custom_css .='} }';
	}

	// scroll to top
	$multipurpose_magazine_scroll = get_theme_mod( 'multipurpose_magazine_backtotop_responsive',true);
	if (get_theme_mod('multipurpose_magazine_backtotop_responsive',true) == true && get_theme_mod('multipurpose_magazine_hide_scroll',true) == false) {
    	$multipurpose_magazine_custom_css .='.show-back-to-top{';
			$multipurpose_magazine_custom_css .='visibility: hidden !important;';
		$multipurpose_magazine_custom_css .='} ';
	}
    if($multipurpose_magazine_scroll == true){
    	$multipurpose_magazine_custom_css .='@media screen and (max-width:575px) {';
		$multipurpose_magazine_custom_css .='.show-back-to-top{';
			$multipurpose_magazine_custom_css .='visibility: visible !important;';
		$multipurpose_magazine_custom_css .='} }';
	}else if($multipurpose_magazine_scroll == false){
		$multipurpose_magazine_custom_css .='@media screen and (max-width:575px) {';
		$multipurpose_magazine_custom_css .='.show-back-to-top{';
			$multipurpose_magazine_custom_css .='visibility: hidden !important;';
		$multipurpose_magazine_custom_css .='} }';
	}

	/*------ Footer background css -------*/
	$multipurpose_magazine_copyright_bg_color = get_theme_mod('multipurpose_magazine_copyright_bg_color');
	if($multipurpose_magazine_copyright_bg_color != false){
		$multipurpose_magazine_custom_css .='.inner{';
			$multipurpose_magazine_custom_css .='background-color: '.esc_attr($multipurpose_magazine_copyright_bg_color).';';
		$multipurpose_magazine_custom_css .='}';
	}

	// site logo padding 
	$multipurpose_magazine_logo_spacing = get_theme_mod('multipurpose_magazine_logo_spacing', '');
	$multipurpose_magazine_custom_css .='.logo{';
	$multipurpose_magazine_custom_css .='padding: '.esc_attr($multipurpose_magazine_logo_spacing).'px !important;';
	$multipurpose_magazine_custom_css .='}';

	// site title color
	$multipurpose_magazine_site_title_text_color = get_theme_mod('multipurpose_magazine_site_title_text_color');
	$multipurpose_magazine_custom_css .='.logo h1 a, .logo p.site-title a{';
		$multipurpose_magazine_custom_css .='color: '.esc_attr($multipurpose_magazine_site_title_text_color).' !important;';
	$multipurpose_magazine_custom_css .='}';

	// site tagline color
	$multipurpose_magazine_site_tagline_text_color = get_theme_mod('multipurpose_magazine_site_tagline_text_color');
	$multipurpose_magazine_custom_css .='.logo p.site-description{';
		$multipurpose_magazine_custom_css .='color: '.esc_attr($multipurpose_magazine_site_tagline_text_color).' !important;';
	$multipurpose_magazine_custom_css .='}';

	// responsive slider
	if (get_theme_mod('multipurpose_magazine_slider_responsive',true) == true && get_theme_mod('multipurpose_magazine_slider_hide_show',false) == false) {
		$multipurpose_magazine_custom_css .='@media screen and (min-width: 575px){
			#categry{';
			$multipurpose_magazine_custom_css .=' display: none;';
		$multipurpose_magazine_custom_css .='} }';
	}
	if (get_theme_mod('multipurpose_magazine_slider_responsive',true) == false) {
		$multipurpose_magazine_custom_css .='@media screen and (max-width: 575px){
			#categry{';
			$multipurpose_magazine_custom_css .=' display: none;';
		$multipurpose_magazine_custom_css .='} }';
	}

	// menu padding
	$multipurpose_magazine_menu_padding = get_theme_mod('multipurpose_magazine_menu_padding',15);
	$multipurpose_magazine_custom_css .='.nav-menu ul li a, .sf-arrows ul .sf-with-ul, .sf-arrows .sf-with-ul{';
		$multipurpose_magazine_custom_css .='padding: '.esc_attr($multipurpose_magazine_menu_padding).'px;';
	$multipurpose_magazine_custom_css .='}';

	// menu color
	$multipurpose_magazine_menu_color = get_theme_mod('multipurpose_magazine_menu_color');
	$multipurpose_magazine_custom_css .='.nav-menu a, .nav-menu .current-menu-item > a, .nav-menu .current_page_ancestor > a{';
			$multipurpose_magazine_custom_css .='color: '.esc_attr($multipurpose_magazine_menu_color).' !important;';
	$multipurpose_magazine_custom_css .='}';

	$multipurpose_magazine_menus_item = get_theme_mod( 'multipurpose_magazine_menus_item_style','None');
    if($multipurpose_magazine_menus_item == 'None'){
		$multipurpose_magazine_custom_css .='.nav-menu ul li a{';
			$multipurpose_magazine_custom_css .='';
		$multipurpose_magazine_custom_css .='}';
	}else if($multipurpose_magazine_menus_item == 'Zoom In'){
		$multipurpose_magazine_custom_css .='.nav-menu ul li a:hover{';
			$multipurpose_magazine_custom_css .='transition: all 0.3s ease-in-out !important; transform: scale(1.2) !important;';
		$multipurpose_magazine_custom_css .='}';
	}else if ($multipurpose_magazine_menus_item == 'Underline Expand') { 
		$multipurpose_magazine_custom_css .= '.nav-menu ul li a { position: relative; text-decoration: none; }';
	$multipurpose_magazine_custom_css .= '.nav-menu ul li a::after {';
		$multipurpose_magazine_custom_css .= 'content: ""; position: absolute; left: 50%; bottom: calc(' . esc_attr($multipurpose_magazine_menu_padding) . 'px / 2); width: 0; height: 2px; background-color: currentColor;';
	$multipurpose_magazine_custom_css .= 'transition: width 0.3s ease, left 0.3s ease;';
		$multipurpose_magazine_custom_css .= '}';
	$multipurpose_magazine_custom_css .= '.nav-menu ul li a:hover::after {';
		$multipurpose_magazine_custom_css .= 'width: 100%; left: 0;';
	$multipurpose_magazine_custom_css .= '}';
	}		

	// menu hover color
	$multipurpose_magazine_menu_hover_color = get_theme_mod('multipurpose_magazine_menu_hover_color');
	$multipurpose_magazine_custom_css .='.nav-menu a:hover, .nav-menu ul li a:hover{';
			$multipurpose_magazine_custom_css .='color: '.esc_attr($multipurpose_magazine_menu_hover_color).' !important;';
	$multipurpose_magazine_custom_css .='}';

	// Submenu color
	$multipurpose_magazine_submenu_menu_color = get_theme_mod('multipurpose_magazine_submenu_menu_color');
	$multipurpose_magazine_custom_css .='.nav-menu ul.sub-menu a, .nav-menu ul.sub-menu li a,.nav-menu ul.children a, .nav-menu ul.children li a{';
			$multipurpose_magazine_custom_css .='color: '.esc_attr($multipurpose_magazine_submenu_menu_color).' !important;';
	$multipurpose_magazine_custom_css .='}';

	// submenu hover color
	$multipurpose_magazine_submenu_hover_color = get_theme_mod('multipurpose_magazine_submenu_hover_color');
	$multipurpose_magazine_custom_css .='.nav-menu ul.sub-menu a:hover, .nav-menu ul.sub-menu li a:hover,.nav-menu ul.children a:hover, .nav-menu ul.children li a:hover{';
			$multipurpose_magazine_custom_css .='color: '.esc_attr($multipurpose_magazine_submenu_hover_color).' !important;';
	$multipurpose_magazine_custom_css .='}';

	// Breadcrumb Alignmennt
	$multipurpose_magazine_single_page_breadcrumb_alignment = get_theme_mod('multipurpose_magazine_single_page_breadcrumb_alignment', 'Left');
	if($multipurpose_magazine_single_page_breadcrumb_alignment == 'Center' ){
		$multipurpose_magazine_custom_css .='.bradcrumbs{';
			$multipurpose_magazine_custom_css .='text-align: '. $multipurpose_magazine_single_page_breadcrumb_alignment .';';
		$multipurpose_magazine_custom_css .='}';
	}elseif($multipurpose_magazine_single_page_breadcrumb_alignment == 'Left' ){
		$multipurpose_magazine_custom_css .='.bradcrumbs{';
			$multipurpose_magazine_custom_css .=' text-align: '. $multipurpose_magazine_single_page_breadcrumb_alignment .';';
		$multipurpose_magazine_custom_css .='}';
	}elseif($multipurpose_magazine_single_page_breadcrumb_alignment == 'Right' ){
		$multipurpose_magazine_custom_css .='.bradcrumbs{';
			$multipurpose_magazine_custom_css .='text-align: '. $multipurpose_magazine_single_page_breadcrumb_alignment .';';
		$multipurpose_magazine_custom_css .='}';
	}

	// Breadcrumb color option
	$multipurpose_magazine_breadcrumb_color = get_theme_mod('multipurpose_magazine_breadcrumb_color');
	$multipurpose_magazine_custom_css .='.bradcrumbs a,.bradcrumbs span{';
		$multipurpose_magazine_custom_css .='color: '.esc_attr($multipurpose_magazine_breadcrumb_color).'!important;';
	$multipurpose_magazine_custom_css .='}';

	// Breadcrumb bg color option
	$multipurpose_magazine_breadcrumb_background_color = get_theme_mod('multipurpose_magazine_breadcrumb_background_color');
	$multipurpose_magazine_custom_css .='.bradcrumbs a,.bradcrumbs span{';
		$multipurpose_magazine_custom_css .='background-color: '.esc_attr($multipurpose_magazine_breadcrumb_background_color).'!important;';
	$multipurpose_magazine_custom_css .='}';

	// Breadcrumb hover color option
	$multipurpose_magazine_breadcrumb_hover_color = get_theme_mod('multipurpose_magazine_breadcrumb_hover_color');
	$multipurpose_magazine_custom_css .='.bradcrumbs a:hover{';
		$multipurpose_magazine_custom_css .='color: '.esc_attr($multipurpose_magazine_breadcrumb_hover_color).'!important;';
	$multipurpose_magazine_custom_css .='}';

	// Breadcrumb hover bg color option
	$multipurpose_magazine_breadcrumb_hover_bg_color = get_theme_mod('multipurpose_magazine_breadcrumb_hover_bg_color');
	$multipurpose_magazine_custom_css .='.bradcrumbs a:hover{';
		$multipurpose_magazine_custom_css .='background-color: '.esc_attr($multipurpose_magazine_breadcrumb_hover_bg_color).'!important;';
	$multipurpose_magazine_custom_css .='}';

	// site logo margin 
	$multipurpose_magazine_logo_margin = get_theme_mod('multipurpose_magazine_logo_margin', '');
	$multipurpose_magazine_custom_css .='.logo{';
	$multipurpose_magazine_custom_css .='margin: '.esc_attr($multipurpose_magazine_logo_margin).'px !important;';
	$multipurpose_magazine_custom_css .='}';

	// Single post image border radious
	$multipurpose_magazine_single_post_img_border_radius = get_theme_mod('multipurpose_magazine_single_post_img_border_radius', 0);
	$multipurpose_magazine_custom_css .='.feature-box img{';
		$multipurpose_magazine_custom_css .='border-radius: '.esc_attr($multipurpose_magazine_single_post_img_border_radius).'px;';
	$multipurpose_magazine_custom_css .='}';

	// Single post image box shadow
	$multipurpose_magazine_single_post_img_box_shadow = get_theme_mod('multipurpose_magazine_single_post_img_box_shadow',0);
	$multipurpose_magazine_custom_css .='.feature-box img{';
		$multipurpose_magazine_custom_css .='box-shadow: '.esc_attr($multipurpose_magazine_single_post_img_box_shadow).'px '.esc_attr($multipurpose_magazine_single_post_img_box_shadow).'px '.esc_attr($multipurpose_magazine_single_post_img_box_shadow).'px #ccc;';
	$multipurpose_magazine_custom_css .='}';

	// single post image dimention
	$multipurpose_magazine_single_post_image_dimension = get_theme_mod('multipurpose_magazine_single_post_image_dimension', 'default');
	$multipurpose_magazine_single_post_image_custom_width = get_theme_mod('multipurpose_magazine_single_post_image_custom_width',400);
	$multipurpose_magazine_single_post_image_custom_height = get_theme_mod('multipurpose_magazine_single_post_image_custom_height',400);
	if($multipurpose_magazine_single_post_image_dimension == 'custom'){
		$multipurpose_magazine_custom_css .='.singlepost-page .feature-box img{';
			$multipurpose_magazine_custom_css .='width: '.esc_attr($multipurpose_magazine_single_post_image_custom_width).'px; height: '.esc_attr($multipurpose_magazine_single_post_image_custom_height).'px;';
		$multipurpose_magazine_custom_css .='}';
	}

	// Button Font Size
	$multipurpose_magazine_button_font_size = get_theme_mod('multipurpose_magazine_button_font_size', '16');
	$multipurpose_magazine_custom_css .='.blogbtn a{';
		$multipurpose_magazine_custom_css .='font-size: '.esc_attr($multipurpose_magazine_button_font_size).'px;';
	$multipurpose_magazine_custom_css .='}';

	// sticky sidebar
	$multipurpose_magazine_sticky_sidebar = get_theme_mod('multipurpose_magazine_sticky_sidebar');
	if ( $multipurpose_magazine_sticky_sidebar ) {
		$multipurpose_magazine_custom_css .= '@media (min-width: 768px) {';
			$multipurpose_magazine_custom_css .= '#sidebar {';
				$multipurpose_magazine_custom_css .= 'position: sticky;';
				$multipurpose_magazine_custom_css .= 'top: 25px;';
				$multipurpose_magazine_custom_css .= 'align-self: start;';
			$multipurpose_magazine_custom_css .= '}';
		$multipurpose_magazine_custom_css .= '}';
	}

	// Copyright Sticky 
	$multipurpose_magazine_resp_stickycopyright = get_theme_mod( 'multipurpose_magazine_stickycopyright_hide_show',false);
	if($multipurpose_magazine_resp_stickycopyright == true && get_theme_mod( 'multipurpose_magazine_copyright_sticky',false) != true){
    	$multipurpose_magazine_custom_css .='.copyright-sticky{';
			$multipurpose_magazine_custom_css .='position:static;';
		$multipurpose_magazine_custom_css .='} ';
	}	

	// change the Category style //
	$multipurpose_magazine_single_post_styling = get_theme_mod( 'multipurpose_magazine_single_post_styling','Button');
		if($multipurpose_magazine_single_post_styling == 'Underline'){
		$multipurpose_magazine_custom_css .='.single-post-category .post-categories li a{';
			$multipurpose_magazine_custom_css .='text-decoration: underline; color: #000 !important; background-color:transparent;';
		$multipurpose_magazine_custom_css .='}';
	}
	else if($multipurpose_magazine_single_post_styling == 'Default'){
		$multipurpose_magazine_custom_css .='.single-post-category .post-categories li a{';
			$multipurpose_magazine_custom_css .='text-decoration: none; color: #000 !important; background-color:transparent;';
		$multipurpose_magazine_custom_css .='}';
	}
