/* == FONTS IMPORT */
@font-face {
  font-family: dinnextregular;
  src: url(../webfonts/din-next/light/DinNextLight.eot);
  src: url(../webfonts/din-next/light/DinNextLight.eot) format('embedded-opentype'), url(../webfonts/din-next/light/DinNextLight.woff2) format('woff2'), url(../webfonts/din-next/light/DinNextLight.woff) format('woff'), url(../webfonts/din-next/light/DinNextLight.ttf) format('truetype'), url(../webfonts/din-next/light/DinNextLight.svg#DinNextLight) format('svg')
}

@font-face {
  font-family: dinnextregular;
  src: url(../webfonts/din-next/regular/DinNextRegular.eot);
  src: url(../webfonts/din-next/regular/DinNextRegular.eot) format('embedded-opentype'), url(../webfonts/din-next/regular/DinNextRegular.woff2) format('woff2'), url(../webfonts/din-next/regular/DinNextRegular.woff) format('woff'), url(../webfonts/din-next/regular/DinNextRegular.ttf) format('truetype'), url(../webfonts/din-next/regular/DinNextRegular.svg#DinNextRegular) format('svg')
}

@font-face {
  font-family: dinnextmedium;
  src: url(../webfonts/din-next/medium/DinNextMedium.eot);
  src: url(../webfonts/din-next/medium/DinNextMedium.eot) format('embedded-opentype'), url(../webfonts/din-next/medium/DinNextMedium.woff2) format('woff2'), url(../webfonts/din-next/medium/DinNextMedium.woff) format('woff'), url(../webfonts/din-next/medium/DinNextMedium.ttf) format('truetype'), url(../webfonts/din-next/medium/DinNextMedium.svg#DinNextMedium) format('svg')
}

@font-face {
  font-family: dinnextbold;
  src: url(../webfonts/din-next/bold/DinNextBold.eot);
  src: url(../webfonts/din-next/bold/DinNextBold.eot) format('embedded-opentype'), url(../webfonts/din-next/bold/DinNextBold.woff2) format('woff2'), url(../webfonts/din-next/bold/DinNextBold.woff) format('woff'), url(../webfonts/din-next/bold/DinNextBold.ttf) format('truetype'), url(../webfonts/din-next/bold/DinNextBold.svg#DinNextBold) format('svg')
}

/* ===================================================================== */
html {
    overflow: scroll;
    overflow-x: hidden;
}
body {
  -webkit-font-smoothing: antialiased;
  -moz-font-smoothing: antialiased;
  -o-font-smoothing: antialiased;
  font-family: dinnextregular;
  text-rendering: optimizeLegibility;
  background-color: #fdfbf8;
  font-weight: 400;
  font-size: 14px;
  line-height: 2.4;
  direction: rtl;
  text-align: right;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: dinnextbold;
  font-weight: 400;
}

p {
  color: #333333;
  font-size: 15px;
  font-weight: 400;
  text-align: right;
  margin: 0;
}


a,
a:hover,
a:focus {
  text-decoration: none;
}

a:hover {
  color: #745226;
}

.color {
  color: #9f7133;
}

.muted {
  color: #333;
}

.pad-60 {
  padding-bottom: 0px; padding-top: 15px; padding-left: 60px; padding-right: 60px; 
}

.pad-80 {
  padding: 80px 0;
}

.pad-120 {
  padding: 120px 0;
}

ul {
  padding: 0;
  margin: 0;
}

/* == BUTTONS / FORMS */

.btn {
  font-size: 13px;
  font-weight: 400;
  padding: 8px 20px;
  min-height: 40px;
}

.btn.focus,
.btn:focus {
  box-shadow: none;
}

.btn-main {
  background-color: #9f7133;
  border-color: #9f7133;
  color: #fff;
}

.btn-main:hover,
.btn-white:hover {
  background-color: rgba(159, 113, 51, 0.7);
  border-color: #9f7133;
  color: #fff;
}

.btn-border {
  border-color: #fff;
  color: #fff;
}

.btn-border:hover {
  background-color: rgba(255, 255, 255, 0.7);
  color: #9f7033;
}

.btn-white {
  background-color: #fff;
  border-color: #fff;
  color: #9f7033;
}

.btn-white:hover {
  background-color: rgba(255, 255, 255, 0.9);
  color: #9f7033;
}

.telegram-btn {
  background-color: #4EA9DF;
  color: #fff;
  font-size: 25px;
  padding: 0px 10px;
  line-height: 35px;
}

.telegram-btn:hover {
  background-color: rgba(78, 169, 223, 0.7);
  border-color: #4EA9DF;
  color: #fff;
}

.dropdown-menu {
  text-align: right;
  font-size: 13px;
  font-weight: 400;
}

.form-group {
  margin-bottom: 0;
}

.form-control {
  min-height: 40px;
  font-size: 14px;
  color: #333;
  border: 1px solid #fdfbf8;
  background-color: #fdfbf9;
}

.form-control:focus {
  border-color: rgba(159, 112, 51, 0.2);
  box-shadow: none;
}

/* ===================================================================== */


/* == NAVBAR */
.navbar {
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  -ms-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
  padding-top: 15px;
}


.navbar-expand-lg .navbar-nav {
  position: relative;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  -ms-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}

.navbar-brand {
  margin-right: 0;
  margin-left: 1rem;
}

.top-navbar-menu {
  position: absolute;
  right: 0;
  top: -10px;
  -webkit-transition: all 0.7s ease-in-out;
  -moz-transition: all 0.7s ease-in-out;
  -o-transition: all 0.7s ease-in-out;
  -ms-transition: all 0.7s ease-in-out;
  transition: all 0.7s ease-in-out;
}

.top-navbar-menu a {
  font-size: 14px;
  color: #c6c6c6;
  margin-left: 0px; 
}

.top-navbar-menu a i {
  color: #9f7133;
  margin-left: 3px;
  font-size: 10px;
}

.top-navbar-menu2 {
  -webkit-transition: all 0.7s ease-in-out;
  -moz-transition: all 0.7s ease-in-out;
  -o-transition: all 0.7s ease-in-out;
  -ms-transition: all 0.7s ease-in-out;
  transition: all 0.7s ease-in-out;
}

.top-navbar-menu2 a {
  font-size: 14px;
  color: #c6c6c6;
  margin-left: 0px;
  
}

.top-navbar-menu2 a i {
  color: #9f7133;
  margin-left: 3px;
  font-size: 10px;
}




.navbar.scroll-navbar {
  background-color: rgba(26, 26, 26, 0.9) !important;
  padding-top: 0;
  padding-bottom: 3px;
  box-shadow: 0 11px 12px 0 rgba(41, 35, 29, 0.10);
}

.scroll-navbar .navbar-brand img {
  
}

.navbar.scroll-navbar .navbar-nav .nav-link {
  color: #fff;
}

.navbar.scroll-navbar .top-navbar-menu {
  top: -50vh;
}

.navbar-expand-lg .navbar-nav .nav-link {
  margin-top: 15px;
  margin-bottom: -10px;
  color: #dfdfdf;
  margin-left: 0px;
}


.navbar-dark .navbar-nav .active>.nav-link,
.navbar-dark .navbar-nav .nav-link.active,
.navbar-dark .navbar-nav .nav-link.show,
.navbar-dark .navbar-nav .show>.nav-link {
  color: #fff;
}

.scroll-navbar .navbar-nav .nav-link {
  margin-top: 0;
  margin-bottom: 0;
  
}

.navbar-buttons .btn-main {
  margin-left: 0;
}

.dropdown-menu {
  float: right;
  right: 0;
  border-radius: 0 0 5px 5px;
  border: 0;
  border-top: 4px solid #9f7033;
  min-width: 270px;
  margin-top: 5px;
  font-size: 13px;
  font-family: dinnextmedium;
  background-color: #fdfbf8;
  box-shadow: 0 5px 12px 0 rgba(41, 35, 29, 0.15);

}


.dropdown-item {
  color: #555;
  margin-bottom: -10px;
  margin-top: -10px;
}

.dropdown-toggle::after {
  border-top: 4px solid;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
  vertical-align: .0;
  margin-right: 3px;
  margin-left: 0;
}

.dropdown-item.active,
.dropdown-item:active,
.dropdown-item:hover,
.dropdown-item:focus {
  background-color: #9f7033;
  color: #fff;
  outline: none;
  margin-bottom: -10px;
  margin-top: -10px;
}

.bg {
  background-size: cover;
  background-attachment: fixed;
  background-position: top center;
  background-repeat: no-repeat;
}

.div-wrapper {
    position: relative;
    height: 400px;
    width: 400px;
}

.div-wrapper img {
    position: absolute;
    left: 0;
    bottom: 0;
}
/* ===================================================================== */


/* == HERO */
.hero-section {
  overflow-y:hidden;
  height: 800px;
  position: relative;
}

.hero-section img {
  position: absolute;
  bottom: 0;
  right: 5%;
  object-fit: cover;
  width: 40%;
}

.hero-text {
  height: 100%;
  padding: 24% 0 15% 15%;
}
/*
.hero-text span {
  font-family: dinnextbold;
  font-size: 14px;
  color: #fff;
  margin: 15px 0;
  display: inline-block;
}

.hero-text p {
  font-family: dinnextregular;
  font-size: 18px;
  color: #e3e3e3;
  font-weight: 400;
}
*/
/* ===================================================================== */


/* == SEARCH BAR */
.search-bar {
  padding: 30px 0;
  background-color: #1a1a1a;
  color: #fff;
}

.search-bar .col-form-label {
  font-family: dinnextbold;
  font-size: 16px;
  line-height: 30px;
  color: #fff;
}

.search-bar .form-control,
.search-bar .btn {
  min-height: 50px;
}

/* ===================================================================== */

.white-block {
  border-radius: 5px;
  margin: 15px 0;
  background-color: #fff;
  box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.05);
}

.white-block-header {
  padding: 15px;
  border-bottom: 2px solid #f7f5f2;
}

.white-block-header h3 {
  margin-bottom: 0;
  font-size: 18px;
  color: #1a1a1a;
  line-height: 1.5;
}

.white-block-header span a {
  display: inline-block;
  margin: 0 15px;
  font-size: 12px;
  font-family: dinnextmedium;
}

.white-block-body--row {
  padding: 10px 15px 16px 0;
  padding-top: 20px;
  border-bottom: 1px solid #fdfbf8;
  line-height: 1.5;
  min-height: 60px;
}

.white-block-body--row .color {
  margin: 0 20px 0px 10px;
  font-size: 12px;
  font-family: dinnextbold;
  color: #339f9e;
}

.white-block-body--row a {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  color: #525151;
  min-height: 16px;
}

.white-block-body--row .small-number {
  font-size: 12px;
  font-family: dinnextmedium;
  color: #797979;
  float: left;
  margin-left: 0;
  min-width: 80px;
  text-align: right;
}

.white-block-body--row .small-number i {
  margin-left: 3px;
  font-size: 8px;
}

.article-block {
  padding: 15px;
  border-bottom: 1px solid #fdfbf8;
  width: 50%;
  float: right;
}

.article-block p span {
  color: #797979;
  font-size: 13px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  min-height: 16px;
}

.article-block p {
  font-family: dinnextmedium;
  font-size: 14px;
  color: #333;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  min-height: 16px;
}

.articele-st span {
  font-size: 10px;
  margin: 0 2px 0 10px;
  font-family: dinnextmedium;
  color: #797979;
}

.articele-st span i {
  color: #9f7033;
  margin-left: 3px;
}

.articele-st span .color {
  font-size: 12px;
  color: #339f9e;
  font-family: dinnextbold;
}

.articele-st span .color i {
  color: #339f9e;
  margin-right: 3px;
  font-size: 9px;
}

.bio-hero .hero-photo {
  max-width: 100%;
}

.bio-hero .hero-photo img {
  display: block;
  margin-bottom: -65px;
}

.bio-hero p {
  font-size: 18px;
  color: #cccac8;
  margin: 20px 0;
}

.bio-hero {
  overflow: hidden;
}

.books .white-block-body {
  padding: 15px;
  text-align: center;
}

.book h6 {
  font-size: 14px;
  font-family: dinnextmedium;
  color: #333333;
  margin: 15px;
}

.books {
  margin: 60px 0;
}

.statistic-icon {
  color: #9f7033;
}

.statictics-title {
  font-family: dinnextbold;
  font-size: 18px;
  color: #fdfbf9;
}

#statistic {
  color: #d0d0d0;
  font-size: 16px;
}

.footer-logo {
  margin-bottom: 20px;
  height: 35px;
}

footer h6 {
  margin-top: 20px;
  margin-bottom: 16px;
  font-size: 16px;
  color: #333333;
}

.footer-list li {
  float: right;
  width: 45%;
}

footer a,
footer p {
  color: #626262;
}

.modal-dialog {
  max-width: 800px;
  margin-top: 30vh;
}

.modal-content {
  padding: 5px 0;
  border: 0;
  border-radius: 5px;
  box-shadow: 0 10px 30px rgba(50, 37, 20, 0.5);
}

.modal-body h5 {
  margin-bottom: 20px;
  color: #333;
}

.footer-form {
  position: relative;
  margin-top: 15px;
}

.footer-form .form-control {
  background-color: #fff;
}

.footer-form .btn-main {
  position: absolute;
  left: 0;
  top: 0;
}

.offset-lg-5 {
  margin-right: 41.666667%;
}

.copyrights {
  background-color: #f7f5f2;
  padding: 25px 0;
}

.copyrights small {
  font-size: 12px;
  color: #a8a7a5;
}

.main-page-hero {
  position: relative;
  height: 500px;
  overflow: hidden;
}

.main-page-hero .main-page-hero-img {
  position: absolute;
  left: 8%;
  bottom: 0;
}

.main-page-hero-head {
  height: 400px;
  display: flex;
  align-items: center;
}

.main-page-hero-head h1 {
  font-size: 25px;
  font-family: dinnextmedium;
  color: #fff;
  margin: 50px 0 0 0;
}

.crumb {
  background: #f6f4f1;
}

.breadcrumb {
  margin: 0;
  background: transparent;
  padding: 15px 0;
}

.breadcrumb-item+.breadcrumb-item {
  padding-left: 0;
  padding-right: 0.5rem;
}

.breadcrumb-item+.breadcrumb-item::before {
  padding-right: 0;
  padding-left: 0.5rem;
}

.breadcrumb-item a {
  color: #3c3c3c;
  font-size: 14px;
}

.breadcrumb-item.active {
  color: #7f7f7f;
}

.search-bar-light {
  background-color: #f2f0ed;
}

.search-bar-light .col-form-label {
  color: #9f7033;
}

.white-block-header .form-control {
  background: #fdfbf9;
  color: #838383;
  min-height: 30px;
}

.main-pagination {
  display: flex;
  justify-content: center;
  padding: 15px;
  background-color: #fdfbf9;
  margin: 15px;
  border-radius: 5px;
}

.white-block-body {
  overflow: hidden;
}

.page-item.active .page-link {
  background: none;
  border: none;
  color: #453625;
}

.page-link {
  border: none;
  background: none;
  color: #bdbbb9;
  margin: 0 2px;
  font-family: dinnextbold;
  font-size: 13px;
}

.page-link:focus,
.page-link:hover {
  box-shadow: none;
  background: none;
  color: #453625;
}

.page-link i {
  font-size: 12px;
}

.btn-main-border {
  color: #9f7033;
  border: 1px solid #9f7033;
}

.btn-main-border:hover,
.btn-main-border:focus {
  background-color: #9f7033;
  color: #fff;
}

.white-block-pad {
  padding: 15px;
}

.white-block-body .btn-main-border {
  min-height: 45px;
  margin-top: 10px;
}

.white-block-body input.form-control {
  background: #fdfbf9;
  min-height: 45px;
}

.estftaa a,
.file-download a {
  height: 125px;
  background: #9f7033 url(../images/hero-bg.jpg) bottom right;
  border-radius: 5px;
  padding: 25px;
  margin: 30px 0;
  display: flex;
  align-items: center;
}

.file-download a {
  height: 75px;
  background: #ffffff;
  border-radius: 5px;
  padding: 25px;
  margin: 15px 0;
  display: flex;
  align-items: center;
  border: 1px solid #f6f4f1;
}

.estftaa span,
.file-download span {
  color: #fff;
  font-size: 18px;
  font-family: dinnextbold;
  min-width: 50%;
}

.file-download span {
  color: #a2743b;
}

.estftaa img,
.file-download img {
  height: 50px;
  float: left;
}

#books-side-carousel .book {
  max-width: 214px;
  margin: 30px auto;
  text-align: center;
}

.owl-nav {
  position: absolute;
  bottom: 54%;
  width: 100%;
}

.owl-nav .owl-prev i,
.owl-nav .owl-next i {
  font-size: 30px;
  color: #e0dedc;
}

.owl-nav .owl-prev {
  position: absolute;
  left: 25px;
}

.owl-nav .owl-next {
  position: absolute;
  right: 25px;
}

.owl-prev:focus,
.owl-next:focus,
.owl-prev:hover i,
.owl-next:hover i {
  outline: none;
  color: #9f7033;
}

label {
  font-family: dinnextbold;
}

.form-check-input {
  margin-top: 13px;
  margin-left: 10px;
  margin-right: 0;
}

.form-check-label {
  margin-right: 25px;
}

.alert-success {
  border: 0;
  background-color: #339f6d;
  color: #fff;
}

.alert-success i {
  font-size: 110px;
  display: block;
  margin: 15px 0;
  color: #fff;
}

.date {
  font-size: 12px;
  font-family: dinnextmedium;
  color: #797979;
  margin-left: 0;
  min-width: 100px;
  text-align: center;
}

h1 small {
  font-size: 16px;
  color: #dcdcdc;
  display: block;
  margin-top: 20px;
  font-family: dinnextregular;
}

.fatawa-info {
  font-size: 12px;
  color: #9f7033;
  font-family: dinnextmedium;
}

.books-page {
  text-align: center;
  width: 22%;
  margin: 10px 9px;
}

.books-page:hover {
  background-color: #fdfbf8;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

.book-view-img img {
  margin: 0 auto;
  display: inherit;
  width: 50%;
}

.book-view-options a {
  text-align: center;
  font-size: 16px;
  color: #9f7033;
  display: inherit;
}

@media (min-width: 992px) {
  .offset-lg-2 {
    margin-right: 16.666667%;
  }
}
  
}

.comment {
  background-color: #fdfbf8;
  padding: 15px;
  border-radius: 5px;
}

.white-block-pad.comments {
  height: 600px;
  overflow-y: scroll;
}