@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:#e7e7e7; color:#1e1e1e; font-size:13px;}
a, a:not([class]) { text-decoration:none;}
h1,h2,h3,h4,h5,h6 { font-family: iransans; margin:0;}
ul { list-style: none; }
.page-header h2 { font-size:18px; }




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


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

.trigger {
}

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

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

.bars .line {
  fill: none;
  stroke: #fff;
  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 {  padding: 15px 15px 20px;  border-radius: 4px;  position: relative;  color: #767678;  border: 1px solid rgba(0,0,0,.125);  box-shadow: .6px 1.5px 7px 0 rgba(157,157,157,0.5);  background: #fff; text-align: center;}

.item-pagebooks {  padding: 15px 15px 20px;  border-radius: 4px;  position: relative;  color: #767678;  border: 1px solid rgba(0,0,0,.125);  box-shadow: .6px 1.5px 7px 0 rgba(157,157,157,0.5);  background: #fff; text-align: center; display: flex; flex-direction:column;}

.books .blog-item .page-header { margin-bottom: 1em;}

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

.books .blog-item .readmore {margin-top: 1em; }
.item-pagebooks .content-links, .item-pagebooks .fields-container { order:1; }
.item-pagebooks .pagenavigation { order: 2;}

.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: #347433;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; }
.metismenu.mod-menu .metismenu-item { padding:0; }
.container-component > :first-child { margin: 0;}

.container-header .mod-menu > li.item-140 > a {
  color: #fff;
  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: #347433;
  border-color: #347433;
}
.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; }
/************ RESPONSIVE ************/

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

}
@media screen and (min-width:992px) {
#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;
}
}