/**
 * Gallery 3 Wind Theme Screen Styles
 *
 * @requires YUI reset, font, grids CSS
 *
 * Sheet organization:
 *  1)  Font sizes, base HTML elements
 *  2)  Reusable content blocks
 *  3)  Page layout containers
 *  4)  Content blocks in specific layout containers
 *  5)  Navigation and menus
 *  6)  jQuery and jQuery UI
 *  7)  Right-to-left language styles
 */

/** *******************************************************************
 * 1) Font sizes, base HTML elements
 **********************************************************************/

body, html {
  background: #333 -moz-linear-gradient(90deg, #333, #999) repeat-x;
  background-image: -webkit-gradient(linear, 0% 0%, 0% 90%, from(rgba(153, 153, 153, 0.8)), to(rgba(51, 51, 51, .9)));
  font-family: 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  color: #fff;
  text-shadow: 0x 1px 3px #333;
}

p {
  margin-bottom: 1em;
}

em {
  font-style: oblique;
}

body a {
  color: #fff !important;
  font-weight:bold;
}

body a:hover{
color: #777777 !important;
text-decoration:none;
}
 
h1, h2, h3, h4, h5, strong, th {
  font-weight: bold;
  text-shadow: 0px 1px 2px #333;
}

h1 {
  font-size: 1.7em;
  color: #eee;
  text-shadow: 0x 1px 8px #f7f7f7;
}

#g-dialog h1 {
  font-size: 1.1em;
}

h2 {
  font-size: 1.4em;
}

#g-sidebar .g-block h2 {
  font-size: 1.2em;
}

#g-sidebar .g-block li {
  margin-bottom: .6em;
}

#g-content,
#g-site-menu,
h3 {
  font-size: 1.2em;
}

#g-sidebar,
.g-breadcrumbs {
  font-size: .9em;
}

#g-sidebar a{
   color: #555 !important;
}

#g-sidebar{
  left: 60px;
  top: -40px;
  background: -moz-linear-gradient(285deg, #ddd, #bbb 95%);
  background-image: -webkit-gradient(linear, 0% 0%, 42% 95%, from(#ddd), to(#bbb));
  -moz-border-radius: 20px;
  -webkit-border-radius: 20px;
  //-moz-border-radius-topleft: 20px;
  //-webkit-border-top-left-radius: 20px;
  -moz-box-shadow: 0px 1px 8px #333;
  -webkit-box-shadow: 0px 1px 8px #333;
}

#g-banner,
#g-footer,
.g-message {
  font-size: .8em;
}

#g-album-grid .g-item,
#g-item #g-photo,
#g-item #g-movie {
  font-size: .7em;
}

#override a{
  display:none;
}

#override {
  margin:0 auto;
  font-size:0;
}

/* Links ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

#g-logo h1{
  position:relative;
  top: 20px;
  font-size: 250%;
}

#g-logo:hover{
  text-decoration: none;
}

a,
.g-menu a,
#g-dialog a,
.g-button,
.g-button:hover,
.g-button:active,
a.ui-state-hover,
input.ui-state-hover,
button.ui-state-hover {
  color: #555 !important;
  cursor: pointer !important;
  text-decoration: none;
  -moz-outline-style: none;
}

a:hover,
#g-dialog a:hover {
  text-decoration: underline;
}

.g-menu a:hover {
  text-decoration: none;
}

#g-dialog #g-action-status li {
  width: 400px;
  white-space: normal;
  padding-left: 32px;
}

/* Tables ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

table {
  width: 100%;
}

#g-content table {
  margin: 1em 0;
}

caption,
th {
  text-align: left;
}

th,
td {
  border: none;
  border-bottom: 1px solid #ccc;
  padding: .5em;
}

td {
  vertical-align: top;
}

/** *******************************************************************
 * 2) Reusable content blocks
 *********************************************************************/

.g-block h2 {
  background-color: #e8e8e8;
  padding: .3em .8em;
}

.g-block-content {
  margin-top: 1em;
}

/*** ******************************************************************
 * 3) Page layout containers
 *********************************************************************/

/* View container ~~~~~~~~~~~~~~~~~~~~~~~~ */

.g-view {
  position:relative;
  left: auto;
  background: -moz-linear-gradient(285deg, #eee, #aaa 20%);
  background-image: -webkit-gradient(linear, 0% 0%, 20% 42%, from(#eee), to(#aaa));
  -moz-box-shadow: 0px 1px 12px #000;
  -webkit-box-shadow: 0px -20px 12px #000;
  -moz-border-radius-bottomleft: 20px;
  -webkit-border-bottom-left-radius: 20px;
  -moz-border-radius-bottomright: 20px;
  -webkit-border-bottom-right-radius: 20px;
  -moz-border-radius-topleft: 20px;
  -moz-border-radius-topright:20px;
  color: #f7f7f7;
}

/* Layout containers ~~~~~~~~~~~~~~~~~~~~~ */

#g-header {
  margin-bottom: 1em;
}

#g-banner {
  background: -moz-linear-gradient(285deg, #eee, #aaa 95%);
  background-image: -webkit-gradient(linear, 0% 0%, 95% 42%, from(#eee), to(#aaa));
  -moz-box-shadow: inset 0px 2px 4px #333;
  -webkit-box-shadow: inset 0px 2px 4px #333;
  border-bottom: 48px solid transparent;
  border-top: 50px solid transparent;
  margin-bottom:20px;
  min-height: 5em;
  padding: 1em 20px;
  position: relative;
}

#g-banner h1 {
  color: #888 !important;
}

#g-content {
  padding: 20px;
  position: relative;
  right: -20px;
  width: 690px;
  background: -moz-linear-gradient(285deg, #aaa, #777 95%);
  background-image: -webkit-gradient(linear, 0% 0%, 95% 42%, from(#aaa), to(#777));
  -moz-border-radius: 20px;
  -webkit-border-radius: 20px;
  //-moz-border-radius-topleft: 20px;
  //-webkit-border-top-left-radius: 20px;
  -moz-box-shadow: inset 0px 1px 8px #333;
  -webkit-box-shadow: 0px 1px 8px #333;
}

#g-sidebar {
  color: #555;
  padding: 20px;
  width: 220px;
}

#g-footer {
  -moz-border-radius-bottomleft: 20px;
  -webkit-border-bottom-left-radius: 20px;
  -moz-border-radius-bottomright: 20px;
  -webkit-border-bottom-right-radius: 20px;
  background: -moz-linear-gradient(285deg, #777, #aaa 95%);
  background-image: -webkit-gradient(linear, 0% 0%, 95% 42%, from(#777), to(#aaa));
  -moz-box-shadow: 0px -1px 4px #333;
  -webkit-box-shadow: 0px -1px 4px #333;
  margin-top: 20px;
  padding: 10px 20px;
  color: #f7f7f7;
}

#g-footer a{
  color: #f4b362 !important;
}

/** *******************************************************************
 * 4) Content blocks in specific layout containers
 *********************************************************************/

/* Header  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

#g-banner #g-quick-search-form {
  clear: right;
  float: right;
  margin-top: 1em;
}

#g-banner #g-quick-search-form input[type='text'] {
  width: 17em;
}

#g-content .g-block h2 {
  background-color: transparent;
  padding-left: 0;
}

#g-sidebar .g-block-content {
  padding-left: 1em;
}

#g-sidebar .g-block h2 {
  position:relative;
  left: -20px;
  color: #fff;
  text-shadow: 0px 1px 3px #333;
  background: -moz-linear-gradient(285deg, #777, #aaa 95%);
  background-image: -webkit-gradient(linear, 0% 0%, 95% 42%, from(#777), to(#aaa));
  -moz-border-radius-topright: 10px;
  -moz-border-radius-bottomright: 10px;
  -webkit-border-top-right-radius: 10px;
  -webkit-border-bottom-right-radius: 10px;
  padding: 10px 0px 10px 1em;
  -moz-box-shadow: inset 0px 1px 6px #333;
  -webkit-box-shadow: 0px 1px 6px #333;
}

/* Album content ~~~~~~~~~~~~~~~~~~~~~~~~~ */

#g-content #g-album-grid {
  margin: 1em 0;
  position: relative;
  left: -10px;
  z-index: 1;
}

#g-content #g-album-grid .g-item {
  -moz-border-radius: 10px;
  background: -moz-linear-gradient(285deg, #777, #555 95%);
  background-image: -webkit-gradient(linear, 0% 0%, 95% 42%, from(#777), to(#555));
  float: left;
  padding: .3em 4px;
  position: relative;
  text-align: center;
  margin: 3px;
  color: #555 !important;
  width: 213px;
  z-index: 1;
  -moz-box-shadow: inset 0px 1px 4px #333;
  -webkit-box-shadow: 0px 1px 4px #333;
}

#g-content #g-album-grid .g-item h2 {
  margin: 5px 0;
  display:none;
}

#g-content .g-photo h2,
#g-content .g-item .g-metadata {
  display: none;
  margin-bottom: .6em;
}

#g-content #g-album-grid .g-album {
  background-color: #e8e8e8;
}

#g-content #g-album-grid .g-album h2 span.g-album {
  background: transparent url('../images/ico-album.png') no-repeat top left;
  display: inline-block;
  height: 16px;
  margin-right: 5px;
  width: 16px;
}

.g-context-menu {
  -moz-box-shadow: 0px 1px 12px #333;
  -webkit-box-shadow: 0px 1px 12px #333;
  opacity: 0.9;
}

.g-context-menu li{
  background: #f7f7f7;
  
}

.g-context-menu li a{
  width: 96%;
  color: #777777 !important;
}

.g-context-menu li a:hover{
  background: #eee;
}

.g-button{
  border:n none;
  background: #f7f7f7;
  -moz-box-shadow: 0px 1px 12px #333;
  -webkit-box-shadow: 0px 1px 12px #333;
}

.g-button .hover{
  border:n none;
  background: #f7f7f7;
  -moz-box-shadow: 0px 1px 12px #333;
  -webkit-box-shadow: 0px 1px 12px #333;
}

#g-album-grid a{
  color:#555 !important;
}

#g-content #g-album-grid .g-hover-item {
  border: 1px solid #777777;
  -moz-border-radius-bottomleft: 20px;
  -webkit-border-bottom-left-radius: 20px;
  -moz-border-radius-bottomright: 20px;
  -webkit-border-bottom-right-radius: 20px;
  -moz-box-shadow: 0px 1px 12px #000;
  -webkit-box-shadow: 0px 1px 12px #000;
  padding-bottom:25px;
  background: -moz-linear-gradient(285deg, #eee, #aaa 95%);
  background-image: -webkit-gradient(linear, 0% 0%, 95% 42%, from(#eee), to(#aaa));
  position: absolute !important;
  z-index: 1000 !important;
}

#g-content .g-hover-item h2,
#g-content .g-hover-item .g-metadata,
#g-content #g-album-grid .g-hover-item h2 {
  display: block;
}

#g-content #g-album-grid #g-place-holder {
  position: relative;
  visibility: hidden;
  z-index: 1;
}

/* Search results ~~~~~~~~~~~~~~~~~~~~~~~~ */

#g-content #g-search-results {
  margin-top: 1em;
  padding-top: 1em;
}

/* Individual photo content ~~~~~~~~~~~~~~ */

#g-item {
  position: relative;
  width: 100%;
}

#g-item #g-photo,
#g-item #g-movie {
  margin-bottom:30px;
  padding: 2.2em 0;
  position: relative;
}

#g-item img.g-resize,
#g-item a.g-movie object {
  display: block;
  margin: 0 auto;
}

/* Footer content ~~~~~~~~~~~~~~~~~~~~~~~~ */

#g-footer #g-credits li {
  padding-right: 1.2em;
}

/* In-line editing  ~~~~~~~~~~~~~~~~~~~~~~ */

#g-in-place-edit-message {
  background-color: #fff;
}

/** *******************************************************************
 * 5) Navigation and menus
 *********************************************************************/

/* Login menu ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

#g-banner #g-login-menu {
  color: #999;
  float: right;
}

#g-banner #g-login-menu li {
  padding-left: 1.2em;
}

/* Site Menu  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

#g-site-menu {
  bottom: 0;
  left: 0px;
  top: 70px;
  position: absolute;
  z-index: 700;
  width:100%;
  height:60px;
  background: -moz-linear-gradient(285deg, #ddd, #999 95%);
  background-image: -webkit-gradient(linear, 0% 0%, 95% 42%, from(#ddd), to(#999));
  -moz-box-shadow: 0px 1px 6px #000;
  -moz-border-radius-bottomright: 15px;
  -moz-border-radius-bottomleft: 15px;
  -webkit-box-shadow: 0px 1px 6px #000;
  -webkit-border-bottom-right-radius: 15px;
  -webkit-border-bottom-left-radius: 15px;
}

#g-site-menu ul {
  margin-bottom: 0 !important;
}

#g-site-menu li ul {
  top: 45px;
  left:-5px;
  width: 200px;
  border: 5px solid #000;
  -moz-border-bottom-colors: #888 #999 #aaa #bbb #ccc #ddd;
  -moz-border-top-colors: #888 #999 #aaa #bbb #ccc #ddd;
  -moz-border-left-colors: #888 #999 #aaa #bbb #ccc #ddd;
  -moz-border-right-colors: #888 #999 #aaa #bbb #ccc #ddd;
  -webkit-border-bottom-colors: #888 #999 #aaa #bbb #ccc #ddd;
  -webkit-border-top-colors: #888 #999 #aaa #bbb #ccc #ddd;
  -webkit-border-left-colors: #888 #999 #aaa #bbb #ccc #ddd;
  -webkit-border-right-colors: #888 #999 #aaa #bbb #ccc #ddd;
  border-top: 0px solid #fff;
  -moz-border-radius-topright: 0;
  -moz-border-radius-bottomright: 20px;
  -webkit-border-radius-topright: 0;
  -webkit-border-radius-bottomright: 20px;
  background: -moz-linear-gradient(285deg, #aaa, #555 95%);
  background-image: -webkit-gradient(linear, 0% 0%, 95% 42%, from(#aaa), to(#555));
  -moz-box-shadow: inset 0px 2px 3px #333;
  -webkit-box-shadow: inset 0px 2px 3px #333;
}

#g-site-menu li {
  top:15px;
  left: 0px;
  padding:0;
  border: 0px solid #fff !important;
  margin-left: 20px;
  float:left;
  background: transparent;
  border-right: 1px solid #333;
  border-top: none;
}

#g-site-menu li li{
  top: 0;
  left: -20px;
  background:transparent;
  border: 0px solid #fff !important;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
}

#g-site-menu li li a{
  padding: 5px 20px 5px 20px;
  margin: 10px;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  color: #f7f7f7 !important;
  text-shadow: 0px 2px 1px #333;
}

#g-site-menu li a{
  font-family: "Kimberley", sans-serif;
  color: #555 !important;
  text-shadow: 0px 1px 3px #f7f7f7;
  padding: 10px 25px 10px 25px;
  font-size: 120%;
  height:25px;
  background: transparent;
  border: 0px solid #fff !important;
  -moz-border-radius-topleft: 10px;
  -moz-border-radius-topright:10px;
  -webkit-border-top-left-radius: 10px;
  -webkit-border-top-right-radius:10px;
}

#g-site-menu li a:hover, #g-site-menu li:hover > a{
  color: #f7f7f7 !important;
  text-shadow: 0px 2px 3px #333;
  text-decoration:none;
  background: -moz-linear-gradient(285deg, #aaa, #555 95%);
  background-image: -webkit-gradient(linear, 0% 0%, 95% 42%, from(#aaa), to(#555));
  -moz-box-shadow: inset 0px 2px 3px #333;
  -webkit-box-shadow: 0px 2px 3px #333;
}

#g-site-menu li li:hover > a, #g-site-menu li li li:hover > a{
  background:transparent;
  -moz-box-shadow: none !important;
  -webkit-box-shadow: none !important;
}

#g-site-menu li li a:hover, #g-site-menu li li:hover > a{
  color: #555 !important;
  text-shadow: 0px 2px 3px #fff;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  background: -moz-linear-gradient(285deg, #ddd, #999 95%);
  background-image: -webkit-gradient(linear, 0% 0%, 95% 42%, from(#ddd), to(#999));
  -moz-box-shadow: 0px 2px 3px #333 !important;
  -webkit-box-shadow: 0px 2px 3px #333 !important;
}
#g-site-menu ul ul ul{
  left:150px;
  top:0px;
  border:0;
  background: -moz-linear-gradient(285deg, #ddd, #999 95%);
  background-image: -webkit-gradient(linear, 0% 0%, 95% 42%, from(#ddd), to(#999));
  -moz-border-radius:10px;
  -webkit-border-radius:10px;
  -moz-box-shadow: 0px 2px 3px #333 !important;
  -webkit-box-shadow: 0px 2px 3px #333 !important;
}

#g-site-menu ul ul ul li a{
  color: #555 !important;
  text-shadow: 0px 2px 3px #fff;
}

#g-site-menu ul ul ul li a:hover{
  background: -moz-linear-gradient(285deg, #aaa, #555 95%);
  background-image: -webkit-gradient(linear, 0% 0%, 95% 42%, from(#aaa), to(#555));
  color: #f7f7f7 !important;
  text-shadow: 0px 2px 1px #333;
  -moz-box-shadow: inset 0px 2px 3px #333 !important;
  -webkit-box-shadow: 0px 2px 3px #333 !important;
}


/* Context Menu  ~~~~~~~~~~~~~~~~~~~~~~~~~ */

.g-context-menu {
  background-color: #fff;
  bottom: 0;
  left: 0;
  position: absolute;
}

.g-item .g-context-menu {
  display: none;
  margin-top: 2em;
  width: 100%;
}

#g-item .g-context-menu ul {
  display: none;
}

.g-context-menu li {
  border-left: none;
  border-right: none;
  border-bottom: none;
}

.g-context-menu li a {
  display: block;
  line-height: 1.6em;
}

.g-hover-item .g-context-menu {
  display: block;
}

.g-hover-item .g-context-menu li {
  text-align: left;
}

.g-hover-item .g-context-menu a:hover {
  text-decoration: none;
}

/* View Menu  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

#g-view-menu {
  margin-bottom: 1em;
}

#g-view-menu a {
  background-repeat: no-repeat;
  background-position: 50% 50%;
  height: 28px !important;
  width: 43px !important;
}

#g-view-menu #g-slideshow-link {
  background-image: url('../images/ico-view-slideshow.png');
}

#g-view-menu .g-fullsize-link {
  background-image: url('../images/ico-view-fullsize.png');
}

#g-view-menu #g-comments-link {
  background-image: url('../images/ico-view-comments.png');
}

#g-view-menu #g-print-digibug-link {
  background-image: url('../images/ico-print.png');
}

/** *******************************************************************
 * 6) jQuery and jQuery UI
 *********************************************************************/

/* Superfish menu overrides ~~~~~~~~~~~~~~ */

.sf-menu li li,
.sf-menu li li ul li {
  background-color: #bdd2ff;
}

.sf-menu li:hover {
  background-color: #dfe9ff;
}

/** *******************************************************************
 * 7) Right to left language styles
 *********************************************************************/

.rtl #g-header #g-login-menu,
.rtl #g-header #g-quick-search-form {
  clear: left;
  float: left;
}

.rtl #g-header #g-login-menu li {
  margin-left: 0;
  padding-left: 0;
  padding-right: 1.2em;
}

.rtl #g-site-menu {
  left: auto;
  right: 150px;
}

.rtl #g-view-menu #g-slideshow-link {
  background-image: url('../images/ico-view-slideshow-rtl.png');
}

