/* ********************************************************************************
 * Building blocks
 * h2, h3, p, etc        Standard html tags
 * div.gbBlock           Sidebar or content section with style for contained lists
 * ul.gbBreadCrumb       List of links/path elements
 * table.gbDataTable     Table for data/form elements with styles for shading rows
 */

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

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

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

#gsHeader {
	margin: 0;
	padding: 0;
	
	/*height: 120px;
	width: 880px;
	background: url('/themes/matrizz/images/header2.png') no-repeat center;
	*/
}

#gsFooter {
	height: 30px;
	/*background: url('/themes/matrizz/images/footer1.png') no-repeat center;*/
}

#gsFooter .content {
	padding: 10px 20px;
}

#gsFooter .content div.left {
	float: left;
}

#gsFooter .content div.right {
	float: right;
}

#gsNavBar {
	height: 20px;
}

#gsNavBar div.gbBreadCrumb {
    margin: 0;
    padding: 4px 8px;
}

#gsContent {
	height: 100%;
	/*width: 860px;*/
	width: 100%;
	margin: 0 auto;
}

.titleBar {
}

.titleBar h1 {
	color: #5e5e5e;
	font-size: 200%;
	text-align: right;
}

.row {
	/*width: 600px;*/
	padding: 5px 0;
	margin: 0 auto;
	background-color: #000;
}

.giAlbumCell, .giItemCell {
	float: left;
	clear: none;
	height: 100%;
	width: 170px;
	margin: 0 8px;
}

.giAlbumCell, .giItemCell {
	/*background: #000;*/
}

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

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


.giBlockToggle {
    padding: 0 0.4em 0.1em;
}
.giBlockToggle:hover {
    cursor: pointer;
}


.gbMarkupBar {
    margin: 4px 0;
}

#gallery .gbMarkupBar input {
    margin: 0;
    padding: 0;
}


/* ********************************************************************************
 * Sections
 * body.gallery     Page body in G2 standalone (doesn't apply to embedded)
 * #gallery         Page container
 * #gsNavBar   Top bar with breadcrumb and other links
 * #gsSidebar       Sidebar
 * #gsContent       Main content
 */

body.gallery {
    margin: 0 auto;
    padding: 0;
    height: 100%;
    /*background: url('/themes/matrizz/images/bodybackground.png') repeat-x top;*/
    background: #000;
}

#gallery {
	margin: 0 auto;
	padding: 0;
	/*width: 880px;*/
  	/*background: url('/themes/matrizz/images/fullbackground.png') repeat-y center;*/
}

#gallery.rtl {
    direction: rtl;
}

#gsNavBar {
/*
    border-top-width: 1px;
    border-bottom-width: 1px;
*/
	color: #333;
	margin: 0 10px;
	background-color: #fff;
}

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

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

#gsSidebar {
    border-right-width: 1px;
    /*width: 170px;*/
    overflow: hidden;
    margin-left: 5px;
}

#gsSidebarCol {
	float: left;
	clear: none;
}

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

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

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

#gsPages span {
    padding: 0 0.3em;
}

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

/* ********************************************************************************
 * Matrix Theme for Gallery 2
 * by Ross A. Reyman, Jon Huang, and Chad Kieffer
 * updated by Alan Harder
 */

/* ********************************************************************************
 * Building blocks
 * #gallery              Default font/color settings
 * .gcBackground1,2..    Palette of backgrounds
 * .gcBorder1,2..        Palette of borders
 * a, h2, h3, etc        Standard html tags
 * .giTitle, .giSubtitle, .giDescription, .giInfo, .giSuccess, .giWarning, .giError
 *                       Palette of text styles
 * div.gbBreadCrumb      List of links/path elements
 * table.gbDataTable     Table for data/form elements with styles for shading rows
 * div.gbTabBar          UI component for selectable tabs
 * .autoComplete*        Styles for autoComplete popup lists
 */

#gallery {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 62.5%;
    color: #fff;
    /*background-color: #eee;*/
}

body.gallery {
    /*background-color: #9f2d20;*/
}

.gcBackground1 {
    /*background-color: #eee;*/
}

.gcBackground2 {
    /*background-color: #e7e7e7;*/
}

.gcBorder1 {
    border: 0 solid #ccc;
}

.gcBorder2 {
    border: 0 solid #888;
}

#gallery a {
    font-weight: bold;
    text-decoration: none;
    color: #fff;
}
#gallery a:hover {
    text-decoration: none;
    color: #9f2d20;
}
#gallery a:active {
    text-decoration: none;
    color: #9f2d20;
}

#gallery img {
    border-width: 0;
}

#gallery h2, #gallery h3, #gallery h4 {
    font-family: "Trebuchet MS", Arial, Verdana, Helvetica, sans-serif;
}

#gallery input:focus, #gallery textarea:focus {
    background-color: #fff;
    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 {
    font-size: 1em;
}

.giTitle, #gallery h2, #gallery h3, #gallery h4 {
    font-size: 1.3em;
    font-weight: bold;
}

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

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

.giDescription {
    font-size: 1.1em;
    line-height: 1.4em;
}

.gbEmptyAlbum {
    height: 400px;
}

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

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

.giInfo span.summary {
    display: block;
}

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

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

.giNew, .giUpdated {
    border-width: 2px;
    border-style: ridge;
    padding: 0 6px;
    line-height: 1.9em;
}

#gsNavBar div.gbBreadCrumb {
    font-size: 1.1em;
    font-weight: bold;
}

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

#gsThumbMatrix {
	/*float: right;*/
	float: left;
	clear: none;
	padding: 0;
	margin: 10px 5px 10px 0;
	/*width: 670px;*/
}

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

#gsNavBar div.gbSystemLinks {
  float: right;
}

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


#gsThumbMatrix div.block-core-ItemLinks a {
  color: #f1ab00;
}

/* ********************************************************************************
 * Sections
 * #gallery         Page container
 * #gsNavBar   Top bar with breadcrumb and other links
 * #gsSidebar       Sidebar
 * #gsContent       Main content
 * #giFormUsername  Form field for entering a username
 * #giFormGroupname Form field for entering a group name
 */

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

#gsNavBar a { color: #333; }

#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-top: 5px;
}

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: #0b6cff;
}

/* ***************************************************** */
/*                   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;
}
#gallery.rtl div.block-core-GuestPreview {
  float: left;
}

span.block-core-SystemLink {
}

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  {
  font-weight: bold;
  text-align: center;
  border: 1px solid #999;
}

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

/*
* Menu
*/

.dtree {
	padding: 0 5px;
}

/*
* Caja de busqueda
*/

#search_SearchBlock div {
	display: block;
	margin: 0 auto;
	/*width: 120px;*/
}

#search_SearchBlock input, #search_SearchBlock input:focus  {
	font-size: 12px;
	padding: 5px;
	background-color: #1a1a1a;
	border: 1px solid #404040;
	color: #fff;
}

/**
* Login
**/

div.block-core-LoginBlock {
}

#LoginForm div {
	display: block;
	margin: 0 auto;
	width: 110px;
}

/**
* Carrito
**/

.block-cart-ShowCart, .block-checkout-ShowCart {
	display: block;
	text-align: center;
}

table.gbDataTable {
	width: 100%;
}

table.gbDataTable td {
	text-align: center;
	background: #0f0f0f;
}

table.gbDataTable th {
	background: #f1ab00;
}

table.checkoutPaymentOptions td.checkoutPaymentOptionText {
  color: #000;
}

table.checkoutEmailDetailsTable {
  margin-left: 10px;
  width: 600px;
}

table.checkoutEmailDetailsTable td {
  background-color: transparent;
  color: #000;
  text-align: left;
}

/*
* Paginador
*/

.block-core-Pager {
	text-align: center;
}

#gsPages {
	color: #0a0a0a;
}

#gsPages span {
	/*border-bottom: 1px solid black;*/
}

#gsPages span a {
	border-bottom: 1ps solid #fbe6b5;
}

#gsPages span a:hover {
	border-bottom: 1ps solid #000;
}

/**
* Titulos
**/

#gsThumbMatrix h2 {
	margin-left: 10px;
	color: #0f0f0f;
}

#gsThumbMatrix form div {
	margin: 0 10px;
}

/**
* Otros Textos
**/

#gsThumbMatrix p {
  color: #000;
}

#gsThumbMatrix div.checkoutDetailsText {
  color: #000;
}

#gsThumbMatrix div.giAlbumCell, #gsThumbMatrix div.giItemCell {
  color: #fff;
}

#gsThumbMatrix .giTitle {
  color: #fff;
}

/*
* Dise�o de marcos
*/

#gsThumbMatrix {
/*
	background: url('/themes/matrizz/images/framecontent.png') repeat-y top;
	color: #fff;
*/
}

/*

#gsThumbMatrix div.frameTop {
	height: 10px;
	background: url('/themes/matrizz/images/frametop.png') no-repeat top;
}

#gsThumbMatrix div.frameBottom {
	height: 10px;
	background: url('/themes/matrizz/images/framebottom.png') no-repeat top;
}

#gsThumbMatrix .giAlbumCell div.frameTop {
	height: 10px;
	background: url('/themes/matrizz/images/thumbtop.png') no-repeat top;
}

#gsThumbMatrix .giAlbumCell div.frameBottom {
	height: 10px;
	background: url('/themes/matrizz/images/thumbbottom.png') no-repeat bottom;
}

#gsThumbMatrix .giItemCell div.frameTop {
	height: 10px;
	background: url('/themes/matrizz/images/thumbtop.png') no-repeat top;
}

#gsThumbMatrix .giItemCell div.frameBottom {
	height: 10px;
	background: url('/themes/matrizz/images/thumbbottom.png') no-repeat bottom;
}

div#gsSidebar .gbBlock {
	margin: 5px 0;
	width: 100%;
	background: url('/themes/matrizz/images/sidebartop.png') no-repeat top #f1ab00;
}

div#gsSidebar .gbBlockDesign {
	padding: 10px 0;
	background: url('/themes/matrizz/images/sidebarbottom.png') no-repeat bottom;
}
*/

div#gsSidebar .gbBlock {
	margin: 10px 0;
}

div#gsSidebar .gbBlockDesign {
	padding: 10px 0;
}

/**
* ImageView
**/

div.gbNavigator {
	margin: 5px 5px;
	padding: 3px 0;
	height: 100%;
}

div.gbNavigator:after {
	content: ".";
	display: block;
	height: 0;
	font-size:0;
	clear: both;
	visibility:hidden;
}

#gsImageView {
	padding: 10px 0;
	text-align: center;
}

#gsImageView img {
	background: url('images/loading.gif') no-repeat 50% 50%;
	margin: 0 auto;
}

/* ********************************************************************************
 * Rating module style fix for Matrix
 */
.giRatingUI {
    margin: 10px auto; /* Required to center default rating module star images */
}
#gsThumbMatrix .giRatingAverageContainer {
    margin: auto;
}


/***
	HACKS
***/

.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.clearfix {display: inline-block;}

/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */
