<?php 

	$refrigerator_repair_custom_style = '';

	// Logo Size
	$refrigerator_repair_logo_top_padding = get_theme_mod('refrigerator_repair_logo_top_padding');
	$refrigerator_repair_logo_bottom_padding = get_theme_mod('refrigerator_repair_logo_bottom_padding');
	$refrigerator_repair_logo_left_padding = get_theme_mod('refrigerator_repair_logo_left_padding');
	$refrigerator_repair_logo_right_padding = get_theme_mod('refrigerator_repair_logo_right_padding');

	if( $refrigerator_repair_logo_top_padding != '' || $refrigerator_repair_logo_bottom_padding != '' || $refrigerator_repair_logo_left_padding != '' || $refrigerator_repair_logo_right_padding != ''){
		$refrigerator_repair_custom_style .=' .logo {';
			$refrigerator_repair_custom_style .=' padding-top: '.esc_attr($refrigerator_repair_logo_top_padding).'px; padding-bottom: '.esc_attr($refrigerator_repair_logo_bottom_padding).'px; padding-left: '.esc_attr($refrigerator_repair_logo_left_padding).'px; padding-right: '.esc_attr($refrigerator_repair_logo_right_padding).'px;';
		$refrigerator_repair_custom_style .=' }';
	}

	$refrigerator_repair_logo_size = get_theme_mod('refrigerator_repair_logo_size');
	if( $refrigerator_repair_logo_size != '' ) {
		if($refrigerator_repair_logo_size >= 0 && $refrigerator_repair_logo_size <= 100) {
			$calculated_width = $refrigerator_repair_logo_size * 3.5;
			$refrigerator_repair_custom_style .= ' .custom-logo-link img {';
			$refrigerator_repair_custom_style .= ' width: ' . esc_attr($calculated_width) . 'px;';
			$refrigerator_repair_custom_style .= ' }';
		}
	}

	// Site Title Font Size
	$refrigerator_repair_slider_hide_show = get_theme_mod('refrigerator_repair_slider_hide_show',false);
	if( $refrigerator_repair_slider_hide_show == false){
		$refrigerator_repair_custom_style .=' .page-template-custom-home-page #header {';
			$refrigerator_repair_custom_style .=' border-bottom: 1px solid #008aff;';
		$refrigerator_repair_custom_style .=' }';
	}

	// Site Title Font Size
	$refrigerator_repair_site_title_font_size = get_theme_mod('refrigerator_repair_site_title_font_size');
	if( $refrigerator_repair_site_title_font_size != ''){
		$refrigerator_repair_custom_style .=' .logo h1.site-title, .logo p.site-title {';
			$refrigerator_repair_custom_style .=' font-size: '.esc_attr($refrigerator_repair_site_title_font_size).'px;';
		$refrigerator_repair_custom_style .=' }';
	}

	$refrigerator_repair_site_title_color = get_theme_mod('refrigerator_repair_site_title_color');
	if ( $refrigerator_repair_site_title_color != '') {
		$refrigerator_repair_custom_style .=' h1.site-title a, p.site-title a {';
			$refrigerator_repair_custom_style .=' color:'.esc_attr($refrigerator_repair_site_title_color).';';
		$refrigerator_repair_custom_style .=' }';
	}

	// Site Tagline Font Size
	$refrigerator_repair_site_tagline_font_size = get_theme_mod('refrigerator_repair_site_tagline_font_size');
	if( $refrigerator_repair_site_tagline_font_size != ''){
		$refrigerator_repair_custom_style .=' .logo p.site-description {';
			$refrigerator_repair_custom_style .=' font-size: '.esc_attr($refrigerator_repair_site_tagline_font_size).'px;';
		$refrigerator_repair_custom_style .=' }';
	}

	$refrigerator_repair_site_tagline_color = get_theme_mod('refrigerator_repair_site_tagline_color');
	if ( $refrigerator_repair_site_tagline_color != '') {
		$refrigerator_repair_custom_style .=' .logo p.site-description {';
			$refrigerator_repair_custom_style .=' color:'.esc_attr($refrigerator_repair_site_tagline_color).';';
		$refrigerator_repair_custom_style .=' }';
	}

	//layout width
	$refrigerator_repair_boxfull_width = get_theme_mod('refrigerator_repair_boxfull_width');
	if ($refrigerator_repair_boxfull_width !== '') {
		switch ($refrigerator_repair_boxfull_width) {
			case 'container':
				$refrigerator_repair_custom_style .= ' body, #header, .bottom-header {
					max-width: 1140px;
					width: 100%;
					padding-right: 15px;
					padding-left: 15px;
					margin-right: auto;
					margin-left: auto;
					}';
				break;
			case 'container-fluid':
				$refrigerator_repair_custom_style .= ' body, #header, .bottom-header { 
					width: 100%;
					padding-right: 15px;
					padding-left: 15px;
					margin-right: auto;
					margin-left: auto;
					}';
				break;
			case 'none':
				// No specific width specified, so no additional style needed.
				break;
			default:
				// Handle unexpected values.
				break;
		}
	}

	//Menu animation
	$refrigerator_repair_dropdown_anim = get_theme_mod('refrigerator_repair_dropdown_anim');

	if ( $refrigerator_repair_dropdown_anim != '') {
		$refrigerator_repair_custom_style .=' .nav-menu ul ul {';
			$refrigerator_repair_custom_style .=' animation:'.esc_attr($refrigerator_repair_dropdown_anim).' 1s ease;';
		$refrigerator_repair_custom_style .=' }';
	}

	// Header Image
	$header_image_url = refrigerator_repair_banner_image( $image_url = '' );
	if( $header_image_url != ''){
		$refrigerator_repair_custom_style .=' #inner-pages-header {';
			$refrigerator_repair_custom_style .=' background-image: url('. esc_url( $header_image_url ).'); background-size: cover; background-repeat: no-repeat; background-attachment: fixed;';
		$refrigerator_repair_custom_style .=' }';
	} else {
		$refrigerator_repair_custom_style .=' #inner-pages-header {';
			$refrigerator_repair_custom_style .=' background: linear-gradient(0deg,#808080,#808080 80%) no-repeat; ';
		$refrigerator_repair_custom_style .=' }';
	}

	$refrigerator_repair_phone_color = get_theme_mod('refrigerator_repair_phone_color');
	if ( $refrigerator_repair_phone_color != '') {
		$refrigerator_repair_custom_style .=' .topbar a, .topbar p {';
			$refrigerator_repair_custom_style .=' color:'.esc_attr($refrigerator_repair_phone_color).';';
		$refrigerator_repair_custom_style .=' }';
	}

	$refrigerator_repair_social_color = get_theme_mod('refrigerator_repair_social_color');
	if ( $refrigerator_repair_social_color != '') {
		$refrigerator_repair_custom_style .=' .social-icons i{';
			$refrigerator_repair_custom_style .=' color:'.esc_attr($refrigerator_repair_social_color).';';
		$refrigerator_repair_custom_style .=' }';
	}

	$refrigerator_repair_menu_color = get_theme_mod('refrigerator_repair_menu_color');
	if ( $refrigerator_repair_menu_color != '') {
		$refrigerator_repair_custom_style .=' .nav-menu ul li a {';
			$refrigerator_repair_custom_style .=' color:'.esc_attr($refrigerator_repair_menu_color).';';
		$refrigerator_repair_custom_style .=' }';
	}

	$refrigerator_repair_menuhvr_color = get_theme_mod('refrigerator_repair_menuhvr_color');
	$refrigerator_repair_menubghvr_color = get_theme_mod('refrigerator_repair_menubghvr_color');
	if ( $refrigerator_repair_menuhvr_color != '') {
		$refrigerator_repair_custom_style .=' .nav-menu ul li a:hover {';
			$refrigerator_repair_custom_style .=' color:'.esc_attr($refrigerator_repair_menuhvr_color).'; background-color:'.esc_attr($refrigerator_repair_menubghvr_color).';';
		$refrigerator_repair_custom_style .=' }';
	}

	$refrigerator_repair_hbtn_color = get_theme_mod('refrigerator_repair_hbtn_color');
	$refrigerator_repair_hbtnbg_color = get_theme_mod('refrigerator_repair_hbtnbg_color');
	if ( $refrigerator_repair_hbtn_color != '') {
		$refrigerator_repair_custom_style .=' .quote-btn a {';
			$refrigerator_repair_custom_style .=' color:'.esc_attr($refrigerator_repair_hbtn_color).'; background-color:'.esc_attr($refrigerator_repair_hbtnbg_color).';';
		$refrigerator_repair_custom_style .=' }';
	}

	$refrigerator_repair_topbarbg_color = get_theme_mod('refrigerator_repair_topbarbg_color');
	if ( $refrigerator_repair_topbarbg_color != '') {
		$refrigerator_repair_custom_style .=' .topbar {';
			$refrigerator_repair_custom_style .=' background-color:'.esc_attr($refrigerator_repair_topbarbg_color).';';
		$refrigerator_repair_custom_style .=' }';
	}

	//slider color
	$refrigerator_repair_slider_hide_show = get_theme_mod('refrigerator_repair_slider_hide_show',false);
	if( $refrigerator_repair_slider_hide_show == true){
		$refrigerator_repair_custom_style .=' .page-template-custom-home-page #inner-pages-header {';
			$refrigerator_repair_custom_style .=' display:none;';
		$refrigerator_repair_custom_style .=' }';
	} else {
		$refrigerator_repair_custom_style .=' #features-section {';
			$refrigerator_repair_custom_style .=' position: static; margin: 20px 0';
		$refrigerator_repair_custom_style .=' }';
	}

	$refrigerator_repair_slider_title_font_size = get_theme_mod('refrigerator_repair_slider_title_font_size');
	if( $refrigerator_repair_slider_title_font_size != ''){
		$refrigerator_repair_custom_style .=' #slider h2 {';
			$refrigerator_repair_custom_style .=' font-size: '.esc_attr($refrigerator_repair_slider_title_font_size).'px;';
		$refrigerator_repair_custom_style .=' }';
	}

	$refrigerator_repair_slider_text_font_size = get_theme_mod('refrigerator_repair_slider_text_font_size');
	if( $refrigerator_repair_slider_text_font_size != ''){
		$refrigerator_repair_custom_style .=' #slider p {';
			$refrigerator_repair_custom_style .=' font-size: '.esc_attr($refrigerator_repair_slider_text_font_size).'px;';
		$refrigerator_repair_custom_style .=' }';
	}

	$refrigerator_repair_slider_opacity = get_theme_mod('refrigerator_repair_slider_opacity');
	if ( $refrigerator_repair_slider_opacity != '') {
		$refrigerator_repair_custom_style .=' .sliderimg img {';
			$refrigerator_repair_custom_style .=' opacity:'.esc_attr($refrigerator_repair_slider_opacity).';';
		$refrigerator_repair_custom_style .=' }';
	}

	$refrigerator_repair_slider_color = get_theme_mod('refrigerator_repair_slider_color');

	if ( $refrigerator_repair_slider_color != '') {
		$refrigerator_repair_custom_style .='  #slider h2 a {';
			$refrigerator_repair_custom_style .=' color:'.esc_attr($refrigerator_repair_slider_color).';';
		$refrigerator_repair_custom_style .=' }';
	}

	$refrigerator_repair_slider_text_color = get_theme_mod('refrigerator_repair_slider_text_color');

	if ( $refrigerator_repair_slider_text_color != '') {
		$refrigerator_repair_custom_style .=' #slider p {';
			$refrigerator_repair_custom_style .=' color:'.esc_attr($refrigerator_repair_slider_text_color).';';
		$refrigerator_repair_custom_style .=' }';
	}

	$refrigerator_repair_slider_btn_color = get_theme_mod('refrigerator_repair_slider_btn_color');
	$refrigerator_repair_slider_btnbg_color = get_theme_mod('refrigerator_repair_slider_btnbg_color');
	if ( $refrigerator_repair_slider_btn_color != '') {
		$refrigerator_repair_custom_style .='  #slider a.read-btn {';
			$refrigerator_repair_custom_style .=' color:'.esc_attr($refrigerator_repair_slider_btn_color).'; background-color:'.esc_attr($refrigerator_repair_slider_btnbg_color).';';
		$refrigerator_repair_custom_style .=' }';
	}

	$refrigerator_repair_slider_btnhvr_color = get_theme_mod('refrigerator_repair_slider_btnhvr_color');
	$refrigerator_repair_slider_btnhvrbg_color = get_theme_mod('refrigerator_repair_slider_btnhvrbg_color');
	if ( $refrigerator_repair_slider_btnhvr_color != '') {
		$refrigerator_repair_custom_style .='  #slider a.read-btn:hover {';
			$refrigerator_repair_custom_style .=' color:'.esc_attr($refrigerator_repair_slider_btnhvr_color).'; background-color:'.esc_attr($refrigerator_repair_slider_btnhvrbg_color).';';
		$refrigerator_repair_custom_style .=' }';
	}

	$refrigerator_repair_slider_np_color = get_theme_mod('refrigerator_repair_slider_np_color');
	$refrigerator_repair_slider_npbg_color = get_theme_mod('refrigerator_repair_slider_npbg_color');
	if ( $refrigerator_repair_slider_np_color != '') {
		$refrigerator_repair_custom_style .=' #slider .carousel-control-prev-icon i, #slider .carousel-control-next-icon i {';
			$refrigerator_repair_custom_style .=' color:'.esc_attr($refrigerator_repair_slider_np_color).'; background-color:'.esc_attr($refrigerator_repair_slider_npbg_color).';';
		$refrigerator_repair_custom_style .=' }';
	}

	//feature color
	$refrigerator_repair_feature_icon_size = get_theme_mod('refrigerator_repair_feature_icon_size');
	if( $refrigerator_repair_feature_icon_size != ''){
		$refrigerator_repair_custom_style .=' #features-section .features-icon i {';
			$refrigerator_repair_custom_style .=' font-size: '.esc_attr($refrigerator_repair_feature_icon_size).'px;';
		$refrigerator_repair_custom_style .=' }';
	}

	$refrigerator_repair_feature_font_size = get_theme_mod('refrigerator_repair_feature_font_size');
	if( $refrigerator_repair_feature_font_size != ''){
		$refrigerator_repair_custom_style .=' #features-section .features-box h3 {';
			$refrigerator_repair_custom_style .=' font-size: '.esc_attr($refrigerator_repair_feature_font_size).'px;';
		$refrigerator_repair_custom_style .=' }';
	}

	$refrigerator_repair_features_color = get_theme_mod('refrigerator_repair_features_color');
	if ( $refrigerator_repair_features_color != '') {
		$refrigerator_repair_custom_style .=' #features-section .features-box h3 a {';
			$refrigerator_repair_custom_style .=' color:'.esc_attr($refrigerator_repair_features_color).';';
		$refrigerator_repair_custom_style .=' }';
	}

	$refrigerator_repair_features_icon_color = get_theme_mod('refrigerator_repair_features_icon_color');
	if ( $refrigerator_repair_features_icon_color != '') {
		$refrigerator_repair_custom_style .=' #features-section .features-icon i {';
			$refrigerator_repair_custom_style .=' color:'.esc_attr($refrigerator_repair_features_icon_color).';';
		$refrigerator_repair_custom_style .=' }';
	}

	$refrigerator_repair_featuresbg_color = get_theme_mod('refrigerator_repair_featuresbg_color');
	if ( $refrigerator_repair_featuresbg_color != '') {
		$refrigerator_repair_custom_style .=' #features-section .feature-content {';
			$refrigerator_repair_custom_style .=' background-color:'.esc_attr($refrigerator_repair_featuresbg_color).';';
		$refrigerator_repair_custom_style .=' }';
	}

	//service color
	$refrigerator_repair_service_img_size = get_theme_mod('refrigerator_repair_service_img_size');
	if ( $refrigerator_repair_service_img_size != '') {
		$refrigerator_repair_custom_style .=' #service-section .service-box img, .service-box .service-image {';
			$refrigerator_repair_custom_style .=' width:'.esc_attr($refrigerator_repair_service_img_size).'px; width:'.esc_attr($refrigerator_repair_service_img_size).'px;';
		$refrigerator_repair_custom_style .=' }';
	}

	$refrigerator_repair_small_title_font_size = get_theme_mod('refrigerator_repair_small_title_font_size');
	if( $refrigerator_repair_small_title_font_size != ''){
		$refrigerator_repair_custom_style .=' #service-section .service-head .small-title {';
			$refrigerator_repair_custom_style .=' font-size: '.esc_attr($refrigerator_repair_small_title_font_size).'px;';
		$refrigerator_repair_custom_style .=' }';
	}

	$refrigerator_repair_section_title_font_size = get_theme_mod('refrigerator_repair_section_title_font_size');
	if( $refrigerator_repair_section_title_font_size != ''){
		$refrigerator_repair_custom_style .=' #service-section h3 {';
			$refrigerator_repair_custom_style .=' font-size: '.esc_attr($refrigerator_repair_section_title_font_size).'px;';
		$refrigerator_repair_custom_style .=' }';
	}

	$refrigerator_repair_service_title_font_size = get_theme_mod('refrigerator_repair_service_title_font_size');
	if( $refrigerator_repair_service_title_font_size != ''){
		$refrigerator_repair_custom_style .=' .service-box h4 a {';
			$refrigerator_repair_custom_style .=' font-size: '.esc_attr($refrigerator_repair_service_title_font_size).'px;';
		$refrigerator_repair_custom_style .=' }';
	}

	$refrigerator_repair_service_text_font_size = get_theme_mod('refrigerator_repair_service_text_font_size');
	if( $refrigerator_repair_service_text_font_size != ''){
		$refrigerator_repair_custom_style .=' .service-box p {';
			$refrigerator_repair_custom_style .=' font-size: '.esc_attr($refrigerator_repair_service_text_font_size).'px;';
		$refrigerator_repair_custom_style .=' }';
	}

	$refrigerator_repair_service_smalltitle_color = get_theme_mod('refrigerator_repair_service_smalltitle_color');
	if ( $refrigerator_repair_service_smalltitle_color != '') {
		$refrigerator_repair_custom_style .=' #service-section .service-head .small-title {';
			$refrigerator_repair_custom_style .=' color:'.esc_attr($refrigerator_repair_service_smalltitle_color).';';
		$refrigerator_repair_custom_style .=' }';
	}

	$refrigerator_repair_service_title_color = get_theme_mod('refrigerator_repair_service_title_color');
	if ( $refrigerator_repair_service_title_color != '') {
		$refrigerator_repair_custom_style .=' #service-section h3 {';
			$refrigerator_repair_custom_style .=' color:'.esc_attr($refrigerator_repair_service_title_color).';';
		$refrigerator_repair_custom_style .=' }';
	}

	$refrigerator_repair_service_icon_color = get_theme_mod('refrigerator_repair_service_icon_color');
	$refrigerator_repair_service_iconbg_color = get_theme_mod('refrigerator_repair_service_iconbg_color');
	if ( $refrigerator_repair_service_icon_color != '') {
		$refrigerator_repair_custom_style .=' #service-section .service-icon i{';
			$refrigerator_repair_custom_style .=' color:'.esc_attr($refrigerator_repair_service_icon_color).'; background-color:'.esc_attr($refrigerator_repair_service_iconbg_color).'99;';
		$refrigerator_repair_custom_style .=' }';
	}

	$refrigerator_repair_service_overlay_color = get_theme_mod('refrigerator_repair_service_overlay_color');
	if ( $refrigerator_repair_service_overlay_color != '') {
		$refrigerator_repair_custom_style .=' .service-box .service-image:before, .service-box .service-image:after, .service-box .service-image .ovrly:before, .service-box .service-image .ovrly:after {';
			$refrigerator_repair_custom_style .=' background-color:'.esc_attr($refrigerator_repair_service_overlay_color).';';
		$refrigerator_repair_custom_style .=' }';
	}

	//Footer css
	$refrigerator_repair_footer_copy_font_size = get_theme_mod('refrigerator_repair_footer_copy_font_size');
	if( $refrigerator_repair_footer_copy_font_size != ''){
		$refrigerator_repair_custom_style .=' .site-info p, .site-info a {';
			$refrigerator_repair_custom_style .=' font-size: '.esc_attr($refrigerator_repair_footer_copy_font_size).'px;';
		$refrigerator_repair_custom_style .=' }';
	}

	$refrigerator_repair_footer_copy_color = get_theme_mod('refrigerator_repair_footer_copy_color');
	if ( $refrigerator_repair_footer_copy_color != '') {
		$refrigerator_repair_custom_style .=' .site-info p, .site-info a {';
			$refrigerator_repair_custom_style .=' color:'.esc_attr($refrigerator_repair_footer_copy_color).';';
		$refrigerator_repair_custom_style .=' }';
	}

	$refrigerator_repair_footer_copybg_color = get_theme_mod('refrigerator_repair_footer_copybg_color');
	if ( $refrigerator_repair_footer_copybg_color != '') {
		$refrigerator_repair_custom_style .=' .copyright{';
			$refrigerator_repair_custom_style .=' background-color:'.esc_attr($refrigerator_repair_footer_copybg_color).';';
		$refrigerator_repair_custom_style .=' }';
	}

	$refrigerator_repair_footer_widget_color = get_theme_mod('refrigerator_repair_footer_widget_color');
	if ( $refrigerator_repair_footer_widget_color != '') {
		$refrigerator_repair_custom_style .=' .site-footer h2.widget-title {';
			$refrigerator_repair_custom_style .=' color:'.esc_attr($refrigerator_repair_footer_widget_color).';';
		$refrigerator_repair_custom_style .=' }';
	}

	$refrigerator_repair_footer_widget_menu_color = get_theme_mod('refrigerator_repair_footer_widget_menu_color');
	if ( $refrigerator_repair_footer_widget_menu_color != '') {
		$refrigerator_repair_custom_style .=' .widget ul li a, .site-footer .widget-area ul li a, .site-footer .widget-area ul li a {';
			$refrigerator_repair_custom_style .=' color:'.esc_attr($refrigerator_repair_footer_widget_menu_color).';';
		$refrigerator_repair_custom_style .=' }';
	}

	$refrigerator_repair_footerbg_color = get_theme_mod('refrigerator_repair_footerbg_color');
	if ( $refrigerator_repair_footerbg_color != '') {
		$refrigerator_repair_custom_style .=' #colophon {';
			$refrigerator_repair_custom_style .=' background-color:'.esc_attr($refrigerator_repair_footerbg_color).';';
		$refrigerator_repair_custom_style .=' }';
	}