<?php

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

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

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


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

// related post
$golf_course_related_post_mob = get_theme_mod('golf_course_related_post_mob', true);
$golf_course_related_post = get_theme_mod('golf_course_remove_related_post', true);
$golf_course_tp_theme_css .= '.related-post-block {';
if ($golf_course_related_post == false) {
    $golf_course_tp_theme_css .= 'display: none;';
}
$golf_course_tp_theme_css .= '}';
$golf_course_tp_theme_css .= '@media screen and (max-width: 575px) {';
if ($golf_course_related_post == false || $golf_course_related_post_mob == false) {
    $golf_course_tp_theme_css .= '.related-post-block { display: none; }';
}
$golf_course_tp_theme_css .= '}';

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

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

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

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


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


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

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

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

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

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

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

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

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

// header
$golf_course_slider_arrows = get_theme_mod('golf_course_slider_arrows','true');
if($golf_course_slider_arrows == false){
$golf_course_tp_theme_css .='.page-template-front-page .headerbox{';
    $golf_course_tp_theme_css .='position:static; background-color:#051510;';
$golf_course_tp_theme_css .='}';
}

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

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

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

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

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

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

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

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

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

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

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


    /*------------------ Slider CSS -------------------*/
    $golf_course_slider_opacity_setting = get_theme_mod('golf_course_slider_opacity_setting', true);
    $golf_course_image_opacity_color    = get_theme_mod('golf_course_image_opacity_color', '');
    $golf_course_slider_opacity         = get_theme_mod('golf_course_slider_opacity', '0.7');

    if ($golf_course_slider_opacity_setting) {
        // Apply opacity value to slider image
        if ($golf_course_slider_opacity !== '') {
            $golf_course_tp_theme_css .= '#slider img {';
            $golf_course_tp_theme_css .= 'opacity: ' . esc_attr($golf_course_slider_opacity) . ';';
            $golf_course_tp_theme_css .= '}';
        }

        // Apply background color to slider if defined
        if ($golf_course_image_opacity_color !== '') {
            $golf_course_tp_theme_css .= '#slider {';
            $golf_course_tp_theme_css .= 'background-color: ' . esc_attr($golf_course_image_opacity_color) . ';';
            $golf_course_tp_theme_css .= '}';
        }
    } else {
        // If setting is disabled, force full opacity
        $golf_course_tp_theme_css .= '#slider img {';
        $golf_course_tp_theme_css .= 'opacity: 0.7;';
        $golf_course_tp_theme_css .= '}';
    }

    // Slider Height
    $golf_course_slider_img_height      = get_theme_mod('golf_course_slider_img_height');
    $golf_course_slider_img_height_resp = get_theme_mod('golf_course_slider_img_height_responsive');

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

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

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

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

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