<?php if( ! defined( 'ABSPATH' ) ) exit;

	function lotus_beauty_social_section () { ?>
		
			<div <?php if(get_theme_mod( 'social_media_activate' )){ ?> style="float: none;"<?php } ?> class="social-top">
			
				<?php if (get_theme_mod( 'lotus_beauty_facebook' )) : ?>
					<a target="<?php if(esc_attr(get_theme_mod( 'lotus_beauty_social_link_type' )) == "_blank"){echo esc_attr(get_theme_mod( 'lotus_beauty_social_link_type' )); } else {echo "_self"; } ?>" href="<?php echo esc_url(get_theme_mod( 'lotus_beauty_facebook' )); ?>"><i class="fa fa-facebook-f"></i></a>
				<?php endif; ?>
							
				<?php if (get_theme_mod( 'lotus_beauty_twitter' )) : ?>
					<a target="<?php if(esc_attr(get_theme_mod( 'lotus_beauty_social_link_type' ))){echo esc_attr(get_theme_mod( 'lotus_beauty_social_link_type' )); } else {echo "_self"; } ?>" href="<?php echo esc_url(get_theme_mod( 'lotus_beauty_twitter' )) ?>"><i class="fa fa-twitter"></i></a>
				<?php endif; ?>

				<?php if (get_theme_mod( 'lotus_beauty_youtube' )) : ?>
					<a target="<?php if(esc_attr(get_theme_mod( 'lotus_beauty_social_link_type' ))){echo esc_attr(get_theme_mod( 'lotus_beauty_social_link_type' )); } else {echo "_self"; } ?>" href="<?php echo esc_url(get_theme_mod( 'lotus_beauty_youtube' )); ?>"><i class="fa fa-youtube"></i></a>
				<?php endif; ?>
																			
				<?php if (get_theme_mod( 'lotus_beauty_vimeo' )) : ?>
					<a target="<?php if(esc_attr(get_theme_mod( 'lotus_beauty_social_link_type' ))){echo esc_attr(get_theme_mod( 'lotus_beauty_social_link_type' )); } else {echo "_self"; } ?>" href="<?php echo esc_url(get_theme_mod( 'lotus_beauty_vimeo' )); ?>"><i class="fa fa-vimeo"></i></a>
				<?php endif; ?>
																			
				<?php if (get_theme_mod( 'lotus_beauty_pinterest' )) : ?>
					<a target="<?php if(esc_attr(get_theme_mod( 'lotus_beauty_social_link_type' ))){echo esc_attr(get_theme_mod( 'lotus_beauty_social_link_type' )); } else {echo "_self"; } ?>" href="<?php echo esc_url(get_theme_mod( 'lotus_beauty_pinterest' )); ?>"><i class="fa fa-pinterest"></i></a>
				<?php endif; ?>	
				
				<?php if (get_theme_mod( 'lotus_beauty_instagram' )) : ?>
					<a target="<?php if(esc_attr(get_theme_mod( 'lotus_beauty_social_link_type' ))){echo esc_attr(get_theme_mod( 'lotus_beauty_social_link_type' )); } else {echo "_self"; } ?>" href="<?php echo esc_url(get_theme_mod( 'lotus_beauty_instagram' )); ?>"><i class="fa fa-instagram" aria-hidden="true"></i></a>
				<?php endif; ?>
																			
				<?php if (get_theme_mod( 'lotus_beauty_linkedin' )) : ?>
					<a target="<?php if(esc_attr(get_theme_mod( 'lotus_beauty_social_link_type' ))){echo esc_attr(get_theme_mod( 'lotus_beauty_social_link_type' )); } else {echo "_self"; } ?>" href="<?php echo esc_url(get_theme_mod( 'lotus_beauty_linkedin' )); ?>"><i class="fa fa-linkedin"></i></a>
				<?php endif; ?>
																			
				<?php if (get_theme_mod( 'lotus_beauty_rss' )) : ?>
					<a target="<?php if(esc_attr(get_theme_mod( 'lotus_beauty_social_link_type' ))){echo esc_attr(get_theme_mod( 'lotus_beauty_social_link_type' )); } else {echo "_self"; } ?>" href="<?php echo esc_url(get_theme_mod( 'lotus_beauty_rss' )); ?>"><i class="fa fa-rss"></i></a>
				<?php endif; ?>
																			
				<?php if (get_theme_mod( 'lotus_beauty_stumbleupon' )) : ?>
					<a target="<?php if(esc_attr(get_theme_mod( 'lotus_beauty_social_link_type' ))){echo esc_attr(get_theme_mod( 'lotus_beauty_social_link_type' )); } else {echo "_self"; } ?>" href="<?php echo esc_url(get_theme_mod( 'lotus_beauty_stumbleupon' )); ?>"><i class="fa fa-stumbleupon"></i></a>
				<?php endif; ?>
																							
				<?php if (get_theme_mod( 'lotus_beauty_flickr' )) : ?>
					<a target="<?php if(esc_attr(get_theme_mod( 'lotus_beauty_social_link_type' ))){echo esc_attr(get_theme_mod( 'lotus_beauty_social_link_type' )); } else {echo "_self"; } ?>" href="<?php echo esc_url(get_theme_mod( 'lotus_beauty_flickr' )); ?>"><i class="fa fa-flickr" aria-hidden="true"></i></a>
				<?php endif; ?>
																							
				<?php if (get_theme_mod( 'lotus_beauty_dribbble' )) : ?>
					<a target="<?php if(esc_attr(get_theme_mod( 'lotus_beauty_social_link_type' ))){echo esc_attr(get_theme_mod( 'lotus_beauty_social_link_type' )); } else {echo "_self"; } ?>" href="<?php echo esc_url(get_theme_mod( 'lotus_beauty_dribbble' )); ?>"><i class="fa fa-dribbble"></i></a>
				<?php endif; ?>
																							
				<?php if (get_theme_mod( 'lotus_beauty_digg' )) : ?>
					<a target="<?php if(esc_attr(get_theme_mod( 'lotus_beauty_social_link_type' ))){echo esc_attr(get_theme_mod( 'lotus_beauty_social_link_type' )); } else {echo "_self"; } ?>" href="<?php echo esc_url(get_theme_mod( 'lotus_beauty_digg' )); ?>"><i class="fa fa-digg"></i></a>
				<?php endif; ?>
																							
				<?php if (get_theme_mod( 'lotus_beauty_skype' )) : ?>
					<a target="<?php if(esc_attr(get_theme_mod( 'lotus_beauty_social_link_type' ))){echo esc_attr(get_theme_mod( 'lotus_beauty_social_link_type' )); } else {echo "_self"; } ?>" href="<?php echo esc_url(get_theme_mod( 'lotus_beauty_skype' )); ?>"><i class="fa fa-skype"></i></a>
				<?php endif; ?>
																							
				<?php if (get_theme_mod( 'lotus_beauty_deviantart' )) : ?>
					<a target="<?php if(esc_attr(get_theme_mod( 'lotus_beauty_social_link_type' ))){echo esc_attr(get_theme_mod( 'lotus_beauty_social_link_type' )); } else {echo "_self"; } ?>" href="<?php echo esc_url(get_theme_mod( 'lotus_beauty_deviantart' )); ?>"><i class="fa fa-deviantart"></i></a>
				<?php endif; ?>
																							
				<?php if (get_theme_mod( 'lotus_beauty_yahoo' )) : ?>
					<a target="<?php if(esc_attr(get_theme_mod( 'lotus_beauty_social_link_type' ))){echo esc_attr(get_theme_mod( 'lotus_beauty_social_link_type' )); } else {echo "_self"; } ?>" href="<?php echo esc_url(get_theme_mod( 'lotus_beauty_yahoo' )); ?>"><i class="fa fa-yahoo"></i></a>
				<?php endif; ?>
																							
				<?php if (get_theme_mod( 'lotus_beauty_reddit_alien' )) : ?>
					<a target="<?php if(esc_attr(get_theme_mod( 'lotus_beauty_social_link_type' ))){echo esc_attr(get_theme_mod( 'lotus_beauty_social_link_type' )); } else {echo "_self"; } ?>" href="<?php echo esc_url(get_theme_mod( 'lotus_beauty_reddit_alien' )); ?>"><i class="fa fa-reddit-alien"></i></a>
				<?php endif; ?>
																							
				<?php if (get_theme_mod( 'lotus_beauty_paypal' )) : ?>
					<a target="<?php if(esc_attr(get_theme_mod( 'lotus_beauty_social_link_type' ))){echo esc_attr(get_theme_mod( 'lotus_beauty_social_link_type' )); } else {echo "_self"; } ?>" href="<?php echo esc_url(get_theme_mod( 'lotus_beauty_paypal' )); ?>"><i class="fa fa-paypal"></i></a>
				<?php endif; ?>
																							
				<?php if (get_theme_mod( 'lotus_beauty_dropbox' )) : ?>
					<a target="<?php if(esc_attr(get_theme_mod( 'lotus_beauty_social_link_type' ))){echo esc_attr(get_theme_mod( 'lotus_beauty_social_link_type' )); } else {echo "_self"; } ?>" href="<?php echo esc_url(get_theme_mod( 'lotus_beauty_dropbox' )); ?>"><i class="fa fa-dropbox"></i></a>
				<?php endif; ?>
																							
				<?php if (get_theme_mod( 'lotus_beauty_soundcloud' )) : ?>
					<a target="<?php if(esc_attr(get_theme_mod( 'lotus_beauty_social_link_type' ))){echo esc_attr(get_theme_mod( 'lotus_beauty_social_link_type' )); } else {echo "_self"; } ?>" href="<?php echo esc_url(get_theme_mod( 'lotus_beauty_soundcloud' )); ?>"><i class="fa fa-soundcloud"></i></a>
				<?php endif; ?>
																							
				<?php if (get_theme_mod( 'lotus_beauty_vk' )) : ?>
					<a target="<?php if(esc_attr(get_theme_mod( 'lotus_beauty_social_link_type' ))){echo esc_attr(get_theme_mod( 'lotus_beauty_social_link_type' )); } else {echo "_self"; } ?>" href="<?php echo esc_url(get_theme_mod( 'lotus_beauty_vk' )); ?>"><i class="fa fa-vk"></i></a>
				<?php endif; ?>
																							
				<?php if (get_theme_mod( 'lotus_beauty_envelope' )) : ?>
					<a target="<?php if(esc_attr(get_theme_mod( 'lotus_beauty_social_link_type' ))){echo esc_attr(get_theme_mod( 'lotus_beauty_social_link_type' )); } else {echo "_self"; } ?>" href="<?php echo esc_url(get_theme_mod( 'lotus_beauty_envelope' )); ?>"><i class="fa fa-envelope"></i></a>
				<?php endif; ?>
																							
				<?php if (get_theme_mod( 'lotus_beauty_address_book' )) : ?>
					<a target="<?php if(esc_attr(get_theme_mod( 'lotus_beauty_social_link_type' ))){echo esc_attr(get_theme_mod( 'lotus_beauty_social_link_type' )); } else {echo "_self"; } ?>" href="<?php echo esc_url(get_theme_mod( 'lotus_beauty_address_book' )); ?>"><i class="fa fa-address-book" aria-hidden="true"></i></a>
				<?php endif; ?>
																							
				<?php if (get_theme_mod( 'lotus_beauty_apple' )) : ?>
					<a target="<?php if(esc_attr(get_theme_mod( 'lotus_beauty_social_link_type' ))){echo esc_attr(get_theme_mod( 'lotus_beauty_social_link_type' )); } else {echo "_self"; } ?>" href="<?php echo esc_url(get_theme_mod( 'lotus_beauty_apple' )); ?>"><i class="fa fa-apple"></i></a>
				<?php endif; ?>
																							
				<?php if (get_theme_mod( 'lotus_beauty_address_amazon' )) : ?>
					<a target="<?php if(esc_attr(get_theme_mod( 'lotus_beauty_social_link_type' ))){echo esc_attr(get_theme_mod( 'lotus_beauty_social_link_type' )); } else {echo "_self"; } ?>" href="<?php echo esc_url(get_theme_mod( 'lotus_beauty_address_amazon' )); ?>"><i class="fa fa-amazon"></i></a>
				<?php endif; ?>
																							
				<?php if (get_theme_mod( 'lotus_beauty_slack' )) : ?>
					<a target="<?php if(esc_attr(get_theme_mod( 'lotus_beauty_social_link_type' ))){echo esc_attr(get_theme_mod( 'lotus_beauty_social_link_type' )); } else {echo "_self"; } ?>" href="<?php echo esc_url(get_theme_mod( 'lotus_beauty_slack' )); ?>"><i class="fa fa-slack"></i></a>
				<?php endif; ?>
																							
				<?php if (get_theme_mod( 'lotus_beauty_slideshare' )) : ?>
					<a target="<?php if(esc_attr(get_theme_mod( 'lotus_beauty_social_link_type' ))){echo esc_attr(get_theme_mod( 'lotus_beauty_social_link_type' )); } else {echo "_self"; } ?>" href="<?php echo esc_url(get_theme_mod( 'lotus_beauty_slideshare' )); ?>"><i class="fa fa-slideshare"></i></a>
				<?php endif; ?>
																							
				<?php if (get_theme_mod( 'lotus_beauty_address_wikipedia' )) : ?>
					<a target="<?php if(esc_attr(get_theme_mod( 'lotus_beauty_social_link_type' ))){echo esc_attr(get_theme_mod( 'lotus_beauty_social_link_type' )); } else {echo "_self"; } ?>" href="<?php echo esc_url(get_theme_mod( 'lotus_beauty_address_wikipedia' )); ?>"><i class="fa fa-wikipedia-w"></i></a>
				<?php endif; ?>
																							
				<?php if (get_theme_mod( 'lotus_beauty_wordpress' )) : ?>
					<a target="<?php if(esc_attr(get_theme_mod( 'lotus_beauty_social_link_type' ))){echo esc_attr(get_theme_mod( 'lotus_beauty_social_link_type' )); } else {echo "_self"; } ?>" href="<?php echo esc_url(get_theme_mod( 'lotus_beauty_wordpress' )); ?>"><i class="fa fa-wordpress"></i></a>
				<?php endif; ?>
																							
				<?php if (get_theme_mod( 'lotus_beauty_odnoklassniki' )) : ?>
					<a target="<?php if(esc_attr(get_theme_mod( 'lotus_beauty_social_link_type' ))){echo esc_attr(get_theme_mod( 'lotus_beauty_social_link_type' )); } else {echo "_self"; } ?>" href="<?php echo esc_url(get_theme_mod( 'lotus_beauty_odnoklassniki' )); ?>"><i class="fa fa-odnoklassniki"></i></a>
				<?php endif; ?>
																											
				<?php if (get_theme_mod( 'lotus_beauty_tumblr' )) : ?>
					<a target="<?php if(esc_attr(get_theme_mod( 'lotus_beauty_social_link_type' ))){echo esc_attr(get_theme_mod( 'lotus_beauty_social_link_type' )); } else {echo "_self"; } ?>" href="<?php echo esc_url(get_theme_mod( 'lotus_beauty_tumblr' )); ?>"><i class="fa fa-tumblr"></i></a>
				<?php endif; ?>

				<?php if (get_theme_mod( 'lotus_beauty_github' )) : ?>
					<a target="<?php if(esc_attr(get_theme_mod( 'lotus_beauty_social_link_type' ))){echo esc_attr(get_theme_mod( 'lotus_beauty_social_link_type' )); } else {echo "_self"; } ?>" href="<?php echo esc_url(get_theme_mod( 'lotus_beauty_github' )); ?>"><i class="fa fa-github-alt" aria-hidden="true"></i></a>
				<?php endif; ?>	
				
			</div>
		
<?php } 

add_action( 'customize_register', 'lotus_beauty__social' );

function lotus_beauty__social( $wp_customize ) {

		
 		$wp_customize->add_section( 'lotus_beauty_social_section' , array(
			'title'       => __( 'Social Media', 'lotus-beauty' ),
			'description' => __( 'Social media buttons', 'lotus-beauty' ),
			'priority'    => 2,	
			//'description' => __( 'Social media buttons', 'lotus-beauty' ),
		) ); 

 		$wp_customize->add_setting( 'lotus_beauty_active_social', array (
			'sanitize_callback' => 'lotus_beauty_sanitize_checkbox',
		) );
				
		$wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'lotus_beauty_active_social', array(
			'label'    => __( 'Activate Social Icons in Header', 'lotus-beauty' ),
			'section'  => 'lotus_beauty_social_section',
			'settings' => 'lotus_beauty_active_social',
			'type' => 'checkbox'
		) ) );
		

		$wp_customize->add_setting( 'lotus_beauty_facebook', array (
			'sanitize_callback' => 'esc_url_raw',
		) );
		
		$wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'lotus_beauty_facebook', array(
			'label'    => __( 'Enter Facebook url', 'lotus-beauty' ),		
			'section'  => 'lotus_beauty_social_section',
			'settings' => 'lotus_beauty_facebook',
		) ) );	
		
		
		$wp_customize->add_setting( 'lotus_beauty_twitter', array (
			'sanitize_callback' => 'esc_url_raw',
		) );
		
		$wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'lotus_beauty_twitter', array(
			'label'    => __( 'Enter Twitter url', 'lotus-beauty' ),		
			'section'  => 'lotus_beauty_social_section',
			'settings' => 'lotus_beauty_twitter',
		) ) );	
			
		
		$wp_customize->add_setting( 'lotus_beauty_linkedin', array (
			'sanitize_callback' => 'esc_url_raw',
		) );
		
		$wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'lotus_beauty_linkedin', array(
			'label'    => __( 'Enter Linkedin url', 'lotus-beauty' ),		
			'section'  => 'lotus_beauty_social_section',
			'settings' => 'lotus_beauty_linkedin',
		) ) );	
			
		$wp_customize->add_setting( 'lotus_beauty_rss', array (
			'sanitize_callback' => 'esc_url_raw',
		) );
		
		$wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'lotus_beauty_rss', array(
			'label'    => __( 'Enter RSS url', 'lotus-beauty' ),		
			'section'  => 'lotus_beauty_social_section',
			'settings' => 'lotus_beauty_rss',
		) ) );	
	
					
		$wp_customize->add_setting( 'lotus_beauty_pinterest', array (
			'sanitize_callback' => 'esc_url_raw',
		) );
		
		$wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'lotus_beauty_pinterest', array(
			'label'    => __( 'Enter Pinterest url', 'lotus-beauty' ),		
			'section'  => 'lotus_beauty_social_section',
			'settings' => 'lotus_beauty_pinterest',
		) ) );	
						
		$wp_customize->add_setting( 'lotus_beauty_youtube', array (
			'sanitize_callback' => 'esc_url_raw',
		) );
		
		$wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'lotus_beauty_youtube', array(
			'label'    => __( 'Enter Youtube url', 'lotus-beauty' ),		
			'section'  => 'lotus_beauty_social_section',
			'settings' => 'lotus_beauty_youtube',
		) ) );	
	
								
		$wp_customize->add_setting( 'lotus_beauty_vimeo', array (
			'sanitize_callback' => 'esc_url_raw',
		) );
		
		$wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'lotus_beauty_vimeo', array(
			'label'    => __( 'Enter Vimeo url', 'lotus-beauty' ),		
			'section'  => 'lotus_beauty_social_section',
			'settings' => 'lotus_beauty_vimeo',
		) ) );	
									
		$wp_customize->add_setting( 'lotus_beauty_instagram', array (
			'sanitize_callback' => 'esc_url_raw',
		) );
		
		$wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'lotus_beauty_instagram', array(
			'label'    => __( 'Enter Instagram url', 'lotus-beauty' ),		
			'section'  => 'lotus_beauty_social_section',
			'settings' => 'lotus_beauty_instagram',
		) ) );	
										
		$wp_customize->add_setting( 'lotus_beauty_stumbleupon', array (
			'sanitize_callback' => 'esc_url_raw',
		) );
		
		$wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'lotus_beauty_stumbleupon', array(
			'label'    => __( 'Enter Stumbleupon url', 'lotus-beauty' ),		
			'section'  => 'lotus_beauty_social_section',
			'settings' => 'lotus_beauty_stumbleupon',
		) ) );	
	
												
		$wp_customize->add_setting( 'lotus_beauty_flickr', array (
			'sanitize_callback' => 'esc_url_raw',
		) );
		
		$wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'lotus_beauty_flickr', array(
			'label'    => __( 'Enter Flickr url', 'lotus-beauty' ),		
			'section'  => 'lotus_beauty_social_section',
			'settings' => 'lotus_beauty_flickr',
		) ) );	
	
			
												
		$wp_customize->add_setting( 'lotus_beauty_dribbble', array (
			'sanitize_callback' => 'esc_url_raw',
		) );
		
		$wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'lotus_beauty_dribbble', array(
			'label'    => __( 'Enter Dribbble url', 'lotus-beauty' ),		
			'section'  => 'lotus_beauty_social_section',
			'settings' => 'lotus_beauty_dribbble',
		) ) );	
													
		$wp_customize->add_setting( 'lotus_beauty_digg', array (
			'sanitize_callback' => 'esc_url_raw',
		) );
		
		$wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'lotus_beauty_digg', array(
			'label'    => __( 'Enter Digg url', 'lotus-beauty' ),		
			'section'  => 'lotus_beauty_social_section',
			'settings' => 'lotus_beauty_digg',
		) ) );	
	
															
		$wp_customize->add_setting( 'lotus_beauty_skype', array (
			'sanitize_callback' => 'esc_url_raw',
		) );
		
		$wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'lotus_beauty_skype', array(
			'label'    => __( 'Enter Skype url', 'lotus-beauty' ),		
			'section'  => 'lotus_beauty_social_section',
			'settings' => 'lotus_beauty_skype',
		) ) );	
	
																	
		$wp_customize->add_setting( 'lotus_beauty_deviantart', array (
			'sanitize_callback' => 'esc_url_raw',
		) );
		
		$wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'lotus_beauty_deviantart', array(
			'label'    => __( 'Enter Deviantart url', 'lotus-beauty' ),		
			'section'  => 'lotus_beauty_social_section',
			'settings' => 'lotus_beauty_deviantart',
		) ) );	
																		
		$wp_customize->add_setting( 'lotus_beauty_yahoo', array (
			'sanitize_callback' => 'esc_url_raw',
		) );
		
		$wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'lotus_beauty_yahoo', array(
			'label'    => __( 'Enter Yahoo url', 'lotus-beauty' ),		
			'section'  => 'lotus_beauty_social_section',
			'settings' => 'lotus_beauty_yahoo',
		) ) );	
																			
		$wp_customize->add_setting( 'lotus_beauty_reddit_alien', array (
			'sanitize_callback' => 'esc_url_raw',
		) );
		
		$wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'lotus_beauty_reddit_alien', array(
			'label'    => __( 'Enter Reddit Alien url', 'lotus-beauty' ),		
			'section'  => 'lotus_beauty_social_section',
			'settings' => 'lotus_beauty_reddit_alien',
		) ) );	
																				
		$wp_customize->add_setting( 'lotus_beauty_paypal', array (
			'sanitize_callback' => 'esc_url_raw',
		) );
		
		$wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'lotus_beauty_paypal', array(
			'label'    => __( 'Enter Paypal url', 'lotus-beauty' ),		
			'section'  => 'lotus_beauty_social_section',
			'settings' => 'lotus_beauty_paypal',
		) ) );	
																					
		$wp_customize->add_setting( 'lotus_beauty_dropbox', array (
			'sanitize_callback' => 'esc_url_raw',
		) );
		
		$wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'lotus_beauty_dropbox', array(
			'label'    => __( 'Enter Dropbox url', 'lotus-beauty' ),		
			'section'  => 'lotus_beauty_social_section',
			'settings' => 'lotus_beauty_dropbox',
		) ) );	
																						
		$wp_customize->add_setting( 'lotus_beauty_soundcloud', array (
			'sanitize_callback' => 'esc_url_raw',
		) );
		
		$wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'lotus_beauty_soundcloud', array(
			'label'    => __( 'Enter Soundcloud url', 'lotus-beauty' ),		
			'section'  => 'lotus_beauty_social_section',
			'settings' => 'lotus_beauty_soundcloud',
		) ) );	
																							
		$wp_customize->add_setting( 'lotus_beauty_vk', array (
			'sanitize_callback' => 'esc_url_raw',
		) );
		
		$wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'lotus_beauty_vk', array(
			'label'    => __( 'Enter VK url', 'lotus-beauty' ),		
			'section'  => 'lotus_beauty_social_section',
			'settings' => 'lotus_beauty_vk',
		) ) );	
																								
		$wp_customize->add_setting( 'lotus_beauty_envelope', array (
			'sanitize_callback' => 'esc_url_raw',
		) );
		
		$wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'lotus_beauty_envelope', array(
			'label'    => __( 'Enter Envelope url', 'lotus-beauty' ),		
			'section'  => 'lotus_beauty_social_section',
			'settings' => 'lotus_beauty_envelope',
		) ) );	
																									
		$wp_customize->add_setting( 'lotus_beauty_address_book', array (
			'sanitize_callback' => 'esc_url_raw',
		) );
		
		$wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'lotus_beauty_address_book', array(
			'label'    => __( 'Enter Address Book url', 'lotus-beauty' ),		
			'section'  => 'lotus_beauty_social_section',
			'settings' => 'lotus_beauty_address_book',
		) ) );	
																										
		$wp_customize->add_setting( 'lotus_beauty_apple', array (
			'sanitize_callback' => 'esc_url_raw',
		) );
		
		$wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'lotus_beauty_apple', array(
			'label'    => __( 'Enter Apple url', 'lotus-beauty' ),		
			'section'  => 'lotus_beauty_social_section',
			'settings' => 'lotus_beauty_apple',
		) ) );	
	
																												
		$wp_customize->add_setting( 'lotus_beauty_amazon', array (
			'sanitize_callback' => 'esc_url_raw',
		) );
		
		$wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'lotus_beauty_amazon', array(
			'label'    => __( 'Enter Amazon url', 'lotus-beauty' ),		
			'section'  => 'lotus_beauty_social_section',
			'settings' => 'lotus_beauty_amazon',
		) ) );	
		
																												
		$wp_customize->add_setting( 'lotus_beauty_slack', array (
			'sanitize_callback' => 'esc_url_raw',
		) );
		
		$wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'lotus_beauty_slack', array(
			'label'    => __( 'Enter Slack url', 'lotus-beauty' ),		
			'section'  => 'lotus_beauty_social_section',
			'settings' => 'lotus_beauty_slack',
		) ) );	
																													
		$wp_customize->add_setting( 'lotus_beauty_slideshare', array (
			'sanitize_callback' => 'esc_url_raw',
		) );
		
		$wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'lotus_beauty_slideshare', array(
			'label'    => __( 'Enter Slideshare url', 'lotus-beauty' ),		
			'section'  => 'lotus_beauty_social_section',
			'settings' => 'lotus_beauty_slideshare',
		) ) );	
																														
		$wp_customize->add_setting( 'lotus_beauty_address_wikipedia', array (
			'sanitize_callback' => 'esc_url_raw',
		) );
		
		$wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'lotus_beauty_address_wikipedia', array(
			'label'    => __( 'Enter Wikipedia url', 'lotus-beauty' ),		
			'section'  => 'lotus_beauty_social_section',
			'settings' => 'lotus_beauty_address_wikipedia',
		) ) );	
																															
		$wp_customize->add_setting( 'lotus_beauty_wordpress', array (
			'sanitize_callback' => 'esc_url_raw',
		) );
		
		$wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'lotus_beauty_wordpress', array(
			'label'    => __( 'Enter WordPress url', 'lotus-beauty' ),		
			'section'  => 'lotus_beauty_social_section',
			'settings' => 'lotus_beauty_wordpress',
		) ) );	
	
																																	
		$wp_customize->add_setting( 'lotus_beauty_odnoklassniki', array (
			'sanitize_callback' => 'esc_url_raw',
		) );
		
		$wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'lotus_beauty_odnoklassniki', array(
			'label'    => __( 'Enter Odnoklassniki url', 'lotus-beauty' ),		
			'section'  => 'lotus_beauty_social_section',
			'settings' => 'lotus_beauty_odnoklassniki',
		) ) );	
		
																																	
		$wp_customize->add_setting( 'lotus_beauty_tumblr', array (
			'sanitize_callback' => 'esc_url_raw',
		) );
		
		$wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'lotus_beauty_tumblr', array(
			'label'    => __( 'Enter Tumblr url', 'lotus-beauty' ),		
			'section'  => 'lotus_beauty_social_section',
			'settings' => 'lotus_beauty_tumblr',
		) ) );	
			
																																	
		$wp_customize->add_setting( 'lotus_beauty_github', array (
			'sanitize_callback' => 'esc_url_raw',
		) );
		
		$wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'lotus_beauty_github', array(
			'label'    => __( 'Enter GitHub url', 'lotus-beauty' ),		
			'section'  => 'lotus_beauty_social_section',
			'settings' => 'lotus_beauty_github',
		) ) );	
	
		
		
}

/********************************************
* Social styles
*********************************************/ 	

function lotus_beauty_social_method() {

        $social_media_color_mod = esc_attr(get_theme_mod( 'social_media_color' ));
        $social_media_hover_color_mod = esc_attr(get_theme_mod( 'social_media_hover_color' ));

		if($social_media_color_mod) { $social_media_color = ".social .fa-icons i, .social-top .fa {color: {$social_media_color_mod} !important;}";} else {$social_media_color ="";}
		if($social_media_hover_color_mod) { $social_media_hover_color = ".social .fa-icons i:hover, .social-top a:hover .fa {color: {$social_media_hover_color_mod} !important;}";} else {$social_media_hover_color ="";}

        wp_add_inline_style( 'lotus-beauty-style-css', 
		$social_media_color.$social_media_hover_color);
}
add_action( 'wp_enqueue_scripts', 'lotus_beauty_social_method' );				
		