<?php

	$babysitter_childcare_tp_theme_css = "";

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

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

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

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

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

// related post
$babysitter_childcare_related_post_mob = get_theme_mod('babysitter_childcare_related_post_mob', true);
$babysitter_childcare_related_post = get_theme_mod('babysitter_childcare_remove_related_post', true);
$babysitter_childcare_tp_theme_css .= '.related-post-block {';
if ($babysitter_childcare_related_post == false) {
    $babysitter_childcare_tp_theme_css .= 'display: none;';
}
$babysitter_childcare_tp_theme_css .= '}';
$babysitter_childcare_tp_theme_css .= '@media screen and (max-width: 575px) {';
if ($babysitter_childcare_related_post == false || $babysitter_childcare_related_post_mob == false) {
    $babysitter_childcare_tp_theme_css .= '.related-post-block { display: none; }';
}
$babysitter_childcare_tp_theme_css .= '}';

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

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

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

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

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

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

// header
$babysitter_childcare_slider_arrows = get_theme_mod('babysitter_childcare_slider_arrows',true);
if($babysitter_childcare_slider_arrows == false){
$babysitter_childcare_tp_theme_css .='.page-template-front-page .header-main{';
	$babysitter_childcare_tp_theme_css .='position:static; background-color:#64a22d; ';
$babysitter_childcare_tp_theme_css .='}';
$babysitter_childcare_tp_theme_css .='.page-template-front-page .main-navigation a, .logo h1 a{';
	$babysitter_childcare_tp_theme_css .='color:#fff;';
$babysitter_childcare_tp_theme_css .='}';
$babysitter_childcare_tp_theme_css .='.page-template-front-page .header-btn a{';
	$babysitter_childcare_tp_theme_css .='color: #222; background-color: #fff;';
$babysitter_childcare_tp_theme_css .='}';
$babysitter_childcare_tp_theme_css .='.page-template-front-page .phone a i{';
	$babysitter_childcare_tp_theme_css .='background-color: #222; color: #fff; box-shadow: 0 10px 8px 0px rgba(34, 34, 34, 0.4);';
$babysitter_childcare_tp_theme_css .='}';
$babysitter_childcare_tp_theme_css .='.page-template-front-page .phone a,.page-template-front-page .logo h1 a, .page-template-front-page .logo p a{';
	$babysitter_childcare_tp_theme_css .='color: #fff;';
$babysitter_childcare_tp_theme_css .='}';
$babysitter_childcare_tp_theme_css .='.page-template-front-page .phone a:hover i{';
	$babysitter_childcare_tp_theme_css .='background-color: #222; color: #fff; box-shadow: 0 10px 8px 0px rgba(34, 34, 34, 0.4);';
$babysitter_childcare_tp_theme_css .='}';
$babysitter_childcare_tp_theme_css .='.page-template-front-page .phone a:hover{';
	$babysitter_childcare_tp_theme_css .='color: #222;';
$babysitter_childcare_tp_theme_css .='}';
$babysitter_childcare_tp_theme_css .='.page-template-page-template .toggle-nav i{';
	$babysitter_childcare_tp_theme_css .='background-color:#222; color:#fff;box-shadow: 0 10px 8px 0px rgba(34, 34, 34, 0.4);';
$babysitter_childcare_tp_theme_css .='}';
}

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

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

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

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

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

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

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

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


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

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

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

    // Slider Height
    $babysitter_childcare_slider_img_height      = get_theme_mod('babysitter_childcare_slider_img_height');
    $babysitter_childcare_slider_img_height_resp = get_theme_mod('babysitter_childcare_slider_img_height_responsive');

    // Desktop height
    $babysitter_childcare_tp_theme_css .= '@media screen and (min-width: 768px) {';
    $babysitter_childcare_tp_theme_css .= '.sliderimg img {';
    if ( $babysitter_childcare_slider_img_height ) {
        $babysitter_childcare_tp_theme_css .= 'height: ' . esc_attr( $babysitter_childcare_slider_img_height ) . ';';
    }
    $babysitter_childcare_tp_theme_css .= 'width: 100%; object-fit: cover;';
    $babysitter_childcare_tp_theme_css .= '}';
    $babysitter_childcare_tp_theme_css .= '}';

    // Mobile height
    $babysitter_childcare_tp_theme_css .= '@media screen and (max-width: 767px) {';
    $babysitter_childcare_tp_theme_css .= '.sliderimg img {';
    if ( $babysitter_childcare_slider_img_height_resp ) {
        $babysitter_childcare_tp_theme_css .= 'height: ' . esc_attr( $babysitter_childcare_slider_img_height_resp ) . ' !important;';
    }
    $babysitter_childcare_tp_theme_css .= 'width: 100%; object-fit: cover;';
    $babysitter_childcare_tp_theme_css .= '}';
    $babysitter_childcare_tp_theme_css .= '}';