a{
    text-decoration: none; color: inherit; display:inline-block;
}
img{
    border: none;
}
strong {
font-weight: 700; font-weight: 800;
}

/*html5*/
header, footer, section, article, main, nav, aside { display:block; }

body{
    margin: 0;
    padding: 0;
    background: url('../img/bg.jpg') no-repeat center 107px #fff;
  	text-align: center;
  	color: #393939;
    font-family: 'Open Sans','Source Sans Pro','Tahoma';
}

div#root{
	width: 1144px;
	clear: both;
	margin: 0 auto;
	min-height: 800px;
  position: relative;
	text-align: center; left:-2px;
}

div#root header#top{
width: 100%;
clear: both;
margin: 0px auto 0px auto;
position: relative;
z-index: 11;
padding: 0px; height: 107px;
float: left;
}

div#root header#top div#logo{
float: left;
width: 310px;
margin: 20px 0px 0px 73px;
z-index: 12; position: relative;
height: 59px;
background: url('../img/logo.png') no-repeat left top;
}

div#root header#top div#logo a {
display: block;
width: 100%;
height: 100%;
}

div#root header#top nav#mainmenu {
width: 700px; height: 27px; margin: 37px 0px 0px 51px;
float: left;
}
div#root header#top nav#mainmenu ul {
width: inherit; height:inherit;
float: left;margin: 0px;
padding: 0px;
}
div#root header#top nav#mainmenu ul li {
list-style: none;
float: left;
margin: 0px 3px;
font-size: 14px;
text-transform: uppercase;
text-align: center;
height: inherit;
}
div#root header#top nav#mainmenu ul li a {
display: block; color: #707070; margin: 0px 0px 0px 0px;
line-height: 25px; font-weight:400; padding: 0px 13px;
}
div#root header#top nav#mainmenu ul li:hover,div#root header#top nav#mainmenu ul li.actual {
background: url('../img/li.png') repeat-x left top;
}
div#root header#top nav#mainmenu ul li:hover a,div#root header#top nav#mainmenu ul li.actual a {
color:#fff;
}

div#root main { width:100%; float:left; margin:0 0 0 0px;}

div#root main section#fader {
float: left; width: 100%;
height: 368px; position:relative;
}
div#root main section#fader section#slider {
float: left; width: 100%;
height: 100%; position:relative;
}
.nivo-directionNav a { width:37px; height:37px; top:150px; position:absolute; z-index:90;
cursor:pointer; border:1px solid #fff; box-shadow:1px 1px 1px #333; }
.nivo-prevNav { background: url('../img/c_left.PNG') no-repeat; left:32px;}
.nivo-nextNav { background: url('../img/c_right.PNG') no-repeat; right:30px; }
.nivo-controlNav {display:none;}

div#root main section#content { width:1000px; height:auto; margin:20px 0 20px 72px; float:left;}

div#flags { position:absolute; width:203px; height:178px; z-index:12; right: 4px; top: -28px;
background: url('../img/flags.png') no-repeat left top; }

div#label { position:absolute; width:436px; height:113px; z-index:12; left: 0px; bottom: 0px;/*
background: url('../img/label.png') no-repeat left top;*/   }
.nivo-caption p {  line-height: 70px; position:absolute;
text-align: center; font-style: italic; color:#fff; text-shadow: 1px 1px #1F1A68; font-weight:800;
font-size:20px; text-transform:uppercase; left:90px; top:240px; padding: 5px;
margin: 10px auto 0;width: 270px;line-height: 30px;padding: 23px 15px 5px;
}
div#label p { display:none; }

div#root main section#content section#tekstowa { width:700px; float:left; margin:0 0; }
div#root main section#content section#tekstowa.index { padding:0 0 0 14px;width:617px; }

section#photo-box { float:left; width:100%; text-align: left;}
section#photo-box img { max-width:200px; height:140px; border:2px solid #fff; box-shadow:2px 2px 4px #ddd;
margin:15px 25px 12px 0; float: left;
 }
section#photo-box img:hover { border:2px solid #238CCD; opacity:0.9; }

h1 { float:left; width:100%; text-align:left; font-weight:700;
margin:10px 0; text-transform:uppercase; font-size:19px; font-weight:800; color:#1379B7;
}
h2 { float:left; width:95.5%; text-align:left; font-weight:700;
margin:5px 0 15px; text-transform:uppercase; font-size:17px; font-weight:800; color:#1379B7;  }
section#tekstowa h2 {
width: 100%; }

div#root main section#content section#tekstowa article {  }
section#tekstowa article p { margin:5px 0 10px; }

article { color:#656565; font-size:16px; line-height:19px;
text-align:justify; float:left; }
article span { float:left;  }

section#tekstowa article.pliki { width: 100%; }
section#tekstowa article.pliki p { width:102%; float:left; margin:10px 0.5% 10px; border:1px solid #ddd;
height:34px; background: url('../img/download.png') no-repeat right top; }
section#tekstowa article.pliki p a { font-size:17px; text-align:left; text-indent:12px; color:#555; font-weight:700;
line-height: 40px; display:block; width:99%;}
section#tekstowa article.pliki p:hover { background: url('../img/dnl.png') no-repeat right top; }


article a {
color: #1379B7; font-weight:800;
}

nav#submenu { width:229px; float:left; margin: 22px 57px 10px 1px; }
nav#submenu ul { width:inherit; float:left; margin:0; padding:0; }
nav#submenu ul li { width:100%; height:39px; float:left; list-style:none; font-size:20px;
background: url('../img/sub_li.png') no-repeat left top; font-weight: 800; margin:5px 0 4px; }
nav#submenu ul li a { color:#fff; line-height:42px; text-indent:12px; display:block; text-align:left; }
nav#submenu ul li:hover, nav#submenu ul li.act { background: url('../img/sub_hover.png') no-repeat left top; }


a.btn { float:left; margin:30px 0 0; background: url('../img/btn.png'); width:125px; height:28px;
}
a.more { background: url('../img/more.png');
}

section#kontakt { width:344px; float:right; margin: 13px 1px 10px 0;
}
section#kontakt article { padding: 10px 0 0 10px; }

section#logotypy { float:left; width:100%; min-height:61px; text-align:center;
padding:20px; border-top:1px solid #ddd; margin: 35px 0 0px;
 }
section#logotypy img { margin:0 auto; display:inline-block; padding:0 25px; max-width:150px; }

div#root main section#content section#tekstowa.kontakt { width:98.5%; margin:0 0 15px 1.5%; }

article#txt { width:30%; float:left; margin:0px 3% 0 0;}
section#form  { width:26.5%; float:left; margin: -2px 10% 0 0; }
section#mapa { width:30%; float:left; margin:-2px 0 0 0; }


section#form input[type=text],section#form input[type=email], textarea {
float: left; width:94%; margin:4px 0 5px; padding:5px 3% 6px; color:#000; font-size:14px; text-align:left;
font-weight:600; border:1px solid #dfdfdf; font-family: 'Open Sans'; background:#fff; }

textarea { width:94.5%; height:125px; max-height:250px; max-width:101%; }
input[type=submit], #sendbutton { margin: 4px -3px 1px 0; float:right; width:97px; height:28px; cursor:pointer;border:0; background: url('../img/send.png'); }

footer { clear: both; width:100%; max-width:1777px; height:34px; margin:25px auto 0;
background: url('../img/lower.png') top left; }
footer div {  width:1000px; height:inherit; margin:0 auto; }
footer div span { font-size:13px; color:#fff; line-height:34px; width:45%; float:left; text-align:left; padding:0 2%; }
footer div span a {  }


input.important {
  max-height: 0;
  margin: 0!important;
  padding: 0!important;
  border: 0!important;
}
