.photoGall #thumbs{direction: ltr}
.photoGall #gallery{direction: ltr}
.photoGall p, li {
	line-height: 1.8em;
}
.photoGall pre {
	font-size: 1.2em;
	line-height: 1.2em;
	overflow-x: auto;
}
.photoGall div#page {
	width: 710px;
	background-color: #fff;
	margin: 0 auto;
	text-align: left;
	border-color: #ddd;
	border-style: none solid solid;
	border-width: medium 1px 1px;
}
.photoGall div#container {
	padding: 20px;
}
.photoGall div#ads {
	clear: both;
	padding: 12px 0 12px 66px;
}
.photoGall div.pacontent {
	/* The display of content is enabled using jQuery so that the slideshow content won't display unless javascript is enabled. */
	display: none;
	float: right;
	width: 710px;
	background: #777;
	border-radius: 6px;
}
.photoGall div.pacontent a,.photoGall  div.navigation a {
	text-decoration: none;
	color: #777;
}
.photoGall div.pacontent a:focus,.photoGall  div.pacontent a:hover, .photoGall div.pacontent a:active {
}
.photoGall div.controls {
	height: 28px;
	padding: 5px;
}
.photoGall div.controls a {
	padding: 5px;
	float: right;
}
.photoGall div.ss-controls {
	float: left;
}
.photoGall div.nav-controls {
	float: right;
	direction: rtl;
}
.photoGall div.nav-controls a{
	float: left;
}
.photoGall div.slideshow-container {
	position: relative;
	clear: both;
	background: #666;
	height: 502px; /* This should be set to be at least the height of the largest image in the slideshow */
}
.photoGall div.loader {
	position: absolute;
	top: 0;
	left: 0;
	background-image: url('loader.gif');
	background-repeat: no-repeat;
	background-position: center;
	width: 710px;
	height: 502px; /* This should be set to be at least the height of the largest image in the slideshow */
}
.photoGall div.slideshow {

}
.photoGall div.slideshow span.image-wrapper {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
}
.photoGall div.slideshow a.advance-link {
	display: block;
	/*width: 700px;
	height: 502px;*/ /* This should be set to be at least the height of the largest image in the slideshow */
	/*line-height: 502px;*/ /* This should be set to be at least the height of the largest image in the slideshow */
	text-align: center;
}
.photoGall div.slideshow a.advance-link:hover,.photoGall  div.slideshow a.advance-link:active,.photoGall  div.slideshow a.advance-link:visited {
	text-decoration: none;
}
.photoGall div.slideshow img {
	vertical-align: middle;
	border: 1px solid #ccc;
	max-height: 490px;

	/*for arbaeen
	position: absolute;
	left: 3px;
	top: 3px;
	*/
}
.photoGall div.download {
	float: left;
}
.photoGall div.caption-container {
	position: relative;
	clear: left;
	height: 75px;
}
.photoGall span.image-caption {
	display: block;
	position: absolute;
	width: 710px;
	top: 0;
	left: 0;
}
.photoGall div.caption {
	direction: rtl;
	padding: 6px;
	color: #FFF;
}
.photoGall div.image-title {
	font:normal 1.3em 'DroidNaskh';
}
.photoGall div.image-desc {
	line-height: 1.3em;
	padding-top: 6px;
}
.photoGall div.navigation {
	/* The navigation style is set using jQuery so that the javascript specific styles won't be applied unless javascript is enabled. */
}
.photoGall ul.thumbs {
	clear: both;
	margin: 0;
	padding: 0;
}
.photoGall ul.thumbs li {
	float: left;
	padding: 0;
	margin: 5px 10px 5px 0;
	list-style: none;
}
.photoGall a.thumb {  -
	padding: 2px;
	display: block;
	border: 1px solid #ccc;
}
.photoGall ul.thumbs li.selected{opacity: 1 !important;}
.photoGall ul.thumbs li.selected a.thumb {
	background: #000;
}
.photoGall a.thumb:focus {
	outline: none;
}
.photoGall ul.thumbs img {
	border: none;
	display: block;
}
.photoGall div.pagination {
	clear: both;
}
.photoGall div.navigation div.top {
	margin-bottom: 12px;
	height: 11px;
}
.photoGall div.navigation div.bottom {
	margin-top: 12px;display: none/*just 1 pagination on top is enough.*/;
}
.photoGall div.pagination a, .photoGall div.pagination span.current, .photoGall div.pagination span.ellipsis {
	display: block;
	float: left;
	margin-right: 2px;
	padding: 4px 7px 2px 7px;
	border: 1px solid #ccc;
}
.photoGall div.pagination a:hover {
	background-color: #eee;
	text-decoration: none;
}
.photoGall div.pagination span.current {
	font-weight: bold;
	background-color: #000;
	border-color: #000;
	color: #fff;
}
.photoGall div.pagination span.ellipsis {
	border: none;
	padding: 5px 0 3px 2px;
}
