<% include AboutBanner %>

<% include AboutNavigation %>

<section class="about-page-content<% if $Parent.ClassName == 'AboutContentContainerPage' %> about-page-content-condensed<% end_if %>">
    <div class="container">
        <% if $Parent.ClassName != 'AboutSectionPage' %>
            <div class="back-link">
                <a href="$Parent.Link">$SVG('back-link-arrow').Size('17','14') Back to <% if $Parent.ClassName == 'JobListingPage' %>Job Listings<% else %>$Parent.MenuTitle<% end_if %></a>
            </div>
        <% end_if %>

        <div class="row">
            <% if $SidebarPosition == 'Left' && $hasSidebar %>
                <% include AboutContentPageSidebar %>
            <% end_if %>

            <div class="col-sm-<% if $hasSidebar %>8<% else %>12<% end_if %>">

                <h1 class="h2">{$Title}</h1>

                $Content

                <% if $ContentButtonText && $ContentButtonLink %>
                    <a href="$ContentButtonLink" class="btn btn-pink" target="_blank">$ContentButtonText</a>
                <% end_if %>

                <% if $ListColumns.count > 0 && $ListTitle %>
                    <div class="about-page-table-content">
                        <h3 class="pink">{$ListTitle}</h3>

                        <div class="row">
                            <% loop $ListColumns %>
                            <div class="col-sm-6">
                                <table>
                                    <% loop $Items %>
                                        <tr>
                                            <th>$Title</th>
                                            <td>$Content</td>
                                        </tr>
                                    <% end_loop %>
                                </table>
                            </div>
                            <% end_loop %>
                            <%--<div class="col-sm-6">
                                <table>
                                    <% loop $SecondColumn %>
                                        <tr>
                                            <th>$Title</th>
                                            <td>$Content</td>
                                        </tr>
                                    <% end_loop %>
                                </table>
                            </div>--%>
                        </div>
                    </div>
                <% end_if %>
            </div>

            <% if $SidebarPosition == 'Right' && $hasSidebar %>
                <% include AboutContentPageSidebar %>
            <% end_if %>
        </div>
    </div>
</section>