/*      GLOBAL      */

*{margin: 0; padding: 0;}    

body{
  font: 75% arial, helvetica, sans-serif;
  background: #B8C930 url(../img/bg.gif) repeat-x;
  color: #202020;
  text-align: center;  
}

h1{font-size: 1.5em; color: #321F6E; padding-top: 15px;}
h2{font-size: 1.4em; font-weight: normal; display: inline;}
h3{font-size: 1.2em; margin-bottom: 5px;}

h2.subtitle { display: block; padding-bottom: 10px;}
h2.subtitle2 {
    display: block; 
    clear: both; 
    padding-bottom: 10px; 
    padding-top: 10px;  
    margin-top: 10px; 
    border-top: 1px solid #AFBFD1;
}
  
a {color: #589600; text-decoration: underline;}
a visited {color: #589600;}
a:hover {color: #202020; }

a.box-li, a.box-li:visited {
color: #202020;
}
img{border: 0; margin: 0; padding: 0;} 
 
hr {display: none;}

ul {margin-left: 20px;}

#page{
  width: 759px;
  text-align: left;
  margin: 0 auto;
  background: #4F7093; 
}

/* HEADER */

#header{
  clear: both;
}

.logo{
  position: relative;
  float: left;
  width: 210px;
}

#header h1 a span{  
  display: block;
  width: 210px;
  height: 128px;
  background: url(../img/logo-envitech-bohemia.jpg) no-repeat;
  position: absolute;
  top: 0px;
  left: 0px;
  z-index: 2;
  cursor: pointer;  
}

.header-2{
  float: left;
  width: 549px;
  height: 128px;
  background: url(../img/bg-header-2.jpg) no-repeat;
}

.header-3{ 
  width: 759px;
  height: 77px;
  background: url(../img/bg-header-3.jpg) no-repeat; 
}

.search-1{
  float: left;
  margin-top: 24px;
}

.search-input{
  color: white;
  background: #638AB3;
  border: 1px inset #9EB9D5;
  width: 130px;
  margin-left: 40px;
  padding: 1px 2px;  
}

.search-2{
  float: left;
  margin-top: 24px;
  margin-left: 10px;
}

.header-4{ 
  float: left;
  width: 180px;
  height: 60px;
  background: url(../img/bg-header-4.jpg) no-repeat; 
}

.header-menu-l{
  float: left;
  width: 15px;
  height: 60px;
  background: url(../img/bg-menu-l.gif) no-repeat;
}

.header-menu-r{
  float: left;
  width: 28px;
  height: 60px;
  background: url(../img/bg-menu-r.gif) no-repeat;
}

.header-menu{ 
  float: left;
  width: 536px;
  height: 60px;
  background: url(../img/bg-menu.gif) repeat-x; 
}

/* MENU HLAVNI */

#navigation a{
  color: #36159E;
  text-decoration: none;
}

#navigation a:hover{
  color: #EA30DB;
}

.menu-ul{
  margin-top: 13px;	
}

.menu-ul li{
  float: left;
  display: inline;
  list-style: none;
  margin-right: 10px;
}

/* MENU LEFT */
#content .left {
    margin-top: 10px;
}
#content .left ul.left-menu a {
    color: white;
    display: block;
    padding-top: 4px;
    padding-bottom: 4px;  
    padding-left: 4px; 
    width: 90%;
    text-decoration: none;
}
#content .left ul.left-menu a:hover, #content .left ul.left-menu a.select:hover {
    background-color: white;
    color: #33495D;
}
#content .left ul.left-menu {
    padding: 0px;
    margin: 0px;
    margin-left: 15px;
    list-style-type: none;
}
#content .left li {
    padding: 0px;
    margin: 0px;
    border: 1px solid #4F7093; 
}
#content .left ul.left-menu a.select {
   
    background-color: #567CA0;
}

/* CONTENT */

#content{

}

.main{
  float: right;
  width: 579px;
  background: url(../img/bg-main.gif) repeat-y;
  
}

.obsah{
  width: 579px;
  background: url(../img/bg-obsah.gif) no-repeat;
}

.obsah-inner{
  padding-left: 15px;
  width: 530px;
}

.obsah-inner p{
  line-height: 150%;
  margin-bottom: 15px; 
}

.boxes li{
  list-style: none;
}

.box-li{
  display: block;
  width: 531px;
  height: 119px;
  background: url(../img/bg-box.gif) no-repeat;
  text-decoration: none;
}

.box-li img{
  width: 122px
  height: 88px;
  border: 6px solid white;
  margin: 9px 20px 0 9px;
  float: left;
}

.box-title{
  font-size: 1.3em;
  font-weight: bold;
}

.box-text{
  padding: 0 5px 0 0;
}

.obsah-paticka{
  width: 579px;
  height: 22px;
  background: url(../img/bg-obsah-paticka.gif) no-repeat;
}

.left{
  float: left;
  width: 180px;
  color: white; 
}

.novinka-top{
  width: 178px;
  margin-left: 1px;
  font-size: 0.9em;
  background: #638AB3;
  border-top: 1px solid #8BABCC;
  padding: 5px 0;
}

.novinka-date{
  float: right;
  padding: 0 9px;
  font-style: italic;
}

.novinka-headline{
  margin: 0 9px;
  font-weight: bold;
  text-align: left;
}

.novinka-body{
  width: 178px;
  margin: 5px 0 20px 0;
}

.novinka-body a{
  color: #D3EC3E;
}

.novinka-body a:hover{
  color: #EA30DB;
}

.novinka-text{
  margin: 0 9px;
}

.novinka-archiv{
  text-align: center;
  font-weight: bold;
  padding: 5px 0;
}

.novinka-archiv a{
  color: #D3EC3E;
}

.novinka-archiv a:hover{
  color: #EA30DB;
}

.big{
  font-size: 1.2em;
}

/* FOOTER */

#footer{
	color: #4F7093;
  background: white;
  padding: 15px;
}

#footer a{
	color: #4F7093;
}
/*      SPECIAL CLASSES       */

.break {clear: both; line-height:0px; font-size: 0px; height: 0px; margin: 0;}
.hidden {display: none;}
.float-r { float: right;}
.float-l { float: left;}


/*********** TOP MENU ***********/
/****** kod ktory z LI zoznamu urobi CSS pop-up menu ******/
/****** nemenit!! mozne menit iba dole pod "Make up" ******/
#menu {
/*	position: absolute;
	top: 182px;
 	left: 0px;
	width: 761px;
	height: 29px;
	z-index: 10;
	background: #75A7B9 url('../images/menu-back.png') top left repeat-x;
*/
}
body {
	behavior:url("/templates/envitech/css/csshover.htc"); /* update for IE browsers */
}
/****** CSS MENU ******/
#menu {
	/*
	height: ??;
	Since we are floating all LIs, then you need to set height in the make-up part, if you want to place some background on the menu
	
	display: block;*/
}

#menu ul {
	margin: 0;
	padding: 0;
	border: 0;
	list-style-type: none;
}

#menu li {
	margin: 0;
	padding: 0;
	border: 0;
	display: block;
	float: left;
	position: relative;
}

#menu a {
	display: block;
}

* html #menu li a {
	position: relative;/* Fix IE6's inability to expand clickable area */
}

#menu li ul {
	visibility: hidden;
	position: absolute;
	z-index: 10;
}

/* using display is better (no scrollbars when page loads), but IE can't handle it, so only good browsers should see this */
html>body #menu li ul {
	display: none;
}

#menu li li {
	width: 100%;
}

/* fix the position */
#menu li li ul {
	top: 0;
	left: 100%;
}

/* simulate child selector for IE */
div#menu li:hover ul,
#menu li:hover li:hover ul,
#menu li:hover li:hover li:hover ul {
	visibility: visible;
}
div#menu li:hover li ul,
#menu li:hover li:hover li ul,
#menu li:hover li:hover li:hover li ul {
	visibility: hidden;
}

/* do the normal show, with increased specificity, for good browsers */
#menu ul#menuList li:hover>ul {
	display: block;
	visibility: visible;
}


/*		------   Make-up	--------			*/

#menu {
	font-family: "Arial CE", "Helvetica CE", Arial, helvetica, sans-serif;
    margin-top: 8px;
	color: #202020;
	height: 28px;/* 	Height mentioned above	 */
	z-index:100;
	
}

#menu a {
	text-decoration: none;
	text-align: center;
	color: #202020;
	padding-top: 3px;
	padding-bottom: 2px;
	padding-left: 9px;
	padding-right: 9px;
}

#menu li {
	margin: 1px;
	padding: 1px;
}
#menu li:hover, #menu li.select {
	background-color: #C4D43F;
	color: #202020;
}
#menu li a:hover {
	color: #202020;
}
#menu li li {
	width: 175px;/* 	we can't use 100% because LIs have margin and padding (although latter is more important) */
}

#menu li ul {
	color: #000;
	background-color: #DBF477;
	background-image: url(../images/iconbg.gif);
	background-repeat: repeat-y;
	border: 1px solid #95B70F;
	width: 180px;
}
#menu li ul a {
	text-align: left;
	padding-left: 9px;
}
#menu li ul li ul {
	margin-top: 3px;
	margin-left: -2px;

}
#menu li ul a.submenu {
	background-image: url(../images/arrow.gif);
	background-repeat: no-repeat;
	background-position: 100% 5px;
}
#menulist {
	position:absolute;
}

/*		------   Specific fixes	(thank to W3C for these) --------			*/
/* 
		I'm gonna move the submenus 5px up
		5px works fine here and it is roughly calculated as:
			padding-bottom + margin-bottom + border-bottom of the LI
			+
			*-top values of the LI
			
		Mostly it needs a bit of trial and error.
		Basic idea is to remove the scrollbar when menu re-positioning is perfomed. Of course, script could take care of that, but that takes too much code - this is easier.
*/
#menu li li ul {
	margin-top: -5px;
}
/*********** TOP MENU END ***********/

.product {
    width: 240px;
    height: 120px;
    margin: 8px;
    float: left;
    overflow-y: hidden;
    
}
.product img {
    vertical-align: middle;
}
.product p {
    margin-top: 10px;
}
.product h2 {
    line-height: 130%;
}

.gallery tr td {
    font-size: 11px;
}
.gallery tr td a {
text-decoration: none;
    color: black;
}


/* VLAJKY */

.header-2 {

    position: relative;

}

#vlajky {

    position: absolute;

    top: 10px;

    left: 495px;

    width: 50px;

    height: 20px;

    z-index: 100;

    text-align: left;

}

#vlajky img {

    border: 1px solid black;

}

