{% assign featureCount = 0 %} {%- for feature in page.features_main -%} {% assign featureCount = featureCount | plus: 1 %} {% assign columnCount = 0 %} {% assign globalColumnData = "" %} {% if feature.t_template %} {% assign template_name = feature.t_template | append: '.html'%} {% include sections/{{template_name}} %} {% else %} {% assign section_class = feature.p_section_class %} {% assign section_bg_image_path = '' %} {% assign container_class = 'container' %} {% if feature.p_full_width_container %} {% assign container_class = 'container-fluid' %} {% endif %} {% if feature.i_bg_image %} {% capture image_loc %}{% picture direct-url_1064 pages/{{feature.i_bg_image }} %}{% endcapture %} {% assign section_bg_image_path = image_loc %} {% assign section_class = section_class | append: ' bg-cover bg-size-cover' %} {% endif %} {% if feature.p_parallax %} {% assign section_class = section_class | append: ' parallax text-white'%} {% endif %} {% assign bg_video_src = 'mp4:' | append: feature.p_video_link_mp4 %} {% assign bg_video_src = bg_video_src | append: ',webm:' | append: feature.p_video_link_webm %} {% assign bg_video_src = bg_video_src | append: ',ogv:' | append: feature.p_video_link_ogv %}
{% if feature.p_parallax %}
{% endif %}
{% if feature.t_headline or feature.t_subheadline %}
{% if feature.t_headline %}

{{ feature.t_headline }}

{% endif %} {% if feature.t_subheadline %}

{{ feature.t_subheadline }}

{% endif %} {% if feature.t_button_label %} {% endif %} {% if feature.i_image != null and feature.p_video_link_mp4 == null %} {% assign image_alt = feature.i_image | remove: '.png' | replace: '-',' ' | replace: '_',' ' %} {% picture hero_img_slide pages/{{ feature.i_image }} alt="{{ image_alt }}" class="img-fluid mx-auto" %} {% endif %}
{% endif %} {% if feature.columns %} {% assign i_col_num = 12 | divided_by: feature.p_columns %} {% assign row_class = '' %} {% if feature.p_columns_spacing == false %} {% assign row_class = 'no-gutters ' %} {% endif %} {% if feature.i_stretch_class %} {% assign row_class = row_class | append: 'align-items-md-stretch' %} {% endif %}
{%- for column in feature.columns -%} {% assign columnCount = columnCount | plus: 1 %} {% assign addeColumnCount = columnCount | plus: 1 %} {% if column.t_template %} {% assign sub_template = column.t_template | append: '.html'%} {% include sections/{{sub_template}} %} {% else %} {% assign i_bg_img_path = '' %} {% assign bg_over = '' %} {% assign box_class = column.i_box_class %} {% if column.i_bg_image %} {% capture i_bg_img_path %}{% picture direct-url pages/{{column.i_bg_image }} %}{% endcapture %} {% assign i_bg_img_path = i_bg_img_path %} {% assign box_class = box_class | append: ' bg-cover bg-size-cover' %} {% endif %} {% if column.i_image %} {% assign box_class = box_class | append: ' text-center' %} {% endif %} {% if column.p_parallax %} {% assign box_class = box_class | append: ' parallax text-white'%} {% endif %} {% if column.i_bg_overlay %} {% assign box_class = box_class | append: ' text-white' %} {% capture bg_over %}{% picture direct-url pages/{{column.i_bg_overlay }} %}{% endcapture %} {% assign bg_over = bg_over %} {% endif %}
{% if column.p_parallax %}
{% endif %}
{% if column.t_headline %}

{{column.t_headline}}

{% endif %} {% if column.t_subheadline %}

{{column.t_subheadline}}

{% endif %} {% if column.t_description %}

{{ column.t_description }}

{% endif %} {% if column.buttons %} {% endif %} {% if column.features %}
{%- for f in column.features -%}
{% if f.t_icon %} {% assign title = f.t_icon | remove: '.png' | replace: '-',' ' | replace: '_',' ' %} {% picture small_icons pages/{{ f.t_icon }} alt="{{ title }}" %} {% endif %} {{ f.t_name }}
{%- endfor -%}
{% endif %} {% if column.t_button_label %} {% endif %} {%- for content in column.content -%} {% if content.t_text %} {% if content.t_subheadline %}

{{content.t_subheadline}}

{% endif %}

{{content.t_text}}

{% endif %} {%- endfor -%} {% if column.hasExpandedDiv %} {% assign seo_image_path = "" %} {% if column.i_image != null %} {% capture seo_image_path %}{% picture features_777 pages/{{ column.i_image }} %}{% endcapture %} {% elsif column.i_image2 != null %} {% capture seo_image_path %}{% picture features_777 pages/{{ column.i_image2 }} %}{% endcapture %} {% endif %}
{{ page.t_learn_button }}
{% endif %} {% if column.i_image != null and column.p_video_link_mp4 == null %}
{% assign image_alt = column.i_image | remove: '.png' | replace: '-',' ' | replace: '_',' ' %} {% picture features_777 pages/{{ column.i_image }} alt="{{ image_alt }}" class="img-fluid {{ column.i_img_class }} max-h-420rem" %}
{% endif %} {% if column.p_video_link_mp4 %} {% assign bg_image_path = site.baseurl | append: '/assets/background/' | append: column.i_image %} {% assign video_link_mp4 = site.baseurl | append: '/assets/videos/' | append: column.p_video_link_mp4 %} {% assign video_link_ogv = site.baseurl | append: '/assets/videos/' | append: column.p_video_link_ogv %} {% assign video_link_webm = site.baseurl | append: '/assets/videos/' | append: column.p_video_link_webm %}
{% endif %}
{% endif %} {%- endfor -%}
{% endif %}
{% endif %} {%- endfor -%} {%- for item in page.features_main -%} {% if item.t_template contains "template-success-story-new" %} {% endif %} {%- endfor -%}