<?php 
	$digital_advertising_primary_theme_color = get_theme_mod('digital_advertising_primary_theme_color');
	$digital_advertising_custom_css ='';
	
	/*------------------ Theme Color Option -----------*/

	if ($digital_advertising_primary_theme_color) {
		$digital_advertising_custom_css .= ':root {';
		$digital_advertising_custom_css .= '--primary-color: ' . esc_attr($digital_advertising_primary_theme_color) . ' !important;';
		$digital_advertising_custom_css .= '} ';
	}

	/*----------------Width Layout -------------------*/
	$digital_advertising_theme_lay = get_theme_mod( 'digital_advertising_width_options','Full Layout');
    if($digital_advertising_theme_lay == 'Full Layout'){
		$digital_advertising_custom_css .='body{';
			$digital_advertising_custom_css .='max-width: 100%;';
		$digital_advertising_custom_css .='}';
	}else if($digital_advertising_theme_lay == 'Contained Layout'){
		$digital_advertising_custom_css .='body{';
			$digital_advertising_custom_css .='width: 100%;padding-right: 15px;padding-left: 15px;margin-right: auto;margin-left: auto;';
		$digital_advertising_custom_css .='}';
	}else if($digital_advertising_theme_lay == 'Boxed Layout'){
		$digital_advertising_custom_css .='body{';
			$digital_advertising_custom_css .='max-width: 1140px; width: 100%; padding-right: 15px; padding-left: 15px; margin-right: auto; margin-left: auto;';
		$digital_advertising_custom_css .='}';
	}
	
	// sticky sidebar
	$digital_advertising_sticky_sidebar = get_theme_mod('digital_advertising_sticky_sidebar');
	if ( $digital_advertising_sticky_sidebar ) {
		$digital_advertising_custom_css .= '@media (min-width: 768px) {';
			$digital_advertising_custom_css .= '#sidebar {';
				$digital_advertising_custom_css .= 'position: sticky;';
				$digital_advertising_custom_css .= 'top: 50px; margin-bottom: 30px;';
			$digital_advertising_custom_css .= '}';
		$digital_advertising_custom_css .= '}';
	}

	/*------ Button Style -------*/
	$digital_advertising_top_buttom_padding = get_theme_mod('digital_advertising_top_button_padding');
	$digital_advertising_left_right_padding = get_theme_mod('digital_advertising_left_button_padding');
	if($digital_advertising_top_buttom_padding != false || $digital_advertising_left_right_padding != false ){
		$digital_advertising_custom_css .='.read-btn a.blogbutton-small, #comments input[type="submit"].submit{';
			$digital_advertising_custom_css .='padding-top: '.esc_attr($digital_advertising_top_buttom_padding).'px; padding-bottom: '.esc_attr($digital_advertising_top_buttom_padding).'px; padding-left: '.esc_attr($digital_advertising_left_right_padding).'px; padding-right: '.esc_attr($digital_advertising_left_right_padding).'px;';
		$digital_advertising_custom_css .='}';
	}

	$digital_advertising_button_border_radius = get_theme_mod('digital_advertising_button_border_radius');
	$digital_advertising_custom_css .='.read-btn a.blogbutton-small, #comments input[type="submit"].submit{';
		$digital_advertising_custom_css .='border-radius: '.esc_attr($digital_advertising_button_border_radius).'px!important;';
	$digital_advertising_custom_css .='}';

	$digital_advertising_btn_font_weight = get_theme_mod('digital_advertising_btn_font_weight');{
	$digital_advertising_custom_css .='.read-btn a.blogbutton-small, #comments input[type="submit"].submit{';
	$digital_advertising_custom_css .='font-weight: '.esc_attr($digital_advertising_btn_font_weight).';';
	$digital_advertising_custom_css .='}';
	}  

	$digital_advertising_button_letter_spacing = get_theme_mod('digital_advertising_button_letter_spacing');
	$digital_advertising_custom_css .='.read-btn a.blogbutton-small, #comments input[type="submit"].submit{';
		$digital_advertising_custom_css .='letter-spacing: '.esc_attr($digital_advertising_button_letter_spacing).'px;';
	$digital_advertising_custom_css .='}';	

	//Button Shape
	$digital_advertising_btn_shape = get_theme_mod('digital_advertising_btn_shape', 'Square');
	if($digital_advertising_btn_shape == 'Square' ){
		$digital_advertising_custom_css .='.read-btn a.blogbutton-small, #comments input[type="submit"].submit, .hvr-sweep-to-right:before{';
			$digital_advertising_custom_css .=' border-radius: 0';
		$digital_advertising_custom_css .='}';
	}elseif($digital_advertising_btn_shape == 'Round' ){
		$digital_advertising_custom_css .='.read-btn a.blogbutton-small, #comments input[type="submit"].submit, .hvr-sweep-to-right:before{';
			$digital_advertising_custom_css .=' border-radius: .3em';
		$digital_advertising_custom_css .='}';
	}elseif($digital_advertising_btn_shape == 'Pill' ){
		$digital_advertising_custom_css .='.read-btn a.blogbutton-small, #comments input[type="submit"].submit, .hvr-sweep-to-right:before{';
			$digital_advertising_custom_css .=' border-radius: 2em;';
		$digital_advertising_custom_css .='}';
	}

	//Button hover effect
	$digital_advertising_button_hover_effect = get_theme_mod('digital_advertising_button_hover_effect', 'disable');
	if ($digital_advertising_button_hover_effect !== 'disable') {
		$digital_advertising_custom_css .= '.read-btn a.blogbutton-small:hover {';
		switch ($digital_advertising_button_hover_effect) {
			case 'pulse':
				$digital_advertising_custom_css .= 'animation: pulse 0.5s ease-in-out;';
				break;
			case 'rubberBand':
				$digital_advertising_custom_css .= 'animation: rubberBand 0.5s ease-in-out;';
				break;
			case 'swing':
				$digital_advertising_custom_css .= 'animation: swing 0.5s ease-in-out;';
				break;
			case 'tada':
				$digital_advertising_custom_css .= 'animation: tada 0.5s ease-in-out;';
				break;
			case 'jello':
				$digital_advertising_custom_css .= 'animation: jello 0.5s ease-in-out;';
				break;
		}
		$digital_advertising_custom_css .= '}';
	}

	//keyframes for all animations
	$digital_advertising_custom_css .= '
	@keyframes pulse {
		0% { transform: scale(1); }
		50% { transform: scale(1.1); }
		100% { transform: scale(1); }
	}

	@keyframes rubberBand {
		0% { transform: scale(1); }
		30% { transform: scaleX(1.25) scaleY(0.75); }
		40% { transform: scaleX(0.75) scaleY(1.25); }
		50% { transform: scale(1); }
	}

	@keyframes swing {
		20% { transform: rotate(15deg); }
		40% { transform: rotate(-10deg); }
		60% { transform: rotate(5deg); }
		80% { transform: rotate(-5deg); }
		100% { transform: rotate(0deg); }
	}

	@keyframes tada {
		0% { transform: scale(1); }
		10%, 20% { transform: scale(0.9) rotate(-3deg); }
		30%, 50%, 70%, 90% { transform: scale(1.1) rotate(3deg); }
		40%, 60%, 80% { transform: scale(1.1) rotate(-3deg); }
		100% { transform: scale(1) rotate(0); }
	}

	@keyframes jello {
		0%, 11.1%, 100% { transform: none; }
		22.2% { transform: skewX(-12.5deg) skewY(-12.5deg); }
		33.3% { transform: skewX(6.25deg) skewY(6.25deg); }
		44.4% { transform: skewX(-3.125deg) skewY(-3.125deg); }
		55.5% { transform: skewX(1.5625deg) skewY(1.5625deg); }
		66.6% { transform: skewX(-0.78125deg) skewY(-0.78125deg); }
		77.7% { transform: skewX(0.390625deg) skewY(0.390625deg); }
		88.8% { transform: skewX(-0.1953125deg) skewY(-0.1953125deg); }
	}';

	/*-------------- Woocommerce Button  -------------------*/

	$digital_advertising_woocommerce_button_padding_top = get_theme_mod('digital_advertising_woocommerce_button_padding_top');
	if($digital_advertising_woocommerce_button_padding_top != false){
		$digital_advertising_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, .woocommerce button.button.alt, a.button.wc-forward, .woocommerce .cart .button, .woocommerce .cart input.button{';
			$digital_advertising_custom_css .='padding-top: '.esc_attr($digital_advertising_woocommerce_button_padding_top).'px; padding-bottom: '.esc_attr($digital_advertising_woocommerce_button_padding_top).'px;';
		$digital_advertising_custom_css .='}';
	}

	$digital_advertising_woocommerce_button_padding_right = get_theme_mod('digital_advertising_woocommerce_button_padding_right');
	if($digital_advertising_woocommerce_button_padding_right != false){
		$digital_advertising_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, .woocommerce button.button.alt, a.button.wc-forward, .woocommerce .cart .button, .woocommerce .cart input.button{';
			$digital_advertising_custom_css .='padding-left: '.esc_attr($digital_advertising_woocommerce_button_padding_right).'px; padding-right: '.esc_attr($digital_advertising_woocommerce_button_padding_right).'px;';
		$digital_advertising_custom_css .='}';
	}

	$digital_advertising_woocommerce_button_border_radius = get_theme_mod('digital_advertising_woocommerce_button_border_radius');
	if($digital_advertising_woocommerce_button_border_radius != false){
		$digital_advertising_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, .woocommerce button.button.alt, a.button.wc-forward, .woocommerce .cart .button, .woocommerce .cart input.button{';
			$digital_advertising_custom_css .='border-radius: '.esc_attr($digital_advertising_woocommerce_button_border_radius).'px;';
		$digital_advertising_custom_css .='}';
	}

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

	if($digital_advertising_related_product == false){
		$digital_advertising_custom_css .='.related.products{';
			$digital_advertising_custom_css .='display: none;';
		$digital_advertising_custom_css .='}';
	}

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

	if($digital_advertising_woocommerce_product_border == false){
		$digital_advertising_custom_css .='.woocommerce ul.products li.product, .woocommerce-page ul.products li.product{';
			$digital_advertising_custom_css .='border: none;';
		$digital_advertising_custom_css .='}';
	}

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

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

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

	$digital_advertising_woocommerce_product_box_shadow = get_theme_mod('digital_advertising_woocommerce_product_box_shadow');
	if($digital_advertising_woocommerce_product_box_shadow != false){
		$digital_advertising_custom_css .='.woocommerce ul.products li.product, .woocommerce-page ul.products li.product{';
			$digital_advertising_custom_css .='box-shadow: '.esc_attr($digital_advertising_woocommerce_product_box_shadow).'px '.esc_attr($digital_advertising_woocommerce_product_box_shadow).'px '.esc_attr($digital_advertising_woocommerce_product_box_shadow).'px #aaa;';
		$digital_advertising_custom_css .='}';
	}

	$digital_advertising_product_sale_font_size = get_theme_mod('digital_advertising_product_sale_font_size');
	$digital_advertising_custom_css .='.woocommerce span.onsale {';
		$digital_advertising_custom_css .='font-size: '.esc_attr($digital_advertising_product_sale_font_size).'px;';
	$digital_advertising_custom_css .='}';

	/*---- Preloader Color ----*/
	$digital_advertising_preloader_color = get_theme_mod('digital_advertising_preloader_color');
	$digital_advertising_preloader_bg_color = get_theme_mod('digital_advertising_preloader_bg_color');
	$digital_advertising_preloader_background_img = get_theme_mod('digital_advertising_preloader_background_img');

	if($digital_advertising_preloader_color != false){
		$digital_advertising_custom_css .='.preloader-squares .square, .preloader-chasing-squares .square{';
			$digital_advertising_custom_css .='background-color: '.esc_attr($digital_advertising_preloader_color).';';
		$digital_advertising_custom_css .='}';
	}
	if($digital_advertising_preloader_bg_color != false){
		$digital_advertising_custom_css .='.preloader{';
			$digital_advertising_custom_css .='background-color: '.esc_attr($digital_advertising_preloader_bg_color).';';
		$digital_advertising_custom_css .='}';
	}
	if ( $digital_advertising_preloader_background_img != false ) {
		$digital_advertising_custom_css .= '.preloader{';
		$digital_advertising_custom_css .= 'background: url(' . esc_url( $digital_advertising_preloader_background_img ) . ');';
		$digital_advertising_custom_css .= '-webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover;';
		$digital_advertising_custom_css .= '}';
	}

	// menu color
	$digital_advertising_menu_color = get_theme_mod('digital_advertising_menu_color');

	$digital_advertising_custom_css .='.primary-navigation a,.primary-navigation .current_page_item > a, .primary-navigation .current-menu-item > a, .primary-navigation .current_page_ancestor > a{';
			$digital_advertising_custom_css .='color: '.esc_attr($digital_advertising_menu_color).'!important;';
	$digital_advertising_custom_css .='}';

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

	// Submenu color
	$digital_advertising_submenu_menu_color = get_theme_mod('digital_advertising_submenu_menu_color');
	$digital_advertising_custom_css .='.primary-navigation ul.children a, .primary-navigation ul.children li a{';
			$digital_advertising_custom_css .='color: '.esc_attr($digital_advertising_submenu_menu_color).' !important;';
	$digital_advertising_custom_css .='}';

	// Submenu Hover Color Option
	$digital_advertising_submenu_hover_color = get_theme_mod('digital_advertising_submenu_hover_color');
	$digital_advertising_custom_css .='.primary-navigation ul.children li a:hover {';
	$digital_advertising_custom_css .='color: '.esc_attr($digital_advertising_submenu_hover_color).'!important;';
	$digital_advertising_custom_css .='} ';

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

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

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

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

	// Category color option
	$digital_advertising_category_color = get_theme_mod('digital_advertising_category_color');
	$digital_advertising_custom_css .='.tc-single-category a{';
		$digital_advertising_custom_css .='color: '.esc_attr($digital_advertising_category_color).'!important;';
	$digital_advertising_custom_css .='}';

	// Category bg color option
	$digital_advertising_category_background_color = get_theme_mod('digital_advertising_category_background_color');
	$digital_advertising_custom_css .='.tc-single-category a{';
		$digital_advertising_custom_css .='background-color: '.esc_attr($digital_advertising_category_background_color).'!important;';
	$digital_advertising_custom_css .='}';

	/*---- Copyright css ----*/
	$digital_advertising_copyright_color = get_theme_mod('digital_advertising_copyright_color');
	$digital_advertising_custom_css .='#footer p,#footer p a{';
		$digital_advertising_custom_css .='color: '.esc_attr($digital_advertising_copyright_color).'!important;';
	$digital_advertising_custom_css .='}';

	$digital_advertising_copyright__hover_color = get_theme_mod('digital_advertising_copyright__hover_color');
	$digital_advertising_custom_css .='#footer p:hover,#footer p a:hover{';
		$digital_advertising_custom_css .='color: '.esc_attr($digital_advertising_copyright__hover_color).'!important;';
	$digital_advertising_custom_css .='}';
	
	$digital_advertising_copyright_fontsize = get_theme_mod('digital_advertising_copyright_fontsize',16);
	if($digital_advertising_copyright_fontsize != false){
		$digital_advertising_custom_css .='#footer p{';
			$digital_advertising_custom_css .='font-size: '.esc_attr($digital_advertising_copyright_fontsize).'px; ';
		$digital_advertising_custom_css .='}';
	}

	/*-------- Scrollup icon css -------*/
	$digital_advertising_scroll_icon_font_size = get_theme_mod('digital_advertising_scroll_icon_font_size', 18);
	$digital_advertising_custom_css .='.scrollup{';
		$digital_advertising_custom_css .='font-size: '.esc_attr($digital_advertising_scroll_icon_font_size).'px;';
	$digital_advertising_custom_css .='}';

	$digital_advertising_scroll_icon_color = get_theme_mod('digital_advertising_scroll_icon_color');
	$digital_advertising_custom_css .='.scrollup{';
		$digital_advertising_custom_css .='color: '.esc_attr($digital_advertising_scroll_icon_color).'!important;';
	$digital_advertising_custom_css .='}';

	$digital_advertising_scroll_icon_hover_color = get_theme_mod('digital_advertising_scroll_icon_hover_color');
	$digital_advertising_custom_css .='.scrollup:hover{';
		$digital_advertising_custom_css .='color: '.esc_attr($digital_advertising_scroll_icon_hover_color).'!important;';
	$digital_advertising_custom_css .='}';

	$digital_advertising_scroll_text_transform = get_theme_mod( 'digital_advertising_scroll_text_transform','Capitalize');
	if($digital_advertising_scroll_text_transform== 'Capitalize'){
		$digital_advertising_custom_css .='.scrollup{';
			$digital_advertising_custom_css .='text-transform:Capitalize;';
		$digital_advertising_custom_css .='}';
	}
	if($digital_advertising_scroll_text_transform == 'Lowercase'){
		$digital_advertising_custom_css .='.scrollup{';
			$digital_advertising_custom_css .='text-transform:Lowercase;';
		$digital_advertising_custom_css .='}';
	}
	if($digital_advertising_scroll_text_transform == 'Uppercase'){
		$digital_advertising_custom_css .='.scrollup{';
			$digital_advertising_custom_css .='text-transform:Uppercase;';
		$digital_advertising_custom_css .='}';
	}
	
	/*-------- Copyright background css -------*/
	$digital_advertising_copyright_background_color = get_theme_mod('digital_advertising_copyright_background_color');
	$digital_advertising_custom_css .='#footer{';
		$digital_advertising_custom_css .='background-color: '.esc_attr($digital_advertising_copyright_background_color).';';
	$digital_advertising_custom_css .='}';

	$digital_advertising_copyright_top_bottom_padding = get_theme_mod('digital_advertising_copyright_top_bottom_padding',15);
	if($digital_advertising_copyright_top_bottom_padding != false){
		$digital_advertising_custom_css .='#footer {';
			$digital_advertising_custom_css .='padding-top:'.esc_attr($digital_advertising_copyright_top_bottom_padding).'px; padding-bottom: '.esc_attr($digital_advertising_copyright_top_bottom_padding).'px; ';
		$digital_advertising_custom_css .='}';
	}

	$digital_advertising_copyright_alignment = get_theme_mod( 'digital_advertising_copyright_alignment','Center');
    if($digital_advertising_copyright_alignment == 'Left'){
		$digital_advertising_custom_css .='#footer p{';
			$digital_advertising_custom_css .='text-align:start;';
		$digital_advertising_custom_css .='}';
	}else if($digital_advertising_copyright_alignment == 'Center'){
		$digital_advertising_custom_css .='#footer p{';
			$digital_advertising_custom_css .='text-align:center;';
		$digital_advertising_custom_css .='}';
	}else if($digital_advertising_copyright_alignment == 'Right'){
		$digital_advertising_custom_css .='#footer p{';
			$digital_advertising_custom_css .='text-align:end;';
		$digital_advertising_custom_css .='}';
	}

	//  sticky copyright
	$digital_advertising_resp_stickycopyright = get_theme_mod( 'digital_advertising_stickycopyright_hide_show',false);
	if($digital_advertising_resp_stickycopyright == true && get_theme_mod( 'digital_advertising_copyright_sticky',false) != true){
    	$digital_advertising_custom_css .='.copyright-sticky{';
			$digital_advertising_custom_css .='position:static;';
		$digital_advertising_custom_css .='} ';
	}

	/*------- Wocommerce sale css -----*/
	$digital_advertising_woocommerce_sale_top_padding = get_theme_mod('digital_advertising_woocommerce_sale_top_padding');
	$digital_advertising_woocommerce_sale_left_padding = get_theme_mod('digital_advertising_woocommerce_sale_left_padding');
	$digital_advertising_custom_css .=' .woocommerce span.onsale{';
		$digital_advertising_custom_css .='padding-top: '.esc_attr($digital_advertising_woocommerce_sale_top_padding).'px; padding-bottom: '.esc_attr($digital_advertising_woocommerce_sale_top_padding).'px; padding-left: '.esc_attr($digital_advertising_woocommerce_sale_left_padding).'px; padding-right: '.esc_attr($digital_advertising_woocommerce_sale_left_padding).'px;';
	$digital_advertising_custom_css .='}';

	$digital_advertising_woocommerce_sale_border_radius = get_theme_mod('digital_advertising_woocommerce_sale_border_radius', 0);
	$digital_advertising_custom_css .='.woocommerce span.onsale{';
		$digital_advertising_custom_css .='border-radius: '.esc_attr($digital_advertising_woocommerce_sale_border_radius).'px;';
	$digital_advertising_custom_css .='}';

	$digital_advertising_sale_position = get_theme_mod( 'digital_advertising_sale_position','right');
    if($digital_advertising_sale_position == 'left'){
		$digital_advertising_custom_css .='.woocommerce ul.products li.product .onsale{';
			$digital_advertising_custom_css .='left: -10px; right: auto;';
		$digital_advertising_custom_css .='}';
	}else if($digital_advertising_sale_position == 'right'){
		$digital_advertising_custom_css .='.woocommerce ul.products li.product .onsale{';
			$digital_advertising_custom_css .='left: auto; right: 0;';
		$digital_advertising_custom_css .='}';
	}

	/*-------- footer background css -------*/
	$digital_advertising_footer_background_color = get_theme_mod('digital_advertising_footer_background_color');
	$digital_advertising_custom_css .='.footertown{';
		$digital_advertising_custom_css .='background-color: '.esc_attr($digital_advertising_footer_background_color).';';
	$digital_advertising_custom_css .='}';

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

	$digital_advertising_theme_lay = get_theme_mod( 'digital_advertising_footer_template','digital_advertising-footer-one');
	if($digital_advertising_theme_lay == 'digital_advertising-footer-one'){
		$digital_advertising_custom_css .='.footertown{';
			$digital_advertising_custom_css .='';
		$digital_advertising_custom_css .='}';

	}else if($digital_advertising_theme_lay == 'digital_advertising-footer-two'){
		$digital_advertising_custom_css .='.footertown {';
			$digital_advertising_custom_css .='background-color: #F2E6D9 !important;';
		$digital_advertising_custom_css .='}';
		$digital_advertising_custom_css .='.footertown p,.footertown span,.footertown li a,.footertown #wp-calendar caption,.footertown #wp-calendar td,.footertown #wp-calendar th, .footertown, .footertown h3, .footertown a.rsswidget, .footertown #wp-calendar a, .copyright a, .footertown .custom_details, .footertown ins span, .footertown .tagcloud a, .main-inner-box span.entry-date a, nav.woocommerce-MyAccount-navigation ul li:hover a, .footertown ul li a, .footertown table, .footertown th, .footertown td, .footertown caption, #sidebar caption,.footertown nav.wp-calendar-nav a,.footertown .search-form .search-field, .footertown .widget ul li, .footertown .rssSummary, .footertown cite, .footertown strong {';
			$digital_advertising_custom_css .='color:#000 !important;';
		$digital_advertising_custom_css .='}';
		$digital_advertising_custom_css .='.footertown p{';
			$digital_advertising_custom_css .='color:#000 !important;';
		$digital_advertising_custom_css .='}';
		$digital_advertising_custom_css .='.footertown ul li::before{';
			$digital_advertising_custom_css .='background-color:#000;';
		$digital_advertising_custom_css .='}';
		$digital_advertising_custom_css .='.footertown table, .footertown th, .footertown td,.footertown.search-form .search-field,.footertown .tagcloud a{';
			$digital_advertising_custom_css .='border: 1px solid #000;';
		$digital_advertising_custom_css .='}';

	}else if($digital_advertising_theme_lay == 'digital_advertising-footer-three'){
		$digital_advertising_custom_css .='.footertown {';
			$digital_advertising_custom_css .='background-color: #37474F !important;;';
		$digital_advertising_custom_css .='}';
	}
	else if($digital_advertising_theme_lay == 'digital_advertising-footer-four'){
		$digital_advertising_custom_css .='.footertown {';
			$digital_advertising_custom_css .='background-color: #102A43 !important;;';
		$digital_advertising_custom_css .='}';
		$digital_advertising_custom_css .='.footertown p,.footertown span,.footertown li a,.footertown #wp-calendar caption,.footertown #wp-calendar td,.footertown #wp-calendar th, .footertown, .footertown h3, .footertown a.rsswidget, .footertown #wp-calendar a, .copyright a, .footertown .custom_details, .footertown ins span, .footertown .tagcloud a, .main-inner-box span.entry-date a, nav.woocommerce-MyAccount-navigation ul li:hover a, .footertown ul li a, .footertown table, .footertown th, .footertown td, .footertown caption, #sidebar caption,.footertown nav.wp-calendar-nav a,.footertown .search-form .search-field, , .footertown .widget ul li, .footertown .rssSummary, .footertown cite, .footertown strong{';
			$digital_advertising_custom_css .='color:#000 !important;';
		$digital_advertising_custom_css .='}';
		$digital_advertising_custom_css .='.footertown p{';
			$digital_advertising_custom_css .='color:#fff !important;';
		$digital_advertising_custom_css .='}';
		$digital_advertising_custom_css .='.footertown ul li::before{';
			$digital_advertising_custom_css .='background-color:#000;';
		$digital_advertising_custom_css .='}';
		$digital_advertising_custom_css .='.footertown table, .footertown th, .footertown td,.footertown.search-form .search-field,.footertown .tagcloud a{';
			$digital_advertising_custom_css .='border: 1px solid #000;';
		$digital_advertising_custom_css .='}';
	}

	$digital_advertising_footer_background_img = get_theme_mod('digital_advertising_footer_background_img');
	if($digital_advertising_footer_background_img != false){
		$digital_advertising_custom_css .='.footertown{';
			$digital_advertising_custom_css .='background: url('.esc_attr($digital_advertising_footer_background_img).') no-repeat; background-size: cover; background-attachment: fixed;';
		$digital_advertising_custom_css .='}';
	}


	$digital_advertising_theme_lay = get_theme_mod( 'digital_advertising_img_footer','scroll');
	if($digital_advertising_theme_lay == 'fixed'){
		$digital_advertising_custom_css .='.footertown{';
			$digital_advertising_custom_css .='background-attachment: fixed !important; background-position: center !important;';
		$digital_advertising_custom_css .='}';
	}elseif ($digital_advertising_theme_lay == 'scroll'){
		$digital_advertising_custom_css .='.footertown{';
			$digital_advertising_custom_css .='background-attachment: scroll !important; background-position: center !important;';
		$digital_advertising_custom_css .='}';
	}

	$digital_advertising_footer_img_position = get_theme_mod('digital_advertising_footer_img_position','center center');
	if($digital_advertising_footer_img_position != false){
		$digital_advertising_custom_css .='.footertown{';
			$digital_advertising_custom_css .='background-position: '.esc_attr($digital_advertising_footer_img_position).'!important;';
		$digital_advertising_custom_css .='}';
	}


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

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

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

	// Sticky Header padding
	$digital_advertising_sticky_header_padding = get_theme_mod('digital_advertising_sticky_header_padding');
	$digital_advertising_custom_css .='.fixed-header{';
		$digital_advertising_custom_css .=' padding-top:'.esc_attr($digital_advertising_sticky_header_padding).'px; padding-bottom:'.esc_attr($digital_advertising_sticky_header_padding).'px;';
	$digital_advertising_custom_css .='}';

	// Navigation Font Size 
	$digital_advertising_nav_font_size = get_theme_mod('digital_advertising_nav_font_size');
	if($digital_advertising_nav_font_size != false){
		$digital_advertising_custom_css .='.primary-navigation ul li a{';
			$digital_advertising_custom_css .='font-size: '.esc_attr($digital_advertising_nav_font_size).'px;';
		$digital_advertising_custom_css .='}';
	}

	$digital_advertising_navigation_case = get_theme_mod('digital_advertising_navigation_case', 'capitalize');
	if($digital_advertising_navigation_case == 'uppercase' ){
		$digital_advertising_custom_css .='.primary-navigation ul li a{';
			$digital_advertising_custom_css .=' text-transform: uppercase;';
		$digital_advertising_custom_css .='}';
	}elseif($digital_advertising_navigation_case == 'capitalize' ){
		$digital_advertising_custom_css .='.primary-navigation ul li a{';
			$digital_advertising_custom_css .=' text-transform: capitalize;';
		$digital_advertising_custom_css .='}';
	}
  
    // site title color option
	$digital_advertising_site_title_color_setting = get_theme_mod('digital_advertising_site_title_color_setting');
	$digital_advertising_custom_css .='.logo h1 a, .logo p a{';
		$digital_advertising_custom_css .='color: '.esc_attr($digital_advertising_site_title_color_setting).'!important;';
	$digital_advertising_custom_css .='} ';

	$digital_advertising_tagline_color_setting = get_theme_mod('digital_advertising_tagline_color_setting');
	$digital_advertising_custom_css .=' .logo p.site-description{';
		$digital_advertising_custom_css .='color: '.esc_attr($digital_advertising_tagline_color_setting).'!important;';
	$digital_advertising_custom_css .='} ';

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

	$digital_advertising_site_description_fontsize = get_theme_mod('digital_advertising_site_description_fontsize');
	$digital_advertising_custom_css .='.logo p.site-description{';
		$digital_advertising_custom_css .='font-size: '.esc_attr($digital_advertising_site_description_fontsize).'px;';
	$digital_advertising_custom_css .='}';

	/*----- Featured image css -----*/
	$digital_advertising_featured_image_border_radius = get_theme_mod('digital_advertising_featured_image_border_radius');
	if($digital_advertising_featured_image_border_radius != false){
		$digital_advertising_custom_css .='.inner-service .post-box img{';
			$digital_advertising_custom_css .='border-radius: '.esc_attr($digital_advertising_featured_image_border_radius).'px;';
		$digital_advertising_custom_css .='}';
	}

	$digital_advertising_featured_image_box_shadow = get_theme_mod('digital_advertising_featured_image_box_shadow');
	if($digital_advertising_featured_image_box_shadow != false){
		$digital_advertising_custom_css .='.inner-service .service-image img{';
			$digital_advertising_custom_css .='box-shadow: 8px 8px '.esc_attr($digital_advertising_featured_image_box_shadow).'px #aaa;';
		$digital_advertising_custom_css .='}';
	} 

	// featured image dimention
	$digital_advertising_blog_post_featured_image_dimension = get_theme_mod('digital_advertising_blog_post_featured_image_dimension', 'default');
	$digital_advertising_blog_post_featured_image_custom_width = get_theme_mod('digital_advertising_blog_post_featured_image_custom_width',250);
	$digital_advertising_blog_post_featured_image_custom_height = get_theme_mod('digital_advertising_blog_post_featured_image_custom_height',250);
	if($digital_advertising_blog_post_featured_image_dimension == 'custom'){
		$digital_advertising_custom_css .='.post .services-box .blog-image img{';
			$digital_advertising_custom_css .='width: '.esc_attr($digital_advertising_blog_post_featured_image_custom_width).'!important; height: '.esc_attr($digital_advertising_blog_post_featured_image_custom_height).';';
		$digital_advertising_custom_css .='}';
	}

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

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

	// Single post image dimention
	$digital_advertising_single_post_featured_image_dimension = get_theme_mod('digital_advertising_single_post_featured_image_dimension', 'default');
	$digital_advertising_single_post_featured_image_custom_width = get_theme_mod('digital_advertising_single_post_featured_image_custom_width');
	$digital_advertising_single_post_featured_image_custom_height = get_theme_mod('digital_advertising_single_post_featured_image_custom_height');
	if($digital_advertising_single_post_featured_image_dimension == 'custom'){
		$digital_advertising_custom_css .='.feature-box.single-post-img img{';
			$digital_advertising_custom_css .='width: '.esc_attr($digital_advertising_single_post_featured_image_custom_width).'!important; height: '.esc_attr($digital_advertising_single_post_featured_image_custom_height).';';
		$digital_advertising_custom_css .='}';
	}

	//Grid Post Metabox Seperator
	$digital_advertising_grid_post_metabox_seperator = get_theme_mod('digital_advertising_grid_post_metabox_seperator','|');
	if($digital_advertising_grid_post_metabox_seperator != '' ){
		$digital_advertising_custom_css .='.grid-post-box .metabox .me-2:after{';
			$digital_advertising_custom_css .=' content: "'.esc_attr($digital_advertising_grid_post_metabox_seperator).'"; padding-left:10px;';
		$digital_advertising_custom_css .='}';		
	}

	// Grid Post into blocks
	$digital_advertising_grid_post_blocks = get_theme_mod('digital_advertising_grid_post_blocks', 'Without box');
	if($digital_advertising_grid_post_blocks == 'Within box' ){
		$digital_advertising_custom_css .='.services-box .grid-post-box{';
			$digital_advertising_custom_css .=' border: 1px solid #222;';
		$digital_advertising_custom_css .='}';
	}

	// Grid Post Featured image css
	$digital_advertising_grid_post_featured_image_border_radius = get_theme_mod('digital_advertising_grid_post_featured_image_border_radius');
	if($digital_advertising_grid_post_featured_image_border_radius != false){
		$digital_advertising_custom_css .='.inner-service .grid-post-box img{';
			$digital_advertising_custom_css .='border-radius: '.esc_attr($digital_advertising_grid_post_featured_image_border_radius).'px;';
		$digital_advertising_custom_css .='}';
	}

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

	/*------- Post into blocks ------*/
	$digital_advertising_post_blocks = get_theme_mod('digital_advertising_post_blocks', 'Without box');
	if($digital_advertising_post_blocks == 'Within box' ){
		$digital_advertising_custom_css .='.post-box{';
			$digital_advertising_custom_css .=' border: 1px solid #222;';
		$digital_advertising_custom_css .='}';
	}

	//  ------------ Mobile Media Options ----------
	$digital_advertising_hide_topbar_responsive = get_theme_mod('digital_advertising_hide_topbar_responsive',false);
	if($digital_advertising_hide_topbar_responsive == true && get_theme_mod('digital_advertising_show_topbar',false) == false){
		$digital_advertising_custom_css .='@media screen and (min-width:575px){
			.topbar{';
			$digital_advertising_custom_css .='display:none;';
		$digital_advertising_custom_css .='} }';
	}

	if($digital_advertising_hide_topbar_responsive == false){
		$digital_advertising_custom_css .='@media screen and (max-width:575px){
			.topbar{';
			$digital_advertising_custom_css .='display:none;';
		$digital_advertising_custom_css .='} }';
	}

	$digital_advertising_responsive_sticky_header = get_theme_mod('digital_advertising_responsive_sticky_header',false);
	if($digital_advertising_responsive_sticky_header == true && get_theme_mod('digital_advertising_sticky_header',false) == false){
		$digital_advertising_custom_css .='@media screen and (min-width:575px){
			.fixed-header{';
			$digital_advertising_custom_css .='position:static !important;';
		$digital_advertising_custom_css .='} }';
	}

	if($digital_advertising_responsive_sticky_header == false){
		$digital_advertising_custom_css .='@media screen and (max-width:575px){
			.fixed-header{';
			$digital_advertising_custom_css .='position:static !important;';
		$digital_advertising_custom_css .='} }';
	}

	//Header Social Icon Font size
	$digital_advertising_header_icon_font_size = get_theme_mod('digital_advertising_header_icon_font_size');
	$digital_advertising_custom_css .='#header .social-icon i {';
	$digital_advertising_custom_css .='font-size: '.esc_attr($digital_advertising_header_icon_font_size).'px;';
	$digital_advertising_custom_css .='}';	

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

	// slider button
	if (get_theme_mod('digital_advertising_slider_button_responsive',true) == true && get_theme_mod('digital_advertising_slider_button',true) == false) {
		$digital_advertising_custom_css .='@media screen and (min-width: 575px){
			.read-btn{';
			$digital_advertising_custom_css .=' display: none;';
		$digital_advertising_custom_css .='} }';
	}
	if (get_theme_mod('digital_advertising_slider_button_responsive',true) == false) {
		$digital_advertising_custom_css .='@media screen and (max-width: 575px){
			.read-btn{';
			$digital_advertising_custom_css .=' display: none;';
		$digital_advertising_custom_css .='} }';
		$digital_advertising_custom_css .='@media screen and (max-width: 575px){
			#slider .carousel-caption{';
			$digital_advertising_custom_css .=' padding: 0px;';
		$digital_advertising_custom_css .='} }';
	}

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

	$digital_advertising_responsive_show_back_to_top = get_theme_mod('digital_advertising_responsive_show_back_to_top',true);
	if($digital_advertising_responsive_show_back_to_top == true && get_theme_mod('digital_advertising_show_back_to_top',true) == false){
		$digital_advertising_custom_css .='@media screen and (min-width:575px){
			.scrollup{';
			$digital_advertising_custom_css .='visibility:hidden;';
		$digital_advertising_custom_css .='} }';
	}

	if($digital_advertising_responsive_show_back_to_top == false){
		$digital_advertising_custom_css .='@media screen and (max-width:575px){
			.scrollup{';
			$digital_advertising_custom_css .='visibility:hidden;';
		$digital_advertising_custom_css .='} }';
	}

	$digital_advertising_responsive_preloader_hide = get_theme_mod('digital_advertising_responsive_preloader_hide',false);
	if($digital_advertising_responsive_preloader_hide == true && get_theme_mod('digital_advertising_preloader_hide',false) == false){
		$digital_advertising_custom_css .='@media screen and (min-width:575px){
			.preloader{';
			$digital_advertising_custom_css .='display:none !important;';
		$digital_advertising_custom_css .='} }';
	}

	if($digital_advertising_responsive_preloader_hide == false){
		$digital_advertising_custom_css .='@media screen and (max-width:575px){
			.preloader{';
			$digital_advertising_custom_css .='display:none !important;';
		$digital_advertising_custom_css .='} }';
	}

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

	$digital_advertising_menu_toggle_btn_bg_color = get_theme_mod('digital_advertising_menu_toggle_btn_bg_color');
	if($digital_advertising_menu_toggle_btn_bg_color != false){
		$digital_advertising_custom_css .='.toggle-menu i {';
			$digital_advertising_custom_css .='background: '.esc_attr($digital_advertising_menu_toggle_btn_bg_color).'';
		$digital_advertising_custom_css .='}';
	}		

	// menu font weight
	$digital_advertising_theme_lay = get_theme_mod( 'digital_advertising_font_weight_menu_option','500');
    if($digital_advertising_theme_lay == '100'){
		$digital_advertising_custom_css .='.primary-navigation ul li a{';
			$digital_advertising_custom_css .='font-weight:100;';
		$digital_advertising_custom_css .='}';
	}else if($digital_advertising_theme_lay == '200'){
		$digital_advertising_custom_css .='.primary-navigation ul li a{';
			$digital_advertising_custom_css .='font-weight: 200;';
		$digital_advertising_custom_css .='}';
	}else if($digital_advertising_theme_lay == '300'){
		$digital_advertising_custom_css .='.primary-navigation ul li a{';
			$digital_advertising_custom_css .='font-weight: 300;';
		$digital_advertising_custom_css .='}';
	}else if($digital_advertising_theme_lay == '400'){
		$digital_advertising_custom_css .='.primary-navigation ul li a{';
			$digital_advertising_custom_css .='font-weight: 400;';
		$digital_advertising_custom_css .='}';
	}else if($digital_advertising_theme_lay == '500'){
		$digital_advertising_custom_css .='.primary-navigation ul li a{';
			$digital_advertising_custom_css .='font-weight: 500;';
		$digital_advertising_custom_css .='}';
	}else if($digital_advertising_theme_lay == '600'){
		$digital_advertising_custom_css .='.primary-navigation ul li a{';
			$digital_advertising_custom_css .='font-weight: 600;';
		$digital_advertising_custom_css .='}';
	}else if($digital_advertising_theme_lay == '700'){
		$digital_advertising_custom_css .='.primary-navigation ul li a{';
			$digital_advertising_custom_css .='font-weight: 700;';
		$digital_advertising_custom_css .='}';
	}else if($digital_advertising_theme_lay == '800'){
		$digital_advertising_custom_css .='.primary-navigation ul li a{';
			$digital_advertising_custom_css .='font-weight: 800;';
		$digital_advertising_custom_css .='}';
	}else if($digital_advertising_theme_lay == '900'){
		$digital_advertising_custom_css .='.primary-navigation ul li a{';
			$digital_advertising_custom_css .='font-weight: 900;';
		$digital_advertising_custom_css .='}';
	}

	// menu padding
	$digital_advertising_menu_padding = get_theme_mod('digital_advertising_menu_padding');
	$digital_advertising_custom_css .='.primary-navigation ul li a{';
		$digital_advertising_custom_css .='padding: '.esc_attr($digital_advertising_menu_padding).'px;';
	$digital_advertising_custom_css .='}';

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

	// slider hide css
	$digital_advertising_slider_hide_show = get_theme_mod('digital_advertising_slider_hide_show',false);
	if($digital_advertising_slider_hide_show == false) {
		$digital_advertising_custom_css .='.page-template-custom-frontpage #header{';
			$digital_advertising_custom_css .='position:static; background:var(--primary-color); padding: 45px 0;';
		$digital_advertising_custom_css .='}';
	}

	// Logo padding
	$digital_advertising_logo_padding = get_theme_mod('digital_advertising_logo_padding');
	$digital_advertising_custom_css .='.logo{';
		$digital_advertising_custom_css .=' padding:'.esc_attr($digital_advertising_logo_padding).'px;';
	$digital_advertising_custom_css .='}';

	// Logo margin
	$digital_advertising_logo_margin = get_theme_mod('digital_advertising_logo_margin');
	$digital_advertising_custom_css .='.logo{';
		$digital_advertising_custom_css .=' margin:'.esc_attr($digital_advertising_logo_margin).'px;';
	$digital_advertising_custom_css .='}';

	// menu color option
	$digital_advertising_menu_color_setting = get_theme_mod('digital_advertising_menu_color_setting');
	$digital_advertising_custom_css .='.toggle-menu i{';
		$digital_advertising_custom_css .='color: '.esc_attr($digital_advertising_menu_color_setting).'!important;';
	$digital_advertising_custom_css .='} ';

	// Metabox Seperator
	$digital_advertising_metabox_seperator = get_theme_mod('digital_advertising_metabox_seperator','|');
	if($digital_advertising_metabox_seperator != '' ){
		$digital_advertising_custom_css .='.post-box .metabox .me-2:after{';
			$digital_advertising_custom_css .=' content: "'.esc_attr($digital_advertising_metabox_seperator).'"; padding-left:10px;';
		$digital_advertising_custom_css .='}';		
	}

	// Metabox Seperator
	$digital_advertising_single_post_metabox_seperator = get_theme_mod('digital_advertising_single_post_metabox_seperator','|');
	if($digital_advertising_single_post_metabox_seperator != '' ){
		$digital_advertising_custom_css .='.metabox .px-2:after{';
			$digital_advertising_custom_css .=' content: "'.esc_attr($digital_advertising_single_post_metabox_seperator).'"; padding-left:10px;';
		$digital_advertising_custom_css .='}';		
	}

	// Related post Metabox Seperator
	$digital_advertising_related_post_metabox_seperator = get_theme_mod('digital_advertising_related_post_metabox_seperator','|');
	if($digital_advertising_related_post_metabox_seperator != '' ){
		$digital_advertising_custom_css .='.related-posts .metabox .entry-date:after,.related-posts .metabox .entry-author:after,.related-posts .metabox .entry-comments:after{';
			$digital_advertising_custom_css .=' content: "'.esc_attr($digital_advertising_related_post_metabox_seperator).'"; padding-left:1px;';
			$digital_advertising_custom_css .= 'display: inline; ';
		$digital_advertising_custom_css .='}';		
	}

	$digital_advertising_theme_lay = get_theme_mod( 'digital_advertising_footer_text_transform','Capitalize');
	if($digital_advertising_theme_lay == 'Capitalize'){
		$digital_advertising_custom_css .='.footertown .widget h2, a.rsswidget.rss-widget-title{';
			$digital_advertising_custom_css .='text-transform:Capitalize;';
		$digital_advertising_custom_css .='}';
	}
	if($digital_advertising_theme_lay == 'Lowercase'){
		$digital_advertising_custom_css .='.footertown .widget h2, a.rsswidget.rss-widget-title{';
			$digital_advertising_custom_css .='text-transform:Lowercase;';
		$digital_advertising_custom_css .='}';
	}
	if($digital_advertising_theme_lay == 'Uppercase'){
		$digital_advertising_custom_css .='.footertown .widget h2, a.rsswidget.rss-widget-title{';
			$digital_advertising_custom_css .='text-transform:Uppercase;';
		$digital_advertising_custom_css .='}';
	}

	// widgets heading font size
	$digital_advertising_widgets_heading_fontsize = get_theme_mod('digital_advertising_widgets_heading_fontsize',25);
	if($digital_advertising_widgets_heading_fontsize != false){
		$digital_advertising_custom_css .='.footertown .widget h2{';
			$digital_advertising_custom_css .='font-size: '.esc_attr($digital_advertising_widgets_heading_fontsize).'px; ';
		$digital_advertising_custom_css .='}';
	}

	// widgets heading font weight
	$digital_advertising_widgets_heading_font_weight = get_theme_mod('digital_advertising_widgets_heading_font_weight', '');
  	$digital_advertising_custom_css .='.footertown .widget h2{';
    $digital_advertising_custom_css .='font-weight: '.esc_attr($digital_advertising_widgets_heading_font_weight).';';
  	$digital_advertising_custom_css .='}';

	/*----------- Footer widgets heading letter spacing -----*/
	$digital_advertising_button_footer_heading_letter_spacing = get_theme_mod('digital_advertising_button_footer_heading_letter_spacing');
	$digital_advertising_custom_css .='.footertown .widget h2,a.rsswidget.rss-widget-title{';
		$digital_advertising_custom_css .='letter-spacing: '.esc_attr($digital_advertising_button_footer_heading_letter_spacing).'px;';
	$digital_advertising_custom_css .='}';

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

	$digital_advertising_footer_widgets_content = get_theme_mod( 'digital_advertising_footer_widgets_content','Left');
    if($digital_advertising_footer_widgets_content == 'Left'){
		$digital_advertising_custom_css .='footer .footer-block p,footer ul,.widget_shopping_cart_content p,footer form,div#calendar_wrap,.footertown table,footer.gallery,aside#media_image-2,.tagcloud,footer figure.gallery-item,aside#block-7,.textwidget p,#calendar-2 caption{';
		$digital_advertising_custom_css .='text-align: left;';
		$digital_advertising_custom_css .='}';
	}else if($digital_advertising_footer_widgets_content == 'Center'){
		$digital_advertising_custom_css .='footer .footer-block p,footer ul,.widget_shopping_cart_content p,footer form,div#calendar_wrap,.footertown table,footer .gallery, aside#media_image-2,.tagcloud,footer figure.gallery-item,aside#block-7,.textwidget p,#calendar-2 caption{';
			$digital_advertising_custom_css .='text-align: center;';
		$digital_advertising_custom_css .='}';
	}else if($digital_advertising_footer_widgets_content == 'Right'){
		$digital_advertising_custom_css .='footer .footer-block p,footer ul,.widget_shopping_cart_content p,footer form,div#calendar_wrap,.footertown table,footer .gallery, aside#media_image-2,.tagcloud,footer figure.gallery-item,aside#block-7,.textwidget p,#calendar-2 caption{';
			$digital_advertising_custom_css .='text-align: right !important;';
		$digital_advertising_custom_css .='}';
	}

	$digital_advertising_show_hide_post_categories = get_theme_mod('digital_advertising_show_hide_post_categories',true);
	if($digital_advertising_show_hide_post_categories == false){
		$digital_advertising_custom_css .='.tc-category{';
			$digital_advertising_custom_css .='display: none;';
		$digital_advertising_custom_css .='}';
	}

	//Footer Social Icon Font size
	$digital_advertising_footer_icon_font_size = get_theme_mod('digital_advertising_footer_icon_font_size');
	$digital_advertising_custom_css .='#footer .socialicons i{';
	$digital_advertising_custom_css .='font-size: '.esc_attr($digital_advertising_footer_icon_font_size).'px;';
	$digital_advertising_custom_css .='}';

	//Footer Social Icon Alignment
	$digital_advertising_footer_icon_alignment = get_theme_mod( 'digital_advertising_footer_icon_alignment','Center');
    if($digital_advertising_footer_icon_alignment == 'Left'){
		$digital_advertising_custom_css .='#footer .socialicons{';
			$digital_advertising_custom_css .='text-align:start;';
		$digital_advertising_custom_css .='}';
	}else if($digital_advertising_footer_icon_alignment == 'Center'){
		$digital_advertising_custom_css .='#footer .socialicons{';
			$digital_advertising_custom_css .='text-align:center;';
		$digital_advertising_custom_css .='}';
	}else if($digital_advertising_footer_icon_alignment == 'Right'){
		$digital_advertising_custom_css .='#footer .socialicons{';
			$digital_advertising_custom_css .='text-align:end;';
		$digital_advertising_custom_css .='}';
	}
	/*-------- Blog Post Alignment ------*/
	$digital_advertising_post_alignment = get_theme_mod('digital_advertising_blog_post_alignment', 'left');
	if($digital_advertising_post_alignment == 'center' ){
		$digital_advertising_custom_css .='.services-box,.services-box h2{';
			$digital_advertising_custom_css .=' text-align: '. $digital_advertising_post_alignment .'!important;';
		$digital_advertising_custom_css .='}';
	}elseif($digital_advertising_post_alignment == 'right' ){
		$digital_advertising_custom_css .='.services-box,.services-box h2{';
			$digital_advertising_custom_css .='text-align: '. $digital_advertising_post_alignment .'!important;';
		$digital_advertising_custom_css .='}';
	}

	// Blog Post Button Font Size 
	$digital_advertising_button_font_size = get_theme_mod('digital_advertising_button_font_size');
	if($digital_advertising_button_font_size != false){
		$digital_advertising_custom_css .='.read-btn a.blogbutton-small{';
			$digital_advertising_custom_css .='font-size: '.esc_attr($digital_advertising_button_font_size).'px;';
		$digital_advertising_custom_css .='}';
	}

	$digital_advertising_button_text_transform = get_theme_mod( 'digital_advertising_button_text_transform','Capitalize');
	if($digital_advertising_button_text_transform == 'Capitalize'){
		$digital_advertising_custom_css .='.read-btn a.blogbutton-small{';
			$digital_advertising_custom_css .='text-transform:Capitalize;';
		$digital_advertising_custom_css .='}';
	}
	if($digital_advertising_button_text_transform == 'Lowercase'){
		$digital_advertising_custom_css .='.read-btn a.blogbutton-small{';
			$digital_advertising_custom_css .='text-transform:Lowercase;';
		$digital_advertising_custom_css .='}';
	}
	if($digital_advertising_button_text_transform == 'Uppercase'){
		$digital_advertising_custom_css .='.read-btn a.blogbutton-small{';
			$digital_advertising_custom_css .='text-transform:Uppercase;';
		$digital_advertising_custom_css .='}';
	}

	//Initial Cap
	$digital_advertising_initial_caps_enable = get_theme_mod('digital_advertising_initial_caps_enable', 'false');
	if($digital_advertising_initial_caps_enable == 'true' ){
		$digital_advertising_custom_css .='.post-box p:nth-of-type(1)::first-letter{';
			$digital_advertising_custom_css .=' font-size: 60px!important; font-weight: 800!important;';
		$digital_advertising_custom_css .=' margin-right: 10px!important;';
			$digital_advertising_custom_css .=' font-family: "Vollkorn", serif!important;';
			$digital_advertising_custom_css .=' line-height: 1!important;';
		$digital_advertising_custom_css .='}';
	}elseif($digital_advertising_initial_caps_enable == 'false' ){
		$digital_advertising_custom_css .='.post-box p:nth-of-type(1)::first-letter{';
			$digital_advertising_custom_css .='display: none!important;';
		$digital_advertising_custom_css .='}';
	}

	// Slider Height
	$digital_advertising_slider_img_height      = get_theme_mod('digital_advertising_slider_height');

	// Slider Button label color
	$digital_advertising_slider_btn_color = get_theme_mod('digital_advertising_slider_btn_color');
	$digital_advertising_custom_css .='#slider .read-btn a{';
			$digital_advertising_custom_css .='color: '.esc_attr($digital_advertising_slider_btn_color).' !important;';
	$digital_advertising_custom_css .='}';

	// Slider Button Background Color
	$digital_advertising_slider_btn_bg_color = get_theme_mod('digital_advertising_slider_btn_bg_color');
	if($digital_advertising_slider_btn_bg_color != false){
		$digital_advertising_custom_css .='#slider .read-btn a{';
			$digital_advertising_custom_css .='background-color: '.esc_attr($digital_advertising_slider_btn_bg_color).' !important;';
		$digital_advertising_custom_css .='}';
	}

	// Desktop height
	$digital_advertising_custom_css .= '@media screen and (min-width: 768px) {';
	$digital_advertising_custom_css .= '#slider img {';
	if ( $digital_advertising_slider_img_height ) {
	    $digital_advertising_custom_css .= 'height: ' . esc_attr( $digital_advertising_slider_img_height ) . 'px !important;';
	}
	$digital_advertising_custom_css .= 'width: 100%;';
	$digital_advertising_custom_css .= '}';
	$digital_advertising_custom_css .= '}';