/******************* main elements **********************/
html, body, ul, ol, li, p, h1, h2, h3, h4, h5, h6, form, fieldset, a, div, img, input, fieldset, blockquote, cite
{
    margin: 0;
    padding: 0;
    border: 0;
}

.clear{clear: both;}
.space{height: 35px;}
.left{float: left;}
.right{float: right;}

html
{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 62.5%;
    height: 100%;
}

body
{
	font-size: 1.2em;
	color: #fff;
	height: 100%;
	background: #505558 url(../images/top-line.gif) repeat-x;
}


/******************* main text area elements *******************/
a
{
	color: #999999;
	text-decoration: underline;
}

a:hover
{
	color: #CCCCCC;
}

h2{
    font-size: 1.6em;
    padding: 0 0 15px 0;
}

h3{
	font-size: 1.2em;
	text-transform: uppercase;
	margin: 0 0 20px 0;
	color: #CCCCCC;
	padding: 0 0 10px 0;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #787979;
}

h4{
    font-size: 1.2em;
    font-weight: bold;
    margin: 0 0 15px 0;
    color: #0091ff;
    padding: 15px 0 0 0;
}

table{
    margin: 0 0 10px 0;
    border-collapse: collapse;    
}

th, td{
    padding: 5px 40px 5px 15px;
    text-align: left;
    border: 1px solid #00387E;
    background: #002459;
}

th{
    background: #003E89;
}

#main img{
    border: 4px solid #454444;
}

#main p{
    padding: 0 0 18px 0;
    line-height: 1.6;
}

#main p strong{
    font-size: 1.2em;
}

#text h3{
    padding: 10px 0;
}

#text ul, #text ol{
    padding: 0 0 15px 30px;
    line-height: 1.6;
}

#text ul ul, #text ul ol, #text ol ol, #text ol ul{padding: 0 0 0 30px;}

blockquote{
    font-size: 0.9em;
    width: 100%;
    border-left: 3px solid #0091FF;
    margin: 0 0 15px 0;
    padding: 5px 0 5px 20px;
}

#main #text blockquote p{padding: 0;}

blockquote cite{
    font-style: italic;
    font-weight: bold;
    color: #dadada;
}

/********************** main horizontal menu ***************/

#mainmenu{
    float: right;
    width: 700px;
    padding: 20px 3px 0 0;
}

#mainmenu ul{
    float: right;
    list-style: none;
}

#mainmenu ul li{
    float: left;
    padding: 0 0 0 55px;
}

#mainmenu ul li a{
    font-family: Verdana, Arial, sans-serif;
    text-decoration: none;
    color: #fff;    
}

#mainmenu ul li a:hover, #mainmenu ul li a.active{
	color: #f99805;
}


/***************************** main elements *******************/

#wrapper{
    width: 900px;
    margin: 30px auto -90px auto; 
    background: transparent url(../images/header-back.gif) no-repeat;
    min-height: 100%;
    height: auto !important;
    height: 100%;
}

#logo{
	position:relative;
	width: 160px;
	float: left;
	padding: 10px 0 0 0;
}

#tab{
    float: right;
    width: 132px;
    height: 20px;
    background: url(../images/tab-back.gif);
    color: #fff;
    position: relative; bottom: 30px;
    text-align: center;
    padding: 6px 0 0 0;
}

#tab a{
    color: #fff;
    text-decoration: none;
}

#header, #main{
    float: left;
    width: 900px;
}

#header{
	height: 150px;
	padding-top: 0;
	padding-right: 0;
	padding-bottom: 35px;
	padding-left: 0;
}

#first-part{
    width: 900px;
    float: left;
    margin: 0 0 25px 0;
}

#rotating-images{
	width: 535px;
	height: 312px;
	overflow: hidden;
	float: right;
	position: relative;
	bottom: 25px;
	left: 20px;
	background-image: url(Firma%20budowlana);
}

#rotating-images p{
	width: 500px;
	height: 50px;
	left:1px;
	background: transparent url(../images/opacity-back.png) repeat;
	position: relative;
	margin-top: -75px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
	padding-top: 15px;
	padding-right: 0px;
	padding-bottom: 3px;
	padding-left: 30px;
}


#first-part h2{
	font-weight: normal;
	font-size: 1.8em;
	color: #CCCCCC;
	line-height: 0.9;
	background: #454444;
	padding: 18px 15px;
}

#first-part h2 span{
	color: #999999;
	font-size: 0.8em;
}

#featured{
    width: 345px;
    float: left;
    margin: 40px 0 0 0;
}

.button{
    width: 94px;
    height: 21px;
    display: block;
    background: url(../images/button-back.gif);
    color: white;
    text-align: center;
    text-decoration: none;
}
.button:hover{color: white;}

#second-part{
    width: 900px;
    background: url(../images/divider.gif) no-repeat;
    padding: 45px 0 0 0;
}

.property-front{
    width: 208px;
    float: left;
}

.property-front img{
    width: 200px;
    height: 120px;
    margin: 0 0 5px 0;
}

.section-1{
    float: left;
    width: 440px;
}

.section-2{
    float: right;
    width: 440px;
}

.section-1 h3, .section-2 h3{
    margin-right: 3px;
    margin-left: 2px;
}

.last{
    position: relative; left: 22px;
}

#second-part p{
    font-size: 0.9em;
    padding: 0;
}

#third-part{
	width: 900px;
	float: left;
	margin-top: 10px;
	margin-right: 0;
	margin-bottom: 30px;
	margin-left: 0;
}

#text{
    width: 530px;
    float: left;
}

#sidemenu{
    width: 285px;
    float: right;
    padding: 0 5px 0 0;
}

#sidemenu ul{
    list-style: none;
}

#sidemenu li{
    padding: 0 0 0 25px;
    margin: 0 0 15px 0;
    background: url(../images/tick.gif) no-repeat left center;
}

#sidemenu li a{
    color: white;
}

.portfolio-piece{
    clear: left;
    margin: 0 0 40px 0;
}

.portfolio-piece h3{
    margin: 0 0 15px 0;
}

.portfolio-piece img{
    float: left;
    width: 200px;
    margin: 0 20px 5px 0;
}

/******************* footer *****************************/

.push{height: 90px;}

#footer{
    height: 90px;
    background: transparent url(../images/footer-back.gif) repeat-x left bottom;
}

#footerwrap{
    width: 900px;
    margin: 0 auto;
}

#left-footer{
    width: 600px;
    float: left;
    padding: 35px 0 0 0;
}

#right-footer{
    width: 300px;
    float: right;
    text-align: right;
    padding: 35px 0 0 0;
}

#footer p{
    font-size: 0.9em;
    color: black;
    line-height: 1.7;
}

#footer p a{
    color: #0046b0;
}

#left-footer .left p.division{
    border-right: 1px solid #adadad;
    padding: 0 10px 15px 0;
    margin: 0 10px 0 0; 
}

/**************** contact form **************************/

input, select, option{
  height: 18px;
}

input, select, textarea{
	border: solid 1px #fff;
	background: #999999;
	width: 190px;
	color: white;
}

option{background: white;}

textarea{
	width: 400px;
}

input.submit-button{
	width: 94px;
    height: 21px;
    display: block;
    background: url(../images/button-back.gif);
    
    text-align: center;
    text-decoration: none;
}
