
/* http://osvaldas.info/drop-down-navigation-responsive-and-touch-friendly */ 

 

    #theMenu > a {
        display: none;
    }
    
    #theMenu li {
        position: relative;
        padding: 0.5em;
    }
    
        #theMenu li a {
            color: #8a8a8a;
            font-family:"Roboto", sans-serif;font-weight:600;
            display: block;
            padding: 0.5em 0;
            font-size:0.9em;
        }
        
        #theMenu li:hover > a,
        #theMenu li.current > a,
        #theMenu li > a:hover,
        #theMenu li > a:active {
            color: #182c59;
            font-family: "Roboto", sans-serif;font-weight:800;

        }
 
             
     
            
    /* first level */
   
    #theMenu > ul {
        text-transform: uppercase;
        text-align: right;
        font-size: .8em;
        margin-bottom: 0px;
        padding-top: 5px;
    }
    
        #theMenu > ul > li {
            height: 100%;
            display:inline-block;   
        }
        
            #theMenu > ul > li > a {
                height: 100%;
                text-align: center;
                
            }
            #theMenu ul li a {
                color: #757575;
            }
            
                #theMenu > ul > li:not( :last-child ) > a {
                    
                }
                
                #theMenu > ul  li.current > a,
                #theMenu > ul  li:hover > a,
                #theMenu > ul:not( :hover )  li.current > a,
                #theMenu > ul:not( :hover )  li.active > a {                    
                    color: #182c59;
                }
 
 
 
    /* second level */
   
    #theMenu li ul {
        display: none;
        position: absolute;
        left: -50%;
        width: 200%;
        padding: 0;
        margin: 0;
    }
        
        
        
        #theMenu li:hover ul {
            display: block;
            background-color:rgba(62,62,62,1);
            margin-top: 16px;
            padding: 0px;
            list-style-type: none;
        }
        #theMenu li ul:before {
            content: '';
            position: absolute;
            width:100%;
            height: 30px;
            left: 0;
            top: -30px;
            background-color:transparent;
            display: block;
        }
        
            #theMenu ul.subCat li {
                padding:0;
            }
            #theMenu ul.subCat li:not( :first-child ){
                border-top:1px solid rgba(255,255,255,0.5);
            }
            
            #theMenu li ul a {
                text-align: center;
                /*padding: 7px 16px;*/
                    color: #fff !important;
            }
                #theMenu li ul li.current a,
                #theMenu li ul li a:hover,
                #theMenu li ul:not( :hover ) li.current a,
                #theMenu li ul:not( :hover ) li.active a {
                    color: #aaa !important;
                }
        




.underline_effect {
    position:relative;
}
.underline_effect:after {
    position: absolute;
    top: 83%;
    left: 0;
    width: 100%;
    height: 2px;
    background: #182c59;
    content: '';
    opacity: 0;
    -webkit-transition: opacity 0.3s, -webkit-transform 0.3s;
    -moz-transition: opacity 0.3s, -moz-transform 0.3s;
    transition: opacity 0.3s, transform 0.3s;
    -webkit-transform: translateY(8px);
    -moz-transform: translateY(8px);
    transform: translateY(8px);
}



li:hover > .underline_effect:after,
li.current .underline_effect:after,
.underline_effect.current:after,
.underline_effect.active:not(.disabled):after,
.underline_effect:hover:not(.disabled):after {
    opacity: 1;
    -webkit-transform: translateY(0px);
    -moz-transform: translateY(0px);
    transform: translateY(0px);
}

.underline_effect.disabled:after {
    display:none;
}
