Spade

Mini Shell

Directory:~$ /home/lmsyaran/public_html/j3/templates/g5_hydrogen/custom/particles/
Upload File

[Home] [System Details] [Kill Me]
Current File:~$ /home/lmsyaran/public_html/j3/templates/g5_hydrogen/custom/particles/jlcarousel.html.twig

{% extends '@nucleus/partials/particle.html.twig' %}

{% block stylesheets %}
{% if particle.particle_title_color or particle.particle_title_fontsize or
particle.title_color or particle.title_fontsize or
particle.customize_content_color or particle.customize_content_fontsize or
particle.meta_color or particle.meta_fontsize or particle.slide_color or
particle.slide_background or particle.padding_vertical or
particle.padding_horizontal or particle.slide_hover_color or
particle.slide_hover_background %}
<style>
{% if particle.particle_title_color or particle.particle_title_fontsize %}
#{{ id }}.g5-particle-title { {% if particle.particle_title_color %}color:
{{ particle.particle_title_color }};{% endif %}{% if
particle.particle_title_fontsize %}font-size:
{{particle.particle_title_fontsize}}px;{% endif %} }
{% endif %}
{% if particle.title_color or particle.title_fontsize %}
#{{ id }} .tm-title { {% if particle.title_color %}color:
{{particle.title_color}} !important; {% endif %}{% if
particle.title_fontsize %}font-size: {{particle.title_fontsize}}px;{% endif
%} }
{% endif %}
{% if particle.customize_content_color or
particle.customize_content_fontsize %}
#{{ id }} .tm-content { {% if particle.customize_content_color %}color:
{{particle.customize_content_color}} !important;{% endif %}{% if
particle.customize_content_fontsize %} font-size:
{{particle.customize_content_fontsize}}px;{% endif %} }
{% endif %}
{% if particle.meta_color or particle.meta_fontsize %}
#{{ id }} .tm-meta { {% if particle.meta_color %}color:
{{particle.meta_color}};{% endif %}{% if particle.meta_fontsize %}
font-size: {{particle.meta_fontsize}}px;{% endif %} }
{% endif %}
{% if particle.slide_color or particle.slide_background or
particle.padding_vertical or particle.padding_horizontal %}
#{{ id }} .jl-slidenav {
    padding: {{ particle.padding_vertical }}px {{
particle.padding_horizontal }}px;
    {% if particle.slide_color %}
    color: {{ particle.slide_color }};
    {% endif %}
    {% if particle.slide_background %}
    background: {{ particle.slide_background }};
    {% endif %}
    transition: .1s ease-in-out;
    transition-property: color,background-color,border-color,box-shadow;
}
{% endif %}
{% if particle.slide_hover_color or particle.slide_hover_background %}
#{{ id }} .jl-slidenav:active,#{{ id }} .jl-slidenav:focus,#{{ id }}
.jl-slidenav:hover{
    {% if particle.slide_hover_color %}
    color: {{ particle.slide_hover_color }};
    {% endif %}  
    {% if particle.slide_hover_background %}
    background: {{ particle.slide_hover_background }};
    {% endif %}
}
{% endif %}
</style>
{% endif %}
{% endblock %}

{# Set Viewport Height #}
{% if particle.viewport_height == 'full' %}
    {% set viewport_height = 'jl-height-viewport="offset-top:
true;"' %}
{% elseif particle.viewport_height == 'percent' %}
    {% set viewport_height = 'jl-height-viewport="offset-top:
true; offset-bottom: 20;"' %}
{% elseif particle.viewport_height == 'section' %}
    {% set viewport_height = 'jl-height-viewport="offset-top:
true; offset-bottom: 50;"' %}
{% elseif particle.viewport_height == 'expand' %}
    {% set viewport_height = 'jl-height-viewport="expand:
true;"' %}
{% endif %}

{# Set Title/Meta/Content Text Transform #}
{% set title_text_transform = particle.title_text_transform ? '
jl-text-' ~ particle.title_text_transform|e ~ '' %}
{% set meta_text_transform = particle.meta_text_transform ? '
jl-text-' ~ particle.meta_text_transform|e ~ '' %}
{% set content_text_transform = particle.content_text_transform ? '
jl-text-' ~ particle.content_text_transform|e ~ '' %}

{# Set Max-Width Content Section #}
{% set container_maxwidth %}
{% if particle.container_maxwidth == 'default' %}jl-container{%
else %}jl-container jl-container-{{particle.container_maxwidth|e}}{% endif
%}
{% endset %}

{# Set Padding #}
{% if particle.padding == 'default' %}
    {% set padding = ' jl-section' %}
{% elseif particle.padding == 'none' %}
    {% set padding = ' jl-section jl-padding-remove-vertical' %}
{% else %}
    {% set padding = ' jl-section jl-section-' ~
particle.padding|e ~ '' %}
{% endif %}

{# Set Background color #}
{% set parallax_bg_color = particle.parallax_bg_color ?
'style="background-color: ' ~ particle.parallax_bg_color ~
';"' %}
{% set parallax_overlay = (particle.parallax_bg_overlay ? '<div
class="jl-position-cover" style="background-color: '~
particle.parallax_bg_overlay ~';"></div>') %}
{% set parallax_easing = particle.parallax_easing ? 'easing:' ~
particle.parallax_easing / 10 ~ '' %}

{# Set Max-Width Content #}
{% set content_maxwidth %}
{% if particle.g_maxwidth != 'inherit' %}
jl-width-{{particle.g_maxwidth}}{% if particle.g_maxwidth_breakpoint !=
'always' %}@{{particle.g_maxwidth_breakpoint}}{% endif %}{% if
particle.g_maxwidth_alignment == 'left' %}{% elseif
particle.g_maxwidth_alignment == 'center' %} jl-margin-auto{%
else %} jl-margin-auto-left{% endif %}{% endif %}
{% endset %}

{# Set Parallax Background #}
{% set parallaxbackground %}
{% if particle.parallax_image %}
<div data-src="{{ url(particle.parallax_image)|e }}"
class="jl-background-norepeat{{ particle.parallax_bg_overlay ? '
jl-position-relative' : '' }}{{padding}}
jl-background-{{particle.background_image_position|e}}{% if
particle.background_image_size != 'auto' %}
jl-background-{{particle.background_image_size|e}}{% endif %}{% if
particle.parallax_bg_visibility != 'always' %}
jl-background-image@{{particle.parallax_bg_visibility|e}}{% endif %}{% if
particle.vertical_alignment != 'none' %} jl-flex
jl-flex-{{particle.vertical_alignment|e}}{% endif %}{% if
particle.parallax_text_color != 'default' %}
jl-{{particle.parallax_text_color|e}}{% endif %}{% if particle.blendmode !=
'inherit' %} jl-background-blend-{{particle.blendmode|e}}{% endif
%}" {{parallax_bg_color|default('')|raw}}{% if
particle.horizontal_start or particle.horizontal_end or
particle.vertical_start or particle.vertical_end or
particle.parallax_easing %} jl-parallax="{% if
particle.horizontal_start or particle.horizontal_end %}bgx:
{{particle.horizontal_start|e}},{{particle.horizontal_end|e}};{% endif %}{%
if particle.vertical_start or particle.vertical_end %}bgy:
{{particle.vertical_start|e}},{{particle.vertical_end|e}};{% endif %}{% if
particle.parallax_bg_breakpoint != 'always' %} media:
@{{particle.parallax_bg_breakpoint|e}};{% endif %}{{parallax_easing}}"
{% endif %} jl-img {{viewport_height|raw}}>
{{parallax_overlay|raw}}
{% if particle.container_maxwidth != 'none' %}
<div class="{{container_maxwidth}}">
{% endif %}
{% endif %}
{% endset %}

{# End Parallax Background #}
{% set endparallaxbackground %}
{% if particle.parallax_image %}
{% if particle.container_maxwidth != 'none' %}
</div>
{% endif %}
</div>
{% endif %}
{% endset %}

{# Set Horizontal #}
{% set pahorizontal %}
{% if particle.pa_horizontal_start or particle.pa_horizontal_end %}x: {% if
particle.pa_horizontal_start == '' %}0{% else
%}{{particle.pa_horizontal_start }}{% endif %},{% if
particle.pa_horizontal_end == '' %}0{% else
%}{{particle.pa_horizontal_end }}{% endif %};{% endif %}
{% endset %}

{# Set Vertical #}
{% set pavertical %}
{% if particle.pa_vertical_start or particle.pa_vertical_end %}y: {% if
particle.pa_vertical_start == '' %}0{% else
%}{{particle.pa_vertical_start }}{% endif %},{% if particle.pa_vertical_end
== '' %}0{% else %}{{particle.pa_vertical_end }}{% endif %};{%
endif %}
{% endset %}

{# Set Scale #}
{% set scale %}
{% if particle.scale_start or particle.scale_end %}scale: {% if
particle.scale_start == '' %}1{% else %}{{particle.scale_start /
100 }}{% endif %},{% if particle.scale_end == '' %}1{% else %}
{{particle.scale_end / 100 }}{% endif %};{% endif %}
{% endset %}

{# Set Rotate #}
{% set rotate %}{% if particle.rotate_start or particle.rotate_end %}
rotate: {% if particle.rotate_start == '' %}0{% else
%}{{particle.rotate_start}}{% endif %},{% if particle.rotate_end ==
'' %}0{% else %}{{particle.rotate_end}}{% endif %};{% endif %}
{% endset %}

{# Set Opacity #}
{% set opacity %}
{% if particle.opacity_start or particle.opacity_end %}opacity: {% if
particle.opacity_start == '' %}1{% else
%}{{particle.opacity_start / 100 }}{% endif %},{% if particle.opacity_end
== '' %}1{% else %}{{particle.opacity_end / 100 }}{% endif %};{%
endif %}
{% endset %}

{# Set Animation #}
{% set animation %}
{% if particle.animation != 'inherit' and particle.animation !=
'parallax' %} jl-scrollspy="cls:
jl-animation-{{particle.animation|e}};{% if particle.animation_repeat ==
'enabled' %} repeat: true;{% endif %}{% if
particle.animation_delay %} delay: {{particle.animation_delay|e}};{% endif
%}"
{% elseif particle.animation == 'parallax' %}
{% if particle.pa_horizontal_start or particle.pa_horizontal_end or
particle.pa_vertical_start or particle.pa_vertical_end or
particle.scale_start or particle.scale_end or particle.rotate_start or
particle.rotate_end or particle.opacity_start or particle.opacity_end or
particle.easing or particle.pa_viewport or particle.pa_breakpoint %}
jl-parallax="{{pahorizontal}}{{pavertical}}{{scale}}{{rotate}}{{opacity}}{%
if particle.easing == '' %}{% else %}easing: {{ particle.easing /
100 }};{% endif %}{% if particle.pa_viewport != '' %}viewport:{{
particle.pa_viewport / 100 }};{% endif %}{% if particle.pa_breakpoint !=
'always' %}media: @{{particle.pa_breakpoint|e}}{% endif
%}"{% endif %}
{% endif %}
{% endset %}

{# Set Particle Alignment #}
{% set particle_alignment %}
{% if particle.align != 'inherit' %}
jl-text-{{particle.align|e}}{% if particle.breakpoint != 'always'
%}@{{particle.breakpoint|e}}{% endif %}{% endif %}{% if particle.align !=
'inherit' and particle.breakpoint != 'always' %}{% if
particle.fallback != 'inherit' %}
jl-text-{{particle.fallback|e}}{% endif %}{% endif %}
{% endset %}

{# set Particle Title Style #}
{% set particle_title_style %}
{% if particle.particle_title %}
<{{particle.particle_title_element|e}} id="{{ id }}"
class="g5-particle-title{% if particle.particle_title_align !=
'inherit' %} jl-text-{{particle.particle_title_align|e}}{% endif
%}{% if particle.particle_predefined_color != 'default' %}
jl-text-{{particle.particle_predefined_color|e}}{% endif %}{% if
particle.particle_title_style != 'default' %}
jl-{{particle.particle_title_style|e}}{% endif %}{% if
particle.particle_title_decoration != 'none' %}
jl-heading-{{particle.particle_title_decoration|e}}{% endif %}">
{% if particle.particle_title_decoration == 'line' %}
<span>{{particle.particle_title|raw}}</span>
{% else %} {{particle.particle_title|raw}}
{% endif %}
</{{particle.particle_title_element|e}}>
{% endif %}
{% endset %}

{# Set Slider Viewport Height #}
{% if particle.slider_width_mode == 'fixed' %}
{% if particle.slider_viewport == 'full' %}
    {% set slider_viewport = ' jl-height-viewport="offset-top:
true; minHeight:' ~
particle.slider_minheight|default('300')|e ~ '"'
%}
{% elseif particle.slider_viewport == 'percent' %}
    {% set slider_viewport = ' jl-height-viewport="offset-top:
true; offset-bottom: 20; minHeight:' ~
particle.slider_minheight|default('300')|e ~ '"'
%}
{% elseif particle.slider_viewport == 'section' %}
    {% set slider_viewport = ' jl-height-viewport="offset-top:
true;offset-bottom: 50; minHeight:' ~
particle.slider_minheight|default('300')|e ~ '"'
%}
{% endif %}
{% set item_grid_match = particle.slider_viewport != 'auto' ?
' jl-grid-match' %}
{% endif %}

{% set slider_animation_set = particle.slider_animation_set ==
'enabled' ? 'sets: 1;' %}
{% set slider_animation_center = particle.slider_animation_center ==
'enabled' ? 'center: 1;' %}
{% set slider_animation_finite = particle.slider_animation_finite ==
'enabled' ? 'finite: 1;' %}
{% set slider_animation_autoplay = particle.slider_animation_autoplay ==
'enabled' ? 'autoplay: 1;' %}
{% set slider_animation_interval = (particle.slider_animation_autoplay ==
'enabled' and particle.slider_animation_interval) ?
'autoplay-interval:' ~ particle.slider_animation_interval * 1000
~ ';' %}
{% set slider_pause_onhover = particle.slider_pause_onhover ==
'disabled' ? 'pauseOnHover: false;' %}
{% set velocity = particle.slider_velocity ? 'velocity:' ~
particle.slider_velocity / 100 ~ ';' %}

{# Set Transition for overlay/title/meta/content if overlay on hover is set
#}
{% if particle.overlay_hover %}
{% set overlay_transition = ' jl-transition-' ~
particle.overlay_transition|e ~ '' %}
{% set title_transition = particle.title_transition != 'none' ?
' jl-transition-' ~ particle.title_transition|e ~ '' %}
{% set meta_transition = particle.meta_transition != 'none' ?
' jl-transition-' ~ particle.meta_transition|e ~ '' %}
{% set content_transition = particle.content_transition != 'none'
? ' jl-transition-' ~ particle.content_transition|e ~
'' %}
{% set link_transition = particle.link_transition != 'none' ?
' jl-transition-' ~ particle.link_transition|e ~ '' %}
{% endif %}

{# Image Transition #}
{% set image_transition = particle.image_transition ? '
jl-transition-' ~ particle.image_transition|e ~ '
jl-transition-opaque' %}
{# Set Image Width/Height #}
{% set imagewidth = particle.image_width ? ' width="' ~
particle.image_width ~ '"' %}
{% set imageheight = particle.image_height ? ' height="' ~
particle.image_height ~ '"' %}

{# Set Button Class #}
{% if particle.buttonclass == 'link' %}
{% set button_cls = 'jl-link' %}
{% elseif (particle.buttonclass == 'link-muted' or
particle.buttonclass == 'link-text') %}
{% set button_cls = 'jl-' ~ particle.buttonclass|e ~ ''
%}
{% else %}
{% set button_cls = 'jl-button jl-button-' ~
particle.buttonclass|e ~ '' %}
{% endif %}

{# Set Button Size #}
{% if not (particle.buttonclass == 'link' or particle.buttonclass
== 'link-muted' or particle.buttonclass == 'link-text'
or particle.buttonclass == 'text') %}
{% set button_size = particle.link_button_size != 'default' ?
' jl-button-' ~ particle.link_button_size|e ~ '' %}
{% endif %}

{% set tab_transition = particle.overlay_hover or particle.image_transition
!= 'none' ? ' tabindex="0"' %}
{% set toggle_transition = particle.overlay_hover or
particle.image_transition != 'none' ? '
jl-transition-toggle' %}

{% if particle.column_gap is not empty %}
{% set column_gap = particle.column_gap != 'default' ? '
jl-grid jl-grid-' ~ particle.column_gap|e ~ '' : '
jl-grid' %}
{% endif %}

{% block particle %}
{% if particle.enabled %}
{{parallaxbackground}}
{{particle_title_style}}

<div id="{{ id }}"
class="tm-slider-wrapper{{content_maxwidth}}{% if particle.class %} {{
particle.class }}{% endif %}{{particle_alignment}}{% if particle.margin ==
'inherit' %}{% elseif particle.margin == 'default' %}
jl-margin{% else %} jl-margin-{{particle.margin|e}}{% endif %}{% if
particle.visibility %} jl-visible@{{particle.visibility|e}}{% endif
%}"
jl-slider="{{slider_animation_set}}{{slider_animation_center}}{{slider_animation_finite}}{{velocity}}{{slider_animation_autoplay}}{{slider_animation_interval}}{{slider_pause_onhover}}"{{animation}}>

<div class="jl-position-relative{% if particle.slidenav_hover ==
'enabled' %} jl-visible-toggle{% endif %}">

{# Load Outside container #}

{% if particle.slidenav_position == 'outside' %}
<div class="jl-slider-container">
{% endif %}

{# End outside #}

<ul class="jl-slider-items{% if particle.slider_divider ==
'enabled' %} jl-grid-divider{% endif
%}{{column_gap}}{{item_grid_match}}"{{slider_viewport|raw}}>

{% for item in particle.carouselitems %}

{# Set Link Scroll #}
{% set linkscroll = item.buttonlink|e matches '/#/' ? '
jl-scroll' %}

{% if item.item_color %}
{% set overlay_color = ' jl-' ~ item.item_color|e ~ ''
%}
{% else %}
{% set overlay_color = particle.overlay_color ? ' jl-' ~
particle.overlay_color|e ~ '' %}
{% endif %}

{% set item_button %}
{% if item.buttonlink %}
<div class="{% if particle.link_margin_top == 'default'
%}jl-margin-top{% else %}jl-margin-{{ particle.link_margin_top|e }}-top{%
endif %}"><a class="{{button_cls}}{{button_size}}"
href="{{item.buttonlink|e}}" target="{{
particle.buttontarget|default('_self')|e }}" title="{{
particle.button_label|e }}"{{linkscroll}}>{{
particle.button_label|e }}</a></div>
{% endif %}
{% endset %}

{# Set Meta Content #}
{% set meta_content %}
{% if item.meta %}
<div class="tm-meta{{meta_text_transform}}{% if
particle.meta_margin_top == 'default' %} jl-margin-top{% else %}
jl-margin-{{ particle.meta_margin_top|e }}-top{% endif %}{% if
particle.predefined_meta_color == 'default' %}{% else %}
jl-text-{{ particle.predefined_meta_color|e }}{% endif %}{% if
particle.meta_style != 'default' %} jl-{{ particle.meta_style|e
}}{% endif %}{{meta_transition}}">
{{item.meta|raw}}
</div>
{% endif %}
{% endset %}

{# Set Content #}
{% set item_content %}
{% if item.content %}
<div class="tm-content jl-panel{{content_text_transform}}{% if
particle.content_margin_top == 'default' %} jl-margin-top{% else
%} jl-margin-{{ particle.content_margin_top|e }}-top{% endif %}{% if
particle.content_style != 'default' %} jl-text-{{
particle.content_style|e }}{% endif %}{% if particle.content_text_color !=
'default' %} jl-text-{{ particle.content_text_color|e }}{% endif
%}{{content_transition}}">
{{item.content|raw}}
</div>
{% endif %}
{% endset %}

{% if particle.slider_width_mode == 'auto' %}
<li class="tm-item">
{% else %}
<li class="tm-item{% if particle.phone_portrait %} jl-width-{{
particle.phone_portrait|e }}{% endif %}{% if particle.phone_landscape !=
'inherit' %} jl-width-{{ particle.phone_landscape|e }}@s{% endif
%}{% if particle.tablet_landscape != 'inherit' %} jl-width-{{
particle.tablet_landscape|e }}@m{% endif %}{% if particle.desktop !=
'inherit' %} jl-width-{{ particle.desktop|e }}@l{% endif %}{% if
particle.large_desktop != 'inherit' %} jl-width-{{
particle.large_desktop|e }}@xl{% endif %}">
{% endif %}

{% if particle.link_type == 'element' %}
<a class="jl-cover-container{{toggle_transition}} jl-display-block
jl-link-reset" href="{{ item.buttonlink|e }}"
target="{{ particle.buttontarget|default('_self')|e }}"
title="{{ particle.button_label|e
}}"{{linkscroll}}{{tab_transition|raw}}>
{% else %}
<div
class="jl-cover-container{{toggle_transition}}"{{tab_transition|raw}}>
{% endif %}

{% if particle.slider_width_mode == 'auto' %}

{% if item.image %}
<img{{imagewidth|raw}}{{imageheight|raw}}
class="tm-image{{image_transition}}" src="{{
url(item.image)|e }}"{% if item.image_alt %}
alt="{{item.image_alt|e}}"{% endif %}>
{% endif %}

{% else %}

{% if particle.slider_viewport == 'auto' %}

{% if item.image %}
<img{{imagewidth|raw}}{{imageheight|raw}}
class="tm-image{{image_transition}}" src="{{
url(item.image)|e }}"{% if item.image_alt %}
alt="{{item.image_alt|e}}"{% endif %}>
{% endif %}

{% else %}

{% if particle.image_transition != 'none' %}
<div class="jl-position-cover{{image_transition}}">
{% endif %}

{% if item.image %}
<img{{imagewidth|raw}}{{imageheight|raw}} class="tm-image"
src="{{ url(item.image)|e }}"{% if item.image_alt %}
alt="{{item.image_alt|e}}"{% endif %} jl-cover>
{% endif %}

{% if particle.image_transition != 'none' %}
</div>
{% endif %}

{% endif %}

{% endif %}

{# Load Overlay Style #}

{% if item.title or item.meta or item.content %}

{% if particle.overlay_style == 'none' %}
<div class="{% if particle.overlay_position %}jl-position-{{
particle.overlay_position|e }}{% endif %}">
<div class="jl-panel{{overlay_color}}{% if particle.overlay_padding
== 'default' %} jl-padding{% else %} jl-padding-{{
particle.overlay_padding|e }}{% endif %}{% if particle.overlay_maxwidth !=
'none' %} jl-width-{{ particle.overlay_maxwidth|e }}{% endif
%}{{overlay_transition}} jl-margin-remove-first-child">
{% else %}

{% if particle.overlay_mode == 'cover' %}
<div class="jl-position-cover{% if particle.overlay_margin %}
jl-position-{{ particle.overlay_margin|e }}{% endif %}{% if
particle.overlay_style %} {{ particle.overlay_style|e }}{% endif
%}{{overlay_transition}}"></div>
{% endif %}

<div class="{% if particle.overlay_position %}jl-position-{{
particle.overlay_position|e }}{% endif %}{% if particle.overlay_margin %}
jl-position-{{ particle.overlay_margin|e }}{% endif %}">

{% if particle.overlay_mode == 'cover' %}
<div class="jl-overlay{{overlay_color}}{% if
particle.overlay_padding != 'default' %} jl-padding-{{
particle.overlay_padding|e }}{% endif %}{% if particle.overlay_maxwidth !=
'none' %} jl-width-{{ particle.overlay_maxwidth|e }}{% endif %}{%
if particle.animate_background == false %}{{overlay_transition}}{% endif %}
jl-margin-remove-first-child">
{% else %}
<div class="jl-overlay{{overlay_color}}{% if
particle.overlay_padding != 'default' %} jl-padding-{{
particle.overlay_padding|e }}{% endif %}{% if particle.overlay_maxwidth !=
'none' %} jl-width-{{ particle.overlay_maxwidth|e }}{% endif %}{%
if particle.overlay_style %} {{ particle.overlay_style|e }}{% endif
%}{{overlay_transition}} jl-margin-remove-first-child">
{% endif %}

{% endif %}

{% if particle.meta_alignment == 'top' %}
{{meta_content}}
{% endif %}

{% if item.title %}

<{{particle.title_element|e}} class="tm-title
jl-margin-remove-bottom{{title_text_transform}}{% if
particle.title_margin_top == 'default' %} jl-margin-top{% else %}
jl-margin-{{ particle.title_margin_top|e }}-top{% endif %}{% if
particle.title_style != 'default' %} jl-{{ particle.title_style|e
}}{% endif %}{% if particle.predefined_title_color != 'default'
%} jl-text-{{ particle.predefined_title_color|e }}{% endif %}{% if
particle.title_decoration != 'none' %}
jl-heading-{{particle.title_decoration|e}}{% endif
%}{{title_transition}}">
{% if particle.title_decoration == 'line' %} <span>{% if
particle.link_type == 'content' %}<a
class="jl-link-reset" href="{{ item.buttonlink|e }}"
title="{{ item.title|raw }}" target="{{
particle.buttontarget|default('_self')|e
}}"{{linkscroll}}>{% endif %}{{ item.title|raw }}{% if
particle.link_type == 'content' %}</a>{% endif
%}</span>
{% else %}
{% if particle.link_type == 'content' %}<a
class="jl-link-reset" href="{{ item.buttonlink|e }}"
title="{{ item.title|raw }}" target="{{
particle.buttontarget|default('_self')|e
}}"{{linkscroll}}>{% endif %}{{ item.title|raw }}{% if
particle.link_type == 'content' %}</a>{% endif %}
{% endif %}
</{{particle.title_element|e}}>

{% endif %}

{% if particle.meta_alignment == 'bottom' %}
{{meta_content}}
{% endif %}

{{item_content}}

{% if particle.meta_alignment == 'content' %}
{{meta_content}}
{% endif %}

{% if particle.link_type == 'button' %}
{{item_button}}
{% endif %}

</div>

</div>

{% if particle.link_type == 'element' %}
</a>
{% else %}
</div>
{% endif %}

{% endif %}
{# End Position Center #}

{# End Overlay Style #}

</li>

{% endfor %}

</ul>

{% if particle.slidenav_position == 'outside' %}
</div>
{% endif %}

{% if particle.slidenav_icon_left and particle.slidenav_icon_right %}
{% set slidenav_icon_left = '<i class="' ~
particle.slidenav_icon_left ~ '"
aria-hidden="true"></i>' %}
{% set slidenav_icon_right = '<i class="' ~
particle.slidenav_icon_right ~ '"
aria-hidden="true"></i>' %}
{% else %}
{% set slidenav_large_style = particle.larger_slidenav ? '
jl-slidenav-large' %}
{% set slidenav_next = 'jl-slidenav-next' %}
{% set slidenav_prev = 'jl-slidenav-previous' %}
{% endif %}

{% set slidenav_text_color = particle.slidenav_color ? ' jl-' ~
particle.slidenav_color ~ '' %}

{# Set Slidenav #}
{% if particle.slidenav_position %}
{% if particle.slidenav_position == 'default' %}
<div class="{% if particle.slidenav_breakpoint
%}jl-visible@{{particle.slidenav_breakpoint|e}}{% endif %}{{
particle.slidenav_hover == 'enabled' ? ' jl-hidden-hover
jl-hidden-touch' : '' }}{{slidenav_text_color}}">
<a class="tm-slidenav{{ slidenav_large_style }}{% if
particle.slidenav_margin %} jl-position-{{ particle.slidenav_margin|e }}{%
endif %} jl-position-center-left" href="#" {{slidenav_prev}}
jl-slider-item="previous">{{slidenav_icon_left|raw}}</a>
<a class="tm-slidenav{{ slidenav_large_style }}{% if
particle.slidenav_margin %} jl-position-{{ particle.slidenav_margin|e }}{%
endif %} jl-position-center-right" href="#"
{{slidenav_next}}
jl-slider-item="next">{{slidenav_icon_right|raw}}</a>
</div>
{% elseif particle.slidenav_position == 'outside' %}
<div class="{% if particle.slidenav_breakpoint
%}jl-visible@{{particle.slidenav_breakpoint|e}}{% endif %}{% if
particle.slidenav_outside_color %}
jl-{{particle.slidenav_outside_color|e}}{% endif %}">
<a class="tm-slidenav{{ slidenav_large_style }}{% if
particle.slidenav_margin %} jl-position-{{ particle.slidenav_margin|e }}{%
endif %} jl-position-center-left" href="#" {{slidenav_prev}}
jl-slider-item="previous" jl-toggle="cls:
jl-position-center-left-out jl-position-center-left; mode: media; media:{%
if particle.slidenav_outside_breakpoint %}
@{{particle.slidenav_outside_breakpoint|e}}{% endif
%}">{{slidenav_icon_left|raw}}</a>
<a class="tm-slidenav{{ slidenav_large_style }}{% if
particle.slidenav_margin %} jl-position-{{ particle.slidenav_margin|e }}{%
endif %} jl-position-center-right" href="#"
{{slidenav_next}} jl-slider-item="next" jl-toggle="cls:
jl-position-center-right-out jl-position-center-right; mode: media;
media:{% if particle.slidenav_outside_breakpoint %}
@{{particle.slidenav_outside_breakpoint|e}}{% endif
%}">{{slidenav_icon_right|raw}}</a>
</div>
{% else %}
<div class="jl-slidenav-container{% if particle.slidenav_margin %}
jl-position-{{ particle.slidenav_margin|e }}{% endif %} jl-position-{{
particle.slidenav_position|e }}{% if particle.slidenav_breakpoint %}
jl-visible@{{particle.slidenav_breakpoint|e}}{% endif %}{{
particle.slidenav_hover == 'enabled' ? ' jl-hidden-hover
jl-hidden-touch' : '' }}{{slidenav_text_color}}">
<a class="tm-slidenav{{ slidenav_large_style }}"
href="#" {{slidenav_prev}}
jl-slider-item="previous">{{slidenav_icon_left|raw}}</a>
<a class="tm-slidenav{{ slidenav_large_style }}"
href="#" {{slidenav_next}}
jl-slider-item="next">{{slidenav_icon_right|raw}}</a>
</div>
{% endif %}
{% endif %}

{# End Slidenav #}

</div>

{# Navigation #}
{% if particle.navigation == 'enabled' %}
{% if particle.navigation_color != 'default' %}
<div class="jl-{{particle.navigation_color|e}}">
{% endif %}
<ul class="tm-nav jl-slider-nav jl-dotnav{% if
particle.navigation_position %} jl-flex-{{ particle.navigation_position|e
}}{% endif %}{% if particle.navigation_margin %} jl-margin-{{
particle.navigation_margin|e }}{% endif %}{% if
particle.navigation_breakpoint %}
jl-visible@{{particle.navigation_breakpoint|e}}{% endif %}"
jl-margin>
{% for item in particle.carouselitems %}
<li jl-slider-item="{{ loop.index0 }}"><a
href="#"{% if particle.show_tooltip == '1' and
item.image_alt != '' %}jl-tooltip="{{ item.image_alt|raw
}}"{% endif %}></a></li>
{% endfor %}
</ul>
{% if particle.navigation_color != 'default' %}
</div>
{% endif %}
{% endif %}
{# End Navigation #}

</div>
{{endparallaxbackground}}
{% endif %}
{% endblock %}