/* Style for program 722. */

/* Change default theme colors. */
.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default, div.minimize-button, button { background: rgb(33,156,220); }
.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active { background: white; }
div.dof-area { border: 3px solid rgb(33,156,220); }
select, input, textarea { background-color: #f6f6f6; }
#google-input { background-color: #f6f6f6 !important; }

table { width: 100%; }
th { text-align: left; }

#table-summary td:nth-child(even), #table-output td:last-child { text-align: right; }

#table-summary {
  display: flex;
  flex-wrap: wrap;
}

#table-summary div { flex-grow: 1; }

button.large { padding: 8px 12px; }

button.print {
  width: 100%;
  margin: 2em 0;
}

.action {
  color: #079bee;
  font-weight: bold;
  cursor: pointer;
}

.icon-action { cursor: pointer; }
.column { flex-direction: column; }
.dof-tree li { cursor: pointer; }

.quantity-prime { font-weight: bold; }

.warning-cell {
  display: flex;
  align-items: center;
}

.factory-warning {
  width: 300px;
  white-space: normal;
}

#tree-container {
  display: flex;
}

#search {
  width: 80%;  
  min-height: 30px;
  height: 30px;
  font-size: 1.25em;
  border: 1px solid #ccc;
  box-sizing: border-box;
  margin-bottom: 1em;
  padding: 0 4px;
}

#tree-base { 
  min-width: 300px; 
  max-height: 430px;
  overflow-y: auto;
  flex-grow: 1;
}
/* Controls flow of the page. With wider screens, place container in same row.*/
@media screen and (min-width: 69em) {
  div.dof-main-box { height: 580px; }
  div.dof-inside-box { height: 520px; }  
  div.maximize-button { min-height: 580px; }
}