#
# Copyright 2004-Present Next Generation Solutions, Ltd.  All rights reserved.
# http://www.ngsltd.com/licenses
#
# This software is the confidential and proprietary information of Next Generation Solutions, Ltd.
# You shall not disclose such Confidential Information and shall use it only in
# accordance with the terms of the license agreement you entered into
# with Next Generation Solutions, Ltd.
#
# Adopted from http://code.tutsplus.com/tutorials/how-to-build-a-kick-butt-css3-mega-drop-down-menu--net-15129
#
# $Id: mega-menu.css,v 1.9 2015/06/12 21:23:47 morciuch Exp $
#
body, ul, li 
{
	##font-size:10px; 
	##font-family: Verdana, Arial, Helvetica, sans-serif;	
	line-height:21px;
	text-align: left;
}

#menu 
{
	list-style:none;
	##width:920px;
	margin:0px auto 5px auto;
	height:45px;
	/*padding:0px 10px 0px 10px; */

	/* Rounded Corners */	
	##-moz-border-radius: 10px;
	##-webkit-border-radius: 10px;
	##border-radius: 10px 10px 0px 0px; 

	/* Background color and gradients */	
	##background: #014464;
	background-color: #FAE88A
	##background: -moz-linear-gradient(top, #0272a7, #013953);
	##background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#0272a7), to(#013953));
	
	/* Borders */	
	##border: 1px solid #002232;

	##-moz-box-shadow:inset 0px 0px 1px #edf9ff;
	##-webkit-box-shadow:inset 0px 0px 1px #edf9ff;
	##box-shadow:inset 0px 0px 1px #edf9ff;
	z-index: 99;
	position: relative;
}

#menu li 
{
	float:left;
	display:block;
	text-align:center;
	position:relative;
	padding: 4px 4px 4px 4px;
	margin-right:10px;
	margin-top:7px;
	border:none;
}

#menu li:hover 
{
	###border: 2px solid white;
	##border: 1px solid #777777;
	##padding: 4px 9px 4px 9px;
	padding: 4px 4px 4px 4px;
	
	/* Background color and gradients */
	
	##background: #F4F4F4;
	##background: #EDD261;
	##background: -moz-linear-gradient(top, #F4F4F4, #EEEEEE);
	##background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#F4F4F4), to(#EEEEEE));
	
	/* Rounded corners */
	
	-moz-border-radius: 5px 5px 0px 0px;
	-webkit-border-radius: 5px 5px 0px 0px;
	border-radius: 5px 5px 0px 0px;
}

#menu input
{
	float: right;
	margin-top:7px;
}

#menu li a {
	font-size: 18px; 
	font-weight: normal;
	##color: #EEEEEE;
	display:block;
	##outline:0;
	text-decoration:none;
	##text-shadow: 1px 1px 1px #000;
	border-bottom: 1px gray dotted;
}

#menu li:last-child a {
	border-bottom: none;
}

#menu li:hover a {
	##color:#161616;
	##text-shadow: 1px 1px 1px #ffffff;
}

#menu li .drop {
	padding-right:10px;
	background:url("../images/arrow_down.gif") no-repeat right 7px;
}

#menu li:hover .drop {
	background:url("../images/arrow_down.gif") no-repeat right 7px;
}

.dropdown_1column, 
.dropdown_2columns, 
.dropdown_3columns, 
.dropdown_4columns,
.dropdown_5columns {
	margin:4px auto;
	float:left;
	position:absolute;
	left:-999em; /* Hides the drop down */
	text-align:left;
	padding:10px 5px 10px 5px;
	border:2px solid white;
	##border:1px solid #777777;
	##border-top:none;
	
	/* Gradient background */
	##background:#F4F4F4;
	background: #EDD261;
	##background: -moz-linear-gradient(top, #EEEEEE, #BBBBBB);
	##background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#EEEEEE), to(#BBBBBB));

	/* Rounded Corners */
	##-moz-border-radius: 0px 5px 5px 5px;
	##-webkit-border-radius: 0px 5px 5px 5px;
	##border-radius: 0px 5px 5px 5px;
}

.dropdown_1column {width: 150px;}
.dropdown_2columns {width: 300px;}
.dropdown_3columns {width: 440px;}
.dropdown_4columns {width: 580px;}
.dropdown_5columns {width: 720px;}

#menu li:hover .dropdown_1column, 
#menu li:hover .dropdown_2columns, 
#menu li:hover .dropdown_3columns,
#menu li:hover .dropdown_4columns,
#menu li:hover .dropdown_5columns {
	left:-1px;
	top:auto;
}

.col_1,
.col_2,
.col_3,
.col_4,
.col_5 {
	display:inline;
	float: left;
	position: relative;
	margin-left: 5px;
	margin-right: 5px;
	##border-right:1px solid #666666;	
	padding-right:10px;	
}

#menu li a.simple, 
#menu li a.drop {
	border-bottom: 0px;	
}

.col_1 {width:130px;}
.col_2 {width:290px;}
.col_3 {width:430px;}
.col_4 {width:570px;}
.col_5 {width:710px;}

#menu .menu_right {
	float:right;
	margin-right:0px;
}

#menu li .align_right {
	/* Rounded Corners */
	-moz-border-radius: 5px 0px 5px 5px;
    -webkit-border-radius: 5px 0px 5px 5px;
    border-radius: 5px 0px 5px 5px;
}

#menu li .extra_wide {
	width: 90%;
}
	
#menu li:hover .align_right {
	left:auto;
	right:-1px;
	top:auto;
}

#menu p, #menu h2, #menu h3, #menu ul li {
	##font-family: Verdana, Arial, Helvetica, sans-serif;
	line-height:21px;
	font-size:14px;
	text-align:left;
	##text-shadow: 1px 1px 1px #FFFFFF;
}
#menu h2 {
	font-size:21px;
	font-weight:400;
	letter-spacing:-1px;
	margin:7px 0 14px 0;
	##padding-bottom:14px;
	##border-bottom:1px solid #666666;
}
#menu h3 {
	font-size:14px;
	margin:5px 0px 5px 0px;
	##padding-bottom:7px;
	##border-bottom:1px solid #888888;
}

#menu h4 a {
	font-size:16px;
	margin:7px 0 14px 0;
	##padding-bottom:7px;
	##border-bottom:1px solid #888888;
}

#menu p {
	line-height:18px;
	margin:0 0 10px 0;
}

#menu li:hover div a {
	font-size: inherit;
	##color:#015b86;
}
#menu li:hover div a:hover {
	##color:#029feb;
}


.strong {
	font-weight:bold;
}
.italic {
	font-style:italic;
}

.imgshadow { /* Better style on light background */
	background:#FFFFFF;
	padding:4px;
	border:1px solid #777777;
	margin-top:5px;
	-moz-box-shadow:0px 0px 5px #666666;
	-webkit-box-shadow:0px 0px 5px #666666;
	box-shadow:0px 0px 5px #666666;
}
.img_left { /* Image sticks to the left */
	width:auto;
	float:left;
	margin:5px 5px 5px 5px;
}

#menu li .black_box {
	background-color:#333333;
	color: #eeeeee;
	text-shadow: 1px 1px 1px #000;
	padding:4px 6px 4px 6px;

	/* Rounded Corners */
	-moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;

	/* Shadow */
	-webkit-box-shadow:inset 0 0 3px #000000;
	-moz-box-shadow:inset 0 0 3px #000000;
	box-shadow:inset 0 0 3px #000000;
}

#menu li .silver_box {
	background-color:#DCDCDC;
	##color: #eeeeee;
	##text-shadow: 1px 1px 1px #000;
	padding:4px 6px 4px 6px;

	/* Rounded Corners */
	-moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;

	/* Shadow */
	-webkit-box-shadow:inset 0 0 3px #000000;
	-moz-box-shadow:inset 0 0 3px #000000;
	box-shadow:inset 0 0 3px #000000;
}

#menu li ul {
	list-style:none;
	padding:0;
	margin:0 0 12px 0;
}
#menu li ul li {
	font-size:14px;
	line-height:24px;
	position:relative;
	##text-shadow: 1px 1px 1px #ffffff;
	padding:0;
	margin:0;
	float:none;
	text-align:left;
	width:130px;
}
#menu li ul li:hover {
	background:none;
	border:none;
	padding:0;
	margin:0;
}

#menu li .greybox li {
	background:#FAE88A;
	border:1px solid #bbbbbb;
	margin:0px 0px 4px 0px;
	padding:4px 6px 4px 6px;
	width:116px;

	/* Rounded Corners */
	-moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -khtml-border-radius: 5px;
    border-radius: 5px;
}
#menu li .greybox li:hover {
	background:#FAE88A;
	border:1px solid #aaaaaa;
	padding:4px 6px 4px 6px;
	margin:0px 0px 4px 0px;
}

.menu_cell_middle {display: table-cell; vertical-align: middle; padding: 5px 5px 0px 5px; }
.menu_cell_top {display: table-cell; vertical-align: top; padding: 5px 5px 0px 5px; font-size: 14px}
.simple--inline {display: inline !important; }
