<?php get_header(); ?>
	<?php if (get_locale() == 'es_PE') {?>
		<!-- [ Espa«Šol ] -->



		<section id="portada">
			<div class="container">
				<div class="row">
					<div class="col-md-6 col-sm-6 col-xs-12">
						<article class="port-item">
							<div class="port-titulo port-titulo-verde">
								<p><span class="tg-road"></span><?php the_field('tn-titulo') ?></p>
							</div>
							<div class="port-box">
								<div class="port-box2">
									<div class="carousel-intro1 owl-carousel1">
										<?php
										$args = array(
										    'post_type' => 'turismo',
										    'posts_per_page' => '3',
											'meta_key' => 'paq-cat',
											'meta_value' => 'Nacional',
											'orderby' => 'rand'
										);
										?>
										<?php $the_query = new WP_Query($args); ?>
										<?php if ($the_query->have_posts()) : ?>
										    <?php while ($the_query->have_posts()) : $the_query->the_post(); ?>
												<div class="carousel-item ">
													<a href="<?php the_permalink() ?>" title="<?php the_field('paq-titulo') ?>" alt="<?php the_field('paq-titulo') ?>">
														<?php $paq_img11= get_field('paq-img1'); ?>
														<img src="<?php echo $paq_img11['url']; ?>" alt="<?php echo $paq_img11['title']; ?>" title="<?php echo $paq_img11['title']; ?>">
													</a>
												</div>
										    <?php endwhile; ?>
										    <?php wp_reset_postdata(); ?>
										<?php endif; ?>
									</div>
									<p>
										<?php the_field('tn-txt') ?>
									</p>
									<a href="<?php the_field('tn-link') ?>">
										<button class="but but-verde">
											<span class="tg-road"></span>Ver paquetes
										</button>
									</a>
								</div>
							</div>
						</article>
					</div>
					<div class="col-md-6 col-sm-6 col-xs-12">
						<article class="port-item">
							<div class="port-titulo port-titulo-naranja">
								<p><span class="tg-earth"></span><?php the_field('ti-titulo') ?></p>
							</div>
							<div class="port-box">
								<div class="port-box2">
									<div class="carousel-intro1 owl-carousel1">
										<?php
										$args = array(
										    'post_type' => 'turismo',
										    'posts_per_page' => '3',
											'meta_key' => 'paq-cat',
											'meta_value' => 'Internacional',
											'orderby' => 'rand'
										);
										?>
										<?php $the_query = new WP_Query($args); ?>
										<?php if ($the_query->have_posts()) : ?>
										    <?php while ($the_query->have_posts()) : $the_query->the_post(); ?>
												<div class="carousel-item ">
													<a href="<?php the_permalink() ?>" title="<?php the_field('paq-titulo') ?>" alt="<?php the_field('paq-titulo') ?>">
														<?php $paq_img11= get_field('paq-img1'); ?>
														<img src="<?php echo $paq_img11['url']; ?>" alt="<?php echo $paq_img11['title']; ?>" title="<?php echo $paq_img11['title']; ?>">
													</a>
												</div>
										    <?php endwhile; ?>
										    <?php wp_reset_postdata(); ?>
										<?php endif; ?>
									</div>
									<p>
										<?php the_field('ti-txt') ?>
									</p>
									<a href="<?php the_field('ti-link') ?>">
										<button class="but but-naranja">
											<span class="tg-airplane"></span>Ver paquetes
										</button>
									</a>
								</div>
							</div>
						</article>
					</div>
				</div>

				<div class="row">
					<div class="col-md-6 col-sm-6 col-xs-12">
						<article class="port-item">
							<div class="port-titulo port-titulo-celeste">
								<p><span class="tg-accessibility"></span><?php the_field('destinos-titulo') ?></p>
							</div>
							<div class="port-box">
								<div class="port-box2">
									<div class="carousel-item ">
										<?php $destinos_img= get_field('destinos-img'); ?>
										<img src="<?php echo $destinos_img['url']; ?>" alt="<?php echo $destinos_img['title']; ?>" title="<?php echo $destinos_img['title']; ?>">
									</div>
									<p>
										<?php the_field('destinos-txt') ?>
									</p>
									<a href="<?php the_field('destinos-link') ?>">
										<button class="but but-celeste">
											<span class="tg-plus"></span>Ver m«”s
										</button>
									</a>
								</div>
							</div>
						</article>
					</div>

					<div class="col-md-6 col-sm-6 col-xs-12">
						<article class="port-item">
							<div class="port-titulo port-titulo-verdep">
								<p><span class="tg-bullhorn"></span><?php the_field('prom-titulo') ?></p>
							</div>
							<div class="port-box">
								<div class="port-box2">
									<!--div class="carousel-intro1 owl-carousel1">
										<?php
										$args = array(
										    'post_type' => 'promocion',
										    'posts_per_page' => '3',
											'orderby' => 'rand'
										);
										?>
										<?php $the_query = new WP_Query($args); ?>
										<?php if ($the_query->have_posts()) : ?>
										    <?php while ($the_query->have_posts()) : $the_query->the_post(); ?>
												<div class="carousel-item ">
													<a href="<?php the_permalink() ?>" title="<?php the_field('prom-titulo') ?>" alt="<?php the_field('prom-titulo') ?>">
														<?php $paq_img11= get_field('paq-img1'); ?>
														<img src="<?php echo $paq_img11['url']; ?>" alt="<?php echo $paq_img11['title']; ?>" title="<?php echo $paq_img11['title']; ?>">
													</a>
												</div>
										    <?php endwhile; ?>
										    <?php wp_reset_postdata(); ?>
										<?php endif; ?>
									</div>-->
									<p>
										<?php the_field('prom-txt') ?>
									</p>
									<a href="<?php the_field('prom-Link') ?>">
										<button class="but but-verdep">
											<span class="tg-star-full"></span>Promociones
										</button>
									</a>
								</div>
							</div>
						</article>
					</div>
				</div>

				<div class="row">
					<div class="col-md-4 col-sm-6 col-xs-12">
						<article class="port-item2">
							<div class="port-titulo">
								<p><span class="tg-pencil2"></span>Solicitar Servicios</p>
							</div>
							<div class="port-box">
								<div class="port-box2">
									<figure class="port-ss">
										<img src="<?php echo get_template_directory_uri() ?>/img/contacto_call.jpg" alt="" title="">
									</figure>
									<a href="<?php echo site_url(); ?>/es/contacto/" title="Solicitar">
										<button class="but but-azul">
											<span class="tg-file-text2"></span>Solicitar
										</button>
									</a>
								</div>
							</div>
						</article>
					</div>

					<div class="col-md-4 col-sm-6 col-xs-12">
						<article class="port-item2">
							<div class="port-titulo">
								<p><span class="tg-point-right"></span>Facebook</p>
							</div>
							<div class="port-box">
								<div class="port-box2" style="text-align:center;">
									<div class="fb-page" style="width:100%;display:inline-block;" data-href="https://www.facebook.com/turismoengrupoperu1" data-width="500px" data-height="300px" data-small-header="true" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="true" data-show-posts="true"><div class="fb-xfbml-parse-ignore"><blockquote cite="https://www.facebook.com/turismoengrupoperu1"><a href="https://www.facebook.com/turismoengrupoperu1">Turismo en Grupo</a></blockquote></div></div>
								</div>
							</div>
						</article>
					</div>

					<div class="col-md-4 col-sm-12 col-xs-12">
						<article class="port-item2">
							<div class="port-titulo">
								<p><span class="tg-earth"></span>Mapa</p>
							</div>
							<div class="port-box">
								<div class="port-box2">

									<div id="load-gmap">
										
									</div>

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

				<div class="row">
					<div class="col-md-4 col-sm-6 col-xs-12">
						<article class="port-item3">
							<div class="port-titulo">
								<p><span class="tg-stopwatch"></span>Hora</p>
							</div>
							<div class="port-box">
								<div class="port-box2">
								<div style="text-align:center;width:100%;padding:0px;"> <h2><a style="text-decoration:none;color:#00469f;" href="http://www.zeitverschiebung.net/es/city/3936456"><span style="color:gray;"> Hora actual en</span><br /> <strong> Lima, Peru </strong></a></h2> <iframe src="http://www.zeitverschiebung.net/clock-widget-iframe?language=es&timezone=America%2FLima" width="100%" height="130" frameborder="0" seamless></iframe> </div>
								</div>
							</div>
						</article>
					</div>
					<div class="col-md-4 col-sm-6 col-xs-12">
						<article class="port-item3">
							<div class="port-titulo">
								<p><span class="tg-cloud"></span>Clima</p>
							</div>
							<div class="port-box">
								<div class="port-box2">

									<div id="cont_5d48bf8e5c532bbfb214cea05ddaecb2" style="width:100%;"><span id="h_5d48bf8e5c532bbfb214cea05ddaecb2"><a class="LinkWid" href="http://www.tiempo.com/madrid.htm" target="_blank" style="font-family:Roboto; font-size:13px; color:#00449b;">El tiempo en Per&uacute; - Lima</a></span><script type="text/javascript" async src="http://www.tiempo.com/wid_loader/5d48bf8e5c532bbfb214cea05ddaecb2"></script></div>

								</div>
							</div>
						</article>
					</div>
					<div class="col-md-4 col-sm-12 col-xs-12">
						<article class="port-item3">
							<div class="port-titulo">
								<p><span class="tg-stats-dots"></span>Tipo de cambio</p>
							</div>
							<div class="port-box">
								<div class="port-box2">
									<iframe frameborder="0" scrolling="no" height="320" width="100%" allowtransparency="true" marginwidth="0" marginheight="0" src="http://tools.es.forexprostools.com/currency-converter/index.php?from=12&to=72"></iframe><br />
								</div>
							</div>
						</article>
					</div>
				</div>
			</div>

		</section>

	<?php }else{ ?>
		<!-- [ Ingles ] -->
		<section id="portada">
			<div class="container">
				<div class="row">
					<div class="col-md-6 col-sm-6 col-xd-12">
						<article class="port-item">
							<div class="port-titulo port-titulo-verde">
								<p><span class="tg-road"></span><?php the_field('tn-titulo-en') ?></p>
							</div>
							<div class="port-box">
								<div class="port-box2">
									<div class="carousel-intro1 owl-carousel1">
										<?php
										$args = array(
										    'post_type' => 'turismo',
										    'posts_per_page' => '3',
											'meta_key' => 'paq-cat',
											'meta_value' => 'Nacional',
											'orderby' => 'rand'
										);
										?>
										<?php $the_query = new WP_Query($args); ?>
										<?php if ($the_query->have_posts()) : ?>
										    <?php while ($the_query->have_posts()) : $the_query->the_post(); ?>
												<div class="carousel-item ">
													<a href="<?php the_permalink() ?>" title="<?php the_field('paq-titulo') ?>" alt="<?php the_field('paq-titulo') ?>">
														<?php $paq_img11= get_field('paq-img1'); ?>
														<img src="<?php echo $paq_img11['url']; ?>" alt="<?php echo $paq_img11['title']; ?>" title="<?php echo $paq_img11['title']; ?>">
													</a>
												</div>
										    <?php endwhile; ?>
										    <?php wp_reset_postdata(); ?>
										<?php endif; ?>
									</div>
									<p>
										<?php the_field('tn-txt-en') ?>
									</p>
									<a href="<?php the_field('tn-link-en') ?>">
										<button class="but but-verde">
											<span class="tg-road"></span>See packages
										</button>
									</a>
								</div>
							</div>
						</article>
					</div>
					<div class="col-md-6 col-sm-6 col-xd-12">
						<article class="port-item">
							<div class="port-titulo port-titulo-naranja">
								<p><span class="tg-earth"></span><?php the_field('ti-titulo-en') ?></p>
							</div>
							<div class="port-box">
								<div class="port-box2">
									<div class="carousel-intro1 owl-carousel1">
										<?php
										$args = array(
										    'post_type' => 'turismo',
										    'posts_per_page' => '3',
											'meta_key' => 'paq-cat',
											'meta_value' => 'Internacional',
											'orderby' => 'rand'
										);
										?>
										<?php $the_query = new WP_Query($args); ?>
										<?php if ($the_query->have_posts()) : ?>
										    <?php while ($the_query->have_posts()) : $the_query->the_post(); ?>
												<div class="carousel-item ">
													<a href="<?php the_permalink() ?>" title="<?php the_field('paq-titulo') ?>" alt="<?php the_field('paq-titulo') ?>">
														<?php $paq_img11= get_field('paq-img1'); ?>
														<img src="<?php echo $paq_img11['url']; ?>" alt="<?php echo $paq_img11['title']; ?>" title="<?php echo $paq_img11['title']; ?>">
													</a>
												</div>
										    <?php endwhile; ?>
										    <?php wp_reset_postdata(); ?>
										<?php endif; ?>
									</div>
									<p>
										<?php the_field('ti-txt-en') ?>
									</p>
									<a href="<?php the_field('ti-link-en') ?>">
										<button class="but but-naranja">
											<span class="tg-airplane"></span>See packages
										</button>
									</a>
								</div>
							</div>
						</article>
					</div>
				</div>

				<div class="row">
					<div class="col-md-6 col-sm-6 col-xd-12">
						<article class="port-item">
							<div class="port-titulo port-titulo-celeste">
								<p><span class="tg-accessibility"></span><?php the_field('destinos-titulo-en') ?></p>
							</div>
							<div class="port-box">
								<div class="port-box2">
									<div class="carousel-item ">
										<?php $destinos_img_en= get_field('destinos-img-en'); ?>
										<img src="<?php echo $destinos_img_en['url']; ?>" alt="<?php echo $destinos_img_en['title']; ?>" title="<?php echo $destinos_img_en['title']; ?>">
									</div>
									<p>
										<?php the_field('destinos-txt-en') ?>
									</p>
									<a href="<?php the_field('destinos-link-en') ?>">
										<button class="but but-celeste">
											<span class="tg-plus"></span>See more
										</button>
									</a>
								</div>
							</div>
						</article>
					</div>

					<div class="col-md-6 col-sm-6 col-xd-12">
						<article class="port-item">
							<div class="port-titulo port-titulo-verdep">
								<p><span class="tg-bullhorn"></span><?php the_field('prom-titulo-en') ?></p>
							</div>
							<div class="port-box">
								<div class="port-box2">
									<div class="carousel-intro1 owl-carousel1">
										<?php
										$args = array(
										    'post_type' => 'promocion',
										    'posts_per_page' => '3',
											'orderby' => 'rand'
										);
										?>
										<?php $the_query = new WP_Query($args); ?>
										<?php if ($the_query->have_posts()) : ?>
										    <?php while ($the_query->have_posts()) : $the_query->the_post(); ?>
												<div class="carousel-item ">
													<a href="<?php the_permalink() ?>" title="<?php the_field('prom-titulo') ?>" alt="<?php the_field('prom-titulo') ?>">
														<?php $paq_img11= get_field('paq-img1'); ?>
														<img src="<?php echo $paq_img11['url']; ?>" alt="<?php echo $paq_img11['title']; ?>" title="<?php echo $paq_img11['title']; ?>">
													</a>
												</div>
										    <?php endwhile; ?>
										    <?php wp_reset_postdata(); ?>
										<?php endif; ?>
									</div>
									<p>
										<?php the_field('prom-txt-en') ?>
									</p>
									<a href="<?php the_field('prom-Link-en') ?>">
										<button class="but but-verdep">
											<span class="tg-star-full"></span>Promotions
										</button>
									</a>
								</div>
							</div>
						</article>
					</div>
				</div>

				<div class="row">
					<div class="col-md-4 col-sm-6 col-xs-12">
						<article class="port-item2">
							<div class="port-titulo">
								<p><span class="tg-pencil2"></span>Order Services</p>
							</div>
							<div class="port-box">
								<div class="port-box2">
									<figure class="port-ss">
										<img src="<?php echo get_template_directory_uri() ?>/img/contacto_call.jpg" alt="" title="">
									</figure>
									<a href="<?php echo site_url(); ?>/en/contact-us/" title="Solicitar">
										<button class="but but-azul">
											<span class="tg-file-text2"></span>Apply for
										</button>
									</a>
								</div>
							</div>
						</article>
					</div>

					<div class="col-md-4 col-sm-6 col-xs-12">
						<article class="port-item2">
							<div class="port-titulo">
								<p><span class="tg-point-right"></span>Facebook</p>
							</div>
							<div class="port-box">
								<div class="port-box2" style="text-align:center;">
									<div class="fb-page" style="width:100%;display:inline-block;" data-href="https://www.facebook.com/turismoengrupoperu1" data-width="500px" data-height="300px" data-small-header="true" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="true" data-show-posts="true"><div class="fb-xfbml-parse-ignore"><blockquote cite="https://www.facebook.com/turismoengrupoperu1"><a href="https://www.facebook.com/turismoengrupoperu1">Turismo en Grupo</a></blockquote></div></div>
								</div>
							</div>
						</article>
					</div>


<style type="text/css">
	#elegance-modal-box {
    width: 100%;
    height: initial!important;
	}
	.elegance-modal-content img {
    width: 100%;
	}
</style>

					<div class="col-md-4 col-sm-12 col-xs-12">
						<article class="port-item2">
							<div class="port-titulo">
								<p><span class="tg-earth"></span>Map</p>
							</div>
							<div class="port-box">
								<div class="port-box2">

									<div id="load-gmap">
										
									</div>

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

				<div class="row">

					<div class="col-md-4 col-sm-6 col-xs-12">
						<article class="port-item3">
							<div class="port-titulo">
								<p><span class="tg-stopwatch"></span>Hour</p>
							</div>
							<div class="port-box">
								<div class="port-box2">
								<div style="text-align:center;width:100%;padding:0px;"> <h2><a style="text-decoration:none;color:#00469f;" href="http://www.zeitverschiebung.net/es/city/3936456"><span style="color:gray;"> Hora actual en</span><br /> <strong> Lima, Peru </strong></a></h2> <iframe src="http://www.zeitverschiebung.net/clock-widget-iframe?language=es&timezone=America%2FLima" width="100%" height="130" frameborder="0" seamless></iframe> </div>
								</div>
							</div>
						</article>
					</div>

					<div class="col-md-4 col-sm-6 col-xs-12">
						<article class="port-item3">
							<div class="port-titulo">
								<p><span class="tg-cloud"></span>Climate</p>
							</div>
							<div class="port-box">
								<div class="port-box2">

									<div id="cont_5d48bf8e5c532bbfb214cea05ddaecb2" style="width:100%;"><span id="h_5d48bf8e5c532bbfb214cea05ddaecb2"><a class="LinkWid" href="http://www.tiempo.com/madrid.htm" target="_blank" style="font-family:Roboto; font-size:13px; color:#00449b;">El tiempo en Per&uacute; - Lima</a></span><script type="text/javascript" async src="http://www.tiempo.com/wid_loader/5d48bf8e5c532bbfb214cea05ddaecb2"></script></div>

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

					<div class="col-md-4 col-sm-12 col-xs-12">
						<article class="port-item3">
							<div class="port-titulo">
								<p><span class="tg-stats-dots"></span>Exchange rate</p>
							</div>
							<div class="port-box">
								<div class="port-box2">
									<iframe frameborder="0" scrolling="no" height="320" width="100%" allowtransparency="true" marginwidth="0" marginheight="0" src="http://tools.es.forexprostools.com/currency-converter/index.php?from=12&to=72"></iframe><br />
								</div>
							</div>
						</article>
					</div>
				</div>
			</div>
		</section>
	<?php } ?>


<style type="text/css">
	#elegance-modal-box {
    width: 100%;
    height: initial!important;
	}
	.elegance-modal-content img {
    width: 100%;
	}
@media screen and (max-width: 986px){
	#elegance-modal-box {
    margin-top: 50%!important;
	}
}
	
</style>
<?php get_footer() ?>