/* Portion of GMC Drupal theme (themes/gmc/style.css) for site header/footer, main table */

#header {
  background: url('http://galleryproject.org/themes/gmc/images/bg_head.png') repeat-x;
  height: 131px;
  voice-family: "\"}\"";
  voice-family: inherit;
}
#header-secondary-links {
  position: absolute;
  left: 0;
  top: 108px;
  text-align: right;
  width: 100%;
  min-width: 700px;
}


/* Footer */
#footer {
  border-top: 1px solid #333;
  background: #fff url('http://galleryproject.org/themes/gmc/images/bg_sidebar_h2.png') top left repeat-x;
  margin: 2em 0;
  padding: 1.0em 0 1.0em 1.0em;
  text-align: left;
  color: #666;
}
#footer span, #footer a {
  white-space: nowrap;
  padding: 0 1em;
}
#footer p span, #footer p a {
  white-space: nowrap;
  padding: 0 0.3em;
}
#footer span a {
  padding: 0;
}
#footerlogo {
  float: right;
  padding-left: 1em;
}
#footer ul {
  margin: 0 0 1em 0;
  padding: 0;
  list-style: none;
}
#footer li {
  display: inline;
  padding: 0 20px 0 0;
  margin: 0;
  white-space: nowrap;
}
#footer p {
  margin: 0.6em 0;
}
#footer p, #footer p a {
  color: #666;
}
#footer a {
  color: #666;
  text-decoration: underline;
}
#footer p a:hover {
  color: #000;
}


/* Primary Links */

/* DOWNLOADS */
#primary-downloads {
  float: right;
  margin: 40px 18px 20px 10px;
}

#primary-downloads a {
  display: block;
  background: transparent url('http://galleryproject.org/themes/gmc/images/downloads-icon-normal.png') center right no-repeat;
  padding-right: 40px;
  text-decoration: none;
  font-size: 16px;
  color: #585C60;
  padding-top: 7px;
  height: 27px;
}

#primary-downloads a:hover {
  background: transparent url('http://galleryproject.org/themes/gmc/images/downloads-icon-hover.png') center right no-repeat;
  text-decoration: underline;
  color: #DA6C39;
}

/* DOCUMENTATION */
#primary-docs {
  float: right;
  margin: 40px 20px 20px 10px;
}

#primary-docs a {
  display: block;
  background: transparent url('http://galleryproject.org/themes/gmc/images/docs-icon-normal.png') center right no-repeat;
  padding-right: 50px;
  padding-top: 7px;
  text-decoration: none;
  font-size: 16px;
  color: #585C60;
  height: 27px;
}

#primary-docs a:hover {
  background: transparent url('http://galleryproject.org/themes/gmc/images/docs-icon-hover.png') center right no-repeat;
  text-decoration: underline;
  color: #DA6C39;
}

* html #primary-downloads a, * html #primary-docs a {
  display: inline-block; /* For IE */
}

/* Secondary Links */

/* SEARCH */
#secondary-search {
  display: inline;
  margin: 2px 6px 2px;
}

#secondary-search a {
  background: transparent url('http://galleryproject.org/themes/gmc/images/search-icon-normal.png') center right no-repeat;
  padding-right: 20px;
  text-decoration: none;
  color: #000;
}

#secondary-search a:hover {
  background: transparent url('http://galleryproject.org/themes/gmc/images/search-icon-hover.png') center right no-repeat;
  text-decoration: underline;
  color: #fff;
}

/* FORUMS */
#secondary-forums {
  display: inline;
  margin: 2px 6px 2px;
}

#secondary-forums a {
  background: transparent url('http://galleryproject.org/themes/gmc/images/forums-icon-normal.png') center right no-repeat;
  padding-right: 20px;
  text-decoration: none;
  color: #000;
}

#secondary-forums a:hover {
  background: transparent url('http://galleryproject.org/themes/gmc/images/forums-icon-hover.png') center right no-repeat;
  text-decoration: underline;
  color: #fff;
}

/* SUPPORT */
#secondary-support {
  display: inline;
  margin: 2px 6px 2px;
}

#secondary-support a {
  background: transparent url('http://galleryproject.org/themes/gmc/images/support-icon-normal.png') center right no-repeat;
  padding-right: 21px;
  text-decoration: none;
  color: #000;
}

#secondary-support a:hover {
  background: transparent url('http://galleryproject.org/themes/gmc/images/support-icon-hover.png') center right no-repeat;
  text-decoration: underline;
  color: #fff;
}

/* DEV */
#secondary-dev {
  display: inline;
  margin: 2px 6px 2px;
}

#secondary-dev a {
  background: transparent url('http://galleryproject.org/themes/gmc/images/dev-icon-normal.png') center right no-repeat;
  padding-right: 20px;
  text-decoration: none;
  color: #000;
}

#secondary-dev a:hover {
  background: transparent url('http://galleryproject.org/themes/gmc/images/dev-icon-hover.png') center right no-repeat;
  text-decoration: underline;
  color: #fff;
}

/* MY ACCOUNT */
#secondary-myaccount {
  display: inline;
  margin: 2px 20px 2px 6px;
}

#secondary-myaccount a {
  background: transparent url('http://galleryproject.org/themes/gmc/images/myaccount-icon-normal.png') center right no-repeat;
  padding-right: 20px;
  text-decoration: none;
  color: #000;
}

#secondary-myaccount a:hover {
  background: transparent url('http://galleryproject.org/themes/gmc/images/myaccount-icon-hover.png') center right no-repeat;
  text-decoration: underline;
  color: #fff;
}


img.preload {
  display: none;
}

div#footer div.sourceforge-logo {
  float: right;
  padding: 0px;
  margin: 0px;
}

div#footer div.donate-logo {
  float: right;
  padding: 0px;
  margin: 0px;
}

div#footer div.copyright {
  width: 350px;
}

div#footer div.copyright a {
  white-space: none;
  padding: 0px;
}

div#footer div.xml-icon {
  float: right;
}


/* Box Formatting */
#forum td, #forum th {
  border: 1px solid #CFD7B3;
  border-collapse: collapse;
  padding: 2px;
  margin: 0;
  vertical-align: top;
        height: 22px;
        text-align: left;
        padding: 0 0.75em !important;
}
#forum th, #forum th a:link {
        color: #fff;
        font-size: 12px;
        font-weight: bold;
        padding: 0;
        margin: 0;
}
#forum th {
        background: url('http://galleryproject.org/themes/gmc/images/bg_forum.gif');
        border: 1px solid #000;
}
#forum th + #forum th {
        border-left: 1px solid #fff !important;
}
#forum td {
        padding-bottom: 0.75em;
}
#forum .hdr_g3, #node .hdr_g3 {
        background: #6d0b0c url('http://galleryproject.org/themes/gmc/images/bg_g3.gif') repeat-x;
}
#forum .menu_g3 {
        background: #f0d0d0;
}
#forum .hdr_g2, #node .hdr_g2 {
        background: #f6882a url('http://galleryproject.org/themes/gmc/images/bg_g2.gif') repeat-x;
}
#forum .menu_g2 {
        background: #ffeedf;
}
#forum .hdr_g1, #node .hdr_g1 {
        background: #5b9cd8 url('http://galleryproject.org/themes/gmc/images/bg_g1.gif') repeat-x;
}
#forum .menu_g1 {
        background: #eff9ff;
}
#forum .hdr_client, #node .hdr_client {
        background: #42993a url('http://galleryproject.org/themes/gmc/images/bg_client.gif') repeat-x;
}
#forum .menu_client {
        background: #f1ffef;
}
#forum .hdr_other, #node .hdr_other {
        background: #787877 url('http://galleryproject.org/themes/gmc/images/bg_other.gif') repeat-x;
}
#forum .menu_other {
        background: #efefef;
}
#forum td.forum {
        font-size: 10px;
        color: #666;
        border-bottom: none;
}
#forum td.forum a {
        font-size: 12px;
        display: block;
        font-weight: bold;
        float: none;
        clear: both;
        padding: 0;
        margin: 0.25em 0 0 0;
}

/**
 * codex.gallery2.org specific styles
 */

#forum .menu_g3 li,
#forum .menu_g2 li,
#forum .menu_g1 li,
#forum .menu_client li,
#forum .menu_other li {
	font-weight: bold;
}
#forum .menu_g3 li li,
#forum .menu_g2 li li,
#forum .menu_g1 li li,
#forum .menu_client li li,
#forum .menu_other li li {
	font-weight: normal;
}

