/*
	Theme Name: Omrani Template
	Description: تمام حقوق این قالب برای صاحب آن محفوظ می باشد و هرگونه استفاده و کپی برداری ، نال ، از طریق پلیس فتا پیگرد قانونی دارد .
	Author: علیرضا فداحی
	Author URI: https://telegram.me/iu456
	Version: 1.0
*/
@font-face {
  font-family: 'iryekan';
  src: url('fonts/IRANYekanWebFn.svg#IRANYekanWebFn') format('svg'),
       url('fonts/IRANYekanWebFn.ttf') format('truetype'),
       url('fonts/IRANYekanWebFn.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'iryekan';
  src: url('fonts/iranyekanwebregularfanum.eot');
  src: url('fonts/iranyekanwebregularfanum.eot?#iefix') format('embedded-opentype'),
       url('fonts/iranyekanwebregularfanum.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'iryekan';
  src: url('fonts/IRANYekanWebFn-ExtraBold.svg#IRANYekanWebFn-ExtraBold') format('svg'),
       url('fonts/IRANYekanWebFn-ExtraBold.ttf') format('truetype'),
       url('fonts/IRANYekanWebFn-ExtraBold.woff') format('woff');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'iryekan';
  src: url('fonts/iranyekanwebextraboldfanum.eot');
  src: url('fonts/iranyekanwebextraboldfanum.eot?#iefix') format('embedded-opentype'),
       url('fonts/iranyekanwebextraboldfanum.woff2') format('woff2');
  font-weight: bold;
  font-style: normal;
}
@font-face {
  font-family: 'vazir';
  src: url('fonts/Vazirmatn-Medium.eot');
  src: url('fonts/Vazirmatn-Medium.eot?#iefix') format('embedded-opentype'),
       url('fonts/Vazirmatn-Medium.otf') format('otf'),
       url('fonts/Vazirmatn-Medium.svg#Vazir-Medium') format('svg'),
       url('fonts/Vazirmatn-Medium.ttf') format('truetype'),
       url('fonts/Vazirmatn-Medium.woff') format('woff'),
       url('fonts/Vazirmatn-Medium.woff2') format('woff2');
}
a {
  text-decoration: none !important;
}
*{
	line-height: normal;
	list-style: none;
	box-sizing: border-box;
}
body{
	font-size: 15px;
	font-family: 'iryekan';
	background: #fff;
}
input:focus,
button:focus,
textarea:focus {
  outline: none !important;
}
ul,ol{
  padding: 0;
  margin: 0;
}
header{
  position: relative;
  height: 100vh;
}
.mainmenu{
  padding: 15px;
  position: relative;
  z-index: 3;
}
.mainmenu ul li{
  display: inline-block;
  margin-left: 20px;
  position: relative;
}
.mainmenu ul li a{
  padding: 15px 0;
  color: #fff;
}
.mainmenu ul li.current-menu-item::after{
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 100px;
}
.mainmenu ul li ul{
  position: absolute;
  top: 0;
  right: 0;
  background: #fff;
  width: 200px;
  padding: 5px 0;
  visibility: hidden;
  opacity: 0;
  transition: 0.3s;
}
.mainmenu ul li.menu-item-has-children{
  padding-left: 15px;
}
.mainmenu ul li.menu-item-has-children::after{
  content: "";
  position: absolute;
  top: 5px;
  left: 0;
  width: 7px;
  height: 7px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
}
.mainmenu ul li.menu-item-has-children:hover ul{
  opacity: 1;
  visibility: visible;
  transition: 0.3s;
  top: 30px;
}
.mainmenu ul li ul li{
  display: block;
  padding: 5px 10px;
}
.mainmenu ul li ul li a{
  color: #000;
}
.logobar img{
  max-width: 150px;
}
.headerslider{
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  z-index: 1;
}
.sliderpost img{
  width: 100%;
  height: 100vh;
  object-fit: cover;
}
header span{
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  width: 100%;
  height: 100vh;
  background: #212529c7;
}
.sliderinfo{
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  width: 750px;
  max-width: 90%;
  transform: translateY(-50%);
  color: #fff;
  display: block;
  margin: 0 auto;
  z-index: 10;
}
.sliderinfo h2{
  font-size: 55px;
  font-weight: bold;
  font-family: 'vazir';
}
.wheel{
  position: absolute;
  bottom: 50px;
  left: 0;
  right: 0;
  color: #fff;
  z-index: 2;
  display: block;
  width: 30px;
  height: 30px;
  margin: 0 auto;
  animation: updown 2s ease-out infinite;
}
@keyframes updown{
  0% {
    transform: translate(1px,0);
  }
  50% {
    transform: translate(1px,10px);
  }
  100% {
    transform: translate(1px,0);
  }
}
.sliderinfo ul li{
  display: inline-block;
}
.sliderinfo ul li a{
  border: 1px solid #fff;
  padding: 8px 15px;
  margin: 5px;
  color: #fff;
  display: block;
  transition: 0.4s;
}
.sliderinfo ul li:hover a{
  background: #ea5453;
}
.mh{
  transition: 0.4s;
  transform: none;
}
.mh:hover{
  transform:scale(1.05);
  transition: 0.4s;
}
.box1{
  margin: 100px auto;
}
.mytitle{
  position: relative;
}
.mytitle p{
  font-family: 'vazir';
  font-size: 25px;
  position: relative;
  color: #202133;
}
.mytitle p::after{
  content: "";
  position: absolute;
  bottom: -13px;
  left: 0;
  right: 0;
  width: 30px;
  height:2px;
  border-radius: 100px;
  display: block;
  margin: 0 auto;
  background: #ea5453;
}
.mytitle img{
  display: block;
  margin: 0 auto;
}
.box1post img{
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 8px;
}
.box1post p{
  line-height: 1.8;
  color: #333;
}
.box1post:nth-child(even){
  direction: ltr!important;
}
.box1post h4{
  color: #202133;
  position: relative;
  margin-bottom: 40px;
  font-family: 'vazir';
}
.box1post h4::after{
  content: "";
  position: absolute;
  bottom: -20px;
  right: 0;
  width: 30px;
  height:2px;
  border-radius: 100px;
  background: #ea5453;
}
.box2{
  margin-bottom: 100px;
}
.blogpost{
  border-radius: 8px;
  box-shadow: 0 0 20px 0 #eee;
  padding: 15px;
}
.blogpost img{
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}
.blogpost h5{
  color: #202133;
  font-family: 'vazir';
  position: relative;
  margin-bottom: 30px;
}
.blogpost h5::after{
  content: "";
  position: absolute;
  bottom: -15px;
  right: 0;
  width: 30px;
  height:2px;
  border-radius: 100px;
  background: #ea5453;
}
.blogpost p{
  color: #333;
  line-height: 1.5;
  font-size: 14px;
}
.box3{
  margin-bottom: 100px;
}
.box3post img{
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
}
.blogbtn{
  background: #ea5453;
  color: #fff!important;
  padding: 12px 15px;
  border-radius: 5px;
  display: table;
  margin: 30px auto 0 auto;
}
.box1 .blogbtn{
  margin: 30px 0 0 auto;
}
.blogpost .blogbtn{
  display: block;
  text-align: center;
  background: #fff;
  border: 1px solid #ea5453;
  transition: 0.4s;
  color: #ea5453!important;
}
.blogpost .blogbtn:hover{
  background: #ea5453!important;
  color: #fff!important;
  transition: 0.4s;
}
.box4{
  margin-bottom: 100px;
}
.box4 form input{
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #eee;
  border-radius: 4px;
  margin-bottom: 10px;
  transition: 0.4s;
}
.box4 form textarea{
  width: 100%;
  height: 250px;
  padding: 12px 15px;
  border: 1px solid #eee;
  border-radius: 4px;
  transition: 0.4s;
}
.box4 iframe{
  height: 474px;
  border-radius: 4px;
  width: 100%;
}
.box4 form label{
  display: none;
}
.box4 form input:focus,.box4 form textarea:focus{
  border: 1px solid #ea5453;
  transition: 0.4s;
}
.box4 form input:focus::placeholder,.box4 form textarea:focus::placeholder{
  transition: 0.4s;
  color: #ea5453;
}
.box4 form input[type=submit]{
  background: #ea5453;
  color: #fff;
  cursor: pointer;
}
footer{
  background: #202133;
  padding: 50px 0!important;
  color: #fff;
}
footer h4{
  font-family: 'vazir';
  position: relative;
  margin-bottom: 30px;
  padding-right: 20px;
}
footer h4::before{
  content: "";
  position: absolute;
  right: 0;
  top: 9px;
  background: #ea5453;
  border-radius: 1px;
  transform: rotate(45deg);
  width: 8px;
  height: 8px;
}
footer h4::after{
  content: "";
  position: absolute;
  bottom: -15px;
  right: 0;
  width: 30px;
  height:2px;
  border-radius: 100px;
  background: #ea5453;
}
footer .f1 ul li{
  margin-bottom: 10px;
}
footer .f1 ul li a{
  display: block;
  color: #fff;
  transition: 0.4s;
}
footer .f1 ul li a:hover{
  transition: 0.4s;
  padding-right: 5px;
}
footer .f1 ul li:last-child{
  margin: 0;
}
footer .f2 ul li{
  margin-bottom: 10px;
}
footer .f2 ul li:last-child{
  margin: 0;
}
footer .f2 ul li svg{
  position: relative;
  top: 4px;
  color: #ea5453;
  margin-left: 5px;
}
footer .f2 ul li a{
  color: #fff;
  margin-left: 10px;
}
footer .social li{
  display: inline-block;
  margin-left: 5px;
}
footer .social li svg{
  width: 20px;
  height: 20px;
  color: #fff;
}
.copy{
  padding: 15px 0;
  background: #202133;
  border-top: 1px solid #fff;
  color: #fff;
}
.services img{
  width:80px;
  display: block;
  margin: 0 auto 30px auto;
}
.services h4{
  color: #ea5453;
  font-family: 'vazir';
  margin-bottom: 20px;
}
.services p{
  color: #333;
  line-height: 1.8;
}
.singlecon{
  margin: 50px auto;
}
.scimg img{
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 8px;
}
.sctitle{
  font-family: 'vazir';
  color: #ea5453;
}
.sidebar ul li{
  margin-bottom: 10px;
}
.sidebar h5{
  font-family: 'vazir';
  margin-bottom: 10px;
  color: #fff;
  padding: 15px;
  border-radius: 8px;
  background: #202133;
}
.sidebar ul{
  padding: 15px;
  box-shadow: 0 5px 20px 0 #eee;
  border-radius: 8px;
}
.sidebar ul li:last-child{
  margin: 0;
}
.sidebar ul li a{
  color: #202133;
}
.sidebar ul li:hover a{
  color: #ea5453;
}
.pish h5{
  background: #ea5453;
}
.maincontent p{
  line-height: 1.8;
  color: #333;
}
.cat{
  margin: 50px auto;
}
.catpost img{
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}
.catpost h5{
  color: #ea5453;
  font-family: 'vazir';
}
.catpost p{
  color: #333;
  line-height: 1.5;
}
.contact iframe{
  height: 370px;
}
.contact ul li svg{
  color: #ea5453;
  position: relative;
  top: 6px;
  width: 20px;
  height: 20px;
}
.contact ul li a{
  color: #202133;
}
.error img{
  width: 300px;
  max-width: 100%;
}
.error h5{
  font-family: 'vazir';
}
.error h5 a{
  color: #ea5453;
}
.resopen{
  color: #fff;
  display: none;
  cursor: pointer;
}
.resmenu{
  position: fixed;
  top: 0;
  right: -500px;
  width: 300px;
  height: 100%;
  background: #fff;
  padding: 15px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: 0.4s;
}
.resmenu ul li{
  margin-bottom: 10px;
  font-size: 18px;
  position: relative;
}
.resmenu ul li a{
  color: #202133;
}
.resmenu ul li ul{
  background: #f5f5f5;
  padding: 5px 0;
  margin: 5px 0;
  display: none;
}
.resmenu ul li ul li{
  padding: 5px 10px;
}
.resmenu ul li ul li:last-child{
  margin: 0;
}
.resmenu ul li.menu-item-has-children::after{
  content: "";
  position: absolute;
  top: 7px;
  left: 0;
  width: 7px;
  height: 7px;
  border-right: 2px solid #202133;
  border-bottom: 2px solid #202133;
  transform: rotate(45deg);
}
.closemneu{
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000000a3;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: 0.4s;
}
.maincontent p{
  color: #555;
  line-height: 1.5;
}
.maincontent p a{
  color: #ea5453; 
}
.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{
  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%;
}
.safhe .pagination{
  display: block;
  width: 100%;
}
.safhe .pagination a{
  background: #202133;
  padding: 10px 20px;
  color: #fff;
  border-radius: 3px;
}
.safhe .pagination span{
  background: #ea5453;
  padding: 10px 20px;
  border-radius: 3px;
  color: #fff;
}
.gform_submission_error,.gfield_validation_message{
  display: none;
}
.box4 form input[aria-invalid="true"]{
  background: #ea54533b;
  border: 1px solid #ea5453;
}
.box4 form input[aria-invalid="true"]::placeholder{
  color: #ea5453;
}
.gform_confirmation_message{
  background: #28a745;
  color: #fff;
  padding: 30px 15px;
  border-radius: 8px;
}
@media(max-width:992px){
    .sliderinfo h2{
        font-size:25px;
        letter-spacing:-2px;
    }
    .mainmenu ul{
      display: none;
    }
    .resopen{
      display: block;
    }
    .m2{
      margin-bottom: 30px;
    }
    .box1post img{
      height: 285px;
    }
}
@media(max-width:768px){
    .box3post img{
      height: 135px;
    }
}
@media(max-width:576px){
  .box3post img{
    height: 170px;
  }
  .scimg img{
    height: 320px;
  }
}









