/* ********************************************************************************
 * 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
 */
* {
	font-family: Verdana, Geneva, sans-serif;
	font-size: 11px;
	color: #333;
	/* Solve all padding & margin problems */
	padding: 0;
	margin: 0;
	/* I never liked the standard middle alignment */
	vertical-align: top;
}
body {
	padding-bottom: 30px;
}

body,
#gallery {
	background-color: #333;
	margin-top: 0;
	margin-right: auto;
	margin-bottom: 0;
	margin-left: auto;
}

#gallery h2, #gallery h3, #gallery h4, #gallery form {

}

#gallery p {
	padding: 0;
	margin-top: 0em;
	margin-right: 0;
	margin-bottom: 0.2em;
	margin-left: 0;
	font-size: 1em;
	display: block;
	line-height: 1.3em;
}

#gsNavBar div.gbBreadCrumb {
	margin: 0;
	padding-top: 5px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 5px;
}

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 {
    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
 */

#gallery.rtl {
    direction: rtl;
}

#gsNavBar div.gbSystemLinks span {
	margin-right: 2px;
	margin-top: 4px;
}

#gsSidebar {
	border-right-width: 1px;
	overflow: hidden;
	margin-right: 2px;
	margin-bottom: 5px;
	margin-left: 0px;
}
#gsSidebarCol {
	width: 1px;
}

td.giAlbumCell, td.giItemCell {
	padding: 1em;
	text-align: center;
	padding: 4px;
	background-color: #FFF;
	border: 1px solid #FFE7CE;
}
td.giAlbumCell{
	background-color: #FFE784;
}
td.giItemCell {
	background-image: url(images/img_bgrnd.gif);
	background-repeat: repeat-x;
}
#gallery td.giAlbumCell select, #gallery td.giItemCell select {
    margin-top: 0.8em;
}

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

#gsPages span {
    padding: 0 0.3em;
}

#gallery #gsSidebar ul {
	font-size: 1em;
	padding-left: 4px;
}

/* ********************************************************************************
 * 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: #333;
	margin-right: auto;
	margin-left: auto;
	overflow: visible;
}

.gcBackground1 {
	padding: 5px;
}

.gcBackground2 {

}

.gcBorder1 {

}

.gcBorder2 {

}

#gallery a {
	text-decoration: none;
	color: #6b8cb7;
}
#gallery a:hover {
    text-decoration: underline;
    color: #f4560f;
}
#gallery a:active {
    text-decoration: none;
    color: #f9c190;
}

#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: #ffc;
    color: #000;
}

#gallery input.inputTypeSubmit, #gallery input.inputTypeButton {  /* No input[type=submit] in IE */
	color: #333;
}

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

.giTitle, #gallery h2, #gallery h3, #gallery h4 {

}
.giTitle{
	font-weight: bold;
	color: #666;
}
#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: 1em;
	line-height: 1.4em;
	height: 1.3em;
	overflow: hidden;
	display: block;
	font-style: italic;
}
#gsContent .giDescription {
	overflow: visible;
	height: auto;
}
.gbEmptyAlbum {
    height: 400px;
}

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

.giInfo {
	color: #888;
	margin-top: 4px;
}

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

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

.giNew, .giUpdated {
	padding: 3px;
	color: #F00;
	font-weight: bold;
	display: block;
	text-align: center;
	font-size: 12px;
}

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

#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 {
    width: 100%;
}

#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;
	margin-right: 20px;
}

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

.gbEven {
    background-color: #fff;
}

.gbBusy {
    background-color: #78D478 !important;
}

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

.autoCompleteShadow {
    background-color: #a0a0a0 !important;
}

.autoCompleteContainer {
    border-color: #404040 #404040 #080;
    background-color: #fff;
}

.autoCompleteContainer li.yui-ac-highlight {
    background-color: #eee;
}

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

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


/* ********************************************************************************
 * Sections
 * #gallery         Page container
 * #gsNavBar   Top bar with breadcrumb and other links
 * #gsSidebar       Sidebar
 * #gsContent       Main content
 */

#gsNavBar div {

}

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

#gsSidebar ul span {
    color: #999;
}

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 {
	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-right: 0;
	margin-bottom: 3px;
	margin-left: 0;
	margin-top: 5px;
}
div.block-core-ItemLinks a {
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 0px;
}
div#gsSidebar div.block-core-ItemLinks a {
  display: block;
}

div#gsSidebar div.block-core-PeerList a {
	display: block;
	height: 16px;
	line-height: 16px;
}

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

div#gsSidebar div.block-core-PeerList span.current {
	color: #0b6cff;
	line-height: 16px;
	height: 16px;
	padding-right: 4px;
	padding-left: 4px;
}

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

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

#gsFooter {
	height: 24px;
	padding-top: 1px;
	background-color: #aaa;
	padding-right: 15px;
	padding-left: 15px;
	line-height: 20px;
	border-top-width: 2px;
	border-bottom-width: 3px;
	border-top-style: solid;
	border-bottom-style: solid;
	border-top-color: #c9c9c9;
	border-bottom-color: #000;
}

/* ********************************************************************************
 * Rating module style fix for Matrix
 */
.giRatingUI {
    margin: 10px auto; /* Required to center default rating module star images */
}
#gsThumbMatrix .giRatingAverageContainer {
    margin: auto;
}
#gsHeader {
	height: 105px;
	background-color: #F62400;
	background-image: url(images/tienLogo_bg.gif);
	background-repeat: repeat-x;
}
#gsNavBar .gbSystemLinks .block-core-SystemLink {
	display: block;
	float: left;
}

#gsNavBar .gbSystemLinks .block-core-SystemLink a{
	display: block;
	float: left;
	height: 28px;
	background-image: url(images/bars.gif);
	border-right-width: 1px;
	border-left-width: 1px;
	border-right-style: solid;
	border-left-style: solid;
	border-right-color: #FFA91A;
	border-left-color: #FFA91A;
	padding-right: 3px;
	padding-left: 3px;
	color: #fff;
	font-weight: bold;
}

#gsNavBar .gbSystemLinks .block-core-SystemLink a:hover{
	background-image: url(images/grey_bars.gif);
	border-right-color: #CCC;
	border-left-color: #CCC;
	text-decoration: none;
	color: #333;
}

#gsNavBar .breadCrumb{
	margin-top: 5px;
}
#gsNavBar .breadCrumb .block-core-BreadCrumb * {
	color: #999;
}
#gsNavBar .breadCrumb .block-core-BreadCrumb a {
	color: #fff;
}
#gsNavBar * {
	line-height: 24px;
	color: #999;
}

#gsNavBar {
	background-color: #222821;
	height: 32px;
}
#gallery,.main_table {
	width: 990px;
}
.main_table{

}

#gsNavBar .block-core-BreadCrumb a {
	color: #FFF;
}
#gsThumbMatrix .thmb_holder a{
	text-align: center;
	display: block;
}

/* #gsThumbMatrix .giAlbumCell .thmb_holder img{
	border: 2px solid #FFC082;
}*/
.thmb_holder {
	width: 150px;
	text-align: center;
	margin-right: auto;
	margin-left: auto;
}
#gsSidebar .one-image {
	text-align: center;
}
#gsSidebar a {

}


h3,
#gsSidebarCol h2 {
	font-size: 13px;
	text-align: left;
	height: 16px;
	padding: 3px;
	line-height: 16px;
	margin-bottom: 6px;
	background-color: #e8e8e8;
	font-family: Arial, Helvetica, sans-serif;
	text-align: center;
	background-image: url(images/bars.gif);
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #ac762a;
	color: #FFF;
}
#gsSidebarCol .gbBlock {
	margin-bottom: 2px;
}
#gsSidebarCol,
#gsContent {
	padding-right: 1px;
	background: url(images/tienTab.gif) top right no-repeat;
}
#gsSidebarCol {
	border-right: 1px solid #fcfcfc;
}
#gsSidebarCol {
	width: 160px;
}
#gsSidebarCol img.widthHack {
	width: 160px;
	height: 1px;
	filter: alpha(opacity=10);
	-moz-opacity: 0.1;
	opacity: 0.1;
}
#gsSidebarCol .block-cart-ShowCart a,
#gsSidebarCol .block-cart-ShowCart p,
#gsSidebarCol .block-core-PeerList a,
#gsSidebarCol .block-core-PeerList span.neck,
#gsSidebarCol .block-core-PeerList span.current,
#gsSidebarCol .block-core-LanguageSelector select,
#gsSidebarCol .block-members-MembersSummary p {
	line-height: 16px;
	margin-left: 6px;
	display: block;
}
#gsSidebarCol .block-core-ItemLinks a,
#gsSidebarCol .block-search-SearchBlock div {
	line-height: 16px;
	display: block;
	margin-top: 3px;
	margin-bottom: 3px;
	height: auto;
}
.gbBlock {
	padding: 6px;
}
.gbBlock .one-image,
.gbBlock .one-image * {
	text-align: center;
}
.gbBlock .gbAdminLink {
	display: block;
	line-height: 18px;
}
.gbBlock {
	padding: 6px;
}
.gcBorder1,.gbBlock {
	padding: 0px;
}
#gsSidebarCol .block-core-PeerList,
#gsSidebarCol .block-cart-ShowCart,
#gsSidebarCol .block-core-LanguageSelector,
#gsSidebarCol .block-imageblock-ImageBlock,
#gsSidebarCol .block-members-MembersSummary,
#gsSidebarCol .block-comment-ViewComments {
	padding: 0;
	padding-bottom: 6px;
}
#gsSidebar .block-core-ItemLinks.gbBlock a {
	margin-left: 5px;
}
#gsSidebarCol #gsSidebar #gbSiteAdminLinks li span {
	margin-top: 10px;
	display: block;
	font-weight: bold;
	color: #333;
}#gsThumbMatrix tr .block-core-ItemLinks a {
	font-weight: bold;
}
#gsThumbMatrix tr .giDescription {
	display: block;
	height: 16px;
	overflow: hidden;
}
#gallery #gsFooter a:hover {
	text-decoration: none;
}
#gsContent .gbBlock.gcBackground1 h2 {
	font-size: 160%;
	color: #F13900;
	font-family: Georgia, "Times New Roman";
	margin-right: 10px;
	margin-bottom: 5px;
	margin-left: 10px;
	padding-bottom: 7px;
	margin-top: 4px;
}
#gsContent .block-core-ItemInfo.giInfo * {
	font-size: 1em;
}
#gsContent .gbBlock.gcBackground2.gbNavigator {
	margin-top: 3px;
	margin-bottom: 3px;
}
#gsContent .navigatorNext {
	float: right;
}
#gsContent .navigatorBack {
	float: left;
}
#gsContent .block-core-ItemLinks a {
	display: block;
	height: 20px;
	line-height: 20px;
	margin-right: 10px;
	float: left;
}
#gsContent .block-rating-Rating {
	clear: both;
	padding-top: 5px;
}
#gsContent #AddComment_trigger {
	clear: both;
	padding-top: 3px;
}
#gsContent .svejo {
	text-align: center;
	margin-top: 5px;
	margin-bottom: 5px;
}#gsHeader .top_ads {
	margin-top: 20px;
	margin-left: 30px;
	float: left;
}
#gsHeader a {
	float: left;
}
.tall_ads {
	width: 160px;
	padding-top: 200px;
	padding-left: 5px;
}
#gallery .main_table .main_td {
	background-color: #FFF;
	border-right-width: 1px;
	border-left-width: 1px;
	border-right-style: solid;
	border-left-style: solid;
	border-right-color: #000;
	border-left-color: #000;
}

