/************ General ***********/
img {
    object-fit: cover;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0
}

p {
    margin: 0
}

.custom-scroll {
    -max-height: 200px;
    padding-right: 24px;
    overflow-y: auto;
    direction: ltr;

    &.left-scrl {

        direction: rtl;
        padding-right: 0;
        padding-left: 24px;
    }

    * {
        direction: rtl;
    }

    &::-webkit-scrollbar {
        width: 2px;
    }

    &::-webkit-scrollbar-track {
        background: var(--accent-color2);
    }

    &::-webkit-scrollbar-thumb {
        background: var(--accent-color);
    }

    &::-webkit-scrollbar-thumb:hover {
        background: red;
    }
}

.article_pager {
    text-align: center;
    margin: 64px auto 24px;

    .page {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 30px;
        height: 30px;
        border: solid 1px #08c;
        margin: 0 3px;
        font-size: 1.1rem;
        border-radius: 50%;
        transition: all 0.3s ease;

        &.active,
        &:hover {
            background-color: #08c;
            color: #fff;
        }
    }
}

.edn_module_title {
    font-size: 1.8rem;
    color: #0088cc;
    line-height: normal;
    font-weight: normal;
}

.has-frame {
    padding: 1rem;
    background-color: #fff;
    box-shadow: 0 0 5px 1px #999;
}

.tags-holder {
    border-top: solid 1px #ddd;
    padding: 24px 0;
}

.edNews_tagClud {

    a {
        display: inline-block;
        vertical-align: middle;
        color: #fff !important;
        font-size: 14px;
        padding: 5px;
        border-radius: 3px;
        background-color: #0088cc;
        border: solid 1px #0088cc;
        text-decoration: none;
        margin: 2px 3px;
        transition: all linear 200ms;

        &:hover {
            background-color: #fff;
            color: #0088cc !important;
        }
    }
}

.edNews_socialPrintWrapper {
    color: #666;
    fill: #666;

}

/************ Category Menu ***********/
.edn_category_menu_wrapper {
    list-style: none;

    li {
        list-style: none;
    }

    .item {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        border-bottom: solid 1px #ddd;

    }

    .edn_articleCount {
        min-width: 30px;
        font-size: 12px;
        color: #ffffff;
        background-color: #0278b3;
        border-radius: 10px;
        text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.4);
        padding: 0 4px;
        text-align: center;
    }

    .edn_rss {
        svg {
            display: block;
            width: 13px;
            fill: #0278b3;
        }
    }

    .edn_link {}
}

/************ List Article Two Column ***********/
.two-column-list {
    .item {
        .img-box {
            border-radius: 4px;
            overflow: hidden;
        }

        min-height: 40px;

        .title {
            min-height: 40px;
            font-size: 15px;
            font-weight: bold;

        }

        .summary {
            min-height: 90px;
            font-size: 13px;
            line-height: 18px;
        }
    }
}

/************ List Article With Sidebar ***********/
.article-list-sidebar {
    .title {
        font-size: 1.3rem;
    }

    .desc {
        font-size: 1rem;
    }
}


/************ List Article Two Column ***********/
.article-list-only-title {
    .item {
        padding: 8px 0;
        border-top: dashed 1px #bfbfbf;

        &:first-child {
            border: none;
        }

        .title {
            font-size: 1rem;
            line-height: normal;
        }
    }
}


/************ Article Details With Sidebar ***********/
.article-details-sidebar {
    .main-title {
        font-size: 1.8rem;
        color: var(--accent-color);
    }

    .edNews_socialPrintWrapper {
        border-top: solid 1px #ddd;
        padding: 24px 0;
    }

    p {
        text-align: unset;
        text-align-last: auto;
    }
}


/************ Related Articles ***********/
.edNews_relatedArticles {
    border: 1px dashed #bfbfbf;
    background-color: #EDEDED;
    box-shadow: 0 0 0 5px #fff inset;
    border-radius: 4px;
    margin: 15px 0;
    padding: 15px 15px 10px;

    .edNews_cardHeader {
        border-bottom: 1px solid #e5e5e5;
        margin-bottom: 1.5rem;

        .edNews_additionalCardTitle {
            display: inline-block;
            font-size: 1.2rem;
            color: #0088cc;
            font-weight: normal;
            padding: 0 0 6px;
            margin-bottom: -2px;
            border-bottom: 3px solid #cd1301;
        }
    }

    ul {
        li {
            margin-bottom: 8px;
            list-style: none;

            svg {
                fill: var(--accent-color);
            }
        }
    }
}