<?php
/**
 * The template to display the side menu
 *
 * @package PATHFINDER
 * @since PATHFINDER 1.0
 */
?>
<div class="menu_side_wrap
<?php
echo ' menu_side_' . esc_attr( pathfinder_get_theme_option( 'menu_side_icons' ) > 0 ? 'icons' : 'dots' );
$pathfinder_menu_scheme = pathfinder_get_theme_option( 'menu_scheme' );
$pathfinder_header_scheme = pathfinder_get_theme_option( 'header_scheme' );
if ( ! empty( $pathfinder_menu_scheme ) && ! pathfinder_is_inherit( $pathfinder_menu_scheme  ) ) {
	echo ' scheme_' . esc_attr( $pathfinder_menu_scheme );
} elseif ( ! empty( $pathfinder_header_scheme ) && ! pathfinder_is_inherit( $pathfinder_header_scheme ) ) {
	echo ' scheme_' . esc_attr( $pathfinder_header_scheme );
}
?>
				">
	<span class="menu_side_button icon-menu-2"></span>

	<div class="menu_side_inner">
		<?php
		// Logo
		set_query_var( 'pathfinder_logo_args', array( 'type' => 'side' ) );
		get_template_part( apply_filters( 'pathfinder_filter_get_template_part', 'templates/header-logo' ) );
		set_query_var( 'pathfinder_logo_args', array() );
		// Main menu button
		?>
		<div class="toc_menu_item"
			<?php
			if ( pathfinder_mouse_helper_enabled() ) {
				echo ' data-mouse-helper="click" data-mouse-helper-axis="y" data-mouse-helper-text="' . esc_attr__( 'Open main menu', 'pathfinder' ) . '"';
			}
			?>
		>
			<a href="#" class="toc_menu_description menu_mobile_description"><span class="toc_menu_description_title"><?php esc_html_e( 'Main menu', 'pathfinder' ); ?></span></a>
			<a class="menu_mobile_button toc_menu_icon icon-menu-2" href="#"></a>
		</div>		
	</div>

</div><!-- /.menu_side_wrap -->
