4300

ID4300
Data2017-07-31
Symbol2017/07/31/4300
InstytucjaMinisterstwo Pracy i Polityki Społecznej
NazwaWniosek o przyznanie karty dużej rodziny lub wydanie duplikatu karty dużej rodziny - KDR
Czy Aktualny1

Ustawy (1)

  • URI://Dziennik_Ustaw/2016/785/10/20
  • Ustawa z dnia 5 grudnia 2014 r. o Karcie Dużej Rodziny (t.j. Dz.U.2016r. poz.785 z późn.zm.)

    Pliki

    Styl

    <?xml version="1.0" encoding="UTF-8"?><xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:adr="http://crd.gov.pl/xml/schematy/adres/2009/11/09/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:inst="http://crd.gov.pl/xml/schematy/instytucja/2009/11/16/" xmlns:meta="http://crd.gov.pl/xml/schematy/meta/2009/11/16/" xmlns:oso="http://crd.gov.pl/xml/schematy/osoba/2009/11/16/" xmlns:str="http://crd.gov.pl/xml/schematy/struktura/2009/11/16/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wnio="http://crd.gov.pl/wzor/2017/07/31/4300/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.1" xsi:schemaLocation="http://www.w3.org/1999/XSL/Transform http://www.w3.org/2007/schema-for-xslt20.xsd">
      <xsl:template match="/">
        <html>
          <head>
            <title>KDR - Ministerstwo Rodziny, Pracy i Polityki Społecznej</title>
            <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
          </head>
          <body style="font-family: Arial; text-align: center; ">
            
              <!-- Pierwsza strona formularza -->		
    		<xsl:call-template name="pierwszaStronaKDR">			
    		</xsl:call-template>
              
    		  <!-- Druga strona formularza -->
    		  <xsl:call-template name="drugaStronaKDR">					
    				</xsl:call-template>
             
    		 <xsl:for-each select="//wnio:TrescDokumentu/wnio:CzlonkowieRodziny/wnio:DaneCzlonkaRodziny">
    		 
    			<!-- Dynamiczna strona formularza -->
    			<xsl:call-template name="dynamicznaStronaKDR">
    			<xsl:with-param name="BiezacaStrona" select="position()"/>
    			</xsl:call-template>
    			
            </xsl:for-each>
            
    		<!-- Ostatnia strona formularza -->
    		<xsl:call-template name="ostatniaStronaKDR">			
    		</xsl:call-template>
              
          </body>
        </html>
      </xsl:template>
      <xsl:template match="wnio:Informacja1//*">
        <xsl:call-template name="Info">
          <xsl:with-param name="node" select="."/>
        </xsl:call-template>
      </xsl:template>
      <xsl:template match="wnio:Informacja2//*">
        <xsl:call-template name="Info">
          <xsl:with-param name="node" select="."/>
        </xsl:call-template>
      </xsl:template>
      <xsl:template match="wnio:Informacja3//*">
        <xsl:call-template name="Info">
          <xsl:with-param name="node" select="."/>
        </xsl:call-template>
      </xsl:template>
      <xsl:template match="wnio:Informacja4//*">
        <xsl:call-template name="Info">
          <xsl:with-param name="node" select="."/>
        </xsl:call-template>
      </xsl:template>
      <xsl:template name="Info">
        <xsl:choose>
          <xsl:when test="name(.) = 'TextFlow'">
            <xsl:apply-templates/>
          </xsl:when>
          <xsl:when test="name(.) = 'br'">
            <xsl:choose>
              <xsl:when test="name(..) = 'dl'">
                <xsl:apply-templates/>
              </xsl:when>
              <xsl:otherwise>
                <xsl:element name="{name(.)}">
                  <xsl:apply-templates/>
                </xsl:element>
              </xsl:otherwise>
            </xsl:choose>
          </xsl:when>
          <xsl:otherwise>
            <xsl:element name="{name(.)}">
              <xsl:for-each select="@*">
                <xsl:attribute name="{name(.)}">
                  <xsl:value-of select="."/>
                </xsl:attribute>
              </xsl:for-each>
              <xsl:apply-templates/>
            </xsl:element>
          </xsl:otherwise>
        </xsl:choose>
      </xsl:template>
      <xsl:template name="redukcjaCzcionki">
        <xsl:param name="tekst"/>
        <xsl:param name="bazowyRozmiarCzcionki"/>
        <xsl:param name="dlugoscPolaWPikselach"/>
        <xsl:variable name="czcionkaPokrywajacaPole">
          <!-- (0.6 * wielkosc czcionki w pikselach) średnia szerokość litery (mniej więcej) -->
          <xsl:value-of select="$dlugoscPolaWPikselach div (0.6 * string-length($tekst))"/>
        </xsl:variable>
        <xsl:variable name="docelowyRozmiarCzcionki">
          <xsl:choose>
            <xsl:when test="$czcionkaPokrywajacaPole &lt; $bazowyRozmiarCzcionki">
              <xsl:choose>
                <xsl:when test="$czcionkaPokrywajacaPole &lt; 6">6</xsl:when>
                <!--6 minimalny rozmiar czcionki -->
                <xsl:otherwise>
                  <xsl:value-of select="ceiling($czcionkaPokrywajacaPole)"/>
                </xsl:otherwise>
              </xsl:choose>
            </xsl:when>
            <xsl:otherwise>
              <xsl:value-of select="$bazowyRozmiarCzcionki"/>
            </xsl:otherwise>
          </xsl:choose>
        </xsl:variable>
        <span>
          <xsl:attribute name="style">
            <xsl:value-of select="concat('font-size:', $docelowyRozmiarCzcionki, 'px')"/>
          </xsl:attribute>
          <xsl:value-of select="$tekst"/>
        </span>
      </xsl:template>
      <xsl:template name="formatDaty">
        <xsl:param name="wartosc"/>
        <xsl:if test="$wartosc != ''">
          <xsl:value-of select="substring($wartosc, 9, 2)"/>
          /
          <xsl:value-of select="substring($wartosc, 6, 2)"/>
          /
          <xsl:value-of select="substring($wartosc, 1, 4)"/>
        </xsl:if>
      </xsl:template>
      <xsl:template name="formatKoduPocztowego">
        <xsl:param name="wartosc"/>
        <xsl:if test="$wartosc != ''">
          <xsl:value-of select="substring($wartosc, 1, 2)"/>
          -
          <xsl:value-of select="substring($wartosc, 3, 4)"/>
        </xsl:if>
      </xsl:template>
      <xsl:template name="formatTextArea">
        <xsl:param name="tekst"/>
        <xsl:param name="wysokosc"/>
        <xsl:param name="szerokosc"/>
        <xsl:param name="bazowyRozmiarCzcionki"/>
        <xsl:param name="wysokoscLini"/>
        <xsl:param name="liczbaPrzejscDoNowychLini"/>
        <xsl:param name="tekstPoOstatnimPrzejsciuDoNowejLini"/>
        <xsl:variable name="liczbaPodPierwiastkiem">
          <xsl:value-of select="($szerokosc * $wysokosc) div string-length($tekst)"/>
        </xsl:variable>
        <xsl:variable name="pierwiastek">
          <xsl:call-template name="sqrt">
            <xsl:with-param name="number" select="$liczbaPodPierwiastkiem"/>
          </xsl:call-template>
        </xsl:variable>
        <xsl:variable name="czcionkaPokrywajacaPole">
          <xsl:value-of select="ceiling($pierwiastek)"/>
        </xsl:variable>
        <xsl:variable name="rozmiarCzcionki">
          <xsl:choose>
            <xsl:when test="$czcionkaPokrywajacaPole &lt; $bazowyRozmiarCzcionki">
              <xsl:choose>
                <xsl:when test="$czcionkaPokrywajacaPole &lt; 6">6</xsl:when>
                <!--6 minimalny rozmiar czcionki -->
                <xsl:otherwise>
                  <xsl:value-of select="$czcionkaPokrywajacaPole"/>
                </xsl:otherwise>
              </xsl:choose>
            </xsl:when>
            <xsl:otherwise>
              <xsl:value-of select="$bazowyRozmiarCzcionki"/>
            </xsl:otherwise>
          </xsl:choose>
        </xsl:variable>
        <div>
          <xsl:attribute name="style">
            <xsl:choose>
              <xsl:when test="($szerokosc * $wysokosc) &lt; (string-length($tekst) * $bazowyRozmiarCzcionki * $bazowyRozmiarCzcionki)">
                <xsl:value-of select="concat('font-size:', $rozmiarCzcionki, 'px; word-wrap : break-word;')"/>
              </xsl:when>
              <xsl:otherwise>
                <xsl:value-of select="'word-wrap : break-word;'"/>
              </xsl:otherwise>
            </xsl:choose>
          </xsl:attribute>
          <xsl:value-of select="$tekst"/>
        </div>
      </xsl:template>
      <xsl:template name="sqrt">
        <xsl:param name="number" select="0"/>
        <xsl:param name="try" select="1"/>
        <xsl:param name="iter" select="1"/>
        <xsl:param name="maxiter" select="10"/>
        <xsl:choose>
          <xsl:when test="$try * $try = $number or $iter &gt; $maxiter">
            <xsl:value-of select="$try"/>
          </xsl:when>
          <xsl:otherwise>
            <xsl:call-template name="sqrt">
              <xsl:with-param name="number" select="$number"/>
              <xsl:with-param name="try" select="$try - (($try * $try - $number) div (2 * $try))"/>
              <xsl:with-param name="iter" select="$iter + 1"/>
              <xsl:with-param name="maxiter" select="$maxiter"/>
            </xsl:call-template>
          </xsl:otherwise>
        </xsl:choose>
      </xsl:template>
      
      <!-- Pierwsza strona formularza -->
      <xsl:template name="pierwszaStronaKDR">
    		
    	<div style="background-color: white; border: 1px solid black; margin-left: auto; overflow: hidden; width: 880px; page-break-after: always; margin-top: 15px; position: relative; margin-bottom: 15px; height: 1280px; margin-right: auto; text-align: left; ">
              <div style="top: 0px; left: 0px; width: 880px; position: absolute; height: 26px; ">
                <div style="color: #000000; top: 0px; left: 322px; font-weight: bold; width: 545px; font-size: 20px; position: absolute; height: 24px; text-align: right; " class="SofLabel formName">KDR</div>
                <span style="color: #000000; top: 8px; left: 5px; font-weight: normal; width: 300px; font-size: 12px; position: absolute; height: 14px; " class="SofLabel page"/>
                <div style="border-top: 2px solid black; top: 25px; left: 0px; width: 100%; position: absolute; height: 1px; " class="SofHRule">
                  <span/>
                </div>
              </div>
              <div style="color: #000000; top: 60px; left: 0px; font-weight: bold; width: 100%; font-size: 16px; position: absolute; text-align: center; height: 70px; " class="SofLabel formTitle">
                WNIOSEK
                <br/>
                O  PRZYZNANIE  KARTY  DUŻEJ  RODZINY
                <br/>
                LUB  WYDANIE  DUPLIKATU  KARTY  DUŻEJ  RODZINY
              </div>
              <div style="top: 210px; left: 0px; width: 880px; position: absolute; height: 101px; ">
                <div style="background-color: #e3e5f4; top: 0px; left: 0px; width: 100%; border-color: #e3e5f4; border-width: 1px; position: absolute; border-style: solid; height: 101px; " class="SofBorderContainer purpleAll">
                  <div style="font-size: 12px; position: absolute; color: #000000; top: 8px; left: 11px; font-weight: bold; " class="SofLabel sectionHeader">NAZWA ORGANU WŁAŚCIWEGO PROWADZĄCEGO POSTĘPOWANIE W SPRAWIE KARTY DUŻEJ RODZINY (1)</div>
                  <div style="background-color: #ffffff; width: 870px; position: absolute; top: 23px; left: 10px; height: 68px; " class="SofBorderContainer">
                    <div style="border: 1px solid black; background-color: white; overflow: hidden; color: #000000; top: 7px; left: 3px; display: block; width: 840px; font-size: 18px; position: absolute; height: 54px; " class="SofTextArea dotted">
                      <div style="padding-left:5px ; padding-top:2px; display: block;">
                        <xsl:call-template name="formatTextArea">
                          <xsl:with-param name="tekst" select="//wnio:TrescDokumentu/wnio:NazwaOrganuWlasciwegoProwadzacegoPostepowanie"/>
                          <xsl:with-param name="wysokosc" select="54"/>
                          <xsl:with-param name="szerokosc" select="840"/>
                          <xsl:with-param name="bazowyRozmiarCzcionki" select="18"/>
                          <xsl:with-param name="wysokoscLini" select="20"/>
                          <xsl:with-param name="liczbaPrzejscDoNowychLini" select="0"/>
                          <xsl:with-param name="tekstPoOstatnimPrzejsciuDoNowejLini" select="//wnio:TrescDokumentu/wnio:NazwaOrganuWlasciwegoProwadzacegoPostepowanie"/>
                        </xsl:call-template>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
              <div style="top: 310px; left: 0px; width: 880px; position: absolute; height: 233px; ">
                <div style="background-color: #e3e5f4; top: 0px; left: 0px; width: 100%; border-color: #e3e5f4; border-width: 1px; position: absolute; border-style: solid; height: 100%; " class="SofBorderContainer purpleAll">
                  <div style="font-size: 12px; position: absolute; color: #000000; top: 8px; left: 11px; font-weight: bold; " class="SofLabel sectionHeader">ADRES ORGANU WŁAŚCIWEGO PROWADZĄCEGO POSTĘPOWANIE W SPRAWIE KARTY DUŻEJ RODZINY (1)</div>
                  <div style="background-color: #ffffff; width: 870px; position: absolute; top: 23px; left: 10px; height: 200px; " class="SofBorderContainer">
                    <div style="font-size: 12px; position: absolute; color: #000000; top: 49px; left: 3px; " class="SofLabel">02. Kod pocztowy</div>
                    <div style="border: 1px solid black; background-color: white; overflow: hidden; color: #000000; top: 62px; left: 3px; display: block; width: 145px; font-size: 18px; position: absolute; height: 25px; " class="SofTextInput">
                      <span style="padding-left:5px ;line-height:25px;display: block;">
                        <xsl:if test="//wnio:TrescDokumentu/wnio:AdresOrganuWlasciwego/wnio:KodPocztowy!= ''">
                          <xsl:value-of select="substring(//wnio:TrescDokumentu/wnio:AdresOrganuWlasciwego/wnio:KodPocztowy, 1, 2)"/>
                          -
                          <xsl:value-of select="substring(//wnio:TrescDokumentu/wnio:AdresOrganuWlasciwego/wnio:KodPocztowy, 3, 4)"/>
                        </xsl:if>
                      </span>
                    </div>
                    <div style="font-size: 12px; position: absolute; color: #000000; top: 49px; left: 171px; " class="SofLabel">03. Miejscowość</div>
                    <div style="border: 1px solid black; background-color: white; overflow: hidden; color: #000000; top: 62px; left: 171px; display: block; width: 697px; font-size: 18px; position: absolute; height: 25px; text-align: left; " class="SofTextInput dotted">
                      <span style="padding-left: 5px;display: block;line-height:25px;">
                        <xsl:call-template name="redukcjaCzcionki">
                          <xsl:with-param name="tekst" select="//wnio:TrescDokumentu/wnio:AdresOrganuWlasciwego/wnio:Miejscowosc"/>
                          <xsl:with-param name="bazowyRozmiarCzcionki" select="18"/>
                          <xsl:with-param name="dlugoscPolaWPikselach" select="697"/>
                        </xsl:call-template>
                      </span>
                    </div>
                    <div style="font-size: 12px; position: absolute; color: #000000; top: 5px; left: 3px; " class="SofLabel">01. Gmina / Dzielnica</div>
                    <div style="border: 1px solid black; background-color: white; overflow: hidden; color: #000000; top: 18px; left: 3px; display: block; width: 865px; font-size: 18px; position: absolute; height: 25px; " class="SofTextInput dotted">
                      <span style="padding-left: 5px;display: block;line-height:25px;">
                        <xsl:call-template name="redukcjaCzcionki">
                          <xsl:with-param name="tekst" select="//wnio:TrescDokumentu/wnio:AdresOrganuWlasciwego/wnio:GminaDzielnica"/>
                          <xsl:with-param name="bazowyRozmiarCzcionki" select="18"/>
                          <xsl:with-param name="dlugoscPolaWPikselach" select="865"/>
                        </xsl:call-template>
                      </span>
                    </div>
                    <div style="font-size: 12px; position: absolute; color: #000000; top: 93px; left: 3px; " class="SofLabel">04. Ulica</div>
                    <div style="border: 1px solid black; background-color: white; overflow: hidden; color: #000000; top: 106px; left: 3px; display: block; width: 865px; font-size: 18px; position: absolute; height: 25px; " class="SofTextInput dotted">
                      <span style="padding-left: 5px;display: block;line-height:25px;">
                        <xsl:call-template name="redukcjaCzcionki">
                          <xsl:with-param name="tekst" select="//wnio:TrescDokumentu/wnio:AdresOrganuWlasciwego/wnio:Ulica"/>
                          <xsl:with-param name="bazowyRozmiarCzcionki" select="18"/>
                          <xsl:with-param name="dlugoscPolaWPikselach" select="865"/>
                        </xsl:call-template>
                      </span>
                    </div>
                    <div style="font-size: 12px; position: absolute; color: #000000; top: 137px; left: 3px; " class="SofLabel">05. Numer domu</div>
                    <div style="border: 1px solid black; background-color: white; overflow: hidden; color: #000000; top: 150px; left: 3px; display: block; width: 169px; font-size: 18px; position: absolute; height: 25px; " class="SofTextInput dotted">
                      <span style="padding-left:5px ;line-height:25px;padding-right: 5px; display: block;">
                        <xsl:value-of select="//wnio:TrescDokumentu/wnio:AdresOrganuWlasciwego/wnio:NumerDomu"/>
                      </span>
                    </div>
                    <div style="font-size: 12px; position: absolute; color: #000000; top: 137px; left: 195px; " class="SofLabel">06. Numer mieszkania</div>
                    <div style="border: 1px solid black; background-color: white; overflow: hidden; color: #000000; top: 150px; left: 195px; display: block; width: 169px; font-size: 18px; position: absolute; height: 25px; " class="SofTextInput dotted">
                      <span style="padding-left:5px ;line-height:25px;padding-right: 5px; display: block;">
                        <xsl:value-of select="//wnio:TrescDokumentu/wnio:AdresOrganuWlasciwego/wnio:NumerLokalu"/>
                      </span>
                    </div>
                    <div style="font-size: 12px; position: absolute; color: #000000; top: 187px; left: 4px; " class="SofLabel">(1) Przez organ właściwy  rozumie się wójta, burmistrza lub prezydenta miasta właściwego ze względu na miejsce zamieszkania osoby składającej wniosek.</div>
                  </div>
                </div>
              </div>
              <div style="color: #000000; top: 563px; left: 6px; font-weight: bold; font-size: 14px; font-family: arial; position: absolute; " class="SofLabel global14Bold">CZĘŚĆ I - Dane wnioskodawcy</div>
              <div style="top: 583px; left: 0px; width: 880px; position: absolute; height: 192px; ">
                <div style="background-color: #e3e5f4; top: 0px; left: 0px; width: 100%; border-color: #e3e5f4; border-width: 1px; position: absolute; border-style: solid; height: 100%; " class="SofBorderContainer purpleAll">
                  <div style="font-size: 12px; position: absolute; color: #000000; top: 7px; left: 10px; font-weight: bold; " class="SofLabel sectionHeader">DANE WNIOSKODAWCY</div>
                  <div style="background-color: #ffffff; width: 870px; position: absolute; top: 23px; left: 10px; height: 159px; " class="SofBorderContainer">
                    <div style="width: 123px; font-size: 12px; position: absolute; color: #000000; top: 93px; left: 3px; " class="SofLabel">03. Numer PESEL</div>
                    <div style="border: 1px solid black; background-color: white; overflow: hidden; color: #000000; top: 106px; left: 3px; display: block; width: 265px; font-size: 18px; position: absolute; height: 25px; " class="SofTextInput">
                      <span style="padding-left:5px ;line-height:25px;padding-right: 5px; display: block;">
                        <xsl:value-of select="//wnio:TrescDokumentu/wnio:DaneIdentyfikacyjneOsobyUbiegajacejSie/wnio:PESEL"/>
                      </span>
                    </div>
                    <div style="width: 856px; font-size: 12px; position: absolute; color: #000000; top: 143px; left: 4px; " class="SofLabel"/>
                    <div style="font-size: 12px; position: absolute; color: #000000; top: 93px; left: 291px; " class="SofLabel">04. Data urodzenia (dd / mm / rrrr)</div>
                    <div style="background-color: white; border: 1px solid black; overflow: hidden; color: #000000; top: 106px; left: 291px; display: block; width: 191px; font-size: 18px; position: absolute; border-style: solid; height: 25px; " class="SofDateField">
                      <span style="padding-left:5px ; line-height:25px; display: block;">
                        <xsl:call-template name="formatDaty">
                          <xsl:with-param name="wartosc" select="//wnio:TrescDokumentu/wnio:DaneIdentyfikacyjneOsobyUbiegajacejSie/wnio:DataUrodzenia"/>
                        </xsl:call-template>
                      </span>
                      <span/>
                    </div>
                    <div style="font-size: 12px; position: absolute; color: #000000; top: 93px; left: 507px; " class="SofLabel">05. Seria i numer dokumentu potwierdzającego tożsamość</div>
                    <div style="border: 1px solid black; background-color: white; overflow: hidden; color: #000000; top: 106px; left: 507px; display: block; width: 361px; font-size: 18px; position: absolute; height: 25px; " class="SofTextInput dotted">
                      <span style="padding-left:5px ;line-height:25px;padding-right: 5px; display: block;">
                        <xsl:value-of select="//wnio:TrescDokumentu/wnio:DaneIdentyfikacyjneOsobyUbiegajacejSie/wnio:SeriaNumerDokumentu"/>
                      </span>
                    </div>
                    <div style="font-size: 12px; position: absolute; color: #000000; top: 49px; left: 3px; " class="SofLabel">02. Nazwisko</div>
                    <div style="border: 1px solid black; background-color: white; overflow: hidden; color: #000000; top: 62px; left: 3px; display: block; width: 865px; font-size: 18px; position: absolute; height: 25px; " class="SofTextInput dotted">
                      <span style="padding-left:5px ;line-height:25px;padding-right: 5px; display: block;">
                        <xsl:value-of select="//wnio:TrescDokumentu/wnio:DaneIdentyfikacyjneOsobyUbiegajacejSie/wnio:Nazwisko"/>
                      </span>
                    </div>
                    <div style="font-size: 12px; position: absolute; color: #000000; top: 5px; left: 3px; " class="SofLabel">01. Imię</div>
                    <div style="border: 1px solid black; background-color: white; overflow: hidden; color: #000000; top: 18px; left: 3px; display: block; width: 865px; font-size: 18px; position: absolute; height: 25px; " class="SofTextInput dotted">
                      <span style="padding-left:5px ;line-height:25px;padding-right: 5px; display: block;">
                        <xsl:value-of select="//wnio:TrescDokumentu/wnio:DaneIdentyfikacyjneOsobyUbiegajacejSie/wnio:Imie"/>
                      </span>
                    </div>
                  </div>
                </div>
              </div>
              <div style="top: 782px; left: 0px; width: 880px; position: absolute; height: 221px; ">
                <div style="background-color: #e3e5f4; top: 0px; left: 0px; width: 100%; border-color: #e3e5f4; border-width: 1px; position: absolute; border-style: solid; height: 221px; " class="SofBorderContainer purpleAll">
                  <div style="font-size: 12px; position: absolute; color: #000000; top: 8px; left: 11px; font-weight: bold; " class="SofLabel sectionHeader">MIEJSCE ZAMIESZKANIA</div>
                  <div style="background-color: #ffffff; width: 870px; position: absolute; top: 24px; left: 10px; height: 187px; " class="SofBorderContainer">
                    <div style="font-size: 12px; position: absolute; color: #000000; top: 49px; left: 3px; " class="SofLabel">02. Kod pocztowy</div>
                    <div style="border: 1px solid black; background-color: white; overflow: hidden; color: #000000; top: 62px; left: 3px; display: block; width: 145px; font-size: 18px; position: absolute; height: 25px; " class="SofTextInput">
                      <span style="padding-left:5px ;line-height:25px;display: block;">
                        <xsl:if test="//wnio:TrescDokumentu/wnio:AdresZamieszkaniaOsobyUbiegajacejSie/wnio:KodPocztowy!= ''">
                          <xsl:value-of select="substring(//wnio:TrescDokumentu/wnio:AdresZamieszkaniaOsobyUbiegajacejSie/wnio:KodPocztowy, 1, 2)"/>
                          -
                          <xsl:value-of select="substring(//wnio:TrescDokumentu/wnio:AdresZamieszkaniaOsobyUbiegajacejSie/wnio:KodPocztowy, 3, 4)"/>
                        </xsl:if>
                      </span>
                    </div>
                    <div style="font-size: 12px; position: absolute; color: #000000; top: 49px; left: 171px; " class="SofLabel">03. Miejscowość</div>
                    <div style="border: 1px solid black; background-color: white; overflow: hidden; color: #000000; top: 62px; left: 171px; display: block; width: 697px; font-size: 18px; border-color: #696969; position: absolute; height: 25px; " class="SofComboBox dotted">
                      <span style="padding-left: 5px;display: block;line-height:25px;">
                        <xsl:call-template name="redukcjaCzcionki">
                          <xsl:with-param name="tekst" select="//wnio:TrescDokumentu/wnio:AdresZamieszkaniaOsobyUbiegajacejSie/wnio:Miejscowosc"/>
                          <xsl:with-param name="bazowyRozmiarCzcionki" select="18"/>
                          <xsl:with-param name="dlugoscPolaWPikselach" select="697"/>
                        </xsl:call-template>
                      </span>
                    </div>
                    <div style="font-size: 12px; position: absolute; color: #000000; top: 5px; left: 3px; " class="SofLabel">01. Gmina / Dzielnica</div>
                    <div style="border: 1px solid black; background-color: white; overflow: hidden; color: #000000; top: 18px; left: 3px; display: block; width: 865px; font-size: 18px; border-color: #696969; position: absolute; height: 25px; " class="SofComboBox dotted">
                      <span style="padding-left: 5px;display: block;line-height:25px;">
                        <xsl:call-template name="redukcjaCzcionki">
                          <xsl:with-param name="tekst" select="//wnio:TrescDokumentu/wnio:AdresZamieszkaniaOsobyUbiegajacejSie/wnio:GminaDzielnica"/>
                          <xsl:with-param name="bazowyRozmiarCzcionki" select="18"/>
                          <xsl:with-param name="dlugoscPolaWPikselach" select="865"/>
                        </xsl:call-template>
                      </span>
                    </div>
                    <div style="font-size: 12px; position: absolute; color: #000000; top: 93px; left: 3px; " class="SofLabel">04. Ulica</div>
                    <div style="border: 1px solid black; background-color: white; overflow: hidden; color: #000000; top: 106px; left: 3px; display: block; width: 865px; font-size: 18px; border-color: #696969; position: absolute; height: 25px; " class="SofComboBox dotted">
                      <span style="padding-left: 5px;display: block;line-height:25px;">
                        <xsl:call-template name="redukcjaCzcionki">
                          <xsl:with-param name="tekst" select="//wnio:TrescDokumentu/wnio:AdresZamieszkaniaOsobyUbiegajacejSie/wnio:Ulica"/>
                          <xsl:with-param name="bazowyRozmiarCzcionki" select="18"/>
                          <xsl:with-param name="dlugoscPolaWPikselach" select="865"/>
                        </xsl:call-template>
                      </span>
                    </div>
                    <div style="font-size: 12px; position: absolute; color: #000000; top: 137px; left: 3px; " class="SofLabel">05. Numer domu</div>
                    <div style="border: 1px solid black; background-color: white; overflow: hidden; color: #000000; top: 150px; left: 3px; display: block; width: 169px; font-size: 18px; position: absolute; height: 25px; " class="SofTextInput dotted">
                      <span style="padding-left:5px ;line-height:25px;padding-right: 5px; display: block;">
                        <xsl:value-of select="//wnio:TrescDokumentu/wnio:AdresZamieszkaniaOsobyUbiegajacejSie/wnio:NumerDomu"/>
                      </span>
                    </div>
                    <div style="font-size: 12px; position: absolute; color: #000000; top: 137px; left: 195px; " class="SofLabel">06. Numer mieszkania</div>
                    <div style="border: 1px solid black; background-color: white; overflow: hidden; color: #000000; top: 150px; left: 195px; display: block; width: 169px; font-size: 18px; position: absolute; height: 25px; " class="SofTextInput dotted">
                      <span style="padding-left:5px ;line-height:25px;padding-right: 5px; display: block;">
                        <xsl:value-of select="//wnio:TrescDokumentu/wnio:AdresZamieszkaniaOsobyUbiegajacejSie/wnio:NumerLokalu"/>
                      </span>
                    </div>
                  </div>
                </div>
              </div>
              <div style="top: 1002px; left: 0px; width: 880px; position: absolute; height: 221px; ">
                <div style="background-color: #e3e5f4; top: 0px; left: 0px; width: 100%; border-color: #e3e5f4; border-width: 1px; position: absolute; border-style: solid; height: 221px; " class="SofBorderContainer purpleAll">
                  <div style="font-size: 12px; position: absolute; color: #000000; top: 8px; left: 11px; font-weight: bold; " class="SofLabel sectionHeader">ADRES DO KORESPONDENCJI</div>
                  <div style="border: 1px solid black; background-color: white; overflow: hidden; color: #000000; top: -6px; left: 227px; display: block; width: 25px; font-size: 14px; position: absolute; height: 25px; " class="SofCheckBox">
                    <xsl:if test="//wnio:TrescDokumentu/wnio:InnyAdresDoKorespondencji='true'">
                      <span style="text-align: center ; line-height: 25px;  display: block; ">X</span>
                    </xsl:if>
                  </div>
                  <div style="color: #000000; top: 2px; left: 262px; width: 608px; font-size: 12px; position: absolute; text-align: justify; height: 18px; " class="SofLabel justified">Zaznacz jeżeli adres do korespondencji jest inny niż miejsce zamieszkania.</div>
                  <div style="background-color: #ffffff; width: 870px; position: absolute; top: 23px; left: 10px; height: 187px; " class="SofBorderContainer">
                    <div style="font-size: 12px; position: absolute; color: #000000; top: 49px; left: 3px; " class="SofLabel">02. Kod pocztowy</div>
                    <div style="border: 1px solid black; background-color: white; overflow: hidden; color: #000000; top: 62px; left: 3px; display: block; width: 145px; font-size: 18px; position: absolute; height: 25px; " class="SofTextInput">
                      <span style="padding-left:5px ;line-height:25px;display: block;">
                        <xsl:if test="//wnio:TrescDokumentu/wnio:AdresDoKorespondencjiOsobyUbiegajacejSie/wnio:KodPocztowy!= ''">
                          <xsl:value-of select="substring(//wnio:TrescDokumentu/wnio:AdresDoKorespondencjiOsobyUbiegajacejSie/wnio:KodPocztowy, 1, 2)"/>
                          -
                          <xsl:value-of select="substring(//wnio:TrescDokumentu/wnio:AdresDoKorespondencjiOsobyUbiegajacejSie/wnio:KodPocztowy, 3, 4)"/>
                        </xsl:if>
                      </span>
                    </div>
                    <div style="font-size: 12px; position: absolute; color: #000000; top: 49px; left: 171px; " class="SofLabel">03. Miejscowość</div>
                    <div style="border: 1px solid black; background-color: white; overflow: hidden; color: #000000; top: 62px; left: 171px; display: block; width: 697px; font-size: 18px; border-color: #696969; position: absolute; height: 25px; " class="SofComboBox dotted">
                      <span style="padding-left: 5px;display: block;line-height:25px;">
                        <xsl:call-template name="redukcjaCzcionki">
                          <xsl:with-param name="tekst" select="//wnio:TrescDokumentu/wnio:AdresDoKorespondencjiOsobyUbiegajacejSie/wnio:Miejscowosc"/>
                          <xsl:with-param name="bazowyRozmiarCzcionki" select="18"/>
                          <xsl:with-param name="dlugoscPolaWPikselach" select="697"/>
                        </xsl:call-template>
                      </span>
                    </div>
                    <div style="font-size: 12px; position: absolute; color: #000000; top: 5px; left: 3px; " class="SofLabel">01. Gmina / Dzielnica</div>
                    <div style="border: 1px solid black; background-color: white; overflow: hidden; color: #000000; top: 18px; left: 3px; display: block; width: 865px; font-size: 18px; border-color: #696969; position: absolute; height: 25px; " class="SofComboBox dotted">
                      <span style="padding-left: 5px;display: block;line-height:25px;">
                        <xsl:call-template name="redukcjaCzcionki">
                          <xsl:with-param name="tekst" select="//wnio:TrescDokumentu/wnio:AdresDoKorespondencjiOsobyUbiegajacejSie/wnio:GminaDzielnica"/>
                          <xsl:with-param name="bazowyRozmiarCzcionki" select="18"/>
                          <xsl:with-param name="dlugoscPolaWPikselach" select="865"/>
                        </xsl:call-template>
                      </span>
                    </div>
                    <div style="font-size: 12px; position: absolute; color: #000000; top: 93px; left: 3px; " class="SofLabel">04. Ulica</div>
                    <div style="border: 1px solid black; background-color: white; overflow: hidden; color: #000000; top: 106px; left: 3px; display: block; width: 865px; font-size: 18px; border-color: #696969; position: absolute; height: 25px; " class="SofComboBox dotted">
                      <span style="padding-left: 5px;display: block;line-height:25px;">
                        <xsl:call-template name="redukcjaCzcionki">
                          <xsl:with-param name="tekst" select="//wnio:TrescDokumentu/wnio:AdresDoKorespondencjiOsobyUbiegajacejSie/wnio:Ulica"/>
                          <xsl:with-param name="bazowyRozmiarCzcionki" select="18"/>
                          <xsl:with-param name="dlugoscPolaWPikselach" select="865"/>
                        </xsl:call-template>
                      </span>
                    </div>
                    <div style="font-size: 12px; position: absolute; color: #000000; top: 137px; left: 3px; " class="SofLabel">05. Numer domu</div>
                    <div style="border: 1px solid black; background-color: white; overflow: hidden; color: #000000; top: 150px; left: 3px; display: block; width: 169px; font-size: 18px; position: absolute; height: 25px; " class="SofTextInput dotted">
                      <span style="padding-left:5px ;line-height:25px;padding-right: 5px; display: block;">
                        <xsl:value-of select="//wnio:TrescDokumentu/wnio:AdresDoKorespondencjiOsobyUbiegajacejSie/wnio:NumerDomu"/>
                      </span>
                    </div>
                    <div style="font-size: 12px; position: absolute; color: #000000; top: 137px; left: 195px; " class="SofLabel">06. Numer mieszkania</div>
                    <div style="border: 1px solid black; background-color: white; overflow: hidden; color: #000000; top: 150px; left: 195px; display: block; width: 169px; font-size: 18px; position: absolute; height: 25px; " class="SofTextInput dotted">
                      <span style="padding-left:5px ;line-height:25px;padding-right: 5px; display: block;">
                        <xsl:value-of select="//wnio:TrescDokumentu/wnio:AdresDoKorespondencjiOsobyUbiegajacejSie/wnio:NumerLokalu"/>
                      </span>
                    </div>
                  </div>
                </div>
              </div>
              <div style="top: 1222px; left: 0px; width: 880px; position: absolute; height: 16px; ">
                <div style="color: #000000; top: 3px; left: 559px; width: 300px; font-size: 11px; font-family: verdana; position: absolute; height: 14px; text-align: right; " class="SofLabel footnote">wersja: KDR(2)</div>
                <div style="color: #000000; top: 3px; left: 10px; width: 850px; font-size: 11px; font-family: verdana; position: absolute; height: 14px; text-align: center; " class="SofLabel footnote">strona: 1/<xsl:value-of select="count(//wnio:CzlonkowieRodziny/wnio:DaneCzlonkaRodziny) + 3"/></div>
                <div style="border-top: 2px solid black; top: 1px; left: 0px; width: 100%; position: absolute; height: 1px; " class="SofHRule">
                  <span/>
                </div>
              </div>
              </div>
    	
    	</xsl:template>
    	
    	<!-- Druga strona formularza -->
    	<xsl:template name="drugaStronaKDR">		
    		<div style="background-color: white; border: 1px solid black; margin-left: auto; overflow: hidden; width: 880px; page-break-after: always; margin-top: 15px; position: relative; margin-bottom: 15px; height: 1280px; margin-right: auto; text-align: left; ">
              <div style="top: 0px; left: 0px; width: 880px; position: absolute; height: 26px; ">
                <div style="color: #000000; top: 0px; left: 322px; font-weight: bold; width: 545px; font-size: 20px; position: absolute; height: 24px; text-align: right; " class="SofLabel formName">KDR</div>
                <span style="color: #000000; top: 8px; left: 5px; font-weight: normal; width: 300px; font-size: 12px; position: absolute; height: 14px; " class="SofLabel page"/>
                <div style="border-top: 2px solid black; top: 25px; left: 0px; width: 100%; position: absolute; height: 1px; " class="SofHRule">
                  <span/>
                </div>
              </div>
              <div style="top: 35px; left: 0px; width: 880px; position: absolute; height: 165px; ">
                <div style="background-color: #e3e5f4; top: 0px; left: 0px; width: 100%; border-color: #e3e5f4; border-width: 1px; position: absolute; border-style: solid; height: 165px; " class="SofBorderContainer purpleAll">
                  <div style="font-size: 12px; position: absolute; color: #000000; top: 8px; left: 10px; font-weight: bold; " class="SofLabel sectionHeader">DANE KONTAKTOWE</div>
                  <div style="background-color: #ffffff; width: 870px; position: absolute; top: 23px; left: 10px; height: 130px; " class="SofBorderContainer">
                    <div style="width: 234px; font-size: 12px; position: absolute; color: #000000; top: 5px; left: 3px; " class="SofLabel">01. Numer telefonu stacjonarnego</div>
                    <div style="border: 1px solid black; background-color: white; overflow: hidden; color: #000000; top: 18px; left: 3px; display: block; width: 217px; font-size: 18px; position: absolute; height: 25px; " class="SofTextInput dotted">
                      <span style="padding-left:5px ;line-height:25px;padding-right: 5px; display: block;">
                        <xsl:value-of select="//wnio:TrescDokumentu/wnio:DaneKontaktowe/wnio:NumerTelefonuStacjonarnego"/>
                      </span>
                    </div>
                    <div style="width: 235px; font-size: 12px; position: absolute; color: #000000; top: 5px; left: 291px; " class="SofLabel">02. Numer telefonu komórkowego</div>
                    <div style="border: 1px solid black; background-color: white; overflow: hidden; color: #000000; top: 18px; left: 291px; display: block; width: 217px; font-size: 18px; position: absolute; height: 25px; " class="SofTextInput dotted">
                      <span style="padding-left:5px ;line-height:25px;padding-right: 5px; display: block;">
                        <xsl:value-of select="//wnio:TrescDokumentu/wnio:DaneKontaktowe/wnio:NumerTelefonuKomorkowego"/>
                      </span>
                    </div>
                    <div style="width: 856px; font-size: 12px; position: absolute; color: #000000; top: 99px; left: 4px; " class="SofLabel"/>
                    <div style="width: 856px; font-size: 12px; position: absolute; color: #000000; top: 113px; left: 4px; " class="SofLabel"/>
                    <div style="font-size: 12px; position: absolute; color: #000000; top: 49px; left: 3px; " class="SofLabel">03. Adres poczty elektronicznej</div>
                    <div style="border: 1px solid black; background-color: white; overflow: hidden; color: #000000; top: 62px; left: 3px; display: block; width: 865px; font-size: 18px; position: absolute; height: 25px; " class="SofTextInput dotted">
                      <span style="padding-left: 5px;display: block;line-height:25px;">
                        <xsl:call-template name="redukcjaCzcionki">
                          <xsl:with-param name="tekst" select="//wnio:TrescDokumentu/wnio:DaneKontaktowe/wnio:Email"/>
                          <xsl:with-param name="bazowyRozmiarCzcionki" select="18"/>
                          <xsl:with-param name="dlugoscPolaWPikselach" select="865"/>
                        </xsl:call-template>
                      </span>
                    </div>
                  </div>
                </div>
              </div>
              <div style="top: 1223px; left: 0px; width: 880px; position: absolute; height: 16px; ">
                <div style="color: #000000; top: 3px; left: 559px; width: 300px; font-size: 11px; font-family: verdana; position: absolute; height: 14px; text-align: right; " class="SofLabel footnote">wersja: KDR(2)</div>
                <div style="color: #000000; top: 3px; left: 10px; width: 850px; font-size: 11px; font-family: verdana; position: absolute; height: 14px; text-align: center; " class="SofLabel footnote">strona: 2/<xsl:value-of select="count(//wnio:CzlonkowieRodziny/wnio:DaneCzlonkaRodziny) + 3"/></div>
                <div style="border-top: 2px solid black; top: 1px; left: 0px; width: 100%; position: absolute; height: 1px; " class="SofHRule">
                  <span/>
                </div>
              </div>
            </div>
    	</xsl:template>
    	
    	<!-- Dynamiczna strona formularza -->
    	<xsl:template name="dynamicznaStronaKDR">
    		<xsl:param name="BiezacaStrona"/>
    		<xsl:param name="Tlo"/>
    		<xsl:param name="Ramka"/>
    		
    		<div style="background-color: white; border: 1px solid black; margin-left: auto; overflow: hidden; width: 880px; page-break-after: always; margin-top: 15px; position: relative; margin-bottom: 15px; height: 1280px; margin-right: auto; text-align: left; ">
              <div style="top: 0px; left: 0px; width: 880px; position: absolute; height: 26px; ">
                <div style="color: #000000; top: 0px; left: 322px; font-weight: bold; width: 545px; font-size: 20px; position: absolute; height: 24px; text-align: right; " class="SofLabel formName">KDR</div>
                <span style="color: #000000; top: 8px; left: 5px; font-weight: normal; width: 300px; font-size: 12px; position: absolute; height: 14px; " class="SofLabel page"/>
                <div style="border-top: 2px solid black; top: 25px; left: 0px; width: 100%; position: absolute; height: 1px; " class="SofHRule">
                  <span/>
                </div>
              </div>
              <div style="top: 60px; left: 0px; width: 880px; position: absolute; height: 1100px; ">
                <div style="background-color: #e3e5f4; top: 0px; left: 0px; width: 100%; border-color: #e3e5f4; border-width: 1px; position: absolute; border-style: solid; height: 972px; " class="SofBorderContainer purpleAll">
                  <div style="background-color: #ffffff; top: 0px; left: 0px; width: 880px; border-width: 1px; position: absolute; border-style: solid; height: 1100px; " class="SofBorderContainer ">
                    <div style="font-size: 12px; position: absolute; color: #000000; top: 7px; left: 10px; font-weight: bold; " class="SofLabel sectionHeader">DANE CZŁONKA RODZINY  WIELODZIETNEJ - <xsl:value-of select="$BiezacaStrona"/></div>
                    <div style="color: #000000; top: 36px; left: 10px; font-weight: normal; width: 358px; font-size: 14px; font-family: arial; position: absolute; " class="SofLabel global14Normal">Dla członka rodziny wielodzietnej wskazanego poniżej:</div>
                    <div style="color: #000000; top: 75px; left: 71px; font-weight: normal; width: 321px; font-size: 14px; font-family: arial; position: absolute; " class="SofLabel global14Normal">wnoszę o przyznanie Karty Dużej Rodziny</div>
                    <div style="border: 1px solid black; background-color: white; overflow: hidden; color: #000000; top: 67px; left: 37px; display: block; width: 25px; font-size: 14px; position: absolute; height: 25px; " class="SofCheckBox">
                      <xsl:if test="wnio:WnoszeO/wnio:PrzyznanieKDR='true'">
                        <span style="text-align: center ; line-height: 25px;  display: block; ">X</span>
                      </xsl:if>
                    </div>
                    <div style="color: #000000; top: 75px; left: 479px; font-weight: normal; width: 404px; font-size: 14px; font-family: arial; position: absolute; " class="SofLabel global14Normal">nie wnoszę o przyznanie Karty Dużej Rodziny</div>
                    <div style="border: 1px solid black; background-color: white; overflow: hidden; color: #000000; top: 67px; left: 445px; display: block; width: 25px; font-size: 14px; position: absolute; height: 25px; " class="SofCheckBox">
                      <xsl:if test="wnio:WnoszeO/wnio:NiePrzyznanieKDR='true'">
                        <span style="text-align: center ; line-height: 25px;  display: block; ">X</span>
                      </xsl:if>
                    </div>
                    <div style="color: #000000; top: 120px; left: 71px; font-weight: normal; width: 410px; font-size: 14px; font-family: arial; position: absolute; " class="SofLabel global14Normal">wnoszę o wydanie duplikatu Karty Dużej Rodziny</div>
                    <div style="border: 1px solid black; background-color: white; overflow: hidden; color: #000000; top: 113px; left: 37px; display: block; width: 25px; font-size: 14px; position: absolute; height: 25px; " class="SofCheckBox">
                      <xsl:if test="wnio:WnoszeO/wnio:DuplikatKDR='true'">
                        <span style="text-align: center ; line-height: 25px;  display: block; ">X</span>
                      </xsl:if>
                    </div>
                    <div style="color: #000000; top: 159px; left: 71px; font-weight: normal; width: 333px; font-size: 14px; font-family: arial; position: absolute; " class="SofLabel global14Normal">
                      wnoszę o przyznanie Karty Dużej Rodziny
                      <br/>
                      dla nowego członka rodziny wielodzietnej
                    </div>
                    <div style="border: 1px solid black; background-color: white; overflow: hidden; color: #000000; top: 159px; left: 37px; display: block; width: 25px; font-size: 14px; position: absolute; height: 25px; " class="SofCheckBox">
                      <xsl:if test="wnio:WnoszeO/wnio:PrzyznanieKDRNowyCzlonek='true'">
                        <span style="text-align: center ; line-height: 25px;  display: block; ">X</span>
                      </xsl:if>
                    </div>
                    <div style="color: #000000; top: 159px; left: 479px; font-weight: normal; width: 399px; font-size: 14px; font-family: arial; position: absolute; " class="SofLabel global14Normal">wnoszę o przyznanie nowej Karty Dużej Rodziny dla członka rodziny wielodzietnej, który był wcześniej jej posiadaczem</div>
                    <div style="border: 1px solid black; background-color: white; overflow: hidden; color: #000000; top: 159px; left: 445px; display: block; width: 25px; font-size: 14px; position: absolute; height: 25px; " class="SofCheckBox">
                      <xsl:if test="wnio:WnoszeO/wnio:PrzyznanieKDRBylyPosiadacz='true'">
                        <span style="text-align: center ; line-height: 25px;  display: block; ">X</span>
                      </xsl:if>
                    </div>
                    <div style="width: 92px; font-size: 12px; position: absolute; color: #000000; top: 294px; left: 13px; " class="SofLabel">03. Nazwisko:</div>
                    <div style="border: 1px solid black; background-color: white; overflow: hidden; color: #000000; top: 307px; left: 13px; display: block; width: 865px; font-size: 18px; position: absolute; height: 25px; " class="SofTextInput dotted">
                      <span style="padding-left:5px ;line-height:25px;padding-right: 5px; display: block;">
                        <xsl:value-of select="wnio:DaneIdentyfikacyjneCzlonkaRodziny/wnio:Nazwisko"/>
                      </span>
                    </div>
                    <div style="width: 115px; font-size: 12px; position: absolute; color: #000000; top: 206px; left: 13px; " class="SofLabel">01. Imię pierwsze:</div>
                    <div style="border: 1px solid black; background-color: white; overflow: hidden; color: #000000; top: 219px; left: 13px; display: block; width: 865px; font-size: 18px; position: absolute; height: 25px; " class="SofTextInput dotted">
                      <span style="padding-left:5px ;line-height:25px;padding-right: 5px; display: block;">
                        <xsl:value-of select="wnio:DaneIdentyfikacyjneCzlonkaRodziny/wnio:Imie"/>
                      </span>
                    </div>
                    <div style="width: 115px; font-size: 12px; position: absolute; color: #000000; top: 250px; left: 13px; " class="SofLabel">02. Imię drugie:</div>
                    <div style="border: 1px solid black; background-color: white; overflow: hidden; color: #000000; top: 263px; left: 13px; display: block; width: 865px; font-size: 18px; position: absolute; height: 25px; " class="SofTextInput dotted">
                      <span style="padding-left:5px ;line-height:25px;padding-right: 5px; display: block;">
                        <xsl:value-of select="wnio:DaneIdentyfikacyjneCzlonkaRodziny/wnio:ImieDrugie"/>
                      </span>
                    </div>
                    <div style="width: 143px; font-size: 12px; position: absolute; color: #000000; top: 338px; left: 13px; " class="SofLabel">04. Numer PESEL:</div>
                    <div style="border: 1px solid black; background-color: white; overflow: hidden; color: #000000; top: 351px; left: 13px; display: block; width: 265px; font-size: 18px; position: absolute; height: 25px; " class="SofTextInput">
                      <span style="padding-left:5px ;line-height:25px;padding-right: 5px; display: block;">
                        <xsl:value-of select="wnio:DaneIdentyfikacyjneCzlonkaRodziny/wnio:PESEL"/>
                      </span>
                    </div>
                    <div style="width: 360px; font-size: 12px; position: absolute; color: #000000; top: 338px; left: 517px; " class="SofLabel">06. Seria i numer dokumentu potwierdzającego tożsamość:</div>
                    <div style="border: 1px solid black; background-color: white; overflow: hidden; color: #000000; top: 351px; left: 517px; display: block; width: 361px; font-size: 18px; position: absolute; height: 25px; " class="SofTextInput dotted">
                      <span style="padding-left:5px ;line-height:25px;padding-right: 5px; display: block;">
                        <xsl:value-of select="wnio:DaneIdentyfikacyjneCzlonkaRodziny/wnio:SeriaNumerDokumentu"/>
                      </span>
                    </div>
                    <div style="width: 208px; font-size: 12px; position: absolute; color: #000000; top: 338px; left: 301px; " class="SofLabel">05. Data urodzenia: (dd / mm / rrrr)</div>
                    <div style="background-color: white; border: 1px solid black; overflow: hidden; color: #000000; top: 351px; left: 301px; display: block; width: 191px; font-size: 18px; position: absolute; border-style: solid; height: 25px; " class="SofDateField">
                      <span style="padding-left:5px ; line-height:25px; display: block;">
                        <xsl:call-template name="formatDaty">
                          <xsl:with-param name="wartosc" select="wnio:DaneIdentyfikacyjneCzlonkaRodziny/wnio:DataUrodzenia"/>
                        </xsl:call-template>
                      </span>
                      <span/>
                    </div>
                    <div style="color: #000000; top: 406px; left: 14px; font-weight: normal; width: 284px; font-size: 14px; font-family: arial; position: absolute; " class="SofLabel global14Normal">Powyższe dane identyfikacyjne dotyczą:</div>
                    <div style="color: #000000; top: 437px; left: 71px; font-weight: normal; width: 333px; font-size: 14px; font-family: arial; position: absolute; " class="SofLabel global14Normal">rodzica</div>
                    <div style="border: 1px solid black; background-color: white; overflow: hidden; color: #000000; top: 430px; left: 37px; display: block; width: 25px; font-size: 14px; position: absolute; height: 25px; " class="SofCheckBox">
                      <xsl:if test="wnio:IdentyfikacjaCzlonkaRodziny/wnio:Rodzic='true'">
                        <span style="text-align: center ; line-height: 25px;  display: block; ">X</span>
                      </xsl:if>
                    </div>
                    <div style="color: #000000; top: 437px; left: 479px; font-weight: normal; width: 376px; font-size: 14px; font-family: arial; position: absolute; " class="SofLabel global14Normal">małżonka</div>
                    <div style="border: 1px solid black; background-color: white; overflow: hidden; color: #000000; top: 430px; left: 445px; display: block; width: 25px; font-size: 14px; position: absolute; height: 25px; " class="SofCheckBox">
                      <xsl:if test="wnio:IdentyfikacjaCzlonkaRodziny/wnio:Malzonek='true'">
                        <span style="text-align: center ; line-height: 25px;  display: block; ">X</span>
                      </xsl:if>
                    </div>
                    <div style="color: #000000; top: 475px; left: 71px; font-weight: normal; width: 333px; font-size: 14px; font-family: arial; position: absolute; " class="SofLabel global14Normal">dziecka w wieku do 18. roku życia</div>
                    <div style="border: 1px solid black; background-color: white; overflow: hidden; color: #000000; top: 468px; left: 37px; display: block; width: 25px; font-size: 14px; position: absolute; height: 25px; " class="SofCheckBox">
                      <xsl:if test="wnio:IdentyfikacjaCzlonkaRodziny/wnio:DzieckoDo18Lat='true'">
                        <span style="text-align: center ; line-height: 25px;  display: block; ">X</span>
                      </xsl:if>
                    </div>
                    <div style="color: #000000; top: 468px; left: 479px; font-weight: normal; width: 395px; font-size: 14px; font-family: arial; position: absolute; height: 34px; " class="SofLabel global14Normal">dziecka w wieku powyżej 18. roku życia kontynuującego naukę w szkole lub szkole wyższej</div>
                    <div style="border: 1px solid black; background-color: white; overflow: hidden; color: #000000; top: 468px; left: 445px; display: block; width: 25px; font-size: 14px; position: absolute; height: 25px; " class="SofCheckBox">
                      <xsl:if test="wnio:IdentyfikacjaCzlonkaRodziny/wnio:DzieckoPowyzej18LatKontynuacjaNauki='true'">
                        <span style="text-align: center ; line-height: 25px;  display: block; ">X</span>
                      </xsl:if>
                    </div>
                    <div style="color: #000000; top: 571px; left: 71px; font-weight: normal; width: 784px; font-size: 14px; font-family: arial; position: absolute; height: 34px; " class="SofLabel global14Normal">dziecka w wieku powyżej 18. roku życia legitymującego się orzeczeniem o umiarkowanym albo znacznym stopniu niepełnosprawności</div>
                    <div style="border: 1px solid black; background-color: white; overflow: hidden; color: #000000; top: 571px; left: 37px; display: block; width: 25px; font-size: 14px; position: absolute; height: 25px; " class="SofCheckBox">
                      <xsl:if test="wnio:IdentyfikacjaCzlonkaRodziny/wnio:DzieckoPowyzej18LatNiepelnosprawnosc='true'">
                        <span style="text-align: center ; line-height: 25px;  display: block; ">X</span>
                      </xsl:if>
                    </div>
                    <div style="color: #000000; top: 737px; left: 13px; font-weight: normal; width: 224px; font-size: 14px; font-family: arial; position: absolute; " class="SofLabel global14Normal">Okres ważności orzeczenia:</div>
                    <div style="width: 136px; font-size: 12px; position: absolute; color: #000000; top: 713px; left: 219px; " class="SofLabel">07. Data: (dd / mm / rrrr)</div>
                    <div style="background-color: white; border: 1px solid black; overflow: hidden; color: #000000; top: 730px; left: 219px; display: block; width: 191px; font-size: 18px; position: absolute; border-style: solid; height: 25px; " class="SofDateField">
                      <span style="padding-left:5px ; line-height:25px; display: block;">
                        <xsl:call-template name="formatDaty">
                          <xsl:with-param name="wartosc" select="wnio:OkresWaznosciOrzeczenia/wnio:Data"/>
                        </xsl:call-template>
                      </span>
                      <span/>
                    </div>
                    <div style="color: #000000; top: 520px; left: 71px; font-weight: normal; width: 350px; font-size: 14px; font-family: arial; position: absolute; height: 34px; " class="SofLabel global14Normal">
                      dziecka w wieku do 18. roku życia umieszczonego
                      <br/>
                      w rodzinie zastępczej lub rodzinnym domu dziecka
                    </div>
                    <div style="border: 1px solid black; background-color: white; overflow: hidden; color: #000000; top: 520px; left: 37px; display: block; width: 25px; font-size: 14px; position: absolute; height: 25px; " class="SofCheckBox">
                      <xsl:if test="wnio:IdentyfikacjaCzlonkaRodziny/wnio:DzieckoPowyzej18LatRodzinaZastepczaDomDziecka='true'">
                        <span style="text-align: center ; line-height: 25px;  display: block; ">X</span>
                      </xsl:if>
                    </div>
                    <div style="color: #000000; top: 510px; left: 479px; font-weight: normal; width: 394px; font-size: 14px; font-family: arial; position: absolute; height: 51px; " class="SofLabel global14Normal">
                      osoby, w wieku powyżej 18. roku życia, o której mowa
                      <br/>
                      w art. 37 ust. 2 ustawy o wspieraniu rodziny i systemie
                      <br/>
                      pieczy zastępczej
                    </div>
                    <div style="border: 1px solid black; background-color: white; overflow: hidden; color: #000000; top: 520px; left: 445px; display: block; width: 25px; font-size: 14px; position: absolute; height: 25px; " class="SofCheckBox">
                      <xsl:if test="wnio:IdentyfikacjaCzlonkaRodziny/wnio:DzieckoPowyzej18LatPieczaZastepcza='true'">
                        <span style="text-align: center ; line-height: 25px;  display: block; ">X</span>
                      </xsl:if>
                    </div>
                    <div style="color: #000000; top: 804px; left: 14px; font-weight: normal; width: 495px; font-size: 14px; font-family: arial; position: absolute; " class="SofLabel global14Normal">Planowany termin ukończenia nauki w danej szkole lub szkole wyższej:</div>
                    <div style="width: 140px; font-size: 12px; position: absolute; color: #000000; top: 779px; left: 517px; " class="SofLabel">08. Data: (dd / mm / rrrr)</div>
                    <div style="background-color: white; border: 1px solid black; overflow: hidden; color: #000000; top: 796px; left: 517px; display: block; width: 191px; font-size: 18px; position: absolute; border-style: solid; height: 25px; " class="SofDateField">
                      <span style="padding-left:5px ; line-height:25px; display: block;">
                        <xsl:call-template name="formatDaty">
                          <xsl:with-param name="wartosc" select="wnio:PlanowanyTerminUkonczeniaNauki"/>
                        </xsl:call-template>
                      </span>
                      <span/>
                    </div>
                    <div style="color: #000000; top: 834px; left: 14px; width: 856px; font-size: 12px; position: absolute; height: 13px; " class="SofLabel"/>
                    <div style="color: #000000; top: 848px; left: 14px; width: 856px; font-size: 12px; position: absolute; text-align: justify; height: 13px; " class="SofLabel justified"/>
                    <div style="border: 1px solid black; background-color: white; overflow: hidden; color: #000000; top: 730px; left: 457px; display: block; width: 25px; font-size: 14px; position: absolute; height: 25px; " class="SofCheckBox">
                      <xsl:if test="wnio:OkresWaznosciOrzeczenia/wnio:Bezterminowo='true'">
                        <span style="text-align: center ; line-height: 25px;  display: block; ">X</span>
                      </xsl:if>
                    </div>
                    <div style="color: #000000; top: 739px; left: 492px; font-weight: normal; font-size: 14px; font-family: arial; position: absolute; " class="SofLabel global14Normal">bezterminowo</div>
                    <div style="color: #000000; top: 638px; left: 14px; font-weight: normal; font-size: 14px; font-family: arial; position: absolute; " class="SofLabel global14Normal">Stopień niepełnosprawności</div>
                    <div style="border: 1px solid black; background-color: white; overflow: hidden; color: #000000; top: 669px; left: 37px; display: block; width: 25px; font-size: 14px; position: absolute; height: 25px; " class="SofCheckBox">
                      <xsl:if test="wnio:StopienNiepelnosprawnosci/wnio:Umiarkowany='true'">
                        <span style="text-align: center ; line-height: 25px;  display: block; ">X</span>
                      </xsl:if>
                    </div>
                    <div style="border: 1px solid black; background-color: white; overflow: hidden; color: #000000; top: 669px; left: 189px; display: block; width: 25px; font-size: 14px; position: absolute; height: 25px; " class="SofCheckBox">
                      <xsl:if test="wnio:StopienNiepelnosprawnosci/wnio:Znaczny='true'">
                        <span style="text-align: center ; line-height: 25px;  display: block; ">X</span>
                      </xsl:if>
                    </div>
                    <div style="color: #000000; top: 675px; left: 71px; font-weight: normal; font-size: 14px; font-family: arial; position: absolute; " class="SofLabel global14Normal">umiarkowany</div>
                    <div style="color: #000000; top: 675px; left: 225px; font-weight: normal; font-size: 14px; font-family: arial; position: absolute; " class="SofLabel global14Normal">znaczny</div>
                  </div>
                  <div style="background-color: #ffffff; top: 864px; left: 0px; width: 880px; border-width: 1px; position: absolute; border-style: solid; height: 227px; " class="SofBorderContainer ">
                    <div style="font-size: 12px; position: absolute; color: #000000; top: 7px; left: 10px; font-weight: bold; " class="SofLabel sectionHeader">MIEJSCE ZAMIESZKANIA CZŁONKA RODZINY WIELODZIETNEJ - <xsl:value-of select="$BiezacaStrona"/></div>
                    <div style="border: 1px solid black; background-color: white; overflow: hidden; color: #000000; top: 7px; left: 447px; display: block; width: 25px; font-size: 14px; position: absolute; height: 25px; " class="SofCheckBox">
                      <xsl:if test="wnio:InnyAdresZamieszkania='true'">
                        <span style="text-align: center ; line-height: 25px;  display: block; ">X</span>
                      </xsl:if>
                    </div>
                    <div style="color: #000000; top: 9px; left: 482px; width: 388px; font-size: 12px; position: absolute; text-align: justify; height: 44px; " class="SofLabel justified">Zaznacz jeżeli miejsce zamieszkania członka rodziny wielodzietnej jest inne niż miejsce zamieszkania wnioskodawcy.</div>
                    <div style="width: 129px; font-size: 12px; position: absolute; color: #000000; top: 89px; left: 13px; " class="SofLabel">02. Kod pocztowy:</div>
                    <div style="border: 1px solid black; background-color: white; overflow: hidden; color: #000000; top: 102px; left: 13px; display: block; width: 145px; font-size: 18px; position: absolute; height: 25px; " class="SofTextInput">
                      <span style="padding-left:5px ;line-height:25px;display: block;">
                        <xsl:if test="wnio:AdresZamieszkaniaCzlonkaRodziny/wnio:KodPocztowy!= ''">
                          <xsl:value-of select="substring(wnio:AdresZamieszkaniaCzlonkaRodziny/wnio:KodPocztowy, 1, 2)"/>
                          -
                          <xsl:value-of select="substring(wnio:AdresZamieszkaniaCzlonkaRodziny/wnio:KodPocztowy, 3, 4)"/>
                        </xsl:if>
                      </span>
                    </div>
                    <div style="width: 129px; font-size: 12px; position: absolute; color: #000000; top: 44px; left: 13px; " class="SofLabel">01. Gmina / Dzielnica:</div>
                    <div style="border: 1px solid black; background-color: white; overflow: hidden; color: #000000; top: 57px; left: 13px; display: block; width: 865px; font-size: 18px; border-color: #696969; position: absolute; height: 25px; " class="SofComboBox dotted">
                      <span style="padding-left: 5px;display: block;line-height:25px;">
                        <xsl:call-template name="redukcjaCzcionki">
                          <xsl:with-param name="tekst" select="wnio:AdresZamieszkaniaCzlonkaRodziny/wnio:GminaDzielnica"/>
                          <xsl:with-param name="bazowyRozmiarCzcionki" select="18"/>
                          <xsl:with-param name="dlugoscPolaWPikselach" select="865"/>
                        </xsl:call-template>
                      </span>
                    </div>
                    <div style="width: 130px; font-size: 12px; position: absolute; color: #000000; top: 133px; left: 13px; " class="SofLabel">04. Ulica:</div>
                    <div style="border: 1px solid black; background-color: white; overflow: hidden; color: #000000; top: 146px; left: 13px; display: block; width: 865px; font-size: 18px; border-color: #696969; position: absolute; height: 25px; " class="SofComboBox dotted">
                      <span style="padding-left: 5px;display: block;line-height:25px;">
                        <xsl:call-template name="redukcjaCzcionki">
                          <xsl:with-param name="tekst" select="wnio:AdresZamieszkaniaCzlonkaRodziny/wnio:Ulica"/>
                          <xsl:with-param name="bazowyRozmiarCzcionki" select="18"/>
                          <xsl:with-param name="dlugoscPolaWPikselach" select="865"/>
                        </xsl:call-template>
                      </span>
                    </div>
                    <div style="width: 145px; font-size: 12px; position: absolute; color: #000000; top: 177px; left: 13px; " class="SofLabel">05. Numer domu:</div>
                    <div style="border: 1px solid black; background-color: white; overflow: hidden; color: #000000; top: 190px; left: 13px; display: block; width: 169px; font-size: 18px; position: absolute; height: 25px; " class="SofTextInput dotted">
                      <span style="padding-left:5px ;line-height:25px;padding-right: 5px; display: block;">
                        <xsl:value-of select="wnio:AdresZamieszkaniaCzlonkaRodziny/wnio:NumerDomu"/>
                      </span>
                    </div>
                    <div style="width: 142px; font-size: 12px; position: absolute; color: #000000; top: 177px; left: 205px; " class="SofLabel">06. Numer lokalu:</div>
                    <div style="border: 1px solid black; background-color: white; overflow: hidden; color: #000000; top: 190px; left: 205px; display: block; width: 169px; font-size: 18px; position: absolute; height: 25px; " class="SofTextInput dotted">
                      <span style="padding-left:5px ;line-height:25px;padding-right: 5px; display: block;">
                        <xsl:value-of select="wnio:AdresZamieszkaniaCzlonkaRodziny/wnio:NumerLokalu"/>
                      </span>
                    </div>
                    <div style="width: 147px; font-size: 12px; position: absolute; color: #000000; top: 89px; left: 181px; " class="SofLabel">03. Miejscowość:</div>
                    <div style="border: 1px solid black; background-color: white; overflow: hidden; color: #000000; top: 102px; left: 181px; display: block; width: 697px; font-size: 18px; border-color: #696969; position: absolute; height: 25px; " class="SofComboBox dotted">
                      <span style="padding-left: 5px;display: block;line-height:25px;">
                        <xsl:call-template name="redukcjaCzcionki">
                          <xsl:with-param name="tekst" select="wnio:AdresZamieszkaniaCzlonkaRodziny/wnio:Miejscowosc"/>
                          <xsl:with-param name="bazowyRozmiarCzcionki" select="18"/>
                          <xsl:with-param name="dlugoscPolaWPikselach" select="697"/>
                        </xsl:call-template>
                      </span>
                    </div>
                  </div>
                </div>
              </div>
              <div style="color: #000000; top: 32px; left: 10px; font-weight: bold; font-size: 14px; font-family: arial; position: absolute; " class="SofLabel global14Bold">CZĘŚĆ II - Członkowie rodziny wielodzietnej:</div>
              <div style="top: 1223px; left: 0px; width: 880px; position: absolute; height: 16px; ">
                <div style="color: #000000; top: 3px; left: 559px; width: 300px; font-size: 11px; font-family: verdana; position: absolute; height: 14px; text-align: right; " class="SofLabel footnote">wersja: KDR(2)</div>
                <div style="color: #000000; top: 3px; left: 10px; width: 850px; font-size: 11px; font-family: verdana; position: absolute; height: 14px; text-align: center; " class="SofLabel footnote">strona: <xsl:value-of select="$BiezacaStrona + 2"/>/<xsl:value-of select="count(//wnio:CzlonkowieRodziny/wnio:DaneCzlonkaRodziny) + 3"/></div>
                <div style="border-top: 2px solid black; top: 1px; left: 0px; width: 100%; position: absolute; height: 1px; " class="SofHRule">
                  <span/>
                </div>
              </div>
            </div>
            
    		
    	</xsl:template>
    	
    	<!-- Ostatnia strona formularza -->
    	<xsl:template name="ostatniaStronaKDR">
    		
    		<div style="background-color: white; border: 1px solid black; margin-left: auto; overflow: hidden; width: 880px; margin-top: 15px; position: relative; margin-bottom: 15px; height: 1280px; margin-right: auto; text-align: left; ">
              <div style="top: 0px; left: 0px; width: 880px; position: absolute; height: 26px; ">
                <div style="color: #000000; top: 0px; left: 322px; font-weight: bold; width: 545px; font-size: 20px; position: absolute; height: 24px; text-align: right; " class="SofLabel formName">KDR</div>
                <span style="color: #000000; top: 8px; left: 5px; font-weight: normal; width: 300px; font-size: 12px; position: absolute; height: 14px; " class="SofLabel page"/>
                <div style="border-top: 2px solid black; top: 25px; left: 0px; width: 100%; position: absolute; height: 1px; " class="SofHRule">
                  <span/>
                </div>
              </div>
              <div style="color: #000000; top: 35px; left: 6px; font-weight: bold; font-size: 14px; font-family: arial; position: absolute; " class="SofLabel global14Bold">CZĘŚĆ III - Oświadczenia:</div>
              <div style="color: #000000; top: 65px; left: 6px; font-weight: bold; width: 870px; font-size: 14px; position: absolute; text-align: justify; " class="SofLabel justified14Bold">Oświadczam, że:</div>
              <div style="color: #000000; top: 85px; left: 6px; font-weight: bold; width: 870px; font-size: 14px; position: absolute; text-align: justify; height: 15px; " class="SofLabel justified14Bold">− powyższe dane są prawdziwe,</div>
              <div style="color: #000000; top: 104px; left: 6px; font-weight: bold; width: 870px; font-size: 14px; position: absolute; text-align: justify; height: 52px; " class="SofLabel justified14Bold">− jestem umocowany/umocowana do złożenia wniosku o przyznanie Karty Dużej Rodziny lub wydanie duplikatu Karty Dużej Rodziny oraz do odebrania Karty Dużej Rodziny lub duplikatu Karty Dużej Rodziny w imieniu członków rodziny wielodzietnej, wskazanych w niniejszym wniosku.</div>
              <div style="color: #000000; top: 221px; left: 30px; font-weight: normal; font-size: 14px; font-family: arial; font-style: italic; position: absolute; " class="SofLabel global14Italic">Oświadczam, że jestem świadoma/świadomy odpowiedzialności karnej za złożenie fałszywego oświadczenia.</div>
              <div style="top: 321px; left: 8px; width: 869px; position: absolute; height: 52px; ">
                <div style="background-color: #ffffff; width: 100%; position: absolute; top: 0px; left: 0px; height: 52px; " class="SofBorderContainer">
                  <div style="color: #000000; top: 38px; left: 174px; width: 84px; font-size: 12px; position: absolute; height: 14px; " class="SofLabel">(Miejscowość)</div>
                  <div style="border: 1px solid black; background-color: white; overflow: hidden; color: #000000; top: 6px; left: 3px; display: block; width: 457px; font-size: 18px; position: absolute; height: 25px; " class="SofTextInput dotted">
                    <span style="padding-left:5px ;line-height:25px;padding-right: 5px; display: block;">
                      <xsl:value-of select="//wnio:TrescDokumentu/wnio:Miejscowosc"/>
                    </span>
                  </div>
                  <div style="background-color: white; border: 1px solid black; overflow: hidden; color: #000000; top: 6px; left: 469px; display: block; width: 191px; font-size: 18px; position: absolute; border-style: dotted; height: 25px; " class="SofDateField dotted">
                    <span style="padding-left:5px ; line-height:25px; display: block;">
                      <xsl:call-template name="formatDaty">
                        <xsl:with-param name="wartosc" select="//wnio:TrescDokumentu/wnio:Data"/>
                      </xsl:call-template>
                    </span>
                    <span/>
                  </div>
                  <div style="color: #000000; top: 38px; left: 455px; width: 190px; font-size: 12px; position: absolute; height: 14px; text-align: center; " class="SofLabel">(Data: dd / mm / rrrr)</div>
                  <div style="color: #000000; top: 22px; left: 668px; font-weight: normal; width: 202px; font-size: 14px; font-family: verdana; position: absolute; height: 18px; text-align: center; " class="SofLabel paragraph14Normal"/>
                  <div style="color: #000000; top: 41px; left: 679px; width: 182px; font-size: 12px; position: absolute; height: 59px; text-align: center; " class="SofLabel"/>
                </div>
              </div>
              <div style="top: 1223px; left: 0px; width: 880px; position: absolute; height: 16px; ">
                <div style="color: #000000; top: 3px; left: 559px; width: 300px; font-size: 11px; font-family: verdana; position: absolute; height: 14px; text-align: right; " class="SofLabel footnote">wersja: KDR(2)</div>
                <div style="color: #000000; top: 3px; left: 10px; width: 850px; font-size: 11px; font-family: verdana; position: absolute; height: 14px; text-align: center; " class="SofLabel footnote">strona: <xsl:value-of select="count(//wnio:CzlonkowieRodziny/wnio:DaneCzlonkaRodziny) + 3"/>/<xsl:value-of select="count(//wnio:CzlonkowieRodziny/wnio:DaneCzlonkaRodziny) + 3"/></div>
                <div style="border-top: 2px solid black; top: 1px; left: 0px; width: 100%; position: absolute; height: 1px; " class="SofHRule">
                  <span/>
                </div>
              </div>
            </div>
    	</xsl:template>
    </xsl:stylesheet>