<?php

	$ngo_organization_tp_theme_css = "";

//body layout//

$ngo_organization_theme_lay = get_theme_mod( 'ngo_organization_tp_body_layout_settings','Full');
if($ngo_organization_theme_lay == 'Container'){
$ngo_organization_tp_theme_css .='body{';
$ngo_organization_tp_theme_css .='max-width: 1140px; width: 100%; padding-right: 15px; padding-left: 15px; margin-right: auto; margin-left: auto;';
$ngo_organization_tp_theme_css .='}';
$ngo_organization_tp_theme_css .='.page-template-front-page .top-header{';
$ngo_organization_tp_theme_css .='position: static;';
$ngo_organization_tp_theme_css .='}';
$ngo_organization_tp_theme_css .='@media screen and (max-width:575px){';
$ngo_organization_tp_theme_css .='body{';
	$ngo_organization_tp_theme_css .='max-width: 100%; padding-right:0px; padding-left: 0px';
$ngo_organization_tp_theme_css .='} }';
$ngo_organization_tp_theme_css .='.scrolled{';
$ngo_organization_tp_theme_css .='width: auto; left:0; right:0;';
$ngo_organization_tp_theme_css .='}';
}else if($ngo_organization_theme_lay == 'Container Fluid'){
$ngo_organization_tp_theme_css .='body{';
$ngo_organization_tp_theme_css .='width: 100%;padding-right: 15px;padding-left: 15px;margin-right: auto;margin-left: auto;';
$ngo_organization_tp_theme_css .='}';
$ngo_organization_tp_theme_css .='.page-template-front-page .top-header{';
$ngo_organization_tp_theme_css .='position: static;';
$ngo_organization_tp_theme_css .='}';
$ngo_organization_tp_theme_css .='@media screen and (max-width:575px){';
$ngo_organization_tp_theme_css .='body{';
	$ngo_organization_tp_theme_css .='max-width: 100%; padding-right:0px; padding-left:0px';
$ngo_organization_tp_theme_css .='} }';
$ngo_organization_tp_theme_css .='.scrolled{';
$ngo_organization_tp_theme_css .='width: auto; left:0; right:0;';
$ngo_organization_tp_theme_css .='}';
}else if($ngo_organization_theme_lay == 'Full'){
$ngo_organization_tp_theme_css .='body{';
$ngo_organization_tp_theme_css .='max-width: 100%;';
$ngo_organization_tp_theme_css .='}';
}

//scroll-top-alignmemt
$ngo_organization_scroll_position = get_theme_mod( 'ngo_organization_scroll_top_position','Right');
if($ngo_organization_scroll_position == 'Right'){
$ngo_organization_tp_theme_css .='#return-to-top{';
    $ngo_organization_tp_theme_css .='right: 20px;';
$ngo_organization_tp_theme_css .='}';
}else if($ngo_organization_scroll_position == 'Left'){
$ngo_organization_tp_theme_css .='#return-to-top{';
    $ngo_organization_tp_theme_css .='left: 20px;';
$ngo_organization_tp_theme_css .='}';
}else if($ngo_organization_scroll_position == 'Center'){
$ngo_organization_tp_theme_css .='#return-to-top{';
    $ngo_organization_tp_theme_css .='right: 50%;left: 50%;';
$ngo_organization_tp_theme_css .='}';
}

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


// site tagline font size option
$ngo_organization_site_tagline_font_size = get_theme_mod('ngo_organization_site_tagline_font_size', 15);{
$ngo_organization_tp_theme_css .='.logo p{';
$ngo_organization_tp_theme_css .='font-size: '.esc_attr($ngo_organization_site_tagline_font_size).'px;';
$ngo_organization_tp_theme_css .='}';
}

// related post
$ngo_organization_related_post_mob = get_theme_mod('ngo_organization_related_post_mob', true);
$ngo_organization_related_post = get_theme_mod('ngo_organization_remove_related_post', true);
$ngo_organization_tp_theme_css .= '.related-post-block {';
if ($ngo_organization_related_post == false) {
    $ngo_organization_tp_theme_css .= 'display: none;';
}
$ngo_organization_tp_theme_css .= '}';
$ngo_organization_tp_theme_css .= '@media screen and (max-width: 575px) {';
if ($ngo_organization_related_post == false || $ngo_organization_related_post_mob == false) {
    $ngo_organization_tp_theme_css .= '.related-post-block { display: none; }';
}
$ngo_organization_tp_theme_css .= '}';

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

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

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

//footer bg image
$ngo_organization_footer_widget_image = get_theme_mod('ngo_organization_footer_widget_image');
if($ngo_organization_footer_widget_image != false){
$ngo_organization_tp_theme_css .='#footer{';
	$ngo_organization_tp_theme_css .='background: url('.esc_attr($ngo_organization_footer_widget_image).');';
$ngo_organization_tp_theme_css .='}';
}


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

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


//related products
$ngo_organization_related_product = get_theme_mod('ngo_organization_related_product',true);
if($ngo_organization_related_product == false){
	$ngo_organization_tp_theme_css .='.related.products{';
		$ngo_organization_tp_theme_css .='display: none;';
	$ngo_organization_tp_theme_css .='}';
}


//Social icon Font size
$ngo_organization_social_icon_fontsize = get_theme_mod('ngo_organization_social_icon_fontsize');
$ngo_organization_tp_theme_css .='.media-links a i{';
	$ngo_organization_tp_theme_css .='font-size: '.esc_attr($ngo_organization_social_icon_fontsize).'px;';
$ngo_organization_tp_theme_css .='}';

//======================= slider Content layout ===================== //

$ngo_organization_slider_content_layout = get_theme_mod('ngo_organization_slider_content_layout', 'CENTER-ALIGN'); 
$ngo_organization_tp_theme_css .= '#slider .carousel-caption{';
switch ($ngo_organization_slider_content_layout) {
    case 'LEFT-ALIGN':
        $ngo_organization_tp_theme_css .= 'text-align:left;';
        break;
    case 'CENTER-ALIGN':
        $ngo_organization_tp_theme_css .= 'text-align:center;';
        break;
    case 'RIGHT-ALIGN':
        $ngo_organization_tp_theme_css .= 'text-align:right;';
        break;
    default:
        $ngo_organization_tp_theme_css .= 'text-align:left;';
        break;
}
$ngo_organization_tp_theme_css .= '}';


// Sale Tag Position (Fixed variable name conflict)
$ngo_organization_sale_position = get_theme_mod( 'ngo_organization_sale_tag_position', 'right' );
if ( $ngo_organization_sale_position == 'right' ) {
    $ngo_organization_tp_theme_css .= '.woocommerce ul.products li.product .onsale {';
    $ngo_organization_tp_theme_css .= 'right: 25px !important; left: auto !important;';
    $ngo_organization_tp_theme_css .= '}';
} elseif ( $ngo_organization_sale_position == 'left' ) {
    $ngo_organization_tp_theme_css .= '.woocommerce ul.products li.product .onsale {';
    $ngo_organization_tp_theme_css .= 'left: 25px !important; right:auto !important;';
    $ngo_organization_tp_theme_css .= '}';
}

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

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

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

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

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

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

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

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

// footer widget title font size
    $ngo_organization_footer_widget_title_font_size = get_theme_mod('ngo_organization_footer_widget_title_font_size', '');{
    $ngo_organization_tp_theme_css .='#footer h3{';
        $ngo_organization_tp_theme_css .='font-size: '.esc_attr($ngo_organization_footer_widget_title_font_size).'px;';
    $ngo_organization_tp_theme_css .='}';
    }

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

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

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

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


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

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

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

    // Slider Height
    $ngo_organization_slider_img_height      = get_theme_mod('ngo_organization_slider_img_height');
    $ngo_organization_slider_img_height_resp = get_theme_mod('ngo_organization_slider_img_height_responsive');

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

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


// footer widget letter case
$ngo_organization_footer_widget_title_text_tranform = get_theme_mod( 'ngo_organization_footer_widget_title_text_tranform','');
if($ngo_organization_footer_widget_title_text_tranform == 'Uppercase'){
$ngo_organization_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 {';
    $ngo_organization_tp_theme_css .='text-transform: uppercase;';
$ngo_organization_tp_theme_css .='}';
}else if($ngo_organization_footer_widget_title_text_tranform == 'Lowercase'){
$ngo_organization_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 {';
    $ngo_organization_tp_theme_css .='text-transform: lowercase;';
$ngo_organization_tp_theme_css .='}';
}
else if($ngo_organization_footer_widget_title_text_tranform == 'Capitalize'){
$ngo_organization_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 {';
    $ngo_organization_tp_theme_css .='text-transform: capitalize;';
$ngo_organization_tp_theme_css .='}';
}

//Footer Font Weight
$ngo_organization_footer_widget_title_font_weight = get_theme_mod( 'ngo_organization_footer_widget_title_font_weight','');
if($ngo_organization_footer_widget_title_font_weight == '100'){
$ngo_organization_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 {';
    $ngo_organization_tp_theme_css .='font-weight: 100;';
$ngo_organization_tp_theme_css .='}';
}else if($ngo_organization_footer_widget_title_font_weight == '200'){
$ngo_organization_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 {';
    $ngo_organization_tp_theme_css .='font-weight: 200;';
$ngo_organization_tp_theme_css .='}';
}else if($ngo_organization_footer_widget_title_font_weight == '300'){
$ngo_organization_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 {';
    $ngo_organization_tp_theme_css .='font-weight: 300;';
$ngo_organization_tp_theme_css .='}';
}else if($ngo_organization_footer_widget_title_font_weight == '400'){
$ngo_organization_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 {';
    $ngo_organization_tp_theme_css .='font-weight: 400;';
$ngo_organization_tp_theme_css .='}';
}else if($ngo_organization_footer_widget_title_font_weight == '500'){
$ngo_organization_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 {';
    $ngo_organization_tp_theme_css .='font-weight: 500;';
$ngo_organization_tp_theme_css .='}';
}else if($ngo_organization_footer_widget_title_font_weight == '600'){
$ngo_organization_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 {';
    $ngo_organization_tp_theme_css .='font-weight: 600;';
$ngo_organization_tp_theme_css .='}';
}else if($ngo_organization_footer_widget_title_font_weight == '700'){
$ngo_organization_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 {';
    $ngo_organization_tp_theme_css .='font-weight: 700;';
$ngo_organization_tp_theme_css .='}';
}else if($ngo_organization_footer_widget_title_font_weight == '800'){
$ngo_organization_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 {';
    $ngo_organization_tp_theme_css .='font-weight: 800;';
$ngo_organization_tp_theme_css .='}';
}else if($ngo_organization_footer_widget_title_font_weight == '900'){
$ngo_organization_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 {';
    $ngo_organization_tp_theme_css .='font-weight: 900;';
$ngo_organization_tp_theme_css .='}';
}

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