<div{{ attributes }}>

{#  {{ title_prefix }}#}
{#  {% if label %}#}
{#    <h2{{ title_attributes.addClass('title') }}>{{ label }}</h2>#}
{#  {% endif %}#}
{#  {{ title_suffix }}#}

  {{ header }}
  <div{{ content_attributes.addClass('component-wrapper--content') }}>
    {% if is_parent %}
      {% set nav_component_wrapper_header_id = 'nav-component-wrapper-header--' ~ component_wrapper.id %}
      {% set classes = ['component', 'navigation-component-wrapper'] %}
      <div id="{{ nav_component_wrapper_header_id }}" {{ attributes.addClass(classes, component_wrapper_class) }}>
        <div class="background">
          {{ content.field_image }}
          <div class="overlay"></div>
        </div>
        <div class="group-tabs-simple-content" id="{{ component_wrapper.id }}">
            {% if items is not empty %}
              <div class="tabs-simple-nav">
                {% for key, item in tabs_title %}
                  {% if key == 0 %}
                    <button class="tabs-simple-button tab-simple--{{ component_wrapper.id + key }} active">{{ item }}</button>
                  {% else %}
                    <button class="tabs-simple-button tab-simple--{{ component_wrapper.id + key }}">{{ item }}</button>
                  {% endif %}
                {% endfor %}
              </div>
              <div class="tabs-simple-content">
                {% for key,item in items %}
                  {% if key == 0 %}
                    <div id="tab-simple-content--{{ component_wrapper.id + key }}" class="tab-simple-content tabs-content-id--{{ component_wrapper.id }}">
                      {{ item }}
                    </div>
                  {% else %}
                    <div id="tab-simple-content--{{ component_wrapper.id + key }}" class="tab-simple-content tabs-content-id--{{ component_wrapper.id }}" style="display:none">
                      {{ item }}
                    </div>
                  {% endif %}
                {% endfor %}
              </div>
            {% endif %}
        </div>
      </div>
    {% else %}
      {{ content.field_tabs_simple }}
    {% endif %}
  </div>
  {{ footer }}
</div>

