{% extends twig_exists('@AviaturTwig/'~ agency_folder.twigFlux() ~'/App/base.html.twig') %}
{# head #}
{% block head_title %}{% if seo_title is defined %}{{seo_title}}{% else %}Coomeva Turismo | Agencia de Viajes en Colombia{% endif %}{% endblock head_title %}
{% block head_description_content %}{% if seo_description is defined %}{{seo_description}}{% else %}Agencia de viajes en línea en Colombia! Reserva vuelos, hoteles, autos, cruceros y paquetes. Programa tus próximas vacaciones con Coomeva Turismo a increíbles precios{% endif %}{% endblock head_description_content %}
{% block head_meta_title %}{% if seo_meta_title is defined %}{{seo_meta_title}}{% endif %}{% endblock head_meta_title %}
{% block head_keywords %}{% if seo_keywords is defined %}{{seo_keywords}}{% endif %}{% endblock head_keywords %}
{% if is_mobile() %}
{% block head_viewport %}
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0"/>
<link rel="apple-touch-icon" href="{{ absolute_url(asset('assets/'~ agency_folder.assetStyle() ~'/img/ios/touch-icon-iphone.png')) }}">
<link rel="apple-touch-icon" sizes="76x76" href="{{ absolute_url(asset('assets/'~ agency_folder.assetStyle() ~'/img/ios/touch-icon-ipad.png')) }}">
<link rel="apple-touch-icon" sizes="120x120" href="{{ absolute_url(asset('assets/'~ agency_folder.assetStyle() ~'/img/ios/touch-icon-iphone-retina.png')) }}">
<link rel="apple-touch-icon" sizes="152x152" href="{{ absolute_url(asset('assets/'~ agency_folder.assetStyle() ~'/img/ios/touch-icon-ipad-retina.png')) }}">
<link rel="apple-touch-icon" sizes="180x180" href="{{ absolute_url(asset('assets/'~ agency_folder.assetStyle() ~'/img/ios/touch-icon-iphone-plus-retina.png')) }}">
{% endblock head_viewport %}
{% endif %}
{% block stylesheets %}
<link type="text/css" rel="stylesheet" href="{{ absolute_url(asset('assets/common_assets/css/vendor/owl-carousel/owl.carousel.css')) }}"/>
<link type="text/css" rel="stylesheet" href="{{ absolute_url(asset('assets/common_assets/css/vendor/owl-carousel/owl.theme.css')) }}"/>
{{ parent() }}
{% endblock stylesheets %}
{# END head #}
{% block base_content %}
<!--[if (!IE)|(gt IE 8)]><!-->
{% if app.session.has('operatorId') != 1 and pdfGenerator is not defined %}
{% block header %}
{% set headerPromoStart = app.session.get('headerPromoStart')|date('U') %}
{% set headerPromoEnd = app.session.get('headerPromoEnd')|date('U') %}
{#{% if "now"|date('U') > headerPromoStart and "now"|date('U') < headerPromoEnd %}
{% set onPromo = true %}
{% set linkHeader = path('aviatur_display_homepromo', { 'promoType': 'luna-llena' }) %}
{% set colorImage = "_white" %}
{% set classMainNav = "nav-main__item--luna" %}
{% else %}#}
{% set onPromo = false %}
{% set linkHeader = path('homepage') %}
{% set colorImage = "" %}
{% set classMainNav = "" %}
{#{% endif %}#}
{% set imgType = '_background_default' %}
{% if background_home is defined %}
{% if background_home.active == 'true' %}
{% set videoType = 'NO_VID' %}
{% set imgType = background_home.name %}
{% endif %}
{% else %}
{% set videoType = 'NO_VID' %}
{% set imgType = '_background_default' %}
{% endif %}
<header class="{% if logoXmas is defined %}animate{% endif %} page-head s:bg-[url('https://aviaturcdndev.z5.web.core.windows.net/assets/aviatur_assets/img/header/cover.jpg')] xs:bg-[url('https://aviaturcdndev.z5.web.core.windows.net/assets/aviatur_assets/img/header/cover.jpg')] {% if onPromo == true %}page-head--promo page-head--promo--luna{% endif %}">
{% if app.user != "" and (is_granted('ROLE_AVIATUR_ADMIN_ADMIN_PROMO_PRODUCT_EDIT_' ~ app.session.get('agencyId')) or is_granted('ROLE_SUPER_ADMIN') ) %}
{% if background_home is defined %}
<div class="page-head-edit-background"><a href="#" class="js-ajax-homechange" data-toggle="modal" data-target="#js-promo-editModal">Editar</a></div>
{% endif %}
{% endif %}
<div class="page-head__bg-container hidden-palm">
<div class="page-head__bg__img bg-img_background_default js-headerImg" style="background: url("/assets/aviatur_assets/img/places/smr.jpg") -5rem / cover; width: 110%;"></div>
{% if videoType is not defined %}
{% set curHour = 'now'|localizeddate("medium", "none", null, null, "Hmm") %}
{% if curHour >= '500' and curHour < '900' %} {# 05:00 - 08:59 #}
{% set videoType = '-day' %}
{% elseif curHour >= '900' and curHour < '1300' %} {# 09:00 - 12:59 #}
{% set videoType = '-day' %}
{% elseif curHour >= '1300' and curHour < '1700' %} {# 13:00 - 16:59 #}
{% set videoType = '-day' %}
{% elseif curHour >= '1700' and curHour < '2100' %} {# 17:00 - 20:59 #}
{% set videoType = '-day' %}
{% else %} {# 21:00 - 04:59 #}
{% set videoType = '-day' %}
{% endif %}
{% endif %}
{% if videoType != 'NO_VID' %}
{% block headerVideo %}
{% endblock headerVideo %}
<div class="page-head__bg__img bg-img{{ videoType }} js-headerImg"></div>
{% else %}
<div class="page-head__bg__img bg-img{{ imgType }} js-headerImg" style="background-image: url(https://aviaturcdndev.z5.web.core.windows.net/assets/aviatur_assets/img/header/cover.jpg);background-size: cover;"></div>
{% endif %}
</div>
{% include twig_exists('@AviaturTwig/'~ agency_folder.twigStyle() ~'/App/header.html.twig') %}
{% block searcher_header %}
{% endblock %}
</header>
{% endblock %}
{% else %}
<section></section>
{% endif %}
<div class="page__body js-page-body-toggle pt-[17px]{% if 'aviatur_general_homepage' in app.request.get('_route') %}hidden-palm{% endif %}">
<div class="ajax-loader spinOverlay sp-offset--big js-loadingChangeCoin spiner-none hide"></div>
{% block body %}
{% endblock body %}
</div>
{% if app.session.has('operatorId') != 1 and app.session.has('whitemark') != 1 and pdfGenerator is not defined %}
{% block footer %}
{% include twig_exists('@AviaturTwig/'~ agency_folder.twigStyle() ~'/App/footer.html.twig') %}
{% endblock footer %}
{% endif %}
{% block modal %}
{{ parent()}}
{% include twig_exists('@AviaturTwig/'~ agency_folder.twigFlux() ~'/General/Components/callUsModal.html.twig') %}
{% include twig_exists('@AviaturTwig/'~ agency_folder.twigFlux() ~'/General/Templates/modalLoginRegister.html.twig') with {'redirectLogin': path('aviatur_customer_edit_info')}%}
{% include twig_exists('@AviaturTwig/'~ agency_folder.twigFlux() ~'/General/Templates/modalLoginAgente.html.twig') with {'redirectLogin': path('aviatur_customer_edit_info')} %}
{# {% include twig_exists('@AviaturTwig/'~ agency_folder.twigFlux() ~'/General/Templates/modalRegister.html.twig') with {'redirectLogin': path('aviatur_customer_edit_info')} %} #}
{% endblock modal %}
<!-- <![endif]-->
<!--[if lte IE 8]>
<body style="background-color: #009BF8;">
<table style="width:600px; table-layout: fixed; margin: auto; background-color: #ffffff; margin-top: 50px;">
<tbody>
<tr>
<td colspan="2" style="text-align: center; padding-top: 25px;">
{# <img src="{{ absolute_url(asset('assets/'~ agency_folder.assetStyle() ~'/img/ie8/aviatur_logo.png')) }}" alt="AVIATUR.COM" />#}
<img src="{{ absolute_url(asset('assets/'~ agency_folder.assetStyle() ~'/img/custom/aeromedellin2.png')) }}" alt="AVIATUR.COM" />
</td>
</tr>
<tr>
<td colspan="2" style="text-align: center; font-size: 20px; padding-top: 15px; font-weight: bold;">
Bienvenido!
</td>
</tr>
<tr>
<td colspan="2" style="text-align: center; padding-left: 15px; padding-right: 15px; padding-top: 5px; font-size: 16px;">
Para aprovechar mejor toda la experiencia de Aeromedellin, sugerimos utilizar un navegador de última generación. Puedes utilizar Microsoft Internet Explorer 9 en adelante o descargar uno de los siguientes navegadores.
</td>
</tr>
<tr>
<td style="text-align: center; padding-top: 25px;"><a href="http://www.google.com/intl/es/chrome/browser/" target="_blank"><img src="{{ absolute_url(asset('assets/'~ agency_folder.assetStyle() ~'/img/ie8/chrome-logo.png')) }}" alt="AVIATUR.COM" /></a></td>
<td style="text-align: center; padding-top: 25px;"><a href="https://www.mozilla.org/es-ES/firefox/new/" target="_blank"><img src="{{ absolute_url(asset('assets/'~ agency_folder.assetStyle() ~'/img/ie8/firefox-logo.jpg')) }}" alt="AVIATUR.COM" /></a></td>
</tr>
<tr>
<td style="text-align: center; padding-bottom: 25px; font-size: 20px;"><a href="http://www.google.com/intl/es/chrome/browser/" target="_blank">Google Chrome</a></td>
<td style="text-align: center; padding-bottom: 25px; font-size: 20px;"><a href="https://www.mozilla.org/es-ES/firefox/new/" target="_blank">Firefox</a></td>
</tr>
</tbody>
</table>
</body>
<![endif]-->
{% endblock base_content %}
{% block javascripts_bottom %}
{% endblock javascripts_bottom %}