@charset "UTF-8";
.drag-element {
  width: 460px;
  height: 145px;
  position: absolute;
  background-color: #FFF;
  border: 1px solid #CCC;
  z-index: 1000;
}
.drag-element-vertical {
  width: 145px;
  height: 460px;
  position: absolute;
  background-color: #FFF;
  border: 1px solid #CCC;
  z-index: 1000;
}
.layout-container {
  width: calc(100% - 2px);
  height: calc(100% - 2px);
  /*border: 1px dashed #FFF;*/
  /*background-color: #8e86a6;*/
  overflow: hidden;
}
.layout-header {
  width: calc(100% - 36px);
  height: 32px;
  padding: 0 0 0 36px;
  background: linear-gradient(180deg, #3AAFF7 0%, #1B77ED 100%);;
  /* border-top-left-radius: 10px; */
  /* border-top-right-radius: 10px; */
  color: #FFF;
}
.text-layout {
  float: left;
  width: 100px;
  height: 32px;
  font-size: 14px;
  line-height: 32px;
  text-align: left;
  color: #FFF;
}
.btn-delete,.btn-edit{
  float: right;
  width: 20px;
  height: 20px;
  margin-top: 6px;
  text-align: center;
  color: #FFF;
  margin-right: 20px;
  cursor: pointer;
}
.btn-delete{
  background: url("../image/icon-delete-2.png") no-repeat left top;
  background-size: 20px 20px;
}
.btn-edit{
  background: url("../image/icon-edit-2.png") no-repeat left top;
  background-size: 20px 20px;
}
.layout-content {
  width: calc(100% - 34px);
  height: calc(100% - 66px);
  padding: 16px;
  display:-webkit-box ;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  justify-content: space-between;
  position: relative;
  background-color: transparent;
  /*background: rgba(196, 191, 205,0.2);*/
  border: 1px dashed #FFF;
  overflow: hidden;
}
.layout-item {
  overflow: hidden;
}
.text {
  width: calc(100% - 30px);
  height: 30px;
  line-height: 30px;
  text-align: left;
  padding-left: 30px;
  font-size: 14px;
  color: #FFF;
  background: linear-gradient(180deg, #3AAFF7 0%, #1B77ED 100%);
}
/*横向布局*/
.drag-el-container {
  width: calc(100% - 60px);
  height: calc(100% - 78px);
  padding: 20px 30px 28px 30px;
  background-color: #8e9bab;
  display: flex;
  justify-content: space-between;
}
.drag-el-container-vertical{
  width: calc(100% - 48px);
  height: calc(100% - 90px);
  padding: 30px 20px 30px 28px;
  background-color: #8e9bab;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.drag-el-layout {
  height: calc(100% - 2px);
  background-color: #a6b6cd;
  /*border: 1px dashed #CCC;*/
  opacity: 0.2;
}
.drag-el-layout-vertical {
  width: calc(100% - 2px);
  background-color: #a6b6cd;
  /*border: 1px dashed #CCC;*/
  opacity: 0.2;
}
/* .el-input {
  float: right;
  right: 200px;
  display: block;
  width: 100px;
  height: 30px;
  line-height: 30px;
  font-size: 18px;
  color: #333;
  background-color: #FFF;
  margin-right: 15px;
  text-align: center;
  border: none;
} */
.drag-component {
  /*width: 360px;*/
  /*height: 325px;*/
  position: absolute;
  background-color: #FFF;
  border: 1px solid #CCC;
  z-index: 1000;
}
.ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.more-line-ellipsis {
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  word-break: break-all;
}
.clear::after {
  content: "";
  clear: both;
  height: 0;
  display: block;
  visibility: hidden;
  overflow: hidden;
}
.l {
  float: left;
}
.r {
  float: right;
}
.pointer {
  cursor: pointer;
}