<?php

	$construction_realestate_hi_first_color = get_theme_mod('construction_realestate_hi_first_color');
	$construction_realestate_custom_css ='';

	/*------------------ Global First Color -----------*/

	if ($construction_realestate_hi_first_color) {
		$construction_realestate_custom_css .= ':root {';
		$construction_realestate_custom_css .= '--first-theme-color: ' . esc_attr($construction_realestate_hi_first_color) . ' !important;';
		$construction_realestate_custom_css .= '} ';
	}

	/*------------------Width Layout -----------------*/
	$construction_realestate_theme_lay = get_theme_mod( 'construction_realestate_width_layout_options','Default');
    if($construction_realestate_theme_lay == 'Default'){
		$construction_realestate_custom_css .='body{';
			$construction_realestate_custom_css .='max-width: 100%;';
		$construction_realestate_custom_css .='}';
	}else if($construction_realestate_theme_lay == 'Container Layout'){
		$construction_realestate_custom_css .='body{';
			$construction_realestate_custom_css .='width: 100%;padding-right: 15px;padding-left: 15px;margin-right: auto;margin-left: auto;';
		$construction_realestate_custom_css .='}';
	}else if($construction_realestate_theme_lay == 'Box Layout'){
		$construction_realestate_custom_css .='body{';
			$construction_realestate_custom_css .='max-width: 1140px; width: 100%; padding-right: 15px; padding-left: 15px; margin-right: auto; margin-left: auto;';
		$construction_realestate_custom_css .='}';
	}

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

	//slider heading color
	$construction_realestate_slider_heading_color = get_theme_mod('construction_realestate_slider_heading_color');
	$construction_realestate_custom_css .='#slider .inner_carousel h1{';
		$construction_realestate_custom_css .='color: '.esc_attr($construction_realestate_slider_heading_color).';';
	$construction_realestate_custom_css .='}';

	//slider text color
	$construction_realestate_slider_text_color = get_theme_mod('construction_realestate_slider_text_color');
	$construction_realestate_custom_css .='#slider .inner_carousel p{';
		$construction_realestate_custom_css .='color: '.esc_attr($construction_realestate_slider_text_color).';';
	$construction_realestate_custom_css .='}';

	//slider button text color
	$construction_realestate_slider_btn_text_color = get_theme_mod('construction_realestate_slider_btn_text_color');
	$construction_realestate_custom_css .='#slider .slide-button a{';
		$construction_realestate_custom_css .='color: '.esc_attr($construction_realestate_slider_btn_text_color).';';
	$construction_realestate_custom_css .='}';

	//slider button bg color
	$construction_realestate_slider_btn_bg_color = get_theme_mod('construction_realestate_slider_btn_bg_color');
	$construction_realestate_custom_css .='#slider .slide-button a{';
		$construction_realestate_custom_css .='background-color: '.esc_attr($construction_realestate_slider_btn_bg_color).';';
	$construction_realestate_custom_css .='}';

	/*-------------- Woocommerce Button  -------------------*/
	$construction_realestate_woocommerce_button_padding_top = get_theme_mod('construction_realestate_woocommerce_button_padding_top',13);
	$construction_realestate_custom_css .='.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt{';
		$construction_realestate_custom_css .='padding-top: '.esc_attr($construction_realestate_woocommerce_button_padding_top).'px; padding-bottom: '.esc_attr($construction_realestate_woocommerce_button_padding_top).'px;';
	$construction_realestate_custom_css .='}';

	$construction_realestate_woocommerce_button_padding_right = get_theme_mod('construction_realestate_woocommerce_button_padding_right',13);
	$construction_realestate_custom_css .='.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt{';
		$construction_realestate_custom_css .='padding-left: '.esc_attr($construction_realestate_woocommerce_button_padding_right).'px; padding-right: '.esc_attr($construction_realestate_woocommerce_button_padding_right).'px;';
	$construction_realestate_custom_css .='}';

	$construction_realestate_woocommerce_button_border_radius = get_theme_mod('construction_realestate_woocommerce_button_border_radius');
	$construction_realestate_custom_css .='.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt{';
		$construction_realestate_custom_css .='border-radius: '.esc_attr($construction_realestate_woocommerce_button_border_radius).'px;';
	$construction_realestate_custom_css .='}';

	$construction_realestate_related_product_enable = get_theme_mod('construction_realestate_related_product_enable',true);
	if($construction_realestate_related_product_enable == false){
		$construction_realestate_custom_css .='.related.products{';
			$construction_realestate_custom_css .='display: none;';
		$construction_realestate_custom_css .='}';
	}

	$construction_realestate_woocommerce_product_border_enable = get_theme_mod('construction_realestate_woocommerce_product_border_enable',true);
	if($construction_realestate_woocommerce_product_border_enable == false){
		$construction_realestate_custom_css .='.products li{';
			$construction_realestate_custom_css .='border: none;';
		$construction_realestate_custom_css .='}';
	}

	$construction_realestate_woocommerce_product_padding_top = get_theme_mod('construction_realestate_woocommerce_product_padding_top',10);
	$construction_realestate_custom_css .='.woocommerce ul.products li.product, .woocommerce-page ul.products li.product{';
		$construction_realestate_custom_css .='padding-top: '.esc_attr($construction_realestate_woocommerce_product_padding_top).'px; padding-bottom: '.esc_attr($construction_realestate_woocommerce_product_padding_top).'px;';
	$construction_realestate_custom_css .='}';

	$construction_realestate_woocommerce_product_padding_right = get_theme_mod('construction_realestate_woocommerce_product_padding_right',10);
	$construction_realestate_custom_css .='.woocommerce ul.products li.product, .woocommerce-page ul.products li.product{';
		$construction_realestate_custom_css .='padding-left: '.esc_attr($construction_realestate_woocommerce_product_padding_right).'px; padding-right: '.esc_attr($construction_realestate_woocommerce_product_padding_right).'px;';
	$construction_realestate_custom_css .='}';

	$construction_realestate_woocommerce_product_border_radius = get_theme_mod('construction_realestate_woocommerce_product_border_radius');
	$construction_realestate_custom_css .='.woocommerce ul.products li.product, .woocommerce-page ul.products li.product{';
		$construction_realestate_custom_css .='border-radius: '.esc_attr($construction_realestate_woocommerce_product_border_radius).'px;';
	$construction_realestate_custom_css .='}';

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

	$construction_realestate_woo_product_sale_top_bottom_padding = get_theme_mod('construction_realestate_woo_product_sale_top_bottom_padding', 0);
	$construction_realestate_woo_product_sale_left_right_padding = get_theme_mod('construction_realestate_woo_product_sale_left_right_padding', 0);
	$construction_realestate_custom_css .='.woocommerce span.onsale{';
		$construction_realestate_custom_css .='padding-top: '.esc_attr($construction_realestate_woo_product_sale_top_bottom_padding).'px; padding-bottom: '.esc_attr($construction_realestate_woo_product_sale_top_bottom_padding).'px; padding-left: '.esc_attr($construction_realestate_woo_product_sale_left_right_padding).'px; padding-right: '.esc_attr($construction_realestate_woo_product_sale_left_right_padding).'px; display:inline-block;';
	$construction_realestate_custom_css .='}';

	$construction_realestate_woo_product_sale_border_radius = get_theme_mod('construction_realestate_woo_product_sale_border_radius',100);
	$construction_realestate_custom_css .='.woocommerce span.onsale {';
		$construction_realestate_custom_css .='border-radius: '.esc_attr($construction_realestate_woo_product_sale_border_radius).'%;';
	$construction_realestate_custom_css .='}';

	$construction_realestate_wooproduct_sale_font_size = get_theme_mod('construction_realestate_wooproduct_sale_font_size',14);
	$construction_realestate_custom_css .='.woocommerce span.onsale{';
		$construction_realestate_custom_css .='font-size: '.esc_attr($construction_realestate_wooproduct_sale_font_size).'px;';
	$construction_realestate_custom_css .='}';
	
	$construction_realestate_woo_product_sale_position = get_theme_mod('construction_realestate_woo_product_sale_position', 'Right');
	if($construction_realestate_woo_product_sale_position == 'Right' ){
		$construction_realestate_custom_css .='.woocommerce ul.products li.product .onsale{';
			$construction_realestate_custom_css .=' left:auto; right:0;';
		$construction_realestate_custom_css .='}';
	}elseif($construction_realestate_woo_product_sale_position == 'Left' ){
		$construction_realestate_custom_css .='.woocommerce ul.products li.product .onsale{';
			$construction_realestate_custom_css .=' left:0; right:auto;';
		$construction_realestate_custom_css .='}';
	}

	// footer setting
	$construction_realestate_footer_bg_color = get_theme_mod('construction_realestate_footer_bg_color');
	$construction_realestate_custom_css .='.footer-wp{';
		$construction_realestate_custom_css .='background-color: '.esc_attr($construction_realestate_footer_bg_color).';';
	$construction_realestate_custom_css .='}';

	$construction_realestate_footer_bg_image = get_theme_mod('construction_realestate_footer_bg_image');
	if($construction_realestate_footer_bg_image != false){
		$construction_realestate_custom_css .='.footer-wp{';
			$construction_realestate_custom_css .='background: url('.esc_attr($construction_realestate_footer_bg_image).'); background-size: cover;';
		$construction_realestate_custom_css .='}';
	}

	// Footer Attatchment
	$construction_realestate_theme_lay = get_theme_mod( 'construction_realestate_footer_attatchment','scroll');
	if($construction_realestate_theme_lay == 'fixed'){
		$construction_realestate_custom_css .='.footer-wp{';
			$construction_realestate_custom_css .='background-attachment: fixed;';
		$construction_realestate_custom_css .='}';
	}elseif ($construction_realestate_theme_lay == 'scroll'){
		$construction_realestate_custom_css .='.footer-wp{';
			$construction_realestate_custom_css .='background-attachment: scroll;';
		$construction_realestate_custom_css .='}';
	}

    // footer image position
	$construction_realestate_footer_img_position = get_theme_mod('construction_realestate_footer_img_position','center center');
	if($construction_realestate_footer_img_position != false){
		$construction_realestate_custom_css .='.footer-wp{';
			$construction_realestate_custom_css .='background-position: '.esc_attr($construction_realestate_footer_img_position).'!important;';
		$construction_realestate_custom_css .='}';
	}	
	
	//Footer Style 
	$construction_realestate_theme_lay = get_theme_mod( 'construction_realestate_footer_template','construction_realestate-footer-one');
	if($construction_realestate_theme_lay == 'construction_realestate-footer-one'){
		$construction_realestate_custom_css .='.footer-wp{';
			$construction_realestate_custom_css .='';
		$construction_realestate_custom_css .='}';
	}else if($construction_realestate_theme_lay == 'construction_realestate-footer-two'){
		$construction_realestate_custom_css .='.footer-wp {';
			$construction_realestate_custom_css .='background: #E3F2FD !important;';
		$construction_realestate_custom_css .='}';
		$construction_realestate_custom_css .='.footer-wp p,.footer-wp span,.footer-wp li a,.footer-wp #wp-calendar caption,.footer-wp #wp-calendar td,.footer-wp #wp-calendar th, .footer-wp, .footer-wp h3, .footer-wp a.rsswidget, .footer-wp #wp-calendar a, .copyright a, .footer-wp .custom_details, .footer-wp ins span, .footer-wp .tagcloud a, .main-inner-box span.entry-date a, nav.woocommerce-MyAccount-navigation ul li:hover a, .footer-wp ul li a, .footer-wp table, .footer-wp th, .footer-wp td, .footer-wp caption, #sidebar caption,.footer-wp nav.wp-calendar-nav a,.footer-wp .search-form .search-field, .footer-wp .rssSummary, .footer-wp ul li{';
			$construction_realestate_custom_css .='color:#000 !important;';
		$construction_realestate_custom_css .='}';
		$construction_realestate_custom_css .='.footer-wp p{';
			$construction_realestate_custom_css .='color:#000 !important;';
		$construction_realestate_custom_css .='}';
		$construction_realestate_custom_css .='.footer-wp ul li::before{';
			$construction_realestate_custom_css .='background:#000;';
		$construction_realestate_custom_css .='}';
		$construction_realestate_custom_css .='.footer-wp table, .footer-wp th, .footer-wp td,.footer-wp.search-form .search-field,.footer-wp .tagcloud a{';
			$construction_realestate_custom_css .='border: 1px solid #000;';
		$construction_realestate_custom_css .='}';

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

	// footer heading font size
	$construction_realestate_footer_heading_font_size = get_theme_mod('construction_realestate_footer_heading_font_size');
	$construction_realestate_custom_css .='.footer-wp h3{';
		$construction_realestate_custom_css .='font-size: '.esc_attr($construction_realestate_footer_heading_font_size).'px;';
	$construction_realestate_custom_css .='}';

	$construction_realestate_theme_lay = get_theme_mod( 'construction_realestate_footer_text_tranform','Capitalize');
    if($construction_realestate_theme_lay == 'Uppercase'){
		$construction_realestate_custom_css .='.footer-wp h3{';
			$construction_realestate_custom_css .='text-transform: uppercase;';
		$construction_realestate_custom_css .='}';
	}else if($construction_realestate_theme_lay == 'Lowercase'){
		$construction_realestate_custom_css .='.footer-wp h3{';
			$construction_realestate_custom_css .='text-transform: lowercase;';
		$construction_realestate_custom_css .='}';
	}
	else if($construction_realestate_theme_lay == 'Capitalize'){
		$construction_realestate_custom_css .='.footer-wp h3{';
			$construction_realestate_custom_css .='text-transform: capitalize;';
		$construction_realestate_custom_css .='}';
	}

	$construction_realestate_footer_heading_font_weight = get_theme_mod( 'construction_realestate_footer_heading_font_weight');
	if($construction_realestate_footer_heading_font_weight != ''){
		$construction_realestate_custom_css .='.footer-wp h3, .footer-wp .wp-block-heading{';
			$construction_realestate_custom_css .='font-weight: '.esc_attr($construction_realestate_footer_heading_font_weight).';';
		$construction_realestate_custom_css .='}';
	}

	// footer padding
	$construction_realestate_footer_padding = get_theme_mod('construction_realestate_footer_padding');
	$construction_realestate_custom_css .='.footer-wp{';
		$construction_realestate_custom_css .='padding: '.esc_attr($construction_realestate_footer_padding).'px;';
	$construction_realestate_custom_css .='}';

	// letter spacing
	$construction_realestate_footer_heading_letter_spacing = get_theme_mod('construction_realestate_footer_heading_letter_spacing',2);
	$construction_realestate_custom_css .='.footer-wp h3{';
	$construction_realestate_custom_css .='letter-spacing: '.esc_attr($construction_realestate_footer_heading_letter_spacing).'px;';
	$construction_realestate_custom_css .='}';

	$construction_realestate_footer_heading_font_weight = get_theme_mod( 'construction_realestate_footer_heading_font_weight','500');
	if($construction_realestate_footer_heading_font_weight != ''){
		$construction_realestate_custom_css .='.footer-wp h3{';
			$construction_realestate_custom_css .='font-weight: '.esc_attr($construction_realestate_footer_heading_font_weight).';';
		$construction_realestate_custom_css .='}';
	}	

	$construction_realestate_footer_heading = get_theme_mod( 'construction_realestate_footer_heading','Left');
    if($construction_realestate_footer_heading == 'Left'){
		$construction_realestate_custom_css .='.footer-wp h3, .footer-wp .wp-block-search .wp-block-search__label{';
		$construction_realestate_custom_css .='text-align: left;';
		$construction_realestate_custom_css .='}';
	}else if($construction_realestate_footer_heading == 'Center'){
		$construction_realestate_custom_css .='.footer-wp h3, .footer-wp .wp-block-search .wp-block-search__label{';
			$construction_realestate_custom_css .='text-align: center;';
		$construction_realestate_custom_css .='}';
		$construction_realestate_custom_css .='
		@media screen and (max-width:767px) {
			.footer-wp h3, .footer-wp .wp-block-search .wp-block-search__label{';
				$construction_realestate_custom_css .='text-align: left;';
				$construction_realestate_custom_css .='} }';
	}else if($construction_realestate_footer_heading == 'Right'){
		$construction_realestate_custom_css .='.footer-wp h3, .footer-wp .wp-block-search .wp-block-search__label{';
			$construction_realestate_custom_css .='text-align: right; padding-bottom: 25px;';
		$construction_realestate_custom_css .='}';
		$construction_realestate_custom_css .='.footer-wp .widget, .footer-wp aside{';
			$construction_realestate_custom_css .='position: relative;';
		$construction_realestate_custom_css .='}';
		$construction_realestate_custom_css .='
		@media screen and (max-width:767px) {
			.footer-wp h3, .footer-wp .wp-block-search .wp-block-search__label{';
				$construction_realestate_custom_css .='text-align: left;';
				$construction_realestate_custom_css .='} }';
	}

	$construction_realestate_footer_content = get_theme_mod( 'construction_realestate_footer_content','Left');
    if($construction_realestate_footer_content == 'Left'){
		$construction_realestate_custom_css .='.footer-wp .widget,.footer-wp caption{';
		$construction_realestate_custom_css .='text-align: left;';
		$construction_realestate_custom_css .='}';
	}else if($construction_realestate_footer_content == 'Center'){
		$construction_realestate_custom_css .='.footer-wp .widget,.footer-wp caption{';
			$construction_realestate_custom_css .='text-align: center;';
		$construction_realestate_custom_css .='}';
		$construction_realestate_custom_css .='
		@media screen and (max-width:767px) {
			.footer-wp .widget,.footer-wp caption{';
				$construction_realestate_custom_css .='text-align: left;';
				$construction_realestate_custom_css .='} }';
	}else if($construction_realestate_footer_content == 'Right'){
		$construction_realestate_custom_css .='.footer-wp .widget,.footer-wp caption{';
			$construction_realestate_custom_css .='text-align: right;';
		$construction_realestate_custom_css .='}';
		$construction_realestate_custom_css .='
		@media screen and (max-width:767px) {
			.footer-wp .widget,.footer-wp caption{';
				$construction_realestate_custom_css .='text-align: left;';
				$construction_realestate_custom_css .='} }';
	}

	//Footer social icons font size
	$construction_realestate_footer_social_icons_size = get_theme_mod('construction_realestate_footer_social_icons_size', 15);
	$construction_realestate_custom_css .='.copyright-wrapper a i{';
		$construction_realestate_custom_css .='font-size: '.esc_attr($construction_realestate_footer_social_icons_size).'px;';
	$construction_realestate_custom_css .='}';	
	
	//Footer Social Icon Alignment
	$construction_realestate_footer_icon_alignment = get_theme_mod( 'construction_realestate_footer_icon_alignment','center');
    if($construction_realestate_footer_icon_alignment == 'left'){
		$construction_realestate_custom_css .='footer .socialicons{';
			$construction_realestate_custom_css .='text-align:left !important;';
		$construction_realestate_custom_css .='}';
	}else if($construction_realestate_footer_icon_alignment == 'center'){
		$construction_realestate_custom_css .='footer .socialicons{';
			$construction_realestate_custom_css .='text-align:center !important;';
		$construction_realestate_custom_css .='}';
	}else if($construction_realestate_footer_icon_alignment == 'right'){
		$construction_realestate_custom_css .='footer .socialicons{';
			$construction_realestate_custom_css .='text-align:right !important;';
		$construction_realestate_custom_css .='}';
	}		

	//Social icon color
	$construction_realestate_footer_social_icon_color = get_theme_mod('construction_realestate_footer_social_icon_color');
	$construction_realestate_custom_css .='footer .socialicons i{';
			$construction_realestate_custom_css .='color: '.esc_attr($construction_realestate_footer_social_icon_color).' !important;';
	$construction_realestate_custom_css .='}';  	

	/*------------- Back to Top  -------------------*/
	$construction_realestate_back_to_top_border_radius = get_theme_mod('construction_realestate_back_to_top_border_radius');
	$construction_realestate_custom_css .='#scrollbutton i{';
		$construction_realestate_custom_css .='border-radius: '.esc_attr($construction_realestate_back_to_top_border_radius).'px !important;';
	$construction_realestate_custom_css .='}';

	$construction_realestate_scroll_icon_font_size = get_theme_mod('construction_realestate_scroll_icon_font_size', 22);
	$construction_realestate_custom_css .='#scrollbutton i{';
		$construction_realestate_custom_css .='font-size: '.esc_attr($construction_realestate_scroll_icon_font_size).'px;';
	$construction_realestate_custom_css .='}';

	// back to top icon color
	$construction_realestate_scroll_icon_color = get_theme_mod('construction_realestate_scroll_icon_color');
	$construction_realestate_custom_css .='#scrollbutton i{';
		$construction_realestate_custom_css .='color: '.esc_attr($construction_realestate_scroll_icon_color).';';
	$construction_realestate_custom_css .='}';

	// back to top icon hover color
	$construction_realestate_scroll_icon_hover_color = get_theme_mod('construction_realestate_scroll_icon_hover_color');
	$construction_realestate_custom_css .='#scrollbutton i:hover{';
		$construction_realestate_custom_css .='color: '.esc_attr($construction_realestate_scroll_icon_hover_color).';';
	$construction_realestate_custom_css .='}';

	// back to top bg color
	$construction_realestate_scroll_icon_background = get_theme_mod('construction_realestate_scroll_icon_background');
	$construction_realestate_custom_css .='#scrollbutton i{';
		$construction_realestate_custom_css .='background-color: '.esc_attr($construction_realestate_scroll_icon_background).';';
		$construction_realestate_custom_css .='border-color: '.esc_attr($construction_realestate_scroll_icon_background).';';
	$construction_realestate_custom_css .='}';

	// back to top bg hover color
	$construction_realestate_scroll_icon_bg_hover = get_theme_mod('construction_realestate_scroll_icon_bg_hover');
	$construction_realestate_custom_css .='#scrollbutton i:hover{';
		$construction_realestate_custom_css .='background-color: '.esc_attr($construction_realestate_scroll_icon_bg_hover).';';
		$construction_realestate_custom_css .='border-color: '.esc_attr($construction_realestate_scroll_icon_bg_hover).';';
	$construction_realestate_custom_css .='}';

	$construction_realestate_top_bottom_scroll_padding = get_theme_mod('construction_realestate_top_bottom_scroll_padding', 12);
	$construction_realestate_custom_css .='#scrollbutton i{';
		$construction_realestate_custom_css .='padding-top: '.esc_attr($construction_realestate_top_bottom_scroll_padding).'px !important; padding-bottom: '.esc_attr($construction_realestate_top_bottom_scroll_padding).'px !important;';
	$construction_realestate_custom_css .='}';

	$construction_realestate_left_right_scroll_padding = get_theme_mod('construction_realestate_left_right_scroll_padding', 17);
	$construction_realestate_custom_css .='#scrollbutton i{';
		$construction_realestate_custom_css .='padding-left: '.esc_attr($construction_realestate_left_right_scroll_padding).'px !important; padding-right: '.esc_attr($construction_realestate_left_right_scroll_padding).'px !important;';
	$construction_realestate_custom_css .='}';

	// preloader background image
	$construction_realestate_preloader_bg_image = get_theme_mod('construction_realestate_preloader_bg_image');
	if($construction_realestate_preloader_bg_image != false){
		$construction_realestate_custom_css .='.frame{';
			$construction_realestate_custom_css .='background: url('.esc_attr($construction_realestate_preloader_bg_image).'); background-size: cover;';
		$construction_realestate_custom_css .='}';
	}

	/*----------- Preloader Color Option  ----------------*/
	$construction_realestate_preloader_bg_color_option = get_theme_mod('construction_realestate_preloader_bg_color_option');
	$construction_realestate_preloader_icon_color_option = get_theme_mod('construction_realestate_preloader_icon_color_option');
	$construction_realestate_custom_css .='.frame{';
		$construction_realestate_custom_css .='background-color: '.esc_attr($construction_realestate_preloader_bg_color_option).';';
	$construction_realestate_custom_css .='}';

	$construction_realestate_custom_css .='.dot-1,.dot-2,.dot-3{';
		$construction_realestate_custom_css .='background-color: '.esc_attr($construction_realestate_preloader_icon_color_option).';';
	$construction_realestate_custom_css .='}';

	// preloader type
	$construction_realestate_theme_lay = get_theme_mod( 'construction_realestate_preloader_type','First Preloader Type');
    if($construction_realestate_theme_lay == 'First Preloader Type'){
		$construction_realestate_custom_css .='.dot-1, .dot-2, .dot-3{';
			$construction_realestate_custom_css .='';
		$construction_realestate_custom_css .='}';
	}else if($construction_realestate_theme_lay == 'Second Preloader Type'){
		$construction_realestate_custom_css .='.dot-1, .dot-2, .dot-3{';
			$construction_realestate_custom_css .='border-radius:0 !important;';
		$construction_realestate_custom_css .='}';
	}

	// social icon settings
	$construction_realestate_social_icon_size = get_theme_mod('construction_realestate_social_icon_size');
	$construction_realestate_custom_css .='#header .top_headbar{';
		$construction_realestate_custom_css .='font-size: '.esc_attr($construction_realestate_social_icon_size).'px;';
	$construction_realestate_custom_css .='}';

	//Social icon color
	$construction_realestate_social_icon_color = get_theme_mod('construction_realestate_social_icon_color');
	$construction_realestate_custom_css .='#header .top_headbar .socialbox i{';
			$construction_realestate_custom_css .='color: '.esc_attr($construction_realestate_social_icon_color).' !important;';
	$construction_realestate_custom_css .='}';  	
	
	// Header Contact Icons Font Size
    $construction_realestate_header_icons_size = get_theme_mod('construction_realestate_header_icons_size', '16');
    $construction_realestate_custom_css .='#header .contact p i, #header .contact a i{';
        $construction_realestate_custom_css .='font-size: '.esc_attr($construction_realestate_header_icons_size).'px;';
    $construction_realestate_custom_css .='}'; 

	// menu settings
	$construction_realestate_menu_font_size_option = get_theme_mod('construction_realestate_menu_font_size_option', 15);
	$construction_realestate_custom_css .='.primary-navigation a{';
		$construction_realestate_custom_css .='font-size: '.esc_attr($construction_realestate_menu_font_size_option).'px;';
	$construction_realestate_custom_css .='}';

	// menu top-bottom padding
	$construction_realestate_menu_top_bottom_padding = get_theme_mod('construction_realestate_menu_top_bottom_padding');
	$construction_realestate_custom_css .='.primary-navigation a{';
		$construction_realestate_custom_css .='padding-top: '.esc_attr($construction_realestate_menu_top_bottom_padding).'px;';
		$construction_realestate_custom_css .='padding-bottom: '.esc_attr($construction_realestate_menu_top_bottom_padding).'px;';
	$construction_realestate_custom_css .='}';

	// menu left-right padding
	$construction_realestate_menu_left_right_padding = get_theme_mod('construction_realestate_menu_left_right_padding');
	$construction_realestate_custom_css .='.primary-navigation a{';
		$construction_realestate_custom_css .='padding-left: '.esc_attr($construction_realestate_menu_left_right_padding).'px;';
		$construction_realestate_custom_css .='padding-right: '.esc_attr($construction_realestate_menu_left_right_padding).'px;';
	$construction_realestate_custom_css .='}';

	// Responsive Media
	$construction_realestate_slider = get_theme_mod( 'construction_realestate_display_slider',true);
	if($construction_realestate_slider == true && get_theme_mod( 'construction_realestate_slider_hide_show', true) == false){
    	$construction_realestate_custom_css .='#slider{';
			$construction_realestate_custom_css .='display:none;';
		$construction_realestate_custom_css .='} ';
	}
    if($construction_realestate_slider == true){
    	$construction_realestate_custom_css .='@media screen and (max-width:575px) {';
		$construction_realestate_custom_css .='#slider{';
			$construction_realestate_custom_css .='display:block;';
		$construction_realestate_custom_css .='} }';
	}else if($construction_realestate_slider == false){
		$construction_realestate_custom_css .='@media screen and (max-width:575px){';
		$construction_realestate_custom_css .='#slider{';
			$construction_realestate_custom_css .='display:none;';
		$construction_realestate_custom_css .='} }';
	}

	$construction_realestate_sliderbutton = get_theme_mod( 'construction_realestate_display_slider_button',true);
	if($construction_realestate_sliderbutton == true && get_theme_mod( 'construction_realestate_show_slider_button',true) != true){
    	$construction_realestate_custom_css .='.slide-button{';
			$construction_realestate_custom_css .='display:none;';
		$construction_realestate_custom_css .='} ';
	}
    if($construction_realestate_sliderbutton == true){
    	$construction_realestate_custom_css .='@media screen and (max-width:575px) {';
		$construction_realestate_custom_css .='.slide-button{';
			$construction_realestate_custom_css .='display:block;';
		$construction_realestate_custom_css .='} }';
	}else if($construction_realestate_sliderbutton == false){
		$construction_realestate_custom_css .='@media screen and (max-width:575px){';
		$construction_realestate_custom_css .='.slide-button{';
			$construction_realestate_custom_css .='display:none;';
		$construction_realestate_custom_css .='} }';
	}

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

	$construction_realestate_scroll = get_theme_mod( 'construction_realestate_display_scrolltop', true);
	if($construction_realestate_scroll == true && get_theme_mod( 'construction_realestate_hide_show_scroll',true) != true){
    	$construction_realestate_custom_css .='#scrollbutton i{';
			$construction_realestate_custom_css .='display:none;';
		$construction_realestate_custom_css .='} ';
	}
    if($construction_realestate_scroll == true){
    	$construction_realestate_custom_css .='@media screen and (max-width:575px) {';
		$construction_realestate_custom_css .='#scrollbutton i{';
			$construction_realestate_custom_css .='display:block;';
		$construction_realestate_custom_css .='} }';
	}else if($construction_realestate_scroll == false){
		$construction_realestate_custom_css .='@media screen and (max-width:575px){';
		$construction_realestate_custom_css .='#scrollbutton i{';
			$construction_realestate_custom_css .='display:none;';
		$construction_realestate_custom_css .='} }';
	}

	$construction_realestate_preloader = get_theme_mod( 'construction_realestate_display_preloader',false);
	if($construction_realestate_preloader == true && get_theme_mod( 'construction_realestate_preloader',false) != true){
    	$construction_realestate_custom_css .='.frame{';
			$construction_realestate_custom_css .='display:none;';
		$construction_realestate_custom_css .='} ';
	}
    if($construction_realestate_preloader == true){
    	$construction_realestate_custom_css .='@media screen and (max-width:575px) {';
		$construction_realestate_custom_css .='.frame{';
			$construction_realestate_custom_css .='display:block;';
		$construction_realestate_custom_css .='} }';
	}else if($construction_realestate_preloader == false){
		$construction_realestate_custom_css .='@media screen and (max-width:575px){';
		$construction_realestate_custom_css .='.frame{';
			$construction_realestate_custom_css .='display:none;';
		$construction_realestate_custom_css .='} }';
	}

	$construction_realestate_fixed_header = get_theme_mod( 'construction_realestate_display_fixed_header',false);
	if($construction_realestate_fixed_header == true && get_theme_mod( 'construction_realestate_sticky_header',false) != true){
    	$construction_realestate_custom_css .='.fixed-header{';
			$construction_realestate_custom_css .='position:static;';
		$construction_realestate_custom_css .='} ';
	}
    if($construction_realestate_fixed_header == true){
    	$construction_realestate_custom_css .='@media screen and (max-width:575px) {';
		$construction_realestate_custom_css .='.fixed-header .toggle-menu, .fixed-header{';
			$construction_realestate_custom_css .='position:fixed;';
		$construction_realestate_custom_css .='} }';
	}else if($construction_realestate_fixed_header == false){
		$construction_realestate_custom_css .='@media screen and (max-width:575px){';
		$construction_realestate_custom_css .='.fixed-header .toggle-menu, .fixed-header{';
			$construction_realestate_custom_css .='position:static;';
		$construction_realestate_custom_css .='} }';
	}

	//  comment form width
	$construction_realestate_comment_form_width = get_theme_mod( 'construction_realestate_comment_form_width');
	$construction_realestate_custom_css .='#comments textarea{';
		$construction_realestate_custom_css .='width: '.esc_attr($construction_realestate_comment_form_width).'%;';
	$construction_realestate_custom_css .='}';

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

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

	// slider height
	$construction_realestate_option_slider_height = get_theme_mod('construction_realestate_option_slider_height', 500);
	$construction_realestate_custom_css .='#slider img{';
		$construction_realestate_custom_css .='height: '.esc_attr($construction_realestate_option_slider_height).'px;';
	$construction_realestate_custom_css .='}';

	// site tagline font size
	$construction_realestate_site_title_font_size = get_theme_mod('construction_realestate_site_title_font_size', 30);
	$construction_realestate_custom_css .='#header .logo .site-title a{';
	$construction_realestate_custom_css .='font-size: '.esc_attr($construction_realestate_site_title_font_size).'px;';
	$construction_realestate_custom_css .='}';

	// site tagline font size
	$construction_realestate_site_tagline_font_size = get_theme_mod('construction_realestate_site_tagline_font_size', 12);
	$construction_realestate_custom_css .='#header .logo p{';
	$construction_realestate_custom_css .='font-size: '.esc_attr($construction_realestate_site_tagline_font_size).'px;';
	$construction_realestate_custom_css .='}';

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

	/*------------------ Skin Option  -------------------*/
	$construction_realestate_theme_lay = get_theme_mod( 'construction_realestate_background_skin','Without Background');
    if($construction_realestate_theme_lay == 'With Background'){
		$construction_realestate_custom_css .='#sidebar .widget,.woocommerce ul.products li.product, .woocommerce-page ul.products li.product, .search-cat-box, .login-box a, .front-page-content, .background-img-skin, #content_box, .mainbox, .about-box{';
			$construction_realestate_custom_css .='background-color: #fff; padding:10px !important;';
		$construction_realestate_custom_css .='}';
		$construction_realestate_custom_css .='section{';
			$construction_realestate_custom_css .='background: none;';
		$construction_realestate_custom_css .='}';
	}else if($construction_realestate_theme_lay == 'Without Background'){
		$construction_realestate_custom_css .='#about, .mainbox, section{';
			$construction_realestate_custom_css .='background-color: transparent;';
		$construction_realestate_custom_css .='}';
	}

	// slider overlay
	$construction_realestate_enable_slider_overlay = get_theme_mod('construction_realestate_enable_slider_overlay', true);
	if($construction_realestate_enable_slider_overlay == false){
		$construction_realestate_custom_css .='#slider img{';
			$construction_realestate_custom_css .='opacity:1;';
		$construction_realestate_custom_css .='}';
	} 
	$construction_realestate_slider_overlay_color = get_theme_mod('construction_realestate_slider_overlay_color');
	if($construction_realestate_enable_slider_overlay == true){
		$construction_realestate_custom_css .='#slider{';
			$construction_realestate_custom_css .='background: '.esc_attr($construction_realestate_slider_overlay_color).';';
		$construction_realestate_custom_css .='}';
	}

	// woocommerce Product Navigation
	$construction_realestate_wooproducts_nav = get_theme_mod('construction_realestate_wooproducts_nav', 'Yes');
	if($construction_realestate_wooproducts_nav == 'No'){
		$construction_realestate_custom_css .='.woocommerce nav.woocommerce-pagination{';
			$construction_realestate_custom_css .='display: none;';
		$construction_realestate_custom_css .='}';
	}

	/*-------------- Footer Text -------------------*/
	$construction_realestate_footer_text_align = get_theme_mod('construction_realestate_footer_text_align');
	$construction_realestate_custom_css .='.copyright-wrapper{';
		$construction_realestate_custom_css .='text-align: '.esc_attr($construction_realestate_footer_text_align).' !important;';
	$construction_realestate_custom_css .='}';
	$construction_realestate_custom_css .='
	@media screen and (max-width:575px) {
		.copyright-wrapper{';
			$construction_realestate_custom_css .='text-align: center !important;'.esc_attr($construction_realestate_footer_text_align).'';
	$construction_realestate_custom_css .='} }';

	// featured image setting
	$construction_realestate_image_border_radius = get_theme_mod('construction_realestate_image_border_radius', 0);
	$construction_realestate_custom_css .='.mainbox-post .box-image img{';
		$construction_realestate_custom_css .='border-radius: '.esc_attr($construction_realestate_image_border_radius).'%;';
	$construction_realestate_custom_css .='}';

	$construction_realestate_image_box_shadow = get_theme_mod('construction_realestate_image_box_shadow',0);
	$construction_realestate_custom_css .='.mainbox-post .box-image img{';
		$construction_realestate_custom_css .='box-shadow: '.esc_attr($construction_realestate_image_box_shadow).'px '.esc_attr($construction_realestate_image_box_shadow).'px '.esc_attr($construction_realestate_image_box_shadow).'px #ccc;';
	$construction_realestate_custom_css .='}';

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

	// grid post image setting
	$construction_realestate_grid_image_border_radius = get_theme_mod('construction_realestate_grid_image_border_radius', 0);
	$construction_realestate_custom_css .='.gridbox .inner-service .box-image img{';
		$construction_realestate_custom_css .='border-radius: '.esc_attr($construction_realestate_grid_image_border_radius).'%;';
	$construction_realestate_custom_css .='}';

	$construction_realestate_grid_image_box_shadow = get_theme_mod('construction_realestate_grid_image_box_shadow',0);
	$construction_realestate_custom_css .='.gridbox .inner-service .box-image img{';
		$construction_realestate_custom_css .='box-shadow: '.esc_attr($construction_realestate_grid_image_box_shadow).'px '.esc_attr($construction_realestate_grid_image_box_shadow).'px '.esc_attr($construction_realestate_grid_image_box_shadow).'px #b5b5b5;';
	$construction_realestate_custom_css .='}';

	// single featured image setting
	$construction_realestate_single_image_border_radius = get_theme_mod('construction_realestate_single_image_border_radius', 0);
	$construction_realestate_custom_css .='.feature-box img{';
		$construction_realestate_custom_css .='border-radius: '.esc_attr($construction_realestate_single_image_border_radius).'%;';
	$construction_realestate_custom_css .='}';

	$construction_realestate_single_image_box_shadow = get_theme_mod('construction_realestate_single_image_box_shadow',0);
	$construction_realestate_custom_css .='.feature-box img{';
		$construction_realestate_custom_css .='box-shadow: '.esc_attr($construction_realestate_single_image_box_shadow).'px '.esc_attr($construction_realestate_single_image_box_shadow).'px '.esc_attr($construction_realestate_single_image_box_shadow).'px #ccc;';
	$construction_realestate_custom_css .='}';

	// single featured image dimention
	$construction_realestate_single_post_featured_image_dimention = get_theme_mod('construction_realestate_single_post_featured_image_dimention', 'Default');
	$construction_realestate_single_post_featured_image_custom_width = get_theme_mod('construction_realestate_single_post_featured_image_custom_width');
	$construction_realestate_single_post_featured_image_custom_height = get_theme_mod('construction_realestate_single_post_featured_image_custom_height');
	if($construction_realestate_single_post_featured_image_dimention == 'Custom'){
		$construction_realestate_custom_css .='.single-post-page .feature-box img{';
			$construction_realestate_custom_css .='width: '.esc_attr($construction_realestate_single_post_featured_image_custom_width).'px!important; height: '.esc_attr($construction_realestate_single_post_featured_image_custom_height).'px!important;';
		$construction_realestate_custom_css .='}';
	}

	// category color
	$construction_realestate_category_color = get_theme_mod('construction_realestate_category_color');
	$construction_realestate_custom_css .='.type-post .category ul li a{';
			$construction_realestate_custom_css .='color: '.esc_attr($construction_realestate_category_color).';';
	$construction_realestate_custom_css .='}';

	// category hover color
	$construction_realestate_category_hover_color = get_theme_mod('construction_realestate_category_hover_color');
	$construction_realestate_custom_css .='.type-post .category ul li a:hover{';
			$construction_realestate_custom_css .='color: '.esc_attr($construction_realestate_category_hover_color).';';
	$construction_realestate_custom_css .='}';

	// slider content spacing
	$construction_realestate_slider_content_top_padding = get_theme_mod('construction_realestate_slider_content_top_padding');
	$construction_realestate_slider_content_left_padding = get_theme_mod('construction_realestate_slider_content_left_padding');
	$construction_realestate_custom_css .='#slider .carousel-caption, #slider .inner_carousel, #slider .inner_carousel h1, #slider .inner_carousel p, #slider .readbutton{';
		$construction_realestate_custom_css .='top: '.esc_attr($construction_realestate_slider_content_top_padding).'%; bottom: '.esc_attr($construction_realestate_slider_content_top_padding).'%;left: '.esc_attr($construction_realestate_slider_content_left_padding).'%;right: '.esc_attr($construction_realestate_slider_content_left_padding).'%;';
	$construction_realestate_custom_css .='}';

	// copyright font size
	$construction_realestate_copyright_text_font_size = get_theme_mod('construction_realestate_copyright_text_font_size', 15);
	$construction_realestate_custom_css .='.copyright-wrapper p, .copyright-wrapper a{';
		$construction_realestate_custom_css .='font-size: '.esc_attr($construction_realestate_copyright_text_font_size).'px;';
	$construction_realestate_custom_css .='}';

	// copyright padding option
	$construction_realestate_footer_text_padding = get_theme_mod('construction_realestate_footer_text_padding', 15);
	$construction_realestate_custom_css .='.copyright-wrapper{';
		$construction_realestate_custom_css .='padding-top: '.esc_attr($construction_realestate_footer_text_padding).'px !important; padding-bottom: '.esc_attr($construction_realestate_footer_text_padding).'px !important;';
	$construction_realestate_custom_css .='}';

	// menu text transform
	$construction_realestate_theme_lay = get_theme_mod( 'construction_realestate_text_tranform_menu','Capitalize');
    if($construction_realestate_theme_lay == 'Capitalize'){
		$construction_realestate_custom_css .='.primary-navigation a{';
			$construction_realestate_custom_css .='';
		$construction_realestate_custom_css .='}';
	}else if($construction_realestate_theme_lay == 'Lowercase'){
		$construction_realestate_custom_css .='.primary-navigation a{';
			$construction_realestate_custom_css .='text-transform: lowercase;';
		$construction_realestate_custom_css .='}';
	}
	else if($construction_realestate_theme_lay == 'Uppercase'){
		$construction_realestate_custom_css .='.primary-navigation a{';
			$construction_realestate_custom_css .='text-transform: Uppercase;';
		$construction_realestate_custom_css .='}';
	}

	// site title color
	$construction_realestate_site_title_color = get_theme_mod('construction_realestate_site_title_color');
	$construction_realestate_custom_css .='.site-title a{';
		$construction_realestate_custom_css .='color: '.esc_attr($construction_realestate_site_title_color).' !important;';
	$construction_realestate_custom_css .='}';

	// site tagline color
	$construction_realestate_site_tagline_color = get_theme_mod('construction_realestate_site_tagline_color');
	$construction_realestate_custom_css .='.site-description{';
		$construction_realestate_custom_css .='color: '.esc_attr($construction_realestate_site_tagline_color).' !important;';
	$construction_realestate_custom_css .='}';

	// menu font weight
	$construction_realestate_menu_font_weight = get_theme_mod( 'construction_realestate_menu_font_weight','500');
	if($construction_realestate_menu_font_weight != ''){
		$construction_realestate_custom_css .='.primary-navigation a, .primary-navigation ul li a{';
			$construction_realestate_custom_css .='font-weight: '.esc_attr($construction_realestate_menu_font_weight).';';
		$construction_realestate_custom_css .='}';
	}

	// Menu Item Hover Style	
	$construction_realestate_menus_item = get_theme_mod( 'construction_realestate_menus_item_style','None');
	if($construction_realestate_menus_item == 'None'){
		$construction_realestate_custom_css .='.primary-navigation ul li a{';
			$construction_realestate_custom_css .='';
		$construction_realestate_custom_css .='}';
	}else if($construction_realestate_menus_item == 'Zoom In'){
		$construction_realestate_custom_css .='.primary-navigation ul li a:hover{';
			$construction_realestate_custom_css .='transition: all 0.3s ease-in-out !important; transform: scale(1.2) !important;';
		$construction_realestate_custom_css .='}';
	}

	//Copyright text color
	$construction_realestate_copyright_text_color = get_theme_mod('construction_realestate_copyright_text_color');
	$construction_realestate_custom_css .='.copyright-wrapper p, .copyright-wrapper p a{';
		$construction_realestate_custom_css .='color: '.esc_attr($construction_realestate_copyright_text_color).';';
	$construction_realestate_custom_css .='}';

	//Copyright background css
	$construction_realestate_copyright_text_background = get_theme_mod('construction_realestate_copyright_text_background');
	$construction_realestate_custom_css .='.copyright-wrapper{';
		$construction_realestate_custom_css .='background-color: '.esc_attr($construction_realestate_copyright_text_background).';';
	$construction_realestate_custom_css .='}';

	// Post Block
	$construction_realestate_post_block_option = get_theme_mod( 'construction_realestate_post_block_option','By Block');
    if($construction_realestate_post_block_option == 'By Without Block'){
		$construction_realestate_custom_css .='.mainbox-post, .layout2 .mainbox,.mainbox,.post_format-post-format-video,.post_format-post-format-image,.post_format-post-format-audio, .post_format-post-format-gallery, {';
			$construction_realestate_custom_css .='border:none; margin:30px 0; box-shadow:none;';
		$construction_realestate_custom_css .='}';
	}

	//Grid Post Block
	$construction_realestate_grid_post_block_option = get_theme_mod( 'construction_realestate_grid_post_block_option','By Block');
    if($construction_realestate_grid_post_block_option == 'By Without Block'){
		$construction_realestate_custom_css .='.gridbox .inner-service {';
			$construction_realestate_custom_css .='border:none!important; margin:30px 0!important;';
		$construction_realestate_custom_css .='}';
	}

	//First Cap
	$construction_realestate_show_first_caps = get_theme_mod('construction_realestate_show_first_caps', 'false');
	if($construction_realestate_show_first_caps == 'true' ){
	$construction_realestate_custom_css .='.blog-section .mainbox-post .new-text p:nth-of-type(1)::first-letter{';
	$construction_realestate_custom_css .=' font-size: 55px; font-weight: 600;';
	$construction_realestate_custom_css .=' margin-right: 6px;';
	$construction_realestate_custom_css .=' line-height: 1;';
	$construction_realestate_custom_css .='}';
	}elseif($construction_realestate_show_first_caps == 'false' ){
	$construction_realestate_custom_css .='.blog-section .mainbox-post .new-text p:nth-of-type(1)::first-letter {';
	$construction_realestate_custom_css .='display: none;';
	$construction_realestate_custom_css .='}';
	}

	// site toggle button color
	$construction_realestate_toggle_button_color = get_theme_mod('construction_realestate_toggle_button_color');
	$construction_realestate_custom_css .='.toggle-menu i{';
		$construction_realestate_custom_css .='color: '.esc_attr($construction_realestate_toggle_button_color).' !important;';
	$construction_realestate_custom_css .='}';

	// menu color
	$construction_realestate_menu_color = get_theme_mod('construction_realestate_menu_color');
	$construction_realestate_custom_css .='.primary-navigation a, .primary-navigation ul li a{';
			$construction_realestate_custom_css .='color: '.esc_attr($construction_realestate_menu_color).' !important;';
	$construction_realestate_custom_css .='}';

	// Sub menu color
	$construction_realestate_sub_menu_color = get_theme_mod('construction_realestate_sub_menu_color');
	$construction_realestate_custom_css .='.primary-navigation ul.children a, .primary-navigation ul.children li a, .primary-navigation ul.sub-menu a, .primary-navigation ul.sub-menu li a{';
			$construction_realestate_custom_css .='color: '.esc_attr($construction_realestate_sub_menu_color).' !important;';
	$construction_realestate_custom_css .='}';

	// menu hover color
	$construction_realestate_menu_hover_color = get_theme_mod('construction_realestate_menu_hover_color');
	$construction_realestate_custom_css .='.primary-navigation a:hover, .primary-navigation ul li a:hover{';
			$construction_realestate_custom_css .='color: '.esc_attr($construction_realestate_menu_hover_color).' !important;';
	$construction_realestate_custom_css .='}';

	// submenu hover color
	$construction_realestate_sub_menu_hover_color = get_theme_mod('construction_realestate_sub_menu_hover_color');
	$construction_realestate_custom_css .='.primary-navigation a:hover, .primary-navigation ul.children li a:hover, .primary-navigation ul.sub-menu li a:hover{';
			$construction_realestate_custom_css .='color: '.esc_attr($construction_realestate_sub_menu_hover_color).' !important;';
	$construction_realestate_custom_css .='}';

	// Sub menu bg color
	$construction_realestate_sub_menu_bg_color = get_theme_mod('construction_realestate_sub_menu_bg_color');
	$construction_realestate_custom_css .='.primary-navigation ul.children li a, .primary-navigation ul.sub-menu li a{';
			$construction_realestate_custom_css .='background-color: '.esc_attr($construction_realestate_sub_menu_bg_color).';';
	$construction_realestate_custom_css .='}';

	// Sub menu bg hover color
	$construction_realestate_sub_menu_bg_hover_color = get_theme_mod('construction_realestate_sub_menu_bg_hover_color');
	$construction_realestate_custom_css .='.primary-navigation ul.children li a:hover, .primary-navigation ul.sub-menu li a:hover{';
			$construction_realestate_custom_css .='background-color: '.esc_attr($construction_realestate_sub_menu_bg_hover_color).';';
	$construction_realestate_custom_css .='}';

	// site logo margin 
	$construction_realestate_logo_margin = get_theme_mod('construction_realestate_logo_margin', '');
	$construction_realestate_custom_css .='.logo{';
	$construction_realestate_custom_css .='margin: '.esc_attr($construction_realestate_logo_margin).'px !important;';
	$construction_realestate_custom_css .='}';
	
	// Fixed Copyright
	$construction_realestate_fixed_copyright = get_theme_mod( 'construction_realestate_display_fixed_copyright',false);
	if($construction_realestate_fixed_copyright == true && get_theme_mod( 'construction_realestate_sticky_copyright',false) != true){
    	$construction_realestate_custom_css .='.fixed-copyright{';
			$construction_realestate_custom_css .='position:static;';
		$construction_realestate_custom_css .='} ';
	}
    if($construction_realestate_fixed_copyright == true){
    	$construction_realestate_custom_css .='@media screen and (max-width:575px) {';
		$construction_realestate_custom_css .='.fixed-copyright{';
			$construction_realestate_custom_css .='position:fixed;';
		$construction_realestate_custom_css .='} }';
	}else if($construction_realestate_fixed_copyright == false){
		$construction_realestate_custom_css .='@media screen and (max-width:575px){';
		$construction_realestate_custom_css .='.fixed-copyright{';
			$construction_realestate_custom_css .='position:static;';
		$construction_realestate_custom_css .='} }';
	}

	// Hover effect on single post featured image (FIXED)

	$construction_realestate_show_featured = get_theme_mod(
		'construction_realestate_featured_image_hide_show',
		1
	);

	$construction_realestate_hover_effect = get_theme_mod(
		'construction_realestate_featured_image_hover',
		'none'
	);

	$construction_realestate_hover_duration = get_theme_mod(
		'construction_realestate_featured_image_hover_duration',
		0.4
	);

	if ( $construction_realestate_show_featured && $construction_realestate_hover_effect !== 'none' ) {

		/* BASE RESET (MOST IMPORTANT PART) */
		$construction_realestate_custom_css .= '
		.construction-realestate-featured-image{
			overflow: hidden;
		}
		.construction-realestate-featured-image img{
			transform: scale(1);
			filter: none;
			transition:
				transform ' . esc_attr( $construction_realestate_hover_duration ) . 's ease,
				filter ' . esc_attr( $construction_realestate_hover_duration ) . 's ease;
			will-change: transform, filter;
		}';

		/* ZOOM IN */
		if ( $construction_realestate_hover_effect === 'zoom-in' ) {
			$construction_realestate_custom_css .= '
			.construction-realestate-featured-image img:hover{
				transform: scale(1.2);
			}';
		}

		/* ZOOM OUT */
		if ( $construction_realestate_hover_effect === 'zoom-out' ) {
			$construction_realestate_custom_css .= '
			.construction-realestate-featured-image img{
				transform: scale(1.2);
			}
			.construction-realestate-featured-image img:hover{
				transform: scale(1);
			}';
		}

		/* GRAYSCALE (NORMAL → COLOR ON HOVER) */
		if ( $construction_realestate_hover_effect === 'grayscale' ) {
			$construction_realestate_custom_css .= '
			.construction-realestate-featured-image img{
				filter: grayscale(0%);
			}
			.construction-realestate-featured-image img:hover{
				filter: grayscale(100%);
			}';
		}

		/* SEPIA */
		if ( $construction_realestate_hover_effect === 'sepia' ) {
			$construction_realestate_custom_css .= '
			.construction-realestate-featured-image img:hover{
				filter: sepia(100%);
			}';
		}

		/* BLUR */
		if ( $construction_realestate_hover_effect === 'blur' ) {
			$construction_realestate_custom_css .= '
			.construction-realestate-featured-image img:hover{
				filter: blur(3px);
			}';
		}

		/* BRIGHT */
		if ( $construction_realestate_hover_effect === 'bright' ) {
			$construction_realestate_custom_css .= '
			.construction-realestate-featured-image img:hover{
				filter: brightness(1.3);
			}';
		}

		/* TRANSLATE */
		if ( $construction_realestate_hover_effect === 'translate' ) {
			$construction_realestate_custom_css .= '
			.construction-realestate-featured-image img:hover{
				transform: translateY(-10px);
			}';
		}
	}
 