<?php

	$advance_portfolio_custom_css = '';
	
	$advance_portfolio_theme_color_first = get_theme_mod('advance_portfolio_theme_color_first');
	$advance_portfolio_theme_color_second = get_theme_mod('advance_portfolio_theme_color_second');

	/*------------------ Theme Color Option -----------*/
	if ($advance_portfolio_theme_color_first) {
		$advance_portfolio_custom_css .= ':root {';
		$advance_portfolio_custom_css .= '--primary-color: ' . esc_attr($advance_portfolio_theme_color_first) . ' !important;';
		$advance_portfolio_custom_css .= '} ';
	}

	if ($advance_portfolio_theme_color_second) {
		$advance_portfolio_custom_css .= ':root {';
		$advance_portfolio_custom_css .= '--secondary-color: ' . esc_attr($advance_portfolio_theme_color_second) . ' !important;';
		$advance_portfolio_custom_css .= '} ';
	}
	
	// single post image setting
	$advance_portfolio_single_img_border_radius = get_theme_mod('advance_portfolio_single_img_border_radius', 0);
	$advance_portfolio_custom_css .='.page-box-single .feature-box img{';
		$advance_portfolio_custom_css .='border-radius: '.esc_attr($advance_portfolio_single_img_border_radius).'px;';
	$advance_portfolio_custom_css .='}';

	$advance_portfolio_single_img_box_shadow = get_theme_mod('advance_portfolio_single_img_box_shadow',0);
	$advance_portfolio_custom_css .='.page-box-single .feature-box img{';
		$advance_portfolio_custom_css .='box-shadow: '.esc_attr($advance_portfolio_single_img_box_shadow).'px '.esc_attr($advance_portfolio_single_img_box_shadow).'px '.esc_attr($advance_portfolio_single_img_box_shadow).'px #ccc;';
	$advance_portfolio_custom_css .='}';

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

	/*----Comment title text----*/
	$advance_portfolio_title_comment_form = get_theme_mod('
		advance_portfolio_title_comment_form', 'Leave a Reply');
	if($advance_portfolio_title_comment_form == ''){
	$advance_portfolio_custom_css .='#comments h2#reply-title {';
	$advance_portfolio_custom_css .='display: none;';
	$advance_portfolio_custom_css .='}';
	}

	/*----Comment button text----*/
	$advance_portfolio_comment_form_button_content = get_theme_mod('advance_portfolio_comment_form_button_content', 'Post Comment');
	if($advance_portfolio_comment_form_button_content == ''){
	$advance_portfolio_custom_css .='#comments p.form-submit {';
	$advance_portfolio_custom_css .='display: none;';
	$advance_portfolio_custom_css .='}';
	}

	// media
	$advance_portfolio_custom_css .='@media screen and (max-width:1000px) {';
	if($advance_portfolio_theme_color_second != false || $advance_portfolio_theme_color_first != false){
	$advance_portfolio_custom_css .='#menu-sidebar, .primary-navigation ul ul a, .primary-navigation li a:hover, .primary-navigation li:hover a, #contact-info{
	background-image: linear-gradient(-90deg, '.esc_attr($advance_portfolio_theme_color_second).' 0%, '.esc_attr($advance_portfolio_theme_color_first).' 120%);
		} ';
	}
	$advance_portfolio_custom_css .='}';

	/*---------------------------Width Layout -------------------*/
	$advance_portfolio_theme_lay = get_theme_mod( 'advance_portfolio_theme_options','Default');
    if($advance_portfolio_theme_lay == 'Default'){
		$advance_portfolio_custom_css .='body{';
			$advance_portfolio_custom_css .='max-width: 100%;';
		$advance_portfolio_custom_css .='}';
		$advance_portfolio_custom_css .='.page-template-custom-home-page .middle-header{';
			$advance_portfolio_custom_css .='width: 97.3%';
		$advance_portfolio_custom_css .='}';
	}else if($advance_portfolio_theme_lay == 'Container'){
		$advance_portfolio_custom_css .='body{';
			$advance_portfolio_custom_css .='width: 100%;padding-right: 15px;padding-left: 15px;margin-right: auto;margin-left: auto;';
		$advance_portfolio_custom_css .='}';
		$advance_portfolio_custom_css .='.page-template-custom-front-page #header{';
			$advance_portfolio_custom_css .='right:0;';
		$advance_portfolio_custom_css .='}';
		$advance_portfolio_custom_css .='.serach_outer{';
			$advance_portfolio_custom_css .='width: 97.7%;padding-right: 15px;padding-left: 15px;margin-right: auto;margin-left: auto';
		$advance_portfolio_custom_css .='}';
	}else if($advance_portfolio_theme_lay == 'Box Container'){
		$advance_portfolio_custom_css .='body{';
			$advance_portfolio_custom_css .='max-width: 1140px; width: 100%; padding-right: 15px; padding-left: 15px; margin-right: auto; margin-left: auto;';
		$advance_portfolio_custom_css .='}';
		$advance_portfolio_custom_css .='.page-template-custom-front-page #header{';
			$advance_portfolio_custom_css .='right:0;';
		$advance_portfolio_custom_css .='}';
		$advance_portfolio_custom_css .='.serach_outer{';
			$advance_portfolio_custom_css .='max-width: 1140px; width: 100%; padding-right: 15px; padding-left: 15px; margin-right: auto; margin-left: auto; right:0';
		$advance_portfolio_custom_css .='}';
	}

	// css
	$advance_portfolio_show_banner = get_theme_mod( 'advance_portfolio_page_settings', false);
	if($advance_portfolio_show_banner == false){
		$advance_portfolio_custom_css .='.page-template-custom-front-page #header{';
			$advance_portfolio_custom_css .='position:static; background-color: var(--secondary-color);';
		$advance_portfolio_custom_css .='}';
	}

	/*---------------------------Slider Content Layout -------------------*/
	$advance_portfolio_theme_lay = get_theme_mod( 'advance_portfolio_banner_content_alignment','Left');
    if($advance_portfolio_theme_lay == 'Left'){
		$advance_portfolio_custom_css .='.box-content,.box-content h1{';
			$advance_portfolio_custom_css .='text-align:left; left:10%; right:10%;';
		$advance_portfolio_custom_css .='}';
	}else if($advance_portfolio_theme_lay == 'Center'){
		$advance_portfolio_custom_css .='.box-content,.box-content h1{';
			$advance_portfolio_custom_css .='text-align:center; left:20%; right:20%;';
		$advance_portfolio_custom_css .='}';
	}else if($advance_portfolio_theme_lay == 'Right'){
		$advance_portfolio_custom_css .='.box-content,.box-content h1{';
			$advance_portfolio_custom_css .='text-align:right; left:10%; right:10%;';
		$advance_portfolio_custom_css .='}';
	}

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

	/*-------------------------- Button Settings option------------------*/
	$advance_portfolio_button_padding_top_bottom = get_theme_mod('advance_portfolio_button_padding_top_bottom');
	$advance_portfolio_button_padding_left_right = get_theme_mod('advance_portfolio_button_padding_left_right');
	if($advance_portfolio_button_padding_top_bottom != false || $advance_portfolio_button_padding_left_right != false){
		$advance_portfolio_custom_css .=' #comments .form-submit input[type="submit"],.second-border a{';
			$advance_portfolio_custom_css .='padding-top: '.esc_attr($advance_portfolio_button_padding_top_bottom).'px; padding-bottom: '.esc_attr($advance_portfolio_button_padding_top_bottom).'px; padding-left: '.esc_attr($advance_portfolio_button_padding_left_right).'px; padding-right: '.esc_attr($advance_portfolio_button_padding_left_right).'px; display:inline-block;';
		$advance_portfolio_custom_css .='}';
	}

	$advance_portfolio_button_border_radius = get_theme_mod('advance_portfolio_button_border_radius');
	if($advance_portfolio_button_border_radius != false){
		$advance_portfolio_custom_css .='#comments .form-submit input[type="submit"], .second-border a{';
			$advance_portfolio_custom_css .='border-radius: '.esc_attr($advance_portfolio_button_border_radius).'px;';
		$advance_portfolio_custom_css .='}';
	}

	/*-----------------------------Responsive Setting --------------------*/
	$advance_portfolio_stickyheader = get_theme_mod( 'advance_portfolio_responsive_sticky_header',false);
	if($advance_portfolio_stickyheader == true && get_theme_mod( 'advance_portfolio_sticky_header') == false){
    	$advance_portfolio_custom_css .='.fixed-header{';
			$advance_portfolio_custom_css .='position:static;';
		$advance_portfolio_custom_css .='} ';
	}
    if($advance_portfolio_stickyheader == true){
    	$advance_portfolio_custom_css .='@media screen and (max-width:575px) {';
		$advance_portfolio_custom_css .='.fixed-header{';
			$advance_portfolio_custom_css .='position:fixed;';
		$advance_portfolio_custom_css .='} }';
	}else if($advance_portfolio_stickyheader == false){
		$advance_portfolio_custom_css .='@media screen and (max-width:575px) {';
		$advance_portfolio_custom_css .='.fixed-header{';
			$advance_portfolio_custom_css .='position:static;';
		$advance_portfolio_custom_css .='} }';
	}

	$advance_portfolio_slider = get_theme_mod( 'advance_portfolio_responsive_scroll',true);
	if($advance_portfolio_slider == true && get_theme_mod( 'advance_portfolio_enable_disable_scroll', true) == false){
    	$advance_portfolio_custom_css .='#scroll-top{';
			$advance_portfolio_custom_css .='display:none !important;';
		$advance_portfolio_custom_css .='} ';
	}
    if($advance_portfolio_slider == true){
    	$advance_portfolio_custom_css .='@media screen and (max-width:575px) {';
		$advance_portfolio_custom_css .='#scroll-top{';
			$advance_portfolio_custom_css .='visibility: visible !important;';
		$advance_portfolio_custom_css .='} }';
	}else if($advance_portfolio_slider == false){
		$advance_portfolio_custom_css .='@media screen and (max-width:575px) {';
		$advance_portfolio_custom_css .='#scroll-top{';
			$advance_portfolio_custom_css .='visibility: hidden !important;';
		$advance_portfolio_custom_css .='} }';
	}

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

	$advance_portfolio_loader = get_theme_mod( 'advance_portfolio_responsive_preloader', true);
	if($advance_portfolio_loader == true && get_theme_mod( 'advance_portfolio_preloader_option', true) == false){
    	$advance_portfolio_custom_css .='#loader-wrapper{';
			$advance_portfolio_custom_css .='display:none;';
		$advance_portfolio_custom_css .='} ';
	}
    if($advance_portfolio_loader == true){
    	$advance_portfolio_custom_css .='@media screen and (max-width:575px) {';
		$advance_portfolio_custom_css .='#loader-wrapper{';
			$advance_portfolio_custom_css .='display:block;';
		$advance_portfolio_custom_css .='} }';
	}else if($advance_portfolio_loader == false){
		$advance_portfolio_custom_css .='@media screen and (max-width:575px) {';
		$advance_portfolio_custom_css .='#loader-wrapper{';
			$advance_portfolio_custom_css .='display:none;';
		$advance_portfolio_custom_css .='} }';
	}

	/*------------------ Skin Option  -------------------*/
	$advance_portfolio_theme_lay = get_theme_mod( 'advance_portfolio_background_skin_mode','Transparent Background');
    if($advance_portfolio_theme_lay == 'With Background'){
		$advance_portfolio_custom_css .='.page-box, #sidebar .widget,.woocommerce ul.products li.product, .woocommerce-page ul.products li.product,.front-page-content,.background-img-skin,#Portfolio-Section .box-image, .noresult-content{';
			$advance_portfolio_custom_css .='background-color: #fff; padding:10px;';
		$advance_portfolio_custom_css .='}';
	}else if($advance_portfolio_theme_lay == 'Transparent Background'){
		$advance_portfolio_custom_css .='.page-box-single{';
			$advance_portfolio_custom_css .='background-color: transparent;';
		$advance_portfolio_custom_css .='}';
	}

	/*------------ Woocommerce Settings  --------------*/
	$advance_portfolio_top_bottom_product_button_padding = get_theme_mod('advance_portfolio_top_bottom_product_button_padding', 10);
	if($advance_portfolio_top_bottom_product_button_padding != false){
		$advance_portfolio_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 input.button.alt, .woocommerce button.button:disabled, .woocommerce button.button:disabled[disabled], .woocommerce .cart .button, .woocommerce .cart input.button{';
			$advance_portfolio_custom_css .='padding-top: '.esc_attr($advance_portfolio_top_bottom_product_button_padding).'px; padding-bottom: '.esc_attr($advance_portfolio_top_bottom_product_button_padding).'px;';
		$advance_portfolio_custom_css .='}';
	}

	$advance_portfolio_left_right_product_button_padding = get_theme_mod('advance_portfolio_left_right_product_button_padding', 16);
	if($advance_portfolio_left_right_product_button_padding != false){
		$advance_portfolio_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 input.button.alt, .woocommerce button.button:disabled, .woocommerce button.button:disabled[disabled], .woocommerce .cart .button, .woocommerce .cart input.button{';
			$advance_portfolio_custom_css .='padding-left: '.esc_attr($advance_portfolio_left_right_product_button_padding).'px; padding-right: '.esc_attr($advance_portfolio_left_right_product_button_padding).'px;';
		$advance_portfolio_custom_css .='}';
	}

	$advance_portfolio_product_button_border_radius = get_theme_mod('advance_portfolio_product_button_border_radius', 0);
	if($advance_portfolio_product_button_border_radius != false){
		$advance_portfolio_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 input.button.alt, .woocommerce button.button:disabled, .woocommerce button.button:disabled[disabled], .woocommerce .cart .button, .woocommerce .cart input.button{';
			$advance_portfolio_custom_css .='border-radius: '.esc_attr($advance_portfolio_product_button_border_radius).'px;';
		$advance_portfolio_custom_css .='}';
	}

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

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

	$advance_portfolio_top_bottom_wooproducts_padding = get_theme_mod('advance_portfolio_top_bottom_wooproducts_padding',10);
	if($advance_portfolio_top_bottom_wooproducts_padding != false){
		$advance_portfolio_custom_css .='.woocommerce ul.products li.product, .woocommerce-page ul.products li.product{';
			$advance_portfolio_custom_css .='padding-top: '.esc_attr($advance_portfolio_top_bottom_wooproducts_padding).'px !important; padding-bottom: '.esc_attr($advance_portfolio_top_bottom_wooproducts_padding).'px !important;';
		$advance_portfolio_custom_css .='}';
	}

	$advance_portfolio_left_right_wooproducts_padding = get_theme_mod('advance_portfolio_left_right_wooproducts_padding',10);
	if($advance_portfolio_left_right_wooproducts_padding != false){
		$advance_portfolio_custom_css .='.woocommerce ul.products li.product, .woocommerce-page ul.products li.product{';
			$advance_portfolio_custom_css .='padding-left: '.esc_attr($advance_portfolio_left_right_wooproducts_padding).'px !important; padding-right: '.esc_attr($advance_portfolio_left_right_wooproducts_padding).'px !important;';
		$advance_portfolio_custom_css .='}';
	}

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

	$advance_portfolio_wooproducts_box_shadow = get_theme_mod('advance_portfolio_wooproducts_box_shadow',0);
	if($advance_portfolio_wooproducts_box_shadow != false){
		$advance_portfolio_custom_css .='.woocommerce ul.products li.product, .woocommerce-page ul.products li.product{';
			$advance_portfolio_custom_css .='box-shadow: '.esc_attr($advance_portfolio_wooproducts_box_shadow).'px '.esc_attr($advance_portfolio_wooproducts_box_shadow).'px '.esc_attr($advance_portfolio_wooproducts_box_shadow).'px #eee;';
		$advance_portfolio_custom_css .='}';
	}

	/*-------------- Footer Text -------------------*/

	$advance_portfolio_footer_heading = get_theme_mod( 'advance_portfolio_footer_heading','Left');
    if($advance_portfolio_footer_heading == 'Left'){
		$advance_portfolio_custom_css .='#footer h2, #footer .wp-block-search .wp-block-search__label{';
		$advance_portfolio_custom_css .='text-align: left;';
		$advance_portfolio_custom_css .='}';
	}else if($advance_portfolio_footer_heading == 'Center'){
		$advance_portfolio_custom_css .='#footer h2, #footer .wp-block-search .wp-block-search__label{';
			$advance_portfolio_custom_css .='text-align: center;';
		$advance_portfolio_custom_css .='}';
	}else if($advance_portfolio_footer_heading == 'Right'){
		$advance_portfolio_custom_css .='#footer h2, #footer .wp-block-search .wp-block-search__label{';
			$advance_portfolio_custom_css .='text-align: right;';
		$advance_portfolio_custom_css .='}';
	}

	$advance_portfolio_footer_content = get_theme_mod( 'advance_portfolio_footer_content','Left');
    if($advance_portfolio_footer_content == 'Left'){
		$advance_portfolio_custom_css .='#footer .widget{';
		$advance_portfolio_custom_css .='text-align: left;';
		$advance_portfolio_custom_css .='}';
	}else if($advance_portfolio_footer_content == 'Center'){
		$advance_portfolio_custom_css .='#footer .widget{';
			$advance_portfolio_custom_css .='text-align: center;';
		$advance_portfolio_custom_css .='}';
	}else if($advance_portfolio_footer_content == 'Right'){
		$advance_portfolio_custom_css .='#footer .widget{';
			$advance_portfolio_custom_css .='text-align: right;';
		$advance_portfolio_custom_css .='}';
	}

	// Footer Heading Font Size
	$advance_portfolio_footer_font_size = get_theme_mod('advance_portfolio_footer_font_size',24);
	$advance_portfolio_custom_css .='#footer h2{';
		$advance_portfolio_custom_css .='font-size: '.esc_attr($advance_portfolio_footer_font_size).'px;';
	$advance_portfolio_custom_css .='}';

	// Footer heading font weight
	$advance_portfolio_footer_heading_font_weight = get_theme_mod('advance_portfolio_footer_heading_font_weight', '600');
  	$advance_portfolio_custom_css .='#footer h2{';
    $advance_portfolio_custom_css .='font-weight: '.esc_attr($advance_portfolio_footer_heading_font_weight).'!important;';
  	$advance_portfolio_custom_css .='}';

	// Footer Heading Text Transform
	$advance_portfolio_theme_lay = get_theme_mod( 'advance_portfolio_footer_text_tranform','Uppercase');
    if($advance_portfolio_theme_lay == 'Uppercase'){
		$advance_portfolio_custom_css .='#footer h2{';
			$advance_portfolio_custom_css .='text-transform: uppercase;';
		$advance_portfolio_custom_css .='}';
	}else if($advance_portfolio_theme_lay == 'Lowercase'){
		$advance_portfolio_custom_css .='#footer h2{';
			$advance_portfolio_custom_css .='text-transform: lowercase;';
		$advance_portfolio_custom_css .='}';
	}
	else if($advance_portfolio_theme_lay == 'Capitalize'){
		$advance_portfolio_custom_css .='#footer h2{';
			$advance_portfolio_custom_css .='text-transform: capitalize;';
		$advance_portfolio_custom_css .='}';
	}
	
	$advance_portfolio_copyright_content_align = get_theme_mod('advance_portfolio_copyright_content_align');
	if($advance_portfolio_copyright_content_align != false){
		$advance_portfolio_custom_css .='.copyright{';
			$advance_portfolio_custom_css .='text-align: '.esc_attr($advance_portfolio_copyright_content_align).';';
		$advance_portfolio_custom_css .='}';
	}

	// Footer Icon Font Size
	$advance_portfolio_footer_icon_font_size = get_theme_mod('advance_portfolio_footer_icon_font_size');
	$advance_portfolio_custom_css .='.footer-social-icon i{';
		$advance_portfolio_custom_css .='font-size: '.esc_attr($advance_portfolio_footer_icon_font_size).'px;';
	$advance_portfolio_custom_css .='}';

	$advance_portfolio_align_footer_social_icon = get_theme_mod('advance_portfolio_align_footer_social_icon');
	if($advance_portfolio_align_footer_social_icon != false){
		$advance_portfolio_custom_css .='.footer-social-icon{';
			$advance_portfolio_custom_css .='text-align: '.esc_attr($advance_portfolio_align_footer_social_icon).';';
		$advance_portfolio_custom_css .='}';
		$advance_portfolio_custom_css .='
		@media screen and (max-width:575px) {
			.footer-social-icon{';
			$advance_portfolio_custom_css .='text-align: center;} }';
	}

	//footer icon color
	$advance_portfolio_footer_icon_color = get_theme_mod('advance_portfolio_footer_icon_color', '#fff');
	$advance_portfolio_custom_css .='.footer-social-icon i{';
		$advance_portfolio_custom_css .='color: '.esc_attr($advance_portfolio_footer_icon_color).'!important;';
	$advance_portfolio_custom_css .='}';

	$advance_portfolio_footer_content_font_size = get_theme_mod('advance_portfolio_footer_content_font_size', 16);
	if($advance_portfolio_footer_content_font_size != false){
		$advance_portfolio_custom_css .='.copyright p{';
			$advance_portfolio_custom_css .='font-size: '.esc_attr($advance_portfolio_footer_content_font_size).'px !important;';
		$advance_portfolio_custom_css .='}';
	}

	$advance_portfolio_copyright_padding = get_theme_mod('advance_portfolio_copyright_padding', 15);
	$advance_portfolio_custom_css .='.copyright{';
		$advance_portfolio_custom_css .='padding-top: '.esc_attr($advance_portfolio_copyright_padding).'px; padding-bottom: '.esc_attr($advance_portfolio_copyright_padding).'px;';
	$advance_portfolio_custom_css .='}';

	/*------ copyright text color -------*/
	$advance_portfolio_footer_text_color = get_theme_mod('advance_portfolio_footer_text_color');
	if($advance_portfolio_footer_text_color != false){
		$advance_portfolio_custom_css .='.copyright p, .copyright p a{';
			$advance_portfolio_custom_css .='color: '.esc_attr($advance_portfolio_footer_text_color).'!important;';
		$advance_portfolio_custom_css .='}';
	}

	/*------ copyright background css -------*/
	$advance_portfolio_footer_text_bg_color = get_theme_mod('advance_portfolio_footer_text_bg_color');
	if($advance_portfolio_footer_text_bg_color != false){
		$advance_portfolio_custom_css .='.copyright{';
			$advance_portfolio_custom_css .='background-color: '.esc_attr($advance_portfolio_footer_text_bg_color).';';
		$advance_portfolio_custom_css .='}';
	}

	$advance_portfolio_footer_widget_bg_color = get_theme_mod('advance_portfolio_footer_widget_bg_color');
	if($advance_portfolio_footer_widget_bg_color != false){
		$advance_portfolio_custom_css .='#footer{';
			$advance_portfolio_custom_css .='background-color: '.esc_attr($advance_portfolio_footer_widget_bg_color).';';
		$advance_portfolio_custom_css .='}';
	}

	$advance_portfolio_footer_widget_bg_image = get_theme_mod('advance_portfolio_footer_widget_bg_image');
	if($advance_portfolio_footer_widget_bg_image != false){
		$advance_portfolio_custom_css .='#footer{';
			$advance_portfolio_custom_css .='background: url('.esc_attr($advance_portfolio_footer_widget_bg_image).'); background-size: cover;';
		$advance_portfolio_custom_css .='}';
	}

	// scroll to top bg color
	$advance_portfolio_back_to_top_bg_color = get_theme_mod('advance_portfolio_back_to_top_bg_color');
	if($advance_portfolio_back_to_top_bg_color != false){
		$advance_portfolio_custom_css .='#scroll-top{';
			$advance_portfolio_custom_css .='background-color: '.esc_attr($advance_portfolio_back_to_top_bg_color).';';
			$advance_portfolio_custom_css .='border-color: '.esc_attr($advance_portfolio_back_to_top_bg_color).';';
		$advance_portfolio_custom_css .='}';
	}

	// scroll to top bg hover color
	$advance_portfolio_back_to_top_bg_hover_color = get_theme_mod('advance_portfolio_back_to_top_bg_hover_color');
	if($advance_portfolio_back_to_top_bg_hover_color != false){
		$advance_portfolio_custom_css .='#scroll-top:hover{';
			$advance_portfolio_custom_css .='background-color: '.esc_attr($advance_portfolio_back_to_top_bg_hover_color).';';
			$advance_portfolio_custom_css .='border-color: '.esc_attr($advance_portfolio_back_to_top_bg_hover_color).';';
		$advance_portfolio_custom_css .='}';
	}

	// scroll to top
	$advance_portfolio_scroll_font_size_icon = get_theme_mod('advance_portfolio_scroll_font_size_icon', 22);
	if($advance_portfolio_scroll_font_size_icon != false){
		$advance_portfolio_custom_css .='#scroll-top i{';
			$advance_portfolio_custom_css .='font-size: '.esc_attr($advance_portfolio_scroll_font_size_icon).'px;';
		$advance_portfolio_custom_css .='}';
	}

	// Slider Height 
	$advance_portfolio_banner_image_height = get_theme_mod('advance_portfolio_banner_image_height');
	$advance_portfolio_custom_css .='#banner img{';
		$advance_portfolio_custom_css .='height: '.esc_attr($advance_portfolio_banner_image_height).'px;';
	$advance_portfolio_custom_css .='}';

	// button font size
	$advance_portfolio_button_font_size = get_theme_mod('advance_portfolio_button_font_size');
	$advance_portfolio_custom_css .='.page-box .new-text .second-border a{';
		$advance_portfolio_custom_css .='font-size: '.esc_attr($advance_portfolio_button_font_size).'px;';
	$advance_portfolio_custom_css .='}';

	// button letter spacing
	$advance_portfolio_button_letter_spacing = get_theme_mod('advance_portfolio_button_letter_spacing');
	$advance_portfolio_custom_css .='.page-box .new-text .second-border a{';
		$advance_portfolio_custom_css .='letter-spacing: '.esc_attr($advance_portfolio_button_letter_spacing).'px;';
	$advance_portfolio_custom_css .='}';

	// font weight
	$advance_portfolio_btn_font_weight = get_theme_mod('advance_portfolio_btn_font_weight');{
	$advance_portfolio_custom_css .='.page-box .new-text .second-border a{';
	$advance_portfolio_custom_css .='font-weight: '.esc_attr($advance_portfolio_btn_font_weight).';';
	$advance_portfolio_custom_css .='}';
	}

	// Button Text Transform
	$advance_portfolio_theme_lay = get_theme_mod( 'advance_portfolio_button_text_transform','Uppercase');
    if($advance_portfolio_theme_lay == 'Uppercase'){
		$advance_portfolio_custom_css .='.page-box .new-text .second-border a{';
			$advance_portfolio_custom_css .='text-transform: uppercase;';
		$advance_portfolio_custom_css .='}';
	}else if($advance_portfolio_theme_lay == 'Lowercase'){
		$advance_portfolio_custom_css .='.page-box .new-text .second-border a{';
			$advance_portfolio_custom_css .='text-transform: lowercase;';
		$advance_portfolio_custom_css .='}';
	}
	else if($advance_portfolio_theme_lay == 'Capitalize'){
		$advance_portfolio_custom_css .='.page-box .new-text .second-border a{';
			$advance_portfolio_custom_css .='text-transform: capitalize;';
		$advance_portfolio_custom_css .='}';
	}

	// Display Blog Post 
	$advance_portfolio_display_blog_page_post = get_theme_mod( 'advance_portfolio_display_blog_page_post','In Box');
    if($advance_portfolio_display_blog_page_post == 'Without Box'){
		$advance_portfolio_custom_css .='.page-box{';
			$advance_portfolio_custom_css .='border-bottom:1px solid #ebebeb; box-shadow: none;';
		$advance_portfolio_custom_css .='}';
	}

	// Display Grid Post 
	$advance_portfolio_display_page_grid_post = get_theme_mod( 'advance_portfolio_display_page_grid_post','In Box');
    if($advance_portfolio_display_page_grid_post == 'Without Box'){
		$advance_portfolio_custom_css .='.page-box.grid-box{';
			$advance_portfolio_custom_css .='border-bottom:1px solid #ebebeb; box-shadow: none;';
		$advance_portfolio_custom_css .='}';
	}

	// grid post content alignment
	$advance_portfolio_grid_post_alignment = get_theme_mod( 'advance_portfolio_grid_post_alignment','Left');
    if($advance_portfolio_grid_post_alignment == 'Left'){
		$advance_portfolio_custom_css .='.page-box.grid-box .new-text,.page-box.grid-box .box-image{';
		$advance_portfolio_custom_css .='text-align: left!important;';
		$advance_portfolio_custom_css .='}';
	}else if($advance_portfolio_grid_post_alignment == 'Center'){
		$advance_portfolio_custom_css .='.page-box.grid-box .new-text,.page-box.grid-box .box-image{';
			$advance_portfolio_custom_css .='text-align: center!important;';
		$advance_portfolio_custom_css .='}';
		$advance_portfolio_custom_css .='.page-box.grid-box h2:after{';
			$advance_portfolio_custom_css .='margin: 20px auto 0;';
		$advance_portfolio_custom_css .='}';
	}else if($advance_portfolio_grid_post_alignment == 'Right'){
		$advance_portfolio_custom_css .='.page-box.grid-box .new-text,.page-box.grid-box .box-image{';
			$advance_portfolio_custom_css .='text-align: right!important;';
		$advance_portfolio_custom_css .='}';
		$advance_portfolio_custom_css .='.page-box.grid-box .new-text h2{';
			$advance_portfolio_custom_css .='position: relative;';
		$advance_portfolio_custom_css .='}';
		$advance_portfolio_custom_css .='.page-box.grid-box .new-text h2:after{';
			$advance_portfolio_custom_css .='position: absolute; right: 0;';
		$advance_portfolio_custom_css .='}';
	}

	// Blog Post Alignment
	$advance_portfolio_blog_post_alignment = get_theme_mod( 'advance_portfolio_blog_post_alignment','Left');
    if($advance_portfolio_blog_post_alignment == 'Left'){
		$advance_portfolio_custom_css .='.page-box .new-text{';
		$advance_portfolio_custom_css .='text-align: left;';
		$advance_portfolio_custom_css .='}';
	}else if($advance_portfolio_blog_post_alignment == 'Center'){
		$advance_portfolio_custom_css .='.page-box .new-text{';
			$advance_portfolio_custom_css .='text-align: center;';
		$advance_portfolio_custom_css .='}';
		$advance_portfolio_custom_css .='.page-box .new-text h2:after{';
			$advance_portfolio_custom_css .='margin: 20px auto 0;';
		$advance_portfolio_custom_css .='}';
	}else if($advance_portfolio_blog_post_alignment == 'Right'){
		$advance_portfolio_custom_css .='.page-box .new-text{';
			$advance_portfolio_custom_css .='text-align: right;';
		$advance_portfolio_custom_css .='}';
		$advance_portfolio_custom_css .='.page-box .new-text h2{';
			$advance_portfolio_custom_css .='position: relative;';
		$advance_portfolio_custom_css .='}';
		$advance_portfolio_custom_css .='.page-box .new-text h2:after{';
			$advance_portfolio_custom_css .='position: absolute; right: 0; margin-top: 12px;';
		$advance_portfolio_custom_css .='}';
	}

	// Pagination Alignment
	$advance_portfolio_pagination_alignment = get_theme_mod( 'advance_portfolio_pagination_alignment','Left');
    if($advance_portfolio_pagination_alignment == 'Left'){
		$advance_portfolio_custom_css .='.pagination, .nav-links{';
		$advance_portfolio_custom_css .='float: left;';
		$advance_portfolio_custom_css .='}';
	}else if($advance_portfolio_pagination_alignment == 'Center'){
		$advance_portfolio_custom_css .='.pagination, .nav-links{';
			$advance_portfolio_custom_css .='justify-content: center; float: none;';
		$advance_portfolio_custom_css .='}';
	}else if($advance_portfolio_pagination_alignment == 'Right'){
		$advance_portfolio_custom_css .='.pagination, .nav-links{';
			$advance_portfolio_custom_css .='float: right;';
		$advance_portfolio_custom_css .='}';
	}

	// slider overlay
	$advance_portfolio_banner_overlay = get_theme_mod('advance_portfolio_banner_overlay', true);
	if($advance_portfolio_banner_overlay == false){
		$advance_portfolio_custom_css .='#banner img{';
			$advance_portfolio_custom_css .='opacity:1;';
		$advance_portfolio_custom_css .='}';
	} 
	$advance_portfolio_banner_image_overlay_color = get_theme_mod('advance_portfolio_banner_image_overlay_color', true);
	if($advance_portfolio_banner_overlay != false){
		$advance_portfolio_custom_css .='#banner{';
			$advance_portfolio_custom_css .='background-color: '.esc_attr($advance_portfolio_banner_image_overlay_color).';';
		$advance_portfolio_custom_css .='}';
	}

	// site title and tagline font size option
	$advance_portfolio_site_title_size_option = get_theme_mod('advance_portfolio_site_title_size_option', 25);{
	$advance_portfolio_custom_css .='#header .advance-portfolio-logo h1 a, #header .advance-portfolio-logo p a{';
	$advance_portfolio_custom_css .='font-size: '.esc_attr($advance_portfolio_site_title_size_option).'px;';
		$advance_portfolio_custom_css .='}';
	}

	$advance_portfolio_site_tagline_size_option = get_theme_mod('advance_portfolio_site_tagline_size_option', 13);{
	$advance_portfolio_custom_css .='.advance-portfolio-logo p{';
	$advance_portfolio_custom_css .='font-size: '.esc_attr($advance_portfolio_site_tagline_size_option).'px !important;';
		$advance_portfolio_custom_css .='}';
	}

	// woocommerce product sale settings
	$advance_portfolio_border_radius_product_sale = get_theme_mod('advance_portfolio_border_radius_product_sale',50);
	$advance_portfolio_custom_css .='.woocommerce span.onsale {';
		$advance_portfolio_custom_css .='border-radius: '.esc_attr($advance_portfolio_border_radius_product_sale).'%;';
	$advance_portfolio_custom_css .='}';

	$advance_portfolio_align_product_sale = get_theme_mod('advance_portfolio_align_product_sale', 'Right');
	if($advance_portfolio_align_product_sale == 'Right' ){
		$advance_portfolio_custom_css .='.woocommerce ul.products li.product .onsale{';
			$advance_portfolio_custom_css .=' left:auto; right:0;';
		$advance_portfolio_custom_css .='}';
	}elseif($advance_portfolio_align_product_sale == 'Left' ){
		$advance_portfolio_custom_css .='.woocommerce ul.products li.product .onsale{';
			$advance_portfolio_custom_css .=' left:0; right:auto;';
		$advance_portfolio_custom_css .='}';
	}

	$advance_portfolio_product_sale_font_size = get_theme_mod('advance_portfolio_product_sale_font_size',14);
	$advance_portfolio_custom_css .='.woocommerce span.onsale{';
		$advance_portfolio_custom_css .='font-size: '.esc_attr($advance_portfolio_product_sale_font_size).'px;';
	$advance_portfolio_custom_css .='}';

	// product sale padding top /bottom
	$advance_portfolio_sale_padding_top = get_theme_mod('advance_portfolio_sale_padding_top', '');
	$advance_portfolio_custom_css .='.woocommerce ul.products li.product .onsale{';
	$advance_portfolio_custom_css .='padding-top: '.esc_attr($advance_portfolio_sale_padding_top).'px; padding-bottom: '.esc_attr($advance_portfolio_sale_padding_top).'px !important;';
	$advance_portfolio_custom_css .='}';

	// product sale padding left/right
	$advance_portfolio_sale_padding_left = get_theme_mod('advance_portfolio_sale_padding_left', '');
	$advance_portfolio_custom_css .='.woocommerce ul.products li.product .onsale{';
	$advance_portfolio_custom_css .='padding-left: '.esc_attr($advance_portfolio_sale_padding_left).'px; padding-right: '.esc_attr($advance_portfolio_sale_padding_left).'px;';
	$advance_portfolio_custom_css .='}';

	// preloader background image
	$advance_portfolio_preloader_bg_image = get_theme_mod('advance_portfolio_preloader_bg_image');
	if($advance_portfolio_preloader_bg_image != false){
		$advance_portfolio_custom_css .='#loader-wrapper .loader-section, #loader-wrapper{';
			$advance_portfolio_custom_css .='background: url('.esc_attr($advance_portfolio_preloader_bg_image).'); background-size: cover;';
		$advance_portfolio_custom_css .='}';
	}

	// preloader background option 
	$advance_portfolio_loader_background_color_first = get_theme_mod('advance_portfolio_loader_background_color_first');
	$advance_portfolio_custom_css .='#loader-wrapper .loader-section, #loader-wrapper{';
		$advance_portfolio_custom_css .='background-color: '.esc_attr($advance_portfolio_loader_background_color_first).';';
	$advance_portfolio_custom_css .='} ';

	// breadcrumb color
	$advance_portfolio_breadcrumb_color = get_theme_mod('advance_portfolio_breadcrumb_color');
	$advance_portfolio_custom_css .='.bradcrumbs a, .bradcrumbs span{';
	$advance_portfolio_custom_css .='color: '.esc_attr($advance_portfolio_breadcrumb_color).';';
	$advance_portfolio_custom_css .='} ';

	// breadcrumb bg color
	$advance_portfolio_breadcrumb_bg_color = get_theme_mod('advance_portfolio_breadcrumb_bg_color');
	$advance_portfolio_custom_css .='.bradcrumbs a, .bradcrumbs span{';
	$advance_portfolio_custom_css .='background-color: '.esc_attr($advance_portfolio_breadcrumb_bg_color).';';
	$advance_portfolio_custom_css .='} ';

	// fixed header padding option
	$advance_portfolio_sticky_header_padding_settings = get_theme_mod('advance_portfolio_sticky_header_padding_settings');
	$advance_portfolio_custom_css .='.page-template-custom-front-page .fixed-header #header{';
		$advance_portfolio_custom_css .='padding: '.esc_attr($advance_portfolio_sticky_header_padding_settings).'px !important;';
	$advance_portfolio_custom_css .='}';
	$advance_portfolio_custom_css .='.page-template-custom-front-page .fixed-header{';
		$advance_portfolio_custom_css .='padding: 0 !important;';
	$advance_portfolio_custom_css .='}';
	$advance_portfolio_custom_css .='.fixed-header{';
		$advance_portfolio_custom_css .='padding: '.esc_attr($advance_portfolio_sticky_header_padding_settings).'px !important;';
	$advance_portfolio_custom_css .='}';

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

	// featured image setting
	$advance_portfolio_featured_img_border_radius = get_theme_mod('advance_portfolio_featured_img_border_radius', 0);
	$advance_portfolio_custom_css .='.our-services img{';
		$advance_portfolio_custom_css .='border-radius: '.esc_attr($advance_portfolio_featured_img_border_radius).'px;';
	$advance_portfolio_custom_css .='}';

	$advance_portfolio_featured_img_box_shadow = get_theme_mod('advance_portfolio_featured_img_box_shadow',0);
	$advance_portfolio_custom_css .='.our-services img{';
		$advance_portfolio_custom_css .='box-shadow: '.esc_attr($advance_portfolio_featured_img_box_shadow).'px '.esc_attr($advance_portfolio_featured_img_box_shadow).'px '.esc_attr($advance_portfolio_featured_img_box_shadow).'px #ccc;';
	$advance_portfolio_custom_css .='}';

	// featured image dimention
	$advance_portfolio_blog_image_dimension = get_theme_mod('advance_portfolio_blog_image_dimension', 'default');
	$advance_portfolio_feature_image_custom_width = get_theme_mod('advance_portfolio_feature_image_custom_width');
	$advance_portfolio_feature_image_custom_height = get_theme_mod('advance_portfolio_feature_image_custom_height');
	if($advance_portfolio_blog_image_dimension == 'custom'){
		$advance_portfolio_custom_css .='.our-services .page-box img{';
			$advance_portfolio_custom_css .='width: '.esc_attr($advance_portfolio_feature_image_custom_width).'px; height: '.esc_attr($advance_portfolio_feature_image_custom_height).'px;';
		$advance_portfolio_custom_css .='}';
	}

	// Grid Post featured image setting
	$advance_portfolio_img_border_radius_grid_post = get_theme_mod('advance_portfolio_img_border_radius_grid_post', 0);
	$advance_portfolio_custom_css .='.our-services .grid-box img{';
		$advance_portfolio_custom_css .='border-radius: '.esc_attr($advance_portfolio_img_border_radius_grid_post).'px;';
	$advance_portfolio_custom_css .='}';

	//First Cap (Blog Post)
	$advance_portfolio_show_first_caps = get_theme_mod('advance_portfolio_show_first_caps', 'false');
	if($advance_portfolio_show_first_caps == 'true' ){
	$advance_portfolio_custom_css .='.page-box .entry-content p:nth-of-type(1)::first-letter{';
	$advance_portfolio_custom_css .=' font-size: 55px; font-weight: 600;';
	$advance_portfolio_custom_css .=' margin-right: 6px;';
	$advance_portfolio_custom_css .=' line-height: 1;';
	$advance_portfolio_custom_css .='}';
	}elseif($advance_portfolio_show_first_caps == 'false' ){
	$advance_portfolio_custom_css .='.page-box .entry-content p:nth-of-type(1)::first-letter {';
	$advance_portfolio_custom_css .='display: none;';
	$advance_portfolio_custom_css .='}';
	}

	//First Cap (Single Post)
	$advance_portfolio_single_post_first_caps = get_theme_mod('advance_portfolio_single_post_first_caps', 'false');
	if($advance_portfolio_single_post_first_caps == 'true' ){
	$advance_portfolio_custom_css .='.page-box-single .new-text .entry-content p:nth-of-type(1)::first-letter{';
	$advance_portfolio_custom_css .=' font-size: 55px; font-weight: 600;';
	$advance_portfolio_custom_css .=' margin-right: 6px;';
	$advance_portfolio_custom_css .=' line-height: 1;';
	$advance_portfolio_custom_css .='}';
	}elseif($advance_portfolio_single_post_first_caps == 'false' ){
	$advance_portfolio_custom_css .='.page-box-single .new-text .entry-content p:nth-of-type(1)::first-letter {';
	$advance_portfolio_custom_css .='display: none;';
	$advance_portfolio_custom_css .='}';
	}

	// slider top and bottom padding
	$advance_portfolio_top_bottom_banner_content_space = get_theme_mod('advance_portfolio_top_bottom_banner_content_space');
	$advance_portfolio_left_right_banner_content_space = get_theme_mod('advance_portfolio_left_right_banner_content_space');
	$advance_portfolio_custom_css .='#banner .box-content, #banner h1, #banner p, #banner .social-media{';
		$advance_portfolio_custom_css .='top: '.esc_attr($advance_portfolio_top_bottom_banner_content_space).'%; bottom: '.esc_attr($advance_portfolio_top_bottom_banner_content_space).'%;left: '.esc_attr($advance_portfolio_left_right_banner_content_space).'%;right: '.esc_attr($advance_portfolio_left_right_banner_content_space).'%;';
	$advance_portfolio_custom_css .='}';

	/*------------- Navigation Menu Font Size ------------------*/

	// Menu Text Transform
	$advance_portfolio_theme_lay = get_theme_mod( 'advance_portfolio_text_tranform_menu','Uppercase');
    if($advance_portfolio_theme_lay == 'Uppercase'){
		$advance_portfolio_custom_css .='.primary-navigation a{';
			$advance_portfolio_custom_css .='text-transform: uppercase;';
		$advance_portfolio_custom_css .='}';
	}else if($advance_portfolio_theme_lay == 'Lowercase'){
		$advance_portfolio_custom_css .='.primary-navigation a{';
			$advance_portfolio_custom_css .='text-transform: lowercase;';
		$advance_portfolio_custom_css .='}';
	}
	else if($advance_portfolio_theme_lay == 'Capitalize'){
		$advance_portfolio_custom_css .='.primary-navigation a{';
			$advance_portfolio_custom_css .='text-transform: capitalize;';
		$advance_portfolio_custom_css .='}';
	}

	// menu font size
	$advance_portfolio_menu_font_size = get_theme_mod('advance_portfolio_menu_font_size');{
		$advance_portfolio_custom_css .='.primary-navigation a, .primary-navigation ul ul a, .sf-arrows .sf-with-ul:after, #menu-sidebar .primary-navigation a{';
			$advance_portfolio_custom_css .='font-size: '.esc_attr($advance_portfolio_menu_font_size).'px;';
		$advance_portfolio_custom_css .='}';
	}

	// menu padding
	$advance_portfolio_menu_padding = get_theme_mod('advance_portfolio_menu_padding');{
		$advance_portfolio_custom_css .='.primary-navigation ul li, .sf-arrows .sf-with-ul:after{';
			$advance_portfolio_custom_css .='padding: '.esc_attr($advance_portfolio_menu_padding).'px;';
		$advance_portfolio_custom_css .='}';
	}

	// Menu hover effect
	$advance_portfolio_menus_item = get_theme_mod( 'advance_portfolio_menus_item_style','None');
    if($advance_portfolio_menus_item == 'None'){
		$advance_portfolio_custom_css .='.primary-navigation ul a{';
			$advance_portfolio_custom_css .='';
		$advance_portfolio_custom_css .='}';
	}else if($advance_portfolio_menus_item == 'Zoom In'){
		$advance_portfolio_custom_css .='.primary-navigation ul a:hover{';
			$advance_portfolio_custom_css .='transition: all 0.3s ease-in-out !important; transform: scale(1.2) !important;';
		$advance_portfolio_custom_css .='}';
	}
	
	// menu font weight
	$advance_portfolio_menu_weight = get_theme_mod('advance_portfolio_menu_weight');{
		$advance_portfolio_custom_css .='.primary-navigation a, .primary-navigation ul ul a, .sf-arrows .sf-with-ul:after, #menu-sidebar .primary-navigation a{';
			$advance_portfolio_custom_css .='font-weight: '.esc_attr($advance_portfolio_menu_weight).';';
		$advance_portfolio_custom_css .='}';
	}
	
	// Menu Color Option
	$advance_portfolio_menu_color_settings = get_theme_mod('advance_portfolio_menu_color_settings');
	$advance_portfolio_custom_css .='.primary-navigation ul li a{';
		$advance_portfolio_custom_css .='color: '.esc_attr($advance_portfolio_menu_color_settings).';';
	$advance_portfolio_custom_css .='} ';

	// Menu Hover Color Option
	$advance_portfolio_menu_hover_color_settings = get_theme_mod('advance_portfolio_menu_hover_color_settings');
	$advance_portfolio_custom_css .='.primary-navigation ul li a:hover {';
		$advance_portfolio_custom_css .='color: '.esc_attr($advance_portfolio_menu_hover_color_settings).';';
	$advance_portfolio_custom_css .='} ';

	// Submenu Color Option
	$advance_portfolio_submenu_color_settings = get_theme_mod('advance_portfolio_submenu_color_settings');
	$advance_portfolio_custom_css .='.primary-navigation ul.sub-menu li a, .primary-navigation ul.children li a {';
		$advance_portfolio_custom_css .='color: '.esc_attr($advance_portfolio_submenu_color_settings).';';
	$advance_portfolio_custom_css .='} ';

	// Submenu Hover Color Option
	$advance_portfolio_submenu_hover_color_settings = get_theme_mod('advance_portfolio_submenu_hover_color_settings');
	$advance_portfolio_custom_css .='.primary-navigation ul.sub-menu li a:hover, .primary-navigation ul.children li a:hover {';
	$advance_portfolio_custom_css .='color: '.esc_attr($advance_portfolio_submenu_hover_color_settings).';';
	$advance_portfolio_custom_css .='} ';

	// site tagline color
	$advance_portfolio_site_tagline_color = get_theme_mod('advance_portfolio_site_tagline_color');
	$advance_portfolio_custom_css .='.advance-portfolio-logo p {';
		$advance_portfolio_custom_css .='color: '.esc_attr($advance_portfolio_site_tagline_color).' !important;';
	$advance_portfolio_custom_css .='}';

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

	// site top-bottom logo padding 
	$advance_portfolio_logo_padding_top = get_theme_mod('advance_portfolio_logo_padding_top', '');
	$advance_portfolio_custom_css .='.advance-portfolio-logo{';
	$advance_portfolio_custom_css .='padding-top: '.esc_attr($advance_portfolio_logo_padding_top).'px; padding-bottom: '.esc_attr($advance_portfolio_logo_padding_top).'px;';
	$advance_portfolio_custom_css .='}';

	// site left-right logo padding 
	$advance_portfolio_logo_padding_left = get_theme_mod('advance_portfolio_logo_padding_left', '');
	$advance_portfolio_custom_css .='.advance-portfolio-logo{';
	$advance_portfolio_custom_css .='padding-left: '.esc_attr($advance_portfolio_logo_padding_left).'px; padding-right: '.esc_attr($advance_portfolio_logo_padding_left).'px;';
	$advance_portfolio_custom_css .='}';

	// site top-bottom logo margin 
	$advance_portfolio_logo_margin_top = get_theme_mod('advance_portfolio_logo_margin_top', '');
	$advance_portfolio_custom_css .='.advance-portfolio-logo{';
	$advance_portfolio_custom_css .='margin-top: '.esc_attr($advance_portfolio_logo_margin_top).'px !important; margin-bottom: '.esc_attr($advance_portfolio_logo_margin_top).'px !important;';
	$advance_portfolio_custom_css .='}';

	// site left-right logo margin
	$advance_portfolio_logo_margin_left = get_theme_mod('advance_portfolio_logo_margin_left', '');
	$advance_portfolio_custom_css .='.advance-portfolio-logo{';
	$advance_portfolio_custom_css .='margin-left: '.esc_attr($advance_portfolio_logo_margin_left).'px !important; margin-right: '.esc_attr($advance_portfolio_logo_margin_left).'px !important;';
	$advance_portfolio_custom_css .='}';

	// toggle button color 
	$advance_portfolio_taggle_menu_bg_color_settings = get_theme_mod('advance_portfolio_taggle_menu_bg_color_settings', '');
	$advance_portfolio_custom_css .='.toggle-menu i {';
	$advance_portfolio_custom_css .='background-color:'.esc_attr($advance_portfolio_taggle_menu_bg_color_settings).'';
	$advance_portfolio_custom_css .='}';

	// Copyright Sticky 
	$advance_portfolio_resp_stickycopyright = get_theme_mod( 'advance_portfolio_stickycopyright_hide_show',false);
	if($advance_portfolio_resp_stickycopyright == true && get_theme_mod( 'advance_portfolio_copyright_sticky',false) != true){
    	$advance_portfolio_custom_css .='.copyright-sticky{';
			$advance_portfolio_custom_css .='position:static;';
		$advance_portfolio_custom_css .='} ';
	}	




