<?php
	
	$advance_training_academy_custom_css = '';
	
	$advance_training_academy_theme_color_first = get_theme_mod('advance_training_academy_theme_color_first');
	$advance_training_academy_theme_color_second = get_theme_mod('advance_training_academy_theme_color_second');

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

	if ($advance_training_academy_theme_color_second) {
		$advance_training_academy_custom_css .= ':root {';
		$advance_training_academy_custom_css .= '--secondary-color: ' . esc_attr($advance_training_academy_theme_color_second) . ' !important;';
		$advance_training_academy_custom_css .= '} ';
	}

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

	/*------------------ Skin Option  -------------------*/
	$advance_training_academy_theme_lay = get_theme_mod( 'advance_training_academy_background_skin_mode','With Background');
    if($advance_training_academy_theme_lay == 'With Background'){
		$advance_training_academy_custom_css .='.page-box, #sidebar .widget,.woocommerce ul.products li.product, .woocommerce-page ul.products li.product,.front-page-content,.background-img-skin, .noresult-content{';
			$advance_training_academy_custom_css .='background-color: #fff;';
		$advance_training_academy_custom_css .='}';
	}else if($advance_training_academy_theme_lay == 'Transparent Background'){
		$advance_training_academy_custom_css .='.page-box-single, .page-box, #sidebar .widget,.woocommerce ul.products li.product, .woocommerce-page ul.products li.product,.front-page-content,.background-img-skin, .noresult-content{';
			$advance_training_academy_custom_css .='background-color: transparent;';
		$advance_training_academy_custom_css .='}';
	}

	/*------------ Woocommerce Settings  --------------*/
	$advance_training_academy_top_bottom_product_button_padding = get_theme_mod('advance_training_academy_top_bottom_product_button_padding', 10);
	$advance_training_academy_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:disabled, .woocommerce button.button:disabled[disabled], .woocommerce a.added_to_cart.wc-forward{';
		$advance_training_academy_custom_css .='padding-top: '.esc_attr($advance_training_academy_top_bottom_product_button_padding).'px; padding-bottom: '.esc_attr($advance_training_academy_top_bottom_product_button_padding).'px;';
	$advance_training_academy_custom_css .='}';

	$advance_training_academy_left_right_product_button_padding = get_theme_mod('advance_training_academy_left_right_product_button_padding', 16);
	$advance_training_academy_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:disabled, .woocommerce button.button:disabled[disabled], .woocommerce a.added_to_cart.wc-forward{';
		$advance_training_academy_custom_css .='padding-left: '.esc_attr($advance_training_academy_left_right_product_button_padding).'px; padding-right: '.esc_attr($advance_training_academy_left_right_product_button_padding).'px;';
	$advance_training_academy_custom_css .='}';

	$advance_training_academy_product_button_border_radius = get_theme_mod('advance_training_academy_product_button_border_radius', 0);
	$advance_training_academy_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:disabled, .woocommerce button.button:disabled[disabled], .woocommerce a.added_to_cart.wc-forward{';
		$advance_training_academy_custom_css .='border-radius: '.esc_attr($advance_training_academy_product_button_border_radius).'px;';
	$advance_training_academy_custom_css .='}';

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

	$advance_training_academy_show_wooproducts_border = get_theme_mod('advance_training_academy_show_wooproducts_border', false);
	if($advance_training_academy_show_wooproducts_border == true){
		$advance_training_academy_custom_css .='.products li{';
			$advance_training_academy_custom_css .='border: 1px solid #767676;';
		$advance_training_academy_custom_css .='}';
	}

	$advance_training_academy_top_bottom_wooproducts_padding = get_theme_mod('advance_training_academy_top_bottom_wooproducts_padding',0);
	$advance_training_academy_custom_css .='.woocommerce ul.products li.product, .woocommerce-page ul.products li.product{';
		$advance_training_academy_custom_css .='padding-top: '.esc_attr($advance_training_academy_top_bottom_wooproducts_padding).'px !important; padding-bottom: '.esc_attr($advance_training_academy_top_bottom_wooproducts_padding).'px !important;';
	$advance_training_academy_custom_css .='}';

	$advance_training_academy_left_right_wooproducts_padding = get_theme_mod('advance_training_academy_left_right_wooproducts_padding',0);
	$advance_training_academy_custom_css .='.woocommerce ul.products li.product, .woocommerce-page ul.products li.product{';
		$advance_training_academy_custom_css .='padding-left: '.esc_attr($advance_training_academy_left_right_wooproducts_padding).'px !important; padding-right: '.esc_attr($advance_training_academy_left_right_wooproducts_padding).'px !important;';
	$advance_training_academy_custom_css .='}';

	$advance_training_academy_wooproducts_border_radius = get_theme_mod('advance_training_academy_wooproducts_border_radius',0);
	$advance_training_academy_custom_css .='.woocommerce ul.products li.product, .woocommerce-page ul.products li.product{';
		$advance_training_academy_custom_css .='border-radius: '.esc_attr($advance_training_academy_wooproducts_border_radius).'px;';
	$advance_training_academy_custom_css .='}';

	$advance_training_academy_wooproducts_box_shadow = get_theme_mod('advance_training_academy_wooproducts_box_shadow',0);
	$advance_training_academy_custom_css .='.woocommerce ul.products li.product, .woocommerce-page ul.products li.product{';
		$advance_training_academy_custom_css .='box-shadow: '.esc_attr($advance_training_academy_wooproducts_box_shadow).'px '.esc_attr($advance_training_academy_wooproducts_box_shadow).'px '.esc_attr($advance_training_academy_wooproducts_box_shadow).'px #e4e4e4;';
	$advance_training_academy_custom_css .='}';

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

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

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

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

	//footer icon color
	$advance_training_academy_footer_icon_color = get_theme_mod('advance_training_academy_footer_icon_color', '#fff');
	$advance_training_academy_custom_css .='.footer-social-icon a{';
		$advance_training_academy_custom_css .='color: '.esc_attr($advance_training_academy_footer_icon_color).'!important;';
	$advance_training_academy_custom_css .='}';

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

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

	// Footer Heading Text Transform
	$advance_training_academy_theme_lay = get_theme_mod( 'advance_training_academy_footer_text_tranform','Capitalize');
    if($advance_training_academy_theme_lay == 'Uppercase'){
		$advance_training_academy_custom_css .='#footer h2{';
			$advance_training_academy_custom_css .='text-transform: uppercase;';
		$advance_training_academy_custom_css .='}';
	}else if($advance_training_academy_theme_lay == 'Lowercase'){
		$advance_training_academy_custom_css .='#footer h2{';
			$advance_training_academy_custom_css .='text-transform: lowercase;';
		$advance_training_academy_custom_css .='}';
	}
	else if($advance_training_academy_theme_lay == 'Capitalize'){
		$advance_training_academy_custom_css .='#footer h2{';
			$advance_training_academy_custom_css .='text-transform: capitalize;';
		$advance_training_academy_custom_css .='}';
	}

	$advance_training_academy_copyright_content_align = get_theme_mod('advance_training_academy_copyright_content_align');
	if($advance_training_academy_copyright_content_align != false){
		$advance_training_academy_custom_css .='.copyright{';
			$advance_training_academy_custom_css .='text-align: '.esc_attr($advance_training_academy_copyright_content_align).'!important;';
		$advance_training_academy_custom_css .='}';
		$advance_training_academy_custom_css .='
		@media screen and (max-width:575px) {
			.copyright{';
			$advance_training_academy_custom_css .='text-align: center !important;} }';
	}

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

	$advance_training_academy_footer_content_font_size = get_theme_mod('advance_training_academy_footer_content_font_size', 16);
	$advance_training_academy_custom_css .='.copyright p{';
		$advance_training_academy_custom_css .='font-size: '.esc_attr($advance_training_academy_footer_content_font_size).'px;';
	$advance_training_academy_custom_css .='}';

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

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

	$advance_training_academy_footer_widget_bg_color = get_theme_mod('advance_training_academy_footer_widget_bg_color');
	$advance_training_academy_custom_css .='.main-footer .footer-overlay{';
		$advance_training_academy_custom_css .='background-color: '.esc_attr($advance_training_academy_footer_widget_bg_color).';';
	$advance_training_academy_custom_css .='}';

	$advance_training_academy_footer_widget_bg_image = get_theme_mod('advance_training_academy_footer_widget_bg_image');
	if($advance_training_academy_footer_widget_bg_image != false){
		$advance_training_academy_custom_css .='.main-footer{';
			$advance_training_academy_custom_css .='background: url('.esc_attr($advance_training_academy_footer_widget_bg_image).'); background-size: cover;';
		$advance_training_academy_custom_css .='}';
	}

	// scroll to top bg color
	$advance_training_academy_back_to_top_bg_color = get_theme_mod('advance_training_academy_back_to_top_bg_color');
	$advance_training_academy_custom_css .='#scroll-top{';
		$advance_training_academy_custom_css .='background-color: '.esc_attr($advance_training_academy_back_to_top_bg_color).';';
		$advance_training_academy_custom_css .='border-color: '.esc_attr($advance_training_academy_back_to_top_bg_color).';';
	$advance_training_academy_custom_css .='}';

	// scroll to top bg hover color
	$advance_training_academy_back_to_top_bg_hover_color = get_theme_mod('advance_training_academy_back_to_top_bg_hover_color');
	$advance_training_academy_custom_css .='#scroll-top:hover{';
		$advance_training_academy_custom_css .='background-color: '.esc_attr($advance_training_academy_back_to_top_bg_hover_color).';';
		$advance_training_academy_custom_css .='border-color: '.esc_attr($advance_training_academy_back_to_top_bg_hover_color).';';
	$advance_training_academy_custom_css .='}';

	// scroll to top
	$advance_training_academy_scroll_font_size_icon = get_theme_mod('advance_training_academy_scroll_font_size_icon', 22);
	$advance_training_academy_custom_css .='#scroll-top i{';
		$advance_training_academy_custom_css .='font-size: '.esc_attr($advance_training_academy_scroll_font_size_icon).'px;';
	$advance_training_academy_custom_css .='}';

	// site title and tagline font size option
	$advance_training_academy_site_title_size_option = get_theme_mod('advance_training_academy_site_title_size_option', 30);{
	$advance_training_academy_custom_css .='.logo h1 a, .logo p a{';
	$advance_training_academy_custom_css .='font-size: '.esc_attr($advance_training_academy_site_title_size_option).'px;';
		$advance_training_academy_custom_css .='}';
	}

	$advance_training_academy_site_tagline_size_option = get_theme_mod('advance_training_academy_site_tagline_size_option', 13);{
	$advance_training_academy_custom_css .='.logo p{';
	$advance_training_academy_custom_css .='font-size: '.esc_attr($advance_training_academy_site_tagline_size_option).'px !important;';
		$advance_training_academy_custom_css .='}';
	}

	// woocommerce product sale settings
	$advance_training_academy_border_radius_product_sale = get_theme_mod('advance_training_academy_border_radius_product_sale',0);
	$advance_training_academy_custom_css .='.woocommerce span.onsale {';
		$advance_training_academy_custom_css .='border-radius: '.esc_attr($advance_training_academy_border_radius_product_sale).'px;';
	$advance_training_academy_custom_css .='}';

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

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

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

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

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

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

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

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

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

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

	// featured image dimention
	$advance_training_academy_blog_image_dimension = get_theme_mod('advance_training_academy_blog_image_dimension', 'default');
	$advance_training_academy_feature_image_custom_width = get_theme_mod('advance_training_academy_feature_image_custom_width');
	$advance_training_academy_feature_image_custom_height = get_theme_mod('advance_training_academy_feature_image_custom_height');
	if($advance_training_academy_blog_image_dimension == 'custom'){
		$advance_training_academy_custom_css .='.our-services .page-box img{';
			$advance_training_academy_custom_css .='width: '.esc_attr($advance_training_academy_feature_image_custom_width).'px; height: '.esc_attr($advance_training_academy_feature_image_custom_height).'px;';
			$advance_training_academy_custom_css .= '}'; 
		$advance_training_academy_custom_css .= '.page-box .box-img{';
    		$advance_training_academy_custom_css .= 'background: transparent;';
		$advance_training_academy_custom_css .='}';
	}

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

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

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

	// Blog Post Category
	$advance_training_academy_show_blog_post_category = get_theme_mod( 'advance_training_academy_show_post_category', true);
	if($advance_training_academy_show_blog_post_category == false){
		$advance_training_academy_custom_css .='.page-box .box-img img{';
			$advance_training_academy_custom_css .='margin-bottom: 0;';
		$advance_training_academy_custom_css .='}';
	}

	// grid post content alignment
	$advance_training_academy_grid_post_alignment = get_theme_mod( 'advance_training_academy_grid_post_alignment','left');
    if($advance_training_academy_grid_post_alignment == 'Left'){
		$advance_training_academy_custom_css .='.grid-post .new-text{';
		$advance_training_academy_custom_css .='text-align:left!important;';
		$advance_training_academy_custom_css .='}';
		$advance_training_academy_custom_css .='.grid-post .post-btn{';
		$advance_training_academy_custom_css .='justify-content:left!important;';
		$advance_training_academy_custom_css .='}';
	}else if($advance_training_academy_grid_post_alignment == 'Center'){
		$advance_training_academy_custom_css .='.grid-post .new-text,.post-btn{';
			$advance_training_academy_custom_css .='text-align:center!important;';
		$advance_training_academy_custom_css .='}';
		$advance_training_academy_custom_css .='.grid-post .post-btn{';
		$advance_training_academy_custom_css .='justify-content:center!important;';
		$advance_training_academy_custom_css .='}';
	}else if($advance_training_academy_grid_post_alignment == 'Right'){
		$advance_training_academy_custom_css .='.grid-post .new-text,.post-btn{';
			$advance_training_academy_custom_css .='text-align:right!important;';
		$advance_training_academy_custom_css .='}';
		$advance_training_academy_custom_css .='.grid-post .post-btn{';
		$advance_training_academy_custom_css .='justify-content:right!important;';
		$advance_training_academy_custom_css .='}';
	}

	// Blog Post alignment
	$advance_training_academy_blog_post_alignment = get_theme_mod( 'advance_training_academy_blog_post_alignment','Left');
    if($advance_training_academy_blog_post_alignment == 'Left'){
		$advance_training_academy_custom_css .='.page-box .new-text, .page-box .post-btn, .page-box .post-categories{';
		$advance_training_academy_custom_css .='text-align: left; justify-content: left;';
		$advance_training_academy_custom_css .='}';
	}else if($advance_training_academy_blog_post_alignment == 'Center'){
		$advance_training_academy_custom_css .='.page-box .new-text, .page-box .post-btn, .page-box .post-categories{';
			$advance_training_academy_custom_css .='text-align: center; justify-content: center;';
		$advance_training_academy_custom_css .='}';
	}else if($advance_training_academy_blog_post_alignment == 'Right'){
		$advance_training_academy_custom_css .='.page-box .new-text, .page-box .post-btn, .page-box .post-categories{';
			$advance_training_academy_custom_css .='text-align: right; justify-content: right;';
		$advance_training_academy_custom_css .='}';
	}

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

	// button font size
	$advance_training_academy_button_font_size = get_theme_mod('advance_training_academy_button_font_size');
	$advance_training_academy_custom_css .='.page-box .post-btn .read-more-btn a{';
		$advance_training_academy_custom_css .='font-size: '.esc_attr($advance_training_academy_button_font_size).'px;';
	$advance_training_academy_custom_css .='}';

	// button letter spacing
	$advance_training_academy_button_letter_spacing = get_theme_mod('advance_training_academy_button_letter_spacing');
	$advance_training_academy_custom_css .='.page-box .post-btn .read-more-btn a{';
		$advance_training_academy_custom_css .='letter-spacing: '.esc_attr($advance_training_academy_button_letter_spacing).'px;';
	$advance_training_academy_custom_css .='}';

	// font weight
	$advance_training_academy_btn_font_weight = get_theme_mod('advance_training_academy_btn_font_weight');{
	$advance_training_academy_custom_css .='.page-box .post-btn .read-more-btn a{';
	$advance_training_academy_custom_css .='font-weight: '.esc_attr($advance_training_academy_btn_font_weight).';';
	$advance_training_academy_custom_css .='}';
	}

	// Button Text Transform
	$advance_training_academy_theme_lay = get_theme_mod( 'advance_training_academy_button_text_transform','Uppercase');
    if($advance_training_academy_theme_lay == 'Uppercase'){
		$advance_training_academy_custom_css .='.page-box .post-btn .read-more-btn a{';
			$advance_training_academy_custom_css .='text-transform: uppercase;';
		$advance_training_academy_custom_css .='}';
	}else if($advance_training_academy_theme_lay == 'Lowercase'){
		$advance_training_academy_custom_css .='.page-box .post-btn .read-more-btn a{';
			$advance_training_academy_custom_css .='text-transform: lowercase;';
		$advance_training_academy_custom_css .='}';
	}
	else if($advance_training_academy_theme_lay == 'Capitalize'){
		$advance_training_academy_custom_css .='.page-box .post-btn .read-more-btn a{';
			$advance_training_academy_custom_css .='text-transform: capitalize;';
		$advance_training_academy_custom_css .='}';
	}

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

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

	// font weight
	$advance_training_academy_menu_weight = get_theme_mod('advance_training_academy_menu_weight');{
	$advance_training_academy_custom_css .='.primary-navigation a, .primary-navigation ul ul a, .sf-arrows .sf-with-ul:after, #menu-sidebar .primary-navigation a{';
	$advance_training_academy_custom_css .='font-weight: '.esc_attr($advance_training_academy_menu_weight).';';
	$advance_training_academy_custom_css .='}';
	}

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

	// Menu hover effect
	$advance_training_academy_menus_item = get_theme_mod( 'advance_training_academy_menus_item_style','None');
    if($advance_training_academy_menus_item == 'None'){
		$advance_training_academy_custom_css .='.primary-navigation ul a{';
			$advance_training_academy_custom_css .='';
		$advance_training_academy_custom_css .='}';
	}else if($advance_training_academy_menus_item == 'Zoom In'){
		$advance_training_academy_custom_css .='.primary-navigation ul a:hover{';
			$advance_training_academy_custom_css .='transition: all 0.3s ease-in-out !important; transform: scale(1.2) !important;';
		$advance_training_academy_custom_css .='}';
	}

	// Menu Color Option
	$advance_training_academy_menu_color_settings = get_theme_mod('advance_training_academy_menu_color_settings');
	$advance_training_academy_custom_css .='.primary-navigation ul li a{';
	$advance_training_academy_custom_css .='color: '.esc_attr($advance_training_academy_menu_color_settings).'!important;';
	$advance_training_academy_custom_css .='} ';

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

	$advance_training_academy_custom_css .='.primary-navigation ul li a:hover, .sf-arrows ul li > .sf-with-ul:focus:after, .sf-arrows ul li:hover > .sf-with-ul:after, .sf-arrows .sfHover > .sf-with-ul:after, .primary-navigation ul li.current-menu-item a {';
	$advance_training_academy_custom_css .='color: '.esc_attr($advance_training_academy_menu_hover_color_settings).'!important;';
	$advance_training_academy_custom_css .='} ';
	$advance_training_academy_custom_css .='.primary-navigation ul li a:hover:before, .primary-navigation ul li.current-menu-item a:before {';
	$advance_training_academy_custom_css .='background-color: '.esc_attr($advance_training_academy_menu_hover_color_settings).'!important;';
	$advance_training_academy_custom_css .='} ';

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

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

	// single image show / hide
	$advance_training_academy_show_featured_image_single_post = get_theme_mod('advance_training_academy_show_featured_image_single_post',true);
	if($advance_training_academy_show_featured_image_single_post == false){
		$advance_training_academy_custom_css .='.page-box-single .main-content-box{';
			$advance_training_academy_custom_css .='margin-top: 0;';
		$advance_training_academy_custom_css .='}';
	}

	// single image setting
	$advance_training_academy_single_img_border_radius = get_theme_mod('advance_training_academy_single_img_border_radius', 0);
	$advance_training_academy_custom_css .='.page-box-single .box-img img{';
		$advance_training_academy_custom_css .='border-radius: '.esc_attr($advance_training_academy_single_img_border_radius).'px;';
	$advance_training_academy_custom_css .='}';

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

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

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

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

	//Toggle Button Color Option
	$advance_training_academy_toggle_button_bg_color = get_theme_mod('advance_training_academy_toggle_button_bg_color');
	$advance_training_academy_custom_css .='.toggle-menu i  {';
	$advance_training_academy_custom_css .='background-color: '.esc_attr($advance_training_academy_toggle_button_bg_color).';';
	$advance_training_academy_custom_css .='} ';

	// Copyright Sticky 
	$advance_training_academy_resp_stickycopyright = get_theme_mod( 'advance_training_academy_stickycopyright_hide_show',false);
	if($advance_training_academy_resp_stickycopyright == true && get_theme_mod( 'advance_training_academy_copyright_sticky',false) != true){
    	$advance_training_academy_custom_css .='.copyright-sticky{';
			$advance_training_academy_custom_css .='position:static;';
		$advance_training_academy_custom_css .='} ';
	}	