.w100 {width:100px; border-right:solid #6f0 1px; float:left; text-align:right;}
* {margin:0; padding:0; border:0;}
body {background:#eff1e6 url('/images/bcg.gif') repeat-y; color:#555845;
	font:75%/140% arial, verdana, tahoma, sans-serif;}
html>body {font-size:12px;}

#main {width:980px;}

/* header, footer */
#logo {position:absolute; top:0; left:0; width:377px; height:487px;
 	background:url('/images/pavucina.jpg') no-repeat; z-index:-1;}
#logo div {border-right:solid #555845 1px;}
#logo img {margin:30px 0 100px 230px;}
#main2 {position:absolute; top:0; left:350px; width:630px;}
#menu {margin:15px 0 0 22px; padding-top:15px; background:url('/images/lines.gif') no-repeat 18px 0px; width:17em;}
#menu a {display:block; text-decoration:none; padding:3px 0 3px 18px; font-weight:bold;}
#menu a:hover, #menu a.act {background:url('/images/list.png') no-repeat left center; color:#555845;}
div#end {position:relative; left:-350px; width:980px; margin-top:20px; clear:both;
	background:url('/images/end.gif') no-repeat right top; font-size:90%; color:#555845;}
div#end div {padding:6px 0 20px 390px;}
#end a {text-decoration:none;}

/* ALL */
.inv {display:none;}
a:link, a:visited, a:active {color:#555845;}
a:hover {color:#8c9079; text-decoration:none;}
h1,h2 {margin:30px 0 10px 0; padding:2px 0 15px 40px; width:595px; font-size:150%;
 	background:url('/images/heading.gif') no-repeat left bottom;}
h2 {margin:10px 0 2px 0;}
h2.small {font-size:120%; margin-top:30px;}
.content {margin-left:40px;}
.bold {font-weight:bold;}
.small {font-size:90%;}
.rgt {text-align:right;}
.top {vertical-align:top;}

/* index */
.ulIndex {list-style-type:circle; padding:10px 0 10px 15px;}
.banIndex {margin:10px 0;}

/* referencie */
.project {float:left; clear:left; margin-bottom:15px; width:100%;}
.project a img {float:left;}
.project div {margin-left:220px;}
.project h3 {font-size:120%; border-bottom:solid #a9aa8a 1px; padding:2px 0; margin-bottom:10px; font-style:italic}
.project div p.small {font-size:80%;}
.project img.imgv {padding:2px; border:solid #a9aa8a 1px;}

/* cennik */
table.price {border-bottom:3px solid #a9aa8a; border-right:3px solid #a9aa8a;
	width:100%; text-align:right; margin-top:10px; background:#eff1e6;}
table.price td {border-left:1px solid #a9aa8a; border-top:1px solid #a9aa8a; padding:2px 5px;} 
table.price td.desc {text-align:left;} 
table.price td div {padding:2px 0 0 10px; font-size:90%; line-height:100%;}
.footPriceList {font-size:90%; line-height:105%; font-style:italic; margin-top:2px; text-align:right;}
.ulPriceList {list-style-type:circle; padding:0 0 10px 15px;}
.ban {background:#eff1e6; padding:1px 2px; margin:10px 0; text-align:center; border:solid #a9aa8a 1px;}

/* kontakt */
.banContact {position:absolute; right:0; width:150px; height:450px; background:url('/images/design.jpg') no-repeat left center;}
div.minheight {min-height:440px; height:440px;}
*>div.minheight {height:auto;}
.minheight .content {width:400px;}
.h2Contact {width:430px; background:url('/images/heading.gif') no-repeat 65% 100%;}
#info strong {display:block; border-bottom:solid #a9aa8a 1px; margin-top:10px; }
#info span {display:block; text-align:right; padding-right:30px;}
#tabkont {padding-top:10px;}
#tabkont td {padding:1px 2px; text-align:right;}
input, textarea {width:300px; border:solid #b1b7a6 1px; padding:1px;
	font:100% 'luxi sans', arial, verdana, tahoma, sans-serif; color:#555845;}
textarea {overflow:auto;}
input#action {width:100%; background:#a9aa8a; color:white; font-size:100%; cursor:pointer;}
ul.err, div.err {color:#C00; margin:5px}
div.info {color:#093; margin:5px}

/* modal-img */
a.mod {cursor:pointer;}
img.mod_img {visibility:hidden; position:absolute; top:0; left:0; overflow:hidden; cursor:pointer; padding:2px; border:solid #a9aa8a 2px;} 
a.noModal {cursor:default;}

/*err*/
.errImg {float:right; margin:10px 50px 10px 0;}
.ulErr {margin:15px 0 0 30px;}

@media screen and (max-width: 980px) {
    body {background:#eff1e6 url('/images/pavucina-bcg.jpg') no-repeat;}
    #main {width:100%;}
    #logo {width:30%; height:auto; float:left; background:none;}
    #logo div {border:none; text-align:right;}
    #logo img {margin:30px 15px 0 0;}
    #main2 {border-left:solid #a9aa8a 1px; position:static; float:right; width:70%;}
    #menu {margin:15px 0 0 0px; padding-top:15px; background:none;
      position:relative; left:-5px}
    #menu a {padding:3px 0 3px 18px;}
    div#end {margin-top:20px; clear:both; width:auto;
    	background:url('/images/end.gif') no-repeat right top; font-size:90%; color:#555845;}
    div#end div {padding:6px 10px 20px 20px;}
    div#end, h1, h2, .h2Contact {position:relative; left:-10px;}
    h1, h2, .h2Contact {margin:30px 0 2px 0; padding:2px 0 15px 40px; width:auto; background:url('/images/heading.gif') no-repeat right bottom;}
    h2 {margin:10px 0 2px 0;}
    .h2Contact {margin:10px 150px 2px 0;}
    .content {margin:0px 10px;}
    
    .banIndex {overflow:hidden;}
    .project {border:solid #DAD9C5 1px; padding:7px; width:95%;}
    .project img {width:50%; max-width:200px; height:auto; margin:2px 7px 7px 0}
    .project div {margin-left:0px;}
    .banContact {display:none;}
    .h2Contact {margin:10px 0px 2px 0;}
    .minheight .content {width:auto; max-width:400px;}
    input, textarea {width:100%;}
  }
@media screen and (max-width: 400px) {
    #logo {width:auto; float:none; position:static;}
    #logo div {text-align:center;}
    #logo img {margin:10px;;}
    #main2 {float:none; width:auto;}
    #menu {margin:0 0 0 10px; padding-top:0px; background:none; width:auto;}
    #menu a {padding:3px; text-align:center; margin-bottom:1px;}
    #menu a:hover, #menu a.act {background:#a9aa8a; color:#eff1e6;}
  }