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

	$multipurpose_lawyer_second_theme_color = get_theme_mod('multipurpose_lawyer_second_theme_color');

	$multipurpose_lawyer_custom_css = '';

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

	if ($multipurpose_lawyer_second_theme_color) {
		$multipurpose_lawyer_custom_css .= ':root {';
		$multipurpose_lawyer_custom_css .= '--secondary-color: ' . esc_attr($multipurpose_lawyer_second_theme_color) . ' !important;';
		$multipurpose_lawyer_custom_css .= '} ';
	}

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


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

	$multipurpose_lawyer_slider_layout = get_theme_mod( 'multipurpose_lawyer_slider_opacity','0.7');
	if($multipurpose_lawyer_slider_layout == '0'){
		$multipurpose_lawyer_custom_css .='#slider img{';
			$multipurpose_lawyer_custom_css .='opacity:0';
		$multipurpose_lawyer_custom_css .='}';
	}else if($multipurpose_lawyer_slider_layout == '0.1'){
		$multipurpose_lawyer_custom_css .='#slider img{';
			$multipurpose_lawyer_custom_css .='opacity:0.1';
		$multipurpose_lawyer_custom_css .='}';
	}else if($multipurpose_lawyer_slider_layout == '0.2'){
		$multipurpose_lawyer_custom_css .='#slider img{';
			$multipurpose_lawyer_custom_css .='opacity:0.2';
		$multipurpose_lawyer_custom_css .='}';
	}else if($multipurpose_lawyer_slider_layout == '0.3'){
		$multipurpose_lawyer_custom_css .='#slider img{';
			$multipurpose_lawyer_custom_css .='opacity:0.3';
		$multipurpose_lawyer_custom_css .='}';
	}else if($multipurpose_lawyer_slider_layout == '0.4'){
		$multipurpose_lawyer_custom_css .='#slider img{';
			$multipurpose_lawyer_custom_css .='opacity:0.4';
		$multipurpose_lawyer_custom_css .='}';
	}else if($multipurpose_lawyer_slider_layout == '0.5'){
		$multipurpose_lawyer_custom_css .='#slider img{';
			$multipurpose_lawyer_custom_css .='opacity:0.5';
		$multipurpose_lawyer_custom_css .='}';
	}else if($multipurpose_lawyer_slider_layout == '0.6'){
		$multipurpose_lawyer_custom_css .='#slider img{';
			$multipurpose_lawyer_custom_css .='opacity:0.6';
		$multipurpose_lawyer_custom_css .='}';
	}else if($multipurpose_lawyer_slider_layout == '0.7'){
		$multipurpose_lawyer_custom_css .='#slider img{';
			$multipurpose_lawyer_custom_css .='opacity:0.7';
		$multipurpose_lawyer_custom_css .='}';
	}else if($multipurpose_lawyer_slider_layout == '0.8'){
		$multipurpose_lawyer_custom_css .='#slider img{';
			$multipurpose_lawyer_custom_css .='opacity:0.8';
		$multipurpose_lawyer_custom_css .='}';
	}else if($multipurpose_lawyer_slider_layout == '0.9'){
		$multipurpose_lawyer_custom_css .='#slider img{';
			$multipurpose_lawyer_custom_css .='opacity:0.9';
		$multipurpose_lawyer_custom_css .='}';
	}

	/*---------------Slider Content Layout ----------------*/

	$multipurpose_lawyer_slider_layout = get_theme_mod( 'multipurpose_lawyer_slider_alignment_option','Left Align');
    if($multipurpose_lawyer_slider_layout == 'Left Align'){
		$multipurpose_lawyer_custom_css .='#slider .carousel-caption, #slider .inner_carousel, #slider .inner_carousel h1{';
			$multipurpose_lawyer_custom_css .='text-align:right;';
		$multipurpose_lawyer_custom_css .='}';
		$multipurpose_lawyer_custom_css .='#slider .carousel-caption{';
		$multipurpose_lawyer_custom_css .='left:0; right:auto;';
		$multipurpose_lawyer_custom_css .='}';
		$multipurpose_lawyer_custom_css .='#slider .inner_carousel{';
		$multipurpose_lawyer_custom_css .='left:20%; right: 5%;';
		$multipurpose_lawyer_custom_css .='}';
	}else if($multipurpose_lawyer_slider_layout == 'Center Align'){
		$multipurpose_lawyer_custom_css .='#slider .carousel-caption, #slider .inner_carousel, #slider .inner_carousel h1{';
			$multipurpose_lawyer_custom_css .='text-align:center;';
		$multipurpose_lawyer_custom_css .='}';
		$multipurpose_lawyer_custom_css .='#slider .carousel-caption{';
		$multipurpose_lawyer_custom_css .='left:30%; right:30%; padding:15px 15px 30px !important;';
		$multipurpose_lawyer_custom_css .='}';
		$multipurpose_lawyer_custom_css .='#slider .carousel-caption.d-none.d-md-block{';
		$multipurpose_lawyer_custom_css .='width:auto; height:auto; top:20%; bottom:15%;';
		$multipurpose_lawyer_custom_css .='}';
		$multipurpose_lawyer_custom_css .='#slider .inner_carousel{';
		$multipurpose_lawyer_custom_css .='left:5%; right: 5%;';
		$multipurpose_lawyer_custom_css .='}';
		$multipurpose_lawyer_custom_css .='@media screen and (max-width:1024px) and (min-width:768px){
			#slider .inner_carousel{';
			$multipurpose_lawyer_custom_css .='left: 0%;';
		$multipurpose_lawyer_custom_css .='} }';
		$multipurpose_lawyer_custom_css .='@media screen and (max-width:1024px) and (min-width:720px){
			.read-more{';
			$multipurpose_lawyer_custom_css .='margin-top: 10px;';
		$multipurpose_lawyer_custom_css .='} }';
		$multipurpose_lawyer_custom_css .='@media screen and (max-width:720px){
			.read-more{';
			$multipurpose_lawyer_custom_css .='margin-top: 0px;';
		$multipurpose_lawyer_custom_css .='} }';
	}else if($multipurpose_lawyer_slider_layout == 'Right Align'){
		$multipurpose_lawyer_custom_css .='#slider .carousel-caption, #slider .inner_carousel, #slider .inner_carousel h1{';
			$multipurpose_lawyer_custom_css .='text-align:left;';
		$multipurpose_lawyer_custom_css .='}';
		$multipurpose_lawyer_custom_css .='#slider .carousel-caption{';
		$multipurpose_lawyer_custom_css .='left:auto; right:0;';
		$multipurpose_lawyer_custom_css .='}';
		$multipurpose_lawyer_custom_css .='#slider .inner_carousel{';
		$multipurpose_lawyer_custom_css .='left:5%; right: 20%;';
		$multipurpose_lawyer_custom_css .='}';
	}

	// slider overlay
	$multipurpose_lawyer_slider_overlay = get_theme_mod('multipurpose_lawyer_slider_overlay', true);
	if($multipurpose_lawyer_slider_overlay == false){
		$multipurpose_lawyer_custom_css .='#slider img{';
			$multipurpose_lawyer_custom_css .='opacity:1;';
		$multipurpose_lawyer_custom_css .='}';
	} 
	$multipurpose_lawyer_slider_image_overlay_color = get_theme_mod('multipurpose_lawyer_slider_image_overlay_color', true);
	if($multipurpose_lawyer_slider_overlay != false){
		$multipurpose_lawyer_custom_css .='#slider{';
			$multipurpose_lawyer_custom_css .='background-color: '.esc_attr($multipurpose_lawyer_slider_image_overlay_color).'!important;';
		$multipurpose_lawyer_custom_css .='}';
	}

	// Slider Arrows hover color
	$multipurpose_lawyer_slider_arrows_hover_color = get_theme_mod('multipurpose_lawyer_slider_arrows_hover_color','var(--secondary-color)');
	$multipurpose_lawyer_custom_css .='#slider .carousel-control-prev-icon i:hover,#slider .carousel-control-next-icon i:hover{';
			$multipurpose_lawyer_custom_css .='color: '.esc_attr($multipurpose_lawyer_slider_arrows_hover_color).' !important;';
	$multipurpose_lawyer_custom_css .='}';

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

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

	$multipurpose_lawyer_preloader_bg_color = get_theme_mod('multipurpose_lawyer_preloader_bg_color');

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

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

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


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

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

	//keyframes for all animations
	$multipurpose_lawyer_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 Settings option-----------------*/

	$multipurpose_lawyer_top_button_padding = get_theme_mod('multipurpose_lawyer_top_button_padding');
	$multipurpose_lawyer_bottom_button_padding = get_theme_mod('multipurpose_lawyer_bottom_button_padding');
	$multipurpose_lawyer_left_button_padding = get_theme_mod('multipurpose_lawyer_left_button_padding');
	$multipurpose_lawyer_right_button_padding = get_theme_mod('multipurpose_lawyer_right_button_padding');
	if($multipurpose_lawyer_top_button_padding != false || $multipurpose_lawyer_bottom_button_padding != false || $multipurpose_lawyer_left_button_padding != false || $multipurpose_lawyer_right_button_padding != false){
		$multipurpose_lawyer_custom_css .='.read-more a, #practice a.practice-btn, .blogbtn a, #comments input[type="submit"].submit{';
			$multipurpose_lawyer_custom_css .='padding-top: '.esc_attr($multipurpose_lawyer_top_button_padding).'px; padding-bottom: '.esc_attr($multipurpose_lawyer_bottom_button_padding).'px; padding-left: '.esc_attr($multipurpose_lawyer_left_button_padding).'px; padding-right: '.esc_attr($multipurpose_lawyer_right_button_padding).'px;';
		$multipurpose_lawyer_custom_css .='}';
	}

	$multipurpose_lawyer_button_border_radius = get_theme_mod('multipurpose_lawyer_button_border_radius',4);
	$multipurpose_lawyer_custom_css .='.read-more a, #practice a.practice-btn, .blogbtn a, #comments input[type="submit"].submit{';
		$multipurpose_lawyer_custom_css .='border-radius: '.esc_attr($multipurpose_lawyer_button_border_radius).'px;';
	$multipurpose_lawyer_custom_css .='}';


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

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

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

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

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

	// Footer Heading Text Transform
	$multipurpose_lawyer_theme_lay = get_theme_mod( 'multipurpose_lawyer_footer_text_tranform','Capitalize');
    if($multipurpose_lawyer_theme_lay == 'Uppercase'){
		$multipurpose_lawyer_custom_css .='#footer h3{';
			$multipurpose_lawyer_custom_css .='text-transform: Uppercase;';
		$multipurpose_lawyer_custom_css .='}';
	}else if($multipurpose_lawyer_theme_lay == 'Lowercase'){
		$multipurpose_lawyer_custom_css .='#footer h3{';
			$multipurpose_lawyer_custom_css .='text-transform: Lowercase;';
		$multipurpose_lawyer_custom_css .='}';
	}
	else if($multipurpose_lawyer_theme_lay == 'Capitalize'){
		$multipurpose_lawyer_custom_css .='#footer h3{';
			$multipurpose_lawyer_custom_css .='text-transform: Capitalize;';
		$multipurpose_lawyer_custom_css .='}';
	}	

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

	/*----------- Copyright css -----*/
	$multipurpose_lawyer_copyright_top_padding = get_theme_mod('multipurpose_lawyer_top_copyright_padding');
	$multipurpose_lawyer_copyright_bottom_padding = get_theme_mod('multipurpose_lawyer_top_copyright_padding');
	if($multipurpose_lawyer_copyright_top_padding != false || $multipurpose_lawyer_copyright_bottom_padding != false){
		$multipurpose_lawyer_custom_css .='.inner{';
			$multipurpose_lawyer_custom_css .='padding-top: '.esc_attr($multipurpose_lawyer_copyright_top_padding).'px; padding-bottom: '.esc_attr($multipurpose_lawyer_copyright_bottom_padding).'px; ';
		$multipurpose_lawyer_custom_css .='}';
	} 

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

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

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

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

	$multipurpose_lawyer_back_to_top_text_color = get_theme_mod('multipurpose_lawyer_back_to_top_text_color');
	$multipurpose_lawyer_custom_css .='.back-to-top{';
		$multipurpose_lawyer_custom_css .='color: '.esc_attr($multipurpose_lawyer_back_to_top_text_color).'!important;';
	$multipurpose_lawyer_custom_css .='}';	

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

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

	$multipurpose_lawyer_theme_lay = get_theme_mod( 'multipurpose_lawyer_footer_template','multipurpose_lawyer-footer-one');
    if($multipurpose_lawyer_theme_lay == 'multipurpose_lawyer-footer-one'){
		$multipurpose_lawyer_custom_css .='#footer {';
			$multipurpose_lawyer_custom_css .='';
		$multipurpose_lawyer_custom_css .='}';

	}else if($multipurpose_lawyer_theme_lay == 'multipurpose_lawyer-footer-two'){
		$multipurpose_lawyer_custom_css .='#footer {';
			$multipurpose_lawyer_custom_css .='background: #E3F2FD !important;';
		$multipurpose_lawyer_custom_css .='}';
		$multipurpose_lawyer_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_lawyer_custom_css .='color:#000 !important;';
		$multipurpose_lawyer_custom_css .='}';
		$multipurpose_lawyer_custom_css .='#footer p{';
			$multipurpose_lawyer_custom_css .='color:#000 !important;';
		$multipurpose_lawyer_custom_css .='}';
		$multipurpose_lawyer_custom_css .='.footerinner ul li::before{';
			$multipurpose_lawyer_custom_css .='background:#000;';
		$multipurpose_lawyer_custom_css .='}';
		$multipurpose_lawyer_custom_css .='.footerinner table, .footerinner th, .footerinner td,.footerinner.search-form .search-field,.footerinner .tagcloud a{';
			$multipurpose_lawyer_custom_css .='border: 1px solid #000;';
		$multipurpose_lawyer_custom_css .='}';

	}else if($multipurpose_lawyer_theme_lay == 'multipurpose_lawyer-footer-three'){
		$multipurpose_lawyer_custom_css .='#footer {';
			$multipurpose_lawyer_custom_css .='background: #0A0A1F !important;;';
		$multipurpose_lawyer_custom_css .='}';
	}
	else if($multipurpose_lawyer_theme_lay == 'multipurpose_lawyer-footer-four'){
		$multipurpose_lawyer_custom_css .='#footer {';
			$multipurpose_lawyer_custom_css .='background: #F5F5DC !important;;';
		$multipurpose_lawyer_custom_css .='}';
		$multipurpose_lawyer_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_lawyer_custom_css .='color:#000 !important;';
		$multipurpose_lawyer_custom_css .='}';
		$multipurpose_lawyer_custom_css .='#footer p{';
			$multipurpose_lawyer_custom_css .='color:#000 !important;';
		$multipurpose_lawyer_custom_css .='}';
		$multipurpose_lawyer_custom_css .='.footerinner ul li::before{';
			$multipurpose_lawyer_custom_css .='background:#000;';
		$multipurpose_lawyer_custom_css .='}';
		$multipurpose_lawyer_custom_css .='.footerinner table, .footerinner th, .footerinner td,.footerinner.search-form .search-field,.footerinner .tagcloud a{';
			$multipurpose_lawyer_custom_css .='border: 1px solid #000;';
		$multipurpose_lawyer_custom_css .='}';
	}
    else if($multipurpose_lawyer_theme_lay == 'multipurpose_lawyer-footer-five'){
	$multipurpose_lawyer_custom_css .='#footer{';
		$multipurpose_lawyer_custom_css .='background: #333333 !important;;';
	$multipurpose_lawyer_custom_css .='}';
   }	

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

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

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

	$multipurpose_lawyer_product_top = get_theme_mod('multipurpose_lawyer_product_top_padding');
	$multipurpose_lawyer_product_bottom = get_theme_mod('multipurpose_lawyer_product_bottom_padding');
	$multipurpose_lawyer_product_left = get_theme_mod('multipurpose_lawyer_product_left_padding');
	$multipurpose_lawyer_product_right = get_theme_mod('multipurpose_lawyer_product_right_padding');
	if($multipurpose_lawyer_product_top != false || $multipurpose_lawyer_product_bottom != false || $multipurpose_lawyer_product_left != false || $multipurpose_lawyer_product_right != false){
		$multipurpose_lawyer_custom_css .='.woocommerce ul.products li.product, .woocommerce-page ul.products li.product{';
			$multipurpose_lawyer_custom_css .='padding-top: '.esc_attr($multipurpose_lawyer_product_top).'px; padding-bottom: '.esc_attr($multipurpose_lawyer_product_bottom).'px; padding-left: '.esc_attr($multipurpose_lawyer_product_left).'px; padding-right: '.esc_attr($multipurpose_lawyer_product_right).'px;';
		$multipurpose_lawyer_custom_css .='}';
	}

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

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

	/*----- WooCommerce button css --------*/
	$multipurpose_lawyer_product_button_top = get_theme_mod('multipurpose_lawyer_product_button_top_padding',10);
	$multipurpose_lawyer_product_button_bottom = get_theme_mod('multipurpose_lawyer_product_button_bottom_padding',10);
	$multipurpose_lawyer_product_button_left = get_theme_mod('multipurpose_lawyer_product_button_left_padding',15);
	$multipurpose_lawyer_product_button_right = get_theme_mod('multipurpose_lawyer_product_button_right_padding',15);
	if($multipurpose_lawyer_product_button_top != false || $multipurpose_lawyer_product_button_bottom != false || $multipurpose_lawyer_product_button_left != false || $multipurpose_lawyer_product_button_right != false){
		$multipurpose_lawyer_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_lawyer_custom_css .='padding-top: '.esc_attr($multipurpose_lawyer_product_button_top).'px; padding-bottom: '.esc_attr($multipurpose_lawyer_product_button_bottom).'px; padding-left: '.esc_attr($multipurpose_lawyer_product_button_left).'px; padding-right: '.esc_attr($multipurpose_lawyer_product_button_right).'px;';
		$multipurpose_lawyer_custom_css .='}';
	}

	$multipurpose_lawyer_product_button_border_radius = get_theme_mod('multipurpose_lawyer_product_button_border_radius');
	if($multipurpose_lawyer_product_button_border_radius != false){
		$multipurpose_lawyer_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_lawyer_custom_css .='border-radius: '.esc_attr($multipurpose_lawyer_product_button_border_radius).'px;';
		$multipurpose_lawyer_custom_css .='}';
	}

	/*----- WooCommerce product sale css --------*/
	$multipurpose_lawyer_product_sale_top = get_theme_mod('multipurpose_lawyer_product_sale_top_padding');
	$multipurpose_lawyer_product_sale_bottom = get_theme_mod('multipurpose_lawyer_product_sale_bottom_padding');
	$multipurpose_lawyer_product_sale_left = get_theme_mod('multipurpose_lawyer_product_sale_left_padding');
	$multipurpose_lawyer_product_sale_right = get_theme_mod('multipurpose_lawyer_product_sale_right_padding');
	if($multipurpose_lawyer_product_sale_top != false || $multipurpose_lawyer_product_sale_bottom != false || $multipurpose_lawyer_product_sale_left != false || $multipurpose_lawyer_product_sale_right != false){
		$multipurpose_lawyer_custom_css .='.woocommerce span.onsale {';
			$multipurpose_lawyer_custom_css .='padding-top: '.esc_attr($multipurpose_lawyer_product_sale_top).'px; padding-bottom: '.esc_attr($multipurpose_lawyer_product_sale_bottom).'px; padding-left: '.esc_attr($multipurpose_lawyer_product_sale_left).'px; padding-right: '.esc_attr($multipurpose_lawyer_product_sale_right).'px;';
		$multipurpose_lawyer_custom_css .='}';
	}

	$multipurpose_lawyer_product_sale_border_radius = get_theme_mod('multipurpose_lawyer_product_sale_border_radius',50);
	$multipurpose_lawyer_custom_css .='.woocommerce span.onsale {';
		$multipurpose_lawyer_custom_css .='border-radius: '.esc_attr($multipurpose_lawyer_product_sale_border_radius).'px;';
	$multipurpose_lawyer_custom_css .='}';

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

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

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

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

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

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

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

	/*---------------------------Footer top bottom padding -------------------*/

	$multipurpose_lawyer_footer_padding = get_theme_mod('multipurpose_lawyer_footer_padding');
	if($multipurpose_lawyer_footer_padding != false){
		$multipurpose_lawyer_custom_css .='#footer .footerinner{';
			$multipurpose_lawyer_custom_css .='padding: '.esc_attr($multipurpose_lawyer_footer_padding).' 0 !important;';
		$multipurpose_lawyer_custom_css .='}';
	}
	
	//footer icon color
	$multipurpose_lawyer_footer_icon_color = get_theme_mod('multipurpose_lawyer_footer_icon_color');
	$multipurpose_lawyer_custom_css .='#footer .copyright a i{';
		$multipurpose_lawyer_custom_css .='color: '.esc_attr($multipurpose_lawyer_footer_icon_color).'!important;';
	$multipurpose_lawyer_custom_css .='}';	

	/*-------- Footer Icon Alignment ------*/
	$multipurpose_lawyer_footer_icon_alignment = get_theme_mod('multipurpose_lawyer_footer_icon_alignment', 'Center');
	if($multipurpose_lawyer_footer_icon_alignment == 'Center' ){
		$multipurpose_lawyer_custom_css .='#footer .copyright{';
			$multipurpose_lawyer_custom_css .='text-align: '. $multipurpose_lawyer_footer_icon_alignment .';';
		$multipurpose_lawyer_custom_css .='}';
	}elseif($multipurpose_lawyer_footer_icon_alignment == 'Left' ){
		$multipurpose_lawyer_custom_css .='#footer .copyright{';
			$multipurpose_lawyer_custom_css .=' text-align: '. $multipurpose_lawyer_footer_icon_alignment .';';
		$multipurpose_lawyer_custom_css .='}';
	}elseif($multipurpose_lawyer_footer_icon_alignment == 'Right' ){
		$multipurpose_lawyer_custom_css .='#footer .copyright{';
			$multipurpose_lawyer_custom_css .='text-align: '. $multipurpose_lawyer_footer_icon_alignment .';';
		$multipurpose_lawyer_custom_css .='}';
	}

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

    // footer image position
	$multipurpose_lawyer_footer_img_position = get_theme_mod('multipurpose_lawyer_footer_img_position','center center');
	if($multipurpose_lawyer_footer_img_position != false){
		$multipurpose_lawyer_custom_css .='#footer{';
			$multipurpose_lawyer_custom_css .='background-position: '.esc_attr($multipurpose_lawyer_footer_img_position).'!important;';
		$multipurpose_lawyer_custom_css .='}';
	}	

	// Footer Attatchment
	$multipurpose_lawyer_theme_lay = get_theme_mod( 'multipurpose_lawyer_footer_attatchment','scroll');
	if($multipurpose_lawyer_theme_lay == 'fixed'){
		$multipurpose_lawyer_custom_css .='#footer{';
			$multipurpose_lawyer_custom_css .='background-attachment: fixed;';
		$multipurpose_lawyer_custom_css .='}';
	}elseif ($multipurpose_lawyer_theme_lay == 'scroll'){
		$multipurpose_lawyer_custom_css .='#footer{';
			$multipurpose_lawyer_custom_css .='background-attachment: scroll;';
		$multipurpose_lawyer_custom_css .='}';
	}

	/*----- Featured image css -----*/
	$multipurpose_lawyer_feature_image_border_radius = get_theme_mod('multipurpose_lawyer_feature_image_border_radius');
	if($multipurpose_lawyer_feature_image_border_radius != false){
		$multipurpose_lawyer_custom_css .='#blog_post .blog-sec img{';
			$multipurpose_lawyer_custom_css .='border-radius: '.esc_attr($multipurpose_lawyer_feature_image_border_radius).'px;';
		$multipurpose_lawyer_custom_css .='}';
	}

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

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

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

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

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

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

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

	/*------ Sticky header padding ------------*/
	$multipurpose_lawyer_top_sticky_header_padding = get_theme_mod('multipurpose_lawyer_top_sticky_header_padding');
	$multipurpose_lawyer_bottom_sticky_header_padding = get_theme_mod('multipurpose_lawyer_bottom_sticky_header_padding');
	$multipurpose_lawyer_custom_css .=' .fixed-header{';
		$multipurpose_lawyer_custom_css .=' padding-top: '.esc_attr($multipurpose_lawyer_top_sticky_header_padding).'px; padding-bottom: '.esc_attr($multipurpose_lawyer_bottom_sticky_header_padding).'px';
	$multipurpose_lawyer_custom_css .='}';

		// featured image dimention
	$multipurpose_lawyer_blog_image_dimension = get_theme_mod('multipurpose_lawyer_blog_image_dimension', 'default');
	$multipurpose_lawyer_feature_image_custom_width = get_theme_mod('multipurpose_lawyer_feature_image_custom_width',250);
	$multipurpose_lawyer_feature_image_custom_height = get_theme_mod('multipurpose_lawyer_feature_image_custom_height',250);
	if($multipurpose_lawyer_blog_image_dimension == 'custom'){
		$multipurpose_lawyer_custom_css .='#blog_post .blog-sec img{';
			$multipurpose_lawyer_custom_css .='width: '.esc_attr($multipurpose_lawyer_feature_image_custom_width).'px; height: '.esc_attr($multipurpose_lawyer_feature_image_custom_height).'px;';
		$multipurpose_lawyer_custom_css .='}';
	}

	/*------ Related products ---------*/
	$multipurpose_lawyer_related_products = get_theme_mod('multipurpose_lawyer_single_related_products',true);
	if($multipurpose_lawyer_related_products == false){
		$multipurpose_lawyer_custom_css .=' .related.products{';
			$multipurpose_lawyer_custom_css .='display: none;';
		$multipurpose_lawyer_custom_css .='}';
	}

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

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

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

	// Social Icons Font Size
	$multipurpose_lawyer_social_icons_font_size = get_theme_mod('multipurpose_lawyer_social_icons_font_size', '12');
	$multipurpose_lawyer_custom_css .='#header .social_widget i{';
		$multipurpose_lawyer_custom_css .='font-size: '.esc_attr($multipurpose_lawyer_social_icons_font_size).'px;';
	$multipurpose_lawyer_custom_css .='}';

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

	$multipurpose_lawyer_post_featured_image = get_theme_mod('multipurpose_lawyer_post_featured_image', 'in-content');
	if($multipurpose_lawyer_post_featured_image == 'banner' ){
		$multipurpose_lawyer_custom_css .='.single #wrapper h1, .page #wrapper h1, .page #wrapper img, .page .title-box{';
			$multipurpose_lawyer_custom_css .=' display: none;';
		$multipurpose_lawyer_custom_css .='}';
		$multipurpose_lawyer_custom_css .='#page-site-header{';
			$multipurpose_lawyer_custom_css .=' margin-bottom: 20px;';
		$multipurpose_lawyer_custom_css .='}';
		$multipurpose_lawyer_custom_css .='.page-template-custom-front-page #page-site-header{';
			$multipurpose_lawyer_custom_css .=' display: none;';
		$multipurpose_lawyer_custom_css .='}';
	}

	// Woocommerce Shop page pagination
	$multipurpose_lawyer_shop_page_navigation = get_theme_mod('multipurpose_lawyer_shop_page_navigation',true);
	if ($multipurpose_lawyer_shop_page_navigation == false) {
		$multipurpose_lawyer_custom_css .='.woocommerce nav.woocommerce-pagination{';
			$multipurpose_lawyer_custom_css .='display: none;';
		$multipurpose_lawyer_custom_css .='}';
	}

	// Slider Button color
	$multipurpose_lawyer_slider_btn_color = get_theme_mod('multipurpose_lawyer_slider_btn_color');
	$multipurpose_lawyer_custom_css .='.read-more a{';
			$multipurpose_lawyer_custom_css .='color: '.esc_attr($multipurpose_lawyer_slider_btn_color).' !important;';
	$multipurpose_lawyer_custom_css .='}';

	// Slider button bg color
	$multipurpose_lawyer_slider_btn_bg_color = get_theme_mod('multipurpose_lawyer_slider_btn_bg_color');
	$multipurpose_lawyer_custom_css .='.read-more a{';
			$multipurpose_lawyer_custom_css .='background: '.esc_attr($multipurpose_lawyer_slider_btn_bg_color).' !important;';
	$multipurpose_lawyer_custom_css .='}';

	// Slider button border radius
	$multipurpose_lawyer_slider_btn_border_radius = get_theme_mod('multipurpose_lawyer_slider_btn_border_radius','4');
	$multipurpose_lawyer_custom_css .='.read-more a{';
		$multipurpose_lawyer_custom_css .='border-radius: '.esc_attr($multipurpose_lawyer_slider_btn_border_radius).'px !important;';
	$multipurpose_lawyer_custom_css .='}';

	// Slider button lable hover color
	$multipurpose_lawyer_slider_btn_lable_hover_color = get_theme_mod('multipurpose_lawyer_slider_btn_lable_hover_color');
	$multipurpose_lawyer_custom_css .='.read-more a:hover{';
			$multipurpose_lawyer_custom_css .='color: '.esc_attr($multipurpose_lawyer_slider_btn_lable_hover_color).' !important;';
	$multipurpose_lawyer_custom_css .='}';

	// Slider button bg hover color
	$multipurpose_lawyer_slider_btn_bg_hover_color = get_theme_mod('multipurpose_lawyer_slider_btn_bg_hover_color');
	$multipurpose_lawyer_custom_css .='.read-more a:hover{';
			$multipurpose_lawyer_custom_css .='background: '.esc_attr($multipurpose_lawyer_slider_btn_bg_hover_color).' !important;';
	$multipurpose_lawyer_custom_css .='}';

	/*---- Slider Height ------*/
	$multipurpose_lawyer_slider_height = get_theme_mod('multipurpose_lawyer_slider_height');
	$multipurpose_lawyer_custom_css .='#slider img{';
		$multipurpose_lawyer_custom_css .='height: '.esc_attr($multipurpose_lawyer_slider_height).'px;';
	$multipurpose_lawyer_custom_css .='}';
	$multipurpose_lawyer_custom_css .='@media screen and (max-width: 768px){
		#slider img{';
		$multipurpose_lawyer_custom_css .='height: auto;';
	$multipurpose_lawyer_custom_css .='} }';

	/*--------------------------- Slider Opacity -------------------*/
	$multipurpose_lawyer_theme_lay = get_theme_mod( 'multipurpose_lawyer_slider_image_opacity','0.7');
	if($multipurpose_lawyer_theme_lay == '0'){
		$multipurpose_lawyer_custom_css .='#slider img{';
			$multipurpose_lawyer_custom_css .='opacity:0';
		$multipurpose_lawyer_custom_css .='}';
		}else if($multipurpose_lawyer_theme_lay == '0.1'){
		$multipurpose_lawyer_custom_css .='#slider img{';
			$multipurpose_lawyer_custom_css .='opacity:0.1';
		$multipurpose_lawyer_custom_css .='}';
		}else if($multipurpose_lawyer_theme_lay == '0.2'){
		$multipurpose_lawyer_custom_css .='#slider img{';
			$multipurpose_lawyer_custom_css .='opacity:0.2';
		$multipurpose_lawyer_custom_css .='}';
		}else if($multipurpose_lawyer_theme_lay == '0.3'){
		$multipurpose_lawyer_custom_css .='#slider img{';
			$multipurpose_lawyer_custom_css .='opacity:0.3';
		$multipurpose_lawyer_custom_css .='}';
		}else if($multipurpose_lawyer_theme_lay == '0.4'){
		$multipurpose_lawyer_custom_css .='#slider img{';
			$multipurpose_lawyer_custom_css .='opacity:0.4';
		$multipurpose_lawyer_custom_css .='}';
		}else if($multipurpose_lawyer_theme_lay == '0.5'){
		$multipurpose_lawyer_custom_css .='#slider img{';
			$multipurpose_lawyer_custom_css .='opacity:0.5';
		$multipurpose_lawyer_custom_css .='}';
		}else if($multipurpose_lawyer_theme_lay == '0.6'){
		$multipurpose_lawyer_custom_css .='#slider img{';
			$multipurpose_lawyer_custom_css .='opacity:0.6';
		$multipurpose_lawyer_custom_css .='}';
		}else if($multipurpose_lawyer_theme_lay == '0.7'){
		$multipurpose_lawyer_custom_css .='#slider img{';
			$multipurpose_lawyer_custom_css .='opacity:0.7';
		$multipurpose_lawyer_custom_css .='}';
		}else if($multipurpose_lawyer_theme_lay == '0.8'){
		$multipurpose_lawyer_custom_css .='#slider img{';
			$multipurpose_lawyer_custom_css .='opacity:0.8';
		$multipurpose_lawyer_custom_css .='}';
		}else if($multipurpose_lawyer_theme_lay == '0.9'){
		$multipurpose_lawyer_custom_css .='#slider img{';
			$multipurpose_lawyer_custom_css .='opacity:0.9';
		$multipurpose_lawyer_custom_css .='}';
		}

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

	/*---------- Responsive style ---------*/
	if (get_theme_mod('multipurpose_lawyer_hide_topbar_responsive',true) == true && get_theme_mod('multipurpose_lawyer_top_header',true) == false) {
		$multipurpose_lawyer_custom_css .='.top-bar{';
			$multipurpose_lawyer_custom_css .=' display: none;';
		$multipurpose_lawyer_custom_css .='} ';
	}
	if (get_theme_mod('multipurpose_lawyer_hide_topbar_responsive',true) == false) {
		$multipurpose_lawyer_custom_css .='@media screen and (max-width: 575px){
			.top-bar{';
			$multipurpose_lawyer_custom_css .=' display: none;';
		$multipurpose_lawyer_custom_css .='} }';
	} else if(get_theme_mod('multipurpose_lawyer_hide_topbar_responsive',true) == true){
		$multipurpose_lawyer_custom_css .='@media screen and (max-width: 575px){
			.top-bar{';
			$multipurpose_lawyer_custom_css .=' display: block;';
		$multipurpose_lawyer_custom_css .='} }';
	}

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

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

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

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

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

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

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

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

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

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

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

	/*---- Slider Content Position -----*/
	$multipurpose_lawyer_top_position = get_theme_mod('multipurpose_lawyer_slider_top_position');
	$multipurpose_lawyer_bottom_position = get_theme_mod('multipurpose_lawyer_slider_bottom_position');
	$multipurpose_lawyer_left_position = get_theme_mod('multipurpose_lawyer_slider_left_position');
	$multipurpose_lawyer_right_position = get_theme_mod('multipurpose_lawyer_slider_right_position');
	if($multipurpose_lawyer_top_position != false || $multipurpose_lawyer_bottom_position != false || $multipurpose_lawyer_left_position != false || $multipurpose_lawyer_right_position != false){
		$multipurpose_lawyer_custom_css .='#slider .inner_carousel{';
			$multipurpose_lawyer_custom_css .='top: '.esc_attr($multipurpose_lawyer_top_position).'%; bottom: '.esc_attr($multipurpose_lawyer_bottom_position).'%; left: '.esc_attr($multipurpose_lawyer_left_position).'%; right: '.esc_attr($multipurpose_lawyer_right_position).'%;';
		$multipurpose_lawyer_custom_css .='}';
	}

	// responsive settings
	$multipurpose_lawyer_toggle_button_bg_color_settings = get_theme_mod('multipurpose_lawyer_toggle_button_bg_color_settings');
	$multipurpose_lawyer_custom_css .='.toggle-menu {';
	$multipurpose_lawyer_custom_css .='background-color: '.esc_attr($multipurpose_lawyer_toggle_button_bg_color_settings).';';
	$multipurpose_lawyer_custom_css .='} ';
	
	if (get_theme_mod('multipurpose_lawyer_preloader_responsive',false) == true && get_theme_mod('multipurpose_lawyer_preloader',false) == false) {
		$multipurpose_lawyer_custom_css .='@media screen and (min-width: 575px){
			.preloader, #overlayer, .tg-loader{';
			$multipurpose_lawyer_custom_css .=' visibility: hidden;';
		$multipurpose_lawyer_custom_css .='} }';
	}
	if (get_theme_mod('multipurpose_lawyer_preloader_responsive',false) == false) {
		$multipurpose_lawyer_custom_css .='@media screen and (max-width: 575px){
			.preloader, #overlayer, .tg-loader{';
			$multipurpose_lawyer_custom_css .=' visibility: hidden;';
		$multipurpose_lawyer_custom_css .='} }';
	}

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

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

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

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

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

	// slider button
	if (get_theme_mod('multipurpose_lawyer_slider_button_responsive',true) == true && get_theme_mod('multipurpose_lawyer_slider_button',true) == false) {
		$multipurpose_lawyer_custom_css .='@media screen and (min-width: 575px){
			.read-more{';
			$multipurpose_lawyer_custom_css .=' display: none;';
		$multipurpose_lawyer_custom_css .='} }';
	}
	if (get_theme_mod('multipurpose_lawyer_slider_button_responsive',true) == false) {
		$multipurpose_lawyer_custom_css .='@media screen and (max-width: 575px){
			.read-more{';
			$multipurpose_lawyer_custom_css .=' display: none;';
		$multipurpose_lawyer_custom_css .='} }';
	}

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

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

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

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

	// Submenu color
	$multipurpose_lawyer_submenu_menu_color = get_theme_mod('multipurpose_lawyer_submenu_menu_color');
	$multipurpose_lawyer_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_lawyer_custom_css .='color: '.esc_attr($multipurpose_lawyer_submenu_menu_color).' !important;';
	$multipurpose_lawyer_custom_css .='}';

	// submenu hover color
	$multipurpose_lawyer_submenu_hover_color = get_theme_mod('multipurpose_lawyer_submenu_hover_color');
	$multipurpose_lawyer_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_lawyer_custom_css .='color: '.esc_attr($multipurpose_lawyer_submenu_hover_color).' !important;';
	$multipurpose_lawyer_custom_css .='}';

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

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

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

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

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

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

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

	// single post image dimention
	$multipurpose_lawyer_single_post_image_dimension = get_theme_mod('multipurpose_lawyer_single_post_image_dimension', 'default');
	$multipurpose_lawyer_single_post_image_custom_width = get_theme_mod('multipurpose_lawyer_single_post_image_custom_width',400);
	$multipurpose_lawyer_single_post_image_custom_height = get_theme_mod('multipurpose_lawyer_single_post_image_custom_height',400);
	if($multipurpose_lawyer_single_post_image_dimension == 'custom'){
		$multipurpose_lawyer_custom_css .='.singlepost-page .feature-box img{';
			$multipurpose_lawyer_custom_css .='width: '.esc_attr($multipurpose_lawyer_single_post_image_custom_width).'px; height: '.esc_attr($multipurpose_lawyer_single_post_image_custom_height).'px;';
		$multipurpose_lawyer_custom_css .='}';
	}

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

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


	// Copyright Sticky 
	$multipurpose_lawyer_resp_stickycopyright = get_theme_mod( 'multipurpose_lawyer_stickycopyright_hide_show',false);
	if($multipurpose_lawyer_resp_stickycopyright == true && get_theme_mod( 'multipurpose_lawyer_copyright_sticky',false) != true){
    	$multipurpose_lawyer_custom_css .='.copyright-sticky{';
			$multipurpose_lawyer_custom_css .='position:static;';
		$multipurpose_lawyer_custom_css .='} ';
	}	
    
	// change the Category style //
	$multipurpose_lawyer_single_post_styling = get_theme_mod( 'multipurpose_lawyer_single_post_styling','Button');
		if($multipurpose_lawyer_single_post_styling == 'Underline'){
		$multipurpose_lawyer_custom_css .='.single-post-category .post-categories li a{';
			$multipurpose_lawyer_custom_css .='text-decoration: underline; color: #000 !important; background-color:transparent;';
		$multipurpose_lawyer_custom_css .='}';
	}
	else if($multipurpose_lawyer_single_post_styling == 'Default'){
		$multipurpose_lawyer_custom_css .='.single-post-category .post-categories li a{';
			$multipurpose_lawyer_custom_css .='text-decoration: none; color: #000 !important; background-color:transparent;';
		$multipurpose_lawyer_custom_css .='}';
	}