<div id="top-area" class="top-area top-area-style-default top-area-alignment-<?php echo esc_attr(thegem_get_option('top_area_alignment', 'left')); ?>">
	<div class="container<?php echo (thegem_get_option('top_area_width') == 'full' ? ' container-fullwidth' : ''); ?>">
		<div class="top-area-items inline-inside">
			<?php if(thegem_get_option('top_area_contacts')) : ?>
				<div class="top-area-block top-area-contacts"><?php echo thegem_top_area_contacts(); ?></div>
			<?php endif; ?>
			<?php if(thegem_get_option('top_area_socials')) : ?>
				<div class="top-area-block top-area-socials<?php echo esc_attr(thegem_get_option('top_area_style') == 1 ? ' socials-colored-hover' : ''); ?>"><?php thegem_print_socials(); ?></div>
			<?php endif; ?>
			<?php if(has_nav_menu('top_area') || (thegem_get_option('top_area_button') && thegem_get_option('top_area_button_text'))) : ?>
				<div class="top-area-block top-area-menu">
					<?php if(has_nav_menu('top_area')) : ?>
						<nav id="top-area-menu">
							<?php wp_nav_menu(array('theme_location' => 'top_area', 'menu_id' => 'top-area-navigation', 'depth' => 1, 'menu_class' => 'nav-menu styled inline-inside', 'container' => false, 'walker' => new thegem_walker_footer_nav_menu)); ?>
						</nav>
					<?php endif; ?>
					<?php if(thegem_get_option('top_area_button') && thegem_get_option('top_area_button_text')) : ?>
						<div class="top-area-button"><?php
							$topa_area_button = array(
								'id' => thegem_get_option('top_area_button_id'),
								'href' => thegem_get_option('top_area_button_link'),
								'text' => stripslashes(thegem_get_option('top_area_button_text')),
                                'target' => '_'.thegem_get_option('top_area_button_link_target'),
								'size' => 'tiny',
								'no-uppercase' => true
							);
							if(thegem_get_option('top_area_button_border_color') || thegem_get_option('top_area_button_hover_border_color')) {
								$topa_area_button['style'] = 'outline';
							}
							thegem_button($topa_area_button, true);
						?></div>
					<?php endif; ?>
				</div>
			<?php endif; ?>
		</div>
	</div>
</div>
