@charset "UTF-8";

/*
Theme Name: Marefat Theme
Author: DA10
Version: 1.0
*/

/* Nazanin */

@font-face {
  font-family: 'BNazanin+Regular';
  src:  url('../fonts/nazanin/BNazanin+Regular.eot');
  src:  url('../fonts/nazanin/BNazanin+Regular.svg#BNazanin+Regular') format('svg'),
        url('../fonts/nazanin/BNazanin+Regular.eot?#iefix') format('embedded-opentype'),
        url('../fonts/nazanin/BNazanin+Regular.woff2') format('woff2'),
        url('../fonts/nazanin/BNazanin+Regular.woff') format('woff'),
        url('../fonts/nazanin/BNazanin+Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'BNazanin+Bold';
  src:  url('../fonts/nazanin/BNazanin+Bold.eot');
  src:  url('../fonts/nazanin/BNazanin+Bold.svg#BNazanin+Bold') format('svg'),
        url('../fonts/nazanin/BNazanin+Bold.eot?#iefix') format('embedded-opentype'),
        url('../fonts/nazanin/BNazanin+Bold.woff2') format('woff2'),
        url('../fonts/nazanin/BNazanin+Bold.woff') format('woff'),
        url('../fonts/nazanin/BNazanin+Bold.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* === General === */

html {
  direction: rtl;
  background: #fbf5de;
  background-size: 1000px auto;
}

body {
  background:none;
  overflow-x: hidden;
  margin: auto;
  height: auto;
  font-family: "BNazanin+Regular", "Tahoma";
  font-size: 14px;
  color: #36271f;
  display:block;
}

html.mobile-nav-open,
html.mobile-nav-open body{
  overflow: hidden;
}

a{
  color:#393331
}

a:hover, a:focus {
  color: #635956;
}

.home header .tp-caption {
  white-space: normal!important;
  direction: rtl;
}

.home header .tp-caption.rev-btn {
  white-space: nowrap!important;
}

.search header::before {
  display: none;
}

body.reader-mode .owl-carousel {
  background:none;
  font-size: 12px;
}

body.off-canvas-is-open {
  /* Becuase Off Canvas Menu is Open */
  overflow: hidden!important;
}

body.off-canvas-is-open.mobile-nav-open {
  /* Becuase Mobile Nav is Open */
  overflow: hidden!important;
}

h1, h2, h3, h4, h5, h6 {
  color: #483a32;
  font-family: inherit;
  margin: 0 0 .5rem 0;
}

h1 {
  font-size: 200%;
  word-spacing: -1px;
}

h2 {
  font-size: 125%;
}

h3 {
  font-size: 100%;
}

article a em,
article a {
  color: #483a32;
}

article p a {
  font-weight:bold;
  text-decoration:underline;
  color: #444;
}

article p a:hover {
}

article .submenu a:hover {
  background-image: linear-gradient(-90deg, #322e2d, #3e3632, #342f2e);
  color:white;
}

header h1 {
  display: none;
}

.reader-mode header h1 {
  display: none;
}

.error404 header h1 {
  display: none;
}

.error404 footer {
  display: none;
}

.error404 .columns {
  background: white;
  box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.13);
  padding: 4rem 0;
  border-radius: 6px;
}

.category-articles header h1.questions {
  display: none;
}

.questions header h1.articles {
  display: none;
}

.articles header h1.questions {
  display: none;
}

.home header h1 {
  display: block;
}

.home #fp-nav ul {
  display: none;
  box-shadow: 0 0 15px 0 rgba(60, 60, 60, 0.15);
  padding: 5px 0;
  border-radius: 1rem;
  background: white;
}

header h2 {
  color: #483a32;
  font-family: inherit;
  font-weight: normal;
  font-size: 150%;
  margin: 0 auto 1rem auto;
}

.page-template-page-about-ostad header h2,
.page-template-page-about-book header h2 {
  display: none;
}

.home section {
  padding: 2rem;
}

.home section .columns.img-wrapper {
  display: none;
}

.home .lead-section .snippet-art {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100px;
}

.home .lead-section:nth-of-type(even) {
  background: #f2f2f2;
}

.home .lead-section h1 {
  text-align: right;
  margin: 0 0 .75rem 0;
  color: #483a32;
}

.home .lead-section h1::before {
  display: block;
  content: "\25C8";
}

.home .lead-section .title {
  font-size: 110%;
  word-spacing: -1px;
  line-height: 1.4;
  text-align: right;
  padding: 0 0 0 0;
  margin: 0 0 0.75rem 0;
}

.home .lead-section cite {
  font-size: 100%;
  color: black;
  text-decoration: none;
  font-style: normal;
  text-align: right;
  margin: .25rem 0 1rem 0;
}

.home .lead-section p {
  line-height: 1.6;
  word-spacing: -1px;
  margin-bottom: .5rem;
}

.home .lead-section p:last-of-type {
  margin-bottom: 2.5rem;
}

.home .lead-section a .fa {
  margin: 0 .25rem 0 0;
}

/* == Tabs === */

.has-tip {
  display: inline-block;
  vertical-align: super;
  font-size: 90%;
  line-height: 1;
  margin: 0 2px;
  border-bottom: 1px dotted #aaa;
  color: #393331!important;
}

/* === Footnote Tooltips === */

.tooltip{
  border: 2px solid #3d3632;
  background: #fff!important;
  box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.09);
  color: #000;
  padding: .75rem;
  font-size: 90%!important;
  border-radius: 6px;
  line-height: normal;
  text-align:right!important;
}

.tooltip.dropdown-pane {
  border: 2px solid #3d3632;
  background: #fff;
  box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.09);
  color: #000;
  padding: .75rem;
  font-size: 90%!important;
  border-radius: 6px;
  line-height: normal;
  text-align:right!important;
  max-height:10px;
  overflow:hidden;
}

@media (max-width:640px) {

  .tooltip.dropdown-pane {
    left: 0!important;
    right: 0!important;
    margin: auto!important;
    width: 100vw!important;
    max-width: 100vw!important;
    max-width: calc(100vw - 3rem)!important;
  };
}

.tooltip::after,
.tooltip::before {
  display: none!important;
}

.touch .tooltip {
  padding-left: 31px;
  ;
    padding: 9px 18px 10px 40px;
}

.tooltip .close-button {
  display: none;
}

.touch .tooltip .close-button {
  display: block;
  font-size: 40px;
  top: -1px;
  right: auto;
  left: 16px;
  color: #483a32;
;
}

/* == Tabs === */

ul.tabs li {
  background: none;
  color: #483a32;
  display: inline-block;
  padding: 10px 15px;
  cursor: pointer;
}

ul.tabs li.current {
  background: #ededed;
  color: #483a32;
}

.tab-content {
  display: none;
  background: #ededed;
  padding: 15px;
}

.tab-content.current {
  display: inherit;
}

/* === Off-canvas Menu === */

.off-canvas {
  position: fixed;
  z-index:101;
  text-align: right;
  direction: ltr;
  bottom: 0;
  box-shadow: none;
  -webkit-transition: all .25s;
  transition: all .25s;
  background: rgb(255, 255, 255);
  overflow: auto!important;
  right: -610px;
  padding: 0;
  top: 0;
  bottom: 0;
  width: 610px;
  max-width: 100%;
  height: 100vh;
  overflow: hidden;
  -webkit-transform: initial;
  transform: initial;
}

.off-canvas.open {
  box-shadow: 0 0 8px 2px rgba(0, 0, 0, .14);
;
  right: 0;
}

.reader-mode .off-canvas {
  box-shadow: none!important;
  border-left: 1px solid #eee;
  max-height: calc(100vh - 44px);
}

.reader-mode .off-canvas.open {
  box-shadow: 0 0 8px 2px rgba(0, 0, 0, .14);
;
  right: 0;
}

.off-canvas .menu-book-chapters-container {
  margin: 83px 0 0 0;
  max-height: calc(100vh - 4.75rem);
  overflow: auto;
}

.menu-about-book-container .menu li {
  display: block;
}

/* === new === */

body.is-reveal-open {
  overflow: hidden;
}

.reveal.rookhani {
  -webkit-animation: zoomIn .75s cubic-bezier(0, 0, 0, 1) forwards;
  animation: zoomIn .75s cubic-bezier(0, 0, 0, 1) forwards;
;
  padding: 0;
  right: initial;
  left: 0!important;
  top: 0!important;
  overflow: hidden!important;
  position: fixed;
  width: 100vw!important;
  height: 100vh!important;
  max-height: 100vh!important;
  min-height: 100vh!important;
  box-shadow: none!important;
  border: none!important;
  background: none!important;
  border-radius: 0;
  overflow: auto;
}

.reveal.rookhani .close-button {
  border: 2px solid #483a32;
  width: 2.25rem;
  height: 2.25rem;
  line-height: 1.75rem;
  color: white;
}

.reveal.rookhani .close-button:hover {
  background-image: linear-gradient(-90deg, #322e2d, #3e3632, #342f2e);
}

/* === Top Bar === */

.top-bar-wrapper {
  position:fixed;
  z-index:100;
  top:0;
  left:0;
  width:100%;
  border-bottom: 2px solid #c7bcabb0;
}

.reader-mode .top-bar-wrapper{
  display:none;
}

.mobile-nav-open .top-bar-wrapper {
}

.top-bar-wrapper.nav-up {
  top: -101px;
}

.top-bar {
  position: relative;
  background: #fbf5de;
  direction: rtl;
  max-height: 83px;
  overflow:hidden;
  display: block;
  padding: 0;
  -webkit-transition:none;
  transition:none;
}

/* .top-bar.extended, */
.mobile-nav-open .top-bar {
  -webkit-transition:max-height .75s cubic-bezier(0.13, 0, 0, 0.99);
  transition:max-height .75s cubic-bezier(0.13, 0, 0, 0.99);
  max-height: 800px;
  background:white;
}

.title-bar {
  padding: 0;
  position: relative;
  text-align: center;
  background: none;
}

.fa-times:before {
  display: inline-block;
  font-family: Arial;
  -webkit-transform: scale(2) translate(0px, 1px);
  transform: scale(2)  translate(0px, 0);
  content: "×"!important;
}

.top-bar-title {
  position: relative;
  background: none;
  float: right;
  width: auto;
  margin: 0;
}

.top-bar-wrapper .button {
  margin:21px 0 21px 21px;
  cursor: pointer;
  position: relative;
  text-align: center;
  float: left;
  padding: 0;
  text-align: center;
  border: none;
  cursor: pointer;
  width: 45px;
  height: 45px;
  line-height: 47px;
}

.top-bar .close-mobile-nav {
  display: none;
}

.mobile-nav-open .top-bar .fa-bars{
  display:none;
}
.mobile-nav-open .top-bar .close-mobile-nav{
  display:block;
}

.top-bar.extended .close-mobile-nav {
  display: inline-block;
  vertical-align:middle;
}

.top-bar.extended .top-bar-button-icon.fa-bars {
  display: none;
}

.top-bar .search-toggle {
  float: left;
  margin-left:21px;
}

.mobile-nav-open .search-panel.extended,
.mobile-nav-open .top-bar .search-toggle{
  /* opacity:0.5; */
}

.top-bar .top-bar-toggle {
  float: left;
  margin-left:20px;
}

.top-bar .top-bar-toggle .fa{
  vertical-align:middle;
}

.search-toggle-minus {
  display: none;
}


.search-on #search-toggle-minus .fa{
  position:relative;
  top:2px;
}

.site-logo {
  /* display:none; */
  position: absolute;
  right: 12px;
  top: 10px;
  width: 65px;
  height: auto;
}

.site-logo h1 {
  color: #483a32;
  line-height: 58px;
  letter-spacing: -1px;
  margin: 0;
  padding: 0 1.5rem;
  font-size: 135%;
}

.site-logo img {
  display: block;
  width: 100%;
}

.home .site-logo img {
  opacity: 1;
}

.top-bar .menu {
  display: table-cell;
  vertical-align: top;
  background: none;
  margin: 0 auto 0 auto;
  text-align: left;
}

.menu-top-bar-container {
  width: 100%;
  display: table;
  margin-top: 83px;
  background-size:200px auto;
  background:white;
  }

.mobile-nav-open .top-bar .menu {
  padding: 60px 21px 21px 21px;
}

.top-bar .menu li {
  display: block;
  margin: auto;
  background-size: 150px auto;
}

.top-bar li{
  display:block;
  min-height:35px;
  line-height:35px;
}

.top-bar li a {
  display: block;
  min-height: 35px;
  line-height:35px;
  color: #483a32;
  font-size: 150%;
  letter-spacing:-.8px;
}

.top-bar li.disabled a{
  cursor:no-drop;
}

.top-bar li a::before{
  float:left;
  color: transparent;
  content: "\25C8";
  display:none;
}

.top-bar li a::after{
  content:"۱";
  display:none;
  position:relative;
  left:-15px;
  width:30px;
  text-align:left;
  background:none;
  background-size:100% auto;
  color:#483a32;
  font-size: 135%;
  height:60px;
  line-height:60px;
  position:absolute;
  top:0;
  left:0;
  /* background: #fbf5de; */
  background-size: 1000px auto;
  height:60px;
  line-height:60px;
  }

.top-bar li:nth-of-type(2) a::after{
  content:"۲";
}

.top-bar li:nth-of-type(3) a::after{
  content:"۳";
}

.top-bar li:nth-of-type(4) a::after{
  content:"۴";
}

.top-bar li:nth-of-type(5) a::after{
  content:"۵";
}

.top-bar li:nth-of-type(6) a::after{
  content:"۶";
}

.top-bar li:nth-of-type(7) a::after{
  content:"۷";
}

.top-bar li:nth-of-type(8) a::after{
  content:"۸";
}

.top-bar .menu li {
  border-right: 2px solid #e1e1e1;
  position: relative;
  text-align: right;
  display: block;
  margin: auto;
  padding: 0;
  width: 100%;
  opacity: 1;
  right: -20px;
  line-height:20px;
}

.mobile-nav-open .top-bar .menu li {
  opacity: 1;
  top: 0;
  right: 0;
}

.single.mobile-nav-open .top-bar .menu li:nth-of-type(2),
.mobile-nav-open .chapter-questions .top-bar .menu li:nth-of-type(2),
.mobile-nav-open .top-bar .menu li.current_page_item{
  background: linear-gradient(-90deg, rgba(56, 50, 47, 0.08) 65%, rgba(0,0,0,0) 100%);  
  border-right:2px solid #443c3a;
}



/* === Header : Home Page === */

.home.extended article p {
  opacity: 0;
}

.home.search-on article p {
  -webkit-transition: bottom 1s cubic-bezier(0, 0, 0.04, 1);
  transition: bottom 1s cubic-bezier(0, 0, 0.04, 1);
}

.single-format-standard p iframe {
  margin: 16px auto 0 auto;
  margin: 1rem auto 0 auto;
  width: calc(100% + 5rem);
  margin-right: -40px;
  margin-right: -2.5rem;
}

/* === Single Post === */

.single-post article img {
  width: auto;
  height: auto;
  margin: .75rem auto!important;
  position: relative;
  top: 0;
}

[alt='figure-ibraham-ommat'] {
  background: rgb(245, 245, 245);
}

/* === Post-Snippet === */

.blog .row .columns .graphics {
  display: table;
  width: 100%;
  height: 16rem;
  position: relative;
  padding: 0;
}

.most-recent {
  font-family: inherit;
  font-weight: normal;
  color: white;
  position: absolute;
  right: 0;
  top: 1.5rem;
  background: #baa3;
}

.divider {
  display: inline-block;
  vertical-align: middle;
  border-bottom: 1px dashed #ccc;
  width: 100%;
  max-width: calc(100% - 2rem);
}

.post-snippet:hover .columns .graphics h1 {
  background: #c5c5c5!important;
}

.post-snippet:nth-of-type(even) .columns:nth-child(1) {
  float: left;
}

.post-snippet:nth-of-type(even) .columns:nth-child(2) {
  float: right;
}

.post-snippet.card {
  padding: 0;
}

.post-snippet:hover .hint {
  position: relative;
}

.post-snippet .post-info h2 .fa {
  margin-left: .25rem;
}

.post-snippet .post-info h2 {
  text-align: right;
  font-weight: normal;
}

.post-snippet .post-info date {
  text-align: right;
  color: #acacac;
  display: block;
  margin: 0 auto 0rem auto;
  font-family: inherit;
  line-height: normal;
  display: none;
}

.post-snippet {
  /* padding: 0; */
}

.post-snippet .graphics img {
  width: auto;
  height: auto;
  max-width: 100%;
  display: block;
}

.post-snippet .graphics h1::before {
  display: block;
  font-size: 175%;
}

.post-snippet:nth-of-type(1) .graphics h1::before {
  content: "۱";
}

.post-snippet:nth-of-type(2) .graphics h1::before {
  content: "۲";
}

.post-snippet:nth-of-type(3) .graphics h1::before {
  content: "۳";
}

.post-snippet:nth-of-type(4) .graphics h1::before {
  content: "۴";
}

.post-snippet:nth-of-type(5) .graphics h1::before {
  content: "۵";
}

.post-snippet:nth-of-type(6) .graphics h1::before {
  content: "۶";
}

.post-snippet:nth-of-type(7) .graphics h1::before {
  content: "۷";
}

.post-snippet:nth-of-type(8) .graphics h1::before {
  content: "۸";
}

.post-snippet:nth-of-type(9) .graphics h1::before {
  content: "۹";
}

.post-snippet:nth-of-type(10) .graphics h1::before {
  content: "۱۰";
}

.post-snippet .post-info h2 i,
.post-snippet .post-info h2 span {
  color: #483a32;
  display: inline-block;
  vertical-align: middle;
}

.post-snippet p {
  margin: 0 0 .5rem 0;
  color: #483a32;
}

.post-snippet .button {
  font-family: inherit;
  font-family: inherit;
  font-weight: normal;
}

.post-snippet .button .fa {
  margin-right: 4px;
  margin-right: .25rem;
}

.post-snippet.video {
  float: left;
  padding: 2.24px 8px;
  padding: .14rem .5rem;
  border: none;
}

.post-snippet.video .attachment-post-thumbnail {
  width: 100%;
  padding: 4px;
  padding: .25rem;
  border: 1px solid #ccc;
}

/* === Accordion === */

.accordion{
  font-size:inherit;
  line-height:inherit;
  background:none;
  box-shadow:none;
  border:1px solid #d6ceba;
}

.accordion .accordion-item{
  font-size:inherit;
  line-height:inherit;
  -webkit-transition:all .25s ease-in-out;
  transition:all .25s ease-in-out;
  border-bottom:1px solid #d6ceba;
}

.accordion .accordion-item br{
  display:none;
}

.accordion .accordion-item .accordion-title{
  text-align:right;
  padding-left:2rem;
  font-size:80%;
  line-height: 2;
  background:none;
  color:black;
  border:none;
}

.accordion .accordion-item .accordion-title::before{
  top:0;
  bottom:0;
  height:20px;
  line-height:20px;
  margin:auto;
  transform:scale(1.5)
}

.accordion .accordion-item:not(.is-active) .accordion-title:hover{
  background: linear-gradient(-90deg, rgba(56, 50, 47, 0.08) 0%, rgba(0,0,0,0) 100%);
}

.accordion .accordion-item  .accordion-content{
  background:#fdfbf4;
  padding-top:0;
  border:none;
}

.accordion .accordion-item  .accordion-content p:first-of-type{
  border-top: 1px solid #e6e6e6;
  padding-top:1rem;
  margin-bottom:0.5rem;
}

.accordion .accordion-item  .accordion-content p{
  /* max-width:600px; */
  text-align:justify;
}

.accordion .accordion-item.is-active{
  border-radius:4px;
  overflow:hidden;
  box-shadow: 5px 7px 5px 0 rgba(0, 0, 0, 0.08);
  /* transform:scale(1.02); */
  border:none;
}

.accordion .accordion-item.is-active .accordion-title{
  background: #fdfbf4;
}

/* === Page: Rookhani === */

.page-template-page-book-reader article p {
  text-align: justify;
}

.page-template-page-book-reader article .callout {
  border: none;
  background: url(../img/bg.jpg) no-repeat left center;
  background-size: cover;
  padding: 0;
  margin: auto;
  border-radius: 2px;
  width: 100%;
  display: block;
  margin: 0 auto 1rem auto;
  padding: .75rem;
  width: 100%;
  min-height: 400px;
  height: calc(100vh - 350px);
  max-height: 600px;
}

.page-template-page-book-reader article .callout:hover {
  -webkit-transform: scale(1.01);
  transform: scale(1.01);
}

.page-template-page-book-reader .book-cover {
  display: none;
}

.page-template-page-book-reader .book-cover .button {
  float: left;
  display: block;
}

/* === Headers === */

.art-border,
header{
  height:100px;
}

.home header img{
  width:auto;
  height:auto;
  display:block;
  margin:9rem auto 2rem auto;
}

.home header p{
  margin-bottom:1rem;
}

.home header p,
.home header li{
  font-size:100%;
  line-height:normal;
}

.home header p + ul{
  margin-top:-1.25rem;
  padding-right:1rem;
}

header {
  position: relative;
  padding: 0 21px;
  margin: 83px auto 0 auto;
  background-size: cover!important;
}

.home header{
  display:table;
  width:100%;
  height:auto;
  overflow:hidden;
  background: url(../img/bg-home-artwork-mobile-3.png) center -6.6rem no-repeat;
  background-size:1000px auto!important;
}

.home header .columns{
  padding:0;
}

.page-template-page-about-book header .art-border{
  background: url(../img/calligraphy-headers/calligraphy-intro-2.png) center center no-repeat;
  background-size: auto 120px!important;
}

.page-template-page-contact-us header .art-border{
  background: url(../img/calligraphy-headers/calligraphy-contact-us-2.png) center center no-repeat;
  background-size: auto 120px!important;
}

body.single header .art-border,
body.single header .art-border,
body.category header .art-border{
  background: url(../img/calligraphy-headers/calligraphy-sections-2.png) center center no-repeat;
  background-size: auto 120px!important;
}

.page-template-audio-book header .art-border,
.page-template-page-chapters header .art-border{
  background: url(../img/calligraphy-headers/calligraphy-rookhani-2.png) center center no-repeat;
  background-size: auto 120px!important;
}

.page-template-page-links header .art-border{
  background: url(../img/calligraphy-headers/calligraphy-links-2.png) center center no-repeat;
  background-size: auto 120px!important;
}

/* === Grid === */

main {
  overflow-x: hidden;
  display: block;
  margin: auto;
  max-width: 100vw;
}

.mobile-nav-open #fp-nav.left {
  display: none;
}

.columns.art-border{
  padding:0;
  position:relative;
  border-bottom:4px solid #49403a;
  margin-bottom:2rem;
}

.art-border::before{
  content:"";
  position:absolute;
  bottom:-8px;
  left:0;
  width:100%;
  background:#49403a;
  height:1px;
}

aside .submenu {
  width: 100%;
  display: block;
  padding: 0;
  margin: 0;
  left: auto!important;
}

aside .submenu .menu {
  display: block;
  margin: 1rem auto 0 auto;
  padding: 0;
}

aside .submenu .menu li.current_page_item + li a::after {
  display: inline-block;
  vertical-align: middle;
  margin: 0 .5rem 0 0;
  font-family: fontawesome;
  content: "\f104";
  display: none;
}

.dropdown-pane{
  background:none;
  border:none;
  box-shadow:none;
  width:calc(100vw - 42px);
  max-width:410px;
  font-size:88%;
  left:0!important;
  right:0!important;
  padding:21px 21px;
  margin:auto;
  padding: 0;
  z-index:1;
}

.dropdown-pane li a:hover{
  background:#3f3836;
}

.dropdown-pane.is-open{
  background-image: linear-gradient(-90deg, #3f3836, #5b504ce8);
  -webkit-animation:fadeIn .15s linear;
  animation:fadeIn .15s linear;
  margin-top:7px;
  max-height:none;
  overflow:visible;
}

.is-stuck.is-at-top + .dropdown-pane.is-open{
  position:fixed!important;
  top:140px!important;
  margin-top:0!important;
}

.dropdown-pane.is-open:after{
  content:"";
  position:absolute;
  top:-5px;
  left:0;
  right:0;
  margin:auto;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 5px solid #544b47;
}

.submenu .menu {
  background:none;
  padding:0;
  width: auto;
  display: block;
  position: relative;
}

.submenu .menu li {
  display: block;
  margin: 0 0 0 0;
  overflow: hidden;
  position: relative;
  text-align: right;
}

.submenu .menu li a {
  position:relative;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  color:white;
}

.submenu .menu li a i {
  display: block;
  margin: 0 auto 0 auto;
  float: left;
}

.submenu .menu li a::before {
  display:none;
  color: transparent;
  margin-left: .5rem;
  content: "\25C8";
}

.submenu .menu li.current_page_item a::before {
  color: #fff;
}

.submenu .menu li.current_page_item a::before

.error404 article > header::before {
  display: block;
  width: 100%;
  padding: 00;
  font-size: 250%;
  text-align: center;
  color: rgba(192, 163, 112, 0.25);
  font-family: fontawesome;
  content: "\f071";
}

.error404 article .card p {
  margin-top: 4rem;
}

article.has-feature-image > header {
  position: relative;
}

/* .page-template-audio-book article .main-section { */
.main-section {
  padding: 1rem 0 1.75rem 0;
  margin: 0 auto 0 auto;
  max-width: 1200px;
}

.search-results .main-section{
  padding-top:0;
  margin-top:-1rem
}

article .main-section aside {
  display: none;
}

.content-wrapper {
  opacity: 0;
  animation: fadeIn 1s ease-in-out forwards;
  animation-delay: 1s;
  float: right!important;
  max-width:777px;
  min-width:100%;
}

.search-results .main-section article .main-section {
  padding: 0;
}

.search-results .main-section article .main-section .card:nth-child(odd) {
  background: white;
}

.post article .main-section {
  background: white;
}

.main-section h2 {
  text-align:center;
  display: block;
  line-height: 1.25;
  word-spacing: -3px;
  letter-spacing: -1px;
  margin: 0 0 18px 0;
  padding: 0;
  display: block;
  vertical-align: middle;
  font-size: 150%;
  position: relative;
}

.page-template-page-about-book .main-section h2{
  /* display:none */
}

.main-section .sub-header {
  padding: 0 0 .25rem 0;
  margin: 0 0 0 0;
}

.columns.sub-menu-toggle-wrapper{
  bottom:0;
  padding:0;
  margin:auto;
  float:none;
  text-align:center;
  -webkit-animation: fadeIn .5s ease-out infinite;
  animation: fadeIn 1s cubic-bezier(0, -0.01, 0, 1.01);
}

.button.button.sub-menu-toggle.is-at-top.is-anchored{
  position:relative!important;
  top:auto!important;
  margin-top: 6rem!important;
}

.button.button.sub-menu-toggle {
  width: 100%;
  position:relative!important;
  bottom:auto!important;
  margin: 1rem 0 1.5rem 0;
  font-size:100%;
  max-width:410px!important;
}

.sub-menu-toggle .button-text{
  text-align:inline-block;
  vertical-align:middle;
  display: block;
  white-space:nowrap;
  text-align:right;
  max-width:calc(100% - 25px);
  overflow:hidden;
  font-size: 100%;
  text-overflow:ellipsis;
}

.button.button.sub-menu-toggle.is-stuck{
  border-radius:0;
  text-align:center;
  position:fixed!important;
  top:89px!important;
  left:0;
  right:0;
  width:100%;
  max-width:100%!important;
  z-index:1;
  margin:0!important;
}

.button.button.sub-menu-toggle .fa{
  position:absolute;
  top:9px;
  left:0;
  margin:0 0 0 10px;
  line-height:1.4;
  font-size:100%;
}

.button.button.sub-menu-toggle .fa::after{
  content:"";
  position:absolute;
  top:2px;
  right:-5px;
  width:1px;
  height:21px;
  background:rgba(251, 245, 222, 0.18);
}


.dropdown-pane.is-open::before{
  animation:fadeIn .15s linear forwards;
  /* content:""; */
  position: fixed;
  top: 0;
  left:0;
  width:100vw;
  height:100vh;
  background:#00000042;
}

.sub-menu-toggle .fa {
  display:inline-block;
  width:20px;
  -webkit-transform: scale(1.35);
  transform: scale(1.35);
  margin-right:10px;
}

.sub-menu-toggle.hover .fa {
  -webkit-transform: scale(1.5) translateZ(1px) rotateX(180deg);
  transform: scale(1.5) translateZ(1px) rotateX(180deg);
}

.main-section .dropdown-pane ul li a {
  color: white;
}

.main-section .dropdown-pane ul li.current_page_item a {
  color: #8d8d8d;
}

.single .main-section h1 {
  text-align: center;
  margin: 3.5rem auto 2rem auto;
}

.page-navigation-wrapper {
  margin: 5rem 0 1rem 0;
  text-align: center;
}

.page-navigation-wrapper > div {
  display: inline-block;
  margin: 0 .14rem;
}

.card-replacer {
  padding: 1rem 1rem 3rem 1rem;
}

.card.callout {
  text-align: right;
  border-color: #d6d6d6;
}

.card.callout {
  padding: 1rem 1.5rem 1rem 1.5rem!important;
}

.home .tip{
  margin-top:1.5rem;
}

.has-feature-image .main-section > .row > .card:not(a) {
  padding: 1rem 1rem 4rem 1rem;
}

.page-template-page-links article .main-section {
  background: none;
  box-shadow: none;
}

.reader-mode article .main-section.page-controls {
  background: none;
}

article .main-section.page-controls .is-at-top,
article .main-section.page-controls {
  box-shadow: none;
  padding: 1rem 0 0 0;
}

.callout.alert {
  background: white;
  border: none;
  border-radius: 0;
  padding: 7rem 1rem;
  text-align: center;
}

.callout.alert p {
  color: #444;
  text-align: center;
}

.callout i {
  color: #bbb;
}

.page .book-page aside small {
  vertical-align: middle!important;
}

.page .book-page aside small::after {
  display: none!important;
}

.page .book-page aside small::before {
  display: none!important;
}

ol,
ul,
p {
  /* text-align: justify; */
  line-height:1.35;
  font-family: inherit;
  margin-bottom:1.25rem;
}

small.pagination {
  display: inline-block;
  vertical-align: top;
  line-height: inherit;
  margin: 0;
  position: relative;
  top: -4px;
}

strong, b {
  font-family: initial;
  font-weight: normal;
}

ul ul, ol ul, ul ol, ol ol {
  margin: 0;
}

.row{
  max-width: 1200px;
}

.column, .columns {
  padding-left: 21px;
  padding-right: 21px;
}

.buttom-nav{
  margin-top:1rem;
  text-align:center;
}

.buttom-nav .button span{
  display:inline-block;
  width:auto
}

.search-results .main-section .row {
  /* padding: .5rem; */
}

.post-snippet .post-info {
  margin:0 0 3rem 0;
}

.post-snippet .post-info p {
  margin: 0 0 1rem 0;
}

.post-snippet .post-info h2 {
  padding: 0;
  margin: 0 0 .5rem 0;
  font-size: 150%;
}

.post-snippet .columns:nth-of-type(1) {
  display: table;
}

.post-snippet .columns .graphics {
  display: table-cell;
  background-image: linear-gradient(-90deg, #322e2d, #3e3632, #342f2e);
  vertical-align: middle;
}

.no-max {
  max-width: none;
}

.page-template-page-articles .no-max {
  padding: 0;
}

article h1.titr_asli_outline {
  display: block;
}

.single-post .content h1 {
  display: block;
  margin: 3rem 0 2rem 0;
  opacity: 1;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}

.single-post .content .intro {
  display: block;
  color: #2d2d2d;
  font-size: 85%;
  max-width: 500px!important;
  margin: auto;
}

ol {
  /* Because of Main Pages, Not Audiobook */
  /* margin-right: 0; */
  list-style: none;
}

ol ul {
  margin-right: 1rem!important;
}

ol > li{
  position:relative;
}

ol > li::before {
  position:absolute;
  right:-1.15rem;
  content: "-";
  margin-left: .25rem;
}

ol > li:nth-child(1):before {
  content: "۱.";
}

ol > li:nth-child(2):before {
  content: "۲.";
}

ol > li:nth-child(3):before {
  content: "۳.";
}

ol > li:nth-child(4):before {
  content: "۴.";
}

ol > li:nth-child(5):before {
  content: "۵.";
}

ol > li:nth-child(6):before {
  content: "۶.";
}

ol > li:nth-child(7):before {
  content: "۷.";
}

ol > li:nth-child(8):before {
  content: "۸.";
}

ol > li:nth-child(9):before {
  content: "۹.";
}

ol > li:nth-child(10):before {
  content: "۱۰.";
}

ol > li:nth-child(11):before {
  content: "۱۱.";
}

ol > li:nth-child(12):before {
  content: "۱۲.";
}

ol > li:nth-child(13):before {
  content: "۱۳.";
}

ol > li:nth-child(14):before {
  content: "۱۴.";
}

ol > li:nth-child(15):before {
  content: "۱۵.";
}

ol > li:nth-child(16):before {
  content: "۱۶.";
}

ol > li:nth-child(17):before {
  content: "۱۷.";
}

ol > li:nth-child(18):before {
  content: "۱۸.";
}

ol > li:nth-child(19):before {
  content: "۱۹.";
}

ol > li:nth-child(20):before {
  content: "۲.";
}

ol > li:nth-child(21):before {
  content: "۲۱";
}

ol > li:nth-child(22):before {
  content: "۲۲";
}

ol > li:nth-child(23):before {
  content: "۲۳.";
}

ol > li:nth-child(24):before {
  content: "۲۴.";
}

ol > li:nth-child(25):before {
  content: "۲۵.";
}

ol > li:nth-child(26):before {
  content: "۲۶.";
}

ol > li:nth-child(27):before {
  content: "۲۷.";
}

ol > li:nth-child(28):before {
  content: "۲۸.";
}

ol > li:nth-child(29):before {
  content: "۲۹.";
}

ol > li:nth-child(30):before {
  content: "۳۰.";
}

.single-post .content h2 {
  margin: 3rem 0 2rem 0;
}

iframe {
  overflow: hidden;
  display: block;
  background: gray;
  max-height: 100vh;
  margin: auto!important;
  height: 100%;
  border: none;
  width: 100%;
  background: #ffffff;
  width: 100%;
}

p:empty {
  display: none;
}

.page .children {
  padding-right: 16px;
  padding-right: 1rem;
}

.page-section {
  padding: 32px 0;
  padding: 2rem 0;
}

.page-section header {
  margin: 0 0 32px 0;
  margin: 0 0 2rem 0;
  text-align: center;
  position: relative;
}

.page-section header:before {
  position: absolute;
  content: "";
  background: #ddd;
  width: calc(100% - 2rem);
  top: calc(50% - 0px);
  left: 16px;
  left: 1rem;
  height: 1px;
}

.page-section-header-h1 {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  background: white;
  padding: 0 16px;
  padding: 0 1rem;
  text-align: center;
  letter-spacing: -1px;
  margin: 0;
}

/* === Buttons === */

.button.reader-luncher {
  padding: 1rem;
}

.button.reader-luncher .button {
  position: absolute;
  bottom: .5rem;
  left: .5rem;
  width: calc(100% - 1rem);
  margin: auto;
  padding: 1.25rem 1rem;
}

.button.reader-luncher .button img {
  width: 2rem;
  margin-left: .5rem;
}

.button {
  text-decoration: none!important;
  -webkit-transition: all 0s ease-out!important;
  transition: all 0s ease-out!important;
  font-family: inherit;
  font-weight: normal;
  font-size: 75%;
  padding: 12px 18px;
  border-radius: 2px;
  border:none;
  background-image: linear-gradient(-45deg, #3f3836, #5b504c);
  box-shadow: 5px 7px 5px 0 rgba(0, 0, 0, 0.08);
  color: white;
  text-shadow: 0 -1px 0 rgba(0,0,0,.25);
  -webkit-font-smoothing: antialiased;
  -webkit-box-shadow: inset 0 -2px 0 rgba(0,0,0,.35);
  -ms-box-shadow: inset 0 -2px 0 rgba(0,0,0,.35);
  -moz-box-shadow: inset 0 -2px 0 rgba(0,0,0,.35);
  -o-box-shadow: inset 0 -2px 0 rgba(0,0,0,.35);
  box-shadow: inset 0 -2px 0 rgba(0,0,0,.35);
}

.button span{
  text-align:inline-block;
  vertical-align:middle;
  line-height:inherit;
}

.button.page-control:hover,
.button.page-control:focus {
  background: rgba(0, 0, 0, .15);
}

.home-page-arrow {
  padding: 0;
  width: 58px;
  height: 58px;
  line-height: 63px;
  background: none!important;
}

.home-page-arrow .fa {
  transform: scale(1.3);
}

.button.home-page-arrow:hover,
.button.home-page-arrow:focus {
}

.home-page-arrow .fa {
  width: 100%;
}

.fa-long-arrow-down:before {
  line-height: 45px;
  display: block;
  width: 100%;
}



/* === Page Control === */

.post-pag-container.prev {
  float: right;
}

.single-post .page-controls .prev:empty,
.single-post .page-controls .next:empty {
  display: none;
}

.single-post .page-controls .next {
  float: left;
}

.page .page-controls .page-control.previous-chapter {
  float: none;
}

.web-mode .page-control.previous-chapter {
  position: absolute;
  right: 0;
  float: right!important;
}

.web-mode .is-stuck .page-control.previous-chapter {
  right: 0;
}

.web-mode .page-control.next-chapter {
  position: absolute;
  left: 0;
  float: left!important;
}

.web-mode .is-stuck .page-control.previous-chapter,
.web-mode .is-stuck .page-control.next-chapter {
  margin: 0;
}

.single-post .page-controls .next a:after {
  position: absolute;
  left:1.25rem;
  top:0;
  line-height: 2.75rem;
  height: 2.75rem;
  font-family:fontawesome;
  font-size:16px!important;
  margin:0;
  color: #ffffff;
  content: "\f100";
}

.single-post .page-controls .prev a:before {
  position: absolute;
  top:0;
  right:1.25rem;
  line-height: 2.75rem;
  height: 2.75rem;
  font-family:fontawesome;
  font-size:16px!important;
  margin:0;
  color: #ffffff;
  content:"\f101";
}

.single-post .page-controls .is-stuck .prev a:before {
  right: 1.25rem;
}

.single-post .page-controls .is-stuck .next a:after {
  left: 1.25rem;
}

.reader-mode .page-controls {
  position: fixed;
  z-index:3;
  bottom: 0;
  width: 100vw;
  max-width: 100vw;
  margin: 0 auto!important;
}

.page-controls-contain-to-grid {
  text-align:center;
}

.reader-mode .page-controls-contain-to-grid{
  width:100%;
  background:#fcf5dd;
  white-space:nowrap;
  overflow:auto;
  padding:2px 8px;
}

.page-controls-contain-to-grid {
  min-height:44px;
  max-width: 1160px!important;
  width: calc(100% - 42px);
  position:relative;
  margin:auto;
}

.is-stuck a,
.is-stuck .page-control,
.is-stuck button {
  margin: 0 0 0 0px!important;
}

.page-controls .sticky {
  left:0;
  right:0;
  width: 100%;
  margin:auto;
  max-width:100%!important;
  min-height: 45px;
  display: block;
}

.reader-mode .page-controls .sticky {
  padding: 0;
}

.page-controls .sticky.is-stuck {
  top: 83px!important;
  z-index:2;
  padding:12px 0 0 0;
  left: 0!important;
  right: 0!important;
  margin: auto;
}

.reader-mode .page-controls .sticky {
  border-top: 2px solid #c7bcab;
  position: fixed;
  top: auto!important;
  bottom: 0!important;
}

.reader-mode .page-controls,
.reader-mode .page-controls .sticky-container,
.reader-mode .page-controls .sticky {
  text-align: center;
  max-width: 100vw!important;
  bottom: 0!important;
  margin: auto!important;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
}



select{
  background:none;
  padding-right:14px!important;
  padding-left:14px!important;
  min-width: 1px!important;
  text-align:center!important;
}

.owl-carousel .owl-next,
.owl-carousel .owl-prev,
.page-control a,
.page-control {
  text-align:center;
  position:relative;
  background-image: linear-gradient(-45deg, #3f3836, #5b504c);
  box-shadow: 5px 7px 5px 0 rgba(0, 0, 0, 0.08);
  color: white;
  text-shadow: 0 -1px 0 rgba(0,0,0,.25);
  -webkit-font-smoothing: antialiased;
  -webkit-box-shadow: inset 0 -2px 0 rgba(0,0,0,.35);
  -ms-box-shadow: inset 0 -2px 0 rgba(0,0,0,.35);
  -moz-box-shadow: inset 0 -2px 0 rgba(0,0,0,.35);
  -o-box-shadow: inset 0 -2px 0 rgba(0,0,0,.35);
  box-shadow: inset 0 -2px 0 rgba(0,0,0,.35);
  text-decoration: none!important;
  /* color: #4c219a; */
  display: inline-block;
  margin: 0;
  text-align: center;
  padding: 0;
  border-radius: 2px;
  vertical-align: top;
  height: 2.75rem;
  line-height: 2.75rem;
  min-width: 37px;
}

.page-controls .br{
  display:block;
  margin-top:4px;
}

.reader-mode .page-controls .br{
  display:inline-block;
  margin:0;
}

.reader-mode .page-controls{
  padding: 2px 4px!important;
  max-height:62px;
}

.reader-mode .page-controls a,
.reader-mode .page-controls select,
.reader-mode .page-controls .button,
.reader-mode .page-controls button{
  box-shadow: 5px 7px 5px 0 rgba(0, 0, 0, 0.08);
  margin:2px 0 4px 0!important;
}

.reader-mode .owl-carousel .owl-next {
  float: left;
}

.reader-mode .owl-carousel .owl-prev {
  float: right;
}

.reader-mode .enter-reader-mode {
  display: none;
}

.web-mode .exit-reader-mode {
  display: none;
}

.reader-mode .exit-reader-mode {
  display: inline-block;
}

.previous-chapter .page-control-title,
.next-chapter .page-control-title {
  display: none!important;
}

.page-template-page-about-book .previous-chapter .page-control-title,
.page-template-page-about-book .next-chapter .page-control-title {
  display: inline-block!important;
}

.page-template-page-about-book .current_page_item{
  background:#3f3937;
}

.page-control:hover {
  background: #272422;
  color: white;
}

.page-control.previous-chapter:after,
.page-control.next-chapter:before,
.owl-carousel .owl-next span,
.owl-carousel .owl-prev span,
.page-control span {
  display:none;
}

.buttom-nav .page-control{
  margin-bottom:1rem;
  width:100%;
}

.buttom-nav .page-control span{
  width:calc(100% - 60px);
  white-space:nowrap;
  text-overflow:ellipsis;
  overflow:hidden;
  display:inline-block;
  vertical-align:middle;
  padding:0 5px;
  font-size:14px!important;
}

.buttom-nav .page-control .fa{
  display:inline-block;
  vertical-align:middle;
  width:auto;
  min-width:auto;
  margin-right:5px;
  margin-left:1rem;
}

.buttom-nav .page-control.next-chapter .fa{
  position:absolute;
  left:0;
  margin-right:1rem;
}

.buttom-nav .page-control.previous-chapter .fa{
  position:absolute;
  right:0;
  margin-right:1rem;
}

.page-control{
  display: inline-block;
  width: auto;
  color: white;
  /* font-weight: bold; */
  border: none;
  cursor: pointer;
}

.pace-control{
  display:inline-block;
  width:120px;
  text-align:center;
}

.accordion-toggle-button {
  display: none;
}

.questions .accordion-toggle-button {
  display: inline-block;
}

.questions .all-hidden .all-revealed-button {
  display: none;
}

.questions .all-revealed .all-hidden-button {
  display: none;
}

.single .page-control {
  padding: 0;
}

.reader-mode .page-control {
  min-width: 42px;
}

.page-control.switch {
  padding: 0;
  width: auto;
  margin-bottom: 0;
  background: #bca477!important;
}

.page-control.switch label {
  vertical-align: middle;
  color: white;
  width: auto;
  background: none!important;
}

.page-control.switch label {
  width: auto;
  margin: 2px .75rem 0 .75rem;
}

.page-control.switch div {
  position: relative;
  white-space: nowrap;
  width: auto;
  left: auto;
  right: auto;
  margin: 0 1.5rem 0 0;
}

.page-control.switch .fa {
  float: right;
  height: auto;
  line-height: 2;
}

.switch-paddle::after {
  display: none;
  border-radius: 50%;
  width: 1rem;
  height: 1rem;
  top: .5rem;
  right: 0rem;
}

.page-control.switch input:checked ~ .switch-paddle::after {
  right: 0;
  background: none;
  box-shadow: inset 0 0 0 2px white;
}

.page-control.switch input:checked ~ .switch-paddle {
  background: rgba(0, 0, 0, .15);
}

.switch-active {
  right: 0%;
}

/* === Go To Stuff ===  */

.go-to-page {
  text-align: left;
  width: 180px;
  direction: rtl;
  position: absolute;
  display: block;
  left: 14px;
  top: 21px;
}

.go-to-page input {
  width:100%;
  border: 2px solid #483a32;
  color:#483a32;
  border-radius:4px;
  display: block;
  vertical-align: top;
  background:none;
  font-size: 100%;
  height: 45px;
  height: 45px;
  border-radius: 0;
  margin: 0 0 0 0;
  padding: 0 17px 0 3.24rem;
}

.go-to-page button {
  position: absolute;
  top: 0;
  left: 0;
  text-align: center;
  padding: 0 0;
}

.go-to-page input:lang(fa) {
  color: white;
}

.go-to-page button .fa {
  -webkit-transform: rotate(-90deg) scaleX(-1) translate(-1px,1px);
  transform: rotate(-90deg) scaleX(-1) translate(-1px,1px);
}

.go-to-page .fa {
  font-weight: bold;
  width: 3rem;
}

.page-template-page-chapters .page-control.next-chapter:before,
.page-template-page-chapters .page-control > span {
  display: none;
}

.single-post .page-controls .next a,
.single-post .page-controls .prev a{
  font-size:0!important;
  opacity: 1;
  color:#bca578;
  display:inline-block;
  padding:0;
  width:3.25rem;
  }

.single-post .page-controls .next a:hover,
.single-post .page-controls .prev a:hover {
  background: #3b3431;
  color: white;
}

.page-template-page-chapters .previous-chapter .page-control-title,
.page-template-page-chapters .next-chapter .page-control-title {
  display: none!important;
}

.page-control .fa {
  /* min-width: 36px; */
  font-size: 14px!important;
  color: white;
  display: inline-block;
  vertical-align: middle;
  height: 2.75rem;
  line-height: 2.75rem;
}

.owl-next:after,
.owl-prev:before {
  padding: 0 1rem;
}

.page-control.customPrevBtn {
  display: none;
}

.page-control.customNextBtn {
  display: none;
}

.reader-mode .page-control.customPrevBtn {
  display: inline-block;
}

.reader-mode .page-control.customNextBtn {
  display: inline-block;
}

.reader-mode .page-control.next-chapter {
  float: none!important;
}

.button.page-control:hover {
  background: rgba(0, 0, 0, .25);
}

table tbody tr:nth-child(even),
table thead, table tbody, table tfoot {
  border: none;
  background: none;
}

.kalam p {
  margin: 0;
  display: block;
  text-align: justify!important;
  font-size: smaller;
}

.end-index td p,
.end-index td {
  vertical-align: top;
  line-height: normal;
  margin: 0;
  padding: 0 16px;
  padding: 0 1rem;
}

.end-index td strong {
  margin: 16px 0;
  margin: 1rem 0;
  font-size: 110%;
  text-align: center;
  display: block;
}

.questions-summary td {
  vertical-align: top;
}

.questions-summary td p {
  text-align: right;
  font-size: 75%;
  margin: 0;
}

.book-page h2,
.book-page h1 {
  text-align: center;
}

.web-mode .book-page h1.intro {
  margin-top: 112px;
  margin-top: 7rem;
}

.web-mode .book-page h2 {
  font-size: 110%;
  margin-bottom: 48px;
  margin-bottom: 3rem;
}

.web-mode .book-page p:empty {
  display: none;
}

.web-mode .book-page-number {
  font-style: normal;
  display: block;
  font-size: smaller;
  border-bottom: 1px dotted #ccc;
  margin: 32px 0 48px 0;
  margin: 2rem 0 3rem 0;
  padding-bottom: 8px;
  padding-bottom: .5rem;
  text-align: left!important;
}

.reader-mode .book-page h1.intro {
  margin-top: 112px;
  margin-top: 7rem;
}

.reader-mode .book-page h2 {
  font-size: 155%;
  text-align: center!important;
  font-family: inherit;
  font-weight: normal;
  margin-bottom: 48px;
  margin-bottom: 3rem;
}

.reader-mode .book-page p:empty {
  display: none;
}

.reader-mode .book-page p br {
  display: none;
}

.reader-mode .book-page-number {
  font-style: normal;
  display: block;
  font-size: smaller;
  border-bottom: 1px dotted #ccc;
  margin: 32px 0 48px 0;
  margin: 2rem 0 3rem 0;
  padding-bottom: 8px;
  padding-bottom: .5rem;
  text-align: left!important;
}

{
  border:2px solid #c7bcab
}

* {
  /* Safari/Chrome, other WebKit */
  -webkit-box-sizing: border-box;
  /* Firefox, other Gecko */
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

p i,
p em {
  /* color: #3e5022b3; */
  /* font-weight:bold; */;
}

article.has-feature-image .main-section p img {
  margin: -3rem auto 2rem auto;
  width: auto;
  max-width: 100%;
  display: block;
  box-shadow: 2px 2px 2px 2px rgba(0, 0, 0, 0.03);
  background: white;
  border: 1px solid #ccc;
  padding: .5rem;
}

.page-template-page-ostad article.has-feature-image .main-section p img {
  width: 10rem;
}

.search-no-results .callout.tip {
  display: none;
}

.callout.tip {
  display: block;
  width: 100%;
  border: none;
  font-size: 18px;
  /* On search result page, it floates to left, needs depth */
  box-shadow: 0 0 15px 0 rgba(105, 105, 105, 0.35);
  background: white;
  color: white;
  border-radius: 3px;
}

.callout.success {
  padding: 2rem 3rem 2rem 3rem;
  max-width: 500px;
  display: none;
  -webkit-animation: fadeIn 1s;
  animation: fadeIn 1s;
  position: fixed;
  bottom: 1rem;
  left: 1rem;
}

.home .tip{
  background:white;
  margin: 2rem auto 2rem auto;
  border:1px solid #c7bca99c;
  padding: 1rem 2rem 1rem 2rem;
  font-size:100%;
  text-align:center;
  border-radius:4px;
  border-radius:4px;
  overflow:hidden;
  box-shadow: 5px 7px 5px 0 rgba(0, 0, 0, 0.08);
}
.page-template-page-chapters .tip {
  background:white;
  max-width:400px;
  margin: 2rem auto 0 auto;
  border:1px solid #c7bca99c;
  padding:2rem;
  text-align:center;
  border-radius:4px;
  border-radius:4px;
  overflow:hidden;
  box-shadow: 5px 7px 5px 0 rgba(0, 0, 0, 0.08);
}

.tip h2 {
  text-align: center;
}

.tip .button {
  display: block;
  margin: auto;
  width: auto;
  max-width: 230px;
}

.search-results .main-section .tip .button {
  max-width: 140px!important;
}

.tip .button span,
.tip .button .fa {
  margin-left: .25rem;
  color: white;
  display: inline-block;
  vertical-align: middle;
}

kbd {
  background: #868686;
  display: inline-block;
  color: white;
  font-weight: bold;
  border-radius: 2px;
  padding: 3px 6px 2px 6px;
  margin: 0 5px;
  font-size: 70%;
  font-family: arial;
}

.english {
  direction:ltr!important;
  font-family: arial;
  font-size: 85%;
}

.preserve-english {
  direction: ltr;
  display: inline-block;
}

.tip.callout h5 {
  margin: 0 0 .25rem 0;
  font-size: 150%;
}

.tip.callout p {
  color: #483a32;
  margin: 0 0 2rem 0;
  font-size: 100%;
}

blockquote p,
blockquote {
  /* background: #eee; */
  color: #483a32;
  font-size: 85%;
  border: none;
  margin: 1rem 0;
  padding: 0 0;
}

blockquote p::before {
  font-family: inherit;
  font-weight: normal;
  content: "”";
  margin-left: .15rem;
}

blockquote p::after {
  font-family: inherit;
  font-weight: normal;
  content: "“";
  margin-right: .15rem;
}

blockquote p {
  position:relative;
  font-family: inherit;
  font-weight: normal;
  font-size: 125%;
  line-height:1.5;
  word-spacing:-1px;
  border-radius:0;
  padding:0 1rem 0 0;
  margin:0 5px 0 2rem;
  border-right:4px solid #49403a;
}

blockquote p::before{
  content:"";
  position:absolute;
  right:-8px;
  width:1px;
  height:100%;
  background:#49403a;
}

.single-post .content table {
  margin: 3rem auto;
  border: 30px solid white;
  border-radius: 0;
  box-shadow: 0 0 0 .25rem #ddd;
}

.single-post .content table td {
  color: #483a32;
  font-family: inherit;
  font-weight: normal;
  padding: 0;
}

.single-post table tbody {
  background: none;
}

.single-post  table tbody tr:nth-child(even) {
  background: none;
}

/* === Search === */

.searchform {
  margin: auto;
  position: relative;
;
  overflow:hidden;
  border-radius: 2px;
}

.search-query {
  text-align: right;
  display: block;
  margin: 3.25rem 0 0 0;
}

.search-query mark {
  background: none!important;
  color: #483a32!important;
}

.search .post.none {
  text-align: center;
  padding: 7rem 0;
}

.search .post .results-title {
  display: block;
  text-align: right;
  font-size: 100%;
  margin: 0 0 1rem 0;
}

.search-results .paper-grid{
  border:1px solid #ccc!important;
  margin:2rem auto;
  border-radius:%px;
}

.search .post .content-wrapper {
  padding: 2rem 1rem;
  /* font-size:16px; */
  text-align: right;
  border: 2px solid #483a32;
  background:white;
  margin: 0 0 1.5rem 0;
  display: block;
  width:100%;
  max-width:100%;
  max-height: 380px;
  overflow-x: auto;
}

.search .post .content-wrapper img {
  display: none;
}

.search .post .content-wrapper var {
  display: block;
  border-top: 1px solid #ccc;
  text-align: center;
  border-bottom: 1px solid #ccc;
  margin: 3rem 0 2rem;
}

.search .post .content-wrapper {
  text-align: center!important;
}

.search-results .main-section .post h2 {
  color: #bca578;
  font-size: 150%;
  font-family: inherit;
  font-weight: normal;
  margin: 0 0 8px 0;
  margin: 0 0 .5rem 0;
}

.search-results .main-section .card {
  position: relative;
  margin: 0 auto 1rem auto;
}

.search-results .main-section .post .button.go-to {
  margin: 0 0 3rem 0;
}

/* === Back to Top Scroll === */

.scroll-back-to-top-wrapper{
  background-image: linear-gradient(-90deg, #322e2d, #3e3632, #342f2e);!important;
  text-align:center;
  border-radius:4px!important;
  right:21px!important;
}

.scroll-back-to-top-wrapper:hover{
  background:#483a32!important;
}

.scroll-back-to-top-wrapper .fa{
  -webkit-transform:translate(2px, -4px);
  transform:translate(2px, -4px);
}

/* === SearchForm === */

.search-panel {
  position: fixed;
  top: 83px;
  left: 0;
  right: 0;
  z-index:101;
  height: 45px;
  width:1152px;
  width:calc(100vw - 40px);
  /* max-width: 506px; */
  margin: auto;
  overflow: hidden;
  opacity:0;
  display:none;
}

.mobile-nav-open .search-panel {
  display:block;
  animation:fadeIn .25s cubic-bezier(0.42, 0, 0, 0.99) forwards;
  animation-delay:70ms;

  }

.search-panel .fa {
  position: relative;
  top: -2px;
}

.search-panel .searchform input {
  width:100%;
  border: 2px solid #483a32;
  color:#483a32;
  border-radius:4px;
  display: block;
  vertical-align: top;
  background:none;
  font-size: 100%;
  height: 45px;
  height: 45px;
  border-radius: 0;
  margin: 0 0 0 0;
  padding: 0 17px 0 3.24rem;
}

.search-panel .searchform .button {
  display: inline-block;
  vertical-align: middle;
  height: 45px;
  width: 45px;
  line-height: 55px;
  text-align: center;
  border-radius: 0;
  margin: 0 0 0 0;
  padding: 0 0;
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  left: 0;
}

.search-panel .searchform .button:hover {
  color: white;
}

/* === Footer === */

footer {
  padding: 43px 2rem 43px 2rem;
  margin: 0;
  padding: 43px 2rem 38px 2rem;
  font-size: 85%;
  font-family: inherit;
  font-weight: normal;
}

footer p {
  color: #525252;
  text-align: center;
  padding: 0;
  margin: 0;
  display: block;
  line-height: 32px;
  line-height: normal;
  /* font-size: 75%!important; */;
}

footer p.english {
  font-size: 12px;
  direction: ltr;
  font-family: arial;
}

footer p a {
  color: inherit;
  font-family: inherit;
  font-weight: normal;
}

#mc_embed_signup_scroll {
  position: relative!important;
  overflow: hidden!important;
}

/* === Sign Up === */

.reveal.sign-up-modal {
  overflow: hidden;
  padding: 0;
  background: #fff!important;
  border: none;
  top: 3rem!important;
  left: 0;
  right: 0;
  margin: auto;
  height: 355px;
  width: calc(100% - 1.5rem)!important;
  max-width: 465px!important;
}

.reveal.sign-up-modal h1 {
  margin: 2rem auto 1rem auto;
  text-align: center;
  color: white;
}

.reveal.sign-up-modal p {
  margin: 0 auto;
  text-align: center;
  color: white;
}

.reveal.full iframe {
  top: 2rem;
}

.sign-up {
  display: none;
  max-width: 400px;
  margin: 1rem auto 2rem auto;
  text-align: center;
}

.reveal.sign-up-modal .button {
  top: 1rem;
  right: 1rem;
  padding: .6rem 1rem;
}

.reveal.sign-up-modal .button span {
  position: relative;
  top: -2px;
  display: inline-block;
  -webkit-transform: scale(1.5);
  transform: scale(1.5);
}

/* == Sticky Nav === */

.top-bar-left {
  float: none;
  display: block;
}

.page-controls .sticky.is-stuck.is-at-top {
  padding-bottom:12px;
  overflow:hidden;
  background: #fbf5de;
  max-width: 1000!important;
  box-shadow: 2px 10px 15px 0 rgba(0, 0, 0, 0.06);
  border-bottom: 2px solid #c7bcab;
}

.page-controls .sticky.is-stuck.is-at-top .page-controls {
  border-radius: 0;
}

/* === Book Chapters Menu === */

.off-canvas .close-button {
  top: 21px;
  right: 21px;
  cursor: pointer;
  padding: 0;
  text-align: center;
  border: none;
  cursor: pointer;
  width: 45px;
  height: 45px;
  line-height: 47px;  
}

.close-button:hover,
.close-button:focus {
    color: #fff;}

.off-canvas .close-button .fa{
  display:inline-block;
  vertical-align:middle;
}

.off-canvas .close-button:hover {
  color: white;
}

.off-canvas .close-button span {
  display: inline-block;
  vertical-align: top;
  line-height: .9;
  transform: scale(1.5);
}

.off-canvas .menu {
  padding: 0 0 2.5rem 0;
}

.off-canvas .menu-book-chapters-container {
  /* border-top: 1px solid #ccc; */
}

.off-canvas .menu li:first-of-type:first-of-type {
  border-top: 1px solid #e9e9e9;
}

/* Missing Stuff */

.menu-book-chapters-container .menu li {
  display: block;
  text-align: right;
  margin: auto;
  padding: .75rem 21px;
  position: relative;
  border-bottom: 1px solid #d6ceba94;
  line-height: normal;
}

.off-canvas .menu-book-chapters-container .menu li{
  border-bottom: 1px solid #e9e9e9;
}

.menu-book-chapters-container .menu li a {
  color: #483a32;
  padding: 0;
  text-decoration: none;
}

.menu-book-chapters-container .menu li a {
  white-space:nowrap;
  display: block;
  vertical-align: middle;
  min-height: 20px;
}

.menu-book-chapters-container .menu li:hover {
  background: linear-gradient(-90deg, rgba(56, 50, 47, 0.08) 0%, rgba(0,0,0,0) 100%);
}

.menu-book-chapters-container .menu li a span:nth-child(1) {
  float:right;
  margin-left:14px;
  margin-right:0px;
  display: inline-block;
  vertical-align: middle;
  line-height: 1.3;
  width: 70px;
}

.menu-book-chapters-container .menu li a span:nth-child(2) {
  display: inline-block;
  vertical-align: middle;
  line-height: 1.4;
}

.menu-book-chapters-container .menu li:after {
  transform:translate(1px, -21px);
  float:left;
}

.menu-book-chapters-container .menu li:nth-of-type(1):after {
  content: "۵";
}

.menu-book-chapters-container .menu li:nth-of-type(2):after {
  content: "۱۳";
}

.menu-book-chapters-container .menu li:nth-of-type(3):after {
  content: "۳۳";
}

.menu-book-chapters-container .menu li:nth-of-type(4):after {
  content: "۵۱";
}

.menu-book-chapters-container .menu li:nth-of-type(5):after {
  content: "۶۳";
}

.menu-book-chapters-container .menu li:nth-of-type(6):after {
  content: "۷۳";
}

.menu-book-chapters-container .menu li:nth-of-type(7):after {
  content: "۸۳";
}

.menu-book-chapters-container .menu li:nth-of-type(8):after {
  content: "۸۹";
}

.menu-book-chapters-container .menu li:nth-of-type(9):after {
  content: "۱۳۵";
}

.menu-book-chapters-container .menu li:nth-of-type(10):after {
  content: "۱۴۹";
}

.menu-book-chapters-container .menu li:nth-of-type(11):after {
  content: "۱۵۱";
}

.menu-book-chapters-container .menu li:nth-of-type(12):after {
  content: "۱۶۹";
}


/* === Web Mode === */

.web-mode .book-page .paper-grid table tbody {
  border: none;
}

.web-mode .book-page var {
  width: 32px;
  width: 2rem;
  font-style: normal;
  font-family: inherit;
  font-weight: normal;
  text-align: center;
  font-family: inherit;
  display: block;
  margin: 32px auto 32px auto;
  margin: 2rem auto 2rem auto;
}

.web-mode .book-page hr {
  border-color: #bbb;
  margin: 0 0 8px 0;
  margin: 0 0 .5rem 0;
}

/* Artificial Footnotes */

hr + *,
hr + * + *,
hr + * + * + *,
hr + * + * + * + *,
hr + * + * + * + * + *,
hr + * + * + * + * + * + *,
hr + * + * + * + * + * + * + *,
hr + * + * + * + * + * + * + * + *,
hr + * + * + * + * + * + * + * + * + * {
  word-spacing: -.5px;
  font-size: 75%;
  line-height: 20px;
  line-height: 1.25rem;
  /* Becuase sometimes it gets ugly on short ones */
  text-align: right;
  margin: 0 0 .5rem 0;
}

hr + ol ul {
  padding-right: .5rem!important;
}

/* === Foot Notes === */

.paper-grid ol li {
  list-style: arabic-indic;
  list-style-position: inside;
  text-indent: 0px;
}

.paper-grid ul.left {
  text-align: left;
  direction: ltr;
}

.paper-grid ul.left li {
  direction: ltr;
  display: inline-block;
  text-indent: 0px;
  text-align: left;
  margin: 0 7px 7px 0;
}



aside ul.text-left {
  direction: ltr;
}

aside ul.text-left li {
  display: inline-block;
  margin-right: 1rem;
  direction: ltr;
}

hr {
  border-color: #b3b3b3;
  border-style: dashed;
}

.book-page aside .footer-list {
  direction: rtl;
  text-align: right;
}

.book-page aside .footer-list.inline li {
  display: inline-block;
}

.book-page aside .footer-list li {
  margin: 0 0px 8px 0;
  margin: 0 0rem .5rem 0;
  min-width: 24%;
  direction: rtl;
  text-align: right;
}

.book-page aside .footer-list li.inline {
  display: inline-block;
}

.book-page aside .footer-list li.left-to-right {
  text-align: left;
  direction: ltr;
}

.book-page aside .footer-list * {
  max-width: initial;
}

.book-page aside .footer-list.left-to-right {
  direction: ltr;
  text-align: left;
}

.book-page aside .footer-list.left-to-right li {
  margin: 0 16px 8px 0;
  margin: 0 1rem .5rem 0;
  min-width: calc(25% - 1.5rem);
  display: inline-block;
  direction: ltr;
  text-align: left;
}

.book-page aside .footer-list.left-to-right li.block.right-to-left {
  display: block;
  text-align: right;
  direction: rtl;
}

/* === Web Mode === */

.reader-mode .book-page .paper-grid li,
.web-mode .book-page .paper-grid li {
  list-style: none;
}

.web-mode .book-page .paper-grid > li,
.web-mode .book-page .paper-grid > p {
  margin-bottom: .75rem;
}

.web-mode .book-page .paper-grid table tbody {
  border: none;
}

.web-mode .book-page var {
  font-style: normal;
  font-family: inherit;
  font-weight: normal;
  text-align: center;
  font-family: inherit;
  display: block;
  width: 100%;
  margin: 32px auto 32px auto;
  margin: 2rem auto 2rem auto;
  border-top: 1px solid #ccc;
  padding: 5px 0;
  border-bottom: 1px solid #ccc;
}

.web-mode .book-page:nth-of-type(1) var {
  display: none;
}

.web-mode .book-page:nth-of-type(even) var {
  text-align: right;
}

.web-mode .book-page:nth-of-type(odd) var {
  text-align: left;
}

.book-page .attention-needed:before {
  font-family: arial;
  display: block;
  text-align: left;
  margin: 5px;
  font-family: inherit;
  font-weight: normal;
  font-size: 75%;
  content: "If you see this, please report this";
}

.book-page .attention-needed {
  background: rgba(255, 255, 0, 0.18);
}

/* === Reader Mode (Owl) === */

.owl-carousel {
  position: fixed;
  z-index:2;
  top: 0;
  left: 0;
  width: 100vw;
  height: calc(100vh - 44px);
}

.display-posts-listing {
  margin: 0;
}

.listing-item {
  list-style: none;
}

.listing-item .title {
  display: none;
}

.reader-mode .page-controls-contain-to-grid *,
.reader-mode .owl-stage {
  -webkit-animation: swipeHint 1.35s ease-in-out forwards;
  animation: swipeHint 2s ease-in-out forwards;
  -webkit-animation-delay: 1.25s;
  animation-delay: 1.25s;
  /* position: relative; */
}

@keyframes swipeHint {
  0% {
    left: 0;
  }

  50% {
    left: 3rem;
  }

  100% {
    left: 0;
  };
}

.reader-mode .owl-stage-outer,
.reader-mode .owl-stage,
.reader-mode .owl-carousel.owl-rtl .owl-item,
.reader-mode .listing-item,
.reader-mode .content {
  overflow-y: hidden;
}

.reader-mode .owl-stage-outer{
  background: #f8f1e0;
}

.reader-mode .book-page {
  overflow: auto;
  /* display: table-cell; */
  vertical-align: top;
  width: 100vw;
  height: calc(100vh - 44px);
}

.reader-mode .book-page .paper-grid {
  font-size: inherit;
  opacity: 0;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  -webkit-animation: .75s slideFadeInUp cubic-bezier(0, 0.01, 0, 0.98) forwards;
  animation: .75s slideFadeInUp cubic-bezier(0, 0.01, 0, 0.98) forwards;
  position: relative;
  overflow: hidden;
  background: white;
  width: auto;
  width: 100%;
  max-width: 500px;
  margin: auto;
  padding: 0 .75rem 44px .75rem;
  display: block;
  max-width: 100vw;
  width: 100%;
}

@-webkit-keyframes slideFadeInUp {
  0% {
    opacity: 0;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    margin-top: 15rem;
  }

  100% {
    opacity: 1;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    margin-top: 0;
  };
}

@keyframes slideFadeInUp {
  0% {
    opacity: 0;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    margin-top: 15rem;
  }

  100% {
    opacity: 1;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    margin-top: 0;
  };
}

.reader-mode .book-page .paper-grid var {
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  text-align: right;
  padding: 0;
  margin: 0 auto 8px auto;
  margin: 0 auto 0.5rem auto;
  display: block;
  font-size: inherit;
  font-style: normal;
  font-family: inherit;
  font-weight: normal;
}

.reader-mode .owl-item:nth-of-type(odd) .book-page .paper-grid var {
  text-align: left;
}

.reader-mode .owl-item:nth-of-type(even) .book-page .paper-grid var {
  text-align: right;
}

.reader-mode .book-page .paper-grid h1 {
  color: #483a32;
  margin: 16px auto 16px auto;
  margin: 1rem auto 1rem auto;
  padding: 0 16px;
  padding: 0 1rem;
  text-align: right;
  font-size: 130%;
}

.reader-mode .book-page .paper-grid h2 {
  margin: 0 auto 16px auto;
  margin: 0 auto 1rem auto;
  font-size: 120%;
}

.reader-mode .book-page .paper-grid p {
  /* line-height:1.55; */
  /* too general to set margin */;
}

.reader-mode hr {
  margin: 0.5rem 0;
}

.reader-mode aside,
.reader-mode hr + * {
  line-height: normal;
  padding: 0;
  margin: 0;
}

.no-touch .owl-carousel .owl-nav,
.no-touch .owl-carousel .owl-controls {
  position: fixed;
;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 2.5rem;
  height: 2.5rem;
  background-image: linear-gradient(-90deg, #322e2d, #3e3632, #342f2e);
}

.touch .owl-carousel .owl-nav,
.touch .owl-carousel .owl-controls {
  height: 2.75rem;
  background-image: linear-gradient(-90deg, #322e2d, #3e3632, #342f2e);
  position: fixed;
;
  bottom: 0;
  left: 0;
  right: 0;
}

.owl-carousel .owl-prev {
  float: right;
  right: 0;
  position: relative;
;
}

.owl-carousel .owl-next {
  float: left;
  position: relative;
;
}

.owl-carousel .disabled {
  visibility: hidden;
}

.owl-carousel .owl-next:after,
.owl-carousel .owl-prev:before {
  font-family: fontawesome;
}

.owl-carousel .owl-next:after {
  content: "\f104";
}

.owl-carousel .owl-prev:before {
  content: "\f105";
}

.owl-carousel .owl-next span,
.owl-carousel .owl-prev span,
.reader-mode .button.page-control span {
  font-size: inherit;
  vertical-align: top;
  display: none;
}

.reader-mode .button.page-control {
  float: none!important;
}

/* === Links === */

.link .th-wrapper {
  text-align: right;
}

.link .th {
  display: inline-block;
  margin: 0 auto 1rem auto;
  box-shadow: 1px 1px 2px rgba(0,0,0,0.2);
  border: 2px solid #c7bcab;
  border-radius: 3px;
  overflow: hidden;
}

.link h2 {
  text-align: right;
  font-size: 125%;
  margin: 0 0 0.5rem 0;
}

.link button {
  display: block;
  text-align: right;
  font-family: arial;
  font-weight: bold;
  display: block;
  margin: 0 0 1rem 0;
}

.link p {
  margin: 0;
  font-weight: normal;
}

/* === Contact Us === */

[type='text'],
[type='password'],
[type='date'],
[type='datetime'],
[type='datetime-local'],
[type='month'],
[type='week'],
[type='email'],
[type='number'],
[type='search'],
[type='tel'],
[type='time'],
[type='url'],
[type='color'], 
textarea {
  box-shadow: none;
  border:1px solid #c7bcab;
}

#scf_email {
  text-align:left;
  font-family: Arial!important;
}

[type='text']:focus,
[type='password']:focus,
[type='date']:focus,
[type='datetime']:focus,
[type='datetime-local']:focus,
[type='month']:focus,
[type='week']:focus,
[type='email']:focus,
[type='number']:focus,
[type='search']:focus,
[type='tel']:focus,
[type='time']:focus,
[type='url']:focus,
[type='color']:focus,
textarea:focus {
  background: white!important;
  border-color: #483a32;
}

.page-template-page-contact-us form {
  text-align: center;
}

.scf p {
  text-align: center;
}

.scf pre {
  background: white;
  border:2px solid black;
  margin: 0 0 1rem 0;
  direction: ltr;
  text-align: left;
  font-family: tahoma;
  font-size: 14px;
  padding: 1rem;
  border-radius: 3px;
}

.scf label {
  text-align: right;
  font-size: 100%;
  font-weight: normal;
  display: block;
  margin: 0 0 .25rem 0;
}

.scf input[type='text'],
.scf input[type='email'],
.scf textarea {
  background: #fff;
  font-family: tahoma;
  font-size: 80%;
}

.scf select {
  background-color: #fff;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="32" height="24" viewBox="0 0 32 24"><polygon points="0,0 32,0 16,24" style="fill: rgb%2851, 51, 51%29"></polygon></svg>');
  background-size: 9px 6px;
  background-position: left center;
  background-origin: content-box;
  background-repeat: no-repeat;
}

.anr_captcha_field_div iframe, .grecaptcha-badge iframe {
  height: -moz-available;          /* WebKit-based browsers will ignore this. */
  height: -webkit-fill-available;  /* Mozilla-based browsers will ignore this. */
  height: fill-available;
}

.scf p.scf_error {
  background: #ffd4d4;
  padding: .5rem 1rem;
  border-radius: 2px;
  display: block;
}

.scf textarea.scf_error,
.scf input.scf_error {
  box-shadow: none;
  border: 2px solid #ff9f9f;
}

.scf label::after {
  position: relative;
  top: -4px;
  left: -4px;
  color: #ff5656;
  content: "*";
}

.scf .button {
  color: white;
  display: inline-block;
  margin: auto;
  padding: 1rem 4rem;
}

.scf #scf_email {
  font-family: tahoma;
}

.scf #scf_email:focus {
  font-family: tahoma;
  direction: ltr;
}

.scf textarea {
  display: block;
  max-width: 100%!important;
  width: 100%!important;
  resize: none;
  max-height: 200px;
  margin-bottom: 2rem;
  border-radius:4px;
}

.book-cover {
  float: display:block;
  max-height: 6rem;
  display: inline-block;
  vertical-align: top;
  margin: 0 0 0 1rem;
}

/* === Boldness Hack === */

.paragraph1_bold,
.titr_fasl_bold_mabhas,
.titr_fasl2,
.zirtitr_fasl_zir_zir2,
.titr_fasl_bold,
.titr_asli_outline_14,
.titr_asli_outline_12,
.paragraph_italic,
.paragraph_small14,
.paragraph_small12,
.paragraph1_mostanadat_bold,
.paragraph1_bold_12pt,
.paragraph1.titr_fasl,
.paragraph1.titr_fasl_bold_3,
.zirtitr_fasl_zir_zir2,
.titr_fasl_bold_4,
.zirtitr_fasl_zir_zir,
.titr_fasl_bold_mabhas {
}

.top-bar li::after, select.page-control, .tp-caption, .menu-book-chapters-container .menu li a span:nth-of-type(1), [type='text'], [type='password'], [type='date'], [type='datetime'], [type='datetime-local'], [type='month'], [type='week'], [type='email'], [type='number'], [type='search'], [type='tel'], [type='time'], [type='url'], [type='color'], textarea, .accordion-title, .read-more, h1, h2, h3, h4, h5, h6, .home .lead-section h2, header .paragraph-table, .submenu .menu li a, .post-snippet .graphics h1, .single-post .content h2, .single-post .content h1, .link h2, .search .post .results-title, .search-query mark, blockquote p::before, blockquote p::after, blockquote p, .single-post .content table td, .search-results .main-section .post h2, .search-panel .searchform input, footer, footer p a, .web-mode .book-page var, .web-mode .book-page var, .book-page .attention-needed:before, .reader-mode .book-page .paper-grid var, .scf label, header h2, .top-bar li a, .home article .title, .most-recent, .post-snippet .post-info h2, .post-snippet .post-info date, .post-snippet .button, .page .book-page a, strong, b, .button, .single-post .page-controls .next a, .single-post .page-controls .prev a, .page-control.previous-chapter:after, .page-control.next-chapter:before, .owl-carousel .owl-next span, .owl-carousel .owl-prev span, .page-control span, .web-mode .book-page h1 strong, .reader-mode .book-page h2, .page .book-page a, strong {
  font-family: "BNazanin+Bold"!important;
}

/* ======================================================== */
/* ================ New Logic For Search  ================= */
/* ======================================================== */

.search-toggle-plus{
  display:none;
}

.top-bar .search-toggle-plus,
.top-bar .search-toggle-minus{
  opacity: 1;
}


/* ======================================================================== */
/* ================ iPhone 6 & Up (Min-width: 375 pixels) ================= */
/* ======================================================================== */

@media screen and (min-width:375px) {
  
  body {
    font-size: 18px;
  }

  .web-mode .page-control.next-chapter,
  .web-mode .page-control.previous-chapter {
    min-width:44px;}

  .web-mode .page-control.next-chapter .fa,
  .web-mode .page-control.previous-chapter .fa {
    font-size:100%!important;}

  body.reader-mode .owl-carousel {
    font-size: 14px;
  }
}

/* ======================================================================== */
/* ================ iPhone 6S & Up (Min-width: 414 pixels) ================ */
/* ======================================================================== */

@media screen and (min-width:414px) {

  .menu-book-chapters-container .menu li a span:nth-child(1) {
    display: inline-block;
    width: 80px;
  };
}

/* ======================================================================== */
/* ========= Foundation's Small Break Point (Min-Width 640 pixels ========= */
/* ======================================================================== */

@media screen and (min-width:640px){

  .single-post .page-controls .is-stuck .prev a:before {
    right:0;
  }

  .single-post .page-controls .is-stuck .next a:after {
    left:0;
  }

  hr + ol ul{
    padding-right:1.5rem!important;
  }

  .single-post .page-controls .next a,
  .single-post .page-controls .prev a{
    width:auto;
  }

  .page-control.next-chapter:before {
    content: "فصل بعد";
  }

  .page-control.previous-chapter:after {
    content: "فصل قبل";
  }

  

  .buttom-nav .next-chapter:before,  
  .buttom-nav .previous-chapter:after {
    content:"";
    color:Red!important;
    display:none!important;
  }

  .page-control{padding:0 14px;
  }

  .page-control .fa {
    min-width:14px;
    }

  .reader-mode .book-page .paper-grid{
    padding:4rem 5rem;
  }

  .single-post .page-controls .next a,
  .single-post .page-controls .prev a{
    padding:0 1rem;
  }

  body {
    /* because of top bar */
    font-size: 18px;
    }


  .owl-carousel .owl-next{
    padding-right:.75rem;
    }

  .owl-carousel .owl-prev{
    padding-left:.75rem;
    }

  .owl-carousel .owl-prev:before,
  .owl-carousel .owl-next:after{
    padding:0 .5rem 0 0.5rem }

  .reader-mode .page-controls .sticky-container > div,
  .reader-mode .page-controls .sticky-container{
    max-width:calc(100vw - 205px);
  }

  .owl-carousel .owl-next:after,
  .owl-carousel .owl-prev:before,
  .page-control .fa {}

  .previous-chapter .fa{
    margin-left:.5rem;
  }

  .next-chapter .fa{
    margin-right:.5rem;
  }

  .tooltip{
    font-size:80%!important;
    padding:1rem;
    /* max-width:350px!important; */
    }

  .single-post .page-controls .prev
    a:before {
    margin-right:0;
    position:relative;
    top:0;
    right:0;}

  .single-post .page-controls .next
    a:after {
    margin-left:0;
    position:relative;
    top:0;
    left: 0;}

  .post-snippet.card{
    padding:1rem 0 3rem 0;}

  .link .th{
    max-width:100%;}

  .single-post .main-section .card{
    padding:1rem 0;
    }

  .post-snippet
    p{}

  .post-snippet .post-info{
      /* padding: 2rem 2rem 5.5rem 2rem; */
  }

  .card .hint{
    margin:0;}

  .owl-carousel .owl-next,
  .owl-carousel .owl-prev,
  .page-control a,
  .page-control {
    max-width:auto;
  }

  .single-post .page-controls .next
    a:after {
    margin-right:0.5rem;
  }

  .single-post .page-controls .prev
    a:before {
    margin-left:0.5rem;
  }

  .reader-mode .page-controls .sticky {
    position: fixed!important;
    text-align:center;
    left:0;
    right:0;
    bottom:0!important;
    max-width: inherit!important;
    margin:auto;
    background:#f8f1e0;
  }

  .page-control.previous-chapter .fa {
    float: right;}


  .search-panel .searchform input + button i:before{
    content:"\f002";}

  .single-post .page-controls .next
    a,
  .single-post .page-controls .prev a,
  .owl-carousel .owl-next span,
  .owl-carousel .owl-prev span,
  .page-control .page-control-title,
  .page-control.previous-chapter:after,
  .page-control.next-chapter:before{
    width:auto;
    font-size:16px!important;
    opacity:1;
    color: #ffffff;
    line-height: 2.75rem;
    vertical-align:middle;
    display:inline-block;
    }
}


/* ======================================================================== */
/* ============== iPad Portrait & Up (Min-width: 768 pixels) ============== */
/* ======================================================================== */

@media screen and (min-width:768px){

  .buttom-nav .page-control{
    max-width:300px;
  }

  .search-panel form{
    margin-bottom:auto;
    margin-right:auto;
  }

  @keyframes swipeHint{
    0%{left:0}
    50%{left:15rem}
    100%{left:0}
  }

  .reader-mode .page-control{
    min-width:auto}

  .tooltip{
    max-width: 350px!important;
  }

  .page-template-page-about-book p img{
    max-width:23rem;
    margin:0 auto 2rem auto;
    display:block;
    box-shadow:2px 2px 2px 2px rgba(0, 0, 0, 0.03);
    background:white;
    border:1px solid #ccc;
    padding:.5rem;
  }

  .page-template-page-ostad p img{
    max-width:15rem;
  }

  blockquote{
    /* padding:2rem 2rem; */
  }

  .attachment-post-thumbnail{
    width:auto;
    max-width:21rem;
  }

  .posts article section.content{
    padding:5rem .25rem;
  }

  .owl-carousel .owl-next span,
  .owl-carousel .owl-prev span,
  .page-control > span{
    display:inline-block;
  }

  .off-canvas-wrapper div ul{
    margin:2.5rem 0 0;
  }

  .off-canvas-wrapper
    div ul{
    margin-top:2rem;
  }

  .off-canvas ul li a{
    text-align:right;
  }

  .owl-carousel .book-page small{
    margin-top:3rem;
  }

  .reader-mode  .owl-next,
  .reader-mode  .owl-prev{
    font-family:inherit;
    font-weight:normal;
    color:white;
  }

  .reader-mode  .owl-next.disabled,
  .reader-mode  .owl-prev.disabled{
    display:none;
  }

  .reader-mode .reader-mode-toggle:before{
    font-size:200%;
  }

  .owl-carousel  .owl-dots .owl-dot{
    margin-bottom:1.25rem;
  }

  .owl-carousel .owl-next{
    position:fixed;
    bottom:0rem;
    left:0rem;
  }

  .owl-carousel .owl-prev{
    position:fixed;
    bottom:0;
    right:0;
  }

  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.5rem;
  }
  h3 {
    font-size: 1.25rem;
  }
  h4 {
    font-size: 1rem;
  }
  h5 {
    font-size: 1rem;
  }
  h6 {
    font-size: 1rem;
  }
}
    

/* ======================================================================== */
/* === iPad Landscape / Common Desktop and UP (Min-width: 1024 pixels) ==== */
/* ======================================================================== */

@media screen and (min-width:1025px){

  .page-template-page-about-book .current_page_item{
    background:none;
  }

  header + article{
    min-height:calc(100vh - 340px)
  }

  .top-bar-wrapper{
    max-height:83px;
    overflow:visible;
    background:#fbf5de;
  }

  .top-bar-wrapper .top-bar{
    background:none;
  }

  .search-panel .searchform input{
    font-size:100%;
    padding-right:.5rem;
  }

  html.mobile-nav-open,
  html.mobile-nav-open body{
    overflow: auto;
  }

  .single.mobile-nav-open .top-bar .menu li:nth-of-type(2),
  .category.mobile-nav-open .top-bar .menu li:nth-of-type(2),
  .mobile-nav-open .top-bar .menu li.current_page_item{
    background: none;  
    border-right:none;
  }

  .top-bar li a::after{
    display:none;
  }

  .card.callout {
    padding: 1.5rem 1.75rem 2rem 1.75rem!important;
  }

  .mobile-nav-open .search-panel {
  display:none;}

  .search-toggle-plus{
  display:block;
  }

  .search-on .search-toggle-plus{
  display:none;
  }

  .search-panel {
    max-width: 1159px;
    width:calc(100vw - 41px);
    position:absolute;
    top:21px;
    left:85px;
    right:auto;
    width:300px;
    max-width:300px;}

  .main-section h2 {
  text-align:right;}

  .home header img{
  -webkit-transform:none;
  transform:none;
  }

  .single-post .page-controls .next a{
    display:block;
  }

  .search-on .search-toggle-minus {
    display: block;
  }

  .search-on.animate .search-panel{
  -webkit-animation:.35s fadeInDown forwards;
  animation:.35s fadeInDown forwards;
  display:block;
  }

  .mobile-nav-open .top-bar {
    max-height: auto;
    min-height: none;
    background: none;
    background-size: none;
  }

  .mobile-nav-open .top-bar-wrapper {
    height: 83px;
    z-index: 2;
  }

  .search-panel {
    display: none;
  }

  .search-on .search-panel{
    display:block;
  }

.single-post .page-controls .next a,
.single-post .page-controls .prev a,
.page-control.previous-chapter:after,
.page-control.next-chapter:before,
.owl-carousel .owl-next span,
.owl-carousel .owl-prev span,
.page-control span {
  display:inline-block;
}

  .buttom-nav{
    display:none;
  }

  header {
    margin: 83px auto 3rem auto;
  }

  .page-template-audio-book header {
    margin: 83px auto 1rem auto;
  }

  .page-template-page-about-book header .art-border{
    background: url(../img/calligraphy-headers/calligraphy-intro-2.png) right center no-repeat;
    background-size: auto 120px!important;
  }

  .page-template-page-contact-us header .art-border{
    background: url(../img/calligraphy-headers/calligraphy-contact-us-2.png) right center no-repeat;
    background-size: auto 120px!important;
  }

  body.single header .art-border,
  body.single header .art-border,
  body.category header .art-border{
    background: url(../img/calligraphy-headers/calligraphy-sections-2.png) right center no-repeat;
    background-size: auto 120px!important;
  }

  .page-template-audio-book header .art-border,
  .page-template-page-chapters header .art-border{
    background: url(../img/calligraphy-headers/calligraphy-rookhani-2.png) right center no-repeat;
    background-size: auto 120px!important;
  }

  .page-template-page-links header .art-border{
    background: url(../img/calligraphy-headers/calligraphy-links-2.png) right center no-repeat;
    background-size: auto 120px!important;
  }

  .page-template-page-about-book .main-section h2{
    display:block
  }

  .accordion .accordion-item .accordion-title{
    padding-left:2rem;
    font-size:90%;}

  .site-logo{
    right:20px;
  }

  .content-wrapper {
    min-width:auto;}

  .button:hover,
  .button:focus {
    background-image: linear-gradient(-90deg, #322e2d, #3e3632, #342f2e);
    color:white;
  }

  .home header .splash-content{
    display:table-cell;
    vertical-align:middle;
    text-align: center;
    padding:1rem 0 4rem 0;
  }

  .top-bar li::after{
    display:none}

  .tooltip{
    width: auto;
    max-width: none;
  }

  .home header{
    min-height:calc(100vh - 90px);
    background: url(../img/bg-home-artwork-desktop-3.png) center 110px fixed no-repeat;
    background-size:100vw auto!important;
  }

  body::after{
    content:"";
    position:fixed;
    
  }

  .home .lead-section cite{
    color:#483a32;
  }

  .home section .columns.img-wrapper{
    display:block
  }

  .submenu .menu li a::before{
    position:absolute;
    top:2px;
    right:7px;
  }

  .top-bar li a::before{
    display:none;
  }

  .home section{
    padding: 10rem;
  }

 body:not(.home) header h1 span{
      position:relative;
      display:inline-block;
      top:-17px;
      right:-1px;
      transform:scale(1.1) rotate(-1deg);
    }

  article .main-section aside{
    display:block;
    height: 1px;
  }

  aside .submenu .menu li{
    margin:0;
    padding:0;
    line-height:42px;
    border-right:2px solid #c7bcabb0;
  }

  aside .submenu .menu .current_page_item{
    color: #483a32;
    border-right:2px solid black;
  }

  aside .submenu .menu li:hover{
    background: linear-gradient(-90deg, rgba(56, 50, 47, 0.08) 0%, rgba(0,0,0,0) 100%);
  }

  aside .submenu .menu li a{
    display:block;
    line-height:inherit;
    background:none;
    color: #493b33;
    background-size:100px 100px;
    font-size:90%;
    margin:0;
    padding: 0 .5rem 0 .0;
  }

  .button.button.sub-menu-toggle{
    display:none;
  }

  .mobile-nav-open .top-bar .menu {
    padding: inherit;
  }

  .menu-top-bar-container .menu{
   display:block; 
   height:auto;
  }

  .top-bar .menu li{
    position:relative;
    display:none;
    margin:0;
    border:none;
    display:block;
    float:right;
    height:auto;
    width:auto;
    opacity:1;
    right:0!important;
    top:0;
    background:none;
  }

  .top-bar .menu li a{
    font-size:100%;
    height: 83px;
    line-height: 83px;
    border-bottom:2px solid transparent;
  }

  .top-bar .menu li.current-menu-item a{
    border-bottom:2px solid black;
  }

  .top-bar .menu li:hover{
    background: linear-gradient(180deg, rgba(56, 50, 47, 0.08) 0%, rgba(0,0,0,0) 100%);
  }

  .top-bar .menu li.current_page_item a{
    position:relative;
  }

  .site-logo h1{
    color:#483a32;
  }

  .home #fp-nav ul{
  display:block;}

  .home header p cite{
    font-size:inherit;
    text-align:right;
    }

  .reader-mode .book-page .paper-grid {
    /* padding:1rem 1rem 15rem 1rem; */
  }
 
  .home header p{
    font-size:120%;
  }

  #fp-nav.left{
    left:1.75rem;
  }


  .home header .row .columns{
    display:block;
  }

  .home header .row .columns.img-wrapper{
    float:right!important;
    display:block;
    position:relative;
    right:9rem;
  }

  .home .row .columns.img-wrapper img{
    border: 8px solid #ffffff33;
    box-shadow: 0 0 0px 4px #e9e8e64a;
  }

  .home .row .columns.p-wrapper::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    border: 2px solid #e0dfde;
    transform:scale(1.2);
  }


  .home header .row .columns.p-wrapper{
    left:7rem;
    margin-top:6rem;
    float:left!important;
    display:block;
    position:relative;
;
  }

  .home section:nth-of-type(odd) .row .columns.img-wrapper{
    display:block;
    position:relative;
    right:-4rem;
  }

  .home section:nth-of-type(odd) .row .columns.p-wrapper{
    left:-4rem;
    margin-top: 0;
    display:block;
    position:relative;
  }

  .home section:nth-of-type(even) .row .columns.img-wrapper{
    display:block;
    position:relative;
    right:2rem;
  }

  .home section:nth-of-type(even) .row .columns.p-wrapper{
    left:5rem;
    margin-top:-18px;
    display:block;
    position:relative;
  }

  .home section .row .columns *{
    position:relative;
  }


  .single .main-section h1{
    text-align:center;
    margin:3rem auto 2rem auto;
  }

  .search-results .main-section .main-section .row{
    padding:2rem;
  }

  .menu-book-chapters-container .menu li a span:nth-child(1){
    width:120px;
  }

  .menu-book-chapters-container .menu li a span:nth-child(2){
    max-width:100%;
    width:auto;
  }


  .top-bar::before{
    display:none;
  }

  body{
    font-size:20px;
    background: #f9f4e31c url(../img/bg-watermarks.png) no-repeat left center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  }

  .home footer {
    /* display:none; */
  }

  .submenu .menu{
    background:none;
    border:none;
  }

  header .submenu .menu{
    margin:1rem auto 1rem auto!important;}

  aside .submenu .menu{
    margin: 0;
  }

  .submenu .menu{
    display:inline-block;
  }

  @keyframes experiment1{

   0%{transform:scale(1.1) translate(0, -20px);}
   100%{transform:scale(1.2) translate(0, -25px);}

  }

  @keyframes experiment2{

   0%{transform:scale(1.1) translate(0, -20px);}
   100%{transform:scale(1.2) translate(0, -25px);}

  }

  .submenu .menu li a span{
    margin:.75rem auto 0 auto;
    display:block}

  .home .lead-section{
    max-width:1000px;
    position:relative;
    padding:0;
  }

  .home article .main-section {
    width:100%;
    max-width:none;
    padding:0;
    margin:0}

  .home .lead-section .title{
    font-size:107%;
    line-height:1.6;
    word-spacing:-1px;
    margin-bottom:1rem;
    padding:0;
    text-align:right;
  }

  .home .lead-section:nth-of-type(even) h2{
    right:0;
    left:auto
  }


  header .paragraph-table{
    line-height:1.5;
    text-align:center;
    letter-spacing:-1px;
  }

  .home .top-bar ul li:nth-of-type(1) a::after,
  .page-template-page-about-ostad  .top-bar ul li:nth-of-type(2) a::after,
  .page-template-page-about-book .top-bar ul li:nth-of-type(3) a::after,
  .page-template-page-about-site .top-bar ul li:nth-of-type(4) a::after,
  .category-articles .top-bar ul li:nth-of-type(5) a::after,
  .page-template-page-chapters .top-bar ul li:nth-of-type(6) a::after,
  .page-template-page-contact-us  .top-bar ul li:nth-of-type(7) a::after{
    /* content:"\25C8"; */
  }

  @keyframes swipeHint{
    0%{left:0}
    50%{left:10rem}
    100%{left:0}
  }

  .reader-mode .book-page {
    vertical-align:middle;
    padding:0!important}

  .titr_faslha_outline_nopadding {
    padding-bottom:4rem;
  }

  .page-template-audio-book .main-section{
    padding-top:0;
    }

  .page-control.previous-chapter:after,
  .page-control.next-chapter:before,
  .page-control a,
  .page-control {
    font-size:16px;
  }

  .no-touch .owl-carousel .owl-nav,
  .no-touch .owl-carousel .owl-controls{
    height:44px;
    min-width:100vw;
  }

  .touch .owl-carousel .owl-nav,
  .touch .owl-carousel .owl-controls{
    height:44px;
    background:#483a32;
  }

  .owl-carousel .owl-prev:before{
    padding:0 1rem 0 0.75rem}

  .owl-carousel .owl-next:after{
    padding:0 0.5rem 0 1rem}

  .no-touch .owl-carousel .owl-nav,
  .no-touch .owl-carousel .owl-controls{
    display:block;}

  .reader-mode .book-page {
    width:50vw;}

  .page-controls .sticky.is-stuck.is-at-top{
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    background: #483a32!imoprtant;
  }

  .single-post .main-section > .row > .card:not(a){
      padding:1rem 1rem 4rem 1rem;}

  .has-feature-image .main-section > .row > .card:not(a){
    padding:1rem 1rem 4rem 1rem;}

  .search .post .content-wrapper{
  padding:2rem 5rem;}

  article ol,
  article ul,
  article p {
    line-height: 1.4;
  }

  article.has-feature-image > header {
    position: relative;
  }

  article.has-feature-image .main-section p img{
    margin:-5rem auto 2rem auto;}

  .post-snippet .post-info{
    /* padding:2rem 2rem 2rem 2rem; */
  }

  .blog .row .columns:nth-of-type(1) .post-snippet .ribbon::before{
    right: 68px;
  }

  .callout.success{
    display:initial;
  }

  .reader-mode .book-page .paper-grid var,
  .reader-mode .book-page .paper-grid h2,
  .reader-mode .book-page .paper-grid aside,
  .owl-carousel .book-page p,
  .reader-mode .book-page .paper-grid h1{
    max-width: 480px;
  }

  .reader-mode .book-page{
    /* background:white; */
  }

  .search-results .main-section .post{
    /* margin:0 auto 2rem auto; */
  }

 .menu-top-bar-container{
   display: block;
   height:auto;
   width:auto;
   margin: 0 91px 0 0;
   /* float:right; */
 }

  .top-bar ul li a{
    background:none;
    /* font-family: 'WebNastaliq'!important; */
    font-size:110%;
    letter-spacing:-.1px;
    word-spacing:-3px;
    font-family:inherit;
    font-weight:normal;
    margin:0 .45rem 0 .45rem;
    padding:0;
    position:relative;
  }

  .page-template-audio-book .main-section{
    padding-bottom:7rem;
  }

  .top-bar-toggle{
    display:none;
  }

  .menu-first-menu-links-container{
    margin:auto;
    top:0;
    right:0;
    left:0;
  }

  .top-bar ul li{
    width:auto;
  }

  .top-bar-wrapper::before{

  }


  .callout p{
    margin:0 0 1rem 0;}

  .owl-carousel .owl-next span,
  .owl-carousel .owl-prev span,
  .page-control span{
    font-family:inherit;
    font-weight:normal;
    font-size:inherit;
  }

  .reader-mode .book-page .paper-grid var{
    margin-bottom:1rem;
  }

  .reader-mode .book-page .paper-grid{
    box-shadow: none;
    position:relative;
    top:0px;
    font-size:inherit;
    background: none;
    margin:0 auto 0 auto;
    padding-top:0.5rem;
    width:calc(100% - 2rem);
    background: white;
    /* height:100vh; */
    /* max-height:800px; */
    min-height:700px;
    max-width:500px;
  }

  .reader-mode .book-page .paper-grid aside{
    margin:.5rem auto;
    padding:.5rem 0;}

}

.scf_error{
  background:#ff9f9f;
  padding:.5rem 1rem;
  border-radius:4px;

}

/* ======================================================================= */
/* =========== Large Desktop Computer (Min-width: 1200 pixels) =========== */
/* ======================================================================= */

@media screen and (min-width:1400px) and (min-height:768px){

  header img{
    /* max-width:200px; */
    /* max-height:200px; */
  }

  .home .lead-section .snippet-art{
    width:auto;
    height:auto;
  }

  @keyframes swipeHint{
    0%{left:0}
    50%{left:25rem}
    100%{left:0}
  }

  .page .main-section .card{
    padding:2rem 1.5rem;
  }

  .single-post .main-section > .row > .card:not(a){
    padding:1rem 1rem 7rem 1rem;
  }

  .has-feature-image .main-section > .row > .card:not(a){
    padding:1rem 1rem 7rem 1rem;
  }

  .row {
  /* padding:0; */
  }

  .post-snippet.card{
    padding:2.5rem 2rem 2.5rem 2rem;
  }

  .page-template-page-book-reader article .callout{
    background: url(../img/bg.jpg) no-repeat -5rem center;
    background-size:cover;
  }

  .web-mode .book-page .paper-grid{
    text-align: justify!important;
  }

  .menu-book-chapters-container .menu li:before {
    top: 1.5rem;}

  .menu-book-chapters-container .menu li {
    line-height:2.75rem;}

  .post-snippet .button{
    padding:1rem 2em;
  }

  article p{
    margin-bottom:1rem;
  }

  .site-logo img{
    margin:0;
  }

  .reader-mode .book-page .paper-grid{
    font-size:15px;
  }

}


/* Absolute Center Spinner */

.loading {
  position: fixed;
;
  height: 2em;
  width: 2em;
  overflow: show;
  margin: auto;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  display:none;
}

/* :not(:required) hides these rules from IE9 and below */

.loading:not(:required) {
  /* hide "loading..." text */
  font: 0/0 a;
  color: transparent;
  text-shadow: none;
  background-color: transparent;
  border: 0;
}

.loading:not(:required):after {
  content: '';
  display: block;
  font-size: 7px;
  width: 1em;
  height: 1em;
  margin-top: -0.5em;
  -webkit-animation: spinner 1500ms infinite linear;
  -moz-animation: spinner 1500ms infinite linear;
  -ms-animation: spinner 1500ms infinite linear;
  -o-animation: spinner 1500ms infinite linear;
  animation: spinner 1500ms infinite linear;
  border-radius: 0.5em;
  -webkit-box-shadow: rgba(0, 0, 0, 0.75) 1.5em 0 0 0, rgba(0, 0, 0, 0.75) 1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) 0 1.5em 0 0, rgba(0, 0, 0, 0.75) -1.1em 1.1em 0 0, rgba(0, 0, 0, 0.5) -1.5em 0 0 0, rgba(0, 0, 0, 0.5) -1.1em -1.1em 0 0, rgba(0, 0, 0, 0.75) 0 -1.5em 0 0, rgba(0, 0, 0, 0.75) 1.1em -1.1em 0 0;
  box-shadow: rgba(0, 0, 0, 0.75) 1.5em 0 0 0, rgba(0, 0, 0, 0.75) 1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) 0 1.5em 0 0, rgba(0, 0, 0, 0.75) -1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) -1.5em 0 0 0, rgba(0, 0, 0, 0.75) -1.1em -1.1em 0 0, rgba(0, 0, 0, 0.75) 0 -1.5em 0 0, rgba(0, 0, 0, 0.75) 1.1em -1.1em 0 0;
}

/* Animation */

@-webkit-keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@-moz-keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@-o-keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

/* ====== New Audiobook Related Styles ====== */

/* For in-page link purposes all content is pushed down a bit */

.listing-item{
  list-style:none;
}

.web-mode .listing-item:nth-of-type(1){
  margin-top:1rem;
  margin-bottom: 1rem;
}

.web-mode .listing-item{
  display:block;
  margin-bottom:2rem;
  list-style:none;}

.web-mode ul.display-posts-listing {
  list-style: none;
  margin:0;
}

/* === Tool Tip === */

#tooltip:after{
  width: 0!important;
  height: 0!important;
  border-left: 10px solid transparent!important;
  border-right: 10px solid transparent!important;
  border-top: 10px solid #333!important;
  content: ''!important;
  position: absolute!important;
  left: 50%!important;
  bottom: -6px!important;
  margin-left: -10px!important;}

#tooltip.top:after {
  border-top-color: transparent!important;
  border-bottom: 10px solid #111!important;
  top: -20px!important;
  bottom: auto!important;}

#tooltip.left:after {
  left: 10px!important;
  margin: 0!important;}

#tooltip.right:after {
  right: 10px!important;
  left: auto!important;
  margin: 0!important;}

.wrapper {
  width: 390px!important;
  overflow: hidden!important;
  background-color: #F2F2F2!important;
  position: relative!important;
  top: 45px!important;
  left: 27px!important;}

.wrapperLeft {
  width: 390px!important;
  overflow: hidden!important;
  background-color: #F2F2F2!important;
  position: relative!important;
  top: 45px!important;
  left: 54px!important;}

.scroller {
  width: 764px!important;
  height: 580px!important;
  overflow: none!important;
  background-color: #F2F2F2!important;
  position: relative!important;
  border-width: 2px!important;
  border-style: solid!important;
  border-color: #483a32!important;
  -webkit-border-radius: 12px!important;
  -moz-border-radius: 12px!important;
  border-radius: 12px!important;}

.normalText {
  color: #483a32!important;
  background-color: #F2F2F2!important;}

.highlightText {
  color: #483a32!important;
  background-color: rgb(181,230,29)!important;}

.sticky.is-stuck.is-at-bottom {
  background: #bca477;
  width: 100%;
  max-width: 1024px;
}

.audio-control-bar {
  margin: auto;
  max-width: 1024px!important;
}

.audio-control-bar .page-control.left {
  float: left;
}

.audio-control-bar .page-control.right {
  float: right;
}

.audio-control-bar .page-controls-contain-to-grid {
  text-align: center;
}

.reader-mode .audio-control-bar {
  display: none;
}

.audio-controls i.fa-2x {
  font-size: 36px !important;
}

/* === Tooltip Hint === */

.has-tip,
span[rel="tooltip"]{
  display:inline;
  border-bottom: 1px dotted rgba(0, 0, 0, 0.31);
}

span[rel="tooltip"]:hover {
/*   border-bottom: 1px dotted #eee; */
  background: transparent!important;
}

/* == page content css ==*/

.listing-item .title {
  display: none;
}

.header {
  line-height:normal;
}

.header_text_left {
  line-height:inherit;
}

.header_text_right {
  line-height:inherit;
}

.footnote ul {
  list-style-type: none;
  margin-right: 0px;
}

button[disabled].page-control .fa,
button[disabled].page-control span{
  color: rgba(255, 255, 255, 0.3);
}

#page-search div.page-search {
  display: inline-block;
}

#page-search div.page-search input {
  display: inline-block;
  height: 35px;
  width: 55px;
  margin-top: -5px;
}

.add-link-offset {
   padding-top:50px;
   margin-top:-50px;
}

.titr_fasl_center_next {
  text-align: center;
  font-size: 110%;
}

#alobaidi-loading-bar div{
  background:#483a32!important;
}

.tparrows:nth-child(5){
  top:calc(100% - .25rem)!important;
}

.tparrows:nth-child(6){
  top:calc(100% - .25rem)!important;
}

.tparrows:before{
  color:black!important;
}

*:after,
*:before,
*{
  outline:none!important;
/*   box-shadow:inset 0 0 0 1px red; */
}

/* === TIMESTAMP === */