/*
	Theme Name:   Jannah Child
	Theme URI:    http://jannah.tielabs.com/
	Description:  Jannh Child Theme
	Author:       TieLabs
	Author URI:   https://tielabs.com
	Template:     jannah
	Version:      1.0.2
	License:      license purchased
	License URI:  http://themeforest.net/licenses/regular_extended
	Tags:         Tags: two-columns, buddypress, left-sidebar, right-sidebar, custom-menu, editor-style, featured-images, full-width-template, microformats, rtl-language-support, sticky-post, threaded-comments, translation-ready
	Text Domain:  jannah-child
*/
blockquote.wp-block-quote, body a.leaflet-popup-close-button, .leaflet-control-zoom-in span, .leaflet-control-zoom-out span, #breadcrumb a {
  color: #000 !important;
}

/* write custom css after this line */
h1, .home .grid-4-big-first-half-second .grid-item:nth-child(1) .thumb-title {
  font-size: 30px;
}

h1 {
  line-height: 1.25em;
}

h2, #go-to-top span::before {
  font-size: 23px;
}

h3 {
  font-size: 20px;
}

.entry-header .entry-sub-title, .entry, a.shortc-button.medium, .entry p, .entry ul, h4, h5, h6 {
  font-size: 17px !important;
}

body, div.copyright-text, .more-link.button, #respond .form-submit input, .post-widget-body a.post-title, .widget_categories li a, #related-posts .related-item .post-title a, #smallSizePar, .entry td, .entry th, #breadcrumb, body .cat-counter a + span, .entry-header .post-meta .meta-item, div.post-meta, body .posts-list-counter li.widget-post-list::before, .share-title span {
  font-size: 15px;
}

#buttonBelowTxt, #finalNote {
  display: inline-block;
  line-height: 1.5em;
  font-style: italic;
  font-size: 13px !important;
}

#buttonBelowTxt {
  margin-top: 2px;
}

.entry td, .entry th {
  line-height: 1.6em;
}

table thead th {
  background-color: transparent !important;
}

h2 {
  background: #f6f6f6;
  padding: 10px 17px;
  line-height: 1.2em;
}

blockquote.wp-block-quote, .custom-affix-top, .custom-affix-bottom, .responsive-table, h2.wp-block-heading {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

blockquote.wp-block-quote {
  background: #fff;
  padding: 0 !important;
  gap: 14px;
}

.entry p.good_bad {
  font-weight: bold;
  margin-bottom: 2px;
}

blockquote.wp-block-quote p {
  line-height: 1.6em !important;
}

body .thumb-overlay .thumb-title a {
  color: #000 !important;
}

.entry-header .entry-title {
  line-height: 1.2em;
}

body table tr:nth-child(2n) {
  background: transparent !important;
}

body .entry table tbody td {
  border-top: 1px solid rgba(0,0,0,0.1);
  border-bottom: transparent;
  border-right: transparent;
  border-left: transparent;
}

body table tr td:first-child {
  border-right: 1px solid rgba(0,0,0,0.1);
}

#faqBlock p:last-child {
  margin-bottom: 25px;
}

.mmp-list, .post-bottom-meta.post-bottom-edit {
  display: none;
}

#finalLink .externalLink {
  margin-left: 7px;
  top: 1.5px;
  position: relative;
}

#finalLinkArrow {
  top: 7px;
  position: relative;
  margin-right: 7px;
}

.entry, .entry p {
  line-height: 1.7em !important;
}
/* cntraveller: #9D6C04 */
a, .entry a, a:hover {
  color: #d66806 !important;
}

.entry a, .lwptoc-light .lwptoc_i a, a:hover, .post-title a:hover {
  text-decoration: underline !important;
}

.entry a:hover, h2 a:hover, .schoolMapLink:hover, .post-title a, #breadcrumbHome:hover, a.shortc-button, a.leaflet-popup-close-button, a.leaflet-control-zoom-in, a.leaflet-control-zoom-out  {
  text-decoration: none !important;
}

#footer a, #share-buttons-bottom a {
  color: #fff !important;
}

a.more-link.button {
  color: #212529 !important;
}

#breadcrumbHome {
  margin-right: 6px;
  top: 1.5px;
  position: relative;
}

#breadcrumb, #breadcrumb a:not(:hover) {
  color: #777;
}

.single-big-img {
  margin-top: 0;
}

#tie-body .mag-box-title h3, .close-side-aside::before {
  color: #333 !important;
}

#tie-body .mag-box-title::after, #tie-body #footer .widget-title::after, #main-nav .menu ul li.current-menu-item:not(.mega-link-column) > a {
  background-color: #2c2f34 !important;
}

.more-link.button, #respond .form-submit input {
  color: #212529;
  padding: 5px 13px;
}

.posts-list-counter li.widget-post-list::before, .cat-counter a + span, body #main-nav .menu > li.tie-current-menu > a, body #main-nav .menu > li:hover > a,body #main-nav .menu li.menu-item-has-children > a::before {
  color: #212529 !important;
  font-weight: normal;
}

#go-to-top span::before {
  top: 4px;
  position: relative;
  color: #2c2f34;
}

.post-title a:hover, .meta-author a:hover, .post-widget-body a:hover, .tie-widget-categories a:hover, #breadcrumb a:hover, body #main-nav .menu ul:not(.cats-horizontal) li:hover > a {
  color: #326891;
}

#search-input::placeholder, #search-input { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #2c2f34 !important;
  opacity: 1; /* Firefox */
}

#search-input::-ms-input-placeholder, #search-input { /* Microsoft Edge */
  color: #2c2f34 !important;
}

body .posts-list-counter li.widget-post-list::before {
  background-color: #fff;
  border-color: #f6ae25;
  font-weight: 700;
  outline: 3px solid #fff;
  outline-offset: -1px;
  border-width: 2px;
}

#story-highlights {
  width: 100%;
  max-width: none;
}

.externalLink{
  margin-left: 10px;
}

.externalLink img {
  width: 19px;
  position: relative;
  top: 2px;
}

.externalLink img {
  -webkit-filter: invert(1);
  filter: invert(1);
}

a:hover .externalLink img {
  filter: none;
}

#finalNote {
  margin-bottom: 0;
}

a.shortc-button.green {
  background-color: #fff;
  line-height: 1.6em;
}

.is-fixed .theiaStickySidebar {
  top: 10px;
}

@supports (-moz-appearance:meterbar) {
  body .posts-list-counter li.widget-post-list:before {
    border-width: 3px;
  }
}

/* Start rating based on => https://dev.to/afif/scalable-star-rating-without-js-and-no-svg-or-image-for-the-star-2mef */
.starRating {
  --s:40px;
  width:calc(var(--n,5)*var(--s));
  height:calc(var(--s)*0.9);
  --v1:transparent,#000 0.5deg 108deg,#0000 109deg;
  --v2:transparent,#000 0.5deg  36deg,#0000  37deg;
  -webkit-mask:
  conic-gradient(from 54deg  at calc(var(--s)*0.68) calc(var(--s)*0.57),var(--v1)),
  conic-gradient(from 90deg  at calc(var(--s)*0.02) calc(var(--s)*0.35),var(--v2)),
  conic-gradient(from 126deg at calc(var(--s)*0.5)  calc(var(--s)*0.7) ,var(--v1)),
  conic-gradient(from 162deg at calc(var(--s)*0.5)  0                  ,var(--v2));
  -webkit-mask-size: var(--s) var(--s);
  -webkit-mask-composite: xor,destination-over;
  mask-composite: exclude,add;
  background:
  linear-gradient(gold 0 0) 0/calc(var(--l,0)*var(--s)) 100% no-repeat
  #ccc;
  display: inline-block;
  position: relative;
  top: 4px;
  margin-right: 7px;
}

/** AFFIX **/
.custom-affix-top {
  top: 0;
}

.custom-affix-bottom {
  top: auto;
  bottom: 0;
}

.custom-affix-top, .custom-affix-bottom {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99;
  background-color: #fff;
  width: 101%;
  justify-content: center;
  padding: 17px 0;
}

.custom-affix-top {
  box-shadow: rgba(99,99,99,0.2) 0px 2px 8px 0px;
}

.custom-affix-bottom {
  box-shadow: rgba(99,99,99,0.2) 0px 2px 14px 0px;
}

#main-nav.dynamic-box-shadow, div.logo-container.dynamic-box-shadow {
  box-shadow: rgba(99,99,99,0.2) 0px 2px 8px 0px;
}

span.custom-affix-top a.shortc-button {
  margin: 44px 12px 0;
}

span.custom-affix-bottom a.shortc-button {
  margin: 0 12px 0;
}

 a.shortc-button.green {
  margin: 0;
  background-color: #fff !important;
  color: #000 !important;
  border: 4px solid #000;
  border-radius: 0;
  transition: none;
  padding: 11px 25px;
}

 a.shortc-button.green:hover {
  background-color: #000 !important;
  color: #fff !important;
  box-shadow: none;
}

.theme-header .fixed-nav {
  background-color: #fff;
}

.custom-affix-top .externalLink img {
  top: 2px;
}

@media (max-width: 394px) {
  #finalLink .externalLink {
    display: none;
  }
}

@media (min-width: 479px) {
  .about-author.container-wrapper.about-author-2 {
    display: flex;
    align-items: center;
  }
}

@media (max-width: 765px) {
  body .entry table tbody td {
    height: 40px !important;
  }

  .responsive-table {
    flex-direction: column;
  }

  .responsive-table tr td:first-child {
    width: 43%;
  }
}

@media (min-width: 766px) {
  table tr:last-child td {
    border-bottom: 1px solid rgba(0,0,0,0.1) !important;
  }

  .rightPartTable table {
    border-left: 1px solid rgba(0,0,0,0.1);
  }
  .responsive-table tr:not(:first-child) td {
    height: 65px;
  }
  .responsive-table strong {
    white-space: nowrap;
  }
}

@media (max-width: 920px) {
  .entry p.watchRev {
    font-size: 20px !important;
    line-height: 1.2em !important;
    margin-bottom: 13px !important;
  }

  div.lyte-wrapper {
    width: 97% !important;
  }

  .starRating {
    display: block;
    margin-bottom: 7px;
  }
  
  body .entry table tbody td {
    height: 64px !important;
  }
}

@media (min-width: 1025px) {
  .theme-header .fixed-nav {
    box-shadow: none;
  }

  .entry .wp-block-columns.debbieAbout {
    gap: 0.5em;
    margin-bottom: 15px;
  }
}

@media (max-width: 1024px) {
  h2.wp-block-heading {
    padding: 12px;
  }

  span#finalLink {
    text-align: center;
    margin-top: 8px;
  }

  .entry div.wp-block-columns.debbieAbout {
    gap: 0em;
    margin-bottom: 25px;
  }

  /* UK section in homepage  */
  #tie-block_1646 {
    margin-top: 0;
  }

  .mag-box.wide-post-box.top-news-box {
    margin-top: 24px;
  }

  .mag-box .posts-items li {
    margin-bottom: 17px;
  }

  #subTitle {
    line-height: 1.4em;
    margin-top: 5px;
  }

  #debbieIntro img {
    left: 50%;
    position: relative;
    transform: translateX(-50%);
    margin-bottom: 11px;
    margin-top: 21px !important;
    width: 41%;
  }

  body.magazine2 div.mag-box {
    margin-bottom: 7px;
  }

  .entry p {
    line-height: 1.6em !important;
  }

  .entry-header h1.entry-title {
    font-size: 25px;
  }

  h2 {
    font-size: 20px;
  }

  h3 {
    font-size: 19px;
  }
  
  .mmp-map {
    height: 200px !important;
  }
}
/** /AFFIX **/

.thumb-content {
  padding: 10px;
}

.thumb-title {
  padding: 0;
}

body .thumb-overlay .thumb-title a, .thumb-overlay .thumb-title a {
  color: #fff !important;
}

.grid-slider-wrapper .thumb-title {
  background-color: transparent;
}

div.rl-gallery-container ul, div.rl-gallery-container ul li {
  list-style: none;
  padding: 0;
  margin-left: 0;
}

ul.sy-pager li {
  margin: 0 1em 0 0;
}

.sy-filler {
  /* Images have to fix its aspect ratio to 3:2 (2/3 = 0,6666) => https://alistapart.com/article/creating-intrinsic-ratios-for-video/ */
  padding-top: 66.66% !important;
}
/**/

#bottomTable table, .noMarginBottom {
  margin-bottom: 0;
}

#bottomTable {
  margin-bottom: 6px;
}

body .entry table tbody td {
  vertical-align: top;
  height: 40px;
}

#tie-body .mag-box-title::before, #tie-body .mag-box-title::after {
  border-top-color: #2c2f34 !important;
}

body.post-layout-7 div.fullwidth-entry-title, .full-width header.entry-header-outer {
  text-align: left;
}

.wp-block-image figcaption {
  text-align: left;
  margin-top: 3px;
}

.rl-gallery-container {
  max-width: 700px;
}

.entry .wp-block-separator {
  border-top: 1px solid #dadada;
  border-bottom: none;
}

#schoolMap {
  position: absolute;
  bottom: 180px;
}

.home .container {
  max-width: 1170px;
}

.magazine2 div.mag-box {
  margin-bottom: 22px;
}

#debbieIntro {
  bottom: 5px;
  position: relative;
  font-style: italic;
}

.trending-post.tie-icon-bolt.trending-lg, .post-is-trending, .entry-header .author-name.tie-icon::before, .post-thumb .post-cat-wrap, .rl-gallery-caption {
  display: none;
}

.page .entry-header-outer {
  padding-bottom: 0 !important;
}

/* WPForms */
input.wpforms-field-required, .wpforms-field-medium {
  border: 1px solid #2e2e2e !important;
  padding: 10px !important;
}

.wpforms-field-row.wpforms-field-medium {
  border: none !important;
  padding: 0 !important;
}

#wpforms-1398 {
  margin: 0;
}

.wpforms-field-row.wpforms-field-medium, #wpforms-1398-field_1 {
  max-width: none !important;
}

#wpforms-1398-field_1-error {
  margin-top: 8px;
}

.wpforms-head-container, .wpforms-error::before {
  display: none !important;
}

.wpforms-error {
  color: red !important;
  line-height: 1.2em !important;
  padding-left: 0 !important;
}

.wpforms-required-label {
  color: red !important;
}

#wpforms-1398-field_0-container, #wpforms-1398-field_1-container {
  padding-bottom: 0;
}

#wpforms-submit-1398 {
  color: #212529;
  background-color: #f6ae25;
  padding: 10px 22px;
  border-radius: 2px;
  margin-top: 11px;
  font-weight: bold;
}

.hrNoMb {
  margin-bottom: 7px !important;
}

.hrNoMt {
  margin-top: 7px !important;
}

.responsive-table {
  flex-wrap: nowrap;
}

.responsive-table > div {
  flex: 0 0 50%;
}

.responsive-table {
  margin-bottom: 4px;
}

.responsive-table table {
  margin-bottom: 0;
}

#finalLink {
  margin-top: 10px;
  display: inline-block;
}

#finalLink a {
  white-space: wrap;
}

.numRank {
  height: 27px;
  min-width: 34px;
  display: inline-block;
  text-align: center;
  margin-right: 9px;
  color: #000;
  font-size: 20px;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  border: 3px solid #000;
  line-height: 1.1em;
  top: 1.5px;
  position: relative;
}

.sc_addr {
  display: block;
  margin-bottom: 20px;
  font-size: 15px;
}

.cityPageEmbed {
  text-align: center;
}

.lyte-wrapper {
  width: 65% !important;
  margin: 0 auto !important;
}

.cityPageEmbed.wp-block-image .wp-element-caption {
  margin-top: 1px;
  line-height: 1.2em;
}

.cityPageEmbed.wp-block-image .lL {
  display: none;
}

p.smallMargin {
  margin-bottom: 10px !important;
}

.linkToSchool {
  margin-top: 10px;
  margin-bottom: 15px;
  display: inline-block;
  line-height: 1.5em;
  transform: translateX(-50%);
  left: 50%;
  position: relative;
}

.author-bio {
  display: none;
}

p.mapAddrTxt {
  margin-bottom: 0 !important;
  font-size: 13px !important;
  margin-top: 9px;
  line-height: 1.2em !important;
  color: #555;
}

.more-link.button {
  text-decoration: none !important;
}

.wp-block-image img {
  width: 100%;
}

p.watchRev {
  font-size: 20px !important;
}

.actionBtn, p.watchRev {
  text-align: center;
}