/* General RTL indentation & positioning classes */

.cke5-custom-block-indent-1,.rteindent1 {
    margin-right: 40px;
    margin-left: 0;
  }
  .cke5-custom-block-indent-2, .rteindent2 {
    margin-right: 80px;
    margin-left: 0;
  }
  .cke5-custom-block-indent-3, .rteindent3 {
    margin-right: 120px;
    margin-left: 0;
  }
  .cke5-custom-block-indent-4, .rteindent4 {
    margin-right: 160px;
    margin-left: 0;
  }
  .cke5-custom-block-indent-1[dir=ltr], .rteindent1[dir=ltr] {
    margin-left: 40px;
    margin-right: 0;
  }
  .cke5-custom-block-indent-2[dir=ltr], .rteindent2[dir=ltr] {
    margin-left: 80px;
    margin-right: 0;
  }
  .cke5-custom-block-indent-3[dir=ltr], .rteindent3[dir=ltr] {
    margin-left: 120px;
    margin-right: 0;
  }
  .cke5-custom-block-indent-4[dir=ltr], .rteindent4[dir=ltr] {
    margin-left: 160px;
    margin-right: 0;
  }

  p{
      line-height: 170%;
  }
  
  .img-box,.video5{
      position: relative;
  }
  
  .field--name-field-tags {
      margin: 10px 0;
  }
 
  .field.field--name-field-editorial-sort-description.field--type-text-long.field--label-hidden.field__item p {
      line-height: 18pt;
  }
  
  .field.field--name-field-content.field--type-text-long.field--label-hidden.field__item {
      margin: 35px auto 35px;
  }
  
  .field.field--name-field-content .align-right {
      margin: 8px 0px 8px 10px;
    }
  
  .fa-volume-up:before, .fa.fa-play:before, .icon-volume-up:before, .icon-play:before{
    text-shadow: 1px -1px 6px rgba(0,0,0,0.75);  
  }
  
  .fa-volume-up:hover, .fa-play:hover, .icon-volume-up:hover, .icon-play:hover{
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.75);
    box-shadow: 0px 0px 6px 6px rgba(0, 0, 0, 0.30);
    text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.75);    
  }

  /*In saleh theme(style.css) we set position: fixed but in admin_panel_link.css file it is set to absolute */
  .admin-panel-links {
    position: fixed;
  }

  .node--view-mode-front-single h5 {
    font-family: 'Dibaj Medium Contrast';
    font-weight: 600;
    font-size: 13pt;
  }

  .node--view-mode-front-single .field.field--name-field-short-desc p {
    font-family: 'Dibaj Low Contrast';
    font-weight: 400;
  }

  .node--view-mode-col-2-front h5,
  .node--view-mode-col-2-front-en h5 {
    font-family: 'Dibaj Low Contrast';
    font-weight: 500;
    font-size: 13pt;
  }

  .node--view-mode-content-with-background h5 {
    font-family: 'Dibaj Low Contrast';
    font-weight: 500;
  }

  .node--view-mode-content-with-background .field.field--name-field-short-desc p {
    font-family: 'Dibaj Low Contrast';
    font-weight: 400;
  }

  .node--view-mode-editorial-selection .field.field--name-field-editorial-sort-description p {
    font-family: 'Dibaj Low Contrast';
    font-weight: 400;
  }

  .pager__item.is-active a {
    font-weight: bold;
  }
  
  .node.node--type-podcast.node--view-mode-front-single .fa-volume-up,
  .node.node--type-podcast.node--view-mode-front-single .icon-volume-up,
  .node.node--type-multimedia.node--view-mode-front-single .fa.fa-play,
  .lfdark-section .fa-play,
  .lfgray-section .fa-play,
  .gray-section.playthumb-section .fa-volume-up,
  .gray-section.playthumb-section .icon-volume-up,
  .node.node--type-podcast.node--view-mode-editorial-selection .fa-volume-up,
  .node.node--type-podcast.node--view-mode-editorial-selection .icon-volume-up,
  .node.node--type-multimedia.node--view-mode-editorial-selection .fa.fa-play,
  .node.node--type-podcast.node--view-mode-inner-top .fa-volume-up,
  .node.node--type-podcast.node--view-mode-inner-top .icon-volume-up,
  .node.node--type-multimedia.node--view-mode-inner-top .fa.fa-play,
  .col-12.col-lg-9.al-thumb .node.node--type-podcast.node--view-mode-listing .fa-volume-up,
  .col-12.col-lg-9.al-thumb .node.node--type-podcast.node--view-mode-listing .icon-volume-up,
  .col-12.col-lg-9.al-thumb .node.node--type-multimedia.node--view-mode-listing .fa.fa-play{
      z-index: 1;
      position: absolute;
      border: 4px solid #fff;
      border-radius: 100px;
      font-size: 30px;
      left: 0;
      right: 0;
      margin: 0 auto;
      display: table;
      top: 50%;
      -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
      transform: translateY(-50%);
      color: #fff;
      width: 60px;
      height: 60px;
      text-align: center;
      display: flex;
      align-items: center;
      justify-content: center;
  }

  .node.node--type-multimedia.node--view-mode-front-single .icon-play,
  .lfdark-section .icon-play,
  .lfgray-section .icon-play,
  .node.node--type-multimedia.node--view-mode-editorial-selection .icon-play,
  .node.node--type-multimedia.node--view-mode-inner-top .icon-play,
  .col-12.col-lg-9.al-thumb .node.node--type-multimedia.node--view-mode-listing .icon-play{
	  z-index: 1;
      position: absolute;
      border: 4px solid #fff;
      border-radius: 100px;
      font-size: 40px;
	  padding-left: 7px;
      left: 0;
      right: 0;
      margin: 0 auto;
      display: table;
      top: 50%;
      -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
      transform: translateY(-50%);
      color: #fff;
      width: 60px;
      height: 60px;
      text-align: center;
      display: flex;
      align-items: center;
      justify-content: center;
  }
  
  .node.node--type-podcast.node--view-mode-col-2-front .fa-volume-up,
  .node.node--type-podcast.node--view-mode-col-2-front .icon-volume-up,
  .node.node--type-podcast.node--view-mode-col-2-front-en .fa-volume-up,
  .node.node--type-podcast.node--view-mode-col-2-front-en .icon-volume-up,
  .node.node--type-multimedia.node--view-mode-col-2-front .fa.fa-play,
  .node.node--type-multimedia.node--view-mode-col-2-front .icon-play,
  .node.node--type-multimedia.node--view-mode-col-2-front-en .fa.fa-play,
  .node.node--type-multimedia.node--view-mode-col-2-front-en .icon-play,
  .node.node--type-multimedia.node--view-mode-col-2-front .icon-play,
  .col-12.col-md-6.col-lg-3.al-thumb .node.node--type-podcast.node--view-mode-listing .fa-volume-up,
  .col-12.col-md-6.col-lg-3.al-thumb .node.node--type-podcast.node--view-mode-listing .icon-volume-up,
  .col-12.col-md-6.col-lg-3.al-thumb .node.node--type-multimedia.node--view-mode-listing .fa.fa-play,
  .col-12.col-md-6.col-lg-3.al-thumb .node.node--type-multimedia.node--view-mode-listing .icon-play{
      left: 5px;
      bottom: 5px;
      z-index: 1; 
      position: absolute;
      border: 2px solid #fff;
      border-radius: 100px;
      display: table;
      color: #fff;
      width: 35px;
      height: 35px;
      text-align: center;
      display: flex;
      align-items: center;
      justify-content: center;
  }

  html[dir="ltr"] .node.node--type-podcast.node--view-mode-col-2-front-en.en-homepage-item .en-item-card .en-item-image .icon-volume-up,
  html[dir="ltr"] .node.node--type-multimedia.node--view-mode-col-2-front-en.en-homepage-item .en-item-card .en-item-image .icon-play {    
    left: 47%;
    bottom: 45%;
    width: 50px !important;
    height: 50px !important;
    font-size: 25px !important;        
  }

  .floating-books-btn {
      position: fixed;
      right: 0px;
      width: 40px;
      height: 236px;
      padding: 8px 8px;
      border-radius: 8px 0px 0px 8px;
      text-align: center;
      background-color: var(--orange-color);
      color: var(--white-color);
      border-color: var(--orange-color);
      display: none;
      top: 0;
      bottom: 0;
      margin: auto 0px;
      cursor: pointer;
      align-items: normal !important;
      z-index: 9;
  }
  
  .floating-books-btn span {
      position: absolute;
      bottom: 0;
      display: block;
      white-space: nowrap;
      transform: rotate(90deg);
      height: 20px;
      width: 0px;
      padding-left: 10px;
      padding-right: 10px;
      text-transform: uppercase;
      letter-spacing: 1px;
      font-family: 'Dibaj High Contrast';
      font-weight: 500;
      font-size: 14px;
  }
  
  
  .left-to-right{
      direction: ltr;
  }
  
  .latin-text {
     font-family: Georgia, serif;
     /*font-size: 15px;*/
  }

  .image-footer{
	  color:hsl(0,0%,60%);
	  font-size:16px !important;
	  line-height:130%; 
	  margin-top:6px;
      font-family: 'Dibaj Medium Contrast';
      font-weight: 400;  
  }

  .content-par-question-style,
  .content-par-title-style {
    font-family: 'Dibaj High Contrast';
    font-weight: 600 !important;  
  }

  .content-bold-style{
    font-family: 'Dibaj High Contrast';
    font-weight: 500 !important;  
  }
  
  .main-wrapper {
      padding-top: 10px;
  }
  .row>.row {
      margin: 0;
  }
  .top-bar {
      padding-top: 5px;
  }
  .top-bar.is-sticky {
      animation-name: slideDown;
      animation-duration:1s;
      position: fixed;
      left: 0;
      right: 0;
      top: 0;
      background-color: var(--theme-color2);
      z-index: 9;
      box-shadow: 0px 0px 0px 10px var(--theme-color2);
  }
  .top-bar.is-sticky .direct-links {
      display: none;
  }
  
  @keyframes slideDown {
      0% {opacity:0; top:-100px;}
      100% {opacity:1; top:0;}
  }
  
  .ec-thumb .ec-img::before {
      content: "";
  }
  
  .top-bar .container {
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
      position: relative;
      padding-bottom: 5px;
  }
  .top-bar .container:before {
      content: "";
      border-bottom: 1px solid #767676;
      display: block;
      width: calc(100% - (var(--bs-gutter-x)* .5 + var(--bs-gutter-x)* .5));
      position: absolute;
      margin: 0px auto;
      bottom: 0;
      left: 0;
      right: 0;
  }
  .top-bar .center-box {
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-wrap: wrap;
  }
  .top-bar .center-box .logo, .top-bar .center-box .direct-links {
      width: 100%;
  }
  .top-bar .center-box .logo {
      margin-bottom: 10px;
  }
  
  div#block-saleh-primary-local-tasks {
      position: fixed;
      left: 0;
      bottom: 0px;
      background-color: transparent;
      z-index: 9000;
  }
  div#block-saleh-primary-local-tasks ul {
      margin: 0;
      padding-right: 0;
      padding-left: initial;
      background-color: transparent;
  }
  div#block-saleh-primary-local-tasks ul li {
      margin-right: 3px;
      float: right;
      margin-bottom: -1px;
      position: relative;
      display: block;
  }
  
  div#block-saleh-primary-local-tasks ul li>a {
      background-color: #ddd;
      border: medium none !important;
      border-radius: 0;
      color: #000;
      display: block;
      padding: 3px 7px;
      margin-left: auto;
      line-height: 1.42857143;
      margin-right: -2px;
  }
  
  .top-bar .logo a {
      max-width: 85px;
      display: block;
      margin: 0px auto;
  }
  .direct-links{
      display: flex;
      justify-content: center;
  }
  .direct-links .menu {
      list-style: none;
      padding: 0;    
      gap: 15px;
      font-size: 12pt;
      display: flex;
      justify-content: center;
      border-top: 1px solid #959393;
      margin-bottom: 0;
      padding-top: 5px;
  }
  .direct-links .menu>li>a{
      font-family: 'Dibaj High Contrast';
      font-weight: 500;
      color: #626162;
  }
  
  /* Apply English site font (Nunito) to direct links menu on English pages */
  html[dir="ltr"] .direct-links .menu>li>a {
      font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  }
  .direct-links .menu>li>a:hover, .direct-links .menu>li>a.is-active, .otlink a:hover {
      color: var(--orange-color);
  }
  .language-switcher {
    display: inline-block;
  }
  
  .language-switcher .language-link {
    color: inherit;
    text-decoration: none;
    position: relative;
    top: 2px;
  }
  
  .language-switcher .language-link:hover {
    color: var(--orange-color);
    text-decoration: none;
  }
  
  /* Apply Dibaj High Contrast font to Farsi link on English site */
  html[dir="ltr"] .language-switcher .language-link {
    font-family: 'Dibaj High Contrast';
  }
  
  /* Apply Nunito font to English link on Farsi site */
  html[dir="rtl"] .language-switcher .language-link {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  }

  .searchandlink {
      display: flex;
      align-items: center;
      gap: 5px;
      flex: 0 0 200px;
      max-width: 200px;
      justify-content: flex-end;
      position: relative;
  }
  .searchandlink .search-box {
      position: relative;
      display: flex;
      flex-direction: row-reverse;
  }
  .searchandlink .search-box>.search-block-form {
      width: 34px;
      height: 34px;
      overflow: hidden;
      transition: width 0.2s ease;
      position: relative;
  }
  .searchandlink .search-box>.search-block-form form {
      width: 100%;
      background-color: #eee9dd;
      display: flex;
  }
  .searchandlink .search-box>.search-block-form.show {
      width: 240px;
      z-index: 1;
  }
  .searchandlink .search-box .search-block-form>div {
      display: block;
      height: 100%;
  }
  .searchandlink .search-toggle {
      font-size: 0;
      padding: 0;
      width: 34px;
      height: 36px;
      border: 0;
      background-color: var(--theme-color2);
      background-image: url(../images/icons/search-icon.png);
      background-position: center;
      background-repeat: no-repeat;
      background-size: 14px;
      position: absolute;
      z-index: 1;
      left: 0;
      top: 0;
      bottom: 0;
  }
  .searchandlink .search-box>.search-block-form form .form-item {
      margin-bottom: 0;
      width: 100%;
  }
  .searchandlink .search-box>.search-block-form form .form-item input[type="search"] {
      border-left: 0;
      width: 100%;
      height: 34px;
      padding: 5px 10px 5px 44px;
      border-radius: 5px;
  }
  .searchandlink .search-box>.search-block-form form .form-item input[type="search"]:focus {
      border-color: var(--dark-red);
  }
  .searchandlink .search-box>.search-block-form form .form-actions {
      flex: 0 0 34px;
      width: 34px;
      height: 34px;
      position: absolute;
      left: 0;
      top: 0;
      bottom: 0;
  }
  .searchandlink .search-box>.search-block-form form .form-actions input[type="submit"] {
      padding: 0;
      font-size: 0;
      width: 100%;
      height: 100%;
      margin: 0;
      border-radius: 5px;
      border-top-right-radius: 0;
      border-bottom-right-radius: 0;
      background-image: url(../images/icons/search-icon-white.png);
      background-position: center;
      background-repeat: no-repeat;
      background-size: 14px;
      position: relative;
  }
  .otlink {
      display: flex;
      flex-wrap: wrap;
      gap: 5px;
  }
  .otlink a{
      font-size: 10pt;
      color: #000000;
      font-family: 'Dibaj Low Contrast';
      font-weight: 400;
      display: block;
      padding-top: 4px;
  }
  .top-bar .menu-wrapper {
      flex: 0 0 200px;
      width: 100%;
      max-width: 200px;
      align-items: end;
      display: flex;
  }
  .navbar-toggler {
      width: 26px;
      height: 26px;
  }
  .navbar-toggler:before, .navbar-toggler:after {
      content: "";
      height: 2px;
      background-color: #000;
      display: block;
      width: 90%;
  }
  button.navbar-toggler:before {
      width: 50%;
  }
  .navbar-toggler .navbar-toggler-icon {
      width: 70%;
      height: 2px;
      background-color: #000;
      display: block;
      margin: 5px 0;
  }
  .hamburgerMenu {
      background-color: #282728;
      width: 100%;
      max-width: 420px;
      position: fixed;
      right: -100%;
      top: 0;
      bottom: 0;
      height: 100vh;
      overflow: auto;
      transition: right 0.4s ease;
      padding: 22px 20px 5px 20px;
      z-index: 99;
  }
  .toolbar-horizontal.toolbar-tray-open .hamburgerMenu {
      top: 79px;
  }
  .toolbar-horizontal .hamburgerMenu {
      top: 39px;
  }
  .hamburgerMenu::-webkit-scrollbar-track
  {
      background-color: #282728;
  }
  .hamburgerMenu::-webkit-scrollbar
  {
      width: 6px;
      background-color: #282728;
  }
  .hamburgerMenu::-webkit-scrollbar-thumb
  {
      background-color: #949393;
  }
  .hamburgerMenu.open {
      right: 0;
      transition: right 0.4s ease;
  }
  .top-bar, .main-wrapper, .footer-wrapper{
      padding-right: 0px;
      position: relative;
      transition: padding-right 0.4s ease;
  }
  .slidebar, .top-bar.is-sticky.slidebar{
      padding-right: 420px;
      transition: padding-right 0.4s ease;
  }

  /* LTR (English) - Hamburger menu opens from left side */
  /* Apply Avenir-like font to English site */
  /* Note: Avenir Roman is commercial. Using Nunito from Google Fonts as a similar free alternative */
  html[dir="ltr"] body,
  html[dir="ltr"] body * {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  }

  html[dir="ltr"] .hamburgerMenu {
      right: auto;
      left: -100%;
      transition: left 0.4s ease;
  }
  html[dir="ltr"] .hamburgerMenu.open {
      left: 0;
      right: auto;
      transition: left 0.4s ease;
  }
  html[dir="ltr"] .top-bar, 
  html[dir="ltr"] .main-wrapper, 
  html[dir="ltr"] .footer-wrapper {
      padding-right: 0px;
      padding-left: 0px;
      transition: padding-left 0.4s ease;
  }

  /* English Homepage Banner - Container Width with Aspect Ratio */
  /* Banner link styling - make it cover the entire banner */
  html[dir="ltr"] .en-banner-link {
    display: block;
    text-decoration: none;
    color: inherit;
    width: 100%;
  }
  
  html[dir="ltr"] .en-banner-link:hover {
    text-decoration: none;
    color: inherit;
  }
  
  html[dir="ltr"] .english-homepage-banner,
  html[dir="ltr"] .en-banner-section {
    position: relative;
    width: 100%;
    display: block;
    border-radius: 4px;
    overflow: hidden;
    background-size: contain; /* Show full image without cropping */
    background-position: center center;
    background-repeat: no-repeat;
    cursor: pointer; /* Show pointer cursor on hover */
  }
  
  /* Ensure text overlay doesn't block clicks */
  html[dir="ltr"] .en-banner-text-overlay {
    pointer-events: none; /* Allow clicks to pass through to banner */
  }
  
  /* Use padding-bottom hack to maintain aspect ratio */
  /* Default aspect ratio: 5.76:1 (width:height) = 17.36% */
  /* This creates a responsive container that maintains aspect ratio */
  html[dir="ltr"] .english-homepage-banner::before,
  html[dir="ltr"] .en-banner-section::before {
    content: '';
    display: block;
    padding-bottom: 17.36%; /* 5.76:1 aspect ratio (adjust based on your image) */
  }
  
  /* Modern browsers: use aspect-ratio property as fallback/primary */
  @supports (aspect-ratio: 5.76 / 1) {
    html[dir="ltr"] .english-homepage-banner::before,
    html[dir="ltr"] .en-banner-section::before {
      padding-bottom: 0;
    }
    
    html[dir="ltr"] .english-homepage-banner,
    html[dir="ltr"] .en-banner-section {
      aspect-ratio: 5.76 / 1; /* 5.76:1 aspect ratio */
    }
  }
  
  /* Banner wrapper - container width, aligned with page content */
  html[dir="ltr"] .en-banner-wrapper {
    position: relative;
    width: 100%;
    padding-right: 0px;
    padding-left: 0px;
    margin-top: -45px;
  }
  
  /* Text overlay for banner */
  html[dir="ltr"] .en-banner-text-overlay {
    position: absolute;
    top: 92%;
    left: 211px;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 436px;
    text-align: left;
    color: #fff;
    z-index: 2;
    padding: 20px;
  }
  
  html[dir="ltr"] .en-banner-text-overlay p {
    margin: 0;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 600;
  }
  
  /* Mobile styles - adjust text size */
  @media (max-width: 992px) {
    html[dir="ltr"] .en-banner-text-overlay {
        max-width: 398px;
        padding: 15px;
        left: 194px;
    }
    
    html[dir="ltr"] .en-banner-text-overlay p {
      font-size: 12px;
      line-height: 1.1;
    }
  }

  /* SmallMobile styles - adjust text size */
  @media (max-width: 575px) {
    html[dir="ltr"] .en-banner-text-overlay {
        max-width: 398px;
        padding: 15px;
    }
    
    html[dir="ltr"] .en-banner-text-overlay p {
      font-size: 9px;
      line-height: 1;
    }
  }

  /* Ensure all English homepage content is in two-column grid */
  html[dir="ltr"] .english-homepage-banner + * .views-row,
  html[dir="ltr"] .en-banner-section + * .views-row {
    display: flex;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  /* Two-column grid for English homepage content */
  html[dir="ltr"] .en-two-column-grid {
    padding-top: 40px; /* Space between banner and content */
    padding-bottom: 5px;
    padding-right: 0px;
    padding-left: 0px;
  }

  html[dir="ltr"] .en-two-column-grid .view-content,
  html[dir="ltr"] .en-two-column-grid .views-view-grid,
  html[dir="ltr"] .en-two-column-grid .views-row-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  /* Ensure all content in English homepage uses two-column layout */
  html[dir="ltr"] .english-homepage-content .lf66-section .container > div {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  html[dir="ltr"] .en-item-image {
    margin-bottom: 20px;
    position: relative;
  }

  html[dir="ltr"] .en-item-image img {
    width: 100%;
    height: auto;
    display: block;
    min-height: 300px;
    object-fit: cover;
  }

  /* Make images bigger on larger screens */
  @media (min-width: 992px) {
    html[dir="ltr"] .en-item-image img {
      min-height: 240px;
    }
  }

  @media (min-width: 1200px) {
    html[dir="ltr"] .en-item-image img {
      min-height: 240px;
    }
  }

  .al-grid {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  /* Add space between columns using odd/even pattern */
  /* Odd items (1, 3, 5...) are in left column, Even items (2, 4, 6...) are in right column */
  .col-lg-6.al-grid:nth-child(odd) {
    padding-right: calc(var(--bs-gutter-x) * 1.4);
    padding-left: 0px;
  }

  .col-lg-6.al-grid:nth-child(even) {
    padding-right: 0px;
    padding-left: calc(var(--bs-gutter-x) * 1.4);
  }

  @media (max-width: 992px) {
    .col-lg-6.al-grid:nth-child(odd) {
      padding-right: 10px;
      padding-left: 10px;
    }

    .col-lg-6.al-grid:nth-child(even) {
        padding-right: 10px;
        padding-left: 10px;
      }
  }
  
  html[dir="ltr"] .en-item-content {
    display: flex;
    flex-direction: column;
    flex: 1;
  }

  html[dir="ltr"] .en-item-title {
    margin-top: 0;
    margin-bottom: 10px;
  }

  html[dir="ltr"] .en-item-author {
    margin-bottom: 10px;
  }

  html[dir="ltr"] .en-item-author h5 {
    margin: 0;
    font-size: 12pt;
    font-weight: 400;
  }

  html[dir="ltr"] .en-item-description {
    flex: 1;
  }

  html[dir="ltr"] .en-item-description p {
    margin-bottom: 0;
    font-size: 12pt;
    line-height: 18pt;
  }

  /* Books listing page - 3-column grid layout */
  html[dir="ltr"] .en-books-grid {
    padding-top: 40px;
    padding-bottom: 5px;
    padding-right: 0px;
    padding-left: 0px;
  }

  /* Main grid container - handles both Grid format and Content format */
  html[dir="ltr"] .en-books-grid .views-view-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: stretch;
  }

  /* For Grid format with horizontal alignment: rows contain columns */
  html[dir="ltr"] .en-books-grid .views-view-grid.horizontal .views-row {
    display: flex;
    gap: 30px;
    align-items: stretch;
  }

  html[dir="ltr"] .en-books-grid .views-view-grid.horizontal .views-col {
    flex: 1;
    display: flex;
    flex-direction: column;
  }

  /* For Content format: views-row are direct grid items - make them stretch to fill grid cell */
  html[dir="ltr"] .en-books-grid .views-view-grid > .views-row {
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  /* For vertical alignment: make columns stretch and rows fill column height */
  html[dir="ltr"] .en-books-grid .views-view-grid.vertical .views-col {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 100%;
  }

  html[dir="ltr"] .en-books-grid .views-view-grid.vertical .views-row {
    display: flex;
    flex-direction: column;
    height: 100%;
    flex: 1;
    min-height: 100%;
  }

  /* Default for views-row */
  html[dir="ltr"] .en-books-grid .views-row {
    margin-bottom: 0;
    padding-left: 12px;
    padding-right: 12px;
  }

  /* Add space between columns using odd/even pattern */
  /* Odd items (1, 3, 5...) are in left column, Even items (2, 4, 6...) are in right column */
  @media (min-width: 992px) {
    html[dir="ltr"] .en-books-grid .col-lg-6.al-grid:nth-child(odd) {
        padding-right: calc(var(--bs-gutter-x) * 1.4);
      }
    
      html[dir="ltr"] .en-books-grid .col-lg-6.al-grid:nth-child(even) {    
        padding-left: calc(var(--bs-gutter-x) * 1.4);
      }
  }

  /* Ensure book items stretch to fill their container - critical for equal heights */
  html[dir="ltr"] .en-books-grid .views-col .en-book-item {
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  /* Also handle if book item is directly in views-row (Content format) */
  html[dir="ltr"] .en-books-grid .views-row .en-book-item {
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  /* Book item card */
  html[dir="ltr"] .en-book-item {
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  html[dir="ltr"] .en-book-image {
    width: 100%;
    margin-bottom: 5px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
  }

  html[dir="ltr"] .en-book-image::before {
    content: '';
    display: block;
    padding-bottom: 56.37%; /* 619/1098 aspect ratio */
  }

  html[dir="ltr"] .en-book-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
  }

  html[dir="ltr"] .en-book-content {
    display: flex;
    flex-direction: column;
    flex: 1;
  }

  html[dir="ltr"] .en-book-title {
    margin-top: 5px;
    margin-bottom: 10px;
  }

  html[dir="ltr"] .en-book-author {
    margin-bottom: 10px;
  }

  html[dir="ltr"] .en-book-author h5 {
    margin: 0;
    font-size: 12pt;
    font-weight: 400;
  }

  html[dir="ltr"] .en-book-description {
    flex: 1;
    margin-bottom: 15px;
  }

  html[dir="ltr"] .en-book-description p {
    margin-bottom: 0;
    font-size: 12pt;
    line-height: 18pt;
  }

  html[dir="ltr"] .en-book-links {
    margin-top: auto;
    font-size: 11pt;
  }

  html[dir="ltr"] .en-book-links a {
    text-decoration: none;
    display: inline-flex;
    align-items: normal;
    gap: 5px;
  }

  html[dir="ltr"] .en-book-links a:hover {
    text-decoration: underline;
  }

  html[dir="ltr"] .en-order-link {
    color: #D42117;
  }

  html[dir="ltr"] .en-order-link:hover {
    text-decoration: underline;
  }

  html[dir="ltr"] .en-persian-link {
    color: #717270;
  }

  html[dir="ltr"] .en-persian-link:hover {    
    text-decoration: underline;
  }

  html[dir="ltr"] .en-cart-icon {
    width: 16px;
    height: 16px;
    display: inline-block;
    vertical-align: middle;
  }

  html[dir="ltr"] .en-link-separator {
    margin: 0 5px;
    display: inline-block;
    height: 17px;
    vertical-align: text-top;
    position: relative;
    width: 0;
    color: transparent;
    font-size: 0;
  }

  html[dir="ltr"] .en-link-separator::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    border-left: 1.5px dotted #D42117;
  }

  /* Ensure grid items flow horizontally (row by row) */
  html[dir="ltr"] .en-books-grid .views-view-grid .views-row {
    grid-column: auto;
  }

  /* Responsive adjustments for books grid */
  @media (max-width: 991px) {
    html[dir="ltr"] .en-books-grid .views-view-grid {
      grid-template-columns: repeat(2, 1fr);
      grid-auto-flow: row;
      gap: 20px;
    }
  }

  @media (max-width: 767px) {
    html[dir="ltr"] .en-books-grid .views-view-grid {
      grid-template-columns: 1fr;
      grid-auto-flow: row;
      gap: 30px;
    }

    html[dir="ltr"] .en-book-image img {
      min-height: 250px;
    }
  }

  @media (max-width: 768px) {
    html[dir="ltr"] .english-homepage-banner::before,
    html[dir="ltr"] .en-banner-section::before {
      padding-bottom: 40%; /* Slightly taller aspect ratio on mobile */
    }

    html[dir="ltr"] .english-homepage-banner .banner-content {
      padding: 20px 25px;
      max-width: 100%;
    }

    html[dir="ltr"] .views-view--front-col-2-en .views-row,
    html[dir="ltr"] .views-view--front-col-2-en-block-1 .views-row,
    html[dir="ltr"] .english-homepage-banner + * .views-row {
      grid-template-columns: 1fr;
      gap: 20px;
    }
  }

  @media (max-width: 575px) {
    html[dir="ltr"] .en-banner-wrapper {      
      margin-top: -20px;
    }    
  }

  html[dir="ltr"] .english-homepage-description {
    margin-bottom: 30px;
  }
  html[dir="ltr"] .slidebar, 
  html[dir="ltr"] .top-bar.is-sticky.slidebar {
      padding-right: 0px;
      padding-left: 420px;
      transition: padding-left 0.4s ease;
  }
  .hamburgerMenu .logo {
      padding-bottom: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-bottom: 1px solid #949393;
      margin-bottom: 20px;
  }
  
  .hamburgerMenu .logo a {
      display: block;
      max-width: 50px;
      height: 50px;
  }
  .top-menu {
      margin-bottom: 40px;
  }
  .hamburgerMenu .top-menu ul.menu, .hamburgerMenu .mid-menu ul.menu{
      padding: 0;
      list-style: none;
      display: flex;
      flex-wrap: wrap;
      margin: 0;
      justify-content: space-between;
      gap: 16px 12px;
  }
  .hamburgerMenu .top-menu ul.menu>li, .hamburgerMenu .mid-menu ul.menu>li{
      position: relative;
  }
  .hamburgerMenu .top-menu ul.menu>li>a, .hamburgerMenu .mid-menu ul.menu>li>a {
      font-size: 12pt;
      color: var(--white-color);
      font-family: 'Dibaj High Contrast';
      font-weight: 500;
      border: 1.5px solid #949393;
      padding: 10px 5px;
      border-top-color: transparent;
      border-right-color: transparent;
      display: block;
      border-radius: 0px 0px 0px 2px;
      overflow: hidden;
  }
  
  /* Apply English site font to hamburger menu links on English pages */
  html[dir="ltr"] .hamburgerMenu .top-menu ul.menu>li>a,
  html[dir="ltr"] .hamburgerMenu .mid-menu ul.menu>li>a {
      font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  }
  .hamburgerMenu .top-menu ul.menu>li>a:before, .hamburgerMenu .mid-menu ul.menu>li>a:before{
      content: "";
      width: 8px;
      height: 8px;
      display: block;
      border-left: 9px solid #949393;
      border-right: 0px solid transparent;
      border-top: 8px solid transparent;
      position: absolute;
      bottom: 0;
      left: 0;
      border-radius: 0px 0px 0px 2px;
  }
  .hamburgerMenu .mid-menu{
      margin-bottom: 65px;
  }
  .hamburgerMenu .mid-menu ul.menu>li {
      width: 100%;
  }
  .hamburgerMenu .mid-menu ul.menu>li:first-child, .hamburgerMenu .mid-menu ul.menu>li:first-child+li {
      width: calc(50% - 6px);
  }
  
  .hamburgerMenu .mid-menu ul.menu>li>a {
      font-size: 13pt;
      height: 100%;
      display: flex;
      align-items: flex-end;
  }
  .hamburgerMenu .bottom-menu {
      margin-bottom: 34px;
  }
  .hamburgerMenu .bottom-menu ul.menu{
      list-style: none;
      padding: 0px;
      margin-bottom: 0;
  }
  .hamburgerMenu .bottom-menu ul.menu>li {
      margin: 10px 0px;
  }
  .hamburgerMenu .bottom-menu ul.menu>li>a {
      color: var(--white-color);
      font-size: 13pt;
      font-weight: 500;
      font-family: 'Dibaj Medium Contrast';
  }
  
  /* Apply English site font to hamburger bottom menu on English pages */
  html[dir="ltr"] .hamburgerMenu .bottom-menu ul.menu>li>a {
      font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  }
  .hamburgerMenu #block-saleh-social h2 {
      font-family: 'Dibaj Low Contrast';
      font-weight: 400;
      font-size: 8.64pt;
      line-height: 18pt;
      color: var(--white-color);
      margin-bottom: 20px;
  }
  
  /* Apply English site font to hamburger social h2 on English pages */
  html[dir="ltr"] .hamburgerMenu #block-saleh-social h2 {
      font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  }
  .follow-us ul.menu {
      padding: 0;
      list-style: none;
      display: flex;
      flex-wrap: wrap;
      font-size: 0;
      line-height: 0;
      gap: 5px;
  }
  .hamburgerMenu .top-menu ul.menu>li>a:hover, .hamburgerMenu .mid-menu ul.menu>li>a:hover, .hamburgerMenu .bottom-menu ul.menu>li>a:hover,
  .hamburgerMenu .top-menu ul.menu>li>a.is-active, .hamburgerMenu .mid-menu ul.menu>li>a.is-active, .hamburgerMenu .bottom-menu ul.menu>li>a.is-active{
      color: var(--orange-color);
  }
  .hamburgerMenu .top-menu ul.menu>li>a:hover, .hamburgerMenu .mid-menu ul.menu>li>a:hover,
  .hamburgerMenu .top-menu ul.menu>li>a.is-active, .hamburgerMenu .mid-menu ul.menu>li>a.is-active{
      border-bottom-color: var(--orange-color);
      border-left-color: var(--orange-color);
  }
  .hamburgerMenu .top-menu ul.menu>li>a:hover:before, .hamburgerMenu .mid-menu ul.menu>li>a:hover:before, 
  .hamburgerMenu .top-menu ul.menu>li>a.is-active:before, .hamburgerMenu .mid-menu ul.menu>li>a.is-active:before{
      border-bottom-color: var(--orange-color);
      border-left-color: var(--orange-color);
  }
  .follow-us h5 {
      font-family: 'Dibaj Low Contrast';
      font-weight: 400;
      font-size: 8.64pt;
      color: var(--white-color);
      margin-bottom: 20px;
  }
  .follow-us ul.menu>li>a {
      width: 16px;
      height: 16px;
      display: inline-flex;
      background-size: 100%;
      background-repeat: no-repeat;
      background-position: center;
  }
  .follow-us ul.menu>li.x>a{
      background-image: url(../images/icons/x.png);
  }
  .follow-us ul.menu>li.instagram>a{
      background-image: url(../images/icons/instagram.png);
  }
  .follow-us ul.menu>li.facebook>a{
      background-image: url(../images/icons/facebook.png);
  }
  .follow-us ul.menu>li.paperplane>a{
      background-image: url(../images/icons/telegram.png);
  }
  .follow-us ul.menu>li.soundcloud>a{
      background-image: url(../images/icons/soundcloud.png);
  }
  .follow-us ul.menu>li.youtube_play>a{
      background-image: url(../images/icons/youtube.png);
  }
  .follow-us ul.menu>li>a:hover {
      opacity: 0.5;
  }
  .lf-content-box .field__item>a {
      color: var(--black-color);
      font-size: 12pt;
      line-height: 18pt;
      font-weight: 400;
      margin-bottom: .5rem;
      display: block;
  }
  .lf-content-box .field__item>a:hover {
      color: var(--orange-color);
  }
  .article-detail {
    padding-top: 40px;
  }
  article.contextual-region.node.node--type-folder .row {
    align-items: center;
  }
  .lf75-section {
      padding-top: 40px;
      padding-bottom: 60px;
  }
  .lf-content-box h1, .lf-content-box h2,.lf-content-box h4, .lf-content-box p{
      color: var(--matteblack-dark-color);
  }
  .lf-content-box p {
      font-size: 14pt;
      line-height: 20pt;
      font-family: 'Dibaj Low Contrast';
      font-weight: 400;
      color: var(--matteblack-dark-color);
  }
  .lf-content-box h1 {
      margin-bottom: 16px;
  }
  .lf-content-box h4{
      margin-bottom: 20px;
  }
  .lf75-section .row, .lf66-section .row{
      align-items: center;
  }
  .lf66-section .container {
      padding: 0;
  }
  .lf66-section {
      padding-top: 40px;
      padding-bottom: 60px;
  }
  .lf66-section .lf-content-box h4 {
      color: var(--matteblack-dark-color);
      margin-bottom: 10px;
      font-family: 'Dibaj High Contrast';
      font-weight: 600;
  }
  .lf66-section .lf-content-box h5 {
      color: var(--black-color);
      line-height: 22pt;
  }
  .lf66-section .lf-content-box p{
      font-size: 12pt;
      color: var(--black-color);
      font-family: 'Dibaj Low Contrast';
      font-weight: 400;
      display: block;
  }
  .lf66-section .lf-content-box p a:hover, .lf66-section .lf-content-box a:hover span{
      color: var(--orange-color);
  }
  .lf66-section .lf-img-box {
      padding-left: 5px;
  }
  .lfdark-section .lf-content-box,
  .lfgray-section .lf-content-box {
      padding-top: 60px;   
      padding-bottom: 60px;   
      display: flex;
      align-items: flex-end;
      padding-right: 45px;
      padding-left: 1.5rem;
  }
  /*.main-wrapper .lfdark-section .lf-content-box, .main-wrapper .lfgray-section .lf-content-box {
    padding-right: calc(45px + 100vw);
  }
  .main-wrapper.slidebar .lfdark-section .lf-content-box, .main-wrapper.slidebar .lfgray-section .lf-content-box {        
    padding-right: calc(20px + 100vw);
  }*/
  .lfdark-section.aligns-center-content .lf-content-box,
  .lfgray-section.aligns-center-content .lf-content-box{
      align-items: center;
      padding-top: 20px; /* overrides "padding-top" added for ".lfdark-section .lf-content-box"  */
      padding-bottom: 20px; /* overrides "padding-bottom" added for ".lfdark-section .lf-content-box"  */
  }
  .lfdark-section {
      background-color: var(--matteblack-color);
      color: var(--white-color);
  }
  .lfgray-section {
      background-color: #616161;
      color: var(--white-color);
  }
  .lfdark-section .col-lg-6.lf-img-box,
  .lfgray-section .col-lg-6.lf-img-box {
      padding-right: 0;
      padding-left: 0;
  }
  .lfdark-section .col-lg-6.lf-img-box .img-box>a, .lfdark-section .col-lg-6.lf-img-box .img-box,
  .lfgray-section .col-lg-6.lf-img-box .img-box>a, .lfgray-section .col-lg-6.lf-img-box .img-box{
      /*display: flex;*/
      height: 100%;
      flex-wrap: wrap;
  }
  .lfdark-section .col-lg-6.lf-img-box  .img-box>a img,
  .lfgray-section .col-lg-6.lf-img-box  .img-box>a img {
      width: 100%;
      height: 100%;
      object-fit: cover;
  }
  .lfdark-section .lf-content-box h2, .lfdark-section .lf-content-box h5,.lfdark-section .lf-content-box h4, .lfdark-section .lf-content-box p,
  .lfgray-section .lf-content-box h2, .lfgray-section .lf-content-box h5,.lfgray-section .lf-content-box h4, .lfgray-section .lf-content-box p{
      color: var(--white-color);
  }
  .lfdark-section .lf-content-box .content-box,
  .lfgray-section .lf-content-box .content-box {
      max-width: 496px;
  }
  .lfdark-section .lf-content-box .content-box p,
  .lfgray-section .lf-content-box .content-box p {
      font-size: 12pt;
      line-height: 18pt;
  }
  .lfdark-section .lf-content-box .content-box h2,
  .lfgray-section .lf-content-box .content-box h2{
      margin-bottom: 10px;
  }
  .lfdark-section .lf-content-box .content-box h5,
  .lfgray-section .lf-content-box .content-box h5{
      margin-bottom: 10px;
      line-height: 26pt;
      font-size: 14pt;
      font-weight: 500;
  }
  .lfdark-section .lf-img-box .video5,
  .lfgray-section .lf-img-box .video5 {
      padding-bottom: 56.25%;
      position: relative;
      height: 100%;
  }
  .lfdark-section .lf-content-box h4,
  .lfgray-section .lf-content-box h4 {
      display: inline-block;
      position: relative;
  }
  .lfdark-section .lf-content-box h4:before, .lfdark-section .lf-content-box h4:after,
  .lfgray-section .lf-content-box h4:before, .lfgray-section .lf-content-box h4:after,
  .gray-section.playthumb-section h4:before,.gray-section.playthumb-section h4:after{
      content: "|";
      color: var(--red-color);
      vertical-align: middle;
      line-height: 1.2;
      margin: 0px 4px 0px;
      font-size: 20pt;
      font-weight: 300;
  }
  
  .gray-section.playthumb-section h4{
      color: #000;
   }
  
  .lfdark-section .lf-img-box .video5 video, .lfdark-section .lf-img-box iframe, .lfdark-section .lf-img-box .video5 img,
  .lfgray-section .lf-img-box .video5 video, .lfgray-section .lf-img-box iframe, .lfgray-section .lf-img-box .video5 img{
      position: absolute;
      left: 0;
      right: 0;
      top: 0;
      bottom: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
  }
  .lfdark-section .lf-img-box .video5 .playPause,
  .lfgray-section .lf-img-box .video5 .playPause {
      position: absolute;
      width: 100%;
      height: 100%;
      padding: 0;
      border: 0;
      left: 0;
      right: 0;
      top: 0;
      bottom: 0;
      margin: auto;
      z-index: 1;
      font-size: 0;
      background-color: transparent;
      background-image: url(../images/icons/play-icon.png);
      background-size: 50px;
      background-position: center;
      background-repeat: no-repeat;
  }
  .lfdark-section .lf-img-box .video5 .playPause.playing,
  .lfgray-section .lf-img-box .video5 .playPause.playing {
      opacity: 0;
  }
  .gray-section{
      background-color: #eee9dd;
      padding-top: 80px;
      padding-bottom: 80px;
  }
  .playthumb-section .row {
      row-gap: 40px;
  }
  .fr-section{
      background-color: #eee9dd;      
  }
  .fr-inner {
    background-color: var(--matteblack-color);
    color: var(--white-color);
  }
  .fr-inner h2,
  .fr-inner p,
  .fr-inner a{
    color: var(--white-color);
  }
  .fr-box {
    height: 220px;
    padding: 28px 25px 25px 25px;
    overflow: hidden;
  }
  .fr-area .fr-inner {
    position: relative;    
    box-shadow: 8px -8px 0px 0px #616161, 16px -16px 0px 0px #b6b6b6;
  }
  .playthumb .pt-inner {
      position: relative;
      border: 1px solid #FFF;
      border-radius: 2px;
  }
  .col-lg-6.playthumb,
  .col-lg-6.fr-area {
      padding-right: calc(var(--bs-gutter-x) * .8);
      padding-left: 60px;
  }
  .col-lg-6.playthumb:nth-child(even),
  .col-lg-6.fr-area:nth-child(even) {
      padding-right: 60px;
      padding-left: calc(var(--bs-gutter-x) * .5);
  }
  .playthumb .pt-inner .speaker-icon {
      position: absolute;
      left: 0;
      right: 0;
      top: 0;
      bottom: 0;
      background-color: transparent;
      border: 0;
      padding: 0;
      background-image: url(../images/icons/speaker-icon.png);
      background-size: 60px;
      background-position: center 38%;
      background-repeat: no-repeat;
      font-size: 0;
  }
  .bgimg-section{
      position: relative;
      background-color: var(--matteblack-color);
  }
  .bgimg-section .bgimg-content {
      position: absolute;
      bottom: 20px;
      text-align: center;
      left: 0;
      right: 0;
  }
  .bgimg-section .imgbox{
      position: relative;
  }
  .bgimg-section .imgbox:after {
      content: "";
      background: rgb(0, 0, 0);
      background: linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(0, 212, 255, 0) 100%);
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0;
      top: 0;
      opacity: 0.7;
      pointer-events: none;
  }
  
  .bgimg-section .bgimg-content h4, .bgimg-section .bgimg-content h2, .bgimg-section .bgimg-content h5, .bgimg-section .bgimg-content p, .bgimg-section .bgimg-content {
      color: var(--white-color);
  }
  .bgimg-section .bgimg-content h4 {
      display: inline-block;
      position: relative;
  }
  .bgimg-section .bgimg-content h4:before, .bgimg-section .bgimg-content h4:after {
      content: "|";
      color: var(--red-color);
      vertical-align: middle;
      line-height: 1.2;
      margin: 0px 4px 0px;
      font-size: 20pt;
      font-weight: 300;
  }
  .bgimg-section .bgimg-content p {
      font-size: 12pt;
      line-height: 18pt;
      max-width: 720px;
      margin-left: auto;
      margin-right: auto;
  }
  
  .book-section{
      padding-top: 80px;
      padding-bottom: 80px;
  }
  .book-section .row {
      row-gap: 40px;
  }
  .col-lg-6.book-thumb {
      padding-right: 120px;
      padding-left: 120px;
  } 
  .heading-title-center {
      text-align: center;
      margin-bottom: 30px;
  }
  .heading-title-center h4{
      display: inline-block;
      position: relative;
  }
  .heading-title-center h4:before, .heading-title-center h4:after {
      content: "|";
      color: var(--red-color);
      vertical-align: middle;
      line-height: 1.2;
      margin: 0px 4px 0px;
      font-size: 20pt;
      font-weight: 300;
  }
  .lightgray-section {
      background-color: var(--light-gary-color);
      padding-top: 80px;
      padding-bottom: 80px;
  }
  .ec-thumb .ec-inner {
      position: relative;
  }
  .ec-thumb .ec-img {
      border: 1px solid #FFF;
      border-radius: 2px;
      position: relative;
  }
  .ec-thumb .ec-img {
      padding-bottom: 150%;
      position: relative;
      height: 100%;
  }
  .ec-thumb .ec-img::after{
      content: "";
      background: rgb(0, 0, 0);
      background: linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(0, 212, 255, 0) 40%);
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0;
      top: 0;
      opacity: 0.7;
      pointer-events: none;
  }
  .ec-thumb .ec-img img {
      position: absolute;
      left: 0;
      right: 0;
      top: 0;
      bottom: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
  }
  .ec-thumb .ec-caption {
      position: absolute;
      bottom: 0;
      padding: 18px;
      z-index: 2;
  }
  .ec-thumb, .ec-thumb h4, .ec-thumb h2, .ec-thumb h5, .ec-thumb p, .ec-thumb a, .ec-thumb h4 a, .ec-thumb h2 a, .ec-thumb h5 a, .ec-thumb p a,
  .ec-thumb a span, .ec-thumb h4 a span, .ec-thumb h2 a span, .ec-thumb h5 a span, .ec-thumb p a span{
      color: var(--white-color);
  }
  .ec-thumb a:hover, .ec-thumb h4 a:hover, .ec-thumb h2 a:hover, .ec-thumb h5 a:hover, .ec-thumb p a:hover,
  .ec-thumb a span:hover, .ec-thumb h4 a span:hover, .ec-thumb h2 a span:hover, .ec-thumb h5 a span:hover, .ec-thumb p a span:hover{
      color: var(--orange-color);
  }
  .ec-thumb h5, .ec-thumb h5 span{
      font-family: 'Dibaj Low Contrast';
      font-weight: 500;
  }
  .row.ec-thumb-wrap{
      margin-left: -35px;
      margin-right: -35px;
  }
  .ec-thumb-wrap .ec-thumb {
      padding-left: 35px;
      padding-right: 35px;
      margin: 10px 0px;
  }
  .ec-thumb .ec-img video, .ec-thumb .ec-img iframe {
      width: 100%;
      height: 100%;
      object-fit: cover;
      position: absolute;
      left: 0;
      right: 0;
  }
  .ec-thumb .ec-img .ec-playPause {
      position: absolute;
      width: 100%;
      height: 100%;
      padding: 0;
      border: 0;
      left: 0;
      right: 0;
      top: 0;
      bottom: 0;
      margin: auto;
      z-index: 1;
      font-size: 0;
      background-color: transparent;
      background-image: url(../images/icons/play-icon.png);
      background-size: 50px;
      background-position: center;
      background-repeat: no-repeat;
  }
  .footer-wrapper {
      margin-top: 80px;
      background-color: var(--theme-color2);
  }
  .foot-bottom {
      background-color: var(--theme-color2);
  }
  .foot-bottom .container {
      position: relative;
  }
  .foot-bottom .container:before {
      content: "";
      border: 1px solid #767676;
      display: block;
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      width: calc(100% - 1.5rem);
      margin: auto;
  }
  .foot-bottom .container {
      display: flex;
      justify-content: space-between;
      padding-top: 8px;
      padding-bottom: 8px;
  }
  .foot-links ul.menu {
      display: flex;
      list-style: none;
      gap: 30px;
      padding: 0;
      margin: 0;
  }
  /* Apply English site font to footer links on English pages */
  html[dir="ltr"] .foot-links ul.menu a {
      font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
      font-size: 10pt;
  }
  
  .foot-links ul.menu a {
      color: #000;
      font-size: 8.64pt;
      font-family: 'Dibaj Low Contrast';
      font-weight: 400;
  }
  .foot-links ul.menu a:hover{
      color: var(--orange-color);
  }
  .foot-bottom .follow-us h5 {
      font-size: 8.64pt;
      line-height: 12pt;
      color: #000;
  }
  .foot-bottom .follow-us {
      display: flex;
      align-items: center;
      gap: 15px;
  }
  .foot-bottom .follow-us ul{
      margin-bottom: 0px;
  }
  .foot-bottom .follow-us h5{
      margin-bottom: 0;
  }
  .foot-bottom .follow-us ul.menu>li.x>a{
      background-image: url(../images/icons/x-black.png);
  }
  .foot-bottom .follow-us ul.menu>li.instagram>a{
      background-image: url(../images/icons/instagram-black.png);
  }
  .foot-bottom .follow-us ul.menu>li.facebook>a{
      background-image: url(../images/icons/facebook-black.png);
  }
  .foot-bottom .follow-us ul.menu>li.paperplane>a{
      background-image: url(../images/icons/telegram-black.png);
  }
  .foot-bottom .follow-us ul.menu>li.soundcloud>a{
      background-image: url(../images/icons/soundcloud-black.png);
  }
  .foot-bottom .follow-us ul.menu>li.youtube_play>a{
      background-image: url(../images/icons/youtube-black.png);
  }
  .popuptype-section .pt-thumb {
      max-width: 486px;
      margin-left: auto;
      margin-right: auto;
      position: relative;
      z-index: 99;
  }
  .popuptype-section .pt-thumb .pt-inner {
      margin-top: -140px;
  }
  .popuptype-section:before {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      top: -1px;
      height: 40px;
      background-color: var(--light-gary-color);
      z-index: -1;
      display:none;
  }
  .popuptype-section .pt-thumb .pt-inner {
      margin-top: -140px;
      border-radius: 16px;
      overflow: hidden;
      border: 4px dotted var(--orange-color);
      background-color: var(--theme-color);
      position: relative;
  }
  .popuptype-section .pt-thumb .pt-inner .pt-img {
      max-width: 250px;
      margin: 20px auto 20px auto;
  }
  .popuptype-section .pt-thumb .pt-inner {
      margin-top: -140px;
      border-radius: 16px;
      overflow: hidden;
      border: 4px dotted var(--orange-color);
      background-color: #efe9dc;
      padding: 40px 20px 20px;
  }
  .pt-caption {
      text-align: center;
  }
  .pt-caption h4, .pt-caption h5,.pt-caption h4 span, .pt-caption h5 span, .pt-caption p {
      color: var(--orange-color);
  }
  .pt-caption p {
    font-family: 'Dibaj Low Contrast';
    font-weight: 400;
  }  
  .pt-caption h5, .pt-caption h5 span {
      font-family: 'Dibaj Medium Contrast';
      font-weight: 500;
  }
  .pt-thumb .pt-close {
      font-family: sans-serif;
      font-weight: 400;
      color: var(--orange-color);
      border: 0;
      background-color: transparent;
      position: absolute;
      right: 30px;
      top: -120px;
      font-size: 18px;
      z-index: 1;
      border-radius: 4px;
  }
  .pt-thumb .pt-close:hover {
      background-color: var(--orange-color);
      color: var(--white-color);
  }
  .newsletter-section {
      margin-bottom: -80px;
  }
  .newsletter-box {
      background-color: var(--orange-color);
      color: var(--white-color);
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 12px;
      width: calc(100% - 1.5rem);
      margin: 90px auto 0px auto;
      padding: 20px 15px;
      position: relative;
  }
  .newsletter-box h3 {
      font-weight: 500;
      margin: 0;
  }
  .newsletter-box form {
      position: relative;
  }
  .newsletter-box input[type="email"], .newsletter-box input[type="text"] {
      border: 4px dotted var(--theme-color);
      background-color: transparent;
      color: var(--white-color);
      padding: 6px 15px 6px 40px;
      text-align: center;
      min-width: 320px;
  }
  .newsletter-box input[type="email"]::-ms-input-placeholder, .newsletter-box input[type="text"]::-ms-input-placeholder{ /* Edge 12-18 */
      color: var(--theme-color);
  }
  .newsletter-box input[type="email"]::placeholder, .newsletter-box input[type="text"]::placeholder{
      color: var(--theme-color);
  }
  .newsletter-box .form-actions{
      position: absolute;
      right: 276px;
      left: auto;
      height: 40px;
      margin: auto 0px;
  }
  .newsletter-box .form-actions input[type="submit"] {
      font-size: 0;
      background-color: transparent;
      border: 0;
      width: 44px;
      height: 40px;
      padding: 0;
      background-image: url(../images/icons/arrow-submit-white-bg-red.png);
      background-repeat: no-repeat;
      background-position: center;
      background-size: 16px;
      margin:0
  }
  .newsletter-box .form-actions input[type="submit"]:hover {
      opacity: 0.8;
  }
  .newsletter-box .nl-close {
      font-family: sans-serif;
      font-weight: 400;
      color: var(--white-color);
      border: 0;
      background-color: transparent;
      position: absolute;
      right: 5px;
      top: 8px;
      font-size: 18px;
      z-index: 1;
      border-radius: 4px;
      display: none !important;
  }
  .newsletter-box .nl-close:hover {
      background-color: var(--theme-color);
      color: var(--orange-color);
  }
  .article-detail .newsletter-form .ajax-progress {
      width: 100%;
  }
  
  .newsletter-box .error, .newsletter-box .success{
      background-color: #ffffff;
      padding: 0px 4px;       
  }

  #block-saleh-newslettersubscriptionform #newsletter-form-messages {    
    position: absolute;
    display: flex;
    justify-content: center;
    bottom: -30px;
    width: max-content;
  }

  #block-saleh-newslettersubscriptionform-2 #newsletter-form-messages {    
    position: absolute;
    display: flex;
    justify-content: center;
    bottom: -50px;
    left: 0;
    right: 0;        
    width: 100%;
  }  
  /**********article***********/
  .article-list {
      padding-top: 60px;
      padding-bottom: 10px;
  }
  .al-thumb {
      padding: 20px;
  }
  .al-thumb .content-box {
      padding-top: 20px;
  }
  .al-thumb h5 {
      font-size: 10.67pt;
  }
  .al-thumb p{
      font-size: 10.11pt;
  }
  .col-lg-9.al-thumb .al-inner {
      display: flex;
      gap: 30px;
      flex-wrap: wrap;
  }
  .col-lg-9.al-thumb .al-inner .img-box {
      width: 54.333333%;
  }
  .col-lg-9.al-thumb .al-inner .content-box {
      width: calc(45.666667% - 30px);
      padding: 40px 0px;
  }
  .col-lg-9.al-thumb h4 {
      font-size: 16.85pt;
  }
  .col-lg-9.al-thumb p{
      font-size: 11.23pt;
  }
  .foot-top .foot-menu {
      border-top: 30px solid var(--dark-red);
      padding-top: 5px;
  }
  .foot-top .foot-menu>.container {
      column-count: 4;
      border: 1px dashed var(--black-color);
      border-top: 0;
      max-width: 1240px;
      padding: 0;
      column-gap: 0px;
      margin-bottom: 100px;
      position: relative;
  }
  .foot-top .foot-menu>.container .foot-item {
      break-inside: avoid-column;
      padding: 12px 15px 10px;
  }
  .foot-top .foot-menu>.container .foot-item.form-item-2, .foot-top .foot-menu>.container .foot-item.form-item-4, .foot-top .foot-menu>.container .foot-item.form-item-6, .foot-top .foot-menu>.container .foot-item.form-item-8{
      border-top: 6px solid var(--black-color);
  }
  .foot-top .foot-menu>.container:before{
      content: "";
      position: absolute;
      left: auto;
      right: 309px;
      top: 0;
      bottom: 0;
      display: block;
      width: 1px;
      height: 100%;
      background-color: #000;
      pointer-events: none;
  }
  .foot-top .foot-menu>.container:after {
      content: "";
      display: block;
      position: absolute;
      top: 0;
      bottom: 0;
      right: auto;
      left: 309px;
      width: 310px;
      height: 100%;
      background-color: transparent;
      border: 1px solid #000;
      border-top: 0;
      border-bottom: 0;
      pointer-events: none;
  }
  .foot-top .foot-menu>.container .foot-item ul {
      margin-bottom: 0;
  }
  .see-all-link {
      color: var(--color-black);
      display: block;
      text-align: left;
      font-size: 8.98pt;
      line-height: 12pt;
      margin-bottom: 5px;
  }
  .see-all-link:after {
      content: "\f177";
      font-family: "Font Awesome 6 Free";
      -moz-osx-font-smoothing: grayscale;
      -webkit-font-smoothing: antialiased;
      display: var(--fa-display, inline-block);
      font-style: normal;
      font-variant: normal;
      line-height: 1;
      text-rendering: auto;
      font-weight: 900;
      margin-right: 5px;
      vertical-align: middle;
  }
  .foot-top .foot-menu>.container .foot-item h4 {
      font-family: 'Dibaj High Contrast';
      margin-bottom: 2px;
  }
  .foot-top .foot-menu>.container .foot-item ul {
      margin-bottom: 0;
      list-style: none;
      padding: 0;
  }
  .foot-top .foot-menu>.container .foot-item ul li{
      border-bottom: 1px dashed var(--black-color);
  }
  .foot-top .foot-menu>.container .foot-item ul li:last-child{
      border-bottom: 0px;
  }
  .foot-top .foot-menu>.container .foot-item ul li a {
      color: var(--black-color);
      padding: 8px 0px;
      display: block;
      font-family: 'Dibaj Medium Contrast';
      font-weight: 500;
  }
  .foot-top .foot-menu>.container .foot-item ul li a:hover{
      color:var(--orange-color);
  }
  .foot-top .foot-menu>.container .foot-item ul li a, .foot-top .foot-menu>.container .foot-item ul li h5, .foot-top .foot-menu>.container .foot-item ul li p{
      font-size: 10.98pt;
  }
  .foot-top .foot-menu>.container .foot-item ul li h5, .foot-top .foot-menu>.container .foot-item ul li p{
      margin: 0;
  }
  .foot-top .foot-menu>.container .foot-item ul li h5 {
      font-weight: 600;
  }
  .img-foot {
      /*display: flex;*/
      justify-content: space-between;
      font-size: 7.79pt;
      line-height: 1.2;
      margin-top: 10px;
  }
  .img-foot p {
      margin: 0;
      font-family: 'Dibaj Medium Contrast';
      font-weight: 400;      
  }
  .img-foot a {
      color: var(--black-color);
  }
  .img-foot a:hover{
      color: var(--orange-color);
  }
  .article-detail .img-box {
      margin-bottom: 40px;
  }
  .article-detail .img-box img {
      width: 100%;
  }
  .divider-title {
      display: inline-block;
      font-size: 10.2pt;
      font-weight: 600;
      padding-top: 5px;
      border-top: 1px solid #949393;
      margin-top: 10px;
      margin-bottom: 30px;
  }
  .article-detail p b, .article-detail p strong {
      font-weight: 600;
  }

  .article-detail .content-box p+h4 {
      margin-top: 30px;
      margin-bottom: 10px;
  }
  
  .article-detail blockquote p, .article-detail blockquote p span {
      font-family: 'Dibaj High Contrast';
      font-size: 20pt !important;
      font-weight: 600 !important;    
  }
  .al-thumb .field__item>a {
      font-size: 10.67pt;
      line-height: 18pt;
      font-weight: 400;
      color: var(--matteblack-dark-color);
  }
  .foot-bottom .follow-us #block-saleh-social {
      display: flex;
      align-items: center;
      gap: 15px;
  }
  .foot-bottom .follow-us #block-saleh-social-menu, .foot-bottom .follow-us h2{
      font-size: 8.64pt;
      line-height: 12pt;
      color: #000;
      margin: 0;
      font-weight: 400;
      font-family: 'Dibaj Low Contrast';
  }
  
  /* Apply English site font to footer follow-us on English pages */
  html[dir="ltr"] .foot-bottom .follow-us #block-saleh-social-menu,
  html[dir="ltr"] .foot-bottom .follow-us h2 {
      font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
      font-size: 10pt;
  }
  .otlink ul {
      list-style: none;
      padding: 0;
      margin: 0;
  }
  .bgimg-section .imgbox img {
      /*width: 100%;*/
      display: block;
      margin: 0px auto;
  }
  .lfdark-section .lf-content-box h2 a, .lfdark-section .lf-content-box h5 a, .lfdark-section .lf-content-box h4 a, .lfdark-section .lf-content-box p a,
  .lfgray-section .lf-content-box h2 a, .lfgray-section .lf-content-box h5 a, .lfgray-section .lf-content-box h4 a, .lfgray-section .lf-content-box p a {
      color: var(--white-color);
  }
  .bgimg-section .bgimg-content h4 a, .bgimg-section .bgimg-content h2 a, .bgimg-section .bgimg-content h5 a, .bgimg-section .bgimg-content p a, .bgimg-section .bgimg-content, .bgimg-section .bgimg-content h2 a span, .bgimg-section .bgimg-content a, .bgimg-section .bgimg-content span{
      color: var(--white-color);
  }
  .lfdark-section .lf-content-box h2 a:hover, 
  .lfdark-section .lf-content-box h5 a:hover, 
  .lfdark-section .lf-content-box h4 a:hover, 
  .lfdark-section .lf-content-box p a:hover,
  .lfdark-section .lf-content-box h2 a:hover span, 
  .lfdark-section .lf-content-box h5 a:hover span, 
  .lfdark-section .lf-content-box h4 a:hover span, 
  .lfdark-section .lf-content-box p a:hover span,
  .lfgray-section .lf-content-box h2 a:hover, 
  .lfgray-section .lf-content-box h5 a:hover, 
  .lfgray-section .lf-content-box h4 a:hover, 
  .lfgray-section .lf-content-box p a:hover,
  .lfgray-section .lf-content-box h2 a:hover span, 
  .lfgray-section .lf-content-box h5 a:hover span, 
  .lfgray-section .lf-content-box h4 a:hover span, 
  .lfgray-section .lf-content-box p a:hover span,
  .bgimg-section .bgimg-content h4 a:hover, 
  .bgimg-section .bgimg-content h2 a:hover, 
  .bgimg-section .bgimg-content h5 a:hover, 
  .bgimg-section .bgimg-content p a:hover, 
  .bgimg-section .bgimg-content h2 a:hover span, 
  .bgimg-section .bgimg-content a:hover, 
  .bgimg-section .bgimg-content a:hover span{
      color: var(--orange-color);
  }
  .newsletter-form {
      display: flex;
      justify-content: center;
      align-items: center;
      position: relative;
      gap: 12px;
      flex-wrap: wrap;
  }
  .newsletter-box input[type="email"], .newsletter-box input[type="text"] {
      width: 100%;
  }
  .newsletter-box input[type="email"]:focus, .newsletter-box input[type="text"]:focus {
      border: 4px dotted var(--black-color);
  }
  .newsletter-box form {
      position: relative;
      display: flex;
      align-items: center;
      gap: 10px;
  }
  .newsletter-box form .form-item {
      margin-bottom: 0;
      max-width: 320px;
  }
  .newsletter-form h2 {
      font-weight: 500;
      margin: 0;
      font-family: 'Dibaj Medium Contrast';
      font-size: 16pt;
  }
  blockquote {
      color: #B41E23;   
      margin: 0px auto 10px auto;
      padding: 40px 166px 40px 166px;
      border-bottom: 1px solid #DEDDDA;
      line-height: 160% !important;
  }
  .article-detail .content-box .thumbnail {
      max-width: 650px;
      margin: 24px auto 30px auto;
  }
  .article-detail .content-box .thumbnail p {
      font-size: 10.2pt;
      margin-top: 6px;
  }
  .article-detail hr {
      border-color: #949393;
      margin-bottom: 30px;
      margin-top: 5px;
  }
  .cd-btn {
      text-align: center;
  }
  .cd-btn .co-delivery{
      font-weight: 500;
      color: #4e4d4d;
  }
  .co-delivery:after {
      content: "";
      background-image: url(../images/icons/sahre-icon.png);
      display: inline-block;
      width: 16px;
      height: 16px;
      vertical-align: middle;
      margin-right: 5px;
      background-size: cover;
      background-repeat: no-repeat;
  }
  .cd-btn .co-delivery:hover {
      color: var(--orange-color);
  }
  .postinfo .co-delivery{
      font-weight: 500;
      color: #a60404;
  }
  .postinfo .co-delivery:after{
      filter: brightness(0) saturate(100%) invert(10%) sepia(87%) saturate(5556%) hue-rotate(9deg) brightness(86%) contrast(112%);
  }
  .co-delivery:hover:after, .postinfo .co-delivery:hover:after{
      filter: brightness(0) saturate(100%) invert(20%) sepia(81%) saturate(3480%) hue-rotate(10deg) brightness(94%) contrast(104%);
  }
  .postinfo {
      border-bottom: 1px solid #949393;
      margin-top: 50px;
      margin-bottom: 10px;
      display: flex;
      justify-content: space-between;
  }
  .article-detail .content-box p {
      font-size: 14.36pt;
  }
  .post-comment>span {
      display: block;
      text-align: left;
  }
  /****************/
  .author-info {
      padding: 100px 0px 10px 0px;
  }
  .author-box .img-box {
      max-width: 200px;
      height: 200px;
      display: block;
      margin: 0px auto 10px auto;
      /*border-radius: 200px;*/
      overflow: hidden;
  }
  .author-box .img-box * {
      height: 100%;
  }
  .author-box .img-box img {
      width: 100%;
      height: 100%;
      object-fit: cover;
  }
  .author-box {
      text-align: center;
      padding-top: 100px;
      padding-bottom: 80px;
  }
  .author-box .content-box {
      color: var(--matteblack-dark-color);
      font-weight: 500;
      font-size: 14pt;
      max-width: 440px;
      text-align: center;
      margin: 0px auto;
      padding-top: 10px;
      border-top: 1px solid #949393;
  }
  .article-list .views-exposed-form {
      display: flex;
      align-items: flex-end;
  }
  .article-list .views-exposed-form .form-item {
      max-width: 160px;
      width: 100%;
      margin: 0;
  }
  .article-list .views-exposed-form {
      display: flex;
      align-items: flex-end;
      flex-wrap: wrap;
      gap: 20px 10px;
      margin-bottom: 10px;
  }
  .contact-form {
      background-color: #fff;
      border: 1px solid var(--light-gary-color);
      padding: 35px 20px;
      max-width: 680px;
  }
  .contact-form .form-item.form-item-name input[type="text"], .contact-form .form-item.form-item-mail input[type="email"], .contact-form .form-item.form-item-subject-0-value input[type="text"] {
      padding-right: 40px;
      background-repeat: no-repeat;
      background-position: right 0.75rem center;
      background-size: 16px;
  }
  .contact-form .form-item.form-item-name input[type="text"], .contact-form .form-item.form-item-name input[type="text"]:-internal-autofill-selected {
      background-image: url(../images/user-solid.svg) !important;
  }
  .contact-form .form-item.form-item-mail input[type="email"], .contact-form .form-item.form-item-mail input[type="email"]:-internal-autofill-selected{
      background-image: url(../images/envelope-solid.svg) !important;
  }
  .contact-form .form-item.form-item-subject-0-value input[type="text"], .contact-form .form-item.form-item-subject-0-value input[type="text"]:-internal-autofill-selected{
      background-image: url(../images/tag-solid.svg) !important;
  }
  /************/
  nav ul.js-pager__items {
      display: flex;
      list-style: none;
      padding: 0;
      justify-content: center;
      align-items: center;
      gap: 8px;
      font-size: 12pt;
      line-height: 12pt;
      margin-top: 10px;
      margin-bottom: 30px;
      font-family: nazanin_web;
  }
  nav ul.js-pager__items a[rel="next"], nav ul.js-pager__items a[rel="prev"] {
      display: inline-block;
      padding: 10px 18px;
      background-color: #fff;
      border: 1px solid #ddd;
      border-radius: 15px;
  }
  nav ul.js-pager__items a[rel="next"]:hover, nav ul.js-pager__items a[rel="prev"]:hover{
      text-decoration: none;
      background-color: #eee;
  }
  .article-list .container>div >.views-element-container:last-child nav ul.js-pager__items {
      margin-bottom: 0;
  }
  .video-wrapper .field--name-field-media-oembed-video .field__item, .video-wrapper .field--name-field-media-video-file .field__item{
      padding-bottom: 56.25%;
      position: relative;
      margin-bottom: 40px;
  }
  .video-wrapper .field--name-field-media-oembed-video .field__item > iframe, .video-wrapper .field--name-field-media-video-file .field__item > video{
      width: 100%;
      height: 100%;
      position: absolute;
      left: 0;
      right: 0;
      top: 0;
      bottom: 0;
  }
  
 
  
  /* Responsive video wrapper class - Use this to wrap your iframe */
  /* Example: <div class="responsive-video-wrapper"><iframe width="560" height="315" ...></iframe></div> */
  /* On desktop: Uses original iframe width/height. On mobile: 100% width with auto-calculated height */
  .responsive-video-wrapper {
      display: block; /* Changed to block for centering */
      max-width: 100%;
      margin: 0 auto; /* Center the wrapper */
  }
  
  /* Desktop: Let iframe use its original dimensions */
  .responsive-video-wrapper iframe {
      display: block;
      max-width: 100%;  
      margin: 0 auto; /* Center the wrapper */ 
  }
  
  /* Mobile: Make wrapper responsive with 100% width and auto-calculated height */
  @media (max-width: 768px) {
      .responsive-video-wrapper {
          position: relative;
          width: 100%;
          padding-bottom: 56.25%; /* 16:9 aspect ratio (9/16 = 0.5625) */
          height: 0;
          overflow: hidden;
          display: block;
      }
      
      .responsive-video-wrapper iframe {
          position: absolute;
          top: 0;
          left: 0;
          width: 100% !important;
          height: 100% !important;
          border: 0;
      }
  }
  
  
  .group-download-book {
      display: flex;
      align-items: center;
      gap: 0px;
      margin-bottom: 20px;
  }
  .group-download-book>div {
      border-right: 1px solid var(--red-color);
      padding-right: 5px;
      margin-right: 5px;
  }
  .group-download-book a {
      display: inline-block;
      font-size: 12pt;
      line-height: 18pt;
      padding: 0px 10px;
      color: var(--black-color);
  }
  .group-download-book a:hover {
      color: var(--orange-color);
  }
  form.search-form{
      margin-bottom: 20px 
  }
  form.search-form .container-inline {
      display: flex;
      align-items: flex-end;
      width: 100%;
  }
  form.search-form .container-inline .form-item {
      width: 100%;
      margin: 0;
  }
  form.search-form .container-inline input[type="submit"] {
      padding: 0;
      font-size: 0;
      flex: 0 0 40px;
      width: 40px;
      height: 40px;
      margin: 0;
      border-radius: 5px;
      border-top-right-radius: 0;
      border-bottom-right-radius: 0;
      background-image: url(../images/icons/search-icon-white.png);
      background-position: center;
      background-repeat: no-repeat;
      background-size: 14px;
      position: relative;
      background-color: var(--dark-red);
      border-width: medium;
      border-style: none;
      border-color: initial;
  }
  form.search-form .container-inline .form-item input[type="search"], form.search-form .container-inline .form-item input[type="text"] {
      border-top-left-radius: 0;
      border-bottom-left-radius: 0;
  }
  form.search-form .search-help-link {
      display: none;
  }
  form.search-form details.search-advanced {
      margin-top: 20px;
      background-color: #FFF;
      height: 48px;
      transition: height 0.2s ease;
      border-radius: 5px;
      padding-bottom: 20px;
  }
  form.search-form details.search-advanced[open] {
      height: 100%;
      transition: height 0.2s ease;
  }
  form.search-form details.search-advanced summary {
      padding: 12px 15px;
      background-color: var(--theme-color);
      border: 1px solid var(--light-gary-color);
      border-radius: 5px;
      margin-bottom: 20px;
  }
  form.search-form details.search-advanced fieldset {
      padding: 0px 15px;
  }
  form.search-form details.search-advanced>fieldset>legend {
      font-size: 14pt;
      font-weight: 600;
      margin-bottom: 20px;
  }
  form.search-form + em {
      font-size: 16pt;
      font-weight: 500;
      display: block;
      line-height: 1.5;
      margin-bottom: 15px;
  }
  form.search-form details.search-advanced fieldset fieldset {
      padding: 0;
  }
  form.search-form .action input[type="submit"] {
      border-image-source: initial;
      border-image-slice: initial;
      border-image-width: initial;
      border-image-outset: initial;
      border-image-repeat: initial;
      color: rgb(255, 255, 255);
      font-size: 12pt;
      line-height: 1;
      background: var(--dark-red);
      border-width: medium;
      border-style: none;
      border-color: initial;
      border-radius: 3px;
      padding: 12px 20px;
      display: inline-block;
      margin: 2px 0px;
  }
  form.search-form .action input[type="submit"]:hover {
      background-color: var(--orange-color);
  }
  form.search-form .action {
      padding: 0px 20px;
  }
  .search-form .js-form-type-checkbox {
      display: inline-block;
      margin-right: 30px;
  }
  [dir="rtl"] .search-form .js-form-type-checkbox {
      margin-left: 30px;
      margin-right: 0px;
  }
  .path-search form#search-form ~ ol {
      list-style: none;
      padding: 0;
  }
  .path-search form#search-form ~ ol>li {
      background-color: rgba(225, 44, 0, 0.10);
      list-style: outside none none;
      margin: 0 0 13px;
      padding: 10px 15px;
  }
  #newsletter-form .form-actions {
      text-align: center;
  }
  .newsletter-form .g-recaptcha {
      display: flex;
      justify-content: center;
  }
  .captcha legend.captcha__title.js-form-required.form-required, .captcha .captcha__description.description{
      display: none;
  }
  /********/
  body.page-node-type-article, 
  body.page-node-type-social-media-content, 
  body.page-node-type-book, 
  body.page-node-type-carton, 
  body.page-node-type-monthly,
  body.page-node-type-document, 
  body.page-node-type-multimedia, 
  body.page-node-type-note, 
  body.page-node-type-publications, 
  body.page-node-type-podcast{
      background-color: var(--theme-color);
  }
  body.page-node-type-article .searchandlink .search-toggle,
  body.page-node-type-social-media-content .searchandlink .search-toggle,
  body.page-node-type-book .searchandlink .search-toggle,
  body.page-node-type-carton .searchandlink .search-toggle,
  body.page-node-type-monthly .searchandlink .search-toggle,
  body.page-node-type-document .searchandlink .search-toggle,
  body.page-node-type-multimedia .searchandlink .search-toggle,
  body.page-node-type-note .searchandlink .search-toggle,
  body.page-node-type-publications .searchandlink .search-toggle,
  body.page-node-type-podcast .searchandlink .search-toggle{
      background-color: var(--theme-color);
  }
  body.page-node-type-article .top-bar.is-sticky, 
  body.page-node-type-social-media-content .top-bar.is-sticky, 
  body.page-node-type-book .top-bar.is-sticky, 
  body.page-node-type-carton .top-bar.is-sticky, 
  body.page-node-type-monthly .top-bar.is-sticky,
  body.page-node-type-document .top-bar.is-sticky, 
  body.page-node-type-multimedia .top-bar.is-sticky, 
  body.page-node-type-note .top-bar.is-sticky, 
  body.page-node-type-publications .top-bar.is-sticky, 
  body.page-node-type-podcast .top-bar.is-sticky{
      background-color: var(--theme-color);
      box-shadow: 0px 0px 0px 10px var(--theme-color);
  }
  
  .field--name-field-slide .field--name-field-desc {
      text-align: center;
      margin: 19px auto 0;
  }
  
  .slick-dots li button::before {
      content: inherit;
  }
  .slick-dots {
      position: relative;
      bottom: -10px;
      background-color: #aaa;
      padding-top: 3px;
      padding-bottom: 0px;
  }
  .slick-dots li {
      position: relative;
      display: inline-block;
      width: 11px;
      height: 11px;
      padding: 0;
      border: 1px solid;
      border-radius: 20px;
      color: #fff;
  }
  .slick-dots li:hover, .slick-dots li.slick-active {
      background: #fff;
  }
  
  .field--name-field-tags .field__item{
      display: inline-block;
  }
  
  .field--name-field-tags.field__items .field__item:not(:last-child)::after{
     content: " | ";
     padding: 0 5px;
     font-size: 18px;
     font-weight: bold;
     color: #000;
  }
  
  .field--name-field-tags.field__items .field__item:first-child::before {
      content: "\f02b";
      font-family: fontawesome;
      color: red;
      font-size: 20px;
      margin-left: 10px;
  }
  
  .related-item-title {
      text-align: center;
      color: var(--color-black);
      display: block;
      line-height: 12pt;
      margin-bottom: 5px;
  }

  div#temp-value {
    display: none;
}
  
  @media (min-width: 1280px) {
      button.navbar-close {
          display: none;
      }
  }
  @media (min-width: 992px) {
      .lf75-section .col-lg-5 {
          width: 34.666667%;
      }
      .lf75-section .col-lg-7 {
          width: 65.333333%;
      }
      .col-lg-6.fr-area {
          padding-top: 80px;
          padding-bottom: 80px;
      }
  }
  
  @media (max-width: 1885px){
      .hamburgerMenu {
          max-width: 390px;
          padding: 22px 20px 5px 20px;
      }
      .slidebar, .top-bar.is-sticky.slidebar{
          padding-right: 390px;
      }
      /* LTR: Use padding-left instead of padding-right */
      html[dir="ltr"] .slidebar, 
      html[dir="ltr"] .top-bar.is-sticky.slidebar {
          padding-right: 0px;
          padding-left: 390px;
      }
  }
  @media (min-width: 1551px) and (max-width: 1780px){
      .footer-wrapper.slidebar .foot-top .foot-menu>.container {
          max-width: 1010px;
      }
      .footer-wrapper.slidebar .foot-top .foot-menu>.container:after {
          left: 252px;
          width: 252px;
      }
      .footer-wrapper.slidebar .foot-top .foot-menu>.container:before {
          right: 252px;
      }
  }
  @media (min-width: 1400px) and (max-width: 1550px){
      .slidebar, .top-bar.is-sticky.slidebar {
          padding-right: 480px;
      }
      /* LTR: Use padding-left instead of padding-right */
      html[dir="ltr"] .slidebar, 
      html[dir="ltr"] .top-bar.is-sticky.slidebar {
          padding-right: 0px;
          padding-left: 480px;
      }
      .footer-wrapper.slidebar .foot-top .foot-menu>.container {
          max-width: 890px;
      }
      .footer-wrapper.slidebar .foot-top .foot-menu>.container:after {
          left: 222px;
          width: 222px;
      }
      .footer-wrapper.slidebar .foot-top .foot-menu>.container:before {
          right: 222px;
      }
  }
  @media (min-width: 1280px) and (max-width: 1550px){      
      .main-wrapper.slidebar .col-lg-6.playthumb, .main-wrapper.slidebar .col-lg-6.fr-area{
          padding-left: 40px;
          padding-right: calc(var(--bs-gutter-x)* .8);
      }
      .main-wrapper.slidebar .col-lg-6.book-thumb{
          padding-left: 95px;
          padding-right: calc(var(--bs-gutter-x)* .8);
      }
      .main-wrapper.slidebar .col-lg-6.playthumb:nth-child(even), .main-wrapper.slidebar .col-lg-6.fr-area:nth-child(even){
          padding-right: 40px;
          padding-left: calc(var(--bs-gutter-x)* .5);
      }
      .main-wrapper.slidebar .col-lg-6.book-thumb:nth-child(even){
          padding-right: 95px;
          padding-left: calc(var(--bs-gutter-x)* .5);
      }
      .main-wrapper.slidebar .ec-thumb-wrap .ec-thumb {
          padding-left: 20px;
          padding-right: 20px;
      }
      .hamburgerMenu {
          max-width: 360px;
          padding: 18px 14px 5px 14px;
      }
      .slidebar, .top-bar.is-sticky.slidebar {
          padding-right: 360px;
      }
      /* LTR: Use padding-left instead of padding-right */
      html[dir="ltr"] .slidebar, 
      html[dir="ltr"] .top-bar.is-sticky.slidebar {
          padding-right: 0px;
          padding-left: 360px;
      }
  }
  @media (min-width: 1200px) and (max-width: 1550px){
    .main-wrapper.slidebar .col-lg-6.fr-area .fr-inner .fr-box{
        height: 270px;
    }
  }
  @media (max-width: 1399px) {
      .fr-box {
        height: 240px;
      }
      .lf75-section .col-lg-5 {
          width: 39.666667%;
      }
      .lf75-section .col-lg-7 {
          width: 60.333333%;
      }
      .lfdark-section .lf-content-box,
      .lfgray-section .lf-content-box {
          padding-top: 40px;
          padding-bottom: 40px;
      }
      .ec-thumb-wrap .ec-thumb {
          padding-left: 30px;
          padding-right: 30px;
      }
      .row.ec-thumb-wrap {
          margin-left: -30px;
          margin-right: -30px;
      }
      .foot-top .foot-menu>.container {
          max-width: 1078px;
      }
      .foot-top .foot-menu>.container:before {
          right: 269px;
      }
      .foot-top .foot-menu>.container:after {
          left: 269px;
          width: 269px;
      }
      .popuptype-section .pt-thumb.fixed-popup {
          -webkit-transform: scale(0.7) translate(96px, 116px);
          transform: scale(0.7) translate(96px, 116px);
          width: 486px;
          max-width: unset;
      }
  }
  @media (min-width: 1280px) and (max-width: 1399px) {
      .main-wrapper.slidebar .ec-thumb-wrap .ec-thumb {
          padding-left: 10px;
          padding-right: 10px;
      }
      .main-wrapper.slidebar .al-thumb {
          padding: 10px;
      }
      .footer-wrapper.slidebar .foot-top .foot-menu>.container {
          max-width: 780px;
      }
      .footer-wrapper.slidebar .foot-top .foot-menu>.container:before {
          right: 194.5px;
      }
      .footer-wrapper.slidebar .foot-top .foot-menu>.container:after {
          left: 194.5px;
          width: 194.5px;
      }
      .top-bar.slidebar .searchandlink .search-box>.search-block-form.show {
          width: 160px;
      }
  }
  @media (max-width: 1279px) {
      .slidebar, .top-bar.is-sticky.slidebar {
          padding-right: 0;
      }
      .hamburgerMenu {
          max-width: 330px;
          padding: 18px 14px 5px 14px;
      }
      .slidebar, .top-bar.is-sticky.slidebar{
          padding-right: 330px;
      }
      /* LTR: Use padding-left instead of padding-right */
      html[dir="ltr"] .slidebar, 
      html[dir="ltr"] .top-bar.is-sticky.slidebar {
          padding-right: 0px;
          padding-left: 330px;
      }
      button.navbar-close {
          background-color: transparent;
          width: 26px;
          height: 26px;
          border: 0;
          padding: 0;
          position: absolute;
          top: 20px;
          right: 20px;
      }
      button.navbar-close:before, button.navbar-close:after {
          content: "";
          height: 2px;
          background-color: var(--white-color);
          display: block;
          width: 90%;
      }
      button.navbar-close span.navbar-toggler-icon {
          display: none;
      }
      button.navbar-close:after {
          transform: rotate(-45deg);
          margin-top: -2px;
      }
      button.navbar-close:before {
          transform: rotate(45deg);
      }
      button.navbar-close:hover:before, button.navbar-close:hover:after{
          background-color: var(--orange-color);
      }
  }
  @media (max-width: 1199px) {
      .hamburgerMenu {
          max-width: 100%;
          padding: 22px 20px 5px 20px;
      }
      .ec-thumb-wrap .ec-thumb {
          padding-left: 20px;
          padding-right: 20px;
      }
      .row.ec-thumb-wrap {
          margin-left: -15px;
          margin-right: -15px;
      }
      .col-lg-6.playthumb, .col-lg-6.fr-area{
          padding-right: 15px;
          padding-left: 40px;
      }
      .col-lg-6.playthumb:nth-child(even), .col-lg-6.fr-area:nth-child(even){
          padding-right: 40px;
          padding-left: 15px;
      }
      .col-lg-6.book-thumb{
          padding-right: 120px;
          padding-left: 120px;
      }

   .lfdark-section .lf-content-box,
   .lfgray-section .lf-content-box {
      padding-top: 30px;
      padding-bottom: 30px;
  }
  .foot-top .foot-menu>.container {
      max-width: 936px;
  }
  .foot-top .foot-menu>.container:after {
      left: 233px;
      width: 233px;
  }
  .foot-top .foot-menu>.container:before {
      right: 233px;
  }
  }
  @media (max-width: 992px) {
      .col-lg-6.fr-area:nth-child(2n) {
        padding-top: 60px;
      }
      .col-lg-9.al-thumb .al-inner {
          gap: 0;
      }
      .col-lg-9.al-thumb .al-inner .img-box {
          width: 100%;
      }
      .col-lg-9.al-thumb .al-inner .content-box {
          width: 100%;
          padding-top: 20px;
      }
  
      .slidebar, .top-bar.is-sticky.slidebar {
          padding-right: 0px;
      }
      /* LTR: Use padding-left instead of padding-right */
      html[dir="ltr"] .slidebar, 
      html[dir="ltr"] .top-bar.is-sticky.slidebar {
          padding-left: 0px;
      }
      .lf75-section .col-lg-7 {
          width: 100%;
      }
      .lf75-section .col-lg-5 {
          width: 100%;
      }
      .lf75-section .row {
          gap: 40px;
      }
      .lf66-section .row {
          gap: 60px;
      }
      .lf66-section .row .row {
          gap: 20px;
      }
      .lfdark-section .lf-content-box,
      .lfgray-section .lf-content-box {
          align-items: center;
      }
      .col-lg-6.playthumb, .col-lg-6.fr-area{
          padding-right: 25px;
          padding-left: 25px;
      }
      .col-lg-6.playthumb:nth-child(even), .col-lg-6.fr-area:nth-child(even){
          padding-right: 25px;
          padding-left: 25px;
      }
      .col-lg-6.fr-area {
          padding-top: 80px;        
      }
      .col-lg-6.fr-area:nth-child(even) {          
          padding-bottom: 80px;
      }
      .lf66-section .lf-img-box {
          padding-left: 1.5rem;
      }
      .lf66-section .lf-img-box {
          padding-left: calc(var(--bs-gutter-x) * .5);
          padding-right: calc(var(--bs-gutter-x) * .5);
      }
      .foot-top .foot-menu>.container {
          max-width: 696px;
          column-count: 2;
          margin-bottom: 50px;
      }
      .foot-top .foot-menu>.container:before {
          display: none;
      }
      .foot-top .foot-menu>.container:after {
          left: 0;
          width: 347px;
          border-left: 0;
      }
      .foot-top .foot-menu>.container .foot-item:last-child {
          border-bottom: 0;
      }
      .foot-top .foot-menu>.container .foot-item:first-child {
          border-top: 0;
      }
      .searchandlink .search-box>.search-block-form.show {
        width: 130px;
    }
    .newsletter-box #newsletter-form {
      flex-wrap: wrap;
      flex-direction: column-reverse;
  }
  .newsletter-box #newsletter-form .captcha {
      width: 100%;
  }
  .newsletter-box form .form-item {
      margin: 0px auto;
  }
  .newsletter-box #newsletter-form .captcha {
      width: 100%;
  }
  .newsletter-form h2 {
      width: 100%;
      text-align: center;
  }
  .foot-item.form-item-7, .foot-item.form-item-3 {
      border-top: 6px solid var(--black-color);
  }
  blockquote {
      padding: 40px;
  }
  }
  @media (max-width: 767px) {
    .col-lg-6.book-thumb{
        padding-right: 40px;
        padding-left: 40px;
    }
  
    .fa-volume-up, .fa.fa-play, .icon-volume-up, .icon-play {
      border: 4px solid #fff !important;
      font-size: 30px !important;
      left: 0 !important;
      right: 0 !important;
      margin: 0 auto !important;
      top: 50% !important;
      width: 60px !important;
      height: 60px !important;
      -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
      transform: translateY(-50%);
    }
  
      .is-sticky.top-bar .center-box .logo {
          margin-bottom: 0;
      }
  
      .hamburgerMenu {
          padding: 18px 14px 5px 14px;
      }
      .bgimg-section img {
          min-height: 450px;
          object-fit: cover;
      }
      .newsletter-box {
          flex-wrap: wrap;
      }
      .foot-bottom .container {
          flex-wrap: wrap;
          justify-content: center;
          gap: 20px;
          padding-top: 28px;
          padding-bottom: 28px;
      }
      .foot-links {
          width: 100%;
      }
      .foot-links ul.menu {
          gap: 20px;
          justify-content: center;
          flex-wrap: wrap;
      }
      .top-bar .container {
          flex-wrap: wrap;
      }
      .top-bar .center-box {
          order: 1;
          margin-bottom: 0;
      }
      .top-bar .menu-wrapper {
          order: 2;
          flex: 0 0 60px;
          max-width: 60px;
      }
      .top-bar .searchandlink{
          order: 3;
      }
      .direct-links .menu {
          flex-wrap: wrap;
      }
      .article-list .views-exposed-form .form-item {
          max-width: calc(50% - 5px);
      }
      .foot-top .foot-menu>.container {
          max-width: 516px;
          column-count: 2;
      }
      .foot-top .foot-menu>.container:after {
          left: 0;
          width: 257px;
          border-left: 0;
      }
      .newsletter-box input[type="email"], .newsletter-box input[type="text"] {
        min-width: 100%;
      }
      .searchandlink .search-box>.search-block-form.show {
          width: 240px;
      }
      .foot-bottom .container:before {
          width: 100%;
      }    
  }
  @media (max-width: 575px) {
      .foot-top .foot-menu>.container {
          max-width: calc(100% - var(--bs-gutter-x));
          column-count: 1;
      }
      .foot-top .foot-menu>.container:after{
          display: none;
      }
      .article-list {
          padding-top: 30px;
      }    
    .hamburgerMenu .mid-menu {
        margin-bottom: 78px;
    }
    .foot-item.form-item-5 {
      border-top: 6px solid var(--black-color);
  }
  }
  @media (max-width: 500px) {
    .newsletter-box {      
      padding-bottom: 47px;
    }
    #block-saleh-newslettersubscriptionform #newsletter-form-messages {
        bottom: -50px;        
        width: 100%;
    }
  }
  @media (max-width: 440px) {
      .fr-box {
          height: 290px;
      }
      .article-list .views-exposed-form .form-item {
          max-width: 100%;
      }
      .searchandlink .search-box>.search-block-form.show {
        width: 200px;
    }
    .popuptype-section .pt-thumb.fixed-popup {
        -webkit-transform: scale(0.7) translate(80px, 110px);
        transform: scale(0.7) translate(80px, 110px);
        width: 400px;
    }
    .popuptype-section .pt-thumb .pt-inner .pt-img {
        max-width: 200px;
    }
  }
  @media (max-width: 374px) {
      .newsletter-box form .form-item {
          max-width: 266px;
      }
      .newsletter-box .form-actions {
       right: 220px;
   }
  }
  @media (max-width: 20000px) {
    .main-wrapper #block-saleh-views-block-front-articlenotebookmonthly-block-1 .lf-content-box, 
    .main-wrapper #block-saleh-views-block-front-subject-folder-single-1-block-1 .lf-content-box,
    .main-wrapper #block-saleh-views-block-front-subject-folder-single-3-block-1 .lf-content-box {
        padding-right: 320px;
    }
    .main-wrapper.slidebar #block-saleh-views-block-front-articlenotebookmonthly-block-1 .lf-content-box, 
    .main-wrapper.slidebar #block-saleh-views-block-front-subject-folder-single-1-block-1 .lf-content-box,
    .main-wrapper.slidebar #block-saleh-views-block-front-subject-folder-single-3-block-1 .lf-content-box {        
        padding-right: 100px;
    }
  }
  @media (max-width: 1800px) {
    .main-wrapper #block-saleh-views-block-front-articlenotebookmonthly-block-1 .lf-content-box, 
    .main-wrapper #block-saleh-views-block-front-subject-folder-single-1-block-1 .lf-content-box,
    .main-wrapper #block-saleh-views-block-front-subject-folder-single-3-block-1 .lf-content-box {
        padding-right: 260px;
    }
    .main-wrapper.slidebar #block-saleh-views-block-front-articlenotebookmonthly-block-1 .lf-content-box, 
    .main-wrapper.slidebar #block-saleh-views-block-front-subject-folder-single-1-block-1 .lf-content-box,
    .main-wrapper.slidebar #block-saleh-views-block-front-subject-folder-single-3-block-1 .lf-content-box {        
        padding-right: 65px;
    }
  }
  @media (max-width: 1600px) {
    .main-wrapper #block-saleh-views-block-front-articlenotebookmonthly-block-1 .lf-content-box, 
    .main-wrapper #block-saleh-views-block-front-subject-folder-single-1-block-1 .lf-content-box,
    .main-wrapper #block-saleh-views-block-front-subject-folder-single-3-block-1 .lf-content-box {
        padding-right: 120px;
    }
    .main-wrapper.slidebar #block-saleh-views-block-front-articlenotebookmonthly-block-1 .lf-content-box, 
    .main-wrapper.slidebar #block-saleh-views-block-front-subject-folder-single-1-block-1 .lf-content-box,
    .main-wrapper.slidebar #block-saleh-views-block-front-subject-folder-single-3-block-1 .lf-content-box {        
        padding-right: 20px;
    }
  }
  @media (max-width: 1400px) {
    .main-wrapper #block-saleh-views-block-front-articlenotebookmonthly-block-1 .lf-content-box, 
    .main-wrapper #block-saleh-views-block-front-subject-folder-single-1-block-1 .lf-content-box,
    .main-wrapper #block-saleh-views-block-front-subject-folder-single-3-block-1 .lf-content-box {
        padding-right: 60px;
    }
    .main-wrapper.slidebar #block-saleh-views-block-front-articlenotebookmonthly-block-1 .lf-content-box, 
    .main-wrapper.slidebar #block-saleh-views-block-front-subject-folder-single-1-block-1 .lf-content-box,
    .main-wrapper.slidebar #block-saleh-views-block-front-subject-folder-single-3-block-1 .lf-content-box {        
        padding-right: 20px;
    }
  }
  /*for screen size less than 1198  we don't need to set padding-right for .main-wrapper.slidebar 
    since the hamberger menu will cover all the screen*/
  @media (max-width: 1198px) {
    .main-wrapper #block-saleh-views-block-front-articlenotebookmonthly-block-1 .lf-content-box, 
    .main-wrapper #block-saleh-views-block-front-subject-folder-single-1-block-1 .lf-content-box,
    .main-wrapper #block-saleh-views-block-front-subject-folder-single-3-block-1 .lf-content-box {
        padding-right: 60px;
    }
  }
  @media (max-width: 1000px) {
    .main-wrapper #block-saleh-views-block-front-articlenotebookmonthly-block-1 .lf-content-box, 
    .main-wrapper #block-saleh-views-block-front-subject-folder-single-1-block-1 .lf-content-box,
    .main-wrapper #block-saleh-views-block-front-subject-folder-single-3-block-1 .lf-content-box {
        padding-right: 35px;
    }
  }
  /*for screen size less than 991(inclusive)  we have all contents in one column*/
  @media (max-width: 991px) {
    .main-wrapper .lfdark-section .lf-content-box, 
    .main-wrapper .lfgray-section .lf-content-box {
        padding-right: 175px !important;
    }
  }
  @media (max-width: 900px) {
    .main-wrapper .lfdark-section .lf-content-box, 
    .main-wrapper .lfgray-section .lf-content-box {
        padding-right: 115px !important;
    }
  }
  @media (max-width: 800px) {
    .main-wrapper .lfdark-section .lf-content-box, 
    .main-wrapper .lfgray-section .lf-content-box {
        padding-right: 65px !important;
    }
  }
  @media (max-width: 700px) {
    .main-wrapper .lfdark-section .lf-content-box, 
    .main-wrapper .lfgray-section .lf-content-box {
        padding-right: 80px !important;
    }
  }
  @media (max-width: 600px) {
    .main-wrapper .lfdark-section .lf-content-box, 
    .main-wrapper .lfgray-section .lf-content-box {
        padding-right: 45px !important;
    }
  }
  