/* General menu styling */

@font-face {
  font-family: 'Open Sans Condensed';
  src: url('/lib/css/fonts/OpenSans-CondLight-webfont.eot');
  src: local('?'),
  url('/lib/css/fonts/OpenSans-CondLight-webfont.woff') format('woff'), url('/lib/css/fonts/OpenSans-CondLight-webfont.ttf') format('truetype');
}
.clk {background-color:#545454;}
ul.nav {
    position: relative;
    float:left;
    padding-top:20px;
    width:582px;
    border:0px solid red;
    line-height: 16px;
    margin-top: 0;
    margin-right: auto;
    margin-bottom: 0;
    margin-left: 15px;  
    z-index:3;
    height:42px;
}
    
    /* The main navigation link containers */
    .nav>li {
        display: block;
        float: left; /* Displaying them on the same line */
        margin: 0;
        padding: 0;
    }

        /* The main navigation links */
        .nav>li>a {
            /* Layout */
            opacity:1;
            display: block;
            position: relative;
            padding: 8px 6px;

            /* Text */
            font-family: Arial, Helvetica, sans-serif;
            color: #fff;
            font-size: 16px;
            text-decoration: none;

            /* Background */
            /*background: rgba(0, 0, 0, .6);*/ /* Transparent background for modern browsers */
            
            /* Making the color to change on hover with a transition */
            -webkit-transition: color .05s ease-in;
            -moz-transition: color .05s ease-in;
            -o-transition: color .05s ease-in;
            -ms-transition: color .05s ease-in;
        }

        /* Changing the color on hover */
        .nav>li>a:hover, .nav>li:hover>a {
    color: #0099CC;
        }

        /* The links which contain dropdowns menu are wider, because they have a little arrow */
        .nav>.dropdown>a {
            padding: 10px 16px 10px 8px;
        }

        /* The arrow indicating the dropdown */
/*
        .dropdown>a::after {
             content: "";
             position: absolute;
             top: 17px;
             right: 10px;
             width: 7px;
             height: 7px;
             -webkit-transform: rotate(45deg);
             -ms-transform: rotate(45deg);
             -moz-transform: rotate(45deg);
             -o-transform: rotate(45deg);
             border-bottom: 1px solid #fff;
             border-right: 1px solid #fff;
            }
*/
        /* Changing the color of the arrow on hover */  
        .dropdown>a:hover::after, .dropdown:hover>a::after {
            border-color: #0fd0f9;
        }

        /* The submenus */
        .nav ul {
            position: absolute;
            margin: 0;
            padding: 0;
            list-style: none;
            display: block;
        }

        /* General layout settings for the link containers of the submenus */
        .nav ul li {
            position: absolute;
            top: -9999px; /* Hiding them */
            height: 0px; 
            display: block;
            margin: 0;
            padding: 0;

            /* Making them to expand their height with a transition, for a slide effect */
            -webkit-transition: height .2s ease-in;
            -moz-transition: height .2s ease-in;
            -o-transition: height .2s ease-in;
            -ms-transition: height .2s ease-in;
        }

        /* Displays the submenu links, by expading their containers (with a transition, previously defined) and by repositioning them */
        .dropdown:hover>ul>li {
            height: 30px;
            position: relative;
            top: auto;
        }


        /* base.css fixes */
        .nav ul {
            background-color:black;
        }

            /* The submenu links */
            .nav ul li a {
                /* Layout */
                padding: 4px 20px;
                width: 210px;
                display: block;
                position: relative;

                /* Text */
                font-family: Arial, Helvetica, sans-serif;
                color: #bbb;
                text-decoration: none;
                font-size: 13px;
                background-color:#000;

            }

            /* Changing the link's color and background on hover */
            .nav ul li:hover>a, .nav ul li a:hover {
    color: #006699;
    background-color: #1A1A1A;
            }

            /* Making the level 2 (or higher) submenus to appear at the right of their parent */
            .nav ul .dropdown:hover ul {
                left: 160px;
                top: 0px;
            }

            /* The submenu links have a different arrow which indicates another dropdown submenu */
            .nav ul .dropdown a::after{
                width: 6px;
                height: 6px;
                border-bottom: 0;
                border-right: 1px solid #fff;
                border-top: 1px solid #fff;
                top: 12px;
            }

            /* Changing the color of the arrow on hover */
            .nav ul .dropdown:hover>a::after, .nav ul .dropdown>a:hover::after {
                border-right: 1px solid #0099cc;
                border-top: 1px solid #0099cc;
            }
            
    div#navsrch {
    width: 170px;
    height: 42px;
    background-color: #fff;
    float: left;
    background-image: url(../img/mag.png);
    background-repeat: no-repeat;
    background-position: 5px center;
    margin-top:16px;
    }
    div#navsrch input {
    float: left;
    border: 0px solid #fff;
    background-color: #fff;
    margin-left: 35px;
    height: 28px;
    width: 130px;
    font-size: 16px;
    margin-top: 5px;
}
    
    div#navdirhlp {
    width: 195px;
    height: 42px;
    background-color: #bbb;
    display: inline-block;
    text-align: left;
    margin-top:16px;
}
    
    div#navdirhlp a {
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    text-decoration: none;
    font-size: 16px;
    line-height: 40px;
    display: inline-block;
    padding-top: 2px;
    padding-right: 2px;
    padding-bottom: 2px;
    padding-left: 18px;
}