<?php

	$event_management_first_color = get_theme_mod('event_management_first_color');
	$event_management_second_color = get_theme_mod('event_management_second_color');
	$event_management_custom_css ='';

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

	if ($event_management_first_color) {
		$event_management_custom_css .= ':root {';
		$event_management_custom_css .= '--first-theme-color: ' . esc_attr($event_management_first_color) . ' !important;';
		$event_management_custom_css .= '} ';
	}

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

	if ($event_management_second_color) {
		$event_management_custom_css .= ':root {';
		$event_management_custom_css .= '--second-theme-color: ' . esc_attr($event_management_second_color) . ' !important;';
		$event_management_custom_css .= '} ';
	}

	/*---------------------------Width Layout -------------------*/
	$event_management_theme_lay = get_theme_mod( 'event_management_width_layout_options','Default');
    if($event_management_theme_lay == 'Default'){
		$event_management_custom_css .='body{';
			$event_management_custom_css .='max-width: 100%;';
		$event_management_custom_css .='}';
	}else if($event_management_theme_lay == 'Container Layout'){
		$event_management_custom_css .='body{';
			$event_management_custom_css .='width: 100%;padding-right: 15px;padding-left: 15px;margin-right: auto;margin-left: auto;';
		$event_management_custom_css .='}';
	}else if($event_management_theme_lay == 'Box Layout'){
		$event_management_custom_css .='body{';
			$event_management_custom_css .='max-width: 1140px; width: 100%; padding-right: 15px; padding-left: 15px; margin-right: auto; margin-left: auto;';
		$event_management_custom_css .='}';
	}

	/*---------------------------Slider Content Layout -------------------*/
	$event_management_theme_lay = get_theme_mod( 'event_management_slider_content_layout','Left');
    if($event_management_theme_lay == 'Left'){
		$event_management_custom_css .='#slider .carousel-caption, #slider .inner_carousel, #slider .inner_carousel h1, #slider .inner_carousel p, #slider .more-btn {';
			$event_management_custom_css .='text-align:left;';
		$event_management_custom_css .='}';
	}else if($event_management_theme_lay == 'Center'){
		$event_management_custom_css .='#slider .carousel-caption, #slider .inner_carousel, #slider .inner_carousel h1, #slider .inner_carousel p, #slider .more-btn{';
			$event_management_custom_css .='text-align:center;';
		$event_management_custom_css .='}';
	}else if($event_management_theme_lay == 'Right'){
		$event_management_custom_css .='#slider .carousel-caption, #slider .inner_carousel, #slider .inner_carousel h1, #slider .inner_carousel p, #slider .more-btn {';
			$event_management_custom_css .='text-align:right;';
		$event_management_custom_css .='}';
	}

	/*------------ Slider Opacity -------------------*/
	$event_management_theme_lay = get_theme_mod( 'event_management_slider_opacity','0.4');
	if($event_management_theme_lay == '0'){
	$event_management_custom_css .='#slider .slider-bg img{';
		$event_management_custom_css .='opacity:0';
	$event_management_custom_css .='}';
	}else if($event_management_theme_lay == '0.1'){
	$event_management_custom_css .='#slider .slider-bg img{';
		$event_management_custom_css .='opacity:0.1';
	$event_management_custom_css .='}';
	}else if($event_management_theme_lay == '0.2'){
	$event_management_custom_css .='#slider .slider-bg img{';
		$event_management_custom_css .='opacity:0.2';
	$event_management_custom_css .='}';
	}else if($event_management_theme_lay == '0.3'){
	$event_management_custom_css .='#slider .slider-bg img{';
		$event_management_custom_css .='opacity:0.3';
	$event_management_custom_css .='}';
	}else if($event_management_theme_lay == '0.4'){
	$event_management_custom_css .='#slider .slider-bg img{';
		$event_management_custom_css .='opacity:0.4';
	$event_management_custom_css .='}';
	}else if($event_management_theme_lay == '0.5'){
	$event_management_custom_css .='#slider .slider-bg img{';
		$event_management_custom_css .='opacity:0.5';
	$event_management_custom_css .='}';
	}else if($event_management_theme_lay == '0.6'){
	$event_management_custom_css .='#slider .slider-bg img{';
		$event_management_custom_css .='opacity:0.6';
	$event_management_custom_css .='}';
	}else if($event_management_theme_lay == '0.7'){
	$event_management_custom_css .='#slider .slider-bg img{';
		$event_management_custom_css .='opacity:0.7';
	$event_management_custom_css .='}';
	}else if($event_management_theme_lay == '0.8'){
	$event_management_custom_css .='#slider .slider-bg img{';
		$event_management_custom_css .='opacity:0.8';
	$event_management_custom_css .='}';
	}else if($event_management_theme_lay == '0.9'){
	$event_management_custom_css .='#slider .slider-bg img{';
		$event_management_custom_css .='opacity:0.9';
	$event_management_custom_css .='}';
	}

	//slider heading color
	$event_management_slider_heading_text_color = get_theme_mod('event_management_slider_heading_text_color');
	$event_management_custom_css .='#slider .inner_carousel h1{';
		$event_management_custom_css .='color: '.esc_attr($event_management_slider_heading_text_color).';';
	$event_management_custom_css .='}';

	//slider text color
	$event_management_slider_text_color = get_theme_mod('event_management_slider_text_color');
	$event_management_custom_css .='#slider .inner_carousel p{';
		$event_management_custom_css .='color: '.esc_attr($event_management_slider_text_color).';';
	$event_management_custom_css .='}';

	//slider button text color
	$event_management_slider_btn_text_color = get_theme_mod('event_management_slider_btn_text_color');
	$event_management_custom_css .='#slider .more-btn a{';
		$event_management_custom_css .='color: '.esc_attr($event_management_slider_btn_text_color).';';
	$event_management_custom_css .='}';

	//slider button bg color
	$event_management_slider_btn_bg_color = get_theme_mod('event_management_slider_btn_bg_color');
	$event_management_custom_css .='#slider .more-btn a{';
		$event_management_custom_css .='background-color: '.esc_attr($event_management_slider_btn_bg_color).';';
	$event_management_custom_css .='}';

	/*-------------- Footer Text -------------------*/
	$event_management_footer_text_align = get_theme_mod('event_management_footer_text_align');
	$event_management_custom_css .='.copyright-wrapper{';
		$event_management_custom_css .='text-align: '.esc_attr($event_management_footer_text_align).';';
	$event_management_custom_css .='}';
	$event_management_custom_css .='
	@media screen and (max-width:575px) {
		.copyright-wrapper{';
			$event_management_custom_css .='text-align: center;'.esc_attr($event_management_footer_text_align).'';
	$event_management_custom_css .='} }';

	$event_management_footer_text_padding = get_theme_mod('event_management_footer_text_padding');
	$event_management_custom_css .='.copyright-wrapper{';
		$event_management_custom_css .='padding-top: '.esc_attr($event_management_footer_text_padding).'px !important; padding-bottom: '.esc_attr($event_management_footer_text_padding).'px !important;';
	$event_management_custom_css .='}';

	$event_management_footer_bg_color = get_theme_mod('event_management_footer_bg_color');
	$event_management_custom_css .='.footer-wp{';
		$event_management_custom_css .='background-color: '.esc_attr($event_management_footer_bg_color).';';
	$event_management_custom_css .='}';

	$event_management_footer_bg_image = get_theme_mod('event_management_footer_bg_image');
	if($event_management_footer_bg_image != false){
		$event_management_custom_css .='.footer-wp{';
			$event_management_custom_css .='background: url('.esc_attr($event_management_footer_bg_image).'); background-size: cover;';
		$event_management_custom_css .='}';
	}

	// Footer Attatchment
	$event_management_theme_lay = get_theme_mod( 'event_management_footer_attatchment','scroll');
	if($event_management_theme_lay == 'fixed'){
		$event_management_custom_css .='.footer-wp{';
			$event_management_custom_css .='background-attachment: fixed;';
		$event_management_custom_css .='}';
	}elseif ($event_management_theme_lay == 'scroll'){
		$event_management_custom_css .='.footer-wp{';
			$event_management_custom_css .='background-attachment: scroll;';
		$event_management_custom_css .='}';
	}


    // footer image position
	$event_management_footer_img_position = get_theme_mod('event_management_footer_img_position','center center');
	if($event_management_footer_img_position != false){
		$event_management_custom_css .='.footer-wp{';
			$event_management_custom_css .='background-position: '.esc_attr($event_management_footer_img_position).'!important;';
		$event_management_custom_css .='}';
	}	

	// footer heading font size
	$event_management_footer_heading_font_size = get_theme_mod('event_management_footer_heading_font_size');
	$event_management_custom_css .='.footer-wp h3{';
		$event_management_custom_css .='font-size: '.esc_attr($event_management_footer_heading_font_size).'px;';
	$event_management_custom_css .='}';

	$event_management_theme_lay = get_theme_mod( 'event_management_footer_text_tranform','Capitalize');
    if($event_management_theme_lay == 'Uppercase'){
		$event_management_custom_css .='.footer-wp h3{';
			$event_management_custom_css .='text-transform: Uppercase;';
		$event_management_custom_css .='}';
	}else if($event_management_theme_lay == 'Lowercase'){
		$event_management_custom_css .='.footer-wp h3{';
			$event_management_custom_css .='text-transform: Lowercase;';
		$event_management_custom_css .='}';
	}
	else if($event_management_theme_lay == 'Capitalize'){
		$event_management_custom_css .='.footer-wp h3{';
			$event_management_custom_css .='text-transform: Capitalize;';
		$event_management_custom_css .='}';
	}

	// letter spacing
	$event_management_footer_heading_letter_spacing = get_theme_mod('event_management_footer_heading_letter_spacing',1);
	$event_management_custom_css .='.footer-wp h3{';
	$event_management_custom_css .='letter-spacing: '.esc_attr($event_management_footer_heading_letter_spacing).'px;';
	$event_management_custom_css .='}';

	$event_management_footer_heading_font_weight = get_theme_mod( 'event_management_footer_heading_font_weight','500');
	if($event_management_footer_heading_font_weight != ''){
		$event_management_custom_css .='.footer-wp h3{';
			$event_management_custom_css .='font-weight: '.esc_attr($event_management_footer_heading_font_weight).';';
		$event_management_custom_css .='}';
	}

	// footer padding
	$event_management_footer_padding = get_theme_mod('event_management_footer_padding');
	$event_management_custom_css .='.footer-wp{';
		$event_management_custom_css .='padding: '.esc_attr($event_management_footer_padding).'px;';
	$event_management_custom_css .='}';

	$event_management_copyright_text_font_size = get_theme_mod('event_management_copyright_text_font_size', 15);
	$event_management_custom_css .='.copyright-wrapper p, .copyright-wrapper a{';
		$event_management_custom_css .='font-size: '.esc_attr($event_management_copyright_text_font_size).'px;';
	$event_management_custom_css .='}';

	$event_management_footer_heading = get_theme_mod( 'event_management_footer_heading','Left');
    if($event_management_footer_heading == 'Left'){
		$event_management_custom_css .='.footer-wp h3, .footer-wp .wp-block-search .wp-block-search__label{';
		$event_management_custom_css .='text-align: left;';
		$event_management_custom_css .='}';
	}else if($event_management_footer_heading == 'Center'){
		$event_management_custom_css .='.footer-wp h3, .footer-wp .wp-block-search .wp-block-search__label{';
			$event_management_custom_css .='text-align: center;';
		$event_management_custom_css .='}';
		$event_management_custom_css .='.footer-wp h3:after, .footer-wp .wp-block-heading:after{';
			$event_management_custom_css .='margin: 7px auto;';
		$event_management_custom_css .='}';
		$event_management_custom_css .='
		@media screen and (max-width:767px) {
			.footer-wp h3, .footer-wp .wp-block-search .wp-block-search__label{';
				$event_management_custom_css .='text-align: left;';
				$event_management_custom_css .='}
			.footer-wp h3:after, .footer-wp .wp-block-heading:after{';
				$event_management_custom_css .='margin: 7px 0 0;';
				$event_management_custom_css .='} }';
	}else if($event_management_footer_heading == 'Right'){
		$event_management_custom_css .='.footer-wp h3, .footer-wp .wp-block-search .wp-block-search__label{';
			$event_management_custom_css .='text-align: right; padding-bottom: 25px;';
		$event_management_custom_css .='}';
		$event_management_custom_css .='.footer-wp .widget, .footer-wp aside{';
			$event_management_custom_css .='position: relative;';
		$event_management_custom_css .='}';
		$event_management_custom_css .='.footer-wp h3:after, .footer-wp .wp-block-heading:after{';
			$event_management_custom_css .='position: absolute; right: 0;';
		$event_management_custom_css .='}';
		$event_management_custom_css .='
		@media screen and (max-width:767px) {
			.footer-wp h3, .footer-wp .wp-block-search .wp-block-search__label{';
				$event_management_custom_css .='text-align: left;';
				$event_management_custom_css .='}
			.footer-wp h3:after, .footer-wp .wp-block-heading:after{';
				$event_management_custom_css .='left: 0;';
				$event_management_custom_css .='} }';
	}

	$event_management_footer_content = get_theme_mod( 'event_management_footer_content','Left');
    if($event_management_footer_content == 'Left'){
		$event_management_custom_css .='.footer-wp .widget,.footer-wp caption{';
		$event_management_custom_css .='text-align: left;';
		$event_management_custom_css .='}';
	}else if($event_management_footer_content == 'Center'){
		$event_management_custom_css .='.footer-wp .widget,.footer-wp caption{';
			$event_management_custom_css .='text-align: center;';
		$event_management_custom_css .='}';
		$event_management_custom_css .='
		@media screen and (max-width:767px) {
			.footer-wp .widget,.footer-wp caption{';
				$event_management_custom_css .='text-align: left;';
				$event_management_custom_css .='} }';
	}else if($event_management_footer_content == 'Right'){
		$event_management_custom_css .='.footer-wp .widget,.footer-wp caption{';
			$event_management_custom_css .='text-align: right;';
		$event_management_custom_css .='}';
		$event_management_custom_css .='
		@media screen and (max-width:767px) {
			.footer-wp .widget,.footer-wp caption{';
				$event_management_custom_css .='text-align: left;';
				$event_management_custom_css .='} }';
	}

   //Footer Style 
	$event_management_theme_lay = get_theme_mod( 'event_management_footer_template','event_management-footer-one');
    if($event_management_theme_lay == 'event_management-footer-one'){
		$event_management_custom_css .='.footer-wp{';
			$event_management_custom_css .='';
		$event_management_custom_css .='}';

	}else if($event_management_theme_lay == 'event_management-footer-two'){
		$event_management_custom_css .='.footer-wp {';
			$event_management_custom_css .='background: #E3F2FD !important;';
		$event_management_custom_css .='}';
		$event_management_custom_css .='.footer-wp p,.footer-wp span,.footer-wp li a,.footer-wp #wp-calendar caption,.footer-wp #wp-calendar td,.footer-wp #wp-calendar th, .footer-wp, .footer-wp h3, .footer-wp a.rsswidget, .footer-wp #wp-calendar a, .copyright a, .footer-wp .custom_details, .footer-wp ins span, .footer-wp .tagcloud a, .main-inner-box span.entry-date a, nav.woocommerce-MyAccount-navigation ul li:hover a, .footer-wp ul li a, .footer-wp table, .footer-wp th, .footer-wp td, .footer-wp caption, #sidebar caption,.footer-wp nav.wp-calendar-nav a,.footer-wp .search-form .search-field, .footer-wp .rssSummary, .footer-wp ul li{';
			$event_management_custom_css .='color:#000 !important;';
		$event_management_custom_css .='}';
		$event_management_custom_css .='.footer-wp p{';
			$event_management_custom_css .='color:#000 !important;';
		$event_management_custom_css .='}';
		$event_management_custom_css .='.footer-wp ul li::before{';
			$event_management_custom_css .='background:#000;';
		$event_management_custom_css .='}';
		$event_management_custom_css .='.footer-wp table, .footer-wp th, .footer-wp td,.footer-wp.search-form .search-field,.footer-wp .tagcloud a{';
			$event_management_custom_css .='border: 1px solid #000;';
		$event_management_custom_css .='}';

	}else if($event_management_theme_lay == 'event_management-footer-three'){
		$event_management_custom_css .='.footer-wp {';
			$event_management_custom_css .='background: #0A0A1F !important;;';
		$event_management_custom_css .='}';
	}
	else if($event_management_theme_lay == 'event_management-footer-four'){
		$event_management_custom_css .='.footer-wp {';
			$event_management_custom_css .='background: #F5F5DC !important;;';
		$event_management_custom_css .='}';
		$event_management_custom_css .='.footer-wp p,.footer-wp span,.footer-wp li a,.footer-wp #wp-calendar caption,.footer-wp #wp-calendar td,.footer-wp #wp-calendar th, .footer-wp, .footer-wp h3, .footer-wp a.rsswidget, .footer-wp #wp-calendar a, .copyright a, .footer-wp .custom_details, .footer-wp ins span, .footer-wp .tagcloud a, .main-inner-box span.entry-date a, nav.woocommerce-MyAccount-navigation ul li:hover a, .footer-wp ul li a, .footer-wp table, .footer-wp th, .footer-wp td, .footer-wp caption, #sidebar caption,.footer-wp nav.wp-calendar-nav a,.footer-wp .search-form .search-field, .footer-wp .rssSummary, .footer-wp ul li{';
			$event_management_custom_css .='color:#000 !important;';
		$event_management_custom_css .='}';
		$event_management_custom_css .='.footer-wp p{';
			$event_management_custom_css .='color:#000 !important;';
		$event_management_custom_css .='}';
		$event_management_custom_css .='.footer-wp ul li::before{';
			$event_management_custom_css .='background:#000;';
		$event_management_custom_css .='}';
		$event_management_custom_css .='.footer-wp table, .footer-wp th, .footer-wp td,.footer-wp.search-form .search-field,.footer-wp .tagcloud a{';
			$event_management_custom_css .='border: 1px solid #000;';
		$event_management_custom_css .='}';
	}
    else if($event_management_theme_lay == 'event_management-footer-five'){
	$event_management_custom_css .='.footer-wp {';
		$event_management_custom_css .='background: #333333 !important;;';
	$event_management_custom_css .='}';
   }	

	//Footer Social Icon Alignment
	$event_management_footer_icon_alignment = get_theme_mod( 'event_management_footer_icon_alignment','center');
    if($event_management_footer_icon_alignment == 'left'){
		$event_management_custom_css .='footer .socialicons{';
			$event_management_custom_css .='text-align:left !important;';
		$event_management_custom_css .='}';
	}else if($event_management_footer_icon_alignment == 'center'){
		$event_management_custom_css .='footer .socialicons{';
			$event_management_custom_css .='text-align:center !important;';
		$event_management_custom_css .='}';
	}else if($event_management_footer_icon_alignment == 'right'){
		$event_management_custom_css .='footer .socialicons{';
			$event_management_custom_css .='text-align:right !important;';
		$event_management_custom_css .='}';
	}	   

	//Footer icon color
	$event_management_footer_icon_color_option = get_theme_mod('event_management_footer_icon_color_option');
	$event_management_custom_css .='footer .socialicons a{';
			$event_management_custom_css .='color: '.esc_attr($event_management_footer_icon_color_option).' !important;';
	$event_management_custom_css .='}'; 
	
	//Footer Social Icon Top Bottom padding 
	$event_management_footer_icon_to_top_padding = get_theme_mod('event_management_footer_icon_to_top_padding');
	$event_management_custom_css .='footer .socialicons a i{';
	$event_management_custom_css .='padding-top: '.esc_attr($event_management_footer_icon_to_top_padding).'px;!important;';
	$event_management_custom_css .='padding-bottom: '.esc_attr($event_management_footer_icon_to_top_padding).'px;!important;';
	$event_management_custom_css .='}';

	//Social icon color
	$event_management_social_icon_color = get_theme_mod('event_management_social_icon_color');
	$event_management_custom_css .='.social-icons i{';
			$event_management_custom_css .='color: '.esc_attr($event_management_social_icon_color).' !important;';
	$event_management_custom_css .='}';  	

	/*------------- Back to Top  -------------------*/
	$event_management_back_to_top_border_radius = get_theme_mod('event_management_back_to_top_border_radius');
	$event_management_custom_css .='#scrollbutton i{';
		$event_management_custom_css .='border-radius: '.esc_attr($event_management_back_to_top_border_radius).'px;';
	$event_management_custom_css .='}';

	$event_management_scroll_icon_font_size = get_theme_mod('event_management_scroll_icon_font_size', 22);
	$event_management_custom_css .='#scrollbutton i{';
		$event_management_custom_css .='font-size: '.esc_attr($event_management_scroll_icon_font_size).'px;';
	$event_management_custom_css .='}';

	// back to top icon color
	$event_management_scroll_icon_color = get_theme_mod('event_management_scroll_icon_color');
	if($event_management_scroll_icon_color != false){
		$event_management_custom_css .='#scrollbutton i{';
			$event_management_custom_css .='color: '.esc_attr($event_management_scroll_icon_color).';';
		$event_management_custom_css .='}';
	}

	// back to top icon hover color
	$event_management_scroll_icon_hover_color = get_theme_mod('event_management_scroll_icon_hover_color');
	if($event_management_scroll_icon_hover_color != false){
		$event_management_custom_css .='#scrollbutton i:hover{';
			$event_management_custom_css .='color: '.esc_attr($event_management_scroll_icon_hover_color).';';
		$event_management_custom_css .='}';
	}

	// back to top bg color
	$event_management_scroll_icon_bg_color = get_theme_mod('event_management_scroll_icon_bg_color');
	if($event_management_scroll_icon_bg_color != false){
		$event_management_custom_css .='#scrollbutton i{';
			$event_management_custom_css .='background-color: '.esc_attr($event_management_scroll_icon_bg_color).';';
			$event_management_custom_css .='border-color: '.esc_attr($event_management_scroll_icon_bg_color).';';
		$event_management_custom_css .='}';
	}

	// back to top bg hover color
	$event_management_scroll_icon_bg_hover_color = get_theme_mod('event_management_scroll_icon_bg_hover_color');
	if($event_management_scroll_icon_bg_hover_color != false){
		$event_management_custom_css .='#scrollbutton i:hover{';
			$event_management_custom_css .='background-color: '.esc_attr($event_management_scroll_icon_bg_hover_color).';';
			$event_management_custom_css .='border-color: '.esc_attr($event_management_scroll_icon_bg_hover_color).';';
		$event_management_custom_css .='}';
	}

	$event_management_top_bottom_scroll_padding = get_theme_mod('event_management_top_bottom_scroll_padding', 12);
	$event_management_custom_css .='#scrollbutton i{';
		$event_management_custom_css .='padding-top: '.esc_attr($event_management_top_bottom_scroll_padding).'px; padding-bottom: '.esc_attr($event_management_top_bottom_scroll_padding).'px;';
	$event_management_custom_css .='}';

	$event_management_left_right_scroll_padding = get_theme_mod('event_management_left_right_scroll_padding', 17);
	$event_management_custom_css .='#scrollbutton i{';
		$event_management_custom_css .='padding-left: '.esc_attr($event_management_left_right_scroll_padding).'px; padding-right: '.esc_attr($event_management_left_right_scroll_padding).'px;';
	$event_management_custom_css .='}';

	//First Cap
	$event_management_show_first_caps = get_theme_mod('event_management_show_first_caps', 'false');
	if($event_management_show_first_caps == 'true' ){
	$event_management_custom_css .='.blog-section .mainbox .new-text p:nth-of-type(1)::first-letter{';
	$event_management_custom_css .=' font-size: 55px; font-weight: 600;';
	$event_management_custom_css .=' margin-right: 6px;';
	$event_management_custom_css .=' line-height: 1;';
	$event_management_custom_css .='}';
	}elseif($event_management_show_first_caps == 'false' ){
	$event_management_custom_css .='.blog-section .mainbox .new-text p:nth-of-type(1)::first-letter {';
	$event_management_custom_css .='display: none;';
	$event_management_custom_css .='}';
	}

	/*-------------- Post Button  -------------------*/

	$event_management_btn_font_size_option = get_theme_mod('event_management_btn_font_size_option');
	$event_management_custom_css .='.postbtn a{';
		$event_management_custom_css .='font-size: '.esc_attr($event_management_btn_font_size_option).'px !important;';
	$event_management_custom_css .='}';

	$event_management_theme_lay = get_theme_mod( 'event_management_transform_button_text','Capitalize');
    if($event_management_theme_lay == 'Uppercase'){
		$event_management_custom_css .='.postbtn a{';
			$event_management_custom_css .='text-transform: Uppercase;';
		$event_management_custom_css .='}';
	}else if($event_management_theme_lay == 'Lowercase'){
		$event_management_custom_css .='.postbtn a{';
			$event_management_custom_css .='text-transform: lowercase;';
		$event_management_custom_css .='}';
	}
	else if($event_management_theme_lay == 'Capitalize'){
		$event_management_custom_css .='.postbtn a{';
			$event_management_custom_css .='text-transform: Capitalize;';
		$event_management_custom_css .='}';
	}

	// button font weight
	$event_management_button_font_weight = get_theme_mod( 'event_management_button_font_weight','700');
	if($event_management_button_font_weight != ''){
		$event_management_custom_css .='.postbtn a{';
			$event_management_custom_css .='font-weight: '.esc_attr($event_management_button_font_weight).';';
		$event_management_custom_css .='}';
	}

	//Button hover effect
	$event_management_button_hover_effect = get_theme_mod('event_management_button_hover_effect', 'disable');
	if ($event_management_button_hover_effect !== 'disable') {
		$event_management_custom_css .= '.postbtn a:hover {';
		switch ($event_management_button_hover_effect) {
			case 'pulse':
				$event_management_custom_css .= 'animation: pulse 0.5s ease-in-out;';
				break;
			case 'rubberBand':
				$event_management_custom_css .= 'animation: rubberBand 0.5s ease-in-out;';
				break;
			case 'swing':
				$event_management_custom_css .= 'animation: swing 0.5s ease-in-out;';
				break;
			case 'tada':
				$event_management_custom_css .= 'animation: tada 0.5s ease-in-out;';
				break;
			case 'jello':
				$event_management_custom_css .= 'animation: jello 0.5s ease-in-out;';
				break;
		}
		$event_management_custom_css .= '}';
	}

	//keyframes for all animations
	$event_management_custom_css .= '
	@keyframes pulse {
		0% { transform: scale(1); }
		50% { transform: scale(1.1); }
		100% { transform: scale(1); }
	}

	@keyframes rubberBand {
		0% { transform: scale(1); }
		30% { transform: scaleX(1.25) scaleY(0.75); }
		40% { transform: scaleX(0.75) scaleY(1.25); }
		50% { transform: scale(1); }
	}

	@keyframes swing {
		20% { transform: rotate(15deg); }
		40% { transform: rotate(-10deg); }
		60% { transform: rotate(5deg); }
		80% { transform: rotate(-5deg); }
		100% { transform: rotate(0deg); }
	}

	@keyframes tada {
		0% { transform: scale(1); }
		10%, 20% { transform: scale(0.9) rotate(-3deg); }
		30%, 50%, 70%, 90% { transform: scale(1.1) rotate(3deg); }
		40%, 60%, 80% { transform: scale(1.1) rotate(-3deg); }
		100% { transform: scale(1) rotate(0); }
	}

	@keyframes jello {
		0%, 11.1%, 100% { transform: none; }
		22.2% { transform: skewX(-12.5deg) skewY(-12.5deg); }
		33.3% { transform: skewX(6.25deg) skewY(6.25deg); }
		44.4% { transform: skewX(-3.125deg) skewY(-3.125deg); }
		55.5% { transform: skewX(1.5625deg) skewY(1.5625deg); }
		66.6% { transform: skewX(-0.78125deg) skewY(-0.78125deg); }
		77.7% { transform: skewX(0.390625deg) skewY(0.390625deg); }
		88.8% { transform: skewX(-0.1953125deg) skewY(-0.1953125deg); }
	}';

	// button letter spacing
	$event_management_button_letter_spacing = get_theme_mod('event_management_button_letter_spacing', '0');
	$event_management_custom_css .='.postbtn a {';
		$event_management_custom_css .='letter-spacing: '.esc_attr($event_management_button_letter_spacing).'px;';
	$event_management_custom_css .='}';	
	
	//Button Shape
	$event_management_btn_shape = get_theme_mod('event_management_btn_shape', 'Pill');
	if($event_management_btn_shape == 'Square' ){
		$event_management_custom_css .='.inner-service .mainbox .postbtn a{';
			$event_management_custom_css .=' border-radius: 0';
		$event_management_custom_css .='}';
	}elseif($event_management_btn_shape == 'Round' ){
		$event_management_custom_css .='.inner-service .mainbox .postbtn a{';
			$event_management_custom_css .=' border-radius: .3em';
		$event_management_custom_css .='}';
	}elseif($event_management_btn_shape == 'Pill' ){
		$event_management_custom_css .='.inner-service .mainbox .postbtn a{';
			$event_management_custom_css .=' border-radius: 2em;';
		$event_management_custom_css .='}';
	}

	$event_management_post_button_padding_top = get_theme_mod('event_management_post_button_padding_top');
	$event_management_custom_css .='.postbtn a, #comments input[type="submit"].submit{';
		$event_management_custom_css .='padding-top: '.esc_attr($event_management_post_button_padding_top).'px; padding-bottom: '.esc_attr($event_management_post_button_padding_top).'px;';
	$event_management_custom_css .='}';

	$event_management_post_button_padding_right = get_theme_mod('event_management_post_button_padding_right');
	$event_management_custom_css .='.postbtn a, #comments input[type="submit"].submit{';
		$event_management_custom_css .='padding-left: '.esc_attr($event_management_post_button_padding_right).'px; padding-right: '.esc_attr($event_management_post_button_padding_right).'px;';
	$event_management_custom_css .='}';

	$event_management_post_button_border_radius = get_theme_mod('event_management_post_button_border_radius');
	$event_management_custom_css .='.postbtn a, #comments input[type="submit"].submit{';
		$event_management_custom_css .='border-radius: '.esc_attr($event_management_post_button_border_radius).'px;';
	$event_management_custom_css .='}';

	$event_management_post_comment_enable = get_theme_mod('event_management_post_comment_enable',true);
	if($event_management_post_comment_enable == false){
		$event_management_custom_css .='#comments{';
			$event_management_custom_css .='display: none;';
		$event_management_custom_css .='}';
	}

	// preloader background image
	$event_management_preloader_bg_image = get_theme_mod('event_management_preloader_bg_image');
	if($event_management_preloader_bg_image != false){
		$event_management_custom_css .='.frame{';
			$event_management_custom_css .='background: url('.esc_attr($event_management_preloader_bg_image).'); background-size: cover;';
		$event_management_custom_css .='}';
	}

	/*----------- Preloader Color Option  ----------------*/
	$event_management_preloader_bg_color_option = get_theme_mod('event_management_preloader_bg_color_option');
	$event_management_preloader_icon_color_option = get_theme_mod('event_management_preloader_icon_color_option');
	$event_management_custom_css .='.frame{';
		$event_management_custom_css .='background-color: '.esc_attr($event_management_preloader_bg_color_option).';';
	$event_management_custom_css .='}';
	$event_management_custom_css .='.dot-1,.dot-2,.dot-3{';
		$event_management_custom_css .='background-color: '.esc_attr($event_management_preloader_icon_color_option).';';
	$event_management_custom_css .='}';

	// preloader type
	$event_management_theme_lay = get_theme_mod( 'event_management_preloader_type','First Preloader Type');
    if($event_management_theme_lay == 'First Preloader Type'){
		$event_management_custom_css .='.dot-1, .dot-2, .dot-3{';
			$event_management_custom_css .='';
		$event_management_custom_css .='}';
	}else if($event_management_theme_lay == 'Second Preloader Type'){
		$event_management_custom_css .='.dot-1, .dot-2, .dot-3{';
			$event_management_custom_css .='border-radius:0;';
		$event_management_custom_css .='}';
	}

	/*------------------ Skin Option  -------------------*/
	$event_management_theme_lay = get_theme_mod( 'event_management_background_skin','Without Background');
    if($event_management_theme_lay == 'With Background'){
		$event_management_custom_css .='.inner-service,#sidebar .widget,.woocommerce ul.products li.product, .woocommerce-page ul.products li.product,.front-page-content,.background-img-skin{';
			$event_management_custom_css .='background-color: #fff; padding:20px;';
		$event_management_custom_css .='}';
		$event_management_custom_css .='.login-box a{';
			$event_management_custom_css .='background-color: #fff;';
		$event_management_custom_css .='}';
	}else if($event_management_theme_lay == 'Without Background'){
		$event_management_custom_css .='{';
			$event_management_custom_css .='background-color: transparent;';
		$event_management_custom_css .='}';
	}

	/*-------------- Woocommerce Button  -------------------*/
	$event_management_woocommerce_button_padding_top = get_theme_mod('event_management_woocommerce_button_padding_top',12);
	$event_management_custom_css .='.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt{';
		$event_management_custom_css .='padding-top: '.esc_attr($event_management_woocommerce_button_padding_top).'px; padding-bottom: '.esc_attr($event_management_woocommerce_button_padding_top).'px;';
	$event_management_custom_css .='}';
	

	$event_management_woocommerce_button_padding_right = get_theme_mod('event_management_woocommerce_button_padding_right',15);
	$event_management_custom_css .='.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt{';
		$event_management_custom_css .='padding-left: '.esc_attr($event_management_woocommerce_button_padding_right).'px; padding-right: '.esc_attr($event_management_woocommerce_button_padding_right).'px;';
	$event_management_custom_css .='}';

	$event_management_woocommerce_button_border_radius = get_theme_mod('event_management_woocommerce_button_border_radius',30);
	$event_management_custom_css .='.woocommerce ul.products li.product .button, a.checkout-button.button.alt.wc-forward,.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt{';
		$event_management_custom_css .='border-radius: '.esc_attr($event_management_woocommerce_button_border_radius).'px;';
	$event_management_custom_css .='}';

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

	$event_management_woocommerce_product_border_enable = get_theme_mod('event_management_woocommerce_product_border_enable',true);
	if($event_management_woocommerce_product_border_enable == false){
		$event_management_custom_css .='.products li{';
			$event_management_custom_css .='border: none;';
		$event_management_custom_css .='}';
	}

	$event_management_woocommerce_product_padding_top = get_theme_mod('event_management_woocommerce_product_padding_top',10);
	$event_management_custom_css .='.woocommerce ul.products li.product, .woocommerce-page ul.products li.product{';
		$event_management_custom_css .='padding-top: '.esc_attr($event_management_woocommerce_product_padding_top).'px !important; padding-bottom: '.esc_attr($event_management_woocommerce_product_padding_top).'px !important;';
	$event_management_custom_css .='}';

	$event_management_woocommerce_product_padding_right = get_theme_mod('event_management_woocommerce_product_padding_right',10);
	$event_management_custom_css .='.woocommerce ul.products li.product, .woocommerce-page ul.products li.product{';
		$event_management_custom_css .='padding-left: '.esc_attr($event_management_woocommerce_product_padding_right).'px !important; padding-right: '.esc_attr($event_management_woocommerce_product_padding_right).'px !important;';
	$event_management_custom_css .='}';

	$event_management_woocommerce_product_border_radius = get_theme_mod('event_management_woocommerce_product_border_radius',0);
	$event_management_custom_css .='.woocommerce ul.products li.product, .woocommerce-page ul.products li.product{';
		$event_management_custom_css .='border-radius: '.esc_attr($event_management_woocommerce_product_border_radius).'px;';
	$event_management_custom_css .='}';

	$event_management_woocommerce_product_box_shadow = get_theme_mod('event_management_woocommerce_product_box_shadow', 5);
	$event_management_custom_css .='.woocommerce ul.products li.product, .woocommerce-page ul.products li.product{';
		$event_management_custom_css .='box-shadow: '.esc_attr($event_management_woocommerce_product_box_shadow).'px '.esc_attr($event_management_woocommerce_product_box_shadow).'px '.esc_attr($event_management_woocommerce_product_box_shadow).'px #eee;';
	$event_management_custom_css .='}';

	$event_management_woo_product_sale_top_bottom_padding = get_theme_mod('event_management_woo_product_sale_top_bottom_padding', 0);
	$event_management_woo_product_sale_left_right_padding = get_theme_mod('event_management_woo_product_sale_left_right_padding', 0);
	$event_management_custom_css .='.woocommerce span.onsale{';
		$event_management_custom_css .='padding-top: '.esc_attr($event_management_woo_product_sale_top_bottom_padding).'px; padding-bottom: '.esc_attr($event_management_woo_product_sale_top_bottom_padding).'px; padding-left: '.esc_attr($event_management_woo_product_sale_left_right_padding).'px; padding-right: '.esc_attr($event_management_woo_product_sale_left_right_padding).'px; display:inline-block;';
	$event_management_custom_css .='}';

	$event_management_woo_product_sale_border_radius = get_theme_mod('event_management_woo_product_sale_border_radius',50);
	$event_management_custom_css .='.woocommerce span.onsale {';
		$event_management_custom_css .='border-radius: '.esc_attr($event_management_woo_product_sale_border_radius).'px;';
	$event_management_custom_css .='}';

	$event_management_woo_product_sale_position = get_theme_mod('event_management_woo_product_sale_position', 'Right');
	if($event_management_woo_product_sale_position == 'Right' ){
		$event_management_custom_css .='.woocommerce ul.products li.product .onsale{';
			$event_management_custom_css .=' left:auto; right:0;';
		$event_management_custom_css .='}';
	}elseif($event_management_woo_product_sale_position == 'Left' ){
		$event_management_custom_css .='.woocommerce ul.products li.product .onsale{';
			$event_management_custom_css .=' left:0; right:auto;';
		$event_management_custom_css .='}';
	}

	$event_management_wooproduct_sale_font_size = get_theme_mod('event_management_wooproduct_sale_font_size',14);
	$event_management_custom_css .='.woocommerce span.onsale{';
		$event_management_custom_css .='font-size: '.esc_attr($event_management_wooproduct_sale_font_size).'px;';
	$event_management_custom_css .='}';

	// Responsive Media
	$event_management_post_date = get_theme_mod( 'event_management_display_post_date',true);
	if($event_management_post_date == true && get_theme_mod( 'event_management_metafields_date',true) != true){
    	$event_management_custom_css .='.metabox .entry-date{';
			$event_management_custom_css .='display:none;';
		$event_management_custom_css .='} ';
	}
    if($event_management_post_date == true){
    	$event_management_custom_css .='@media screen and (max-width:575px) {';
		$event_management_custom_css .='.metabox .entry-date{';
			$event_management_custom_css .='display:inline-block;';
		$event_management_custom_css .='} }';
	}else if($event_management_post_date == false){
		$event_management_custom_css .='@media screen and (max-width:575px){';
		$event_management_custom_css .='.metabox .entry-date{';
			$event_management_custom_css .='display:none;';
		$event_management_custom_css .='} }';
	}

	$event_management_post_author = get_theme_mod( 'event_management_display_post_author',true);
	if($event_management_post_author == true && get_theme_mod( 'event_management_metafields_author',true) != true){
    	$event_management_custom_css .='.metabox .entry-author{';
			$event_management_custom_css .='display:none;';
		$event_management_custom_css .='} ';
	}
    if($event_management_post_author == true){
    	$event_management_custom_css .='@media screen and (max-width:575px) {';
		$event_management_custom_css .='.metabox .entry-author{';
			$event_management_custom_css .='display:inline-block;';
		$event_management_custom_css .='} }';
	}else if($event_management_post_author == false){
		$event_management_custom_css .='@media screen and (max-width:575px){';
		$event_management_custom_css .='.metabox .entry-author{';
			$event_management_custom_css .='display:none;';
		$event_management_custom_css .='} }';
	}

	$event_management_post_comment = get_theme_mod( 'event_management_display_post_comment',true);
	if($event_management_post_comment == true && get_theme_mod( 'event_management_metafields_comment',true) != true){
    	$event_management_custom_css .='.metabox .entry-comments{';
			$event_management_custom_css .='display:none;';
		$event_management_custom_css .='} ';
	}
    if($event_management_post_comment == true){
    	$event_management_custom_css .='@media screen and (max-width:575px) {';
		$event_management_custom_css .='.metabox .entry-comments{';
			$event_management_custom_css .='display:inline-block;';
		$event_management_custom_css .='} }';
	}else if($event_management_post_comment == false){
		$event_management_custom_css .='@media screen and (max-width:575px){';
		$event_management_custom_css .='.metabox .entry-comments{';
			$event_management_custom_css .='display:none;';
		$event_management_custom_css .='} }';
	}

	$event_management_post_time = get_theme_mod( 'event_management_display_post_time',true);
	if($event_management_post_time == true && get_theme_mod( 'event_management_metafields_time',true) != true){
    	$event_management_custom_css .='.metabox .entry-time{';
			$event_management_custom_css .='display:none;';
		$event_management_custom_css .='} ';
	}
    if($event_management_post_time == true){
    	$event_management_custom_css .='@media screen and (max-width:575px) {';
		$event_management_custom_css .='.metabox .entry-time{';
			$event_management_custom_css .='display:inline-block;';
		$event_management_custom_css .='} }';
	}else if($event_management_post_time == false){
		$event_management_custom_css .='@media screen and (max-width:575px){';
		$event_management_custom_css .='.metabox .entry-time{';
			$event_management_custom_css .='display:none;';
		$event_management_custom_css .='} }';
	}

	if($event_management_post_date == false && $event_management_post_author == false && $event_management_post_comment == false && $event_management_post_time == false){
		$event_management_custom_css .='@media screen and (max-width:575px) {';
    	$event_management_custom_css .='.metabox {';
			$event_management_custom_css .='display:none;';
		$event_management_custom_css .='} }';
	}

	$event_management_metafields_date = get_theme_mod( 'event_management_metafields_date',true);
	$event_management_metafields_author = get_theme_mod( 'event_management_metafields_author',true);
	$event_management_metafields_comment = get_theme_mod( 'event_management_metafields_comment',true);
	$event_management_metafields_time = get_theme_mod( 'event_management_metafields_time',true);
	if($event_management_metafields_date == false && $event_management_metafields_author == false && $event_management_metafields_comment == false && $event_management_metafields_time == false){
		$event_management_custom_css .='@media screen and (min-width:576px) {';
    	$event_management_custom_css .='.metabox {';
			$event_management_custom_css .='display:none;';
		$event_management_custom_css .='} }';
	}

	$event_management_slider = get_theme_mod( 'event_management_display_slider',true);
	if($event_management_slider == true && get_theme_mod( 'event_management_slider_hide', false) == false){
    	$event_management_custom_css .='#slider{';
			$event_management_custom_css .='display:none;';
		$event_management_custom_css .='} ';
	}
    if($event_management_slider == true){
    	$event_management_custom_css .='@media screen and (max-width:575px) {';
		$event_management_custom_css .='#slider{';
			$event_management_custom_css .='display:block;';
		$event_management_custom_css .='} }';
	}else if($event_management_slider == false){
		$event_management_custom_css .='@media screen and (max-width:575px){';
		$event_management_custom_css .='#slider{';
			$event_management_custom_css .='display:none;';
		$event_management_custom_css .='} }';
	}

	$event_management_sidebar = get_theme_mod( 'event_management_display_sidebar',true);
    if($event_management_sidebar == true){
    	$event_management_custom_css .='@media screen and (max-width:575px) {';
		$event_management_custom_css .='#sidebar{';
			$event_management_custom_css .='display:block;';
		$event_management_custom_css .='} }';
	}else if($event_management_sidebar == false){
		$event_management_custom_css .='@media screen and (max-width:575px) {';
		$event_management_custom_css .='#sidebar{';
			$event_management_custom_css .='display:none;';
		$event_management_custom_css .='} }';
	}

	$event_management_scroll = get_theme_mod( 'event_management_display_scrolltop',true);
	if($event_management_scroll == true && get_theme_mod( 'event_management_hide_show_scroll',true) != true){
    	$event_management_custom_css .='#scrollbutton i{';
			$event_management_custom_css .='display:none;';
		$event_management_custom_css .='} ';
	}
    if($event_management_scroll == true){
    	$event_management_custom_css .='@media screen and (max-width:575px) {';
		$event_management_custom_css .='#scrollbutton i{';
			$event_management_custom_css .='display:block;';
		$event_management_custom_css .='} }';
	}else if($event_management_scroll == false){
		$event_management_custom_css .='@media screen and (max-width:575px){';
		$event_management_custom_css .='#scrollbutton i{';
			$event_management_custom_css .='display:none;';
		$event_management_custom_css .='} }';
	}

	$event_management_preloader = get_theme_mod( 'event_management_display_preloader',false);
	if($event_management_preloader == true && get_theme_mod( 'event_management_preloader',false) == false){
		$event_management_custom_css .='@media screen and (min-width:575px) {';
    	$event_management_custom_css .='.frame{';
			$event_management_custom_css .='display:none;';
		$event_management_custom_css .='} }';
	}
    if($event_management_preloader == true){
    	$event_management_custom_css .='@media screen and (max-width:575px) {';
		$event_management_custom_css .='.frame{';
			$event_management_custom_css .='display:block;';
		$event_management_custom_css .='} }';
	}else if($event_management_preloader == false){
		$event_management_custom_css .='@media screen and (max-width:575px){';
		$event_management_custom_css .='.frame{';
			$event_management_custom_css .='display:none;';
		$event_management_custom_css .='} }';
	}

	$event_management_search = get_theme_mod( 'event_management_display_search_category',true);
	if($event_management_search == true && get_theme_mod( 'event_management_search_enable_disable',true) != true){
    	$event_management_custom_css .='.search-cat-box{';
			$event_management_custom_css .='display:none;';
		$event_management_custom_css .='} ';
	}
    if($event_management_search == true){
    	$event_management_custom_css .='@media screen and (max-width:575px) {';
		$event_management_custom_css .='.search-cat-box{';
			$event_management_custom_css .='display:block;';
		$event_management_custom_css .='} }';
	}else if($event_management_search == false){
		$event_management_custom_css .='@media screen and (max-width:575px){';
		$event_management_custom_css .='.search-cat-box{';
			$event_management_custom_css .='display:none;';
		$event_management_custom_css .='} }';
	}

	$event_management_myaccount = get_theme_mod( 'event_management_display_myaccount',true);
	if($event_management_myaccount == true && get_theme_mod( 'event_management_myaccount_enable_disable',true) != true){
    	$event_management_custom_css .='.login-box{';
			$event_management_custom_css .='display:none;';
		$event_management_custom_css .='} ';
	}
    if($event_management_myaccount == true){
    	$event_management_custom_css .='@media screen and (max-width:575px) {';
		$event_management_custom_css .='.login-box{';
			$event_management_custom_css .='display:block;';
		$event_management_custom_css .='} }';
	}else if($event_management_myaccount == false){
		$event_management_custom_css .='@media screen and (max-width:575px){';
		$event_management_custom_css .='.login-box{';
			$event_management_custom_css .='display:none;';
		$event_management_custom_css .='} }';
	}

	// menu settings
	$event_management_menu_font_size_option = get_theme_mod('event_management_menu_font_size_option',14);
	$event_management_custom_css .='.primary-navigation ul li a{';
		$event_management_custom_css .='font-size: '.esc_attr($event_management_menu_font_size_option).'px;';
	$event_management_custom_css .='}';

	// menu top-bottom padding
	$event_management_menu_top_bottom_padding = get_theme_mod('event_management_menu_top_bottom_padding');
	$event_management_custom_css .='.primary-navigation ul li{';
		$event_management_custom_css .='padding-top: '.esc_attr($event_management_menu_top_bottom_padding).'px;';
		$event_management_custom_css .='padding-bottom: '.esc_attr($event_management_menu_top_bottom_padding).'px;';
	$event_management_custom_css .='}';

	// menu left-right padding
	$event_management_menu_left_right_padding = get_theme_mod('event_management_menu_left_right_padding');
	$event_management_custom_css .='.primary-navigation ul li{';
		$event_management_custom_css .='padding-left: '.esc_attr($event_management_menu_left_right_padding).'px;';
		$event_management_custom_css .='padding-right: '.esc_attr($event_management_menu_left_right_padding).'px;';
	$event_management_custom_css .='}';
	$event_management_custom_css .='.primary-navigation ul li a:hover:after{';
		$event_management_custom_css .='margin-left: '.esc_attr($event_management_menu_left_right_padding).'px;';
	$event_management_custom_css .='}';

	// Menu Text Transform
	$event_management_theme_lay = get_theme_mod( 'event_management_text_tranform_menu','Uppercase');
    if($event_management_theme_lay == 'Uppercase'){
		$event_management_custom_css .='.primary-navigation ul li a{';
			$event_management_custom_css .='text-transform: Uppercase;';
		$event_management_custom_css .='}';
	}else if($event_management_theme_lay == 'Lowercase'){
		$event_management_custom_css .='.primary-navigation ul li a{';
			$event_management_custom_css .='text-transform: lowercase;';
		$event_management_custom_css .='}';
	}
	else if($event_management_theme_lay == 'Capitalize'){
		$event_management_custom_css .='.primary-navigation ul li a{';
			$event_management_custom_css .='text-transform: Capitalize;';
		$event_management_custom_css .='}';
	}

	// menu font weight
	$event_management_font_weight_option_menu = get_theme_mod( 'event_management_font_weight_option_menu','600');
	if($event_management_font_weight_option_menu != ''){
		$event_management_custom_css .='.primary-navigation ul li a, #site-navigation li a{';
			$event_management_custom_css .='font-weight: '.esc_attr($event_management_font_weight_option_menu).';';
		$event_management_custom_css .='}';
	}

	// Menu Item Hover Style	
	$event_management_menus_item = get_theme_mod( 'event_management_menus_item_style','None');
	if($event_management_menus_item == 'None'){
		$event_management_custom_css .='.primary-navigation ul li a{';
			$event_management_custom_css .='';
		$event_management_custom_css .='}';
	}else if($event_management_menus_item == 'Zoom In'){
		$event_management_custom_css .='.primary-navigation ul li a:hover{';
			$event_management_custom_css .='transition: all 0.3s ease-in-out !important; transform: scale(1.2) !important;';
		$event_management_custom_css .='}';
	}

	// slider height
	$event_management_option_slider_height = get_theme_mod('event_management_option_slider_height');
	$event_management_custom_css .='#slider .slider-bg img{';
		$event_management_custom_css .='height: '.esc_attr($event_management_option_slider_height).'px;';
	$event_management_custom_css .='}';

	// slider content spacing
	$event_management_slider_content_top_padding = get_theme_mod('event_management_slider_content_top_padding');
	$event_management_slider_content_left_padding = get_theme_mod('event_management_slider_content_left_padding');
	$event_management_custom_css .='#slider .carousel-caption, #slider .inner_carousel, #slider .inner_carousel h1, #slider .inner_carousel p, #slider .readbutton{';
		$event_management_custom_css .='top: '.esc_attr($event_management_slider_content_top_padding).'%; bottom: '.esc_attr($event_management_slider_content_top_padding).'%;left: '.esc_attr($event_management_slider_content_left_padding).'%;right: '.esc_attr($event_management_slider_content_left_padding).'%;';
	$event_management_custom_css .='}';

	// slider overlay
	$event_management_enable_slider_overlay = get_theme_mod('event_management_enable_slider_overlay', true);
	if($event_management_enable_slider_overlay == false){
		$event_management_custom_css .='#slider image{';
			$event_management_custom_css .='opacity:1;';
		$event_management_custom_css .='}';
	} 
	$event_management_slider_overlay_color = get_theme_mod('event_management_slider_overlay_color', true);
	if($event_management_enable_slider_overlay != false){
		$event_management_custom_css .='#slider{';
			$event_management_custom_css .='background: '.esc_attr($event_management_slider_overlay_color).';';
		$event_management_custom_css .='}';
	}

	//  comment form width
	$event_management_comment_form_width = get_theme_mod( 'event_management_comment_form_width');
	$event_management_custom_css .='#comments textarea{';
		$event_management_custom_css .='width: '.esc_attr($event_management_comment_form_width).'%;';
	$event_management_custom_css .='}';

	$event_management_title_comment_form = get_theme_mod('event_management_title_comment_form', 'Leave a Reply');
	if($event_management_title_comment_form == ''){
		$event_management_custom_css .='#comments h2#reply-title {';
			$event_management_custom_css .='display: none;';
		$event_management_custom_css .='}';
	}

	$event_management_comment_form_button_content = get_theme_mod('event_management_comment_form_button_content', 'Post Comment');
	if($event_management_comment_form_button_content == ''){
		$event_management_custom_css .='#comments p.form-submit {';
			$event_management_custom_css .='display: none;';
		$event_management_custom_css .='}';
	}

	// featured image setting
	$event_management_image_border_radius = get_theme_mod('event_management_image_border_radius', 0);
	$event_management_custom_css .='.layout2 .box-image img,.layout1 .box-image img,.layout3 .box-image img{';
		$event_management_custom_css .='border-radius: '.esc_attr($event_management_image_border_radius).'%;';
	$event_management_custom_css .='}';

	$event_management_image_box_shadow = get_theme_mod('event_management_image_box_shadow',0);
	$event_management_custom_css .='.layout2 .box-image img,.layout1 .box-image img,.layout3 .box-image img{';
		$event_management_custom_css .='box-shadow: '.esc_attr($event_management_image_box_shadow).'px '.esc_attr($event_management_image_box_shadow).'px '.esc_attr($event_management_image_box_shadow).'px #b5b5b5;';
	$event_management_custom_css .='}';

	// blog post Pagination Alignment
	$event_management_post_pagination_alignment = get_theme_mod( 'event_management_post_pagination_option','Left');
	if($event_management_post_pagination_alignment == 'Left'){
		$event_management_custom_css .='.navigation nav.pagination{';
			$event_management_custom_css .='justify-content: left;';
		$event_management_custom_css .='}';
	}else if($event_management_post_pagination_alignment == 'Center'){
		$event_management_custom_css .='.navigation nav.pagination{';
			$event_management_custom_css .='justify-content: center;';
		$event_management_custom_css .='}';
	}else if($event_management_post_pagination_alignment == 'Right'){
		$event_management_custom_css .='.navigation nav.pagination{';
			$event_management_custom_css .='justify-content: right;';
		$event_management_custom_css .='}';
	}

	// grid post image setting
	$event_management_grid_image_border_radius = get_theme_mod('event_management_grid_image_border_radius', 0);
	$event_management_custom_css .='.gridbox .box-image img{';
		$event_management_custom_css .='border-radius: '.esc_attr($event_management_grid_image_border_radius).'%;';
	$event_management_custom_css .='}';

	$event_management_grid_image_box_shadow = get_theme_mod('event_management_grid_image_box_shadow',0);
	$event_management_custom_css .='.gridbox .box-image img{';
		$event_management_custom_css .='box-shadow: '.esc_attr($event_management_grid_image_box_shadow).'px '.esc_attr($event_management_grid_image_box_shadow).'px '.esc_attr($event_management_grid_image_box_shadow).'px #b5b5b5;';
	$event_management_custom_css .='}';

	// single featured image setting
	$event_management_single_image_border_radius = get_theme_mod('event_management_single_image_border_radius', 0);
	$event_management_custom_css .='.feature-box img{';
		$event_management_custom_css .='border-radius: '.esc_attr($event_management_single_image_border_radius).'%;';
	$event_management_custom_css .='}';

	$event_management_single_image_box_shadow = get_theme_mod('event_management_single_image_box_shadow',0);
	$event_management_custom_css .='.feature-box img{';
		$event_management_custom_css .='box-shadow: '.esc_attr($event_management_single_image_box_shadow).'px '.esc_attr($event_management_single_image_box_shadow).'px '.esc_attr($event_management_single_image_box_shadow).'px #b5b5b5;';
	$event_management_custom_css .='}';

	// single featured image dimention
	$event_management_single_post_featured_image_dimention = get_theme_mod('event_management_single_post_featured_image_dimention', 'Default');
	$event_management_single_post_featured_image_custom_width = get_theme_mod('event_management_single_post_featured_image_custom_width');
	$event_management_single_post_featured_image_custom_height = get_theme_mod('event_management_single_post_featured_image_custom_height');
	if($event_management_single_post_featured_image_dimention == 'Custom'){
		$event_management_custom_css .='.single-post-page .feature-box img{';
			$event_management_custom_css .='width: '.esc_attr($event_management_single_post_featured_image_custom_width).'px!important; height: '.esc_attr($event_management_single_post_featured_image_custom_height).'px!important;';
		$event_management_custom_css .='}';
	}

	// category color
	$event_management_category_color = get_theme_mod('event_management_category_color');
	$event_management_custom_css .='.type-post .category ul li a{';
			$event_management_custom_css .='color: '.esc_attr($event_management_category_color).';';
	$event_management_custom_css .='}';

	// category hover color
	$event_management_category_hover_color = get_theme_mod('event_management_category_hover_color');
	$event_management_custom_css .='.type-post .category ul li a:hover{';
			$event_management_custom_css .='color: '.esc_attr($event_management_category_hover_color).';';
	$event_management_custom_css .='}';

	// Post Block
	$event_management_post_block_option = get_theme_mod( 'event_management_post_block_option','By Block');
    if($event_management_post_block_option == 'By Without Block'){
		$event_management_custom_css .='.mainbox-post, .layout2 .mainbox, .layout1.mainbox,.layout3.mainbox, .post_format-post-format-video,.post_format-post-format-image,.post_format-post-format-audio, .post_format-post-format-gallery, #blog_sec .sticky{';
			$event_management_custom_css .='border:none; margin:30px 0;';
		$event_management_custom_css .='}';
	}

	//Grid Post Block
	$event_management_grid_post_block_option = get_theme_mod( 'event_management_grid_post_block_option','By Block');
    if($event_management_grid_post_block_option == 'By Without Block'){
		$event_management_custom_css .='.gridbox .inner-service{';
			$event_management_custom_css .='border:none; margin:30px 0;';
		$event_management_custom_css .='}';
	}

	// post image 
	$event_management_post_featured_color = get_theme_mod('event_management_post_featured_color', 'var(--first-theme-color)');
	$event_management_post_featured_image = get_theme_mod('event_management_post_featured_image','Image');
	if($event_management_post_featured_image == 'Color'){
		$event_management_custom_css .='.post-color{';
			$event_management_custom_css .='background-color: '.esc_attr($event_management_post_featured_color).';';
		$event_management_custom_css .='}';
	}

	// featured image dimention
	$event_management_post_featured_image_dimention = get_theme_mod('event_management_post_featured_image_dimention', 'Default');
	$event_management_post_featured_image_custom_width = get_theme_mod('event_management_post_featured_image_custom_width');
	$event_management_post_featured_image_custom_height = get_theme_mod('event_management_post_featured_image_custom_height');
	if($event_management_post_featured_image_dimention == 'Custom'){
		$event_management_custom_css .='.box-image img{';
			$event_management_custom_css .='width: '.esc_attr($event_management_post_featured_image_custom_width).'px; height: '.esc_attr($event_management_post_featured_image_custom_height).'px;';
		$event_management_custom_css .='}';
	}

	// featured image dimention
	$event_management_custom_post_color_width = get_theme_mod('event_management_custom_post_color_width');
	$event_management_custom_post_color_height = get_theme_mod('event_management_custom_post_color_height');
	if($event_management_post_featured_image == 'Color'){
		$event_management_custom_css .='.post-color{';
			$event_management_custom_css .='width: '.esc_attr($event_management_custom_post_color_width).'px; height: '.esc_attr($event_management_custom_post_color_height).'px;';
		$event_management_custom_css .='}';
	}

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

	// site tagline font size
	$event_management_site_tagline_font_size = get_theme_mod('event_management_site_tagline_font_size', 15);
	$event_management_custom_css .='p.site-description{';
	$event_management_custom_css .='font-size: '.esc_attr($event_management_site_tagline_font_size).'px;';
	$event_management_custom_css .='}';

	// site logo padding 
	$event_management_logo_padding_font_size = get_theme_mod('event_management_logo_padding_font_size', '');
	$event_management_custom_css .='.logo{';
	$event_management_custom_css .='padding: '.esc_attr($event_management_logo_padding_font_size).'px !important;';
	$event_management_custom_css .='}';

	// woocommerce Product Navigation
	$event_management_wooproducts_nav = get_theme_mod('event_management_wooproducts_nav', 'Yes');
	if($event_management_wooproducts_nav == 'No'){
		$event_management_custom_css .='.woocommerce nav.woocommerce-pagination{';
			$event_management_custom_css .='display: none;';
		$event_management_custom_css .='}';
	}

	/*------ copyright text color -------*/
	$event_management_footer_text_color = get_theme_mod('event_management_footer_text_color');
	if($event_management_footer_text_color != false){
		$event_management_custom_css .='.copyright-wrapper p, .copyright-wrapper p a{';
			$event_management_custom_css .='color: '.esc_attr($event_management_footer_text_color).';';
		$event_management_custom_css .='}';
	}

	/*------ copyright background css -------*/
	$event_management_footer_text_bg_color = get_theme_mod('event_management_footer_text_bg_color');
	if($event_management_footer_text_bg_color != false){
		$event_management_custom_css .='.copyright-wrapper{';
			$event_management_custom_css .='background-color: '.esc_attr($event_management_footer_text_bg_color).';';
		$event_management_custom_css .='}';
	}

	// social icons font size
	$event_management_social_icons_size = get_theme_mod('event_management_social_icons_size', 13);
	$event_management_custom_css .='.social-icons i{';
		$event_management_custom_css .='font-size: '.esc_attr($event_management_social_icons_size).'px;';
	$event_management_custom_css .='}';

	// site title color
	$event_management_site_title_color = get_theme_mod('event_management_site_title_color');
	$event_management_custom_css .='.site-title a{';
		$event_management_custom_css .='color: '.esc_attr($event_management_site_title_color).' !important;';
	$event_management_custom_css .='}';

	// site tagline color
	$event_management_site_tagline_color = get_theme_mod('event_management_site_tagline_color');
	$event_management_custom_css .='.site-description{';
		$event_management_custom_css .='color: '.esc_attr($event_management_site_tagline_color).' !important;';
	$event_management_custom_css .='}';

	// site toggle button color
	$event_management_toggle_button_color = get_theme_mod('event_management_toggle_button_color');
	$event_management_custom_css .='.toggle-menu i{';
		$event_management_custom_css .='color: '.esc_attr($event_management_toggle_button_color).' !important;';
	$event_management_custom_css .='}';

	// menu color
	$event_management_menu_color = get_theme_mod('event_management_menu_color');
	$event_management_custom_css .='.primary-navigation a, .primary-navigation ul li a, #site-navigation li a{';
			$event_management_custom_css .='color: '.esc_attr($event_management_menu_color).' !important;';
	$event_management_custom_css .='}';

	// Sub menu color
	$event_management_sub_menu_color = get_theme_mod('event_management_sub_menu_color');
	$event_management_custom_css .='.primary-navigation ul.sub-menu a, .primary-navigation ul.sub-menu li a, #site-navigation ul.sub-menu li a{';
			$event_management_custom_css .='color: '.esc_attr($event_management_sub_menu_color).' !important;';
	$event_management_custom_css .='}';

	// menu hover color
	$event_management_menu_hover_color = get_theme_mod('event_management_menu_hover_color');
	$event_management_custom_css .='.primary-navigation a:hover, .primary-navigation ul li a:hover, #site-navigation li a:hover{';
			$event_management_custom_css .='color: '.esc_attr($event_management_menu_hover_color).' !important;';
	$event_management_custom_css .='}';

	// submenu hover color
	$event_management_sub_menu_hover_color = get_theme_mod('event_management_sub_menu_hover_color');
	$event_management_custom_css .='.primary-navigation ul.sub-menu a, .primary-navigation ul.sub-menu li a:hover, #site-navigation ul.sub-menu li a:hover{';
			$event_management_custom_css .='color: '.esc_attr($event_management_sub_menu_hover_color).' !important;';
	$event_management_custom_css .='}';

	// Sub menu bg color
	$event_management_sub_menu_bg_color = get_theme_mod('event_management_sub_menu_bg_color');
	$event_management_custom_css .='#site-navigation ul.sub-menu li a{';
			$event_management_custom_css .='background-color: '.esc_attr($event_management_sub_menu_bg_color).';';
	$event_management_custom_css .='}';

	// Sub menu bg hover color
	$event_management_sub_menu_bg_hover_color = get_theme_mod('event_management_sub_menu_bg_hover_color');
	$event_management_custom_css .='#site-navigation ul.sub-menu li a:hover{';
			$event_management_custom_css .='background-color: '.esc_attr($event_management_sub_menu_bg_hover_color).';';
	$event_management_custom_css .='}';

	// topbar padding option
	$event_management_topbar_padding_settings = get_theme_mod('event_management_topbar_padding_settings', 15);
		$event_management_custom_css .='.top-header{';
			$event_management_custom_css .='padding: '.esc_attr($event_management_topbar_padding_settings).'px !important;';
		$event_management_custom_css .='}';

	// Header Contact Icons Font Size
    $event_management_header_icons_size = get_theme_mod('event_management_header_icons_size', '16');
    $event_management_custom_css .='.top-header .contacts i{';
        $event_management_custom_css .='font-size: '.esc_attr($event_management_header_icons_size).'px;';
    $event_management_custom_css .='}';

	// site logo margin 
	$event_management_logo_margin = get_theme_mod('event_management_logo_margin', '');
	$event_management_custom_css .='.logo{';
	$event_management_custom_css .='margin: '.esc_attr($event_management_logo_margin).'px ;';
	$event_management_custom_css .='}';

	// Fixed Copyright
	$event_management_fixed_copyright = get_theme_mod( 'event_management_display_fixed_copyright',false);
	if($event_management_fixed_copyright == true && get_theme_mod( 'event_management_sticky_copyright',false) != true){
    	$event_management_custom_css .='.fixed-copyright{';
			$event_management_custom_css .='position:static;';
		$event_management_custom_css .='} ';
	}
    if($event_management_fixed_copyright == true){
    	$event_management_custom_css .='@media screen and (max-width:575px) {';
		$event_management_custom_css .='.fixed-copyright{';
			$event_management_custom_css .='position:fixed;';
		$event_management_custom_css .='} }';
	}else if($event_management_fixed_copyright == false){
		$event_management_custom_css .='@media screen and (max-width:575px){';
		$event_management_custom_css .='.fixed-copyright{';
			$event_management_custom_css .='position:static;';
		$event_management_custom_css .='} }';
	}
    // Hover effect on single post featured image (FIXED)

	$event_management_show_featured = get_theme_mod(
		'event_management_featured_image_hide_show',
		1
	);

	$event_management_hover_effect = get_theme_mod(
		'event_management_featured_image_hover',
		'none'
	);

	$event_management_hover_duration = get_theme_mod(
		'event_management_featured_image_hover_duration',
		0.4
	);

	if ( $event_management_show_featured && $event_management_hover_effect !== 'none' ) {

		/* BASE RESET (MOST IMPORTANT PART) */
		$event_management_custom_css .= '
		.event-management-featured-image{
			overflow: hidden;
		}
		.event-management-featured-image img{
			transform: scale(1);
			filter: none;
			transition:
				transform ' . esc_attr( $event_management_hover_duration ) . 's ease,
				filter ' . esc_attr( $event_management_hover_duration ) . 's ease;
			will-change: transform, filter;
		}';

		/* ZOOM IN */
		if ( $event_management_hover_effect === 'zoom-in' ) {
			$event_management_custom_css .= '
			.event-management-featured-image img:hover{
				transform: scale(1.2);
			}';
		}

		/* ZOOM OUT */
		if ( $event_management_hover_effect === 'zoom-out' ) {
			$event_management_custom_css .= '
			.event-management-featured-image img{
				transform: scale(1.2);
			}
			.event-management-featured-image img:hover{
				transform: scale(1);
			}';
		}

		/* GRAYSCALE (NORMAL → COLOR ON HOVER) */
		if ( $event_management_hover_effect === 'grayscale' ) {
			$event_management_custom_css .= '
			.event-management-featured-image img{
				filter: grayscale(0%);
			}
			.event-management-featured-image img:hover{
				filter: grayscale(100%);
			}';
		}

		/* SEPIA */
		if ( $event_management_hover_effect === 'sepia' ) {
			$event_management_custom_css .= '
			.event-management-featured-image img:hover{
				filter: sepia(100%);
			}';
		}

		/* BLUR */
		if ( $event_management_hover_effect === 'blur' ) {
			$event_management_custom_css .= '
			.event-management-featured-image img:hover{
				filter: blur(3px);
			}';
		}

		/* BRIGHT */
		if ( $event_management_hover_effect === 'bright' ) {
			$event_management_custom_css .= '
			.event-management-featured-image img:hover{
				filter: brightness(1.3);
			}';
		}

		/* TRANSLATE */
		if ( $event_management_hover_effect === 'translate' ) {
			$event_management_custom_css .= '
			.event-management-featured-image img:hover{
				transform: translateY(-10px);
			}';
		}
	}