@import "src/scss/variables";

#builder-controls {
  position: relative;
}

#controlWrapper {
  position: sticky;
  top: calc(15px + #{$navbar-height})
}

#controlsPanel {
  button {
    line-height: 0.1;
  }
}

#form-container {

  button:disabled,
  button[disabled]{
    pointer-events: auto;
  }

  section {
    margin-top: 15px;

    &:first-child {
      margin-top: 0;
    }

    .empty-section {
      position: relative;
      height: 200px;
      border: 3px dashed theme-color("info");

      &:after {
        content: attr(data-content);
        position: absolute;
        text-align: center;
        top: 50%;
        left: 0;
        width: 100%;
        margin-top: -1em;
        text-transform: uppercase;
        font-size: .8em;
      }
    }

  }

  .fields {
    margin-top: 15px;
  }

  #form-content {
    min-height: 50px;
    width: 100%;
    position: relative;

    &.empty {
      height: 100%;
      min-height: 100px;
      border: 3px dashed theme-color("info");

      &:after {
        content: attr(data-content);
        position: absolute;
        text-align: center;
        top: 50%;
        left: 0;
        width: 100%;
        margin-top: -1em;
        text-transform: uppercase;
        font-size: .8em;
      }
    }


  }
}

.card-header {
  button {
    padding: 0;
  }
}

.actions-div{
    margin-bottom: 10px;
    margin-top: 10px;
}

#is-global-label {
  font-size: 15px;
  font-family: sans-serif;
  margin-top: 17px;
  margin-left: -5px;;
}

#is-global-checkbox{
  width: 17px;
  height: 17px;
}

#global-edit-message{
  background-color: lightgray;
  font-size: large;
  text-align: center;
  height: 40px;
  padding-top: 5px;;
}