<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: 14.8cm;
        height: auto;
        direction: rtl;
        font-size: 18px;
        margin:0px;
        padding:0px;
        font-weight: 700;
    }
    .zname_aw{
        width:98%;
        margin:0px auto;
        height:30px;
    }

    .zdetlz_aw{
        width:100%;
        margin:0px auto;
        height:300px;  margin-top: 3cm;
    }
    .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";
    }
    .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;
    }

</style>

{literal}
<style>

    .prntbl2 {
        padding:0px !important;
        width:95% !important;
        margin:0px auto !important;
    }.prntbl2 table{
        border-collapse: collapse !important;
        width:100% !important;
        margin:0px !important;
        padding:0px !important;
    }
    .prntbl2 table th {
        background-color: #2D2D2D !important;
        background: #2D2D2D !important;
        border:0px solid #000000 !important;
        border-width:0px 0px 1px 1px !important;
        font-size:15px !important;
        font-family:Arial !important;
        font-weight:bold !important;
        color: #FFFFFF !important;
        text-align: center !important;
    }.prntbl2 tr:hover td{

    }
    .prntbl2 tr:nth-child(odd){background-color: #E0E0E0 !important;}
    .prntbl2 tr:nth-child(even)    { background-color:#ffffff !important; }
    .prntbl2 td{
        border:1px solid #000000 !important;
        padding: 0px 3px !important;
        font-size: 13px !important;
        font-family: tahoma !important;
        color:#000000 !important;
        text-align: center !important;
    }


    .prntbl2 th, .prntbl2 tt, .prntbl2 td {
        line-height: 20px !important;
        padding: 1px 5px !important;


    }

    .prntbl2 span {
        font-weight: 700;
    }


</style>

{/literal}
<meta charset="UTF-8">



<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}
</style>



<div class="prntbl2">


    <div class="zname_aw">

        <div class="right txtr">

            <p class="arab"> مستشفيات جامعة المنصورة </p>
            <br/>
            <p class="arab"> {$dept}  / <span>  قسم </span></p>
        </div>
    </div>

    <table class="">
        <tr><th colspan="2">  بطاقة متابعة </th></tr>
        <tr>    <td>{$patient->statusno}</td>      <th style="width:20%;">رقم المريض </th>   </tr>

        <tr>    <td>{$patient->wifename} </td>     <th>اسم المريض </th>   </tr>

        <tr>   <td>{$followupcard->diagnosis}   </td>    <th>التشخيص </th> </tr>

        <tr>
            <td>
                {$followupcard->enterdate}
            </td>
            <th>تاريخ الدخول </th>
        </tr>

        <tr>
            <td>
                {$followupcard->exitdate}
            </td>
            <th>تاريخ الخروج </th>
        </tr>

        <tr>
            <td>

                {foreach $followupcarddrugs as $drug}
                {if $drug->drugid  != ''}
                <div  class="txtc" style="margin-bottom:30px;direction:ltr;">
                    <div class="cntr txtc">
                        <span class="enfnt">{$drug->drugname} </span>
                        &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp
                        <span class="enfnt"> {$drug->drugtype} </span></div>
                    <span class="txtc arab arbfnt onyio">   {$drug->drugdos} </span>
                </div>
                <br>
                {/if}
                {/foreach}

            </td>
            <th>العلاج  </th>
        </tr>





    </table>



</div>