/* ********************************************************************************
 * 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
 */
body {
	background: url('images/header-corner.jpg') no-repeat #000;
	margin: 0;
	padding: 0;
}

table.layout {
	position: absolute;
	left: 170px;
	top: 30px;
	border-collapse: collapse;
	border: none;
	width: 80%;
}

table.layout td {
	margin: 0;
	padding: 0;
}

#drawer-content {
	padding: 0 20px 0 10px;
	margin-top: -30px;
}

.sidebar-photo-l {
	width: 167px;
	height: 128px;
	background: url("images/layout/photo-frame-l.gif") no-repeat;
	padding: 1px 0 0 1px;
	margin-top: 5px;
}

#contentCC ,#gsSidebarCol { vertical-align: top;}


#superTL { background: url('images/blue/superTL.gif') no-repeat; width: 36px; height: 52px;}
#superTT { background: url('images/blue/superTT.gif') repeat-x; width: auto; height: 52px;}
#superTTR { background: url('images/blue/superTTR.gif') no-repeat 0 0; width: 55px; height: 52px; float: right;}
#superTR { background: url('images/blue/superTR.jpg') no-repeat; width: 32px; height: 52px;}
#superD { background: url('images/blue/superD.jpg') no-repeat; width: 205px; height: 52px;}
#contentTL { background: url('images/blue/contentTL.gif') no-repeat; width: 36px; height: 32px;}
#contentTT { background: url('images/blue/contentTT.jpg') repeat-x; width: auto; height: 32px;}
#contentTR { background: url('images/blue/contentTR.jpg') no-repeat; width: 32px; height: 32px;}
#drawer2 { background: url('images/blue/drawer_top.jpg') no-repeat; width: 205px; height: 32px;}
#contentLL { background: url('images/blue/contentLL.jpg') repeat-y; width: 36px; height: auto;}
#contentCC {background: #fff; width: auto;}
#contentRR { background: url('images/blue/contentRR.jpg') repeat-y; width: 32px; height: auto;}
#gsSidebarCol { background: url('images/blue/drawer_back.jpg') repeat-y; width: 205px; height: auto;}
#drawer4 { background: url('images/blue/drawer_bottom.jpg') no-repeat; width: 205px; height: 58px;}
#drawer5 { background: url('images/blue/drawer_empty.jpg') repeat-y; width: 205px; height: auto;}
#contentBL { background: url('images/blue/contentBL.jpg') no-repeat; width: 36px; height: 50px;}
#contentBB { background: url('images/blue/contentBB.jpg') repeat-x; width: auto; height: 50px;}
#contentBR { background: url('images/blue/contentBR.jpg') no-repeat; width: 32px; height: 50px;}
#drawer6 { background: url('images/blue/drawer_end.jpg') no-repeat; width: 205px; height: 50px;}

#gsSidebarCol { height: 50px;}

#menu {
	position: absolute;
	top: 190px;
	left: 0px;
	width: 150px;
	border-top: 2px solid #000;
	border-bottom: 2px solid #000;
	font-weight: bold;
	background: url('images/menu-box-mid.jpg') repeat-y;
	font-size: 1.2em;
}

#menu-head {
	width: 150px;
	height: 35px;
	background: url('images/menu-box-top.jpg') no-repeat;
}

#menu-foot {
	position: absolute;
	bottom: -2px;
	width: 150px;
	height: 35px;
	background: url('images/menu-box-bottom.jpg') no-repeat;
	margin: 0;
}

#menu-body {
	position: relative;
	margin-top: -25px;
	margin-right: 8px;
	padding-bottom: 12px;
}

ul#nav, ul#nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

ul#nav li {
	padding: 4px 0;
	padding-left: 5px;
	color: transparent;
	border-bottom: 1px dotted #333;
	white-space: nowrap;
	width: 136px;
}

ul#nav li:before {
	content: "\00BB \0020";
}

ul#nav li:hover {
	color: #666;
}

ul#nav li a {
	color: #000;
	text-decoration: none;
}

ul#nav li a:hover {
	color: #c00;
}

ul#nav ul {
	position: absolute;
	left: 128px;
	visibility: hidden;
	border: 1px solid #333;
	background: #eee;
	margin-top: -1em;
	font-size: 0.9em;
	min-width: 120px;
	width: auto !important;
	z-index: 2;
}

ul#nav ul li {
	padding-right: 10px;
	width: 100%;
}

ul#nav li:hover ul, ul#nav li.over ul {
	visibility: visible;
}

#menu-logo {
	width: 119px;
	height: 78px;
	margin-top: 15px;
	background: url('images/menu-box-logo.jpg') no-repeat;
}

#address {
	font-size: 0.8em;
	font-weight: normal;
	margin-left: 10px;
}

#menu #address a {
	color:#c00;
	font-weight: normal;
}

/* ############# Floating 'Next' & 'Previous' links on top of images ############### */

#entire_image {
	position: relative;
}

.floatlinks p a em {
  position:absolute;
  top: 0;
  left: 0;
  right: auto;
  width:50%;
  height:100%;
  text-indent:-10000px;
  }
  
#next p a em {
  left: auto;
  right: 0;
  }
.v .floatlinks p a em {
  width:190px;
  height:500px;
  }

#prev a>em {
  background:url("images/photonav_prev.png") no-repeat 50% -100px;
  }

#next a>em {
  background:url("images/photonav_next.png") no-repeat 50% -100px;
  }

#prev a:hover em, #next a:hover em, #prev a:active em, #next a:active em {
  background-position: 50% 0px;
  cursor:pointer;
  }

/* ############################################### */

.giItemInfo .date, .giData .date {
	padding-left: 15px;
	background: url('images/icon_time.gif') no-repeat;
}

.giItemInfo .viewCount, .giData .viewCount {
	padding-left: 20px;
	background: url('images/icon_views.gif') no-repeat 5px 0;
	border-left: 1px solid #666;
}

.giItemInfo .size, .giData .size {
	padding-left: 20px;
	background: url('images/icon_size.gif') no-repeat 5px 0;
	border-left: 1px solid #666;
}

.giItemInfo .comments, .giData .comments {
	padding-left: 20px;
	background: url('images/icon_comments.gif') no-repeat 5px 0;
	border-left: 1px solid #666;
}

.giItemInfo .viewSizes, .giData .viewSizes {
	padding-left: 21px;
	background: url('images/icon_size.gif') no-repeat 5px 0;
	border-left: 1px solid #666;
}

.giItemInfo .rating {
	padding-top: 3px;
	text-align: center;
}

.giAlbumCell div.updatedItem {
	display: block;
	position: absolute;
	top: 7px;
	left: 0;
	z-index: 2;
	background: url('images/thumb_updated.gif') no-repeat 50% 0;
	height: 6px;
	width: 100%;
}

.giAlbumCell div.newItem {
	display: block;
	position: absolute;
	top: 7px;
	left: 0;
	z-index: 2;
	background: url('images/thumb_new.gif') no-repeat 50% 0;
	height: 6px;
	width: 100%;
	
}
/* ############################################### */

.giAlbumCell, .giItemCell {
	float: left;
	text-align: center;
	height: 153px;
	margin: 3px;
	position: relative;
}

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

.giAlbumCell {
	width: 170px;
	height: 200px;
}

.giItemCell {
	width: 145px;
}

/* ############################################### */

.giItemInfo {
	visibility: hidden;
	position: relative;
	bottom: 8px;
	border: 1px solid #666;
	background: #FFFFDD;
	padding: 3px 6px;
	z-index: 2;
	text-align: left;
	width: auto;
}

.giItemInfo .giTitle, .giData .giTitle, .giName {
	margin-bottom: 4px !important;
	padding: 0;
	display: block;
	border-bottom: 1px dotted #666;
	text-align: left;
	font-weight: bold;
}

.giItemInfo .giName {
	cursor: pointer;
}

.itemAdminLinks {
    display: block;
    position: absolute;
    background: #FFFFE5;
    padding: 1px 11px 3px 2px;
    border: 1px #666 solid;
    line-height: 1em;
    font-size: 90%;
    text-align: left;
    white-space: nowrap;
    margin: 6px 0 0 3px;
    font-weight: bold;
    z-index: 3;
}

.itemAdminAnchor {
	cursor: pointer;
	color: #999;
}

#gallery .itemAdminAnchor a , #gallery .itemAdminAnchor a:hover, #gallery .itemAdminAnchor a:active {
	color: #333;
}

#gbItems {
	width: auto;
	margin: 10px 0px 0 0px;
}

.giData .summaries {
	text-align:left;
}

#gsImageView table{
	margin: 0 auto;
}

.sun_bullet {
	background: url('images/sun_bullet.jpg') no-repeat 0 2px;
	padding: 1px 0 1px 30px;
}

.block-exif-ExifInfo table {
	border-collapse: collapse;
	margin-top: 3px;
}

.block-exif-ExifInfo table td {
	margin: 0;
	border: 1px solid #999;
}

.block-imageblock-ImageBlock {
	text-align: center;
}

.block-imageblock-ImageBlock table{
	margin: 0 auto;
}

input[size='60'], input[size='80'] {
	width: 100%;
}

input[type='file'] {
	width: 400px;
	padding-right:40px;
}

/* ############################################### */

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

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

.gbBlock {
    padding: 0.7em;
    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;
}


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

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

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


.giBlockToggle {
    padding: 0 0.3em 0 0.2em;
    background: #eee;
    margin-left: 5px;
}
.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;
    padding: 0;
}

#gallery {
    padding: 8px;
}
#gallery.rtl {
    direction: rtl;
}

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

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

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

#gsSidebar {
    overflow: hidden;
}

td.giAlbumCell, td.giItemCell {
    padding: 1em;
    text-align: center;
}

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

/* ********************************************************************************
 * 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: Arial, 'Lucida Grande', Verdana, Arial, Sans-Serif;
    font-size: 62.5%;
    color: #333;
}

.gcBackground1, .gbOdd {
    background-color: #E5E5F6;
}

.gcBackground2 {
    background-color: #ccf;
}

.gcBorder1 {
    border: 0 solid #ccc;
}

#gsSidebar.gcBorder1 {
    border: 0 solid #333;
}

.gcBorder2 {
    border: 0 solid #888;
}

#gallery a {
    font-weight: bold;
    text-decoration: none;
    color: #c00;
}
#gallery a:hover {
    text-decoration: underline;
    color: #f4560f;
}
#gallery a:active {
    text-decoration: none;
    color: #f4560f;
}

#gallery img {
    border-width: 0;
}

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

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

#gsSidebar .giInfo {
    color: #555;
}

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

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

.gbEven {
    background-color: #fff;
}

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


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: 1px solid #404040;
    background-color: #fff;
    border-top: 0px;
    border-bottom: 1px dotted rgb(0, 128, 0);
    margin-bottom: -1px;
    margin-top: 0px;
}

.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 {
    margin-top: 0.1em;  /* Align system links with breadcrumb */
    font-weight: bold;
}

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

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: 13px;
  padding-right: 5px;
  background: url('images/nav_first.gif') left no-repeat;
}

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

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

div.gbNavigator a.last {
  padding-right: 13px;
  padding-left:5px;
  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: #66c;
}

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

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

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

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

#gsFooter {
  padding-top: 4px;
}