﻿/* top level
--------------------------------------------*/
.menuTemplate4
{
   
   
   
    position:relative;
    z-index:4;
    height: auto;
    list-style: none;
    padding: 0;
    position: relative;
    float: right;
    font-family: 'Oswald', sans-serif;
    font-weight: normal;
    width: auto;
margin-top: 35px;
    
}

.menuTemplate4 div {
    box-sizing:content-box;
    line-height: 37px;

}  

.menuTemplate4 li
{
    padding: 0;
    float: left;
  
    position: relative;/*delete it if you want submenu to be positioned relative to the whole menu instead of this li element*/
    color: black;
    z-index:5;
}
.menuTemplate4 li:hover, .menuTemplate4 li.onhover
{
background-color:#5195c0;border-radius:15px;
}

.menuTemplate4 a
{
    padding: 0 24px;
    line-height: 35px; /*Note: keep this value the same as the height of .menuTemplate4 li */
    font-size: 16px;
    display: inline-block;
    outline: 0;
    text-decoration: none;
    color: black;
    position: relative;
}
.menuTemplate4 li:hover a, .menuTemplate4 li.onhover a
{
    background-color: #5195c0;
    color: white;
    z-index: 9;
border-radius:15px;
}
.menuTemplate4 a.arrow
{
    background: url(../images/arrow.gif) no-repeat right center;
}
 
        
/*Used to align a top-level item to the right*/        
.menuTemplate4 li.menuRight
{
    float: right;
    margin-right: 0px;
}
        
/*for the top-level separators*/
.menuTemplate4 li.separator
{
    display:none;
}
               
        
/* sub level
--------------------------------------------*/
        
.menuTemplate4 .drop
{
    position: absolute;
    z-index:5;
    left: -9999px;
    border: 1px solid #DDD;
    border-top:3px solid #5a6a93;
    background: #FFF;            
    text-align: left;
    padding: 20px;  
    color:#0F4F89;
    top:36px;              
}

.menuTemplate4 .drop a
{
    padding-left: 0px;
    padding-right: 0px;
    line-height: 26px;
    font-size: 12px;
    font-weight: normal;
    display: inline;
    text-align: left;
    
    position: static;
    z-index: 0;
    background-image:none;
}

.menuTemplate4 li:hover .drop, .menuTemplate4 li.onhover .drop
{
    left: -1px;/*Use this property to change offset of the dropdown*/
    background:white url(bg-right.png) no-repeat right bottom;
}
.menuTemplate4 li:hover .dropToLeft, .menuTemplate4 li.onhover .dropToLeft
{
    left: auto;
    right: -1px;
    background:white url(bg-left.png) no-repeat 0 bottom;
}
.menuTemplate4 li:hover .dropToLeft2, .menuTemplate4 li.onhover .dropToLeft2
{
    left: auto;
    right: -225px;
}

/* Elements within the drop down sub-menu
--------------------------------------------*/

.menuTemplate4 div.drop div div
{
    padding: 6px 20px;
}
.menuTemplate4 li:hover .drop a, .menuTemplate4 li.onhover .drop a
{
    background: none;
    background-image:none;
    padding:0 0;
}
.menuTemplate4 div.drop div a
{
    line-height: 24px;  
    color: #0F4F89;
    background:none;
}
.menuTemplate4 div.drop div a:hover
{
    text-decoration:underline;
    cursor:pointer;
    color:Red;
}

.menuTemplate4 div.left {float:left;    color: black;}

        
/* CSS3 effects
--------------------------------------------*/

/*for top-level
.decor4_1 
{
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;


            
}*/ 

/*for submenu.*/ 
.decor4_2 
{
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
   
border-bottom-left-radius : 8px;
border-bottom-right-radius : 8px;
  
}


@media all and (max-width: 480px) {
    ul.menuTemplate4 {  height: auto; }
    ul.menuTemplate4 > li {  float: none; width: 100%; }
    ul.menuTemplate4 a { line-height: 40px; }
    ul.menuTemplate4 ul { position: relative; }
}
