/*
	Theme Name: Rahnamaei Template
	Description: تمام حقوق این قالب برای صاحب آن محفوظ می باشد و هرگونه استفاده و کپی برداری ، نال ، از طریق پلیس فتا پیگرد قانونی دارد .
	Author: علیرضا فدایی
	Author URI: https://telegram.me/iu456
	Version: 1.0
*/
@font-face {
  font-family: 'mysans';
  src: url('fonts/IRANSansWeb(FaNum)_Light.eot');
  src: url('fonts/IRANSansWeb(FaNum)_Light.eot?#iefix') format('embedded-opentype'),
       url('fonts/IRANSansWeb(FaNum)_Light.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'mysans';
  src: url('fonts/IRANSansWebFaNum-Light.svg#IRANSansWebFaNum-Light') format('svg'),
       url('fonts/IRANSansWebFaNum-Light.ttf') format('truetype'),
       url('fonts/IRANSansWebFaNum-Light.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}
a {
  text-decoration: none !important;
}

/****************************************new styles**********************/
*{
	line-height: normal;
	list-style: none;
	box-sizing: border-box;
	font-family: 'mysans';
}
body{
	font-family: 'mysans';
	background: #fff;
}
input:focus,
select:focus,
button:focus,
textarea:focus {
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
  outline: none !important;
}
.container{
  max-width: 1280px!important;
}
ul,ol{
  margin: 0;
  padding: 0;
}
.w100{
	width:100%;
}
.menubar{
  background: #fff;
  padding: 0;
  box-shadow: 0 0 10px 0 #00000014;
	position:relative;
	z-index:1;
}
.menubar img{
  max-width: 90%;
}
.menubar .menu{
  display: inline-block!important;
}
.menubar ul li{
  display: inline-block;
  position: relative;
}
.menubar ul li:first-child a{
 padding-right: 0;
}
.menubar ul li a{
  padding: 39px 20px;
  color: #000;
}
.menubar ul li:hover ul{
  transition: 0.2s;
  top: 62px;
  opacity: 1;
  visibility: visible;
}
.menubar ul li ul{
  position: absolute;
  top: 80px;
  right: 0;
  width: 250px;
  background: #eee;
  z-index: 100;
  transition: 0.2s;
  opacity: 0;
  visibility: hidden;
}
.menubar ul li ul li{
  display: block;
  padding: 5px 0;
}
.menubar ul li.menu-item-has-children::after{
  content: "";
  position: absolute;
  top: 7px;
  left: 0;
  width: 7px;
  height: 7px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
}
.menubar ul li ul li:hover{
  background: #ccc;
}
.menubar ul li ul li a{
  padding: 10px 20px!important;
}
.menubar ul li ul li:hover a{
  color: #fff;
}
.menubar ul li ul li.aio{
  border-top: 1px solid #fff; 
  padding: 10px 0;
}

.logobar{
  padding: 25px 15px;
}
.hero h2{
  white-space: pre-line;
  font-weight: bold;
  color: #7ec04b;
}
.hero p{
  color: #555;
  white-space: pre-line;
  line-height: 1.8;
  font-size: 15px;
}
.hero form{
  position: relative;
  border: 1px solid #7ec04b;
  border-radius: 4px;
  overflow: hidden;
  display: table;
}
.hero form input{
  padding: 18px;
  border: none;
  float: right;
  height: 67px;
}
.hero form select{
  height: 67px;
  float: right;
  padding: 20px 20px 20px 70px;
  background: #daf1c7;
  border: none;
  cursor: pointer;
  color: #666;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: left 1rem center;
  background-size: 1em;
}
.hero form button{
  background: #7ec04b;
  color: #fff;
  padding: 18px 40px;
  cursor: pointer;
  height: 67px;
  border: none;
}
.box2{
  border-top:1px solid #eee;
  border-bottom:1px solid #eee;
  padding: 30px 15px;
}
.title1{
  color: #555;
}
.title2{
  color: #7ec04b;
  font-weight: bold;
}
.box3post img{
  margin: 30px 0;
  width: 41px;
  height: 85px;
  object-fit: cover;
}
.box3 h5{
  font-size: 15px;
  color: #555;
  margin-bottom: 20px;
}
.stb{
  color: #36393c;
  position: relative;
  font-size: 22px;
  padding-bottom: 21px;
}
.stb::after{
  content: "";
  width: 50px;
  right: 0;
  display: block;
  margin: 0 auto;
  background: #36393c;
  height: 2px;
  position: absolute;
  bottom: 0;
}
.box3post{
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 20px 0 #eee;
  background: #fff;
  transition: 0.4s;
  position: relative;
}
.box3post:hover{
  transition: 0.4s;
  transform: translateY(-10px);
}
.box3post:hover h4{
  transition: 0.4s;
  background: #7ec04b;
}
.box3 h4{
  color: #fff;
  font-size: 13px;
  background: #4984c0;
  padding: 15px 10px;
  transition: 0.4s;
}
footer,.copy{
  background: #fff;
  padding: 50px 15px;
  border-top:1px solid #eee;
}
footer h5{
  color: #000;
  margin-bottom:40px;
  font-weight: bold;
}
footer .fbox{
  position: relative;
  padding: 20px 135px 20px 20px;
  color: #fff;
  min-height: 120px;
}
footer .fbox a{
  color: #000;
}
footer .fbimg{
  position: absolute;
  top: 0;
  right: 0;
  width: 105px;
  height: 105px;
  background: #eee;
  border-radius: 2px;
  overflow: hidden;
}
footer .fbimg img{
  display: block;
  margin: 0 auto;
  width: 105px;
  height: 105px;
  object-fit: contain;
  padding: 10px;
}
footer .mybox img{
  object-fit: cover;
  padding: 0;
}
.fs ul li{
  display: inline-block;
}
.fs ul li a{
  background: #4984c0;
  padding: 10px;
  border-radius: 8px;
  overflow: hidden;
  display: block
}
.fs ul li svg{
  float: left;
  width: 30px;
  height: 30px;
  color: #fff;
}
.fs .loc{
  color: #000;
}
.fs .loc svg{
  position: relative;
  top: 5px;
  width: 20px;
  height: 20px;
  margin-left: 5px;
  color: #4984c0;
}
.copy{
  border-top: 1px solid #eee;
  color: #000;
}
.bruth{
  background: #fff;
  padding: 15px;
  position:relative;
}
.bruth {
  display: inline-block;
  font-size: 12px;
  color: #b9b9ba;
}
.bruth a:first-child{
  margin-right: 0;
}
.bruth a{
  color: #b9b9ba;
  margin: 0 10px;
}
.bruth span{
  margin: 0 10px;
  color: #b9b9ba;
}
.boxstyle{
  border: 1px solid #eee;
  box-shadow: 0 0 10px 0 #eee;
  padding: 15px;
  border-radius: 8px;
}
.sidebar h5{
  color: #36393c;
  padding: 0 0 20px 0;
  margin-bottom: 20px;
  position: relative;
}
.sidebar h5::after{
  content: "";
  width: 50px;
  right: 0;
  display: block;
  margin: 0 auto;
  background: #36393c;
  height: 2px;
  position: absolute;
  bottom: 0;
}
.sidebar ul li{
  margin-bottom: 10px;
}
.sidebar ul li:last-child{
  margin: 0;
}
.sidebar ul li a{
  color: #4984c0;
  display: block;
  transition: 0.4s;
}
.sidebar ul li:hover a{
  color: #7ec04b;
  transition: 0.4s;
}
.cat h3{
  color: #fff!important;
  box-shadow: 0 0 10px 0 #eee;
  padding: 15px;
  margin: 0;
  border-radius: 8px;
  background: #4984c0;
  text-align: right!important;
  font-size: 20px;
}
.cat p{
  line-height: 1.5;
  color: #555;
}
.single2box h3{
  color: #7ec04b;
  font-weight: bold;
  font-size: 22px;
}
.s2p{
  box-shadow: 0 0 10px 0 #b5b5b5;
  padding: 40px 0 80px 0;
  position: relative;
  overflow: hidden;
  transition: 0.4s;
}
.s2p:hover{
  transform: translateY(-10px);
  transition: 0.4s;
}
.s2p img{
  width: 150px;
  display: block;
  margin: 0 auto;
  padding: 15px 0;
}
.s2pb{
  background: #2c2f31ad;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}
.s2pb h4{
  background: #fff;
  color: #009DD9;
  font-size: 18px;
  padding: 15px;
  text-align: center;
  font-weight: bold;
}
.s2pb img{
  width: 72px;
}
.maincontent p{
  color: #555;
  line-height: 1.5;
}
.maincontent p a{
  color: #4984c0;
}
.maincontent ul{
  padding:15px;
}
.maincontent ul li{
  margin-bottom: 10px;
  color: #555;
  list-style: disc!important;
}
.maincontent ol{
  padding:15px;
}
.maincontent ol li{
  margin-bottom: 10px;
  color: #555;
  list-style: decimal!important;
}
.maincontent blockquote{
  background: #7ec04b29;
  padding: 15px;
  margin: 20px 0;
}
.maincontent .aligncenter{
  display: block;
  margin: 0 auto;
}
.maincontent .alignleft{
  display: block;
  margin: 0 auto 0 0;
}
.maincontent .alignright{
  display: block;
  margin: 0 0 0 auto;
}
.maincontent img.alignleft{
  display: block;
  margin: 0 40px 0 0;
  float:left;
}
.maincontent img.alignright{
  display: block;
  margin: 0 0 0 40px;
  float:right;
}
.maincontent img{
  max-width: 100%;
  border-radius: 2px;
  margin-top: 20px!important;
  margin-bottom: 20px!important;
}
.maincontent .wp-video{
  display: block;
  margin: 20px auto;
  width: 700px!important;
  max-width: 100%;
  border-radius: 2px;
  overflow: hidden;
}
.maincontent .wp-video video{
  max-width: 100%;
}
.basicinfo{
  border-bottom: 1px solid #fff;
}
.basicinfo p{
  margin: 0;
}
.basictitle{
  color: #000;
  padding: 15px 0;
  background: #fff;
  display:table;
  font-size:17px;
  margin-bottom: 10px!important;
}
.mk{
  border-bottom:2px solid #7ec04b;
}
.bi1{
	padding:10px 15px;
}
.bi2{
	position:relative;
  white-space: pre-line;
  padding:10px 15px;
  background: #eee;
}
.infobox{
  display: none;
  padding-bottom: 20px;
}
#myBtn{
  background: #7ec04b;
  padding: 15px 30px;
  border-radius: 4px;
  color: #fff;
  display: table;
  cursor: pointer;
}
.articles{
  overflow: hidden;
  position: relative;
}
.articles .container{
  position: absolute;
  right: 0;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 0;
}
.articles img{
  width: 100%;
  height: 300px;
  object-fit: cover;
}
.articles .date{
  position: absolute;
  top: 50px;
  right: 15px;
  z-index: 1;
  background: #7ec04b;
  padding: 8px;
  border-radius: 6px;
  color: #fff;
}
.articlestitle{
  position: absolute;
  bottom: 50px;
  right: 15px;
  z-index: 1;
  font-size: 30px;
  color: #fff;
}
.articles span{
  width: 100%;
  height: 100%;
  z-index: -1;
  position: absolute;
  top: 0;
  right: 0;
}
.oap{
  border: 1px solid #eee;
  border-radius: 6px;
  min-height: 580px;
  overflow: hidden;
  position: relative;
  height: 100%;
  transition: 0.4s;
}
.oap:hover{
  transition: 0.4s;
  background: #eee;
  transform: translateY(-10px);
}
.otherarticles h3{
  margin: 30px 0;
  color: #7ec04b;
}
.oap img{
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-bottom: 4px solid #4984c0;
}
.oaptitle{
  padding: 15px;
  color: #4984c0;
  font-size: 17px;
}
.oaptext{
  padding: 0 15px;
  font-size: 13px;
  color: #555;
}
.oapbtn{
  position: absolute;
  bottom: 15px;
  right: 15px;
}
.oapbtn a{
  display: table;
  background: #7ec04b;
  border-radius: 2px;
  padding: 12px 30px;
  color: #fff;
  transition: 0.4s
}
.oap:hover .oapbtn a{
  background: #4984c0;
  transition: 0.4s;
}
.otherarticles form{
  overflow: hidden;
  position: relative;
  display: block;
}
.otherarticles form input{
  width: 100%;
  max-width: 100%;
  border: 1px solid #7ec04b;
  padding: 15px;
  border-radius: 6px;
}
.otherarticles form button{
  background: #7ec04b;
  padding: 15px;
  position: absolute;
  border: none;
  left: 0;
  top: 0;
  color: #fff;
  border-bottom-left-radius: 6px;
  cursor: pointer;
  border-top-left-radius: 6px;
}
.otherarticles form button svg{
  position: relative;
  top: 4px;
  margin-right: 10px;
}
.resopen{
  color: #000;
  width: 40px;
  height: 40px;
  display: none;
}
.resmenu{
  position: fixed;
  top: 0;
  right: -500px;
  background: #fff;
  width: 300px;
  padding: 30px;
  height: 100%;
  visibility: hidden;
  opacity: 0;
  transition: 0.4s;
  z-index: 1000;
}
.resmenu ul li{
  margin-bottom: 10px;
  font-size: 17px;
  position: relative;
}
.resmenu ul li.menu-item-has-children{
  margin-bottom: 13px;
}
.resmenu ul li.menu-item-has-children::after{
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  width: 7px;
  height: 7px;
  border-right: 2px solid #555;
  border-bottom: 2px solid #555;
  transform: rotate(45deg);
}
.resmenu ul li ul{
  display: none;
  padding: 15px;
  background: #f5f5f5;
  border-radius: 5px;
  margin-top: 10px;
}
.resmenu ul li ul li:last-child{
  margin-bottom: 0;
}
.resmenu ul li a{
  color: #555;
  display: block;
}
.closemenu{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #00000091;
  z-index: 999;
  visibility: hidden;
  opacity: 0;
  transition: 0.4s;
}
.maincontent p{
  line-height: 1.8;
  color: #555;
  margin: 0;
}
.bi1{
  background: #cccccca8;
}
.safhe .nav-links,.safhe .pagination{
  display: block;
  width: 100%;
}
.safhe a{
  padding: 5px 15px;
  color: #fff;
  background: #4984c0;
}
.safhe span{
  padding: 5px 15px;
  border: 1px solid #eee;
  color: #fff;
  background: #7ec04b;
}
.sidebar span{
  color: #4984c0;
}
.singleboxtitle{
  color: #7ec04b;
}
.view a{
  color: #4984c0;
}
.view svg{
  position: relative;
  top: 3px;
  color: #4984c0;
}
.tags a{
  display: inline-block;
  border: 1px solid #4984c0;
  margin: 2px;
  padding: 5px 10px;
}
.optionsmain{
  border-bottom: 1px solid #ccc;
  padding: 15px 0;
}
[value="8"]{
  display: none!important;
}
.text-black{
	color:#000!important
}
.searchicon{
  display: inline-block;
  width: 30px;
  height: 30px;
  margin-top: -15px;
  position: relative;
  top: 10px;
  cursor: pointer;
  margin-right: 15px;
}
.header-search{
  position: fixed;
  top: 40%;
  left: 0;
  right: 0;
  width: 700px;
  max-width: 90%;
  transform: translateY(-50%);
  display: block;
  margin: 0 auto;
  z-index: 995;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  padding: 30px;
  transition: 0.4s;
  opacity: 0;
  visibility: hidden;
}
.header-search form{
  width: 100%;
}
.header-search form input{
  width: 100%;
  border: 1px solid #eee;
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 10px;
  background: #fff;
}
.header-search form input::placeholder{
  color: #000;
}
.header-search h4{
  margin-bottom: 20px;
  color: #7ec04b;
}
.header-search h4 svg{
  float: right;
  width: 30px;
  height: 30px;
  margin-left: 10px;
}
.header-search form button{
  width: 100%;
  color: #fff;
  background: #7ec04b;
  border: 1px solid #7ec04b;
  padding: 15px;
  border-radius: 10px;
  cursor: pointer;
}
.header-search form select{
  width: 100%;
  border: 1px solid #eee;
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 10px;
  appearance: none;
  background: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e"),#fff;
  background-repeat: no-repeat;
  background-position: left 1rem center;
  background-size: 1em;
}
.header-searchclose{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  display: block;
  margin: 0 auto;
  z-index: 994;
  background: #000;
  opacity: .9;
  transition: 0.4s;
  opacity: 0;
  visibility: hidden;
}
.single2box{
  font-size: 14px;
}
@media(max-width:992px){
  .oap{
	min-height:500px;  
  }
  .mainmenu .menu{
    display: none!important;
  }
  .hero form{
    width: 100%;
  }
  .hero form input,.hero form select,.hero form button{
    width: 100%;
  }
  .hero .row .col-lg-5{
    display: none;
  }
  .menubar img{
    max-width: 90%;
  }
  .resopen{
    display: block;
    cursor: pointer;
  }
  .otherarticles form input,.otherarticles form{
    width: 100%;
  }
  .searchicon {
    position: absolute;
    top: 20px;
    margin-right: 60px;
  }
  .maincontent img.alignright,.maincontent img.alignleft{
    display: block!important;
    margin: 20px auto!important;
    float: none!important;
  }
}

.sidebar ul li a.myactive{
    background: #4984c0!important;
    color: #fff!important;
    padding: 5px 7px!important;
    border-radius: 5px!important;
}

