<?php

$manufacturing_hub_tp_theme_css = '';

$manufacturing_hub_theme_lay = get_theme_mod( 'manufacturing_hub_tp_body_layout_settings','Full');
if($manufacturing_hub_theme_lay == 'Container'){
$manufacturing_hub_tp_theme_css .='body{';
$manufacturing_hub_tp_theme_css .='max-width: 1140px; width: 100%; padding-right: 15px; padding-left: 15px; margin-right: auto; margin-left: auto;';
$manufacturing_hub_tp_theme_css .='}';
$manufacturing_hub_tp_theme_css .='@media screen and (max-width:575px){';
$manufacturing_hub_tp_theme_css .='body{';
	$manufacturing_hub_tp_theme_css .='max-width: 100%; padding-right:0px; padding-left: 0px';
$manufacturing_hub_tp_theme_css .='} }';
$manufacturing_hub_tp_theme_css .='.scrolled{';
$manufacturing_hub_tp_theme_css .='width: auto; left:0; right:0;';
$manufacturing_hub_tp_theme_css .='}';
}else if($manufacturing_hub_theme_lay == 'Container Fluid'){
$manufacturing_hub_tp_theme_css .='body{';
$manufacturing_hub_tp_theme_css .='width: 100%;padding-right: 15px;padding-left: 15px;margin-right: auto;margin-left: auto;';
$manufacturing_hub_tp_theme_css .='}';
$manufacturing_hub_tp_theme_css .='@media screen and (max-width:575px){';
$manufacturing_hub_tp_theme_css .='body{';
	$manufacturing_hub_tp_theme_css .='max-width: 100%; padding-right:0px; padding-left:0px';
$manufacturing_hub_tp_theme_css .='} }';
$manufacturing_hub_tp_theme_css .='.scrolled{';
$manufacturing_hub_tp_theme_css .='width: auto; left:0; right:0;';
$manufacturing_hub_tp_theme_css .='}';
}else if($manufacturing_hub_theme_lay == 'Full'){
$manufacturing_hub_tp_theme_css .='body{';
$manufacturing_hub_tp_theme_css .='max-width: 100%;';
$manufacturing_hub_tp_theme_css .='}';
}

$manufacturing_hub_scroll_position = get_theme_mod( 'manufacturing_hub_scroll_top_position','Right');
if($manufacturing_hub_scroll_position == 'Right'){
$manufacturing_hub_tp_theme_css .='#return-to-top{';
$manufacturing_hub_tp_theme_css .='right: 20px;';
$manufacturing_hub_tp_theme_css .='}';
}else if($manufacturing_hub_scroll_position == 'Left'){
$manufacturing_hub_tp_theme_css .='#return-to-top{';
$manufacturing_hub_tp_theme_css .='left: 20px;';
$manufacturing_hub_tp_theme_css .='}';
}else if($manufacturing_hub_scroll_position == 'Center'){
$manufacturing_hub_tp_theme_css .='#return-to-top{';
$manufacturing_hub_tp_theme_css .='right: 50%;left: 50%;';
$manufacturing_hub_tp_theme_css .='}';
}

// related post
$manufacturing_hub_related_post_mob = get_theme_mod('manufacturing_hub_related_post_mob', true);
$manufacturing_hub_related_post = get_theme_mod('manufacturing_hub_remove_related_post', true);
$manufacturing_hub_tp_theme_css .= '.related-post-block {';
if ($manufacturing_hub_related_post == false) {
    $manufacturing_hub_tp_theme_css .= 'display: none;';
}
$manufacturing_hub_tp_theme_css .= '}';
$manufacturing_hub_tp_theme_css .= '@media screen and (max-width: 575px) {';
if ($manufacturing_hub_related_post == false || $manufacturing_hub_related_post_mob == false) {
    $manufacturing_hub_tp_theme_css .= '.related-post-block { display: none; }';
}
$manufacturing_hub_tp_theme_css .= '}';

// slider btn
$manufacturing_hub_slider_buttom_mob = get_theme_mod('manufacturing_hub_slider_buttom_mob', true);
$manufacturing_hub_slider_button = get_theme_mod('manufacturing_hub_slider_button', true);
$manufacturing_hub_tp_theme_css .= '#main-slider .more-btn {';
if ($manufacturing_hub_slider_button == false) {
    $manufacturing_hub_tp_theme_css .= 'display: none;';
}
$manufacturing_hub_tp_theme_css .= '}';
$manufacturing_hub_tp_theme_css .= '@media screen and (max-width: 575px) {';
if ($manufacturing_hub_slider_button == false || $manufacturing_hub_slider_buttom_mob == false) {
    $manufacturing_hub_tp_theme_css .= '#main-slider .more-btn { display: none; }';
}
$manufacturing_hub_tp_theme_css .= '}';

//return to header mobile               
$manufacturing_hub_return_to_header_mob = get_theme_mod('manufacturing_hub_return_to_header_mob', true);
$manufacturing_hub_return_to_header = get_theme_mod('manufacturing_hub_return_to_header', true);
$manufacturing_hub_tp_theme_css .= '.return-to-header{';
if ($manufacturing_hub_return_to_header == false) {
    $manufacturing_hub_tp_theme_css .= 'display: none;';
}
$manufacturing_hub_tp_theme_css .= '}';
$manufacturing_hub_tp_theme_css .= '@media screen and (max-width: 575px) {';
if ($manufacturing_hub_return_to_header == false || $manufacturing_hub_return_to_header_mob == false) {
    $manufacturing_hub_tp_theme_css .= '.return-to-header{ display: none; }';
}
$manufacturing_hub_tp_theme_css .= '}';

//blog description              
$manufacturing_hub_mobile_blog_description = get_theme_mod('manufacturing_hub_mobile_blog_description', true);
$manufacturing_hub_tp_theme_css .= '@media screen and (max-width: 575px) {';
if ($manufacturing_hub_mobile_blog_description == false) {
    $manufacturing_hub_tp_theme_css .= '.blog-description{ display: none; }';
}
$manufacturing_hub_tp_theme_css .= '}';


$manufacturing_hub_footer_widget_image = get_theme_mod('manufacturing_hub_footer_widget_image');
if($manufacturing_hub_footer_widget_image != false){
$manufacturing_hub_tp_theme_css .='#footer{';
$manufacturing_hub_tp_theme_css .='background: url('.esc_attr($manufacturing_hub_footer_widget_image).');';
$manufacturing_hub_tp_theme_css .='}';
}

//Social icon Font size
$manufacturing_hub_social_icon_fontsize = get_theme_mod('manufacturing_hub_social_icon_fontsize');
$manufacturing_hub_tp_theme_css .='.social-media a i{';
$manufacturing_hub_tp_theme_css .='font-size: '.esc_attr($manufacturing_hub_social_icon_fontsize).'px;';
$manufacturing_hub_tp_theme_css .='}';

// site title and tagline font size option
$manufacturing_hub_site_title_font_size = get_theme_mod('manufacturing_hub_site_title_font_size', ''); {
$manufacturing_hub_tp_theme_css .='.logo h1 a, .logo p a{';
$manufacturing_hub_tp_theme_css .='font-size: '.esc_attr($manufacturing_hub_site_title_font_size).'px !important;';
$manufacturing_hub_tp_theme_css .='}';
}

$manufacturing_hub_site_tagline_font_size = get_theme_mod('manufacturing_hub_site_tagline_font_size', '');{
$manufacturing_hub_tp_theme_css .='.logo p{';
$manufacturing_hub_tp_theme_css .='font-size: '.esc_attr($manufacturing_hub_site_tagline_font_size).'px;';
$manufacturing_hub_tp_theme_css .='}';
}

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

//menu font size
$manufacturing_hub_menu_font_size = get_theme_mod('manufacturing_hub_menu_font_size', '');{
$manufacturing_hub_tp_theme_css .='.main-navigation a, .main-navigation li.page_item_has_children:after, .main-navigation li.menu-item-has-children:after{';
	$manufacturing_hub_tp_theme_css .='font-size: '.esc_attr($manufacturing_hub_menu_font_size).'px;';
$manufacturing_hub_tp_theme_css .='}';
}

// menu text transform
$manufacturing_hub_menu_text_tranform = get_theme_mod( 'manufacturing_hub_menu_text_tranform','');
if($manufacturing_hub_menu_text_tranform == 'Uppercase'){
$manufacturing_hub_tp_theme_css .='.main-navigation a {';
	$manufacturing_hub_tp_theme_css .='text-transform: uppercase;';
$manufacturing_hub_tp_theme_css .='}';
}else if($manufacturing_hub_menu_text_tranform == 'Lowercase'){
$manufacturing_hub_tp_theme_css .='.main-navigation a {';
	$manufacturing_hub_tp_theme_css .='text-transform: lowercase;';
$manufacturing_hub_tp_theme_css .='}';
}
else if($manufacturing_hub_menu_text_tranform == 'Capitalize'){
$manufacturing_hub_tp_theme_css .='.main-navigation a {';
	$manufacturing_hub_tp_theme_css .='text-transform: capitalize;';
$manufacturing_hub_tp_theme_css .='}';
}

//sale position
$manufacturing_hub_scroll_position = get_theme_mod( 'manufacturing_hub_sale_tag_position','right');
if($manufacturing_hub_scroll_position == 'right'){
$manufacturing_hub_tp_theme_css .='.woocommerce ul.products li.product .onsale{';
    $manufacturing_hub_tp_theme_css .='right: 25px !important;';
$manufacturing_hub_tp_theme_css .='}';
}else if($manufacturing_hub_scroll_position == 'left'){
$manufacturing_hub_tp_theme_css .='.woocommerce ul.products li.product .onsale{';
    $manufacturing_hub_tp_theme_css .='left: 25px !important; right: auto !important;';
$manufacturing_hub_tp_theme_css .='}';
}

$manufacturing_hub_woocommerce_sale_font_size = get_theme_mod('manufacturing_hub_woocommerce_sale_font_size');
if($manufacturing_hub_woocommerce_sale_font_size != false){
    $manufacturing_hub_tp_theme_css .='.woocommerce ul.products li.product .onsale, .woocommerce span.onsale{';
        $manufacturing_hub_tp_theme_css .='font-size: '.esc_attr($manufacturing_hub_woocommerce_sale_font_size).'px;';
    $manufacturing_hub_tp_theme_css .='}';
}

$manufacturing_hub_woocommerce_sale_padding_top_bottom = get_theme_mod('manufacturing_hub_woocommerce_sale_padding_top_bottom');
if($manufacturing_hub_woocommerce_sale_padding_top_bottom != false){
    $manufacturing_hub_tp_theme_css .='.woocommerce ul.products li.product .onsale, .woocommerce span.onsale{';
        $manufacturing_hub_tp_theme_css .='padding-top: '.esc_attr($manufacturing_hub_woocommerce_sale_padding_top_bottom).'px; padding-bottom: '.esc_attr($manufacturing_hub_woocommerce_sale_padding_top_bottom).'px;';
    $manufacturing_hub_tp_theme_css .='}';
}

$manufacturing_hub_woocommerce_sale_padding_left_right = get_theme_mod('manufacturing_hub_woocommerce_sale_padding_left_right');
if($manufacturing_hub_woocommerce_sale_padding_left_right != false){
    $manufacturing_hub_tp_theme_css .='.woocommerce ul.products li.product .onsale, .woocommerce span.onsale{';
        $manufacturing_hub_tp_theme_css .='padding-left: '.esc_attr($manufacturing_hub_woocommerce_sale_padding_left_right).'px !Important; padding-right: '.esc_attr($manufacturing_hub_woocommerce_sale_padding_left_right).'px !important;';
    $manufacturing_hub_tp_theme_css .='}';
}

$manufacturing_hub_woocommerce_sale_border_radius = get_theme_mod('manufacturing_hub_woocommerce_sale_border_radius', 100);
if($manufacturing_hub_woocommerce_sale_border_radius != false){
    $manufacturing_hub_tp_theme_css .='.woocommerce ul.products li.product .onsale, .woocommerce span.onsale{';
        $manufacturing_hub_tp_theme_css .='border-radius: '.esc_attr($manufacturing_hub_woocommerce_sale_border_radius).'% !important;';
    $manufacturing_hub_tp_theme_css .='}';
}

//Font Weight
$manufacturing_hub_menu_font_weight = get_theme_mod( 'manufacturing_hub_menu_font_weight','');
if($manufacturing_hub_menu_font_weight == '100'){
$manufacturing_hub_tp_theme_css .='.main-navigation a{';
    $manufacturing_hub_tp_theme_css .='font-weight: 100;';
$manufacturing_hub_tp_theme_css .='}';
}else if($manufacturing_hub_menu_font_weight == '200'){
$manufacturing_hub_tp_theme_css .='.main-navigation a{';
    $manufacturing_hub_tp_theme_css .='font-weight: 200;';
$manufacturing_hub_tp_theme_css .='}';
}else if($manufacturing_hub_menu_font_weight == '300'){
$manufacturing_hub_tp_theme_css .='.main-navigation a{';
    $manufacturing_hub_tp_theme_css .='font-weight: 300;';
$manufacturing_hub_tp_theme_css .='}';
}else if($manufacturing_hub_menu_font_weight == '400'){
$manufacturing_hub_tp_theme_css .='.main-navigation a{';
    $manufacturing_hub_tp_theme_css .='font-weight: 400;';
$manufacturing_hub_tp_theme_css .='}';
}else if($manufacturing_hub_menu_font_weight == '500'){
$manufacturing_hub_tp_theme_css .='.main-navigation a{';
    $manufacturing_hub_tp_theme_css .='font-weight: 500;';
$manufacturing_hub_tp_theme_css .='}';
}else if($manufacturing_hub_menu_font_weight == '600'){
$manufacturing_hub_tp_theme_css .='.main-navigation a{';
    $manufacturing_hub_tp_theme_css .='font-weight: 600;';
$manufacturing_hub_tp_theme_css .='}';
}else if($manufacturing_hub_menu_font_weight == '700'){
$manufacturing_hub_tp_theme_css .='.main-navigation a{';
    $manufacturing_hub_tp_theme_css .='font-weight: 700;';
$manufacturing_hub_tp_theme_css .='}';
}else if($manufacturing_hub_menu_font_weight == '800'){
$manufacturing_hub_tp_theme_css .='.main-navigation a{';
    $manufacturing_hub_tp_theme_css .='font-weight: 800;';
$manufacturing_hub_tp_theme_css .='}';
}else if($manufacturing_hub_menu_font_weight == '900'){
$manufacturing_hub_tp_theme_css .='.main-navigation a{';
    $manufacturing_hub_tp_theme_css .='font-weight: 900;';
$manufacturing_hub_tp_theme_css .='}';
}

/*------------- Blog Page------------------*/
$manufacturing_hub_post_image_round = get_theme_mod('manufacturing_hub_post_image_round', 0);
if($manufacturing_hub_post_image_round != false){
    $manufacturing_hub_tp_theme_css .='.blog .box-image img{';
        $manufacturing_hub_tp_theme_css .='border-radius: '.esc_attr($manufacturing_hub_post_image_round).'px;';
    $manufacturing_hub_tp_theme_css .='}';
}

$manufacturing_hub_post_image_width = get_theme_mod('manufacturing_hub_post_image_width', '');
if($manufacturing_hub_post_image_width != false){
    $manufacturing_hub_tp_theme_css .='.blog .box-image img{';
        $manufacturing_hub_tp_theme_css .='Width: '.esc_attr($manufacturing_hub_post_image_width).'px;';
    $manufacturing_hub_tp_theme_css .='}';
}

$manufacturing_hub_post_image_length = get_theme_mod('manufacturing_hub_post_image_length', '');
if($manufacturing_hub_post_image_length != false){
    $manufacturing_hub_tp_theme_css .='.blog .box-image img{';
        $manufacturing_hub_tp_theme_css .='height: '.esc_attr($manufacturing_hub_post_image_length).'px;';
    $manufacturing_hub_tp_theme_css .='}';
}

// footer widget title font size
$manufacturing_hub_footer_widget_title_font_size = get_theme_mod('manufacturing_hub_footer_widget_title_font_size', '');{
$manufacturing_hub_tp_theme_css .='#footer h3, #footer h2.wp-block-heading{';
    $manufacturing_hub_tp_theme_css .='font-size: '.esc_attr($manufacturing_hub_footer_widget_title_font_size).'px;';
$manufacturing_hub_tp_theme_css .='}';
}

// Copyright text font size
$manufacturing_hub_footer_copyright_font_size = get_theme_mod('manufacturing_hub_footer_copyright_font_size', '');{
$manufacturing_hub_tp_theme_css .='#footer .site-info p{';
    $manufacturing_hub_tp_theme_css .='font-size: '.esc_attr($manufacturing_hub_footer_copyright_font_size).'px;';
$manufacturing_hub_tp_theme_css .='}';
}

// copyright padding
$manufacturing_hub_footer_copyright_top_bottom_padding = get_theme_mod('manufacturing_hub_footer_copyright_top_bottom_padding', '');
if ($manufacturing_hub_footer_copyright_top_bottom_padding !== '') { 
    $manufacturing_hub_tp_theme_css .= '.site-info {';
    $manufacturing_hub_tp_theme_css .= 'padding-top: ' . esc_attr($manufacturing_hub_footer_copyright_top_bottom_padding) . 'px;';
    $manufacturing_hub_tp_theme_css .= 'padding-bottom: ' . esc_attr($manufacturing_hub_footer_copyright_top_bottom_padding) . 'px;';
    $manufacturing_hub_tp_theme_css .= '}';
}

// copyright position
$manufacturing_hub_copyright_text_position = get_theme_mod( 'manufacturing_hub_copyright_text_position','Center');
if($manufacturing_hub_copyright_text_position == 'Center'){
$manufacturing_hub_tp_theme_css .='#footer .site-info p{';
$manufacturing_hub_tp_theme_css .='text-align:center;';
$manufacturing_hub_tp_theme_css .='}';
}else if($manufacturing_hub_copyright_text_position == 'Left'){
$manufacturing_hub_tp_theme_css .='#footer .site-info p{';
$manufacturing_hub_tp_theme_css .='text-align:left;';
$manufacturing_hub_tp_theme_css .='}';
}else if($manufacturing_hub_copyright_text_position == 'Right'){
$manufacturing_hub_tp_theme_css .='#footer .site-info p{';
$manufacturing_hub_tp_theme_css .='text-align:right;';
$manufacturing_hub_tp_theme_css .='}';
}

// Header Image title font size
$manufacturing_hub_header_image_title_font_size = get_theme_mod('manufacturing_hub_header_image_title_font_size', '40');{
$manufacturing_hub_tp_theme_css .='.box-text h2{';
    $manufacturing_hub_tp_theme_css .='font-size: '.esc_attr($manufacturing_hub_header_image_title_font_size).'px;';
$manufacturing_hub_tp_theme_css .='}';
}

/*--------------------------- banner image Opacity -------------------*/
    $manufacturing_hub_theme_lay = get_theme_mod( 'manufacturing_hub_header_banner_opacity_color','0.5');
        if($manufacturing_hub_theme_lay == '0'){
            $manufacturing_hub_tp_theme_css .='.single-page-img, .featured-image{';
                $manufacturing_hub_tp_theme_css .='opacity:0';
            $manufacturing_hub_tp_theme_css .='}';
        }else if($manufacturing_hub_theme_lay == '0.1'){
            $manufacturing_hub_tp_theme_css .='.single-page-img, .featured-image{';
                $manufacturing_hub_tp_theme_css .='opacity:0.1';
            $manufacturing_hub_tp_theme_css .='}';
        }else if($manufacturing_hub_theme_lay == '0.2'){
            $manufacturing_hub_tp_theme_css .='.single-page-img, .featured-image{';
                $manufacturing_hub_tp_theme_css .='opacity:0.2';
            $manufacturing_hub_tp_theme_css .='}';
        }else if($manufacturing_hub_theme_lay == '0.3'){
            $manufacturing_hub_tp_theme_css .='.single-page-img, .featured-image{';
                $manufacturing_hub_tp_theme_css .='opacity:0.3';
            $manufacturing_hub_tp_theme_css .='}';
        }else if($manufacturing_hub_theme_lay == '0.4'){
            $manufacturing_hub_tp_theme_css .='.single-page-img, .featured-image{';
                $manufacturing_hub_tp_theme_css .='opacity:0.4';
            $manufacturing_hub_tp_theme_css .='}';
        }else if($manufacturing_hub_theme_lay == '0.5'){
            $manufacturing_hub_tp_theme_css .='.single-page-img, .featured-image{';
                $manufacturing_hub_tp_theme_css .='opacity:0.5';
            $manufacturing_hub_tp_theme_css .='}';
        }else if($manufacturing_hub_theme_lay == '0.6'){
            $manufacturing_hub_tp_theme_css .='.single-page-img, .featured-image{';
                $manufacturing_hub_tp_theme_css .='opacity:0.6';
            $manufacturing_hub_tp_theme_css .='}';
        }else if($manufacturing_hub_theme_lay == '0.7'){
            $manufacturing_hub_tp_theme_css .='.single-page-img, .featured-image{';
                $manufacturing_hub_tp_theme_css .='opacity:0.7';
            $manufacturing_hub_tp_theme_css .='}';
        }else if($manufacturing_hub_theme_lay == '0.8'){
            $manufacturing_hub_tp_theme_css .='.single-page-img, .featured-image{';
                $manufacturing_hub_tp_theme_css .='opacity:0.8';
            $manufacturing_hub_tp_theme_css .='}';
        }else if($manufacturing_hub_theme_lay == '0.9'){
            $manufacturing_hub_tp_theme_css .='.single-page-img, .featured-image{';
                $manufacturing_hub_tp_theme_css .='opacity:0.9';
            $manufacturing_hub_tp_theme_css .='}';
        }else if($manufacturing_hub_theme_lay == '1'){
            $manufacturing_hub_tp_theme_css .='#main-slider img{';
                $manufacturing_hub_tp_theme_css .='opacity:1';
            $manufacturing_hub_tp_theme_css .='}';
        }

    $manufacturing_hub_header_banner_image_overlay = get_theme_mod('manufacturing_hub_header_banner_image_overlay', true);
    if($manufacturing_hub_header_banner_image_overlay == false){
        $manufacturing_hub_tp_theme_css .='.single-page-img, .featured-image{';
            $manufacturing_hub_tp_theme_css .='opacity:1;';
        $manufacturing_hub_tp_theme_css .='}';
    }

    $manufacturing_hub_header_banner_image_ooverlay_color = get_theme_mod('manufacturing_hub_header_banner_image_ooverlay_color', true);
    if($manufacturing_hub_header_banner_image_ooverlay_color != false){
        $manufacturing_hub_tp_theme_css .='.box-image-page{';
            $manufacturing_hub_tp_theme_css .='background-color: '.esc_attr($manufacturing_hub_header_banner_image_ooverlay_color).';';
        $manufacturing_hub_tp_theme_css .='}';
    }

    // Slider Height
    $manufacturing_hub_slider_img_height      = get_theme_mod('manufacturing_hub_slider_img_height');
    $manufacturing_hub_slider_img_height_resp = get_theme_mod('manufacturing_hub_slider_img_height_responsive');

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

    // Mobile height
    $manufacturing_hub_tp_theme_css .= '@media screen and (max-width: 767px) {';
    $manufacturing_hub_tp_theme_css .= '#slider .slider-border img {';
    if ( $manufacturing_hub_slider_img_height_resp ) {
        $manufacturing_hub_tp_theme_css .= 'height: ' . esc_attr( $manufacturing_hub_slider_img_height_resp ) . ' !important;';
    }
    $manufacturing_hub_tp_theme_css .= 'width: 100%;';
    $manufacturing_hub_tp_theme_css .= '}';
    $manufacturing_hub_tp_theme_css .= '}';

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

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

    
// footer widget letter case
$manufacturing_hub_footer_widget_title_text_tranform = get_theme_mod( 'manufacturing_hub_footer_widget_title_text_tranform','');
if($manufacturing_hub_footer_widget_title_text_tranform == 'Uppercase'){
$manufacturing_hub_tp_theme_css .='#footer h2, #footer h3, #footer h1.wp-block-heading, #footer h2.wp-block-heading, #footer h3.wp-block-heading, #footer h4.wp-block-heading, #footer h5.wp-block-heading, #footer h6.wp-block-heading {';
    $manufacturing_hub_tp_theme_css .='text-transform: uppercase;';
$manufacturing_hub_tp_theme_css .='}';
}else if($manufacturing_hub_footer_widget_title_text_tranform == 'Lowercase'){
$manufacturing_hub_tp_theme_css .='#footer h2, #footer h3, #footer h1.wp-block-heading, #footer h2.wp-block-heading, #footer h3.wp-block-heading, #footer h4.wp-block-heading, #footer h5.wp-block-heading, #footer h6.wp-block-heading {';
    $manufacturing_hub_tp_theme_css .='text-transform: lowercase;';
$manufacturing_hub_tp_theme_css .='}';
}
else if($manufacturing_hub_footer_widget_title_text_tranform == 'Capitalize'){
$manufacturing_hub_tp_theme_css .='#footer h2, #footer h3, #footer h1.wp-block-heading, #footer h2.wp-block-heading, #footer h3.wp-block-heading, #footer h4.wp-block-heading, #footer h5.wp-block-heading, #footer h6.wp-block-heading {';
    $manufacturing_hub_tp_theme_css .='text-transform: capitalize;';
$manufacturing_hub_tp_theme_css .='}';
}

//Footer Font Weight
$manufacturing_hub_footer_widget_title_font_weight = get_theme_mod( 'manufacturing_hub_footer_widget_title_font_weight','');
if($manufacturing_hub_footer_widget_title_font_weight == '100'){
$manufacturing_hub_tp_theme_css .='#footer h2, #footer h3, #footer h1.wp-block-heading, #footer h2.wp-block-heading, #footer h3.wp-block-heading, #footer h4.wp-block-heading, #footer h5.wp-block-heading, #footer h6.wp-block-heading {';
    $manufacturing_hub_tp_theme_css .='font-weight: 100;';
$manufacturing_hub_tp_theme_css .='}';
}else if($manufacturing_hub_footer_widget_title_font_weight == '200'){
$manufacturing_hub_tp_theme_css .='#footer h2, #footer h3, #footer h1.wp-block-heading, #footer h2.wp-block-heading, #footer h3.wp-block-heading, #footer h4.wp-block-heading, #footer h5.wp-block-heading, #footer h6.wp-block-heading {';
    $manufacturing_hub_tp_theme_css .='font-weight: 200;';
$manufacturing_hub_tp_theme_css .='}';
}else if($manufacturing_hub_footer_widget_title_font_weight == '300'){
$manufacturing_hub_tp_theme_css .='#footer h2, #footer h3, #footer h1.wp-block-heading, #footer h2.wp-block-heading, #footer h3.wp-block-heading, #footer h4.wp-block-heading, #footer h5.wp-block-heading, #footer h6.wp-block-heading {';
    $manufacturing_hub_tp_theme_css .='font-weight: 300;';
$manufacturing_hub_tp_theme_css .='}';
}else if($manufacturing_hub_footer_widget_title_font_weight == '400'){
$manufacturing_hub_tp_theme_css .='#footer h2, #footer h3, #footer h1.wp-block-heading, #footer h2.wp-block-heading, #footer h3.wp-block-heading, #footer h4.wp-block-heading, #footer h5.wp-block-heading, #footer h6.wp-block-heading {';
    $manufacturing_hub_tp_theme_css .='font-weight: 400;';
$manufacturing_hub_tp_theme_css .='}';
}else if($manufacturing_hub_footer_widget_title_font_weight == '500'){
$manufacturing_hub_tp_theme_css .='#footer h2, #footer h3, #footer h1.wp-block-heading, #footer h2.wp-block-heading, #footer h3.wp-block-heading, #footer h4.wp-block-heading, #footer h5.wp-block-heading, #footer h6.wp-block-heading {';
    $manufacturing_hub_tp_theme_css .='font-weight: 500;';
$manufacturing_hub_tp_theme_css .='}';
}else if($manufacturing_hub_footer_widget_title_font_weight == '600'){
$manufacturing_hub_tp_theme_css .='#footer h2, #footer h3, #footer h1.wp-block-heading, #footer h2.wp-block-heading, #footer h3.wp-block-heading, #footer h4.wp-block-heading, #footer h5.wp-block-heading, #footer h6.wp-block-heading {';
    $manufacturing_hub_tp_theme_css .='font-weight: 600;';
$manufacturing_hub_tp_theme_css .='}';
}else if($manufacturing_hub_footer_widget_title_font_weight == '700'){
$manufacturing_hub_tp_theme_css .='#footer h2, #footer h3, #footer h1.wp-block-heading, #footer h2.wp-block-heading, #footer h3.wp-block-heading, #footer h4.wp-block-heading, #footer h5.wp-block-heading, #footer h6.wp-block-heading {';
    $manufacturing_hub_tp_theme_css .='font-weight: 700;';
$manufacturing_hub_tp_theme_css .='}';
}else if($manufacturing_hub_footer_widget_title_font_weight == '800'){
$manufacturing_hub_tp_theme_css .='#footer h2, #footer h3, #footer h1.wp-block-heading, #footer h2.wp-block-heading, #footer h3.wp-block-heading, #footer h4.wp-block-heading, #footer h5.wp-block-heading, #footer h6.wp-block-heading {';
    $manufacturing_hub_tp_theme_css .='font-weight: 800;';
$manufacturing_hub_tp_theme_css .='}';
}else if($manufacturing_hub_footer_widget_title_font_weight == '900'){
$manufacturing_hub_tp_theme_css .='#footer h2, #footer h3, #footer h1.wp-block-heading, #footer h2.wp-block-heading, #footer h3.wp-block-heading, #footer h4.wp-block-heading, #footer h5.wp-block-heading, #footer h6.wp-block-heading {';
    $manufacturing_hub_tp_theme_css .='font-weight: 900;';
$manufacturing_hub_tp_theme_css .='}';
}

// footer widget position
$manufacturing_hub_footer_widget_title_position = get_theme_mod( 'manufacturing_hub_footer_widget_title_position','');
if($manufacturing_hub_footer_widget_title_position == 'Right'){
$manufacturing_hub_tp_theme_css .='#footer aside.widget-area{';
$manufacturing_hub_tp_theme_css .='text-align: right;';
$manufacturing_hub_tp_theme_css .='}';
}else if($manufacturing_hub_footer_widget_title_position == 'Left'){
$manufacturing_hub_tp_theme_css .='#footer aside.widget-area{';
$manufacturing_hub_tp_theme_css .='text-align: left;';
$manufacturing_hub_tp_theme_css .='}';
}else if($manufacturing_hub_footer_widget_title_position == 'Center'){
$manufacturing_hub_tp_theme_css .='#footer aside.widget-area{';
$manufacturing_hub_tp_theme_css .='text-align: center;';
$manufacturing_hub_tp_theme_css .='}';
}


// Slider animation
$manufacturing_hub_slider_sec_animation = get_theme_mod( 'manufacturing_hub_slider_sec_animation', true );
if ( $manufacturing_hub_slider_sec_animation ) {
    $manufacturing_hub_tp_theme_css .= '#slider { animation: bounceInDown 3s; animation-fill-mode: both; }';
}

// About Section ANimation
$manufacturing_hub_about_sec_animation = get_theme_mod( 'manufacturing_hub_about_sec_animation', true );
if ( $manufacturing_hub_about_sec_animation ) {
    $manufacturing_hub_tp_theme_css .= '#service-sec { animation: bounceInDown 3s; animation-fill-mode: both; }';
}

// footer Section ANimation
$manufacturing_hub_footer_animation = get_theme_mod( 'manufacturing_hub_footer_animation', true );
if ( $manufacturing_hub_footer_animation ) {
    $manufacturing_hub_tp_theme_css .= '#footer { animation: bounceInDown 3s; animation-fill-mode: both; }';
}

// Output the complete CSS
if ( ! empty( $manufacturing_hub_tp_theme_css ) ) {
    echo '<style id="manufacturing-hub-dynamic-css">' . $manufacturing_hub_tp_theme_css . '</style>';
}
?>