<div class="tnt_coupons bg-primary px-3 py-2 w-100 d-flex justify-content-center justify-content-sm-around"
     {if $tnt_coupons_show_modal}data-toggle="modal" data-bs-toggle="modal" data-target="#modalCoupons"
     data-bs-target="#modalCoupons" role="button"{/if}
        {if isset($tnt_coupons_balkenColor) && $tnt_coupons_balkenColor !== ""} style="{$tnt_coupons_balkenColor}"{/if}>

    <div class="d-none d-sm-flex me-3 mr-3 flex-column flex-lg-row-reverse justify-content-center flex-grow-1 flex-lg-grow-0 text-center align-items-center">
        <div class="">
            <span class="text-uppercase fw-bold font-weight-bold fs-4 text-decoration-underline"{if isset($tnt_coupons_txtColor) && $tnt_coupons_txtColor !== ""} style="{$tnt_coupons_txtColor}"{/if}>{$tnt_coupons_title}</span>
        </div>
        <div class="me-lg-3 me-0 mr-lg-3 mr-0"{if isset($tnt_coupons_txtColor) && $tnt_coupons_txtColor !== ""} style="{$tnt_coupons_txtColor}"{/if}>
            <span class="text-uppercase"{if isset($tnt_coupons_txtColor) && $tnt_coupons_txtColor !== ""} style="{$tnt_coupons_txtColor}"{/if}>{$tnt_coupons_lang_var_bis_zu}</span>
            <strong{if isset($tnt_coupons_txtColor) && $tnt_coupons_txtColor !== ""} style="{$tnt_coupons_txtColor}"{/if}>
                -{$tnt_coupons_discount}</strong>
        </div>
    </div>

    <div class="d-flex flex-column flex-lg-row justify-content-center">

        <div class="d-flex justify-content-start align-items-center mb-1 me-lg-3 me-0 mr-lg-3 mr-0">
      <span class="d-block d-sm-none me-1 mr-1">
        <span class="text-uppercase"{if isset($tnt_coupons_txtColor) && $tnt_coupons_txtColor !== ""} style="{$tnt_coupons_txtColor}"{/if}>{$tnt_coupons_lang_var_bis_zu}</span> <strong{if isset($tnt_coupons_txtColor) && $tnt_coupons_txtColor !== ""} style="{$tnt_coupons_txtColor}"{/if}> -{$tnt_coupons_discount}</strong>,
      </span>

            <span class="text-uppercase"{if isset($tnt_coupons_txtColor) && $tnt_coupons_txtColor !== ""} style="{$tnt_coupons_txtColor}"{/if}>{if isset($tnt_coupons_days_remaining) && isset($tnt_coupons_lang_var_days)}{if isset($tnt_coupons_lang_var_noch)}{$tnt_coupons_lang_var_noch}{/if}
                    <b>{$tnt_coupons_days_remaining}
                    <span id="tnt_coupons_days"{if isset($tnt_coupons_txtColor) && $tnt_coupons_txtColor !== ""} style="{$tnt_coupons_txtColor}"{/if}>{$tnt_coupons_lang_var_days}</span>
                    </b>{/if}</span>

        </div>
        {if isset($tnt_coupons_time_remaining)}
            <div class="countdown d-flex text-center justify-content-start align-items-center">
                <div class="bloc-time hours d-flex flex-row text-danger"
                     data-value="{$tnt_coupons_time_remaining->hours}">
                    <div class="figure hours-1">2</div>
                    <div class="figure hours-2">4</div>
                </div>
                <div class="bloc-time min d-flex flex-row text-danger"
                     data-value="{$tnt_coupons_time_remaining->minutes}">
                    <div class="figure min-1">0</div>
                    <div class="figure min-2">0</div>
                </div>
                <div class="bloc-time sec d-flex flex-row text-danger"
                     data-value="{$tnt_coupons_time_remaining->seconds}">
                    <div class="figure sec-1">0</div>
                    <div class="figure sec-2">0</div>
                </div>
            </div>
        {/if}
    </div>

</div>
