@font-face {
    font-family: "iranyekan";
    src: url("/fonts/IranYekan/iranyekanwebmedium.eot");
    src: url("/fonts/IranYekan/iranyekanwebmedium.woff") format("woff");
    src: url("/fonts/IranYekan/iranyekanwebblack.eot");
    src: url("/fonts/IranYekan/iranyekanwebblack.woff") format("woff");
}

* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	position: relative;
	border-radius: 5px;
    font-family: "iranyekan";
    font-size: 1vw; 
	line-height: 25px; 
}

:root {
	--LineColor: rgb(126, 121, 121);
	--Ceo: #f1c40f;
	--Department: red;
	--Department2: blue;
	--Department3: red;
	--Department--Child: rgb(46 204 113);
	--Department--Text: white;
	--Area: rgb(114, 4, 187);
	--BoxShadow: #c7c7c7;
	--City: rgb(0, 160, 209);
}

.cf:before,
.cf:after {
	content: " ";
	/* 1 */
	display: table;
	/* 2 */
}

.cf:after {
	clear: both;
}

.arrange {
	justify-content: space-around;
}



/* Generic styling */
.SecendLever {
	margin-top: 15%;
}


.content {
	width: 100%;
	/* max-width: 1142px; */
	margin: 0 auto;
}

a:focus {
	outline: 2px dashed #7028e2;
}

@media screen and (max-width: 767px) {
	.content {
		padding: 0 20px;
	}
	* {
		font-size: unset;
	}
}

ul {
	padding: 0;
	margin: 0;
	list-style: none;
}

ul a {
	display: block;
	background: var(--Ceo);
	text-align: center;
	overflow: hidden;
	font-size: .7em;
	text-decoration: none;
	font-weight: bold;
	color: var(--Department--Text);
	height: 70px;
	margin-bottom: -26px;
	box-shadow: 1px 1px 5px 1px var(--BoxShadow);
	-webkit-transition: all linear .1s;
	-moz-transition: all linear .1s;
	transition: all linear .1s;
}

@media print {
	ul a {
		border: 4px solid #000;
	}
}

@media screen and (max-width: 767px) {
	ul a {
		font-size: 1em;
	}
}


ul a span {
	top: 35%;
	margin-top: -0.7em;
	display: block;
}

/*
 
 */

.administration>li>a {
	margin-bottom: 25px;
}

.director>li>a {
	width: 50%;
	margin: 0 auto 0px auto;
}

.B {
	margin-top: 50%;
}

/* Mile Amoodi vasat */
.subdirector:after {
	content: "";
	display: block;
	width: 0;
	height: 660px;
	background: rgb(217, 255, 0);
	border-left: 4px solid var(--LineColor);
	left: 48%;
	position: relative;
	top: -530px;
}

@media print {
	.subdirector:after {
		border-left: 4px solid #000;
	}
}

.subdirector,
.departments {
	position: absolute;
	width: 100%;
}


/* GhaemMaghaam  */
.subdirector>li:first-child,
.departments>li:first-child {
	width: 21.9%;
	height: 60px;
	margin: 0 auto 92px auto;
	padding-top: 25px;
	border-bottom: 4px solid var(--LineColor);
	z-index: 1;
}

@media print {

	.subdirector>li:first-child,
	.departments>li:first-child {
		border-bottom: 4px solid var(--LineColor);
	}
}

/* right Assistant Location */
.subdirector>li:first-child {
	float: right;
	right: 27.2%;
	border-left: 4px solid var(--LineColor);
}

@media print {
	.subdirector>li:first-child {
		border-left: 4px solid var(--LineColor);
	}
}

/* Left Assistant Location */
.departments>li:first-child {
	float: left;
	left: 27.2%;
}

@media print {
	.departments>li:first-child {
		border-right: 4px solid var(--LineColor);
	}
}

.subdirector>li:first-child a,
.departments>li:first-child a {
	width: 100%;
}

.subdirector>li:first-child a {
	left: 25px;
}

@media screen and (max-width: 767px) {

	.subdirector>li:first-child,
	.departments>li:first-child {
		width: 40%;
	}

	.subdirector>li:first-child {
		right: 10%;
		margin-right: 2px;
	}

	.subdirector:after {
		left: 46%
	}
 
	.departments>li:first-child {
		left: 10%;
		margin-left: 2px;
	}

	.subdirector:after {
		height: 130px;
	}

	.director>li>a {
		width: unset;
	}

	.department li {
		padding-left: 37px !important;
	}
}

/* Mile Ghaem Magham */
.departments>li:first-child a {
	right: 39px;
}

.department:first-child,
.departments li:nth-child(2) {
	clear: left;
}

/* Mile Asli Ofoghi bala */
.departments:after {
	content: "";
	display: block;
	position: absolute;
	width: 78%;
	height: 22px;
	border-top: 4px solid var(--LineColor);
	border-right: 4px solid var(--LineColor);
	/* border-left: 4px solid var(--LineColor); */
	margin: 0 auto;
	top: 130px;
	left: 8.1%
}

@media print {
	.departments:after {
		border-top: 4px solid var(--LineColor);
		border-right: 4px solid var(--LineColor);
		border-left: 4px solid var(--LineColor);
	}
}

@media screen and (max-width: 767px) {
	.departments:after {
		border-right: none;
		left: 0;
		width: 49.8%;
	border-left: 4px solid var(--LineColor);

	}
}

@media screen and (min-width: 768px) {

	.department:first-child:before,
	.department:last-child:before {
		border: none;
	}
}

/* Mile Amoodi Department */
.department:before {
	content: "";
	display: block;
	position: absolute;
	width: 0;
	height: 22px;
	border-left: 4px solid var(--LineColor);
	z-index: 1;
	top: -22px;
	left: 50%;
	margin-left: -4px;
}

@media print {
	.department:before {
		border-left: 4px solid var(--LineColor);
	}
}


/* Arze Kolie Box ha */
.department {
	border-left: 4px solid var(--LineColor);
	width: 13%;
	float: left;
	margin-left: 1.7%;
	margin-bottom: 60px;
}

@media print {
	.department {
		border-left: 4px solid var(--LineColor);
	}
}

.lt-ie8 .department {
	width: 18.25%;
}

@media screen and (max-width: 767px) {
	.department {
		float: none;
		width: 100%;
		margin-left: 0;
	}

	.department:before {
		content: "";
		display: block;
		position: absolute;
		width: 0;
		height: 60px;
		border-left: 4px solid var(--LineColor);
		z-index: 1;
		top: -60px;
		left: 0%;
		margin-left: -4px;
	}

	.department:nth-child(2):before {
		display: none;
	}

	.department li {
		padding-left: 38px;
	}
}

.department>a {
	margin: 0 0 -26px -4px;
	z-index: 1;
}

.department>a:hover {
	height: 75px;
}

.department>ul {
	margin-top: 0px;
	margin-bottom: 0px;
}

.department li {
    padding-left: 25px;
    border-bottom: 4px solid #7e7979;
    height: 80px;
    width: 97%;
    border-radius: unset;
}

@media print {
	.department li {
		border-bottom: 4px solid var(--LineColor);
	}
}

/* Sections */
.department li a {
	top: 48px;
	position: absolute;
	z-index: 1;
	width: 90%;
	height: 60px;
	vertical-align: middle;
}

.department li a:hover {
	box-shadow: 8px 8px 9px -4px var(--BoxShadow);
	height: 80px;
	width: 95%;
	top: 39px;
	background-image: none !important;
}

.dep-c {
	margin-right: 5rem;
}

/* Department/ section colors */
.department.dep-a a {
	background: var(--Department--Child)
}

.department.dep-b a {
	background: var(--Department--Child)
}

.department.dep-c a {
	background: var(--Department--Child)
}

.department.dep-d a {
	background: var(--Department--Child)
}

.department.dep-e a {
	background: var(--Department--Child)
}

.department.dep-f a {
	background: var(--Department--Child)
}

.department.dep-g a {
	background: var(--Department--Child)
}

.DepColor3 {
	background: var(--Department3)!important;
}

.DepColor2 {
	background: var(--Department2)!important;
}

.DepColor {
	background: var(--Department) !important;
}

/* *************************************************************************** */


/* PArt2Chart */

.subdirector,
.managers {
	position: absolute;
	width: 100%;
	top: 600px;
	left:15px; 
}


/* GhaemMaghaam  */
.subdirector>li:first-child,
.managers>li:first-child {
	width: 21.9%;
	height: 60px;
	margin: 0 auto 92px auto;
	padding-top: 25px;
	border-bottom: 4px solid var(--LineColor);
	z-index: 1;
}

@media print {

	.subdirector>li:first-child,
	.managers>li:first-child {
		border-bottom: 4px solid var(--LineColor);
	}
}

/* right Assistant Location */
.subdirector>li:first-child {
	float: right;
	right: 27.2%;
	border-left: 4px solid var(--LineColor);
}

@media print {
	.subdirector>li:first-child {
		border-left: 4px solid var(--LineColor);
	}
}

/* Left Assistant Location */
.managers>li:first-child {
	float: left;
	left: 27.2%;
}

@media print {
	.managers>li:first-child {
		border-right: 4px solid var(--LineColor);
	}
}

.subdirector>li:first-child a,
.managers>li:first-child a {
	width: 100%;
}

.subdirector>li:first-child a {
	left: 25px;
}

@media screen and (max-width: 767px) {

	.subdirector>li:first-child,
	.managers>li:first-child {
		width: 40%;
	}

	.subdirector>li:first-child {
		right: 10%;
		margin-right: 2px;
	}

	

	.managers>li:first-child {
		left: 10%;
		margin-left: 2px;
	}

	.subdirector:after {
		height: 130px;
	}

	.managers {
		top: 2710px;
		left: 0; 
	}

	.Cityes {
		top: 3500px !important;
	}

	.City li {
		padding-left: 36px !important;
	}

}

/* Mile Ghaem Magham */
.managers>li:first-child a {
	right: 33px;
}

.manager:first-child,
.managers li:nth-child(2) {
	clear: left;
}

/* Mile Asli Ofoghi bala */
.managers:after {
	content: "";
    display: block;
    position: absolute;
    width: 78%;
    height: 22px;
    border-top: 4px solid var(--LineColor);
    border-right: 4px solid var(--LineColor);
    border-left: 4px solid var(--LineColor);
    margin: 0 auto;
    top: 130px;
    left: 8.5%;
}

@media print {
	.managers:after {
		border-top: 4px solid var(--LineColor);
		border-right: 4px solid var(--LineColor);
		border-left: 4px solid var(--LineColor);
	}
}

@media screen and (max-width: 767px) {
	.managers:after {
		border-right: none;
		left: 0;
		width: 43.8%;
		height: 160px;
		border-top: unset;
		top: -5px;
	}
	


}



@media screen and (min-width: 768px) {

	.manager:first-child:before,
	.manager:last-child:before {
		border: none;
	}
}

/* Mile Amoodi Department */
.manager:before {
	content: "";
	display: block;
	position: absolute;
	width: 0;
	height: 22px;
	border-left: 4px solid var(--LineColor);
	z-index: 1;
	top: -22px;
	left: 64%;
	margin-left: -4px;
}

@media print {
	.manager:before {
		border-left: 4px solid var(--LineColor);
	}
}


/* Arze Kolie Box ha */
.manager {
	width: 11%;
	float: left;
	margin-left: 1.7%;
	border-left: 4px solid var(--LineColor);
	margin-bottom: 60px;
}

.CirtFix {
	display: flex;
}

@media print {
	.manager {
		border-left: 4px solid var(--LineColor);
	}
}

.lt-ie8 .manager {
	width: 18.25%;
}

@media screen and (max-width: 767px) {
	.manager {
		float: none;
		width: 100%;
		margin-left: 0;
	}

	.manager:before {
		content: "";
		display: block;
		position: absolute;
		width: 0;
		height: 60px;
		border-left: 4px solid var(--LineColor);
		z-index: 1;
		top: -36px;
		left: 0%; 
		margin-left: -4px;
	}

	.manager:nth-child(2):before {
		display: none;
	}
}

.manager>a {
	margin: 0 0 -26px -4px;
	z-index: 1;
}

.manager>a:hover {
	height: 75px;
}

.manager>ul {
	margin-top: 0px;
	margin-bottom: 10px;
}

.manager li {
	padding-left: 200px;
	border-bottom: 4px solid black;
	height: 80px;
	display: flex;

}

@media print {
	.manager li {
		border-bottom: 4px solid var(--LineColor);
	}
}

/* Sections */
.manager li a {
	top: 48px;
	position: absolute;
	z-index: 1;
	width: 90%;
	height: 60px;
	vertical-align: middle;
	background: var(--Area);

}

.manager li a:hover {
	box-shadow: 8px 8px 9px -4px var(--BoxShadow);
	height: 80px;
	width: 95%;
	top: 39px;
	background-image: none !important;
}

.dep-c {
	margin-right: 5rem;
}


/* ************************************************************************* */
/* PArt3Chart */


.Cityes {
	position: absolute;
	width: 100%;
	top: 800px;
	left: 16%;
}

.SubCity::after {
	content: "";
	display: block;
	width: 0;
	height: 133px;
	background: rgb(217, 255, 0);
	border-left: 4px solid var(--LineColor);
	left: 86.7%;
	position: relative;
	top: 750px;
}

/* GhaemMaghaam  */
.SubCity>li:first-child,
.Cityes>li:first-child {
	width: 21.9%;
	height: 60px;
	margin: 0 auto 92px auto;
	padding-top: 25px;
	border-bottom: 4px solid var(--LineColor);
	z-index: 1;
}

@media print {

	.SubCity>li:first-child,
	.Cityes>li:first-child {
		border-bottom: 4px solid var(--LineColor);
	}
}

/* right Assistant Location */
.SubCity>li:first-child {
	float: right;
	right: 27.2%;
	border-left: 4px solid var(--LineColor);
}

@media print {
	.SubCity>li:first-child {
		border-left: 4px solid var(--LineColor);
	}
}

/* Left Assistant Location */
.Cityes>li:first-child {
	float: left;
	left: 27.2%;
}

@media print {
	.Cityes>li:first-child {
		border-right: 4px solid var(--LineColor);
	}
}

.SubCity>li:first-child a,
.Cityes>li:first-child a {
	width: 100%;
}

.SubCity>li:first-child a {
	left: 25px;
}

@media screen and (max-width: 767px) {

	.SubCity>li:first-child,
	.Cityes>li:first-child {
		width: 40%;
	}

	.SubCity>li:first-child {
		right: 10%;
		margin-right: 2px;
	}

	.SubCity:after {
		left: 0px;
		top: 2548px;
		height: 90px;

	}

	.Cityes>li:first-child {
		left: 10%;
		margin-left: 2px;
	}
.Cityes{
	left: 0;
}

}

/* Mile Ghaem Magham */
.Cityes>li:first-child a {
	right: 33px;
}

.City:first-child,
.Cityes li:nth-child(2) {
	clear: left;
}

/* Mile Asli Ofoghi bala */
.Cityes:after {
	content: "";
	display: block;
	position: absolute;
	width: 62.5%;
	height: 22px;
	border-top: 4px solid var(--LineColor);
	/* border-right: 4px solid var(--LineColor);
	border-left: 4px solid var(--LineColor); */
	margin: 0 auto;
	top: 130px;
	left: 8.5%
}

@media print {
	.Cityes:after {
		border-top: 4px solid var(--LineColor);
		border-right: 4px solid var(--LineColor);
		border-left: 4px solid var(--LineColor);
	}
}

@media screen and (max-width: 767px) {
	.Cityes:after {
		border-right: none;
		left: 50%;
		border-top: unset;
		height: 100px; 
		top: 54px ;
	border-left: 4px solid var(--LineColor);

	}
}



@media screen and (min-width: 768px) {

	.City:first-child:before,
	.City:last-child:before {
		border: none;
	}
}

/* Mile Amoodi Department */
.City:before {
	content: "";
	display: block;
	position: absolute;
	width: 0;
	height: 22px;
	border-left: 4px solid var(--LineColor);
	z-index: 1;
	top: -22px;
	left: 50%;
	margin-left: -4px;
}

@media print {
	.City:before {
		border-left: 4px solid var(--LineColor);
	}
}


/* Arze Kolie Box ha */
.City {
	width: 13.8%;
	float: left;
	margin-left: 1.7%;
	border-left: 4px solid var(--LineColor);
	margin-bottom: 60px;
}

.CirtFix {
	display: flex;
}

@media print {
	.City {
		border-left: 4px solid var(--LineColor);
	}
}

.lt-ie8 .City {
	width: 18.25%;
}

@media screen and (max-width: 767px) {
	.City {
		float: none;
		width: 100%;
		margin-left: 0;
	}

	.City:before {
		content: "";
		display: block;
		position: absolute;
		width: 0;
		height: 60px;
		border-left: 4px solid var(--LineColor);
		z-index: 1;
		top: -60px;
		left: 0%;
		margin-left: -4px;
	}

	.City:nth-child(2):before {
		display: none;
	}
}

.City>a {
	margin: 0 0 -26px -4px;
	z-index: 1;
}

.City>a:hover {
	height: 75px;
}

.City>ul {
	margin-top: 0px;
	/* margin-bottom: 10px; */
}

.City li {
	padding-left: 25px;
    border-bottom: 4px solid #7e7979;
    height: 80px;
    width: 90%;
    border-radius: unset;
}

@media print {
	.City li {
		border-bottom: 4px solid var(--LineColor);
	}
}

/* Sections */
.City li a {
	top: 48px;
	position: absolute;
	z-index: 1;
	width: 90%;
	height: 60px;
	vertical-align: middle;
	background: var(--City);

}

.City li a:hover {
	box-shadow: 8px 8px 9px -4px var(--BoxShadow);
	height: 80px;
	width: 95%;
	top: 39px;
	background-image: none !important;
}

.dep-c {
	margin-right: 5rem;
}