<?php 

$chiropractor_therapy_custom_style= "";

/*---------------------------Width -------------------*/

$chiropractor_therapy_theme_width = get_theme_mod( 'chiropractor_therapy_width_options','full_width');

if($chiropractor_therapy_theme_width == 'full_width'){

$chiropractor_therapy_custom_style .='body{';

	$chiropractor_therapy_custom_style .='max-width: 100%;';

$chiropractor_therapy_custom_style .='}';

}else if($chiropractor_therapy_theme_width == 'Container'){

$chiropractor_therapy_custom_style .='body{';

	$chiropractor_therapy_custom_style .='width: 100%; padding-right: 15px; padding-left: 15px;  margin-right: auto !important; margin-left: auto !important;';

$chiropractor_therapy_custom_style .='}';

$chiropractor_therapy_custom_style .='@media screen and (min-width: 601px){';

$chiropractor_therapy_custom_style .='body{';

    $chiropractor_therapy_custom_style .='max-width: 720px;';
    
$chiropractor_therapy_custom_style .='} }';

$chiropractor_therapy_custom_style .='@media screen and (min-width: 992px){';

$chiropractor_therapy_custom_style .='body{';

    $chiropractor_therapy_custom_style .='max-width: 960px;';
    
$chiropractor_therapy_custom_style .='} }';

$chiropractor_therapy_custom_style .='@media screen and (min-width: 1200px){';

$chiropractor_therapy_custom_style .='body{';

    $chiropractor_therapy_custom_style .='max-width: 1140px;';
    
$chiropractor_therapy_custom_style .='} }';

$chiropractor_therapy_custom_style .='@media screen and (min-width: 1400px){';

$chiropractor_therapy_custom_style .='body{';

    $chiropractor_therapy_custom_style .='max-width: 1320px;';
    
$chiropractor_therapy_custom_style .='} }';

$chiropractor_therapy_custom_style .='@media screen and (max-width:600px){';

$chiropractor_therapy_custom_style .='body{';

    $chiropractor_therapy_custom_style .='max-width: 100%; padding-right:0px; padding-left: 0px';
    
$chiropractor_therapy_custom_style .='} }';

}else if($chiropractor_therapy_theme_width == 'container_fluid'){

$chiropractor_therapy_custom_style .='body{';

	$chiropractor_therapy_custom_style .='width: 100%;padding-right: 15px;padding-left: 15px;margin-right: auto;margin-left: auto;';

$chiropractor_therapy_custom_style .='}';

$chiropractor_therapy_custom_style .='@media screen and (max-width:600px){';

$chiropractor_therapy_custom_style .='body{';

    $chiropractor_therapy_custom_style .='max-width: 100%; padding-right:0px; padding-left: 0px';
    
$chiropractor_therapy_custom_style .='} }';
}

/*---------------------------text-transform-------------------*/

$chiropractor_therapy_text_transform = get_theme_mod( 'chiropractor_therapy_menu_text_transform','CAPITALISE');
if($chiropractor_therapy_text_transform == 'CAPITALISE'){

$chiropractor_therapy_custom_style .='nav#top_gb_menu ul li a{';

	$chiropractor_therapy_custom_style .='text-transform: capitalize ;';

$chiropractor_therapy_custom_style .='}';

}else if($chiropractor_therapy_text_transform == 'UPPERCASE'){

$chiropractor_therapy_custom_style .='nav#top_gb_menu ul li a{';

	$chiropractor_therapy_custom_style .='text-transform: uppercase ;';

$chiropractor_therapy_custom_style .='}';

}else if($chiropractor_therapy_text_transform == 'LOWERCASE'){

$chiropractor_therapy_custom_style .='nav#top_gb_menu ul li a{';

	$chiropractor_therapy_custom_style .='text-transform: lowercase ;';

$chiropractor_therapy_custom_style .='}';

$chiropractor_therapy_custom_style .='.gb_nav_menu li.page_item_has_children:after, .gb_nav_menu li.menu-item-has-children:after{';

	$chiropractor_therapy_custom_style .='top: 12px';

$chiropractor_therapy_custom_style .='}';
}

/*-------------------------Slider-content-alignment-------------------*/

$chiropractor_therapy_slider_content_alignment = get_theme_mod( 'chiropractor_therapy_slider_content_alignment','LEFT-ALIGN');

if($chiropractor_therapy_slider_content_alignment == 'LEFT-ALIGN'){

$chiropractor_therapy_custom_style .='.slide-inner-box{';

	$chiropractor_therapy_custom_style .='text-align:left; left: 20%; right: 50%;';

$chiropractor_therapy_custom_style .='}';

$chiropractor_therapy_custom_style .='@media screen and (max-width:1199px){';

$chiropractor_therapy_custom_style .='.slide-inner-box{';

    $chiropractor_therapy_custom_style .='right: 35%; left: 20%';
    
$chiropractor_therapy_custom_style .='} }';

$chiropractor_therapy_custom_style .='@media screen and (max-width:991px){';

$chiropractor_therapy_custom_style .='.slide-inner-box{';

    $chiropractor_therapy_custom_style .='right: 20%; left: 20%';
    
$chiropractor_therapy_custom_style .='} }';


}else if($chiropractor_therapy_slider_content_alignment == 'CENTER-ALIGN'){

$chiropractor_therapy_custom_style .='.slide-inner-box{';

	$chiropractor_therapy_custom_style .='text-align:center; left: 20%; right: 20%;';

$chiropractor_therapy_custom_style .='}';


}else if($chiropractor_therapy_slider_content_alignment == 'RIGHT-ALIGN'){

$chiropractor_therapy_custom_style .='.slide-inner-box{';

	$chiropractor_therapy_custom_style .='text-align:right; left: 50%; right: 20%;';

$chiropractor_therapy_custom_style .='}';

$chiropractor_therapy_custom_style .='@media screen and (max-width:1199px){';

$chiropractor_therapy_custom_style .='.slide-inner-box{';

    $chiropractor_therapy_custom_style .='left: 35%; right: 20%';
    
$chiropractor_therapy_custom_style .='} }';

$chiropractor_therapy_custom_style .='@media screen and (max-width:991px){';

$chiropractor_therapy_custom_style .='.slide-inner-box{';

    $chiropractor_therapy_custom_style .='left: 20%; right: 20%';
    
$chiropractor_therapy_custom_style .='} }';

}

// sticky header

if (false === get_option('chiropractor_therapy_sticky_header')) {
    add_option('chiropractor_therapy_sticky_header', 'off');
}

// Define the custom CSS based on the 'chiropractor_therapy_sticky_header' option

if (get_option('chiropractor_therapy_sticky_header', 'off') !== 'on') {
    $chiropractor_therapy_custom_style .= '.menu_wrap.fixed {';

    $chiropractor_therapy_custom_style .= 'position: static;';

    $chiropractor_therapy_custom_style .= '}';
}

if (get_option('chiropractor_therapy_sticky_header', 'off') !== 'off') {
    $chiropractor_therapy_custom_style .= '.menu_wrap.fixed {';

    $chiropractor_therapy_custom_style .= 'position: fixed; background: #fff; box-shadow: 0px 3px 10px 2px #eee;';

    $chiropractor_therapy_custom_style .= '}';

    $chiropractor_therapy_custom_style .= '.admin-bar .fixed {';

    $chiropractor_therapy_custom_style .= ' margin-top: 32px;';

    $chiropractor_therapy_custom_style .= '}';
}

/*---------------------------Scroll-top-position -------------------*/

$chiropractor_therapy_scroll_options = get_theme_mod( 'chiropractor_therapy_scroll_options','right_align');

if($chiropractor_therapy_scroll_options == 'right_align'){

$chiropractor_therapy_custom_style .='.scroll-top button{';

	$chiropractor_therapy_custom_style .='';

$chiropractor_therapy_custom_style .='}';

}else if($chiropractor_therapy_scroll_options == 'center_align'){

$chiropractor_therapy_custom_style .='.scroll-top button{';

	$chiropractor_therapy_custom_style .='right: 0; left:0; margin: 0 auto; top:85% !important';

$chiropractor_therapy_custom_style .='}';

}else if($chiropractor_therapy_scroll_options == 'left_align'){

$chiropractor_therapy_custom_style .='.scroll-top button{';

	$chiropractor_therapy_custom_style .='right: auto; left:5%; margin: 0 auto';

$chiropractor_therapy_custom_style .='}';
}

//---------------------------------------logo-width------------------------------
$chiropractor_therapy_logo_max_height = get_theme_mod('chiropractor_therapy_logo_max_height','100');

if($chiropractor_therapy_logo_max_height != false){

$chiropractor_therapy_custom_style .='.custom-logo-link img{';

	$chiropractor_therapy_custom_style .='max-height: '.esc_html($chiropractor_therapy_logo_max_height).'px;';

$chiropractor_therapy_custom_style .='}';
}

//related products
if( get_option( 'chiropractor_therapy_related_product',true) != 'on') {

$chiropractor_therapy_custom_style .='.related.products{';

	$chiropractor_therapy_custom_style .='display: none;';
	
$chiropractor_therapy_custom_style .='}';
}

if( get_option( 'chiropractor_therapy_related_product',true) != 'off') {

$chiropractor_therapy_custom_style .='.related.products{';

	$chiropractor_therapy_custom_style .='display: block;';
	
$chiropractor_therapy_custom_style .='}';
}

// footer text alignment
$chiropractor_therapy_footer_content_alignment = get_theme_mod( 'chiropractor_therapy_footer_content_alignment','CENTER-ALIGN');

if($chiropractor_therapy_footer_content_alignment == 'LEFT-ALIGN'){

$chiropractor_therapy_custom_style .='.site-info{';

	$chiropractor_therapy_custom_style .='text-align:left; padding-left: 30px;';

$chiropractor_therapy_custom_style .='}';

$chiropractor_therapy_custom_style .='.site-info a{';

	$chiropractor_therapy_custom_style .='padding-left: 30px;';

$chiropractor_therapy_custom_style .='}';


}else if($chiropractor_therapy_footer_content_alignment == 'CENTER-ALIGN'){

$chiropractor_therapy_custom_style .='.site-info{';

	$chiropractor_therapy_custom_style .='text-align:center;';

$chiropractor_therapy_custom_style .='}';


}else if($chiropractor_therapy_footer_content_alignment == 'RIGHT-ALIGN'){

$chiropractor_therapy_custom_style .='.site-info{';

	$chiropractor_therapy_custom_style .='text-align:right; padding-right: 30px;';

$chiropractor_therapy_custom_style .='}';

$chiropractor_therapy_custom_style .='.site-info a{';

	$chiropractor_therapy_custom_style .='padding-right: 30px;';

$chiropractor_therapy_custom_style .='}';

}

// scroll button
$mobile_scroll_setting = get_option('chiropractor_therapy_scroll_enable_mobile', '1');
$main_scroll_setting = get_option('chiropractor_therapy_scroll_enable', '1');

$chiropractor_therapy_custom_style .= '.scrollup {';

if ($main_scroll_setting == 'off') {
    $chiropractor_therapy_custom_style .= 'display: none;';
}

$chiropractor_therapy_custom_style .= '}';

// Add media query for mobile devices
$chiropractor_therapy_custom_style .= '@media screen and (max-width: 600px) {';
if ($main_scroll_setting == 'off' || $mobile_scroll_setting == 'off') {
    $chiropractor_therapy_custom_style .= '.scrollup { display: none; }';
}
$chiropractor_therapy_custom_style .= '}';

// theme breadcrumb
$mobile_breadcrumb_setting = get_option('chiropractor_therapy_enable_breadcrumb_mobile', '1');
$main_breadcrumb_setting = get_option('chiropractor_therapy_enable_breadcrumb', '1');

$chiropractor_therapy_custom_style .= '.archieve_breadcrumb {';

if ($main_breadcrumb_setting == 'off') {
    $chiropractor_therapy_custom_style .= 'display: none;';
}

$chiropractor_therapy_custom_style .= '}';

// Add media query for mobile devices
$chiropractor_therapy_custom_style .= '@media screen and (max-width: 600px) {';
if ($main_breadcrumb_setting == 'off' || $mobile_breadcrumb_setting == 'off') {
    $chiropractor_therapy_custom_style .= '.archieve_breadcrumb { display: none; }';
}
$chiropractor_therapy_custom_style .= '}';

// single post and page breadcrumb
$mobile_single_breadcrumb_setting = get_option('chiropractor_therapy_single_enable_breadcrumb_mobile', '1');
$main_single_breadcrumb_setting = get_option('chiropractor_therapy_single_enable_breadcrumb', '1');

$chiropractor_therapy_custom_style .= '.single_breadcrumb {';

if ($main_single_breadcrumb_setting == 'off') {
    $chiropractor_therapy_custom_style .= 'display: none;';
}

$chiropractor_therapy_custom_style .= '}';

// Add media query for mobile devices
$chiropractor_therapy_custom_style .= '@media screen and (max-width: 600px) {';
if ($main_single_breadcrumb_setting == 'off' || $mobile_single_breadcrumb_setting == 'off') {
    $chiropractor_therapy_custom_style .= '.single_breadcrumb { display: none; }';
}
$chiropractor_therapy_custom_style .= '}';

// woocommerce breadcrumb
$mobile_woo_breadcrumb_setting = get_option('chiropractor_therapy_woocommerce_enable_breadcrumb_mobile', '1');
$main_woo_breadcrumb_setting = get_option('chiropractor_therapy_woocommerce_enable_breadcrumb', '1');

$chiropractor_therapy_custom_style .= '.woocommerce-breadcrumb {';

if ($main_woo_breadcrumb_setting == 'off') {
    $chiropractor_therapy_custom_style .= 'display: none;';
}

$chiropractor_therapy_custom_style .= '}';

// Add media query for mobile devices
$chiropractor_therapy_custom_style .= '@media screen and (max-width: 600px) {';
if ($main_woo_breadcrumb_setting == 'off' || $mobile_woo_breadcrumb_setting == 'off') {
    $chiropractor_therapy_custom_style .= '.woocommerce-breadcrumb { display: none; }';
}
$chiropractor_therapy_custom_style .= '}';

//colors
$color = get_theme_mod('chiropractor_therapy_primary_color', '#03a5c1');
$color_second = get_theme_mod('chiropractor_therapy_second_color', '#ff9245');
$color_heading = get_theme_mod('chiropractor_therapy_heading_color', '#222222');
$color_text = get_theme_mod('chiropractor_therapy_text_color', '#707070');
$color_fade = get_theme_mod('chiropractor_therapy_primary_fade', '#c8ebf1');
$color_footer_bg = get_theme_mod('chiropractor_therapy_footer_bg', '#222222');
$color_post_bg = get_theme_mod('chiropractor_therapy_post_bg', '#ffffff');
$slider_overlay = get_theme_mod( 'chiropractor_therapy_slider_overlay','#222222');


$chiropractor_therapy_custom_style .= ":root {";
    $chiropractor_therapy_custom_style .= "--theme-primary-color: {$color};";
    $chiropractor_therapy_custom_style .= "--theme-second-color: {$color_second};";
    $chiropractor_therapy_custom_style .= "--theme-heading-color: {$color_heading};";
    $chiropractor_therapy_custom_style .= "--theme-text-color: {$color_text};";
    $chiropractor_therapy_custom_style .= "--theme-primary-fade: {$color_fade};";
    $chiropractor_therapy_custom_style .= "--theme-footer-color: {$color_footer_bg};";
    $chiropractor_therapy_custom_style .= "--post-bg-color: {$color_post_bg};";
    $chiropractor_therapy_custom_style .= "--slider-overlay: {$slider_overlay};";
$chiropractor_therapy_custom_style .= "}";




$chiropractor_therapy_slider_opacity = get_theme_mod( 'chiropractor_therapy_slider_opacity','0.5');

if($chiropractor_therapy_slider_opacity == '0'){
$chiropractor_therapy_custom_style .='.slide-box img {';
    $chiropractor_therapy_custom_style .='opacity: 0';
$chiropractor_therapy_custom_style .='}';

}else if($chiropractor_therapy_slider_opacity == '0.1'){
$chiropractor_therapy_custom_style .='.slide-box img {';
    $chiropractor_therapy_custom_style .='opacity: 0.1';
$chiropractor_therapy_custom_style .='}';

}else if($chiropractor_therapy_slider_opacity == '0.2'){
$chiropractor_therapy_custom_style .='.slide-box img {';
    $chiropractor_therapy_custom_style .='opacity: 0.2';
$chiropractor_therapy_custom_style .='}';

}else if($chiropractor_therapy_slider_opacity == '0.3'){
$chiropractor_therapy_custom_style .='.slide-box img {';
    $chiropractor_therapy_custom_style .='opacity: 0.3';
$chiropractor_therapy_custom_style .='}';

}else if($chiropractor_therapy_slider_opacity == '0.4'){
$chiropractor_therapy_custom_style .='.slide-box img {';
    $chiropractor_therapy_custom_style .='opacity: 0.4';
$chiropractor_therapy_custom_style .='}';

}else if($chiropractor_therapy_slider_opacity == '0.5'){
$chiropractor_therapy_custom_style .='.slide-box img {';
    $chiropractor_therapy_custom_style .='opacity: 0.5';
$chiropractor_therapy_custom_style .='}';

}else if($chiropractor_therapy_slider_opacity == '0.6'){
$chiropractor_therapy_custom_style .='.slide-box img {';
    $chiropractor_therapy_custom_style .='opacity: 0.6';
$chiropractor_therapy_custom_style .='}';

}else if($chiropractor_therapy_slider_opacity == '0.7'){
$chiropractor_therapy_custom_style .='.slide-box img {';
    $chiropractor_therapy_custom_style .='opacity: 0.7';
$chiropractor_therapy_custom_style .='}';

}else if($chiropractor_therapy_slider_opacity == '0.8'){
$chiropractor_therapy_custom_style .='.slide-box img {';
    $chiropractor_therapy_custom_style .='opacity: 0.8';
$chiropractor_therapy_custom_style .='}';

}
else if($chiropractor_therapy_slider_opacity == '0.9'){
$chiropractor_therapy_custom_style .='.slide-box img {';
    $chiropractor_therapy_custom_style .='opacity: 0.9';
$chiropractor_therapy_custom_style .='}';

}
else if($chiropractor_therapy_slider_opacity == '1'){
$chiropractor_therapy_custom_style .='.slide-box img {';
    $chiropractor_therapy_custom_style .='opacity: 1';
$chiropractor_therapy_custom_style .='}';

}

$chiropractor_therapy_slider_heading_color = get_theme_mod( 'chiropractor_therapy_slider_heading_color','#ffffff');
$chiropractor_therapy_custom_style .='h2.slider-title a {';
$chiropractor_therapy_custom_style .='color: '.esc_attr($chiropractor_therapy_slider_heading_color).';';
$chiropractor_therapy_custom_style .='}';

$chiropractor_therapy_slider_sub_heading_color = get_theme_mod( 'chiropractor_therapy_slider_sub_heading_color','#ffffff');
$chiropractor_therapy_custom_style .='.slide-inner-box h3 {';
$chiropractor_therapy_custom_style .='color: '.esc_attr($chiropractor_therapy_slider_sub_heading_color).';';
$chiropractor_therapy_custom_style .='}';

$chiropractor_therapy_slider_excerpt_color = get_theme_mod( 'chiropractor_therapy_slider_excerpt_color','#ffffff');
$chiropractor_therapy_custom_style .='.slide-inner-box p {';
$chiropractor_therapy_custom_style .='color: '.esc_attr($chiropractor_therapy_slider_excerpt_color).';';
$chiropractor_therapy_custom_style .='}';
//-------------------title-font-size----//  
$chiropractor_therapy_site_title_fontsize = get_theme_mod('chiropractor_therapy_site_title_fontsize','25');

if($chiropractor_therapy_site_title_fontsize != false){

$chiropractor_therapy_custom_style .='.chiropractor-therapy-logo h1,.site-title,.site-title a,.chiropractor-therapy-logo h1 a{';

    $chiropractor_therapy_custom_style .='font-size: '.esc_html($chiropractor_therapy_site_title_fontsize).'px;';

$chiropractor_therapy_custom_style .='}';
}

//-------------------tagline-font-size----//  
$chiropractor_therapy_site_tagline_fontsize = get_theme_mod('chiropractor_therapy_site_tagline_fontsize','15');

if($chiropractor_therapy_site_tagline_fontsize != false){

$chiropractor_therapy_custom_style .='p.site-description{';

    $chiropractor_therapy_custom_style .='font-size: '.esc_html($chiropractor_therapy_site_tagline_fontsize).'px;';

$chiropractor_therapy_custom_style .='}';
}

//-------------------menu-font-size----//  
$chiropractor_therapy_menu_fontsize = get_theme_mod('chiropractor_therapy_menu_fontsize','14');

if($chiropractor_therapy_menu_fontsize != false){

$chiropractor_therapy_custom_style .='.gb_nav_menu li a{';

    $chiropractor_therapy_custom_style .='font-size: '.esc_html($chiropractor_therapy_menu_fontsize).'px;';

$chiropractor_therapy_custom_style .='}';
}

//-------------------first-letter-capital----//
if (false === get_option('chiropractor_therapy_first_letter_capital_enable')) {
    add_option('chiropractor_therapy_first_letter_capital_enable', 'on');
}
if (get_option('chiropractor_therapy_first_letter_capital_enable') === 'off') {
    $chiropractor_therapy_custom_style .= '.entry-content > p:first-of-type:first-letter {';
    $chiropractor_therapy_custom_style .= 'font-size: 16px; float: none; line-height: unset; padding: 0;';
    $chiropractor_therapy_custom_style .= '}';
}