div#uklad1
{
    position: relative;
    background: #0088BB;
    margin: auto;
    margin-top: 5px;
    width: 600px;
    height: 500px;
}



div#uklad1 div#head
{
    position: absolute;
    color: white;
    font-size: 8pt;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 15px;
    border-bottom: 1px solid white;
    padding-left: 10px;
}


div#uklad1 div#dane
{
    position: absolute;
    background: white;
    color: black;
    top: 19px;
    left: 4%;
    width: 90%;
    margin-bottom: 10px;
    padding: 5px;
    border: 2px solid  #0088BB;
}


div#uklad1 div#dane
{
    background: white;
}



div#plan h3
{
    margin: 0px;
}

div#plan ul 
{
    margin: 2px;
}

div#plan table
{
    width:100%;
    height: 200px;
}

div#plan td
{
    width: 5%;    
    height: 20px;
    border: 1px solid black;
    text-align: center;
}

.lewew {  width:50%;font-weight: bold; text-align:right; vertical-align:top; }
.prawew { width:50%;text-align:left; vertical-align:bottom; }
.centrw { text-align:center; vertical-align:top; }


@media print {
  div { position: static; }
  div#uklad1          { height: auto; width:auto; position: static; margin: 0; padding: 0; background:white; page-break-after: auto; page-break-before: auto; page-break-inside: auto;}
  div#uklad1 div#head { display: none; height: auto; width:auto; position: static; margin: 0; padding: 0; background:white; page-break-after: auto; page-break-before: auto; page-break-inside: auto;}
  div#uklad1 div#dane { height: auto; width:auto; position: static; margin: 0; padding: 0; background:white; page-break-after: auto; page-break-before: auto; page-break-inside: auto;}
  h2.drukhead { color: white; background: black; text-align:center; width:100%; margin:auto; }
}