<?php

$business_networking_conference_custom_css = "";

$business_networking_conference_primary_color = get_theme_mod('business_networking_conference_primary_color');

/*------------------ Primary Global Color -----------*/

if ($business_networking_conference_primary_color) {
  $business_networking_conference_custom_css .= ':root {';
  $business_networking_conference_custom_css .= '--primary-color: ' . esc_attr($business_networking_conference_primary_color) . ' !important;';
  $business_networking_conference_custom_css .= '} ';
}

/*-------------------- Scroll Top Alignment-------------------*/

$business_networking_conference_scroll_top_alignment = get_theme_mod( 'business_networking_conference_scroll_top_alignment','right-align');

if($business_networking_conference_scroll_top_alignment == 'right-align'){
$business_networking_conference_custom_css .='#button{';
	$business_networking_conference_custom_css .='right: 5%;';
$business_networking_conference_custom_css .='}';
}else if($business_networking_conference_scroll_top_alignment == 'center-align'){
$business_networking_conference_custom_css .='#button{';
	$business_networking_conference_custom_css .='right:0; left:0; margin: 0 auto;';
$business_networking_conference_custom_css .='}';
}else if($business_networking_conference_scroll_top_alignment == 'left-align'){
$business_networking_conference_custom_css .='#button{';
	$business_networking_conference_custom_css .='left: 5%;';
$business_networking_conference_custom_css .='}';
}

/*-------------------- Archive Page Pagination Alignment-------------------*/

$business_networking_conference_archive_pagination_alignment = get_theme_mod( 'business_networking_conference_archive_pagination_alignment','left-align');

if($business_networking_conference_archive_pagination_alignment == 'right-align'){
$business_networking_conference_custom_css .='.pagination{';
	$business_networking_conference_custom_css .='justify-content: end;';
$business_networking_conference_custom_css .='}';
}else if($business_networking_conference_archive_pagination_alignment == 'center-align'){
$business_networking_conference_custom_css .='.pagination{';
	$business_networking_conference_custom_css .='justify-content: center;';
$business_networking_conference_custom_css .='}';
}else if($business_networking_conference_archive_pagination_alignment == 'left-align'){
$business_networking_conference_custom_css .='.pagination{';
	$business_networking_conference_custom_css .='justify-content: start;';
$business_networking_conference_custom_css .='}';
}

/*-------------------- Scroll Top Responsive-------------------*/

$business_networking_conference_resp_scroll_top = get_theme_mod( 'business_networking_conference_resp_scroll_top',true);
if($business_networking_conference_resp_scroll_top == true && get_theme_mod( 'business_networking_conference_scroll_to_top',true) != true){
	$business_networking_conference_custom_css .='#button.show{';
		$business_networking_conference_custom_css .='visibility:hidden !important;';
	$business_networking_conference_custom_css .='} ';
}
if($business_networking_conference_resp_scroll_top == true){
	$business_networking_conference_custom_css .='@media screen and (max-width:575px) {';
	$business_networking_conference_custom_css .='#button.show{';
		$business_networking_conference_custom_css .='visibility:visible !important;';
	$business_networking_conference_custom_css .='} }';
}else if($business_networking_conference_resp_scroll_top == false){
	$business_networking_conference_custom_css .='@media screen and (max-width:575px){';
	$business_networking_conference_custom_css .='#button.show{';
		$business_networking_conference_custom_css .='visibility:hidden !important;';
	$business_networking_conference_custom_css .='} }';
}

/*-------------------- Preloader Responsive-------------------*/

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

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


	// Scroll to top button shape 

	$business_networking_conference_scroll_border_radius = get_theme_mod( 'business_networking_conference_scroll_to_top_radius','curved-box');
    if($business_networking_conference_scroll_border_radius == 'box'){
		$business_networking_conference_custom_css .='#button{';
			$business_networking_conference_custom_css .='border-radius: 0px;';
		$business_networking_conference_custom_css .='}';
	}else if($business_networking_conference_scroll_border_radius == 'curved-box'){
		$business_networking_conference_custom_css .='#button{';
			$business_networking_conference_custom_css .='border-radius: 4px;';
		$business_networking_conference_custom_css .='}';
	}
	else if($business_networking_conference_scroll_border_radius == 'circle'){
		$business_networking_conference_custom_css .='#button{';
			$business_networking_conference_custom_css .='border-radius: 50%;';
		$business_networking_conference_custom_css .='}';
	}

  // Footer Background Image Attatchment 

	$business_networking_conference_footer_attatchment = get_theme_mod( 'business_networking_conference_background_attatchment','scroll');
	if($business_networking_conference_footer_attatchment == 'fixed'){
		$business_networking_conference_custom_css .='.site-footer{';
			$business_networking_conference_custom_css .='background-attachment: fixed;';
		$business_networking_conference_custom_css .='}';
	}elseif ($business_networking_conference_footer_attatchment == 'scroll'){
		$business_networking_conference_custom_css .='.site-footer{';
			$business_networking_conference_custom_css .='background-attachment: scroll;';
		$business_networking_conference_custom_css .='}';
	}

  // Menu Hover Style	

	$business_networking_conference_menus_item = get_theme_mod( 'business_networking_conference_menus_style','None');
    if($business_networking_conference_menus_item == 'None'){
		$business_networking_conference_custom_css .='#site-navigation .menu ul li a:hover, .main-navigation .menu li a:hover{';
			$business_networking_conference_custom_css .='';
		$business_networking_conference_custom_css .='}';
	}else if($business_networking_conference_menus_item == 'Zoom In'){
		$business_networking_conference_custom_css .='#site-navigation .menu ul li a:hover, .main-navigation .menu li a:hover{';
			$business_networking_conference_custom_css .='transition: all 0.3s ease-in-out !important; transform: scale(1.2) !important;';
		$business_networking_conference_custom_css .='}';

		$business_networking_conference_custom_css .= '.main-navigation ul ul li a:hover {';
		$business_networking_conference_custom_css .= 'margin-left: 20px;';
		$business_networking_conference_custom_css .= '}';
	}	

	// Post Content Alignment

	$business_networking_conference_blog_layout_option = get_theme_mod( 'business_networking_conference_blog_layout_option','Left');
	if($business_networking_conference_blog_layout_option == 'Left'){
		$business_networking_conference_custom_css .='.post{';
			$business_networking_conference_custom_css .='text-align: left;';
		$business_networking_conference_custom_css .='}';
	}elseif ($business_networking_conference_blog_layout_option == 'Right'){
		$business_networking_conference_custom_css .='.post{';
			$business_networking_conference_custom_css .='text-align: right;';
		$business_networking_conference_custom_css .='}';
	}elseif ($business_networking_conference_blog_layout_option == 'Center'){
		$business_networking_conference_custom_css .='.post{';
			$business_networking_conference_custom_css .='text-align: center;';
		$business_networking_conference_custom_css .='}';
	}