<?php

	$anime_stream_custom_css= "";

	/*-------------------- Highlight Color -------------------*/

	$anime_stream_first_color = get_theme_mod('anime_stream_first_color');

	if($anime_stream_first_color != false){
		$anime_stream_custom_css .='#sidebar .wp-block-tag-cloud a:hover, #footer, .custom-about-us a.custom_read_more, #footer .wp-block-tag-cloud a:hover, table.compare-list .add-to-cart td a:not(.unstyled_button), .main-navigation ul.sub-menu > li:hover, .main-navigation ul.sub-menu > li > a:focus, .main-navigation ul.children > li:hover, .main-navigation ul.children > li > a:focus, .main-navigation .current_page_item:after, .main-navigation .current-menu-item:after, #comments input[type="submit"]:hover, .woocommerce #respond input#submit:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,.woocommerce #respond input#submit.alt:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover,.widget_product_search button:hover, .woocommerce button.button:disabled:hover, .woocommerce button.button:disabled[disabled]:hover, .single-product .woocommerce-notices-wrapper .woocommerce-message .button.wc-forward:hover, #sidebar .wp-block-search .wp-block-search__button:hover, .home-left-sidebar .signin-btn a i, #project-slider .project-box .project-btn-box .close-button, #project-slider .project-box .project-btn:hover, .home-right-sidebar .right-gallery .gallery-btn a:hover, #top-chart-section .top-chart-box .card-btn:hover, #top-chart-section .top-chart-box .open-video-btn:hover, #project-slider .project-img .close-popup, #top-chart-section .top-chart-box .close-popup, .more-btn a , #comments input[type="submit"],#comments a.comment-reply-link,input[type="submit"],.woocommerce #respond input#submit, .woocommerce button.button, .woocommerce input.button,.woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt,.pro-button a, .woocommerce a.added_to_cart.wc-forward, .single-product .woocommerce-notices-wrapper .woocommerce-message .button.wc-forward, .single-product .yith-add-to-wishlist-button-block .yith-wcwl-add-to-wishlist-button, .post-nav-links span:hover, .post-nav-links a:hover, #comments input[type="submit"]:hover, .more-btn a:hover,#footer .tagcloud a:hover, .pro-button a:hover, #comments a.comment-reply-link:hover, #preloader, #footer .tagcloud a:hover, #footer-2, #footer .wp-block-search .wp-block-search__button, #sidebar .wp-block-search .wp-block-search__button, .copyright .custom-social-icons i:hover, .scrollup i, .bradcrumbs a, .post-categories li a, .bradcrumbs a:hover, .post-categories li a:hover, .bradcrumbs span, nav.navigation.posts-navigation .nav-previous a, nav.navigation.posts-navigation .nav-next a, #sidebar .custom-social-icons a, #sidebar .custom-social-icons a:hover, #footer .custom-social-icons a:hover, #sidebar h3:before,#sidebar .widget_block h3:before, #sidebar h2:before, #sidebar label.wp-block-search__label:before, #sidebar .tagcloud a:hover, .pagination span, .pagination a, .post-nav-links span, .post-nav-links a, .woocommerce span.onsale, nav.woocommerce-MyAccount-navigation ul li, nav.woocommerce-MyAccount-navigation ul li:hover, .woocommerce ul.products li.product .button, .woocommerce a.added_to_cart.wc-forward,a.added_to_cart.wc-forward, .wishlist-items-wrapper .product-add-to-cart a, .wishlist_table.mobile .product-add-to-cart a, a.added_to_cart.wc-forward:hover, a.button.product_type_simple.add_to_cart_button.ajax_add_to_cart:hover, .woocommerce ul.products li.product .button:hover, a.button.product_type_simple.add_to_cart_button.ajax_add_to_cart, .woocommerce-cart .wc-block-grid__product-onsale,.woocommerce-cart .wc-block-grid .wc-block-grid__product-onsale, .wp-block-woocommerce-cart .wc-block-cart__submit-button,a.wc-block-components-checkout-return-to-cart-button, .wc-block-components-checkout-place-order-button, .wc-block-components-totals-coupon__button, .wp-block-woocommerce-cart .wc-block-cart__submit-button:hover, .wc-block-components-checkout-place-order-button:hover,a.wc-block-components-checkout-return-to-cart-button:hover, .wc-block-components-totals-coupon__button:hover, .search-form .search-submit, header.woocommerce-Address-title.title a, #tag-cloud-sec .tag-cloud-link{';
			$anime_stream_custom_css .='background-color: '.esc_attr($anime_stream_first_color).';';
		$anime_stream_custom_css .='}';
	}

	if($anime_stream_first_color != false){
		$anime_stream_custom_css .='#top-chart-section .top-chart-box .bookmark .login-submit input[type="submit"], #awn-popup-wrapper .shareurl_modal .shareurl_copy_btn, .cbxwpbookmark-default .cbxwpbookmark-mylist-wrap .cbxbookmark-btn, .woocommerce-pagination .page-numbers.current, .woocommerce-pagination a.page-numbers:hover, header.woocommerce-Address-title.title a:hover,#tag-cloud-sec .tag-cloud-link:hover,.wc-block-grid__product-add-to-cart.wp-block-button .wp-block-button__link:hover, #sidebar ul li::before, .wp-block-woocommerce-cart .wc-block-components-product-badge, .wc-block-components-order-summary-item__quantity, header.woocommerce-Address-title.title a:hover,#tag-cloud-sec .tag-cloud-link:hover,.wc-block-grid__product-add-to-cart.wp-block-button .wp-block-button__link:hover{';
			$anime_stream_custom_css .='background-color: '.esc_attr($anime_stream_first_color).'!important;';
		$anime_stream_custom_css .='}';
	}

	if($anime_stream_first_color != false){
		$anime_stream_custom_css .='a, a:hover, .sticky .post-main-box h2:before, .main-navigation .current_page_item:before, .main-navigation .current-menu-item:before, .main-header .post-category .drp_dwn_menu i, .home-left-sidebar .signin-btn a:hover, .home-left-sidebar .signin-btn a:hover i, #project-slider .project-box .project-title a, #project-slider .project-box .project-btn, #top-chart-section .top-chart-box .open-video-btn, #top-chart-section .top-chart-box .top-chart-img .card-year a, #top-chart-section .top-chart-box .card-review .kk-star-ratings, .home-right-sidebar .right-top-cards .swiper-button-next i, .home-right-sidebar .right-top-cards .swiper-button-prev i, #top-chart-section .cards-swiper-button-prev i, #top-chart-section .cards-swiper-button-next i, .home-right-sidebar .right-gallery .gallery-title i, .home-right-sidebar .right-sidebar-top .right-card-title i, .home-right-sidebar .right-gallery .gallery-btn a, #top-chart-section .top-chart-box .card-btn, #sidebar .widget_text p a, #sidebar .wp-block-heading a, .post-main-box:hover h2 a, .post-main-box:hover .post-info span a, .single-post .post-info:hover a, .middle-bar h6, .grid-post-main-box:hover h2 a, .grid-post-main-box:hover .post-info span a, #sidebar ul li:hover, .woocommerce-error::before, .pagination a:hover, .pagination .current, .post-navigation span.meta-nav, .post-navigation span.meta-nav:hover, .yith-wcwl-wishlistaddedbrowse span.feedback, .yith-wcwl-wishlistexistsbrowse span.feedback, .wishlist_table .product-name a, .wishlist_table.mobile .product-name a, .woocommerce-message::before,.woocommerce-info::before{';
			$anime_stream_custom_css .='color: '.esc_attr($anime_stream_first_color).';';
		$anime_stream_custom_css .='}';
	}

	if($anime_stream_first_color != false){
		$anime_stream_custom_css .='#top-chart-section .top-chart-box .card-review .kksr-legend, .tags-bg a:hover, #footer .custom-social-icons a:hover{';
			$anime_stream_custom_css .='color: '.esc_attr($anime_stream_first_color).'!important;';
		$anime_stream_custom_css .='}';
	}

	if($anime_stream_first_color != false){
		$anime_stream_custom_css .='#sidebar .wp-block-search .wp-block-search__button:hover, #project-slider .project-box:nth-child(1), #top-chart-section .top-chart-box .open-video-btn, #top-chart-section .top-chart-box .top-chart-img .card-year a, #top-chart-section .top-chart-box .card-review .kk-star-ratings, .home-right-sidebar .right-gallery .gallery-btn a, #top-chart-section .top-chart-box .card-btn, #footer .tagcloud a:hover, #footer .wp-block-search .wp-block-search__button, #sidebar .wp-block-search .wp-block-search__button, .post-main-box, .grid-post-main-box, .bradcrumbs a, .post-categories li a, .bradcrumbs a:hover, .post-categories li a:hover, .bradcrumbs span, #sidebar .widget, .pagination span, .pagination a, .post-nav-links span, .post-nav-links a{';
			$anime_stream_custom_css .='border-color: '.esc_attr($anime_stream_first_color).';';
		$anime_stream_custom_css .='}';
	}

	if($anime_stream_first_color != false){
		$anime_stream_custom_css .='#awn-popup-wrapper .shareurl_modal .shareurl_copy_btn{';
			$anime_stream_custom_css .='border-color: '.esc_attr($anime_stream_first_color).' !important;';
		$anime_stream_custom_css .='}';
	}

	if($anime_stream_first_color != false){
		$anime_stream_custom_css .='#footer .custom-social-icons a:hover{';
			$anime_stream_custom_css .='outline: 6px double '.esc_attr($anime_stream_first_color).';';
		$anime_stream_custom_css .='}';
	}

	if($anime_stream_first_color != false){
		$anime_stream_custom_css .='#sidebar .widget{';
			$anime_stream_custom_css .='border-bottom-color: '.esc_attr($anime_stream_first_color).';';
		$anime_stream_custom_css .='}';
	}

	if($anime_stream_first_color != false){
		$anime_stream_custom_css .='#sidebar .widget, .woocommerce-error, .woocommerce-message,.woocommerce-info{';
			$anime_stream_custom_css .='border-top-color: '.esc_attr($anime_stream_first_color).';';
		$anime_stream_custom_css .='}';
	}

	if($anime_stream_first_color != false){
		$anime_stream_custom_css .='#sidebar .widget{';
			$anime_stream_custom_css .='border-right-color: '.esc_attr($anime_stream_first_color).';';
		$anime_stream_custom_css .='}';
	}

	if($anime_stream_first_color != false){
		$anime_stream_custom_css .='#sidebar .widget{';
			$anime_stream_custom_css .='border-left-color: '.esc_attr($anime_stream_first_color).';';
		$anime_stream_custom_css .='}';
	}

	if($anime_stream_first_color != false){
		$anime_stream_custom_css .='@media screen and (max-width:1199px) {';
			$anime_stream_custom_css .='.main-home-box .toggle-right button, .main-home-box .right-inner-sidebar .closebtn{';
				$anime_stream_custom_css .='background-color: '.esc_attr($anime_stream_first_color).';';
			$anime_stream_custom_css .='}';
		$anime_stream_custom_css .='}';
	}

	if($anime_stream_first_color != false){
		$anime_stream_custom_css .='@media screen and (max-width:1000px) {';
			$anime_stream_custom_css .='.main-home-box .toggle-left button, .main-home-box .left-inner-sidebar .closebtn{';
				$anime_stream_custom_css .='background-color: '.esc_attr($anime_stream_first_color).';';
			$anime_stream_custom_css .='}';
		$anime_stream_custom_css .='}';
	}

	$anime_stream_right_sidebar_show = get_theme_mod( 'anime_stream_right_sidebar_hide_show',false);
	if($anime_stream_right_sidebar_show != true){
    	$anime_stream_custom_css .='.main-home-box .home-content{';
			$anime_stream_custom_css .='margin-left: auto; margin-right: 0;';
		$anime_stream_custom_css .='} ';
	}

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

	$anime_stream_theme_lay = get_theme_mod( 'anime_stream_width_option','Full Width');
    if($anime_stream_theme_lay == 'Boxed'){
		$anime_stream_custom_css .='body{';
			$anime_stream_custom_css .='max-width: 1140px; width: 100%; margin-right: auto; margin-left: auto;';
		$anime_stream_custom_css .='}';
		$anime_stream_custom_css .='.scrollup i{';
			$anime_stream_custom_css .='right: 100px;';
		$anime_stream_custom_css .='}';
		$anime_stream_custom_css .='.row.outer-logo{';
			$anime_stream_custom_css .='margin-left: 0px;';
		$anime_stream_custom_css .='}';
	}else if($anime_stream_theme_lay == 'Wide Width'){
		$anime_stream_custom_css .='body{';
			$anime_stream_custom_css .='width: 100%;padding-right: 15px;padding-left: 15px;margin-right: auto;margin-left: auto;';
		$anime_stream_custom_css .='}';
		$anime_stream_custom_css .='.scrollup i{';
			$anime_stream_custom_css .='right: 30px;';
		$anime_stream_custom_css .='}';
		$anime_stream_custom_css .='.row.outer-logo{';
			$anime_stream_custom_css .='margin-left: 0px;';
		$anime_stream_custom_css .='}';
	}else if($anime_stream_theme_lay == 'Full Width'){
		$anime_stream_custom_css .='body{';
			$anime_stream_custom_css .='max-width: 100%;';
		$anime_stream_custom_css .='}';
	}

	/*-------------- Sticky Header Padding ----------------*/

	$anime_stream_responsive_preloader_hide = get_theme_mod('anime_stream_responsive_preloader_hide',false);
	if($anime_stream_responsive_preloader_hide == true && get_theme_mod('anime_stream_loader_enable',false) == false){
		$anime_stream_custom_css .='@media screen and (min-width:575px){
			#preloader{';
			$anime_stream_custom_css .='display:none !important;';
		$anime_stream_custom_css .='} }';
	}

	if($anime_stream_responsive_preloader_hide == false){
		$anime_stream_custom_css .='@media screen and (max-width:575px){
			#preloader{';
			$anime_stream_custom_css .='display:none !important;';
		$anime_stream_custom_css .='} }';
	}

	$anime_stream_resp_sidebar = get_theme_mod( 'anime_stream_sidebar_hide_show',true);
    if($anime_stream_resp_sidebar == true){
    	$anime_stream_custom_css .='@media screen and (max-width:575px) {';
		$anime_stream_custom_css .='#sidebar{';
			$anime_stream_custom_css .='display:block;';
		$anime_stream_custom_css .='} }';
	}else if($anime_stream_resp_sidebar == false){
		$anime_stream_custom_css .='@media screen and (max-width:575px) {';
		$anime_stream_custom_css .='#sidebar{';
			$anime_stream_custom_css .='display:none;';
		$anime_stream_custom_css .='} }';
	}
	$anime_stream_resp_scroll_top = get_theme_mod( 'anime_stream_resp_scroll_top_hide_show',true);
	if($anime_stream_resp_scroll_top == true && get_theme_mod( 'anime_stream_hide_show_scroll',true) == false){
    	$anime_stream_custom_css .='.scrollup i{';
			$anime_stream_custom_css .='visibility:hidden !important;';
		$anime_stream_custom_css .='} ';
	}
    if($anime_stream_resp_scroll_top == true){
    	$anime_stream_custom_css .='@media screen and (max-width:575px) {';
		$anime_stream_custom_css .='.scrollup i{';
			$anime_stream_custom_css .='visibility:visible !important;';
		$anime_stream_custom_css .='} }';
	}else if($anime_stream_resp_scroll_top == false){
		$anime_stream_custom_css .='@media screen and (max-width:575px){';
		$anime_stream_custom_css .='.scrollup i{';
			$anime_stream_custom_css .='visibility:hidden !important;';
		$anime_stream_custom_css .='} }';
	}

	/*------------- Slider Content Padding Settings ------------------*/

	$anime_stream_slider_content_padding_top_bottom = get_theme_mod('anime_stream_slider_content_padding_top_bottom');
	$anime_stream_slider_content_padding_left_right = get_theme_mod('anime_stream_slider_content_padding_left_right');
	if($anime_stream_slider_content_padding_top_bottom != false || $anime_stream_slider_content_padding_left_right != false){
		$anime_stream_custom_css .='#slider .carousel-caption{';
			$anime_stream_custom_css .='top: '.esc_attr($anime_stream_slider_content_padding_top_bottom).'; bottom: '.esc_attr($anime_stream_slider_content_padding_top_bottom).';left: '.esc_attr($anime_stream_slider_content_padding_left_right).';right: '.esc_attr($anime_stream_slider_content_padding_left_right).';';
		$anime_stream_custom_css .='}';
	}
	
	/*-------------- Copyright Alignment ----------------*/

	$anime_stream_copyright_alingment = get_theme_mod('anime_stream_copyright_alingment');
	if($anime_stream_copyright_alingment != false){
		$anime_stream_custom_css .='.copyright p{';
			$anime_stream_custom_css .='text-align: '.esc_attr($anime_stream_copyright_alingment).';';
		$anime_stream_custom_css .='}';
	}

	$anime_stream_footer_background_color = get_theme_mod('anime_stream_footer_background_color');
	if($anime_stream_footer_background_color != false){
		$anime_stream_custom_css .='#footer{';
			$anime_stream_custom_css .='background-color: '.esc_attr($anime_stream_footer_background_color).';';
		$anime_stream_custom_css .='}';
	}

	$anime_stream_align_footer_social_icon = get_theme_mod('anime_stream_align_footer_social_icon');
	if($anime_stream_align_footer_social_icon != false){
		$anime_stream_custom_css .='.copyright .widget{';
			$anime_stream_custom_css .='text-align: '.esc_attr($anime_stream_align_footer_social_icon).';';
		$anime_stream_custom_css .='}';
		$anime_stream_custom_css .='
		@media screen and (max-width:720px) {
			.copyright .widget{';
			$anime_stream_custom_css .='text-align: center;} }';
	}

	$anime_stream_resp_stickycopyright = get_theme_mod( 'anime_stream_stickycopyright_hide_show',false);
	if($anime_stream_resp_stickycopyright == true && get_theme_mod( 'anime_stream_copyright_sticky',false) != true){
    	$anime_stream_custom_css .='.copyright-sticky{';
			$anime_stream_custom_css .='position:static;';
		$anime_stream_custom_css .='} ';
	}

	$anime_stream_footer_social_icons_font_size = get_theme_mod('anime_stream_footer_social_icons_font_size','16');
	$anime_stream_custom_css .='.copyright .widget i{';
		$anime_stream_custom_css .='font-size: '.esc_attr($anime_stream_footer_social_icons_font_size).'px;';
	$anime_stream_custom_css .='}';

	/*------------- Preloader Background Color  -------------------*/

	$anime_stream_preloader_bg_color = get_theme_mod('anime_stream_preloader_bg_color');
	if($anime_stream_preloader_bg_color != false){
		$anime_stream_custom_css .='#preloader{';
			$anime_stream_custom_css .='background-color: '.esc_attr($anime_stream_preloader_bg_color).';';
		$anime_stream_custom_css .='}';
	}

	$anime_stream_preloader_border_color = get_theme_mod('anime_stream_preloader_border_color');
	if($anime_stream_preloader_border_color != false){
		$anime_stream_custom_css .='.loader-line{';
			$anime_stream_custom_css .='border-color: '.esc_attr($anime_stream_preloader_border_color).'!important;';
		$anime_stream_custom_css .='}';
	}

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

	/*-------------- Copyright Alignment ----------------*/

	$anime_stream_copyright_alingment = get_theme_mod('anime_stream_copyright_alingment');
	if($anime_stream_copyright_alingment != false){
		$anime_stream_custom_css .='.copyright p{';
			$anime_stream_custom_css .='text-align: '.esc_attr($anime_stream_copyright_alingment).';';
		$anime_stream_custom_css .='}';
	}

	$anime_stream_copyright_background_color = get_theme_mod('anime_stream_copyright_background_color');
	if($anime_stream_copyright_background_color != false){
		$anime_stream_custom_css .='#footer-2{';
			$anime_stream_custom_css .='background-color: '.esc_attr($anime_stream_copyright_background_color).';';
		$anime_stream_custom_css .='}';
	}

	$anime_stream_footer_background_image = get_theme_mod('anime_stream_footer_background_image');
	if($anime_stream_footer_background_image != false){
		$anime_stream_custom_css .='#footer{';
			$anime_stream_custom_css .='background: url('.esc_attr($anime_stream_footer_background_image).')no-repeat;background-size:cover';
		$anime_stream_custom_css .='}';
	}

	$anime_stream_theme_lay = get_theme_mod( 'anime_stream_img_footer','scroll');
	if($anime_stream_theme_lay == 'fixed'){
		$anime_stream_custom_css .='#footer{';
			$anime_stream_custom_css .='background-attachment: fixed !important; background-position: center !important;';
		$anime_stream_custom_css .='}';
	}elseif ($anime_stream_theme_lay == 'scroll'){
		$anime_stream_custom_css .='#footer{';
			$anime_stream_custom_css .='background-attachment: scroll !important; background-position: center !important;';
		$anime_stream_custom_css .='}';
	}

	$anime_stream_footer_img_position = get_theme_mod('anime_stream_footer_img_position','center center');
	if($anime_stream_footer_img_position != false){
		$anime_stream_custom_css .='#footer{';
			$anime_stream_custom_css .='background-position: '.esc_attr($anime_stream_footer_img_position).'!important;';
		$anime_stream_custom_css .='}';
	}

	$anime_stream_footer_widgets_heading = get_theme_mod( 'anime_stream_footer_widgets_heading','Left');
    if($anime_stream_footer_widgets_heading == 'Left'){
		$anime_stream_custom_css .='#footer h3, #footer .wp-block-search .wp-block-search__label{';
		$anime_stream_custom_css .='text-align: left;';
		$anime_stream_custom_css .='}';
	}else if($anime_stream_footer_widgets_heading == 'Center'){
		$anime_stream_custom_css .='#footer h3, #footer .wp-block-search .wp-block-search__label{';
			$anime_stream_custom_css .='text-align: center;';
		$anime_stream_custom_css .='}';
	}else if($anime_stream_footer_widgets_heading == 'Right'){
		$anime_stream_custom_css .='#footer h3, #footer .wp-block-search .wp-block-search__label{';
			$anime_stream_custom_css .='text-align: right;';
		$anime_stream_custom_css .='}';
	}

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

	$anime_stream_copyright_font_size = get_theme_mod('anime_stream_copyright_font_size');
	if($anime_stream_copyright_font_size != false){
		$anime_stream_custom_css .='#footer-2 a, #footer-2 p{';
			$anime_stream_custom_css .='font-size: '.esc_attr($anime_stream_copyright_font_size).';';
		$anime_stream_custom_css .='}';
	}

	$anime_stream_copyright_alingment = get_theme_mod('anime_stream_copyright_alingment');
	if($anime_stream_copyright_alingment != false){
		$anime_stream_custom_css .='#footer-2 p{';
			$anime_stream_custom_css .='text-align: '.esc_attr($anime_stream_copyright_alingment).';';
		$anime_stream_custom_css .='}';
	}

	$anime_stream_copyright_padding_top_bottom = get_theme_mod('anime_stream_copyright_padding_top_bottom');
	if($anime_stream_copyright_padding_top_bottom != false){
		$anime_stream_custom_css .='#footer-2{';
			$anime_stream_custom_css .='padding-top: '.esc_attr($anime_stream_copyright_padding_top_bottom).'; padding-bottom: '.esc_attr($anime_stream_copyright_padding_top_bottom).';';
		$anime_stream_custom_css .='}';
	}

	$anime_stream_footer_padding = get_theme_mod('anime_stream_footer_padding');
	if($anime_stream_footer_padding != false){
		$anime_stream_custom_css .='#footer{';
			$anime_stream_custom_css .='padding: '.esc_attr($anime_stream_footer_padding).' 0;';
		$anime_stream_custom_css .='}';
	}
	/*-------------- Copyright Alignment ----------------*/

	$anime_stream_copyright_alingment = get_theme_mod('anime_stream_copyright_alingment');
	if($anime_stream_copyright_alingment != false){
		$anime_stream_custom_css .='.copyright p{';
			$anime_stream_custom_css .='text-align: '.esc_attr($anime_stream_copyright_alingment).';';
		$anime_stream_custom_css .='}';
	}

	/*----------------Scroll to top Settings ------------------*/

	$anime_stream_scroll_to_top_font_size = get_theme_mod('anime_stream_scroll_to_top_font_size');
	if($anime_stream_scroll_to_top_font_size != false){
		$anime_stream_custom_css .='.scrollup i{';
			$anime_stream_custom_css .='font-size: '.esc_attr($anime_stream_scroll_to_top_font_size).';';
		$anime_stream_custom_css .='}';
	}

	$anime_stream_scroll_to_top_padding = get_theme_mod('anime_stream_scroll_to_top_padding');
	$anime_stream_scroll_to_top_padding = get_theme_mod('anime_stream_scroll_to_top_padding');
	if($anime_stream_scroll_to_top_padding != false){
		$anime_stream_custom_css .='.scrollup i{';
			$anime_stream_custom_css .='padding-top: '.esc_attr($anime_stream_scroll_to_top_padding).';padding-bottom: '.esc_attr($anime_stream_scroll_to_top_padding).';';
		$anime_stream_custom_css .='}';
	}

	$anime_stream_scroll_to_top_width = get_theme_mod('anime_stream_scroll_to_top_width');
	if($anime_stream_scroll_to_top_width != false){
		$anime_stream_custom_css .='.scrollup i{';
			$anime_stream_custom_css .='width: '.esc_attr($anime_stream_scroll_to_top_width).';';
		$anime_stream_custom_css .='}';
	}

	$anime_stream_scroll_to_top_height = get_theme_mod('anime_stream_scroll_to_top_height');
	if($anime_stream_scroll_to_top_height != false){
		$anime_stream_custom_css .='.scrollup i{';
			$anime_stream_custom_css .='height: '.esc_attr($anime_stream_scroll_to_top_height).';';
		$anime_stream_custom_css .='}';
	}

	$anime_stream_scroll_to_top_border_radius = get_theme_mod('anime_stream_scroll_to_top_border_radius');
	if($anime_stream_scroll_to_top_border_radius != false){
		$anime_stream_custom_css .='.scrollup i{';
			$anime_stream_custom_css .='border-radius: '.esc_attr($anime_stream_scroll_to_top_border_radius).'px;';
		$anime_stream_custom_css .='}';
	}

	/*------------------ Logo  -------------------*/

	$anime_stream_logo_padding = get_theme_mod('anime_stream_logo_padding');
	if($anime_stream_logo_padding != false){
		$anime_stream_custom_css .='.close{';
			$anime_stream_custom_css .='padding: '.esc_attr($anime_stream_logo_padding).' !important;';
		$anime_stream_custom_css .='}';
	}

	$anime_stream_logo_margin = get_theme_mod('anime_stream_logo_margin');
	if($anime_stream_logo_margin != false){
		$anime_stream_custom_css .='.anime-stream-logo{';
			$anime_stream_custom_css .='margin: '.esc_attr($anime_stream_logo_margin).';';
		$anime_stream_custom_css .='}';
	}

	// Site title Font Size
	$anime_stream_site_title_font_size = get_theme_mod('anime_stream_site_title_font_size');
	if($anime_stream_site_title_font_size != false){
		$anime_stream_custom_css .='.anime-stream-logo p.site-title, .anime-stream-logo h1{';
			$anime_stream_custom_css .='font-size: '.esc_attr($anime_stream_site_title_font_size).';';
		$anime_stream_custom_css .='}';
	}

	// Site tagline Font Size
	$anime_stream_site_tagline_font_size = get_theme_mod('anime_stream_site_tagline_font_size');
	if($anime_stream_site_tagline_font_size != false){
		$anime_stream_custom_css .='.anime-stream-logo p.site-description{';
			$anime_stream_custom_css .='font-size: '.esc_attr($anime_stream_site_tagline_font_size).';';
		$anime_stream_custom_css .='}';
	}

	$anime_stream_site_title_color = get_theme_mod('anime_stream_site_title_color');
	if($anime_stream_site_title_color != false){
		$anime_stream_custom_css .='p.site-title a, .anime-stream-logo h1 a{';
			$anime_stream_custom_css .='color: '.esc_attr($anime_stream_site_title_color).'!important;';
		$anime_stream_custom_css .='}';
	}

	$anime_stream_site_tagline_color = get_theme_mod('anime_stream_site_tagline_color');
	if($anime_stream_site_tagline_color != false){
		$anime_stream_custom_css .='.anime-stream-logo p.site-description{';
			$anime_stream_custom_css .='color: '.esc_attr($anime_stream_site_tagline_color).';';
		$anime_stream_custom_css .='}';
	}

	$anime_stream_logo_width = get_theme_mod('anime_stream_logo_width');
	if($anime_stream_logo_width != false){
		$anime_stream_custom_css .='.anime-stream-logo img{';
			$anime_stream_custom_css .='width: '.esc_attr($anime_stream_logo_width).';';
		$anime_stream_custom_css .='}';
	}

	$anime_stream_logo_height = get_theme_mod('anime_stream_logo_height');
	if($anime_stream_logo_height != false){
		$anime_stream_custom_css .='.anime-stream-logo img{';
			$anime_stream_custom_css .='height: '.esc_attr($anime_stream_logo_height).';object-fit:cover;';
		$anime_stream_custom_css .='}';
	}

	// Header Background Color
	$anime_stream_header_background_color = get_theme_mod('anime_stream_header_background_color');
	if($anime_stream_header_background_color != false){
		$anime_stream_custom_css .='.page-template-custom-home-page .home-page-header, .home-page-header{';
			$anime_stream_custom_css .='background-color: '.esc_attr($anime_stream_header_background_color).';';
		$anime_stream_custom_css .='}';
	}

	$anime_stream_header_img_position = get_theme_mod('anime_stream_header_img_position','center top');
	if($anime_stream_header_img_position != false){
		$anime_stream_custom_css .='.page-template-custom-home-page .home-page-header, .home-page-header{';
			$anime_stream_custom_css .='background-position: '.esc_attr($anime_stream_header_img_position).'!important;';
		$anime_stream_custom_css .='}';
	}

	/*---------------------------Blog Layout -------------------*/

	$anime_stream_theme_lay = get_theme_mod( 'anime_stream_blog_layout_option','Left');
    if($anime_stream_theme_lay == 'Default'){
		$anime_stream_custom_css .='.post-main-box{';
			$anime_stream_custom_css .='';
		$anime_stream_custom_css .='}';
	}else if($anime_stream_theme_lay == 'Center'){
		$anime_stream_custom_css .='.post-main-box, .post-main-box h2, .post-info, .new-text p, .content-bttn{';
			$anime_stream_custom_css .='text-align:center;';
		$anime_stream_custom_css .='}';
		$anime_stream_custom_css .='.post-info{';
			$anime_stream_custom_css .='margin-top:10px;';
		$anime_stream_custom_css .='}';
		$anime_stream_custom_css .='.post-info hr{';
			$anime_stream_custom_css .='margin:15px auto;';
		$anime_stream_custom_css .='}';
	}else if($anime_stream_theme_lay == 'Left'){
		$anime_stream_custom_css .='.post-main-box, .post-main-box h2, .post-info, .new-text p, .content-bttn, #our-services p{';
			$anime_stream_custom_css .='text-align:Left;';
		$anime_stream_custom_css .='}';
		$anime_stream_custom_css .='.post-info hr{';
			$anime_stream_custom_css .='margin-bottom:10px;';
		$anime_stream_custom_css .='}';
		$anime_stream_custom_css .='.post-main-box h2{';
			$anime_stream_custom_css .='margin-top:10px;';
		$anime_stream_custom_css .='}';
		$anime_stream_custom_css .='.service-text .more-btn{';
			$anime_stream_custom_css .='display:inline-block;';
		$anime_stream_custom_css .='}';
	}

	/*--------------------- Blog Page Posts -------------------*/

	$anime_stream_blog_page_posts_settings = get_theme_mod( 'anime_stream_blog_page_posts_settings','Into Blocks');
    if($anime_stream_blog_page_posts_settings == 'Without Blocks'){
		$anime_stream_custom_css .='.post-main-box{';
			$anime_stream_custom_css .='box-shadow: none; border: none; margin:30px 0;';
		$anime_stream_custom_css .='}';
	}

	// featured image dimention
	$anime_stream_blog_post_featured_image_dimension = get_theme_mod('anime_stream_blog_post_featured_image_dimension', 'default');
	$anime_stream_blog_post_featured_image_custom_width = get_theme_mod('anime_stream_blog_post_featured_image_custom_width',250);
	$anime_stream_blog_post_featured_image_custom_height = get_theme_mod('anime_stream_blog_post_featured_image_custom_height',250);
	if($anime_stream_blog_post_featured_image_dimension == 'custom'){
		$anime_stream_custom_css .='.post-main-box img{';
			$anime_stream_custom_css .='width: '.esc_attr($anime_stream_blog_post_featured_image_custom_width).'!important; height: '.esc_attr($anime_stream_blog_post_featured_image_custom_height).';';
		$anime_stream_custom_css .='}';
	}

	/*---------------- Posts Settings ------------------*/

	$anime_stream_featured_image_border_radius = get_theme_mod('anime_stream_featured_image_border_radius', 0);
	if($anime_stream_featured_image_border_radius != false){
		$anime_stream_custom_css .='.box-image img, .feature-box img{';
			$anime_stream_custom_css .='border-radius: '.esc_attr($anime_stream_featured_image_border_radius).'px;';
		$anime_stream_custom_css .='}';
	}

	$anime_stream_featured_image_box_shadow = get_theme_mod('anime_stream_featured_image_box_shadow',0);
	if($anime_stream_featured_image_box_shadow != false){
		$anime_stream_custom_css .='.box-image img, #content-vw img{';
			$anime_stream_custom_css .='box-shadow: '.esc_attr($anime_stream_featured_image_box_shadow).'px '.esc_attr($anime_stream_featured_image_box_shadow).'px '.esc_attr($anime_stream_featured_image_box_shadow).'px #cccccc;';
		$anime_stream_custom_css .='}';
	}

	$anime_stream_singlepost_image_box_shadow = get_theme_mod('anime_stream_singlepost_image_box_shadow',0);
	if($anime_stream_singlepost_image_box_shadow != false){
		$anime_stream_custom_css .='.feature-box img{';
			$anime_stream_custom_css .='box-shadow: '.esc_attr($anime_stream_singlepost_image_box_shadow).'px '.esc_attr($anime_stream_singlepost_image_box_shadow).'px '.esc_attr($anime_stream_singlepost_image_box_shadow).'px #cccccc;';
		$anime_stream_custom_css .='}';
	}

	$anime_stream_related_image_box_shadow = get_theme_mod('anime_stream_related_image_box_shadow',0);
	if($anime_stream_related_image_box_shadow != false){
		$anime_stream_custom_css .='.related-post .box-image img{';
			$anime_stream_custom_css .='box-shadow: '.esc_attr($anime_stream_related_image_box_shadow).'px '.esc_attr($anime_stream_related_image_box_shadow).'px '.esc_attr($anime_stream_related_image_box_shadow).'px #cccccc;';
		$anime_stream_custom_css .='}';
	}

	/*---------------- Button Settings ------------------*/

	$anime_stream_button_letter_spacing = get_theme_mod('anime_stream_button_letter_spacing');
	$anime_stream_custom_css .='.post-main-box .more-btn{';
		$anime_stream_custom_css .='letter-spacing: '.esc_attr($anime_stream_button_letter_spacing).';';
	$anime_stream_custom_css .='}';

	$anime_stream_button_border_radius = get_theme_mod('anime_stream_button_border_radius');
	if($anime_stream_button_border_radius != false){
		$anime_stream_custom_css .='.post-main-box .more-btn a{';
			$anime_stream_custom_css .='border-radius: '.esc_attr($anime_stream_button_border_radius).'px !important;';
		$anime_stream_custom_css .='}';
	}

	$anime_stream_button_top_bottom_padding = get_theme_mod('anime_stream_button_top_bottom_padding');
	$anime_stream_button_left_right_padding = get_theme_mod('anime_stream_button_left_right_padding');
	if($anime_stream_button_top_bottom_padding != false || $anime_stream_button_left_right_padding != false){
		$anime_stream_custom_css .='.post-main-box .more-btn{';
			$anime_stream_custom_css .='padding-top: '.esc_attr($anime_stream_button_top_bottom_padding).'!important; padding-bottom: '.esc_attr($anime_stream_button_top_bottom_padding).'!important;padding-left: '.esc_attr($anime_stream_button_left_right_padding).'!important;padding-right: '.esc_attr($anime_stream_button_left_right_padding).'!important;';
		$anime_stream_custom_css .='}';
	}

	$anime_stream_button_font_size = get_theme_mod('anime_stream_button_font_size',14);
	$anime_stream_custom_css .='.post-main-box .more-btn a{';
		$anime_stream_custom_css .='font-size: '.esc_attr($anime_stream_button_font_size).';';
	$anime_stream_custom_css .='}';

	$anime_stream_theme_lay = get_theme_mod( 'anime_stream_button_text_transform','Capitalize');
	if($anime_stream_theme_lay == 'Capitalize'){
		$anime_stream_custom_css .='.post-main-box .more-btn a{';
			$anime_stream_custom_css .='text-transform:Capitalize;';
		$anime_stream_custom_css .='}';
	}
	if($anime_stream_theme_lay == 'Lowercase'){
		$anime_stream_custom_css .='.post-main-box .more-btn a{';
			$anime_stream_custom_css .='text-transform:Lowercase;';
		$anime_stream_custom_css .='}';
	}
	if($anime_stream_theme_lay == 'Uppercase'){
		$anime_stream_custom_css .='.post-main-box .more-btn a{';
			$anime_stream_custom_css .='text-transform:Uppercase;';
		$anime_stream_custom_css .='}';
	}

	// button font weight
	$anime_stream_button_font_weight = get_theme_mod('anime_stream_button_font_weight');
  	$anime_stream_custom_css .='.more-btn a{';
    $anime_stream_custom_css .='font-weight: '.esc_attr($anime_stream_button_font_weight).'!important;';
  	$anime_stream_custom_css .='}';

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

	/*---------------- Single Blog Page Settings ------------------*/

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

	$anime_stream_comment_width = get_theme_mod('anime_stream_single_blog_comment_width');
	if($anime_stream_comment_width != false){
		$anime_stream_custom_css .='#comments textarea{';
			$anime_stream_custom_css .='width: '.esc_attr($anime_stream_comment_width).';';
		$anime_stream_custom_css .='}';
	}

	$anime_stream_single_blog_post_navigation_show_hide = get_theme_mod('anime_stream_single_blog_post_navigation_show_hide',true);
	if($anime_stream_single_blog_post_navigation_show_hide != true){
		$anime_stream_custom_css .='.post-navigation{';
			$anime_stream_custom_css .='display: none;';
		$anime_stream_custom_css .='}';
	}

	/*--------------------- Grid Posts Posts -------------------*/

	$anime_stream_display_grid_posts_settings = get_theme_mod( 'anime_stream_display_grid_posts_settings','Into Blocks');
    if($anime_stream_display_grid_posts_settings == 'Without Blocks'){
		$anime_stream_custom_css .='.grid-post-main-box{';
			$anime_stream_custom_css .='box-shadow: none; border: none; margin:30px 0;';
		$anime_stream_custom_css .='}';
	}

	$anime_stream_grid_featured_image_border_radius = get_theme_mod('anime_stream_grid_featured_image_border_radius', 0);
	if($anime_stream_grid_featured_image_border_radius != false){
		$anime_stream_custom_css .='.grid-post-main-box .box-image img, .grid-post-main-box .feature-box img{';
			$anime_stream_custom_css .='border-radius: '.esc_attr($anime_stream_grid_featured_image_border_radius).'px;';
		$anime_stream_custom_css .='}';
	}
	/*----------------Woocommerce Products Settings ------------------*/

	$anime_stream_related_product_show_hide = get_theme_mod('anime_stream_related_product_show_hide',true);
	if($anime_stream_related_product_show_hide != true){
		$anime_stream_custom_css .='.related.products{';
			$anime_stream_custom_css .='display: none;';
		$anime_stream_custom_css .='}';
	}

	/*----------------Woocommerce Products Settings ------------------*/

	$anime_stream_products_padding_top_bottom = get_theme_mod('anime_stream_products_padding_top_bottom');
	if($anime_stream_products_padding_top_bottom != false){
		$anime_stream_custom_css .='.woocommerce ul.products li.product, .woocommerce-page ul.products li.product{';
			$anime_stream_custom_css .='padding-top: '.esc_attr($anime_stream_products_padding_top_bottom).'!important; padding-bottom: '.esc_attr($anime_stream_products_padding_top_bottom).'!important;';
		$anime_stream_custom_css .='}';
	}

	$anime_stream_products_padding_left_right = get_theme_mod('anime_stream_products_padding_left_right');
	if($anime_stream_products_padding_left_right != false){
		$anime_stream_custom_css .='.woocommerce ul.products li.product, .woocommerce-page ul.products li.product{';
			$anime_stream_custom_css .='padding-left: '.esc_attr($anime_stream_products_padding_left_right).'!important; padding-right: '.esc_attr($anime_stream_products_padding_left_right).'!important;';
		$anime_stream_custom_css .='}';
	}

	$anime_stream_products_box_shadow = get_theme_mod('anime_stream_products_box_shadow');
	if($anime_stream_products_box_shadow != false){
		$anime_stream_custom_css .='.woocommerce ul.products li.product, .woocommerce-page ul.products li.product{';
				$anime_stream_custom_css .='box-shadow: '.esc_attr($anime_stream_products_box_shadow).'px '.esc_attr($anime_stream_products_box_shadow).'px '.esc_attr($anime_stream_products_box_shadow).'px #ddd;';
		$anime_stream_custom_css .='}';
	}

	$anime_stream_products_border_radius = get_theme_mod('anime_stream_products_border_radius');
	if($anime_stream_products_border_radius != false){
		$anime_stream_custom_css .='.woocommerce ul.products li.product, .woocommerce-page ul.products li.product{';
			$anime_stream_custom_css .='border-radius: '.esc_attr($anime_stream_products_border_radius).'px;';
		$anime_stream_custom_css .='}';
	}

	$anime_stream_products_btn_padding_top_bottom = get_theme_mod('anime_stream_products_btn_padding_top_bottom');
	if($anime_stream_products_btn_padding_top_bottom != false){
		$anime_stream_custom_css .='.woocommerce a.button{';
			$anime_stream_custom_css .='padding-top: '.esc_attr($anime_stream_products_btn_padding_top_bottom).' !important; padding-bottom: '.esc_attr($anime_stream_products_btn_padding_top_bottom).' !important;';
		$anime_stream_custom_css .='}';
	}

	$anime_stream_products_btn_padding_left_right = get_theme_mod('anime_stream_products_btn_padding_left_right');
	if($anime_stream_products_btn_padding_left_right != false){
		$anime_stream_custom_css .='.woocommerce a.button{';
			$anime_stream_custom_css .='padding-left: '.esc_attr($anime_stream_products_btn_padding_left_right).' !important; padding-right: '.esc_attr($anime_stream_products_btn_padding_left_right).' !important;';
		$anime_stream_custom_css .='}';
	}

	$anime_stream_products_button_border_radius = get_theme_mod('anime_stream_products_button_border_radius', 0);
	if($anime_stream_products_button_border_radius != false){
		$anime_stream_custom_css .='.woocommerce ul.products li.product .button, a.checkout-button.button.alt.wc-forward,.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt,.woocommerce a.button{';
			$anime_stream_custom_css .='border-radius: '.esc_attr($anime_stream_products_button_border_radius).'px !important;';
		$anime_stream_custom_css .='}';
	}

	$anime_stream_woocommerce_sale_position = get_theme_mod( 'anime_stream_woocommerce_sale_position','right');
    if($anime_stream_woocommerce_sale_position == 'left'){
		$anime_stream_custom_css .='.woocommerce ul.products li.product .onsale{';
			$anime_stream_custom_css .='left: 14px !important; right: auto !important;';
		$anime_stream_custom_css .='}';
	}else if($anime_stream_woocommerce_sale_position == 'right'){
		$anime_stream_custom_css .='.woocommerce ul.products li.product .onsale{';
			$anime_stream_custom_css .='left: auto!important; right: 14px !important;';
		$anime_stream_custom_css .='}';
	}

	$anime_stream_woocommerce_sale_font_size = get_theme_mod('anime_stream_woocommerce_sale_font_size');
	if($anime_stream_woocommerce_sale_font_size != false){
		$anime_stream_custom_css .='.woocommerce span.onsale{';
			$anime_stream_custom_css .='font-size: '.esc_attr($anime_stream_woocommerce_sale_font_size).';';
		$anime_stream_custom_css .='}';
	}

	$anime_stream_woocommerce_sale_padding_top_bottom = get_theme_mod('anime_stream_woocommerce_sale_padding_top_bottom');
	if($anime_stream_woocommerce_sale_padding_top_bottom != false){
		$anime_stream_custom_css .='.woocommerce span.onsale{';
			$anime_stream_custom_css .='padding-top: '.esc_attr($anime_stream_woocommerce_sale_padding_top_bottom).'; padding-bottom: '.esc_attr($anime_stream_woocommerce_sale_padding_top_bottom).';';
		$anime_stream_custom_css .='}';
	}

	$anime_stream_woocommerce_sale_padding_left_right = get_theme_mod('anime_stream_woocommerce_sale_padding_left_right');
	if($anime_stream_woocommerce_sale_padding_left_right != false){
		$anime_stream_custom_css .='.woocommerce span.onsale{';
			$anime_stream_custom_css .='padding-left: '.esc_attr($anime_stream_woocommerce_sale_padding_left_right).'; padding-right: '.esc_attr($anime_stream_woocommerce_sale_padding_left_right).';';
		$anime_stream_custom_css .='}';
	}

	$anime_stream_woocommerce_sale_border_radius = get_theme_mod('anime_stream_woocommerce_sale_border_radius', 0);
	if($anime_stream_woocommerce_sale_border_radius != false){
		$anime_stream_custom_css .='.woocommerce span.onsale{';
			$anime_stream_custom_css .='border-radius: '.esc_attr($anime_stream_woocommerce_sale_border_radius).'px;';
		$anime_stream_custom_css .='}';
	}

	/*----------------Social Icons Settings ------------------*/

	$anime_stream_social_icon_font_size = get_theme_mod('anime_stream_social_icon_font_size');
	if($anime_stream_social_icon_font_size != false){
		$anime_stream_custom_css .='#sidebar .custom-social-icons i, #footer .custom-social-icons i{';
			$anime_stream_custom_css .='font-size: '.esc_attr($anime_stream_social_icon_font_size).';';
		$anime_stream_custom_css .='}';
	}

	$anime_stream_social_icon_padding = get_theme_mod('anime_stream_social_icon_padding');
	if($anime_stream_social_icon_padding != false){
		$anime_stream_custom_css .='#sidebar .custom-social-icons i, #footer .custom-social-icons i{';
			$anime_stream_custom_css .='padding: '.esc_attr($anime_stream_social_icon_padding).';';
		$anime_stream_custom_css .='}';
	}

	$anime_stream_social_icon_width = get_theme_mod('anime_stream_social_icon_width');
	if($anime_stream_social_icon_width != false){
		$anime_stream_custom_css .='#sidebar .custom-social-icons i, #footer .custom-social-icons i{';
			$anime_stream_custom_css .='width: '.esc_attr($anime_stream_social_icon_width).';';
		$anime_stream_custom_css .='}';
	}

	$anime_stream_social_icon_height = get_theme_mod('anime_stream_social_icon_height');
	if($anime_stream_social_icon_height != false){
		$anime_stream_custom_css .='#sidebar .custom-social-icons i, #footer .custom-social-icons i{';
			$anime_stream_custom_css .='height: '.esc_attr($anime_stream_social_icon_height).';';
		$anime_stream_custom_css .='}';
	}

	$anime_stream_social_icon_border_radius = get_theme_mod('anime_stream_social_icon_border_radius');
	if($anime_stream_social_icon_border_radius != false){
		$anime_stream_custom_css .='#sidebar .custom-social-icons i, #footer .custom-social-icons i{';
			$anime_stream_custom_css .='border-radius: '.esc_attr($anime_stream_social_icon_border_radius).'px;';
		$anime_stream_custom_css .='}';
	}

	$anime_stream_grid_featured_image_box_shadow = get_theme_mod('anime_stream_grid_featured_image_box_shadow',0);
	if($anime_stream_grid_featured_image_box_shadow != false){
		$anime_stream_custom_css .='.grid-post-main-box .box-image img, .grid-post-main-box .feature-box img, #content-vw img{';
			$anime_stream_custom_css .='box-shadow: '.esc_attr($anime_stream_grid_featured_image_box_shadow).'px '.esc_attr($anime_stream_grid_featured_image_box_shadow).'px '.esc_attr($anime_stream_grid_featured_image_box_shadow).'px #cccccc;';
		$anime_stream_custom_css .='}';
	}


	/*-------------- Menus Setings ----------------*/

	$anime_stream_navigation_menu_font_size = get_theme_mod('anime_stream_navigation_menu_font_size');
	if($anime_stream_navigation_menu_font_size != false){
		$anime_stream_custom_css .='#site-navigation .menu ul li a, .main-navigation .menu > li > a{';
			$anime_stream_custom_css .='font-size: '.esc_attr($anime_stream_navigation_menu_font_size).';';
		$anime_stream_custom_css .='}';
	}

	$anime_stream_navigation_menu_font_weight = get_theme_mod('anime_stream_navigation_menu_font_weight','600');
	if($anime_stream_navigation_menu_font_weight != false){
		$anime_stream_custom_css .='#site-navigation .menu ul li a, .main-navigation .menu > li > a{';
			$anime_stream_custom_css .='font-weight: '.esc_attr($anime_stream_navigation_menu_font_weight).';';
		$anime_stream_custom_css .='}';
	}

	$anime_stream_header_menus_hover_color = get_theme_mod('anime_stream_header_menus_hover_color');
	if($anime_stream_header_menus_hover_color != false){
		$anime_stream_custom_css .='.main-navigation ul a:hover{';
			$anime_stream_custom_css .='color: '.esc_attr($anime_stream_header_menus_hover_color).';';
		$anime_stream_custom_css .='}';
	}

	$anime_stream_header_submenus_color = get_theme_mod('anime_stream_header_submenus_color');
	if($anime_stream_header_submenus_color != false){
		$anime_stream_custom_css .='.main-navigation ul ul a{';
			$anime_stream_custom_css .='color: '.esc_attr($anime_stream_header_submenus_color).';';
		$anime_stream_custom_css .='}';
	}

	$anime_stream_header_submenus_hover_color = get_theme_mod('anime_stream_header_submenus_hover_color');
	if($anime_stream_header_submenus_hover_color != false){
		$anime_stream_custom_css .='.main-navigation ul.sub-menu a:hover{';
			$anime_stream_custom_css .='color: '.esc_attr($anime_stream_header_submenus_hover_color).'!important;';
		$anime_stream_custom_css .='}';
	}

	$anime_stream_menus_item = get_theme_mod( 'anime_stream_menus_item_style','None');
    if($anime_stream_menus_item == 'None'){
		$anime_stream_custom_css .='.main-navigation ul a{';
			$anime_stream_custom_css .='';
		$anime_stream_custom_css .='}';
	}else if($anime_stream_menus_item == 'Zoom In'){
		$anime_stream_custom_css .='.main-navigation ul a:hover{';
			$anime_stream_custom_css .='transition: all 0.3s ease-in-out !important; transform: scale(1.2) !important;';
		$anime_stream_custom_css .='}';
	}

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

	$anime_stream_theme_lay = get_theme_mod( 'anime_stream_footer_template','anime_stream-footer-one');
    if($anime_stream_theme_lay == 'anime_stream-footer-one'){
		$anime_stream_custom_css .='#footer{';
			$anime_stream_custom_css .='';
		$anime_stream_custom_css .='}';

	}else if($anime_stream_theme_lay == 'anime_stream-footer-two'){
		$anime_stream_custom_css .='#footer{';
			$anime_stream_custom_css .='background: linear-gradient(to right, #f9f8ff, #dedafa);';
		$anime_stream_custom_css .='}';
		$anime_stream_custom_css .='#footer p, #footer li a, #footer, #footer h3, #footer a.rsswidget, #footer #wp-calendar a, .copyright a, #footer .custom_details, #footer ins span, #footer .tagcloud a, .main-inner-box span.entry-date a, nav.woocommerce-MyAccount-navigation ul li:hover a, #footer ul li a, #footer table, #footer th, #footer td, #footer caption, #sidebar caption,#footer nav.wp-calendar-nav a,#footer .search-form .search-field{';
			$anime_stream_custom_css .='color:#000;';
		$anime_stream_custom_css .='}';
		$anime_stream_custom_css .='#footer ul li::before{';
			$anime_stream_custom_css .='background:#000;';
		$anime_stream_custom_css .='}';
		$anime_stream_custom_css .='#footer table, #footer th, #footer td,#footer .search-form .search-field,#footer .tagcloud a{';
			$anime_stream_custom_css .='border: 1px solid #000;';
		$anime_stream_custom_css .='}';

	}else if($anime_stream_theme_lay == 'anime_stream-footer-three'){
		$anime_stream_custom_css .='#footer{';
			$anime_stream_custom_css .='background: #232524;';
		$anime_stream_custom_css .='}';
	}
	else if($anime_stream_theme_lay == 'anime_stream-footer-four'){
		$anime_stream_custom_css .='#footer{';
			$anime_stream_custom_css .='background: #FF640A;';
		$anime_stream_custom_css .='}';
		$anime_stream_custom_css .='#footer p, #footer li a, #footer, #footer h3, #footer a.rsswidget, #footer #wp-calendar a, .copyright a, #footer .custom_details, #footer ins span, #footer .tagcloud a, .main-inner-box span.entry-date a, nav.woocommerce-MyAccount-navigation ul li:hover a, #footer ul li a, #footer table, #footer th, #footer td, #footer caption, #sidebar caption,#footer nav.wp-calendar-nav a,#footer .search-form .search-field{';
			$anime_stream_custom_css .='color:#fff;';
		$anime_stream_custom_css .='}';
		$anime_stream_custom_css .='#footer ul li::before{';
			$anime_stream_custom_css .='background:#fff;';
		$anime_stream_custom_css .='}';
		$anime_stream_custom_css .='#footer table, #footer th, #footer td,#footer .search-form .search-field,#footer .tagcloud a{';
			$anime_stream_custom_css .='border: 1px solid #fff;';
		$anime_stream_custom_css .='}';
	}
	else if($anime_stream_theme_lay == 'anime_stream-footer-five'){
		$anime_stream_custom_css .='#footer{';
			$anime_stream_custom_css .='background: linear-gradient(to right, #01093a, #2d0b00);';
		$anime_stream_custom_css .='}';
	}

	/*---------------- Footer Settings ------------------*/

	$anime_stream_button_footer_heading_letter_spacing = get_theme_mod('anime_stream_button_footer_heading_letter_spacing',1);
	$anime_stream_custom_css .='#footer h3, a.rsswidget.rss-widget-title{';
		$anime_stream_custom_css .='letter-spacing: '.esc_attr($anime_stream_button_footer_heading_letter_spacing).'px;';
	$anime_stream_custom_css .='}';

	$anime_stream_button_footer_font_size = get_theme_mod('anime_stream_button_footer_font_size','30');
	$anime_stream_custom_css .='#footer h3, a.rsswidget.rss-widget-title{';
		$anime_stream_custom_css .='font-size: '.esc_attr($anime_stream_button_footer_font_size).'px;';
	$anime_stream_custom_css .='}';

	$anime_stream_theme_lay = get_theme_mod( 'anime_stream_button_footer_text_transform','Capitalize');
	if($anime_stream_theme_lay == 'Capitalize'){
		$anime_stream_custom_css .='#footer h3{';
			$anime_stream_custom_css .='text-transform:Capitalize;';
		$anime_stream_custom_css .='}';
	}
	if($anime_stream_theme_lay == 'Lowercase'){
		$anime_stream_custom_css .='#footer h3, a.rsswidget.rss-widget-title{';
			$anime_stream_custom_css .='text-transform:Lowercase;';
		$anime_stream_custom_css .='}';
	}
	if($anime_stream_theme_lay == 'Uppercase'){
		$anime_stream_custom_css .='#footer h3, a.rsswidget.rss-widget-title{';
			$anime_stream_custom_css .='text-transform:Uppercase;';
		$anime_stream_custom_css .='}';
	}

	$anime_stream_footer_heading_weight = get_theme_mod('anime_stream_footer_heading_weight','500');
	if($anime_stream_footer_heading_weight != false){
		$anime_stream_custom_css .='#footer h3, a.rsswidget.rss-widget-title{';
			$anime_stream_custom_css .='font-weight: '.esc_attr($anime_stream_footer_heading_weight).';';
		$anime_stream_custom_css .='}';
	}
	
	$anime_stream_slider_first_color = get_theme_mod('anime_stream_slider_first_color');

	$anime_stream_slider_second_color = get_theme_mod('anime_stream_slider_second_color');

	if($anime_stream_slider_first_color != false || $anime_stream_slider_second_color != false){
		$anime_stream_custom_css .='.box{
		background: linear-gradient(to top, '.esc_attr($anime_stream_slider_first_color).', '.esc_attr($anime_stream_slider_second_color).');
		}';
	}

	$anime_stream_services_icon_color = get_theme_mod('anime_stream_services_icon_color');
	if($anime_stream_services_icon_color != false){
		$anime_stream_custom_css .='#about-sec i{';
			$anime_stream_custom_css .='color: '.esc_attr($anime_stream_services_icon_color).';';
		$anime_stream_custom_css .='}';
	}

	$anime_stream_single_page_breadcrumb = get_theme_mod('anime_stream_single_page_breadcrumb',true);
	if($anime_stream_single_page_breadcrumb != true){
		$anime_stream_custom_css .='.page-breadrumb{';
			$anime_stream_custom_css .='display: none;';
		$anime_stream_custom_css .='}';
	}

	$anime_stream_sticky_sidebar = get_theme_mod( 'anime_stream_sticky_sidebar',false);
	if($anime_stream_sticky_sidebar == true && get_theme_mod( 'anime_stream_sticky_sidebar',false) != true){
    	$anime_stream_custom_css .='#sidebar{';
			$anime_stream_custom_css .='position:static;';
		$anime_stream_custom_css .='} ';
	}

	$anime_stream_show_first_caps = get_theme_mod('anime_stream_show_first_caps', false);
	if ($anime_stream_show_first_caps ) {
	    $anime_stream_custom_css .= '.post-main-box .entry-content p:nth-of-type(1)::first-letter {';
	    $anime_stream_custom_css .=' font-size: 55px;font-weight: 600;margin-right: 5px;';
	    $anime_stream_custom_css .='}';
	} else {
		$anime_stream_custom_css .= '.post-main-box .entry-content p:nth-of-type(1)::first-letter {';
	    $anime_stream_custom_css .= 'display: none;';
	    $anime_stream_custom_css .='}';
	}

	$anime_stream_show_featured = get_theme_mod( 'anime_stream_featured_image_hide_show', 1 );
	$anime_stream_hover_effect  = get_theme_mod( 'anime_stream_featured_image_hover', 'none' );

	if ( $anime_stream_show_featured && $anime_stream_hover_effect !== 'none' ) {

		$anime_stream_custom_css .= '
		.anime-stream-featured-image img{
			transition: all 0.4s ease;
		}';

		if ( $anime_stream_hover_effect === 'zoom-in' ) {
			$anime_stream_custom_css .= '
			.anime-stream-featured-image:hover img{
				transform: scale(1.2);
			}';
		}

		if ( $anime_stream_hover_effect === 'zoom-out' ) {
			$anime_stream_custom_css .= '
			.anime-stream-featured-image img{
				transform: scale(1.2);
			}
			.anime-stream-featured-image:hover img{
				transform: scale(1);
			}';
		}

		if ( $anime_stream_hover_effect === 'grayscale' ) {
			$anime_stream_custom_css .= '
			.anime-stream-featured-image img{
				filter: grayscale(100%);
			}
			.anime-stream-featured-image:hover img{
				filter: grayscale(0);
			}';
		}

		if ( $anime_stream_hover_effect === 'sepia' ) {
			$anime_stream_custom_css .= '
			.anime-stream-featured-image:hover img{
				filter: sepia(100%);
			}';
		}

		if ( $anime_stream_hover_effect === 'blur' ) {
			$anime_stream_custom_css .= '
			.anime-stream-featured-image:hover img{
				filter: blur(3px);
			}';
		}

		if ( $anime_stream_hover_effect === 'bright' ) {
			$anime_stream_custom_css .= '
			.anime-stream-featured-image:hover img{
				filter: brightness(1.3);
			}';
		}

		if ( $anime_stream_hover_effect === 'translate' ) {
			$anime_stream_custom_css .= '
			.anime-stream-featured-image:hover img{
				transform: translateY(-10px);
			}';
		}
	}
