body, html {
    height: 100%
}
body {
    color: #444;
    font-family: ArticleArabic-Regular;
    overflow-y: scroll !important
}

/* Flex container to make buttons side-by-side */
.button-container {
  display: flex;
  gap: 10px; /* Space between buttons */
}

.custom-button {
  flex: 1; /* Make each button take 50% of the container */
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 17px;
  font-family: ArticleArabic-Bold;
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
}

.whatsapp-button {
  background-color: #4fb94f; /* WhatsApp green */
}

.call-button {
  background-color: #2E8AC9; /* Custom blue */
}

.custom-button i {
  margin-left: 8px;
  font-size: 20px;
}

.custom-button img {
  width: 20px;
  height: 20px;
}

.site-wrapper {
    display: table;
    width: 100%;
    height: 100%;
    min-height: 100%;
    background: #fff
}
.site-wrapper-inner {
    display: table-cell;
    vertical-align: top
}
.cover-container {
    margin-right: auto;
    margin-left: auto
}
.inner {
    padding-top: 25px
}
#nb-time-span {
    float: left;
    text-align: left;
    opacity: .6;
    margin-top: 5px
}
#nb-pub-details {
    direction: rtl
}

.nb-pub-name {
    color: #3483bd;
    font-size: 18px;
    padding-top: 5px;
    padding-right: 5px
}
#nb-pub-details a {
    display: table
}
#nb-pub-details img, #nb-pub-details span {
    display: table-cell;
    vertical-align: middle
}
#nb-pub-details img {
    height: 42px;
    width: 42px
}
.nb-article-container {
    padding-top: 2%;
    float: right;
    width: 100%;
    padding-right: 0;
    padding-left: 0
}
.nb-title {
    font-family: ArticleArabic-Bold;
    color: inherit;
    font-size: 24px
}
.nb-subtitle-div {
    padding-top: 2%;
    opacity: .6
}
.nb-banner-title {
    font-family: ArticleArabic-Bold;
    font-size: 16px;
    color: #333
}
.nb-download-text-div {
    text-align: center;
    color: #fff;
    margin-top: 5px
}
.nb-download-text-div .btn {
    width: 100%;
    padding: 12px 20px;
    font-size: 18px
}
.modal-dialog .nb-download-text-div .btn {
    padding: 10px 20px
}
header .nb-download-text-div .btn {
    width: 92% !important;
    padding: 10px 20px
}
table {
    background-color: #f2f2f2;
    width: 92%;
    margin-left: 4%;
    /*margin-top: 5px;*/
    direction: rtl;
    min-height: 75px;
    margin-bottom: 6px
}
.nb-no-link, .nb-no-link:focus, .nb-no-link:hover, .nb-no-link:link, .nb-no-link:visited {
    text-decoration: none;
    color: inherit
}
#nb-success-message {
    border: 1px solid #d3d3d3;
    background: 0 0;
    color: #555;
    padding-top: 30px
}
#nb-option-div button, #nb-option-div button:visited {
    background-color: transparent
}
#nb-option-div button:active {
    background-color: #dce9f2
}
.selected_bg {
    background-color: #dce9f2 !important
}
.nb-download-link-div {
    background: #08c;
    text-align: center;
    color: #fff;
    padding-bottom: 10px;
    font-size: 17px;
    font-family: ArticleArabic-Bold;
    width: 100% !important;
    display: inline-block;
}
.nb-download-link-div p {
    margin: 0
}
.nb-mobile-page-icons {
    width: 160px;
    background: 0 0;
    border: none
}
.nb-about-div {
    background-color: #f2f2f2;
    padding-top: 15px;
    width: 100% !important
}
.menu-category {
    margin: 0 0 15px;
    font-size: 14px
}
.nb-about-div ul {
    list-style: none;
    padding-right: 0
}
footer .socials li {
    float: left;
    text-align: center
}
.nb-apple-trademark, .nb-copyright-text {
    padding-top: 15px;
    text-align: center;
    padding-left: 15px;
    padding-right: 15px;
    direction: ltr;
    font-size: 13px
}
.nb-apple-trademark {
    padding-top: 5px;
    font-size: 12px
}
.mastfoot {
    margin-top: 40px;
    bottom: 0;
    width: 100%;
}
.nb-download-link-div,
.nb-about-div {
    width: 100% !important;
}
@media only screen and (min-device-width:320px) and (max-device-width:480px) {
    .nb-mobile-page-icons {
        width: 50%;
        float: left
    }

}
@media only screen and (min-device-width:1024px) and (max-device-width:1366px) and (orientation:landscape) and (-webkit-min-device-pixel-ratio:1.5) {
    .nb-mobile-page-icons {
        width: auto;
        float: none !important
    }
    .media-body {
        right: 200px;
    }
    .container {
        width: 680px
    }
    .nb-about-div {
        width: 100% !important
    }
}
@media only screen and (min-device-width:768px) and (max-device-width:1024px) and (orientation:portrait) {
    .nb-mobile-page-icons {
        width: auto;
        float: none !important
    }
    .media-body {
        right: 200px;
    }
    .nb-download-text-div {
        margin-top: 8px
    }
    header {
        width: 100%
    }
}
@media only screen and (min-device-width:768px) and (max-device-width:1024px) and (orientation:landscape) {
    .nb-mobile-page-icons {
        width: auto;
        float: none !important
    }
    .container {
        width: 680px
    }
    .nb-about-div {
        width: 680px !important
    }
    .nb-download-text-div {
        margin-top: 8px
    }
    header {
        width: 100%;
        margin-right: 190px
    }
    .nb-about-div {
        width: 100% !important
    }
}
@media only screen and (min-device-width:375px) and (max-device-height:667px) and (orientation:landscape) and (-webkit-device-pixel-ratio:2) {
    .nb-mobile-page-icons {
        width: auto;
        float: none !important
    }
}
@media only screen and (min-device-width:375px) and (max-device-height:667px) and (orientation:portrait) and (-webkit-device-pixel-ratio:2) {
    .nb-mobile-page-icons {
        width: 49%;
        float: none !important
    }
}
@media only screen and (min-device-width:414px) and (max-device-width:736px) and (orientation:landscape) and (-webkit-min-device-pixel-ratio:3) {
    .nb-mobile-page-icons {
        width: 28%;
        float: none !important
    }
}
@media only screen and (min-device-width:414px) and (max-device-width:736px) and (device-width:414px) and (device-height:736px) and (orientation:portrait) and (-webkit-min-device-pixel-ratio:3) and (-webkit-device-pixel-ratio:3) {
    .nb-mobile-page-icons {
        width: 48%;
        float: none !important
    }
}
@media only screen and (min-width:1224px) {
    .nb-mobile-page-icons {
        width: 160px;
        float: none !important
    }
    .container {
        width: 790px
    }
    ul.socials {
        width: 50%;
        margin-left: 25%
    }
}
@media only screen and (min-width:992px) {
    .container {
        width: 790px
    }
}
@media only screen and (min-width:1824px) {
    .nb-mobile-page-icons {
        width: 190px;
        float: none !important
    }
    ul.socials {
        width: 50%;
        margin-left: 25%
    }
}
.nb-no-padding {
    padding-left: 0;
    padding-right: 0
}
.nb-info-div {
    padding-bottom: 10px
}
.nb-store-icons {
    padding-top: 12px
}
.nb-separator {
    text-align: center;
    color: gray;
    font-size: 16px
}
.nb-title-description {
    font-size: 15px;
    text-align: right
}
@media only screen and (min-device-width:320px) and (max-device-width:568px) and (orientation:landscape) {
    .nb-mobile-page-icons {
        width: 30%;
        float: none !important
    }
}
@media only screen and (min-device-width:320px) and (max-device-width:568px) and (orientation:portrait) {
    .media-body {
        right: 120px;
    }
    .nb-mobile-page-icons {
        width: 56%;
        float: none !important
    }
}
.nb-article-content {
    font-size: 21px;
    margin-bottom: 35px
}
.nb-multimedia-content {
    padding-top: 20px;
    padding-bottom: 25px
}
.bx-wrapper .bx-controls-direction a {
    color: transparent
}
.nb-info-div, ul.socials {
    direction: rtl
}
#html5-watermark {
    display: none !important
}
.play {
    display: block !important;
    position: absolute;
    width: 100%;
    height: 330px;
    background: url(../images/promo_ad_play_btn.png) 50% 54% no-repeat;
    opacity: 1;
    color: #fff
}
.nb-download-btns {
    text-align: center;
    margin-top: 20px;
    display: block
}
@media (max-width:768px) {
    .nb-download-btns {
        display: inline-block !important
    }
}
.nb-download-btns a {
    padding: 10px;
    margin-bottom: 20px;
}
.android_link {
    margin-bottom: 20px
}
.top-banner {
    font-family: ArticleArabic-Bold;
    background-color: #08c;
    width: 92%;
    margin-left: 4%;
    border-radius: 6px;
    padding: 10px;
    margin-top: 20px;
    text-align: center;
    font-size: 20px;
    word-spacing: 2px
}
.android-container .ios-footer-link, .ios-container .android-footer-link {
    display: none
}
.modal-dialog {
    position: absolute;
    top: 32%;
    left: 50%;
    background-color: #fff;
    z-index: 1002;
    overflow: auto;
    width: 300px;
    margin-left: -150px;
    margin-top: -150px;
    text-align: center;
    border-radius: 8px
}
#pop_up_button {
    display: none
}
.modal-header {
    border: none
}
.modal-header .close {
    opacity: .6 !important
}
.nb-article-content {
    font-family: NotoNaskhArabic-Regular
}
.bx-has-controls-direction {
    display: none
}
.bxslider .img-thumbnail {
    border: none !important;
    margin: 0 auto;
    vertical-align: middle;
    display: inline-table;
    padding: 2px !important;
    height: 100%;
    cursor: pointer
}
#bxslider.img-thumbnail {
    cursor: pointer;
    max-height: 400px
}
.custom-download {
    background: 0 0 !important;
    color: #fff
}
.share_article_bar {
    text-align: center
}
.social_share_icons {
    width: 58px !important;
    height: 58px !important;
    margin-right: 0
}
.share_article_bar a {
    text-decoration: none
}
.bx-wrapper .bx-pager {
    opacity: .4
}
.bx-wrapper .bx-pager.bx-default-pager a {
    width: 6px !important;
    height: 6px !important
}
.bxslider li {
    height: 380px !important;
    line-height: 380px !important
}
@media only screen and (max-width:768px) {
    .bxslider li {
        height: 250px !important;
        line-height: 250px !important
    }
    .social_share_icons {
        width: 52px !important;
        height: 52px !important
    }
}

.nb-view-comments, .nb-view-full-story {
    padding: 10px !important;
    background: #e0e0e0;
    border-color: #a9a9a9;
    color: #333
}
.btn {
    font-size: 17px;
    font-family: ArticleArabic-Bold;
    word-spacing: 2px
}
iframe {
    padding-bottom: 0
}
.bx-wrapper {
    margin-bottom: 25px !important
}
.btn-success {
    background-color: #4fb94f !important
}
.google-share {
    width: 53px !important;
    height: 53px !important
}
.web-download-buttons:hover {
    background-color: #51a351 !important
}
.modal.fade .modal-dialog {
    -webkit-transition: -webkit-transform .3s ease-out;
    -o-transition: -o-transform .3s ease-out;
    transition: transform .3s ease-out;
    -webkit-transform: translate(0, 50%) rotate(360deg) !important;
    -ms-transform: translate(0, 50%) rotate(360deg) !important;
    -o-transform: translate(0, 50%) rotate(360deg) !important;
    transform: translate(0, 50%) rotate(360deg) !important
}
.modal.in .modal-dialog {
    -webkit-transform: translate(0, 0) rotate(360deg) scale(1, 1) !important;
    -ms-transform: translate(0, 0) rotate(360deg) scale(1, 1) !important;
    -o-transform: translate(0, 0) rotate(360deg) scale(1, 1) !important;
    transform: translate(0, 0) rotate(360deg) scale(1, 1) !important;
    opacity: 1 !important
}
#nb-time-span, .nb-article-content p, .nb-pub-name, .nb-subtitle, .nb-title {
    direction: rtl
}
.promo_ad_container {
    max-width: 500px;
    margin: 0 auto;
    padding-top: 10px;
    background-color: #fff;
    font-weight: 400;
    font-size: 12px;
    line-height: 14px
}
.promo_ad_container img {
    max-width: 500px;
    height: auto
}
.promo_ad_container .img-thumbnail {
    margin-top: 8px;
    padding: 0 !important;
    margin-bottom: 20px
}
.promo_ad_container .attribution {
    background-color: #ecb600;
    color: #fff;
    font-size: 13px;
    line-height: 15px;
    display: table;
    margin: 4px 0 0 4px;
    padding: 0 3px;
    border-radius: 2px;
    position: absolute;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .5)
}
.promo_ad_container .image {
    text-align: center
}
.promo_ad_containe .image-link, .promo_ad_container .image img {
    width: 100%
}
.promo_ad_container .title {
    padding: 10px;
    direction: rtl;
    float: right;
    width: 100%;
    text-align: right
}
.promo_ad_container .title a {
    color: #444;
    font-size: 17px;
    line-height: 26px;
    text-decoration: none;
    font-family: ArticleArabic-Bold
}
.promo_ad_container .logo {
    padding: 0 8px 0 8px;
    height: 60px;
    display: table-cell;
    vertical-align: middle;
    width: 10%;
    text-align: right
}
.promo_ad_container .logo img {
    width: 35px;
    height: 35px
}
.promo_ad_container .advertiser {
    width: 89%;
    text-align: right;
    display: table-cell;
    vertical-align: middle;
    font-size: 14px;
    line-height: 17px
}
.promo_ad_container .advertiser a {
    color: #818181;
    text-decoration: none;
    font-size: 14px
}
.promo_ad_container .call-to-action {
    display: table-cell;
    vertical-align: middle;
    width: 40%
}
.promo_ad_container .call-to-action a {
    text-decoration: none;
    color: #fff;
    font-family: ArticleArabic-Bold;
    font-size: 14px;
    font-weight: 700;
    float: left;
    margin: 0 0 0 8px;
    white-space: nowrap;
    background-color: #4caf50;
    padding: 7px 9px 7px 9px;
    border-radius: 3px 3px 3px 3px;
    display: table-cell;
    vertical-align: middle
}
#adunit {
    cursor: pointer
}
.promoted_ad_video_play_btn {
    display: block !important;
    position: absolute;
    width: 100%;
    height: 164px;
    background: url(../images/promo_ad_play_btn.png) 50% 54% no-repeat;
    opacity: 1;
    color: #fff;
    left: 0;
    right: 0;
    background-size: 90px 90px
}
.promoted_advertiser_div {
    display: table;
    height: 60px;
    direction: rtl;
    width: 100%
}
.adv_info {
    width: 50%;
    display: table-cell
}
@media only screen and (max-width:768px) {
    .sticky_mob.social_media_share_div {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: #ececec;
        z-index: 10000;
        margin: 0;
        padding-top: 8px;
        padding-bottom: 8px
    }
}
.single-widget.source-story-widget {
    padding-left: 0 !important;
    padding-right: 0 !important
}
.widget {
    position: relative;
    display: block;
    margin-bottom: 30px
}
.widget .media {
  border-bottom: 1px solid #e3e6e8;
  padding: 5px 0 30px 0; /* Combined padding for clarity */
  min-height: 96px;
  width: 100%; /* Ensures it takes the full container width */
  display: flex; /* Ensures content inside aligns well */
  flex-wrap: wrap; /* Allows wrapping on smaller screens */
  align-items: center; /* Vertically aligns content */
}

.media-body {
    position: absolute;
}
.media-left, .media-right, media-body {
    display: table-cell;
    vertical-align: top
}
@media (min-width:768px) {
    .source-story .media-heading {
        font-size: 1.8rem
    }
    .media-body {
        right: 200px;
    }
}
.widget .media-heading {
    margin-bottom: 0;
    font-size: large;
    line-height: 1.5rem;
    direction: rtl;
    height: 100px;
    text-align: right;
    font-family: ArticleArabic-Bold;
    overflow: hidden;
    float: left;
}
a, a:active, a:focus {
    text-decoration: none;
    outline: 0
}
.widget_article_social {
    color: #888;
    position: absolute;
    bottom: 0;
    direction: rtl;
    width: 100%;
    right: 0
}
.single-widget .media-right {
    position: relative;
    max-width: 100%;
    vertical-align: middle
}
.regular-story.source-story .media-right {
    max-width: none
}
.regular-story .media-object.img-thumbnail {
  width: 100%; /* Adjusts to the container size */
  max-width: 110px; /* Maintains a limit for larger screens */
  max-height: 110px;
  height: auto; /* Keeps the aspect ratio */
  object-fit: cover;
  border: none;
}

@media (min-width:768px) {
    .regular-story.source-story .media-object.img-thumbnail {
        height: 105px;
        width: 180px
    }
}
.more-stories a {
    color: #555
}
.more-stories .left-side-story .play {
    left: 33%;
    top: 28%
}
@media screen and (max-width:768px) {
    .more-stories .play {
        left: 33% !important;
        top: 27%
    }
}
.more-stories a:focus, .more-stories a:hover {
    color: #3483bd;
    text-decoration: none
}
@media screen and (max-width:768px) {
    .more-stories .left-side-story .play {
        left: 27% !important;
        top: 27%
    }
}
.more-stories .play {
    display: block !important;
    position: absolute;
    left: 37%;
    top: 26%;
    background: url(../images/play.png) no-repeat;
    background-size: 48px;
    width: 100%;
    height: 100%
}
@media (min-width:768px) {
    .widget_article_social .article_comments {
        font-size: 1rem
    }
}
.widget_article_social .article_comments {
    margin-left: 3px;
    font-size: .9rem;
    margin-top: 2px
}
.fa-comment-o {
    font-size: 1.12em !important
}
@media (min-width:768px) {
    .source-story .article_comments {
        font-size: 1.1rem
    }
}
.widget .article_comments {
    float: left;
    color: #6d6d6d
}
.widget_article_social i {
    padding: 3px;
    margin-right: 2px;
    vertical-align: middle
}
.comment-count {
    padding-left: 2px;
    font-family: ArticleArabic-Regular;
    vertical-align: -1px;
    color: #444
}
h4 {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #e3e6e8;
    line-height: .1em;
    margin: 65px 0 20px
}
@media (max-width:768px) {
    h4 {
        margin: 40px 0 20px !important
    }
    .fa-comment-o {
        font-size: 1.2em !important
    }
}
h4 span {
    background: #fff;
    padding: 0 10px;
    color: #868686;
    font-family: ArticleArabic-Regular
}
.nb-view-comments {
    color: #fff;
    background-color: #5cb85c;
    border-color: #4cae4c;
    margin-top: 20px;
    margin-right: 195px;
    width: 50%;
}
.media:first-child {
    margin-top: 0
}
.regular-story.source-story .media-left {
    max-width: none
}
.single-widget .media-left {
    position: relative;
    max-width: 100%;
    vertical-align: middle
}
.promo_ad_container .img-thumbnail:nth-of-type(2) {
    margin-bottom: 22px
}
.app-store-share {
    height: 52px !important;
    width: auto !important;
    margin-right: 10px
}
@media screen and (device-aspect-ratio:40/71) {
    .social_share_icons {
        width: 42px !important;
        height: 42px !important
    }
    .app-store-share {
        height: 42px !important;
        width: auto !important
    }
    .btn {
        font-size: 14px !important
    }
}

@media (max-width: 768px) {
    .location-div {
        text-align: right !important;
    }
  .nb-about-div {
   margin-bottom: 4rem;
  }
}

/* Media query for desktop screens only */
@media screen and (min-width: 768px) {
  .social_media_share_div {
    padding-bottom: 20px;
  }
}
