<?php
	$campus_education_first_theme_color = get_theme_mod('campus_education_first_theme_color');
	$campus_education_second_theme_color = get_theme_mod('campus_education_second_theme_color');
	$campus_education_custom_css = '';

	/*------------------ Theme Color Option -----------*/
	if ($campus_education_first_theme_color) {
		$campus_education_custom_css .= ':root {';
		$campus_education_custom_css .= '--primary-color: ' . esc_attr($campus_education_first_theme_color) . ' !important;';
		$campus_education_custom_css .= '} ';
	}

	if ($campus_education_second_theme_color) {
		$campus_education_custom_css .= ':root {';
		$campus_education_custom_css .= '--secondary-color: ' . esc_attr($campus_education_second_theme_color) . ' !important;';
		$campus_education_custom_css .= '} ';
	}
	
	// Layout Options
	$campus_education_theme_layout = get_theme_mod( 'campus_education_theme_layout_options','Default Theme');
    if($campus_education_theme_layout == 'Default Theme'){
		$campus_education_custom_css .='body{';
			$campus_education_custom_css .='max-width: 100%;';
		$campus_education_custom_css .='}';
	}else if($campus_education_theme_layout == 'Container Theme'){
		$campus_education_custom_css .='body{';
			$campus_education_custom_css .='width: 100%;padding-right: 15px;padding-left: 15px;margin-right: auto;margin-left: auto;';
		$campus_education_custom_css .='}';
	}else if($campus_education_theme_layout == 'Box Container Theme'){
		$campus_education_custom_css .='body{';
			$campus_education_custom_css .='max-width: 1140px; width: 100%; padding-right: 15px; padding-left: 15px; margin-right: auto; margin-left: auto;';
		$campus_education_custom_css .='}';
	}

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

	/*----------- Slider Content Layout ----------------*/
	$campus_education_slider_layout = get_theme_mod( 'campus_education_slider_alignment_option','Center Align');
    if($campus_education_slider_layout == 'Left Align'){
    	$campus_education_custom_css .='@media screen and (min-width:721px) {';
		$campus_education_custom_css .='#slider .carousel-caption, #slider .inner_carousel, #slider .inner_carousel h1{';
			$campus_education_custom_css .='text-align:left;';
			$campus_education_custom_css .='}';
		$campus_education_custom_css .='#slider .carousel-caption{';
		$campus_education_custom_css .='left:15%; right:55%;';
		$campus_education_custom_css .='}}';
	}else if($campus_education_slider_layout == 'Center Align'){
		$campus_education_custom_css .='#slider .carousel-caption, #slider .inner_carousel, #slider .inner_carousel h1{';
			$campus_education_custom_css .='text-align:center;';
		$campus_education_custom_css .='}';
	}else if($campus_education_slider_layout == 'Right Align'){
		$campus_education_custom_css .='@media screen and (min-width:721px) {';
		$campus_education_custom_css .='#slider .carousel-caption, #slider .inner_carousel, #slider .inner_carousel h1{';
			$campus_education_custom_css .='text-align:right;';
			$campus_education_custom_css .='}';
		$campus_education_custom_css .='#slider .carousel-caption{';
		$campus_education_custom_css .='left:55%; right:15%;';
		$campus_education_custom_css .='}}';
	}

	// Slider Arrows hover color
	$campus_education_slider_arrows_hover_color = get_theme_mod('campus_education_slider_arrows_hover_color','#f7a555');
	$campus_education_custom_css .='#slider .carousel-control-prev-icon:hover,#slider .carousel-control-next-icon:hover{';
			$campus_education_custom_css .='background-color: '.esc_attr($campus_education_slider_arrows_hover_color).' !important;';
	$campus_education_custom_css .='}';
	
	/*-------- Blog Post Alignment ------*/
	$campus_education_post_alignment = get_theme_mod('campus_education_blog_post_alignment', 'left');
	if($campus_education_post_alignment == 'center' ){
		$campus_education_custom_css .='.blog-sec, .blog-sec h2, .post-info,.blog-sec .blogbtn{';
			$campus_education_custom_css .='text-align: '. $campus_education_post_alignment .';';
		$campus_education_custom_css .='}';
	}elseif($campus_education_post_alignment == 'left' ){
		$campus_education_custom_css .='.blog-sec, .blog-sec h2, .post-info,.blog-sec .blogbtn{';
			$campus_education_custom_css .=' text-align: '. $campus_education_post_alignment .';';
		$campus_education_custom_css .='}';
	}elseif($campus_education_post_alignment == 'right' ){
		$campus_education_custom_css .='.blog-sec, .blog-sec h2, .post-info,.blog-sec .blogbtn{';
			$campus_education_custom_css .='text-align: '. $campus_education_post_alignment .';';
		$campus_education_custom_css .='}';
	}

	//Blog Post Initial Cap
	$campus_education_initial_caps_enable = get_theme_mod('campus_education_initial_caps_enable', 'false');
	if($campus_education_initial_caps_enable == 'true' ){
		$campus_education_custom_css .='.blog-sec .entry-content p:nth-of-type(1)::first-letter,.blog-sec p:nth-of-type(1)::first-letter{';
			$campus_education_custom_css .=' font-size: 60px!important; font-weight: 800!important;';
		$campus_education_custom_css .=' margin-right: 4px;';
			$campus_education_custom_css .=' font-family: "Vollkorn", serif!important;';
		$campus_education_custom_css .='}';
	}elseif($campus_education_initial_caps_enable == 'false' ){
		$campus_education_custom_css .='.blog-sec .entry-content p:nth-of-type(1)::first-letter,.blog-sec p:nth-of-type(1)::first-letter{';
			$campus_education_custom_css .='display: none!important;';
		$campus_education_custom_css .='}';
	}

	/*--------- Preloader Color Option -------*/
	$campus_education_preloader_color = get_theme_mod('campus_education_preloader_color');

	if($campus_education_preloader_color != false){
		$campus_education_custom_css .=' .tg-loader{';
			$campus_education_custom_css .='border-color: '.esc_attr($campus_education_preloader_color).';';
		$campus_education_custom_css .='} ';
		$campus_education_custom_css .=' .tg-loader-inner, .preloader .preloader-container .animated-preloader, .preloader .preloader-container .animated-preloader:before {';
			$campus_education_custom_css .='background-color: '.esc_attr($campus_education_preloader_color).';';
		$campus_education_custom_css .='} ';
	}

	$campus_education_preloader_bg_color = get_theme_mod('campus_education_preloader_bg_color');

	if($campus_education_preloader_bg_color != false){
		$campus_education_custom_css .=' #overlayer, .preloader{';
			$campus_education_custom_css .='background-color: '.esc_attr($campus_education_preloader_bg_color).';';
		$campus_education_custom_css .='} ';
	}

	$campus_education_preloader_bg_img = get_theme_mod('campus_education_preloader_bg_img');
	if($campus_education_preloader_bg_img != false){
		$campus_education_custom_css .=' #overlayer, .preloader{';
			$campus_education_custom_css .='background: url('.esc_attr($campus_education_preloader_bg_img).');-webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover;';
		$campus_education_custom_css .='}';
	}

	/*-------- Topbar hide -----------*/
	$campus_education_topbar = get_theme_mod('campus_education_topbar_icon');
	if($campus_education_topbar == false){
		$campus_education_custom_css .=' .top-bar{';
			$campus_education_custom_css .='border-top: 2px solid var(--primary-color);';
		$campus_education_custom_css .='} ';
	}

	/*------------ Button Settings option-----------------*/
	$campus_education_top_button_padding = get_theme_mod('campus_education_top_button_padding');
	$campus_education_bottom_button_padding = get_theme_mod('campus_education_bottom_button_padding');
	$campus_education_left_button_padding = get_theme_mod('campus_education_left_button_padding');
	$campus_education_right_button_padding = get_theme_mod('campus_education_right_button_padding');
	$campus_education_custom_css .='.more-btn a, .blogbtn a, #comments input[type="submit"].submit{';
		$campus_education_custom_css .='padding-top: '.esc_attr($campus_education_top_button_padding).'px; padding-bottom: '.esc_attr($campus_education_bottom_button_padding).'px; padding-left: '.esc_attr($campus_education_left_button_padding).'px; padding-right: '.esc_attr($campus_education_right_button_padding).'px; display:inline-block;';
	$campus_education_custom_css .='}';

	$campus_education_button_border_radius = get_theme_mod('campus_education_button_border_radius');
	$campus_education_custom_css .='.more-btn a, .blogbtn a, #comments input[type="submit"].submit{';
		$campus_education_custom_css .='border-radius: '.esc_attr($campus_education_button_border_radius).'px;';
	$campus_education_custom_css .='}';

	// button font weight
	$campus_education_button_font_weight = get_theme_mod('campus_education_button_font_weight');
  	$campus_education_custom_css .='.blogbtn a{';
    $campus_education_custom_css .='font-weight: '.esc_attr($campus_education_button_font_weight).';';
  	$campus_education_custom_css .='}';


  	// button text transform
  	$campus_education_button_text_transform = get_theme_mod('campus_education_button_text_transform');
  	if($campus_education_button_text_transform == 'uppercase' ){
    	$campus_education_custom_css .='.blogbtn a{';
      	$campus_education_custom_css .=' text-transform: uppercase;';
    	$campus_education_custom_css .='}';
  	}elseif($campus_education_button_text_transform == 'Capitalize' ){
    	$campus_education_custom_css .='.blogbtn a{';
      	$campus_education_custom_css .=' text-transform: Capitalize;';
    	$campus_education_custom_css .='}';
  	}elseif($campus_education_button_text_transform == 'lowercase' ){
    	$campus_education_custom_css .='.blogbtn a{';
      	$campus_education_custom_css .=' text-transform: lowercase;';
    	$campus_education_custom_css .='}';
  	}

	// Button letter spacing
	$campus_education_button_letter_spacing = get_theme_mod('campus_education_button_letter_spacing', '0');
	$campus_education_custom_css .='.blogbtn a{';
		$campus_education_custom_css .='letter-spacing: '.esc_attr($campus_education_button_letter_spacing).'px;';
	$campus_education_custom_css .='}';

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

	//keyframes for all animations
	$campus_education_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); }
	}';

  	// widgets heading font size
	$campus_education_widgets_heading_fontsize = get_theme_mod('campus_education_widgets_heading_fontsize',26);
	if($campus_education_widgets_heading_fontsize != false){
		$campus_education_custom_css .='#footer h3, #footer h2, #footer .wp-block-search__label{';
			$campus_education_custom_css .='font-size: '.esc_attr($campus_education_widgets_heading_fontsize).'px; ';
		$campus_education_custom_css .='}';
	}

	// widgets heading font weight
	$campus_education_widgets_heading_font_weight = get_theme_mod('campus_education_widgets_heading_font_weight', '600');
  	$campus_education_custom_css .='#footer h3, #footer h2, #footer .wp-block-search__label{';
    $campus_education_custom_css .='font-weight: '.esc_attr($campus_education_widgets_heading_font_weight).';';
  	$campus_education_custom_css .='}';

	/*----------- Footer widgets heading alignment -----*/
	$campus_education_footer_widgets_heading = get_theme_mod( 'campus_education_footer_widgets_heading','Left');
    if($campus_education_footer_widgets_heading == 'Left'){
		$campus_education_custom_css .='#footer h3{';
		$campus_education_custom_css .='text-align: left;';
		$campus_education_custom_css .='}';
	}else if($campus_education_footer_widgets_heading == 'Center'){
		$campus_education_custom_css .='#footer h3{';
			$campus_education_custom_css .='text-align: center;';
		$campus_education_custom_css .='}';
	}else if($campus_education_footer_widgets_heading == 'Right'){
		$campus_education_custom_css .='#footer h3{';
			$campus_education_custom_css .='text-align: right;';
		$campus_education_custom_css .='}';
	}

	$campus_education_footer_widgets_content = get_theme_mod( 'campus_education_footer_widgets_content','Left');
    if($campus_education_footer_widgets_content == 'Left'){
		$campus_education_custom_css .='#footer .widget ul{';
		$campus_education_custom_css .='text-align: left;';
		$campus_education_custom_css .='}';
	}else if($campus_education_footer_widgets_content == 'Center'){
		$campus_education_custom_css .='#footer .widget ul{';
			$campus_education_custom_css .='text-align: center;';
		$campus_education_custom_css .='}';
	}else if($campus_education_footer_widgets_content == 'Right'){
		$campus_education_custom_css .='#footer .widget ul{';
			$campus_education_custom_css .='text-align: right;';
		$campus_education_custom_css .='}';
	}

   
	// Footer Heading Text Transform

	$campus_education_theme_lay = get_theme_mod( 'campus_education_footer_text_tranform','Capitalize');
    if($campus_education_theme_lay == 'Uppercase'){
		$campus_education_custom_css .='#footer h3{';
			$campus_education_custom_css .='text-transform: Uppercase;';
		$campus_education_custom_css .='}';
	}else if($campus_education_theme_lay == 'Lowercase'){
		$campus_education_custom_css .='#footer h3{';
			$campus_education_custom_css .='text-transform: Lowercase;';
		$campus_education_custom_css .='}';
	}
	else if($campus_education_theme_lay == 'Capitalize'){
		$campus_education_custom_css .='#footer h3{';
			$campus_education_custom_css .='text-transform: Capitalize;';
		$campus_education_custom_css .='}';
	}	

	// Footer Heading  letter spacing
	$campus_education_widgets_heading_letter_spacing = get_theme_mod('campus_education_widgets_heading_letter_spacing','');
	$campus_education_custom_css .='#footer h3{';
	$campus_education_custom_css .='letter-spacing: '.esc_attr($campus_education_widgets_heading_letter_spacing).'px;';
	$campus_education_custom_css .='}';		

/*---------------------------Footer Style -------------------*/

	$campus_education_theme_lay = get_theme_mod( 'campus_education_footer_template','campus_education-footer-one');
    if($campus_education_theme_lay == 'campus_education-footer-one'){
		$campus_education_custom_css .='#footer {';
			$campus_education_custom_css .='';
		$campus_education_custom_css .='}';

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

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

	/*----------- Copyright css -----*/
	$campus_education_copyright_top_padding = get_theme_mod('campus_education_top_copyright_padding');
	$campus_education_copyright_bottom_padding = get_theme_mod('campus_education_copyright_bottom_padding');
	$campus_education_custom_css .='.inner{';
		$campus_education_custom_css .='padding-top: '.esc_attr($campus_education_copyright_top_padding).'px; padding-bottom: '.esc_attr($campus_education_copyright_bottom_padding).'px; ';
	$campus_education_custom_css .='}';

	$campus_education_copyright_alignment = get_theme_mod('campus_education_copyright_alignment', 'center');
	if($campus_education_copyright_alignment == 'center' ){
		$campus_education_custom_css .='#footer .copyright p{';
			$campus_education_custom_css .='text-align: '. $campus_education_copyright_alignment .';';
		$campus_education_custom_css .='}';
	}elseif($campus_education_copyright_alignment == 'left' ){
		$campus_education_custom_css .='#footer .copyright p{';
			$campus_education_custom_css .=' text-align: '. $campus_education_copyright_alignment .';';
		$campus_education_custom_css .='}';
	}elseif($campus_education_copyright_alignment == 'right' ){
		$campus_education_custom_css .='#footer .copyright p{';
			$campus_education_custom_css .='text-align: '. $campus_education_copyright_alignment .';';
		$campus_education_custom_css .='}';
	}

	$campus_education_copyright_font_size = get_theme_mod('campus_education_copyright_font_size');
	$campus_education_custom_css .='#footer .copyright p{';
		$campus_education_custom_css .='font-size: '.esc_attr($campus_education_copyright_font_size).'px;';
	$campus_education_custom_css .='}';

	$campus_education_copyright_color = get_theme_mod('campus_education_copyright_color');
	$campus_education_custom_css .='#footer .copyright p,#footer .copyright a{';
		$campus_education_custom_css .='color: '.esc_attr($campus_education_copyright_color).'!important;';
	$campus_education_custom_css .='}';

	$campus_education_back_to_top_text_color = get_theme_mod('campus_education_back_to_top_text_color');
	$campus_education_custom_css .='.back-to-top{';
		$campus_education_custom_css .='color: '.esc_attr($campus_education_back_to_top_text_color).'!important;';
	$campus_education_custom_css .='}';

	$campus_education_back_to_top_color = get_theme_mod('campus_education_back_to_top_color');
	$campus_education_custom_css .='.back-to-top{';
		$campus_education_custom_css .='background-color: '.esc_attr($campus_education_back_to_top_color).'!important;';
	$campus_education_custom_css .='}';
		$campus_education_back_to_top_color = get_theme_mod('campus_education_back_to_top_color');
	$campus_education_custom_css .='.back-to-top::before{';
		$campus_education_custom_css .='border-bottom-color: '.esc_attr($campus_education_back_to_top_color).'!important;';
	$campus_education_custom_css .='}';	

	// back to top icon hover color
	$campus_education_back_to_top_hover_color = get_theme_mod('campus_education_back_to_top_hover_color');
	$campus_education_custom_css .='.back-to-top:hover{';
		$campus_education_custom_css .='background-color: '.esc_attr($campus_education_back_to_top_hover_color). ' !important;';
	$campus_education_custom_css .='}';
		$campus_education_back_to_top_hover_color = get_theme_mod('campus_education_back_to_top_hover_color');
	$campus_education_custom_css .='.back-to-top:hover::before{';
		$campus_education_custom_css .='border-bottom-color: '.esc_attr($campus_education_back_to_top_hover_color).'!important;';
	$campus_education_custom_css .='}';

	/*-------- Slider hide -----------*/
	$campus_education_slider = get_theme_mod('campus_education_slider_hide', false);
	if($campus_education_slider == false){
		$campus_education_custom_css .=' .page-template-custom-front-page .menu-sec{';
			$campus_education_custom_css .='position: static; ';
		$campus_education_custom_css .='} ';
		$campus_education_custom_css .=' .page-template-custom-front-page .top-bar{';
			$campus_education_custom_css .='border-bottom: 2px solid' .esc_attr($campus_education_first_theme_color).';';
		$campus_education_custom_css .='} ';
		$campus_education_custom_css .=' .page-template-custom-front-page .top-header{';
			$campus_education_custom_css .='margin: 0;';
		$campus_education_custom_css .='} ';
	}

	/*------ Topbar padding ------*/
	$campus_education_top_topbar_padding = get_theme_mod('campus_education_top_topbar_padding');
	$campus_education_bottom_topbar_padding = get_theme_mod('campus_education_bottom_topbar_padding');
	$campus_education_custom_css .='.top-header{';
		$campus_education_custom_css .='padding-top: '.esc_attr($campus_education_top_topbar_padding).'px; padding-bottom: '.esc_attr($campus_education_bottom_topbar_padding).'px; ';
	$campus_education_custom_css .='}';

	/*------ Woocommerce ----*/
	$campus_education_product_border = get_theme_mod('campus_education_product_border',true);

	if($campus_education_product_border == false){
		$campus_education_custom_css .='.woocommerce ul.products li.product, .woocommerce-page ul.products li.product{';
			$campus_education_custom_css .='border: 0;';
		$campus_education_custom_css .='}';
	}

	$campus_education_product_top = get_theme_mod('campus_education_product_top_padding', 10);
	$campus_education_product_bottom = get_theme_mod('campus_education_product_bottom_padding', 10);
	$campus_education_product_left = get_theme_mod('campus_education_product_left_padding', 10);
	$campus_education_product_right = get_theme_mod('campus_education_product_right_padding', 10);
	$campus_education_custom_css .='.woocommerce ul.products li.product, .woocommerce-page ul.products li.product{';
		$campus_education_custom_css .='padding-top: '.esc_attr($campus_education_product_top).'px; padding-bottom: '.esc_attr($campus_education_product_bottom).'px; padding-left: '.esc_attr($campus_education_product_left).'px; padding-right: '.esc_attr($campus_education_product_right).'px;';
	$campus_education_custom_css .='}';

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

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

	/*----- WooCommerce button css --------*/
	$campus_education_product_button_top = get_theme_mod('campus_education_product_button_top_padding',10);
	$campus_education_product_button_bottom = get_theme_mod('campus_education_product_button_bottom_padding',10);
	$campus_education_product_button_left = get_theme_mod('campus_education_product_button_left_padding',15);
	$campus_education_product_button_right = get_theme_mod('campus_education_product_button_right_padding',15);
	$campus_education_custom_css .='.woocommerce ul.products li.product .button, .woocommerce div.product form.cart .button, a.button.wc-forward, .woocommerce .cart .button, .woocommerce .cart input.button, .woocommerce #payment #place_order, .woocommerce-page #payment #place_order, button.woocommerce-button.button.woocommerce-form-login__submit, .woocommerce button.button:disabled, .woocommerce button.button:disabled[disabled]{';
		$campus_education_custom_css .='padding-top: '.esc_attr($campus_education_product_button_top).'px; padding-bottom: '.esc_attr($campus_education_product_button_bottom).'px; padding-left: '.esc_attr($campus_education_product_button_left).'px; padding-right: '.esc_attr($campus_education_product_button_right).'px;';
	$campus_education_custom_css .='}';

	$campus_education_product_button_border_radius = get_theme_mod('campus_education_product_button_border_radius');
	$campus_education_custom_css .='.woocommerce ul.products li.product .button, .woocommerce div.product form.cart .button, a.button.wc-forward, .woocommerce .cart .button, .woocommerce .cart input.button, a.checkout-button.button.alt.wc-forward, .woocommerce #payment #place_order, .woocommerce-page #payment #place_order, button.woocommerce-button.button.woocommerce-form-login__submit{';
		$campus_education_custom_css .='border-radius: '.esc_attr($campus_education_product_button_border_radius).'px;';
	$campus_education_custom_css .='}';

	/*----- WooCommerce product sale css --------*/
	$campus_education_product_sale_top = get_theme_mod('campus_education_product_sale_top_padding');
	$campus_education_product_sale_bottom = get_theme_mod('campus_education_product_sale_bottom_padding');
	$campus_education_product_sale_left = get_theme_mod('campus_education_product_sale_left_padding');
	$campus_education_product_sale_right = get_theme_mod('campus_education_product_sale_right_padding');
	$campus_education_custom_css .='.woocommerce span.onsale {';
		$campus_education_custom_css .='padding-top: '.esc_attr($campus_education_product_sale_top).'px; padding-bottom: '.esc_attr($campus_education_product_sale_bottom).'px; padding-left: '.esc_attr($campus_education_product_sale_left).'px; padding-right: '.esc_attr($campus_education_product_sale_right).'px;';
	$campus_education_custom_css .='}';

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

	$campus_education_menu_case = get_theme_mod('campus_education_product_sale_position', 'Right');
	if($campus_education_menu_case == 'Right' ){
		$campus_education_custom_css .='.woocommerce ul.products li.product .onsale{';
			$campus_education_custom_css .=' left:auto; right:0;';
		$campus_education_custom_css .='}';
	}elseif($campus_education_menu_case == 'Left' ){
		$campus_education_custom_css .='.woocommerce ul.products li.product .onsale{';
			$campus_education_custom_css .=' left:-10px; right:auto;';
		$campus_education_custom_css .='}';
	}

	$campus_education_product_sale_font_size = get_theme_mod('campus_education_product_sale_font_size',13);
	$campus_education_custom_css .='.woocommerce span.onsale {';
		$campus_education_custom_css .='font-size: '.esc_attr($campus_education_product_sale_font_size).'px;';
	$campus_education_custom_css .='}';

	/*---- Slider Image overlay -----*/
	$campus_education_slider_image_overlay = get_theme_mod('campus_education_slider_image_overlay',true);
	if($campus_education_slider_image_overlay == false){
		$campus_education_custom_css .='#slider img {';
			$campus_education_custom_css .='opacity: 1;';
		$campus_education_custom_css .='}';
	}

	$campus_education_slider_overlay_color = get_theme_mod('campus_education_slider_overlay_color');
	if($campus_education_slider_overlay_color != false){
		$campus_education_custom_css .='#slider  {';
			$campus_education_custom_css .='background-color: '.esc_attr($campus_education_slider_overlay_color).';';
		$campus_education_custom_css .='}';
	}

	/*---- Comment form ----*/
	$campus_education_comment_width = get_theme_mod('campus_education_comment_width', '100');
	$campus_education_custom_css .='#comments textarea{';
		$campus_education_custom_css .=' width:'.esc_attr($campus_education_comment_width).'%;';
	$campus_education_custom_css .='}';

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

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

	/*------ Footer background css -------*/
	$campus_education_footer_bg_color = get_theme_mod('campus_education_footer_bg_color');
	if($campus_education_footer_bg_color != false){
		$campus_education_custom_css .='#footer{';
			$campus_education_custom_css .='background-color: '.esc_attr($campus_education_footer_bg_color).';';
		$campus_education_custom_css .='}';
	}

	$campus_education_footer_bg_image = get_theme_mod('campus_education_footer_bg_image');
	if($campus_education_footer_bg_image != false){
		$campus_education_custom_css .='#footer{';
			$campus_education_custom_css .='background: url('.esc_attr($campus_education_footer_bg_image).'); background-size: cover;';
		$campus_education_custom_css .='}';
	}

	//footer icon color
	$campus_education_footer_icon_color = get_theme_mod('campus_education_footer_icon_color', 'var(--secondary-color)');
	$campus_education_custom_css .='#footer .copyright a i{';
		$campus_education_custom_css .='color: '.esc_attr($campus_education_footer_icon_color).'!important;';
	$campus_education_custom_css .='}';	

	/*-------- Footer Icon Alignment ------*/
	$campus_education_footer_icon_alignment = get_theme_mod('campus_education_footer_icon_alignment', 'Center');
	if($campus_education_footer_icon_alignment == 'Center' ){
		$campus_education_custom_css .='#footer .copyright{';
			$campus_education_custom_css .='text-align: '. $campus_education_footer_icon_alignment .';';
		$campus_education_custom_css .='}';
	}elseif($campus_education_footer_icon_alignment == 'Left' ){
		$campus_education_custom_css .='#footer .copyright{';
			$campus_education_custom_css .=' text-align: '. $campus_education_footer_icon_alignment .';';
		$campus_education_custom_css .='}';
	}elseif($campus_education_footer_icon_alignment == 'Right' ){
		$campus_education_custom_css .='#footer .copyright{';
			$campus_education_custom_css .='text-align: '. $campus_education_footer_icon_alignment .';';
		$campus_education_custom_css .='}';
	}

	//Footer Social Icon Font size
	$campus_education_footer_icon_font_size = get_theme_mod('campus_education_footer_icon_font_size');
	$campus_education_custom_css .='#footer .copyright a i{';
	$campus_education_custom_css .='font-size: '.esc_attr($campus_education_footer_icon_font_size).'px;';
	$campus_education_custom_css .='}';

	//Footer Social Icon Top Bottom padding 
	$campus_education_footer_icon_to_top_padding = get_theme_mod('campus_education_footer_icon_to_top_padding');
	$campus_education_custom_css .='#footer .copyright a i{';
	$campus_education_custom_css .='padding-top: '.esc_attr($campus_education_footer_icon_to_top_padding).'px;';
	$campus_education_custom_css .='padding-bottom: '.esc_attr($campus_education_footer_icon_to_top_padding).'px;';
	$campus_education_custom_css .='}';

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

	// Footer Attatchment
	$campus_education_theme_lay = get_theme_mod( 'campus_education_footer_attatchment','scroll');
	if($campus_education_theme_lay == 'fixed'){
		$campus_education_custom_css .='#footer{';
			$campus_education_custom_css .='background-attachment: fixed;';
		$campus_education_custom_css .='}';
	}elseif ($campus_education_theme_lay == 'scroll'){
		$campus_education_custom_css .='#footer{';
			$campus_education_custom_css .='background-attachment: scroll;';
		$campus_education_custom_css .='}';
	}		
	/*---------------------------Footer top bottom padding -------------------*/

	$campus_education_footer_padding = get_theme_mod('campus_education_footer_padding');
	if($campus_education_footer_padding != false){
		$campus_education_custom_css .='#footer .footerinner{';
			$campus_education_custom_css .='padding: '.esc_attr($campus_education_footer_padding).' 0 !important;';
		$campus_education_custom_css .='}';
	}
	/*----- Featured image css -----*/
	$campus_education_feature_image_border_radius = get_theme_mod('campus_education_feature_image_border_radius');
	if($campus_education_feature_image_border_radius != false){
		$campus_education_custom_css .='#blog_post .blog-sec img{';
			$campus_education_custom_css .='border-radius: '.esc_attr($campus_education_feature_image_border_radius).'px;';
		$campus_education_custom_css .='}';
	}

	$campus_education_feature_image_shadow = get_theme_mod('campus_education_feature_image_shadow');
	if($campus_education_feature_image_shadow != false){
		$campus_education_custom_css .='#blog_post .blog-sec img{';
			$campus_education_custom_css .='box-shadow: '.esc_attr($campus_education_feature_image_shadow).'px '.esc_attr($campus_education_feature_image_shadow).'px '.esc_attr($campus_education_feature_image_shadow).'px #aaa;';
		$campus_education_custom_css .='}';
	}
	// blog post Pagination Alignment
	$campus_education_post_pagination_alignment = get_theme_mod( 'campus_education_post_pagination_option','Right');
	if($campus_education_post_pagination_alignment == 'Left'){
		$campus_education_custom_css .='.navigation nav.pagination{';
			$campus_education_custom_css .='justify-content: left;';
		$campus_education_custom_css .='}';
	}else if($campus_education_post_pagination_alignment == 'Center'){
		$campus_education_custom_css .='.navigation nav.pagination{';
			$campus_education_custom_css .='justify-content: center;';
		$campus_education_custom_css .='}';
	}else if($campus_education_post_pagination_alignment == 'Right'){
		$campus_education_custom_css .='.navigation nav.pagination{';
			$campus_education_custom_css .='justify-content: right;';
		$campus_education_custom_css .='}';
	}
	 /*----- Related posts image css-----*/
	$campus_education_related_posts_image_shadow = get_theme_mod('campus_education_related_posts_image_shadow');
	if($campus_education_related_posts_image_shadow != false){
		$campus_education_custom_css .='.related-posts .blog-sec img{';
			$campus_education_custom_css .='box-shadow: '.esc_attr($campus_education_related_posts_image_shadow).'px '.esc_attr($campus_education_related_posts_image_shadow).'px '.esc_attr($campus_education_related_posts_image_shadow).'px #aaa;';
		$campus_education_custom_css .='}';
	}

	$campus_education_related_image_border_radius = get_theme_mod('campus_education_related_image_border_radius');
	if($campus_education_related_image_border_radius != false){
		$campus_education_custom_css .='.related-posts .blog-sec img{';
			$campus_education_custom_css .='border-radius: '.esc_attr($campus_education_related_image_border_radius).'px;';
		$campus_education_custom_css .='}';
	}

	 /*----- Related Post display type css ------*/
	$campus_education_related_post_display_type = get_theme_mod('campus_education_related_post_display_type', 'blocks');
	if($campus_education_related_post_display_type == 'without blocks' ){
		$campus_education_custom_css .='.related-posts .blog-sec{';
			$campus_education_custom_css .='border: 0!important;';
		$campus_education_custom_css .='}';
	}

	// Metabox Seperator related post
	$campus_education_related_post_metabox_seperator = get_theme_mod('campus_education_related_post_metabox_seperator', '|');
	if($campus_education_related_post_metabox_seperator != '' ){
		$campus_education_custom_css .='.related-posts .blog-sec .post-info span:after{';
			$campus_education_custom_css .=' content: "'.esc_attr($campus_education_related_post_metabox_seperator).'"; padding-left:10px;';
		$campus_education_custom_css .='}';
		$campus_education_custom_css .='.related-posts .blog-sec .post-info span:last-child:after{';
			$campus_education_custom_css .=' content: none;';
		$campus_education_custom_css .='}';
	}	

	/*------ Sticky header padding ------------*/
	$campus_education_top_sticky_header_padding = get_theme_mod('campus_education_top_sticky_header_padding');
	$campus_education_bottom_sticky_header_padding = get_theme_mod('campus_education_bottom_sticky_header_padding');
	$campus_education_custom_css .=' .fixed-header{';
		$campus_education_custom_css .=' padding-top: '.esc_attr($campus_education_top_sticky_header_padding).'px; padding-bottom: '.esc_attr($campus_education_bottom_sticky_header_padding).'px';
	$campus_education_custom_css .='}';

	// featured image dimention
	$campus_education_blog_image_dimension = get_theme_mod('campus_education_blog_image_dimension', 'default');
	$campus_education_feature_image_custom_width = get_theme_mod('campus_education_feature_image_custom_width',250);
	$campus_education_feature_image_custom_height = get_theme_mod('campus_education_feature_image_custom_height',250);
	if($campus_education_blog_image_dimension == 'custom'){
		$campus_education_custom_css .='#blog_post .blog-sec img{';
			$campus_education_custom_css .='width: '.esc_attr($campus_education_feature_image_custom_width).'px; height: '.esc_attr($campus_education_feature_image_custom_height).'px;';
		$campus_education_custom_css .='}';
	}


	/*------ Related products ---------*/
	$campus_education_related_products = get_theme_mod('campus_education_single_related_products',true);
	if($campus_education_related_products == false){
		$campus_education_custom_css .=' .related.products{';
			$campus_education_custom_css .='display: none;';
		$campus_education_custom_css .='}';
	}

	/*-------- Menu Font Size --------*/
	$campus_education_menu_font_size = get_theme_mod('campus_education_menu_font_size',14);
	if($campus_education_menu_font_size != false){
		$campus_education_custom_css .='.nav-menu li a{';
			$campus_education_custom_css .='font-size: '.esc_attr($campus_education_menu_font_size).'px;';
		$campus_education_custom_css .='}';
	}

	$campus_education_menu_font_weight = get_theme_mod('campus_education_menu_font_weight');
	$campus_education_custom_css .='.nav-menu li a{';
		$campus_education_custom_css .='font-weight: '.esc_attr($campus_education_menu_font_weight).';';
	$campus_education_custom_css .='}';

	$campus_education_menu_case = get_theme_mod('campus_education_menu_case', 'uppercase');
	if($campus_education_menu_case == 'uppercase' ){
		$campus_education_custom_css .='.nav-menu li a{';
			$campus_education_custom_css .=' text-transform: uppercase;';
		$campus_education_custom_css .='}';
	}elseif($campus_education_menu_case == 'capitalize' ){
		$campus_education_custom_css .='.nav-menu li a{';
			$campus_education_custom_css .=' text-transform: capitalize;';
		$campus_education_custom_css .='}';
	}

	// Topbar Icons Font Size
	$campus_education_topbar_icons_font_size = get_theme_mod('campus_education_topbar_icons_font_size', '14');
	$campus_education_custom_css .='.contact-details i{';
		$campus_education_custom_css .='font-size: '.esc_attr($campus_education_topbar_icons_font_size).'px;';
	$campus_education_custom_css .='}';

	// Social Icons Font Size
	$campus_education_social_icons_font_size = get_theme_mod('campus_education_social_icons_font_size', '12');
	$campus_education_custom_css .='.social-media i{';
		$campus_education_custom_css .='font-size: '.esc_attr($campus_education_social_icons_font_size).'px;';
	$campus_education_custom_css .='}';

	//Header icon color
	$campus_education_header_icon_color = get_theme_mod('campus_education_header_icon_color', '');
	$campus_education_custom_css .='.social-media i{';
		$campus_education_custom_css .='color: '.esc_attr($campus_education_header_icon_color).'!important;';
	$campus_education_custom_css .='}';

	// Featured image header
	$header_image_url = campus_education_banner_image( $image_url = '' );
	$campus_education_custom_css .='#page-site-header{';
		$campus_education_custom_css .='background-image: url('. esc_url( $header_image_url ).'); background-size: cover;';
	$campus_education_custom_css .='}';

	$campus_education_post_featured_image = get_theme_mod('campus_education_post_featured_image', 'in-content');
	if($campus_education_post_featured_image == 'banner' ){
		$campus_education_custom_css .='.single #wrapper h1, .page .title-box h1, .page #wrapper img,  .page #wrapper h1{';
			$campus_education_custom_css .=' display: none;';
		$campus_education_custom_css .='}';
		$campus_education_custom_css .='.page-template-custom-front-page #page-site-header{';
			$campus_education_custom_css .=' display: none;';
		$campus_education_custom_css .='}';
	}

	// Woocommerce Shop page pagination
	$campus_education_shop_page_navigation = get_theme_mod('campus_education_shop_page_navigation',true);
	if ($campus_education_shop_page_navigation == false) {
		$campus_education_custom_css .='.woocommerce nav.woocommerce-pagination{';
			$campus_education_custom_css .='display: none;';
		$campus_education_custom_css .='}';
	}

	// Slider Button color
	$campus_education_slider_btn_color = get_theme_mod('campus_education_slider_btn_color','var(--primary-color)');
	$campus_education_custom_css .='.more-btn a{';
			$campus_education_custom_css .='color: '.esc_attr($campus_education_slider_btn_color).' !important;';
	$campus_education_custom_css .='}';

	// Slider button bg color
	$campus_education_slider_btn_bg_color = get_theme_mod('campus_education_slider_btn_bg_color');
	$campus_education_custom_css .='.more-btn a{';
			$campus_education_custom_css .='background: '.esc_attr($campus_education_slider_btn_bg_color).' !important;';
	$campus_education_custom_css .='}';

	// Slider button lable hover color
	$campus_education_slider_btn_lable_hover_color = get_theme_mod('campus_education_slider_btn_lable_hover_color','#fff');
	$campus_education_custom_css .='.more-btn a:hover{';
			$campus_education_custom_css .='color: '.esc_attr($campus_education_slider_btn_lable_hover_color).' !important;';
	$campus_education_custom_css .='}';

	// Slider button bg hover color
	$campus_education_slider_btn_bg_hover_color = get_theme_mod('campus_education_slider_btn_bg_hover_color','var(--secondary-color)');
	$campus_education_custom_css .='.more-btn a:hover{';
			$campus_education_custom_css .='background: '.esc_attr($campus_education_slider_btn_bg_hover_color).' !important;';
	$campus_education_custom_css .='}';

	/*---- Slider Height ------*/
	$campus_education_slider_height = get_theme_mod('campus_education_slider_height');
	$campus_education_custom_css .='#slider img{';
		$campus_education_custom_css .='height: '.esc_attr($campus_education_slider_height).'px;';
	$campus_education_custom_css .='}';
	$campus_education_custom_css .='@media screen and (max-width: 768px){
		#slider img{';
		$campus_education_custom_css .='height: auto;';
	$campus_education_custom_css .='} }';

	/*----- Blog Post display type css ------*/
	$campus_education_blog_post_display_type = get_theme_mod('campus_education_blog_post_display_type', 'blocks');
	if($campus_education_blog_post_display_type == 'without blocks' ){
		$campus_education_custom_css .='.blog .blog-sec, .blog #sidebar .widget{';
			$campus_education_custom_css .='border: 0;';
		$campus_education_custom_css .='}';
	}

	/*---------- Responsive style ---------*/

	$campus_education_toggle_button_bg_color_settings = get_theme_mod('campus_education_toggle_button_bg_color_settings');
	$campus_education_custom_css .='.toggle-menu {';
	$campus_education_custom_css .='background-color: '.esc_attr($campus_education_toggle_button_bg_color_settings).';';
	$campus_education_custom_css .='} ';

	if (get_theme_mod('campus_education_hide_topbar_responsive',true) == true && get_theme_mod('campus_education_top_header',false) == false) {
		$campus_education_custom_css .='.top-header{';
			$campus_education_custom_css .=' display: none;';
		$campus_education_custom_css .='} ';
	}
	if (get_theme_mod('campus_education_hide_topbar_responsive',true) == false) {
		$campus_education_custom_css .='@media screen and (max-width: 575px){
			.top-header{';
			$campus_education_custom_css .=' display: none;';
		$campus_education_custom_css .='} }';
	} else if(get_theme_mod('campus_education_hide_topbar_responsive',true) == true){
		$campus_education_custom_css .='@media screen and (max-width: 575px){
			.top-header{';
			$campus_education_custom_css .=' display: block;';
		$campus_education_custom_css .='} }';
	}

	if (get_theme_mod('campus_education_sticky_header_responsive') == false) {
		$campus_education_custom_css .='@media screen and (max-width: 575px){
			.sticky{';
			$campus_education_custom_css .=' position: static;';
		$campus_education_custom_css .='} }';
	}

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

	// Metabox Seperator
	$campus_education_metabox_seperator = get_theme_mod('campus_education_metabox_seperator','|');
	if($campus_education_metabox_seperator != '' ){
		$campus_education_custom_css .='#blog_post .blog-sec .post-info span:after{';
			$campus_education_custom_css .=' content: "'.esc_attr($campus_education_metabox_seperator).'"; padding-left:10px;';
		$campus_education_custom_css .='}';
		$campus_education_custom_css .='#blog_post .blog-sec .post-info span:last-child:after{';
			$campus_education_custom_css .=' content: none;';
		$campus_education_custom_css .='}';
	}

	// Metabox Seperator Single post
	$campus_education_single_post_metabox_seperator = get_theme_mod('campus_education_single_post_metabox_seperator','|');
	if($campus_education_single_post_metabox_seperator != '' ){
		$campus_education_custom_css .='.post-info span:after{';
			$campus_education_custom_css .=' content: "'.esc_attr($campus_education_single_post_metabox_seperator).'"; padding-left:10px;';
		$campus_education_custom_css .='}';
		$campus_education_custom_css .='.post-info span:last-child:after{';
			$campus_education_custom_css .=' content: none;';
		$campus_education_custom_css .='}';
	}

	// Metabox Seperator Grid post
	$campus_education_grid_post_metabox_seperator = get_theme_mod('campus_education_grid_post_metabox_seperator','|');
	if($campus_education_grid_post_metabox_seperator != '' ){
		$campus_education_custom_css .='.grid-post-info span:after{';
			$campus_education_custom_css .=' content: "'.esc_attr($campus_education_grid_post_metabox_seperator).'"; padding-left:10px;';
		$campus_education_custom_css .='}';
		$campus_education_custom_css .='.grid-post-info span:last-child:after{';
			$campus_education_custom_css .=' content: none;';
		$campus_education_custom_css .='}';
	}

	/*----- grid Post display type css ------*/
	$campus_education_grid_post_display_type = get_theme_mod('campus_education_grid_post_display_type', 'blocks');
	if($campus_education_grid_post_display_type == 'without blocks' ){
		$campus_education_custom_css .='.grid-sec{';
			$campus_education_custom_css .='border: 0;';
		$campus_education_custom_css .='}';
	}

	/*----- grid Post css ------*/
	$campus_education_grid_post_image_border_radius = get_theme_mod('campus_education_grid_post_image_border_radius');
	 if($campus_education_grid_post_image_border_radius != false){
		 $campus_education_custom_css .='.grid-sec img{';
			 $campus_education_custom_css .='border-radius: '.esc_attr($campus_education_grid_post_image_border_radius).'px;';
		 $campus_education_custom_css .='}';
	 }
 
	$campus_education_grid_posts_image_shadow = get_theme_mod('campus_education_grid_posts_image_shadow');
	if($campus_education_grid_posts_image_shadow != false){
		$campus_education_custom_css .='.grid-sec img{';
			$campus_education_custom_css .='box-shadow: '.esc_attr($campus_education_grid_posts_image_shadow).'px '.esc_attr($campus_education_grid_posts_image_shadow).'px '.esc_attr($campus_education_grid_posts_image_shadow).'px #aaa;';
		$campus_education_custom_css .='}';
	}

	/*-------- grid post Alignment ------*/
	$campus_education_grid_alignment = get_theme_mod('campus_education_grid_alignment','center');
	if($campus_education_grid_alignment == 'center' ){
		$campus_education_custom_css .='.grid-sec, .grid-sec h2, .grid-post-info, .grid-sec .entry-content, .grid-sec .blogbtn{';
			$campus_education_custom_css .=' text-align: '. $campus_education_grid_alignment .'!important;';
		$campus_education_custom_css .='}';
	}elseif($campus_education_grid_alignment == 'left' ){
		$campus_education_custom_css .='.grid-sec, .grid-sec h2, .grid-post-info, .grid-sec .entry-content, .grid-sec .blogbtn{';
			$campus_education_custom_css .='text-align: '. $campus_education_grid_alignment .'!important;';
		$campus_education_custom_css .='}';
	}elseif($campus_education_grid_alignment == 'right' ){
		$campus_education_custom_css .='.grid-sec, .grid-sec h2, .grid-post-info, .grid-sec .entry-content, .grid-sec .blogbtn{';
			$campus_education_custom_css .='text-align: '. $campus_education_grid_alignment .'!important;';
		$campus_education_custom_css .='}';
	}

	// Site title Font Size
	$campus_education_site_title_font_size = get_theme_mod('campus_education_site_title_font_size', '25');
	$campus_education_custom_css .='.campus-education-logo h1, .campus-education-logo p.site-title{';
		$campus_education_custom_css .='font-size: '.esc_attr($campus_education_site_title_font_size).'px;';
	$campus_education_custom_css .='}';

	// Site tagline Font Size
	$campus_education_site_tagline_font_size = get_theme_mod('campus_education_site_tagline_font_size', '12');
	$campus_education_custom_css .='.campus-education-logo p.site-description{';
		$campus_education_custom_css .='font-size: '.esc_attr($campus_education_site_tagline_font_size).'px;';
	$campus_education_custom_css .='}';

	/*---- Slider Content Position -----*/
	$campus_education_top_position = get_theme_mod('campus_education_slider_top_position');
	$campus_education_bottom_position = get_theme_mod('campus_education_slider_bottom_position');
	$campus_education_left_position = get_theme_mod('campus_education_slider_left_position');
	$campus_education_right_position = get_theme_mod('campus_education_slider_right_position');
	if($campus_education_top_position != false || $campus_education_bottom_position != false || $campus_education_left_position != false || $campus_education_right_position != false){
		$campus_education_custom_css .='#slider .carousel-caption{';
			$campus_education_custom_css .='top: '.esc_attr($campus_education_top_position).'%; bottom: '.esc_attr($campus_education_bottom_position).'%; left: '.esc_attr($campus_education_left_position).'%; right: '.esc_attr($campus_education_right_position).'%;';
		$campus_education_custom_css .='}';
	}

	// responsive settings
	if (get_theme_mod('campus_education_preloader_responsive',false) == true && get_theme_mod('campus_education_preloader',false) == false) {
		$campus_education_custom_css .='@media screen and (min-width: 575px){
			.preloader, #overlayer, .tg-loader{';
			$campus_education_custom_css .=' visibility: hidden;';
		$campus_education_custom_css .='} }';
	}
	if (get_theme_mod('campus_education_preloader_responsive',false) == false) {
		$campus_education_custom_css .='@media screen and (max-width: 575px){
			.preloader, #overlayer, .tg-loader{';
			$campus_education_custom_css .=' visibility: hidden;';
		$campus_education_custom_css .='} }';
	}

	// scroll to top
	$campus_education_scroll = get_theme_mod( 'campus_education_backtotop_responsive',true);
	if (get_theme_mod('campus_education_backtotop_responsive',true) == true && get_theme_mod('campus_education_hide_scroll',true) == false) {
    	$campus_education_custom_css .='.show-back-to-top{';
			$campus_education_custom_css .='visibility: hidden !important;';
		$campus_education_custom_css .='} ';
	}
    if($campus_education_scroll == true){
    	$campus_education_custom_css .='@media screen and (max-width:575px) {';
		$campus_education_custom_css .='.show-back-to-top{';
			$campus_education_custom_css .='visibility: visible !important;';
		$campus_education_custom_css .='} }';
	}else if($campus_education_scroll == false){
		$campus_education_custom_css .='@media screen and (max-width:575px) {';
		$campus_education_custom_css .='.show-back-to-top{';
			$campus_education_custom_css .='visibility: hidden !important;';
		$campus_education_custom_css .='} }';
	}

	/*------ Footer background css -------*/
	$campus_education_copyright_bg_color = get_theme_mod('campus_education_copyright_bg_color');
	if($campus_education_copyright_bg_color != false){
		$campus_education_custom_css .='.inner{';
			$campus_education_custom_css .='background-color: '.esc_attr($campus_education_copyright_bg_color).';';
		$campus_education_custom_css .='}';
	}

	// site logo padding 
	$campus_education_logo_spacing = get_theme_mod('campus_education_logo_spacing', '');
	$campus_education_custom_css .='.campus-education-logo{';
	$campus_education_custom_css .='padding: '.esc_attr($campus_education_logo_spacing).'px !important;';
	$campus_education_custom_css .='}';

	// site title color
	$campus_education_site_title_text_color = get_theme_mod('campus_education_site_title_text_color');
	$campus_education_custom_css .='.campus-education-logo h1 a, .campus-education-logo p.site-title a{';
		$campus_education_custom_css .='color: '.esc_attr($campus_education_site_title_text_color).' !important;';
	$campus_education_custom_css .='}';

	// site tagline color
	$campus_education_site_tagline_text_color = get_theme_mod('campus_education_site_tagline_text_color');
	$campus_education_custom_css .='.campus-education-logo p.site-description{';
		$campus_education_custom_css .='color: '.esc_attr($campus_education_site_tagline_text_color).' !important;';
	$campus_education_custom_css .='}';

	// responsive slider
	if (get_theme_mod('campus_education_slider_responsive',true) == true && get_theme_mod('campus_education_slider_hide',false) == false) {
		$campus_education_custom_css .='@media screen and (min-width: 575px){
			#slider{';
			$campus_education_custom_css .=' display: none;';
		$campus_education_custom_css .='} }';
	}
	if (get_theme_mod('campus_education_slider_responsive',true) == false) {
		$campus_education_custom_css .='@media screen and (max-width: 575px){
			#slider{';
			$campus_education_custom_css .=' display: none;';
		$campus_education_custom_css .='} }';
	}

	// slider button
	if (get_theme_mod('campus_education_slider_button_responsive',true) == true && get_theme_mod('campus_education_slider_button',true) == false) {
		$campus_education_custom_css .='@media screen and (min-width: 575px){
			.more-btn{';
			$campus_education_custom_css .=' display: none;';
		$campus_education_custom_css .='} }';
	}
	if (get_theme_mod('campus_education_slider_button_responsive',true) == false) {
		$campus_education_custom_css .='@media screen and (max-width: 575px){
			.more-btn{';
			$campus_education_custom_css .=' display: none;';
		$campus_education_custom_css .='} }';
	}

	// menu padding
	$campus_education_menu_padding = get_theme_mod('campus_education_menu_padding',10);
	$campus_education_custom_css .='.nav-menu ul li a, .sf-arrows ul .sf-with-ul, .sf-arrows .sf-with-ul{';
		$campus_education_custom_css .='padding: '.esc_attr($campus_education_menu_padding).'px;';
	$campus_education_custom_css .='}';

	// menu color
	$campus_education_menu_color = get_theme_mod('campus_education_menu_color');
	$campus_education_custom_css .='.nav-menu a, .nav-menu .current-menu-item > a, .nav-menu .current_page_ancestor > a{';
			$campus_education_custom_css .='color: '.esc_attr($campus_education_menu_color).' !important;';
	$campus_education_custom_css .='}';

	$campus_education_menus_item = get_theme_mod( 'campus_education_menus_item_style','None');
    if($campus_education_menus_item == 'None'){
		$campus_education_custom_css .='.nav-menu ul li a{';
			$campus_education_custom_css .='';
		$campus_education_custom_css .='}';
	}else if($campus_education_menus_item == 'Zoom In'){
		$campus_education_custom_css .='.nav-menu ul li a:hover{';
			$campus_education_custom_css .='transition: all 0.3s ease-in-out !important; transform: scale(1.2) !important;';
		$campus_education_custom_css .='}';
	}else if ($campus_education_menus_item == 'Underline Expand') { 
		$campus_education_custom_css .= '.nav-menu ul li a { position: relative; text-decoration: none; }';
	$campus_education_custom_css .= '.nav-menu ul li a::after {';
		$campus_education_custom_css .= 'content: ""; position: absolute; left: 50%; bottom: calc(' . esc_attr($campus_education_menu_padding) . 'px / 2); width: 0; height: 2px; background-color: currentColor;';
	$campus_education_custom_css .= 'transition: width 0.3s ease, left 0.3s ease;';
		$campus_education_custom_css .= '}';
	$campus_education_custom_css .= '.nav-menu ul li a:hover::after {';
		$campus_education_custom_css .= 'width: 100%; left: 0;';
	$campus_education_custom_css .= '}';
	}		

	// menu hover color
	$campus_education_menu_hover_color = get_theme_mod('campus_education_menu_hover_color');
	$campus_education_custom_css .='.nav-menu a:hover, .nav-menu ul li a:hover{';
			$campus_education_custom_css .='color: '.esc_attr($campus_education_menu_hover_color).' !important;';
	$campus_education_custom_css .='}';

	// Submenu color
	$campus_education_submenu_menu_color = get_theme_mod('campus_education_submenu_menu_color');
	$campus_education_custom_css .='.nav-menu ul.sub-menu a, .nav-menu ul.sub-menu li a,.nav-menu ul.children a, .nav-menu ul.children li a{';
			$campus_education_custom_css .='color: '.esc_attr($campus_education_submenu_menu_color).' !important;';
	$campus_education_custom_css .='}';

	// submenu hover color
	$campus_education_submenu_hover_color = get_theme_mod('campus_education_submenu_hover_color');
	$campus_education_custom_css .='.nav-menu ul.sub-menu a:hover, .nav-menu ul.sub-menu li a:hover,.nav-menu ul.children a:hover, .nav-menu ul.children li a:hover{';
			$campus_education_custom_css .='color: '.esc_attr($campus_education_submenu_hover_color).' !important;';
	$campus_education_custom_css .='}';

	// Breadcrumb Alignmennt
	$campus_education_single_page_breadcrumb_alignment = get_theme_mod('campus_education_single_page_breadcrumb_alignment', 'Left');
	if($campus_education_single_page_breadcrumb_alignment == 'Center' ){
		$campus_education_custom_css .='.bradcrumbs{';
			$campus_education_custom_css .='text-align: '. $campus_education_single_page_breadcrumb_alignment .';';
		$campus_education_custom_css .='}';
	}elseif($campus_education_single_page_breadcrumb_alignment == 'Left' ){
		$campus_education_custom_css .='.bradcrumbs{';
			$campus_education_custom_css .=' text-align: '. $campus_education_single_page_breadcrumb_alignment .';';
		$campus_education_custom_css .='}';
	}elseif($campus_education_single_page_breadcrumb_alignment == 'Right' ){
		$campus_education_custom_css .='.bradcrumbs{';
			$campus_education_custom_css .='text-align: '. $campus_education_single_page_breadcrumb_alignment .';';
		$campus_education_custom_css .='}';
	}

	// Breadcrumb color option
	$campus_education_breadcrumb_color = get_theme_mod('campus_education_breadcrumb_color');
	$campus_education_custom_css .='.bradcrumbs a,.bradcrumbs span{';
		$campus_education_custom_css .='color: '.esc_attr($campus_education_breadcrumb_color).'!important;';
	$campus_education_custom_css .='}';

	// Breadcrumb bg color option
	$campus_education_breadcrumb_background_color = get_theme_mod('campus_education_breadcrumb_background_color');
	$campus_education_custom_css .='.bradcrumbs a,.bradcrumbs span{';
		$campus_education_custom_css .='background-color: '.esc_attr($campus_education_breadcrumb_background_color).'!important;';
	$campus_education_custom_css .='}';

	// Breadcrumb hover color option
	$campus_education_breadcrumb_hover_color = get_theme_mod('campus_education_breadcrumb_hover_color');
	$campus_education_custom_css .='.bradcrumbs a:hover{';
		$campus_education_custom_css .='color: '.esc_attr($campus_education_breadcrumb_hover_color).'!important;';
	$campus_education_custom_css .='}';

	// Breadcrumb hover bg color option
	$campus_education_breadcrumb_hover_bg_color = get_theme_mod('campus_education_breadcrumb_hover_bg_color');
	$campus_education_custom_css .='.bradcrumbs a:hover{';
		$campus_education_custom_css .='background-color: '.esc_attr($campus_education_breadcrumb_hover_bg_color).'!important;';
	$campus_education_custom_css .='}';

	// site logo margin 
	$campus_education_logo_margin = get_theme_mod('campus_education_logo_margin', '');
	$campus_education_custom_css .='.campus-education-logo{';
	$campus_education_custom_css .='margin: '.esc_attr($campus_education_logo_margin).'px;';
	$campus_education_custom_css .='}';

	// Single post image border radious
	$campus_education_single_post_img_border_radius = get_theme_mod('campus_education_single_post_img_border_radius', 0);
	$campus_education_custom_css .='.feature-box img{';
		$campus_education_custom_css .='border-radius: '.esc_attr($campus_education_single_post_img_border_radius).'px;';
	$campus_education_custom_css .='}';

	// Single post image box shadow
	$campus_education_single_post_img_box_shadow = get_theme_mod('campus_education_single_post_img_box_shadow',0);
	$campus_education_custom_css .='.feature-box img{';
		$campus_education_custom_css .='box-shadow: '.esc_attr($campus_education_single_post_img_box_shadow).'px '.esc_attr($campus_education_single_post_img_box_shadow).'px '.esc_attr($campus_education_single_post_img_box_shadow).'px #ccc;';
	$campus_education_custom_css .='}';

	// single post image dimention
	$campus_education_single_post_image_dimension = get_theme_mod('campus_education_single_post_image_dimension', 'default');
	$campus_education_single_post_image_custom_width = get_theme_mod('campus_education_single_post_image_custom_width',400);
	$campus_education_single_post_image_custom_height = get_theme_mod('campus_education_single_post_image_custom_height',400);
	if($campus_education_single_post_image_dimension == 'custom'){
		$campus_education_custom_css .='.single-feature-img img{';
			$campus_education_custom_css .='width: '.esc_attr($campus_education_single_post_image_custom_width).'px; height: '.esc_attr($campus_education_single_post_image_custom_height).'px;';
		$campus_education_custom_css .='}';
	}

	// Button Font Size
	$campus_education_button_font_size = get_theme_mod('campus_education_button_font_size', '16');
	$campus_education_custom_css .='.blogbtn a{';
		$campus_education_custom_css .='font-size: '.esc_attr($campus_education_button_font_size).'px;';
	$campus_education_custom_css .='}';

	// sticky sidebar
	$campus_education_sticky_sidebar = get_theme_mod('campus_education_sticky_sidebar');
	if ( $campus_education_sticky_sidebar ) {
		$campus_education_custom_css .= '@media (min-width: 768px) {';
			$campus_education_custom_css .= '#sidebar {';
				$campus_education_custom_css .= 'position: sticky;';
				$campus_education_custom_css .= 'top: 25px;';
				$campus_education_custom_css .= 'align-self: start;';
			$campus_education_custom_css .= '}';
		$campus_education_custom_css .= '}';
	}

	// Copyright Sticky 
	$campus_education_resp_stickycopyright = get_theme_mod( 'campus_education_stickycopyright_hide_show',false);
	if($campus_education_resp_stickycopyright == true && get_theme_mod( 'campus_education_copyright_sticky',false) != true){
    	$campus_education_custom_css .='.copyright-sticky{';
			$campus_education_custom_css .='position:static;';
		$campus_education_custom_css .='} ';
	}	

	// change the Category style //
	$campus_education_single_post_styling = get_theme_mod( 'campus_education_single_post_styling','Button');
		if($campus_education_single_post_styling == 'Underline'){
		$campus_education_custom_css .='.single-post-category .post-categories li a{';
			$campus_education_custom_css .='text-decoration: underline; color: #000 !important; background-color:transparent;';
		$campus_education_custom_css .='}';
	}
	else if($campus_education_single_post_styling == 'Default'){
		$campus_education_custom_css .='.single-post-category .post-categories li a{';
			$campus_education_custom_css .='text-decoration: none; color: #000 !important; background-color:transparent;';
		$campus_education_custom_css .='}';
	}

