html {
  min-width: 1347px;
  overflow: scroll;
}
ul {
  padding: 0;
}
#navbar ul.nav .dropdown a:hover {
  cursor: pointer;
}
.btn-info {
  background-color: #5898d6;
}
.main {
  margin: 50px 0 0 20px;
}
.main .crumbs-page .breadcrumb {
  width: 99%;
}
.main .btns a {
  padding: 8px 40px;
  border: 1px solid #5898d7;
}
.main .btns a.active {
  background-color: #5898d6;
}
.main .activity-config {
  color: #333;
}
.main .activity-config h3 {
  font-size: 15px;
  font-weight: 700;
}
.main .activity-config .first-step .form-data {
  padding-left: 20px;
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
}
.main .activity-config .first-step .form-data i {
  color: red;
  line-height: 34px;
  margin-right: 5px;
}
.main .activity-config .first-step .form-data li {
  margin-right: 20px;
}
.main .activity-config .first-step .form-data li span {
  display: inline-block;
  width: 100px;
  line-height: 34px;
}
.main .activity-config .first-step .form-data li.activity-startTime,
.main .activity-config .first-step .form-data li.activity-endTime {
  display: flex;
}
.main .activity-config .first-step .form-data li.activity-title {
  display: flex;
}
.main .activity-config .first-step .down {
  display: flex;
  justify-content: flex-start;
}
.main .activity-config .first-step .down li {
  display: flex;
  justify-content: space-around;
}
.main .activity-config .first-step .down li span {
  width: 80px;
}
.main .activity-config .first-step .down li .btn {
  margin-right: 7px;
}
.main .activity-config .first-step .down li .btn.selected {
  background-color: #5898d7;
  color: white;
}
.main .activity-config .second-step .edit-area {
    overflow: hidden;
}
.main .activity-config .second-step .edit-area-phone {
  float: left;
  width: 341px;
  height: 638px;
  background: url(../img/phone.png) no-repeat;
  background-size: 100% 100%;
  position: relative;
}
.main .activity-config .second-step .edit-area-phone #activatedBorder {
  border: 1px solid #ccc;
}
.main .activity-config .second-step .edit-area-phone .edit-area-phone-content {
  width: 283px;
  height: 467px;
  margin: auto;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
.main .activity-config .second-step .edit-area-phone .edit-area-phone-content .tmp-editable.active {
  position: relative;
}
.main .activity-config .second-step .edit-area-phone .edit-area-phone-content .tmp-editable.active::after {
  position: absolute;
  content: '';
  display: block;
  padding: 6px;
  left: 0%;
  top: 0%;
  width: 100%;
  height: 100%;
  border: 2px dashed #aaa;
}
.main .activity-config .second-step .edit-area-phone .edit-area-phone-content img.tmp-editable.active {
  border: 2px dashed #aaa;
}
.main .activity-config .second-step .edit-area-element {
  float: left;
  width: 944px;
  height: 624px;
  margin-left: 12px;
  border: 1px solid #ccc;
  box-shadow: 0 0 10px #ccc;
  border-radius: 12px;
  padding: 10px;
}
.main .activity-config .second-step .edit-area-element .edit-area-element-tabs {
  border-bottom: 1px solid #ccc;
  display: flex;
  justify-content: flex-start;
  height: 7%;
  line-height: 36px;
}
.main .activity-config .second-step .edit-area-element .edit-area-element-tabs .edit-area-element-tab {
  width: 108px;
  text-align: center;
  cursor: pointer;
}
.main .activity-config .second-step .edit-area-element .edit-area-element-tabs .edit-area-element-tab.active {
  color: #001fbf;
  border-bottom: 3px solid #001fbf;
  cursor: default;
}
.main .activity-config .second-step .edit-area-element .edit-area-element-tabs .revoke {
  cursor: pointer;
  float: right;
  margin-left: 223px;
  color: #3f51b5;
}
.main .activity-config .second-step .edit-area-element .edit-area-middle {
  display: flex;
  justify-content: flex-start;
  height: 80%;
  padding: 10px;
}
.main .activity-config .second-step .edit-area-element .edit-area-middle .edit-area-element-contents {
  width: 62%;
  height: 100%;
  padding: 0;
}
.main .activity-config .second-step .edit-area-element .edit-area-middle .edit-area-element-contents .edit-area-element-content {
  width: 100%;
  height: 100%;
  display: none;
}
.main .activity-config .second-step .edit-area-element .edit-area-middle .edit-area-element-contents .edit-area-element-content .styleType {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  align-items: flex-start;
}
.main .activity-config .second-step .edit-area-element .edit-area-middle .edit-area-element-contents .edit-area-element-content .styleType .edit-area-element-Ele {
  width: 127px;
  height: 113px;
  margin: 0 10px 36px 0;
}
.main .activity-config .second-step .edit-area-element .edit-area-middle .edit-area-element-contents .edit-area-element-content .styleType .edit-area-element-Ele .styleEle {
  width: 100%;
  height: 100%;
  border: 1px solid #ccc;
  position: relative;
  border-radius: 4px;
}
.main .activity-config .second-step .edit-area-element .edit-area-middle .edit-area-element-contents .edit-area-element-content .styleType .edit-area-element-Ele .styleEle .bgColor,
.main .activity-config .second-step .edit-area-element .edit-area-middle .edit-area-element-contents .edit-area-element-content .styleType .edit-area-element-Ele .styleEle .color {
  border: 4px solid #fff;
  box-shadow: 0 0 4px #666;
  width: 70%;
  height: 58px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background-color: red;
  border-radius: 4px;
}
.main .activity-config .second-step .edit-area-element .edit-area-middle .edit-area-element-contents .edit-area-element-content .styleType .edit-area-element-Ele .styleEle img {
  display: block;
  position: absolute;
  margin: auto;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  max-width: 70%;
  max-height: 70%;
}
.main .activity-config .second-step .edit-area-element .edit-area-middle .edit-area-element-contents .edit-area-element-content .styleType .edit-area-element-Ele .styleEle .bgImg {
  width: 70%;
  height: 70%;
}
.main .activity-config .second-step .edit-area-element .edit-area-middle .edit-area-element-contents .edit-area-element-content .styleType .edit-area-element-Ele .styleEle .text {
  width: 84%;
  height: 84%;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid #ccc;
  padding: 4px;
  font-size: 12px;
  color: #aaa;
  overflow: hidden;
  word-wrap: break-word;
  word-break: break-all;
}
.main .activity-config .second-step .edit-area-element .edit-area-middle .edit-area-element-contents .edit-area-element-content .styleType .edit-area-element-Ele .doc {
  margin-top: 10px;
  text-align: center;
  color: #333;
  font-size: 13px;
}
.main .activity-config .second-step .edit-area-element .edit-area-middle .edit-area-element-contents .edit-area-element-content .styleType .edit-area-element-Ele.active .styleEle {
  border-color: #0259fc;
}
.main .activity-config .second-step .edit-area-element .edit-area-middle .edit-area-element-contents .edit-area-element-content.active {
  display: flex;
}
.main .activity-config .second-step .edit-area-element .edit-area-middle .styleEdit {
  position: relative;
  width: 38%;
  height: 100%;
}
.main .activity-config .second-step .edit-area-element .edit-area-middle .styleEdit .style-edit-tool {
  display: none;
}
.main .activity-config .second-step .edit-area-element .edit-area-middle .styleEdit .style-edit-tool.active {
  display: block;
}
.main .activity-config .second-step .edit-area-element .edit-area-middle .styleEdit .style-edit-tool.rich-text #txtArea {
  width: 100%;
  padding: 6px;
  max-width: 100%;
  height: 300px;
  border-radius: 4px;
}
.main .activity-config .second-step .edit-area-element .edit-area-middle .styleEdit .upload-photo {
  width: 100%;
  height: 100%;
}
.main .activity-config .second-step .edit-area-element .edit-area-middle .styleEdit .upload-photo #addCommodityIndex .big-photo {
  width: 100%;
  height: 204px;
  margin: 0 auto;
  display: block;
  position: relative;
  padding: 20px;
  margin-bottom: 20px;
}
.main .activity-config .second-step .edit-area-element .edit-area-middle .styleEdit .upload-photo #addCommodityIndex .big-photo #preview {
  width: 70%;
  height: 100%;
  position: absolute;
  margin: auto;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  border: 1px dashed #ccc;
}
.main .activity-config .second-step .edit-area-element .edit-area-middle .styleEdit .upload-photo #addCommodityIndex .big-photo #preview img {
  position: absolute;
  margin: auto;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: block;
  text-align: center;
}
.main .activity-config .second-step .edit-area-element .edit-area-middle .styleEdit .upload-photo #addCommodityIndex .upload-photo-input {
  display: block;
  margin: 20px 85px;
}
.main .activity-config .second-step .edit-area-element .edit-area-middle .styleEdit .upload-photo #addCommodityIndex .text {
  text-align: center;
  color: #aaa;
  margin-top: 160px;
}
.main .activity-config .second-step .edit-area-element .edit-area-middle .styleEdit .upload-photo #addCommodityIndex .text p {
  padding: 0 50px;
}
.main .activity-config .second-step .edit-area-element .edit-area-middle .styleEdit .upload-photo #addCommodityIndex .text p.size {
  font-size: 14px;
}
.main .activity-config .second-step .edit-area-element .edit-area-middle .styleEdit .upload-photo #addCommodityIndex .text p.tip {
  font-size: 13px;
}
.main .activity-config .second-step .edit-area-element .edit-area-middle .styleEdit .color-picker {
  width: 352px;
  height: 462px;
}
.main .activity-config .second-step .edit-area-element .edit-area-middle .styleEdit .color-picker p {
  width: 356px;
  height: 176px;
}
.main .activity-config .second-step .edit-area-element .control-btns {
  margin-left: 8px;
}
.main .activity-config .second-step .edit-area-element .control-btns .btn {
  width: 130px;
  padding: 10px 30px;
}
#previewImg {
  position: absolute;
  margin: auto;
  top: 58px;
  left: 0;
  right: 0;
  max-width: 340px;
  max-height: 140px;
}
.ul {
  list-style: none;
}
.clearfloat:after {
  content: '';
  display: block;
  clear: both;
  height: 0;
  line-height: 0;
  /* visibility: hidden; */
}
body {
  position: relative;
}
#frame-sheild {
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  top: 0;
  left: 0;
  z-index: 99999;
}
.frame {
  position: absolute;
  margin: auto;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 700px;
  height: 580px;
  background-color: white;
}
.frame .frame-header {
  width: 100%;
  height: 45px;
  background-color: #5898d7;
  position: absolute;
}
.frame .frame-header span {
  position: absolute;
  right: 20px;
  top: 14px;
  font-size: 18px;
  color: white;
  cursor: pointer;
}
.frame .frame-header h4 {
  line-height: 45px;
  margin: 0;
  color: white;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
}
.frame .frame-body {
  margin-top: 45px;
  height: 470px;
  padding: 16px 30px;
}
.frame .frame-body ul {
  overflow: auto;
  height: 100%;
}
.frame .frame-body ul li {
  float: left;
  margin-right: 16px;
  margin-bottom: 16px;
}
.frame .frame-body ul li .btn {
  width: 138px;
  height: 40px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.frame .frame-body ul li .btn.selected {
  background-color: #5898d7;
  color: white;
}
.frame .frame-footer {
  width: 100%;
  height: 75px;
  position: absolute;
  bottom: 0;
}
.frame .frame-footer .btn-box {
  margin: 12px auto;
  width: 300px;
  display: flex;
  justify-content: space-between;
}
.frame .frame-footer .btn-box .btn {
  width: 140px;
  height: 50px;
}
.frame .frame-footer .btn-box .btn.confirm-btn {
  background-color: #5898d7;
  color: white;
  border: none;
}
