/**
Author: 迪亚莫科技有限公司
Author URI: https://diiamo.cn
Description:添加自定义CSS到前台
*/

@media (min-width:1025px){
#primary {
   margin-top:0!important;
}	
	
div#comments{
margin-bottom:30px;		
}
#primary {
    margin-bottom: 25px!important;
}
.ast-single-author-box{
		margin-top:44px!important;
		margin-bottom:10px;
}
.single .ast-author-meta .ast-author-details {
    display: flex;
    align-items: center!important;
}	
}

@media (min-width: 768px) and (max-width: 1024px) {
.ast-single-author-box {
    margin-bottom: 12px;
}
#primary {
   margin-top:-10px!important;
}		
}
	
@media (max-width: 767px) {
.ast-post-format-standard .scriptlesssocialsharing {
margin-top: 33px;
}
div#comments{
margin-bottom:30px;	
}	
.ast-single-post-order h1.entry-title, .ast-single-post-order .entry-meta {
text-align: center;
margin-bottom: 10px;
	margin-top:14px;
}

#ftwp-container-outer {
    margin-top: 25px!important;
}
	
h3.about-author {
font-size: 23px;
}
	
.form-submit input#submit, .form-submit input[type="submit"]{
font-size: 13px;
}

p.comment-form-cookies-consent {clear: both;
}
.comment-form-comment .ast-col-lg-12{
padding-left: 0;
padding-right: 0;	
}
.comment-form-author, .comment-form-email{
padding-left: 0;	
}
.ast-row {
margin-left: 0px;
margin-right: 0px;
}

 .ast-plain-container.ast-single-post #primary {
    margin-bottom: 0;
	   margin-top: 0;
}
	
.ast-single-author-box {
    margin-bottom: 10px;
}
nav.breadcrumb-trail.breadcrumbs {
    margin-top: 20px!important;
}	
}
	
	
	
	
header.entry-header {
text-align: center;
}
	
video {
    box-shadow: 0px 2px 15px 1px #00000036;
}	
nav.breadcrumb-trail.breadcrumbs{
    text-align: center!important;
	   margin-top: 30px;
}
.breadcrumbs .trail-items li::after {
    content: "»"!important;
}
	
.entry-meta {
    margin: 17px 0 10px 0;
}	
	
#ftwp-container.ftwp-wrap #ftwp-contents {
    border-color: rgba(227,227,227,0.95);
}
	
.ast-related-posts-wrapper {
    display: grid;
    grid-column-gap: 15px;
    grid-row-gap: 15px;
}

.ast-related-posts-inner-section .post-thumb-img-content {
    overflow: hidden;
}	
.ast-related-post-featured-section a img{
-webkit-transition: all 0.6s!important;
-moz-transition: all 0.6s!important;
-o-transition: all 0.6s!important;
transition: all 0.6s!important;
max-width: 100%;
object-fit: cover;
}
.ast-related-post-featured-section a img:hover{
-webkit-transform: scale(1.07)!important;
-moz-transform: scale(1.07)!important;
-o-transform: scale(1.07)!important;
-ms-transform: scale(1.07)!important;
transform: scale(1.07)!important;
}

/* 响应式表格*/
#ftwp-postcontent	table {
  display: block;
  overflow-x: scroll;
}	

/* 文章相关产品 */	
.ast-related-post-content .entry-header .ast-related-post-title, .ast-related-post-content .entry-header .ast-related-post-title a {
    font-size: 15px;
    line-height: 1.3;
	   margin-top: 14px;
	   color: #303030;
}
.ast-single-related-posts-container {
    margin: 40px 0 0 0!important;
}	
	
/* 作者头像圆角去掉 */		
.single .ast-author-meta .post-author-avatar img {
    border-radius: 0;
}		
	
#comments .submit, .search .search-submit {
border-radius: 0;
}	
/* 社交分享插件*/
.scriptlesssocialsharing__heading {
font-size: 18px;
font-weight: 500;
color:var(--ast-global-color-2);
padding-bottom: 4px;	
}
.scriptlesssocialsharing__buttons .button{
font-size: 12px!important;
display: flex!important;
padding: 7px!important;
font-weight: 500!important;
border-right:3px solid #ffffff!important;
background-color:var(--ast-global-color-0)!important;	
}
.scriptlesssocialsharing__buttons .button:hover{
background-color:var(--ast-global-color-1)!important;		
}

.ast-post-format-standard .scriptlesssocialsharing {
margin-top: 50px;
}

/* 社交分享插件样式自定义*/
.ns-buttons.small .ns-button {
    height: 32px;
    line-height: 32px;
}
.ns-buttons.small .ns-button-icon {
	height: 32px;
	width: 32px;
}
.ns-inline-cta {
    font-weight: 600;
}
.ns-button-icon>* {
    height: 54%!important;
}
.ns-inline span.ns-button-label{
    display: none;
	 position: absolute;
    top: 0;
    height: 25px;
	 line-height: 25px;
    padding:8px 10px 10px 9px;
    z-index: 20;
}
.ns-inline .ns-buttons-wrapper .ns-button:hover span.ns-button-label{
    display: flex!important;	
}

.ast-single-author-box {
	margin-top: 1px!important;
}	
	
/* 相关文章标题等*/	
.ast-related-posts-title, .about-author, #reply-title{
font-size:22px!important;
font-weight: 400;
color: var(--ast-global-color-2);	
}	
.ast-related-posts-inner-section {
    box-shadow: 0 0 15px 2px rgb(0 0 0 / 10%);
}	
.ast-related-posts-inner-section:hover {
    box-shadow: 0 0 25px 2px rgb(0 0 0 / 16%);
}	
.ast-related-post-title.entry-title{
    text-align: left;
    padding: 17px 15px 8px 15px;
}	
	.ast-related-post-title.entry-title:hover a{
		color:var(--ast-global-color-1);
	}	

p.comment-form-url{
display: none!important;
}	

button, .ast-button, input#submit, input[type=button], input[type=submit], input[type=reset] {
    font-size: 13px;
}	

.single .ast-author-meta .post-author-avatar img {
	border-radius: 0!important;
}