<?php

$theme_options_data = theme_options_data();
$width_logo         = 2;

if ( isset( $theme_options_data['thim_width_logo'] ) ) {
	$width_logo = (int) ( $theme_options_data['thim_width_logo'] / 8.3 );
}
$width_menu = 12 - $width_logo;
?>

<div class="container">
	<div class="row">
		<div class="navigation">
			<div class="tm-table">
				<div class="menu-mobile-effect navbar-toggle" data-effect="mobile-effect">
					<span class="icon-bar"></span>
					<span class="icon-bar"></span>
					<span class="icon-bar"></span>
				</div>
				<div class="col-sm-<?php echo esc_attr( $width_logo ); ?> table-cell sm-logo-affix">
					<?php
					do_action( 'thim_logo' );
					do_action( 'thim_sticky_logo' );
					?>
				</div>
				<nav class="col-sm-<?php echo esc_attr( $width_menu ); ?> table-cell table-right">
					<?php get_template_part( 'inc/header/main-menu' ); ?>
				</nav>

				<div id="header-search-form-input" class="main-header-search-form-input">
					<form method="get" action="<?php echo esc_url( get_site_url() ); ?>">
						<input type="text" value="" name="s" id="s" placeholder="<?php echo esc_html__( 'Search the site or press ESC to cancel.', 'cakeart' ); ?>" class="form-control ob-search-input" autocomplete="off" />
						<span class="header-search-close"><i class="fa fa-times"></i></span>
					</form>
					<ul class="ob_list_search">
					</ul>
				</div>

			</div>
		</div>
	</div>
</div>

