/*---------------------------------------------------
    LESS Elements 0.9
  ---------------------------------------------------
    A set of useful LESS mixins
    More info at: http://lesselements.com
  ---------------------------------------------------*/
.toolbar {
  margin: 5px 25px;
}
.toolbar i {
  cursor: pointer;
  display: inline-block;
  width: 25px;
  color: #999;
}
.toolbar i:hover {
  color: #333;
}
.toolbar .file-name {
  font-size: 12px;
  font-weight: 600;
  margin-left: 20px;
}
.toolbar span {
  display: inline-block;
}
.toolbar #toolbar {
  border-bottom: 1px solid #eee;
  padding-bottom: 3px;
  margin-bottom: 3px;
}
.toolbar #toolbar i {
  color: #aaa;
  width: 30px;
}
.CodeMirror {
  background: #f8f8f8;
  margin-bottom: 20px;
  font-size: 0.9em;
}
.error {
  font-weight: bold;
  font-family: monospace;
  color: #ff4444;
}
.model-editor {
  max-width: 2000px;
  width: 100%;
  overflow-y: hidden;
}
.model-editor .model-preview-container {
  width: 56%;
  margin-left: 4%;
  float: left;
}
.model-editor .model-editor-container {
  width: 40%;
  float: left;
}
.model-editor .model-preview {
  overflow-y: scroll;
}
@media print {
  .model-editor .model-editor-container {
    display: none;
  }
  .model-editor .model-preview-container {
    width: 100%;
    max-height: none !important;
  }
  .model-editor .model-preview-container .model-preview {
    overflow-y: auto;
  }
}
.structured-editor {
  font-size: 12px;
  overflow-x: scroll;
  background: #edeef0;
  padding: 16px;
}
.structured-editor .property.property-type-list {
  padding-bottom: 5px;
  margin-bottom: 5px;
}
.structured-editor .property.property-type-list:hover > .property-name {
  display: inline-block;
}
.structured-editor .property.property-type-list > .property-name {
  vertical-align: top;
  margin-right: 3px;
  color: #666;
  line-height: 24px;
  height: 24px;
  font-weight: bold;
  font-size: 14px;
  cursor: default;
  display: inline-block;
  float: none;
  margin-top: 10px;
}
.structured-editor .property.property-type-list > .property-value {
  display: block;
  margin-top: -18px;
  margin-left: 32px;
}
.structured-editor .property.property-type-list > .property-value > .list-controls {
  text-align: right;
}
.structured-editor .property.property-type-list > .property-value > .list-controls i {
  color: #999;
  cursor: pointer;
  font-size: 18px;
}
.structured-editor .property.property-type-list > .property-value > .list-controls i:hover {
  color: #222;
}
.structured-editor .property.property-type-list > .property-value .list .list-item .list-item-controls-hover {
  position: relative;
  float: left;
  margin-left: -32px;
}
.structured-editor .property.property-type-list > .property-value .list .list-item .list-item-controls-hover i {
  font-size: 19px;
  padding: 5px;
  color: #999;
  cursor: pointer;
}
.structured-editor .property.property-type-list > .property-value .list .list-item .list-item-controls-hover i:hover {
  color: #222;
}
.structured-editor .property.property-type-list > .property-value .list .list-item .list-item-controls-hover:hover .list-item-controls {
  display: block;
  position: absolute;
}
.structured-editor .property.property-type-list > .property-value .list .list-item .list-item-controls {
  display: none;
  -webkit-box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.4);
  -moz-box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.4);
  box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.4);
  background: #fff;
  z-index: 1000;
  padding: 5px;
  margin-top: -24px;
}
.structured-editor .property.property-type-list > .property-value .list .list-item .list-item-controls i {
  padding: 0 5px;
  color: #333;
  cursor: pointer;
}
.structured-editor .property.property-type-list > .property-value .list .list-item .list-item-controls i:hover {
  color: #666;
}
.structured-editor .property.property-type-list > .property-value .list .list-item .list-item-controls .fa-trash {
  margin-left: 20px;
  color: red;
}
.structured-editor .property.property-type-value > .property-value {
  margin-bottom: 8px;
  -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  background: white;
}
.structured-editor .property.property-type-value > .property-value > input {
  padding: 16px;
  height: auto;
  color: rgba(0, 0, 0, 0.88);
  font-weight: 500;
}
.structured-editor .property.property-type-value > .property-value > textarea {
  padding: 16px;
  color: rgba(0, 0, 0, 0.88);
  font-weight: 500;
}
.structured-editor .property.property-type-value > .property-name {
  line-height: 18px;
  padding: 16px;
}
.structured-editor .property.property-type-oneof > .property-name {
  line-height: 18px;
  padding: 8px 20px 8px 0px;
}
.structured-editor .property {
  white-space: nowrap;
  position: relative;
}
.structured-editor .property:hover > .property-name {
  display: block;
}
.structured-editor .property > .property-name {
  vertical-align: top;
  margin-right: 3px;
  color: #999;
  line-height: 18px;
  height: 18px;
  cursor: default;
  display: none;
  float: right;
  z-index: 1000;
  position: relative;
  text-transform: uppercase;
}
.structured-editor .property .search {
  position: absolute;
  -webkit-box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.4);
  -moz-box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.4);
  box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.4);
  padding: 0;
  background: #fff;
  z-index: 1001;
}
.structured-editor .property .search div {
  cursor: pointer;
  padding: 5px;
}
.structured-editor .property .search div:hover {
  background: #eee;
}
.structured-editor .property > .property-value {
  vertical-align: top;
  display: block;
}
.structured-editor .property > .property-value .value {
  width: 100% !important;
  resize: none;
  background: #f8f8f8;
  line-height: 18px;
  height: 18px;
  font-size: 12px;
  margin: 0;
  border: none;
  outline: none;
  padding: 0 0 0 2px;
}
.structured-editor .property > .property-value .value.invalid {
  background: #ffcccc;
}
.structured-editor .property .oneof-controls {
  margin-bottom: 8px;
  -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}
.structured-editor .property .oneof-controls select {
  cursor: pointer;
  line-height: 18px;
  height: auto;
  padding: 8px;
  font-size: 14px;
  margin: 0;
  border: none;
  outline: none;
  color: #999;
  font-weight: bold;
  width: 100% !important;
}
