<?php

$call_center_bpo_custom_css = '';


$call_center_bpo_is_dark_mode_enabled = get_theme_mod( 'call_center_bpo_is_dark_mode_enabled', false );

if ( $call_center_bpo_is_dark_mode_enabled ) {

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

    $call_center_bpo_custom_css .= '#services, footer {';
    $call_center_bpo_custom_css .= 'background: #000 !important;';
    $call_center_bpo_custom_css .= '}';

	$call_center_bpo_custom_css .= '.sticky .post-content,.first-box p a,.social-links a i {';
    $call_center_bpo_custom_css .= 'color: #000';
    $call_center_bpo_custom_css .= '}';

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

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

    $call_center_bpo_custom_css .= '.some {';
    $call_center_bpo_custom_css .= 'background: #fff !important;';
    $call_center_bpo_custom_css .= '}';
	

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

    $call_center_bpo_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{';
    $call_center_bpo_custom_css .= 'color: #fff !important;';
    $call_center_bpo_custom_css .= '}';

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

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

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

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

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

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

		$call_center_bpo_custom_css .='}';


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

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

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

		$call_center_bpo_custom_css .='}';


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

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

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

		$call_center_bpo_custom_css .='}';

	}

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


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

	if($call_center_bpo_related_product_setting == false){

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

			$call_center_bpo_custom_css .='display: none;';

		$call_center_bpo_custom_css .='}';
	}

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

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

	if($call_center_bpo_scroll_top_position == 'Right'){

		$call_center_bpo_custom_css .='.scroll-up{';

			$call_center_bpo_custom_css .='right: 20px;';

		$call_center_bpo_custom_css .='}';

	}else if($call_center_bpo_scroll_top_position == 'Left'){

		$call_center_bpo_custom_css .='.scroll-up{';

			$call_center_bpo_custom_css .='left: 20px;';

		$call_center_bpo_custom_css .='}';

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

		$call_center_bpo_custom_css .='.scroll-up{';

			$call_center_bpo_custom_css .='right: 50%;left: 50%;';

		$call_center_bpo_custom_css .='}';
	}

		/*---------------------------Pagination Settings-------------------*/


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

	if($call_center_bpo_pagination_setting == false){

		$call_center_bpo_custom_css .='.nav-links{';

			$call_center_bpo_custom_css .='display: none;';

		$call_center_bpo_custom_css .='}';
	}

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

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

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

		$call_center_bpo_custom_css .='.blog_box{';

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

		$call_center_bpo_custom_css .='}';


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

		$call_center_bpo_custom_css .='.blog_box{';

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

		$call_center_bpo_custom_css .='}';


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

		$call_center_bpo_custom_css .='.blog_box{';

			$call_center_bpo_custom_css .='text-align:right; right: 15%; left: 55%;';

		$call_center_bpo_custom_css .='}';

	}

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

	$call_center_bpo_text_transform = get_theme_mod( 'menu_text_transform_call_center_bpo','CAPITALISE');
    if($call_center_bpo_text_transform == 'CAPITALISE'){

		$call_center_bpo_custom_css .='.main-navigation ul li a{';

			$call_center_bpo_custom_css .='text-transform: capitalize ; font-size: 14px;';

		$call_center_bpo_custom_css .='}';

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

		$call_center_bpo_custom_css .='.main-navigation ul li a{';

			$call_center_bpo_custom_css .='text-transform: uppercase ; font-size: 14px;';

		$call_center_bpo_custom_css .='}';

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

		$call_center_bpo_custom_css .='.main-navigation ul li a{';

			$call_center_bpo_custom_css .='text-transform: lowercase ; font-size: 14px;';

		$call_center_bpo_custom_css .='}';
	}

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

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

    if($call_center_bpo_menu_zoom == 'None'){

		$call_center_bpo_custom_css .='.main-navigation ul li a{';

			$call_center_bpo_custom_css .='';

		$call_center_bpo_custom_css .='}';

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

		$call_center_bpo_custom_css .='.main-navigation ul li a:hover{';

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

		$call_center_bpo_custom_css .='}';
	}


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

	$call_center_bpo_container_width = get_theme_mod('call_center_bpo_container_width');

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

				$call_center_bpo_custom_css .='width: '.esc_attr($call_center_bpo_container_width).'%; margin: auto;';

			$call_center_bpo_custom_css .='}';

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

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

	if($call_center_bpo_slider_opacity_color == '0'){

		$call_center_bpo_custom_css .='.blog_inner_box img{';

			$call_center_bpo_custom_css .='opacity:0';

		$call_center_bpo_custom_css .='}';

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

		$call_center_bpo_custom_css .='.blog_inner_box img{';

			$call_center_bpo_custom_css .='opacity:0.1';

		$call_center_bpo_custom_css .='}';

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

		$call_center_bpo_custom_css .='.blog_inner_box img{';

			$call_center_bpo_custom_css .='opacity:0.2';

		$call_center_bpo_custom_css .='}';

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

		$call_center_bpo_custom_css .='.blog_inner_box img{';

			$call_center_bpo_custom_css .='opacity:0.3';

		$call_center_bpo_custom_css .='}';

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

		$call_center_bpo_custom_css .='.blog_inner_box img{';

			$call_center_bpo_custom_css .='opacity:0.4';

		$call_center_bpo_custom_css .='}';

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

		$call_center_bpo_custom_css .='.blog_inner_box img{';

			$call_center_bpo_custom_css .='opacity:0.5';

		$call_center_bpo_custom_css .='}';

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

		$call_center_bpo_custom_css .='.blog_inner_box img{';

			$call_center_bpo_custom_css .='opacity:0.6';

		$call_center_bpo_custom_css .='}';

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

		$call_center_bpo_custom_css .='.blog_inner_box img{';

			$call_center_bpo_custom_css .='opacity:0.7';

		$call_center_bpo_custom_css .='}';

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

		$call_center_bpo_custom_css .='.blog_inner_box img{';

			$call_center_bpo_custom_css .='opacity:0.8';

		$call_center_bpo_custom_css .='}';

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

		$call_center_bpo_custom_css .='.blog_inner_box img{';

			$call_center_bpo_custom_css .='opacity:0.9';

		$call_center_bpo_custom_css .='}';

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

		$call_center_bpo_custom_css .='.blog_inner_box img{';

			$call_center_bpo_custom_css .='opacity:unset';

		$call_center_bpo_custom_css .='}';

		}

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

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

	if($call_center_bpo_woocommerce_pagination_position == 'Left'){

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

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

		$call_center_bpo_custom_css .='}';

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

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

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

		$call_center_bpo_custom_css .='}';

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

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

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

		$call_center_bpo_custom_css .='}';
	}

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

$call_center_bpo_first_color = get_theme_mod('call_center_bpo_first_color');
$call_center_bpo_second_color = get_theme_mod('call_center_bpo_second_color');
$call_center_bpo_third_color = get_theme_mod('call_center_bpo_third_color');

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

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

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

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

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

if ($call_center_bpo_third_color) {
  $call_center_bpo_custom_css .= ':root {';
  $call_center_bpo_custom_css .= '--third-color: ' . esc_attr($call_center_bpo_third_color) . ' !important;';
  $call_center_bpo_custom_css .= '} ';
}