#rsg2-galleryTitle{
  display: block;
  float: left;
  background-color: transparent;
  border-bottom: 1px solid #a9a9a9;
  margin: 45px 0px 0px 0px;
  padding: 0px;
}
/* Status icons */
img.status{
    text-decoration: none;
    border: none;
}

/* Thumbs shadow css */
.img-shadow {
  float:left;
  background: url('images/shadow.gif') no-repeat bottom right !important;
  margin-left:5px; margin-right:0; margin-top:10px; margin-bottom:0
  }

.img-shadow img {
  display: block;
  position: relative;
  background-color: #fff;
  border: 1px solid #a9a9a9;
  margin: -6px 6px 6px -6px;
  padding: 4px;
  }
/* end Thumbs shadow */
.rsg2_slideshow{
width:100%;
text-align:center;
 padding: 2;
}

.rsg2-toolbar {
    text-align: center;
    padding-bottom: 5px;
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 5px;
    }

.rsg2_display_name{
    font-size: 11px; 
	font-family: Tahoma;
	font-weight: normal;
	color: #666;
	padding: 0px 10px;
  background-color: transparent;
  border-bottom: 0px solid #a9a9a9;
}
.rsg2_thumb_name{
    /*display:none;*/
}
.rsg2-galleryList-newImages {
    color: Red;
    font-weight: bold;
}
.rsg2-galleryList-totalImages {
    font-size: 11px; 
	font-family: Tahoma;
	font-weight: normal;
	color: #666;
}
/*-------------------------------------------------- jalal----start------causes disappearance of cpanel---------------------*/
#rsg2-navigation li{

background: no repeat;
width:200px; margin-right:0px; text-align:left; padding-right:0px; background-repeat:repeat
}
#rsg2-footer{
visibility: hidden;
}

/* gallery list */

ul#rsg2-galleryList{
    clear: both;
    padding: 0;
}
.rsg2-galleryList-status{
    text-align: right;
	background: #ddd;
	width: 100%;
}

.rsg2-galleryList-item{
display: block;
width: 100%;
float: center;
clear: both;
text-align: right;
direction: rtl;
padding: 0px;
background: #F2F2F2;
border:1px solid #999999;; margin-left:0; margin-right:0px; margin-top:0px; margin-bottom:2px
}
.rsg2-galleryList-thumb{
display: block;
float: right;
margin: 0px;
border-top: 1px solid #333;
border-right: 1px solid #333;
border-bottom: 1px solid #333;
border-left: 1px solid #333;
    /*margin: 0 5px 5px 0;*/
}

/* sub gallery list */

.rsg2-subGalleryList-container{
    margin-top: 1px;
    float: right;
}

.rsg2-subGalleryList-title{
    float: right;
}
.rsg2-subGalleryList-list{
    float: right;

    padding: 0px;

    background-image: url('none');list-style-type:none; margin-left:5px; margin-right:0; margin-top:0; margin-bottom:0
}

/* thumbnail list */

ul#rsg2-thumbsList{
    margin: auto;
}

ul#rsg2-thumbsList li{
    display: box;
    float: left;
    overflow: hidden;
    padding: 5px;
    text-align: center;

/*     get rid of other possible list styles */
    background-image: url('none');list-style-type:none
}

table#rsg2-thumbsList{
    width: 100%;
}
table#rsg2-thumbsList td{
overflow: hidden;
padding: 5px 0px;
text-align: center;
background: #E8E8E8;
border-top: 1px solid #ccc;
border-right: 1px solid #ccc;
border-bottom: 1px solid #ccc;
border-left: 1px solid #ccc;
}

.rsg2-pageNav{
    text-align: center;
    font-size: 12px;
}
.rsg2-pagenav-limitbox{
text-align:right;
}

/* utility selector, this is common in many templates, but we can't count on it being there */
.clr{
    clear: both;
    line-height: 0px;
}

/****************** OLD CLASSES ********************/
/* Classes for RSGallery:

/* standard list style table */
table.adminlist {
    background-color: #FFFFFF;
    margin: 0px;
    padding: 0px;
    border: 1px solid #ccc;
    border-spacing: 0px;
    width: 100%;
    border-collapse: collapse;
}

table.adminlist th {
    margin: 0px;
    height: 25px;
    background: url('../../administrator/templates/joomla_admin/images/background.jpg');
    font-size:11px; color:green; padding-left:4px; padding-right:4px; padding-top:6px; padding-bottom:2px; background-repeat:repeat
}
table.adminlist th.title {
    text-align: right;
}

table.adminlist th a:link, table.adminlist th a:visited {
    color: #c64934;
    text-decoration: none;
}

table.adminlist th a:hover {
    text-decoration: underline;
}

table.adminlist tr.row0 {
    background-color: #F9F9F9;
}
table.adminlist tr.row1 {
    background-color: #FFF;
}
table.adminlist td {
    border-bottom: 1px solid #e5e5e5;
    padding: 4px;
}
table.adminlist tr:hover.row0 {
    background-color: #f1f1f1;
}
table.adminlist tr:hover.row1 {
    background-color: #f1f1f1;
}
table.adminlist td.options {
    background-color: #ffffff;
    font-size: 8px;
}
select.options, input.options {
    font-size: 11px;
    font-weight: normal;
    border: 1px solid #999999;
}
/* standard form style table */
table.adminform, table.galleryblock{
    background-color: #e8e8e8;
    border: 1px solid #999;
    padding: 0px;
    border-collapse: collapse;
    margin: 0px;
    border-spacing: 0px;
    width: 100%;
    text-align:center;
}
table.adminform tr.row0 {
    background-color: #f9f9f9;
}
table.adminform tr.row1 {
    background-color: #eeeeee;
}
table.adminform th {
    font-size: 11px;
    padding-top: 6px;
    padding-bottom: 2px;
    padding-left: 4px;
    padding-right: 4px;
    text-align: right;
    height: 25px;
    color: #000;
    background-repeat: repeat;
    background: url('../../administrator/templates/joomla_admin/images/background.jpg');
}
table.adminform td {
    padding: 3px;
    text-align:right;
}
table.adminform td.editor {
    font-size: 11px;
    text-align:right;
}
/*--------- jalal-------Album Owner----------*/
.rsg2_owner{
    font-size: 11px; 
	font-family: Tahoma;
	font-weight: normal;
	color: #000;
    text-align: right;
	padding: 5px 3px;
  background-color: transarent;
  border-top: 0px solid #a9a9a9;
}
/*--------- jalal-------Album Thumb----------*/
.rsg2_album_thumb{
    font-size: 11px; 
	font-family: Tahoma;
	font-weight: bold;
	color: #000;
    text-align: center;
	padding-top: 10px;
  background-color: transarent;
  border-bottom: 0px solid #a9a9a9;
}
/*--------- jalal-------Random Header----------*/
.rsg2_random_header{
    font-size: 11px; 
	font-family: Tahoma;
	font-weight: bold;
	height: 26px;
	color: #333;
    text-align: center;
	padding-top: 0px;
  background-color: #ccc;
  border: 0px solid #fff;
}