p {
  font-size: 1em;
  margin: 1ex 0;
}

p.buttons {
  text-align: center;
  line-height: 2.5em;
}

button {
  line-height: normal;
}

.hidden {
  display: none;
}

ul ul li {
  padding: 3px 1em 3px 5px;
}

ul ul li:hover {
  background-color: #FF9;
}

ul li:hover ul {
  display: block;
  background-color: #EEE;
}

.ui-widget-content .ui-state-highlight {
  background-color: blue;
  color: #aaa;
  background-image: none;
}

.ui-jqgrid-titlebar {
  display: none;
}

.vsplitbar {
  width: 7px;
  background: #bbc;
}

.ui-jqgrid .selected-row {
  background-color: blue;
  background-image: none;
  color: #AAA;
}

.ui-jqgrid .selected-row .ui-state-highlight {
  border-top-width: 0;
}

.phrase-box {
  margin-left: 1em;
}

.sort_priority {
  float: right;
}

/* edycja */

#lexeme-edit-form, #pattern-properties {
  width: 425px;
  display: inline-block;
  vertical-align: top;
}

#table-preview, #ending-list {
  display: inline-block;
  vertical-align: top;
}

#pattern-list li, #ending-list li, #cr-list li {
  padding: 0.4em;
  margin-bottom: 1px;
}

#pattern-list li, #ending-list li {
  padding-left: 1.5em;
}

#pattern-list li span.arrows, #ending-list li span.arrows {
  position: absolute;
  margin-left: -1.3em;
}

#pattern-list li span.remove,
#ending-list li span.remove,
#filter-list li span.remove,
#cr-list li span.remove {
  float: right;
}

#pattern-list li.ui-state-active {
  border: blue solid 1px;
}

#lexeme-edit-form p.main-field label,
#pattern-edit-form p.main-field label {
  width: 6em;
  line-height: 2em;
  float: left;
  text-align: right;
  padding-right: 0.5em;
}
