﻿*:after,
*::before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

#ilogo{
	width: 200px;
	float: left;
	
}
topmenu a:hover,
topmenu a:focus {
	outline: none;
} 

#topmenu{
	width: 740px;
	float: right;
	margin: 20px 0 20px 0;
}
#topmenu ul 
{
	list-style-type: none;
}

#topmenu li {
	display: inline;
	
}

#topmenu a
{	
	display:inline-block;
	height: 30px;
	padding: 10px 10px 0 15px;
	text-decoration: none;
	color: #003A78;
	font-family: Calibri,Arial,Verdana, Serif;
	font-weight: bold;
	font-size: 10pt;
	text-align: center;
	border-left: 1px #ffffff solid;	
	 box-shadow: inset 0 0 0 0 #000080;
	-webkit-transition: all ease 0.8s;
	-moz-transition: all ease 0.8s;
	transition: all ease 0.8s;
}

#topmenu a:hover {
	 box-shadow: inset 0 0 100px 0 #003565;
	color: #ffffff;
}


#topnav{
	color: #000080;
	margin: 10px 0 20px 0;
}
	

#topnav li {
	display: inline;

}

#topnav a{
	padding-right: 10px;
	text-decoration: none;
	font-family: 'Droid Arabic Kufi', serif;
	font-weight: bold;
	font-size: 10pt;
	text-align: center;
	color: #000080;
}

#topnav a:hover{
	color: #ff9900;
}

.topmenu  {
	position: relative;
	z-index: 1;
}

.topmenu a {
	overflow: hidden;
	margin: 0 15px;
}

.topmenu a span {
	display: block;
	padding: 5px 5px;
	background: #ccc;
	-webkit-transition: -webkit-transform 0.3s;
	-moz-transition: -moz-transform 0.3s;
	transition: transform 0.3s;
}

.topmenu a::before {
	position: absolute;
	top: 0;
	left: 0;
	z-index: -1;
	padding: 5px 5px;
	width: 100%;
	height: 100%;
	background: #000;
	color: #0f7c67;
	content: attr(data-hover);
	-webkit-transition: -webkit-transform 0.3s;
	-moz-transition: -moz-transform 0.3s;
	transition: transform 0.3s;
	-webkit-transform: translateX(-25%);
}

.topmenu a:hover span,
.topmenu a:focus span {
	-webkit-transform: translateX(100%);
	-moz-transform: translateX(100%);
	transform: translateX(100%);
}

.topmenu a:hover::before,
.topmenu a:focus::before {
	-webkit-transform: translateX(0%);
	-moz-transform: translateX(0%);
	transform: translateX(0%);
}
