{% if (Mode == 'search_entry_box' or Mode == 'search_entry_box_show_always') and (Results_From_Module) %}
    {% set Column = Column + 1 %}
    <div id="{{Container_Id}}_results_from_module" class="column_{{Column}} column column_results_from_module">
{% endif %}

{% if (Mode == 'search_entry_box' or Mode == 'search_entry_box_show_always') and Results_From_Module_Heading_Text and not Results_From_Module_No_Results %}
    <span class="column_title">{{Results_From_Module_Heading_Text|e}}</span>
{% endif %}

{% if Results_From_Module %}
    {% for item in Results_From_Module %}
        <a href="{{item.url}}" {% if Open_links_to_results_in_a_new_window %} target="_blank" {% endif %}>
            <div class="search_result">
                {% if item.Feature_image_HTML_tag %}
                    <div class="search_result_image {{item.Icon_Class}}">{{item.Feature_image_HTML_tag}}</div>
                {% endif %}
                <div class="search_result_content">
                    <div class="search_result_title">
                        <span class="title">
                            {{item.Result_No}}. {{item.title}}
                            {{item.language_name}}
                        </span>
                        {% if Show_scores %}
                            {{item.score}}
                        {% endif %}
                    </div>
                    
                    {% if item.short_description %}
						<div class="search_result_description">
							<span class="description">{{item.short_description}}</span>
						</div>
					{% endif %}
					
					{% if item.date %}
						<div class="search_result_date">
							<span class="date">{{item.date}}</span>
						</div>
					{% endif %}
                    
                    {% if item.Breadcrumb %}
                        <div class="breadcrumb">{{item.Breadcrumb}}</div>
                    {% endif %}

                    <div class="search_result_summary">{{item.content_bodymain}}</div>
                </div>
            </div>
        </a>
    {% endfor %}
    
    {% if (Mode == 'search_entry_box' or Mode == 'search_entry_box_show_always') and (Module_Search_Results_Count > Maximum_Results_Number) %}
    	{% if Module_And_X_More_Results_Phrase %}
    		<p class="more_results">{{Module_And_X_More_Results_Phrase}}</p>
    	{% endif %}
    {% endif %}
{% endif %}

{% if Results_From_Module_No_Results %}
    <div class="search_no_results">
        <p>{{Results_From_Module_No_Results|e}}</p>
    </div>
{% endif %}

{% if (Mode == 'search_entry_box' or Mode == 'search_entry_box_show_always') and (Results_From_Module or Results_From_Module_No_Results) %}
    </div>
{% endif %}