html, body {
  background-image: url(images/grafika/bg5.png);
	background-color: #ebebff;
	font-family: Myriad Pro, Verdana, Helvetica;

	height: 100%;

	padding: 0px;
	margin: 0px;
}

a { text-decoration: none }

a img { border: none }

h3 {
  color: #2a4895;
  margin: 0px -30px;
  padding: 5px 30px;
  background-color: #ebebff;
  border-top: 1px solid #bdc4e6;
}

.all {
  background-color: #f5f5f5;

  border-left: 2px solid #bdc4e6;
  border-right: 2px solid #bdc4e6;
  
	height: auto !important;
	height: 100%;

	min-height: 100%;

	width: 960px;
	padding: 0px 0px;
	margin: 0px auto;
}

.top {
  text-align: center;
  z-index: 1;
  }

#tleft {  
  background-image: url(images/grafika/top_left.png);
  background-repeat: no-repeat;
  background-position: left top;
  
  width: 750px;
  
  padding-left: 30px;
  margin-left: 105px;
  
  position: absolute;

  }

#tright {
  background-image: url(images/grafika/top_right.png);
  background-repeat: no-repeat;
  background-position: right top;
  
  padding-right: 30px;
  margin-right: 30px;
  }
  
#tmiddle {
  background-color: #ebebff;
  } 

#logo {
  float: left;
  margin-left: 30px;
  }

#menu {
  color: white;
  font-size: 15pt;
  line-height: 40px;
  }

#menu a {
  color: #2a4895;
  text-decoration: none;
  margin: 0px 10px;
  padding: 5px 10px;
  border-bottom: 2px solid #bdc4e6;
  }

#menu a:hover { 
  color: white;
  background-color: #7789bf;
  border: 2px solid #7789bf;
  padding: 5px 8px;
  }

.main {
  float: right;
  margin-top: -265px;/*272px*/
  position: absolute;
  top: 50%;
  width: 960px;
  }
  
.main2 {
  float: left;
  margin-top: 70px;
  }
    
.cube {
  float: left;
  width: 300px;
  height: 161px;
  margin: 10px;
  font-size:1px;
  }
  
#gastro {
  background-image: url(images/grafika/_gastro.png);
  }
#auto {
  background-image: url(images/grafika/_auto.png);
  }
#reality {
  background-image: url(images/grafika/_reality.png);
  }
#polygrafia {
  background-image: url(images/grafika/_polygrafia.png);
  }
#stavby {
  background-image: url(images/grafika/_stavby.png);
  }

#content {
  float: left;
  border-right: 1px solid #bdc4e6;
  padding: 30px 30px;
  width: 540px;
  }

#vertical {
  float: right;
  width: 340px;
  text-align: center;
  }

.rec {
  width: 300px;
  height: 61px;
  margin: 30px;
  font-size:1px;
}

.sub {
  width: 150px;
  height: 31px;
  margin-top: -31px;
  margin-left: 146px;
  font-size:1px;
}

#bgastro {
  background-image: url(images/grafika/_bgastro.png);
  }
#bgastro_sub {
  background-image: url(images/grafika/_gastro_sub.png);
  }
 
#bauto {
  background-image: url(images/grafika/_bauto.png);
  }
#bauto_sub {
  background-image: url(images/grafika/_auto_sub.png);
  }

#breality {
  background-image: url(images/grafika/_breality.png);
  }
#breality_sub {
  background-image: url(images/grafika/_reality_sub.png);
  }  
  
#bpolygrafia {
  background-image: url(images/grafika/_bpolygrafia.png);
  }
#bstavby {
  background-image: url(images/grafika/_bstavby.png);
  }
  
.footer {
  text-align: center;
  }

#cleaner {
  clear: both;
  }
  
#bleft {  
  background-image: url(images/grafika/bottom_left.png);
  background-repeat: no-repeat;
  background-position: left bottom;
  
  width: 460px;

  padding-left: 10px;
  margin-left: -230px;
  position: fixed;
  bottom: 0px;
  left: 50%;
  
  clear: both;
  }

#bright {
  background-image: url(images/grafika/bottom_right.png);
  background-repeat: no-repeat;
  background-position: right bottom;
 
  width: 440px;
  padding-right: 10px;
  }
  
#bmiddle {
  background-color: #ebebff;
  } 

#podpis {
  color: #2a4895;
  font-size: 12pt;
  line-height: 35px;
  
}

