html {
}

body
{
margin:0;
font-size:11px;
font-family:"Verdana";
background:url('../grafika/background.jpg');
color:#666;
margin-bottom:1px;
margin-left: -1px;
overflow-y: scroll;
}

#background-wrapper
{
background:url('../grafika/whole-background.jpg') repeat-y center;
width:100%;
float:left;
min-width:990px;
}
a 
{
text-decoration:none;
color:#c00;
}

a:hover
{
color:#666;
}

a:active
{
outline: none;
}

a:focus
{
-moz-outline-style: none;
}

img
{
border:0;
margin:0;
padding:0;
vertical-align:bottom;
}

#wholePage
{
width:961px;
padding:20px 15px 0px 15px;
background:url('../grafika/top-background.jpg') no-repeat top center;
margin:0px auto;
}

#topBox
{
width:920px;
margin:0px 10px 0px 10px;
padding:20px 10px 0px 10px;
background:url('../grafika/top-top-box.jpg') no-repeat top center; 
float:left;
}

* html * #topBox
{
width:940px;
}

ul#navi
{
width:919px;
height:60px;
background:url('../grafika/navi-background.jpg') no-repeat;
display:block;
list-style:none;
padding:0px 0px 0px 41px;
margin:0px 0px 5px 0px;
position:relative;
float:left;
}

* html * ul#navi
{
width:960px;
}

ul#navi li 
{
margin:13px 35px 18px 0px;
display:block;
float:left;
position:relative;
}

ul#navi li:hover
{
margin:13px 35px 15px 0px;
}

ul#navi li:hover a.link
{
height:32px;
}

ul#navi li a.link
{
width:100%;
height:29px;
display:block;
}

ul#navi li div.sub
{
position:absolute;
width:236px;
top:32px;
display:none;
float:left;
/*background:url('../grafika/menu-background.gif') repeat-y;*/
}

ul#navi li:hover  div.sub
{
display:block;
}

ul#navi li  div.sub img
{
display:block;
}


ul#navi li div.sub ul.submenu
{
display:block;
list-style:none;
padding:0px;
margin:0px;
border-bottom:1px dotted #999;
border-left:2px solid #c00;
border-right:2px solid #c00;
background:white;
}

ul#navi li div.sub img
{
margin:0px;
padding:0px;
vertical-align:bottom;
display:inline;
}

ul#navi li div.sub img.menubottom
{
vertical-align:top;
}

*:first-child+html ul#navi li div.sub
{
left:0px;
}

ul#navi li div.sub ul.submenu li
{
clear:both;
display:block;
margin:0px;
float:none;
}

*:first-child+html ul#navi li div.sub ul.submenu
{
min-width:150px;
display:block;
border-bottom:1px dotted #999;
background:white;
}

ul#navi li div.sub a
{
display:block;
clear:both;
padding:3px 0px 4px 15px;
border-top:1px dotted #999;
color:#c00;
}

*:first-child+html ul#navi li div.sub ul.submenu a
{
width:216px;
}

ul#navi li div.sub a:hover
{
background:#ebebeb;

}

ul#navi li#home
{
background:url('../grafika/buttons/home0.jpg') no-repeat;
width:126px;
}

ul#navi li#home:hover
{
background:url('../grafika/buttons/home1.jpg') no-repeat;
}

ul#navi li#home.nosubmenu:hover
{
background:url('../grafika/buttons/homeN.jpg') no-repeat;
}

ul#navi li#szkolenia
{
background:url('../grafika/buttons/szkolenia0.jpg') no-repeat;
width:94px;
}


ul#navi li#szkolenia:hover
{
background:url('../grafika/buttons/szkolenia1.jpg') no-repeat;
}

ul#navi li#szkolenia.nosubmenu:hover
{
background:url('../grafika/buttons/szkoleniaN.jpg') no-repeat;
}

ul#navi li#dystrybucja
{
background:url('../grafika/buttons/dystrybucja0.jpg') no-repeat;
width:121px;
}

ul#navi li#dystrybucja:hover
{
background:url('../grafika/buttons/dystrybucja1.jpg') no-repeat;
}

ul#navi li#dystrybucja.nosubmenu:hover
{
background:url('../grafika/buttons/dystrybucjaN.jpg') no-repeat;
}

ul#navi li#galeria
{
background:url('../grafika/buttons/galeria0.jpg') no-repeat;
width:79px;
}

ul#navi li#galeria:hover
{
background:url('../grafika/buttons/galeria1.jpg') no-repeat;
}

ul#navi li#galeria.nosubmenu:hover
{
background:url('../grafika/buttons/galeriaN.jpg') no-repeat;
}

ul#navi li#onas
{
background:url('../grafika/buttons/onas0.jpg') no-repeat;
width:68px;
}

ul#navi li#onas:hover
{
background:url('../grafika/buttons/onas1.jpg') no-repeat;
}

ul#navi li#onas.nosubmenu:hover
{
background:url('../grafika/buttons/onasN.jpg') no-repeat;
}

ul#navi li#kontakt
{
background:url('../grafika/buttons/kontakt0.jpg') no-repeat;
width:83px;
}

ul#navi li#kontakt:hover
{
background:url('../grafika/buttons/kontakt1.jpg') no-repeat;
}

ul#navi li#kontakt.nosubmenu:hover
{
background:url('../grafika/buttons/kontaktN.jpg') no-repeat;
}

ul#navi li#kontakt,
ul#navi li#onas,
ul#navi li#galeria
{
margin-left:35px;
}

div#content
{
width:920px;
float:left;
margin:0px 20px;
}

div.boxCol
{
width:440px;
margin:0px 20px;
float:left;
padding-bottom:1px;
}

div.boxCol.white
{
color:white
}

div.boxCol.black
{
color:#666;
}

div.boxCol .box
{
float:left;
width:100%;
}

div.boxCol table
{
/*float:left;*/
}

div#bottomBox
{
width:920px;
margin:0px 10px;
padding:0px 10px 10px 10px;
float:left;
background:url('../grafika/bottom-box-background.jpg') no-repeat bottom;
}

div#bottomNavi
{
float:left;
width:960px;
background:white;
text-align:center;
padding:28px 0px;
}

div#bottomNavi a,
div#bottomNavi span
{
color:#333;
}

div#footerFlash
{
width:100%;
background:url('../grafika/bottom-background.jpg') no-repeat top center;
float:left;
height:50px;
}

div#footerFlash #flash
{
width:960px;
height:50px;
margin:0px auto;
}

.custom1
{
color:#C00;
}

.custom2
{
color:#999;
}

.custom3
{
color:#ccc;
}

div#wholePage.page div#content
{
width:440px;
margin:0px;
color:white;
}


div#wholePage.page div#content div#gallery
{
padding:0px 0px 40px 34px;
float:left;
width:400px;
}

div#wholePage.page div#content div#gallery .photo-row
{
width:100%;
float:left;
margin-bottom:10px;
}

div#wholePage.page div#content div#gallery a
{
display:block;
float:left;
width:120px;
border:1px solid white;
margin:0px 10px 0px 0px;
}

div#wholePage.page div#content div#gallery a img
{
border:0px;
width:120px;
display:block;
}

div#wholePage.page div#content div#gallery div.navi
{
float:left;
width:400px;
text-align:center;
}


div#wholePage.page div#content div#gallery div.navi a
{
display:inline;
border:none;
margin:0;
height:auto;
width:auto;
float:none;
}
 /* BF */
 
div#contact_wrapper
{
	margin-top:15px;
	width:100%;
	text-align:center;
}

div #contact_wrapper div#contact_form
{
	width: 310px; 
	float:none; 
	/*margin-left: 42px; 
	margin-right:auto; */
	text-align:left;
	/*float:left;*/
	font:11px "Verdana";
	color:white;
	margin:0px auto;
}

div#contact_wrapper div#contact_form textarea,
div#contact_wrapper div#contact_form select,
div#contact_wrapper div#contact_form input
{
	font-size:10px;
	font-family:"Verdana";
	width:300px;
	margin-top:2px;
}

div#contact_wrapper div#contact_form dt#imie_i_nazwisko-label,
div#contact_wrapper div#contact_form dt#samochod-label,
div#contact_wrapper div#contact_form dt#nr_telefonu-label,
div#contact_wrapper div#contact_form dt#adres_email-label,
div#contact_wrapper div#contact_form dt#tresc_zapytania-label,
div#contact_wrapper div#contact_form dt#adres_email_znajomej-label,
div#contact_wrapper div#contact_form dt .label
{
margin:3px 0px 1px 0px;
font-size:10px;
}

div#contact_wrapper div#contact_form input#submit
{
width:auto;
}

div#contact_wrapper div#contact_form dt#submit
{
}

div#contact_wrapper div#contact_form select
{
width:300px;
text-align:right;
color:#FF5001;
padding:2px 0px;
}

div#contact_wrapper div#contact_form dt.submit
{
	text-align:right;
	width:305px;
	padding-top:20px;

}

div#contact_wrapper div#contact_form p.hint
{
	margin-top: 5px;
}

div#error
{
	width:100%;
	text-align:center;
	font-weight: bold;
}

/* ======= OVERLAY ======== */
.overlay {
	display: table;
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: url(../grafika/overlay.png);
}

.overlay .window {
	display: table-cell;
	vertical-align: middle;
	display: none;
}

.overlay .inner {
	width: 435px;
	margin: 0 auto;
	padding: 5px;
	overflow: auto;
	background-color: #fff;
	-moz-box-shadow:0 0 90px 5px #000;
	-webkit-box-shadow: 0 0 90px #000;
}

.overlay .close {
	float:right;
	margin: -3px 0 0 0;
}

.overlay .preloader {
	width:100%;
	height:32px;
	background:#fff url(../grafika/ajax-loader.gif) center no-repeat;
}

.overlay .overlayContent {
	display:none;
	overflow:hidden;
}

.overlay ul, .overlay li {
	overflow:hidden;
	margin:0px;
	padding:0px;
	padding-left:5px;
	list-style:none;
}

.overlay li {
	margin:20px 0;
}

.overlay input {
	width:210px;
	border:1px solid #686868;
}

.overlay label.required {
	font-weight:bolder;
}

.overlay label {
	float:left;
	line-height:18px;
	margin:0px 20px;
}

.overlay .checkbox input, .overlay .submit input {
	float:left;
	width:auto;
	height:auto;
}

.overlay .checkbox label, .overlay .errors {
	float:left;
	width:365px;
	margin: 0 10px;
	line-height:normal;
}

.overlay .errors, .overlay .errors li {
	margin:5px 0px 0px 0px;
	color:#C00;
}

.overlay .checkbox label {
	text-align:justify;
}

.overlay .submit {
	margin-top:0px;
}

.overlay .submit input {
	float:right;
	border:none;
}

h2 {
	color:#fff;
	font-family:"Trebuchet MS";
	font-size:13pt;
}
