<?php

$crowdfunding_nonprofit_tp_theme_css = '';

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

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

// related post
$crowdfunding_nonprofit_related_post_mob = get_theme_mod('crowdfunding_nonprofit_related_post_mob', true);
$crowdfunding_nonprofit_related_post = get_theme_mod('crowdfunding_nonprofit_remove_related_post', true);
$crowdfunding_nonprofit_tp_theme_css .= '.related-post-block {';
if ($crowdfunding_nonprofit_related_post == false) {
    $crowdfunding_nonprofit_tp_theme_css .= 'display: none;';
}
$crowdfunding_nonprofit_tp_theme_css .= '}';
$crowdfunding_nonprofit_tp_theme_css .= '@media screen and (max-width: 575px) {';
if ($crowdfunding_nonprofit_related_post == false || $crowdfunding_nonprofit_related_post_mob == false) {
    $crowdfunding_nonprofit_tp_theme_css .= '.related-post-block { display: none; }';
}
$crowdfunding_nonprofit_tp_theme_css .= '}';

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

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

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


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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    // Slider Height
    $crowdfunding_nonprofit_slider_img_height      = get_theme_mod('crowdfunding_nonprofit_slider_img_height');
    $crowdfunding_nonprofit_slider_img_height_resp = get_theme_mod('crowdfunding_nonprofit_slider_img_height_responsive');

    // Desktop height
    $crowdfunding_nonprofit_tp_theme_css .= '@media screen and (min-width: 768px) {';
    $crowdfunding_nonprofit_tp_theme_css .= '#slider {';
    if ( $crowdfunding_nonprofit_slider_img_height ) {
        $crowdfunding_nonprofit_tp_theme_css .= 'height: ' . esc_attr( $crowdfunding_nonprofit_slider_img_height ) . ';';
    }
    $crowdfunding_nonprofit_tp_theme_css .= 'width: 100%; object-fit: cover;';
    $crowdfunding_nonprofit_tp_theme_css .= '}';
    $crowdfunding_nonprofit_tp_theme_css .= '}';

    // Mobile height
    $crowdfunding_nonprofit_tp_theme_css .= '@media screen and (max-width: 767px) {';
    $crowdfunding_nonprofit_tp_theme_css .= '#slider {';
    if ( $crowdfunding_nonprofit_slider_img_height_resp ) {
        $crowdfunding_nonprofit_tp_theme_css .= 'height: ' . esc_attr( $crowdfunding_nonprofit_slider_img_height_resp ) . ' !important;';
    }
    $crowdfunding_nonprofit_tp_theme_css .= 'width: 100%; object-fit: cover;';
    $crowdfunding_nonprofit_tp_theme_css .= '}';
    $crowdfunding_nonprofit_tp_theme_css .= '}';

   // header
    $crowdfunding_nonprofit_slider_arrows = get_theme_mod('crowdfunding_nonprofit_slider_arrows', true);
    if($crowdfunding_nonprofit_slider_arrows == false){
    $crowdfunding_nonprofit_tp_theme_css .='.page-template-front-page .menubox{';
        $crowdfunding_nonprofit_tp_theme_css .='position:static; background: var(--color-primary1); margin:0;';
    $crowdfunding_nonprofit_tp_theme_css .='}';
    }

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

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

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