/* DEBUG */
/*
DIV {
	border: 1px solid red;
	padding: 2px;
	margin: 1px;
}
SPAN {
	border: 1px solid blue;
	padding: 2px;
	margin: 1px;
}
TABLE {
	border: 1px solid orange;
	padding: 2px;
	margin: 1px;
}
TD {
	border: 1px solid yellow;
	padding: 2px;
	margin: 1px;
}
*/

/* HTML ELEMENTS */

#gallery a {
	font-weight: bold;
	text-decoration: none;
	color: #cce54e;
}
#gallery a:hover {
	text-decoration: underline;
	color: #e3ff57;
}
#gallery a:active {
	text-decoration: none;
	color: #ffffff;
}

#gallery img {
	border-width: 0;
}

#gallery h1, #gallery h2, #gallery h3, #gallery h4 {
	font-family: "Trebuchet MS", Arial, Verdana, Helvetica, sans-serif;
	color: #cce54e;
	font-size: 12pt;
	font-weight: bold;
	margin-top: 1em;
	margin-bottom: 0.5em;
}

#gallery form {
	margin: 0px;
}

#gallery input {
	border: 1px solid #333;
}

#gallery input:focus, #gallery textarea:focus {
	background-color: #ffc;
	color: #000;
}

#gallery input.inputTypeSubmit, #gallery input.inputTypeButton {  /* No input[type=submit] in IE */
	color: #333;
	background-color: #eee;
	border-width: 2px;
	border-style: solid;
	border-color: #e7e7e7 #666 #666 #e7e7e7;
}

#gallery select {
	border: 1px solid #333;
	font-size: 1em;
}

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

/* BLOCKS */

.gbBlock {
    padding: 2px 8px;
    /*border-width: 0 0 1px 0;
    border-style: inherit;
    border-color: inherit;*/
    /* IE can't inherit these */
    /*border-style: expression(parentElement.currentStyle.borderStyle);
    border-color: expression(parentElement.currentStyle.borderColor);*/
}

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

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

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

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

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

.gcBackground1 {
    background-color: #7d7d7d;
}

.gcBackground2 {
    background-color: #4f4f4f;
}

.gcBorder1 {
    /*border: 1px solid #555;
    margin: 1px;*/
}


/* SECTIONS & ELEMENTS */

body.gallery {
	padding: 8px;
	background-color: #666;
	font-family: "Trebuchet MS", Arial, Verdana, Helvetica, sans-serif;
	font-size: 8pt;
	color: #000;
}

#gallery {
	border: 1px solid #000;
	width: 750px;
	background-color: #666;
	font-family: "Trebuchet MS", Arial, Verdana, Helvetica, sans-serif;
	font-size: 8pt;
	color: #000;
}

#gsHeader {
	margin: 0px;
	padding: 0px;
	width: 750px;
	height: 127px;
}

#gsHeaderCompact {
	margin: 0px;
	padding: 0px;
	width: 750px;
	height: 65px;
}

#gsFooter {
	border-top: 1px solid #000;
	background-color: #b3b3b3;
	padding: 6px 6px 2px 6px;
}

#gsFooter img {
	padding: 0px 2px;
}

.hidden {
	display: none;
}

/* NAVBAR */

#gsNavBar {
	border-top: 1px solid #000;
	border-bottom: 1px solid #000;
	background-color: #b3b3b3;
}

#gsNavBar a:link {
	color: #595959;
	text-decoration: none;
}
#gsNavBar a:visited {
	color: #595959;
	text-decoration: none;
}
#gsNavBar a:hover {
	color: #000;
	text-decoration: none;
}
#gsNavBar a:active {
	color: #fff;
	text-decoration: none;
}

#gsNavBar div {
	/*margin-top: 0.1em;*/  /* Align system links with breadcrumb */
	font-size: 7pt;
	font-weight: bold;
	color: #595959;
}

#gsNavBar div.gbBreadCrumb {
	margin: 0;
	padding: 4px 8px;
	font-weight: bold;
}

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

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

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

#gsNavBar div.gbBreadCrumb a.BreadCrumb-1 {   /* no :first-child in IE */
	padding-left: 0;
	background-image: none;
	white-space: nowrap;
}

#gallery.IE div.gbBreadCrumb span {
	display: inline-block;   /* IE loses padding-left on wrapped inline nowrap element */
	padding-right: 4px;      /* IE has less space at right of each span */
}

#gsNavBar div.gbBreadCrumb span.BreadCrumb-1 {   /* no :first-child in IE */
	padding-left: 0;
	background-image: none;
}

/* CSS DROPDOWN MENU */

#gsSidebarCol {
	display: block;
	position: absolute;
	left: 1px;
	top: 17px;
	color: #fff;
	width: auto;
	height: auto;
}

#gsSidebarToggle {
	display: block;
	position: absolute;
	left: 0px;
	top: -16px;
	padding: 0px 6px 0px 13px;
	text-align: left;
	font-size: 7pt;
	font-weight: bold;
	border: 1px solid #333;
	color: #a6a6a6;
	width: auto;
	height: 15px;
	cursor: pointer;
	background: url('images/menu_collapsed.gif') no-repeat left center #5f5f5f;
}

#gsSidebar {
	border: 1px solid #333;
	background: #555;
	width: 175px;
	overflow: hidden;
	display: none;
}

/*
	On the following two definitions, the ":hover" pseudo-class is the proper
	way to implement the dropdown menu. However, MSIE requires a javascript
	hack which uses the "over" class to achieve the same effect. Dumb browser.
	I got this solution here: http://www.mywebstuff.com/02_css/css_07.html
*/

div#gsSidebarCol:hover > div#gsSidebarToggle, div#gsSidebarCol.over > div#gsSidebarToggle {
	color: #fff;
	background: url('images/menu_expanded.gif') no-repeat left center #3f3f3f;
}

div#gsSidebarCol:hover > div#gsSidebar, div#gsSidebarCol.over > div#gsSidebar {
	display: block;
}

div#gsSidebar .gbBlock{
    border-bottom: 1px solid #333;
    margin: 0px 0px 4px 0px;
}

div#gsSidebar h1, div#gsSidebar h2, div#gsSidebar h3, div#gsSidebar h4 {
	font-size: 10pt;
	margin-top: 0.25em;
	margin-bottom: 0.25em;
}

#gallery #gsSidebar ul {
	font-size: 8pt;
}

#gallery #gsSidebar ul ul {
	margin: 0 0 0.5em 1.0em;
}

#gallery #gsSidebar li {
    padding: 0 0 0 0;
}

#gallery #gsSidebar input {
	font-family: "Trebuchet MS", Arial, Verdana, Helvetica, sans-serif;
	font-size: 8pt;
	width: 155px;
}



/* END OF CSS DROPDOWN MENU*/

td.giAlbumTitleCell {
	vertical-align: top;
	padding-right: 16px;
}

td.giAlbumPropertiesCell {
	width: 33%;
	vertical-align: bottom;
}

#gbThumbMatrix {} /* Este es un <DIV> que contiene a la <TABLE id="gsThumbMatrix"> */

table#gsThumbMatrix {
	border-collapse: separate;
	border-spacing: 1px;
	width: 100%;
}

td.giAlbumCell, td.giItemCell {
	padding: 16px;
	text-align: center;
}

#gallery td.giAlbumCell select, #gallery td.giItemCell select {
	margin-top: 8px;
}

/* So imageframed thumbs can be centered */
td.giAlbumCell table, td.giItemCell table {
	margin: auto;
}

#gsPages span {
	padding: 0 8px;
}

.gbAlbumTitleBlock {
	margin: 20px 0px 10px 10px;
}

.giAlbumTitle {
	color: #cce54e;
	font-size: 12pt;
	font-weight: bold;
	//margin: 1em 0 1em;
}

.giTitle {
	color: #cce54e;
	font-size: 10pt;
	font-weight: bold;
	margin: 1em 0 1em;
}

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

.giAlbumDescription {
	font-size: 8pt;
	color: #e5e5e5;
	margin-top: 10px;
	line-height: 1.1em;
}

.giDescription {
	font-size: 8pt;
	color: #000;
	margin: 1em 0px;
	line-height: 1.1em;
}

.gbEmptyAlbum {
	height: 400px;
}

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

.giInfo {
	font-size: 7pt;
	color: #3e3e3e;
	margin: 1em 0px;
}

.giAlbumInfoBlock .giInfo {
	font-size: 7pt;
	color: #a6a6a6;
	margin: 0px;
}

.giInfo span.summary {
	display: block;
	line-height: 1.1em;
}

.giSuccess, .giWarning, .giError  {
	font-weight: bold;
}

.giSuccess { color: #5c0; }
.giWarning { color: #c50; }
.giError { color: #a44; }

.giNew, .giUpdated {
	border-width: 1px;
	border-style: solid;
	border-color: #e5e5e5;
	background-color: #666;
	color: #e5e5e5;
	line-height: 1.5em;
	padding: 0px 6px;
	text-transform: uppercase;
}

.giBlockToggle {
	background-color: #fff;
	border: 1px solid #444;
	color: #000;
	text-align: center;
    padding: 0 6px 2px;
}
.giBlockToggle:hover {
    cursor: pointer;
}

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

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

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

.gbEven {
	background-color: #7c7c7c;
}

.gbOdd {
	background-color: #8c8c8c;
}


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

div.gbTabBar span.o {
	padding: 6px 0 5px 8px;
	background: url('../matrix/images/tab_left.jpg') no-repeat left top;
}
#gallery.IE div.gbTabBar span.o {
	display: inline-block;   /* IE loses padding-left on wrapped inline nowrap element */
	margin-bottom: 1px;      /* ..and then adds padding differently with inline-block.. */
}
/* IE may clip off the right end of a long set of tabs, so allow IE to wrap them */
#gallery.IE div.gbTabBar { padding-bottom: 0; white-space: normal; }
#gallery.IE div.gbTabBar span.giSelected { margin-bottom: 0; }

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

#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;
}


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


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

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

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

#gsSidebar div ul {   /* no > in IE */
	font-size: 1.1em;
	font-weight: bold;
}
#gsSidebar div ul ul { font-size: 1.0em; }

#gsSidebar ul span {
	color: #999;
}

#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;
}

/* Opera ignores padding in form inputs; put icons on right side instead */
#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;
}
/* Both IE and Gecko have bugs with omitting padding on rtl inline content */
#gallery.IE.rtl div.gbNavigator a {
  display: inline-block;
}
#gallery.gecko.rtl div.gbNavigator a {
  display: -moz-inline-box;
}

#gallery.rtl div.gbNavigator a.first {
  padding: 0 27px 0 0;
  background: url("images/nav_last.gif") right no-repeat;
}
#gallery.rtl div.gbNavigator a.previous {
  padding: 0 27px 0 0;
  background: url("images/nav_next.gif") right no-repeat;
}
#gallery.rtl div.gbNavigator a.next {
  padding: 0 0 0 27px;
  background: url("images/nav_prev.gif") left no-repeat;
}
#gallery.rtl div.gbNavigator a.last {
  padding: 0 0 0 27px;
  background: url("images/nav_first.gif") left no-repeat;
}
#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-search-SearchBlock a.advanced {
  display: block;
  padding: 3px;
}

div.block-core-ItemLinks {
  margin: 3px 0;
}
div.block-core-ItemLinks a {
  padding: 3px;
}
div#gsSidebar div.block-core-ItemLinks a {
  display: block;
}

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

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

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

/* ***************************************************** */
/*                   Dynamic blocks                      */
/* ***************************************************** */

div.block-comment-ViewComments {
  margin: 5px;
}

div.block-comment-ViewComments div.one-comment {
  border: 1px solid #e7e7e7;
  padding: 5px;
  margin-bottom: 5px;
}

div.block-comment-ViewComments h3 {
}

div.block-comment-ViewComments span {
  padding-right: 5px;
}

div.block-comment-ViewComments p.info {
  font-style: italic;
  text-align: right;
  font-size: 0.95em;
}

div.block-core-GuestPreview {
  float: right;
  margin-top: 4px;
}
#gallery.rtl div.block-core-GuestPreview {
  float: left;
}

span.block-core-SystemLink {
	font-size: 7pt;
}

div.block-exif-ExifInfo {
  margin: 5px;
}

span.bsw_ButtonDisabled {
  color: #999;
}

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

table.bsw_ParamTable {
  width: 100%;
  border: 1px solid #999;
  border-collapse: collapse;
}

tr.bsw_ParamHeaderRow {
  background-color: #EEE;
}

tr.bsw_ParamHeaderRow td {
  font-weight: bold;
  text-align: center;
  border: 1px solid #999;
}

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

