<?php
$css = '';
extract(shortcode_atts(array(
    'css' => ''
), $atts));
$css_class = apply_filters( VC_SHORTCODE_CUSTOM_CSS_FILTER_TAG, vc_shortcode_custom_css_class( $css, ' ' ) );
?>
<?php
	$current_page_id = educacion_mascot_get_page_id();
?>

<div class="widget widget-staff staff-contact-info <?php echo esc_attr( $css_class ); ?>">
	<dl class="dl-horizontal">
		<?php if ( !_empty( educacion_mascot_get_rwmb_group( 'educacion_mascot_' . "staff_mb_contact_info", 'staff_address', $current_page_id ) ) ) { ?>
		<dt><i class="fa fa-map-marker text-theme-colored1"></i> <span><?php esc_html_e( 'Address :', 'educacion-wp' ) ?></span></dt>
		<dd>
			<?php echo esc_html( $staff_address = educacion_mascot_get_rwmb_group( 'educacion_mascot_' . "staff_mb_contact_info", 'staff_address', $current_page_id ) ); ?>
			<!-- <a class="btn btn-theme-colored1 btn-sm mt-10" target="_blank" href="<?php echo esc_url( $staff_address = "//www.google.com/maps/place/" . str_replace(' ', '+', $staff_address) ); ?>"><?php esc_html_e( 'Get Direction', 'educacion-wp' ) ?> <i class="fa fa-arrow-circle-right"></i></a> -->
		</dd>
		<?php } ?>

		
		<?php if ( !_empty( educacion_mascot_get_rwmb_group( 'educacion_mascot_' . "staff_mb_contact_info", 'staff_phone', $current_page_id ) ) ) { ?>
		<dt><i class="fa fa-phone text-theme-colored1"></i> <span><?php esc_html_e( 'Phone :', 'educacion-wp' ) ?></span></dt>
		<dd>
			<?php echo esc_html( educacion_mascot_get_rwmb_group( 'educacion_mascot_' . "staff_mb_contact_info", 'staff_phone', $current_page_id ) ) ?>
		</dd>
		<?php } ?>

		
		<?php if ( !_empty( educacion_mascot_get_rwmb_group( 'educacion_mascot_' . "staff_mb_contact_info", 'staff_fax', $current_page_id ) ) ) { ?>
		<dt><i class="fa fa-fax text-theme-colored1"></i> <span><?php esc_html_e( 'Fax :', 'educacion-wp' ) ?></span></dt>
		<dd>
			<?php echo esc_html( educacion_mascot_get_rwmb_group( 'educacion_mascot_' . "staff_mb_contact_info", 'staff_fax', $current_page_id ) ) ?>
		</dd>
		<?php } ?>

		
		<?php if ( !_empty( educacion_mascot_get_rwmb_group( 'educacion_mascot_' . "staff_mb_contact_info", 'staff_email', $current_page_id ) ) ) { ?>
		<dt><i class="fa fa-envelope text-theme-colored1"></i> <span><?php esc_html_e( 'Email :', 'educacion-wp' ) ?></span></dt>
		<dd>
			<?php echo esc_html( educacion_mascot_get_rwmb_group( 'educacion_mascot_' . "staff_mb_contact_info", 'staff_email', $current_page_id ) ) ?>
		</dd>
		<?php } ?>
	</dl>
</div>