.zama-popup {
  width: 230px;
  position: absolute;
  background: white;
  padding: 8px 18px 15px 18px;
  border: 1px solid #e4e4e4;
  z-index: 10000;
  overflow: scroll;
  max-height: 600px;
  box-shadow: 0 5px 12px rgba(0,0,0,.15);
}

.zama-popup:empty {
  display: none;
}

.zama-select:hover {
  outline: 1px dashed red !important;
}

.zama-selected, .zama-selected:hover {
  outline: 1px solid red !important;
}

.zama-unit.uk-icon {
  color: #999;
}

.field-padding {
  max-width: 400px;
  position: relative;
  padding: 10px;
  border: 1px solid #e5e5e5;
  height: 185px;
}

.field-padding > span {
  position: absolute;
  top: calc(50% - 12px);
  left: calc(50% - 30px);
}

.field-padding > input {
  position: absolute;
  width: 50px;
  height: 30px;
}

.field-padding-top {
  top: 45px;
  left: calc(50% - 25px);
}

.field-padding-left {
  left: 10px;
  top: 50%;
}

.field-padding-right {
  right: 10px;
  top: 50%;
}

.field-padding-bottom {
  bottom: 10px;
  left: calc(50% - 25px);
}

.field-border {
  max-width: 400px;
  position: relative;
  padding: 10px;
  border: 1px solid #e5e5e5;
  height: 372px;
}

.field-border .field-padding-top {
  top: 235px;
}

.field-border .field-padding-left, .field-border .field-padding-right {
  top: 283px;
}

.field-border > span {
  top: 270px;
}

.zama-chips {
  margin: 5px 0;
  padding: 10px 4px;
  border: 1px solid #e5e5e5;
}

.zama-chips a {
  padding: 2px 8px;
  border-radius: 10px;
  background-color: #e5e5e5;
}

.uk-form-icon-flip {
  right: 5px;
}

.background-pattern {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.background-pattern-block {
  width: calc(50% - 5px);
  height: 80px;
  margin: 5px 0;
  background-color: var(--color-base);
  background-size: 200% 200%;
  background-position: bottom;
  cursor: pointer;
}

.background-pattern-block-selected {
  border: 2px solid red;
}

.uk-form-icon-flip~.uk-input {
  padding-right: 50px!important;
}

* {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.global-settings {
  position: fixed;
  z-index: 100;
  bottom: 20px;
  right: calc(50% - 200px);
  border-radius: 4px;
  /* opacity: 0.9; */
  padding: 10px 20px;
  background-color: white;
  box-shadow: 0 0 8px 4px rgba(0,0,0,.15);
  width:  400px;
  height: 150px;
  overflow: hidden;
}