<?php
	$social_links_color = educacion_mascot_social_links_colors();
?>
<ul class="tm-sc tm-sc-social-list tm-sc-social-list-brand styled-icons styled-icons-brand <?php echo esc_attr( $icon_size );?> <?php echo esc_attr( $icon_style );?> <?php echo esc_attr(implode(' ', $classes)); ?>">
	<?php
	if( $social_links ): foreach( $social_links as $key => $value ) {
		if( !_empty( educacion_mascot_get_redux_option( 'social-links-url-'.$key ) ) ) :
	?>
	<li><a class="styled-icons-item" data-tm-bg-color="<?php echo esc_attr( $social_links_color[$key]['color'] );?>" href="<?php echo esc_url( educacion_mascot_get_redux_option( 'social-links-url-'.$key ) ); ?>" target="<?php $target = educacion_mascot_get_redux_option( 'social-links-open-in-window', '_blank' ); echo ( ( $target == '' ) ? '_self' : esc_attr( $target ) ); ?>"><i class="fa fa-<?php echo esc_attr( $key ); ?>"></i></a></li>
	<?php endif; } endif; ?>
</ul>