h1, h2, h4 {
  text-align: center;
}

mat-form-field {
  width: 95% !important;
}

.header {
  height: 5vh;
  position: relative;
  margin-top: 15px;
}

.container {
  width: 100%;
  height: 82vh;
  display: flex;
  overflow: hidden;
}

.toolbar-container {
  width: 30%;
  background-color: grey;
  padding: 10px;
  height: 80vh;
  overflow-y: auto;
}

.canvas {
  width: 70%;
  padding: 10px;
  overflow: auto;
}

@media (max-width: 600px) {
  .toolbar {
    width: 50%;
  }
}

@media (max-width: 950px) {
  .num_cols {
    display: none;
  }

  .sizeAction {
    width: 170px;
    text-align: right;
  }
}

.sizeAction{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 10px;
}

.example-container {
  width: 400px;
  max-width: 100%;
  margin: 0 25px 25px 0;
  display: inline-block;
  vertical-align: top;
}

.example-list {
  width: 100%;
  border: solid 1px #ccc;
  min-height: 60px;
  background: transparent;
  border-radius: 4px;
  overflow: hidden;
  display: block;
}

.example-box2 {
  padding: 10px 10px;
  border-bottom: solid 1px #ccc;
  color: rgba(0, 0, 0, 0.87);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  cursor: move;
  background: transparent;
  font-size: 14px;
}

.example-box {
  padding: 20px 10px;
  border-bottom: solid 1px #ccc;
  color: rgba(0, 0, 0, 0.87);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  cursor: move;
  background: transparent;
  font-size: 14px;
}

.cdk-drag-preview {
  box-sizing: border-box;
  border-radius: 4px;
  box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2),
    0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12);
}

.cdk-drag-placeholder {
  opacity: 0;
}

.cdk-drag-animating {
  transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);
}

.example-box:last-child {
  border: none;
}

.example-list.cdk-drop-list-dragging .example-box:not(.cdk-drag-placeholder) {
  transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);
}

mat-expansion-panel-header {
  padding: 0 15px;
}

mat-expansion-panel {
  margin-bottom: 10px;
}

.example-box.cdk-drag-disabled {
  background: #ccc;
  cursor: default;
  color: white;
}

.example-section {
  margin: 12px 0;
}

.example-margin {
  margin: 0 12px;
}
