.draginputs {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.draginput {
  background: var(--z2);
  border-radius: var(--x1);
  width: calc(50% - var(--x2));
  height: calc(var(--x9) * 2);
  display: block;
  position: relative;
  margin: 0 var(--x2) var(--x2) 0;
  overflow: hidden;
}

 .draginput .caret {
  border: solid transparent 5px;
  border-top-color: var(--z9);
  position: absolute;
  width: 0;
  height: 0;
  right: 5px;
  margin-top: -2px;
  top: 50%;
}

.draginput label {
  margin: 28px 10px 0 5px;
  font-size: 14px;
  color: var(--z15);
  font-weight: bold;
}

.draginput label#resolution_label,  .draginput label#seg_type_label {
  font: bold 12px/110% sans-serif;
  position: absolute;
  left: auto;
  right: 10px;
  z-index: 0;
  text-align: right;
}

.draginput label#seg_type_label {
  margin-top: 40px;
}

.draginput label#seg_type_label .caret {
  top: 66%;
}

.draginput label#resolution_label .pull {
  position: relative;
  left: -15px;
}

.draginput label#resolution_label span {
  right: -13px;
  left: auto;
  font-size: 16px;
  top: 2px;
  font-weight: bold;
  color: white;
}

.draginput input {
  border: none;
  background: transparent;
  font: 24px/normal sans-serif;
  text-align: center;
  color: var(--d7);
  padding: 30px 0 16px;
  width: 100%;
  height: 24px;
  position: relative;
  z-index: 2;
}

.draginput.twocol {
  width: 100%;
}

.draginput input, .draginput input:hover, .draginput input:active {  
    cursor: url(../images/drag.png), move;
    cursor: -webkit-grab;
    cursor: -moz-grab;
}

.draginput input[type="checkbox"], .draginput input[type="checkbox"]:hover, .draginput input[type="checkbox"]:active {  
    cursor: pointer;
}

.draginput.checkbox {
  cursor: pointer;
}

.draginput.active input, .draginput.active input:hover, .draginput.active input:active {  
    cursor: url(../images/dragging.png), move;
    cursor: -webkit-grabbing;
    cursor: -moz-grabbing;
}

.draginput input:invalid {
  color: var(--a7);
}

.draginput.error {
  background-color: var(--a7);
  color: var(--a15);
}

.draginput span {
  font: 12px/130% sans-serif;
  color: var(--z8);
  display: block;
  position: absolute;
  top: 5px;
  left: 5px;
  text-align: left;
  white-space: nowrap;
  z-index: 1;
}

.draginput.stroke_tool {
  text-align: center;
}

.draginput select {
  -webkit-appearance: none;
  opacity: 0;
  display: block;
  position: absolute;
  height: 100%;
  width: 100%;
  margin: 0;
  z-index: 1;
  top: 0;
  left: 0;  
}

.draginput_cursor{
  position: absolute;
  top: 50%;
  width: 100%;
  border-top: solid var(--d2) 3px;
  margin-top: -2px;
  z-index: 0;
}

.draginput input[readonly=readonly] {
  -webkit-appearance: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.draginput input:focus {
  background: var(--d7);
  color: var(--d15);
  outline: none;
  box-shadow: 0 0 5px 2px var(--d7);
}

 .draginput input:focus+span {
  z-index: 10;
  color: var(--z15);
}

.draginput .push_bottom {
  bottom: 0;
  position: absolute;
}