﻿.menu-bar-fixed 
{
    border-bottom: solid 5px #070c42;
    width: 100%;
    height: 55px;
    background-color:#0c82d5;
    z-index: 6700;
    position: fixed;
    top: 0px;
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.5);
    -moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.5);
    box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.5);
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}


.menu-bar-fixed > div {
    max-width: 1280px;
    width:100%;
    height: 55px;
    margin: auto;
}
/* ---------------------------------------------------------------------------------------------------------------------------------------------------------------- */
.menu a
{
	-webkit-transition:all 0.5s ease;
	-moz-transition:all 0.5s ease;
	-ms-transition:all 0.5s ease;
	-o-transition:all 0.5s ease;
	transition:all 0.5s ease;
}

.menu,
.menu ul,
.menu ul li,
.menu ul li a,
.menu #menu-button
{
	margin:0px;
	padding:0px;
	border:0px;
	list-style:none;
	line-height:1px;
	display:block;
	position:relative;
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	box-sizing:border-box;
}
.menu:after,
.menu > ul:after
{
	height:0px;
	display:block;
	clear:both;
	visibility:hidden;
	line-height:0px;
	content:".";
}
.menu #menu-button
{
	display:none;
}
.menu
{
    width:100%;
    margin:0px auto;
	z-index:6700;
    font-family:IranSans;
}
.menu > ul > li
{
    width:10%;
	text-align:center;
	float:right;
}

.menu > ul > li > a
{
	line-height:55px;
	font-size:12px;
    font-family:IranSans;
	color:#000000;
	text-decoration:none;
    display: block;
    text-align: center;
    vertical-align: middle;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    -webkit-transition-property: color;
    transition-property: color;
    -webkit-transition-duration: 0.6s;
    transition-duration: 0.6s;
}
.menu > ul > li:hover > a
{
    font-weight:bold;
}

.menu > ul > li.has-sub > a
{
	padding-right:0px;
}
.menu > ul > li.has-sub > a:after
{
	width:8px;
	height:2px;
	background-color:#000000;
	display:block;
	content:'';
	position:absolute;
	top:26px;
	right:11px;
}
.menu > ul > li.has-sub > a:before
{
	width:2px;
	height:8px;
	background-color:#000000;
	display:block;
	content:'';
	position:absolute;
	top:23px;
	right:14px;
}
.menu > ul > li.has-sub:hover > a:before
{
	height:0px;
	top:23px;
}
.menu ul ul
{
	position:absolute;
	right:-9999px;
}
.menu ul ul li
{
	height:0px;
	text-align:right;
	-webkit-transition:all 0.5s ease;
	-moz-transition:all 0.5s ease;
	-ms-transition:all 0.5s ease;
	-o-transition:all 0.5s ease;
	transition:all 0.5s ease;
}
.menu li:hover > ul
{
	right:auto;
}
.menu li:hover > ul > li
{
	height:45px;
}
.menu ul ul ul
{
	margin-right:100%;
	top:0px;
}
.menu ul ul li a
{
	width:250px;
	padding:22px 15px 21px 15px;
	font-size:13px;
	color:#000000;
	text-decoration:none;
	background-color:#cccccc;
	border-bottom:solid 1px #460101;
}
.menu ul ul li:last-child > a,
.menu ul ul li.last-item > a
{
	border-bottom:0px;
}
.menu ul ul li:hover > a,
.menu ul ul li a:hover
{
	background-color:#6c6767;
    color:#ffffff;
}
.menu ul ul li.has-sub > a:after
{
	width:8px;
	height:2px;
	background-color:#ffffff;
	display:block;
	content:'';
	position:absolute;
	top:22px;
	left:11px;
}
.menu ul ul li.has-sub > a:before
{
	width:2px;
	height:8px;
	background-color:#ffffff;
	display:block;
	content:'';
	position:absolute;
	top:19px;
	left:14px;
}

/* ---------------------------------------------------------------------------------------------------------------------------------------------------------------- */

@media only screen and (max-width:1180px)
{
    .menu > ul > li > a 
    {
        font-size: 12px;
    }
}
@media only screen and (max-width:984px)
{
	.menu
	{
		width:100%;
	}
	.menu ul
	{
		width:100%;
		display:none;
		background-color:#b1b2b4;
	}
	.menu ul li
	{
		width:100% !important;
		padding-right:10px;
		border-left:none !important;
		border-top:solid 1px #460101;
	}
    .menu ul li a:hover
	{
		color:#0c82d5;
	}
    .menu > ul > li a:hover, .menu > ul > li a:focus, .menu > ul > li a:active 
    {
      color:#ffffff;
    }
	.menu ul ul li,
	.menu li:hover > ul > li
	{
		height:auto;
	}
	.menu ul li a,
	.menu ul ul li a
	{
		width:100%;
		border-bottom:0px;
	}
	.menu > ul > li
	{
		float:none;
		text-align:right;
	}
	.menu > ul > li.has-sub > a
	{
		padding-right:15px;
	}
	.menu ul ul li a
	{
		/* paddinge zir zir menu */
		background:none;
		color:#ffffff;
	}
	.menu ul ul ul li a
	{
		/* paddinge zir zir zir menu */
		text-align:right;
	}
	.menu ul ul li:hover > a,
	.menu ul ul li.active > a
	{
		background-color:#000000;
		color:#0c82d5;
	}
	.menu ul ul,
	.menu ul ul ul
	{
		width:100%;
		margin:0px;
		text-align:right;
		position:relative;
		right:0px;
	}
	.menu > ul > li.has-sub > a:after,
	.menu > ul > li.has-sub > a:before,
	.menu ul ul > li.has-sub > a:after,
	.menu ul ul > li.has-sub > a:before
	{
		display:none;
	}
	.menu #menu-button
	{
		padding:22px 15px 23px 0px;
		font-size:13px;
		color:#000000;
		cursor:pointer;
		display:block;
	}
	.menu #menu-button:after
	{
		width:20px;
		height:4px;
		border-top:2px solid #000000;
		border-bottom:solid 2px #000000;
		display:block;
		content:'';
		position:absolute;
		top:22px;
		left:17px;
	}
	.menu #menu-button:before
	{
		width:20px;
		height:2px;
		background-color:#000000;
		display:block;
		content:'';
		position:absolute;
		top:16px;
		left:17px;
	}
	.menu #menu-button.menu-opened:after
	{
		width:15px;
		height:2px;
		background-color:#ffffff;
		border:0px;
		top:23px;
		-webkit-transform:rotate(45deg);
		-moz-transform:rotate(45deg);
		-ms-transform:rotate(45deg);
		-o-transform:rotate(45deg);
		transform:rotate(45deg);
		
	}
	.menu #menu-button.menu-opened:before
	{
		width:15px;
		background-color:#ffffff;
		top:23px;
		-webkit-transform:rotate(-45deg);
		-moz-transform:rotate(-45deg);
		-ms-transform:rotate(-45deg);
		-o-transform:rotate(-45deg);
		transform:rotate(-45deg);
	}
	.menu .submenu-button
	{
		width:46px;
		height:46px;
		border-left:1px solid rgba(0,0,0,0.2);
		display:block;
		cursor:pointer;
		z-index:99;
		position:absolute;
		left:0px;
		top:0px;
	}
	.menu .submenu-button.submenu-opened
	{
		/* selected plus icon */
		background-color:#000000;
	}
	.menu ul ul .submenu-button
	{
		height:34px;
		width:34px;
	}
	.menu .submenu-button:after
	{
		width:8px;
		height:2px;
		background-color:#ffffff;
		display:block;
		content:'';
		position:absolute;
		top:22px;
		right:19px;
	}
	.menu ul ul .submenu-button:after
	{
		top:15px;
		right:13px;
	}
	.menu .submenu-button.submenu-opened:after
	{
		background-color:#ffffff;
	}
	.menu .submenu-button:before
	{
		width:2px;
		height:8px;
		background-color:#ffffff;
		display:block;
		content:'';
		position:absolute;
		top:19px;
		right:22px;
	}
	.menu ul ul .submenu-button:before
	{
		top:12px;
		right:16px;
	}
	.menu .submenu-button.submenu-opened:before
	{
		display:none;
	}
}
@media only screen and (max-width:480px)
{
	.menu-home a
	{
		background-position:96% center;
	}
}
@media only screen and (max-width:320px)
{
	.menu-home a
	{
		background-position:94% center;
	}
}

/* ---------------------------------------------------------------------------------------------------------------------------------------------------------------- */