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

#index {
  position: relative;
}

/*sid-groups部分的样式*/
#index {
  position: relative;
}
#index #header {
  position: relative !important;
}
#index .editor-page #header {
  top: 0 !important;
}

#header,
#banner,
#footer {
  position: relative;
  z-index: 5;
}

#header:hover {
  z-index: 200;
}

.editor-page #banner:hover {
  z-index: 99;
}
.editor-page #footer:hover {
  z-index: 199;
}
.editor-page #header:hover {
  z-index: 101;
}
.editor-page #firstSection:hover {
  z-index: 101;
}
.editor-page #firstSection #banner .top-btns {
  top: 0;
}

#banner.show-set {
  z-index: 99;
}

#footer {
  z-index: 10;
}

#header {
  top: 0 !important;
  left: 0;
  width: 100%;
  z-index: 1000;
}

#index #header {
  position: relative !important;
}

.editor-page #header {
  z-index: 100;
}

/*中间画布的样式*/
.container {
  position: relative;
}

.content {
  width: 1204px;
  margin: 0 auto;
}
.content.full-width {
  width: 100%;
}
.content .aid-group-wrap {
  position: relative;
  z-index: 101;
}
.content .aid-groups {
  position: relative;
  width: 1204px;
  margin: 0 auto;
  z-index: 2;
}
.content .aid-groups .grid-wrap {
  width: 100%;
}
.content .aid-groups .grid-wrap:not(:last-child) {
  margin-bottom: 12px;
}
.content .aid-groups .grid-wrap:not(:first-child) {
  margin-top: 12px;
}

.grid-wrap {
  position: relative;
  margin: 0 auto;
  width: 1204px;
}
.grid-wrap .grid-stack-item-content {
  border: 2px solid transparent;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}
.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;
}
.grid-wrap.editor-grid .grid-stack-item:hover .top-btns {
  display: block;
}
.grid-wrap.editor-grid .grid-stack-item:hover .grid-stack-item-content {
  border: 2px dashed #3D82F2;
}

#index {
  /* 收藏按钮 */
}
#index .grid-stack .grid-stack-item-content {
  overflow-y: hidden;
}
#index .grid-stack .grid-stack-item-content > div {
  min-height: 100%;
}
#index:not(.editor-page) .grid-stack:not(#grid1) .grid-stack-item-content > div {
  border: 1px solid #EAF0FF;
  border-radius: 4px;
  overflow: hidden;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}
#index:not(.editor-page) .grid-stack:not(#grid1) .grid-stack-item-content > div.plugin-module-container, #index:not(.editor-page) .grid-stack:not(#grid1) .grid-stack-item-content > div.map-module-container, #index:not(.editor-page) .grid-stack:not(#grid1) .grid-stack-item-content > div.text-module-container, #index:not(.editor-page) .grid-stack:not(#grid1) .grid-stack-item-content > div.img-module-container {
  border: 0;
  border-radius: 0;
}
#index:not(.editor-page) .grid-stack:not(#grid1) .grid-stack-item-content > div.richtext-module-container {
  margin-top: 20px;
  top: 0 !important;
}
#index:not(.editor-page) .grid-stack:not(#grid1) .grid-stack-item-content > div.plugin-module-container .comment-title {
  text-align: left;
  padding: 16px 24px;
  background-color: white;
  font-size: 18px;
  color: #333;
  font-weight: 700;
  line-height: 22px;
}
#index .btn-collect {
  position: absolute;
  right: 10px;
  top: 10px;
  font-size: 20px;
  margin-top: 20px;
  z-index: 999;
  margin-right: 16px;
}
#index .btn-collect i {
  cursor: pointer;
  padding: 6px 10px;
}
#index .btn-collect .icon-star:before {
  color: white;
}
#index .btn-collect .txt-theme .icon-star:before {
  color: inherit;
}

#index:not(.editor-page) {
  /*第2,4个画布内容高度自适应*/
}
#index:not(.editor-page) #grid2.grid-stack,
#index:not(.editor-page) #grid3.grid-stack,
#index:not(.editor-page) #grid4.grid-stack {
  height: auto !important;
}
#index:not(.editor-page) #grid2.grid-stack > .grid-stack-item,
#index:not(.editor-page) #grid3.grid-stack > .grid-stack-item,
#index:not(.editor-page) #grid4.grid-stack > .grid-stack-item {
  position: relative !important;
  height: auto !important;
  top: auto;
}
#index:not(.editor-page) #grid2.grid-stack .grid-stack-item-content,
#index:not(.editor-page) #grid3.grid-stack .grid-stack-item-content,
#index:not(.editor-page) #grid4.grid-stack .grid-stack-item-content {
  position: relative !important;
  height: auto !important;
  top: 0 !important;
  max-width: calc(100% - 20px);
}
#index:not(.editor-page) #grid2.grid-stack .grid-stack-item-content > div,
#index:not(.editor-page) #grid3.grid-stack .grid-stack-item-content > div,
#index:not(.editor-page) #grid4.grid-stack .grid-stack-item-content > div {
  position: relative !important;
  min-height: 100%;
  height: auto !important;
  width: 100% !important;
  left: 0 !important;
  top: 0 !important;
}
#index:not(.editor-page) #grid2.grid-stack .grid-stack-item-content > div.center-first,
#index:not(.editor-page) #grid3.grid-stack .grid-stack-item-content > div.center-first,
#index:not(.editor-page) #grid4.grid-stack .grid-stack-item-content > div.center-first {
  top: 0 !important;
  left: 0 !important;
  -webkit-transform: none !important;
      -ms-transform: none !important;
          transform: none !important;
}

.item-engine-title .title-t .title-icon {
  border-radius: 3px;
  margin-top: -2px;
  display: none;
}

.item-drag-wrap .richtext-module .map-title.item-engine-title {
  padding: 16px 24px;
  margin: 0;
  background-color: white;
}
.item-drag-wrap .richtext-module .item-main {
  padding: 0 8px;
  background-color: white;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
  border-style: solid;
  border-width: 0;
}

@media only screen and (min-width: 1px) and (max-width: 926px) {
  .btn-collect {
    display: none !important;
  }
  .item-drag-wrap.richtext-module-container {
    left: 0 !important;
  }
  #index:not(.editor-page) .grid-stack:not(#grid1) .grid-stack-item-content > div {
    border: 0;
    border-radius: 0;
  }
  #index:not(.editor-page) .grid-stack:not(#grid1) .grid-stack-item-content > div.richtext-module-container {
    margin-top: 10px;
  }
  .item-drag-wrap .richtext-module .map-title.item-engine-title {
    padding: 16px;
  }
  .item-drag-wrap .richtext-module .item-main {
    padding: 0;
  }
  .item-drag-wrap .richtext-module {
    margin: 0 auto;
  }
  .grid-wrap .grid-stack {
    border: 0;
  }
}
@media only screen and (min-width: 1px) and (max-width: 1080px) {
  .touchmachine .btn-collect {
    display: none !important;
  }
  .touchmachine #header,
  .touchmachine #footer {
    display: none !important;
  }
  .touchmachine .item-drag-wrap.richtext-module-container {
    left: 0 !important;
  }
  .touchmachine #index:not(.editor-page) .grid-stack:not(#grid1) .grid-stack-item-content > div {
    border: 0;
    border-radius: 0;
  }
  .touchmachine #index:not(.editor-page) .grid-stack:not(#grid1) .grid-stack-item-content > div.richtext-module-container {
    margin-top: 10px;
  }
  .touchmachine .item-drag-wrap .richtext-module .map-title.item-engine-title {
    padding: 16px;
  }
  .touchmachine .item-drag-wrap .richtext-module .item-main {
    padding: 0;
  }
  .touchmachine .item-drag-wrap .richtext-module {
    margin: 0 auto;
  }
  .touchmachine .grid-wrap .grid-stack {
    border: 0;
  }
}
.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;
}
.top-btns .icon {
  display: inline-block;
  font-size: 16px;
  vertical-align: middle;
}
.top-btns span {
  display: inline-block;
  vertical-align: middle;
}

.top-btn-groups {
  padding: 0 16px;
  background: rgb(255, 255, 255);
  -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;
}
.top-btn-groups > span:not(:last-child) {
  margin-right: 12px;
}
.top-btn-groups i {
  margin-right: 4px;
}
.top-btn-groups .set,
.top-btn-groups .delete {
  cursor: pointer;
}
.top-btn-groups .drag-nav {
  cursor: move;
}

/*背景列表的样式*/
.editor-page #bgs > li {
  width: 100% !important;
}
.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;
}

/*编辑模块名字的弹框样式*/
.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 rgb(221, 221, 221);
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}

/*第一屏的样式*/
#firstSection {
  position: relative;
}

#firstSection {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}
#firstSection #banner {
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
}
#firstSection .grid-wrap {
  z-index: 100;
}
#firstSection .grid-wrap > .grid-wrap-border {
  border: 2px dotted #ccc;
  overflow: visible;
}
#firstSection .grid-wrap > .grid-wrap-border #grid1 {
  border: none;
}

.editor-page .grid-stack {
  min-height: 100px;
  border: 2px dotted #ccc;
}

.grid-stack {
  border: 2px dotted transparent;
}

/*右侧锚点导航的样式*/
#anchorsNav {
  position: fixed;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  z-index: 10000;
}
#anchorsNav:hover .general-set {
  display: block;
}
#anchorsNav.hide {
  display: none !important;
}
#anchorsNav .nav-name {
  position: absolute;
  display: none;
  right: 40px;
  top: 5px;
  font-size: 12px;
  color: #fff;
  padding: 6px 12px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 4px;
  white-space: nowrap;
}
#anchorsNav .anchors-nav li {
  position: relative;
}
#anchorsNav .anchors-nav li:hover .nav-name {
  display: block;
}
#anchorsNav .anchors-nav li:not(:last-child) {
  margin-bottom: 20px;
}
#anchorsNav .anchors-nav li > a {
  display: inline-block;
  width: 36px;
  line-height: 36px;
  font-size: 16px;
  font-weight: 400;
  color: #333;
  text-align: center;
}
#anchorsNav .anchors-nav.right-nav1 .active a {
  color: #fff;
}
#anchorsNav .anchors-nav.right-nav2 .active {
  transform: scale(1.3);
  -webkit-transform: scale(1.3);
  -moz-transform: scale(1.3);
  -ms-transform: scale(1.3);
  -o-transform: scale(1.3);
}

/*设置按钮的样式*/
.general-set {
  position: absolute;
  display: none;
  top: -37px;
  right: 4px;
  padding-bottom: 8px;
  z-index: 10;
}
.general-set > div {
  display: block;
  padding: 8px;
  color: #666;
  font-size: 12px;
  z-index: 10;
  cursor: pointer;
  width: 76px;
  height: 33px;
  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;
  text-align: center;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
       box-sizing: border-box;
}
.general-set .icon-set {
  margin-right: 4px;
  font-size: 16px;
}
.general-set span {
  display: inline-block;
  vertical-align: middle;
}

/*快捷入口*/
#quickEntry {
  position: fixed;
  top: 50%;
  left: 0;
  z-index: 230;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
}
#quickEntry .general-set {
  display: none;
  left: 0;
  right: auto;
}
#quickEntry:hover .general-set {
  display: block;
}
#quickEntry.screen-right {
  right: 0;
  left: auto;
}
#quickEntry.content-left {
  left: 50%;
  right: auto;
  margin-left: -600px;
}
#quickEntry.content-right {
  left: 50%;
  top: 558px;
  transform: none;
  -webkit-transform: none;
  -moz-transform: none;
  -ms-transform: none;
  -o-transform: none;
  right: auto;
  margin-left: 600px;
}

/*返回顶部*/
#toTop {
  position: fixed;
  bottom: 0;
  right: 149px;
  z-index: 999;
}
#toTop .general-set {
  display: none;
}
#toTop:hover .general-set {
  display: block;
}

/*预览页 横向标签 适配*/
#index:not(.editor-page) .layout-drag .grid-stack-item-content .layout-content {
  position: static !important;
}
#index:not(.editor-page) .layout-drag .grid-stack-item-content .layout-content.visibility {
  height: 0 !important;
}

@media only screen and (min-width: 1px) and (max-width: 926px) {
  .content .aid-groups {
    width: 100%;
  }
  .grid-wrap {
    width: 100%;
  }
  #firstSection {
    height: auto !important;
    min-height: 0 !important;
    z-index: 198;
  }
  #firstSection #banner {
    position: relative;
    height: auto !important;
  }
  #firstSection .grid-wrap {
    position: initial;
    -webkit-transform: none;
        -ms-transform: none;
            transform: none;
    max-height: none !important;
  }
  #anchorsNav {
    display: none !important;
  }
  #toTop {
    right: 0.2rem;
  }
  .content {
    width: 100%;
    padding-bottom: 57px;
  }
  #index:not(.editor-page) #grid2.grid-stack .grid-stack-item-content,
  #index:not(.editor-page) #grid3.grid-stack .grid-stack-item-content,
  #index:not(.editor-page) #grid4.grid-stack .grid-stack-item-content {
    left: 0 !important;
    max-width: 100%;
  }
}
@media only screen and (min-width: 1px) and (max-width: 1080px) {
  .touchmachine .content .aid-groups {
    width: 100%;
  }
  .touchmachine .grid-wrap {
    width: 100%;
  }
  .touchmachine #firstSection {
    height: auto !important;
    min-height: 0 !important;
    z-index: 198;
  }
  .touchmachine #firstSection #banner {
    position: relative;
    height: auto !important;
  }
  .touchmachine #firstSection .grid-wrap {
    position: initial;
    -webkit-transform: none;
        -ms-transform: none;
            transform: none;
    max-height: none !important;
  }
  .touchmachine #anchorsNav {
    display: none !important;
  }
  .touchmachine #toTop {
    right: 0.2rem;
  }
  .touchmachine .content {
    width: 100%;
    padding-bottom: 57px;
  }
  .touchmachine #index:not(.editor-page) #grid2.grid-stack .grid-stack-item-content,
  .touchmachine #index:not(.editor-page) #grid3.grid-stack .grid-stack-item-content,
  .touchmachine #index:not(.editor-page) #grid4.grid-stack .grid-stack-item-content {
    left: 0 !important;
    max-width: 100%;
  }
}
#index #bgs.single-bg-mode {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}