/*
Theme Name:  Custom Theme
Theme URI: 
Author: Socail Pie
Author URI: https://socialpie.io/
Text Domain: socail-pie-theme
Description:  Custom Theme Theme is a modernized take on an ever-popular WordPress layout ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â the horizontal masthead with an optional right sidebar that works perfectly for blogs and websites. It has custom color options with beautiful default color schemes, a harmonious fluid grid using a mobile-first approach, and impeccable polish in every detail.  Custom Theme will make your WordPress look beautiful everywhere.
Version: 1.0
Requires at least: 5.0
Requires PHP: 7.0
License: GNU General Public License v2 or later
*/
:root{
  --primary_col: #466052;
  --primary_font: "Roboto", sans-serif;
  --secondary_col: #2D2E30;
  --body_col: #25282A;
  --urdu_font: "Noto Nastaliq Urdu", serif;
    /*--text-color1 : #282828;*/
    /*--primary_col_var: #D7FFF0;*/
    /**/
    /*--gray: #F5F3F7;*/
    /*--heading_col: #171717;*/
    /**/
    /*--secondary_col_var : #F5F9F8;*/
}
*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--primary_col);
    --bs-btn-border-color: var(--primary_col);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--secondary_col);
    --bs-btn-hover-border-color: var(--secondary_col);
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--secondary_col);
    --bs-btn-active-border-color: var(--secondary_col);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: var(--primary_col);
    --bs-btn-disabled-border-color: var(--primary_col);
}
.aligncenter {
    margin-left: auto;
    margin-right: auto;
    display: block;
}
.fs-18 {
    font-size: 1.125rem;
}
body {
  font-size: 1em;
  font-family: var(--primary_font);
  color: var(--body_col);
  overflow-x: hidden;
}
body a,
body a:hover {
  color: var(--body_col);
}
body img {
  max-width: 100%;
  height: auto;
}
.ur-text {
    font-family: var(--urdu_font);
}
.bg-primary {
    background: var(--primary_col) !important;
}
@media (max-width: 999px) {
 body {
   font-size: 0.938em;
 }
}
@media (max-width: 768px) {
 body {
   font-size: 0.875em;
 }
}
body .container {
  /* max-width: 1080px; */
  margin: 0 auto;
  /* padding: 0 1.094em; */
}
@media (max-width: 1500px) {
  body .container {
    max-width: 95%;
  }
}

body header#masthead {
  position: relative;
  background: var(--secondary_col);
}
@media (max-width: 500px) {
  body header#masthead .mh-wrap .site-logo a {}
}
body header#masthead {
  background: var(--primary_col);
}
body header#masthead ul.menu-wrapper {}
body header#masthead ul.menu-wrapper > li {
    position: relative;
}
body header#masthead ul.menu-wrapper > li > a {
  color: #fff;
  font-family: var(--primary_font);
  font-weight: 400;
  font-size: 1.125em;
  padding: 0.3em;
  margin: 0 0.5em;
  text-decoration: none;
}
body header#masthead ul.menu-wrapper > li.ur-text {
    margin-top: -3px;
}
body header#masthead ul.menu-wrapper > li.ur-text > a {
    font-family: var(--urdu_font);
    line-height: 1;
}
body header#masthead .main-menu ul.menu-wrapper > li .sub-menu {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  transition: all 0.3s;
  background: #fff;
  border-radius: 4px 4px 16px 16px;
  box-shadow: 0px 4px 40px 0px #00000014;
  padding: 0;
  left: 17%;
  width: 14.5em;
  /* transform: translateX(-50%); */
  z-index: 999;
  list-style: none;
  top: 2.3rem;
  overflow: hidden;
}
body header#masthead .main-menu ul.menu-wrapper li > .sub-menu {
  visibility: hidden;
  opacity: 0;
}
body header#masthead ul.menu-wrapper > li .sub-menu li {
  /* margin-bottom: 0.3em; */
}
body header#masthead ul.menu-wrapper > li .sub-menu li:last-child {
  margin-bottom: 0;
}
body header#masthead .main-menu ul.menu-wrapper > li .sub-menu li a {
  /*text-decoration: none;*/
  /*color: #000;*/
  text-decoration: none;
  padding: 0.7em 1.1em;
  display: block;
  border-bottom: 1px solid #ddd8d8;
  transition: all 0.3s;
}
body header#masthead ul.menu-wrapper > li .sub-menu li a:hover {
  background: var(--primary_col);
  color: #fff;
}
body header#masthead ul.menu-wrapper > li button.sub-menu-toggle {
  /*display: none;*/
}
body header#masthead ul.menu-wrapper > li.menu-item-has-children > a:after {
  /*content: "\f078";*/
  /*font-family: "FontAwesome";*/
  /*margin-left: 0.6em;*/
}
body header#masthead ul.menu-wrapper > li.highlighted-menu > a {
  /*color: var(--primary_col);*/
  /*font-weight: 700;*/
}
body header#masthead ul.menu-wrapper > li {
  /*margin-right: 1em;*/
  /*position: relative;*/
}
body header#masthead ul.menu-wrapper > li > a {
  /*display: inline-block;*/
}
body header#masthead ul.menu-wrapper > li:last-child {
  /*margin-right: 0;*/
}
body header#masthead ul.menu-wrapper > li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
}
body header#masthead .search-btn button {
  font-size: 1.25em;
  color: #FBF24F;
}
body header#masthead .header-search {width: 100%;/* height: 100%; */top: 0;bottom: 0;margin: auto;display: flex;align-items: center;}
body header#masthead .header-search form.search-form {
  width: 100%;
}
body header#masthead .header-search form.search-form:before {
  content: "\f002";
  font-family: "FontAwesome";
  position: absolute;
  left: 0.6em;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
}
body header#masthead .header-search form.search-form > label {
  display: block;
}
body header#masthead .header-search form.search-form input[type="text"] {
  padding: 0.5em 2.1em;
  outline: 0;
  border-radius: 8px;
  width: 100%;
  border: 0;
}
body header#masthead .header-search .hide-search {
  position: absolute;
  top: 0;
  right: 0.7em;
  bottom: 0;
  display: flex;
  align-items: center;
}
body header#masthead .header-search .hide-search button {
  font-size: 1.3em;
  line-height: 1;
  background: transparent;
  border: 0;
}
body header#masthead .menu-col {
  position: relative;
}
body header#masthead .mobile-menu {
  display: none;
}
body header#masthead .mobile-menu .mobile-menu-toggle {
  background: transparent;
  border: 0;
  padding: 0;
  /* position: absolute; */
  /* right: 5%; */
  /* top: 0; */
  outline: 0;
  /* bottom: 0; */
}
body header#masthead .mobile-menu .mobile-menu-toggle > div:first-child {
  margin: 0 0.5em;
}
body header#masthead .mobile-menu .mobile-menu-toggle span {
  height: 2px;
  width: 1.3em;
  background: #ffffff;
  display: block;
  margin-bottom: 0.3em;
  margin-left: 0em;
  transform: rotate(0deg);
  transition: 0.4s;
}
body header#masthead .mobile-menu .mobile-menu-toggle span:last-child {
  margin-bottom: 0;
}
body
  header#masthead
  .mobile-menu
  .mobile-menu-toggle.close
  span:not(.label):nth-child(1) {
  transform: rotate(45deg);
  transition: 0.4s;
  position: relative;
  top: 6px;
}
body
  header#masthead
  .mobile-menu
  .mobile-menu-toggle.close
  span:not(.label):nth-child(2) {
  display: none;
}
body
  header#masthead
  .mobile-menu
  .mobile-menu-toggle.close
  span:not(.label):nth-child(3) {
  transform: rotate(-45deg);
  transition: 0.4s;
  position: relative;
  top: -2px;
}
body header#masthead .mobile-menu .mm-panel {
  display: none;
  position: absolute;
  top: 100%;
  z-index: 99;
  background: #fff;
  box-shadow: 2px 5px 10px #b64e414d;
  width: 88%;
  margin: 0 auto;
  left: 0;
  right: 0;
}
body header#masthead .mobile-menu .mm-panel .container {
  padding: 0;
}
body header#masthead .mobile-menu .mm-panel ul.menu-wrapper {
  padding: 0;
  display: block;
}
body header#masthead .mobile-menu .mm-panel ul.menu-wrapper li {
  list-style: none;
  border-bottom: 1px solid #cfcfcf;
  position: relative;
  display: block;
  margin-right: 0;
}
body header#masthead .mobile-menu .mm-panel ul.menu-wrapper li:last-child {
  border-bottom: 0;
}
body header#masthead .mobile-menu .mm-panel ul.menu-wrapper li a {
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  padding: 0.9em 0.7em;
  display: block;
  line-height: 1;
  letter-spacing: 1px;
  transition: 0.3s;
  color: var(--body_col);
  text-align: left;
}
body header#masthead .mobile-menu .mm-panel ul.menu-wrapper li a:hover {
  background: var(--secondary_col);
  color: #fff;
  transition: 0.3s;
}
body header#masthead .mobile-menu .mm-panel ul.menu-wrapper li a:after {
  display: none;
}
body header#masthead .mobile-menu .mm-panel ul.menu-wrapper .sub-menu {
  padding-left: 2rem;
}
body
  header#masthead
  .mobile-menu
  .mm-panel
  ul.menu-wrapper
  li
  .sub-menu-toggle {
  display: none;
}
body header#masthead .mobile-menu .mm-panel ul.menu-wrapper li .chevron-child {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  height: 2em;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.9em;
  /* border-left: 1px solid #cfcfcf; */
  font-size: 1.5em;
  background: #fff;
  transition: 0.3s;
  color: #000;
}
body
  header#masthead
  .mobile-menu
  .mm-panel
  ul.menu-wrapper
  li
  .chevron-child:hover {
  /* background: var(--secondary_col); */
  /* transition: 0.3s; */
  /* color: #fff; */
}
body
  header#masthead
  .mobile-menu
  .mm-panel
  ul.menu-wrapper
  li
  .chevron-child
  i {
  transform: rotate(-90deg);
}
body header#masthead .mobile-menu .mm-panel ul.menu-wrapper li > .sub-menu {
  display: none;
  padding-left: 8px;
  box-shadow: none;
  position: relative;
  padding: 0;
  padding-left: 1.7em;
}
body header#masthead .mobile-menu .mm-panel ul.menu-wrapper li > .sub-menu a {
  font-weight: 400;
}
body
  header#masthead
  .mobile-menu
  .mm-panel
  ul.menu-wrapper
  li.open-sub
  > .sub-menu {
  display: block;
}
body
  header#masthead
  .mobile-menu
  .mm-panel
  ul.menu-wrapper
  li.open-sub
  .chevron-child
  i {
  transform: rotate(-180deg);
}
body header#masthead .mobile-menu .mm-panel ul.menu-wrapper .sub-menu {
  width: 100%;
}
body header.page-header {
  border-bottom: 0;
  margin-bottom: 2em;
}
body header.page-header h1.page-title {
  font-size: 2.3em;
  font-weight: 700;
}
body .search-result-count {
  margin-bottom: 1em;
  font-weight: 500;
}
body .disclaimer {
  font-size: 0.75em;
  text-align: center;
  padding-top: 1.6em;
  padding-bottom: 1.6em;
  background: var(--primary_col_var);
}
body .disclaimer span {
  border-bottom: 1px solid;
  font-weight: 500;
}
.site-content .entry-header {
  background: #E0FFEF;
}
.site-content {
  font-size: 1.25em;
}
body header#masthead ul.menu-wrapper > li .sub-menu li:last-child a {
  border: 0;
}

@media (max-width: 991px) {
  body header#masthead .mobile-menu {
    display: block;
    height: 20px;
  }
}

@media (max-width: 767px) {
  body .desk-show {
    display: none;
  }
}
body .mob-show {
  display: none;
}
@media (max-width: 767px) {
  body .mob-show {
    display: block;
  }
}
/* body p {
  line-height: 1.4;
} */

body footer.site-footer {
  background: var(--secondary_col);
  color: #fff;
}
body footer a {
  color: #fff;
  display: inline-block;
  text-decoration: none;
}
body footer .footer_social_links a {
    border: 1px solid #fff;
    width: 30px;
    height: 30px;
}
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;}
.footer_menus a {
    transition: 0.3s all;
}
.footer_menus a:hover {
    color: #fff;
    padding-left: 10px;
}
.article_excerpt p {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3; /* number of lines to show */
  line-clamp: 3;
  -webkit-box-orient: vertical;
}
@media (max-width: 767px) {
  body header#masthead .menu-col {
    position: static;
  }
  body header#masthead .header-search {
    top: 100%;
    bottom: unset;
    z-index: 999;
    width: 90vw;
    left: 0;
    right: 0;
    box-shadow: 1px 1px 5px rgba(0,0,0,0.2);
  }
}


