<?php

	$courier_services_custom_css= "";

	/*---------------------------Width Layout -------------------*/

	$courier_services_theme_lay = get_theme_mod( 'courier_services_width_option','Full Width');
    if($courier_services_theme_lay == 'Boxed'){
		$courier_services_custom_css .='body{';
			$courier_services_custom_css .='max-width: 1140px; width: 100%; margin-right: auto; margin-left: auto;';
		$courier_services_custom_css .='}';
		$courier_services_custom_css .='.scrollup i{';
			$courier_services_custom_css .='right: 100px;';
		$courier_services_custom_css .='}';
		$courier_services_custom_css .='.row.outer-logo{';
			$courier_services_custom_css .='margin-left: 0px;';
		$courier_services_custom_css .='}';
		$courier_services_custom_css .='#slider .carousel-indicators{';
			$courier_services_custom_css .='left: -14em;';
		$courier_services_custom_css .='}';
		$courier_services_custom_css .='button.btn.btn-appointment{';
			$courier_services_custom_css .='padding: 8px;';
		$courier_services_custom_css .='}';
	}else if($courier_services_theme_lay == 'Wide Width'){
		$courier_services_custom_css .='body{';
			$courier_services_custom_css .='width: 100%;padding-right: 15px;padding-left: 15px;margin-right: auto;margin-left: auto;';
		$courier_services_custom_css .='}';
		$courier_services_custom_css .='.scrollup i{';
			$courier_services_custom_css .='right: 30px;';
		$courier_services_custom_css .='}';
		$courier_services_custom_css .='.row.outer-logo{';
			$courier_services_custom_css .='margin-left: 0px;';
		$courier_services_custom_css .='}';
	}else if($courier_services_theme_lay == 'Full Width'){
		$courier_services_custom_css .='body{';
			$courier_services_custom_css .='max-width: 100%;';
		$courier_services_custom_css .='}';
	}

	// top bar show /hide responsive media

	$courier_services_responsive_topbar_hide = get_theme_mod('courier_services_responsive_topbar_hide',false);
	if($courier_services_responsive_topbar_hide == true && get_theme_mod('courier_services_topbar_hide_show',true) == false){
		$courier_services_custom_css .='@media screen and (min-width:575px){
			.topbar-text1,.phone-call,.read-more1,.skew-background::after,.skew-background{';
			$courier_services_custom_css .='display:none !important;';
		$courier_services_custom_css .='} }';
	}

	if($courier_services_responsive_topbar_hide == false){
		$courier_services_custom_css .='@media screen and (max-width:575px){
			.topbar-text,.phone-call,.read-more,.skew-background::after,.skew-background{';
		$courier_services_custom_css .='} }';
	}

	/*----------------Responsive Media -----------------------*/

	$courier_services_resp_slider = get_theme_mod( 'courier_services_resp_slider_hide_show',true);
	if($courier_services_resp_slider == true && get_theme_mod( 'courier_services_slider_hide_show', true) == false){
    	$courier_services_custom_css .='#slider{';
			$courier_services_custom_css .='display:none;';
		$courier_services_custom_css .='} ';
	}
    if($courier_services_resp_slider == true){
    	$courier_services_custom_css .='@media screen and (max-width:575px) {';
		$courier_services_custom_css .='#slider{';
			$courier_services_custom_css .='display:block;';
		$courier_services_custom_css .='} }';
	}else if($courier_services_resp_slider == false){
		$courier_services_custom_css .='@media screen and (max-width:575px) {';
		$courier_services_custom_css .='#slider{';
			$courier_services_custom_css .='display:none;';
		$courier_services_custom_css .='} }';
		$courier_services_custom_css .='@media screen and (max-width:575px){';
		$courier_services_custom_css .='.page-template-custom-home-page.admin-bar .homepageheader{';
			$courier_services_custom_css .='margin-top: 45px;';
		$courier_services_custom_css .='} }';
	}

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

	$courier_services_resp_scroll_top = get_theme_mod( 'courier_services_resp_scroll_top_hide_show',true);
	if($courier_services_resp_scroll_top == true && get_theme_mod( 'courier_services_hide_show_scroll',true) == false){
    	$courier_services_custom_css .='.scrollup i{';
			$courier_services_custom_css .='visibility:hidden !important;';
		$courier_services_custom_css .='} ';
	}
    if($courier_services_resp_scroll_top == true){
    	$courier_services_custom_css .='@media screen and (max-width:575px) {';
		$courier_services_custom_css .='.scrollup i{';
			$courier_services_custom_css .='visibility:visible !important;';
		$courier_services_custom_css .='} }';
	}else if($courier_services_resp_scroll_top == false){
		$courier_services_custom_css .='@media screen and (max-width:575px){';
		$courier_services_custom_css .='.scrollup i{';
			$courier_services_custom_css .='visibility:hidden !important;';
		$courier_services_custom_css .='} }';
	}

	$courier_services_resp_stickyheader = get_theme_mod( 'courier_services_stickyheader_hide_show',false);
	if($courier_services_resp_stickyheader == true && get_theme_mod( 'courier_services_sticky_header',false) != true){
    	$courier_services_custom_css .='.header-sticky{';
			$courier_services_custom_css .='position:static;';
		$courier_services_custom_css .='} ';
	}
    if($courier_services_resp_stickyheader == true){
    	$courier_services_custom_css .='@media screen and (max-width:575px) {';
		$courier_services_custom_css .='.header-sticky{';
			$courier_services_custom_css .='position:fixed;';
		$courier_services_custom_css .='} }';
	}else if($courier_services_resp_stickyheader == false){
		$courier_services_custom_css .='@media screen and (max-width:575px){';
		$courier_services_custom_css .='.header-sticky{';
			$courier_services_custom_css .='position:static;';
		$courier_services_custom_css .='} }';
	}

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

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


	/*-------------- Sticky Header Padding ----------------*/

	$courier_services_sticky_header_padding = get_theme_mod('courier_services_sticky_header_padding');
	if($courier_services_sticky_header_padding != false){
		$courier_services_custom_css .='.header-fixed{';
			$courier_services_custom_css .='padding: '.esc_attr($courier_services_sticky_header_padding).';';
		$courier_services_custom_css .='}';
	}

	/*---------------------------Slider Height ------------*/

	$courier_services_slider_height = get_theme_mod('courier_services_slider_height');
	if($courier_services_slider_height != false){
		$courier_services_custom_css .='#slider img{';
			$courier_services_custom_css .='height: '.esc_attr($courier_services_slider_height).';';
		$courier_services_custom_css .='}';
	}
	
	/*------------- Slider Content Padding Settings ------------------*/

	$courier_services_slider_content_padding_top_bottom = get_theme_mod('courier_services_slider_content_padding_top_bottom');
	$courier_services_slider_content_padding_left_right = get_theme_mod('courier_services_slider_content_padding_left_right');
	if($courier_services_slider_content_padding_top_bottom != false || $courier_services_slider_content_padding_left_right != false){
		$courier_services_custom_css .='#slider .carousel-caption{';
			$courier_services_custom_css .='top: '.esc_attr($courier_services_slider_content_padding_top_bottom).'; bottom: '.esc_attr($courier_services_slider_content_padding_top_bottom).';left: '.esc_attr($courier_services_slider_content_padding_left_right).';right: '.esc_attr($courier_services_slider_content_padding_left_right).';';
		$courier_services_custom_css .='}';
	}

	/*------------- Preloader Background Color  -------------------*/

	$courier_services_preloader_bg_color = get_theme_mod('courier_services_preloader_bg_color');
	if($courier_services_preloader_bg_color != false){
		$courier_services_custom_css .='#preloader{';
			$courier_services_custom_css .='background-color: '.esc_attr($courier_services_preloader_bg_color).';';
		$courier_services_custom_css .='}';
	}

	$courier_services_preloader_border_color = get_theme_mod('courier_services_preloader_border_color');
	if($courier_services_preloader_border_color != false){
		$courier_services_custom_css .='.loader-line{';
			$courier_services_custom_css .='border-color: '.esc_attr($courier_services_preloader_border_color).'!important;';
		$courier_services_custom_css .='}';
	}

	$courier_services_preloader_bg_img = get_theme_mod('courier_services_preloader_bg_img');
	if($courier_services_preloader_bg_img != false){
		$courier_services_custom_css .='#preloader{';
			$courier_services_custom_css .='background: url('.esc_attr($courier_services_preloader_bg_img).');-webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover;';
		$courier_services_custom_css .='}';
	}


	/*-------------- Copyright Alignment ----------------*/

	$courier_services_align_footer_social_icon = get_theme_mod('courier_services_align_footer_social_icon');
	if($courier_services_align_footer_social_icon != false){
		$courier_services_custom_css .='.copyright .widget{';
			$courier_services_custom_css .='text-align: '.esc_attr($courier_services_align_footer_social_icon).';';
		$courier_services_custom_css .='}';
		$courier_services_custom_css .='
		@media screen and (max-width:720px) {
			.copyright .widget{';
			$courier_services_custom_css .='text-align: center;} }';
	}

	$courier_services_copyright_alingment = get_theme_mod('courier_services_copyright_alingment');
	if($courier_services_copyright_alingment != false){
		$courier_services_custom_css .='.copyright p{';
			$courier_services_custom_css .='text-align: '.esc_attr($courier_services_copyright_alingment).';';
		$courier_services_custom_css .='}';
		$courier_services_custom_css .='
		@media screen and (max-width:720px) {
			.copyright p{';
			$courier_services_custom_css .='text-align: center;} }';
	}

	$courier_services_resp_stickycopyright = get_theme_mod( 'courier_services_stickycopyright_hide_show',false);
	if($courier_services_resp_stickycopyright == true && get_theme_mod( 'courier_services_copyright_sticky',false) != true){
    	$courier_services_custom_css .='.copyright-sticky{';
			$courier_services_custom_css .='position:static;';
		$courier_services_custom_css .='} ';
	}

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

	$courier_services_footer_background_image = get_theme_mod('courier_services_footer_background_image');
	if($courier_services_footer_background_image != false){
		$courier_services_custom_css .='#footer{';
			$courier_services_custom_css .='background: url('.esc_attr($courier_services_footer_background_image).')no-repeat;background-size:cover';
		$courier_services_custom_css .='}';
	}

	$courier_services_theme_lay = get_theme_mod( 'courier_services_img_footer','scroll');
	if($courier_services_theme_lay == 'fixed'){
		$courier_services_custom_css .='#footer{';
			$courier_services_custom_css .='background-attachment: fixed !important; background-position: center !important;';
		$courier_services_custom_css .='}';
	}elseif ($courier_services_theme_lay == 'scroll'){
		$courier_services_custom_css .='#footer{';
			$courier_services_custom_css .='background-attachment: scroll !important; background-position: center !important;';
		$courier_services_custom_css .='}';
	}

	$courier_services_footer_img_position = get_theme_mod('courier_services_footer_img_position','center center');
	if($courier_services_footer_img_position != false){
		$courier_services_custom_css .='#footer{';
			$courier_services_custom_css .='background-position: '.esc_attr($courier_services_footer_img_position).'!important;';
		$courier_services_custom_css .='}';
	}

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

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

	$courier_services_copyright_font_size = get_theme_mod('courier_services_copyright_font_size');
	if($courier_services_copyright_font_size != false){
		$courier_services_custom_css .='#footer-2 a, #footer-2 p{';
			$courier_services_custom_css .='font-size: '.esc_attr($courier_services_copyright_font_size).';';
		$courier_services_custom_css .='}';
	}

	$courier_services_copyright_padding_top_bottom = get_theme_mod('courier_services_copyright_padding_top_bottom');
	if($courier_services_copyright_padding_top_bottom != false){
		$courier_services_custom_css .='#footer-2{';
			$courier_services_custom_css .='padding-top: '.esc_attr($courier_services_copyright_padding_top_bottom).'; padding-bottom: '.esc_attr($courier_services_copyright_padding_top_bottom).';';
		$courier_services_custom_css .='}';
	}

	$courier_services_footer_padding = get_theme_mod('courier_services_footer_padding');
	if($courier_services_footer_padding != false){
		$courier_services_custom_css .='#footer{';
			$courier_services_custom_css .='padding: '.esc_attr($courier_services_footer_padding).' 0;';
		$courier_services_custom_css .='}';
	}

	/*----------------Scroll to top Settings ------------------*/

	$courier_services_scroll_to_top_font_size = get_theme_mod('courier_services_scroll_to_top_font_size');
	if($courier_services_scroll_to_top_font_size != false){
		$courier_services_custom_css .='.scrollup i{';
			$courier_services_custom_css .='font-size: '.esc_attr($courier_services_scroll_to_top_font_size).';';
		$courier_services_custom_css .='}';
	}

	$courier_services_scroll_to_top_padding = get_theme_mod('courier_services_scroll_to_top_padding');
	$courier_services_scroll_to_top_padding = get_theme_mod('courier_services_scroll_to_top_padding');
	if($courier_services_scroll_to_top_padding != false){
		$courier_services_custom_css .='.scrollup i{';
			$courier_services_custom_css .='padding-top: '.esc_attr($courier_services_scroll_to_top_padding).';padding-bottom: '.esc_attr($courier_services_scroll_to_top_padding).';';
		$courier_services_custom_css .='}';
	}

	$courier_services_scroll_to_top_width = get_theme_mod('courier_services_scroll_to_top_width');
	if($courier_services_scroll_to_top_width != false){
		$courier_services_custom_css .='.scrollup i{';
			$courier_services_custom_css .='width: '.esc_attr($courier_services_scroll_to_top_width).';';
		$courier_services_custom_css .='}';
	}

	$courier_services_scroll_to_top_height = get_theme_mod('courier_services_scroll_to_top_height');
	if($courier_services_scroll_to_top_height != false){
		$courier_services_custom_css .='.scrollup i{';
			$courier_services_custom_css .='height: '.esc_attr($courier_services_scroll_to_top_height).';';
		$courier_services_custom_css .='}';
	}

	$courier_services_scroll_to_top_border_radius = get_theme_mod('courier_services_scroll_to_top_border_radius');
	if($courier_services_scroll_to_top_border_radius != false){
		$courier_services_custom_css .='.scrollup i{';
			$courier_services_custom_css .='border-radius: '.esc_attr($courier_services_scroll_to_top_border_radius).'px;';
		$courier_services_custom_css .='}';
	}

	/*------------------ Logo  -------------------*/

	$courier_services_logo_padding = get_theme_mod('courier_services_logo_padding');
	if($courier_services_logo_padding != false){
		$courier_services_custom_css .='.logo{';
			$courier_services_custom_css .='padding: '.esc_attr($courier_services_logo_padding).' !important;';
		$courier_services_custom_css .='}';
	}

	$courier_services_logo_margin = get_theme_mod('courier_services_logo_margin');
	if($courier_services_logo_margin != false){
		$courier_services_custom_css .='.logo{';
			$courier_services_custom_css .='margin: '.esc_attr($courier_services_logo_margin).';';
		$courier_services_custom_css .='}';
	}

	// Site title Font Size
	$courier_services_site_title_font_size = get_theme_mod('courier_services_site_title_font_size');
	if($courier_services_site_title_font_size != false){
		$courier_services_custom_css .='.logo p.site-title, .logo h1{';
			$courier_services_custom_css .='font-size: '.esc_attr($courier_services_site_title_font_size).';';
		$courier_services_custom_css .='}';
	}

	// Site tagline Font Size
	$courier_services_site_tagline_font_size = get_theme_mod('courier_services_site_tagline_font_size');
	if($courier_services_site_tagline_font_size != false){
		$courier_services_custom_css .='.logo p.site-description{';
			$courier_services_custom_css .='font-size: '.esc_attr($courier_services_site_tagline_font_size).';';
		$courier_services_custom_css .='}';
	}

	$courier_services_site_title_color = get_theme_mod('courier_services_site_title_color');
	if($courier_services_site_title_color != false){
		$courier_services_custom_css .='p.site-title a, .logo h1 a{';
			$courier_services_custom_css .='color: '.esc_attr($courier_services_site_title_color).'!important;';
		$courier_services_custom_css .='}';
	}

	$courier_services_site_tagline_color = get_theme_mod('courier_services_site_tagline_color');
	if($courier_services_site_tagline_color != false){
		$courier_services_custom_css .='.logo p.site-description{';
			$courier_services_custom_css .='color: '.esc_attr($courier_services_site_tagline_color).';';
		$courier_services_custom_css .='}';
	}

	$courier_services_logo_width = get_theme_mod('courier_services_logo_width');
	if($courier_services_logo_width != false){
		$courier_services_custom_css .='.logo img{';
			$courier_services_custom_css .='width: '.esc_attr($courier_services_logo_width).';';
		$courier_services_custom_css .='}';
	}

	$courier_services_logo_height = get_theme_mod('courier_services_logo_height');
	if($courier_services_logo_height != false){
		$courier_services_custom_css .='.logo img{';
			$courier_services_custom_css .='height: '.esc_attr($courier_services_logo_height).';object-fit:cover;';
		$courier_services_custom_css .='}';
	}

	// Header Background Color
	$courier_services_header_background_color = get_theme_mod('courier_services_header_background_color');
	if($courier_services_header_background_color != false){
		$courier_services_custom_css .='.page-template-custom-home-page .home-page-header, .home-page-header{';
			$courier_services_custom_css .='background-color: '.esc_attr($courier_services_header_background_color).';';
		$courier_services_custom_css .='}';
	}

	$courier_services_header_img_position = get_theme_mod('courier_services_header_img_position','center top');
	if($courier_services_header_img_position != false){
		$courier_services_custom_css .='.page-template-custom-home-page .home-page-header, .home-page-header{';
			$courier_services_custom_css .='background-position: '.esc_attr($courier_services_header_img_position).'!important;';
		$courier_services_custom_css .='}';
	}

	/*---------------------------Blog Layout -------------------*/

	$courier_services_theme_lay = get_theme_mod( 'courier_services_blog_layout_option','Default');
    if($courier_services_theme_lay == 'Default'){
		$courier_services_custom_css .='.post-main-box{';
			$courier_services_custom_css .='';
		$courier_services_custom_css .='}';
	}else if($courier_services_theme_lay == 'Center'){
		$courier_services_custom_css .='.post-main-box, .post-main-box h2, .post-info, .new-text p, .content-bttn{';
			$courier_services_custom_css .='text-align:center;';
		$courier_services_custom_css .='}';
		$courier_services_custom_css .='.post-info{';
			$courier_services_custom_css .='margin-top:10px;';
		$courier_services_custom_css .='}';
		$courier_services_custom_css .='.post-info hr{';
			$courier_services_custom_css .='margin:15px auto;';
		$courier_services_custom_css .='}';
	}else if($courier_services_theme_lay == 'Left'){
		$courier_services_custom_css .='.post-main-box, .post-main-box h2, .post-info, .new-text p, .content-bttn, #our-services p{';
			$courier_services_custom_css .='text-align:Left;';
		$courier_services_custom_css .='}';
		$courier_services_custom_css .='.post-info hr{';
			$courier_services_custom_css .='margin-bottom:10px;';
		$courier_services_custom_css .='}';
		$courier_services_custom_css .='.post-main-box h2{';
			$courier_services_custom_css .='margin-top:10px;';
		$courier_services_custom_css .='}';
		$courier_services_custom_css .='.service-text .more-btn{';
			$courier_services_custom_css .='display:inline-block;';
		$courier_services_custom_css .='}';
	}

	/*--------------------- Blog Page Posts -------------------*/

	$courier_services_blog_page_posts_settings = get_theme_mod( 'courier_services_blog_page_posts_settings','Into Blocks');
    if($courier_services_blog_page_posts_settings == 'Without Blocks'){
		$courier_services_custom_css .='.post-main-box{';
			$courier_services_custom_css .='box-shadow: none; border: none; margin:30px 0;';
		$courier_services_custom_css .='}';
	}

	// featured image dimention
	$courier_services_blog_post_featured_image_dimension = get_theme_mod('courier_services_blog_post_featured_image_dimension', 'default');
	$courier_services_blog_post_featured_image_custom_width = get_theme_mod('courier_services_blog_post_featured_image_custom_width',250);
	$courier_services_blog_post_featured_image_custom_height = get_theme_mod('courier_services_blog_post_featured_image_custom_height',250);
	if($courier_services_blog_post_featured_image_dimension == 'custom'){
		$courier_services_custom_css .='.post-main-box img{';
			$courier_services_custom_css .='width: '.esc_attr($courier_services_blog_post_featured_image_custom_width).'!important; height: '.esc_attr($courier_services_blog_post_featured_image_custom_height).';';
		$courier_services_custom_css .='}';
	}

	/*---------------- Posts Settings ------------------*/

	$courier_services_featured_image_border_radius = get_theme_mod('courier_services_featured_image_border_radius', 0);
	if($courier_services_featured_image_border_radius != false){
		$courier_services_custom_css .='.box-image img, .feature-box img{';
			$courier_services_custom_css .='border-radius: '.esc_attr($courier_services_featured_image_border_radius).'px;';
		$courier_services_custom_css .='}';
	}

	$courier_services_featured_image_box_shadow = get_theme_mod('courier_services_featured_image_box_shadow',0);
	if($courier_services_featured_image_box_shadow != false){
		$courier_services_custom_css .='.box-image img, #content-vw img{';
			$courier_services_custom_css .='box-shadow: '.esc_attr($courier_services_featured_image_box_shadow).'px '.esc_attr($courier_services_featured_image_box_shadow).'px '.esc_attr($courier_services_featured_image_box_shadow).'px #cccccc;';
		$courier_services_custom_css .='}';
	}

	$courier_services_singlepost_image_box_shadow = get_theme_mod('courier_services_singlepost_image_box_shadow',0);
	if($courier_services_singlepost_image_box_shadow != false){
		$courier_services_custom_css .='.feature-box img{';
			$courier_services_custom_css .='box-shadow: '.esc_attr($courier_services_singlepost_image_box_shadow).'px '.esc_attr($courier_services_singlepost_image_box_shadow).'px '.esc_attr($courier_services_singlepost_image_box_shadow).'px #cccccc;';
		$courier_services_custom_css .='}';
	}

	$courier_services_related_image_box_shadow = get_theme_mod('courier_services_related_image_box_shadow',0);
	if($courier_services_related_image_box_shadow != false){
		$courier_services_custom_css .='.related-post .box-image img{';
			$courier_services_custom_css .='box-shadow: '.esc_attr($courier_services_related_image_box_shadow).'px '.esc_attr($courier_services_related_image_box_shadow).'px '.esc_attr($courier_services_related_image_box_shadow).'px #cccccc;';
		$courier_services_custom_css .='}';
	}

	/*---------------- Button Settings ------------------*/

	$courier_services_button_letter_spacing = get_theme_mod('courier_services_button_letter_spacing');
	$courier_services_custom_css .='.post-main-box .more-btn{';
		$courier_services_custom_css .='letter-spacing: '.esc_attr($courier_services_button_letter_spacing).';';
	$courier_services_custom_css .='}';

	$courier_services_button_border_radius = get_theme_mod('courier_services_button_border_radius');
	if($courier_services_button_border_radius != false){
		$courier_services_custom_css .='.post-main-box .more-btn a{';
			$courier_services_custom_css .='border-radius: '.esc_attr($courier_services_button_border_radius).'px !important;';
		$courier_services_custom_css .='}';
	}

	$courier_services_button_top_bottom_padding = get_theme_mod('courier_services_button_top_bottom_padding');
	$courier_services_button_left_right_padding = get_theme_mod('courier_services_button_left_right_padding');
	if($courier_services_button_top_bottom_padding != false || $courier_services_button_left_right_padding != false){
		$courier_services_custom_css .='.post-main-box .more-btn{';
			$courier_services_custom_css .='padding-top: '.esc_attr($courier_services_button_top_bottom_padding).'!important; padding-bottom: '.esc_attr($courier_services_button_top_bottom_padding).'!important;padding-left: '.esc_attr($courier_services_button_left_right_padding).'!important;padding-right: '.esc_attr($courier_services_button_left_right_padding).'!important;';
		$courier_services_custom_css .='}';
	}

	$courier_services_button_font_size = get_theme_mod('courier_services_button_font_size',14);
	$courier_services_custom_css .='.post-main-box .more-btn a{';
		$courier_services_custom_css .='font-size: '.esc_attr($courier_services_button_font_size).';';
	$courier_services_custom_css .='}';

	$courier_services_theme_lay = get_theme_mod( 'courier_services_button_text_transform','Capitalize');
	if($courier_services_theme_lay == 'Capitalize'){
		$courier_services_custom_css .='.post-main-box .more-btn a{';
			$courier_services_custom_css .='text-transform:Capitalize;';
		$courier_services_custom_css .='}';
	}
	if($courier_services_theme_lay == 'Lowercase'){
		$courier_services_custom_css .='.post-main-box .more-btn a{';
			$courier_services_custom_css .='text-transform:Lowercase;';
		$courier_services_custom_css .='}';
	}
	if($courier_services_theme_lay == 'Uppercase'){
		$courier_services_custom_css .='.post-main-box .more-btn a{';
			$courier_services_custom_css .='text-transform:Uppercase;';
		$courier_services_custom_css .='}';
	}

	// button font weight
	$courier_services_button_font_weight = get_theme_mod('courier_services_button_font_weight');
  	$courier_services_custom_css .='.more-btn a{';
    $courier_services_custom_css .='font-weight: '.esc_attr($courier_services_button_font_weight).'!important;';
  	$courier_services_custom_css .='}';

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

	/*---------------- Single Blog Page Settings ------------------*/

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

	$courier_services_comment_width = get_theme_mod('courier_services_single_blog_comment_width');
	if($courier_services_comment_width != false){
		$courier_services_custom_css .='#comments textarea{';
			$courier_services_custom_css .='width: '.esc_attr($courier_services_comment_width).';';
		$courier_services_custom_css .='}';
	}

	$courier_services_single_blog_post_navigation_show_hide = get_theme_mod('courier_services_single_blog_post_navigation_show_hide',true);
	if($courier_services_single_blog_post_navigation_show_hide != true){
		$courier_services_custom_css .='.post-navigation{';
			$courier_services_custom_css .='display: none;';
		$courier_services_custom_css .='}';
	}

	/*--------------------- Grid Posts Posts -------------------*/

	$courier_services_display_grid_posts_settings = get_theme_mod( 'courier_services_display_grid_posts_settings','Into Blocks');
    if($courier_services_display_grid_posts_settings == 'Without Blocks'){
		$courier_services_custom_css .='.grid-post-main-box{';
			$courier_services_custom_css .='box-shadow: none; border: none; margin:30px 0;';
		$courier_services_custom_css .='}';
	}

	$courier_services_grid_featured_image_border_radius = get_theme_mod('courier_services_grid_featured_image_border_radius', 0);
	if($courier_services_grid_featured_image_border_radius != false){
		$courier_services_custom_css .='.grid-post-main-box .box-image img, .grid-post-main-box .feature-box img{';
			$courier_services_custom_css .='border-radius: '.esc_attr($courier_services_grid_featured_image_border_radius).'px;';
		$courier_services_custom_css .='}';
	}
	/*----------------Woocommerce Products Settings ------------------*/

	$courier_services_related_product_show_hide = get_theme_mod('courier_services_related_product_show_hide',true);
	if($courier_services_related_product_show_hide != true){
		$courier_services_custom_css .='.related.products{';
			$courier_services_custom_css .='display: none;';
		$courier_services_custom_css .='}';
	}

	/*----------------Woocommerce Products Settings ------------------*/

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

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

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

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

	$courier_services_products_btn_padding_top_bottom = get_theme_mod('courier_services_products_btn_padding_top_bottom');
	if($courier_services_products_btn_padding_top_bottom != false){
		$courier_services_custom_css .='.woocommerce a.button{';
			$courier_services_custom_css .='padding-top: '.esc_attr($courier_services_products_btn_padding_top_bottom).' !important; padding-bottom: '.esc_attr($courier_services_products_btn_padding_top_bottom).' !important;';
		$courier_services_custom_css .='}';
	}

	$courier_services_products_btn_padding_left_right = get_theme_mod('courier_services_products_btn_padding_left_right');
	if($courier_services_products_btn_padding_left_right != false){
		$courier_services_custom_css .='.woocommerce a.button{';
			$courier_services_custom_css .='padding-left: '.esc_attr($courier_services_products_btn_padding_left_right).' !important; padding-right: '.esc_attr($courier_services_products_btn_padding_left_right).' !important;';
		$courier_services_custom_css .='}';
	}

	$courier_services_products_button_border_radius = get_theme_mod('courier_services_products_button_border_radius', 0);
	if($courier_services_products_button_border_radius != false){
		$courier_services_custom_css .='.woocommerce ul.products li.product .button, a.checkout-button.button.alt.wc-forward,.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 a.button{';
			$courier_services_custom_css .='border-radius: '.esc_attr($courier_services_products_button_border_radius).'px !important;';
		$courier_services_custom_css .='}';
	}

	$courier_services_woocommerce_sale_position = get_theme_mod( 'courier_services_woocommerce_sale_position','right');
    if($courier_services_woocommerce_sale_position == 'left'){
		$courier_services_custom_css .='.woocommerce ul.products li.product .onsale{';
			$courier_services_custom_css .='left: 12px !important; right: auto !important;';
		$courier_services_custom_css .='}';
	}else if($courier_services_woocommerce_sale_position == 'right'){
		$courier_services_custom_css .='.woocommerce ul.products li.product .onsale{';
			$courier_services_custom_css .='left: auto!important; right: 0 !important;';
		$courier_services_custom_css .='}';
	}

	$courier_services_woocommerce_sale_font_size = get_theme_mod('courier_services_woocommerce_sale_font_size');
	if($courier_services_woocommerce_sale_font_size != false){
		$courier_services_custom_css .='.woocommerce span.onsale{';
			$courier_services_custom_css .='font-size: '.esc_attr($courier_services_woocommerce_sale_font_size).';';
		$courier_services_custom_css .='}';
	}

	$courier_services_woocommerce_sale_padding_top_bottom = get_theme_mod('courier_services_woocommerce_sale_padding_top_bottom');
	if($courier_services_woocommerce_sale_padding_top_bottom != false){
		$courier_services_custom_css .='.woocommerce span.onsale{';
			$courier_services_custom_css .='padding-top: '.esc_attr($courier_services_woocommerce_sale_padding_top_bottom).'; padding-bottom: '.esc_attr($courier_services_woocommerce_sale_padding_top_bottom).';';
		$courier_services_custom_css .='}';
	}

	$courier_services_woocommerce_sale_padding_left_right = get_theme_mod('courier_services_woocommerce_sale_padding_left_right');
	if($courier_services_woocommerce_sale_padding_left_right != false){
		$courier_services_custom_css .='.woocommerce span.onsale{';
			$courier_services_custom_css .='padding-left: '.esc_attr($courier_services_woocommerce_sale_padding_left_right).'; padding-right: '.esc_attr($courier_services_woocommerce_sale_padding_left_right).';';
		$courier_services_custom_css .='}';
	}

	$courier_services_woocommerce_sale_border_radius = get_theme_mod('courier_services_woocommerce_sale_border_radius', 0);
	if($courier_services_woocommerce_sale_border_radius != false){
		$courier_services_custom_css .='.woocommerce span.onsale{';
			$courier_services_custom_css .='border-radius: '.esc_attr($courier_services_woocommerce_sale_border_radius).'px;';
		$courier_services_custom_css .='}';
	}

	/*----------------Social Icons Settings ------------------*/

	$courier_services_social_icon_font_size = get_theme_mod('courier_services_social_icon_font_size');
	if($courier_services_social_icon_font_size != false){
		$courier_services_custom_css .='#sidebar .custom-social-icons i, #footer .custom-social-icons i{';
			$courier_services_custom_css .='font-size: '.esc_attr($courier_services_social_icon_font_size).';';
		$courier_services_custom_css .='}';
	}

	$courier_services_social_icon_padding = get_theme_mod('courier_services_social_icon_padding');
	if($courier_services_social_icon_padding != false){
		$courier_services_custom_css .='#sidebar .custom-social-icons i, #footer .custom-social-icons i{';
			$courier_services_custom_css .='padding: '.esc_attr($courier_services_social_icon_padding).';';
		$courier_services_custom_css .='}';
	}

	$courier_services_social_icon_width = get_theme_mod('courier_services_social_icon_width');
	if($courier_services_social_icon_width != false){
		$courier_services_custom_css .='#sidebar .custom-social-icons i, #footer .custom-social-icons i{';
			$courier_services_custom_css .='width: '.esc_attr($courier_services_social_icon_width).';';
		$courier_services_custom_css .='}';
	}

	$courier_services_social_icon_height = get_theme_mod('courier_services_social_icon_height');
	if($courier_services_social_icon_height != false){
		$courier_services_custom_css .='#sidebar .custom-social-icons i, #footer .custom-social-icons i{';
			$courier_services_custom_css .='height: '.esc_attr($courier_services_social_icon_height).';';
		$courier_services_custom_css .='}';
	}

	$courier_services_social_icon_border_radius = get_theme_mod('courier_services_social_icon_border_radius');
	if($courier_services_social_icon_border_radius != false){
		$courier_services_custom_css .='#sidebar .custom-social-icons i, #footer .custom-social-icons i{';
			$courier_services_custom_css .='border-radius: '.esc_attr($courier_services_social_icon_border_radius).'px;';
		$courier_services_custom_css .='}';
	}

	$courier_services_resp_menu_toggle_btn_bg_color = get_theme_mod('courier_services_resp_menu_toggle_btn_bg_color');
	if($courier_services_resp_menu_toggle_btn_bg_color != false){
		$courier_services_custom_css .='.toggle-nav i,.sidenav .closebtn{';
			$courier_services_custom_css .='background: '.esc_attr($courier_services_resp_menu_toggle_btn_bg_color).';';
		$courier_services_custom_css .='}';
	}

	$courier_services_grid_featured_image_box_shadow = get_theme_mod('courier_services_grid_featured_image_box_shadow',0);
	if($courier_services_grid_featured_image_box_shadow != false){
		$courier_services_custom_css .='.grid-post-main-box .box-image img, .grid-post-main-box .feature-box img, #content-vw img{';
			$courier_services_custom_css .='box-shadow: '.esc_attr($courier_services_grid_featured_image_box_shadow).'px '.esc_attr($courier_services_grid_featured_image_box_shadow).'px '.esc_attr($courier_services_grid_featured_image_box_shadow).'px #cccccc;';
		$courier_services_custom_css .='}';
	}

	/*-------------- Menus Setings ----------------*/

	$courier_services_navigation_menu_font_size = get_theme_mod('courier_services_navigation_menu_font_size');
	if($courier_services_navigation_menu_font_size != false){
		$courier_services_custom_css .='.main-navigation ul a{';
			$courier_services_custom_css .='font-size: '.esc_attr($courier_services_navigation_menu_font_size).';';
		$courier_services_custom_css .='}';
	}

	$courier_services_navigation_menu_font_weight = get_theme_mod('courier_services_navigation_menu_font_weight','600');
	if($courier_services_navigation_menu_font_weight != false){
		$courier_services_custom_css .='.main-navigation ul a{';
			$courier_services_custom_css .='font-weight: '.esc_attr($courier_services_navigation_menu_font_weight).';';
		$courier_services_custom_css .='}';
	}

	$courier_services_theme_lay = get_theme_mod( 'courier_services_menu_text_transform','Capitalize');
	if($courier_services_theme_lay == 'Capitalize'){
		$courier_services_custom_css .='.main-navigation ul a{';
			$courier_services_custom_css .='text-transform:Capitalize;';
		$courier_services_custom_css .='}';
	}
	if($courier_services_theme_lay == 'Lowercase'){
		$courier_services_custom_css .='.main-navigation ul a{';
			$courier_services_custom_css .='text-transform:Lowercase;';
		$courier_services_custom_css .='}';
	}
	if($courier_services_theme_lay == 'Uppercase'){
		$courier_services_custom_css .='.main-navigation ul a{';
			$courier_services_custom_css .='text-transform:Uppercase;';
		$courier_services_custom_css .='}';
	}

	$courier_services_header_menus_color = get_theme_mod('courier_services_header_menus_color');
	if($courier_services_header_menus_color != false){
		$courier_services_custom_css .='.main-navigation ul a{';
			$courier_services_custom_css .='color: '.esc_attr($courier_services_header_menus_color).';';
		$courier_services_custom_css .='}';
	}

	$courier_services_header_menus_hover_color = get_theme_mod('courier_services_header_menus_hover_color');
	if($courier_services_header_menus_hover_color != false){
		$courier_services_custom_css .='.main-navigation ul a:hover{';
			$courier_services_custom_css .='color: '.esc_attr($courier_services_header_menus_hover_color).';';
		$courier_services_custom_css .='}';
	}

	$courier_services_header_submenus_color = get_theme_mod('courier_services_header_submenus_color');
	if($courier_services_header_submenus_color != false){
		$courier_services_custom_css .='.main-navigation ul ul a{';
			$courier_services_custom_css .='color: '.esc_attr($courier_services_header_submenus_color).';';
		$courier_services_custom_css .='}';
	}

	$courier_services_header_submenus_hover_color = get_theme_mod('courier_services_header_submenus_hover_color');
	if($courier_services_header_submenus_hover_color != false){
		$courier_services_custom_css .='.main-navigation ul.sub-menu a:hover{';
			$courier_services_custom_css .='color: '.esc_attr($courier_services_header_submenus_hover_color).'!important;';
		$courier_services_custom_css .='}';
	}

	$courier_services_menus_item = get_theme_mod( 'courier_services_menus_item_style','None');
    if($courier_services_menus_item == 'None'){
		$courier_services_custom_css .='.main-navigation ul a{';
			$courier_services_custom_css .='';
		$courier_services_custom_css .='}';
	}else if($courier_services_menus_item == 'Zoom In'){
		$courier_services_custom_css .='.main-navigation ul a:hover{';
			$courier_services_custom_css .='transition: all 0.3s ease-in-out !important; transform: scale(1.2) !important;';
		$courier_services_custom_css .='}';
	}

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

	$courier_services_theme_lay = get_theme_mod( 'courier_services_footer_template','courier_services-footer-one');
    if($courier_services_theme_lay == 'courier_services-footer-one'){
		$courier_services_custom_css .='#footer{';
			$courier_services_custom_css .='';
		$courier_services_custom_css .='}';

	}else if($courier_services_theme_lay == 'courier_services-footer-two'){
		$courier_services_custom_css .='#footer{';
			$courier_services_custom_css .='background: linear-gradient(to right, #f9f8ff, #dedafa);';
		$courier_services_custom_css .='}';
		$courier_services_custom_css .='#footer p, #footer li a, #footer, #footer h3, #footer a.rsswidget, #footer #wp-calendar a, .copyright a, #footer .custom_details, #footer ins span, #footer .tagcloud a, .main-inner-box span.entry-date a, nav.woocommerce-MyAccount-navigation ul li:hover a, #footer ul li a, #footer table, #footer th, #footer td, #footer caption, #sidebar caption,#footer nav.wp-calendar-nav a,#footer .search-form .search-field{';
			$courier_services_custom_css .='color:#000;';
		$courier_services_custom_css .='}';
		$courier_services_custom_css .='#footer ul li::before{';
			$courier_services_custom_css .='background:#000;';
		$courier_services_custom_css .='}';
		$courier_services_custom_css .='#footer table, #footer th, #footer td,#footer .search-form .search-field,#footer .tagcloud a{';
			$courier_services_custom_css .='border: 1px solid #000;';
		$courier_services_custom_css .='}';

	}else if($courier_services_theme_lay == 'courier_services-footer-three'){
		$courier_services_custom_css .='#footer{';
			$courier_services_custom_css .='background: #232524;';
		$courier_services_custom_css .='}';
	}
	else if($courier_services_theme_lay == 'courier_services-footer-four'){
		$courier_services_custom_css .='#footer{';
			$courier_services_custom_css .='background: #2962FF;';
		$courier_services_custom_css .='}';
		$courier_services_custom_css .='#footer p, #footer li a, #footer, #footer h3, #footer a.rsswidget, #footer #wp-calendar a, .copyright a, #footer .custom_details, #footer ins span, #footer .tagcloud a, .main-inner-box span.entry-date a, nav.woocommerce-MyAccount-navigation ul li:hover a, #footer ul li a, #footer table, #footer th, #footer td, #footer caption, #sidebar caption,#footer nav.wp-calendar-nav a,#footer .search-form .search-field{';
			$courier_services_custom_css .='color:#fff;';
		$courier_services_custom_css .='}';
		$courier_services_custom_css .='#footer ul li::before{';
			$courier_services_custom_css .='background:#fff;';
		$courier_services_custom_css .='}';
		$courier_services_custom_css .='#footer table, #footer th, #footer td,#footer .search-form .search-field,#footer .tagcloud a{';
			$courier_services_custom_css .='border: 1px solid #fff;';
		$courier_services_custom_css .='}';
	}
	else if($courier_services_theme_lay == 'courier_services-footer-five'){
		$courier_services_custom_css .='#footer{';
			$courier_services_custom_css .='background: linear-gradient(to right, #01093a, #2d0b00);';
		$courier_services_custom_css .='}';
	}

	/*---------------- Footer Settings ------------------*/

	$courier_services_button_footer_heading_letter_spacing = get_theme_mod('courier_services_button_footer_heading_letter_spacing',1);
	$courier_services_custom_css .='#footer h3, a.rsswidget.rss-widget-title{';
		$courier_services_custom_css .='letter-spacing: '.esc_attr($courier_services_button_footer_heading_letter_spacing).'px;';
	$courier_services_custom_css .='}';

	$courier_services_button_footer_font_size = get_theme_mod('courier_services_button_footer_font_size','30');
	$courier_services_custom_css .='#footer h3, a.rsswidget.rss-widget-title{';
		$courier_services_custom_css .='font-size: '.esc_attr($courier_services_button_footer_font_size).'px;';
	$courier_services_custom_css .='}';

	$courier_services_theme_lay = get_theme_mod( 'courier_services_button_footer_text_transform','Capitalize');
	if($courier_services_theme_lay == 'Capitalize'){
		$courier_services_custom_css .='#footer h3{';
			$courier_services_custom_css .='text-transform:Capitalize;';
		$courier_services_custom_css .='}';
	}
	if($courier_services_theme_lay == 'Lowercase'){
		$courier_services_custom_css .='#footer h3, a.rsswidget.rss-widget-title{';
			$courier_services_custom_css .='text-transform:Lowercase;';
		$courier_services_custom_css .='}';
	}
	if($courier_services_theme_lay == 'Uppercase'){
		$courier_services_custom_css .='#footer h3, a.rsswidget.rss-widget-title{';
			$courier_services_custom_css .='text-transform:Uppercase;';
		$courier_services_custom_css .='}';
	}

	$courier_services_footer_heading_weight = get_theme_mod('courier_services_footer_heading_weight','600');
	if($courier_services_footer_heading_weight != false){
		$courier_services_custom_css .='#footer h3, a.rsswidget.rss-widget-title{';
			$courier_services_custom_css .='font-weight: '.esc_attr($courier_services_footer_heading_weight).';';
		$courier_services_custom_css .='}';
	}
	
	$courier_services_slider_first_color = get_theme_mod('courier_services_slider_first_color');

	$courier_services_slider_second_color = get_theme_mod('courier_services_slider_second_color');

	if($courier_services_slider_first_color != false || $courier_services_slider_second_color != false){
		$courier_services_custom_css .='.box{
		background: linear-gradient(to top, '.esc_attr($courier_services_slider_first_color).', '.esc_attr($courier_services_slider_second_color).');
		}';
	}

	$courier_services_services_icon_color = get_theme_mod('courier_services_services_icon_color');
	if($courier_services_services_icon_color != false){
		$courier_services_custom_css .='#about-sec i{';
			$courier_services_custom_css .='color: '.esc_attr($courier_services_services_icon_color).';';
		$courier_services_custom_css .='}';
	}

	/*-------------------- First Highlight Color -------------------*/

	$courier_services_first_color = get_theme_mod('courier_services_first_color');

	if($courier_services_first_color != false){
		$courier_services_custom_css .='.principle-box:hover .principle-box-inner-img, .more-btn a, #comments input[type="submit"],#comments a.comment-reply-link,input[type="submit"],.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,.pro-button a, .woocommerce a.added_to_cart.wc-forward, #footer input[type="submit"], #footer-2, #footer .wp-block-search .wp-block-search__button, #sidebar .wp-block-search .wp-block-search__button, .scrollup i:hover, #sidebar .custom-social-icons a,#footer .custom-social-icons a, .pagination span, .pagination a, .woocommerce span.onsale, nav.woocommerce-MyAccount-navigation ul li, .scrollup i, .pagination a:hover, .pagination .current, #sidebar .tagcloud a:hover, #main-product button.tablinks.active, .main-product-section .pro-button, .main-product-section:hover .the_timer, nav.woocommerce-MyAccount-navigation ul li:hover, #preloader, .event-btn-1 a, .event-btn-2 a:hover,.wp-block-tag-cloud a:hover, #sidebar .widget_block h3,.breadcrumbs a, .post-categories li a,.breadcrumbs span,.wp-block-button__link,#sidebar .wp-block-tag-cloud a:hover,#footer .wp-block-tag-cloud a:hover,#footer-2,.read-more a,#banner .slider-nav .slick-slide.slick-current.slick-active,.compare-btn a, .compare-btn-banner a,.main-navigation ul li.current_page_item a:before,.wp-block-woocommerce-cart .wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button, .wc-block-components-totals-coupon__button,.wp-block-woocommerce-cart .wc-block-cart__submit-button:hover, .wc-block-components-checkout-place-order-button:hover,.wc-block-components-order-summary .wc-block-components-order-summary-item__quantity,.breadcrumbs a:hover, .post-categories li a:hover,#sidebar h3:before, #sidebar .widget_block h3:before, #sidebar h2:before, #sidebar label.wp-block-search__label:before,.slider-btn1 a:hover,#contact-details:before,#contact-details,a.featured-btn,.featured-content:hover,#slider .carousel-control-next i:hover, #slider .carousel-control-prev i:hover,.toggle-nav i,.slider-small-text,button.btn.btn-appointment,#service-sec .owl-dots button.owl-dot.active,.feature-box:hover .icon{';
			$courier_services_custom_css .='background: '.esc_attr($courier_services_first_color).';';
		$courier_services_custom_css .='}';
	}

	if($courier_services_first_color != false){
		$courier_services_custom_css .='#sidebar ul li::before,#footer-2,.wc-block-components-order-summary .wc-block-components-order-summary-item__quantity,#sidebar .wp-block-search .wp-block-search__button:hover, .woocommerce #respond input#submit:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover, .woocommerce #respond input#submit.alt:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover, .widget_product_search button:hover, .woocommerce button.button:disabled:hover, .woocommerce button.button:disabled[disabled]:hover, .woocommerce a.added_to_cart.wc-forward:hover,.toggle-nav i,#slider button.active .count,.wc-block-grid__product-onsale,header.woocommerce-Address-title.title a, a.added_to_cart.wc-forward{';
			$courier_services_custom_css .='background: '.esc_attr($courier_services_first_color).'!important;';
		$courier_services_custom_css .='}';
	}

	if($courier_services_first_color != false){
		$courier_services_custom_css .='.classes-inner-box:hover::before{';
			$courier_services_custom_css .='background: '.esc_attr($courier_services_first_color).'!important;opacity: .4;';
		$courier_services_custom_css .='}';
	}

	if($courier_services_first_color != false){
		$courier_services_custom_css .='a, .main-header span.donate a:hover, .main-header span.volunteer a:hover, .main-header span.donate i:hover, .main-header span.volunteer i:hover, .box-content h3, .box-content h3 a, .woocommerce-message::before,.woocommerce-info::before,.post-main-box:hover h2 a, .post-main-box:hover .post-info span a, .single-post .post-info:hover a, .middle-bar h6, .main-navigation ul li.current_page_item, .main-navigation li a:hover,.main-navigation ul li.current_page_item a, .main-navigation li a:hover, .main-navigation ul ul li a:hover, .main-navigation li a:focus, .main-navigation ul ul a:focus, .main-navigation ul ul a:hover,p.site-title a:hover, .logo h1 a:hover,.post-main-box:hover h2 a, .post-main-box:hover .post-info span a, .single-post .post-info:hover a, .middle-bar h6, .grid-post-main-box:hover h2 a, .grid-post-main-box:hover .post-info span a,#best-product-section .product-box:hover .product-box-content h3 a,.sticky .post-main-box h2:before,.post-main-box:hover h3 a, #sidebar ul li a:hover, #footer li a:hover, .post-navigation a:hover .post-title, .post-navigation a:focus .post-title, .post-navigation a:hover, .post-navigation a:focus,.wp-block-quote, .wp-block-quote:not(.is-large):not(.is-style-large), .wp-block-pullquote,.post-navigation span.meta-nav:hover,#service-sec .service-small-heading,.topbar-social-icon .custom-social-icons i:hover,.location i, .location-mail i{';
			$courier_services_custom_css .='color: '.esc_attr($courier_services_first_color).';';
		$courier_services_custom_css .='}';
	}

	if($courier_services_first_color != false){
		$courier_services_custom_css .='#service-sec .service-small-heading{';
			$courier_services_custom_css .='color: '.esc_attr($courier_services_first_color).'!important;';
		$courier_services_custom_css .='}';
	}

	if($courier_services_first_color != false){
		$courier_services_custom_css .='.home-page-header,.main-navigation ul ul,.wp-block-quote, .wp-block-quote:not(.is-large):not(.is-style-large), .wp-block-pullquote,#sidebar .widget,.post-main-box, .grid-post-main-box,.inner_carousel,.header-fixed,.top-header{';
			$courier_services_custom_css .='border-color: '.esc_attr($courier_services_first_color).';';
		$courier_services_custom_css .='}';
	}

	if($courier_services_first_color != false){
		$courier_services_custom_css .='#contact-details:after{';
			$courier_services_custom_css .='border-bottom: 146px solid  '.esc_attr($courier_services_first_color).';';
		$courier_services_custom_css .='}';
	}

	if($courier_services_first_color != false){
		$courier_services_custom_css .='.main-navigation ul ul,.main-navigation li.current_page_item,.page-template-custom-home-page .home-page-header{';
			$courier_services_custom_css .='border-bottom:2px solid '.esc_attr($courier_services_first_color).'!important;';
		$courier_services_custom_css .='}';
	}


	$courier_services_breadcrumbs_alignment = get_theme_mod( 'courier_services_breadcrumbs_alignment','Left');
    if($courier_services_breadcrumbs_alignment == 'Left'){
		$courier_services_custom_css .='.breadcrumbs{';
			$courier_services_custom_css .='text-align:start;';
		$courier_services_custom_css .='}';
	}else if($courier_services_breadcrumbs_alignment == 'Center'){
		$courier_services_custom_css .='.breadcrumbs{';
			$courier_services_custom_css .='text-align:center;';
		$courier_services_custom_css .='}';
	}else if($courier_services_breadcrumbs_alignment == 'Right'){
		$courier_services_custom_css .='.breadcrumbs{';
			$courier_services_custom_css .='text-align:end;';
		$courier_services_custom_css .='}';
	}

	$courier_services_sticky_sidebar = get_theme_mod( 'courier_services_sticky_sidebar',false);
	if($courier_services_sticky_sidebar == true && get_theme_mod( 'courier_services_sticky_sidebar',false) != true){
    	$courier_services_custom_css .='#sidebar{';
			$courier_services_custom_css .='position:static;';
		$courier_services_custom_css .='} ';
	}

	$courier_services_show_first_caps = get_theme_mod('courier_services_show_first_caps', false);
	if ($courier_services_show_first_caps ) {
	    $courier_services_custom_css .= '.post-main-box .new-text p:nth-of-type(1)::first-letter {';
	    $courier_services_custom_css .=' font-size: 55px;font-weight: 600;margin-right: 5px;';
	    $courier_services_custom_css .='}';
	} else {
		$courier_services_custom_css .= '.post-main-box .new-text p:nth-of-type(1)::first-letter {';
	    $courier_services_custom_css .= 'display: none;';
	    $courier_services_custom_css .='}';
	}
	// Web Frame 
	$courier_services_web_frame = get_theme_mod('courier_services_web_frame',false);
	if($courier_services_web_frame == false && get_theme_mod( 'courier_services_web_frame',false) != true){
		$courier_services_custom_css .='.web-frame{';
		$courier_services_custom_css .='border: 1px !important';
		$courier_services_custom_css .='}';
	}

	$courier_services_web_frame_border_color = get_theme_mod('courier_services_web_frame_border_color');
	if($courier_services_web_frame_border_color != false){
		$courier_services_custom_css .='.web-frame{';
			$courier_services_custom_css .='border-color: '.esc_attr($courier_services_web_frame_border_color).'!important;';
		$courier_services_custom_css .='}';
	}
    
	$courier_services_web_frame_border_width = get_theme_mod('courier_services_web_frame_border_width');
	if($courier_services_web_frame_border_width != false){
		$courier_services_custom_css .='.web-frame{';
			$courier_services_custom_css .='border-width: '.esc_attr($courier_services_web_frame_border_width).'!important;';
		$courier_services_custom_css .='}';
	}

	// change the Category style //
	$courier_services_single_post_styling = get_theme_mod( 'courier_services_single_post_styling','Button');
		if($courier_services_single_post_styling == 'Underline'){
		$courier_services_custom_css .='.single-post-category .post-categories li a{';
			$courier_services_custom_css .='text-decoration: underline; color: #000; background-color: transparent;';
		$courier_services_custom_css .='}';
	}
	else if($courier_services_single_post_styling == 'Default'){
		$courier_services_custom_css .='.single-post-category .post-categories li a{';
			$courier_services_custom_css .='text-decoration: none; color: #000; background-color: transparent;';
		$courier_services_custom_css .='}';
	}
	// Hover on featured image //
	$courier_services_show_featured = get_theme_mod( 'courier_services_featured_image_hide_show', 1 );
	$courier_services_hover_effect  = get_theme_mod( 'courier_services_featured_image_hover', 'none' );

	if ( $courier_services_show_featured && $courier_services_hover_effect !== 'none' ) {

		$courier_services_custom_css .= '
		.courier-services-featured-image img{
			transition: all 0.4s ease;
		}';

		if ( $courier_services_hover_effect === 'zoom-in' ) {
			$courier_services_custom_css .= '
			.courier-services-featured-image:hover img{
				transform: scale(1.2);
			}';
		}

		if ( $courier_services_hover_effect === 'zoom-out' ) {
			$courier_services_custom_css .= '
			.courier-services-featured-image img{
				transform: scale(1.2);
			}
			.courier-services-featured-image:hover img{
				transform: scale(1);
			}';
		}

		if ( $courier_services_hover_effect === 'grayscale' ) {
			$courier_services_custom_css .= '
			.courier-services-featured-image img{
				filter: grayscale(100%);
			}
			.courier-services-featured-image:hover img{
				filter: grayscale(0);
			}';
		}

		if ( $courier_services_hover_effect === 'sepia' ) {
			$courier_services_custom_css .= '
			.courier-services-featured-image:hover img{
				filter: sepia(100%);
			}';
		}

		if ( $courier_services_hover_effect === 'blur' ) {
			$courier_services_custom_css .= '
			.courier-services-featured-image:hover img{
				filter: blur(3px);
			}';
		}

		if ( $courier_services_hover_effect === 'bright' ) {
			$courier_services_custom_css .= '
			.courier-services-featured-image:hover img{
				filter: brightness(1.3);
			}';
		}

		if ( $courier_services_hover_effect === 'translate' ) {
			$courier_services_custom_css .= '
			.courier-services-featured-image:hover img{
				transform: translateY(-10px);
			}';
		}
	}

