





<style>
    @font-face {
        font-family: "MyFont"; src: url(../../views/default/assets/admin/layout2/css/font/GE_Dinar_One.otf) format("truetype");
    }

    html,body,div,p,ul,li,sapn{
        margin:0px;
        padding:0px;
    }
    .zprint_aw{
        width: 14.8cm;
        height: auto;
        direction: rtl;
        font-size: 18px;
        margin:0px;
        padding:0px;
        font-weight: 700;
    }
    .zname_aw{
        width:98%;
        margin:0px auto;
    }

    .zdetlz_aw{
        width:100%;
        margin:0px auto;
        height:300px;
        margin-top: 0.5cm;
    }
    .aw_bottom_p {
        margin: 0px;
        padding: 0px;
        width: 14.8cm;
        position: absolute;
        bottom: 0px;
    }

    .right{
        float:right;
    }
    .left{
        float:left;
    }
    .arab{
        font-family:"Swissra-Bold";
        font-size: 13px
    }
    .txtr{
        text-align:right;
    }
    .txtl{
        text-align:left;
    }
    .txtc{
        text-align:center;
    }
    .clr{
        clear:both;
    }
    .cntr{
        margin:0px auto;
    }
    .rtl{
        direction:rtl;
    }
    .ltr{
        direction:ltr;
    }

    .cenet{
        float: right;
        margin-right: 21%;
        border: 1px solid;
        padding: 3px 6px;
    }
    .space{
        width: 110px;
        display: inline-block;
    }
    .onyio{
        margin-top: 7px;
        display: block;
    }


</style>




<style>
    @page {ldelim}
    size: auto;
    margin-top: {$ProgramesettingData->above}cm;
    margin-bottom: {$ProgramesettingData->buttom}cm;
    {rdelim}

    .arbfnt {ldelim}
    font-size: {$ProgramesettingData->fontsizear}px !important;
    {rdelim}

    .enfnt {ldelim}
    font-size: {$ProgramesettingData->fontsizeen}px !important;
    {rdelim}

    .namefontsize {ldelim}
    font-size: {$ProgramesettingData->namefontsize}px !important;
    {rdelim}
</style>



<div class="zprint_aw" style="margin: 0px auto;position: inherit;padding: 0px 50px;">




    <div class="zname_aw">

        <div class="right txtr">

            {if $patientId !=0} <p class="arab namefontsize"> {$title} / <span> {$name}  </span></p>{/if}

        </div>


        <div class="left">

            <p><span class="arab namefontsize " >{$date}</span></p>

        </div>

    </div>

    <div style="clear: both"></div>

    <div class="zdetlz_aw">

        <div class="cntr {if $ProgramesettingData->alignttt == 0 }txtc{else if $ProgramesettingData->alignttt == -1}txtl{else if $ProgramesettingData->alignttt == 1}txtr{/if}">

            {if $show == 1}
            <div  class="{if $ProgramesettingData->alignttt == 0 }txtc{else if $ProgramesettingData->alignttt == -1}txtl{else if $ProgramesettingData->alignttt == 1}txtr{/if}" style="margin-bottom:30px;direction:ltr;">
                <!--                <span class="enfnt">{$instructions->name} </span>
                                <br>-->
                <span class="arab arbfnt onyio">   {$instructions->content} </span>
            </div>
            {else}
            {foreach $instructions as $inst}
            <div  class="{if $ProgramesettingData->alignttt == 0 }txtc{else if $ProgramesettingData->alignttt == -1}txtl{else if $ProgramesettingData->alignttt == 1}txtr{/if}" style="margin-bottom:30px;direction:ltr;">
                <span class="enfnt">{$inst->name} </span>
                <br>
                <span class="arab arbfnt onyio">   {$inst->content} </span>
            </div>

            {/foreach}
            {/if}

        </div>



    </div>
</div>






