<?php

$psychologist_therapy_custom_css = '';


$psychologist_therapy_is_dark_mode_enabled = get_theme_mod( 'psychologist_therapy_is_dark_mode_enabled', false );

if ( $psychologist_therapy_is_dark_mode_enabled ) {

    $psychologist_therapy_custom_css .= 'body,.fixed-header,tr:nth-child(2n+2),.session_content_box,#site-navigation {';
    $psychologist_therapy_custom_css .= 'background: #000;';
    $psychologist_therapy_custom_css .= '}';

    $psychologist_therapy_custom_css .= '.topheader {';
    $psychologist_therapy_custom_css .= 'background: #000 !important;';
    $psychologist_therapy_custom_css .= '}';

	$psychologist_therapy_custom_css .= '.sticky .post-content,.offcanvas .sidebar-area li a,.offcanvas .sidebar-area li,.offcanvas .sidebar-area p{';
    $psychologist_therapy_custom_css .= 'color: #000';
    $psychologist_therapy_custom_css .= '}';

	$psychologist_therapy_custom_css .= 'h5.product-text a,#featured-product p.price,.card-header a,.comment-content.card-block p,.post-box.sticky a{';
    $psychologist_therapy_custom_css .= 'color: #000 !important';
    $psychologist_therapy_custom_css .= '}';

    $psychologist_therapy_custom_css .= '.some{';
    $psychologist_therapy_custom_css .= 'background: #fff;';
    $psychologist_therapy_custom_css .= '}';

    $psychologist_therapy_custom_css .= '.some {';
    $psychologist_therapy_custom_css .= 'background: #fff !important;';
    $psychologist_therapy_custom_css .= '}';
	

    $psychologist_therapy_custom_css .= 'body,h1,h2,h3,h4,h5,p,.main-navigation ul li a,.woocommerce .woocommerce-ordering select, .woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea,a,li.menu-item-has-children:after{';
    $psychologist_therapy_custom_css .= 'color: #fff;';
    $psychologist_therapy_custom_css .= '}';

    $psychologist_therapy_custom_css .= 'a.wc-block-components-product-name, .wc-block-components-product-name,.wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
.wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
.wc-block-components-totals-item__label,.wc-block-components-totals-item__value,
.wc-block-components-product-metadata .wc-block-components-product-metadata__description>p,
.is-medium table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__total .wc-block-components-formatted-money-amount,
.wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input,
.wc-block-components-quantity-selector .wc-block-components-quantity-selector__button,
.wc-block-components-quantity-selector,table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__quantity .wc-block-cart-item__remove-link,
.wc-block-components-product-price__value.is-discounted,del.wc-block-components-product-price__regular,.logo a,.logo span,.social-links a,.topheader a,.header-search .open-search-form i,.offcanvas-div button{';
    $psychologist_therapy_custom_css .= 'color: #fff !important;';
    $psychologist_therapy_custom_css .= '}';

	$psychologist_therapy_custom_css .= '.post-box{';
    $psychologist_therapy_custom_css .= '    border: 1px solid rgb(229 229 229 / 48%)';
    $psychologist_therapy_custom_css .= '}';
}

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

	$psychologist_therapy_text_transform = get_theme_mod( 'menu_text_transform_psychologist_therapy','UPPERCASE');

    if($psychologist_therapy_text_transform == 'CAPITALISE'){

		$psychologist_therapy_custom_css .='.main-navigation ul li a{';

			$psychologist_therapy_custom_css .='text-transform: capitalize ; font-size: 14px;';

		$psychologist_therapy_custom_css .='}';

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

		$psychologist_therapy_custom_css .='.main-navigation ul li a{';

			$psychologist_therapy_custom_css .='text-transform: uppercase ; font-size: 14px;';

		$psychologist_therapy_custom_css .='}';

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

		$psychologist_therapy_custom_css .='.main-navigation ul li a{';

			$psychologist_therapy_custom_css .='text-transform: lowercase ; font-size: 14px;';

		$psychologist_therapy_custom_css .='}';
	}

	/*---------------------------menu-zoom-------------------*/

	$psychologist_therapy_menu_zoom = get_theme_mod( 'psychologist_therapy_menu_zoom','None');

if($psychologist_therapy_menu_zoom == 'None'){

	$psychologist_therapy_custom_css .='.main-navigation ul li a{';

		$psychologist_therapy_custom_css .='';

	$psychologist_therapy_custom_css .='}';

}else if($psychologist_therapy_menu_zoom == 'Zoominn'){

	$psychologist_therapy_custom_css .='.main-navigation ul li a:hover{';

		$psychologist_therapy_custom_css .='transition: all 0.3s ease-in-out !important; transform: scale(1.2) !important; color: var(--first-color);';

	$psychologist_therapy_custom_css .='}';
}

	//--------------------------------------Theme container width------------------------------------

	$psychologist_therapy_container_width = get_theme_mod('psychologist_therapy_container_width');

	$psychologist_therapy_custom_css .='body,.fixed-header{';

		$psychologist_therapy_custom_css .='margin:0 auto; width:'.esc_attr ($psychologist_therapy_container_width).'%;';

	$psychologist_therapy_custom_css .='}';

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


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

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

		$psychologist_therapy_custom_css .='.blog_box{';

			$psychologist_therapy_custom_css .='text-align:left;';

		$psychologist_therapy_custom_css .='}';


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

		$psychologist_therapy_custom_css .='.blog_box{';

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

		$psychologist_therapy_custom_css .='}';


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

		$psychologist_therapy_custom_css .='.blog_box{';

			$psychologist_therapy_custom_css .='text-align:right;';

		$psychologist_therapy_custom_css .='}';

	}

	/*---------------------------Copyright Text alignment-------------------*/

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

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

		$psychologist_therapy_custom_css .='.copy-text p{';

			$psychologist_therapy_custom_css .='text-align:left;';

		$psychologist_therapy_custom_css .='}';


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

		$psychologist_therapy_custom_css .='.copy-text p{';

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

		$psychologist_therapy_custom_css .='}';


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

		$psychologist_therapy_custom_css .='.copy-text p{';

			$psychologist_therapy_custom_css .='text-align:right;';

		$psychologist_therapy_custom_css .='}';

	}

	/*---------------------------related Product Settings-------------------*/


$psychologist_therapy_related_product_setting = get_theme_mod('psychologist_therapy_related_product_setting',true);

	if($psychologist_therapy_related_product_setting == false){

		$psychologist_therapy_custom_css .='.related.products, .related h2{';

			$psychologist_therapy_custom_css .='display: none;';

		$psychologist_therapy_custom_css .='}';
	}

/*---------------------------Scroll to Top Alignment Settings-------------------*/

	$psychologist_therapy_scroll_top_position = get_theme_mod( 'psychologist_therapy_scroll_top_position','Right');

	if($psychologist_therapy_scroll_top_position == 'Right'){

		$psychologist_therapy_custom_css .='.scroll-up{';

			$psychologist_therapy_custom_css .='right: 20px;';

		$psychologist_therapy_custom_css .='}';

	}else if($psychologist_therapy_scroll_top_position == 'Left'){

		$psychologist_therapy_custom_css .='.scroll-up{';

			$psychologist_therapy_custom_css .='left: 20px;';

		$psychologist_therapy_custom_css .='}';

	}else if($psychologist_therapy_scroll_top_position == 'Center'){

		$psychologist_therapy_custom_css .='.scroll-up{';

			$psychologist_therapy_custom_css .='right: 50%;left: 50%;';

		$psychologist_therapy_custom_css .='}';
	}

		/*---------------------------Pagination Settings-------------------*/


$psychologist_therapy_pagination_setting = get_theme_mod('psychologist_therapy_pagination_setting',true);

	if($psychologist_therapy_pagination_setting == false){

		$psychologist_therapy_custom_css .='.nav-links{';

			$psychologist_therapy_custom_css .='display: none;';

		$psychologist_therapy_custom_css .='}';
	}

		/*--------------------------- Slider Opacity -------------------*/

	$psychologist_therapy_slider_opacity_color = get_theme_mod( 'psychologist_therapy_slider_opacity_color','0.6');

	if($psychologist_therapy_slider_opacity_color == '0'){

		$psychologist_therapy_custom_css .='.main-bg-slider img{';

			$psychologist_therapy_custom_css .='opacity:0';

		$psychologist_therapy_custom_css .='}';

		}else if($psychologist_therapy_slider_opacity_color == '0.1'){

		$psychologist_therapy_custom_css .='.main-bg-slider img{';

			$psychologist_therapy_custom_css .='opacity:0.1';

		$psychologist_therapy_custom_css .='}';

		}else if($psychologist_therapy_slider_opacity_color == '0.2'){

		$psychologist_therapy_custom_css .='.main-bg-slider img{';

			$psychologist_therapy_custom_css .='opacity:0.2';

		$psychologist_therapy_custom_css .='}';

		}else if($psychologist_therapy_slider_opacity_color == '0.3'){

		$psychologist_therapy_custom_css .='.main-bg-slider img{';

			$psychologist_therapy_custom_css .='opacity:0.3';

		$psychologist_therapy_custom_css .='}';

		}else if($psychologist_therapy_slider_opacity_color == '0.4'){

		$psychologist_therapy_custom_css .='.main-bg-slider img{';

			$psychologist_therapy_custom_css .='opacity:0.4';

		$psychologist_therapy_custom_css .='}';

		}else if($psychologist_therapy_slider_opacity_color == '0.5'){

		$psychologist_therapy_custom_css .='.main-bg-slider img{';

			$psychologist_therapy_custom_css .='opacity:0.5';

		$psychologist_therapy_custom_css .='}';

		}else if($psychologist_therapy_slider_opacity_color == '0.6'){

		$psychologist_therapy_custom_css .='.main-bg-slider img{';

			$psychologist_therapy_custom_css .='opacity:0.6';

		$psychologist_therapy_custom_css .='}';

		}else if($psychologist_therapy_slider_opacity_color == '0.7'){

		$psychologist_therapy_custom_css .='.main-bg-slider img{';

			$psychologist_therapy_custom_css .='opacity:0.7';

		$psychologist_therapy_custom_css .='}';

		}else if($psychologist_therapy_slider_opacity_color == '0.8'){

		$psychologist_therapy_custom_css .='.main-bg-slider img{';

			$psychologist_therapy_custom_css .='opacity:0.8';

		$psychologist_therapy_custom_css .='}';

		}else if($psychologist_therapy_slider_opacity_color == '0.9'){

		$psychologist_therapy_custom_css .='.main-bg-slider img{';

			$psychologist_therapy_custom_css .='opacity:0.9';

		$psychologist_therapy_custom_css .='}';

		}else if($psychologist_therapy_slider_opacity_color == 'unset'){

		$psychologist_therapy_custom_css .='.main-bg-slider img{';

			$psychologist_therapy_custom_css .='opacity:unset';

		$psychologist_therapy_custom_css .='}';

		}

		/*---------------------------Woocommerce Pagination Alignment Settings-------------------*/

	$psychologist_therapy_woocommerce_pagination_position = get_theme_mod( 'psychologist_therapy_woocommerce_pagination_position','Center');

	if($psychologist_therapy_woocommerce_pagination_position == 'Left'){

		$psychologist_therapy_custom_css .='.woocommerce nav.woocommerce-pagination{';

			$psychologist_therapy_custom_css .='text-align: left;';

		$psychologist_therapy_custom_css .='}';

	}else if($psychologist_therapy_woocommerce_pagination_position == 'Center'){

		$psychologist_therapy_custom_css .='.woocommerce nav.woocommerce-pagination{';

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

		$psychologist_therapy_custom_css .='}';

	}else if($psychologist_therapy_woocommerce_pagination_position == 'Right'){

		$psychologist_therapy_custom_css .='.woocommerce nav.woocommerce-pagination{';

			$psychologist_therapy_custom_css .='text-align: right;';

		$psychologist_therapy_custom_css .='}';
	}

/*---------------------------Global Color-------------------*/

$psychologist_therapy_first_color = get_theme_mod('psychologist_therapy_first_color');
$psychologist_therapy_second_color = get_theme_mod('psychologist_therapy_second_color');

/*--- First Global Color ---*/

if ($psychologist_therapy_first_color) {
  $psychologist_therapy_custom_css .= ':root {';
  $psychologist_therapy_custom_css .= '--first-color: ' . esc_attr($psychologist_therapy_first_color) . ' !important;';
  $psychologist_therapy_custom_css .= '} ';
}

/*--- Second Global Color ---*/

if ($psychologist_therapy_second_color) {
  $psychologist_therapy_custom_css .= ':root {';
  $psychologist_therapy_custom_css .= '--second-color: ' . esc_attr($psychologist_therapy_second_color) . ' !important;';
  $psychologist_therapy_custom_css .= '} ';
}