@charset "UTF-8";
body {
  min-width: 1200px;
  background-color: #fff;
}

#index {
  position: relative;
}
#index #header {
  position: relative !important;
}
#index .editor-page #header {
  top: 0 !important;
}

/*sid-groups部分的样式*/
#header,
#banner,
#footer {
  position: relative;
  z-index: 5;
}

.editor-page #header:hover,
.editor-page #banner:hover,
.editor-page #footer:hover {
  z-index: 99;
}
.editor-page #header:hover .module-set,
.editor-page #banner:hover .module-set,
.editor-page #footer:hover .module-set {
  display: block;
}
.editor-page #bgs > li:hover {
  border-bottom: 2px dashed #eee;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
       box-sizing: border-box;
}
.editor-page #bgs > li:hover .bg-height {
  display: inline-block;
}

#header {
  z-index: 6;
}
#header:hover {
  z-index: 103;
}

#footer {
  z-index: 10;
}

/*aid-groups部分的样式*/
#grid1 {
  min-width: 1200px;
  margin: 0 auto;
  width: 100%;
}
#grid1 .grid-stack-item {
  width: 100% !important;
  min-height: 100%;
  left: 0;
}
#grid1 .grid-stack-item-content {
  overflow-y: hidden;
}
#grid1 .grid-stack-item-content > div {
  min-height: 100%;
}

/*中间画布的样式*/
.content {
  position: relative;
  z-index: 6;
}
.content .aid-groups {
  position: relative;
  z-index: 5;
}

.aid-groups {
  margin-bottom: 0;
}
.aid-groups .grid-wrap {
  position: relative;
  margin: 0 auto;
  width: 100%;
}
.aid-groups .grid-wrap .grid-stack-item-content {
  border: 2px solid transparent;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
       box-sizing: border-box;
}
.aid-groups .grid-wrap.editor-grid:hover:before {
  display: inline-block;
  position: absolute;
  content: "";
  top: 0;
  bottom: 0;
  left: -1px;
  width: 0;
  border-left: 1px solid #3D82F2;
  z-index: 200;
}
.aid-groups .grid-wrap.editor-grid:hover:after {
  display: inline-block;
  position: absolute;
  content: "";
  top: 0;
  bottom: 0;
  right: -1px;
  width: 0;
  border-left: 1px solid #3D82F2;
  z-index: 200;
}
.aid-groups .grid-wrap.editor-grid .grid-stack-item-content {
  border: 2px dashed #ddd;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
       box-sizing: border-box;
}
.aid-groups .grid-wrap.editor-grid .grid-stack-item:hover .top-btns {
  display: block;
}
.aid-groups .grid-wrap.editor-grid .grid-stack-item:hover .grid-stack-item-content {
  border: 2px dashed #3D82F2;
}
.aid-groups #grid1 {
  margin: 0 auto;
  min-height: 700px;
  z-index: 10;
}
.aid-groups .top-btns {
  position: absolute;
  display: none;
  top: -30px;
  right: 10px;
  z-index: 100;
  padding-bottom: 10px;
  height: 33px;
  line-height: 33px;
  font-size: 12px;
  color: #666;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.aid-groups .top-btns .icon {
  display: inline-block;
  font-size: 16px;
  vertical-align: middle;
}
.aid-groups .top-btns span {
  display: inline-block;
  vertical-align: middle;
}
.aid-groups .top-btn-groups {
  padding: 0 16px;
  background: white;
  -webkit-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.3);
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.3);
  border-radius: 4px;
}
.aid-groups .top-btn-groups > span:not(:last-child) {
  margin-right: 12px;
}
.aid-groups .top-btn-groups i {
  margin-right: 4px;
}
.aid-groups .top-btn-groups .set,
.aid-groups .top-btn-groups .delete {
  cursor: pointer;
}
.aid-groups .top-btn-groups .drag-nav {
  cursor: move;
}

/*背景列表的样式*/
#bgs {
  min-height: 500px;
}

/*编辑模块名字的弹框样式*/
.name-edit-pop .pop-content {
  width: 380px;
}
.name-edit-pop .middle {
  text-align: center;
  padding: 40px 16px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
       box-sizing: border-box;
}
.name-edit-pop label {
  display: inline-block;
  margin-right: 8px;
  vertical-align: middle;
}
.name-edit-pop .inp-name {
  padding: 0 8px;
  width: 240px;
  height: 30px;
  border-radius: 2px;
  border: 1px solid #dddddd;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
       box-sizing: border-box;
}

@media only screen and (min-width: 1px) and (max-width: 926px) {
  body.isMobile {
    min-width: auto !important;
  }
  #grid1 {
    width: 100%;
    min-width: auto;
  }
  .aid-groups .grid-wrap {
    width: 100%;
  }
}