body {
  user-select: none;
  overflow-x: clip !important;
}

/* Fix JQM scrolling: overflow-x:hidden makes elements scroll containers
   that swallow scroll events. Using clip instead prevents them from
   becoming scroll containers while still hiding horizontal overflow. */
.ui-content,
.ui-mobile .ui-page-active {
  overflow-x: clip !important;
}

.ui-page .ui-content {
  -webkit-overflow-scrolling: touch;
}

#page_edit .ui-content {
  -webkit-overflow-scrolling: unset;
}

hr {
  border: none;
  border-bottom: solid 1px #efefef;
}

#page_edit {
  touch-action: none;
}

.center {
  text-align: center;
}

.ocitano {
  border-left: solid 4px #3ac75d;
}

.neocitano {
  border-left: solid 4px #ed3237;
}

.bull {
  font-size: 20px;
}

.disabled {
  pointer-events: none;
}

.blue {
  color: #4ac5ff;
}

.textLeft {
  text-align: left;
}

.badge {
  background-color: #3ac75d;
  color: #fff;
  padding: 4px;
  box-sizing: border-box;
  font-size: 12px;
  border-radius: 2px;
  display: inline-block;
  text-shadow: none;
}

.badge.red {
  background-color: #ed3237;
  color: #fff;
  text-shadow: none;
}

.green {
  color: #3ac75d;
}

.red {
  color: #ed3237;
}

.gray {
  color: #ccc;
}

.max300 {
  max-width: 300px;
  margin: auto;
}

.float_right {
  float: right;
}

.float_left {
  float: left;
}

.clear {
  clear: both;
}

.hide {
  display: none;
}

.icon {
  width: 120px;
  height: 120px;
  border: solid 1px #ccc;
  background: #efefef;
  text-align: center;
  font-size: 11px;
  object-fit: contain;
}

.controlgroup-textinput {
  padding-top: 0.34em;
  padding-bottom: 0.34em;
}

.large_input {
  font-size: 30px;
  width: 100%;
  padding: 5px;
  box-sizing: border-box;
  border-radius: 0.1em;
  box-shadow: 2px 2px 4px #ccc inset;
  border: solid 1px #ccc;
  text-align: center;
}

.cart {
  box-sizing: border-box;
  padding: 10px;
  display: block;
  background-color: #fff;
  border: solid 1px #ccc;
  border-radius: 0.2em;
}

a.checked {
  outline: inset thin #666 !important;
}

.toast {
  background: #fcff8f;
  box-shadow: 0px 0px 10px #000;
  color: #000;
  top: 20px;
  font-weight: bold;
  position: fixed;
  padding: 10px;
  left: 20px;
  right: 20px;
  text-align: center;
  z-index: 50000;
  border-radius: 0.2em;
}

#temp_connection_footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: #ed3237;
  color: white;
  text-align: center;
  padding: 11px;
  z-index: 9999;
  font-weight: bold;
}

.disabled-overlay {
  pointer-events: none;
  opacity: 0.3;
}
