
			<div class="tm-staff">
				<div class="staff-inner">
					<div class="box-hover-effect">
						<div class="staff-header effect-wrapper">
							<?php if( $show_featured_image ): ?>
							<div class="thumb">
								<?php the_post_thumbnail( $img_size ); ?>
							</div>
							<?php endif; ?>
							<div class="shadow-overlay"></div>
							<div class="overlay-shade"></div>


							<?php if( $show_social ): ?>
							<div class="icons-holder icons-holder-middle">
								<div class="icons-holder-inner">
									<ul class="<?php echo esc_attr( apply_filters( 'educacion_mascot_archive_staff_social_links', 'styled-icons icon-dark icon-theme-colored1 icon-circled icon-sm') ); ?>">
										<?php
										foreach ($social_links as $key => $value) {
											$temp_meta_value = educacion_mascot_get_rwmb_group( 'educacion_mascot_' . "staff_mb_social_info", "staff_social_".$key );
											if( ! educacion_mascot_metabox_opt_val_is_empty( $temp_meta_value ) ) {
											echo wp_kses_post('<li><a class="styled-icons-item" target="_blank" href="'.$temp_meta_value.'"><i class="fa fa-'.$key.'"></i></a></li>' );
											}
										} 
										?>
										
									</ul>
								</div>
							</div>
							<?php endif; ?>
						</div>
					
						<div class="staff-content">
							<?php if( $show_title ): ?>
							<<?php echo esc_attr( $title_tag );?> class="name"><a href="<?php the_permalink();?>"><?php the_title();?></a></<?php echo esc_attr( $title_tag );?>>
							<?php endif; ?>

							<?php if( $show_speciality ): ?>
							<div class="speciality"><?php echo wp_kses_post( educacion_mascot_get_rwmb_group( 'educacion_mascot_' . "staff_mb_general_info", 'staff_speciality' ) );?></div>
							<?php endif; ?>

							<?php if( $show_bio ): ?>
							<div class="short-bio"><?php echo wp_kses_post( strip_shortcodes( educacion_mascot_get_rwmb_group( 'educacion_mascot_' . "staff_mb_general_info", 'staff_short_bio' ) ) )?></div>
							<?php endif; ?>


							<?php if( $show_hours ) { ?>
							<?php
							//working hours
							$working_hours_array = array();
							for ($i=1; $i <= 7 ; $i++) { 
								$day = educacion_mascot_get_rwmb_group( 'educacion_mascot_' . "staff_mb_working_hours", 'staff_opening_hours_day_'.$i );
								$day_time = educacion_mascot_get_rwmb_group( 'educacion_mascot_' . "staff_mb_working_hours", 'staff_opening_hours_day_'.$i.'_time' );
								if( !empty( $day ) ) :
								$working_hours_array[$day] = $day_time;
								endif;
							}
							if( !empty( $working_hours_array ) ) :
							?>
							<div class="staff-working-hours <?php echo esc_attr( $css_class ); ?>">
								<ul class="working-hours">
									<?php foreach( $working_hours_array as $day => $day_time ) { ?>
									<li class="clearfix">
										<span><?php echo esc_html( $day ); ?></span>
										<div class="value"><?php echo esc_html( $day_time ); ?></div>
									</li>
									<?php } ?>
								</ul>
							</div>
							<?php endif; ?>
							<?php } ?>

							<?php if( $show_btn ): ?>
							<a class="<?php echo esc_attr( apply_filters( 'educacion_mascot_cpt_staff_view_details_btn', 'btn btn-plain-text') ); ?>" href="<?php the_permalink();?>"><?php echo esc_html( $btn_text ); ?></a>
							<?php endif; ?>
						</div>
					</div>
				</div>
			</div>