/** Copyright 2009 Google Inc., All Rights Reserved. **/


/* Applies to documents inside iframe */

body.inlined-doc {
  margin: 0;
  padding: 0;  
}


/** Header section **/

#header-top-section {
  margin: 0;
  padding: 0;
  position: relative;
}


/** Header top right links **/

#gaia-links {
  position: absolute;
  top: 0;
  right: 10px;
  margin: 0.4em 0;
  white-space: nowrap;
}


/** stop floating with an invisible br **/

br.clear {
  clear: both;
  font-size: 0;
}

/* empty vertical space */
div.skip200 {
  height: 200px;
}

/** Header logo **/

body h1 a {
  margin: 0;
  padding: 0;
}

body h1 img {
  border: none;
}


/** Footer **/

div#footer {
  text-align: center;
  clear: both;
}


/** Decoration style boxes **/

.decoration-corners,
.decoration-corners .tl,
.decoration-corners .tr,
.decoration-corners .bl,
.decoration-corners .br {
  margin: 0;
  padding: 0;
}

.decoration-corners .decoration-content {
  margin: 0;
  padding: 1px;
}


/** Alert message section **/

div.alert-message-section {
  float: left;
  position: relative;
  left: 40%;
}

div.alert-message-section,
div.alert-message-section * {
  padding: 0;
  margin: 0;
}

div.alert-message-section .decoration-corners {
  float: left;
  position: relative;
  right: 50%;
  background-color: #ffd75e;
}

#alertMessage,
#alertMessagePlaceholder {
  font-weight: bold;
  white-space: nowrap;
  padding: 0 1em;
  display: block;
}

#alertMessage {
  display: none;
}


/** form error box **/

div.errormsg {
  color: #C00000;
}

div.errorbox-bad {
  border: 2px solid #C00;
}

div.errormsg-group,
div.errorbox-good,
div.errorbox-bad,
div.errormsg {
  margin: 0;
  padding: 0;
}

div.errorheader {
  background-color: #FFE5E5;
  border: 2px solid #C00000;
  padding: 3px;
}

p.no-data-msg {
  padding-top: 1em;
  padding-bottom: 1em;
}

/** labels **/

label {
  cursor:pointer;
  margin: 0;
  padding: 0;
}

label em {
  font-weight: normal;
}


/** Two column layouts **/

.g-tpl-50-50 .g-unit .column {
  /* Create gutter space between columns in two-column layout. */
  margin: 0 0 0 6px;
}

.g-tpl-50-50 .g-first .column {
  /* Reverse previous rule for the first column. */
  margin: 0 6px 0 0;
}

.g-tpl-300-alt .g-unit .column {
  /* Create gutter space between columns in two-column layout. */
  margin: 0 6px 0 0;
}

.g-tpl-300-alt .g-first .column {
  /* Reverse previous rule for the first column. */
  margin: 0 0 0 6px;
}


/** Grouping elements with no default visual impact **/

/*
 * The class "group" is used to ensure that the elements to which it
 * applies has no default visual impact. If other classes need to be
 * applied to an element, they should be listed after the class "group"
 * so that they can override the styles defined for the class "group".
 *
 * The class "obsolete" has the same effect as the class "group" but it
 * indicates that the element to which it is applied should be removed.
 */

div.group,
div.obsolete,
form,
table.group {
  margin: 0;
  border: none;
  padding: 0;
}

td.group {
  margin: 0;
  border: none;
  padding: 0;
  vertical-align: middle;
}

br.obsolete  {
  display: none;
}

/** Style for static Google Base home page **/

body.homepage {
  padding-top: 10px;
  padding-left: 120px;
  padding-right: 120px;
}

.homepage .intro-paragraph {
  margin-bottom: 30px;
  padding-right: 20px;
}


/** Container bar used for the bottom bars **/

.container-bar,
.sheet-container-bar {
  margin-top: 1em;
}

.container-bar .decoration-content,
.sheet-container-bar .decoration-content {
  padding: 4px 8px;
}

.mainbutton {
  font-weight: bold;
}


/** Modal (pop-up) dialog box **/

.modal-dialog-bg {
  position: absolute;
  background-color: #999999;
  top: 0;
  left: 0;
}

.modal-dialog {
  position: absolute;
  padding: 8px;
  background-color: #c1d9ff;
  border: 1px solid #3A5774;
  font-family: arial, sans-serif;
  width: 500px;
  color: #000000;
}

.modal-dialog a, .modal-dialog a:link, .modal-dialog a:visited  {
  color: #0066cc;
  cursor: pointer;
}

.modal-dialog-title {
  position: relative;
  background-color: #e0edfe;
  color: #000000;
  padding: 8px 15px 8px 8px;
  font-size: 12pt;
  font-weight: bold;
  vertical-align: middle;
  cursor: pointer;
  cursor: hand;
  margin: 0;
}

.modal-dialog-title-close {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 15px;
  height: 15px;
  background-image: url(/base/closeDialogButton.gif);
  background-repeat: no-repeat;
  cursor: default;
}

.modal-dialog-content {
  padding: 1ex 1ex 1ex 8px;
  background-color: #ffffff;
  margin: 0;
}

.modal-dialog-buttons {
  padding: 1ex 1ex 1ex 8px;
  margin: 0px;
  background-color: #ffffff;
}

.modal-dialog-buttons button {
  margin-right: 1ex;
}

.goog-buttonset-default {
  font-weight: bold;
}

/** Tool tips **/

.goog-tooltip {
  background: #ffe;
  border: 1px solid #999;
  border-width: 1px 2px 2px 1px;
  padding: 6px;
  width: 260px;
  z-index:99999999;
}
.goog-tooltip h4,
.goog-tooltip p {
  margin: 0 0 0.5em;
  padding-bottom:0;
}
.goog-tooltip h4 {
  font-weight:bold;
}

.help {
  background: #ffe;
  border: 1px solid #999;
  border-width: 1px 2px 2px 1px;
  padding: 6px;
  width: 260px;
}

.helpImage {
  vertical-align: middle;
  cursor: pointer;
  border: none;
}

.helpTitle, .helpBody, .helpLink {
  margin: 0 0 0.5em;
}

.helpTitle {font-weight: bold;}

/*
BEGIN HACK >>>
Needed because IE6 shows the popup below html <select>
The trick consist in placing an invisible iframe on top of the <select>
and place the popup on top of the iframe
*/
.select-top {
  position: absolute;
  overflow: hidden;
}

.select-top iframe {
  display:none;
  display/**/:block;
  position:absolute;
  top:0;
  left:0;
  z-index:-1;
  filter:mask(color=#FFFFFF);
  width:260px;
  height:200px;
}
/*
END HACK <<<
*/


/** Styles for the performance report **/

.performance-label {
  font-weight: bold;
}

.performance-chart {
  height: 20em;
  margin: 0;
}


/** Style for file extension list (create feed page) **/

.file-extension-list li {
  position: relative;
}

.file-extension-list .file-extension-descr {
  position: absolute;
  left: 5em;
}


/** Styles for the feed summary page **/

.headerText {
  line-height: 150%;
}

.subheaderText {
  line-height: 125%;
}

.downloadIcon {
  vertical-align: middle;
  border: 0;
}


/** error page styles **/
div.error-page {
  margin: 50px 0 50px 0;
  border: none;
  padding: 0;
  text-align: center;
}

.error-page h3 {
  color: #cc0000;
  background-color: #ffffff;
  font-size: 1.5em;
  margin: 0 0 15px 0;
}

.error-page .error-message {
  margin: 0 0 1.5em 0;
  padding: 0;
}

.error-page .internal-error-message {
  margin: 0 0 1.5em 0;
  padding: 0;
  text-align: left;
}

.error-page .outlink {
  font-size: 1.25em;
  font-weight: bold;
}

.internal-error-message pre {
  font-size: 10px;
}

/** use fix width for input sheet like pages. Pages that collect input in form fields **/
.sheet {
  width: 600px;
}

.sheet label {
  display: block;
  font-weight: bold;
}

.sheet table {
  width: 100%;
}

.sheet td, .sheet tr {
  padding: 0;
  margin: 0;
}

.sheet input,
.sheet textarea {
  width: 100%;
}

.sheet .radio,
.sheet .checkbox,
.sheet .compact input,
.sheet .compact select,
.sheet .compact textarea,
.sheet input.compact,
.sheet select.compact,
.sheet textarea.compact {
  width: auto;
}

.sheet input,
.sheet textarea,
.sheet label,
.sheet select {
  margin-top: 0.5em;
}

.sheet .radio-label,
.sheet .checkbox-label {
  display: inline;
  font-weight: normal;
}

.sheet input.email,
.sheet input.home-page {
  width: 400px
}

input.compact,
.compact input {
  width: auto;
}

.sheet .radio {
  margin-left: 1em;
}

.wide800,
.body.wide800,
.sheet.wide800 {
  width: 800px;
  position: relative;
}

/* helper text over input fields: */
.label-input-label {
  color: #666;
}


/** Items dashboard specific styles */

.icon {
  background: url('/base/styles/images/icons.gif') no-repeat scroll 0 0 transparent;
  display: inline-block;
}

.icon-status-live,
.icon-status-disapproved,
.icon-status-updating,
.icon-status-awaiting-review,
.icon-status-inactive,
.icon-status-unknown,
.icon-status-not-configured {
  height: 12px;
  width: 12px;
}

.icon-status-live {
  background-position: -51px 0;
}

.icon-status-disapproved {
  background-position: -63px 0;
}

.icon-status-updating {
  background-position: -75px 0;
}

.icon-status-awaiting-review {
  background-position: -87px 0;
}

.icon-status-inactive {
  background-position: -99px 0;
}

.icon-status-unknown {
  background-position: -111px 0;
}

.icon-status-not-configured {
  background-position: -123px 0;
}
  
/** Styles for zippy sections **/
div.zippy-header {
  color: blue;
}

/* Include all the main content in a 100%-div to have well defined sizes */
/* Needed for IE6 that computes the block's sizes differently. */
div.maximize {
  width: 100%;
  margin: 0;
  border: none;
  padding: 0;
}


/** Ops navigational menu **/
/* same rendering in gb and mc */

div.ops-nav-menu {
  width: 145px;
  float: left;
}

div.ops-nav-menu,
div.ops-nav-menu div,
div.ops-nav-menu table,
div.ops-nav-menu td {
  margin: 0;
  padding: 0;
}

div.ops-mode {
  /* more than the ops-nav-menu width */
  margin: 0;
  padding: 0 0 0 150px;
}

.ops-mode .highlight {
  color: #ff0000;
}

.ops-mode .add-ops-action {
  float: right;
  padding-right: 4px;
}

.divider td {
  border-top: 1px solid #3366cc;
  padding: 2px;
  background-color: #bbd0f9;
  padding-bottom: 3px;
  font-weight: bold;
}

.divider h3 {
  font-size: 125%;
  background-color: transparent;
  margin: 0;
  padding: 2px 1px;
}

div.ops a {
  color: #8b0000;
  text-decoration: none;
}

span.ops a {
  color: #8b0000;
  text-decoration: none;
}

span.ops strong {
  color: #8b0000;
}

/* Styles for simple hover popups in ICS */
.popupcontainer {
  position: relative;  /* point of reference for child positioning */
}

.popupcontainer .popup {
  display: none;
  position: absolute;  /* remove from normal flow */
  background-color: white;
  z-index: 1;          /* Firefox: fully cover background */
  border: solid 1px;
  padding: 2px;
  margin: 2px;
}

.popupcontainer .visible.popup {
  display: block;
}


/** IE hack: use not-so-hidden submit buttons to define default button */

input.invisible {
  background: transparent !important;
  border: none;
  color: transparent !important;
  height: 0;
  margin: 0;
  padding: 0;
  position: absolute;
  width: 0;
}


/** style for the scheduled upload iframe */

body.dialog-scheduledupload div.group {
  margin: 8px 0 0 0;
}

body.dialog-scheduledupload .inline div {
  display: inline;
}

body.dialog-scheduledupload .inline select {
  margin: 0 2px;
}

body.dialog-scheduledupload label {
  display: inline;
  font-weight: normal;
}
body.dialog-scheduledupload table.auth td {
  vertical-align: middle;
}
body.dialog-scheduledupload span.helptext {
  color: grey;
  font-size: 0.95em;
}
body.dialog-scheduledupload span.tooltip {
  position: relative;
}
body.dialog-scheduledupload span.tooltip .help {
  display: none;
  left: 6px;
  position: absolute;
  top: 6px;
  width: 325px;
}
body.dialog-scheduledupload span.tooltip:hover .help {
  display: block;
}
body.dialog-scheduledupload span.tooltip .help .helpLink {
  margin: 0;
}

