﻿
         /* Main */
#menu {
    width: 100%;
    margin: 0;
    padding: 10px 0 0 0;
    list-style: none;  
    font-size:15px;
  
    /*background-color: #111;
    background-image: linear-gradient(#444, #111);
    border-radius: 50px;
    box-shadow: 0 2px 1px #9c9c9c;*/  
}

#menu  li {
    float: left;
   /*padding: 0 0 10px 0;*/
    position: relative;
    z-index:9;
    height:45px;
   
}

 @keyframes framemnu {
            from {border-radius:8px;}
            to {border-radius:20px;}
        }

        
#menu  a {
    float: left;
    height: 30px;
    display:inline-block;
    width:100px;
    /*padding: 0 5px;*/
    /*padding-left:5px;
    padding-right:5px;*/
    padding-top:5px;
    padding-bottom:6px;
    color: #030e43;
    text-decoration: none;
    background-color:#fa5102;
    border:solid 1px #fafafa;
    text-align:center;
    margin-right:3px;
    margin-left:3px;
    border-top-left-radius:8px;
    border-bottom-right-radius:8px;
    /*text-transform: uppercase;
    font: bold 12px/25px Arial, Helvetica;*/
   
    /*text-shadow: 0 1px 0 #000;*/
}

#menu li:hover > a {
    color: white;
    font-weight:bold;
    animation-name: framemnu;
    animation-duration: 0.5s;
    border-radius:20px
}



#menu li:hover > ul {
    display: block;

}

/* Sub-menu */
#menu ul {
    list-style: none;
    /*margin: 0;
    padding: 0;*/    
    display: none;
    position: absolute;
    /*top: 47px;*/
    right: -180px;
    z-index: 999;    
    background-color: rgba(17, 17, 17, 0.85);   
    /*background-image: linear-gradient(#444, #111);*/  
    -moz-border-radius: 1px;
    border-radius: 1px;
    width:260px;
    white-space: nowrap;
    margin-top:45px;

    
     
}

#menu ul li {
    float: none;
    margin-left: -43px;
    padding: 0;
    display: block;  
    box-shadow: 0 1px 0 #777777, 
                0 0px 0 #777777;
    width:300px;
    height:40px;
   
   
}

#menu ul li:last-child { 
    box-shadow: none;    
}

#menu ul  a {    
    padding: 10px;
    padding-bottom:15px;
    height: auto;
    line-height: 1;
    display: block;
    width:280px;
    white-space: nowrap;
    float: none;
    text-transform: none;
    background-color:transparent;
    border-radius:0px;
    border:none;
    text-align:left;
    color:white;
     height:15px;
    direction:ltr!important;
   
    
}



#menu ul a:hover {
    background-color: #f9b206;
    color:#05037d!important;
    /*background-image: linear-gradient(#04acec, #0186ba);*/
}



#menu > li li:hover > ul { 
  right:300px;
  margin-left: 1px;
  margin-top:-42px;
}

/*#menu > li li:hover > ul { 
  right:300px;
  margin-right: 0px;
 
}*/

#menu ul li:first-child a {
    border-radius: 1px 1px 0 0;
}

#menu  ul  li:first-child > a:after {
    content: '';
    position: absolute;
    right: 230px;
    top: -8px;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 8px solid white;
}

#menu ul li ul li:first-child  a:after {
    content: '';
    width: 0;
    height: 0;
    position: absolute;
    border-right: 8px solid white;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    left: 305px;
    top: 16px;

 }

#menu ul li ul li:first-child a:hover:after {

    border-bottom-color: transparent!important; 
 }
#menu  ul li:first-child  a:hover:after {
    border-bottom-color: #f9b206; 
}

#menu ul li:last-child a {
    border-radius: 0 0 1px 1px;
}

/* Clear floated elements */
#menu:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}


/*----------------------------new----------------------------------------*/
