html, body, div, span, h1, h2, h3, h4, h5, h6, p, a, abbr, acronym, 
em, font, img, small, strike, strong, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}
legend { display: none; }
input:focus { outline: none }
a { text-decoration: none;}
input { margin: 0 }

/* =Globals
   ----------------------------------------------------*/

body {
    padding: 25px 0 0;
    font: small/1.2 "Trebuchet MS", Verdana, sans-serif;
    color: #fff;
    background: #510602 url(../i/body.gif) 0 0 repeat-x;
}

#content ul, #content ol { margin-left: 20px; line-height: 1.5em;}

p, ul, ol, dl { margin-bottom: 1em; }
dd { margin: 3px 0 14px; }
dt { font-weight: bold; }

h2 {
    width: 588px;
    height: 65px;
    line-height: 35px;
    padding: 20px 0 0 20px;
    font-size: 160%;
    text-transform: uppercase;
    background: transparent url(../i/h2-bg.gif) 0 0 no-repeat;
}

span.tm { font-size: .8em; padding-bottom: 5px;}

/* =Layout
   ----------------------------------------------------*/

#wrap {
	position: relative;
    width: 857px;
    margin: 0 auto;
	padding-bottom: 15px;
    overflow: hidden;
    border-bottom: 1px solid #000;
	text-align: justify;
}

#sidebar { 
    float: left;
    width: 210px;
    padding-right: 20px;
}

#content {
    float: right;
    width: 608px;
    padding-left: 16px;
}

#footer { 
    clear: both; 
    width: 857px;
    margin: 0 auto;
}

/* =Top
   ----------------------------------------------------*/
   
h1 { margin-bottom: 30px; }
   
h1, h1 a, h1 a span {
    display: block;
    width: 857px;
    height: 246px;
	color: #fff;
}

h1 a { position: relative; }
h1 a span {
    position: absolute;
    top: 0;
    left: 0;
    background: transparent url(../i/header.jpg) 0 0 no-repeat; 
}


/* =Sidebar
   ----------------------------------------------------*/

#sidebar { 
    text-align: right;
    text-transform: uppercase;
    font-style: italic;
}

#sidebar li {
    margin-bottom: 8px;
    padding-right: 17px;
    font-size: 120%;
    list-style-type: none;
    background: transparent url(../i/li.gif) 100% 50% no-repeat;
}

#sidebar li sup { font-size: .8em; }

#sidebar li a { color: #fff; }
#sidebar li a:hover { border-bottom: 1px solid #fff; }

#partners {
    position: absolute;
    bottom: 0;
    left: 52px;
	width: 178px;
}

#partners h4 { 
    margin-right: 10px;
    font-size: 120%;
}

#partners a {
    float: left;
    display: block;
    width: 89px;
    height: 101px;
}

#partners a:hover { opacity: .6 }


/* =Content
   ----------------------------------------------------*/
   
#content { 
    min-height: 30em;
    background: transparent url(../i/border.gif) 0 0 repeat-y; 
    font-size: 1.1em;
}

#content a:link { border-bottom: 1px solid #fff; color: #fff; }

#content a:visited { border-bottom: 1px solid #E8FFEA; color: #E8FFEA; }

#content a:hover, 
#content a:focus, 
#content a:active { border-bottom: none; color: #E8FFEA;}

#content h2 a:link,
#content a.read-more:link,
#content h2 a:visited,
#content a.read-more:visited {
	border-bottom: none;
}

#content p,
#content ul,
#content ol,
#content dl { 
    margin-left: 20px;
    font-size: 105%;
}

#content ul { margin-left: 35px; }

.box {
    float: left;
    width: 260px;
    margin-bottom: 10px;
    padding: 20px 18px;
    background: transparent url(../i/h2-ofirmie.jpg) 0 0 no-repeat;
}

.box.margin { margin-right: 15px; }

#content .box p { margin-left: 0; }

#wspolpraca { background-image: url(../i/h2-wspolpraca.jpg); } 
#zezwolenia  { background-image: url(../i/h2-zezwolenia.jpg); } 
#automaty  { background-image: url(../i/h2-automaty.jpg); } 

.box h2 {
    width: 100%;
    height: auto;
    margin-bottom: 10px; 
    padding: 0;
    background: none;
}
.box h2 a { position: relative; }
.box h2 a,
.box h2 a span {
    display: block;
    width: 246px;
    height: 40px;
	cursor: pointer;
}

.box h2 span {
    position: absolute;
    top: 0;
    left: 0;
}

#home h2 { background: none; }
#ofirmie h2 span { background: #530302 url(../i/h2-ofirmie.jpg) -18px -20px;}
#wspolpraca h2 span { background: #530302 url(../i/h2-wspolpraca.jpg) -18px -20px;}
#zezwolenia h2 span { background: #530302 url(../i/h2-zezwolenia.jpg) -18px -20px;}
#automaty h2 span { background: #530302 url(../i/h2-automaty.jpg) -18px -20px;}

.read-more,
.read-more span {
    display: block;
    width: 151px;
    height: 34px;
    color: #fff;
	cursor: pointer;
}

.read-more {
    position: relative;
    margin-top: 1em;
}

.read-more:hover span { background-position: 0 -34px; }

.read-more span {
    position: absolute;
    top:0 ;
    left: 0;
    background: transparent url(../i/button.gif) 0 0 no-repeat;
}

.pdf img { position: relative; top: 1px }
.files li { margin-bottom: 10px; }

#content .vcard p { margin-bottom: .3em; }
#contact p em { font-style: normal; font-weight: bold; }

#content h3 {
	font-size: 120%;
	margin: 0 0 6px 20px;
}

#content h4 {
	font-size: 110%;
	margin: 20px 0 6px 20px;
}

.bank { margin-top: 20px; }

/* =Footer
   ----------------------------------------------------*/

#footer {
    text-align: center;
    line-height: 2.6em;
    color: #C9271A;
    text-transform: uppercase;
    font-style: italic;
    border-top: 1px solid #713532;
}