@import url("blog_common.css");
@import url("ckeditor.css");

body {
  background-color: #fff;
  padding: 0px;
  font-size: 16px !important;
}

@media (min-width: 1600px) {
  .layui-main {
    width: 1380px;
  }

  .categories-sub-width {
    width: 1080px !important;
  }
}

@media (min-width: 1720px) {
  .layui-main {
    width: 1440px;
  }

  .categories-sub-width {
    width: 1260px !important;
  }
}

/* 翻译 */
.goog-te-banner-frame {
  display: none;
}

#goog-gt-tt {
  display: none !important;
}

.goog-te-banner-frame {
  display: none !important;
}

.goog-te-menu-value:hover {
  text-decoration: none !important;
}

#google_translate_element2 {
  display: none !important;
}

main {
  background-color: #F8F8F8;
  padding-bottom: 100px;
}

.layui-breadcrumb {
  padding: 20px 0 20px 4px;
  height: 58px;
}

.article-detail {
  /* display: flex; */
  width: calc(100% - 490px);
  /* flex-direction: column; */
}

.article-content {
  background-color: #fff;
  overflow: hidden;
  border-radius: 10px;
  padding: 40px;
}

.article-title {
  text-align: center;
  color: #333333;
  font-size: 28px;
  font-weight: bold;
  color: #333333;
  line-height: 40px;
  padding: 0;
  margin: 0 0 16px;
  
}

.article-publishinformation{
  margin-bottom: 28px;
  font-weight: 400;
  font-size: 13px;
  color: #999999;
  line-height: 13px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.article-author{
  margin-right: 32px;
}

.article-authorintroduce{
  position: relative;
  height: 160px;
}

.article-author-img{
  width: 68px;
  height: 68px;
  border-radius: 50%;
  position: absolute;
  top: 20px;
  left: 7px;
  z-index: 2;
}

.article-author-name{
  font-weight: 400;
  font-size: 18px;
  color: #333333;
  line-height: 13px;
  position: absolute;
  top: 40px;
  left: 90px;
}

.article-author-name :hover{
  color: #E71A41;
}

.article-author-introduce{

  background: #F8F8F8;
  border-radius: 5px;
  padding: 16px;
  font-size: 14px;
  color: #666;
  line-height: 21px;
  position: absolute;
  top: 65px;
  text-indent:60px
  
}

/* 目录 */
.article-catalogue{
  background: #fff;
  border: 2px solid #ddd;
  border-radius: 10px;
  padding: 24px 32px;
  margin-bottom: 16px;
}

.article-catalogue a{
  display: block;
  font-size: 20px;
  font-weight: bold;
  color: #666;
  line-height: 24px;
  padding: 8px 0;
}

.article-catalogue a:hover{
  color: #E71A41;
}

.focus_img {
  padding: 0;
  margin-bottom: 16px;
  
}

.focus_img img {
  display: block;
  width: 100%;
  object-fit: cover;
  border-radius: 10px;
}

/* 评级 */
.article-rating{
  margin-top: 40px;
}
.article-rating .ant-divider-horizontal.ant-divider-with-text-center:before,
.article-rating .ant-divider-horizontal.ant-divider-with-text-center:after {
  border-top: 2px dashed #E71A41;
}

.article-rating .ant-divider-inner-text .article-rating-circle {
  width: 60px;
  height: 60px;
  background: #FFFFFF;
  border: 2px solid #E71A41;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  font-weight: 400;
  color: #E71A41;
}
.article-rating-title{
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  color: #E71A41;
  line-height: 32px;
}
.article-rating .ant-rate {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #E71A41;
  font-size: 32px;
  margin-top: 16px;
}


/* 评论 */
.comment-not-logged,.comment-logged{
  display: flex;
  align-items: center;
  margin-top: 48px;
}

.comment-user-avatar .ant-avatar{
  border: 1px solid #ddd;
  background-color: #F8F8F8;
}

.comment-log-in{
  flex: 1;
  margin-left: 32px;
  background-color: #ddd;
  color: #999;
  text-align: center;
  padding: 50px 40px;
  border-radius: 10px;
}

.comment-log-in svg{
  fill: #999;
}

.comment-log-in .comment-log-in-txt {
  font-size: 16px;
  font-weight: bold;
  color: #999;
  margin-top: 8px;
}

.comment-user-avatar .comment-user-name{
  width: 110px;
  font-size: 16px;
  font-weight: 400;
  color: #333333;
  margin-top: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.comment-form{
  flex: 1;
  margin-left: 32px;
}

.comment-form .ant-input{
  width: 100%;
  resize:none;
}

.comment-form .ant-input:hover,.comment-form .ant-input:focus{
  border-color: #d9d9d9;
}

@keyframes shake {

  10%,
  90% {
    transform: translate3d(-1px, 0, 0);
  }

  20%,
  80% {
    transform: translate3d(2px, 0, 0);
  }

  30%,
  50%,
  70% {
    transform: translate3d(-4px, 0, 0);
  }

  40%,
  60% {
    transform: translate3d(4px, 0, 0);
  }
}

.apply-shake {
  animation: shake 0.9s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
  border: 1px solid #E71A41 !important;
}

.comment-form .comment-form-action{
  display: flex;
  align-items:end;
  justify-content: space-between;
  margin-top: 16px;
}

.comment-form-rate .rcomment-form-rate-txt {
  font-size: 16px;
  color: #333;
}



.comment-form-rate .ant-rate {
  color: #E71A41;
  font-size: 32px;
}

.comment-form-btn {
  width: 160px;
  height: 36px;
  text-align: center;
  line-height: 36px;
  background: #FFFFFF;
  border: 1px solid #E71A41;
  border-radius: 18px;
  font-size: 16px;
  font-weight: bold;
  color: #E71A41;
}

.comment-form-btn:hover {
  background: #E71A41;
  color: #fff;
}


/* 评论列表 */

.comment-list{
  background-color: #fff;
  margin-top: 30px;
  border-radius: 10px;
}
.comment-list-hd{
  position: relative;
}

.comment-list-hd .ant-tabs-bar{
  margin-bottom: 0;
}
.comment-list-hd .ant-tabs-nav-scroll{
  text-align: right;
}
.comment-list-hd .comment-num{
  min-width: 200px;
  padding: 0 16px;
  height: 55px;
  line-height: 55px;
  background: #E71A41;
  border-radius: 10px 0px 0px 0px;
  font-size: 20px;
  font-weight: bold;
  color: #FFFFFF;
  text-align: center;
  position: absolute;
  left: 0;
  top: 0;
}

.comment-list-hd .ant-tabs-ink-bar {
  height: 4px;
  background-color: #E71A41;
}

.comment-list-hd .ant-tabs-tab{
  font-size: 20px;
  line-height: 55px;
  padding: 0 16px 0 12px!important;
  color: #333;
}

.comment-list-hd .ant-tabs-tab span{
  display: flex;
  align-items: center;
}
.comment-list-hd .ant-tabs-tab span svg{
  margin-right: 8px;
  fill: #E71A41;
}

.comment-list-hd .ant-tabs-tab .ant-dropdown-trigger>.anticon.anticon-down{
  font-size: 18px;
  fill: #333;
  margin-left: 4px;
}

.comment-list-hd .ant-tabs-tab .ant-dropdown-trigger>.anticon.anticon-down svg{
  fill: #333;
}

.comment-list-hd .ant-tabs-tab-active,.comment-list-hd .ant-tabs-tab:hover {
  color: #333;
}

.comment-list-hd .ant-dropdown-link{
  display: flex;
  align-items: center;
}
.comment-list-hd .ant-dropdown-link:hover{
  color: #333;
}

.comment-dropdown{
  
}

.comment-dropdown .ant-dropdown-menu-item{
  color: #333;
  font-size: 20px;
  text-align: center;
}

.comment-dropdown .ant-dropdown-menu-item:hover{
  background-color: #efefef;
}


.comment-list-bd{
  padding: 24px 40px 40px;
}

.comment-list-bd .ant-avatar{
  border: 1px solid #ddd;
  background-color: #F8F8F8;
}
.comment-list-bd .ant-comment-avatar img{
  width: 100% !important;
  height: 100% !important;
}

.comment-list-bd  .ant-comment-content-author-name *{
  color: #333;
  font-size: 16px;
  text-transform: capitalize;
}

.comment-list-rate {
  margin-bottom: 8px;
}

.comment-list-rate .ant-rate {
  color: #E71A41;
}

.comment-list-reply{
  font-weight: bold;
}

.comment-list-reply-to {
  margin-bottom: 8px;
}

.comment-list-reply-to span{
  color: #E71A41;
}

/* 分页 */
.comment-list-ft {
  padding: 0 40px 40px;
  text-align: center;
  /* margin-right: -8px; */
}

.ant-pagination-disabled {
  border-color: #dfe3e7;
  color: #dfe3e7;
  background-color: #f5f7fa;
}

.ant-pagination-next:not(.ant-pagination-disabled):hover,
.ant-pagination-next:not(.ant-pagination-disabled):focus,
.ant-pagination-prev:not(.ant-pagination-disabled):hover,
.ant-pagination-prev:not(.ant-pagination-disabled):focus {
  border-color: #d70909;
  color: #fff;
  background-color: #d70909;
}

.ant-pagination-next:not(.ant-pagination-disabled):focus .ant-pagination-item-link, 
.ant-pagination-next:not(.ant-pagination-disabled):hover .ant-pagination-item-link, 
.ant-pagination-prev:not(.ant-pagination-disabled):focus .ant-pagination-item-link, 
.ant-pagination-prev:not(.ant-pagination-disabled):hover .ant-pagination-item-link {
  color: #d70909;
  border-color: #d70909;
}

.ant-pagination-item {
  background-color: #fff;
}

.ant-pagination-item.ant-pagination-item-active {
  border-color: #d70909;
  color: #fff;
  background-color: #d70909;
  font-weight: bold;
}

.ant-pagination-item.ant-pagination-item-active a {
  color: #fff;
}

.ant-pagination-item:focus,
.ant-pagination-item:hover {
  border-color: #d70909;
}

.ant-pagination-item:focus a,
.ant-pagination-item:hover a {
  color: #d70909;
}

.ant-pagination-item.ant-pagination-item-active:focus a,
.ant-pagination-item.ant-pagination-item-active:hover a {
  color: #fff;
}

.ant-pagination-jump-next .ant-pagination-item-container .ant-pagination-item-link-icon,
.ant-pagination-jump-prev .ant-pagination-item-container .ant-pagination-item-link-icon {
  color: #d70909;
}

.ant-pagination-options-quick-jumper input:focus,
.ant-pagination-options-quick-jumper input:hover {
  border-color: #d70909;
  box-shadow: none;
}

/* 问答 */
.question_answer {
  width: 100%;
  background: #FFFFFF;
  border-radius: 10px;
  margin-top: 30px;
}

.question_answer_hd {
  border-bottom: 1px solid #e8e8e8;
}

.question_answer_hd .question_answer_title{
  display: inline-block;
  min-width: 200px;
  padding: 0 16px;
  height: 55px;
  line-height: 55px;
  background: #E71A41;
  border-radius: 10px 0px 0px 0px;
  font-size: 20px;
  font-weight: bold;
  color: #FFFFFF;
  text-align: center;
}

.question_answer .question_answer_bd{
  padding: 20px 40px 40px;
}

.question_answer_item {
  line-height: 32px;
  font-size: 20px;
  color: #333;
  margin-top: 20px;
}

.question_answer_q,
.question_answer_a {
  display: flex;
}

.question_answer_a {
  color: #999;
  margin-top: 8px;
}

.question_answer_q label,
.question_answer_a label {
  width: 2em;
  text-align: right;
  margin-right: 8px;
}

.question_answer_item_main {
  width: calc(100% - 2em - 8px);
}