{% macro colSection(sectionName, sectionType = 'hero', numberOfColumns = '2_columns', leftCol = 'image', hasBg = 'false', hasColorMode, displayContent, title, subTitle, content, quote, quoteAuthor, authorImage, showCloseButton, first_row, offer, last_row, showCta = 'false', mainBtnText, path, imgMobile, imgDesktop, imgAlt, logoID, showDecline, declineButtonContent, disclaimer) %}
{% if numberOfColumns == '2_columns' %} {% endif %} {% if sectionType == 'popscreen' %}
{% if showCloseButton and showCloseButton == 'true' %}
{% from "../_icon/_icon.html" import icon %} {{ icon( iconID = 'CLOSE', className = 'icon', modifierClass = 'logo' ) }}
{% endif %}
{% endif %}
{% if sectionType == 'hero' or sectionType == 'popscreen' %}
{% if sectionType == 'hero' %} {% if displayContent == 'show_title' %}

{{subTitle}} {{title}}

{% endif %} {% if displayContent == 'show_quote' %}

{{subTitle}} {{quote}}

{{quoteAuthor}}
{{quoteAuthor}}
{% endif %} {% elif sectionType == 'popscreen' %}

{{first_row}} {{offer}} {{last_row}}

{% endif %} {% else %}

{{title}}

{% endif %} {% if content and content != '' %}

{{content}}

{% endif %} {% if disclaimer and disclaimer != '' %}
{{disclaimer}}
{% endif %} {% if showCta == 'true' and sectionType != 'popscreen'%} {% from "../_CTABtn/_CTABtn.html" import CTA %} {{ CTA ( wrapCTA= 'false', ctaID= '', ctaLink= '', ctaTarget= '', dataParam= 'false', ctaParam= 'false', ctaClass= '', ctaText= mainBtnText, hasIcon = global.mainBtn_hasIcon ) }} {% elif showCta == 'true' and sectionType == 'popscreen' %} {% from "../_CTABtn/_CTABtn.html" import CTA %} {{ CTA ( wrapCTA= 'false', ctaID= '', ctaLink= '', ctaTarget= '', dataParam= 'false', ctaParam= 'false', ctaClass= '', ctaText= mainBtnText, hasIcon = global.mainBtn_hasIcon, addParamName = 'close' ) }} {% if showDecline and showDecline == "true" %} {% from "../_CTABtn/_CTABtn.html" import CTA %} {{ CTA ( wrapCTA= 'false', ctaID= '', ctaLink= '', ctaTarget= '', dataParam= 'false', ctaParam= 'false', ctaClass= '', ctaText= declineButtonContent, hasIcon = global.mainBtn_hasIcon, addParamName = 'close' ) }} {% endif %} {% endif %}
{% if numberOfColumns == '2_columns' %}
{{imgAlt}}
{% endif %} {% if showCta == 'true' and sectionType == 'popscreen' %} {% endif %}
{% endmacro %}