@media (min-width: 1400px) {
  .main-container {
    max-width: 780px!important;
  }
}
@media (min-width: 992px) {
  .main-container {
    max-width: 780px!important;
  }
}
@media (min-width: 768px) {
  .main-container {
    max-width: 780px!important;
  }
}
@media (min-width: 576px) {
  .main-container {
    max-width: 780px!important;
  }
}
@media screen and (max-width: 500px) {
  .main-container {
    padding:20px 20px 40px!important;
  }
}

body,
html {
  font: 14px/1.47058824 PingFang SC, Hiragino Sans GB, Microsoft YaHei;
  background-color: #fafafa;
  word-spacing: 1px;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-overflow-scrolling: touch;
  -webkit-font-smoothing: antialiased;
  color: #333;
  height: auto;
  background: #EFF4FA;
}
.fl{
  float: left;
}
.fr{
  float: right;
}
.clearfix:after{
  content: '';
  display: block;
  clear: both;
  height: 0;
  visibility: hidden;
}
.amsify-suggestags-area,
.amsify-suggestags-input {
  width: 100%;
}
.ck.ck-editor {
  width: 100%;
}
.form-label {
  margin-top: 20px;
}

#story-form{
    padding:0 20px 40px 20px;
}

#story-form .button-group {
  margin-top: 20px;
}

.form-label {
  display: block;
  white-space: nowrap;
  font-size: 14px;
  color: #666;
  font-weight: 400;
}
.label-required {
  font-variant: tabular-nums;
  list-style: none;
  font-feature-settings: "tnum", "tnum";
  margin: 0 0 24px;

  width: 15px;
  font-size: 16px;
  line-height: 40px;
  text-align: center;
  color: #4285f4;
}

.main-container{
    padding:20px 40px 40px;
    background-color: #fff;
    /* overflow: hidden; */
}
.main-title{
  position: relative;
  margin-bottom: 40px;
  font-size: 16px;
  line-height: 70px;
  font-family: PingFangSC-Semibold, PingFang SC;
  font-weight: 600;
  color: #0E0E0E;
  border-bottom: 1px solid #EFF4FA;
}
.title-name{
  position: relative;
  padding-bottom: 4px;
}
/* .title-name:after{
  content: '';
  display: block;
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 20px;
  height: 4px;
  transform:translateX(-50%);
  background: #2857FF;
} */
.guide,.guide:hover{
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateX(-50%);
  width: 68px;
  height: 22px;
  font-size: 13px;
  font-family: PingFangSC-Regular, PingFang SC;
  font-weight: 400;
  color: #FFFFFF;
  line-height: 18px;
  text-decoration: none;
  background: #2857FF;
  box-shadow: 0px 2px 10px 0px rgba(40, 87, 255, 0.4);
  border-radius: 2px;
}
.form-item{
  margin-bottom: 20px;
}
.form-switch-item{
  font-size: 14px;
  line-height: 24px;
  font-family: PingFangSC-Medium, PingFang SC;
  font-weight: 500;
  color: #0E0E0E;
}
.form-item .col-form-label{
  padding: 0 20px 0 0;
  width: 76px;
  line-height: 44px;
  font-size: 14px;
  font-family: PingFangSC-Medium, PingFang SC;
  font-weight: 500;
  color: #0E0E0E;
}
.form-item .col-form-label em{
  color: red
}
.form-item .form-content{
  position: relative;
  width: 100%;
}


/* 解决点击箭头无法展开下拉的问题 */
/* .form-content-tag:after{ */
  /* position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  content: '';
  width: 20px;
  height: 20px;
  background: url(image/arrow.png) no-repeat 50%; */
/* } */
/* .form-content-tag.up:after{
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  content: '';
  width: 20px;
  height: 20px;
  background: url(image/arrow.png) no-repeat 50%;
} */
.form-content-arrow{
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  content: '';
  width: 20px;
  height: 20px;
  background: url(image/arrow.png) no-repeat 50%;
}
.form-content-arrow.up{
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  content: '';
  width: 20px;
  height: 20px;
  background: url(image/arrow.png) no-repeat 50%;
}

.red-tips{
  position: absolute;
  font-size: 14px;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(238, 122, 104, 1);
}
#post-title{
  padding-left: 20px;
  font-size: 18px;
  font-family: PingFangSC-Medium, PingFang SC;
  font-weight: 500;
  color: #0e0e0e;
  line-height: 58px;
  height: 58px;
  border-bottom: 1px solid rgba(150,171,213,.4);
  border-radius: 0;

}
.tox-editor-container *::-webkit-input-placeholder { /* WebKit browsers */
  color: #7A87A0;
}
.tox-editor-container *:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
  color: #7A87A0;
}
.tox-editor-container *::-moz-placeholder { /* Mozilla Firefox 19+ */
  color: #7A87A0;
}
.tox-editor-container *:-ms-input-placeholder { /* Internet Explorer 10+ */
  color: #7A87A0;
}
#story-form .tox .tox-mbtn__select-label{
  color: #0e0e0e;
}
.form-item .form-control{
  padding-left: 20px;
  padding-right: 100px;
  height: 44px;
  line-height: 44px;
  box-sizing: border-box;
}
.form-item .amsify-suggestags-input-area{
  /* padding: 12px 16px; */
  padding:0;
  padding-left: 36px;
  padding-right: 16px;
  line-height: 42px;
}
.form-item .amsify-suggestags-input-area-default{
  position: relative;
}

#post-tag{
  box-shadow: none;
  outline: none;
}
.form-item .amsify-suggestags-area .amsify-suggestags-input-area .amsify-suggestags-input{
  background: none;
  max-width: 252px;
}
.form-item .form-switch-label{
  line-height: 24px;
}
.form-item .form-switch{
  padding: 0;
}
.form-item .form-switch .form-check-input{
  margin: 0 40px 0 20px;
  width: 42px;
  height: 24px;
  cursor: pointer;
}
.form-item .form-switch #post-type-original{
  margin-left: 0;
}
.ipt-bg-gray{
  background: rgba(239,244,250,.4);
  border-color: rgba(150,171,213,.4)!important;
  border-radius: 0
}
.form-item *{
  border-color: rgba(150,171,213,.4)!important;
}
.form-item .tox .tox-menubar,.tox-toolbar__primary{
  padding-left:0;
  /* background: rgba(239,244,250,.4)!important; */
  border-bottom: 1px solid rgba(150,171,213,.4)!important;
}
.form-item .tox-mbtn:first-child{
  padding-left:20px!important;
}
.form-item .tox-toolbar__group:first-child{
  padding-left: 16px!important;
}
.form-item .tox-statusbar{
  padding-left: 20px!important;
}
.form-tags-item a{
  /* position: relative; */
  margin-right: 20px;
  padding:0;
  line-height: 32px;
  height: 34px;
  width: 96px;
  text-align: center;
  text-decoration: none;
  color: #7A87A0;
  border:1px solid rgba(150,171,213,.4);
  border-radius: 17px;
  overflow: hidden;
  box-sizing: border-box;
}
.form-tags-item #user_is_author{
  width: 68px;
}
.tox-statusbar__branding{
  line-height: 17px!important;
}
.form-tags-item .ipt-bg-gray:after{
  transition: none;
  background: none;
}
.form-tags-item a.active{
  color: #fff;
  background: #2857FF;
  box-shadow: 0px 2px 10px 0px rgba(40, 87, 255, 0.4);
  border:0;
}
.import-btn{
  position: absolute;
  top: 22px;
  right: 0;
  transform: translateY(-50%);
  /* width: 96px; */
  line-height: 44px;
  padding: 0 6px;
  font-size: 14px;
  text-decoration: none;
  font-family: PingFangSC-Regular, PingFang SC;
  font-weight: 400;
  color: #2857FF;
}
.mce-content-body {
  margin:0;
  padding:12px 20px;
}
.import-btn:after{
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  content: '';
  width: 1px;
  height: 16px;
  background: #96ABD5;
  opacity: 0.4;
}
.url-tips{
  margin-bottom: 8px;
  padding-left: 20px;
  font-size: 12px;
  font-family: PingFangSC-Regular, PingFang SC;
  font-weight: 400;
  color: #7A87A0;
  line-height: 41px;
}
.enable-reason{
  display: none;
  margin-top: 12px;
  padding: 12px 20px;
  width: 100%;
  height: 44px;
  background: #EFF4FA;
  opacity: 0.4;
  border: 1px solid #96ABD5;
}
.main-container .button-group{
  margin-top: 20px;
  padding-top:20px;
  border-top: 1px solid #EFF4FA;
}
.main-container .button-group button{
  margin:5px 10px;
  padding: 0;
  width: 96px;
  height: 36px;
  line-height: 36px;
  background: #7A87A0;
  border-radius: 2px;
  opacity: 0.6;
  border:0;
}
.main-container .button-group .submit{
  background: #2857FF;
  box-shadow: 0px 2px 10px 0px rgba(40, 87, 255, 0.4);
  border-radius: 4px;
  opacity: 1;
}
body{
    /* margin-top: 40px; */
    /* border-radius: 40px; */
    background: #EFF4FA;
}

.help-text-with-icon {
  background-image: url(https://hub.baai.ac.cn/_nuxt/img/a9952a8.svg);
  background-repeat: no-repeat;
  background-position: 1px 1px;
  padding-left: 20px;
  line-height: 16px;
  font-size: 12px;
  color: #8f8f8f;
}

.mode-original #controls-post-url .label-required,
.mode-original #controls-post-recommendation,
.mode-original #controls-post-author
{
    display: none;
}

.mode-share #controls-post-editor .label-required{
  display: none;
}


.controls-recommendation-input{
  display: none;
}
.recommend-enabled .controls-recommendation-input{
  display: inline-flex;
}

#controls-anonymous{
  display: none;
}
.anonymous-enabled#controls-anonymous{
  display: block;
}
.icon-loading{
  background-image: url('../assets/image/loading-2.svg');
}
/* loading 动画 */
.hub-loading{
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, .4);
}
.hub-loading-main{
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.hub-loading-text{
  color: #020202;
}

.hub-loading .icon-loading{
  display: inline-block;
  width: 40px;
  height: 40px;
  animation: rotate-loading 0.7s linear infinite;
  -webkit-animation: rotate-loading .7s linear infinite;
}
@keyframes rotate-loading {
  from {
    transform: rotate(0);
  }

  to {
    transform: rotate(360deg);
  }
};