
/*ul.marquee li {
    display: inline-block;
    padding: 10px 20px;
    font-size: 30px;
}*/

marquee > ul > li{
  display: inline-block;
  font-size: 25px;
  color:#002873;
  color:#fff;
  padding-right:25px;
}

.author_image_article {
  float: left;
  shape-margin:20px;
  margin-right: 20px;
  margin-bottom: 20px;
}
.star {
  float: left;
  width: 250px;
  shape-outside: url(https://upload.wikimedia.org/wikipedia/commons/3/34/Red_star.svg);
  shape-margin:20px;
  margin-right: 20px;
  margin-bottom: 20px;
}


marquee > p{
font-family: Impact; 
font-size: 18pt;
margin-bottom: -9px;
}


#superTopStories{
  background: #F0F0Fd;
  padding: 15px;
}
#titleCat > a{
  background: black;
  color: #fff;
  padding-right:5px;
  padding-left: 5px;
  text-decoration: none;
}
#titleCat > a:hover{
  background: #D30E15;
  padding-right:5px;
  padding-left: 5px;
  text-decoration: none;
}


/*
FOOOTER
*/


/*
Videos Pgae
*/

#allVids{
  width:30%;
  padding: 5px;
  margin: 10px; 
  display: inline-block;
}
@media (max-width: 768px) {
 #allVids{
  width:100%;
  padding: 5px;
  margin: 2px; 
  display: inline-block;
}
.navbar-nav li:hover{
  color: #fded !important;
  background: #750103;
  display: inline-block;
  border-radius: 10px;
}
.navbar-nav li{
  text-align: center;
}

}

.rel-vid-title {
  padding: 6px 0px 4px 0px;
  border-bottom: 3px #E10000 solid;
  display: block;
  height: auto;
  background-color: #F4F4F4;
  color: black;
}

.rel-full-blk {
  width: 100%;
  float: left;
}
.rel-video-blk {
  width: 100%;
  float: left;
}
.rel-video-blk ul {
  width: 100%;
  list-style: none;
}
.rel-video-blk ul li {
  width: 100%;
  float: left;
  padding: 10px 0px 10px 0px;
    border-bottom: 1px #F2F2F2 solid;
}
.rel-video-blk ul li:last-child {
    border-bottom: none !important;
}
.rel-video-blk ul li:hover {
  background-color: #F4F4F4;
}

.rel-video-thumb {
    width: 95px;
    margin-right: 10px;
    float: left;
    background: #F4F4F4;
}
.rel-video-thumb img {
    max-width: 100%;
    float: left;
    height: 53px;
}

.rel-video-head {
  font-family: "Droid Serif", serif;
  font-size: 14px;
  font-weight: 400;
  color: #333;
  line-height: 110%;

}

#socialsNav > li{
  font-size: 20px;
  display: inline-block;
  list-style: none;
  background: #9E0206;
  padding: 0px 10px 0px 10px;
  border-radius: 10px;
  text-align: center;
}
#socialsNav a{
  color: #fff;
}
#socialsNav > #facebook a:hover{
  color: #4267B2;
}
#socialsNav > #youtube a:hover{
  color: #D30E15;
}
#socialsNav > #instagram a:hover{
  color: #D93175;
}
#socialsNav > #plus a:hover{
  color: #E2543B;
}
#socialsNav > #twitter a:hover{
  color: #38A1F3;
}




/* =====================================================
   RTL + Cross-Browser Compatibility Fixes (Edge/Chrome)
   ===================================================== */

/* Top header: remove float instability and keep rows horizontal in RTL */
#header #top-header .container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  overflow: hidden;
  min-height: 30px;
}

[dir="rtl"] #header #top-header .container {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
  -ms-flex-direction: row-reverse;
  flex-direction: row-reverse;
}

#header #top-header .header-links,
#header #top-header .header-social {
  float: none !important;
}

#header #top-header .header-social ul,
#header #top-header .header-links ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

#header #top-header .header-social ul li,
#header #top-header .header-links ul li {
  float: none !important;
  display: block !important;
}

/* Keep navbar order stable in RTL on desktop browsers */
[dir="rtl"] #header #nav-header {
  direction: rtl;
}

[dir="rtl"] #header #nav-header #main-nav {
  float: right !important;
}

[dir="rtl"] .main-nav.navbar-nav {
  float: right !important;
  margin-right: 0;
  margin-left: 0;
  display: block !important;
  direction: rtl;
  text-align: right;
  white-space: nowrap;
}

[dir="rtl"] .main-nav.navbar-nav > li {
  float: right !important;
  display: block !important;
  white-space: nowrap;
}

[dir="rtl"] .main-nav.navbar-nav > li > a {
  display: block;
  padding: 15px 12px;
  white-space: nowrap;
  font-size: 14px;
  text-align: right;
}

/* Fix Bootstrap col-push/pull in RTL body (Edge breaks these) */
[dir="rtl"] .col-sm-push-3 { left: auto !important; right: 25% !important; }
[dir="rtl"] .col-sm-pull-9 { right: auto !important; left: 75% !important; }
[dir="rtl"] .col-sm-push-4 { left: auto !important; right: 33.33333% !important; }
[dir="rtl"] .col-sm-pull-8 { right: auto !important; left: 66.66667% !important; }
[dir="rtl"] .col-md-push-3 { left: auto !important; right: 25% !important; }
[dir="rtl"] .col-md-pull-9 { right: auto !important; left: 75% !important; }
[dir="rtl"] .col-md-push-4 { left: auto !important; right: 33.33333% !important; }
[dir="rtl"] .col-md-pull-8 { right: auto !important; left: 66.66667% !important; }

@media only screen and (max-width: 767px) {
  #header #top-header .container {
    display: block;
  }
}

/* =====================================================
   Mobile responsiveness improvements
   ===================================================== */

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

img,
iframe,
video,
svg {
  max-width: 100%;
}

iframe,
video {
  width: 100%;
}

table {
  display: block;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

@media only screen and (max-width: 767px) {
  .container {
    width: auto !important;
  }

  #header #top-header .container,
  #header #nav-header .container,
  #footer .container {
    padding-left: 15px;
    padding-right: 15px;
  }

  #header #center-header .logo img,
  #footer .footer-logo img {
    max-width: 100%;
    height: auto;
  }

  #header #top-header .header-social ul,
  #header #top-header .header-links ul {
    justify-content: center;
    flex-wrap: wrap;
  }

  #header #top-header .header-social ul li,
  #header #top-header .header-links ul li {
    margin-right: 0;
  }

  .button-nav {
    float: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .button-nav > button {
    padding: 18px 14px;
  }

  .search-form {
    left: 0;
    right: 0;
    width: 100%;
    max-width: none;
  }

  #main-nav {
    left: auto;
    right: 0;
    width: 85vw;
    max-width: 320px;
    -webkit-transform: translateX(100%);
        -ms-transform: translateX(100%);
            transform: translateX(100%);
    -webkit-box-shadow: -5px 0px 6px -5px rgba(0, 0, 0, 0.4);
            box-shadow: -5px 0px 6px -5px rgba(0, 0, 0, 0.4);
  }

  #main-nav.nav-collapse {
    width: 85vw;
  }

  .main-nav {
    max-height: calc(100vh - 120px);
    margin: 0;
  }

  .main-nav.navbar-nav,
  [dir="rtl"] .main-nav.navbar-nav {
    float: none !important;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row-reverse;
  }

  .main-nav.navbar-nav > li,
  [dir="rtl"] .main-nav.navbar-nav > li {
    float: none !important;
    width: 100%;
  }

  .main-nav.navbar-nav > li > a {
    white-space: normal;
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  p,
  article > p {
    font-size: 18px;
    line-height: 1.7;
  }

  .section-title .title {
    white-space: normal;
    line-height: 1.5;
    padding: 8px 12px;
  }

  .article .article-title {
    font-size: 20px;
    line-height: 1.5;
    text-transform: none;
  }

  .article.row-article .article-img,
  .article.widget-article .article-img {
    float: none;
    width: 100%;
    max-width: 100%;
    margin-right: 0;
    margin-bottom: 15px;
  }

  .article.thumb-article .article-body {
    padding: 12px 15px;
  }

  .article .article-img .article-info {
    left: 10px;
    bottom: 10px;
  }
}

@media only screen and (max-width: 480px) {
  .button-nav > button {
    padding: 16px 12px;
  }

  p,
  article > p {
    font-size: 17px;
  }

  .article .article-info .article-category > a {
    padding: 0 10px;
    font-size: 11px;
  }
}

/* =====================================================
   Image optimization + mobile fit
   ===================================================== */

.article .article-img,
.article.widget-article .article-img,
.article.row-article .article-img {
  overflow: hidden;
}

.article .article-img picture,
.article.widget-article .article-img picture,
.article.row-article .article-img picture {
  display: block;
  width: 100%;
}

.article .article-img img,
.article.widget-article .article-img img,
.article.row-article .article-img img,
.footer-logo img,
#center-header .logo img,
.article-body img,
.text-justify img {
  display: block;
  max-width: 100%;
  height: auto;
}

.article-body img,
.text-justify img {
  width: auto;
}

@media only screen and (max-width: 767px) {
  .article .article-img {
    margin-bottom: 12px;
  }

  .article .article-img img,
  .article-body img,
  .text-justify img {
    border-radius: 4px;
  }

  .article-body img,
  .text-justify img {
    margin-left: auto;
    margin-right: auto;
  }
}

/* =====================================================
   Consistent thumbnail aspect ratios (card style)
   ===================================================== */

.article .article-img > a {
  display: block;
  width: 100%;
  overflow: hidden;
}

.article .article-img img {
  width: 100%;
  height: auto;
  display: block;
}

.angry-animate{
-webkit-animation:flipiny 1.6s ease 0s infinite normal;
-moz-animation:flipiny 1.6s ease 0s infinite normal;
-ms-animation:flipiny 1.6s ease 0s infinite normal;
animation:flipiny 1.6s ease 0s infinite normal;
}

@-webkit-keyframes flipiny {
0%{ opacity: 0; -webkit-transform: perspective(400px) rotateY(0deg); transform: perspective(400px) rotateY(90deg); }
40%{ -webkit-transform: perspective(400px) rotateY(0deg); transform: perspective(400px) rotateY(-10deg); }
70%{ -webkit-transform: perspective(400px) rotateY(0deg); transform: perspective(400px) rotateY(10deg); }
100%{ opacity: 1; -webkit-transform: perspective(400px) rotateY(0deg); transform: perspective(400px) rotateY(0deg); }
}

@keyframes flipiny {
0%{ opacity: 0; transform: perspective(400px) rotateY(90deg); }
40%{ transform: perspective(400px) rotateY(-10deg); }
70%{ transform: perspective(400px) rotateY(10deg); }
100%{ opacity: 1; transform: perspective(400px) rotateY(0deg); }
}

/* =====================================================
   Mobile image display – clean, minimal rules
   ===================================================== */

@media only screen and (max-width: 767px) {
  #center-header .logo img,
  #center-header .img-responsive {
    width: 100% !important;
    height: auto !important;
    max-height: 130px !important;
    object-fit: cover !important;
  }

  /* ---- Homepage article images: fixed height + crop ---- */

  /* Lead article image (inside .well box) */
  .well .article .article-img img,
  .well .article-img img {
    width: 100% !important;
    height: 180px !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
  }

  /* Standard section articles (نيشنل, انٽرنيشنل, etc.) */
  .article .article-img {
    overflow: hidden;
    margin-bottom: 10px;
  }

  .article .article-img img {
    width: 100% !important;
    height: 160px !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
  }

  /* Row-article (side-by-side on desktop, stacked on mobile) */
  .article.row-article .article-img img {
    height: 150px !important;
  }

  /* Widget/sidebar small thumbnails */
  .widget .article-img img,
  .article.widget-article .article-img img {
    height: 80px !important;
    object-fit: cover !important;
  }

  /* Inline content images (inside body text) */
  .article-body img,
  .text-justify img {
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
  }

  .single-news-content {
    background: #fff !important;
    color: #111 !important;
    line-height: 1.9 !important;
    font-size: 18px !important;
  }

  .single-news-content,
  .single-news-content p,
  .single-news-content span,
  .single-news-content div,
  .single-news-content li,
  .single-news-content strong,
  .single-news-content b,
  .single-news-content font {
    color: #111 !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .single-news-content a {
    color: #002873 !important;
  }

  .single-news-content p {
    display: block !important;
    margin-bottom: 14px !important;
    font-size: 18px !important;
    line-height: 1.95 !important;
  }

  .single-news-content .single-news-text,
  .single-news-content .single-news-text p,
  .single-news-content .single-news-text div,
  .single-news-content .single-news-text span,
  .single-news-content .single-news-text li {
    color: #111 !important;
    font-size: 18px !important;
    line-height: 1.95 !important;
  }

  .single-news-content .single-news-text br {
    display: inline;
  }

  .single-news-image {
    height: auto !important;
    max-height: 220px !important;
    object-fit: cover !important;
    object-position: center !important;
    margin-bottom: 14px !important;
  }
}

/* =====================================================
   Global all-pages mobile hardening
   ===================================================== */

@media only screen and (max-width: 767px) {
  .section .container[style*="width: 90%"],
  .container[style*="width: 90%"] {
    width: 100% !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .section .row,
  .container .row {
    margin-left: -8px !important;
    margin-right: -8px !important;
  }

  .section [class*="col-"],
  .container [class*="col-"] {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  .article-body,
  .article-body p,
  .article-body div,
  .article-body li,
  .text-justify,
  .text-justify p,
  .text-justify div,
  .text-justify li {
    font-size: 18px !important;
    line-height: 1.9 !important;
    color: #111 !important;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .article-body a,
  .text-justify a,
  .single-news-content a {
    word-break: break-word;
  }

  .panel-body .text-justify {
    font-size: 18px !important;
    line-height: 1.85 !important;
  }

  .article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-right: 0;
  }

  .article-meta li {
    float: none !important;
  }

  .widget .well img,
  .widget .row img.img-responsive {
    width: 100% !important;
    height: 78px !important;
    max-height: 78px !important;
    object-fit: cover !important;
    object-position: center !important;
  }

  .col-sm-8.col-sm-push-2 > img,
  .col-sm-8.col-sm-push-2 > img.img-responsive {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 70vh !important;
    object-fit: contain !important;
  }
}

  /* =====================================================
     Single news / single article mobile column fix
     col-md-8.pull-right collapses on mobile because
     pull-right = float:right !important (no breakpoint)
     but col-md width only kicks in at >= 992px.
     Reset to full-width block below 992px.
     ===================================================== */

  @media only screen and (max-width: 991px) {
    .col-md-8.pull-right {
      float: none !important;
      width: 100% !important;
      display: block !important;
    }

    .col-md-4 {
      float: none !important;
      width: 100% !important;
      display: block !important;
    }

    /* Single news image: full width, capped height */
    .single-news-content .single-news-image,
    .article-body.single-news-content img.img-responsive {
      width: 100% !important;
      height: auto !important;
      max-height: 260px !important;
      object-fit: cover !important;
      object-position: center top !important;
      display: block !important;
      margin: 0 auto 16px auto !important;
    }
  }

/* =====================================================
   Section heading links – fully tappable on all devices
   ===================================================== */
.section-title {
  position: relative;
  z-index: 1;            /* lift above :after pseudo-element */
}

.section-title .title a {
  display: block;
  color: inherit;
  text-decoration: none;
  position: relative;
  z-index: 2;            /* above any overlapping pseudo-elements */
  -webkit-tap-highlight-color: rgba(0, 40, 115, 0.15);
}

.section-title .title a:hover,
.section-title .title a:focus,
.section-title .title a:active {
  color: inherit;
  text-decoration: none;
  opacity: 0.85;
}

@media only screen and (max-width: 767px) {
  .section-title .title a {
    display: block;
    padding: 8px 12px;
    margin: -8px -12px;   /* expand tap target to cover full heading area */
    min-height: 44px;     /* iOS recommended minimum tap target */
    cursor: pointer;
  }
}

/* =====================================================
   Article title links – fully tappable on mobile
   The .article-img > a:after overlay (from style.css)
   covers the .article-body which sits position:absolute
   over the image. This blocks touch events on the title
   link. Fix: raise article-body and its links above the
   overlay, and disable pointer-events on the overlay for
   mobile so the title <a> receives taps.
   ===================================================== */

/* Ensure article-body sits above the image overlay */
.article .article-body {
  position: relative;
  z-index: 25;
}

/* Make article title links clearly tappable */
.article-title > a {
  position: relative;
  z-index: 26;
  display: block;
  -webkit-tap-highlight-color: rgba(0, 40, 115, 0.15);
}

@media only screen and (max-width: 767px) {
  /* Completely remove the image overlay on mobile – it's a hover effect, useless on touch */
  .article-img > a:after {
    display: none !important;
    content: none !important;
  }

  /* article-body: make it flow normally so titles are always visible */
  .article .article-body {
    position: relative !important;
    z-index: 25;
    padding: 10px 8px !important;
  }

  /* Larger tap target for article titles on mobile */
  .article-title > a {
    display: block;
    min-height: 44px;
    padding: 6px 0;
    line-height: 1.5;
    cursor: pointer;
  }

  /* Show description text on mobile too */
  .article-body p {
    display: block !important;
  }
}

/* =====================================================
   MOBILE THUMBNAIL LAYOUT — show images as small
   thumbnails beside the title on phones (<768px)
   MUST come LAST to override earlier full-width rules
   ===================================================== */

@media only screen and (max-width: 767px) {

  /* Each article card becomes a horizontal flex row */
  article.article {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    gap: 10px !important;
    margin-bottom: 12px !important;
    padding-bottom: 12px !important;
    border-bottom: 1px solid #eee !important;
  }

  /* Thumbnail image container — fixed small size */
  article.article .article-img {
    flex: 0 0 100px !important;
    width: 100px !important;
    min-width: 100px !important;
    max-width: 100px !important;
    height: 80px !important;
    max-height: 80px !important;
    overflow: hidden !important;
    border-radius: 4px !important;
    margin: 0 !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
  }

  /* The actual image — crop to thumbnail */
  article.article .article-img img {
    width: 100px !important;
    height: 80px !important;
    max-width: 100px !important;
    object-fit: cover !important;
    display: block !important;
  }

  /* Hide category/type overlay badges on tiny thumbnails */
  article.article .article-img .article-info {
    display: none !important;
  }

  /* Text body fills remaining space */
  article.article .article-body {
    flex: 1 1 0% !important;
    min-width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    position: static !important;
  }

  /* Compact title */
  article.article .article-body .article-title {
    font-size: 14px !important;
    line-height: 1.4 !important;
    margin: 0 0 4px 0 !important;
  }

  article.article .article-body .article-title a {
    font-size: 14px !important;
    min-height: auto !important;
    padding: 0 !important;
  }

  /* Compact meta date */
  article.article .article-body .article-meta {
    margin: 0 !important;
    padding: 0 !important;
  }

  article.article .article-body .article-meta li {
    font-size: 12px !important;
  }

  /* Force columns to full width on mobile */
  .col-sm-3.pull-right,
  .col-sm-3 {
    width: 100% !important;
    float: none !important;
  }
}

/* Slightly larger thumbnails on small tablets (480-767px) */
@media only screen and (min-width: 480px) and (max-width: 767px) {
  article.article .article-img {
    flex: 0 0 120px !important;
    width: 120px !important;
    min-width: 120px !important;
    max-width: 120px !important;
    height: 90px !important;
    max-height: 90px !important;
  }

  article.article .article-img img {
    width: 120px !important;
    height: 90px !important;
    max-width: 120px !important;
  }
}