﻿
a {
    /*    color: #006666;*/
    text-decoration: none;
}

.article-content a {
    color: #428bca;
    text-decoration: none;
}

.btn-inverse {
    color: #ffffff;
    background-color: #0066DD !important;
}

.btn-primary {
    color: #ffffff;
    background-color: #428bca;
}

/*=======菜单子菜单横向样式 start ========*/
.navbar .nav > li.horizontal-menu {
    position: unset;
}

.navbar .nav li.horizontal-menu:hover > ul.sub-menu {
    display: flex;
    flex-wrap: wrap;
    width: 1000px;
    padding: 3px 0px;
}

.navbar .nav li.horizontal-menu ul.sub-menu > li > a {
    position: relative;
}

    .navbar .nav li.horizontal-menu ul.sub-menu > li > a:after {
        position: absolute;
        content: '';
        height: 50%;
        width: 1px;
        top: 50%;
        transform: translateY(-50%);
        right: 5px;
        background-color: rgba(204,204,204,1);
    }

.navbar .nav li.horizontal-menu ul.sub-menu > li:last-child > a:after {
    position: absolute;
    content: '';
    height: 0px;
    width: 0px;
}
/*=======菜单子菜单横向样式 end ========*/

/*=======修改nav样式 start ========*/
.navbar {
    background-color: rgba(66,139,209,1);
    background-color: #0099ff;
}

    .navbar .logo {
        background: #0066dd url(img/logo.png) no-repeat 50% 50%;
    }

    .navbar .nav li:hover a, .navbar .nav li.current-menu-item a, .navbar .nav li.current-menu-parent a, .navbar .nav li.current_page_item a, .navbar .nav li.current-post-ancestor a, .navbar .nav li ul {
        background-color: rgba(53,126,189,1);
        background-color: #0066CC;
    }

    .navbar .nav li a:focus, .navbar .nav li a:hover {
        background-color: #0066CC;
        color: #ffffff;
    }


@media (max-width: 979px) {
    .navbar {
        background-color: transparent;
    }

        .navbar .nav li:hover a, .navbar .nav li.current-menu-item a, .navbar .nav li.current-menu-parent a, .navbar .nav li.current_page_item a, .navbar .nav li.current-post-ancestor a, .navbar .nav li ul {
            background-color: #eee;
        }
}
/*=======修改nav样式 end ========*/

/* ======分类目录 start ======== */
.category-sub-items {
    padding: 10px;
    background-color: #fff;
}

    .category-sub-items a:hover {
        background-color: #428bca;
    }

/* =====分类目录 end====== */

.footer-inner {
    padding: 16px 20px 14px;
    color: #aaa;
    text-shadow: 0 -1px 0 #333333;
    background-color: #414141;
    border-left: 20px solid #0066DD;
}

.excerpt {
    background-color: #fff;
    padding: 20px 20px 20px 256px;
    margin-bottom: 1px;
    position: relative;
    border-left: solid 4px #fff;
    max-height: 190px;
    overflow: hidden;
    box-sizing: border-box;
}

    .excerpt .meta {
        height: 20px;
        overflow: hidden;
    }

    .excerpt:hover {
        border-left-color: #0066DD;
        padding-left: 260px;
        margin-left: -4px;
        background-color: #F8FCFE;
    }

    .excerpt .focus a {
        background-color: #00CCFF;
        color: #fff;
    }

    .excerpt .note {
        color: #777;
        font-size: 14px;
        line-height: 24px;
        max-height: 72px;
        text-overflow: -o-ellipsis-lastline;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
    }


@media (max-width:640px) {
    .excerpt {
        padding: 12px 20px !important;
        padding-left: 120px !important;
        border-left: none;
    }

        .excerpt p > span.tag {
            display: none;
        }

    .noimg {
        padding-left: 20px !important;
    }
}

.comm-label {
    display: inline-block;
    margin-top: -10px !important;
}

.t-red {
    color: red;
}

.article-title-sub {
    font-size: medium;
    font-weight: normal;
}

.mt-0 {
    margin-top: 0px !important;
}

.mb-0 {
    margin-bottom: 0px !important;
}

.pt-0 {
    padding-top: 0px !important;
}

.article-content h2 {
    margin-top: 0px !important;
}

.soft-content {
    padding-top: 0px;
    margin-top: 0px;
}

.layui-rate li i.layui-icon {
    font-size: 18px;
    color: #FFB800;
    margin-right: 5px;
    transition: all .3s;
    -webkit-transition: all .3s;
}

.home-comment {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.post-actions {
    text-align: center;
    overflow: hidden;
    padding: 30px 0 0px;
    clear: both;
    background-color: #fff;
}

    .post-actions .action {
        display: inline-block;
        opacity: 0.8;
        line-height: 1;
        padding: 12px 20px;
        border-radius: 2px;
        color: #fff;
        font-size: 14px;
        background-color: #45B6F7;
        margin: 0 7px;
    }

    .post-actions .fa {
        margin-right: 7px;
        top: 0;
    }

    .post-actions .action.action-diggy, .pagemenu li.current-menu-item > a {
        background-color: #007bff;
    }

    .post-actions .action.action-diggn, .pagemenu li.current-menu-item > a {
        background-color: #aaa;
    }

    .post-actions .action.action-rewards, .pagemenu li.current-menu-item > a {
        background-color: #FF4400;
    }

    .post-actions .action:hover {
        opacity: 1;
        color: #fff;
    }