html{
  background: #C2C2C2;
}

body{
  background: #d9d9d9 url('../img/background-top.jpg') repeat-x 50% 0%;
  color: #fff;
	font-family: Arial, 'Arial CE', 'Lucida Grande CE', 'Helvetica CE', lucida, sans-serif;
    font-size: 0.75em;
    line-height: 1.4em;
  margin: 0;
  padding: 0;
}

/*--------globals-------*/
h1{
  height: 78px;
    width: 166px;
  float: left;
  font-size: 1.5em;
  top: 25px;
  left: 25px;
  line-height: 1.1em;
  margin: 0;
  padding: 0;
  position: absolute;
}

h1 a{
  background: #fff;
  color: #000;
  display: block;
  height: 78px;
    width: 166px;
  text-decoration: none;
  overflow: hidden;
}

h1 span{
  background: url('../img/logo.gif');
  display: block;
  height: 78px;
    width: 166px;
  left: 0;
    top: 0;
  position: absolute;
  z-index: 2;
}

h2, h3, h4{
  clear: left;
	color: #000;
  margin: 0;
  padding: 0.1em 0 0.3em 0;
}

h2{
	font-size: 1.8em;
	font-variant: small-caps;
}

h3{
  font-size: 1.3em;
}

h4{
  font-size: 1.1em;
}

a{
  color: #D51820;
}

a:visited{
}

a:hover{
  color: #000;
}

h2 a, h3 a, h4 a{
  text-decoration: none;
}
img{
  border: 0;
  padding: 0 0.7em 0.7em 0.7em;
}

img.left{
  clear: left;
  float: left;
}

img.right{
  clear: right;
  float: right;
}

img.tiny-align-left{
  clear: left;
  float: left;
}

img.tiny-align-right{
  clear: right;
  float: right;
}

p, address{
  margin: 0;
  padding-bottom: 1em;
}

ul{
  margin: 0 0 0 0.7em;
  padding: 0 0 1em 0.7em;
  list-style: square;
}

hr{
  color: #BCBEC0;
  height: 1px;
  border: none;
  border-top: 1px solid #BCBEC0;
  clear: both;
}

.cleaner{
  clear: both;
  visibility: hidden;
  margin: 0;
  overflow: hidden;
  padding: 0;
  height: 0;
}

table{
  margin-bottom: 1em;
  border-collapse: collapse;
}

td.left{
  text-align: left;
}

td.center{
  text-align: center;
}

td.right{
  text-align: right;
}

th, td{
  padding: 0.1em 0.5em 0.1em 0.5em;
}

th, th a{
}

form{
  margin: 0;
  padding: 0;
}

/*-------site-------*/
#site{
  padding: 34px 0 0 0;
}

#site-content{
  background: #fff url('../img/site.gif');
  color: #333;
  margin: auto;
  width: 888px;
}

#site-cleaner{
  background: url('../img/site-bottom.gif') no-repeat;
  clear: both;
  height: 14px;
}

/*-------header-------*/
#header{
  background: url('../img/header.jpg') no-repeat;
  height: 318px;
  position: relative;
}

#header-info{
  color: #555;
  padding: 130px 0px 0px 25px;
  width: 390px;
  height: 155px;
  text-align: justify;
  overflow: hidden;
}

#lang-switcher-0 ul{
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
    right: 10px;
    top: -17px;
}

#lang-switcher-0 ul li{
  float: left;
  padding-left: 10px;
}

#lang-switcher-0 ul li img{
  padding: 0 4px 0 0;
  margin: 0 0 -1px 0;
}

#navbar-top{
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
    left: 0px;
    top: -23px;
  width: 230px;
}

#navbar-top li{
  float: left;
  padding-right: 7px;
}

#navbar-top li a, #navbar-top li strong{
  background: #fff url('../img/navbar-top.gif') repeat-y;
  border: 1px solid #bdbdbd;
  color: #444;
  display: block;
  font-size: 0.9em;
  font-weight: bold;
  line-height: 25px;
  padding: 0px 10px 0px 10px;
  text-align: center;
}

#navbar-top li strong, #navbar-top li a:hover{
  border-bottom: 1px solid #fff;
  color: #000;
  text-decoration: none;
}
#navbar-top li a:hover{
  color: #D51820;
}

/*-------navbar------*/
#navbar-box{
  float: left;
  padding: 5px 0px 0px 0px;
  width: 105px;
}

#navbar-box ul{
  background: url('../img/navbar-button.gif') no-repeat 50% 0%;
  list-style: none;
  font-size: 1.1em;
  margin: 0;
  padding: 2px 5px 5px 5px;
}

#navbar-box ul li{
  padding-bottom: 2px;
  position: relative;
  background: #aaa url('../img/navbar-button.gif') no-repeat 0% 100%;
}

#navbar-box ul li a, #navbar-box ul li strong, #navbar-box ul li em{
  color: #000;
  display: block;
  font-weight: bold;
  font-style: normal;
  padding: 5px 5px 45px 5px;
  text-decoration: none;
  height: 100%;
  line-height: 15px;
}
#navbar-box ul li strong{
}
#navbar-box ul li a:hover{

}
#navbar-box ul li .o-firme{
  background: url('/images/menu/o-firme.jpg') no-repeat;
}
#navbar-box ul li .produkty{
  background: url('/images/menu/produkty.jpg') no-repeat;
}
#navbar-box ul li .stroje{
  background: url('/images/menu/stroje.jpg') no-repeat;
}
#navbar-box ul li .fotogalerie{
  background: url('/images/menu/fotogalerie.jpg') no-repeat;
}

#navbar-box ul ul{
  background: #fff;
  display: none;
  border: 1px solid #bbb;
    border-bottom: none;
  padding: 0;
  position: absolute;
  left: 95px;
  top: 0px;
  width: 200px;
  z-index: 999;
}
#navbar-box ul ul li{
  background: #fff;
  padding: 0;
}

#navbar-box ul ul li a, #navbar-box ul ul li strong, #navbar-box ul ul li em{
  background: #fff url('../img/navbar-button-sub.jpg') 0% 50%;
  border-bottom: 1px solid #bbb;
  padding: 5px;
  font-size: 0.8em;
  padding-left: 30px;
}
#navbar-box ul ul li a:hover, #navbar-box ul ul li strong{
  background: #fff url('../img/navbar-button-sub-active.jpg') 0% 50%;
  color: #d51820;
}
/*-------sidebar-------*/
#right-sidebar, #mid-sidebar{
  float: right;
  padding: 15px;
  width: 194px;
  overflow: hidden;
  position: relative;
}
/*------main-----*/
#main{
  float: left;
  width: 883px;
}

#main-content, #main-content-small, #main-content-without-sidebars{
  padding: 15px;
  overflow: hidden;
  float: left;
  width: 740px;
}
#main-content{
  width: 524px;
}
#main-content-small{
  width: 300px;
}

/*--------grey-box--------*/

#grey-box{
  background: #c2c2c2;
  border-top: 4px solid #a5a5a5;
  border-top: 8px solid #b8151c;
}
#grey-box-content{
	clear: both;
	color: #fff;
  width: 888px;
  margin: auto;
}

#infobox-paticka{
  color: #444;
  float: right;
  width: 410px;
  padding: 15px;
}
#infobox-paticka a{
  color: #444;
}
#infobox-paticka a:hover{
  color: #000;
  text-decoration: none;
}
#infobox-paticka ul{
  float: left;
  padding-right: 20px;
}

/*--------footer--------*/
#footer-box{
  background: #b8151c;
  background: #C2C2C2;
}
#footer{

border-top: 1px solid #aaa; 
	clear: both;
	color: #888;
	font-size: 0.95em;
	line-height: 22px;
  width: 888px;
  margin: auto;
}

#footer p{
  display: inline;
  margin: 0;
  padding: 0;
  padding-left: 5px;
}

#footer a{
  color: #888;
}

#footer a:hover{
  color: #000;
}

#footer span{
  font-weight: bold;
}

#footer .right{
	float: right; 
	padding-right: 0px;
}

#footer #navbar-footer{
	float: right;
  list-style: none;
  padding: 0;
	padding-right: 5px;
}
#footer #navbar-footer li{
  display: inline;
  padding-left: 7px;
}

/*------buttons------*/

/*------messages-----*/
.error{
  color: #0082cc;
  font-size: 1.3em;
  font-weight: bold;
}

.message{
  color: #000;
  font-size: 1.2em;
  font-weight: bold;
}


/*--------slider----------*/
#slideshow-1 .slideshow-controls{
  background: url('../img/next-prev-box.png');
  position: absolute;
  bottom: 0px;
  right: 0px;
  width: 438px;
    height: 25px;
  padding: 5px;
  text-align: right;
  _background: #B8151C;
  _background: none;
  _filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/img/next-prev-box.png', sizingMethod='scale');
  _margin-bottom: -1px;
}

#slideshow-1 .slideshow-controls div{
  cursor: pointer;
  width: 15px;
  height: 15px;
  position: absolute;
  bottom: 9px;
}

#slideshow-1 .slideshow-prev{
  background: url('../img/slideGallery/arrow-left.gif') no-repeat 50% 50%;
  right: 25px;
}
#slideshow-1 .slideshow-next{
  background: url('../img/slideGallery/arrow-right.gif') no-repeat 50% 50%;
  right: 5px;
}
#slideshow-1 .slideshow-controls div span{
  display: none;
}

#slideshow-1{
  position: absolute;
  top: 4px;
  right: 6px;
  width: 448px;
  height: 299px;
  overflow: hidden;
}
#slideshow-1 .slideshow-item{
  width: 448px;
  height: 299px;
	position: absolute;
	top: 0px;
}

#slideshow-1 .slideshow-item img{
  padding: 0;
  margin: 0;
}
/*------------------*/
.photo-gallery *{
  background: none;
  border: none;
}

.contactForm{
  font-size: 0.9em;
  padding: 10px 0 0 10px;
}
.contactForm table, .contactForm td, .contactForm th{
  background: none;
  border: none;
  color: #000;
  padding: 3px;
}
.contactForm th{
  text-align: right;
  vertical-align: top;
}
.contactForm textarea{
  height: 60px;
/*  width: 345px;*/
}
.contactForm .send-contact{
  text-align: right;
/*  padding-right: 15px;*/
}
.contactForm #cell-label{
  color: #666;
}

table.osobni-kontakty{
  border: 1px solid #C2C3C5;
}

table.osobni-kontakty th{
  text-align: left;
}

table.osobni-kontakty tr{
  border: 1px solid #C2C3C5;
}
