@media (min-width: 1536px){
.container {
    max-width: 1536px;
}
}
header {
    background-image: linear-gradient(to right, #7b0101 , #be0000);
}
p,h1,h2,h3,h4,h5,span,a{
    direction: rtl;
    font-family: nastalekh!important;
}
a{
    color:#000;
}


a:hover, a:hover h2 {
    color: #c10000;
}

h3 a{
    line-height: 45px;
}

body{
    background:#fff;
}

.w100{
    width: 100%;
}
.content-box{
    padding: 10px;
    padding: 0;
}
.entry-image, .entry-image .slide a, .entry-image img, .entry-image>a {
    display: block;
    position: relative;
    width: 100%;
    height: auto;
}
.posts-md .entry, .posts-sm .entry {
    margin-bottom: 0;
}

.entry-image, .entry-image .slide a, .entry-image img, .entry-image>a {
    display: block;
    position: relative;
    width: 100%;
    height: auto;
}

.entry-categories {
    position: absolute;
    bottom: 10px;
    left: 10px;
    text-transform: capitalize;
}

.entry-categories a {
    color: #FFF !important;
    padding: 3px 5px;
    font-size: 10px;
    border-radius: 2px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 400;
    font-family: 'roboto', sans-serif;
}
.grid-inner {
    width: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.grid-container, .grid-inner {
    position: relative;
    overflow: hidden;
}

.posts-sm .entry-image {
     float: right;
    height: auto;
    margin-bottom: 6px;
    margin-left: 0;
    margin-top: 0px;
    width: 100px;
}

.entry-image, .entry-image .slide a, .entry-image img, .entry-image>a {
    display: block;
    position: relative;
    width: 100%;
    height: auto;
}
.entry-image img {
    border-radius: 3px;
    max-height: 80px;
}
.posts-sm .entry-meta {
    margin-top: 6px;
}
.entry-meta {
    position: relative;
    overflow: hidden;
    margin-top: 10px;
}

.entry-meta ul {
    display: flex;
    padding: 0;
    margin: 0;
    direction: rtl;
    list-style: none;
}
.posts-sm .entry-meta ul {
    margin-bottom: -5px;
}
.posts-sm .entry-meta li {
    margin-bottom: 5px;
}
.entry-meta li {
    font-size: .875rem;
}
.entry-meta li {
    font-size: 90%;
    margin: 0 15px 10px 0;
    color: #999;
}
.entry-meta li a:not(:hover) {
    color: #aaa;
}

.double-line, .line {
    clear: both;
    position: relative;
    width: 100%;
    margin: 4rem 0;
    border-top: 1px solid #eee;
}
.top_header {
    border:0;
    padding: 15px 25px 0 15px;
   
}
.line-xs {
        margin: 4px 0 20px;
    border-bottom: 3px solid #eee;
}
.line-xs::after {
    top: 100%;
        right: 20px;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-color: transparent;
    border-top-color: #eee;
    border-width: 8px;
    margin-left: -8px;
    z-index: 1;
    background: 0 0;
}
.video_box{
        text-align: center;
    position: relative;
    display: block;
}
.line-market {
    border-bottom-color: #be0000!important;
}

.line-market::after {
    border-top-color: #be0000!important;
}
.video_box a{
    position: relative;
}
.video_box .play_icon{
        width: 33px;
    right: 43%;
    top: 0%;
    position: absolute;
}

.video_section .bd-tab{
    border-bottom: solid 1px #ccc;
    box-shadow: 0 1px 4px rgb(0 0 0 / 16%);
    display: inline-table;
    padding: 10px!important ;
}
.book-detail.islamic-names{
    padding: 0;    
}

.book-detail.islamic-names .bd-tab {
    margin: 5px!important  ;
    width: 31.3333%!important  ;
    background-color: transparent;
    padding: 25px 15px;
}


.book-detail.surah.dua .bd-tab {
    width: calc(33% - 16px);
}


.article_det_img{
    width: 100%;
    text-align: right;
}

.book-detail.surah.dua.articles .bd-tab {
    background-color: #eeeff3;
    border: none;
    padding: 0px;
}
.book-detail.surah.dua.articles .bd-tab:hover {
    background-color: #0062ae;
}

.book-detail.surah.dua.articles .bd-tab img {
    border-radius: 10px 10px 0 0;
}

.book-detail.surah.dua.articles .bd-tab a {
    padding: 10px;
    display: block;
}
.grid-inner{
        margin-bottom: 10px;
    border-bottom: 1px solid #eeeff3;
}

.p-head h1, .color-head h1{
    font-size: 1.75rem!important;
    color: #0066b6;
    text-align: right;
    border-right: 2px solid red;
    padding-right: 13px;
}
.color-head {
       padding: 0;
    background-image: none;
    color: #005395;
    border-top: 1px solid #dfdfdf;
    padding-top: 15px;
}

.news_detail .p-head h1,.news_detail  .color-head h1{
      
   color: #0065b5;
    font-size: 30px;
    margin: 0;
    font-family: nastalekh!important;
    text-align: right;
 
}
.article_det_img img{
    width: 100%;
}

.articles-detail {
    padding: 10px;
}
.short_description{
    margin: 0!important;
}

.column_detail div{
       font-family: nastalekh!important;
    text-align: right;
    font-size: 24px;
}
.entry-title h5{
        color: #505050;
}

.bd-tab p {
    font-size: 20px!important;
    margin: 0;
    font-family: nastalekh!important;
    text-align: right;
}

.bd-tab:hover, .book-detail.islamic-names .bd-tab:hover{
    background:#0066b6;
}

.art-detail-head p {
    font-size: 22px;
    line-height: 36px;
}

.nav-link {
        padding: 2px 10px;
    font-size: 1.1rem;
}
.auth_name{
    color: #6e6e6e;
}
.more_news_tab{
    background-size: cover;
    border-radius: 10px 10px 0 0;
    background-position: center;
}

.storygrid .short_description {
    font-size: 18px!important;
    font-weight: 500;
}
.auth_name {
    color: #6e6e6e!important;
    font-size: 16px;
}
.storygrid .story{
    margin-bottom:15px;
}

.storygrid h2{
    color: #252f3f;
    font-family: nastalekh!important;
    line-height: 2rem;
        font-weight: 700;
        font-size: 1.25rem;
            margin-bottom: 1rem;
                margin-top: 1rem;
}
.entry-content {
    padding-top:5px;
}
.entry-content p:first-child{
    background: #f8f9fa;
    padding: 10px;
}

.entry-content p{
    padding: 0;
    margin:0;
        line-height: 30px;
}

.cat_list .col-4 a{
 position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 80%;
  text-align: center;

}

.bg-image {
     filter: blur(8px);
    -webkit-filter: blur(8px);
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 154px;
}

.cat_list .row{
    padding-bottom: 25px;
    padding-top:25px;
    border-bottom: 1px solid #dfdfdf;
}

.cat_list .col-4 img{
    /* height:150px; */
    width:100%;
}

.list-pagination li.active a {
    background-color: #be0000;
}

.products  .course {
    margin-top: 20px;
    margin-bottom: 20px;
}
.course .course-img {
    
    position: relative;
    display: block;
    margin-bottom: 10px;
    border-radius: 4px;
    overflow: hidden;
}
.course .course-img > img {
    width: 100%;
}
.course svg {
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50% , calc(-50% - 15px));
    -ms-transform: translate(-50% , calc(-50% - 15px));
    transform: translate(-50% , calc(-50% - 15px));
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border: 2px solid #fff;
    color: #fff;
    border-radius: 50%;
    opacity: 0;
    z-index: 10;
    -webkit-transition: 0.2s all;
    transition: 0.2s all;
}
.course  p {
 margin: 0 0 10px;
    color: #798696;
    text-align: left;
    font-family: sans-serif!important;
    font-size: 14px;
    font-weight: normal;

}
.course .course-details {
    display:none;
    /* display: flex; */
    justify-content: space-around;
    margin-top: 20px;
    padding-top: 10px;
    border-top: 1px solid #EBEBEB;
}

.course-details{display:none;}

.featured_news p {
    font-size: 22px;
}

.navbar-dark .navbar-nav .nav-link {
     color: rgb(255 255 255);
    font-size: 22px;
    line-height: 22px;
    border-left: 1px solid #dddddd7a;

}

.navbar {
    align-items: start;
    direction: rtl;
}