#gallery h2,#gallery h3,#gallery h4,#gallery form {
margin:0;
padding:0;
}

#gallery p {
margin:0.6em 0;
padding:0;
}

.gbBlock3 {
border-top:1px solid #ccc;
padding:0.5em;
}

.gbBlock2 {
border:0 solid #ccc;
border-width:1px 0;
padding:0.5em;
}

* html .gbBlock {
height:10%;
}

.gbBlock {
padding:0.5em;
}

h3.parent {
margin-top:0;
padding-top:0;
}

.gbAdminLink {
line-height:1.6em;
white-space:nowrap;
}

.gbBlock ul {
list-style-type:none;
margin:0;
padding:0;
}

.gbBlock ul ul {
margin:0 0 0.5em 1em;
}

.gbBlock li {
padding:6px 0 0;
}

#gallery .gbBlock h3 {
margin-bottom:0.5em;
}

#gallery .gbBlock h4 {
margin-top:0.5em;
}

#gsNavBar div.gbBreadCrumb {
font-size:1.1em;
font-weight:700;
margin:0;
padding:4px 8px;
}

table.gbDataTable {
padding-bottom:4px;
}

table.gbDataTable th,table.gbDataTable td {
padding:4px;
}

.giBlockToggle {
padding:0 0.4em 0.1em;
}

.giBlockToggle:hover {
cursor:pointer;
}

.gbMarkupBar {
margin:4px 0;
}

#gallery .gbMarkupBar input {
font-size:1.1em;
margin:0;
padding:0;
}

#gallery {
margin-left:3px;
}

#gallery.rtl {
direction:rtl;
}

#gsNavBar {
border-top-width:0;
border-bottom-width:1px;
}

#gsNavBar div.gbSystemLinks {
float:right;
padding:4px 6px;
}

#gsNavBar div.gbSystemLinks span {
padding:0 4px;
}

#gsSidebar {
width:175px;
overflow:hidden;
}

#gsSidebarCol {
width:1%;
border-right:1px solid #ccc;
}

#gallery .giAlbumCell select,#gallery .giItemCell select {
margin-top:0.8em;
}

.giAlbumCell table,.giItemCell table {
margin:auto;
}

#gsPages span {
padding:0 0.3em;
}

.gcBorder1 {
border:0 solid #ccc;
}

.gcBorder2 {
border:0 solid #888;
}

#gallery pre,#gallery tt {
font-family:Courier New;
font-size:1.2em;
}

.giSubtitle {
font-size:0.9em;
font-weight:400;
vertical-align:text-bottom;
}

.giDescription {
line-height:1.4em;
}

.gbEmptyAlbum {
height:400px;
}

.giDescription h3.emptyAlbum {
line-height:4em;
text-align:center;
}

.giInfo {
font-size:0.9em;
color:#888;
}

.giSuccess {
color:#5c0;
}

.giWarning {
color:#c50;
}

.giError {
color:#a44;
}

.giNew,.giUpdated {
line-height:1.9em;
color:orange;
padding:0 6px;
}

#gsNavBar div.gbBreadCrumb a,#gsNavBar div.gbBreadCrumb span {
background:url('images/icon_path_separator.gif') no-repeat left;
padding:0 0 0 14px;
}

#gsNavBar div.gbBreadCrumb a.BreadCrumb-1 {
padding-left:0;
background-image:none;
white-space:nowrap;
}

#gsThumbMatrix {
width:100%;
}

#gallery.IE div.gbBreadCrumb span {
display:inline-block;
padding-right:4px;
}

#gsNavBar div.gbBreadCrumb span.BreadCrumb-1 {
padding-left:0;
background-image:none;
}

table.gbDataTable th {
text-align:left;
background-color:#e7e7e7;
}

.gbEven {
background-color:#fff;
}

.gbOdd {
background-color:#eee;
}

div.gbTabBar {
font-size:0.9em;
font-weight:700;
background:url('../matrix/images/tab_bg.gif') repeat-x bottom;
white-space:nowrap;
margin:0.8em 0 0;
padding:6px;
}

div.gbTabBar span.o {
background:url('../matrix/images/tab_left.jpg') no-repeat left top;
padding:6px 0 5px 8px;
}

#gallery.IE div.gbTabBar span.o {
display:inline-block;
margin-bottom:1px;
}

#gallery.IE div.gbTabBar {
padding-bottom:0;
white-space:normal;
}

#gallery.IE div.gbTabBar span.giSelected {
margin-bottom:0;
}

#gallery div.gbTabBar span span {
background:url('../matrix/images/tab_right.jpg') no-repeat right top;
padding:6px 12px 5px 4px;
}

#gallery div.gbTabBar a {
color:#777;
text-decoration:none;
}

#gallery div.gbTabBar a:hover {
color:#333;
}

#gallery div.gbTabBar span.giSelected {
padding-bottom:6px;
background-image:url('../matrix/images/tab_left_on.jpg');
}

#gallery div.gbTabBar span.giSelected span {
color:#333;
padding-bottom:6px;
background-image:url('../matrix/images/tab_right_on.jpg');
}

.autoCompleteBackground {
border:1px solid #ccc;
border-top-style:none;
margin:0;
}

.autoCompleteHighlight {
text-decoration:underline;
}

.autoCompleteNotSelected {
background-color:#eee;
padding:3px 4px 3px 17px;
}

.autoCompleteSelected {
background-color:#ffc;
padding:3px 4px 3px 17px;
}

#ProgressBar #progressDone {
background-color:#fd6704;
border:thin solid #ddd;
}

#ProgressBar #progressToGo {
background-color:#eee;
border:thin solid #ddd;
}

.giSearchHighlight {
font-weight:700;
background-color:#ff6;
}

#giFormUsername,.giFormUsername {
background:url('../matrix/images/userinfo.png') no-repeat 0 1px;
padding-left:17px;
}

#giFormGroupname {
background:url('../matrix/images/groupinfo.png') no-repeat 0 1px;
padding-left:17px;
}

#giFormPassword {
background:url('../matrix/images/key7-16-bw.gif') no-repeat 0 1px;
padding-left:17px;
}

#gallery.opera #giFormUsername,#gallery.opera .giFormUsername,#gallery.opera #giFormGroupname,#gallery.opera #giFormPassword {
background-position:right center;
}

div.gbNavigator div.next-and-last {
float:right;
}

div.gbNavigator div.next-and-last.no-previous {
float:none;
text-align:right;
}

div.gbNavigator a.first {
padding-left:27px;
background:url("images/nav_first.gif") left no-repeat;
}

div.gbNavigator a.previous {
padding-left:27px;
background:url("images/nav_prev.gif") left no-repeat;
}

div.gbNavigator a.next {
padding-right:27px;
background:url("images/nav_next.gif") right no-repeat;
}

div.gbNavigator a.last {
padding-right:27px;
background:url("images/nav_last.gif") right no-repeat;
}

div.gbNavigator div.first-and-previous img {
vertical-align:middle;
padding-right:0.5em;
}

div.gbNavigator div.next-and-last img {
vertical-align:middle;
padding-left:0.5em;
}

#gallery.rtl div.gbNavigator div.next-and-last {
float:left;
}

#gallery.rtl div.gbNavigator div.next-and-last.no-previous {
float:none;
text-align:left;
}

#gallery.rtl div.gbNavigator div.first-and-previous {
text-align:right;
}

#gallery.IE.rtl div.gbNavigator a {
display:inline-block;
}

#gallery.gecko.rtl div.gbNavigator a {
display:0;
}

#gallery.rtl div.gbNavigator a.first {
background:url("images/nav_last.gif") right no-repeat;
padding:0 27px 0 0;
}

#gallery.rtl div.gbNavigator a.previous {
background:url("images/nav_next.gif") right no-repeat;
padding:0 27px 0 0;
}

#gallery.rtl div.gbNavigator a.next {
background:url("images/nav_prev.gif") left no-repeat;
padding:0 0 0 27px;
}

#gallery.rtl div.gbNavigator a.last {
background:url("images/nav_first.gif") left no-repeat;
padding:0 0 0 27px;
}

#gallery.rtl div.gbNavigator div.first-and-previous img {
padding:0 0 0 0.5em;
}

#gallery.rtl div.gbNavigator div.next-and-last img {
padding:0 0.5em 0 0;
}

div.block-core-ItemLinks {
margin:10px;
}

div.block-core-ItemLinks a {
border:0;
color:#000;
padding:3px;
}

div.block-core-ItemLinks a:hover {
border-bottom-width:1px;
}

div#gsSidebar div.block-core-PeerList span {
font-weight:700;
display:block;
padding:3px;
}

div#gsSidebar div.block-core-PeerList span.current {
color:#0b6cff;
}

span.bsw_ButtonDisabled {
color:#999;
}

span.bsw_ButtonEnabled {
color:#000;
cursor:pointer;
}

td.bsw_BlockCommands {
white-space:nowrap;
text-align:center;
}

.gi_info {
font-size:0.8em !important;
color:#666;
}

.gi_info a {
font-size:1em !important;
border-bottom:1px dotted #666;
text-decoration:none;
}

.gi_info a:hover {
border-bottom:1px solid #666;
text-decoration:none;
}

#gsImageView,td.giAlbumCell,td.giItemCell {
text-align:center;
}

#gallery #gsSidebar ul,#gallery select {
font-size:1em;
}

.giTitle,.giSuccess,.giWarning,.giError,#gsNavBar div {
font-weight:700;
}

.giInfo span.summary,div#gsSidebar div.block-core-ItemLinks a {
display:block;
}

div.block-search-SearchBlock a.advanced,div#gsSidebar div.block-core-PeerList a {
display:block;
padding:3px;
}
