/** Add css rules here for your application. */
/** Example rules used by the template application (remove for your app) */
h1 {
	font-size: 2em;
	font-weight: bold;
	color: #777777;
	margin: 40px 0px 70px;
	text-align: center;
}

/** Most GWT widgets already have a style name defined */
.gwt-DialogBox{
	z-index: 20;
}

.progress-panel{
	width: 400px;
	z-index: 20;
}



/** Give text boxes a standard width, to make them uniform across browsers. (GEO-453) */
.gwt-TextBox, .gwt-SuggestBox {
	width: 15em;
}

.lblerr {
	display: inline;
	color: red;
}

/* A little padding to separate an inline label from its control. */
.gwt-InlineLabel {
  padding-right: .3em;
}

.gwt-RadioButton label {
  padding-left: .3em;
}

.gwt-TextArea {
  min-width: 42em;
}

.field-help-button {
  display: inline;
  border: 0 solid #FFFFFF;
  width: auto;
  height: auto;
  padding: 0;
  margin: 0 0 0 .5em;
}

.checkBox_space label {
  padding-left: .3em;
}

hr {
	margin-left: -2.0em;
}

.export {
  background-color: #fff;
  filter: alpha(opacity=50, style=0);
  -moz-opacity: 50%;
}

.cw-FlexTable td {
  border: 1px solid #BBBBBB;
  padding: 3px;
}

.cw-FlexTable-buttonPanel td {
  border: 0px;
}

.popup {
  background-color: gray;
  border-color: gray gray gray gray;
  border-width: 1px 3px 3px 1px;
  border-style: solid solid solid solid;
}

.popup-item {
  font-weight: normal;
  font-size: 80%;
}

/** Set ids using widget.getElement().setId("idOfElement") */
#closeButton {
	margin: 15px 6px 6px;
}

#container {
	width: 100%;
}

#left {
	float: left;
	width: 25%;
	border: 1px solid blue;
	min-height: 400px;
}

#right {
	float: left;
	width: 70%;
	border: 1px solid blue;
	min-height: 400px;
}

#bottom {
	float: left;
	width: 95%;
	border: 1px solid green;
	min-width: 400px;
}

.clear {
	clear: both;
}

.form-row, .calculation-panel fieldset {
	margin: 1em 0em;
}

.form-row .gwt-Label, .form-row Label {
	float: left;
	clear: both;
	width: 145px;
}

.gwt-RadioButton label {
	float: none;
	width: auto;
	font-size: 10pt;
}

.gwt-CheckBox-disabled label {
	float: none;
	width: auto;
	font-size: 10pt;
}


.gwt-CheckBox label {
	float: none;
	width: auto;
	font-size: 10pt;
}


.form-field .gwt-Label, .form-field Label {
	float: none;
	width: auto;
}

.form-row .form-field {
	margin-left: 145px;
	white-space: nowrap;
	display: flex;
	align-items:center;
}

.form-field .form-field-block {
	display: inline-block;
	vertical-align: top;
}

.form-field select, .form-field .gwt-Label, .form-field .gwt-InlineLabel, .form-field input {
	margin-right: .5em;
}

.form-field .field-label {
	margin-right: 0em;
}

.form-field select {
	width: auto;
}

.help-widget {
	display: inline;
	position: relative;
	vertical-align: top;
	top: .3em;
}

.form-field-help {
	margin-left: 140px;
	font-size: 10pt;
}

.calculation-help {
}

img.calculation-example {
	clear: both;
	display: block;
    margin-top: 1em;
    border: 1px solid gray;
}

.form-field-help p, .calculation-help p {
	margin-top: .5em;
	font-size: 10pt;
}

.form-field-help ul {
	font-size: 10pt;
}

.form-field-help em, .calculation-help em {
	font-style: italic;
}

.form-field-help strong, .calculation-help strong {
	font-weight: bold;
}

.checkbox-row .field-help-button {
	margin-left: 0;
}

.form-field-error {
	outline: 1px solid red;
}

.gwt-CheckBox {
	white-space: nowrap;
}

.gwt-CheckBox input, .gwt-RadioButton input {
	margin-right: 0;
	padding-right: 0;
}

.gwt-CheckBox label, .gwt-RadioButton label {
	padding-left: .3em;
    padding-right: 1em;
}

.button-row button {
	margin-right: 1em;
}

#header {
	margin: 0 10px;
}

#banner {
	height: 90px;
	padding-bottom: 10px;
}

#banner h2 {
    padding: 0 1.0em 0 0;
    margin: 0;
    font-size: 350%;
}

#banner p {
	margin: 0;
}


#banner td {
	padding-left: 10px;
	padding-right: 10px;
    vertical-align: top;
}

#logo {
    float: left;
    padding: 0px 12px 0px 0px;
}

#linkPanel {
	display: inline-block;
	position: absolute;
	right: 0;
	bottom: 0.5em;
}

#linkPanel a {
	padding-left: 1em;
	font-size: 10pt;
}

#footer {
	height: 70px;
	width: 100%;
	color: #575757;
	background: #CCCCCC;
	font-size: 80%;
}

#footer table {
	width: 100%;
}

#footer td {
	vertical-align: middle;
	text-align: left;
}

#footerInfo ul {
	margin: 0;
	padding: 0 0 0 1.5em;
}

#footer li {
	line-height: 1.2em;
}

#footerLink {
	color: blue;
	text-align: left;
	font-size: 13.5px;
}

#footerLink a:link, a:visited {
    text-decoration: none;
    padding: 8px 8px;
    font-size: 100%
    /*text-decoration: none;*/
}

#footerLink a:hover, a:active {
    color: white;
    font-weight: bolder;
    font-size: 100%
}

.titled-panel-title {
	margin: 0;
	padding: 2px 10px;
	font-size: 100%;
	background: #d0e4f8;
}

.titled-panel  .content {
	margin: 0 0 1em 0;
	padding: 1em 10px;
	overflow: auto;
	font-size: 10pt
}

.titled-panel  ul {
	font-size: 10pt
}


.result-panel {
	padding-bottom: 1em;
}

.result-panel h1 {
    margin: 1em 0 .5em 0;
    padding: 1em 0 0 0;
    border-top: 1px solid gray;
    color: black;
    text-align: left;
    font-size: 24pt;
    font-weight: normal;
}

.result-panel h2, .result-section {
	margin-top: 3em;
}

.titled-panel h1 {
	clear: both;
	margin: .5em 0 .2em 0;
	font-size: 18pt;
	font-weight: normal;
	color: black;
	text-align: left;
}

.titled-panel h1:first-child {
	margin-top: 0;
}

.titled-panel dt {
	clear: both;
	float: left;
	width: 14em;
}

.titled-panel dd {
	margin: .5em 0 .5em 14em;
}

.calculation-panel {
	margin: 0;
	padding: 0;
}

#calculationTitle {
	margin-top: 0;
	color: black;
	font-size: 24pt;
	font-weight: normal;
	text-align: left;
}

#calculationDescription {
    margin: 1em 0em 1.5em 0em;
}

.error {
    margin: 1em 0em;
    padding: .5em;
    border: 1px solid red;
    color: red;
}

#kernel-panel > .content {
	padding-top: 0;
	margin-top: 1em;
}

.kernel-row {
	clear: both;
	margin: .2em 0em;
}

.kernel-row .kernel-name {
	display: block;
	margin-right: 24px;
}

.kernel-row img {
	float: right;
}

#saved-values-caption {
	margin: .5em 0 1em 0;
	font-size: 10pt;
}

#saved-values-list {
	margin: .5em 0 .5em 0;
}

.saved-values-row a {
	display: block;
	margin-right: 24px;
}

.saved-values-row img {
	float: right;
}

/* Stylization for drag-and-drop source palette widget. */
.demo-PaletteWidget {
	position: relative;
}

.demo-PaletteWidget-shim {
	position: absolute;
	left: 0;
	top: 0;
}

.result-panel {
	position: relative;
}

.result-table {
	position: relative;
	width: 100%;
	overflow: hidden;
	font-size: 90%;
}

.result-header {
	position: absolute;
	top: 0;
	left: 0;
}

.result-header div {
	position: absolute;
	top: 0;
	text-align: center;
	font-weight: bold;
}

.result-table-inner {
	margin-right: 1em; /* To separate from edge of pane. */
	max-height: 300px;
	overflow: auto;
	border: 1px solid gray;
}

.result-table thead {
	border: none;
	visibility: hidden;  /* To hide the header of the results table */
}

.result-table thead tr * {
    margin: 0;
    padding: 0;
    border: 0;
    height: 0;
    overflow: hidden;
}

.result-table th>div, .result-table td {
	padding: .2em .8em;
}

.result-table td {
	font-family: "Lucida Console", "Courier New", Courier, monospace;
	white-space: nowrap;
}

.result-table th>div {
	text-align: center;
	font-weight: bold;
	text-shadow: 0 0 0;
}

.result-table .number {
	text-align: right;
}

.result-table .error {
	text-align: left;
	color: red;
	white-space: normal;
}

.result-table .saved {
	border: 2px solid green;
}

#placeholder {
	position: absolute;
	width: 100%;
}

#downloadDialog .dialogContent {
	margin: 1em;
}

#downloadDialog .gwt-Label {
	margin-bottom: .5em;
}

#downloadDialog .dialogButtonPanel {
	margin-top: 1em;
	text-align: center;
}

#downloadDialog .dialogButtonPanel .gwt-Button {
	margin-left: 1em;
	margin-right: 1em;
}

#downloadDialog .defaultButton{
	margin-left: 1em;
	margin-right: 1em;
	background-image: none;
	background-color: #9cf;
}

.plotHelpText {
	border-top: 1px solid gray;
	padding-top: .5em;
}

.plotControls {
	margin: .5em 0em;
}

.plotControls button {
	font-size: 80%;
	margin-right: .5em;
}

.plotHighlight {
	float: right;
	font-size: 80%;
	min-width: 22em;
}

/*
Plot title height: ~28
Plot X axis and footer: ~55
Y label width: ~130

For square plot: X - 130 = Y - 83 ==> X ~= Y + 53
For 2:1 plot: X - 130 = 2*(Y - 83) ==> X ~= 2*Y - 36 in practice, Y needs about 6 more: X = 2*Y - 42
 */
div.plot {
	width: 100%;
	height: 320px;
}

.square-plot div.plot {
	width: 513px;
	height: 460px;
}

.map-plot div.plot {
	width: 738px;
	height: 390px;
}

.dygraph-legend {
	font-size: 10px !important;
}

.dygraph-axis-label {
	font-size: 10px;
	white-space: pre-wrap;
}

.input-values > tbody > tr > td {
    width: auto;
}

.input-values > tbody > tr > td + td {
    width: auto;
    padding-left: 10px;
}

/* A style for displaying the help ID associated with help text. */
.helpID {
	color: blue;
}

/*
 * Styles for dialog boxes.
 */

#documentBox {
	width: 600px;
}


#documentBox p{
	font-size: 10pt;
}


#documentBox a{
	font-size: 10pt;
}


#documentBox ul{
	font-size: 10pt;
}


.dialog-panel hr {
	margin-left: 0;
}

.dialog-panel .finePrint {
	font-size: 80%;
}

.dialog-panel .gwt-Button {
	float: right;
	margin-bottom: 1em;
}

.dialog-content {
	max-height: 500px;
	padding: 0em 1em 1em 1em;
}

.dialog-footer {
	padding-top: 1em;
}

/*
 * Styles for customizing the autocomplete dropdowns.
 */

.suggestScrollContent{
    height: auto;
    width: auto !important;
    max-width: 400px;
    max-height: 165px;
    overflow: auto;
    padding-right: 18px;
}

/*
 * Styles for the bounding box input widget.
 */

table.bounding-box {
	display: inline-block;
}

table.bounding-box label {
    float: none;
    width: auto;
}

table.bounding-box input {
	margin: 0;
}

table.bounding-box tr {
    margin: 0;
    padding: 0;
    border: 0;
}

table.bounding-box th, table.bounding-box td {
    vertical-align: middle;
    text-align: center;
    margin: 0;
    padding: .5em 0;
}

#max-latitude {
    margin-top: .5em;
}

#min-latitude {
    margin-bottom: .5em;
}

table.bounding-box td.left-label {
    text-align: right;
    padding-right: .7em;
}

table.bounding-box td.left {
    padding-right: 2em;
}

table.bounding-box td.right-label {
    text-align:left;
    padding-left: .7em;
    padding-right: 1em; /* To add space before the help image. */
}

table.bounding-box td.right {
    padding-left: 2em;
}

table.bounding-box input {
    width: 8em;
}

.hint {
    font-size: 80%;
}

.titled-panel a {
    font-size: 10pt;
}

/*****************************************************************************
 The following CSS style defines the look and feel for the State vector
 panel's coordinate input section in the location widget.

 The width of the "input-column" CSS class shall be equal to the length of
 the label + two columns of 325px each.
*/
.input-columns {
	margin: 1em 0em;
    width: 800px;
}

.unit-label {
    width:  65px;
    display: inline-block;
}

.input-label {
    float: left;
    clear: both;
	width: 145px;
}

/* Create columns that float next to each other */
.column {
  float: left;
  width: 325px;
}

.form-field-units {
    padding: 1px;
    white-space: nowrap;
}

.unit-tag {
    display: inline-block;
}

/* Clear floats after the columns */
.input-columns:after {
  content: "";
  display: table;
  clear: both;
}

/*******************
The left margin (150px) shall change if .input-label widths changes
from 145px.
*/
.column-level2-nolabel {
  margin: 0px 0px 0px 150px;
}
