{% set _headerTitleBlock = block('headerTitle') is defined ? block('headerTitle') : 'Nemo enim ipsam voluptatem quia voluptas.' %}
{% set _headerIntroBlock = block('headerIntro') is defined ? block('headerIntro') : '<h4>Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam. Ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.</h4>' %}
{% set _headerCTA = block('headerCTA') is defined ? block('headerCTA') : 'Ver más' %}
{% if page is defined %}
{% if page is iterable %}{% set page = page[0] %}{% endif %}
{% if page is not null and page.headerType == 3 %}
<header class="header mt-10" style="overflow: hidden; max-height: 600px;">
{#<div class="slider-arrows-flash-light slider-dots-inside slider-dots-fill-primary" data-provide="slider" data-autoplay="true" data-fade="true" data-dots="true" data-slides-to-show="1" data-height="600" data-autoplay-speed="5000" data-speed="2000">#}
{# <div class="p-3">#}
{# <div class="rounded bg-img h-600 text-center py-10" style="background-image: url(/img/bg/Header-00.jpg)">#}
{# <div class="container">#}
{# <h2 class="display-4 text-white mb-7 shadowed"><strong>{% if _headerTitleBlock is not empty %}{{ _headerTitleBlock | raw }}{% endif %}</strong></h2> #}
{# {% if _headerIntroBlock is not empty %}<div class="text-white shadowed">{{ _headerIntroBlock | raw }}</div>{% endif %} #}
{# <a class="btn btn-lg btn-round btn-info" href="/es/pymes">{{ _headerCTA }}</a> #}
{# <div class="row">#}
{# <div class="col-lg-12 mx-auto my-8">#}
{# <h1 class="display-3"><span class="text-white p-1 px-6" style="background-color: rgba(60,212,88,0.85); display: inline;">No necesitas un programa de facturación.</span></h1>#}
{# <h1 class="display-5"><span class="text-white p-1 px-6 fade" style="background-color: rgba(60,212,88,0.85);">Solo tienes que subir tus facturas y nosotros hacemos el resto.</span></h1>#}
{# </div>#}
{# </div>#}
{# </div>#}
{# </div>#}
{# </div>#}
{# <div class="p-3">#}
{# <div class="rounded bg-img h-600 text-center py-10" style="background-image: url(/img/bg/15.jpg)">#}
{# <div class="container">#}
{# <div class="row">#}
{# <div class="col-lg-12 mx-auto my-8">#}
{# <h1 class="display-3"><span class="text-white p-1 px-6" style="background-color: rgba(60,212,88,0.85); display: inline;">No necesitas un programa de facturación.</span></h1>#}
{# <h1 class="display-5"><span class="text-white p-1 px-6 fade" style="background-color: rgba(60,212,88,0.85);">Solo tienes que subir tus facturas y nosotros hacemos el resto.</span></h1>#}
{# </div>#}
{# </div>#}
{# </div>#}
{# </div>#}
{# </div>#}
{#</div>#}
<div>
<div class="bg-img h-600 py-12" style="background-image: url(/img/bg/fondo-cabecera.png)">
<div>
{# <h2 class="display-4 text-white mb-7 shadowed"><strong>{% if _headerTitleBlock is not empty %}{{ _headerTitleBlock | raw }}{% endif %}</strong></h2> #}
{# {% if _headerIntroBlock is not empty %}<div class="text-white shadowed">{{ _headerIntroBlock | raw }}</div>{% endif %} #}
{# <a class="btn btn-lg btn-round btn-info" href="/es/pymes">{{ _headerCTA }}</a> #}
<h1 class="display-3"><span class="text-white p-1 px-6" style="position: relative;top: 165px;z-index: 1; font-size:38px; font-weight:bold; color: white !important;">{%trans%}inicio.nonecesitas{%endtrans%}</span></h1>
<h1 class="display-5"><span class="text-white p-1 px-6" style="position: relative;top: 132px;z-index: 1; font-size:18px; color: white !important;">{%trans%}inicio.solotienes{%endtrans%}</span></h1>
<div style="background-color: #64A70B; opacity: 0.6; height: 150px; width: 700px; margin-left: 0px;" class="row">
</div>
</div>
</div>
</div>
</header>
{% elseif page is not null and page.headerType == 1 and 'portal' not in app.request.attributes.get('_route') %}
<!-- Header -->
<header class="header text-white mt-10">
<div class="container text-center">
</div>
</header><!-- /.header -->
{% else %}
<!-- Header -->
<header class="header text-white pt-8 mt-10 h-250" style="background-image: url(/img/bg/fondo-hojas.png);" data-overlay="8">
<div class="container text-center">
{#<div class="row">#}
{# <div class="col-md-8 mx-auto">#}
{# <h1>{% if app.request.attributes.get('_route') == 'fos_user_registration_confirmed' %}Registro confirmado{% else %}#}
{# {%if app.request.attributes.get('_route') == 'order_thanks' %}Compra realizada correctamente{% else %}#}
{# No + Papeles{% endif %}#}
{# {% endif %}</h1>#}
{# </div>#}
{#</div>#}
</div>
</header><!-- /.header -->
{% endif %}
{% else %}
<!-- Header -->
<header class="header text-white pt-8 mt-10 h-250" style="background-image: url(/img/bg/fondo-hojas.png);" data-overlay="8">
<div class="container text-center">
{#<div class="row">#}
{# <div class="col-md-8 mx-auto">#}
{# <h1>{% if app.request.attributes.get('_route') == 'fos_user_registration_confirmed' %}Registro confirmado{% else %}#}
{# {%if app.request.attributes.get('_route') == 'order_thanks' %}Compra realizada correctamente{% else %}#}
{# No + Papeles{% endif %}#}
{# {% endif %}</h1>#}
{# </div>#}
{#</div>#}
</div>
</header><!-- /.header -->
{% endif %}