<?php
function maxhost_styles_custom() {
	global $post;
?>

<!-- Custom CSS Codes
========================================================= -->
<?php
	// **********************************************************************// 
// ! Customizing number of columns in shop page
// **********************************************************************//
	if(maxhost_get_option('maxhost_woocommerce_sidebar_switch') != '3') {
	add_filter( 'loop_shop_columns', 'wc_loop_shop_columns', 1, 10 );
	/*
	* Return a new number of maximum columns for shop archives
	* @param int Original value
	* @return int New number of columns
	*/
	function wc_loop_shop_columns( $number_columns ) {
	return 3;
	}
	} else {
	add_filter( 'loop_shop_columns', 'wc_loop_shop_columns', 1, 10 );
	/*
	* Return a new number of maximum columns for shop archives
	* @param int Original value
	* @return int New number of columns
	*/
	function wc_loop_shop_columns( $number_columns ) {
	return 4;
	}
	}
	?>
<style id="custom-style">
	<?php if(maxhost_get_option('maxhost_tawk_livechat') != '') { ?>
	.scrollup{bottom:52px;}
	<?php } ?>
	/* START Logo CSS ------------------------------------------------------------------------ */
	<?php if(maxhost_get_option('logo_url') != '') { ?>
		.navbar-brand.logo {
			background: url(<?php echo esc_url( maxhost_get_option('logo_url') ); ?>) no-repeat scroll left 21px !important;
		}
		<?php 
		//Logo width and height settings
		if( (maxhost_get_option('maxhost_logo_width') != '') && (maxhost_get_option('maxhost_logo_height') != '') ) { ?>
			.navbar-brand.logo {
				-o-background-size: 100% !important;
				-webkit-background-size: 100% !important;
				-moz-background-size: 100% !important;
				background-size: 100% !important;
				background-position-y: 0px !important;
			}
			@media only screen and (max-width: 767px){
				.navbar-brand.logo {
					-o-background-size: 90% !important;
					-webkit-background-size: 90% !important;
					-moz-background-size: 90% !important;
					background-size: 90% !important;
					background-position-y: 0px !important;
				}
			}
		<?php
		}
		
		if(maxhost_get_option('maxhost_logo_width') != '') {
			$logo_width = 220;
			$logo_width = esc_attr(maxhost_get_option('maxhost_logo_width'));
			$logo_width = (float)$logo_width;

			$logo_padding = $logo_width / 2;
		?>
		.navbar-brand {
			padding: 0px <?php echo $logo_padding; ?>px;
		}
		<?php } if(maxhost_get_option('maxhost_logo_height') != '') {
			$default_logo_height = 55;
			$logo_height = esc_attr(maxhost_get_option('maxhost_logo_height'));
			$logo_height = (float)$logo_height;
			
			if ($logo_height > $default_logo_height){
				$logo_margin_top = 0;
				$nav_header_m_top = 4;
			} else {
				$logo_margin_top = $logo_height - $default_logo_height;
				$nav_header_m_top = ($default_logo_height - $logo_height) / 2;
			}
		?>
		.navbar-brand {
			height: <?php echo $logo_height; ?>px;
		}
		@media only screen and (min-width: 768px){
			.container > .navbar-collapse {
				margin-top: <?php echo $logo_margin_top; ?>px;
			}
			.navbar-header{
				margin-top: <?php echo $nav_header_m_top; ?>px !important;
			}
		}
		<?php } ?>
	<?php } ?>
	/* END Logo CSS ------------------------------------------------------------------------ */
	
	<?php if ( is_admin_bar_showing() ) { ?>
	.compact .header {
	top:32px;
	}
	<?php } ?>
	<?php if (maxhost_get_option('maxhost_site_width') == '1') { ?>
	.site_wrapper {
	background:#FFF;
	margin:auto;
	width:1170px;
	overflow:visible;
	}
	ul.social-icons.style-two, .navbar-header, footer .container .row, footer .container .nopadding, .copyrights .container .row{
	padding-left: 15px !important;
	}
	.navbar-collapse{
	padding-right: 15px !important;
	}
	.col-md-6.col-sm-6.text-right.font-bold{
	padding-right: 30px !important;
	}
	footer{
	margin-top: 0 !important;
	}
	<?php } else { ?>
	.site_wrapper {
	background:#FFF;
	margin:auto;
	width:100%;
	overflow:hidden;
	}
	<?php } if( (maxhost_get_option('header_styles') == '4') && (is_admin_bar_showing()) ) { ?>
	@media only screen and (min-width: 992px) {
	.page-header {
		padding-top: 77px;
	}
	.header {
		top: 87px;
	}
	}
	<?php } if(maxhost_get_option('header_styles') == '4'){ ?>
	.header {
		height: auto;
	}
	<?php } // **********************************************************************// 
// ! Customizing number of columns in shop page
// **********************************************************************// ?>
	<?php if(maxhost_get_option('maxhost_woocommerce_sidebar_switch') != '3') { ?>
	.woocommerce ul.products li.product, .woocommerce-page ul.products li.product{
	width: 30%;
	margin: 0 3% 2.992em 0;
	}
	 @media only screen and (max-width: 639px) {
	 .woocommerce ul.products li.product, .woocommerce-page ul.products li.product{
	width: 100%;
	margin: auto;
	}
	 }
	<?php } ?>
	<?php if ( (get_the_title()=='Markup: HTML Tags and Formatting') || (get_the_title()=='Template: Comments') || (get_the_title()=='Edge Case: Nested And Mixed Lists') || (get_the_title()=='Page Markup And Formatting') ) { ?>
	ul, ol{
	padding-left: 30px;
	}
	ul li{
	list-style-type: disc;
	}
	ul li ul{
	list-style-type: square;
	}
	ul li ul li{
	list-style-type: circle;
	}
	ul li ol li{
	list-style-type: decimal;
	}
	ul li ol li ul li{
	list-style-type: disc;
	}
	ol li ul li ol li{
	list-style-type: decimal;
	}
	ol{
	list-style-type: decimal !important;
	}
	ol li{
	list-style-type: decimal !important;
	}
	.top_nav ul.right-nav li{
	list-style-type: none !important;
	}
	.navbar ul.social_icons li{
	list-style-type: none !important;
	}
	.bl_pagenation_holder ul.page-numbers li{
	list-style-type: none !important;
	}
	#comments ul li, #comments ul li ul li{
	list-style-type: none !important;
	}
	.yamm-content ul li, .dropdown ul li{
	list-style-type: none !important;
	}
	footer ul li {
    list-style-type: none !important;
	}
	dt{font-weight: bold;}
	dd{padding-left: 30px;}
	dd a{color: #272727;}
	dd a:hover{color: #119EE7;}
	.maxhost_sidebar ul li{
	list-style-type: none !important;
	}
	h1{
	font-size: 36px;
    padding-top: 10px;
	padding-bottom: 5px;
	}
	h2{
	font-size: 33px;
    padding-top: 10px;
	padding-bottom: 5px;
	}
	h3{
	font-size: 29px;
    padding-top: 10px;
	padding-bottom: 5px;
	}
	h4{
	font-size: 26px;
    padding-top: 10px;
	padding-bottom: 5px;
	}
	h5{
	font-size: 23px;
    padding-top: 10px;
	padding-bottom: 5px;
	}
	h6{
	font-size: 20px;
    padding-bottom: 10px;
	padding-bottom: 5px;
	}
	.maxhost_sidebar h4{
	padding: 0;
	font-size: 16px;
	}
	<?php } ?>
	<?php if (get_the_title()=='Page Image Alignment') { ?>
	.wp-caption.aligncenter{
	margin-top:60px;
	}
	<?php } ?>
	
	<?php // **********************************************************************// 
	// ! Adding options to hide desired columns from footer
	// **********************************************************************// ?>
	<?php if(maxhost_get_option('hide_footer_column1') == '2') { ?>
	.footer-bg .fcol1.col-md-3.m-top5{
		visibility: hidden;
	}​

	<?php } if(maxhost_get_option('hide_footer_column1') == '3') { ?>
	.footer-bg .fcol2.col-md-3.m-top5{
		visibility: hidden;
	}​

	<?php } if(maxhost_get_option('hide_footer_column1') == '4') { ?>
	.footer-bg .fcol3.col-md-3.m-top5{
		visibility: hidden;
	}​

	<?php } if(maxhost_get_option('hide_footer_column1') == '5') { ?>
	.footer-bg .fcol4.col-md-3.m-top5{
		visibility: hidden;
	}​
	<?php } ?>
	
	<?php if( is_a( $post, 'WP_Post' ) ){
	if( has_shortcode( $post->post_content, 'maxhost_ft_banner_shortcode') ) { //CSS for new Banner Shortcode ?>
	.tp-caption.sbox1, .sbox1 {
		color: #fff;
		font-family: "Roboto",sans-serif;
		font-size: 18px;
		font-weight: 500;
		line-height: 25px;
		padding: 20px 16px 57px 20px;
		border-width: 0px;
		border-color: rgb(255,255,255);
		border-style: none;
		background: #49a32b;
	}
	.tp-caption .sbut1:hover{
		background: #49a32b;
	}
	.cirbox1 {
		color: #fff;
		font-family: "Roboto",sans-serif;
		text-align: center;
		font-size: 21px;
		font-weight: 600;
		width: 115px;
		height: 115px;
		padding-top: 27px;
		border-radius: 100%;
		background: #2a363f;
	}
	.tp-caption .sbut1 {
		color: #fff;
		font-family: "Roboto",sans-serif;
		font-weight: 500;
		background: #2a363f;
		padding: 16px 34px;
		border-radius: 3px;
		cursor: pointer;
		text-transform: uppercase;
		transition: all 0.3s ease;
		display: inline-block;
	}
	tp-caption.text1strong, .text1strong {
		color: #2a363f;
		text-decoration: none;
		background-color: transparent;
		border-style: none;
		text-shadow: none;
		text-transform: uppercase;
	}
	.tp-caption.text2strong, .text2strong {
		color: #2a363f;
		text-decoration: none;
		background-color: transparent;
		border-style: none;
		text-shadow: none;
		letter-spacing: 2px;
		text-transform: uppercase;
	}
	.text2 em, .getfree em, .dncfontm {
		color: #49a32b !important;
		font-style: normal;
	}
	.tp-caption.text3, .text3 {
		color: #2a363f;
		text-decoration: none;
		background-color: transparent;
		border-style: none;
		text-shadow: none;
	}
	@media (min-width:768px) and (max-width:999px){
		.tp-caption.sbox1{font-size: 2vw !important;line-height: 3vw !important;}
	}
	@media (min-width:400px) and (max-width:767px){
		#rev_slider_1_1{height: 300px !important;}
		.blackarea{left:73% !important;top: 58% !important;}
		.greenarea{left:71% !important;}
		.cirbox1{width: 95px !important; height: 95px !important; padding: 27px 0px 0px !important;}
		.dncfont{font-size:2.5vw !important;line-height:2.5vw !important}
		.dcfontp{font-size:2.5vw !important;line-height:2.5vw !important}
		.dncfontm{font-size:2.5vw !important;line-height:3vw !important}
		.tp-caption.sbox1{padding: 20px 20px 65px 20px !important;font-size:3vw !important;line-height:3.5vw !important}
		.text3{font-size:2vw !important;line-height:3vw !important}
		.pandc{font-size:2.5vw !important;line-height:3.5vw !important;visibility: hidden !important;top: 44% !important;}
		.pandc .getfree{visibility: visible !important;}
		.sbut1{font-size:2vw !important;}
		.getstart{top: 65% !important;}
	}
	@media (max-width:399px){
		#rev_slider_1_1{height: 180px !important;}
		.greenarea{visibility: hidden !important;}
		.blackarea{left:71% !important;}
		.cirbox1{width: 60px !important; height: 60px !important; padding: 22px 0px 0px !important;}
		.dncfont{font-size:2.8vw !important;line-height:2.8vw !important}
		.dcfontp{font-size:2.8vw !important;line-height:2.8vw !important}
		.dncfontm{font-size:2.8vw !important;line-height:3vw !important}
		.pandc{visibility: hidden !important;}
		.sbut1{font-size:2.8vw !important;padding: 10px 20px !important;}
		.getstart{top: 55% !important;}
	}
	<?php } } ?>
	<?php // **********************************************************************// 
	// ! Customizing Global color of the theme
	// **********************************************************************// ?>
	<?php if(maxhost_get_option('custom_color') != '') { //Global color start ?>
		.list-unstyled a:hover, .dropdown-menu>li>a:hover, .font-color, .iconbox, .navbar-default .navbar-nav > li > a:focus, .navbar-default .navbar-nav > li > a:hover,
	.icon-boxed.wide90, .view-links a, .sky-form a, .sky-form .checkbox input + i::after,
	.section-lg.m-top5.m-bottom5 .available, .section-lg.m-top0.domain-search.white-bg .available{
		color:<?php echo esc_attr( maxhost_get_option('custom_color') ); ?>;
	}
	.fea-col-box.active, .ms-layer.btn3, .orange-button, .fea-col:hover .iconbox, .iconbox:hover, .iconbox.active, .orange-button.one, .title-line, .blue-button,
	.fea-sce-col:hover .icon-boxed, .fea-sce-col.active .icon-boxed, .carousel-indicators .active, .small-circle-no, .orange-button.two, ul.social-icons li a:hover,
	.pricing-box.style-1 div.price, .samll-grey-button:hover, .pricing-box.style-1:hover .samll-grey-button, .pricing-box.style-1.active .samll-grey-button, .sky-form .button.seven, .header-top.black-bg-light a.register-btn, .button a.boxed-color-sm.orange, .button a.boxed-color-xs.orange, .sec-col-left h2 span, .sec-col-right h2 span, .color-bg, .service-title-color, form .submit-btn, .header.headr-style-2 .navbar-default, .compact .header.olivebg, h2.bg-color span, .team-thumb:hover .team-col .team-overlay, .team-thumb.active .team-col .team-overlay, .sky-form .button, .sec-title h2::before, .fea-col-box:hover, .tab-style .nav-tabs > li.active > a, .tab-style .nav-tabs > li.active > a:focus, .tab-style .nav-tabs > li.active > a:hover, .tab-style .nav-tabs > li > a:hover, .new-domin-list li,
	.carousel-indicators .active, .carousel-indicators.white-color .active, .price-info-circle, .pricing-box-home2 h2, .pricing-box-home2 .order,
	.collaps-style-2 .panel-default > .panel-heading, .bg-color-plain, .tab-style-1 .nav-tabs > li.active > a, .tab-style-1 .nav-tabs > li.active > a:focus, .tab-style-1 .nav-tabs > li.active > a:hover, .tab-style-1 .nav-tabs > li > a:hover, .small-circle-commet, .pricing-box-home5 h2, .pricing-box-home5:hover .price, .pricing-box-home5.active .price, .pricing-box-home5:hover .order-now, .pricing-box-home5.active .order-now, .two-color-boxes-multi{
		background:<?php echo esc_attr( maxhost_get_option('custom_color') ); ?>;
	}
	.orange-button, .blue-button, .samll-grey-button:hover, .pricing-box.style-1:hover .samll-grey-button, .pricing-box.style-1.active .samll-grey-button, .col-fea-box-white::before{
		border:solid 1px <?php echo esc_attr( maxhost_get_option('custom_color') ); ?>;
	}
	.domain-search {
		background:<?php echo esc_attr( maxhost_get_option('custom_color') ); ?> url(../../images/clouds-white.png) repeat-x center bottom;
	}
	.service-title {
		background: <?php echo esc_attr( maxhost_get_option('custom_color') ); ?> url(../../images/clouds-white-small.png) no-repeat scroll left bottom;
	}
	.sky-form .radio input:checked + i, .sky-form .checkbox input:checked + i, .sky-form .toggle input:checked + i{
		border-color:<?php echo esc_attr( maxhost_get_option('custom_color') ); ?>;
	}
	
	.filterable-pricing .cbp-l-filters-alignCenter.cat_pricing .cbp-filter-item.p_cat_item.cbp-filter-item-active {
		border-right-color: <?php echo esc_attr( maxhost_get_option('custom_color') ); ?>;
	}

	.button-shop {
		background: <?php echo esc_attr( maxhost_get_option('custom_color') ); ?>;
		border: 1px solid <?php echo esc_attr( maxhost_get_option('custom_color') ); ?>;
		color: #fff;
	}

	.button-shop:hover {
		background: #222;
		color: #fff;
		border: 1px solid #222;
	}

	.dlink, .zoom, .text2 em, .getfree em, .dncfontm {
	  color: <?php echo esc_attr( maxhost_get_option('custom_color') ); ?> !important;
	}

	.dlink:hover, .zoom:hover,
	.woocommerce ul.products li.product .button, .woocommerce .button:hover, .wc-forward:hover, .woocommerce .login .button:hover,
	.woocommerce a.button:hover, .woocommerce #respond input#submit:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,
	.woocommerce .button, .woocommerce .login .button, .woocommerce div.product form.cart .button,.woocommerce div.product form.cart .button:hover,.woocommerce-tabs ul.tabs li.active,.woocommerce-tabs ul.tabs li:hover,
	.woocommerce .product ul.tabs li.active a,.woocommerce .product ul.tabs li:hover a,
	.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button{
	  color: #fff !important;
	  background-color: <?php echo esc_attr( maxhost_get_option('custom_color') ); ?> !important;
	}

	.products .product .onsale, .tp-caption.sbox1, .sbox1, .tp-caption .sbut1:hover {
	  background: <?php echo esc_attr( maxhost_get_option('custom_color') ); ?> !important;
	}

	.pagination-button {
	  padding: 10px !important;
	  color: #fff !important;
	  background-color: <?php echo esc_attr( maxhost_get_option('custom_color') ); ?>;
	  border: none;
	}

	.amount {
		color: <?php echo esc_attr( maxhost_get_option('custom_color') ); ?> !important;
	}

	.star-rating span {
	  color: <?php echo esc_attr( maxhost_get_option('custom_color') ); ?> !important;
	}

	.shop-page .list ul li:before {
	  position: relative;
		top: 0;
		left: 0;
		content: "\f0da";
		font-family: 'FontAwesome';
		font-size: 14px;
		color: <?php echo esc_attr( maxhost_get_option('custom_color') ); ?>;
		margin-right: 10px;
		font-style: normal;
		font-weight: normal;
		-webkit-font-smoothing: antialiased;
		-moz-osx-font-smoothing: grayscale;
	}


	/* scroll up */
	.scrollup {
		background: <?php echo esc_attr( maxhost_get_option('custom_color') ); ?> url(<?php echo esc_url(get_template_directory_uri()); ?>/images/scroll-top-arrow.png) no-repeat 15px 14px;
	}
	/* Shop */
	.pagination-custom .pagination-button:hover {
		background-color: <?php echo esc_attr( maxhost_get_option('custom_color') ); ?>;
		border-color: <?php echo esc_attr( maxhost_get_option('custom_color') ); ?>;
	}
	.product_meta > span > a,
	.single-prodcut .tabs .nav-tabs > li.active > a, 
	.tabbed-widget .tabs .nav-tabs > li.active > a,
	.shop-with-sidebar .widget .title > a,
	.shopping-cart .cart-table tbody > tr > td > a,
	.shop-checkout .cart-table a,
	.shop-checkout .panel-group .panel-body label span,
	.page-shop-login label span {
		color: <?php echo esc_attr( maxhost_get_option('custom_color') ); ?>;
	}
	.single-prodcut .tabs .nav-tabs > li.active > a:after,
	.tabbed-widget .tabs .nav-tabs > li.active > a:after
	.shop-checkout .panel-group .panel-title > a, .features_table_new .table-list3 th,
	.dataTables_wrapper .dataTables_info,
	#order-standard_cart .view-cart-items-header,
	#order-standard_cart .empty-cart .btn{
		background-color: <?php echo esc_attr( maxhost_get_option('custom_color') ); ?>;
	}
	.woocommerce-message .button.wc-forward{
		background: <?php echo esc_attr( maxhost_get_option('custom_color') ); ?> none repeat scroll 0 0;
	}
	.summary.entry-summary ul li:before, .woocommerce-tabs.wc-tabs-wrapper ul li:before {
		color: <?php echo esc_attr( maxhost_get_option('custom_color') ); ?>;
	}
	.woocommerce div.product form.cart .button, .coupon input.button, .checkout_coupon input.button, .login input.button, .login input.button:hover,
	.cart .actions input.button, .woocommerce div.product form.cart .button:hover, .coupon input.button:hover, .checkout_coupon input.button:hover,
	.cart .actions input.button:hover, #review_form footer button, .woocommerce-tabs ul.tabs li.active, .woocommerce-tabs ul.tabs li:hover,
	.woocommerce .product ul.tabs li.active a, .woocommerce .product ul.tabs li:hover a, .tags li a:hover, .tagcloud a:hover{
		background-color: <?php echo esc_attr( maxhost_get_option('custom_color') ); ?>;
	}
	.pagination-button {
	  background-color: <?php echo esc_attr( maxhost_get_option('custom_color') ); ?>;
	}
	.products .product .onsale {
	  background: <?php echo esc_attr( maxhost_get_option('custom_color') ); ?> !important;
	}
	.amount {
	  color: <?php echo esc_attr( maxhost_get_option('custom_color') ); ?> !important;
	}
	.star-rating span {
	  color: <?php echo esc_attr( maxhost_get_option('custom_color') ); ?> !important;
	}
	.list ul li:before {
		color: <?php echo esc_attr( maxhost_get_option('custom_color') ); ?>;
	}
	.product_meta > span > a {
	  color: <?php echo esc_attr( maxhost_get_option('custom_color') ); ?>;
	}
	.button-shop {
		background: <?php echo esc_attr( maxhost_get_option('custom_color') ); ?> none repeat scroll 0 0;
		border: 1px solid <?php echo esc_attr( maxhost_get_option('custom_color') ); ?>;
	}
	.pagination-custom .pagination-button:hover {
		background-color: <?php echo esc_attr( maxhost_get_option('custom_color') ); ?>;
		border-color: <?php echo esc_attr( maxhost_get_option('custom_color') ); ?>;
	}
	.shop-with-sidebar .widget .title > a {
		color: <?php echo esc_attr( maxhost_get_option('custom_color') ); ?>;
	}
	.single-prodcut .tabs .nav-tabs > li.active > a:after,
	.tabbed-widget .tabs .nav-tabs > li.active > a:after {
	  background: <?php echo esc_attr( maxhost_get_option('custom_color') ); ?>;
	}
	.single-prodcut .tabs .nav-tabs > li.active > a,
	.tabbed-widget .tabs .nav-tabs > li.active > a {
	  color: <?php echo esc_attr( maxhost_get_option('custom_color') ); ?>;
	}
	.shopping-cart .cart-table tbody > tr > td > a {
		color: <?php echo esc_attr( maxhost_get_option('custom_color') ); ?>;
	}
	.shop-checkout .panel-group .panel-title > a  {
		background-color: <?php echo esc_attr( maxhost_get_option('custom_color') ); ?>;
	}
	.shop-checkout .cart-table a {
		color: <?php echo esc_attr( maxhost_get_option('custom_color') ); ?>;
	}
	.shop-checkout .panel-group .panel-body label span {
		color: <?php echo esc_attr( maxhost_get_option('custom_color') ); ?>;
	}
	.page-shop-login label span {
		color: <?php echo esc_attr( maxhost_get_option('custom_color') ); ?>;
	}
	.woocommerce .widget_price_filter .ui-slider .ui-slider-range, .woocommerce .widget_price_filter .ui-slider .ui-slider-handle {
		background-color: <?php echo esc_attr( maxhost_get_option('custom_color') ); ?> !important;
	}
	<?php } ?>
	<?php echo htmlspecialchars(maxhost_get_option('textarea_csscode')); //Load Custom CSS from Theme-Options ?>
	
</style>
<?php if(maxhost_get_option('maxhost_site_width') == '1') { ?>
<?php if(maxhost_get_option('maxhost_bg_Pattern') == '1') { ?>
<link rel="stylesheet" href="<?php echo get_template_directory_uri().'/css'; ?>/bg-patterns/pattern-default.css" />
<?php } if(maxhost_get_option('maxhost_bg_Pattern') == '2') { ?>
<link rel="stylesheet" href="<?php echo get_template_directory_uri().'/css'; ?>/bg-patterns/pattern-one.css" />
<?php } if(maxhost_get_option('maxhost_bg_Pattern') == '3') { ?>
<link rel="stylesheet" href="<?php echo get_template_directory_uri().'/css'; ?>/bg-patterns/pattern-two.css" />
<?php } if(maxhost_get_option('maxhost_bg_Pattern') == '4') { ?>
<link rel="stylesheet" href="<?php echo get_template_directory_uri().'/css'; ?>/bg-patterns/pattern-three.css" />
<?php } if(maxhost_get_option('maxhost_bg_Pattern') == '5') { ?>
<link rel="stylesheet" href="<?php echo get_template_directory_uri().'/css'; ?>/bg-patterns/pattern-four.css" />
<?php } if(maxhost_get_option('maxhost_bg_Pattern') == '6') { ?>
<link rel="stylesheet" href="<?php echo get_template_directory_uri().'/css'; ?>/bg-patterns/pattern-five.css" />
<?php } if(maxhost_get_option('maxhost_bg_Pattern') == '7') { ?>
<link rel="stylesheet" href="<?php echo get_template_directory_uri().'/css'; ?>/bg-patterns/pattern-six.css" />
<?php } if(maxhost_get_option('maxhost_bg_Pattern') == '8') { ?>
<link rel="stylesheet" href="<?php echo get_template_directory_uri().'/css'; ?>/bg-patterns/pattern-seven.css" />
<?php } if(maxhost_get_option('maxhost_bg_Pattern') == '9') { ?>
<link rel="stylesheet" href="<?php echo get_template_directory_uri().'/css'; ?>/bg-patterns/pattern-eight.css" />
<?php } if(maxhost_get_option('maxhost_bg_Pattern') == '10') { ?>
<link rel="stylesheet" href="<?php echo get_template_directory_uri().'/css'; ?>/bg-patterns/pattern-nine.css" />
<?php } if(maxhost_get_option('maxhost_bg_Pattern') == '11') { ?>
<link rel="stylesheet" href="<?php echo get_template_directory_uri().'/css'; ?>/bg-patterns/pattern-ten.css" />
<?php } if(maxhost_get_option('maxhost_bg_Pattern') == '12') { ?>
<link rel="stylesheet" href="<?php echo get_template_directory_uri().'/css'; ?>/bg-patterns/pattern-eleven.css" />
<?php } if(maxhost_get_option('maxhost_bg_Pattern') == '13') { ?>
<link rel="stylesheet" href="<?php echo get_template_directory_uri().'/css'; ?>/bg-patterns/pattern-twelve.css" />
<?php } }?>
<?php }
add_action( 'wp_head', 'maxhost_styles_custom', 100 );
?>