/* ================================================================
This copyright notice must be kept untouched in the stylesheet at
all times.

The original version of this stylesheet and the associated (x)html
is available at http://www.stunicholls.com/menu/pro_drop_2.html
Copyright (c) 2005-2007 Stu Nicholls. All rights reserved.
This stylesheet and the associated (x)html may be modified in any
way to fit your requirements.
=================================================================== */

#nav {padding:0; margin:0; position:relative; z-index:200;}
#nav li.top {font-size: 1.2em; font-weight: bold; text-transform: uppercase; color: #ffffff; position: relative; float: left;}
#nav li.iv {width: 100px; padding-right: 10px; background: url(/National_Library/20160526010038oe_/https://inter.ua/images/iv_logo.png) no-repeat center left; text-indent: -9999px;}
#nav li.top a.top_link {text-decoration: none; color: #ffffff; display: block; padding: 18px 14px 17px 0; text-shadow: 1px 1px 0 #084276;}
#nav li.top a.active {color: #bfd3eb; /*background: url(/National_Library/20160526010038oe_/https://inter.ua/images/menu_hover_bg.gif) top left no-repeat;*/}
#nav li.top a.top_link:hover {color: #bfd3eb; display: block;}

#nav li:hover a.top_link {color: #bfd3eb;}

/* Default list styling */

#nav li:hover {position:relative; z-index:200;}

#nav li:hover ul.sub
{left: -10px; top: 48px; background: #005aa9; padding: 0; border: 2px solid #ffffff; border-width: 0 2px 2px 2px; min-width: 160px; height: auto; z-index: 300;}
#nav li:hover ul.sub li
{display: block; position: relative; font-weight: bold;}

#nav li:hover ul.sub li a
{display: block; padding: 5px 10px; font-size: 12px; line-height: 18px; color: #ffffff; text-decoration: none; text-transform: none;}
#nav li:hover ul.sub li:first-child a
{border-top: none;}
#nav li:hover ul.sub li a:hover
{color: #bfd3eb; text-decoration: underline;}


#nav li:hover li:hover ul,
#nav li:hover li:hover li:hover ul,
#nav li:hover li:hover li:hover li:hover ul,
#nav li:hover li:hover li:hover li:hover li:hover ul
{left: 124px; top: -4px; background: #f1f1f1; padding: 15px 3px 3px 8px; border: 1px solid #ccd0d1; /*white-space: nowrap;*/ width: 125px; z-index: 400; height: auto;}

#nav ul,
#nav li:hover ul ul,
#nav li:hover li:hover ul ul,
#nav li:hover li:hover li:hover ul ul,
#nav li:hover li:hover li:hover li:hover ul ul
{position:absolute; left:-9999px; top:-9999px; width:0; height:0; margin:0; padding:0; list-style:none;}