html,
body {
  padding: 0;
  margin: 0;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 14px;
  width: 100%;
  height: 100%;
}
html.ios,
html.ios body {
  width: 100% !important;
  height: 100% !important;
}
html {
  width: 100%;
  height: 100%;
  overflow: hidden;
}
body {
  overflow: auto;
  -webkit-overflow-scrolling: auto;
  background: #fff;
}
.noselect {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.hidden {
  display: none !important;
}
.full-screen-panel {
  min-width: 400px;
  max-width: 60%;
  width: 100%;
  margin: 0px auto;
  margin-top: 20px;
  margin-bottom: 20px;
}
.flex-panel {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  max-height: 100%;
}
.flex-panel > .title {
  flex-shrink: 0;
}
.flex-panel > .title .icon,
.flex-panel > .title .value {
  float: left;
}
.flex-panel > .content {
  position: relative;
  flex-grow: 1;
  overflow: auto;
  margin: 0;
  padding: 0;
}
.flex-panel > .content .inner {
  width: 100%;
}
.flex-panel > .buttons {
  padding: 5px;
  border: 1px solid #ccc;
}
.panel .header .menu {
  border-radius: 0;
}
.panel .title {
  padding: 10px;
  font-size: 1.4rem;
  background: #ddd;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2);
}
.panel .title .icon.button {
  background: none;
  padding: 0;
  margin: 0;
  margin-left: 5px;
  float: right;
  opacity: 0.6;
}
.panel .title .icon.button .icon {
  font-size: 1.2rem !important;
  line-height: 1.6rem;
}
.panel .subtitle,
.panel .crud.form form .subtitle {
  padding: 8px;
  background: #eee;
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.panel .subsubtitle,
.panel .crud.form form > .subsubtitle {
  font-weight: bold;
  background: #f8f8f8;
  padding-bottom: 6px;
  padding-top: 6px;
}
.units {
  float: left;
  color: #999;
}
.units:not(:empty)::before {
  content: '(';
}
.units:not(:empty)::after {
  content: ')';
}
.input-group-addon {
  display: none !important;
}
.unselectable {
  -webkit-user-select: none;
  /* Chrome/Safari */
  -moz-user-select: none;
  /* Firefox */
  -ms-user-select: none;
  /* IE10+ */
  /* Rules below not implemented in browsers yet */
  -o-user-select: none;
  user-select: none;
}
.ui.popup,
.ui.popup:before {
  background-color: #fffadb;
}
.ui.menu .item {
  cursor: pointer;
}
.ui.menu .item .item {
  color: rgba(0, 0, 0, 0.8);
}
.ui.menu .item .ui.selection.dropdown {
  min-width: inherit;
  border: none;
}
.toolbar.ui.menu:not(.vertical) .item > .button {
  padding: 0.78571em 0.95em;
}
.ui.button {
  text-transform: uppercase;
}
::selection {
  background-color: rgba(172, 218, 254, 0.5);
}
.ui.selection.dropdown .menu {
  max-height: 300px;
}
.ui.input input {
  font-family: Helvetica, Arial, sans-serif;
}
.ui.menu.basic {
  box-shadow: none;
  border: 0;
}
.ui.icon.menu .icon.button {
  padding: 0.2rem 0.6rem;
  font-size: 1.1rem;
}
.ui.table.borderless {
  border: 0;
}
.ui.table.borderless td {
  border: 0;
}
.table-form {
  width: 100% !important;
}
.table-form tr {
  row-gap: .5rem;
  margin-bottom: .25rem;
  display: grid;
  width: 100%;
}
.table-form tr td {
  width: 100%;
}
.alert {
  padding: 0.5rem;
}
.alert.warning {
  background-color: yellow;
}
.form-error {
  background-color: #ff000066;
  border-radius: .25rem;
  border: solid 2px #d40202;
  padding: .5rem;
  list-style: none;
}
.form-error li {
  display: block;
}
