body {
    background: #000 url(../images/bg.jpg) no-repeat top center;
    text-align: center;
    font-family: helvetica, arial, sans-serif;
    font-size: 0.9em;
    color: #707070;
    text-shadow: -1px 1px 0 #fff, 0 0 4px #ccc;
}

.wrap {
    width: 1000px;
    margin: 0 auto;
    text-align: left;
}

a {
    color: #434343;
    text-decoration: none;
}

a:active, a:focus {
    outline: none;
}

p a {
    color: #707070;
    border-bottom: 1px dotted #707070;
}

h1 {
    text-transform:uppercase;
	text-indent:-99999px;
}

h2 {
    font-size: 2.6em;
    color: #0A497C;
    text-transform: capitalize;
    margin-bottom: .5em;
    font-weight: bold;
}

h3 {
    font-size: 1.8em;
    color: #555;
    
    margin-bottom: .5em;
    font-weight: bold;

}

h4 {
    font-size: 1.3em;
    color: #777;
    
    margin-bottom:0;
    font-weight: bold;
}

p {
    line-height: 1.6em;
    font-size: 1.1em;
    margin-bottom: 1.2em;
}

ul {
	margin-bottom: 1.2em;
}


#thread {
	background:url(../images/text-img.png) no-repeat;
	float:right;
	width:225px;
	height:141px;
	margin-right:80px;
	margin-top:10px;
	clear:right;
}

.adress-left {
    float: left;
    width: 130px;
	padding-right:18px;
    margin-bottom: 30px;
	border-right:1px solid #fff;
}

.adress-right {
	float: left;
	padding-left:18px;
	border-left:1px solid #ccc;
	msrgin-left:151px;
	width: 130px;
}

.adress-left p, .adress-right p {
    margin-left: 0 !important;
    line-height: 1em !important;
    font-size: .85em;
}

.left {
    float: left;
}

.right {
    float: right;
}

#header {
    height: 210px;
    clear: both;
    overflow: hidden;
}

#logo {
    float: left;
    width: 303px;
    height: 157px;
    background: url(../images/logo.png) no-repeat;
	margin-top:22px;
}



#text-img {
    background: url(../images/text-img.png) no-repeat;
    height: 134px;
    width: 231px;
    padding-left: 20px;
    float: left;
}

#lang {
    background: url(../images/lang-bg.png) no-repeat;
    height: 33px;
    width: 170px;
    color: #0d5fa1;
    text-align: center;
    float: right;
    line-height: 1.5em;
}

#lang:hover {
    background: url(../images/lang-bg.png) no-repeat 0 -33px;
}

.wrap #header {
    padding: 0 20px 0 20px;
}

.content-header {
    background: transparent url(../images/content-header.png) no-repeat bottom center;
    height: 13px;
}

.content-body {
    background: transparent url(../images/content-body.png) repeat-y;
    text-align: left;
    overflow: hidden;
    position: relative;
}

.content-footer {
    background: transparent url(../images/content-footer.png) no-repeat;
    height: 15px;
    margin-bottom: 40px;
}


#footer small {
    padding: 0 20px 0 20px;
    color: #a0a0a0;
}

ul.tabs {
    list-style: none;
    margin: 0 !important;
    padding-left: 18px;
    height: 28px;
}


ul.tabs li {
    float: left;
    padding: 0;
    height: 28px;
    margin: 0 !important;
}


ul.tabs a {
    background: url(../images/tab.png) no-repeat right top;
    display: block;
    height: 22px;
    text-align: center;
    text-decoration: none;
    padding-top: 6px;
    width: 166px;
    color: #000;
}

ul.tabs a:hover {
    background: url(../images/tab.png) no-repeat 0 -28px;
    height: 21px;
    color: #434343;
    position: relative;
    top: 1px;
}

ul.tabs a.active {
    background: url(../images/tab.png) no-repeat 0 -56px;
    height: 22px;
    color: #0d5fa1;
    top: 0;
}

ul.tabs a.short {
    background: url(../images/tab-short.png) no-repeat right top;
    width: 95px;
}

ul.tabs a.short:hover {
    background: url(../images/tab-short.png) no-repeat 0 -28px;
    width: 95px;
}

ul.tabs a.short.active {
    background: url(../images/tab-short.png) no-repeat 0 -56px;
    width: 95px;
}

ul.tabs a.mid {
    background: url(../images/tab-mid.png) no-repeat;
    width: 131px;
}

ul.tabs a.mid:hover {
    background: url(../images/tab-mid.png) no-repeat 0 -28px;
}

ul.tabs a.mid.active {
    background: url(../images/tab-mid.png) no-repeat 0 -56px;
}

ul.tabs a.long {
    background: url(../images/tab-long.png) no-repeat;
    width: 190px;
}

ul.tabs a.long:hover {
    background: url(../images/tab-long.png) no-repeat 0 -28px;
}

ul.tabs a.long.active {
    background: url(../images/tab-long.png) no-repeat 0 -56px;
}

ul.tabs a.contact {
    background: url(../images/tab-contact.png) no-repeat;
    width: 95px;
    color: #0D5FA1;
}

ul.tabs a.contact:hover {
    background: url(../images/tab-contact-hover.png) no-repeat right top;
}

ul.tabs a.contact.active {
    background: url(../images/tab-short-active.png) no-repeat right top;
    color: #434343;
}

.panel {
    width: 880px;
    margin: 0 auto;
    padding: 25px 60px 40px 60px;
	overflow:hidden;
}


.text {
	float:left;
	width:500px;
}

.col {
	float:left;
	width:250px;
}

.row {
	float:left;
	width:500px;
}

.gallery {
	width:320px;
	float:right;
}
.gallery img {
    border-top: 1px solid #eee;
    border-right: 1px solid #eee;
    border-left: 1px solid #eee;
    border-bottom: 2px solid #dcdcdc;
    width: 310px;
    height: 100px;
    padding: 5px;
    background: white;
    cursor: pointer;
	margin-bottom:15px;

}

.gallery a {
	position:relative;
	    width: 310px;
    height: 100px;
}

.gallery span {
	width:50px;
	height:50px;
	position:absolute;
	z-index:999;
	top:-85px;
	left:130px;
}

.gallery a:hover span {
	width:50px;
	height:50px;
	position:absolute;
	z-index:999;
	background:url(../images/zoom.png) no-repeat;
}

.gallery span#map-zoom {
	width:50px;
	height:50px;
	position:absolute;
	z-index:999;
	top:-180px;
	left:130px;
}

#map_canvas {
    width: 800px;
    height: 600px;
}

.gallery small {
    color: #a0a0a0;
    margin-bottom: 20px;
    display: block;
}

.gallery small a {
    color: #a0a0a0;
    text-decoration: underline;
}

.gallery small a:hover {
    text-decoration: none;
}

.text ul {
    line-height: 1.8em;
    font-size: 1.1em;
    margin-top: .4em;
	float:left;
	width:510px;
} 

.text li {
    background: url(../images/bullet.png) no-repeat 0 0.5em;
    padding-left: 30px;
	margin-left:5px;
}

#response li {
    background: none;
    padding-left: 0;
}

/* the overlayed element */
.simple_overlay {
    /* must be initially hidden */
    display: none;
    /* place overlay on top of other elements */
    z-index: 999999;
    background: url(../images/overlay-bg.png) no-repeat;
    padding: 10px;
    width: 860px;
    height: 660px;
}

img.simple_overlay {
    width: 800px;
    height: 600px;
}

/* default close button positioned on upper right corner */
.simple_overlay div.close {
    background-image: url(../images/close.png);
    position: absolute;
    right: -12px;
    top: -12px;
    cursor: pointer;
    height: 35px;
    width: 35px;
}

#haft-big {
}

#dziewiarstwo-big {
    background: url(../images/gallery/dziewiarstwo-big.jpg);
    height: 737px;
    width: 600px;
}

#lamowka-big {
    background: url(../images/gallery/lamowka-big.jpg);
    height: 604px;
    width: 800px;
}

#park-maszyn-big {
    background: url(../images/gallery/park-maszyn-big.jpg);
    height: 600px;
    width: 800px;
}

#swetry-big {
    background: url(../images/gallery/swetry-big.jpg);
    height: 583px;
    width: 800px;
}

#cekiny-big {
    background: url(../images/gallery/cekiny-big.jpg);
    height: 609px;
    width: 800px;
}

#dzety-big {
    background: url(../images/gallery/dzety-big.jpg);
    height: 614px;
    width: 800px;
}

#map {
    height: 600px;
    width: 800px;
}

#map-thumb {
	width:300px;
	height:300px;
	margin-bottom:20px;
}

.no-bg {
    background: none !important;
}

#container p {
    line-height: 1.6em !important;
    margin-bottom: 0;
}

input[type =
"text"] {
    width: 270px;
    height: 20px;
    margin-top: 3px;
    padding: 3px;
    border-top: 1px solid #eee;
    border-left: 1px solid #eee;
    border-right: 1px solid #dcdcdc;
    border-bottom: 1px solid #dcdcdc;
    background: #fff;
    color: #5F5F5F;
    margin-bottom: 10px;
}

input[type =
"text"]:hover, input[type = "text"]:focus {
    padding: 2px;
    border: 2px solid #dcdcdc;
    background: #EFEFEF;
}

textarea {
    width: 490px;
    height: 150px;
    padding: 3px;
    border-top: 1px solid #eee;
    border-left: 1px solid #eee;
    border-right: 1px solid #dcdcdc;
    border-bottom: 1px solid #dcdcdc;
    background: #fff;
    font: inherit;
    font-size: 83%;
    letter-spacing: 1px;
    color: #5F5F5F;
}

textarea:hover, textarea:focus {
    padding: 2px;
    border: 2px solid #dcdcdc;
    background: #EFEFEF;
}

input[type =
"button"] {
    background: url(../images/submit.png) no-repeat;
    width: 163px;
    height: 43px;
    margin: 10px 0;
    border: none;
    cursor: pointer;
}

input[type =
"button"]:hover {
    background: url(../images/submit.png) no-repeat 0 -43px;
}

.gallery p {
    line-height: 1.6em !important;
    margin-bottom: 0;
}

#main {
    position: relative;
}

.loaderIcon {
    position: absolute;
    top: 30px;
    right: 100px;
}

div.contentWrap {
    height: 600px;
    width: 800px;
    overflow-y: auto;
}



