body {
    font-family: 'Microsoft Yahei';
    color:#555;
}

a{
    color: #666;
}

a:hover{
    text-decoration:none;
}


h3{
    font-size:18px;
}

video{
    max-width: 100%;
}

/* reset bootstrap */

.form-group input,.form-group textarea{
    padding: 6px 8px;
}


input[type="text"],input[type="email"],input[type="tel"],input[type="password"],textarea,select{
    box-shadow: inset 0 0 0 0 #fff!important;
    height:unset;
}

.form-group input[disabled]{
    color:#999;
}

.form-group input[type="buttom"],.form-group input[type="submit"],.form-group button,.input-group-text{
    padding: 6px 12px;
}

.input-group-text{
    font-size:unset;
    border-color:#eee;
    background-color:#eee;
}

.form-control{
    border-color: #eee;    
}

/* header */

header .container .logo{
    max-height:28px;
}

.navbar{
	border-bottom: 1px solid #eeeeee;
	padding: 0.8rem 1rem;
}
.navbar-brand{
	margin-right:30px;

}

.navbar-nav a{
    margin:0 12px;
}

.menu-toggle{
	position: absolute;
    text-align: center;
    line-height: 50.2px;
    width: 50.2px;
    height: 50.2px;
    top: 0;
    right: 0;
    font-size: 18px;
	cursor: pointer;
	z-index: 99;
}

.navbar .menu-item-has-children>a:after {
    color: #aaa;
    content: "\f107";
    font-family: "FontAwesome";
    font-size: 13px;
    font-weight: 400;
    margin-left: 5px;
    transition: color 0.5s cubic-bezier(0.77,0,0.175,1);
}

.navbar .sub-menu {
        display: none;
}

.search-form{
	position: relative;
}

.search-form .form-group{
    margin:0;
}
.search-form .keywords{
	padding: 6px 35.8px 6px 8px;
	width: 240px;
	font-size: 14px;

}

.search-form .submit{
	position: absolute;
    top: 1px;
    right: 1px;
    width: 34.8px;
    height: 32.8px;
    border: 0;
    background: #fff;
    cursor: pointer;
}

.fa-search{
	color:#999;
}



/* breadcrumb */

.breadcrumb{
	background-color:#fff;
	padding:10px 0;
	font-size:12px;
}

.breadcrumb-item + .breadcrumb-item{
  padding-left: 0.3rem;
}

.breadcrumb-item + .breadcrumb-item::before {
  display: inline-block;
  padding-right: 0.3rem;
  color: #999;
  content: ">";
}

.breadcrumb .breadcrumb-item{
	color:#999;
}



/* main */
.main{
    margin-top:30px;
    min-height: calc(100vh - 249.09px);
}

.main .col-md-8>h3{
    margin-bottom:10px;
}

.col-md-8 a{
    color: #888;
}

.main .slide{
    margin-bottom:20px;
}

.main .slide img{
    width:100%;
    height:315px;
}

.card{
	border:none;
	margin-bottom:20px;

}

.card-title{
	font-size:16px;
	margin:0 0 6px;
}

.card-body{
	padding:10px 0;
	line-height: 2;
}
.card .card-link{
	font-size:12px;
	margin:0 10px 0 0;

}

.card span.card-link{
    color:#999;
}

.card p{
	margin-top:15px;
}

.card .card-text{
    color:#999;
}

.card .lazyload{
    width:220px;
    height:150px;
    border-radius:5px;
}

.card .data{
    flex:1;
    margin-left:20px;
}

/* pagination */

.pagination{
    margin-top:40px;
}
.pagination .page-numbers{
    margin:0 5px;
    padding:0.4rem 0.6rem;
    color:#666;
}
.pagination .current{
    border-color:#dee2e6;
    background-color: #dee2e6;
    color: #666;
}

/* #pagination */

/* post */
.post-title{
    font-size:18px;
}

.post-meta{
    font-size:12px;
    color:#999;
}

.post-meta a,.post-meta span{
    margin-right:10px;
}

.post-content{
    margin: 30px 0 0 0;
    line-height: 2;
}


.post-content pre{
    line-height: 1.5;
}

.post-content blockquote{color:#999;padding: 10px 45px;border-radius: 5px;background-color: #f8f8fa;position: relative;margin: 30px 0;}
.post-content blockquote:before,blockquote:before {display: block;width: 16px; height: 14px;background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAANCAYAAADISGwcAAAABmJLR0QA/wD/AP+gvaeTAAABJUlEQVQ4y62UzVHDMBCFPxgX4BJcQkpIKgAqwKkguAJDBSQdmAooAXPhlINLcDowFSQHr0fPipTMJHozmlnJT6u3f35o//YIlkBt9hroOccb8AQMwAvwY/d8vAMfZh8JY/XoHdTiLPR4LpyOBFABpTz+FeF/mohLnJsE5OZ8irwJcJcmEvvekwCTgI1Etotwa7FjnJsEFIwNA2NjhaIvceVpSVR/gAx4lX1v2QA4iBjlDJKNX6DCZU+b+F/urMT+Fv6QeYIWtqZIQ9l4tgXzUSvkcT+TrWQyl7POH8N7sBG7MhGXOGuYj+E9yHET0hGfooXZW2yKUgkocamtrmRowJUtmYDJeYOrt6LA9c2sPBljt4cudRFbcTDnje1jf8cCN+qNfjgBbfA/pMbdZOcAAAAZdEVYdFNvZnR3YXJlAEFkb2JlIEltYWdlUmVhZHlxyWU8AAAAAElFTkSuQmCC) no-repeat;content: "";position: absolute;top: 20px;left: 20px}
.post-content blockquote:after,blockquote:after {display: block;width: 16px;height: 14px;background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAANCAYAAADISGwcAAAABmJLR0QA/wD/AP+gvaeTAAABJUlEQVQ4y62UzVHDMBCFPxgX4BJcQkpIKgAqwKkguAJDBSQdmAooAXPhlINLcDowFSQHr0fPipTMJHozmlnJT6u3f35o//YIlkBt9hroOccb8AQMwAvwY/d8vAMfZh8JY/XoHdTiLPR4LpyOBFABpTz+FeF/mohLnJsE5OZ8irwJcJcmEvvekwCTgI1Etotwa7FjnJsEFIwNA2NjhaIvceVpSVR/gAx4lX1v2QA4iBjlDJKNX6DCZU+b+F/urMT+Fv6QeYIWtqZIQ9l4tgXzUSvkcT+TrWQyl7POH8N7sBG7MhGXOGuYj+E9yHET0hGfooXZW2yKUgkocamtrmRowJUtmYDJeYOrt6LA9c2sPBljt4cudRFbcTDnje1jf8cCN+qNfjgBbfA/pMbdZOcAAAAZdEVYdFNvZnR3YXJlAEFkb2JlIEltYWdlUmVhZHlxyWU8AAAAAElFTkSuQmCC) -16px 0 no-repeat;content: "";position: absolute;right: 20px;bottom: 20px}
.post-content blockquote p{margin:0;margin-bottom:10px;padding:0}

.post-content img{
    max-width:100%;
}

.post-tags{
    margin-top:15px;
}
.post-tags a{
    margin-right: 5px;
    background-color: #fafafa;
    padding:3px 10px;
    font-size:12px;
}

.adjacent{
    margin-top:15px;
    color:#aaa;
    font-size:13px;
}
.adjacent .previous{
    margin-right:5px;
    width:50%;
}
.adjacent .next{
    text-align: right;
    width:50%;
    margin-left:5px;
}

.related{
    margin-top:30px;
    margin-bottom:30px;
}

.related ul{
    display: flex;
    flex-flow: wrap;
    margin:15px 0 0 0;
    padding:0px;
}

.related li{
    margin:8px 0 0 0;
    width:50%;
    overflow: hidden; 
    white-space: nowrap; 
    text-overflow: ellipsis;
    list-style: none;
}
.related li .fa{
    color:#aaa;
    font-size:12px;
    margin-right:5px;
}
                
/* comment */
#comments{
    margin-top:50px;
    margin-bottom:15px;
}
.commentlist{
    padding:0 0 0 20px;
    margin:0;
}

.commentlist li{
    margin-bottom:30px;
}

.comment-body {
    margin-bottom: 20px;
}
.comment-body .says{
    display: none;
}
.comment-body p{
    margin-top: 10px;
}
.comment-meta {
    overflow: auto;
}
.comment-meta img {
    float: left;
    margin-right: 10px;
}
.comment-meta time {
    margin-left: 12px;
}

.comment-respond{
    margin-top:50px;
}

.comment-reply-link {
}
.comment-reply-title{
    font-size:16px;
}


.commentlist .children>li{
    list-style: none;
    
}
.comment-form textarea,.comment-form input[type="text"]{
    padding: .375rem .75rem;
    box-shadow: inset 0 0 0 0 #fff!important;
    border: 1px solid #ced4da;
    border-top-color: rgb(206, 212, 218);
    border-right-color: rgb(206, 212, 218);
    border-bottom-color: rgb(206, 212, 218);
    border-left-color: rgb(206, 212, 218);
    border-radius: .25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    
}
.comment-form textarea {
    width: 100%;
    padding: .375rem .75rem;
    height:140px;
}
.comment-form textarea:focus,.comment-form input[type="text"]:focus{
    color: #495057;
    background-color: #fff;
    border-color: #80bdff;
    outline: 0;
}


.comment-form input[type="text"]{
    display: inline-block;
    width:300px;
}

.comment-form .comment-form-author label,.comment-form .comment-form-email label,.comment-form .comment-form-url label{
    width:130px;
}

.comment-form .comment-form-cookies-consent label{
    
}
.comment-form .submit{
    display: inline-block;
    font-weight: 400;
    color: #212529;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: color .15s
}
#wp-comment-cookies-consent{
    height:unset;
}
/* #comment */


/* right */

.right{
	padding-left: 20px;
}

.right ul{
	padding:0;
}

.right li{
	margin:10px 0;
	list-style:none;
}

.right h3{
	margin-bottom:20px;
}

.right a{
	font-size:14px;
}

.right span{
	font-size:13px;
	color:#999;
}

.widget_recent_entries li a{

}

.widget_recent_entries .post-date{
    display: block;
}

.right .thumbnail .data{
    margin-left:15px;
    flex:1;
}

.right .thumbnail .data a{
    display: block;
}

.right .widget{
	margin-bottom:50px;
}

.right .widget .lazyload{
    width:122px;
    height:86px;
    border-radius:5px;
}

.right .widget .links{
    display: flex;
    flex-wrap: wrap;
}

.right .widget .links li{
    margin:5px;
    padding:5px;
}

/* widget_tag_cloud */
    
.widget_tag_cloud .tagcloud {
    display: flex;
    flex-wrap: wrap;
}

.widget_tag_cloud .tagcloud a {
    color: #FFF;
    background-color: #f6f6f6;
    width: 30%;
    margin: 1%;
    padding: 3px;
    font-size: 12px;
    height: 28px;
    line-height: 22px;
    overflow: hidden;
    text-align: center;
    border-radius: 3px;
}
.widget_tag_cloud .tagcloud a:hover {
    color: #fff;
    border: 1px solid #FFF;
    opacity: 1 !important;
}

.widget_tag_cloud .tagcloud .tag-link-count{
    color: #FFF;
}
/* #widget_tag_cloud */

.right-comments li{
    margin-bottom: 0;
}

.right-comments li:nth-child(2n){
    margin-left: 35px;
    margin-top: 0;
    
}

footer{
	border-top: 1px solid #eeeeee;
	padding:30px 0;
	margin-top:30px;
	color:#999;
	font-size:13px;
}

footer .d-flex{
    flex-wrap: wrap;
}
    
footer .d-flex span,footer .d-flex>a{
    margin:5px;
}

/* Bottom right button */

.rollbar{
    position: fixed;
    bottom:30px;
    right:30px;
}

.rollbar .rollbar-item {
    position: relative;
    margin-top: 5px;
    width: 35px;
    height: 35px;
    border-radius: 5px;
    background-color: #ddd;
    color: #fff;
    text-align: center;
    vertical-align:middle;
    cursor: pointer;
    transition: all 0.5s ease;
}
.rollbar .rollbar-item:hover {
    color: #fff;
}
.rollbar .fa{
    color:#fff;
    font-size: 15px;
    line-height: 35px;
}
    
@media screen and (min-width:768px){
    body{
        font-size:14px;
    }
    
    header .container .logo{
        max-height:26px;
    }
    
    .navbar .sub-menu {
        position: absolute;
        background-color: #fff;
        font-size: 13px;
        padding: 7px 0;
        border: 1px solid #ddd;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        min-width:120px;
        margin:0;
        border-radius: 4px;
        z-index:20;
    }

    .navbar .sub-menu li{
        list-style-type: none;
        margin:6px 0;
    }
    
    /* reset bootstrap */
    .col-md-8{
        padding-right:30px;
    }
    
    .form-group input, .form-group button, .btn{
        font-size:14px;
    }
    
    /* login */
    .user-login .modal-dialog{
        width:330px;
    }
    
    .comments .d-md-flex input:nth-child(2){
        margin:0 10px 0 10px;
    }
    
    .md-up-none{
        display:none;
    }
}

@media screen and (max-width:767px) {
    .main{
        margin-top:15px;
    }
	.navbar{
		padding: .3rem 1rem;
	}
	.navbar-nav a{
	    display: block;
        margin:6px 0;
    }
    .navbar .sub-menu{
        padding-left:20px;
    }
    .navbar .sub-menu li{
        list-style-type: none;
    }
    .user-login{
        position: absolute;
        text-align: center;
        top: 0;
        right: 50.2px;
    }
    
    .user-login>a{
        line-height: 50.2px;
        width: 50.2px;
        height: 50.2px;
    }
	.search-form{
		margin:10px 0;
	}
    .search-form .keywords{
		width:100%;
	}
	.user-login{
		position: absolute;
		text-align: center;
		top: 0;
	}
	.right{
		padding-left:15px;
	}
    .right a{
    	font-size:15px;
    }
	.comments .d-md-flex input:nth-child(2){
        margin:10px 0 10px 0;
    }
    .card .lazyload{
        width:120px;
        height:82px;
        border-radius:5px;
    }
    
    .card .data .card-text{
        display:none;
    }
    
    .related li{
        width:100%;
    }
    
    .main .slide img{
        height:200px;
    }
    
    .md-down-none{
        display:none;
    }
}