<style>
    @font-face {
        font-family: 'Droid Arabic Kufi';
        font-style: normal;
        font-weight: 700;
        src: url(../_assets/custom/fonts/DroidKufi-Regular.eot);
        src: url(../_assets/custom/fonts/DroidKufi-Regular.eot?#iefix) format('embedded-opentype'),
            url(../_assets/custom/fonts/DroidKufi-Regular.woff2) format('woff2'),
            url(../_assets/custom/fonts/DroidKufi-Regular.woff) format('woff'),
            url(../_assets/custom/fonts/DroidKufi-Regular.ttf) format('truetype');
    }

    @font-face {
        font-family:"GE Dinar One Medium";
        src:url("../_assets/custom/fonts/GE_Dinar_One_Medium.eot?") format("eot"),
            url("../_assets/custom/fonts/GE_Dinar_One_Medium.woff") format("woff"),
            url("../_assets/custom/fonts/GE_Dinar_One_Medium.ttf") format("truetype"),
            url("../_assets/custom/fonts/GE_Dinar_One_Medium.svg#GEDinarOne-Medium") format("svg");
        font-weight:normal;
        font-style:normal;
    }

    /*@font-face {
        font-family: 'Swissra-Bold';
        font-weight: 700;
        src: url(../_assets/custom/fonts/SwissraBold.woff) format('woff')
    }*/


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

    .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: 16px;
    }
    .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;
    }

    li{
        list-style: initial;
    }
    .pnumz{
        position: absolute;
        top: 0;
        right: 50%;
        border: 1px solid #000;
        padding: 0px 20px;
    }
</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;padding-right: 20px !important; padding-left: 20px !important; margin-right: 0px !important; margin-left: 0px !important; min-width: 176mm !important;">


    <div class="zname_aw">

        <div class="right txtr" >>

            {if !empty($title) || !empty($name)} <p class="arab namefontsize"> {$title} / <span> {$name}  </span></p>{/if}

        </div>


        <div class="left txtl" style="width: 20%;padding-left: 20px;">

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

        </div>
        {if $ProgramesettingData->hideid != 1 }
        <div class="left pnumz" style="width: 15%;">
            <center>
                <p><span class="arab namefontsize">{$statusNo}</span></p>
            </center>
        </div>
        {/if}

    </div>
    <div style="clear: both"></div>
    {if $ProgramesettingData->centername}
    <div class="zname_aw">
        <br/>

        <div class="right txtr">
            <p class="arab"> {$ProgramesettingData->centername}</p>

        </div>


        <div class="left" style="padding-left: 20px;">

            <p><span class="enfnt" >Please For</span></p>

        </div>

    </div>
    {/if}
    <div style="clear: both"></div>
    <div class="zdetlz_aw">

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

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


            {foreach $questions as $question}
            <div style="margin-bottom:10px;direction:ltr;margin-left: 30%;">

                <p><span class="enfnt" >{$question.ques_name} </span></p>

            </div>

            <div style="margin-bottom:10px;direction:ltr;margin-left: 30%;">
                <ul>
                    {foreach  $question.ans as $answer}
                    <li>
                        <span class="enfnt">
                            {if $array == 1 }
                            {$answer.ans_name}
                            {else}
                            {$answer->ans_name}
                            {/if}
                        </span>
                    </li>
                    {/foreach}
                </ul>
            </div>
            <hr>
            {/foreach}
        </div>



    </div>
</div>






