﻿body {
    background-color: #eee;
    color: #333;
}

.layui-container {
    padding: 0;
}

.shadow {
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}

body .share .layui-layer-content {
    overflow: hidden;
}

.clearfix:after {
    content: "\0020";
    display: block;
    height: 0;
    clear: both;
}

.clearfix {
    zoom: 1;
}

.clear {
    clear: both;
}

.layui-col-lg3, .layui-col-md6 {
    overflow: hidden;
}

#blog-body {
    padding: 50px 0;
    position: relative;
}

#blog-body > .layui-container {
    padding: 10px;
    background-color: #eee;
}

.sitemap {
    background: #fff;
    padding: 5px 15px;
    line-height: normal;
    border-radius: 0 !important;
    font-size: 12px;
    border: 1px solid #ddd;
}

.sitemap a {
    font-size: 12px;
}

.sitemap .layui-breadcrumb a:hover {
    color: #01aaed !important;
}

.sitemap i {
    font-size: inherit;
    margin-right: 5px;
    color: #01aaed;
    font-weight: bold
}

.blog-mask {
    position: fixed;
    left: 0;
    right: 0;
    top: 50px;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 99;
}

.maskIn {
    -moz-animation: maskFadeIn 0.5s;
    -o-animation: maskFadeIn 0.5s;
    -webkit-animation: maskFadeIn 0.5s;
    animation: maskFadeIn 0.5s;
}

.maskOut {
    -moz-animation: maskFadeOut 0.5s;
    -o-animation: maskFadeOut 0.5s;
    -webkit-animation: maskFadeOut 0.5s;
    animation: maskFadeOut 0.5s;
}

.blog-card {
    background: #fff;
    height: 100%;
    border: 1px solid #ddd;
}

.blog-card-title {
    border-bottom: 1px solid #eaeaea;
    font-size: 15px;
    font-weight: 500;
    line-height: 40px;
    padding: 0 15px;
}

.blog-card-title > .icon,
.blog-card-title > .text {
    display: inline-block;
    color: #01AAED;
}

.blog-card-title > .icon {
    font-size: 16px;
    margin-right: 5px;
}

.blog-card-ul {
    padding: 0 10px;
}

.blog-card-ul li {
    line-height: 24px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.blog-card-ul li {
    margin: 3px 0;
}

.blog-card-ul li .layui-badge {
    margin-right: 5px;
    font-size: 14px;
}

.article-box, .video-box {
    padding: 10px;
    background: #fff;
    float: left;
    width: 100%;
    -moz-transition: top 1s ease, left 1s ease;
    -o-transition: top 1s ease, left 1s ease;
    -webkit-transition: top 1s ease, left 1s ease;
    transition: top 1s ease, left 1s ease;
    border: 1px solid #ddd;
    position: relative;
    overflow: hidden;
}

.article-box .article-title {
    margin-bottom: 5px;
    height: 20px;
}

.article-box .article-title a {
    font-size: 18px;
    line-height: 20px;
    color: #333;
    -moz-transition: all .2s;
    -o-transition: all .2s;
    -webkit-transition: all .2s;
    transition: all .2s;
}

.article-box .article-title a:hover {
    color: #01AAED;
    -moz-transition: all .2s;
    -o-transition: all .2s;
    -webkit-transition: all .2s;
    transition: all .2s;
}

.article-box > .article-right > .article-abstract {
    color: #999;
    height: 57px;
    text-indent: 2em;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    overflow: hidden;
}

.article-box > .article-left {
    position: relative;
    float: left;
    overflow: hidden;
    border: 1px solid #f2f2f2;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 108px;
    height: 108px;
}

.article-box > .article-left img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.article-box > .article-right {
    width: calc(100% - 108px);
    float: right;
    padding-left: 20px;
}


.article-box .article-footer {
    margin-top: 4px;
    font-size: 12px;
    color: #999;
    height: 22px;
    line-height: 22px;
    white-space: nowrap;
    overflow: hidden;
}

.article-box .article-footer > span,
.article-box .article-footer > a {
    padding-right: 2%;
}

.article-box .article-footer > .read {
    padding-right: 5px;
    float: right;
}

.video-box .title {
    text-align: center;
    color: #333;
    font-weight: bold;
    font-size: 16px;
    height: 18px;
    margin-bottom: 5px;
}

.video-box .content {
    position: relative;
    overflow: hidden;
}

.video-box .content video {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
}

.tags {
    margin-top: 5px;
    line-height: 20px;
}

.tags span + span {
    margin-left: 5px;
}

.flag {
    position: absolute;
    height: 20px;
    line-height: 20px;
    text-align: center;
    width: 74px;
    background-color: #FF5722;
    color: #fff;
}

.flag-left {
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    left: -18px;
    top: 9px;
    z-index: 2;
}

.flag-right {
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    right: -18px;
    top: 9px;
    z-index: 2;
}

.blog-nav {
    width: 100%;
    height: 50px;
    position: fixed;
    top: 0;
    background-color: #393D49;
}

.blog-nav .blog-nav-list {
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1;
    font-size: 30px;
    color: #ffffff;
    text-align: center;
    display: none;
}

.blog-nav .blog-nav-list * {
    font-size: 14px;
}

.blog-nav .blog-nav-list .layui-nav-item {
    line-height: 50px;
    position: relative;
    display: inline-block;
    vertical-align: middle;
}

.blog-nav .blog-nav-list .layui-nav-item a {
    padding: 0 15px;
    color: #f2f2f2;
    display: block;
}


.blog-nav .blog-nav-list .layui-nav-item.layui-this,
.blog-nav .blog-nav-list .layui-nav-item:hover {
    background-color: #5FB878;
    -moz-transition: all .2s;
    -o-transition: all .2s;
    -webkit-transition: all .2s;
    transition: all .2s;
}

.blog-nav .blog-nav-list .layui-nav-item.layui-this a,
.blog-nav .blog-nav-list .layui-nav-item:hover a {
    color: #fff;
}

.blog-nav .blog-plugin {
    position: absolute;
    top: 0;
    z-index: 2;
    line-height: 50px;
    font-size: 30px;
    color: #ffffff;
    width: 40px;
    text-align: center;
}

.blog-nav .blog-plugin.navicon {
    left: 10px;
}

.blog-nav .blog-plugin.chat {
    right: 10px;
}

.blog-nav .blog-plugin.five {
    right: 50px;
}

.blog-nav .blog-plugin.music {
    right: 90px;
}

.blog-roll a {
    display: inline-block;
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.blog-card-ul a:hover,
.blog-roll a:hover {
    color: #01AAED;
    -moz-transition: all .2s;
    -o-transition: all .2s;
    -webkit-transition: all .2s;
    transition: all .2s;
}

.blog-nav-left {
    top: 50px;
    bottom: 50px;
    border-radius: 0;
    border-top: 1px solid #5FB878;
    box-shadow: 0 0 8px #fff;
    -moz-box-shadow: 0 0 8px #fff;
    -webkit-box-shadow: 0 0 8px #fff;
}

.leftIn {
    -moz-animation: leftIn 0.5s;
    -o-animation: leftIn 0.5s;
    -webkit-animation: leftIn 0.5s;
    animation: leftIn 0.5s;
}

.leftOut {
    -moz-animation: leftOut 0.5s;
    -o-animation: leftOut 0.5s;
    -webkit-animation: leftOut 0.5s;
    animation: leftOut 0.5s;
}

.body-footer {
    width: 100%;
    height: 50px;
    position: fixed;
    bottom: 0;
    background-color: #393D49;
    text-align: center;
    line-height: 50px;
    font-size: 14px;
    z-index: 1000;
}

.body-footer a {
    color: #f2f2f2;
}

.unslider {
    overflow: auto;
    margin: 0;
    padding: 0
}

.unslider-wrap {
    position: relative;
}

.unslider-wrap.unslider-carousel li {
    float: left
}

.unslider-vertical > ul {
    height: 100%
}

.unslider-vertical li {
    float: none;
    width: 100%
}

.unslider-fade {
    position: relative
}

.unslider-fade .unslider-wrap li {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    z-index: 2;
}

.unslider-fade .unslider-wrap li.unslider-active {
    z-index: 3;
}

.unslider li, .unslider ol, .unslider ul {
    list-style: none;
    margin: 0;
    padding: 0;
    border: none
}

.unslider-arrow {
    position: absolute;
    left: 0;
    bottom: 51%;
    z-index: 2;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.20);
    color: #f2f2f2;
    padding: 15px 6px;
    display: none;
}

.unslider-arrow:hover {
    color: #fff;
}

.unslider-arrow.next {
    left: auto;
    right: 0
}

.unslider-nav {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    padding: 5px;
    background-color: rgba(0, 0, 0, 0.20);
    display: none;
}

.unslider-nav ol {
    list-style: none;
    text-align: center;
}

.unslider-nav ol li {
    display: inline-block;
    width: 15px;
    height: 17px;
    margin: 0 4px;
    overflow: hidden;
    text-indent: -999em;
    background: #ddd;
    cursor: pointer;
}

.unslider-nav ol li.unslider-active {
    background: #1E9FFF;
    width: 20px;
    cursor: default;
}

.banner li {
    position: relative;
    float: left;
}

.banner li img {
    width: 100%;
    height: auto;
}

.banner li p {
    color: #fff;
    padding: 5px 10px;
    background-color: rgba(0, 0, 0, 0.3);
    font-size: 15px;
    height: 30px;
}

.blog-roll > li {
    display: inline-block;
    vertical-align: middle;
    padding: 2px 5px;
}

.layui-badge {
    height: auto !important;
    text-align: left !important;
}

.layui-flow-more {
    float: left;
    width: 100%;
    margin: 0;
}

.layui-flow-more a cite {
    background: none;
}

.article-title, .article-detail-title, .title, .book-title, .layui-timeline-title, .blog-roll li {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tags-text {
    color: #009688;
}
