<?php

	$advance_education_theme_color = get_theme_mod('advance_education_theme_color');
	$advance_education_custom_css = '';

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

	// Single Post Image Settings
	$advance_education_single_img_border_radius = get_theme_mod('advance_education_single_img_border_radius', 0);
	$advance_education_custom_css .='.page-box-single .box-img img{';
		$advance_education_custom_css .='border-radius: '.esc_attr($advance_education_single_img_border_radius).'px;';
	$advance_education_custom_css .='}';

	$advance_education_single_img_box_shadow = get_theme_mod('advance_education_single_img_box_shadow',0);
	$advance_education_custom_css .='.page-box-single .box-img img{';
		$advance_education_custom_css .='box-shadow: '.esc_attr($advance_education_single_img_box_shadow).'px '.esc_attr($advance_education_single_img_box_shadow).'px '.esc_attr($advance_education_single_img_box_shadow).'px #ccc;';
	$advance_education_custom_css .='}';

	/*----Comment title text----*/
	$advance_education_title_comment_form = get_theme_mod('
		advance_education_title_comment_form', 'Leave a Reply');
	if($advance_education_title_comment_form == ''){
	$advance_education_custom_css .='#comments h2#reply-title {';
	$advance_education_custom_css .='display: none;';
	$advance_education_custom_css .='}';
	}

	/*----Comment button text----*/
	$advance_education_comment_form_button_content = get_theme_mod('advance_education_comment_form_button_content', 'Post Comment');
	if($advance_education_comment_form_button_content == ''){
	$advance_education_custom_css .='#comments p.form-submit {';
	$advance_education_custom_css .='display: none;';
	$advance_education_custom_css .='}';
	}

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

	// media
	$advance_education_custom_css .='@media screen and (max-width:1000px) {';
	if($advance_education_theme_color){
	$advance_education_custom_css .='#menu-sidebar, .primary-navigation ul ul a, .primary-navigation li a:hover, .primary-navigation li:hover a,.primary-navigation ul ul ul ul, .primary-navigation ul ul a:focus, .primary-navigation li a:focus{
	background-image: linear-gradient(-90deg, #000 0%, '.esc_attr($advance_education_theme_color).' 120%);
		}';
	}
	$advance_education_custom_css .='}';

	/*---------------------------Width Layout -------------------*/
	$advance_education_theme_lay = get_theme_mod( 'advance_education_theme_options','Default');
    if($advance_education_theme_lay == 'Default'){
		$advance_education_custom_css .='body{';
			$advance_education_custom_css .='max-width: 100%;';
		$advance_education_custom_css .='}';
		$advance_education_custom_css .='.page-template-custom-home-page .middle-header{';
			$advance_education_custom_css .='width: 97.3%';
		$advance_education_custom_css .='}';
	}else if($advance_education_theme_lay == 'Container'){
		$advance_education_custom_css .='body{';
			$advance_education_custom_css .='width: 100%;padding-right: 15px;padding-left: 15px;margin-right: auto;margin-left: auto;';
		$advance_education_custom_css .='}';
		$advance_education_custom_css .='.page-template-custom-home-page .middle-header{';
			$advance_education_custom_css .='width: 97.7%';
		$advance_education_custom_css .='}';
		$advance_education_custom_css .='.serach_outer{';
			$advance_education_custom_css .='width: 97.7%;padding-right: 15px;padding-left: 15px;margin-right: auto;margin-left: auto';
		$advance_education_custom_css .='}';
	}else if($advance_education_theme_lay == 'Box Container'){
		$advance_education_custom_css .='body{';
			$advance_education_custom_css .='max-width: 1140px; width: 100%; padding-right: 15px; padding-left: 15px; margin-right: auto; margin-left: auto;';
		$advance_education_custom_css .='}';
		$advance_education_custom_css .='.serach_outer{';
			$advance_education_custom_css .='max-width: 1140px; width: 100%; padding-right: 15px; padding-left: 15px; margin-right: auto; margin-left: auto; right:0';
		$advance_education_custom_css .='}';
		$advance_education_custom_css .='.page-template-custom-front-page .top-header{';
			$advance_education_custom_css .='margin: 0 10px;';
		$advance_education_custom_css .='}';
	}

	// css
	$advance_education_show_slider = get_theme_mod( 'advance_education_slider_hide', true);
	if($advance_education_show_slider == false){
		$advance_education_custom_css .='.page-template-custom-front-page #header-top{';
			$advance_education_custom_css .='position:static; margin:0; width: 100%; background: #f5f5f5;';
		$advance_education_custom_css .='}';
	} 
	if($advance_education_show_slider == false){
		$advance_education_custom_css .='.page-template-custom-front-page .top-header{';
			$advance_education_custom_css .='background: #f5f5f5;';
		$advance_education_custom_css .='}';
	}
	if($advance_education_show_slider == false){
		$advance_education_custom_css .='.page-template-custom-front-page .logo{';
			$advance_education_custom_css .='position: static; box-shadow: none;';
		$advance_education_custom_css .='}';
	}
	if($advance_education_show_slider == false){
		$advance_education_custom_css .='.page-template-custom-front-page .main-menu{';
			$advance_education_custom_css .='border-bottom: 1px solid var(--primary-color); box-shadow: 0px 2px 10px -2px #bbb;';
		$advance_education_custom_css .='}';
	}

	/*---------------------------Slider Content Layout -------------------*/
	$advance_education_theme_lay = get_theme_mod( 'advance_education_slider_content_alignment','Left');
    if($advance_education_theme_lay == 'Left'){
		$advance_education_custom_css .='#slider .carousel-caption, #slider .inner_carousel, #slider .inner_carousel h1, #slider .inner_carousel p, #slider .readbutton{';
			$advance_education_custom_css .='text-align:left; left:15%; right:15%;';
		$advance_education_custom_css .='}';
	}else if($advance_education_theme_lay == 'Center'){
		$advance_education_custom_css .='#slider .carousel-caption, #slider .inner_carousel, #slider .inner_carousel h1, #slider .inner_carousel p, #slider .readbutton{';
			$advance_education_custom_css .='text-align:center; left:15%; right:15%;';
		$advance_education_custom_css .='}';
	}else if($advance_education_theme_lay == 'Right'){
		$advance_education_custom_css .='#slider .carousel-caption, #slider .inner_carousel, #slider .inner_carousel h1, #slider .inner_carousel p, #slider .readbutton{';
			$advance_education_custom_css .='text-align:right; left:15%; right:15%;';
		$advance_education_custom_css .='}';
	}

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

	/*------------------------------ Button Settings option-----------------------*/
	$advance_education_button_padding_top_bottom = get_theme_mod('advance_education_button_padding_top_bottom');
	$advance_education_button_padding_left_right = get_theme_mod('advance_education_button_padding_left_right');
	$advance_education_custom_css .='.new-text .read-more-btn a, #slider .inner_carousel .readbtn a, #comments .form-submit input[type="submit"], .cat-posts a{';
		$advance_education_custom_css .='padding-top: '.esc_attr($advance_education_button_padding_top_bottom).'px !important; padding-bottom: '.esc_attr($advance_education_button_padding_top_bottom).'px !important; padding-left: '.esc_attr($advance_education_button_padding_left_right).'px !important; padding-right: '.esc_attr($advance_education_button_padding_left_right).'px !important; display:inline-block;';
	$advance_education_custom_css .='}';

	$advance_education_button_border_radius = get_theme_mod('advance_education_button_border_radius');
	$advance_education_custom_css .='.new-text .read-more-btn a,#slider .inner_carousel .readbtn a, #comments .form-submit input[type="submit"], .cat-posts a{';
		$advance_education_custom_css .='border-radius: '.esc_attr($advance_education_button_border_radius).'px;';
	$advance_education_custom_css .='}';

	/*--------------Responsive Setting --------------------*/
	$advance_education_stickyheader = get_theme_mod( 'advance_education_responsive_sticky_header', false);
	if($advance_education_stickyheader == false && get_theme_mod( 'advance_education_sticky_header', false) == true){
    	$advance_education_custom_css .='@media screen and (max-width:575px) {';
		$advance_education_custom_css .='.header-fixed{';
			$advance_education_custom_css .='position:static;';
		$advance_education_custom_css .='} }';
	}

	$advance_education_slider = get_theme_mod( 'advance_education_responsive_slider',true);
	if($advance_education_slider == true && get_theme_mod( 'advance_education_slider_hide', true) == false){
    	$advance_education_custom_css .='#slider{';
			$advance_education_custom_css .='display:none;';
		$advance_education_custom_css .='} ';
	}
    if($advance_education_slider == true){
    	$advance_education_custom_css .='@media screen and (max-width:575px) {';
		$advance_education_custom_css .='#slider{';
			$advance_education_custom_css .='display:block;';
		$advance_education_custom_css .='} }';
	}else if($advance_education_slider == false){
		$advance_education_custom_css .='@media screen and (max-width:575px) {';
		$advance_education_custom_css .='#slider{';
			$advance_education_custom_css .='display:none;';
		$advance_education_custom_css .='} }';
	}

	// responsive menu button 
	$advance_education_button_alignment = get_theme_mod('advance_education_button_alignment');
	if($advance_education_button_alignment != false){
		$advance_education_custom_css .='.toggle-menu.responsive-menu{';
			$advance_education_custom_css .='text-align: '.esc_attr($advance_education_button_alignment).';';
		$advance_education_custom_css .='}';
	} 

	$advance_education_slider = get_theme_mod( 'advance_education_responsive_scroll', true);
	if($advance_education_slider == true && get_theme_mod( 'advance_education_enable_disable_scroll', true) == false){
    	$advance_education_custom_css .='#scroll-top{';
			$advance_education_custom_css .='display:none;';
		$advance_education_custom_css .='} ';
	}
    if($advance_education_slider == true){
    	$advance_education_custom_css .='@media screen and (max-width:575px) {';
		$advance_education_custom_css .='#scroll-top{';
			$advance_education_custom_css .='visibility: visible !important;';
		$advance_education_custom_css .='} }';
	}else if($advance_education_slider == false){
		$advance_education_custom_css .='@media screen and (max-width:575px) {';
		$advance_education_custom_css .='#scroll-top{';
			$advance_education_custom_css .='visibility: hidden !important;';
		$advance_education_custom_css .='} }';
	}

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

	$advance_education_loader = get_theme_mod( 'advance_education_responsive_preloader', true);
	if($advance_education_loader == true && get_theme_mod( 'advance_education_preloader_option', true) == false){
    	$advance_education_custom_css .='#loader-wrapper{';
			$advance_education_custom_css .='display:none;';
		$advance_education_custom_css .='} ';
	}
    if($advance_education_loader == true){
    	$advance_education_custom_css .='@media screen and (max-width:575px) {';
		$advance_education_custom_css .='#loader-wrapper{';
			$advance_education_custom_css .='display:block;';
		$advance_education_custom_css .='} }';
	}else if($advance_education_loader == false){
		$advance_education_custom_css .='@media screen and (max-width:575px) {';
		$advance_education_custom_css .='#loader-wrapper{';
			$advance_education_custom_css .='display:none;';
		$advance_education_custom_css .='} }';
	}

	/*------------------ Skin Option  -------------------*/
	$advance_education_theme_lay = get_theme_mod( 'advance_education_background_skin_mode','Transpert Background');
    if($advance_education_theme_lay == 'With Background'){
		$advance_education_custom_css .='.page-box,#sidebar .widget,.woocommerce ul.products li.product, .woocommerce-page ul.products li.product,.front-page-content,.background-img-skin, .noresult-content{';
			$advance_education_custom_css .='background-color: #fff; padding:10px;';
		$advance_education_custom_css .='}';
	}else if($advance_education_theme_lay == 'Transpert Background'){
		$advance_education_custom_css .='.page-box-single, #sidebar aside{';
			$advance_education_custom_css .='background-color: transparent;';
		$advance_education_custom_css .='}';
	}

	/*------------ Woocommerce Settings  --------------*/
	$advance_education_top_bottom_product_button_padding = get_theme_mod('advance_education_top_bottom_product_button_padding', 10);
	$advance_education_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, .woocommerce input.button.alt, .woocommerce input.button.alt, .woocommerce button.button:disabled, .woocommerce button.button:disabled[disabled]{';
		$advance_education_custom_css .='padding-top: '.esc_attr($advance_education_top_bottom_product_button_padding).'px; padding-bottom: '.esc_attr($advance_education_top_bottom_product_button_padding).'px;';
	$advance_education_custom_css .='}';

	$advance_education_left_right_product_button_padding = get_theme_mod('advance_education_left_right_product_button_padding', 16);
	$advance_education_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, .woocommerce input.button.alt, .woocommerce input.button.alt, .woocommerce button.button:disabled, .woocommerce button.button:disabled[disabled]{';
		$advance_education_custom_css .='padding-left: '.esc_attr($advance_education_left_right_product_button_padding).'px; padding-right: '.esc_attr($advance_education_left_right_product_button_padding).'px;';
	$advance_education_custom_css .='}';

	$advance_education_product_button_border_radius = get_theme_mod('advance_education_product_button_border_radius', 0);
	$advance_education_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, .woocommerce input.button.alt, .woocommerce input.button.alt, .woocommerce button.button:disabled, .woocommerce button.button:disabled[disabled]{';
		$advance_education_custom_css .='border-radius: '.esc_attr($advance_education_product_button_border_radius).'px;';
	$advance_education_custom_css .='}';

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

	$advance_education_show_wooproducts_border = get_theme_mod('advance_education_show_wooproducts_border', false);
	if($advance_education_show_wooproducts_border == true){
		$advance_education_custom_css .='.products li{';
			$advance_education_custom_css .='border: 1px solid #d4d2d2;';
		$advance_education_custom_css .='}';
	}

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

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

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

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

	/*-------------- Footer Text -------------------*/

	$advance_education_footer_heading = get_theme_mod( 'advance_education_footer_heading','Left');
    if($advance_education_footer_heading == 'Left'){
		$advance_education_custom_css .='#footer h2, #footer .wp-block-search .wp-block-search__label{';
		$advance_education_custom_css .='text-align: left !important;';
		$advance_education_custom_css .='}';
	}else if($advance_education_footer_heading == 'Center'){
		$advance_education_custom_css .='#footer h2, #footer .wp-block-search .wp-block-search__label{';
			$advance_education_custom_css .='text-align: center !important;';
		$advance_education_custom_css .='}';
	}else if($advance_education_footer_heading == 'Right'){
		$advance_education_custom_css .='#footer h2, #footer .wp-block-search .wp-block-search__label{';
			$advance_education_custom_css .='text-align: right !important;';
		$advance_education_custom_css .='}';
	}

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

	// Footer Icon Font Size
	$advance_education_footer_icon_font_size = get_theme_mod('advance_education_footer_icon_font_size');
	$advance_education_custom_css .='.footer-social-icon i{';
		$advance_education_custom_css .='font-size: '.esc_attr($advance_education_footer_icon_font_size).'px;';
	$advance_education_custom_css .='}';

	//footer icon color
	$advance_education_footer_icon_color = get_theme_mod('advance_education_footer_icon_color', '#fff');
	$advance_education_custom_css .='.footer-social-icon i{';
		$advance_education_custom_css .='color: '.esc_attr($advance_education_footer_icon_color).'!important;';
	$advance_education_custom_css .='}';

	// Footer Heading Font Size
	$advance_education_footer_font_size = get_theme_mod('advance_education_footer_font_size',24);
	$advance_education_custom_css .='#footer h2{';
		$advance_education_custom_css .='font-size: '.esc_attr($advance_education_footer_font_size).'px;';
	$advance_education_custom_css .='}';

	// Footer heading font weight
	$advance_education_footer_heading_font_weight = get_theme_mod('advance_education_footer_heading_font_weight', '600');
  	$advance_education_custom_css .='#footer h2{';
    $advance_education_custom_css .='font-weight: '.esc_attr($advance_education_footer_heading_font_weight).'!important;';
  	$advance_education_custom_css .='}';

	// Footer Heading Text Transform
	$advance_education_theme_lay = get_theme_mod( 'advance_education_footer_text_tranform','Capitalize');
    if($advance_education_theme_lay == 'Uppercase'){
		$advance_education_custom_css .='#footer h2{';
			$advance_education_custom_css .='text-transform: uppercase !important;';
		$advance_education_custom_css .='}';
	}else if($advance_education_theme_lay == 'Lowercase'){
		$advance_education_custom_css .='#footer h2{';
			$advance_education_custom_css .='text-transform: lowercase !important;';
		$advance_education_custom_css .='}';
	}
	else if($advance_education_theme_lay == 'Capitalize'){
		$advance_education_custom_css .='#footer h2{';
			$advance_education_custom_css .='text-transform: capitalize !important;';
		$advance_education_custom_css .='}';
	}

	$advance_education_copyright_content_align = get_theme_mod('advance_education_copyright_content_align');
	if($advance_education_copyright_content_align != false){
		$advance_education_custom_css .='.copyright{';
			$advance_education_custom_css .='text-align: '.esc_attr($advance_education_copyright_content_align).';';
		$advance_education_custom_css .='}';
		$advance_education_custom_css .='
		@media screen and (max-width:575px) {
			.copyright{';
			$advance_education_custom_css .='text-align: center;} }';
	}

	$advance_education_align_footer_social_icon = get_theme_mod('advance_education_align_footer_social_icon');
	if($advance_education_align_footer_social_icon != false){
		$advance_education_custom_css .='.footer-social-icon{';
			$advance_education_custom_css .='text-align: '.esc_attr($advance_education_align_footer_social_icon).';';
		$advance_education_custom_css .='}';
		$advance_education_custom_css .='
		@media screen and (max-width:575px) {
			.footer-social-icon{';
			$advance_education_custom_css .='text-align: center;} }';
	}

	$advance_education_footer_content_font_size = get_theme_mod('advance_education_footer_content_font_size', 16);
	$advance_education_custom_css .='.copyright p{';
		$advance_education_custom_css .='font-size: '.esc_attr($advance_education_footer_content_font_size).'px !important;';
	$advance_education_custom_css .='}';

	$advance_education_copyright_padding = get_theme_mod('advance_education_copyright_padding', 15);
	$advance_education_custom_css .='.copyright{';
		$advance_education_custom_css .='padding-top: '.esc_attr($advance_education_copyright_padding).'px !important; padding-bottom: '.esc_attr($advance_education_copyright_padding).'px !important;';
	$advance_education_custom_css .='}';

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

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

	$advance_education_footer_widget_bg_color = get_theme_mod('advance_education_footer_widget_bg_color');
	$advance_education_custom_css .='#footer{';
		$advance_education_custom_css .='background-color: '.esc_attr($advance_education_footer_widget_bg_color).';';
	$advance_education_custom_css .='}';

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

	// scroll to top bg color
	$advance_education_back_to_top_bg_color = get_theme_mod('advance_education_back_to_top_bg_color');
	$advance_education_custom_css .='#scroll-top{';
		$advance_education_custom_css .='background-color: '.esc_attr($advance_education_back_to_top_bg_color).';';
		$advance_education_custom_css .='border-color: '.esc_attr($advance_education_back_to_top_bg_color).';';
	$advance_education_custom_css .='}';

	// scroll to top bg hover color
	$advance_education_back_to_top_bg_hover_color = get_theme_mod('advance_education_back_to_top_bg_hover_color');
	$advance_education_custom_css .='#scroll-top:hover{';
		$advance_education_custom_css .='background-color: '.esc_attr($advance_education_back_to_top_bg_hover_color).';';
		$advance_education_custom_css .='border-color: '.esc_attr($advance_education_back_to_top_bg_hover_color).';';
	$advance_education_custom_css .='}';

	// scroll to top
	$advance_education_scroll_font_size_icon = get_theme_mod('advance_education_scroll_font_size_icon', 22);
	$advance_education_custom_css .='#scroll-top i{';
		$advance_education_custom_css .='font-size: '.esc_attr($advance_education_scroll_font_size_icon).'px;';
	$advance_education_custom_css .='}';

	// Slider Height 
	$advance_education_slider_image_height = get_theme_mod('advance_education_slider_image_height');
	$advance_education_custom_css .='#slider img{';
		$advance_education_custom_css .='height: '.esc_attr($advance_education_slider_image_height).'px;';
	$advance_education_custom_css .='}';

	// button font size
	$advance_education_button_font_size = get_theme_mod('advance_education_button_font_size');
	$advance_education_custom_css .='.page-box .new-text .read-more-btn a{';
		$advance_education_custom_css .='font-size: '.esc_attr($advance_education_button_font_size).'px;';
	$advance_education_custom_css .='}';

	// button letter spacing
	$advance_education_button_letter_spacing = get_theme_mod('advance_education_button_letter_spacing');
	$advance_education_custom_css .='.page-box .new-text .read-more-btn a{';
		$advance_education_custom_css .='letter-spacing: '.esc_attr($advance_education_button_letter_spacing).'px;';
	$advance_education_custom_css .='}';

	// font weight
	$advance_education_btn_font_weight = get_theme_mod('advance_education_btn_font_weight');{
	$advance_education_custom_css .='.page-box .new-text .read-more-btn a{';
	$advance_education_custom_css .='font-weight: '.esc_attr($advance_education_btn_font_weight).';';
	$advance_education_custom_css .='}';
	}

	// Button Text Transform
	$advance_education_theme_lay = get_theme_mod( 'advance_education_button_text_transform','Uppercase');
    if($advance_education_theme_lay == 'Uppercase'){
		$advance_education_custom_css .='.page-box .new-text .read-more-btn a{';
			$advance_education_custom_css .='text-transform: uppercase;';
		$advance_education_custom_css .='}';
	}else if($advance_education_theme_lay == 'Lowercase'){
		$advance_education_custom_css .='.page-box .new-text .read-more-btn a{';
			$advance_education_custom_css .='text-transform: lowercase;';
		$advance_education_custom_css .='}';
	}
	else if($advance_education_theme_lay == 'Capitalize'){
		$advance_education_custom_css .='.page-box .new-text .read-more-btn a{';
			$advance_education_custom_css .='text-transform: capitalize;';
		$advance_education_custom_css .='}';
	}

	// Display Blog Post 
	$advance_education_display_blog_page_post = get_theme_mod( 'advance_education_display_blog_page_post','In Box');
    if($advance_education_display_blog_page_post == 'Without Box'){
		$advance_education_custom_css .='.page-box{';
			$advance_education_custom_css .='box-shadow: none; border-bottom: solid 1px #ebebeb;';
		$advance_education_custom_css .='}';
	}

	// Display Grid Post 
	$advance_education_display_grid_page_post = get_theme_mod( 'advance_education_display_grid_page_post','In Box');
    if($advance_education_display_grid_page_post == 'Without Box'){
		$advance_education_custom_css .='.page-box.grid-box{';
			$advance_education_custom_css .='box-shadow: none; border-bottom: solid 1px #ebebeb;';
		$advance_education_custom_css .='}';
	}

	$advance_education_grid_post_alignment = get_theme_mod( 'advance_education_grid_post_alignment','Left');
    if($advance_education_grid_post_alignment == 'Left'){
		$advance_education_custom_css .='.grid-box .new-text{';
		$advance_education_custom_css .='text-align: left!important;';
		$advance_education_custom_css .='}';
	}else if($advance_education_grid_post_alignment == 'Center'){
		$advance_education_custom_css .='.grid-box .new-text{';
			$advance_education_custom_css .='text-align: center!important;';
		$advance_education_custom_css .='}';
		$advance_education_custom_css .='.grid-box h2:after{';
			$advance_education_custom_css .='margin: 20px auto 0;';
		$advance_education_custom_css .='}';
	}else if($advance_education_grid_post_alignment == 'Right'){
		$advance_education_custom_css .='.grid-box .new-text{';
			$advance_education_custom_css .='text-align: right!important;';
		$advance_education_custom_css .='}';
		$advance_education_custom_css .='.grid-box .new-text h2{';
			$advance_education_custom_css .='position: relative;';
		$advance_education_custom_css .='}';
		$advance_education_custom_css .='.grid-box .new-text h2:after{';
			$advance_education_custom_css .='position: absolute; right: 0;';
		$advance_education_custom_css .='}';
	}

	// Blog Post Alignment
	$advance_education_blog_post_alignment = get_theme_mod( 'advance_education_blog_post_alignment','Left');
    if($advance_education_blog_post_alignment == 'Left'){
		$advance_education_custom_css .='.our-services .page-box .new-text{';
		$advance_education_custom_css .='text-align: left;';
		$advance_education_custom_css .='}';
	}else if($advance_education_blog_post_alignment == 'Center'){
		$advance_education_custom_css .='.our-services .page-box .new-text{';
			$advance_education_custom_css .='text-align: center;';
		$advance_education_custom_css .='}';
		$advance_education_custom_css .='.page-box .new-text h2:after{';
			$advance_education_custom_css .='margin: 15px auto 0;';
		$advance_education_custom_css .='}';
	}else if($advance_education_blog_post_alignment == 'Right'){
		$advance_education_custom_css .='.our-services .page-box .new-text{';
			$advance_education_custom_css .='text-align: right;';
		$advance_education_custom_css .='}';
		$advance_education_custom_css .='.page-box .new-text h2{';
			$advance_education_custom_css .='position: relative;';
		$advance_education_custom_css .='}';
		$advance_education_custom_css .='.page-box .new-text h2:after{';
			$advance_education_custom_css .='position: absolute; right: 0; margin-top: 8px;';
		$advance_education_custom_css .='}';
	}

	// Pagination Alignment
	$advance_education_pagination_alignment = get_theme_mod( 'advance_education_pagination_alignment','Left');
    if($advance_education_pagination_alignment == 'Left'){
		$advance_education_custom_css .='.pagination, .nav-links{';
		$advance_education_custom_css .='float: left;';
		$advance_education_custom_css .='}';
	}else if($advance_education_pagination_alignment == 'Center'){
		$advance_education_custom_css .='.pagination, .nav-links{';
			$advance_education_custom_css .='justify-content: center; float: none;';
		$advance_education_custom_css .='}';
	}else if($advance_education_pagination_alignment == 'Right'){
		$advance_education_custom_css .='.pagination, .nav-links{';
			$advance_education_custom_css .='float: right;';
		$advance_education_custom_css .='}';
	}

	// slider overlay
	$advance_education_slider_overlay = get_theme_mod('advance_education_slider_overlay', true);
	if($advance_education_slider_overlay == false){
		$advance_education_custom_css .='#slider img{';
			$advance_education_custom_css .='opacity:1;';
		$advance_education_custom_css .='}';
	} 
	$advance_education_slider_image_overlay_color = get_theme_mod('advance_education_slider_image_overlay_color', true);
	if($advance_education_slider_overlay != false){
		$advance_education_custom_css .='#slider{';
			$advance_education_custom_css .='background-color: '.esc_attr($advance_education_slider_image_overlay_color).';';
		$advance_education_custom_css .='}';
	}

	// site title and tagline font size option
	$advance_education_site_title_size_option = get_theme_mod('advance_education_site_title_size_option', 35);{
	$advance_education_custom_css .='.logo h1, .logo p.site-title a{';
	$advance_education_custom_css .='font-size: '.esc_attr($advance_education_site_title_size_option).'px;';
		$advance_education_custom_css .='}';
	}

	$advance_education_site_tagline_size_option = get_theme_mod('advance_education_site_tagline_size_option', 12);{
	$advance_education_custom_css .='.logo p{';
	$advance_education_custom_css .='font-size: '.esc_attr($advance_education_site_tagline_size_option).'px;';
		$advance_education_custom_css .='}';
	}

	// woocommerce product sale settings
	$advance_education_border_radius_product_sale = get_theme_mod('advance_education_border_radius_product_sale',0);
	$advance_education_custom_css .='.woocommerce span.onsale {';
		$advance_education_custom_css .='border-radius: '.esc_attr($advance_education_border_radius_product_sale).'px;';
	$advance_education_custom_css .='}';

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

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

	// preloader background image
	$advance_education_preloader_bg_image = get_theme_mod('advance_education_preloader_bg_image');
	if($advance_education_preloader_bg_image != false){
		$advance_education_custom_css .='#loader-wrapper .loader-section, #loader-wrapper{';
			$advance_education_custom_css .='background: url('.esc_attr($advance_education_preloader_bg_image).'); background-size: cover;';
		$advance_education_custom_css .='}';
	}

	// preloader background option
	$advance_education_loader_background_color_first = get_theme_mod('advance_education_loader_background_color_first');
	$advance_education_custom_css .='#loader-wrapper .loader-section, #loader-wrapper{';
		$advance_education_custom_css .='background-color: '.esc_attr($advance_education_loader_background_color_first).';';
	$advance_education_custom_css .='} ';

	// breadcrumb color
	$advance_education_breadcrumb_color = get_theme_mod('advance_education_breadcrumb_color');
	$advance_education_custom_css .='.breadcrumbs a, .breadcrumbs span{';
	$advance_education_custom_css .='color: '.esc_attr($advance_education_breadcrumb_color).';';
	$advance_education_custom_css .='} ';

	// breadcrumb bg color
	$advance_education_breadcrumb_bg_color = get_theme_mod('advance_education_breadcrumb_bg_color');
	$advance_education_custom_css .='.breadcrumbs a, .breadcrumbs span{';
	$advance_education_custom_css .='background-color: '.esc_attr($advance_education_breadcrumb_bg_color).';';
	$advance_education_custom_css .='border-color: '.esc_attr($advance_education_breadcrumb_bg_color).';';
	$advance_education_custom_css .='} ';

	// fixed header padding option
	$advance_education_sticky_header_padding_settings = get_theme_mod('advance_education_sticky_header_padding_settings', 0);
	$advance_education_custom_css .='.fixed-header, .header-fixed{';
		$advance_education_custom_css .='padding: '.esc_attr($advance_education_sticky_header_padding_settings).'px;';
	$advance_education_custom_css .='}';

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

	// featured image setting
	$advance_education_featured_img_border_radius = get_theme_mod('advance_education_featured_img_border_radius', 0);
	$advance_education_custom_css .='.our-services img{';
		$advance_education_custom_css .='border-radius: '.esc_attr($advance_education_featured_img_border_radius).'px;';
	$advance_education_custom_css .='}';

	$advance_education_featured_img_box_shadow = get_theme_mod('advance_education_featured_img_box_shadow',0);
	$advance_education_custom_css .='.our-services img{';
		$advance_education_custom_css .='box-shadow: '.esc_attr($advance_education_featured_img_box_shadow).'px '.esc_attr($advance_education_featured_img_box_shadow).'px '.esc_attr($advance_education_featured_img_box_shadow).'px #ccc;';
	$advance_education_custom_css .='}';

	// featured image dimention
	$advance_education_blog_image_dimension = get_theme_mod('advance_education_blog_image_dimension', 'default');
	$advance_education_feature_image_custom_width = get_theme_mod('advance_education_feature_image_custom_width');
	$advance_education_feature_image_custom_height = get_theme_mod('advance_education_feature_image_custom_height');
	if($advance_education_blog_image_dimension == 'custom'){
		$advance_education_custom_css .='.our-services .page-box img{';
			$advance_education_custom_css .='width: '.esc_attr($advance_education_feature_image_custom_width).'px; height: '.esc_attr($advance_education_feature_image_custom_height).'px;';
		$advance_education_custom_css .='}';
	}

	// featured image setting
	$advance_education_img_border_radius_grid_post = get_theme_mod('advance_education_img_border_radius_grid_post', 0);
	$advance_education_custom_css .='.our-services .grid-box img{';
		$advance_education_custom_css .='border-radius: '.esc_attr($advance_education_img_border_radius_grid_post).'px;';
	$advance_education_custom_css .='}';

	//First Cap (blog post)
	$advance_education_show_first_caps = get_theme_mod('advance_education_show_first_caps', 'false');
	if($advance_education_show_first_caps == 'true' ){
	$advance_education_custom_css .='.page-box .entry-content p:nth-of-type(1)::first-letter{';
	$advance_education_custom_css .=' font-size: 55px; font-weight: 600;';
	$advance_education_custom_css .=' margin-right: 6px;';
	$advance_education_custom_css .=' line-height: 1;';
	$advance_education_custom_css .='}';
	}elseif($advance_education_show_first_caps == 'false' ){
	$advance_education_custom_css .='.page-box .entry-content p:nth-of-type(1)::first-letter {';
	$advance_education_custom_css .='display: none;';
	$advance_education_custom_css .='}';
	}

	//First Cap (Single Post)
	$advance_education_single_post_first_caps = get_theme_mod('advance_education_single_post_first_caps', 'false');
	if($advance_education_single_post_first_caps == 'true' ){
	$advance_education_custom_css .='.new-text .entry-content p:nth-of-type(1)::first-letter,.related-posts .entry-content p:nth-of-type(1)::first-letter{';
	$advance_education_custom_css .=' font-size: 55px; font-weight: 600;';
	$advance_education_custom_css .=' margin-right: 6px;';
	$advance_education_custom_css .=' line-height: 1;';
	$advance_education_custom_css .='}';
	}elseif($advance_education_single_post_first_caps == 'false' ){
	$advance_education_custom_css .='.new-text .entry-content p:nth-of-type(1)::first-letter {';
	$advance_education_custom_css .='display: none;';
	$advance_education_custom_css .='}';
	}

	// slider top and bottom padding
	$advance_education_top_bottom_slider_content_space = get_theme_mod('advance_education_top_bottom_slider_content_space');
	$advance_education_left_right_slider_content_space = get_theme_mod('advance_education_left_right_slider_content_space');
	$advance_education_custom_css .='#slider .carousel-caption, #slider .inner_carousel, #slider .inner_carousel h1, #slider .inner_carousel p, #slider .know-btn{';
		$advance_education_custom_css .='top: '.esc_attr($advance_education_top_bottom_slider_content_space).'%; bottom: '.esc_attr($advance_education_top_bottom_slider_content_space).'%;left: '.esc_attr($advance_education_left_right_slider_content_space).'%;right: '.esc_attr($advance_education_left_right_slider_content_space).'%;';
	$advance_education_custom_css .='}';

	/*------------- Navigation Menu Font Size ------------------*/
	$advance_education_menu_font_size = get_theme_mod('advance_education_menu_font_size');{
		$advance_education_custom_css .='.primary-navigation a, .primary-navigation ul ul a, .sf-arrows .sf-with-ul:after, #menu-sidebar .primary-navigation a{';
			$advance_education_custom_css .='font-size: '.esc_attr($advance_education_menu_font_size).'px;';
		$advance_education_custom_css .='}';
	}

	//menu padding
	$advance_education_menu_padding = get_theme_mod('advance_education_menu_padding');{
		$advance_education_custom_css .='.primary-navigation ul, .sf-arrows .sf-with-ul:after{';
			$advance_education_custom_css .='padding: '.esc_attr($advance_education_menu_padding).'px;';
		$advance_education_custom_css .='}';
	}

	// Menu hover effect
	$advance_education_menus_item = get_theme_mod( 'advance_education_menus_item_style','None');
    if($advance_education_menus_item == 'None'){
		$advance_education_custom_css .='.primary-navigation ul a{';
			$advance_education_custom_css .='';
		$advance_education_custom_css .='}';
	}else if($advance_education_menus_item == 'Zoom In'){
		$advance_education_custom_css .='.primary-navigation ul a:hover{';
			$advance_education_custom_css .='transition: all 0.3s ease-in-out !important; transform: scale(1.2) !important;';
		$advance_education_custom_css .='}';
	}

	// menu text-transform
	$advance_education_theme_lay = get_theme_mod( 'advance_education_menu_text_tranform_option','Capitalize');
	if($advance_education_theme_lay == 'Uppercase'){
		$advance_education_custom_css .='.primary-navigation a{';
			$advance_education_custom_css .='text-transform:Uppercase;';
		$advance_education_custom_css .='}';
	}
	if($advance_education_theme_lay == 'Lowercase'){
		$advance_education_custom_css .='.primary-navigation a{';
			$advance_education_custom_css .='text-transform:Lowercase;';
		$advance_education_custom_css .='}';
	}

	// menu font weight
	$advance_education_menu_weight = get_theme_mod('advance_education_menu_weight');{
		$advance_education_custom_css .='.primary-navigation a, .primary-navigation ul ul a, .sf-arrows .sf-with-ul:after, #menu-sidebar .primary-navigation a{';
			$advance_education_custom_css .='font-weight: '.esc_attr($advance_education_menu_weight).';';
		$advance_education_custom_css .='}';
	}
 
 	// Menu Color Option
	$advance_education_menu_color_settings = get_theme_mod('advance_education_menu_color_settings');
	$advance_education_custom_css .='.primary-navigation ul li a{';
		$advance_education_custom_css .='color: '.esc_attr($advance_education_menu_color_settings).';';
	$advance_education_custom_css .='} ';

	// Menu Hover Color Option
	$advance_education_menu_hover_color_settings = get_theme_mod('advance_education_menu_hover_color_settings');
	$advance_education_custom_css .='.primary-navigation ul li a:hover {';
		$advance_education_custom_css .='color: '.esc_attr($advance_education_menu_hover_color_settings).';';
	$advance_education_custom_css .='} ';

	// Submenu Color Option
	$advance_education_submenu_color_settings = get_theme_mod('advance_education_submenu_color_settings');
	$advance_education_custom_css .='.primary-navigation ul.sub-menu li a, .primary-navigation ul.children li a{';
		$advance_education_custom_css .='color: '.esc_attr($advance_education_submenu_color_settings).';';
	$advance_education_custom_css .='} ';

	// Submenu Hover Color Option
	$advance_education_submenu_hover_color_settings = get_theme_mod('advance_education_submenu_hover_color_settings');
	$advance_education_custom_css .='.primary-navigation ul.sub-menu li a:hover, .primary-navigation ul.children li a:hover{';
		$advance_education_custom_css .='color: '.esc_attr($advance_education_submenu_hover_color_settings).';';
	$advance_education_custom_css .='} ';

	// site tagline color
	$advance_education_site_tagline_color = get_theme_mod('advance_education_site_tagline_color');
	$advance_education_custom_css .='.logo p {';
		$advance_education_custom_css .='color: '.esc_attr($advance_education_site_tagline_color).' !important;';
	$advance_education_custom_css .='}';

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

	// site top-bottom logo padding 
	$advance_education_logo_padding_top = get_theme_mod('advance_education_logo_padding_top', '');
	$advance_education_custom_css .='.logo{';
	$advance_education_custom_css .='padding-top: '.esc_attr($advance_education_logo_padding_top).'px; padding-bottom: '.esc_attr($advance_education_logo_padding_top).'px;';
	$advance_education_custom_css .='}';

	// site left-right logo padding 
	$advance_education_logo_padding_left = get_theme_mod('advance_education_logo_padding_left', '');
	$advance_education_custom_css .='.logo{';
	$advance_education_custom_css .='padding-left: '.esc_attr($advance_education_logo_padding_left).'px; padding-right: '.esc_attr($advance_education_logo_padding_left).'px;';
	$advance_education_custom_css .='}';

	// site top-bottom logo margin 
	$advance_education_logo_margin_top = get_theme_mod('advance_education_logo_margin_top', '');
	$advance_education_custom_css .='.logo{';
	$advance_education_custom_css .='margin-top: '.esc_attr($advance_education_logo_margin_top).'px; margin-bottom: '.esc_attr($advance_education_logo_margin_top).'px;';
	$advance_education_custom_css .='}';

	// site left-right logo margin
	$advance_education_logo_margin_left = get_theme_mod('advance_education_logo_margin_left', '');
	$advance_education_custom_css .='.logo{';
	$advance_education_custom_css .='margin-left: '.esc_attr($advance_education_logo_margin_left).'px; margin-right: '.esc_attr($advance_education_logo_margin_left).'px;';
	$advance_education_custom_css .='}';

	// Copyright Sticky 
	$advance_education_resp_stickycopyright = get_theme_mod( 'advance_education_stickycopyright_hide_show',false);
	if($advance_education_resp_stickycopyright == true && get_theme_mod( 'advance_education_copyright_sticky',false) != true){
    	$advance_education_custom_css .='.copyright-sticky{';
			$advance_education_custom_css .='position:static;';
		$advance_education_custom_css .='} ';
	}	


