@import "../../node_modules/bpmn-js-properties-panel/styles/properties.less";
.djs-context-pad .entry {
  width: 30px !important;
}

.modeler {
  position: relative;
  width: 100% !important;
}

bpmn-modeler .canvas {
  width: calc(100% - 270px);
}

.properties {
  width: 270px !important;
  background: white;
  color: black;
}

.bpp-properties-header>.label {
  color: black;
}

bpmn-modeler .djs-palette {
  max-width: 140px !important;
  width: auto !important;
  top: 0 !important;
  left: 0 !important;
  text-align: center;
}

.bjs-powered-by {
  display: none;
}

.bpp-properties-entry.custom button {
  position: initial !important;
  display: inline-block !important;
  height: 30px !important;
  width: auto !important;
  background-color: #f8f8f8;
  border: 1px solid #ccc;
}

.djs-palette-toggle,
.bpp-properties-group>.group-toggle {
  display: inline-block;
  font: normal normal normal 14px/1 FontAwesome;
  height: auto !important;
  width: auto !important;
  padding: 0 10px;
  &:after {
    content: "\f0c9";
  }
}

.bpp-properties-group.group-closed {
  max-height: 25px !important;
}

.bpp-properties-group {
  .group-toggle {
    right: 0 !important;
    bottom: unset !important;
    left: unset !important;
    font-size: 25px;
  }
}

.ioProperty {
  min-height: 30px;
  display: flex;
  flex: 1 50%;
  justify-content: space-between;
  font-size: 14px;
  .bpp-field-wrapper {
    input {
      color: black !important;
    }
    display: inline-block;
    min-height: 100%;
    &.label {
      width: 39%;
    }
    &.input {
      width: 59%;
    }
    >* {
      max-width: 100%;
      min-height: 30px;
    }
    >div[contenteditable] {
      margin: 0 !important;
    }
  }
}

.custom {
  button {
    margin: 5px 0;
  }
  div[contenteditable] {
    font-size: 14px;
    min-height: 25px;
  }
}

.modal-full {
  max-width: 100% !important;
  min-width: 100% !important;
  max-height: 100% !important;
  min-height: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  .modal-content {
    min-width: 100% !important;
    min-height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    height: 100vh !important;
    margin: 0 !important;
    padding: 0 !important;
    .modal-body {
      max-height: 100vh !important;
      min-height: 100vh !important;
      overflow-y: unset !important;
      position: relative;
      >* {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
      }
    }
  }
}