/* ------------ header ------------ */
.header {
	background: #FFD198 url(../images/header_bg.png) top repeat-x;
	overflow: hidden;
}
.header:after {
	clear: both;
}
.header .logo {
	background: #FFD198 url(../images/main_logo.png) top left no-repeat;
	height: 110px;
	width: 330px;
	float: left;
	margin: 0 0 0 20px;
}
/* Menu bar background color */
#navigation, 
#nav li ul li, 
#nav li ul li a{
background: #4a3289;


}

/* Menu Item text color */



#nav li a, 
#nav li a:hover, 
#nav li ul li,
#nav li ul li a,
#nav li ul li a:hover  {
color: #fff; 
}

/* Menu Item background color on hover */
#nav li a:hover {
background:#731c5f;
margin-top:0px;
height:70px;
line-height:70px;
color: #fff; 
}
#nav li ul li a:hover  {
background: #731c5e;
border:none;
border-radius:0px;
height:34px;
line-height:34px;
margin:0px;
}

/* Text Shadow */
#nav li a, 
#nav li a:hover, 
#nav li ul li a:hover  {

}

/* Search form colors */
.searchform input, .searchform input:not(:focus){
color:#B1B1B1; /*search form text color default*/
background: #d9f0b8; /*search form background color default*/
}
.searchfield:focus{
color: #000; /* search form text color after click */
}

/*=====================================================================
=======================================================================
	Color Scheme End
====================*/

#menu_div{
clear: both;
position: relative;
top: 0;
left: 0;
} /* Free space to top specialy for menu */

#navigation {
position: fixed;
}

#navigation, #menu_div {
width: 100%;
margin: 0 !important;
padding: 0 !important;
}

#menu_div, #navigation, #menu, #nav{
height: 14px; /* menu height */
}

#menu_div:hover,
#navigation:hover,
#nav li a:hover, #nav li ul a 
{
opacity: 0.95;/* Menu transparency on mouse hover*/
} 

#menu_div,
#navigation, 
#nav li a, 
#menu_div:not(:hover), 
#navigation:not(:hover)
{
opacity: 1.0;/* Menu transparency on mouse out */
}


#menu {
width: 960px;
margin:0 auto; /*center the menu*/
padding:0;
position: relative;
}

#nav{
width: 900px;
margin-left:40px;
padding:0;
position: relative;
}

#nav li a,#nav li {
float:left;
}

#nav li {
list-style:none;
position:relative;
}

#nav li a {
line-height: 70px;
padding:0 15px;
text-decoration:none;
margin:0;
font-size:16px;


}

/*====================
	Submenu 
=====================*/
#nav li ul {
display:none;
position:absolute;
left:0;
top:100%;
padding:0;
margin:0;
} /* hide submenu */

#nav li:hover > ul {
display:block;
} /* show submenu on hover */

#nav li ul li,#nav li ul li a {
float:none;
height: 35px; /* submenu item height */
min-width: 150px; /* submenu item minimal width */
line-height: 35px;
border-right: 0;
text-shadow: none;
display:block;
font-size:13px;
font-weight:400;
text-transform:inherit;
} /* Submenu item */

#nav li ul li {
_display:inline; /* for IE */
}

/* == 12. Sub-Sub Menu == */
#nav li ul li ul {
display:none;
}

#nav li ul li:hover ul {
left:100%;
top:0;
}

/*====================
	Search form 
====================*/

.searchform {
position: absolute;
right: 15px;
top: 6px;
display: inline-block;
zoom: 1;
*display: inline;
border: 0;
padding: 0;
}
.searchform input {
font: normal 12px/100% Arial, Helvetica, sans-serif;
}
.searchform .searchfield {
height: 27px;
line-height: 27px;
padding-left: 10px;
padding-right: 10px;
width: 150px;
border: 2px solid #333;
outline: none;
-webkit-border-radius: 2em;
-moz-border-radius: 2em;
border-radius: 2em;
-moz-box-shadow: inset 1px 1px 2px #A1A1A1;
-webkit-box-shadow: inset 1px 1px 2px #A1A1A1;
box-shadow: inner 1px 1px 2px #A1A1A1;
}

.searchfield:focus{
font-weight: 700;
width: 220px;
}

.searchfield:not(:focus){
width: 150px;
}


/*========================
		Transitions
========================*/

#nav li a:hover,
#nav li ul li a:hover  {
-webkit-transition-property:color, background; 
-webkit-transition-duration: 0.5s, 0.5s; 
-webkit-transition-timing-function: linear, ease-out;
}

.searchfield:focus,
.searchfield:not(:focus){
-webkit-transition-property:width; 
-webkit-transition-duration: 0.5s, 0.5s; 
-webkit-transition-timing-function: linear, ease-out;
}

#menu_div:hover,
#navigation:hover,
#nav li ul a, 
#menu_div,
#navigation, 
#nav li a, 
#menu_div:not(:hover), 
#navigation:not(:hover)
{
-webkit-transition-property:opacity; 
-webkit-transition-duration: 0.5s, 0.5s; /* duration in seconds */
-webkit-transition-timing-function: linear, ease-out;
} /* Menu transparency animation */




.search {
	float: right;
	height: 34px;
	width: 290px;
	padding: 1px;
	margin-top:3px;
}
.search input[type=text] {
	background:#d9f0b8;
	border:1px solid #dfd3b9;
	border-radius:5px;
	padding:12px 5px;
	outline:none;
	margin-top:11px;
}

 .search input[type=submit] {
	background:#330938;
	color:#def2b9;
		border-radius:5px;
	padding:12px 7px;
	border:none;
	
	min-width:100px;
	outline:none;
	cursor:pointer;
	margin:0px 0px -3px 5px;
}
 .search input[type=submit]:hover {
	background:#892450;
	color:#def2b9;
		border-radius:5px;
	padding:12px 7px;
	border:none;
	min-width:100px;
	outline:none;
	cursor:pointer;
	margin:0px 0px -3px 5px;
}
.header_menu {
	border-bottom: solid 22px #8a2451;
	text-align: left;
	background: #4a3289;
	height: 70px;
	
}
/* Fix IE. Hide from IE Mac \*/
* html .heade_menu ul li { float: left; height: 1%; }
* html .heade_menu ul li a { height: 1%; }
/* End */
