body {
	margin: 0;
	padding: 0;
	background: #2a2a2a url(images/bg_body.jpg) repeat-x;
	position: relative;
}

h1,h2,h3,p {
	margin:0px;
}

img, img a{
	border:none;
}

#bg_wrap {
	height: 649px;
	width: 50%;
	right: 0;
	background: url(images/bg_wrap.jpg) repeat-x;	
	position: absolute;
}
#container {
	background: url(images/hila-1.jpg) no-repeat;
	width: 950px;
	margin: 0 auto;
	overflow: hidden;
	position: relative;
}

#main {
	background: url(images/hila-1.jpg) no-repeat;	
		width: 950px;
		height:649px;
}

#content {
	width:296px;
	height:378px;
	position:relative;
	top:119px;
	left:177px;
	font-family:Tahoma, Geneva, sans-serif;
	color:#ffffff;
	font-size:12px;
	line-height:15px;
}

#header_pic {
	padding-top:24px;
	padding-bottom:6px;
}

#inner_content {
	padding-right:14px;
	padding-left:14px;
	padding-top:1px;
	direction:rtl;
	text-align:right;
}

#current_home {
	position:absolute;
	left: 266px;
}

#current_about {
	position:absolute;
	left: 180px;
}

#current_portfolio {
	position:absolute;
	left: 94px;
}

#current_contact {
	position:absolute;
	left: 8px;
}

/******** menu ********/
#menu {
	padding-top:120px;
	padding-left:8px;
}

#menu a {
	position:relative; 
	/* otherwise the gallery_div hides the buttons
	becasue though u can see that, gallery_div id placed over the menu
	and the menu buttons are pushed down with padding-top.
	if u put position:relative to the menu div as a whole, u can't press the gallery buttons
	so it needs to be applied only to the seperate buttons
	*/
}

#bu_home {
	background: url(images/bu_home.jpg);  
}

#bu_about {
	background: url(images/bu_about.jpg);  
}

#bu_portfolio {
	background: url(images/bu_portfolio.jpg);  
}

#bu_contact {
	background: url(images/bu_contact.jpg);  
}

#menu a {
	float:left;
	padding-right:3px;
	display: block;  
	width: 83px;     
	height: 74px;     
	text-decoration: none;     
	background-position: -9999px 0; 
	background-repeat:no-repeat;
} 
#menu a:hover {
	background-position: 0 0; 
}

/******* contact ********/
#contact_div {
	margin-top:15px;
	height:198px;
	background-color:#2d2d2d;
}

#form_fields {
	width:185px;
	float:right;
}

#contact_title {
	padding-top:3px;
	padding-bottom:13px;
	color:#cde207;	
}

#contact_title, label {
	padding-right: 8px;	
}

#form_fields input, #form_fields textarea {
	background-color:#403e3f;

	direction:rtl;
	text-align:right;
	font-family:Tahoma, Geneva, sans-serif;
	color:#ffffff;
	font-size:10px;
	line-height:12px;
	float:left;
	clear:left;
}

label {
	float:right;
	margin-bottom:8px;
	padding-top:0px;
	clear:right;
	height:23px;
	line-height:24px;
}

input {
	width:127px;
	height:23px;
	border:none;
	margin-bottom:8px;
}

textarea {
	width:127px;
	height:47px;
	border:none;
	overflow:auto;
}

#contact_submit {
	width:57px;
	height:26px;
	padding-top:125px;
	padding-left:13px;
	float:left;
}

/*********** gallery ************/
.gallery_title {
	position:relative;
	top:-11px;
}

#gallery_menu {
	position:relative;
	top:205px;
	left:100px;
}

#gallery_menu a{
	text-decoration: none;
	font-family:Tahoma, Geneva, sans-serif;
	color:#ffffff;
	font-size:12px;
	line-height:15px;
	position:relative; /* fixes a bug in IE: when <a> is display:block, or  in showmenu2 inside a <p>, u can't click on the <a> */
}
#gallery_menu a:hover{
	text-decoration: none;
	font-family:Tahoma, Geneva, sans-serif;
	color:#CCD836;
	font-size:12px;
	line-height:15px;
	position:relative; /* fixes a bug in IE: when <a> is display:block, or  in showmenu2 inside a <p>, u can't click on the <a> */
}

#gallery_div {
	position:relative;
	top:-89px;
	width:280px; /* the padding-left 10px of the last img in every row is ignored by IE7, but in mozilla it is added to the width and pushed the line (so only 3 imgs appear in a line) */
}

.thumb_container {
	background-color:#ffffff;
	float:right;
	margin-left:10px;
	margin-bottom:18px;
	height:60px;
	width:60px;
	overflow:hidden;
	direction:ltr; /* for IE7, otherwise show the right and not left part of the cropped thumb */
}

.thumb_container img {
	cursor: pointer;
}

p.gallery_navigation {
	clear:right;
}

p.gallery_navigation a, p.gallery_navigation a:hover {
	color:#ffffff;
	text-decoration:none;
	position:relative;
	top:-5px;
}
a
{
color:#ffffff;
}
a:hover
{
text-decoration:none;
color:#CCD836;
}
#credit
{
margin-right:10px;
color:#666666;
direction:rtl;
font-size:11px;
font-family:arial;
height:22px;
}
#credit a
{
color:#666666;
direction:rtl;
text-decoration:none;
font-size:11px;
font-family:arial;
height:22px;
}

/******************* lightbox *************************/
#lightbox{	position: absolute;	top: 0!important; padding-top:8px!important;	left: 0; width: 100%; z-index: 100; text-align: center; line-height: 0; }
#lightbox img{ width: auto; height: auto;}
#lightbox a img{ border: none; }

#outerImageContainer{ position: relative; background-color: #2d2d2d; width: 250px; height: 250px; margin: 0 auto; }
#imageContainer{ padding: 10px; }

#loading{ position: absolute; top: 40%; left: 0%; height: 25%; width: 100%; text-align: center; line-height: 0; }
#hoverNav{ position: absolute; top: 0; left: 0; height: 100%; width: 100%; z-index: 10; }
#imageContainer>#hoverNav{ left: 0;}
#hoverNav a{ outline: none;}

#prevLink, #nextLink{ width: 40%; height: 100%; background-image: url(data:image/gif;base64,AAAA); /* Trick IE into showing hover */ display: block; }
#prevLink { right: 0; float: right; margin-right:10px;}
#nextLink { left: 0; float: left; margin-left:10px;}
#prevLink, #prevLink:hover, #prevLink:visited:hover { 
background: url(http://hilaceramics.co.il/templates/hila_template/lightbox/images/prevlabel.gif) right 15% no-repeat; }
#nextLink, #nextLink:hover, #nextLink:visited:hover {
	background: url(http://hilaceramics.co.il/templates/hila_template/lightbox/images/nextlabel.gif) left 15% no-repeat; }

#imageDataContainer{ background-color:#2d2d2d; font-family:Tahoma, Geneva, sans-serif; margin: 0 auto; line-height: 1.4em; overflow: auto; width: 100%	; }

#imageData{ padding:0 10px; color: #ffffff; }
#imageData #imageDetails{ width: 70%; float: right; text-align: right; direction:rtl; }	
#imageData #caption{ font-weight: bold;}
#imageData #numberDisplay{ display: block; clear: right; padding-bottom: 1.0em;	}			
#imageData #bottomNavClose{ width: 66px; float: left;  padding-bottom: 0.7em; outline: none;}	 	

#overlay{ position: absolute; top: 0; left: 0; z-index: 90; width: 100%; height: 500px; background-color: #000; }


#outerImageContainer, #imageDataContainer{
	border: solid #000000 4px; 
}
#imageDataContainer{
	margin-top:-4px;
}

/******************** preview window **************/
#preview_window {
	display: none;
	z-index: 200;
	position:absolute;
	text-align:center;
	direction:rtl;
	font-family:Tahoma, Geneva, sans-serif;
	font-size:12px;
	font-weight:bold;
	padding:4px;
}

#preview_window_top, #preview_window_center, #preview_window_bottom {
	width:300px;
}

#preview_window_center {
	background: url(preview_window/images/preview_window_center.gif) repeat-y;
}

#preview_window_title {
	margin-top:-30px;
	height:30px; /* for mozilla, otherwise the image that comes next begins heigher becasue of the minus margin-top of this div */
	color:#ffffff;
	padding-right:3px;
	padding-left:3px;
}