/* news_base.html */

.section-news-news #popularPosts-tab {
    margin-right: 1px;
}

.section-news-news h5 {
    font-size: 14px;
}

.section-news-news .filter .nav-link {
    font-size: 12px;
    color: #666;
}

.section-news-news .filter i {
    font-size: 8px;
    opacity: 0.7;
}

.section-news-news .filter .nav-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 8px 16px;
    font-weight: 400;
    font-size: 14px;
    color: #666;
}

.section-news-news .filter .nav-item:last-child {
    border: 0px;
}

.section-news-news .nav-tabs .nav-item {
    padding: 0px;
}

.section-news-news .tab-content ul {
    list-style: none;
    padding: 0px;
    margin: 0px;
}

.section-news-news .tab-content a {
    color: #1b9dff;
    font-size: 14px;
    text-decoration: none;
}

.section-news-news .tab-content .post {
    padding: 14px 14px;
}

.section-news-news .tab-content li:not(:last-child) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.section-news-news .tab-content .post-meta {
    color: #777777;
    font-size: 10px;
}

.section-news-news .tab-content .post-meta i {
    padding-right: 6px;
}

.section-news-news .tab-content .post-info {
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #1b9dff;
}

.section-news-news .tab-content .post-image img {
    border-radius: 4px;
    margin-right: 14px;
}

.section-news-news .tab-pane {
    padding: 10px;
    border-left: 1px solid rgba(0, 0, 0, 0.06);
    border-right: 1px solid rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.section-news-news .tab button {
    border-top: 3px solid rgba(0, 0, 0, 0.06);
    border-left: 1px solid rgba(0, 0, 0, 0.06);
    border-right: 1px solid rgba(0, 0, 0, 0.06);
    background-color: #f7f7f7;
    font-size: 10px;
    color: #000;
}

.section-news-news .tab button.active {
    border-top: 3px solid #212529;
    border-left: 1px solid rgba(0, 0, 0, 0.06);
    border-right: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 10px;
    color: #000;
}

.section-news-news .nav-link {
    border: 0;
    display: flex;
    align-items: center;
    font-weight: 400;
}

.section-news-news .nav-tabs .nav-link {
    font-weight: 700;
}

.section-news-news .mode-btn {
    border: 2px solid #212529;
    background-color: white;
    color: #212529;
    height: 30px;
    width: 30px;
    border-radius: 100px;
    margin: 2px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.section-news-news .nav-link:hover i {
    -webkit-animation-name: arrowLeftRight;
    animation-name: arrowLeftRight;
    -webkit-animation-duration: 500ms;
    animation-duration: 500ms;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
}

.section-news-news a.nav-link i:hover {
    -webkit-animation-name: arrowLeftRight;
    animation-name: arrowLeftRight;
    -webkit-animation-duration: 500ms;
    animation-duration: 500ms;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
}

@-webkit-keyframes arrowLeftRight {
    0% {
        -webkit-transform: translate3d(-1px, 0, 0);
        transform: translate3d(-1px, 0, 0);
    }

    50% {
        -webkit-transform: translate3d(1px, 0, 0);
        transform: translate3d(1px, 0, 0);
    }

    100% {
        -webkit-transform: translate3d(-1px, 0, 0);
        transform: translate3d(-1px, 0, 0);
    }
}

@keyframes arrowLeftRight {
    0% {
        -webkit-transform: translate3d(-1px, 0, 0);
        transform: translate3d(-1px, 0, 0);
    }

    50% {
        -webkit-transform: translate3d(1px, 0, 0);
        transform: translate3d(1px, 0, 0);
    }

    100% {
        -webkit-transform: translate3d(-1px, 0, 0);
        transform: translate3d(-1px, 0, 0);
    }
}

.section-news-news a.nav-link.active {
    font-weight: bold;
}

/* news_list.html */

.section-news-list .category-title h4{
    font-weight: 600;
}

.section-news-list .post {
    margin-bottom: 24px;
}

.section-news-list .meta-data {
    font-size: 12px;
    padding: 2px 4px;
    color: #777777;
}

.section-news-list .post-title {
    text-decoration: none;
    color: #1b9dff;
    font-size: 20px;
    height: 48px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.section-news-list .post-description {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    height: 86px;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.section-news-list .post-image {
    margin-bottom: 24px;
}

.section-news-list .day {
    color: #1b9dff;
    font-size: 18px;
    padding: 10px;
    background-color: #f7f7f7;
}

.section-news-list .month {
    color: white;
    font-size: 10px;
    padding: 2px 10px;
    background-color: #1b9dff;
    white-space: nowrap;
}

.section-news-list .post-content {
    padding-left: 14px;
}

.section-news-list .post-content p {
    font-size: 14px;
}

.section-news-list .post-meta i {
    font-size: 12px;
    padding-right: 2px;
    color: #777777;
}

.section-news-list .post-meta a {
    font-size: 12px;
    padding-right: 2px;
    color: #1b9dff;
    text-decoration: none;
}

.section-news-list .post-meta a {
    font-size: 12px;
    padding: 2px 8px;
}

.section-news-list .post-btn {
    border-color: #cccccc #cccccc #b3b3b3;
    color: #777777;
    font-size: 10px;
    padding: 3px 8px;
}

.section-news-list .post-btn:hover {
    background-color: #f2f2f2;
}

.section-news-list h4 {
    font-size: 20px;
}

.section-news-list .mode {
    font-size: 14px;
}

.section-news-list .list-mode h4 {
    font-size: 20px;
    color: lightslategray;
}

.section-news-list .list-row-title-font {
    color: lightslategray;
}

.section-news-list .list-row-font {
    font-size: 14px;
    text-decoration: none;
}

.section-news-list .list-row {
    border-bottom: 1px lightslategray solid;
    padding: 5px 0px;
    color: black
}

.section-news-list .passed_messages .list-row {
    color: lightslategray
}

.section-news-list .active-btn {
    color: white;
    background-color: black;
}

.section-news-list .mode-btn:hover {
    color: white;
    background-color: black;
}

.section-news-list .news-toplist-focus {
    position: absolute;
    width: 300px;
}

.section-news-list .scroll-top-btn {
    transition: opacity 0.3s;
    background: #404040;
    position: fixed;
    bottom: 0;
    right: 10px;
    padding: 20px;
    border-radius: 4px 4px 0 0;
    font-size: 10px;
    color: white;
    opacity: 0;
}

.section-news-list .scroll-top-btn:hover {
    opacity: 0.75;
    color: #1b9dff;
}

.section-news-list .scroll-top-btn-show {
    opacity: 0.75;
}

.section-news-list .passday {
    color: lightslategray;
}

.section-news-list .passmonth {
    color: white;
    background-color: lightslategray;
}

.section-news-list .list-row:hover {
    color: white;
    background-color: lightblue;
}

.section-news-list .bottom-divider {
    border: 0;
    opacity: 1;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    margin: 20px auto;
    width: 80%;
}

/* news_detail.html */

.section-news-detail .day {
    color: #1b9dff;
    font-size: 18px;
    padding: 10px;
    background-color: #f7f7f7;
}

.section-news-detail .month {
    color: white;
    font-size: 10px;
    padding: 2px 10px;
    background-color: #1b9dff;
}

.section-news-detail .post-date a {
    color: #1b9dff;
    text-decoration: none;
    font-size: 30px;
}

.section-news-detail .post-meta {
    color: #777777;
    font-size: 10px;
}

.section-news-detail .post-meta i {
    font-size: 12px;
    padding-right: 2px;
}

.section-news-detail .post-meta .meta-data {
    font-size: 12px;
    padding: 2px 4px;
}

.section-news-detail .post-ckeditor {
    overflow: hidden;
}

.section-news-detail .post-ckeditor h1 {
    font-size: 30px;
    font-weight: 200;
}

.section-news-detail .post-ckeditor img {
    width: 100% !important;
    height: 100% !important;
}

.section-news-detail a {
    text-decoration: none;
    color: #1b9dff;
}

.section-news-detail #copy-link {
    color: #1b9dff;
    font-size: 12px;
    text-decoration: none;
    border-radius: 30px;
    border: 2px solid #1b9dff;
    background-color: white;
    transition: all 0.3s ease;
}

.section-news-detail #copy-link:hover {
    background-color: #1b9dff;
    color: white;
}

.section-news-detail .share-meta h4 {
    font-size: 20px;
}

.section-news-detail .share-meta input {
    border: 0;
    border-bottom: 1px solid lightslategray;
    color: lightslategray;
    padding: 2px;
    font-size: 14px;
    width: 40%;
}

.section-news-detail .post-author img {
    max-width: 80px;
    max-height: 80px;
    border-radius: 4px;
}

.section-news-detail .post-author .name a {
    font-size: 24px;
    color: #1b9dff;
    font-weight: 700;
}

.section-news-detail .post-author .office {
    font-size: 18px;
    font-weight: 500;
}

.section-news-detail #copypopper {
    background: #333;
    color: white;
    font-weight: bold;
    padding: 4px 8px;
    font-size: 13px;
    border-radius: 4px;
}

.section-news-detail #arrow,
.section-news-detail #arrow::before {
    position: absolute;
    width: 8px;
    height: 8px;
    background: inherit;
}

.section-news-detail #arrow {
    visibility: hidden;
}

.section-news-detail #arrow::before {
    visibility: visible;
    content: '';
    transform: rotate(45deg);
}

.section-news-detail #copypopper {
    display: none;
}

.section-news-detail #copypopper[data-show] {
    display: block;
}