/* ================================================================
This copyright notice must be untouched at all times.

The original version of this stylesheet and the associated (x)html
is available at http://www.cssplay.co.uk/menus/ipad-droplist.html
Copyright (c) 2005-2011 Stu Nicholls. All rights reserved.
This stylesheet and the assocaited (x)html may be modified in any
way to fit your requirements.
=================================================================== */

/* this is a CSS answer to fix the hover/focus '~' and hover/focus '+' problem in safari and chrome */
html {-webkit-animation: safariSelectorFix infinite 1s;}
@-webkit-keyframes safariSelectorFix {
0% {zoom:1;}
100% {zoom:1;}
}

.nav {max-width:985px; min-height:36px; background:#FFF; z-index:100; font-family:arial, sans-serif; }
.menu,
.menu ul {padding:0; margin:0; list-style:none;}
.menu {max-width:960px; padding-left:15px; display: flex; flex-direction: row; flex-wrap: wrap;}

.menu ul.sub {position:absolute; left:-9999px; top:35px; background:#FFF; padding:0 0 10px 10px; z-index:-1; border:1px solid #ddd; box-shadow: 2px 2px 8px #ccc;}
.menu ul.sub1 {width:160px;}
.menu ul.sub2 {width:320px;}
.menu ul.sub3 {width:480px;}
.menu ul.sub4 {width:640px;}
.menu ul.sub5 {width:800px;}
.menu ul.sub6 {width:960px;}
.menu ul.sub7 {width:1120px;}
.menu ul.sub8 {width:1280px;}
.menu ul.sub h5 {padding:0; margin:0; color:#01468e; font-size:14px; width:150px;}
.menu ul.sub h5 a {color:#01468e; font-size:14px; line-height:20px; }

/* .menu li.top-li {float:left; position:relative; background:#FFF; z-index:50;} */
.menu li.top-li {float:left; position:relative; background:#FFF; }
.menu li.top-li a.top-a {display:block; float:left; line-height:35px; color:#949494; padding:0 10px 0 10px; text-decoration:none; font-size:14px; text-transform:uppercase; }

.menu li.top-li a.top-a:hover {background:#fff; color:#01468e;}
.menu li.top-li:hover > a.top-a {background:#fff; color:#01468e;}
/*.menu li.has-sub a.top-a:hover {height:36px;}
.menu li.has-sub:hover > a.top-a {height:36px;}*/

.menu li.close a {position:absolute; left:50%; top:-30px; width:100px; height:30px; line-height:30px; color:#949494; font-weight:bold; font-size:14px; padding:0; margin:0 0 0 -50px; background:#FFF; text-align:center; text-decoration:none; display:none;}

.menu ul li {width:160px; float:left;}
.menu ul li a {line-height:15px; color:#949494; background:#FFF; display:block; width:150px; margin-bottom:1px; padding:1px 5px; text-decoration:none; font-size:14px;}
.menu ul li a:hover {background:#fff; color:#01468e;}
.menu ul li.bottomLine {width:100%; clear:left; padding:5px 10px 5px 0; background:#FFF; margin-left:-10px; margin-top:5px; border-top:1px solid #888;}
.menu ul li.bottomLine p {padding:0; margin:0; line-height:20px; font-size:14px; color:#01468e; font-weight:bold; width:100%; padding-left:10px;}
.menu ul li.bottomLine a {display:inline; padding:0 3px; line-height:20px; background:none; color:#949494;}
.menu ul li.bottomLine a:hover {color:#fff;}

.menu :hover ul.sub {left:0;}
.menu :hover ul.left1 {left:-150px;}

/* for IE6 */
.menu table {border-collapse:collapse; margin-bottom:-1px;}
* html .menu ul.sub {border:0;}
* html .menu ul li.bottomLine {padding:5px 0 5px 10px;}
