@font-face {
  font-family: QafilahRegular;
  src: url('../../assets/fonts/NassimArabic.ttf');
}
@font-face {
  font-family: QafilahBold;
  src: url('../../assets/fonts/Sareeh-SemiBold.otf') format('opentype');
}
body {
  font-family: QafilahRegular, Arial;
  font-size: 1.4rem;
  line-height: 1.9;
}

h1, h2, h3, h4, h5, h6, .title, .label {
  font-family: QafilahBold;
}

@media screen and (min-width: 770px) {
  .container>.navbar .navbar-brand, .navbar>.container .navbar-brand {
      margin-right: 0;
      margin-left: 2rem;
      margin-top: 10px;
  }
}

@media screen and (min-width: 770px) {
  .navbar-start {
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    margin-right: 0;
    margin-left: auto;
  }
}

@media screen and (min-width: 770px) {
  .navbar-end {
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    margin-right: auto;
    margin-left: 0;
  }
}

@media screen and (min-width: 770px) {
  .navbar {
    min-height: 4rem;
  }
}

.navbar-burger {
  margin-right: auto;
  margin-left: 0;
}

.navbar-menu {
  font-size: 1.25rem;
  font-weight: 400;
}

.navbar-item {
  color: #999999;
}

#navbarMenu .is-active {
  background: transparent;
  border-bottom: 5px solid #666666;
}

.navbar.has-shadow {
  -webkit-box-shadow: 0 5px 10px rgba(10,10,10,.1);
  box-shadow: 0 5px 10px rgba(10,10,10,.1);
}

.section {
  padding: 2.5rem 1.5rem 0 1.5rem;
}

.issue-title {
  padding-top: 1rem;
  font-size: 1.2rem;
}

.mega-menu {
  margin-top: 0;
  border: 0;
  border-radius: 0;
  background: rgba(255,255,255,.95);
  padding-top: 35px;
  padding-bottom: 35px;
  right: 0;
  left: auto;
}
.navbar-dropdown a.navbar-item {
  padding-left: 3rem;
  padding-right: 1rem;
  font-size: 1rem;
}
.navbar-item img {
  max-height: 128px;
}
.media {
  padding: 15px;
  margin: 15px;
}
.media-content {
  text-align: right;
}
.box {
  background-color: transparent;
  border-radius: 5px;
  -webkit-box-shadow: 0 2px 3px rgba(10,10,10,0.06),0 0 0 1px rgba(10,10,10,0.06);
  box-shadow: 0 2px 3px rgba(10,10,10,0.06),0 0 0 1px rgba(10,10,10,0.06);
}

.custom-logo-link {
  width: 175px;
}

/* Footer */
.footer {
  background-color: black;
}

/* Home Page Tiles */
.box-home {
  background-color: #fff;
  border-radius: 0;
  -webkit-box-shadow: 0 2px 3px rgba(10,10,10,0), 0 0 0 1px rgba(10,10,10,0);
  box-shadow: 0 2px 3px rgba(10,10,10,0), 0 0 0 1px rgba(10,10,10,0);
  color: #4a4a4a;
  display: block;
  padding: 0;
}

.box-main {
  height: 100%;
  overflow: hidden;
  margin: 0 auto;
  position: relative;
}

.box-home .image img {
  height: 100%;
}

.box-child {
  height: auto;
  overflow: hidden;
  margin: 0 auto;
  position: relative;
}

@media screen and (min-width: 770px) {
  .box-child {
    height: 21vw;
  }
}

.box-mid {
  height: auto;
  overflow: hidden;
  margin: 0 auto;
  position: relative;
  margin-top: 10px;
}

@media screen and (min-width: 770px) {
  .box-mid {
    height: 17vmin;
  }
}

@media screen and (min-width: 770px) {
  .box-high {
    height: auto;
  }
}

.box-child .over, .box-main .over {
  bottom: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0, 0, 0, 0),  rgba(0, 0, 0, 0),  rgba(0, 0, 0, 0));
}

.sub-wrap {
  bottom: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0, 0, 0, 0),  rgba(0, 0, 0, 0),  rgba(0, 0, 0, 0));
}

.home-title {
  color: white;
}

.content h1 {
  font-size: 1.8em;
  margin-bottom: 0.5em;
  margin-top: 0.5em;
}

@media screen and (max-width: 769px) {
  .home-wrap {
    right: 10px;
  }
  .home-wrap .home-title {  
    font-size: 1.3rem;
    margin-bottom: 0.5em;
    margin-top: 0.5em;
  }
  .content h1:not(:first-child) {
    margin-top: 10px;
  }
  .home-wrap .tag:not(body).is-medium {
    font-size: 0.8rem;
  }
}

.home-wrap {  
  bottom: 5px;
  right: 25px;
  position: absolute;
}

.excerpt-mid {
  margin-top: 15px;
}

.content.is-small {
  font-size: 1rem;
  line-height: 1.4;
}

/* Archive */
@media screen and (min-width: 770px) {
  .grid-item {
    width: 30%;
  }
}
.grid-item {
  margin-bottom: 25px;
}
.boxRide {
  background-color: white;
  border-radius: 5px;
  -webkit-box-shadow: 0 8px 8px rgba(10, 10, 10, 0.05), 0 0 0 1px rgba(10, 10, 10, 0.05);
  box-shadow: 0px 0px 8px 8px rgba(10, 10, 10, 0.05), 0 0 0 1px rgba(10, 10, 10, 0.05);
  color: #4a4a4a;
  display: block;
  border: 0;
}
.fixed-height {
  height: auto;
  overflow: hidden;
  margin: 0 auto;
  position: relative;
  top: 15px;
  margin: 0 15px 0 15px;
}
.archive-tag {
  bottom: 15px;
  right: 15px;
  position: absolute;
}
.tag a {
  color: white;
}
.card-content {
  font-size: 0.8em;
}
.select:not(.is-multiple)::after {
  left: 1.125em;
  right: auto;
}
.field.has-addons .control:last-child .button, .field.has-addons .control:last-child .input, .field.has-addons .control:last-child .select select {
  border-bottom-right-radius: 0;
  border-top-right-radius: 0;
  border-bottom-left-radius: 3px;
  border-top-left-radius: 3px;
}
.timeline .timeline-item {
  margin-left: 0;
  margin-right: 2em;
  padding-bottom: 1em;
}
.timeline .timeline-item .timeline-content .heading {
  font-weight: 400;
}
.heading {
  font-size: 0.6em;
}
.timeline .timeline-item::before {
  right: 0;
}

.timeline .timeline-item .timeline-marker {
  right: -7px;
  left: 0;
}

.timeline .timeline-item .timeline-content {
  padding: 1em 15px 0 2em;
}

/* Post */
.post-title {
  margin-top: 25px;
}
.post-title > h1, .post-title > h2, .post-title > h3, .post-title > h4 {
  color: #00d1b2;
}
.content p:not(:last-child) {
  margin-top: 20px;
  margin-bottom: 20px;
}
.post-height {
  overflow: hidden;
  margin: 0 auto;
  position: relative;
  top: 25px;
  margin-bottom: 35px;
  height: 100%;
}
/* @media screen and (min-width: 770px) {
  .post-height {
    height: 550px;
  }
} */
/* @media screen and (min-width: 770px) {
  .post-height img.wp-post-image {
    left: 50%;
    margin-left: -50%;
    top: 50%;
    margin-top: -30%;
    position: absolute;
  }
} */
.icon {
  margin-left: 15px;
}
@media screen and (min-width: 770px) {
  .single-content {
    padding: 0 125px 0 125px;
  }
}
@media screen and (min-width: 770px) {
  .wp-block-image .alignleft, figure.alignleft, img.alignleft {
    padding: 15px;
    margin-top: 15px;
    margin-right: 15px;
    margin-bottom: 15px;
    margin-left: -7em;
    float: left !important;

  }
  .wp-block-image .alignright, figure.alignright, img.alignright {
    padding: 15px;
    margin-top: 15px;
    margin-right: -7em;
    margin-bottom: 15px;
    margin-left: 15px;
    float: right !important;
  }
  blockquote figure.alignleft, blockquote img.alignleft {
    padding: 15px;
    margin: 0;
    float: left !important;
  }
  blockquote figure.alignright, blockquote img.alignright {
    padding: 15px;
    margin: 0;
    float: right !important;
  }
}
.wp-caption-text {
  text-align: center;
  font-size: 0.80rem;
}
.content blockquote {
  background-color: #f5f5f5;
  border-left: 0;
  border-right: 5px solid #dbdbdb;
  padding: 1.25em 1.5em;
}
@media screen and (min-width: 770px) {
  blockquote.block-left {
    border: 1px solid #efefef;
    margin: 15px 20px 15px -4em;
    float: left !important;
    max-width: 400px;
    position: relative;
    background-color: #fafafa;
    font-size: 1.6rem;
  }
  blockquote.block-right {
    border: 1px solid #efefef;
    margin: 15px -4em 15px 15px;
    float: right !important;
    max-width: 400px;
    position: relative;
    background-color: #fafafa;
    font-size: 1.6rem;
  }
  blockquote.block-right:before, blockquote.block-left:before { 
    content: open-quote; 
    font-size: 5em;
    font-family: 'Droid Serif', serif;
    display: block;
    content: "\201C";
    position: absolute;
    right: -30px;
    top: -30px;
    color: #7a7a7a;
  }
}
.related-topics {
  font-size: 0.6em;
}
pre {
 background-color: transparent;
}
.force-ltr {
 direction: ltr;
}
/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
@media screen and (min-width: 770px) {
    
  .gallery {
    margin: -0.05em;
  }
  .gallery:after {
    display: table;
    content: "";
    clear: both;
  }

  .gallery-item {
    margin: 0;
    float: right;
    padding: 0.05em;
  }

  .gallery-item img {
    width: 100%;
  }

  .gallery-columns-1 .gallery-item {
      width: 85%;
      float: none;
  }
  .gallery-columns-2 .gallery-item {
      width: 45%
  }
  .gallery-columns-3 .gallery-item {
      width: 30%
  }
  .gallery-columns-4 .gallery-item {
      width: 22.5%
  }
  .gallery-columns-5 .gallery-item {
      width: 17.5%
  }
  .gallery-columns-6 .gallery-item {
      width: 15%
  }
  .gallery-columns-7 .gallery-item {
      width: 12.8571%
  }
  .gallery-columns-8 .gallery-item {
      width: 11.25%
  }
  .gallery-columns-9 .gallery-item {
      width: 10%
  }

  .gallery-columns-2 .gallery-item:nth-child(2n+1),
  .gallery-columns-3 .gallery-item:nth-child(3n+1),
  .gallery-columns-4 .gallery-item:nth-child(4n+1),
  .gallery-columns-5 .gallery-item:nth-child(5n+1),
  .gallery-columns-6 .gallery-item:nth-child(6n+1),
  .gallery-columns-7 .gallery-item:nth-child(7n+1),
  .gallery-columns-8 .gallery-item:nth-child(8n+1),
  .gallery-columns-9 .gallery-item:nth-child(9n+1) {
    clear: right;
  }

  figure.gallery-item {
    margin-top: 2em;
    margin-bottom: 1em;
    margin-left: 0.55em;
    margin-right: 0.55em;
  }
}
@media screen and (max-width: 769px) {
  .content figure:first-child {
    margin-top: 1em;
  }
}
/* Comments */
.listHead {
  margin-top: 35px;
  padding: 15px;
  background-color: #ededed;
  border-bottom: #dddddd 5px solid;
}
.listHead .title {
  margin-bottom: 0;
}
.comments-list {
  padding: 0 25px 0 25px;
}
ul.comments-list li {
  padding: 10px;
}
ul.comments-list li:nth-child(even) {
  background-color: whitesmoke;
}
.comment-metadata a time {
  font-size: 18px;
}
label.error {
  color: red;
}
input.error, textarea.error {
  border: 1px solid red;
}
.comment-awaiting-moderation {
  color: green;
  font-style: italic;
}
/* Footer */
.footer-under {
  border-bottom: solid 2px whitesmoke;
  padding-bottom: 5px;
  margin-bottom: 10px;
}