@font-face { font-family:iransans; src: url('../fonts/iransans.otf'); src: url('../fonts/iransans.eot') format('eot'), url('../fonts/iransans.woff') format('woff'), url('../fonts/iransans.ttf') format('truetype'), url('../fonts/iransans.woff2') format('woff2'); font-display: swap; }

@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@300;400&display=swap');

*, ol, ul, li,p {padding:0; margin:0; transition:all 0.3s ease;}

::-webkit-scrollbar {    height: 12px;    width: 10px;    background: #171715;}
::-webkit-scrollbar-thumb {    background: #fff;    -webkit-border-radius: 1ex;}
::-webkit-scrollbar-corner {    background: #171715;}
::-moz-selection { /* Code for Firefox */  color: #171715;  background: #de9e36;}
::-selection { /* Code for Firefox */  color: #171715;  background: #de9e36;}

html { scrollbar-color: #f1f1f1 #171715;scrollbar-width: thin; background:#171715;}
body {font-family: 'iransans', arial; background-color:#f2f2f2; color:#1e1e1e; font-size:13px; line-height: 28px;}
a, a:not([class]) { text-decoration:none;}
h1,h2,h3,h4,h5,h6 { font-family: iransans; margin:0; font-weight: normal;}
ul { list-style: none; }
.page-header h2 { font-size:18px; }




/************* NavBTN **************/


/*********** NAVBTN *********/

.trigger {
}

.bars {
  width: 60px;
  cursor: pointer;
}

.bars.active .line { stroke:#BD1212; }

.bars .line {
  fill: none;
  stroke: #000;
  stroke-width: 4;
  stroke-linecap: square;
  transition: stroke-dasharray 400ms,  stroke-dashoffset 400ms;
}

.itemid-111 .bars .line {
  stroke: #fff; }

.itemid-111 .bars.active .line { stroke:#0071bc; }

.bars .line.top {
  stroke-dasharray: 40 172;
}
.bars .line.middle {
  stroke-dasharray: 40 111;
}
.bars .line.bottom {
  stroke-dasharray: 40 172;
}
.bars.active .top {
  stroke-dashoffset: -132px;
}
.bars.active .middle {
  stroke-dashoffset: -71px;
}
.bars.active .bottom {
  stroke-dashoffset: -132px;
}



#MainMenu.open {  max-height: 800px; }

#MainMenu {  width:100%; padding: 0;  max-height: 0;  overflow: hidden; transition: all 0.3s ease; background: #fff;}


/************* BOOKS ***************/


.books .blog-item, .blog-items[class*=" masonry-"] .blog-item {  padding: .5em;    position: relative;  color: #767678;  border: 1px solid rgba(71, 71, 71, 0.52);    background: #fff; text-align: center;background: transparent;border-radius: 0; margin:0; border-radius: 5px; justify-content: center;}

.item-pagebooks {  padding: 15px 15px 20px;  border-radius: 4px;  position: relative;  color: #767678; background: #fff; display: flex; flex-direction:column;}


.books .blog-item .fields-container {margin-bottom: 1em;}

.books .blog-item .readmore {margin-top: 1em;
  position: absolute;
  left: 0;
  bottom: 0; }

.books .blog-item .readmore a {
  font-size: 11px;
  background: transparent;
  border-radius: 0;
  border-left: 0;
  border-bottom: 0;
  padding: .5em 1em;
}

.item-pagebooks .content-links, .item-pagebooks .fields-container { order:1; }
.item-pagebooks .pagenavigation { order: 2;}

.item-pagebooks > .page-header h1 { text-align: center;
  margin-bottom: 1em;}

.item-pagebooks .content-links a { border: 1px solid #000;
  padding: .5em 1em;
  display: inline-block;
  border-radius: 10px; margin:10px 0;}


.navbar-brand img {
  display: block;
  max-width: 30px;
}

.container-header .navbar-brand{
  display: flex;
  align-items: center;
  grid-gap: .5em;
  flex-direction: row-reverse;
margin-inline-end: initial;
margin-inline-start: auto;
}

.container-header { background: #fff; display: flex; flex-wrap: wrap;}

header .grid-child:nth-child(2) { flex:1; }

body.wrapper-fluid header > .grid-child, body.wrapper-fluid footer > .grid-child {
  padding-left: 1em;
  padding-right: 1em;
}

#topmenu { display: flex; flex-direction: row; grid-gap: 1em; padding-top: 4px;}

.container-topbar { align-content: center; display:flex; align-items: center;}

.grid-child.container-nav { background:#fff; }

.container-header .mod-menu > li > a, .container-header .mod-menu > li > span, .metismenu.mod-menu li > a { color:#5e5e5e; font-size:14px; padding: 1em;}
.metismenu.mod-menu .mm-toggler { color:#5e5e5e; font-size:14px; }
.container-header .mod-menu > li > a.fa { font-size:0; color:#fff; }
.container-header .mod-menu > li > a.fa::before { font-size:26px; color: #000;}
.metismenu.mod-menu .metismenu-item { padding:0; }
.container-component > :first-child { margin: 0;}

.container-header .mod-menu > li.item-140 > a {  color: #0707e9;  border: 1px solid;  padding: .5em;  border-radius: 20px;  font-size: 11px;  display: block;}
.metismenu.mod-menu .metismenu-item > a:focus, .metismenu.mod-menu .metismenu-item > button:focus { outline:none; }
.mod-finder.js-finder-searchform.form-search {  padding: 1em;  width: 100%;  border-bottom: 2px solid #ccc;}
.form-search .mod-finder__search input {  font-size: 13px;  padding: .5em 1em;}
.form-search .mod-finder__search button {  font-size: 0;  background: #d2d2d2;  border-color: #d2d2d2;}
.form-search .mod-finder__search button span {  font-size: 13px;}
.container-header .mod-menu > li > a {  flex: 1;}

.metismenu.mod-menu .parent > ul {  position: relative;  width: 100%;  padding-right: 1em;  box-shadow: none;}

.metismenu.mod-menu .mm-toggler::after { margin-inline-end: .5em; margin-inline-start:initial;}
.container-header .site-description { font-size:13px; text-align: left; color:#000;}
.books .item-content p {  display: none;}
.books .page-header h2 a {  font-size: 13px;  font-weight: normal;  color: #224faa;}

.books .com-content-category-blog__items.blog-items {  display: grid;  grid-template-columns: 1fr 1fr 1fr;}
.books .com-content-category-blog__item.blog-item:nth-child(1) {  grid-column-start: 1;  grid-column-end: 3;}
.books .com-content-category-blog__item.blog-item:nth-child(3) {  grid-column-start: 1;  grid-column-end: 4;}

.mod-breadcrumbs__divider.float-start {  margin-left: .5em;}
body.wrapper-fluid .site-grid {  grid-gap: 0;}
main {  padding: 0 2em;}
.books main .blog > h1 {  font-size: 21px;
  padding: 0 0 .5em 0;
  text-align: center;
  border-bottom: 2px solid;
  margin: 1em 0 2em;}

.container-footer.footer {  background: #fefefe;  color: #000;  border-top: 1px solid #bfbfbf; margin: 0;    margin-top: 0px;  margin-top: auto;  transition: all 0s;}
body.wrapper-fluid footer > .grid-child {  padding: .5em 2em;}
body.wrapper-fluid footer > .grid-child .mod-custom {  width: 100%;  font-size: 11px;  display: flex;  flex-direction: column;  grid-gap: .5em;  padding: 1em 0; }

.quickaccess {  display: grid;  grid-template-columns: 1fr 1fr;  grid-gap: 1em;  padding: 1em;  text-align: center;}
.quickaccess li {  border: 1px solid;  padding: 1em 2em;  border-radius: 4px;}

.item-page > .page-header h1 { margin: 1em 0 2em;  text-align: center;  border-bottom: 2px solid #224faa;  padding-bottom: 1em; }

.com-content-article__body { text-align:justify;}

.com-content-article__body h3 {  font-size: 19px;  margin: 1em 0;  border-right: 10px solid #224faa;  display: block;  padding: 0 .5em;}

.com-content-article__body h5 { font-size:15px;  margin: 1em 0;  border-right: 10px solid;  display: block;  padding: 0 .5em;}

.com-content-article__body ul { list-style: disc;
  padding: 0 2em; margin: 2em 0;}
.com-content-article__body ul li { }

/************ RESPONSIVE ************/

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

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

.books .blog-item, .blog-items[class*=" masonry-"] .blog-item { padding:.5em .5em 2em; }
.books .item-content p {
  display: initial;
}
#topmenu { padding: 4px 1em; }
.mod-finder.js-finder-searchform.form-search { display:none; }
.container-header .mod-menu > li + li { margin:0; }
    #MainMenu {max-height: inherit; padding: 1em;overflow: visible; }
  .trigger { display:none; }
.metismenu.mod-menu .parent > ul {
  position: absolute;
    width: inherit;
    padding-right: 0;
    box-shadow: inherit;
    margin-top: 18px;
    border: 1px solid #333;
    border-radius: 10px;
}
}