<div id="main_widget_item_categories_dropdown">
	{foreach name=menuLoop item=menu_item_main from=$main_widget_menu_3.menu_items}
		{if $menu_item_main->parent_id == 3}
			<div rel="{$menu_item_main->id}" class="menu_item_wrapper menu_item_wrapper_{$menu_item_main->id}">
				<div id="m_aquaristik" class="menu_item menu_item_{$menu_item_main->id} {if $smarty.foreach.menuLoop.first}menu_item menu_item_first{/if}" style="width:{if $smarty.foreach.menuLoop.first}{$main_widget_menu_3.menu_first_item_width}{else}{$main_widget_menu_3.menu_item_width}{/if}px;">
					<a title="{$menu_item->name}" name="{$menu_item_main->name}" class="menu_top_link {if isset($current_menu_id) && $current_menu_id == $menu_item->id}active{/if}" {if $system_configuration.main_menu_item_clickable}href="{$serverProtocol}://{$servername}/{if $menu_item_main->short_uri}{$menu_item_main->short_uri}/{else}index.php?menu_id={$menu_item_main->id}{/if}{/if}">
						<span>
							{if !$user_lang || $user_lang == $system_configuration.default_system_language || !$menu_item_main->name_en}
								{$menu_item_main->name}
							{else}
								{$menu_item_main->name_en}
							{/if}
						</span>
						<strong class="borderLeft"></strong>
						<strong class="borderRight"></strong>
					</a>
				</div>
				{if $system_configuration.main_widget_menu_dropdown == 1}
					<div id="mi_aquaristik" class="sub_outer_wrapper">
						<div class="sub_inner_wrapper sub_inner_wrapper_{$menu_item_main->id}">
							<div class="title_kategorie"></div>
							<div class="title_hersteller"></div>
							<div class="title_allgemein"></div>
							<div class="category_wrapper">
								{foreach name=menuLoop item=menu_item from=$main_widget_menu_3.menu_items}
									{if $menu_item->parent_id == $menu_item_main->id}
										<a title="{$menu_item->name}" name="{$menu_item->name}" style="size:14px;font-weight:bold;" class="{if isset($current_menu_id) && $current_menu_id == $menu_item->id}active{/if}" href="{$serverProtocol}://{$servername}/{$menu_item_main->short_uri}/{if $menu_item->short_uri}{$menu_item->short_uri}/{else}index.php?menu_id={$menu_item->id}{/if}">
											<span>&nbsp;&nbsp;&nbsp;&nbsp; 
												{if !$user_lang || $user_lang == $system_configuration.default_system_language || !$menu_item->name_en}
													{$menu_item->name}
												{else}
													{$menu_item->name_en}
												{/if}</span>
										</a>
									{/if}
								{/foreach}
							</div>

							<div class="manufacturer_wrapper">
								{foreach name=menuLoop item=menu_item from=$main_widget_menu_3.manufacturers[$menu_item_main->id]}
									{if $menu_item->id && $smarty.foreach.menuLoop.iteration < 23}
										<a title="{$menu_item->name}" style="size:14px;font-weight:bold;" href="{$serverProtocol}://{$servername}/kaufen/{if $menu_item->short_uri}{$menu_item->short_uri}/{$menu_item_main->short_uri}/{else}index.php?menu_id={$menu_item->id}{/if}">
											<span>&nbsp;&nbsp;&nbsp;&nbsp; {$menu_item->name}</span>
										</a>
									{/if}
								{/foreach}
								{if $main_widget_menu_3.manufacturers[$menu_item_main->id]|@count gt 22}
									<a title="{$menu_item->name}" style="size:14px;font-weight:bold;" href="{$serverProtocol}://{$servername}/Herstellerliste/">
										<span>&nbsp;&nbsp;&nbsp;&nbsp; Alle Hersteller</span>
									</a>
								{/if}
							</div>
							<div class="allgemein_wrapper">
								{foreach name=menuLoop item=menu_item from=$main_widget_menu_3.menu_items_allgemein}
									<a title="{$menu_item->name}" name="{$menu_item->name}" style="size:14px;font-weight:bold;" class="{if isset($current_menu_id) && $current_menu_id == $menu_item->id}active{/if}" href="{$serverProtocol}://{$servername}/{if $menu_item->short_uri}{$menu_item->short_uri}/{else}index.php?menu_id={$menu_item->id}{/if}">
										<span>&nbsp;&nbsp;&nbsp;&nbsp;
											{if !$user_lang || $user_lang == $system_configuration.default_system_language || !$menu_item->name_en}
												{$menu_item->name}
											{else}
												{$menu_item->name_en}
											{/if}
										</span>
									</a>
								{/foreach}
							</div>

						</div>
					</div>
				{/if}
			</div>
		{/if}
	{/foreach}
</div>



