<?php
/**
 * @author  RadiusTheme
 * @since   1.0
 * @version 1.0
 */

$class		 = vc_shortcode_custom_css_class( $css );
$counter_css = "color:{$counter_color};font-size: {$icon_size}px";
$title_css   = "color:{$title_color};font-size: {$title_size}px";
?>
<div class="rt-vc-counter <?php echo esc_attr( $class );?>" <?php if( !empty( $counter_maxwidth ) ) { ?>style="max-width:<?php echo esc_attr( $counter_maxwidth ); ?>px;" <?php } ?>>
	<div class="rtin-counter-content">
		<div class="rtin-counter1-box">
			<div class="rt-counter" style="<?php echo esc_attr( $counter_css ); ?>" data-num="<?php echo esc_html( $counter_number ); ?>" data-rtSpeed="<?php echo esc_html( $counter_speed ); ?>"	data-rtSteps="<?php echo esc_html( $counter_steps ); ?>">
				<?php echo esc_html( $counter_number ); ?>
			</div>
			<?php if ( !empty ( $title ) ) { ?>
			<div class="rtin-title" style="<?php echo esc_attr( $title_css ); ?>"><?php echo esc_html( $title ); ?></div>
			<?php } ?>
		</div>
	</div>
</div>