body{
    background: url(/images/repeatingback.png) black;
    margin-left: 0px;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 0.75em;
    color: white;
    height:100%;
    overflow: -moz-scrollbars-vertical;
}

#container{
    width: 100%;
    min-height:100%;
    position:static;
    margin: 0 auto;
    float: none;
    clear: both;
    background: url(/images/topbg.png) top left repeat-x;
    overflow: hidden;
}

h1, h2, h3, h4, h5, textarea, input{
    color: white;
}

#header{
    float: none;
    clear: both;
    height: 147px;
    width: 800px; 
    margin: auto;
    text-align: center;
}

#header h1{
    display: none;  /*hmm*/
}
#header a{
    display: block;
    height: 147px;
    width: 800px;
    background: url(/images/fulltop.png) center;
}

.bbox{
    float: left;
    clear: none;
    height: 398px;
    background: transparent bottom no-repeat;
}
.bbox img{
    float: left;
    clear: both; 
}
/*******************/
.ofirmie{
    background-image: url(/images/ofirmie_ref.png)
}
.kredyty{
    background-image: url(/images/kredyty_ref.png)
}
.dotacje{
    background-image: url(/images/dotacje_ref.png)
}
.kontakt{
    background-image: url(/images/kontakt_ref.png)
}

.inofirmie{
    background-image: url(/images/ofirmie_inshadow.png)
}
.inkredyty{
    background-image: url(/images/kredyty_inshadow.png)
}
.indotacje{
    background-image: url(/images/dotacje_inshadow.png)
}
.inkontakt{
    background-image: url(/images/kontakt_inshadow.png)
}
/*******************/


#main{ 
    background:url("/images/maxbg.png") repeat-y scroll center center transparent;
    clear:both;
    float:none;
    margin:auto;
    min-height:450px;
    max-height: 40000px;
    position:relative;
    width:800px;
    overflow: auto;
}
#inmain{
    background: transparent url(/images/inbg.png) top center no-repeat;
    min-height: 500px;
    padding-top: 25px;
    height: 100%;
}
.mbox{
    clear:none;
    float:left;
}
#page{
    float:left;
    clear:both;
    position:relative;
    top:-9px;
    width:800px;
}
#page .head{
    background: url(/images/inwhite_top.png) no-repeat;
    height: 78px;
}
#page .head img{
    float: right;
    padding-right: 10px;
}
#page .content{
    background:url("/images/inwhite_bg.png") no-repeat top transparent;
}
#page .content .bbox{
    height:395px;
    left:35px;
    overflow:hidden;
    position:absolute;
    top:10px;
    width:210px;
}
#intext{
    background:url("/images/inwhite_bgrepeater.png") no-repeat scroll 0 218px transparent;
    min-height:280px;
    padding-left:260px;
    width:502px;
    color: black;
}
#page .foot{
    background:url("/images/inwhite_footer.png");
    height:68px;
    position:relative;
    top:-12px;
}

a{
    color: #545454;
    text-decoration: none;
}
a:hover{
    color: white;
    text-decoration: none;
}
a:active{
    color: white;
    text-decoration: none;
}
p{
    padding-right: 2em;
    padding-bottom: 1em;
}

#footer {
    /*width:100%;
    position:absolute;
    bottom:0;
    height:72px;*/
    bottom:0;
    height:72px;
    float: left;
    clear: both;
    position:relative;
    width:100%;
}
#footerin{
    /*background:url("/images/footbg.png") no-repeat scroll 0 0 transparent; 
    height:47px;
    margin:auto;
    padding-top:25px;
    text-align:center;
    width:800px;
    margin: 0 auto;*/
    background:url("/images/footbg.png") no-repeat scroll 0 0 transparent;
    height:47px;
    margin:0 auto;
    padding-top:25px;
    padding-left:250px;
    text-align:center;
    width:550px;/*800px;*/
    position: relative;
}
#footer ul, #footer li{
    display: inline;
    padding: 0 12px;
}

input, textarea{
    color: black;
}

.smallprint{
    font-size: 0.85em;
}
form h4{
    color: black;
    padding-top: 2em;
}

#footer .author{
    position: absolute;
    bottom: 2px;
    right: 2px;
}
#footer .author a{
    color: #404040;
}
#footer .author a:hover{
    color: #505050;
}
#footer .author a:active{
    color: #505050;
}
label{
    display:inline-block;
    margin-top:1em;
}
form .submitter{
    padding-top: 1em;
    text-align: center;
}
label .noclear{
    display: inline;
    margin: 0;
}

label.error{
    color: red;
    padding-left: 10px;
}

#footeritems li{
   display: inline-block;
   list-style: none;
   clear: none;
   float: left;
}

