<?php

$construction_services_company_custom_css = '';


// $construction_services_company_is_dark_mode_enabled = get_theme_mod( 'construction_services_company_is_dark_mode_enabled', false );

// if ( $construction_services_company_is_dark_mode_enabled ) {

//     $construction_services_company_custom_css .= 'body,.fixed-header,tr:nth-child(2n+2),.menu-header {';
//     $construction_services_company_custom_css .= 'background: #000;';
//     $construction_services_company_custom_css .= '}';

//     $construction_services_company_custom_css .= '.topheader {';
//     $construction_services_company_custom_css .= 'background: #000 !important;';
//     $construction_services_company_custom_css .= '}';

// 	$construction_services_company_custom_css .= '.services-box p.slider-button a{';
//     $construction_services_company_custom_css .= 'color: #000';
//     $construction_services_company_custom_css .= '}';

// 	$construction_services_company_custom_css .= 'h5.product-text a,#featured-product p.price,.card-header a,.comment-content.card-block p,.post-box.sticky a,.sticky .post-content{';
//     $construction_services_company_custom_css .= 'color: #000 !important';
//     $construction_services_company_custom_css .= '}';

//     $construction_services_company_custom_css .= '.some{';
//     $construction_services_company_custom_css .= 'background: #fff;';
//     $construction_services_company_custom_css .= '}';

//     $construction_services_company_custom_css .= '.services-box p.slider-button a {';
//     $construction_services_company_custom_css .= 'background: #fff !important;';
//     $construction_services_company_custom_css .= '}';
	

//     $construction_services_company_custom_css .= 'body,h1,h2,h3,h4,h5,p,#main-menu ul li a,.woocommerce .woocommerce-ordering select, .woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea,a,.logo span,#our_services h2,.services-box h3{';
//     $construction_services_company_custom_css .= 'color: #fff;';
//     $construction_services_company_custom_css .= '}';

//     $construction_services_company_custom_css .= 'a.wc-block-components-product-name, .wc-block-components-product-name,.wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
// .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
// .wc-block-components-totals-item__label,.wc-block-components-totals-item__value,
// .wc-block-components-product-metadata .wc-block-components-product-metadata__description>p,
// .is-medium table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__total .wc-block-components-formatted-money-amount,
// .wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input,
// .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button,
// .wc-block-components-quantity-selector,table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__quantity .wc-block-cart-item__remove-link,
// .wc-block-components-product-price__value.is-discounted,del.wc-block-components-product-price__regular,h1.woocommerce-products-header__title.page-title,h2.woocommerce-loop-product__title,h1.product_title.entry-title,div#tab-description h2,section.related.products h2,h2.woocommerce-Reviews-title,h2#reply-title,h2.comments-title{';
//     $construction_services_company_custom_css .= 'color: #fff !important;';
//     $construction_services_company_custom_css .= '}';

// 	$construction_services_company_custom_css .= '.post-box{';
//     $construction_services_company_custom_css .= '    border: 1px solid rgb(229 229 229 / 48%)';
//     $construction_services_company_custom_css .= '}';
// }

	/*---------------------------text-transform-------------------*/

	$construction_services_company_text_transform = get_theme_mod( 'menu_text_transform_construction_services_company','CAPITALISE');
    if($construction_services_company_text_transform == 'CAPITALISE'){

		$construction_services_company_custom_css .='#main-menu ul li a{';

			$construction_services_company_custom_css .='text-transform: capitalize ; font-size: 15px;';

		$construction_services_company_custom_css .='}';

	}else if($construction_services_company_text_transform == 'UPPERCASE'){

		$construction_services_company_custom_css .='#main-menu ul li a{';

			$construction_services_company_custom_css .='text-transform: uppercase ; font-size: 15px;';

		$construction_services_company_custom_css .='}';

	}else if($construction_services_company_text_transform == 'LOWERCASE'){

		$construction_services_company_custom_css .='#main-menu ul li a{';

			$construction_services_company_custom_css .='text-transform: lowercase ; font-size: 15px;';

		$construction_services_company_custom_css .='}';
	}

	/*---------------------------menu-zoom-------------------*/

		$construction_services_company_menu_zoom = get_theme_mod( 'construction_services_company_menu_zoom','None');

    if($construction_services_company_menu_zoom == 'None'){

		$construction_services_company_custom_css .='#main-menu ul li a{';

			$construction_services_company_custom_css .='';

		$construction_services_company_custom_css .='}';

	}else if($construction_services_company_menu_zoom == 'Zoominn'){

		$construction_services_company_custom_css .='#main-menu ul li a:hover{';

			$construction_services_company_custom_css .='transition: all 0.3s ease-in-out !important; transform: scale(1.2) !important; color: var(--second-color);';

		$construction_services_company_custom_css .='}';
	}

	/*---------------------------Container Width-------------------*/

$construction_services_company_container_width = get_theme_mod('construction_services_company_container_width');

		$construction_services_company_custom_css .='body, .fixed-header{';

			$construction_services_company_custom_css .='width: '.esc_attr($construction_services_company_container_width).'%; margin: auto';

		$construction_services_company_custom_css .='}';

		/*---------------------------Slider-content-alignment-------------------*/

	$construction_services_company_slider_content_alignment = get_theme_mod( 'construction_services_company_slider_content_alignment','LEFT-ALIGN');

	 if($construction_services_company_slider_content_alignment == 'LEFT-ALIGN'){

			$construction_services_company_custom_css .='.blog_box{';

				$construction_services_company_custom_css .='text-align:left;';

			$construction_services_company_custom_css .='}';


		}else if($construction_services_company_slider_content_alignment == 'CENTER-ALIGN'){

			$construction_services_company_custom_css .='.blog_box{';

				$construction_services_company_custom_css .='text-align:center; left: 0%; right: 0%';

			$construction_services_company_custom_css .='}';


		}else if($construction_services_company_slider_content_alignment == 'RIGHT-ALIGN'){

			$construction_services_company_custom_css .='.blog_box{';

				$construction_services_company_custom_css .='text-align:right; left: 50%; right: 20%';

			$construction_services_company_custom_css .='}';

		}

		/*---------------------------Copyright Text alignment-------------------*/

$construction_services_company_copyright_text_alignment = get_theme_mod( 'construction_services_company_copyright_text_alignment','LEFT-ALIGN');

 if($construction_services_company_copyright_text_alignment == 'LEFT-ALIGN'){

		$construction_services_company_custom_css .='.copy-text p{';

			$construction_services_company_custom_css .='text-align:left;';

		$construction_services_company_custom_css .='}';


	}else if($construction_services_company_copyright_text_alignment == 'CENTER-ALIGN'){

		$construction_services_company_custom_css .='.copy-text p{';

			$construction_services_company_custom_css .='text-align:center;';

		$construction_services_company_custom_css .='}';


	}else if($construction_services_company_copyright_text_alignment == 'RIGHT-ALIGN'){

		$construction_services_company_custom_css .='.copy-text p{';

			$construction_services_company_custom_css .='text-align:right;';

		$construction_services_company_custom_css .='}';

	}

	/*---------------------------related Product Settings-------------------*/

$construction_services_company_related_product_setting = get_theme_mod('construction_services_company_related_product_setting',true);

	if($construction_services_company_related_product_setting == false){

		$construction_services_company_custom_css .='.related.products, .related h2{';

			$construction_services_company_custom_css .='display: none;';

		$construction_services_company_custom_css .='}';
	}

		/*---------------------------Scroll to Top Alignment Settings-------------------*/

		$construction_services_company_scroll_top_position = get_theme_mod( 'construction_services_company_scroll_top_position','Right');

		if($construction_services_company_scroll_top_position == 'Right'){
	
			$construction_services_company_custom_css .='.scroll-up{';
	
				$construction_services_company_custom_css .='right: 20px;';
	
			$construction_services_company_custom_css .='}';
	
		}else if($construction_services_company_scroll_top_position == 'Left'){
	
			$construction_services_company_custom_css .='.scroll-up{';
	
				$construction_services_company_custom_css .='left: 20px;';
	
			$construction_services_company_custom_css .='}';
	
		}else if($construction_services_company_scroll_top_position == 'Center'){
	
			$construction_services_company_custom_css .='.scroll-up{';
	
				$construction_services_company_custom_css .='right: 50%;left: 50%;';
	
			$construction_services_company_custom_css .='}';
		}
	
			/*---------------------------Pagination Settings-------------------*/
	
	
	$construction_services_company_pagination_setting = get_theme_mod('construction_services_company_pagination_setting',true);
	
		if($construction_services_company_pagination_setting == false){
	
			$construction_services_company_custom_css .='.nav-links{';
	
				$construction_services_company_custom_css .='display: none;';
	
			$construction_services_company_custom_css .='}';
		}


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

	$construction_services_company_slider_opacity_color = get_theme_mod( 'construction_services_company_slider_opacity_color','0.5');

	if($construction_services_company_slider_opacity_color == '0'){

		$construction_services_company_custom_css .='.blog_inner_box img{';

			$construction_services_company_custom_css .='opacity:0';

		$construction_services_company_custom_css .='}';

		}else if($construction_services_company_slider_opacity_color == '0.1'){

		$construction_services_company_custom_css .='.blog_inner_box img{';

			$construction_services_company_custom_css .='opacity:0.1';

		$construction_services_company_custom_css .='}';

		}else if($construction_services_company_slider_opacity_color == '0.2'){

		$construction_services_company_custom_css .='.blog_inner_box img{';

			$construction_services_company_custom_css .='opacity:0.2';

		$construction_services_company_custom_css .='}';

		}else if($construction_services_company_slider_opacity_color == '0.3'){

		$construction_services_company_custom_css .='.blog_inner_box img{';

			$construction_services_company_custom_css .='opacity:0.3';

		$construction_services_company_custom_css .='}';

		}else if($construction_services_company_slider_opacity_color == '0.4'){

		$construction_services_company_custom_css .='.blog_inner_box img{';

			$construction_services_company_custom_css .='opacity:0.4';

		$construction_services_company_custom_css .='}';

		}else if($construction_services_company_slider_opacity_color == '0.5'){

		$construction_services_company_custom_css .='.blog_inner_box img{';

			$construction_services_company_custom_css .='opacity:0.5';

		$construction_services_company_custom_css .='}';

		}else if($construction_services_company_slider_opacity_color == '0.6'){

		$construction_services_company_custom_css .='.blog_inner_box img{';

			$construction_services_company_custom_css .='opacity:0.6';

		$construction_services_company_custom_css .='}';

		}else if($construction_services_company_slider_opacity_color == '0.7'){

		$construction_services_company_custom_css .='.blog_inner_box img{';

			$construction_services_company_custom_css .='opacity:0.7';

		$construction_services_company_custom_css .='}';

		}else if($construction_services_company_slider_opacity_color == '0.8'){

		$construction_services_company_custom_css .='.blog_inner_box img{';

			$construction_services_company_custom_css .='opacity:0.8';

		$construction_services_company_custom_css .='}';

		}else if($construction_services_company_slider_opacity_color == '0.9'){

		$construction_services_company_custom_css .='.blog_inner_box img{';

			$construction_services_company_custom_css .='opacity:0.9';

		$construction_services_company_custom_css .='}';

		}else if($construction_services_company_slider_opacity_color == 'unset'){

		$construction_services_company_custom_css .='.blog_inner_box img{';

			$construction_services_company_custom_css .='opacity:unset';

		$construction_services_company_custom_css .='}';

		}

		/*---------------------------woocommerce pagination alignment settings-------------------*/

	$construction_services_company_woocommerce_pagination_position = get_theme_mod( 'construction_services_company_woocommerce_pagination_position','Center');

	if($construction_services_company_woocommerce_pagination_position == 'Left'){

		$construction_services_company_custom_css .='.woocommerce nav.woocommerce-pagination{';

			$construction_services_company_custom_css .='text-align: left;';

		$construction_services_company_custom_css .='}';

	}else if($construction_services_company_woocommerce_pagination_position == 'Center'){

		$construction_services_company_custom_css .='.woocommerce nav.woocommerce-pagination{';

			$construction_services_company_custom_css .='text-align: center;';

		$construction_services_company_custom_css .='}';

	}else if($construction_services_company_woocommerce_pagination_position == 'Right'){

		$construction_services_company_custom_css .='.woocommerce nav.woocommerce-pagination{';

			$construction_services_company_custom_css .='text-align: right;';

		$construction_services_company_custom_css .='}';
	}

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

$construction_services_company_first_color = get_theme_mod('construction_services_company_first_color');
$construction_services_company_second_color = get_theme_mod('construction_services_company_second_color');

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

if ($construction_services_company_first_color) {
  $construction_services_company_custom_css .= ':root {';
  $construction_services_company_custom_css .= '--first-color: ' . esc_attr($construction_services_company_first_color) . ' !important;';
  $construction_services_company_custom_css .= '} ';
}

/*--- Second Global Color ---*/

if ($construction_services_company_second_color) {
  $construction_services_company_custom_css .= ':root {';
  $construction_services_company_custom_css .= '--second-color: ' . esc_attr($construction_services_company_second_color) . ' !important;';
  $construction_services_company_custom_css .= '} ';
}