* {
  margin: 0;
  padding: 0;
}
body {
  margin: 0;
  padding: 0;
  background-color: #000d21;
  color: #edebf6;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  text-align: center;
  direction: rtl; /*added rtl for right to left reading*/
}
#wrapper {
	position: relative;
	text-align: right; /*changed align to right for arabic text*/
	width: 810px;
	margin-right: auto;
	margin-left: auto;
}
#header {
  height: 130px;
  background-image: url(images/banner.jpg);
  background-repeat: no-repeat;
  font-family:	Verdana, Arial, Helvetica, sans-serif;
  font-size: 9px;
  	color: #808BA9;
  text-align: left;
}
#header a:link, #header a:visited {
	font: Verdana, Arial, Helvetica, sans-serif;
	color: #808BA9;
	text-decoration: none;
}
#header a:hover {
	text-decoration: none;
	color: #FFFFFF;
}
#header .arabic, .farsi {
	font-size:12px;
	font-family: tahoma;
	line-height: 30px;
}

#main {
  display: table;
  border-collapse: collapse;
}
#nav {
  display: table;
  width: 810px;
  height: 25px;
  background-image: url(images/barTile.jpg);
  background-repeat: repeat-x;
}
#nav img {
	border: 0px;
	margin-bottom: -12px;
}
.homeGal {
	border: 0;
}
#content {
  display: table;
  width: 300px;
  margin-top: 15px;
  margin-left: 0px;
  font-size:	18px;
  font-family: Tahoma;
}
#content a {
	font: Tahoma;
	color: #808BA9;
	text-decoration: none;
}
#content a:hover {
	font: Tahoma;
	color: #FFFFFF;
	text-decoration: none;
}

#footer {
 width: 780px;
 background-image: url(images/barTile.jpg);
background-repeat: repeat-x;
  color: #edebf6;
  font-size: 70%;
  line-height: 1.5;
}
h1 {
  font-size: 80%;
  text-transform:uppercase;
  font-weight: bold;
  letter-spacing: 0.2em;
  padding-bottom: 0.4em;
  color: #660000; 
}
p {
  font-size: 80%;
  line-height: 1.6em; 
  padding-bottom: 1em;
} 
span {
  font-size: 80%;
  line-height: 1.6em; 
  padding-bottom: 1em;
} 
#nav ul {
  list-style: none;
  text-align: right; /*changed align to right for menu reading arabic*/
}
#nav li {
  width: 810px;
  display: inline;
  line-height: 10px;
}
.imgright {
 position: absolute; 
 bottom: 4px; 
 right: 19px; 
 padding: 0; 
 border: 0;
} 
#head, #content, #foot {
 display: table-row;
}
.cellTwo {
 display: table-cell;
 width: 460px;
 height: 410px;
 padding-top: 15px;
 font:	Arial, Helvetica, sans-serif;
 font-size: 18px;
 vertical-align: top;
}
.cell {
 display: table-cell;
 width: 350px;
 height: 410px;
 font:	Arial, Helvetica, sans-serif;
 font-size: 18px;
 padding-top: 15px;
}
.cellThree {
 display: table;
 width: 810px;
 height: 130px;
 text-align: center;
 background-color: #0f3772;
 margin-bottom: 15px;
 background-image: url(../images/tile.jpg);
 background-repeat: repeat;
 direction: ltr;
}
.content-wrap {
 display: table;
}
.homeGal {
padding: 15px 8px 15px 8px;
}
.footer {
 display: table;
 background-image:url(images/barTile.jpg);
 background-repeat:repeat-x;

}
.row {
 display: table-row;
 width: 100%;
}
.copyright {
 display: table-cell;
 width: 405px;
 height: 25px;
 padding-left: 15px;
 padding-top: 3px;
 font-size: 90%;
 text-align:left;
 vertical-align:middle;
}
 .idlink {
 display: table-cell;
 width: 405px;
 height: 25px;
 text-align:right;
  padding-right: 15px;
  border: 0;
}
.idlink a:link, .idlink a:visited {
  text-decoration: none;
}
#aboutNav {
	background-image: url(../aoiArabic/images/aboutUp.jpg);
	background-position:top;
}
#aboutNav:hover {
	background-image: url(../aoiArabic/images/aboutOver.jpg);
}
#galleryNav {
	background-image: url(../aoiArabic/images/galleryUp.jpg);
}
#galleryNav:hover {
	background-image: url(../aoiArabic/images/galleryOver.jpg);
}
#exhibitNav {
	background-image: url(../aoiArabic/images/exhibitionUp.jpg);
}
#exhibitNav:hover {
	background-image: url(../aoiArabic/images/exhibitionOver.jpg);
}
#bookNav {
	background-image: url(../aoiArabic/images/bookUp.jpg);
}
#bookNav:hover {
	background-image: url(../aoiArabic/images/bookOver.jpg);
}
#contactNav {
	background-image: url(../aoiArabic/images/contactUp.jpg);
}
#contactNav:hover {
	background-image: url(../aoiArabic/images/contactOver.jpg);
}
#homeNav {
	background-image: url(../aoiArabic/images/homeUp.jpg);
}
#homeNav:hover {
	background-image: url(../aoiArabic/images/homeOver.jpg);
}
.noborder {
	border: none;
}
.arabicContent {
	font-size:	14px;
	font-family: Tahoma;
		color:	#808ba9;
		margin-top: 15px;
}

/*Picture Detail Page A*/

.detail-wrap {
	width: 810px;
	height: 530px;
}
.cellPic {
 display: table-cell;
 width: 315px;
 height: 445px;
 padding-left: 15px;
}
.cellTwoPic {
 display: table-cell;
 width: 315px;
 height: 445px;
 text-align: right;
}
.cellTwoPic td {
	vertical-align: bottom;
	font-family: Tahoma, Arial;
	font-size: 15px;
	line-height: 1.6em;
	height: 445px;
}
.cellTwoPic span {
	font-size: 80%;
}
.cellThreePic {
 display: table;
 width: 810px;
 height: 30px;
 text-align: left;
}
.cellThreePic img {
	border: none;
}

/*Picture Detail Page B*/

.cellPicB {
 display: table-cell;
 width: 480px;
 height: 330px;
 padding-left: 15px;
}
.cellTwoPicB {
 display: table-cell;
 width: 310px;
 height: 330px;
 text-align: right;
}
.cellTwoPicB td {
	vertical-align: bottom;
	font-family: Tahoma, Arial;
	font-size: 15px;
	line-height: 1.6em;
	height: 330px; 
}

/*Picture Detail C*/

.cellPicC {
 display: table-cell;
 width: 480px;
 height: 480px;
 padding-left: 15px;
}
.cellTwoPicC {
 display: table-cell;
 width: 315px;
 height: 480px;
 text-align: right;
}
.cellTwoPicC td {
	vertical-align: bottom;
	font-family: Tahoma, Arial;
	font-size: 15px;
	line-height: 1.6em;
	height: 445px; 
}

/*Picture Detail D*/

.cellPicD {
 width: 810px;
 height: 330px;
 padding-left: 15px;
 margin-bottom: 10px;
}
.cellTwoPicD {
 width: 810px;
 height: 315px;
 text-align: right;
}
.cellTwoPicD td {
	vertical-align: top;
	font-family: Tahoma, Arial;
	font-size: 15px;
	line-height: 1.6em;
	height: 315px; 
}

/*Gallery Page*/

.thumbnail {
 border: 0;
 padding-top: 15px;
 padding-right: 0px;
 padding-bottom: 0px;
 padding-left: 15px;
}
.thumbnail3, .thumbnail3x , .thumbnail3y{
 border: 0;
 padding-top: 15px;
 padding-right: 0px;
 padding-bottom: 0px;
 padding-left: 15px;
}
.thumbnailTwo {
 border: 0;
 padding-top: 15px;
 padding-right: 0px;
 padding-bottom: 0px;
 padding-left: 0px;
}
.thumbnailTwo3 {
 border: 0;
 padding-top: 15px;
 padding-right: 0px;
 padding-bottom: 0px;
 padding-left: 0px;
}
.galmain {
	width: 810px;
	height: 575;
	direction: ltr;
}
.table1 {
	display: table;
	width: 810px;
	height: 330px;
}
.cell1 {
	display: table-cell;
	width: 480px;
	height: 330px;
}
.cell2 {
	display: table-cell;
	width: 330px;
	height: 330px;
}
.intable1 {
	display: table;
}
.cell1a {
	display: table-cell;
}
.cell2a {
	display: table-cell;
	vertical-align: top;
}
.intable1a {
	display: table;
	width: 315px;
	height: 100px;
}
.intable2a {
	display: table;
	width: 315px;
}
.cell2a1 {
	display: table-cell;
}
.cell2a2 {
	display: table-cell;
}
.table2 {
	display: table;
	width: 810px;
	margin-bottom: 0px;
}
.intable2 {
	display: table;
}
.cell3 {
	display: table-cell;
}
.cell4 {
	display: table-cell;
	vertical-align: top;
}
.intable3 {
	display: table;
}
.cell5 {
	display: table-cell;
}
.cell6 {
	display: table-cell;
	vertical-align: top;
}
.intable4 {
	display: table;
}
.cell7 {
	display: table-cell;
}
.cell8 {
	display: table-cell;
}
.cell1b {
	display: table-cell;
}
.cell2b {
	display: table-cell;
}

/*Gallery Pages 2,3,5*/

.table {
	display: table;
	width: 810px;
	height: 575px;
}
.row1 {
	display: table;
	height: 230px;
}
.celltop {
	display: table-cell;
	width: 810px;
	height: 210px;
}
.row2 {
	display: table;
	height: 115px;
}
.cellmid {
	display: table-cell;
	width: 810px;
	height: 115px;
}
.row3 {
	display: table;
}
.cellbottom {
	display: table-cell;
	width: 810px;
	height: 210px;
}

/*Gallery Page 6*/

.row2a6 {
	display: table;
	height: 230px;
}
.cellmida6 {
	display: table-cell;
	width: 810px;
	height: 230px;
}
.row3a6{
	display: table;
	height: 115px;
}
.cellbottoma6 {
	display: table-cell;
	width: 810px;
	height: 115px;
}

/*Gallery Page 4*/

.row2table {
	display: table;
	width: 810px;
	height: 330px;
}
.row2a {
	display: table-cell;
	width: 480px;
	height: 330px;
}
.row2b{
	display: table-cell;
	width: 330px;
	height: 330px;
	vertical-align: top;
}

/*Gallery Page - Navigation*/

#galNav {
	width: 810px;
	text-align: right;
	height: 15px;
	vertical-align: middle;
	margin-bottom: 18px;
	margin-top: 7px;
}
#galNav ul {

	list-style: none;
	text-align: left;
	height: 15px;
}
#galNav li {
	width: 810px;	
	display: inline;
}
#galNav img {
	border: none;
}
/*Page 1 Nav*/
#galNavA {
	width: 810px;
	text-align: right;
	height: 15px;
	vertical-align: middle;
	margin-bottom: 18px;
	margin-top: -8px;
}
#galNavA ul {

	list-style: none;
	text-align: left;
	height: 15px;
}
#galNavA li {
	width: 810px;	
	display: inline;
}
#galNavA img {
	border: none;
}

#galNavPrev {
	background-image:	url(images/previousUpAra.jpg);
}

#galNavPrev:hover {
	background-image:	url(images/previousOverAra.jpg);
}
#galNavNext {
	background-image:	url(images/nextUpAra.jpg)
}

#galNavNext:hover {
	background-image: url(images/nextOverAra.jpg);
}
#galNav1 {
	background-image: url(../aoiArabic/images/gal1Up.jpg);
}

#galNav1:hover {
	background-image: url(../aoiArabic/images/gal1Over.jpg);
}
#galNav1down {
	background-image: url(../aoiArabic/images/gal1Down.jpg);
}
#galNav2 {
	background-image: url(../aoiArabic/images/gal2Up.jpg);
}

#galNav2:hover {
	background-image: url(../aoiArabic/images/gal2Over.jpg);
}
#galNav2down {
	background-image: url(../aoiArabic/images/gal2Down.jpg);
}
#galNav3 {
	background-image: url(../aoiArabic/images/gal3Up.jpg);
}

#galNav3:hover {
	background-image: url(../aoiArabic/images/gal3Over.jpg);
}
#galNav3down {
	background-image: url(../aoiArabic/images/gal3Down.jpg);
}
#galNav4 {
	background-image: url(../aoiArabic/images/gal4Up.jpg);
}

#galNav4:hover {
	background-image: url(../aoiArabic/images/gal4Over.jpg);
}
#galNav4down {
	background-image: url(../aoiArabic/images/gal4Down.jpg);
}
#galNav5 {
	background-image: url(../aoiArabic/images/gal5Up.jpg);
}

#galNav5:hover {
	background-image: url(../aoiArabic/images/gal5Over.jpg);
}
#galNav5down {
	background-image: url(../aoiArabic/images/gal5Down.jpg);
}
#galNav6 {
	background-image: url(../aoiArabic/images/gal6Up.jpg);
}

#galNav6:hover {
	background-image: url(../aoiArabic/images/gal6Over.jpg);
}
#galNav6down {
	background-image: url(../aoiArabic/images/gal6Down.jpg);
}

/* Detail Page Navigation*/

#DetailNavPrev {
	background-image:	url(images/previousUpAra.jpg);
}

#DetailNavPrev:hover {
	background-image:	url(images/previousOverAra.jpg);
}
#DetailNavNext {
	background-image:	url(images/nextUpAra.jpg);
}

#DetailNavNext:hover {
	background-image:	url(images/nextOverAra.jpg);
}
#DetailNavGal {
	background-image:	url(images/galleryDetUpAra.jpg);
}

#DetailNavGal:hover {
	background-image:	url(images/galleryDetOverAra.jpg);
}

/* Exhibition Page */
.ex-table {
	display: table;
	width: 810px;
}
.ex-table1 {
	display: table;
	width: 810px;
}
.ex-table1a {
	display: table;
	width: 810px;

}
.ex-cell1 {
	display:table-cell;
	width: 480px;

	vertical-align: top;
	padding-top: 15px;
}
.ex-cell1 p{
	width: 460px;
}

.ex-cell2 {
	display:table-cell;
	width: 315px;
	vertical-align: top;
	padding-top: 15px;
	padding-right: 15px;
	padding-bottom: 15px;
}
.ex-cell2 img {
	border: solid;
	border-color:	#880c01;
	border-width: 1px;
}	
.ex-cell3 {
	display:table-cell;
	width: 480px;

	vertical-align: top;
	padding-left: 15px;
}
.ex-cell4	{
	display:table-cell;
	width: 315px;

}
.ex-table2 {
	width: 250px;
	margin-top: -6px;
}
.ex-table3 {
	display: table;
	width: 280px;

	vertical-align: top
}
.cell-left {
	display: table-cell;
	width: 160px;
}
.cell-right {
	display: table-cell;
	width: 115px;
}

/* Exhibitition Detail Page */
.ex-tablea {
	display: table;
	width: 810px;
}
.ex-cell1A {
	display:table-cell;
	width: 480px;
	height: 136px;
	vertical-align: top;
	padding-top: 15px;
}
.ex-cell1A td{
  font-size:	14px;
  font-family: Tahoma;
  padding-bottom: 10px;
  vertical-align: top;
}
.ex-cell2a {
	display:table-cell;
	width: 315px;
	vertical-align: top;
	padding-top: 15px;
	padding-right: 15px;
	padding-bottom: 15px;
}
.ex-cell2a img {
	border: solid;
	border-color:	#880c01;
	border-width: 1px;
}	

.ex-back {
	width: 810px;
	text-align: left;
	padding-bottom: 15px;
}
.ex-back img{
	border: none;
} 
#exhReturn {
	background-image: url(images/returnToExhibPageUpAra.jpg);
}
#exhReturn:hover {
	background-image: url(images/returnToExhibPageOverAra.jpg);
}
	
/*Contact Page*/
.contact-table {
	display: table;
	width: 810px;
	height: 345px;
}
.con-cell1 {
	display: table-cell;
	width: 315px;
	vertical-align: top;
	padding-top: 15px;
}
.con-cell2 {
	display: table-cell;
	width: 480px;
	padding-right: 15px;
	padding-top: 15px;
	text-align: left;
}
.con-cell2 p{
	text-align: right;
}


/*Book Page*/
.book-table {
	display: table;
	width: 810px;
	height: 340px;
}
.book-cell1 {
	display: table-cell;
	width: 480px;
	height: 320px;
	vertical-align: top;
	padding-top: 15px;
}
.book-cell2 {
	display:	table-cell;
	width: 315px;
	height: 330px;
	padding-right: 15px;
	padding-top: 15px;
}

/*About Page*/

.about-table {
	display: table;
	width: 810px;

}