body {
	background: #f4f4f4 url(images/bg.gif) top center repeat-y;
	margin: 0;
	padding: 0;
	direction: rtl;
	font-size: 14px;
	font-family: Arial, 'Arial Hebrew', sans-serif;
	color: #444;
}

h2 {
	color: #666;
	padding: 0;
	margin: 30px 0 0 0;
	font-weight: normal;
	font-size: 1.6em;
	border-bottom: 1px #ccc solid;
}

h2#subtitle {
	margin: 0;
	padding: 0;
	font-size: 1em;
	font-weight: normal;
	text-align: center;
	border: none;
}

p, ul {
	margin: 5px 0 20px 0;
	list-style-position: inside;
	padding: 0;
}

a {
	color: #222;	
}

#logo {
	width: 300px;
	height: 100px;
	margin: 0 auto;
	background: url(images/logo.jpg) top left no-repeat;
}

#logo a {
	display: block;
	width: 300px;
	height: 100px;	
}

#logo span {
	display: none;
}

ul#nav {
	font-size: 1.2em;
	height: 1.2em;
	margin: 25px 0;
	padding: 3px 0;
	list-style: none;
	text-align: center;
	border-top: 3px #ccc double;
	border-bottom: 3px #ccc double;
}

ul#nav li {
	display: inline;
	padding: 0 10px;
}

ul#nav a {
	color: #555;
	text-decoration: none;
}

ul#nav a:hover {
	color: #999;
	text-decoration: underline;
}

#content {
	width: 700px;
	margin: 20px auto;
	background-color: #fff;
}


#portfolio .item {
	float: right;
	margin: 30px 0 0 25px;
}

#portfolio img {
	border: 2px #ccc solid;
	padding: 1px;
}

#portfolio .itemlink {
	font-size: 0.8em;
	display: block;
	text-align: center;
	color: #555;
}

#portfolio .item p {
	width: 200px;
	font-size: 0.8em;
	margin: 0;
	padding: 4px 0 0 0;
}

.clear { clear: both; }


form {
	margin: 20px 0 0 0;
}

label {
	float: right;
	width: 95px;
}

textarea {
	width: 302px;
	border: 1px #ccc solid;
}

input.align {
	display: block;
	margin: 10px 100px 10px 0;
	width: 200px;
	border: 1px #ccc solid;
}

#footer {
	margin: 30px auto 0 auto;
	border-top: 1px #ccc solid;
	padding-top: 5px;
	font-size: 0.8em;
	text-align: center;
}

#lightbox{	position: absolute;	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: #fff; 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: 49%; height: 100%; background-image: url(data:image/gif;base64,AAAA); /* Trick IE into showing hover */ display: block; }
#prevLink { left: 0; float: left;}
#nextLink { right: 0; float: right;}
#prevLink:hover, #prevLink:visited:hover { background: url(../images/prevlabel.gif) left 15% no-repeat; }
#nextLink:hover, #nextLink:visited:hover { background: url(../images/nextlabel.gif) right 15% no-repeat; }

#imageDataContainer{ font: 10px Verdana, Helvetica, sans-serif; background-color: #fff; margin: 0 auto; line-height: 1.4em; overflow: auto; width: 100%	; }

#imageData{	padding:0 10px; color: #666; }
#imageData #imageDetails{ width: 70%; float: right; text-align: right; font-size: 1.2em; }	
#imageData #caption{ font-weight: bold;	}
#imageData #numberDisplay{ display: block; clear: left; 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; }
