@font-face {
  /*font-family: "Vazir";
  src: url("../fonts/Vazir.eot");*/
  /* IE9 Compat Modes */
/*  src: url("../fonts/Vazir.eot?#iefix") format("embedded-opentype"),
    url("../fonts/Vazir.woff2") format("woff2"),
    url("../fonts/Vazir.woff") format("woff"),
    url("../fonts/Vazir.ttf") format("truetype");*/
  /* Safari, Android, iOS */



	font-family:"yekan";
	src: url("../fonts/Yekan.eot");
	src: url("../fonts/Yekan.eot?#iefix") format("embedded-opentype"),
	 url("../fonts/Yekan.woff") format("woff"),
	 url("../fonts/Yekan.ttf") format("truetype"),
	 url("../fonts/Yekan.svg#BYekan") format("svg");
	font-weight: normal;
	font-style: normal

}
.active{
	color: blue;

}
* {
	box-sizing: border-box;
}
html{
	scroll-behavior: smooth;
}
html, body {
    height: 100%;
    margin: 0;
    padding: 0;

}
body {
    display: table;
    width: 100%;
}
.footer, .wrapper {
    display: table-row;
}



.footer {
    background: #e5e5e5;
    margin-top: 40%;
    padding-top: 50%;
    height: 1px;
}

/*start header*/

.logo{
    margin: auto;
    position: absolute;
    right: 8%;
    top: 5%;
    /* background-color: #f159e5; */
		/* z-index: 300; */
}
#logo-img{
  background: url('../img/logo init Large.png') no-repeat;
  width: 150px;
  height: 150px;
  /* margin: 10px 15px 10px 0; */
}
.menu-items{
	position: absolute;
	right: 20%;
	top: 5%;
	background-color: #f159e5;
	text-align: center;
}
.left-header{
    margin: auto;
    background-color: #f159e5;
    padding: 0;
    position: absolute;
    height: 100px;
    width: 200px;
    text-align: left;
    left: 8%;
    top: 5%;

}


h1 {
  text-align: center;

}
h1 a{
	color: #000;
}
h1 a:hover{
	text-decoration: none;
	color: #000;
}
.navbar{
    background-color: #f159e5;
    width: 100%;
    margin-left: 0;
    text-align: center;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 10;
    margin-bottom: 3%;
    height: 134px;
}
nav nav{
    margin: auto;


}
nav ul ul {
	display: none;
}

nav ul li:hover > ul {
	display: block;
	z-index: 20;

}
nav ul {
	background: #f159e5;
/*	box-shadow: 0px 0px 9px rgba(0,0,0,0.15);*/
	padding: 0 20px;
	border: none;
	list-style: none;
	position: relative;
	display: inline-table;
}
nav ul:after {
	content: "";
	clear: both;
	display: block;
}
nav ul li {
	float: right;
	position: relative;
	font-weight: bold;
}

nav ul li:hover {
	background: #a70101;


}

nav ul li:hover a {
	color: #fff;
	text-decoration: none;
}

nav ul li a {
	display: block;
	padding: 15px 15px;
	color: #4e4e4e;
	text-decoration: none;
}
nav ul ul {
	background: #9c0000;
	border-radius: 0px;
	padding: 0;
	position: absolute;
	top: 100%;
	right: 0;
	width: 250px;
  text-align: center;
}
nav ul ul li {
	float: none;
	border-top: 1px solid #940000;
	border-bottom: 1px solid #940000;
	position: relative;
}
nav ul ul li a {
	padding: 15px 40px;
	color: #fff;
}
nav ul ul li a:hover {
	background: #112f44;
}
nav ul ul ul {
	position: absolute;
	right: 100%;
	top:0;
  text-align: center;
	/* overflow-y: auto; */
	/* height: 500%; */

}
nav ul ul ul.subonemin4twomin5 {
	position: absolute;
	right: 100%;
	top:0;
  text-align: center;
	overflow-y: auto;
	height: 250%;

}
nav ul ul ul.subtwomax5 {
	position: absolute;
	right: 100%;
	top: -275%;
  text-align: center;
	/* overflow-y: auto; */
	/* height: 500%; */

}
nav ul ul ul.subtwomin5 {
	position: absolute;
	right: 100%;
	top: -275%;
  text-align: center;
	overflow-y: auto;
	height: 500%;

}
/*
#social{
    position: absolute;
    top: 0;
    left: 0;
    display: inline-block;
}
*/
.search{
    position: absolute;
    bottom: 0;
    left: 0;
    width: auto;
    margin: auto;
}
/*end header*/
.beautiful-img{
	width: 100%;
	margin: auto;
	text-align: center;
	z-index: -6;
	overflow: hidden;
	height: 20%;
}


img{
width: 100%;
}
/*footer start*/
/*footer{
	background:#ffab62;
	width:100%;
	height:100px;
	position:absolute;
	bottom:0;
	left:0;
}*/
.rotate {

	transform: rotate(180deg);
	width: 100%;
	-webkit-transform: rotate(90deg);
	-moz-transform: rotate(90deg);

}

body {
  direction: rtl;
  text-align: center !important;
  font-family: "yekan" !important;
  line-height: 1.6;



}
/*menu-item styles*/
/* arrow start*/

/*.marker{ width: 400px; height: 150px; background-color:#F57709; background-size:cover;
 -webkit-clip-path: polygon(0% 20%,60% 20%,60% 0%,100% 50%,60% 100%,60% 80%,0% 80%);
 transform: rotateZ(180deg); }

 .marker-270{
 	 width: 400px; height: 150px; background-color:#F57709; background-size:cover;
 -webkit-clip-path: polygon(0% 20%,60% 20%,60% 0%,100% 50%,60% 100%,60% 80%,0% 80%);
 transform: rotateZ(-270deg);
 }
 .main-content{
 	display: flex;
 }
 .steps{
 	display: flex;
 	flex-flow: row wrap;
 	justify-content: space-between;

 	align-content: space-between;

 }
 .card{
 	flex-grow: 1;
 	flex-basis: 30%;
 	flex-shrink: 1;
 	align-self: space-between;
 }*/
.steps {
 	display: grid;
 	grid-template-columns: repeat(3, 1fr);
 	grid-template-rows: repeat(auto-fit, minmax(100px,1fr));
 	grid-auto-rows: auto;
 	grid-auto-flow: row;
 	gap: 0;
/* 	justify-content: space-evenly;
 	align-content: space-evenly;*/
 	justify-items: stretch;
 	align-items: start;
 	margin-bottom: 2%;
 	/*background: url('../img/background/1.jpg');
	background-repeat: no-repeat;
	background-size: 100% 100%;*/
 }
.item-one{
	grid-column: 1/2;
	grid-row: 1/2;
	justify-self: stretch;


}
.item-two{
	grid-column:2/3 ;
	grid-row: 1/2;

}
.item-three{
	grid-column-start: 3/4;
	grid-row-start: 1/2;
}
.item-four{
	grid-column: 3/4;
	grid-row: 2/3;
}
.item-five{
	grid-row: 3/4;
	grid-column: 3/4;
}
.item-six{
	grid-column: 2/3;
	grid-row: 3/4;
}
.item-seven{
	grid-column: 1/2;
	grid-row: 3/4;
}
.item-eight{
	grid-column: 1/2;
	grid-row: 4/5;
}

.main-content{
	padding-top: 12%;
	/*background-color: #56e8cb;*/
	margin-bottom: 5%;
	margin-top: 1em;
	/*padding-bottom: 100rem;*/
	/*height: 200vh;*/
	overflow: auto;

}
.news{
	position: relative;
	/*border: 1px solid black;*/

	width: 100%;

	line-height: 2em;

}
.pagination1{
	display: inline-block;
	text-align: center;
}
.pagination1 a{
	color: black;
	float: left;
	padding: 8px 16px;
	text-decoration: none;
}
.pagination1 a.active1{
	background-color: #4caf50;
	color: white;
}
.pagination1 a:hover:not(.active1){
	background-color: #ddd;
}
.matnkhabar{

	position: relative;
	bottom: 0;
	padding-bottom: 5px;
	right: 0;
	/*height: 50%;*/


}
.envan{
	position: absolute;
	right: 3px;
	top: 3px;
	/*margin-top: 4%;
	padding-top: 4%;*/

}
.tarikh{
	position: absolute;
	left: 3px;
	top: 3px;
	/*margin-top: 4px;*/

}
.text{
	/*border: 2px solid #a34cde;*/
	border-radius: 10px;
	/*background-color: red;*/
	padding: 3%;
	line-height: 2em;

}
/*.expl{
	position: relative;
	/*border: 1px solid black;*/

	width: 100%;

	line-height: 2em;

}
.pexpl{
	position: relative;
	top: 0;
	padding-bottom: 5px;
	/*height: 50%;*/


}
.h6expl{
	position: absolute;
	right: 3px;
	bottom: 3px;
	margin-top: 4%;
	padding-top: 4%;

}
.spexpl{
	position: absolute;
	left: 3px;
	bottom: 3px;
	margin-top: 4px;

}
.rooz{
	text-align: left;
}
*/.sidebar{
	/*border: 1px solid blue;*/
	height: 100%;
	overflow: hidden;
}
.imp{
	/*border: 1px solid red;*/
	position: relative;
	width: 100%;
	/*height: 15%;*/
	margin-bottom: 3%;
	padding: 5em;
	font-size: .5em;
	overflow: hidden;


}
.imp:hover{
	background-color: lightgray;
	cursor: pointer;

}
.image{
	border-radius: 50%;
	position: absolute;
	top: 20%;
	right: 1%;
	width: 30%;
	/*margin: 1%;*/
	/*height: 30%;*/


}
.imagee{
	border: 1px solid black;
	border-radius: 50%;
	width: 100%;
}
.con{
	position: absolute;
	/*border: 1px solid blue;*/
	right: 30%;
	top: 20%;
	width: 70%;
	height: 80%;
	padding: 3%;
	overflow: hidden;

}
.titr{
	position: absolute;
	top: 10%;
	right: 10%;
	margin: auto;
	font-weight: bold;
	color: black;
	font-size: 1em;

}
.matn{
	position: absolute;
	top: 50%;
	right: 5%;
	margin: auto;
	overflow: hidden;
}
.date{
	position: absolute;
	top: 0%;
	left: 1%;
	margin: 1%;
}
/*footer styles*/

.panel-footer h5{
	margin: 3%;

}
hr{

	border-color: blue;
}
.nam{
	width: 48%;
	float: right;
	/*margin-left: 2%;*/
	/* margin-bottom: 1%; */
}
.mail{
	width: 48%;
	margin-right: 4%;

}
.mozoo{
	width: 100%;
	margin-bottom: 1%;
}
.payam{
	width: 100%;
}

.panel-footer ul{
	list-style-type: none;
	text-align: right;


}
.panel-footer ul li a{
	color: black;
}
.tamas{
	position: relative;
	height: auto;
	padding: 1em;
}
.tamas h5{
	position: absolute;
	right: 0;
	top: 0;
}
.address{
	position: absolute;
	right: 0;
	top: 50%;
}
.email{
	position: absolute;
	right: 0%;
	top: 90%;
	padding-left: 2%;
}


.links{
	position: relative;

	height: auto;
}
.links h5{
	position: absolute;
	right: 0;
	top: 0
}
.links ul{
	position: absolute;
	right: 0%;
	top: 100%;


}
.links ul li{
	padding-bottom: 5%;
}
 /*.scroll { box-shadow: 0 7px 0 0 rgba(0, 0, 0, .1); }
 .scroll .logo { padding: 10px 20px; font-size: 1.5rem; }
 .scroll nav { align-items: center; }
 .scroll .logo, .scroll ul, .scroll .toggle-menu { margin: 0; } */


.searchbutton{
	position: absolute;
	bottom: 0;
	left: 0;
}


/********** Medium devices only **********/
@media (min-width: 992px) and (max-width: 1199px) {
  body{
    font-size: 0.9rem;
  }
  body h1{
    font-size: 2rem;
  }
	.logo{
			margin: auto;
			position: absolute;
			right: 5%;
			top: 5%;
			/* background-color: #f159e5; */
			/* z-index: 300; */
	}
	#logo-img{
	  background: url('../img/logo init Medium.png') no-repeat;
	  width: 100px;
	  height: 100px;
	  /* margin: 10px 15px 10px 0; */
	}
  .menu-items{
    right: 15%;
  }
  nav ul li a {
    padding: 10px 10px;
  }

}

/********** Small devices only **********/
@media (min-width: 768px) and (max-width: 991px){
	body{
		font-size: 0.9rem;
	}
	body h1{
		font-size: 2rem;
	}
	nav ul li a {
		padding: 10px 10px;
	}
	.logo{
			margin: auto;
			position: absolute;
			right: 5%
			top: 5%;
			/* background-color: #f159e5; */
			z-index: 300;
	}

	#logo-img{
		background: url('../img/logo init Small.png') no-repeat;
		width: 50px;
		height: 50px;
		/* margin: 10px 15px 10px 0; */
	}
	.menu-items{
		right: 10%;
	}
	.left-header{
	    margin: auto;
	    background-color: #f159e5;
	    padding: 0;
	    position: absolute;
	    height: 100px;
	    width: 50px;
	    text-align: left;
	    left: 2%;
	    bottom: 0;

	}
	.search{
	    position: absolute;
	    bottom: 0;
	    left: 0;
	    width: auto;
	    margin: auto;
	}


}

/********** Extra small devices only **********/
@media (max-width: 767px) {
	body{
		font-size: 0.9rem;
	}
	body h1{
		font-size: 2rem;
	}
	nav ul li a {
		padding: 10px 10px;
	}
	.logo{
			margin: auto;
			position: absolute;
			right: 5%
			top: 5%;
			/* background-color: #f159e5; */
			z-index: 300;
	}
	#logo-img{
		background: url('../img/logo init Small.png') no-repeat;
		width: 50px;
		height: 50px;
		/* margin: 10px 15px 10px 0; */
	}
	.menu-items{
		right: 0;
		/* z-index: 200; */
	}
	.left-header{
			margin: auto;
			background-color: #f159e5;
			padding: 0;
			position: absolute;
			height: 100px;
			width: 50px;
			text-align: left;
			left: 0%;
			bottom: 0;

	}
	#social {
		position: absolute;
		top: 0;
	}
	.search{
			position: absolute;
			bottom: 6%;
			left: 0;
			width: auto;
			margin: auto;
	}

}

/********** Super extra small devices Only :-) (e.g., iPhone 4) **********/
@media (max-width: 479px) {
	#logo-img{
		background: url('../img/logo init Small.png') no-repeat;
		width: 50px;
		height: 50px;
		/* margin: 10px 15px 10px 0; */
	}

}
